@steedos/webapp 3.0.13-beta.9 → 3.0.14-beta.1
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-BwvMWDgU.js";
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
for (var i = 0; i < m.length; i++) {
|
|
4
4
|
const e = m[i];
|
|
@@ -34718,7 +34718,7 @@ const LoggedIn = ({ children }) => {
|
|
|
34718
34718
|
window.location.origin
|
|
34719
34719
|
);
|
|
34720
34720
|
if (!currentUser) {
|
|
34721
|
-
navigate("/login?redirect_uri=" + encodeURIComponent(window.location.pathname));
|
|
34721
|
+
navigate("/login?redirect_uri=" + encodeURIComponent(window.location.pathname + window.location.search));
|
|
34722
34722
|
return;
|
|
34723
34723
|
}
|
|
34724
34724
|
if (!currentSpaceId2) {
|
|
@@ -41648,6 +41648,7 @@ const HEADER_USER_AGENT = "User-Agent";
|
|
|
41648
41648
|
const HEADER_X_CLUSTER_ID = "X-Cluster-Id";
|
|
41649
41649
|
const HEADER_X_CSRF_TOKEN = "X-CSRF-Token";
|
|
41650
41650
|
const HEADER_X_VERSION_ID = "X-Version-Id";
|
|
41651
|
+
window.sha256 = sha256;
|
|
41651
41652
|
let Client4$1 = class Client42 {
|
|
41652
41653
|
LOGIN_TOKEN_KEY = "Meteor.loginToken";
|
|
41653
41654
|
LOGIN_TOKEN_EXPIRES_KEY = "Meteor.loginTokenExpires";
|
|
@@ -48881,7 +48882,7 @@ function finishSignin(currentUser, tenant, location2, navigate) {
|
|
|
48881
48882
|
}
|
|
48882
48883
|
let redirect_uri = new URLSearchParams(location2 ? location2.search : "").get("redirect_uri");
|
|
48883
48884
|
if (redirect_uri) {
|
|
48884
|
-
navigate("/home?redirect_uri=" + redirect_uri);
|
|
48885
|
+
navigate("/home?redirect_uri=" + encodeURIComponent(redirect_uri));
|
|
48885
48886
|
} else {
|
|
48886
48887
|
navigate("/home");
|
|
48887
48888
|
}
|
|
@@ -50049,7 +50050,7 @@ const getRedirectUrl = () => {
|
|
|
50049
50050
|
};
|
|
50050
50051
|
const goResetPassword = (navigate) => {
|
|
50051
50052
|
const redirect2 = getRedirectUrl();
|
|
50052
|
-
navigate("/update-password?redirect_uri=" + redirect2);
|
|
50053
|
+
navigate("/update-password?redirect_uri=" + encodeURIComponent(redirect2));
|
|
50053
50054
|
};
|
|
50054
50055
|
const Home = () => {
|
|
50055
50056
|
const navigate = useNavigate();
|
|
@@ -50073,7 +50074,7 @@ const Home = () => {
|
|
|
50073
50074
|
goResetPassword(navigate);
|
|
50074
50075
|
} else {
|
|
50075
50076
|
let redirect_uri = new URLSearchParams(location ? location.search : "").get("redirect_uri");
|
|
50076
|
-
if (redirect_uri) {
|
|
50077
|
+
if (redirect_uri && redirect_uri != "/update-password") {
|
|
50077
50078
|
window.location.href = redirect_uri;
|
|
50078
50079
|
} else {
|
|
50079
50080
|
window.location.href = "/app";
|
|
@@ -51572,9 +51573,24 @@ const normalizeLink = (to, location2 = window.location) => {
|
|
|
51572
51573
|
};
|
|
51573
51574
|
const AmisRender = function({ schema = {}, data: data2 = {}, env: env2 = {} }) {
|
|
51574
51575
|
const navigate = useNavigate();
|
|
51576
|
+
const location2 = useLocation();
|
|
51577
|
+
if (typeof window._appNavCount === "undefined") {
|
|
51578
|
+
window._appNavCount = 0;
|
|
51579
|
+
}
|
|
51575
51580
|
if (!window.goBack) {
|
|
51576
51581
|
window.goBack = () => {
|
|
51577
|
-
|
|
51582
|
+
if (window._appNavCount > 0) {
|
|
51583
|
+
window._appNavCount--;
|
|
51584
|
+
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);
|
|
51592
|
+
}
|
|
51593
|
+
}
|
|
51578
51594
|
};
|
|
51579
51595
|
}
|
|
51580
51596
|
if (!window.navigate) {
|
|
@@ -51593,17 +51609,82 @@ const AmisRender = function({ schema = {}, data: data2 = {}, env: env2 = {} }) {
|
|
|
51593
51609
|
user: Builder$1.settings.context.user,
|
|
51594
51610
|
now: /* @__PURE__ */ new Date()
|
|
51595
51611
|
},
|
|
51612
|
+
_pathname: location2.pathname,
|
|
51596
51613
|
...data2
|
|
51597
51614
|
};
|
|
51598
51615
|
const mergedEnv = {
|
|
51599
51616
|
...env2,
|
|
51617
|
+
isCurrentUrl: (to, ctx) => {
|
|
51618
|
+
if (!to) {
|
|
51619
|
+
return false;
|
|
51620
|
+
}
|
|
51621
|
+
const link2 = normalizeLink(to);
|
|
51622
|
+
const pathname = window.location.pathname;
|
|
51623
|
+
const idx = link2.indexOf("?");
|
|
51624
|
+
let linkPathname = link2;
|
|
51625
|
+
let linkSearch = "";
|
|
51626
|
+
if (~idx) {
|
|
51627
|
+
linkPathname = link2.substring(0, idx);
|
|
51628
|
+
linkSearch = link2.substring(idx);
|
|
51629
|
+
}
|
|
51630
|
+
if (linkSearch) {
|
|
51631
|
+
if (linkPathname !== pathname) {
|
|
51632
|
+
return false;
|
|
51633
|
+
}
|
|
51634
|
+
const currentSearch = window.location.search;
|
|
51635
|
+
if (!currentSearch) {
|
|
51636
|
+
return false;
|
|
51637
|
+
}
|
|
51638
|
+
const linkParams = new URLSearchParams(linkSearch);
|
|
51639
|
+
const currentParams = new URLSearchParams(currentSearch);
|
|
51640
|
+
let allMatch = true;
|
|
51641
|
+
linkParams.forEach((value2, key2) => {
|
|
51642
|
+
if (currentParams.get(key2) !== value2) {
|
|
51643
|
+
allMatch = false;
|
|
51644
|
+
}
|
|
51645
|
+
});
|
|
51646
|
+
return allMatch;
|
|
51647
|
+
}
|
|
51648
|
+
const decodedPathname = decodeURI(pathname);
|
|
51649
|
+
const decodedLink = decodeURI(linkPathname);
|
|
51650
|
+
if (decodedPathname === decodedLink) {
|
|
51651
|
+
return true;
|
|
51652
|
+
}
|
|
51653
|
+
const linkSegments = decodedLink.replace(/^\//, "").split("/");
|
|
51654
|
+
if (linkSegments.length <= 3 && decodedPathname.startsWith(decodedLink + "/")) {
|
|
51655
|
+
const navPaths = window._steedosNavPaths;
|
|
51656
|
+
if (navPaths && navPaths.some((p) => {
|
|
51657
|
+
let pp = p;
|
|
51658
|
+
const qi = pp.indexOf("?");
|
|
51659
|
+
if (qi > -1) pp = pp.substring(0, qi);
|
|
51660
|
+
const hi = pp.indexOf("#");
|
|
51661
|
+
if (hi > -1) pp = pp.substring(0, hi);
|
|
51662
|
+
if (decodeURI(pp) === decodedLink) return false;
|
|
51663
|
+
const tmplIdx = pp.indexOf("${");
|
|
51664
|
+
if (tmplIdx > -1) {
|
|
51665
|
+
pp = pp.substring(0, tmplIdx);
|
|
51666
|
+
}
|
|
51667
|
+
const decodedNavPath = decodeURI(pp);
|
|
51668
|
+
return decodedNavPath.startsWith(decodedLink + "/") && decodedPathname.startsWith(decodedNavPath);
|
|
51669
|
+
})) {
|
|
51670
|
+
return false;
|
|
51671
|
+
}
|
|
51672
|
+
return true;
|
|
51673
|
+
}
|
|
51674
|
+
return false;
|
|
51675
|
+
},
|
|
51600
51676
|
jumpTo: (to, action, ctx) => {
|
|
51601
51677
|
if (to === "goBack") {
|
|
51602
|
-
return window.
|
|
51678
|
+
return window.goBack();
|
|
51603
51679
|
}
|
|
51604
51680
|
to = normalizeLink(to);
|
|
51605
51681
|
if (action && action.actionType === "url") {
|
|
51606
|
-
action.blank === false
|
|
51682
|
+
if (action.blank === false) {
|
|
51683
|
+
window._appNavCount = (window._appNavCount || 0) + 1;
|
|
51684
|
+
navigate(to);
|
|
51685
|
+
} else {
|
|
51686
|
+
window.open(to);
|
|
51687
|
+
}
|
|
51607
51688
|
return;
|
|
51608
51689
|
}
|
|
51609
51690
|
if (action && to && action.target) {
|
|
@@ -51613,6 +51694,7 @@ const AmisRender = function({ schema = {}, data: data2 = {}, env: env2 = {} }) {
|
|
|
51613
51694
|
if (/^https?:\/\//.test(to)) {
|
|
51614
51695
|
window.location.replace(to);
|
|
51615
51696
|
} else {
|
|
51697
|
+
window._appNavCount = (window._appNavCount || 0) + 1;
|
|
51616
51698
|
navigate(to);
|
|
51617
51699
|
}
|
|
51618
51700
|
},
|
|
@@ -51673,12 +51755,30 @@ const on_click_script = `
|
|
|
51673
51755
|
}
|
|
51674
51756
|
`;
|
|
51675
51757
|
const pcInitJumtoFirstAppFirstTabScript = (payload, response, api2, context) => {
|
|
51758
|
+
const resolvePathTemplate = (path2, data2) => {
|
|
51759
|
+
if (!path2 || path2.indexOf("${") < 0) {
|
|
51760
|
+
return path2;
|
|
51761
|
+
}
|
|
51762
|
+
try {
|
|
51763
|
+
var currentAmis = window.amisRequire && window.amisRequire("amis");
|
|
51764
|
+
var createObject = window.BuilderAmisObject && window.BuilderAmisObject.AmisLib && window.BuilderAmisObject.AmisLib.createObject;
|
|
51765
|
+
if (currentAmis && createObject) {
|
|
51766
|
+
const resolved = currentAmis.evaluate(path2, createObject(context, data2 || {}));
|
|
51767
|
+
if (typeof resolved === "string" && resolved) {
|
|
51768
|
+
return resolved;
|
|
51769
|
+
}
|
|
51770
|
+
}
|
|
51771
|
+
} catch (ex) {
|
|
51772
|
+
console.warn("resolvePathTemplate failed:", ex);
|
|
51773
|
+
}
|
|
51774
|
+
return path2;
|
|
51775
|
+
};
|
|
51676
51776
|
let app_items = payload;
|
|
51677
51777
|
if (app_items && app_items.length > 0) {
|
|
51678
51778
|
let firstApp = app_items[0];
|
|
51679
51779
|
if (firstApp && firstApp.default_tab) {
|
|
51680
51780
|
if (typeof firstApp.default_tab === "object" && firstApp.default_tab.path) {
|
|
51681
|
-
window.location.href = firstApp.default_tab.path;
|
|
51781
|
+
window.location.href = resolvePathTemplate(firstApp.default_tab.path, firstApp.default_tab);
|
|
51682
51782
|
} else {
|
|
51683
51783
|
window.location.href = `/app/${firstApp.id}/${firstApp.default_tab}`;
|
|
51684
51784
|
}
|
|
@@ -51687,7 +51787,7 @@ const pcInitJumtoFirstAppFirstTabScript = (payload, response, api2, context) =>
|
|
|
51687
51787
|
if (firstApp && firstApp.children && firstApp.children.length > 0) {
|
|
51688
51788
|
let firstTab = firstApp.children[0];
|
|
51689
51789
|
if (firstTab) {
|
|
51690
|
-
window.location.href = firstTab.path;
|
|
51790
|
+
window.location.href = resolvePathTemplate(firstTab.path, firstTab);
|
|
51691
51791
|
}
|
|
51692
51792
|
}
|
|
51693
51793
|
}
|
|
@@ -54454,6 +54554,33 @@ const {
|
|
|
54454
54554
|
const AppView = () => {
|
|
54455
54555
|
const { appId } = useParams();
|
|
54456
54556
|
const navigate = useNavigate();
|
|
54557
|
+
const resolvePathTemplate = (path2, data2) => {
|
|
54558
|
+
if (!path2 || path2.indexOf("${") < 0) {
|
|
54559
|
+
return path2 || "";
|
|
54560
|
+
}
|
|
54561
|
+
try {
|
|
54562
|
+
const currentAmis = window.amisRequire?.("amis");
|
|
54563
|
+
const createObject = window.BuilderAmisObject?.AmisLib?.createObject;
|
|
54564
|
+
if (currentAmis && createObject) {
|
|
54565
|
+
const settings2 = window.Builder?.settings || {};
|
|
54566
|
+
const scope = {
|
|
54567
|
+
context: settings2.context,
|
|
54568
|
+
global: {
|
|
54569
|
+
userId: settings2.context?.userId,
|
|
54570
|
+
spaceId: settings2.context?.tenantId,
|
|
54571
|
+
user: settings2.context?.user
|
|
54572
|
+
}
|
|
54573
|
+
};
|
|
54574
|
+
const resolved = currentAmis.evaluate(path2, createObject(scope, data2 || {}));
|
|
54575
|
+
if (typeof resolved === "string" && resolved) {
|
|
54576
|
+
return resolved;
|
|
54577
|
+
}
|
|
54578
|
+
}
|
|
54579
|
+
} catch (error) {
|
|
54580
|
+
console.warn("resolvePathTemplate failed:", error);
|
|
54581
|
+
}
|
|
54582
|
+
return path2;
|
|
54583
|
+
};
|
|
54457
54584
|
reactExports.useEffect(() => {
|
|
54458
54585
|
const fetchData = async () => {
|
|
54459
54586
|
try {
|
|
@@ -54465,7 +54592,7 @@ const AppView = () => {
|
|
|
54465
54592
|
const data2 = response.data;
|
|
54466
54593
|
if (data2?.default_tab) {
|
|
54467
54594
|
if (typeof data2.default_tab === "object" && data2.default_tab !== null && data2.default_tab.path) {
|
|
54468
|
-
navigate(data2.default_tab.path);
|
|
54595
|
+
navigate(resolvePathTemplate(data2.default_tab.path, data2.default_tab));
|
|
54469
54596
|
return;
|
|
54470
54597
|
}
|
|
54471
54598
|
if (typeof data2.default_tab === "string") {
|
|
@@ -54475,7 +54602,7 @@ const AppView = () => {
|
|
|
54475
54602
|
}
|
|
54476
54603
|
if (data2?.children.length > 0 && data2.children[0].path) {
|
|
54477
54604
|
const children = _$1.sortBy(data2.children, ["index"]);
|
|
54478
|
-
navigate(children[0].path);
|
|
54605
|
+
navigate(resolvePathTemplate(children[0].path, children[0]));
|
|
54479
54606
|
}
|
|
54480
54607
|
} catch (error) {
|
|
54481
54608
|
console.error("Error fetching data:", error);
|
|
@@ -54735,12 +54862,12 @@ const AppHeader = () => {
|
|
|
54735
54862
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
|
|
54736
54863
|
}
|
|
54737
54864
|
let logoSrc = "/images/logo.svg";
|
|
54738
|
-
if (Builder$1.settings?.context?.user?.space?.avatar) {
|
|
54865
|
+
if (Builder$1.settings?.platform?.is_oem && Builder$1.settings?.context?.user?.space?.avatar) {
|
|
54739
54866
|
logoSrc = "/api/v6/files/cfs.avatars.filerecord/" + Builder$1.settings.context.user.space.avatar;
|
|
54740
54867
|
}
|
|
54741
54868
|
const faviconLink = document.querySelector('link[rel*="icon"], link[rel*="shortcut"]');
|
|
54742
54869
|
let favicon = "/images/logo.svg";
|
|
54743
|
-
if (Builder$1.settings?.context?.user?.space?.favicon) {
|
|
54870
|
+
if (Builder$1.settings?.platform?.is_oem && Builder$1.settings?.context?.user?.space?.favicon) {
|
|
54744
54871
|
favicon = "/api/v6/files/cfs.avatars.filerecord/" + Builder$1.settings.context.user.space.favicon;
|
|
54745
54872
|
}
|
|
54746
54873
|
if (faviconLink) {
|
|
@@ -54944,6 +55071,18 @@ const ObjectDetail = () => {
|
|
|
54944
55071
|
}, 1);
|
|
54945
55072
|
return;
|
|
54946
55073
|
}
|
|
55074
|
+
const sideObject = urlParams.get("side_object");
|
|
55075
|
+
if (Steedos.Page.getDisplay(objectName) === "split" && !sideObject) {
|
|
55076
|
+
const uiSchema = window.getUISchemaSync(objectName);
|
|
55077
|
+
const defaultListName = sideListViewId || lodashExports.first(lodashExports.values(uiSchema?.list_views))?.name || "";
|
|
55078
|
+
setTimeout(() => {
|
|
55079
|
+
navigate(
|
|
55080
|
+
`/app/${appId}/${objectName}/view/${recordId}?side_object=${objectName}&side_listview_id=${defaultListName}&additionalFilters=`,
|
|
55081
|
+
{ replace: true }
|
|
55082
|
+
);
|
|
55083
|
+
}, 1);
|
|
55084
|
+
return null;
|
|
55085
|
+
}
|
|
54947
55086
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(AmisRender, { schema: {
|
|
54948
55087
|
type: "page",
|
|
54949
55088
|
bodyClassName: "p-0",
|
|
@@ -80539,12 +80678,6 @@ const Root = (props) => {
|
|
|
80539
80678
|
const loadMeAndConfig = async () => {
|
|
80540
80679
|
try {
|
|
80541
80680
|
await props.actions.loadSettings();
|
|
80542
|
-
if (props.tenant && props.tenant.favicon_url) {
|
|
80543
|
-
const faviconLink = document.querySelector('link[rel="shortcut icon"]');
|
|
80544
|
-
if (faviconLink) {
|
|
80545
|
-
faviconLink.href = props.tenant.favicon_url;
|
|
80546
|
-
}
|
|
80547
|
-
}
|
|
80548
80681
|
await props.actions.loadMe();
|
|
80549
80682
|
setConfigLoaded(true);
|
|
80550
80683
|
} catch (error) {
|
|
@@ -80553,6 +80686,14 @@ const Root = (props) => {
|
|
|
80553
80686
|
};
|
|
80554
80687
|
loadMeAndConfig();
|
|
80555
80688
|
}, []);
|
|
80689
|
+
reactExports.useEffect(() => {
|
|
80690
|
+
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;
|
|
80694
|
+
}
|
|
80695
|
+
}
|
|
80696
|
+
}, [props.tenant]);
|
|
80556
80697
|
if (!configLoaded) {
|
|
80557
80698
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", {});
|
|
80558
80699
|
}
|
|
@@ -81242,7 +81383,7 @@ if (typeof ActiveXObject === "function") {
|
|
|
81242
81383
|
if (typeof fetchApi !== "function") fetchApi = void 0;
|
|
81243
81384
|
if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
|
|
81244
81385
|
try {
|
|
81245
|
-
__vitePreload(() => import("./browser-ponyfill-
|
|
81386
|
+
__vitePreload(() => import("./browser-ponyfill-CoPk88In.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
|
|
81246
81387
|
fetchApi = mod.default;
|
|
81247
81388
|
}).catch(function() {
|
|
81248
81389
|
});
|
|
@@ -1010,6 +1010,9 @@ video {
|
|
|
1010
1010
|
.top-0 {
|
|
1011
1011
|
top: 0px;
|
|
1012
1012
|
}
|
|
1013
|
+
.isolate {
|
|
1014
|
+
isolation: isolate;
|
|
1015
|
+
}
|
|
1013
1016
|
.z-10 {
|
|
1014
1017
|
z-index: 10;
|
|
1015
1018
|
}
|
|
@@ -1158,6 +1161,9 @@ video {
|
|
|
1158
1161
|
.mt-1 {
|
|
1159
1162
|
margin-top: 0.25rem;
|
|
1160
1163
|
}
|
|
1164
|
+
.mt-1\.5 {
|
|
1165
|
+
margin-top: 0.375rem;
|
|
1166
|
+
}
|
|
1161
1167
|
.mt-2 {
|
|
1162
1168
|
margin-top: 0.5rem;
|
|
1163
1169
|
}
|
|
@@ -1170,6 +1176,9 @@ video {
|
|
|
1170
1176
|
.mt-6 {
|
|
1171
1177
|
margin-top: 1.5rem;
|
|
1172
1178
|
}
|
|
1179
|
+
.mt-8 {
|
|
1180
|
+
margin-top: 2rem;
|
|
1181
|
+
}
|
|
1173
1182
|
.mt-\[64px\] {
|
|
1174
1183
|
margin-top: 64px;
|
|
1175
1184
|
}
|
|
@@ -1242,6 +1251,9 @@ video {
|
|
|
1242
1251
|
.h-20 {
|
|
1243
1252
|
height: 5rem;
|
|
1244
1253
|
}
|
|
1254
|
+
.h-3 {
|
|
1255
|
+
height: 0.75rem;
|
|
1256
|
+
}
|
|
1245
1257
|
.h-3\.5 {
|
|
1246
1258
|
height: 0.875rem;
|
|
1247
1259
|
}
|
|
@@ -1290,6 +1302,9 @@ video {
|
|
|
1290
1302
|
.max-h-96 {
|
|
1291
1303
|
max-height: 24rem;
|
|
1292
1304
|
}
|
|
1305
|
+
.max-h-full {
|
|
1306
|
+
max-height: 100%;
|
|
1307
|
+
}
|
|
1293
1308
|
.min-h-8 {
|
|
1294
1309
|
min-height: 2rem;
|
|
1295
1310
|
}
|
|
@@ -1299,6 +1314,9 @@ video {
|
|
|
1299
1314
|
.\!w-10 {
|
|
1300
1315
|
width: 2.5rem !important;
|
|
1301
1316
|
}
|
|
1317
|
+
.\!w-full {
|
|
1318
|
+
width: 100% !important;
|
|
1319
|
+
}
|
|
1302
1320
|
.w-1\/3 {
|
|
1303
1321
|
width: 33.333333%;
|
|
1304
1322
|
}
|
|
@@ -1314,9 +1332,15 @@ video {
|
|
|
1314
1332
|
.w-14 {
|
|
1315
1333
|
width: 3.5rem;
|
|
1316
1334
|
}
|
|
1335
|
+
.w-16 {
|
|
1336
|
+
width: 4rem;
|
|
1337
|
+
}
|
|
1317
1338
|
.w-20 {
|
|
1318
1339
|
width: 5rem;
|
|
1319
1340
|
}
|
|
1341
|
+
.w-3 {
|
|
1342
|
+
width: 0.75rem;
|
|
1343
|
+
}
|
|
1320
1344
|
.w-3\.5 {
|
|
1321
1345
|
width: 0.875rem;
|
|
1322
1346
|
}
|
|
@@ -1422,6 +1446,9 @@ video {
|
|
|
1422
1446
|
.flex-shrink-0 {
|
|
1423
1447
|
flex-shrink: 0;
|
|
1424
1448
|
}
|
|
1449
|
+
.shrink {
|
|
1450
|
+
flex-shrink: 1;
|
|
1451
|
+
}
|
|
1425
1452
|
.shrink-0 {
|
|
1426
1453
|
flex-shrink: 0;
|
|
1427
1454
|
}
|
|
@@ -1431,6 +1458,9 @@ video {
|
|
|
1431
1458
|
.grow {
|
|
1432
1459
|
flex-grow: 1;
|
|
1433
1460
|
}
|
|
1461
|
+
.border-collapse {
|
|
1462
|
+
border-collapse: collapse;
|
|
1463
|
+
}
|
|
1434
1464
|
.origin-top-right {
|
|
1435
1465
|
transform-origin: top right;
|
|
1436
1466
|
}
|
|
@@ -1461,6 +1491,9 @@ video {
|
|
|
1461
1491
|
-moz-user-select: none;
|
|
1462
1492
|
user-select: none;
|
|
1463
1493
|
}
|
|
1494
|
+
.resize {
|
|
1495
|
+
resize: both;
|
|
1496
|
+
}
|
|
1464
1497
|
.appearance-none {
|
|
1465
1498
|
-webkit-appearance: none;
|
|
1466
1499
|
-moz-appearance: none;
|
|
@@ -1689,6 +1722,14 @@ video {
|
|
|
1689
1722
|
.border-none {
|
|
1690
1723
|
border-style: none;
|
|
1691
1724
|
}
|
|
1725
|
+
.border-black {
|
|
1726
|
+
--tw-border-opacity: 1;
|
|
1727
|
+
border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));
|
|
1728
|
+
}
|
|
1729
|
+
.border-blue-200 {
|
|
1730
|
+
--tw-border-opacity: 1;
|
|
1731
|
+
border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
|
|
1732
|
+
}
|
|
1692
1733
|
.border-blue-400 {
|
|
1693
1734
|
--tw-border-opacity: 1;
|
|
1694
1735
|
border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
|
|
@@ -1721,6 +1762,22 @@ video {
|
|
|
1721
1762
|
--tw-border-opacity: 1;
|
|
1722
1763
|
border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
|
|
1723
1764
|
}
|
|
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 {
|
|
1774
|
+
--tw-border-opacity: 1;
|
|
1775
|
+
border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
|
|
1776
|
+
}
|
|
1777
|
+
.border-red-500 {
|
|
1778
|
+
--tw-border-opacity: 1;
|
|
1779
|
+
border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
|
|
1780
|
+
}
|
|
1724
1781
|
.border-slate-200 {
|
|
1725
1782
|
--tw-border-opacity: 1;
|
|
1726
1783
|
border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
|
|
@@ -1786,6 +1843,10 @@ video {
|
|
|
1786
1843
|
--tw-bg-opacity: 1;
|
|
1787
1844
|
background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
|
|
1788
1845
|
}
|
|
1846
|
+
.bg-green-100 {
|
|
1847
|
+
--tw-bg-opacity: 1;
|
|
1848
|
+
background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
|
|
1849
|
+
}
|
|
1789
1850
|
.bg-green-500 {
|
|
1790
1851
|
--tw-bg-opacity: 1;
|
|
1791
1852
|
background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
|
|
@@ -1794,6 +1855,10 @@ video {
|
|
|
1794
1855
|
--tw-bg-opacity: 1;
|
|
1795
1856
|
background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
|
|
1796
1857
|
}
|
|
1858
|
+
.bg-orange-100 {
|
|
1859
|
+
--tw-bg-opacity: 1;
|
|
1860
|
+
background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
|
|
1861
|
+
}
|
|
1797
1862
|
.bg-orange-600 {
|
|
1798
1863
|
--tw-bg-opacity: 1;
|
|
1799
1864
|
background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
|
|
@@ -1812,6 +1877,14 @@ video {
|
|
|
1812
1877
|
--tw-bg-opacity: 1;
|
|
1813
1878
|
background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
|
|
1814
1879
|
}
|
|
1880
|
+
.bg-red-100 {
|
|
1881
|
+
--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));
|
|
1887
|
+
}
|
|
1815
1888
|
.bg-red-600 {
|
|
1816
1889
|
--tw-bg-opacity: 1;
|
|
1817
1890
|
background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
|
|
@@ -2097,6 +2170,9 @@ video {
|
|
|
2097
2170
|
.pb-20 {
|
|
2098
2171
|
padding-bottom: 5rem;
|
|
2099
2172
|
}
|
|
2173
|
+
.pb-4 {
|
|
2174
|
+
padding-bottom: 1rem;
|
|
2175
|
+
}
|
|
2100
2176
|
.pb-5 {
|
|
2101
2177
|
padding-bottom: 1.25rem;
|
|
2102
2178
|
}
|
|
@@ -2118,6 +2194,9 @@ video {
|
|
|
2118
2194
|
.pl-9 {
|
|
2119
2195
|
padding-left: 2.25rem;
|
|
2120
2196
|
}
|
|
2197
|
+
.pr-2 {
|
|
2198
|
+
padding-right: 0.5rem;
|
|
2199
|
+
}
|
|
2121
2200
|
.pr-3 {
|
|
2122
2201
|
padding-right: 0.75rem;
|
|
2123
2202
|
}
|
|
@@ -2154,6 +2233,9 @@ video {
|
|
|
2154
2233
|
.align-middle {
|
|
2155
2234
|
vertical-align: middle;
|
|
2156
2235
|
}
|
|
2236
|
+
.font-\[SimSun\] {
|
|
2237
|
+
font-family: SimSun;
|
|
2238
|
+
}
|
|
2157
2239
|
.font-mono {
|
|
2158
2240
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
2159
2241
|
}
|
|
@@ -2175,6 +2257,9 @@ video {
|
|
|
2175
2257
|
.text-\[11px\] {
|
|
2176
2258
|
font-size: 11px;
|
|
2177
2259
|
}
|
|
2260
|
+
.text-\[15px\] {
|
|
2261
|
+
font-size: 15px;
|
|
2262
|
+
}
|
|
2178
2263
|
.text-base {
|
|
2179
2264
|
font-size: 1rem;
|
|
2180
2265
|
line-height: 1.5rem;
|
|
@@ -2260,14 +2345,6 @@ video {
|
|
|
2260
2345
|
--tw-text-opacity: 1 !important;
|
|
2261
2346
|
color: rgb(75 85 99 / var(--tw-text-opacity, 1)) !important;
|
|
2262
2347
|
}
|
|
2263
|
-
.text-\[blue\] {
|
|
2264
|
-
--tw-text-opacity: 1;
|
|
2265
|
-
color: rgb(0 0 255 / var(--tw-text-opacity, 1));
|
|
2266
|
-
}
|
|
2267
|
-
.text-\[red\] {
|
|
2268
|
-
--tw-text-opacity: 1;
|
|
2269
|
-
color: rgb(255 0 0 / var(--tw-text-opacity, 1));
|
|
2270
|
-
}
|
|
2271
2348
|
.text-black {
|
|
2272
2349
|
--tw-text-opacity: 1;
|
|
2273
2350
|
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
|
|
@@ -2316,10 +2393,26 @@ video {
|
|
|
2316
2393
|
--tw-text-opacity: 1;
|
|
2317
2394
|
color: rgb(22 163 74 / var(--tw-text-opacity, 1));
|
|
2318
2395
|
}
|
|
2396
|
+
.text-green-700 {
|
|
2397
|
+
--tw-text-opacity: 1;
|
|
2398
|
+
color: rgb(21 128 61 / var(--tw-text-opacity, 1));
|
|
2399
|
+
}
|
|
2400
|
+
.text-orange-600 {
|
|
2401
|
+
--tw-text-opacity: 1;
|
|
2402
|
+
color: rgb(234 88 12 / var(--tw-text-opacity, 1));
|
|
2403
|
+
}
|
|
2319
2404
|
.text-red-500 {
|
|
2320
2405
|
--tw-text-opacity: 1;
|
|
2321
2406
|
color: rgb(239 68 68 / var(--tw-text-opacity, 1));
|
|
2322
2407
|
}
|
|
2408
|
+
.text-red-600 {
|
|
2409
|
+
--tw-text-opacity: 1;
|
|
2410
|
+
color: rgb(220 38 38 / var(--tw-text-opacity, 1));
|
|
2411
|
+
}
|
|
2412
|
+
.text-red-700 {
|
|
2413
|
+
--tw-text-opacity: 1;
|
|
2414
|
+
color: rgb(185 28 28 / var(--tw-text-opacity, 1));
|
|
2415
|
+
}
|
|
2323
2416
|
.text-sky-500 {
|
|
2324
2417
|
--tw-text-opacity: 1;
|
|
2325
2418
|
color: rgb(14 165 233 / var(--tw-text-opacity, 1));
|
|
@@ -2358,6 +2451,10 @@ video {
|
|
|
2358
2451
|
.no-underline {
|
|
2359
2452
|
text-decoration-line: none;
|
|
2360
2453
|
}
|
|
2454
|
+
.antialiased {
|
|
2455
|
+
-webkit-font-smoothing: antialiased;
|
|
2456
|
+
-moz-osx-font-smoothing: grayscale;
|
|
2457
|
+
}
|
|
2361
2458
|
.placeholder-gray-500::-moz-placeholder {
|
|
2362
2459
|
--tw-placeholder-opacity: 1;
|
|
2363
2460
|
color: rgb(107 114 128 / var(--tw-placeholder-opacity, 1));
|
|
@@ -2400,6 +2497,11 @@ video {
|
|
|
2400
2497
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
2401
2498
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2402
2499
|
}
|
|
2500
|
+
.shadow-2xl {
|
|
2501
|
+
--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
2502
|
+
--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
|
|
2503
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2504
|
+
}
|
|
2403
2505
|
.shadow-lg {
|
|
2404
2506
|
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
2405
2507
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
@@ -2488,6 +2590,10 @@ video {
|
|
|
2488
2590
|
--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
|
|
2489
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);
|
|
2490
2592
|
}
|
|
2593
|
+
.grayscale {
|
|
2594
|
+
--tw-grayscale: grayscale(100%);
|
|
2595
|
+
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);
|
|
2596
|
+
}
|
|
2491
2597
|
.filter {
|
|
2492
2598
|
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);
|
|
2493
2599
|
}
|
|
@@ -3228,8 +3334,8 @@ video {
|
|
|
3228
3334
|
}
|
|
3229
3335
|
@media (min-width: 1280px) {
|
|
3230
3336
|
|
|
3231
|
-
.xl\:w-\[
|
|
3232
|
-
width:
|
|
3337
|
+
.xl\:w-\[24rem\] {
|
|
3338
|
+
width: 24rem;
|
|
3233
3339
|
}
|
|
3234
3340
|
|
|
3235
3341
|
.xl\:grid-cols-4 {
|
package/dist/index.html
CHANGED
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
<link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/themes/antd.css">
|
|
66
66
|
<link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/helper.css">
|
|
67
67
|
<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-
|
|
69
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
68
|
+
<script type="module" crossorigin src="/assets/index-BwvMWDgU.js"></script>
|
|
69
|
+
<link rel="stylesheet" crossorigin href="/assets/index-Np5NzHbA.css">
|
|
70
70
|
</head>
|
|
71
71
|
<body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
|
|
72
72
|
<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.
|
|
3
|
+
"version": "3.0.14-beta.1",
|
|
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": "cfda80963d2a7acc1e1d387808824dc52c2348cd",
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@steedos-widgets/amis-object": "^6.10.
|
|
80
|
+
"@steedos-widgets/amis-object": "^6.10.53-beta.1",
|
|
81
81
|
"autoprefixer": "^10.4.23"
|
|
82
82
|
}
|
|
83
83
|
}
|