sevago-sso-fe 1.0.51 → 1.0.52
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/README.md +191 -256
- package/dist/components/elements/icon/index.d.ts +0 -1
- package/dist/components/elements/index.d.ts +0 -1
- package/dist/index.cjs.js +3 -32
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -33
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/elements/icon/icon-button.element.d.ts +0 -10
- package/dist/components/elements/icon/icon-content.element.d.ts +0 -15
- package/dist/components/elements/radio/radio-group.element.d.ts +0 -16
- package/dist/components/elements/tooltip/index.d.ts +0 -1
- package/dist/components/elements/tooltip/tooltip-on-click.element.d.ts +0 -7
- package/dist/components/elements/tooltip/tooltip-on-hover.element.d.ts +0 -9
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { styled, Stack, TableCell, tableCellClasses, LinearProgress, linearProgressClasses, useTheme as useTheme$2, Skeleton, Box, Typography, IconButton, Icon, FormControlLabel, Radio
|
|
2
|
+
import { styled, Stack, TableCell, tableCellClasses, LinearProgress, linearProgressClasses, useTheme as useTheme$2, Skeleton, Box, Typography, IconButton, Icon, FormControlLabel, Radio } from "@mui/material";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import React__default, { useState, createContext, useRef, useLayoutEffect, useEffect, useContext, useId, useCallback, useMemo, Fragment as Fragment$1, createElement, useInsertionEffect, forwardRef, Component } from "react";
|
|
5
5
|
import { unstable_createGetCssVar, createSpacing as createSpacing$1, useTheme as useTheme$1 } from "@mui/system";
|
|
@@ -13750,10 +13750,12 @@ const AppGrid = ({
|
|
|
13750
13750
|
gap: gap2
|
|
13751
13751
|
},
|
|
13752
13752
|
children: visibleApps.map((app, index) => {
|
|
13753
|
+
const appUrl = app.path[env];
|
|
13754
|
+
const absoluteUrl = appUrl.startsWith("https://") ? appUrl : `${window.location.origin}${appUrl.startsWith("/") ? appUrl : `/${appUrl}`}`;
|
|
13753
13755
|
return /* @__PURE__ */ jsx(
|
|
13754
13756
|
"a",
|
|
13755
13757
|
{
|
|
13756
|
-
href:
|
|
13758
|
+
href: absoluteUrl,
|
|
13757
13759
|
target: "_blank",
|
|
13758
13760
|
rel: "noopener noreferrer",
|
|
13759
13761
|
style: {
|
|
@@ -14077,36 +14079,6 @@ const RadioElement = ({ name, label, ...rest }) => {
|
|
|
14077
14079
|
}
|
|
14078
14080
|
);
|
|
14079
14081
|
};
|
|
14080
|
-
const TooltipOnClickElement = ({
|
|
14081
|
-
open,
|
|
14082
|
-
placement = "top",
|
|
14083
|
-
content,
|
|
14084
|
-
children,
|
|
14085
|
-
onOpen,
|
|
14086
|
-
onClose,
|
|
14087
|
-
onClickAway,
|
|
14088
|
-
...rest
|
|
14089
|
-
}) => {
|
|
14090
|
-
return (
|
|
14091
|
-
// Chỗ này có thể là bug, onClickAway apply ngay cả khi component chưa được render
|
|
14092
|
-
/* @__PURE__ */ jsx(ClickAwayListener, { onClickAway, children: /* @__PURE__ */ jsx(
|
|
14093
|
-
Tooltip,
|
|
14094
|
-
{
|
|
14095
|
-
PopperProps: { disablePortal: true },
|
|
14096
|
-
open,
|
|
14097
|
-
onOpen,
|
|
14098
|
-
onClose,
|
|
14099
|
-
disableFocusListener: true,
|
|
14100
|
-
disableHoverListener: true,
|
|
14101
|
-
disableTouchListener: true,
|
|
14102
|
-
placement,
|
|
14103
|
-
title: content,
|
|
14104
|
-
...rest,
|
|
14105
|
-
children: /* @__PURE__ */ jsx("span", { children })
|
|
14106
|
-
}
|
|
14107
|
-
) })
|
|
14108
|
-
);
|
|
14109
|
-
};
|
|
14110
14082
|
const TypographyContentCaption = ({ content, caption, sx = {}, sxContent, sxCaption }) => {
|
|
14111
14083
|
return /* @__PURE__ */ jsxs(Stack, { gap: 0, sx: { ...sx }, children: [
|
|
14112
14084
|
/* @__PURE__ */ jsx(
|
|
@@ -14280,7 +14252,6 @@ export {
|
|
|
14280
14252
|
SystemMonitorScreen,
|
|
14281
14253
|
SystemMonitorSidebarPart,
|
|
14282
14254
|
TYPOGRAPHY_STYLES,
|
|
14283
|
-
TooltipOnClickElement,
|
|
14284
14255
|
TypographyContentCaption,
|
|
14285
14256
|
TypographyFilter,
|
|
14286
14257
|
checkNowYear,
|