@availity/mui-spaces 1.0.28 → 1.0.29
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.
- package/CHANGELOG.md +7 -0
- package/dist/index.js +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
- package/src/lib/SpacesLink/linkHandlers.tsx +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.0.29](https://github.com/Availity/element/compare/@availity/mui-spaces@1.0.28...@availity/mui-spaces@1.0.29) (2025-07-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* fix onprem sso config value ([0c79a52](https://github.com/Availity/element/commit/0c79a52a9f6c56d2d8c45a7546664e7700f19c9e))
|
|
11
|
+
|
|
5
12
|
## [1.0.28](https://github.com/Availity/element/compare/@availity/mui-spaces@1.0.27...@availity/mui-spaces@1.0.28) (2025-07-01)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.js
CHANGED
|
@@ -803,7 +803,10 @@ var openLinkWithSso = (_0, _1) => __async(void 0, [_0, _1], function* (space, {
|
|
|
803
803
|
if (space.meta && space.meta.ssoId) {
|
|
804
804
|
let options;
|
|
805
805
|
if (space.meta.appsDomain === "true") {
|
|
806
|
-
options = ((_a = space.link) == null ? void 0 : _a.target) ? {
|
|
806
|
+
options = ((_a = space.link) == null ? void 0 : _a.target) ? {
|
|
807
|
+
target: getTarget(space.link.target),
|
|
808
|
+
action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}`
|
|
809
|
+
} : { action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}` };
|
|
807
810
|
} else {
|
|
808
811
|
options = ((_b = space.link) == null ? void 0 : _b.target) ? { target: getTarget(space.link.target) } : void 0;
|
|
809
812
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -761,7 +761,10 @@ var openLinkWithSso = (_0, _1) => __async(void 0, [_0, _1], function* (space, {
|
|
|
761
761
|
if (space.meta && space.meta.ssoId) {
|
|
762
762
|
let options;
|
|
763
763
|
if (space.meta.appsDomain === "true") {
|
|
764
|
-
options = ((_a = space.link) == null ? void 0 : _a.target) ? {
|
|
764
|
+
options = ((_a = space.link) == null ? void 0 : _a.target) ? {
|
|
765
|
+
target: getTarget(space.link.target),
|
|
766
|
+
action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}`
|
|
767
|
+
} : { action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}` };
|
|
765
768
|
} else {
|
|
766
769
|
options = ((_b = space.link) == null ? void 0 : _b.target) ? { target: getTarget(space.link.target) } : void 0;
|
|
767
770
|
}
|
package/package.json
CHANGED
|
@@ -34,7 +34,12 @@ export const openLinkWithSso: OpenLinkWithSso = async (space, { akaname, clientI
|
|
|
34
34
|
if (space.meta && space.meta.ssoId) {
|
|
35
35
|
let options;
|
|
36
36
|
if (space.meta.appsDomain === 'true') {
|
|
37
|
-
options = space.link?.target ?
|
|
37
|
+
options = space.link?.target ?
|
|
38
|
+
{
|
|
39
|
+
target: getTarget(space.link.target),
|
|
40
|
+
action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}`
|
|
41
|
+
} :
|
|
42
|
+
{ action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}`};
|
|
38
43
|
} else {
|
|
39
44
|
options = space.link?.target ? { target: getTarget(space.link.target) } : undefined;
|
|
40
45
|
}
|