sevago-library 1.1.4 → 1.1.6
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 +12 -0
- package/dist/index.cjs.js +17 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +17 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/src/common/utils/other.util.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -25840,9 +25840,17 @@ const lightenColor = (hex, percent = 0) => {
|
|
|
25840
25840
|
b = Math.round(b + (255 - b) * percent);
|
|
25841
25841
|
return `rgb(${r2}, ${g}, ${b})`;
|
|
25842
25842
|
};
|
|
25843
|
+
const cleanSSOParams = (searchParams) => {
|
|
25844
|
+
const nextSearchParams = new URLSearchParams(searchParams);
|
|
25845
|
+
nextSearchParams.delete("deviceId");
|
|
25846
|
+
nextSearchParams.delete("authToken");
|
|
25847
|
+
const search = nextSearchParams.toString();
|
|
25848
|
+
return search ? `?${search}` : "";
|
|
25849
|
+
};
|
|
25843
25850
|
const other_util = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25844
25851
|
__proto__: null,
|
|
25845
25852
|
calculatePageAndIndex,
|
|
25853
|
+
cleanSSOParams,
|
|
25846
25854
|
getAppBlackList,
|
|
25847
25855
|
getCurrentEnvironment,
|
|
25848
25856
|
getErrorMessage,
|
|
@@ -74461,7 +74469,15 @@ const DialogElement = ({
|
|
|
74461
74469
|
/* @__PURE__ */ jsxRuntime.jsxs(StackRow, { sx: { flex: 1, justifyContent: "flex-end" }, children: [
|
|
74462
74470
|
styledButtonLeft && /* @__PURE__ */ jsxRuntime.jsx(ButtonElement, { ...styledButtonLeft, fullWidth }),
|
|
74463
74471
|
styledButtonCenter && /* @__PURE__ */ jsxRuntime.jsx(ButtonElement, { ...styledButtonCenter, fullWidth }),
|
|
74464
|
-
styledButtonRight && /* @__PURE__ */ jsxRuntime.jsx(
|
|
74472
|
+
styledButtonRight && /* @__PURE__ */ jsxRuntime.jsx(
|
|
74473
|
+
ButtonElement,
|
|
74474
|
+
{
|
|
74475
|
+
...styledButtonRight,
|
|
74476
|
+
fullWidth,
|
|
74477
|
+
loading: styledButtonRight.loading,
|
|
74478
|
+
sx: { bgcolor: styledButtonRight.color }
|
|
74479
|
+
}
|
|
74480
|
+
)
|
|
74465
74481
|
] })
|
|
74466
74482
|
] }) })
|
|
74467
74483
|
}
|