sevago-sso-fe 1.0.67 → 1.0.68
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.
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseTextFieldProps } from '@mui/material/TextField';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
interface TextFieldSelectElementProps extends BaseTextFieldProps {
|
|
4
|
+
openTest?: boolean;
|
|
5
|
+
iconLabel?: string;
|
|
6
|
+
options: any[];
|
|
7
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
+
error?: any;
|
|
9
|
+
multiple?: boolean;
|
|
10
|
+
renderValue?: (selected: any) => React.ReactNode;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
showAvatar?: boolean;
|
|
13
|
+
helperText?: string;
|
|
14
|
+
getOptionDisabled?: (option: any) => boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const TextFieldSelectElement: React.FC<TextFieldSelectElementProps>;
|
|
17
|
+
export {};
|
package/dist/index.cjs.js
CHANGED
|
@@ -4,9 +4,9 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const material = require("@mui/material");
|
|
5
5
|
const React = require("react");
|
|
6
6
|
const system = require("@mui/system");
|
|
7
|
-
const reactRouterDom = require("react-router-dom");
|
|
8
7
|
const styled$2 = require("@emotion/styled");
|
|
9
8
|
const react = require("@emotion/react");
|
|
9
|
+
const reactRouterDom = require("react-router-dom");
|
|
10
10
|
const ReactDOM = require("react-dom");
|
|
11
11
|
function _interopNamespaceDefault(e) {
|
|
12
12
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -7203,74 +7203,74 @@ const IconRight = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "20"
|
|
|
7203
7203
|
"stroke-linejoin": "round"
|
|
7204
7204
|
}
|
|
7205
7205
|
) });
|
|
7206
|
-
const StackRow =
|
|
7206
|
+
const StackRow = styled(material.Stack)(() => ({
|
|
7207
7207
|
flexDirection: "row"
|
|
7208
7208
|
}));
|
|
7209
|
-
const StackWrap =
|
|
7209
|
+
const StackWrap = styled(material.Stack)(() => ({
|
|
7210
7210
|
flexDirection: "row",
|
|
7211
7211
|
flexWrap: "wrap"
|
|
7212
7212
|
}));
|
|
7213
|
-
const StackRowAlignCenter =
|
|
7213
|
+
const StackRowAlignCenter = styled(material.Stack)(() => ({
|
|
7214
7214
|
flexDirection: "row",
|
|
7215
7215
|
alignItems: "center"
|
|
7216
7216
|
}));
|
|
7217
|
-
const StackRowAlignEnd =
|
|
7217
|
+
const StackRowAlignEnd = styled(material.Stack)(() => ({
|
|
7218
7218
|
flexDirection: "row",
|
|
7219
7219
|
alignItems: "flex-end"
|
|
7220
7220
|
}));
|
|
7221
|
-
const StackRowJustCenter =
|
|
7221
|
+
const StackRowJustCenter = styled(material.Stack)(() => ({
|
|
7222
7222
|
flexDirection: "row",
|
|
7223
7223
|
justifyContent: "center"
|
|
7224
7224
|
}));
|
|
7225
|
-
const StackRowJustAround =
|
|
7225
|
+
const StackRowJustAround = styled(material.Stack)(() => ({
|
|
7226
7226
|
flexDirection: "row",
|
|
7227
7227
|
justifyContent: "space-around"
|
|
7228
7228
|
}));
|
|
7229
|
-
const StackRowAlignJustCenter =
|
|
7229
|
+
const StackRowAlignJustCenter = styled(material.Stack)(() => ({
|
|
7230
7230
|
flexDirection: "row",
|
|
7231
7231
|
alignItems: "center",
|
|
7232
7232
|
justifyContent: "center"
|
|
7233
7233
|
}));
|
|
7234
|
-
const StackRowAlignCenterJustEnd =
|
|
7234
|
+
const StackRowAlignCenterJustEnd = styled(material.Stack)(() => ({
|
|
7235
7235
|
flexDirection: "row",
|
|
7236
7236
|
alignItems: "center",
|
|
7237
7237
|
justifyContent: "flex-end"
|
|
7238
7238
|
}));
|
|
7239
|
-
const StackRowJustEnd =
|
|
7239
|
+
const StackRowJustEnd = styled(material.Stack)(() => ({
|
|
7240
7240
|
flexDirection: "row",
|
|
7241
7241
|
justifyContent: "flex-end"
|
|
7242
7242
|
}));
|
|
7243
|
-
const StackRowJustBetween =
|
|
7243
|
+
const StackRowJustBetween = styled(material.Stack)(() => ({
|
|
7244
7244
|
flexDirection: "row",
|
|
7245
7245
|
justifyContent: "space-between"
|
|
7246
7246
|
}));
|
|
7247
|
-
const StackRowAlignCenterJustBetween =
|
|
7247
|
+
const StackRowAlignCenterJustBetween = styled(material.Stack)(() => ({
|
|
7248
7248
|
flexDirection: "row",
|
|
7249
7249
|
alignItems: "center",
|
|
7250
7250
|
justifyContent: "space-between"
|
|
7251
7251
|
}));
|
|
7252
|
-
const StackRowAlignStartJustBetween =
|
|
7252
|
+
const StackRowAlignStartJustBetween = styled(material.Stack)(() => ({
|
|
7253
7253
|
flexDirection: "row",
|
|
7254
7254
|
alignItems: "flex-start",
|
|
7255
7255
|
justifyContent: "space-between"
|
|
7256
7256
|
}));
|
|
7257
|
-
const StackBgDefaultBorRadLayCol =
|
|
7257
|
+
const StackBgDefaultBorRadLayCol = styled(material.Stack)(({ theme }) => ({
|
|
7258
7258
|
backgroundColor: theme.palette.background.default,
|
|
7259
7259
|
padding: PADDING_GAP_LAYOUT,
|
|
7260
7260
|
borderRadius: BORDER_RADIUS_ELEMENT
|
|
7261
7261
|
}));
|
|
7262
|
-
const StackBgPaperBorRadLayCol =
|
|
7262
|
+
const StackBgPaperBorRadLayCol = styled(material.Stack)(({ theme }) => ({
|
|
7263
7263
|
backgroundColor: theme.palette.background.paper,
|
|
7264
7264
|
padding: PADDING_GAP_LAYOUT,
|
|
7265
7265
|
borderRadius: BORDER_RADIUS_ELEMENT
|
|
7266
7266
|
}));
|
|
7267
|
-
const StackLabel =
|
|
7267
|
+
const StackLabel = styled(material.Stack)(() => ({
|
|
7268
7268
|
flexDirection: "row",
|
|
7269
7269
|
alignItems: "center",
|
|
7270
7270
|
marginRight: PADDING_GAP_ITEM_SMALL,
|
|
7271
7271
|
gap: PADDING_GAP_ITEM_SMALL
|
|
7272
7272
|
}));
|
|
7273
|
-
const SmallIcon =
|
|
7273
|
+
const SmallIcon = styled(material.Stack)(({ theme }) => ({
|
|
7274
7274
|
border: `1px solid ${theme.palette.common.white}`,
|
|
7275
7275
|
borderRadius: "50%",
|
|
7276
7276
|
display: "flex",
|
|
@@ -7280,7 +7280,7 @@ const SmallIcon = material.styled(material.Stack)(({ theme }) => ({
|
|
|
7280
7280
|
width: 16,
|
|
7281
7281
|
height: 16
|
|
7282
7282
|
}));
|
|
7283
|
-
const StackTabs =
|
|
7283
|
+
const StackTabs = styled(material.Stack)(({ theme }) => ({
|
|
7284
7284
|
borderRadius: BORDER_RADIUS_ELEMENT_TAG,
|
|
7285
7285
|
// padding: '6px',
|
|
7286
7286
|
backgroundColor: theme.palette.background.paper,
|
|
@@ -7288,7 +7288,7 @@ const StackTabs = material.styled(material.Stack)(({ theme }) => ({
|
|
|
7288
7288
|
width: "fit-content",
|
|
7289
7289
|
gap: "unset"
|
|
7290
7290
|
}));
|
|
7291
|
-
const StyledTableCell =
|
|
7291
|
+
const StyledTableCell = styled(material.TableCell)(({ theme }) => ({
|
|
7292
7292
|
[`&.${material.tableCellClasses.head}`]: {
|
|
7293
7293
|
backgroundColor: "#008A77",
|
|
7294
7294
|
color: theme.palette.common.white,
|
|
@@ -7304,7 +7304,7 @@ const StyledTableCell = material.styled(material.TableCell)(({ theme }) => ({
|
|
|
7304
7304
|
borderBottomRightRadius: "0 !important"
|
|
7305
7305
|
}
|
|
7306
7306
|
}));
|
|
7307
|
-
const BorderLinearProgress =
|
|
7307
|
+
const BorderLinearProgress = styled(material.LinearProgress)(({ theme }) => ({
|
|
7308
7308
|
height: 10,
|
|
7309
7309
|
borderRadius: 5,
|
|
7310
7310
|
[`&.${material.linearProgressClasses.colorPrimary}`]: {
|
|
@@ -14943,7 +14943,7 @@ const MotionBox = ({
|
|
|
14943
14943
|
} : {};
|
|
14944
14944
|
return /* @__PURE__ */ jsxRuntime.jsx(motion.div, { ...motionProps, ...getAnimationProps(), ...hoverProps, onClick, style: { ...sx }, children });
|
|
14945
14945
|
};
|
|
14946
|
-
const ImageBrand =
|
|
14946
|
+
const ImageBrand = styled(ImageElement)(({ theme }) => ({
|
|
14947
14947
|
height: HEIGHT_ELEMENT_OTHER,
|
|
14948
14948
|
border: `1px solid ${theme.palette.divider}`,
|
|
14949
14949
|
borderRadius: BORDER_RADIUS_ELEMENT,
|
|
@@ -14954,13 +14954,13 @@ const ImageBrand = material.styled(ImageElement)(({ theme }) => ({
|
|
|
14954
14954
|
width: 100,
|
|
14955
14955
|
objectFit: "contain"
|
|
14956
14956
|
}));
|
|
14957
|
-
const ImageBorderDashboard =
|
|
14957
|
+
const ImageBorderDashboard = styled(ImageElement)(({ theme }) => ({
|
|
14958
14958
|
border: `1px solid ${theme.palette.divider}`,
|
|
14959
14959
|
borderRadius: BORDER_RADIUS_ELEMENT,
|
|
14960
14960
|
height: 50,
|
|
14961
14961
|
width: 70
|
|
14962
14962
|
}));
|
|
14963
|
-
const ImageEmpty =
|
|
14963
|
+
const ImageEmpty = styled(material.Box)(({ theme }) => ({
|
|
14964
14964
|
width: "auto",
|
|
14965
14965
|
minWidth: 50,
|
|
14966
14966
|
height: 50,
|
|
@@ -15091,7 +15091,7 @@ const TagElement = ({
|
|
|
15091
15091
|
}
|
|
15092
15092
|
) });
|
|
15093
15093
|
};
|
|
15094
|
-
const PaperSelect =
|
|
15094
|
+
const PaperSelect = styled(material.Paper, {
|
|
15095
15095
|
shouldForwardProp: (prop) => prop !== "disableSelectedStyle" && prop !== "autoWidth" && prop !== "isTreeSelect"
|
|
15096
15096
|
})(({ theme, disableSelectedStyle, autoWidth, isTreeSelect }) => ({
|
|
15097
15097
|
backgroundColor: theme.palette.background.paper,
|