@zydon/common 2.7.70 → 2.7.72
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/dist/{chunk-FROTZAZP.js → chunk-ONZ2ZNWK.js} +2 -2
- package/dist/chunk-PJR4CLOE.js +8 -0
- package/dist/chunk-PJR4CLOE.js.map +1 -0
- package/dist/{chunk-ACT4F7CZ.js → chunk-U7SYDDK7.js} +2 -2
- package/dist/components/Actions/index.d.ts +10 -0
- package/dist/components/Actions/index.js +4 -0
- package/dist/components/Actions/index.js.map +1 -0
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/BulkEditModal/index.js +1 -1
- package/dist/components/DataView/index.js +3 -3
- package/dist/components/Drawer/index.d.ts +4 -1
- package/dist/components/Drawer/index.js +8 -7
- package/dist/components/Drawer/index.js.map +1 -1
- package/dist/components/DrawerActions/index.d.ts +10 -0
- package/dist/components/DrawerActions/index.js +9 -0
- package/dist/components/DrawerActions/index.js.map +1 -0
- package/dist/components/DynamicDataView/index.js +3 -3
- package/dist/components/FileUpload/index.js +2 -2
- package/dist/components/ModalActions/index.js +3 -2
- package/dist/components/ModalActions/index.js.map +1 -1
- package/dist/components/WebhookCard/index.js +1 -1
- package/dist/components/form/FileUpload/index.js +2 -2
- package/dist/components/form/Webhook/index.js +1 -1
- package/dist/hooks/useSnackbar.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/theme/core/index.d.ts +1 -1
- package/dist/theme/styles/index.d.ts +13 -13
- package/package.json +1 -1
- package/dist/components/ConfigsHeader/index.d.ts +0 -16
- package/dist/components/ConfigsHeader/index.js +0 -17
- package/dist/components/ConfigsHeader/index.js.map +0 -1
- package/dist/{chunk-FROTZAZP.js.map → chunk-ONZ2ZNWK.js.map} +0 -0
- package/dist/{chunk-ACT4F7CZ.js.map → chunk-U7SYDDK7.js.map} +0 -0
- package/dist/{index-c8f1e6e7.d.ts → index-5a5e5dc8.d.ts} +12 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { a } from './chunk-LNXA53QR.js';
|
|
1
2
|
import { a as a$5 } from './chunk-ZFRNMT3P.js';
|
|
2
3
|
import { e } from './chunk-OF6623HG.js';
|
|
3
4
|
import { a as a$2 } from './chunk-N4DW7EIC.js';
|
|
4
|
-
import { a } from './chunk-LNXA53QR.js';
|
|
5
5
|
import { a as a$3 } from './chunk-45OMMG7D.js';
|
|
6
6
|
import { a as a$6 } from './chunk-6U5LS7MP.js';
|
|
7
7
|
import { a as a$4 } from './chunk-NQNNMRLC.js';
|
|
@@ -32,4 +32,4 @@ var Jo=({helperText:e,disabled:o,isError:r})=>e?jsx(Ko,{error:r,sx:n=>({mx:"14px
|
|
|
32
32
|
|
|
33
33
|
export { _ as a, ye as b, Ke as c, Je as d, _o as e, Do as f, ma as g, Be as h, Ee as i, Ea as j, Lo as k, So as l, To as m, Oo as n, q as o, Qe as p, We as q, V as r, Rt as s, Lt as t, Nt as u, Xt as v, oi as w, ni as x };
|
|
34
34
|
//# sourceMappingURL=out.js.map
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-ONZ2ZNWK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/Actions/index.tsx"],"names":["jsx","Actions","children","id","Portal_default","Actions_default"],"mappings":"wCAUE,cAAAA,MAAA,oBAJF,IAAMC,EAAU,CAAC,CACf,SAAAC,EACA,GAAAC,EAAK,SACP,IACEH,EAACI,EAAA,CAAO,UAAWD,EAAK,SAAAD,EAAS,EAG5BG,EAAQJ","sourcesContent":["import { PropsWithChildren } from 'react';\n\nimport Portal from 'components/Portal';\n\nimport { ActionsProps } from './props';\n\nconst Actions = ({\n children,\n id = 'actions',\n}: PropsWithChildren<ActionsProps>) => (\n <Portal container={id}>{children}</Portal>\n);\n\nexport default Actions;\n"]}
|
|
@@ -2,9 +2,9 @@ import { a as a$5 } from './chunk-RPPQBAVO.js';
|
|
|
2
2
|
import { a as a$6 } from './chunk-IJZCVZ32.js';
|
|
3
3
|
import { a as a$9 } from './chunk-IDFJFFIV.js';
|
|
4
4
|
import { a as a$7 } from './chunk-6U5LS7MP.js';
|
|
5
|
-
import { a as a$4 } from './chunk-CO2KQFUN.js';
|
|
6
5
|
import { i, j, a as a$3, b as b$1, c, d, f, e, g, h } from './chunk-QVU6HSYP.js';
|
|
7
6
|
import { a as a$1 } from './chunk-IN7SP2ND.js';
|
|
7
|
+
import { a as a$4 } from './chunk-CO2KQFUN.js';
|
|
8
8
|
import { a } from './chunk-NQNNMRLC.js';
|
|
9
9
|
import { a as a$8 } from './chunk-XWUVJ22J.js';
|
|
10
10
|
import { a as a$2 } from './chunk-LQRRMVFN.js';
|
|
@@ -22,4 +22,4 @@ var C="datagrid-actions";var So=forwardRef(({children:a$1,...n},t)=>jsx(B,{...n,
|
|
|
22
22
|
|
|
23
23
|
export { no as a, it as b };
|
|
24
24
|
//# sourceMappingURL=out.js.map
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-U7SYDDK7.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
|
|
4
|
+
interface ActionsProps {
|
|
5
|
+
id?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare const Actions: ({ children, id, }: PropsWithChildren<ActionsProps>) => react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { Actions as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -11,7 +11,7 @@ interface ImageContainerProps {
|
|
|
11
11
|
|
|
12
12
|
declare const Avatar: react.ForwardRefExoticComponent<Omit<PropsWithChildren<ImageContainerProps & _mui_material_Avatar.AvatarOwnProps & _mui_material_Avatar.AvatarSlotsAndSlotProps & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
13
13
|
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
14
|
-
}, "children" | "className" | "style" | "classes" | "sx" | "variant" | "slots" | "slotProps" | "
|
|
14
|
+
}, "children" | "className" | "style" | "classes" | "sx" | "variant" | "slots" | "slotProps" | "sizes" | "alt" | "src" | "srcSet" | "imgProps"> & {
|
|
15
15
|
component?: react.ElementType<any, keyof react.JSX.IntrinsicElements> | undefined;
|
|
16
16
|
}>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a } from '../../chunk-JZ55NEMI.js';
|
|
2
2
|
import { j as j$1 } from '../../chunk-QVU6HSYP.js';
|
|
3
3
|
import '../../chunk-UVPQR2Q2.js';
|
|
4
|
-
import { a as a$3 } from '../../chunk-IN7SP2ND.js';
|
|
5
4
|
import { a as a$1 } from '../../chunk-RBTYTONM.js';
|
|
5
|
+
import { a as a$3 } from '../../chunk-IN7SP2ND.js';
|
|
6
6
|
import '../../chunk-LY3IB5VH.js';
|
|
7
7
|
import { a as a$2 } from '../../chunk-NQNNMRLC.js';
|
|
8
8
|
import '../../chunk-CIGSMWKF.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { a as Toolbar, b as default } from '../../chunk-
|
|
1
|
+
export { a as Toolbar, b as default } from '../../chunk-U7SYDDK7.js';
|
|
2
2
|
import '../../chunk-RPPQBAVO.js';
|
|
3
3
|
import '../../chunk-IJZCVZ32.js';
|
|
4
4
|
import '../../chunk-IDFJFFIV.js';
|
|
5
5
|
import '../../chunk-6U5LS7MP.js';
|
|
6
6
|
import '../../chunk-BNBE2OMA.js';
|
|
7
7
|
import '../../chunk-NIQW2J3M.js';
|
|
8
|
-
import '../../chunk-CO2KQFUN.js';
|
|
9
8
|
export { c as ActionsContainer, d as ActionsDivider, a as Container, i as DesktopPaginationContainer, b as Header, h as MobilePaginationContainer, g as SearchContainer, e as ToolbarActionsDivider, f as Topbar } from '../../chunk-QVU6HSYP.js';
|
|
10
9
|
import '../../chunk-UVPQR2Q2.js';
|
|
11
|
-
import '../../chunk-IN7SP2ND.js';
|
|
12
10
|
import '../../chunk-RBTYTONM.js';
|
|
11
|
+
import '../../chunk-IN7SP2ND.js';
|
|
12
|
+
import '../../chunk-CO2KQFUN.js';
|
|
13
13
|
import '../../chunk-NQNNMRLC.js';
|
|
14
14
|
import '../../chunk-CIGSMWKF.js';
|
|
15
15
|
import '../../chunk-XWUVJ22J.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import { DialogActionsProps } from '@mui/material/DialogActions';
|
|
3
4
|
import { DrawerProps as DrawerProps$1 } from '@mui/material/Drawer';
|
|
4
5
|
import { StackProps } from '@mui/material/Stack';
|
|
5
6
|
|
|
@@ -8,8 +9,10 @@ interface DrawerProps extends DrawerProps$1 {
|
|
|
8
9
|
onClose?: VoidFunction;
|
|
9
10
|
contentProps?: StackProps;
|
|
10
11
|
maxWidth?: number;
|
|
12
|
+
actions?: ReactNode;
|
|
13
|
+
actionsProps?: DialogActionsProps;
|
|
11
14
|
}
|
|
12
15
|
|
|
13
|
-
declare const Drawer: ({ headerTitle, onClose, children, contentProps, maxWidth, ...other }: DrawerProps) => react_jsx_runtime.JSX.Element;
|
|
16
|
+
declare const Drawer: ({ headerTitle, onClose, children, contentProps, maxWidth, actions, actionsProps, ...other }: DrawerProps) => react_jsx_runtime.JSX.Element;
|
|
14
17
|
|
|
15
18
|
export { Drawer as default };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { a
|
|
1
|
+
import { a } from '../../chunk-NQNNMRLC.js';
|
|
2
2
|
import '../../chunk-CIGSMWKF.js';
|
|
3
|
-
import { a as a$
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import { a as a$1 } from '../../chunk-XWUVJ22J.js';
|
|
4
|
+
import D from '@mui/material/Drawer';
|
|
5
|
+
import P from '@mui/material/IconButton';
|
|
6
|
+
import n from '@mui/material/Stack';
|
|
7
|
+
import A from '@mui/material/DialogActions';
|
|
7
8
|
import { styled } from '@mui/material/styles';
|
|
8
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
9
10
|
|
|
10
|
-
var
|
|
11
|
+
var s=styled(n)(({theme:o})=>({flexDirection:"row",alignItems:"center",borderBottom:`1px solid ${o.palette.grey[300]}`,padding:"22px 20px",gap:16})),l=styled(n)(({theme:o})=>({flexDirection:"row",alignItems:"center",gap:8,flex:1,fontSize:o.typography.subtitle1.fontSize,fontWeight:o.typography.subtitle1.fontWeight,fontFamily:o.typography.fontFamily})),m=styled(A)(({theme:o})=>({borderTop:`1px solid ${o.palette.divider}`,backgroundColor:o.palette.background.paper}));var u=({children:o,actionsProps:t})=>jsx(m,{"data-testid":"drawer-actions",...t,children:o}),c=u;var S=({headerTitle:o,onClose:t,children:f,contentProps:g,maxWidth:w=684,actions:e,actionsProps:x,...h})=>jsxs(D,{anchor:"right",PaperProps:{sx:{width:1,maxWidth:w}},onClose:t,...h,children:[jsxs(s,{children:[jsx(P,{size:"small",onClick:t,children:jsx(a,{icon:"CLOSE_MARK_BUTTON",width:18})}),jsx(l,{children:o})]}),jsx(a$1,{children:jsx(n,{p:3,...g,children:f})}),e&&jsx(c,{actionsProps:x,children:e})]}),v=S;
|
|
11
12
|
|
|
12
|
-
export {
|
|
13
|
+
export { v as default };
|
|
13
14
|
//# sourceMappingURL=out.js.map
|
|
14
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Drawer/index.tsx","../../../src/components/Drawer/styles.ts"],"names":["MuiDrawer","IconButton","Stack","styled","Header","theme","HeaderTitle","jsx","jsxs","Drawer","headerTitle","onClose","
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Drawer/index.tsx","../../../src/components/Drawer/styles.ts","../../../src/components/Drawer/Actions.tsx"],"names":["MuiDrawer","IconButton","Stack","DialogActions","styled","Header","theme","HeaderTitle","Actions","jsx","children","actionsProps","Actions_default","jsxs","Drawer","headerTitle","onClose","contentProps","maxWidth","actions","other","Icon_default","Scrollbar_default","Drawer_default"],"mappings":"mHAAA,OAAOA,MAAe,uBACtB,OAAOC,MAAgB,2BACvB,OAAOC,MAAW,sBCFlB,OAAOC,MAAmB,8BAC1B,OAAOD,MAAW,sBAClB,OAAS,UAAAE,MAAc,uBAEhB,IAAMC,EAASD,EAAOF,CAAK,EAAE,CAAC,CAAE,MAAAI,CAAM,KAAO,CAClD,cAAe,MACf,WAAY,SACZ,aAAc,aAAaA,EAAM,QAAQ,KAAK,GAAG,IACjD,QAAS,YACT,IAAK,EACP,EAAE,EAEWC,EAAcH,EAAOF,CAAK,EAAE,CAAC,CAAE,MAAAI,CAAM,KAAO,CACvD,cAAe,MACf,WAAY,SACZ,IAAK,EACL,KAAM,EACN,SAAUA,EAAM,WAAW,UAAU,SACrC,WAAYA,EAAM,WAAW,UAAU,WACvC,WAAYA,EAAM,WAAW,UAC/B,EAAE,EAEWE,EAAUJ,EAAOD,CAAa,EAAE,CAAC,CAAE,MAAAG,CAAM,KAAO,CAC3D,UAAW,aAAaA,EAAM,QAAQ,UACtC,gBAAiBA,EAAM,QAAQ,WAAW,KAC5C,EAAE,ECfE,cAAAG,MAAA,oBALJ,IAAMD,EAAU,CAAC,CACf,SAAAE,EACA,aAAAC,CACF,IAEIF,EAACD,EAAA,CAAY,cAAY,iBAAkB,GAAGG,EAC3C,SAAAD,EACH,EAIGE,EAAQJ,EFcT,OAEI,OAAAC,EAFJ,QAAAI,MAAA,oBAnBN,IAAMC,EAAS,CAAC,CACd,YAAAC,EACA,QAAAC,EACA,SAAAN,EACA,aAAAO,EACA,SAAAC,EAAW,IACX,QAAAC,EACA,aAAAR,EACA,GAAGS,CACL,IAEIP,EAACb,EAAA,CACC,OAAO,QACP,WAAY,CACV,GAAI,CAAE,MAAO,EAAG,SAAUkB,CAAS,CACrC,EACA,QAASF,EACR,GAAGI,EAEJ,UAAAP,EAACR,EAAA,CACC,UAAAI,EAACR,EAAA,CAAW,KAAK,QAAQ,QAASe,EAChC,SAAAP,EAACY,EAAA,CAAK,KAAK,oBAAoB,MAAO,GAAI,EAC5C,EAEAZ,EAACF,EAAA,CAAa,SAAAQ,EAAY,GAC5B,EACAN,EAACa,EAAA,CACC,SAAAb,EAACP,EAAA,CAAM,EAAG,EAAI,GAAGe,EACd,SAAAP,EACH,EACF,EAECS,GAAWV,EAACG,EAAA,CAAQ,aAAcD,EAAe,SAAAQ,EAAQ,GAC5D,EAIGI,EAAQT","sourcesContent":["import MuiDrawer from '@mui/material/Drawer';\nimport IconButton from '@mui/material/IconButton';\nimport Stack from '@mui/material/Stack';\n\nimport Icon from '../Icon';\nimport Scrollbar from '../Scrollbar';\n\nimport Actions from './Actions';\nimport { DrawerProps } from './props';\nimport { Header, HeaderTitle } from './styles';\n\nconst Drawer = ({\n headerTitle,\n onClose,\n children,\n contentProps,\n maxWidth = 684,\n actions,\n actionsProps,\n ...other\n}: DrawerProps) => {\n return (\n <MuiDrawer\n anchor=\"right\"\n PaperProps={{\n sx: { width: 1, maxWidth: maxWidth },\n }}\n onClose={onClose}\n {...other}\n >\n <Header>\n <IconButton size=\"small\" onClick={onClose}>\n <Icon icon=\"CLOSE_MARK_BUTTON\" width={18} />\n </IconButton>\n\n <HeaderTitle>{headerTitle}</HeaderTitle>\n </Header>\n <Scrollbar>\n <Stack p={3} {...contentProps}>\n {children}\n </Stack>\n </Scrollbar>\n\n {actions && <Actions actionsProps={actionsProps}>{actions}</Actions>}\n </MuiDrawer>\n );\n};\n\nexport default Drawer;\n","import DialogActions from '@mui/material/DialogActions';\nimport Stack from '@mui/material/Stack';\nimport { styled } from '@mui/material/styles';\n\nexport const Header = styled(Stack)(({ theme }) => ({\n flexDirection: 'row',\n alignItems: 'center',\n borderBottom: `1px solid ${theme.palette.grey[300]}`,\n padding: '22px 20px',\n gap: 16,\n}));\n\nexport const HeaderTitle = styled(Stack)(({ theme }) => ({\n flexDirection: 'row',\n alignItems: 'center',\n gap: 8,\n flex: 1,\n fontSize: theme.typography.subtitle1.fontSize,\n fontWeight: theme.typography.subtitle1.fontWeight,\n fontFamily: theme.typography.fontFamily,\n}));\n\nexport const Actions = styled(DialogActions)(({ theme }) => ({\n borderTop: `1px solid ${theme.palette.divider}`,\n backgroundColor: theme.palette.background.paper,\n}));\n","import { PropsWithChildren } from 'react';\n\nimport { DrawerActionsProps } from './props';\nimport { Actions as ActionsElem } from './styles';\n\nconst Actions = ({\n children,\n actionsProps,\n}: PropsWithChildren<DrawerActionsProps>) => {\n return (\n <ActionsElem data-testid=\"drawer-actions\" {...actionsProps}>\n {children}\n </ActionsElem>\n );\n};\n\nexport default Actions;\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
|
|
4
|
+
interface DrawerActionsProps {
|
|
5
|
+
id?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare const DrawerActions: ({ children, id, }: PropsWithChildren<DrawerActionsProps>) => react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { DrawerActions as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { a } from '../../chunk-PJR4CLOE.js';
|
|
2
|
+
import '../../chunk-IN7SP2ND.js';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var t=({children:o,id:i="drawer-actions"})=>jsx(a,{id:i,children:o}),p=t;
|
|
6
|
+
|
|
7
|
+
export { p as default };
|
|
8
|
+
//# sourceMappingURL=out.js.map
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DrawerActions/index.tsx"],"names":["jsx","DrawerActions","children","id","Actions_default","DrawerActions_default"],"mappings":"4EAUE,cAAAA,MAAA,oBAJF,IAAMC,EAAgB,CAAC,CACrB,SAAAC,EACA,GAAAC,EAAK,gBACP,IACEH,EAACI,EAAA,CAAQ,GAAID,EAAK,SAAAD,EAAS,EAGtBG,EAAQJ","sourcesContent":["import { PropsWithChildren } from 'react';\n\nimport Actions from 'components/Actions';\n\nimport { DrawerActionsProps } from './props';\n\nconst DrawerActions = ({\n children,\n id = 'drawer-actions',\n}: PropsWithChildren<DrawerActionsProps>) => (\n <Actions id={id}>{children}</Actions>\n);\n\nexport default DrawerActions;\n"]}
|
|
@@ -3,18 +3,18 @@ import { a } from '../../chunk-FK4XGRYF.js';
|
|
|
3
3
|
import { h, a as a$3 } from '../../chunk-OF6623HG.js';
|
|
4
4
|
import { a as a$2 } from '../../chunk-ZGSSTXUO.js';
|
|
5
5
|
import '../../chunk-45OMMG7D.js';
|
|
6
|
-
import { b } from '../../chunk-
|
|
6
|
+
import { b } from '../../chunk-U7SYDDK7.js';
|
|
7
7
|
import '../../chunk-RPPQBAVO.js';
|
|
8
8
|
import '../../chunk-IJZCVZ32.js';
|
|
9
9
|
import '../../chunk-IDFJFFIV.js';
|
|
10
10
|
import '../../chunk-6U5LS7MP.js';
|
|
11
11
|
import '../../chunk-BNBE2OMA.js';
|
|
12
12
|
import '../../chunk-NIQW2J3M.js';
|
|
13
|
-
import '../../chunk-CO2KQFUN.js';
|
|
14
13
|
import '../../chunk-QVU6HSYP.js';
|
|
15
14
|
import '../../chunk-UVPQR2Q2.js';
|
|
16
|
-
import '../../chunk-IN7SP2ND.js';
|
|
17
15
|
import '../../chunk-RBTYTONM.js';
|
|
16
|
+
import '../../chunk-IN7SP2ND.js';
|
|
17
|
+
import '../../chunk-CO2KQFUN.js';
|
|
18
18
|
import { a as a$1 } from '../../chunk-NQNNMRLC.js';
|
|
19
19
|
import '../../chunk-CIGSMWKF.js';
|
|
20
20
|
import '../../chunk-XWUVJ22J.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { p as ContentType, q as FileContentType, i as FileThumbnail, a as HelperText, b as MultiFilePreview, s as MultipleFileUpload, t as MultipleImageUpload, c as SingleFilePreview, u as SingleFileUpload, v as SingleImageUpload, w as UploadAvatar, x as UploadSimpleBox, l as compressImageWithoutCrop, k as convertToWebP, n as encodeFilenameForHeader, d as fileFormat, g as fileNameByUrl, e as fileThumb, h as fileThumbnailClasses, f as fileTypeByUrl, m as getFileNameFromContentDisposition, j as isImageFile, o as useDropzoneUploader, r as useFileUploadService } from '../../chunk-
|
|
1
|
+
export { p as ContentType, q as FileContentType, i as FileThumbnail, a as HelperText, b as MultiFilePreview, s as MultipleFileUpload, t as MultipleImageUpload, c as SingleFilePreview, u as SingleFileUpload, v as SingleImageUpload, w as UploadAvatar, x as UploadSimpleBox, l as compressImageWithoutCrop, k as convertToWebP, n as encodeFilenameForHeader, d as fileFormat, g as fileNameByUrl, e as fileThumb, h as fileThumbnailClasses, f as fileTypeByUrl, m as getFileNameFromContentDisposition, j as isImageFile, o as useDropzoneUploader, r as useFileUploadService } from '../../chunk-ONZ2ZNWK.js';
|
|
2
|
+
import '../../chunk-LNXA53QR.js';
|
|
2
3
|
import '../../chunk-ZFRNMT3P.js';
|
|
3
4
|
import '../../chunk-RFRLNTFN.js';
|
|
4
5
|
import '../../chunk-KGLU4CR2.js';
|
|
5
6
|
import '../../chunk-OF6623HG.js';
|
|
6
7
|
import '../../chunk-N4DW7EIC.js';
|
|
7
|
-
import '../../chunk-LNXA53QR.js';
|
|
8
8
|
import '../../chunk-45OMMG7D.js';
|
|
9
9
|
import '../../chunk-6U5LS7MP.js';
|
|
10
10
|
import '../../chunk-NQNNMRLC.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { a } from '../../chunk-
|
|
1
|
+
import { a } from '../../chunk-PJR4CLOE.js';
|
|
2
|
+
import '../../chunk-IN7SP2ND.js';
|
|
2
3
|
import { jsx } from 'react/jsx-runtime';
|
|
3
4
|
|
|
4
|
-
var
|
|
5
|
+
var r=({children:i,id:t="modal-actions"})=>jsx(a,{id:t,children:i}),n=r;
|
|
5
6
|
|
|
6
7
|
export { n as default };
|
|
7
8
|
//# sourceMappingURL=out.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ModalActions/index.tsx"],"names":["jsx","ModalActions","children","id","
|
|
1
|
+
{"version":3,"sources":["../../../src/components/ModalActions/index.tsx"],"names":["jsx","ModalActions","children","id","Actions_default","ModalActions_default"],"mappings":"4EAUE,cAAAA,MAAA,oBAJF,IAAMC,EAAe,CAAC,CACpB,SAAAC,EACA,GAAAC,EAAK,eACP,IACEH,EAACI,EAAA,CAAQ,GAAID,EAAK,SAAAD,EAAS,EAGtBG,EAAQJ","sourcesContent":["import { PropsWithChildren } from 'react';\n\nimport Actions from 'components/Actions';\n\nimport { ModalActionsProps } from './props';\n\nconst ModalActions = ({\n children,\n id = 'modal-actions',\n}: PropsWithChildren<ModalActionsProps>) => (\n <Actions id={id}>{children}</Actions>\n);\n\nexport default ModalActions;\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d } from '../../chunk-JNDZPNQJ.js';
|
|
2
2
|
import { a as a$3 } from '../../chunk-FK4XGRYF.js';
|
|
3
|
-
import { a } from '../../chunk-CO2KQFUN.js';
|
|
4
3
|
import { a as a$2 } from '../../chunk-UVPQR2Q2.js';
|
|
4
|
+
import { a } from '../../chunk-CO2KQFUN.js';
|
|
5
5
|
import { a as a$4 } from '../../chunk-NQNNMRLC.js';
|
|
6
6
|
import '../../chunk-CIGSMWKF.js';
|
|
7
7
|
import { a as a$1 } from '../../chunk-LQRRMVFN.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { v, s, t, u } from '../../../chunk-
|
|
1
|
+
import { v, s, t, u } from '../../../chunk-ONZ2ZNWK.js';
|
|
2
|
+
import '../../../chunk-LNXA53QR.js';
|
|
2
3
|
import '../../../chunk-ZFRNMT3P.js';
|
|
3
4
|
import '../../../chunk-RFRLNTFN.js';
|
|
4
5
|
import '../../../chunk-KGLU4CR2.js';
|
|
5
6
|
import '../../../chunk-OF6623HG.js';
|
|
6
7
|
import '../../../chunk-N4DW7EIC.js';
|
|
7
|
-
import '../../../chunk-LNXA53QR.js';
|
|
8
8
|
import '../../../chunk-45OMMG7D.js';
|
|
9
9
|
import '../../../chunk-6U5LS7MP.js';
|
|
10
10
|
import '../../../chunk-NQNNMRLC.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a } from '../../../chunk-YXRL4O4H.js';
|
|
2
|
-
import { a as a$3 } from '../../../chunk-LEMPYV5U.js';
|
|
3
2
|
import { a as a$2 } from '../../../chunk-JZ55NEMI.js';
|
|
3
|
+
import { a as a$3 } from '../../../chunk-LEMPYV5U.js';
|
|
4
4
|
import '../../../chunk-LY3IB5VH.js';
|
|
5
5
|
import { a as a$1 } from '../../../chunk-NQNNMRLC.js';
|
|
6
6
|
import '../../../chunk-CIGSMWKF.js';
|
|
@@ -12,7 +12,6 @@ declare const useSnackbar: () => {
|
|
|
12
12
|
custom: (jsx: (id: string | number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>, data?: ExternalToast | undefined) => string | number;
|
|
13
13
|
message: (message: string | number | boolean | react.ReactElement<any, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | react.ReactPortal | (() => ReactNode) | null | undefined, data?: ExternalToast | undefined) => string | number;
|
|
14
14
|
promise: <ToastData>(promise: Promise<ToastData> | (() => Promise<ToastData>), data?: ({
|
|
15
|
-
cancel?: ReactNode | sonner.Action;
|
|
16
15
|
className?: string | undefined;
|
|
17
16
|
style?: react.CSSProperties | undefined;
|
|
18
17
|
position?: ("top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right") | undefined;
|
|
@@ -22,6 +21,7 @@ declare const useSnackbar: () => {
|
|
|
22
21
|
icon?: ReactNode;
|
|
23
22
|
duration?: number | undefined;
|
|
24
23
|
onDismiss?: ((toast: sonner.ToastT) => void) | undefined;
|
|
24
|
+
cancel?: ReactNode | sonner.Action;
|
|
25
25
|
richColors?: boolean | undefined;
|
|
26
26
|
closeButton?: boolean | undefined;
|
|
27
27
|
dismissible?: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CustomShadows } from './index-
|
|
2
|
-
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from './index-
|
|
1
|
+
import { C as CustomShadows } from './index-5a5e5dc8.js';
|
|
2
|
+
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from './index-5a5e5dc8.js';
|
|
3
3
|
export { S as SettingsContextValue, _ as SettingsProvider, T as ThemeProviderProps, u as useSettingsContext } from './settings-provider-38d09283.js';
|
|
4
4
|
export { THEME_CONFIG, default as ThemeProvider } from './theme/theme-provider.js';
|
|
5
5
|
import { S as SettingsState } from './settings-583c107c.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-
|
|
1
|
+
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-5a5e5dc8.js';
|
|
2
2
|
import '@mui/lab/TimelineConnector';
|
|
3
3
|
import '@mui/system';
|
|
4
4
|
import '@mui/lab/TimelineDot';
|
|
@@ -164,7 +164,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
164
164
|
flexShrink?: readonly ((string & {}) | csstype.Globals)[] | csstype.Property.FlexShrink | readonly NonNullable<csstype.Property.FlexShrink | undefined>[] | undefined;
|
|
165
165
|
flexWrap?: csstype.Property.FlexWrap | readonly NonNullable<csstype.Property.FlexWrap | undefined>[] | readonly csstype.Property.FlexWrap[] | undefined;
|
|
166
166
|
float?: csstype.Property.Float | readonly NonNullable<csstype.Property.Float | undefined>[] | readonly csstype.Property.Float[] | undefined;
|
|
167
|
-
fontFamily?:
|
|
167
|
+
fontFamily?: csstype.Property.FontFamily | readonly string[] | readonly csstype.Property.FontFamily[] | undefined;
|
|
168
168
|
fontFeatureSettings?: readonly string[] | csstype.Property.FontFeatureSettings | readonly csstype.Property.FontFeatureSettings[] | undefined;
|
|
169
169
|
fontKerning?: csstype.Property.FontKerning | readonly NonNullable<csstype.Property.FontKerning | undefined>[] | readonly csstype.Property.FontKerning[] | undefined;
|
|
170
170
|
fontLanguageOverride?: readonly string[] | csstype.Property.FontLanguageOverride | readonly csstype.Property.FontLanguageOverride[] | undefined;
|
|
@@ -189,7 +189,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
189
189
|
fontVariantNumeric?: readonly string[] | csstype.Property.FontVariantNumeric | readonly csstype.Property.FontVariantNumeric[] | undefined;
|
|
190
190
|
fontVariantPosition?: csstype.Property.FontVariantPosition | readonly NonNullable<csstype.Property.FontVariantPosition | undefined>[] | readonly csstype.Property.FontVariantPosition[] | undefined;
|
|
191
191
|
fontVariationSettings?: readonly string[] | csstype.Property.FontVariationSettings | readonly csstype.Property.FontVariationSettings[] | undefined;
|
|
192
|
-
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly (
|
|
192
|
+
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ((string & {}) | csstype.Globals | "bold" | "normal" | "bolder" | "lighter")[] | undefined;
|
|
193
193
|
forcedColorAdjust?: csstype.Property.ForcedColorAdjust | readonly NonNullable<csstype.Property.ForcedColorAdjust | undefined>[] | readonly csstype.Property.ForcedColorAdjust[] | undefined;
|
|
194
194
|
gridAutoColumns?: readonly (string | (string & {}))[] | csstype.Property.GridAutoColumns<string | number> | readonly NonNullable<csstype.Property.GridAutoColumns<string | number> | undefined>[] | undefined;
|
|
195
195
|
gridAutoFlow?: readonly string[] | csstype.Property.GridAutoFlow | readonly csstype.Property.GridAutoFlow[] | undefined;
|
|
@@ -414,9 +414,9 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
414
414
|
wordWrap?: csstype.Property.WordWrap | readonly NonNullable<csstype.Property.WordWrap | undefined>[] | readonly csstype.Property.WordWrap[] | undefined;
|
|
415
415
|
writingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
416
416
|
zIndex?: readonly ((string & {}) | csstype.Globals | "auto")[] | csstype.Property.ZIndex | readonly NonNullable<csstype.Property.ZIndex | undefined>[] | undefined;
|
|
417
|
-
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly (
|
|
417
|
+
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "reset")[] | undefined;
|
|
418
418
|
all?: csstype.Globals | readonly NonNullable<csstype.Globals | undefined>[] | readonly csstype.Globals[] | undefined;
|
|
419
|
-
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
419
|
+
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
420
420
|
animationRange?: readonly (string | (string & {}))[] | csstype.Property.AnimationRange<string | number> | readonly NonNullable<csstype.Property.AnimationRange<string | number> | undefined>[] | undefined;
|
|
421
421
|
background?: readonly (string | (string & {}))[] | csstype.Property.Background<string | number> | readonly NonNullable<csstype.Property.Background<string | number> | undefined>[] | undefined;
|
|
422
422
|
border?: readonly (string | (string & {}))[] | csstype.Property.Border<string | number> | readonly NonNullable<csstype.Property.Border<string | number> | undefined>[] | undefined;
|
|
@@ -425,7 +425,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
425
425
|
borderBlockStart?: readonly (string | (string & {}))[] | csstype.Property.BorderBlockStart<string | number> | readonly NonNullable<csstype.Property.BorderBlockStart<string | number> | undefined>[] | undefined;
|
|
426
426
|
borderBottom?: readonly (string | (string & {}))[] | csstype.Property.BorderBottom<string | number> | readonly NonNullable<csstype.Property.BorderBottom<string | number> | undefined>[] | undefined;
|
|
427
427
|
borderColor?: readonly string[] | csstype.Property.BorderColor | readonly csstype.Property.BorderColor[] | undefined;
|
|
428
|
-
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
428
|
+
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
429
429
|
borderInline?: readonly (string | (string & {}))[] | csstype.Property.BorderInline<string | number> | readonly NonNullable<csstype.Property.BorderInline<string | number> | undefined>[] | undefined;
|
|
430
430
|
borderInlineEnd?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineEnd<string | number> | readonly NonNullable<csstype.Property.BorderInlineEnd<string | number> | undefined>[] | undefined;
|
|
431
431
|
borderInlineStart?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineStart<string | number> | readonly NonNullable<csstype.Property.BorderInlineStart<string | number> | undefined>[] | undefined;
|
|
@@ -457,7 +457,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
457
457
|
marginBlock?: readonly (string | (string & {}))[] | csstype.Property.MarginBlock<string | number> | readonly NonNullable<csstype.Property.MarginBlock<string | number> | undefined>[] | undefined;
|
|
458
458
|
marginInline?: readonly (string | (string & {}))[] | csstype.Property.MarginInline<string | number> | readonly NonNullable<csstype.Property.MarginInline<string | number> | undefined>[] | undefined;
|
|
459
459
|
mask?: readonly (string | (string & {}))[] | csstype.Property.Mask<string | number> | readonly NonNullable<csstype.Property.Mask<string | number> | undefined>[] | undefined;
|
|
460
|
-
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly (
|
|
460
|
+
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
461
461
|
motion?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
462
462
|
offset?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
463
463
|
outline?: readonly (string | (string & {}))[] | csstype.Property.Outline<string | number> | readonly NonNullable<csstype.Property.Outline<string | number> | undefined>[] | undefined;
|
|
@@ -700,8 +700,8 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
700
700
|
WebkitUserModify?: csstype.Property.WebkitUserModify | readonly NonNullable<csstype.Property.WebkitUserModify | undefined>[] | readonly csstype.Property.WebkitUserModify[] | undefined;
|
|
701
701
|
WebkitUserSelect?: csstype.Property.UserSelect | readonly NonNullable<csstype.Property.UserSelect | undefined>[] | readonly csstype.Property.UserSelect[] | undefined;
|
|
702
702
|
WebkitWritingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
703
|
-
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
704
|
-
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
703
|
+
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
704
|
+
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
705
705
|
MozColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
706
706
|
MozColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
707
707
|
MozOutlineRadius?: readonly (string | (string & {}))[] | csstype.Property.MozOutlineRadius<string | number> | readonly NonNullable<csstype.Property.MozOutlineRadius<string | number> | undefined>[] | undefined;
|
|
@@ -712,16 +712,16 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
712
712
|
msScrollSnapX?: readonly string[] | csstype.Property.MsScrollSnapX | readonly csstype.Property.MsScrollSnapX[] | undefined;
|
|
713
713
|
msScrollSnapY?: readonly string[] | csstype.Property.MsScrollSnapY | readonly csstype.Property.MsScrollSnapY[] | undefined;
|
|
714
714
|
msTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
715
|
-
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
715
|
+
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
716
716
|
WebkitBorderBefore?: readonly (string | (string & {}))[] | csstype.Property.WebkitBorderBefore<string | number> | readonly NonNullable<csstype.Property.WebkitBorderBefore<string | number> | undefined>[] | undefined;
|
|
717
|
-
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
717
|
+
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
718
718
|
WebkitBorderRadius?: readonly (string | (string & {}))[] | csstype.Property.BorderRadius<string | number> | readonly NonNullable<csstype.Property.BorderRadius<string | number> | undefined>[] | undefined;
|
|
719
719
|
WebkitColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
720
720
|
WebkitColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
721
721
|
WebkitFlex?: readonly (string | (string & {}))[] | csstype.Property.Flex<string | number> | readonly NonNullable<csstype.Property.Flex<string | number> | undefined>[] | undefined;
|
|
722
722
|
WebkitFlexFlow?: readonly string[] | csstype.Property.FlexFlow | readonly csstype.Property.FlexFlow[] | undefined;
|
|
723
723
|
WebkitMask?: readonly (string | (string & {}))[] | csstype.Property.WebkitMask<string | number> | readonly NonNullable<csstype.Property.WebkitMask<string | number> | undefined>[] | undefined;
|
|
724
|
-
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly (
|
|
724
|
+
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
725
725
|
WebkitTextEmphasis?: readonly string[] | csstype.Property.TextEmphasis | readonly csstype.Property.TextEmphasis[] | undefined;
|
|
726
726
|
WebkitTextStroke?: readonly (string | (string & {}))[] | csstype.Property.WebkitTextStroke<string | number> | readonly NonNullable<csstype.Property.WebkitTextStroke<string | number> | undefined>[] | undefined;
|
|
727
727
|
WebkitTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
@@ -802,7 +802,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
802
802
|
MozTransitionTimingFunction?: readonly string[] | csstype.Property.TransitionTimingFunction | readonly csstype.Property.TransitionTimingFunction[] | undefined;
|
|
803
803
|
MozUserInput?: csstype.Property.MozUserInput | readonly NonNullable<csstype.Property.MozUserInput | undefined>[] | readonly csstype.Property.MozUserInput[] | undefined;
|
|
804
804
|
msImeMode?: csstype.Property.ImeMode | readonly NonNullable<csstype.Property.ImeMode | undefined>[] | readonly csstype.Property.ImeMode[] | undefined;
|
|
805
|
-
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
805
|
+
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
806
806
|
OAnimationDelay?: readonly string[] | csstype.Property.AnimationDelay<string & {}> | readonly csstype.Property.AnimationDelay<string & {}>[] | undefined;
|
|
807
807
|
OAnimationDirection?: readonly string[] | csstype.Property.AnimationDirection | readonly csstype.Property.AnimationDirection[] | undefined;
|
|
808
808
|
OAnimationDuration?: readonly string[] | csstype.Property.AnimationDuration<string & {}> | readonly csstype.Property.AnimationDuration<string & {}>[] | undefined;
|
|
@@ -812,7 +812,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
812
812
|
OAnimationPlayState?: readonly string[] | csstype.Property.AnimationPlayState | readonly csstype.Property.AnimationPlayState[] | undefined;
|
|
813
813
|
OAnimationTimingFunction?: readonly string[] | csstype.Property.AnimationTimingFunction | readonly csstype.Property.AnimationTimingFunction[] | undefined;
|
|
814
814
|
OBackgroundSize?: readonly (string | (string & {}))[] | csstype.Property.BackgroundSize<string | number> | readonly NonNullable<csstype.Property.BackgroundSize<string | number> | undefined>[] | undefined;
|
|
815
|
-
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly (
|
|
815
|
+
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
816
816
|
OObjectFit?: csstype.Property.ObjectFit | readonly NonNullable<csstype.Property.ObjectFit | undefined>[] | readonly csstype.Property.ObjectFit[] | undefined;
|
|
817
817
|
OObjectPosition?: readonly (string | (string & {}))[] | csstype.Property.ObjectPosition<string | number> | readonly NonNullable<csstype.Property.ObjectPosition<string | number> | undefined>[] | undefined;
|
|
818
818
|
OTabSize?: readonly (string | (string & {}))[] | csstype.Property.TabSize<string | number> | readonly NonNullable<csstype.Property.TabSize<string | number> | undefined>[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { PropsWithChildren } from 'react';
|
|
3
|
-
|
|
4
|
-
interface HeaderProps {
|
|
5
|
-
backPath?: string;
|
|
6
|
-
title?: React.ReactNode;
|
|
7
|
-
breadcrumbs?: {
|
|
8
|
-
label: string;
|
|
9
|
-
path: string;
|
|
10
|
-
}[];
|
|
11
|
-
actions?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
declare const ConfigsHeader: ({ children, backPath, title, breadcrumbs, actions, }: PropsWithChildren<HeaderProps>) => react_jsx_runtime.JSX.Element;
|
|
15
|
-
|
|
16
|
-
export { ConfigsHeader as default };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { a as a$2 } from '../../chunk-LNXA53QR.js';
|
|
2
|
-
import { a as a$1 } from '../../chunk-IN7SP2ND.js';
|
|
3
|
-
import { a } from '../../chunk-NQNNMRLC.js';
|
|
4
|
-
import '../../chunk-CIGSMWKF.js';
|
|
5
|
-
import k from '@mui/material/Link';
|
|
6
|
-
import g from '@mui/material/Stack';
|
|
7
|
-
import { memo } from 'react';
|
|
8
|
-
import c from '@mui/material/Typography';
|
|
9
|
-
import y from '@mui/material/Breadcrumbs';
|
|
10
|
-
import { styled, alpha } from '@mui/material/styles';
|
|
11
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
12
|
-
|
|
13
|
-
var s=styled(y)(({theme:o})=>({"& .MuiBreadcrumbs-separator":{marginLeft:o.spacing(-1),marginRight:o.spacing(-1)}}));var C=({title:o,breadcrumbs:r})=>jsxs(g,{children:[jsx(c,{variant:"subtitle1",fontSize:"subtitle1.fontSize",color:"text.primary",children:o}),r&&jsx(s,{"aria-label":"breadcrumb",separator:jsx(a,{icon:"CHEVRON_RIGHT",width:18,color:"text.secondary"}),children:r.map((t,a)=>a===r.length-1||t.path===""?jsx(c,{variant:"caption",fontWeight:400,color:t.path===""?"text.disabled":void 0,children:t.label},t.label):jsx(k,{href:t.path,underline:"hover",variant:"caption",fontWeight:400,color:"text.secondary",children:t.label},t.label))})]}),d=memo(C);var f=styled(g)(({theme:o})=>({flexDirection:"row",alignItems:"center",gap:o.spacing(1),color:o.palette.text.secondary,[o.breakpoints.up("md")]:{gap:o.spacing(3)},[o.breakpoints.down("md")]:{"& button, & a":{textIndent:"-9999em",fontSize:0,minWidth:36,maxWidth:36,height:36,width:36,overflow:"hidden","& .MuiButton-icon":{margin:0}},"& a":{border:`1px solid ${alpha(o.palette.grey[500],.2)}`}}}));var E="CONFIGS_HEADER",P=({children:o,backPath:r,title:t,breadcrumbs:a,actions:n})=>jsx(a$1,{container:E,children:jsxs(g,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:1,children:[jsxs(g,{direction:"row",alignItems:"center",gap:1,children:[r&&jsx(a$2,{component:k,to:r,label:"Voltar",icon:"CHEVRON_LEFT",color:"text.primary",size:"small"}),jsx(d,{title:t,breadcrumbs:a}),o]}),n&&jsx(f,{children:n})]})}),U=P;
|
|
14
|
-
|
|
15
|
-
export { U as default };
|
|
16
|
-
//# sourceMappingURL=out.js.map
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ConfigsHeader/index.tsx","../../../src/components/ConfigsHeader/Content/index.tsx","../../../src/components/ConfigsHeader/Content/styles.ts","../../../src/components/ConfigsHeader/styles.ts"],"names":["Link","Stack","memo","Typography","MuiBreadcrumbs","styled","Breadcrumbs","theme","jsx","jsxs","Content","title","breadcrumbs","Icon_default","crumb","index","Content_default","alpha","Actions","CONFIGS_HEADER","ConfigsHeader","children","backPath","actions","Portal_default","IconButton_default","ConfigsHeader_default"],"mappings":"oKACA,OAAOA,MAAU,qBACjB,OAAOC,MAAW,sBCFlB,OAAS,QAAAC,MAAY,QACrB,OAAOF,MAAU,qBACjB,OAAOC,MAAW,sBAClB,OAAOE,MAAgB,2BCHvB,OAAOC,MAAoB,4BAC3B,OAAS,UAAAC,MAAc,uBAEhB,IAAMC,EAAcD,EAAOD,CAAc,EAAE,CAAC,CAAE,MAAAG,CAAM,KAAO,CAChE,8BAA+B,CAC7B,WAAYA,EAAM,QAAQ,EAAE,EAC5B,YAAaA,EAAM,QAAQ,EAAE,CAC/B,CACF,EAAE,EDIE,OACE,OAAAC,EADF,QAAAC,MAAA,oBAFJ,IAAMC,EAAU,CAAC,CAAE,MAAAC,EAAO,YAAAC,CAAY,IAElCH,EAACR,EAAA,CACC,UAAAO,EAACL,EAAA,CACC,QAAQ,YACR,SAAS,qBACT,MAAM,eAEL,SAAAQ,EACH,EAECC,GACCJ,EAACF,EAAA,CACC,aAAW,aACX,UACEE,EAACK,EAAA,CAAK,KAAK,gBAAgB,MAAO,GAAI,MAAM,iBAAiB,EAG9D,SAAAD,EAAY,IAAI,CAACE,EAAOC,IACvBA,IAAUH,EAAY,OAAS,GAAKE,EAAM,OAAS,GACjDN,EAACL,EAAA,CAEC,QAAQ,UACR,WAAY,IACZ,MAAOW,EAAM,OAAS,GAAK,gBAAkB,OAE5C,SAAAA,EAAM,OALFA,EAAM,KAMb,EAEAN,EAACR,EAAA,CAEC,KAAMc,EAAM,KACZ,UAAU,QACV,QAAQ,UACR,WAAY,IACZ,MAAM,iBAEL,SAAAA,EAAM,OAPFA,EAAM,KAQb,CAEJ,EACF,GAEJ,EAIGE,EAAQd,EAAKQ,CAAO,EEzD3B,OAAOT,MAAW,sBAClB,OAAS,SAAAgB,EAAO,UAAAZ,MAAc,uBAEvB,IAAMa,EAAUb,EAAOJ,CAAK,EAAE,CAAC,CAAE,MAAAM,CAAM,KAAO,CACnD,cAAe,MACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,MAAOA,EAAM,QAAQ,KAAK,UAE1B,CAACA,EAAM,YAAY,GAAG,IAAI,CAAC,EAAG,CAC5B,IAAKA,EAAM,QAAQ,CAAC,CACtB,EAEA,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,gBAAiB,CACf,WAAY,UACZ,SAAU,EACV,SAAU,GACV,SAAU,GACV,OAAQ,GACR,MAAO,GACP,SAAU,SAEV,oBAAqB,CACnB,OAAQ,CACV,CACF,EAEA,MAAO,CACL,OAAQ,aAAaU,EAAMV,EAAM,QAAQ,KAAK,GAAG,EAAG,EAAG,GACzD,CACF,CACF,EAAE,EHJM,OAEI,OAAAC,EAFJ,QAAAC,MAAA,oBAjBR,IAAMU,EAAiB,iBAEjBC,EAAgB,CAAC,CACrB,SAAAC,EACA,SAAAC,EACA,MAAAX,EACA,YAAAC,EACA,QAAAW,CACF,IAEIf,EAACgB,EAAA,CAAO,UAAWL,EACjB,SAAAV,EAACR,EAAA,CACC,UAAU,MACV,WAAW,SACX,eAAe,gBACf,IAAK,EAEL,UAAAQ,EAACR,EAAA,CAAM,UAAU,MAAM,WAAW,SAAS,IAAK,EAC7C,UAAAqB,GACCd,EAACiB,EAAA,CACC,UAAWzB,EACX,GAAIsB,EACJ,MAAM,SACN,KAAK,eACL,MAAM,eACN,KAAK,QACP,EAGFd,EAACQ,EAAA,CAAQ,MAAOL,EAAO,YAAaC,EAAa,EAEhDS,GACH,EAECE,GAAWf,EAACU,EAAA,CAAS,SAAAK,EAAQ,GAChC,EACF,EAIGG,EAAQN","sourcesContent":["import { PropsWithChildren } from 'react';\nimport Link from '@mui/material/Link';\nimport Stack from '@mui/material/Stack';\n\nimport IconButton from 'components/IconButton';\nimport Portal from 'components/Portal';\n\nimport Content from './Content';\nimport { HeaderProps } from './props';\nimport { Actions } from './styles';\n\nconst CONFIGS_HEADER = 'CONFIGS_HEADER';\n\nconst ConfigsHeader = ({\n children,\n backPath,\n title,\n breadcrumbs,\n actions,\n}: PropsWithChildren<HeaderProps>) => {\n return (\n <Portal container={CONFIGS_HEADER}>\n <Stack\n direction=\"row\"\n alignItems=\"center\"\n justifyContent=\"space-between\"\n gap={1}\n >\n <Stack direction=\"row\" alignItems=\"center\" gap={1}>\n {backPath && (\n <IconButton\n component={Link}\n to={backPath}\n label=\"Voltar\"\n icon=\"CHEVRON_LEFT\"\n color=\"text.primary\"\n size=\"small\"\n />\n )}\n\n <Content title={title} breadcrumbs={breadcrumbs} />\n\n {children}\n </Stack>\n\n {actions && <Actions>{actions}</Actions>}\n </Stack>\n </Portal>\n );\n};\n\nexport default ConfigsHeader;\n","import { memo } from 'react';\nimport Link from '@mui/material/Link';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\n\nimport Icon from 'components/Icon';\n\nimport { ConfigsFormHeaderTitleProps } from './props';\nimport { Breadcrumbs } from './styles';\n\nconst Content = ({ title, breadcrumbs }: ConfigsFormHeaderTitleProps) => {\n return (\n <Stack>\n <Typography\n variant=\"subtitle1\"\n fontSize=\"subtitle1.fontSize\"\n color=\"text.primary\"\n >\n {title}\n </Typography>\n\n {breadcrumbs && (\n <Breadcrumbs\n aria-label=\"breadcrumb\"\n separator={\n <Icon icon=\"CHEVRON_RIGHT\" width={18} color=\"text.secondary\" />\n }\n >\n {breadcrumbs.map((crumb, index) =>\n index === breadcrumbs.length - 1 || crumb.path === '' ? (\n <Typography\n key={crumb.label}\n variant=\"caption\"\n fontWeight={400}\n color={crumb.path === '' ? 'text.disabled' : undefined}\n >\n {crumb.label}\n </Typography>\n ) : (\n <Link\n key={crumb.label}\n href={crumb.path}\n underline=\"hover\"\n variant=\"caption\"\n fontWeight={400}\n color=\"text.secondary\"\n >\n {crumb.label}\n </Link>\n ),\n )}\n </Breadcrumbs>\n )}\n </Stack>\n );\n};\n\nexport default memo(Content);\n","import MuiBreadcrumbs from '@mui/material/Breadcrumbs';\nimport { styled } from '@mui/material/styles';\n\nexport const Breadcrumbs = styled(MuiBreadcrumbs)(({ theme }) => ({\n '& .MuiBreadcrumbs-separator': {\n marginLeft: theme.spacing(-1),\n marginRight: theme.spacing(-1),\n },\n}));\n","import Stack from '@mui/material/Stack';\nimport { alpha, styled } from '@mui/material/styles';\n\nexport const Actions = styled(Stack)(({ theme }) => ({\n flexDirection: 'row',\n alignItems: 'center',\n gap: theme.spacing(1),\n color: theme.palette.text.secondary,\n\n [theme.breakpoints.up('md')]: {\n gap: theme.spacing(3),\n },\n\n [theme.breakpoints.down('md')]: {\n '& button, & a': {\n textIndent: '-9999em',\n fontSize: 0,\n minWidth: 36,\n maxWidth: 36,\n height: 36,\n width: 36,\n overflow: 'hidden',\n\n '& .MuiButton-icon': {\n margin: 0,\n },\n },\n\n '& a': {\n border: `1px solid ${alpha(theme.palette.grey[500], 0.2)}`,\n },\n },\n}));\n"]}
|
|
File without changes
|
|
File without changes
|
|
@@ -286,13 +286,10 @@ declare const components: {
|
|
|
286
286
|
MuiTimelineDot: {
|
|
287
287
|
defaultProps?: Partial<_mui_lab_TimelineDot.TimelineDotProps> | undefined;
|
|
288
288
|
styleOverrides?: Partial<_mui_material_styles_overrides.OverridesStyleRules<keyof _mui_lab_TimelineDot.TimelineDotClasses, "MuiTimelineDot", {
|
|
289
|
-
|
|
290
|
-
zIndex: _mui_material.ZIndex;
|
|
291
|
-
direction: _mui_system.Direction;
|
|
292
|
-
opacity: _mui_material.Opacity;
|
|
293
|
-
typography: _mui_material.TypographyVariants;
|
|
289
|
+
transitions: _mui_material.Transitions;
|
|
294
290
|
palette: _mui_material.Palette;
|
|
295
291
|
colorSchemes: Record<_mui_material.SupportedColorScheme, _mui_material.ColorSystem>;
|
|
292
|
+
cssVarPrefix: string;
|
|
296
293
|
vars: _mui_material.ThemeVars;
|
|
297
294
|
getCssVar: (field: _mui_material.ThemeCssVar, ...vars: _mui_material.ThemeCssVar[]) => string;
|
|
298
295
|
getColorSchemeSelector: (colorScheme: _mui_material.SupportedColorScheme) => string;
|
|
@@ -303,13 +300,16 @@ declare const components: {
|
|
|
303
300
|
spacing: _mui_system.Spacing;
|
|
304
301
|
breakpoints: _mui_system.Breakpoints;
|
|
305
302
|
shape: _mui_system.Shape;
|
|
306
|
-
|
|
303
|
+
typography: _mui_material.TypographyVariants;
|
|
307
304
|
shadows: _mui_material.Shadows;
|
|
308
305
|
mixins: _mui_material.Mixins;
|
|
306
|
+
zIndex: _mui_material.ZIndex;
|
|
307
|
+
direction: _mui_system.Direction;
|
|
309
308
|
shouldSkipGeneratingVar: (keys: string[], value: string | number) => boolean;
|
|
310
309
|
unstable_sxConfig: _mui_system.SxConfig;
|
|
311
310
|
unstable_sx: (props: _mui_system.SxProps<_mui_material.Theme>) => _mui_styled_engine.CSSObject;
|
|
312
311
|
applyStyles: _mui_system.ApplyStyles<"light" | "dark">;
|
|
312
|
+
opacity: _mui_material.Opacity;
|
|
313
313
|
overlays: _mui_material.Overlays;
|
|
314
314
|
customShadows: CustomShadows;
|
|
315
315
|
unstable_strictMode?: boolean | undefined;
|
|
@@ -326,13 +326,10 @@ declare const components: {
|
|
|
326
326
|
MuiTimelineConnector: {
|
|
327
327
|
defaultProps?: Partial<_mui_lab_TimelineConnector.TimelineConnectorProps> | undefined;
|
|
328
328
|
styleOverrides?: Partial<_mui_material_styles_overrides.OverridesStyleRules<"root", "MuiTimelineConnector", {
|
|
329
|
-
|
|
330
|
-
zIndex: _mui_material.ZIndex;
|
|
331
|
-
direction: _mui_system.Direction;
|
|
332
|
-
opacity: _mui_material.Opacity;
|
|
333
|
-
typography: _mui_material.TypographyVariants;
|
|
329
|
+
transitions: _mui_material.Transitions;
|
|
334
330
|
palette: _mui_material.Palette;
|
|
335
331
|
colorSchemes: Record<_mui_material.SupportedColorScheme, _mui_material.ColorSystem>;
|
|
332
|
+
cssVarPrefix: string;
|
|
336
333
|
vars: _mui_material.ThemeVars;
|
|
337
334
|
getCssVar: (field: _mui_material.ThemeCssVar, ...vars: _mui_material.ThemeCssVar[]) => string;
|
|
338
335
|
getColorSchemeSelector: (colorScheme: _mui_material.SupportedColorScheme) => string;
|
|
@@ -343,13 +340,16 @@ declare const components: {
|
|
|
343
340
|
spacing: _mui_system.Spacing;
|
|
344
341
|
breakpoints: _mui_system.Breakpoints;
|
|
345
342
|
shape: _mui_system.Shape;
|
|
346
|
-
|
|
343
|
+
typography: _mui_material.TypographyVariants;
|
|
347
344
|
shadows: _mui_material.Shadows;
|
|
348
345
|
mixins: _mui_material.Mixins;
|
|
346
|
+
zIndex: _mui_material.ZIndex;
|
|
347
|
+
direction: _mui_system.Direction;
|
|
349
348
|
shouldSkipGeneratingVar: (keys: string[], value: string | number) => boolean;
|
|
350
349
|
unstable_sxConfig: _mui_system.SxConfig;
|
|
351
350
|
unstable_sx: (props: _mui_system.SxProps<_mui_material.Theme>) => _mui_styled_engine.CSSObject;
|
|
352
351
|
applyStyles: _mui_system.ApplyStyles<"light" | "dark">;
|
|
352
|
+
opacity: _mui_material.Opacity;
|
|
353
353
|
overlays: _mui_material.Overlays;
|
|
354
354
|
customShadows: CustomShadows;
|
|
355
355
|
unstable_strictMode?: boolean | undefined;
|