@zydon/common 2.6.6 → 2.6.7
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-NPXVOPB2.js +7 -0
- package/dist/components/Common/index.js +3 -3
- package/dist/components/DataView/index.js +3 -3
- package/dist/components/FrameSkeleton/index.js +4 -4
- package/dist/components/Panel/index.d.ts +8 -0
- package/dist/components/Panel/index.js +1 -0
- package/dist/components/WebhookCard/index.js +6 -6
- package/dist/components/WhiteBox/index.js +6 -1
- package/dist/components/form/Address/index.js +1 -1
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/theme/core/index.d.ts +1 -1
- package/dist/theme/styles/index.d.ts +13 -13
- package/dist/theme/theme-provider.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-4QRHLV4A.js +0 -7
- package/dist/{chunk-SNWUSK4N.js → chunk-MBU4AOTJ.js} +2 -2
- package/dist/{index-6dff3367.d.ts → index-1d50facd.d.ts} +12 -12
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import p from '@mui/material/Stack';
|
|
2
|
+
import { styled } from '@mui/material/styles';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var r=styled(p)(({theme:o})=>({backgroundColor:o.palette.background.paper,borderRadius:12,...o.palette.mode==="dark"?{border:"1px solid transparent"}:{border:`1px solid ${o.palette.divider}`}}));var e=({children:o,...d})=>jsx(r,{borderRadius:1,gap:3,padding:3,...d,children:o}),b=e;
|
|
6
|
+
|
|
7
|
+
export { b as a };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a } from '../../chunk-P26W2RT7.js';
|
|
2
2
|
import '../../chunk-QGFD5EQE.js';
|
|
3
|
-
import { b } from '../../chunk-
|
|
3
|
+
import { b } from '../../chunk-MBU4AOTJ.js';
|
|
4
4
|
import '../../chunk-SO64ZYQB.js';
|
|
5
|
+
import '../../chunk-WZDEMKEC.js';
|
|
5
6
|
import '../../chunk-LLSJ5WJ4.js';
|
|
6
7
|
import '../../chunk-CFVUZ4S5.js';
|
|
8
|
+
import '../../chunk-5LYNZ2ZZ.js';
|
|
7
9
|
import '../../chunk-GUFT6XPG.js';
|
|
8
10
|
import '../../chunk-D6MGCVOI.js';
|
|
9
|
-
import '../../chunk-WZDEMKEC.js';
|
|
10
|
-
import '../../chunk-5LYNZ2ZZ.js';
|
|
11
11
|
import { j } from '../../chunk-V2UHZWRE.js';
|
|
12
12
|
import '../../chunk-QQDMA4TE.js';
|
|
13
13
|
import '../../chunk-Z2TDWMRU.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as a$5 } from '../../chunk-YICVHFON.js';
|
|
2
2
|
import { a as a$2 } from '../../chunk-5YJTSVA2.js';
|
|
3
3
|
import { a as a$6 } from '../../chunk-TWGGHTU5.js';
|
|
4
|
-
import { a } from '../../chunk-
|
|
4
|
+
import { a } from '../../chunk-NPXVOPB2.js';
|
|
5
5
|
import { a as a$9 } from '../../chunk-OPDDRGEQ.js';
|
|
6
6
|
import '../../chunk-6L2WNJLX.js';
|
|
7
7
|
import '../../chunk-U26IUEAG.js';
|
|
@@ -18,12 +18,12 @@ import no from '@mui/material/Button';
|
|
|
18
18
|
import yo from '@mui/material/CircularProgress';
|
|
19
19
|
import U from '@mui/material/Divider';
|
|
20
20
|
import p from '@mui/material/Stack';
|
|
21
|
-
import
|
|
21
|
+
import b$1 from '@mui/material/Typography';
|
|
22
22
|
import uo from '@mui/material/TablePagination';
|
|
23
23
|
import { styled } from '@mui/material/styles';
|
|
24
24
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
25
25
|
import { GridToolbarColumnsButton } from '@mui/x-data-grid-premium';
|
|
26
26
|
|
|
27
|
-
var P="datagrid-actions";var Q=styled(a,{shouldForwardProp:o=>o!=="breakpoint"})(({theme:o,breakpoint:e})=>({position:"relative",borderRadius:12,padding:0,gap:0,overflow:"hidden",[o.breakpoints.down(e)]:{borderColor:o.palette.divider}})),q=styled(p,{shouldForwardProp:o=>o!=="breakpoint"})(({theme:o,breakpoint:e})=>({flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:"24px 24px 0",gap:24,[o.breakpoints.down(e)]:{padding:"16px 16px 0"}})),J=styled(p,{shouldForwardProp:o=>o!=="breakpoint"})(({theme:o,breakpoint:e})=>({flexDirection:"row",alignItems:"center",gap:12,color:o.palette.text.secondary,[o.breakpoints.down(e)]:{"& button, & a":{textIndent:"-9999em",fontSize:0,minWidth:36,maxWidth:36,height:36,width:36,overflow:"hidden","& .MuiButton-icon":{margin:0}}}})),K=styled(U)({borderStyle:"dashed",height:16,margin:"auto"}),X=styled(U)({borderStyle:"dashed",height:12,marginTop:"auto",marginBottom:"auto"}),Y=styled(p,{shouldForwardProp:o=>o!=="breakpoint"})(({theme:o,breakpoint:e})=>({position:"relative",padding:16,flexDirection:"row",alignItems:"center",color:o.palette.text.secondary,[o.breakpoints.down(e)]:{padding:"12px 16px",borderBottom:`1px solid ${o.palette.divider}`,minHeight:60,[o.breakpoints.down(e)]:{"& button":{textIndent:"-9999em",fontSize:0,minWidth:36,maxWidth:36,height:36,width:36,overflow:"hidden","& .MuiButton-icon":{margin:0}}}}})),Z=styled(p,{shouldForwardProp:o=>o!=="breakpoint"})(({theme:o,breakpoint:e})=>({width:320,alignItems:"center",justifyContent:"center",[o.breakpoints.down(e)]:{position:"absolute",left:0,width:"100%",padding:"0 12px",zIndex:1,"& fieldset, & input":{display:"flex"},"& .MuiInputAdornment-root":{marginLeft:0}}})),oo=styled(p)(({theme:o})=>({"& .MuiToolbar-root":{height:24,minHeight:24,overflow:"hidden",[o.breakpoints.down("sm")]:{height:"auto",flexWrap:"wrap",justifyContent:"center"}}})),to=styled(p)(({theme:o})=>({minHeight:60,alignItems:"flex-end",justifyContent:"center",borderTop:`1px solid ${o.palette.divider}`,[o.breakpoints.down("sm")]:{minHeight:"auto"}})),eo=styled(p)(({theme:o})=>({flexDirection:"row",height:60,alignItems:"center",justifyContent:"space-between",borderTop:`1px solid ${o.palette.divider}`,gap:16,padding:16}));var fo=({count:o,page:e,rowsPerPage:m,onPageChange:s,onRowsPerPageChange:
|
|
27
|
+
var P="datagrid-actions";var Q=styled(a,{shouldForwardProp:o=>o!=="breakpoint"})(({theme:o,breakpoint:e})=>({position:"relative",borderRadius:12,padding:0,gap:0,overflow:"hidden",[o.breakpoints.down(e)]:{borderColor:o.palette.divider}})),q=styled(p,{shouldForwardProp:o=>o!=="breakpoint"})(({theme:o,breakpoint:e})=>({flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:"24px 24px 0",gap:24,[o.breakpoints.down(e)]:{padding:"16px 16px 0"}})),J=styled(p,{shouldForwardProp:o=>o!=="breakpoint"})(({theme:o,breakpoint:e})=>({flexDirection:"row",alignItems:"center",gap:12,color:o.palette.text.secondary,[o.breakpoints.down(e)]:{"& button, & a":{textIndent:"-9999em",fontSize:0,minWidth:36,maxWidth:36,height:36,width:36,overflow:"hidden","& .MuiButton-icon":{margin:0}}}})),K=styled(U)({borderStyle:"dashed",height:16,margin:"auto"}),X=styled(U)({borderStyle:"dashed",height:12,marginTop:"auto",marginBottom:"auto"}),Y=styled(p,{shouldForwardProp:o=>o!=="breakpoint"})(({theme:o,breakpoint:e})=>({position:"relative",padding:16,flexDirection:"row",alignItems:"center",color:o.palette.text.secondary,[o.breakpoints.down(e)]:{padding:"12px 16px",borderBottom:`1px solid ${o.palette.divider}`,minHeight:60,[o.breakpoints.down(e)]:{"& button":{textIndent:"-9999em",fontSize:0,minWidth:36,maxWidth:36,height:36,width:36,overflow:"hidden","& .MuiButton-icon":{margin:0}}}}})),Z=styled(p,{shouldForwardProp:o=>o!=="breakpoint"})(({theme:o,breakpoint:e})=>({width:320,alignItems:"center",justifyContent:"center",[o.breakpoints.down(e)]:{position:"absolute",left:0,width:"100%",padding:"0 12px",zIndex:1,"& fieldset, & input":{display:"flex"},"& .MuiInputAdornment-root":{marginLeft:0}}})),oo=styled(p)(({theme:o})=>({"& .MuiToolbar-root":{height:24,minHeight:24,overflow:"hidden",[o.breakpoints.down("sm")]:{height:"auto",flexWrap:"wrap",justifyContent:"center"}}})),to=styled(p)(({theme:o})=>({minHeight:60,alignItems:"flex-end",justifyContent:"center",borderTop:`1px solid ${o.palette.divider}`,[o.breakpoints.down("sm")]:{minHeight:"auto"}})),eo=styled(p)(({theme:o})=>({flexDirection:"row",height:60,alignItems:"center",justifyContent:"space-between",borderTop:`1px solid ${o.palette.divider}`,gap:16,padding:16}));var fo=({count:o,page:e,rowsPerPage:m,onPageChange:s,onRowsPerPageChange:x})=>jsx(oo,{children:jsx(uo,{color:"primary",component:"div",size:"small",count:o,page:e,rowsPerPage:m,onPageChange:(l,n)=>s(n),onRowsPerPageChange:l=>x(Number(l.target.value))})}),v=fo;var xo=forwardRef(({children:o,...e},m)=>jsx(no,{...e,ref:m,color:"inherit",startIcon:jsx(a$1,{icon:"COLUMNS"}),children:o??"Colunas"}));xo.displayName="ColumnsButton";var wo=()=>jsx(a$2,{container:P,children:jsx(GridToolbarColumnsButton,{slotProps:{button:{color:"inherit",startIcon:jsx(a$1,{icon:"COLUMNS"}),children:"Colunas"}}})}),Co=wo;var So=({title:o,breakpoint:e="md",columns:m,rows:s=[],mobileRender:x,rowCount:l=0,paginationModel:n={page:0,pageSize:25},onPaginationChange:u,actions:S,moreActions:I,onAdd:k,onSearch:T,searchValue:io,onSearchChange:ao,slots:w,slotProps:po,loading:c,fetching:B,containerProps:so={height:562,maxHeight:562},hideFooter:A,hideHeader:R=!1,...lo})=>{let f=a$3(),h=b("down",e),[mo,co]=useState(null),H=!!T,C=!!k,M=!!S,go=M||C,z=!!I,O=z||H||!h;return jsxs(Q,{breakpoint:e,...so,flex:c?1:void 0,minHeight:!c&&s.length===0?562:void 0,children:[!R&&jsxs(Fragment,{children:[jsxs(q,{breakpoint:e,children:[jsx(b$1,{variant:"overline",color:"text.secondary",noWrap:!0,children:o}),go&&jsxs(J,{breakpoint:e,children:[M&&jsxs(Fragment,{children:[S,C&&jsx(K,{orientation:"vertical",flexItem:!0})]}),C&&jsx(no,{startIcon:jsx(a$1,{icon:"SIMPLE_ADD"}),variant:"contained",onClick:k,children:"Adicionar"})]})]}),O&&jsxs(Y,{breakpoint:e,children:[jsx(p,{flex:1,direction:"row",alignItems:"center",id:P,gap:.5,children:z&&jsxs(Fragment,{children:[jsx(no,{color:"inherit",startIcon:jsx(a$1,{icon:"MORE_BOLD"}),size:"small",onClick:f.onOpen,children:"Mais"}),!h&&jsx(X,{orientation:"vertical",flexItem:!0}),jsx(a$4,{open:f.open,anchorEl:f.open,onClose:f.onClose,sx:{minWidth:160},disabledArrow:h,children:I})]})}),H&&jsx(Z,{breakpoint:e,children:jsx(a$5,{value:io,placeholder:"Buscar",onSearch:T,onChange:r=>ao?.(r.target.value),size:"small",fullWidth:!0,iconPosition:"start"})})]})]}),!O&&!R&&jsx(U,{sx:{mt:2}}),h?jsxs(a$6,{isFetching:B,fetching:jsx(a$7,{}),isLoading:c,loading:jsx(yo,{sx:{m:"160px auto"}}),isEmpty:s.length===0,empty:jsx(p,{flex:1,alignItems:"center",justifyContent:"center",children:w?.noRowsOverlay?jsx(w.noRowsOverlay,{}):jsx(b$1,{variant:"body2",color:"text.secondary",children:"Nenhum registro encontrado"})}),children:[jsx(a$8,{fillContent:!0,children:s.map(r=>x(r))}),!A&&jsx(to,{children:jsx(v,{count:l,page:n.page,rowsPerPage:n.pageSize,onPageChange:r=>u(r,n.pageSize),onRowsPerPageChange:r=>u(n.page,r)})})]}):jsx(a$9,{columns:m,rows:s,slots:{footer:()=>jsxs(eo,{children:[jsxs(p,{direction:"row",alignItems:"center",gap:.5,children:[jsx(b$1,{variant:"body2",color:"text.disabled",children:"Total de itens:"}),jsx(b$1,{variant:"body2",children:l})]}),jsx(v,{count:l,page:n.page,rowsPerPage:n.pageSize,onPageChange:r=>u(r,n.pageSize),onRowsPerPageChange:r=>u(n.page,r)})]}),...w},slotProps:{panel:{anchorEl:mo},toolbar:{setFilterButtonEl:co,showQuickFilter:!0},...po},columnHeaderHeight:48,getRowHeight:()=>68,loading:c,fetching:B,hideFooter:A,...lo})]},c?"loading":"data")},dt=So;
|
|
28
28
|
|
|
29
29
|
export { J as ActionsContainer, K as ActionsDivider, Q as Container, eo as DesktopPaginationContainer, q as Header, to as MobilePaginationContainer, Z as SearchContainer, Co as Toolbar, X as ToolbarActionsDivider, Y as Topbar, dt as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a } from '../../chunk-
|
|
1
|
+
import { a } from '../../chunk-NPXVOPB2.js';
|
|
2
2
|
import { a as a$2 } from '../../chunk-26GV7WKC.js';
|
|
3
3
|
import { a as a$3 } from '../../chunk-P26W2RT7.js';
|
|
4
4
|
import '../../chunk-QGFD5EQE.js';
|
|
@@ -11,11 +11,11 @@ import '../../chunk-3APKMSVD.js';
|
|
|
11
11
|
import j from '@mui/material/IconButton';
|
|
12
12
|
import i from '@mui/material/Stack';
|
|
13
13
|
import d from '@mui/material/Typography';
|
|
14
|
-
import
|
|
14
|
+
import P from '@mui/material/Button';
|
|
15
15
|
import { styled } from '@mui/material/styles';
|
|
16
|
-
import
|
|
16
|
+
import O from '@mui/material/styles/zIndex';
|
|
17
17
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
|
-
var S=styled(i)(({theme:t})=>({backgroundColor:t.palette.background.paper,maxWidth:300,flex:1,borderRight:`1px solid ${t.palette.divider}`,[t.breakpoints.down("md")]:{display:"none"}})),u=styled(i)({position:"sticky",top:"calc(var(--sticky-header-height, 64px))",height:"calc(100vh - var(--sticky-header-height, 64px))"}),k=styled(i)(({theme:t})=>({flex:1,width:"100%",maxWidth:"100%",[t.breakpoints.up("md")]:{"&.with-left-box":{maxWidth:"calc(100% - 300px)"}}})),y=styled(i)(({theme:t})=>({position:"sticky",top:"var(--sticky-header-height, 64px)",flexDirection:"row",alignItems:"center",backgroundColor:t.palette.background.paper,zIndex:
|
|
19
|
+
var S=styled(i)(({theme:t})=>({backgroundColor:t.palette.background.paper,maxWidth:300,flex:1,borderRight:`1px solid ${t.palette.divider}`,[t.breakpoints.down("md")]:{display:"none"}})),u=styled(i)({position:"sticky",top:"calc(var(--sticky-header-height, 64px))",height:"calc(100vh - var(--sticky-header-height, 64px))"}),k=styled(i)(({theme:t})=>({flex:1,width:"100%",maxWidth:"100%",[t.breakpoints.up("md")]:{"&.with-left-box":{maxWidth:"calc(100% - 300px)"}}})),y=styled(i)(({theme:t})=>({position:"sticky",top:"var(--sticky-header-height, 64px)",flexDirection:"row",alignItems:"center",backgroundColor:t.palette.background.paper,zIndex:O.appBar,width:"100%",padding:"12px 24px",height:64,gap:12,[t.breakpoints.down("md")]:{padding:"14px 16px",gap:6},borderBottom:`1px solid ${t.palette.divider}`})),C=styled(P)(({theme:t})=>({height:50,background:"none",fontSize:13,fontWeight:400,justifyContent:"flex-start",padding:"12px 8px",color:t.palette.text.secondary,borderBottom:`1px dashed ${t.palette.divider}`,borderRadius:0,gap:4,"&:hover":{backgroundColor:"transparent"},"& .required":{color:t.palette.error.main}})),p=styled(i)(({theme:t})=>({flex:1,flexDirection:"row",alignItems:"center",gap:24,"&.header-left-content":{justifyContent:"flex-start",marginLeft:12},[t.breakpoints.down("md")]:{gap:8,flex:"initial","& button, & a":{display:"flex",textIndent:"-9999em",fontSize:0,minWidth:36,maxWidth:36,height:36,width:36,overflow:"hidden","& .MuiButton-icon":{margin:"auto"}},"&.header-left-content":{justifyContent:"flex-end",marginLeft:"auto",marginRight:-6,"& label":{marginRight:0},"& .MuiTypography-root":{display:"none"}}}})),v=styled(i)(({theme:t})=>({flex:1,width:"100%",padding:24,gap:24,alignItems:"center",overflow:"hidden",[t.breakpoints.down("md")]:{padding:"24px 16px"}})),w=styled(i)(({theme:t})=>({alignItems:"start",width:"100%",maxWidth:900,[t.breakpoints.down("md")]:{maxWidth:"100%"}})),T=styled(a)(({theme:t})=>({width:"100%",borderRadius:12,gap:12,[t.breakpoints.down("md")]:{padding:"24px 16px"}})),W=styled(d)(({theme:t})=>({color:t.vars.palette.text.primary,fontSize:18,fontWeight:900})),I=styled(d)(({theme:t})=>({color:t.vars.palette.text.secondary,fontSize:14,fontWeight:400,paddingBottom:24}));var D=({title:t,subtitle:l,children:B,sections:c,headerLeftContent:R,headerRightContent:z,showLeftContent:m=!0,onClickBack:H})=>(a$1(!0),jsxs(i,{direction:"row",flex:1,children:[m&&jsx(S,{id:"frame-skeleton-left-box",children:jsx(u,{children:jsx(a$2,{fillContent:!0,sx:{p:3},children:jsxs(i,{gap:1.5,children:[jsx(d,{variant:"overline",color:"text.disabled",fontWeight:700,pl:1,children:"ACESSO R\xC1PIDO"}),jsx(i,{children:c.map(o=>jsxs(C,{onClick:()=>{o.ref.current&&o.ref.current.scrollIntoView({block:"center",behavior:"smooth"});},children:[o.title,o.isRequired&&jsx("span",{className:"required",children:"*"})]},o.title))})]})})})}),jsxs(k,{className:m?"with-left-box":"",children:[jsxs(y,{children:[jsx(j,{color:"inherit",onClick:()=>H(),"data-testid":"backToPreviousPage","aria-label":"Voltar",children:jsx(a$3,{icon:"CHEVRON_LEFT"})}),jsxs(i,{overflow:"hidden",children:[jsx(d,{variant:"subtitle1",noWrap:!0,component:"div",children:t}),l&&jsx(d,{variant:"caption",color:"text.secondary",noWrap:!0,component:"div",children:l})]}),jsx(p,{className:"header-left-content",children:R}),jsx(p,{justifyContent:"flex-end",color:"text.secondary",children:z})]}),jsxs(v,{children:[B,c.map((o,L)=>{let s=o.id||`section-${L}`;return jsxs(w,{id:s,children:[o.title&&jsx(W,{ref:o.ref,children:o.title}),o.subTitle&&jsx(I,{children:o.subTitle}),jsx(T,{children:o.child})]},o.title||s)})]})]})]})),X=D;
|
|
20
20
|
|
|
21
21
|
export { X as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { P as PanelProps } from '../../props-a62a2c29.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '@mui/material/Stack';
|
|
5
|
+
|
|
6
|
+
declare const Panel: ({ children, ...other }: PanelProps) => react_jsx_runtime.JSX.Element;
|
|
7
|
+
|
|
8
|
+
export { Panel as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as default } from '../../chunk-NPXVOPB2.js';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { d } from '../../chunk-WUQSPJPN.js';
|
|
2
2
|
import { a as a$3 } from '../../chunk-SKVPLI5W.js';
|
|
3
|
-
import { a as a$2 } from '../../chunk-
|
|
3
|
+
import { a as a$2 } from '../../chunk-NPXVOPB2.js';
|
|
4
4
|
import { a } from '../../chunk-X2EIL7EB.js';
|
|
5
5
|
import { a as a$4 } from '../../chunk-P26W2RT7.js';
|
|
6
6
|
import '../../chunk-QGFD5EQE.js';
|
|
7
7
|
import { a as a$1 } from '../../chunk-ORYAES3Q.js';
|
|
8
8
|
import '../../chunk-V2UHZWRE.js';
|
|
9
9
|
import E from '@mui/material/Button';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
10
|
+
import W from '@mui/material/FormControlLabel';
|
|
11
|
+
import w from '@mui/material/IconButton';
|
|
12
|
+
import M from '@mui/material/Link';
|
|
13
13
|
import l from '@mui/material/Stack';
|
|
14
|
-
import
|
|
14
|
+
import z from '@mui/material/Switch';
|
|
15
15
|
import m from '@mui/material/Typography';
|
|
16
16
|
import { styled } from '@mui/material/styles';
|
|
17
17
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
|
-
var u=styled(l)(({theme:t})=>({flexDirection:"row",padding:12,backgroundColor:t.palette.grey[100],borderTopLeftRadius:"8px",borderTopRightRadius:"8px",borderBottom:`1px solid ${t.palette.grey[300]}`,button:{marginLeft:"auto"}})),h=styled(m)(({theme:t})=>({color:t.palette.grey[500],textTransform:"uppercase",fontSize:12,span:{color:t.palette.text.primary,fontWeight:700}})),b=styled(l)({padding:12}),x=styled(l)({padding:12,alignItems:"center",textAlign:"center"}),C=styled(l)(({theme:t})=>({flexDirection:"row",alignItems:"center",gap:8,fontSize:t.typography.body2.fontSize,color:t.palette.grey[500],padding:"8px 0"})),k=styled(a)(()=>({"& .MuiPopover-paper":{width:"144px",padding:"16px"},"& button":{justifyContent:"flex-start"}}));var
|
|
19
|
+
var u=styled(l)(({theme:t})=>({flexDirection:"row",padding:12,backgroundColor:t.palette.grey[100],borderTopLeftRadius:"8px",borderTopRightRadius:"8px",borderBottom:`1px solid ${t.palette.grey[300]}`,button:{marginLeft:"auto"}})),h=styled(m)(({theme:t})=>({color:t.palette.grey[500],textTransform:"uppercase",fontSize:12,span:{color:t.palette.text.primary,fontWeight:700}})),b=styled(l)({padding:12}),x=styled(l)({padding:12,alignItems:"center",textAlign:"center"}),C=styled(l)(({theme:t})=>({flexDirection:"row",alignItems:"center",gap:8,fontSize:t.typography.body2.fontSize,color:t.palette.grey[500],padding:"8px 0"})),k=styled(a)(()=>({"& .MuiPopover-paper":{width:"144px",padding:"16px"},"& button":{justifyContent:"flex-start"}}));var B=({onCreate:t,data:r,name:v,onChangeActive:s,onDelete:I,onEdit:L})=>{let{active:i=!1}=r||{},p=a$1(),P=()=>{L(),p.onClose();},S=()=>{I(),p.onClose();};return jsxs(a$2,{padding:0,gap:0,sx:{opacity:r&&!i?.55:1},children:[jsxs(u,{children:[jsxs(l,{direction:"row",alignItems:"center",gap:2,children:[jsxs(h,{children:["EVENTO: ",jsx("span",{children:v||"NOME DO EVENTO"})]}),s&&r&&jsx(W,{control:jsx(z,{checked:i,onChange:(D,N)=>s(N),size:"small"}),label:jsx(a$3,{color:i?"success":"error",children:i?"Ativo":"Inativo"})})]}),r&&jsxs(Fragment,{children:[jsx(w,{onClick:p.onOpen,children:jsx(a$4,{icon:"MORE_OPTIONS_VERTICAL",color:"primary.grey",width:24})}),jsx(k,{open:p.open,onClose:p.onClose,children:jsxs(l,{gap:1,children:[jsx(E,{variant:"text",size:"small",fullWidth:!0,color:"inherit",startIcon:jsx(a$4,{icon:"PENCIL_EDIT",color:"grey"}),onClick:P,children:jsx(m,{variant:"body2",children:"Editar"})}),jsx(E,{variant:"text",size:"small",fullWidth:!0,color:"inherit",onClick:S,startIcon:jsx(a$4,{icon:"DELETE_MARK_BUTTON_02",color:"grey"}),children:jsx(m,{variant:"body2",children:"Limpar"})})]})})]})]}),jsx(b,{children:r?jsxs(C,{children:[jsx(a$3,{color:d[r.method],children:r.method}),r.url]}):jsxs(x,{children:[jsx(m,{variant:"caption",color:"text.disabled",children:"Ainda n\xE3o h\xE1 webhook vinculado."}),jsx(M,{component:"button",fontSize:12,underline:"always",onClick:t,type:"button",children:"Clique aqui para adicionar"})]})})]})},ro=B;
|
|
20
20
|
|
|
21
21
|
export { ro as default };
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { a } from '../../chunk-NPXVOPB2.js';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
var n=e=>(process.env.NODE_ENV==="development"&&console.warn("\u26A0\uFE0F DEPRECATED: WhiteBox est\xE1 obsoleto. Use Panel do @zydon/common em seu lugar."),jsx(a,{...e})),s=n;
|
|
5
|
+
|
|
6
|
+
export { s as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as a$2 } from '../../../chunk-NV2X5CYP.js';
|
|
2
1
|
import { a as a$1 } from '../../../chunk-TF3JCVT7.js';
|
|
2
|
+
import { a as a$2 } from '../../../chunk-NV2X5CYP.js';
|
|
3
3
|
import { a as a$3 } from '../../../chunk-EHLA5PK2.js';
|
|
4
4
|
import '../../../chunk-2QUYG4AQ.js';
|
|
5
5
|
import '../../../chunk-ODJ3QETP.js';
|
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-1d50facd.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-1d50facd.js';
|
|
3
3
|
export { S as SettingsContextValue, _ as SettingsProvider, T as ThemeProviderProps, u as useSettingsContext } from './settings-provider-570069f1.js';
|
|
4
4
|
export { default as ThemeProvider } from './theme/theme-provider.js';
|
|
5
5
|
import { S as SettingsState } from './settings-5a31f5b8.js';
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { b as ThemeProvider, a as createTheme } from './chunk-
|
|
1
|
+
export { b as ThemeProvider, a as createTheme } from './chunk-MBU4AOTJ.js';
|
|
2
2
|
import './chunk-SO64ZYQB.js';
|
|
3
|
+
export { b as defaultFont, c as primaryFont, d as secondaryFont, a as shadows, e as typography } from './chunk-WZDEMKEC.js';
|
|
3
4
|
import './chunk-LLSJ5WJ4.js';
|
|
4
5
|
import './chunk-CFVUZ4S5.js';
|
|
6
|
+
export { l as action, k as background, m as basePalette, p as colorSchemes, i as common, a as components, q as createShadowColor, r as customShadows, o as darkPalette, h as error, b as grey, e as info, n as lightPalette, c as primary, d as secondary, f as success, j as text, g as warning } from './chunk-5LYNZ2ZZ.js';
|
|
5
7
|
import './chunk-GUFT6XPG.js';
|
|
6
8
|
export { c as SettingsProvider, b as useSettingsContext } from './chunk-D6MGCVOI.js';
|
|
7
|
-
export { b as defaultFont, c as primaryFont, d as secondaryFont, a as shadows, e as typography } from './chunk-WZDEMKEC.js';
|
|
8
|
-
export { l as action, k as background, m as basePalette, p as colorSchemes, i as common, a as components, q as createShadowColor, r as customShadows, o as darkPalette, h as error, b as grey, e as info, n as lightPalette, c as primary, d as secondary, f as success, j as text, g as warning } from './chunk-5LYNZ2ZZ.js';
|
|
9
9
|
export { p as bgBlur, o as bgGradient, n as borderGradient, i as createPaletteChannel, g as hexToRgbChannel, h as hexToRgbaChannel, k as hideScrollX, l as hideScrollY, q as maxLine, b as mediaQueries, s as menuItem, r as paper, e as pxToRem, d as remToPx, f as responsiveFontSizes, c as setFont, a as stylesMode, m as textGradient, j as varAlpha } from './chunk-V2UHZWRE.js';
|
|
10
10
|
import './chunk-QQDMA4TE.js';
|
|
11
11
|
import './chunk-Z2TDWMRU.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-1d50facd.js';
|
|
2
2
|
import '@mui/lab/TimelineConnector';
|
|
3
3
|
import '@mui/system';
|
|
4
4
|
import '@mui/lab/TimelineDot';
|
|
@@ -193,7 +193,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
193
193
|
flexShrink?: readonly ((string & {}) | csstype.Globals)[] | csstype.Property.FlexShrink | readonly NonNullable<csstype.Property.FlexShrink | undefined>[] | undefined;
|
|
194
194
|
flexWrap?: csstype.Property.FlexWrap | readonly NonNullable<csstype.Property.FlexWrap | undefined>[] | readonly csstype.Property.FlexWrap[] | undefined;
|
|
195
195
|
float?: csstype.Property.Float | readonly NonNullable<csstype.Property.Float | undefined>[] | readonly csstype.Property.Float[] | undefined;
|
|
196
|
-
fontFamily?: csstype.Property.FontFamily | readonly
|
|
196
|
+
fontFamily?: readonly string[] | csstype.Property.FontFamily | readonly csstype.Property.FontFamily[] | undefined;
|
|
197
197
|
fontFeatureSettings?: readonly string[] | csstype.Property.FontFeatureSettings | readonly csstype.Property.FontFeatureSettings[] | undefined;
|
|
198
198
|
fontKerning?: csstype.Property.FontKerning | readonly NonNullable<csstype.Property.FontKerning | undefined>[] | readonly csstype.Property.FontKerning[] | undefined;
|
|
199
199
|
fontLanguageOverride?: readonly string[] | csstype.Property.FontLanguageOverride | readonly csstype.Property.FontLanguageOverride[] | undefined;
|
|
@@ -218,7 +218,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
218
218
|
fontVariantNumeric?: readonly string[] | csstype.Property.FontVariantNumeric | readonly csstype.Property.FontVariantNumeric[] | undefined;
|
|
219
219
|
fontVariantPosition?: csstype.Property.FontVariantPosition | readonly NonNullable<csstype.Property.FontVariantPosition | undefined>[] | readonly csstype.Property.FontVariantPosition[] | undefined;
|
|
220
220
|
fontVariationSettings?: readonly string[] | csstype.Property.FontVariationSettings | readonly csstype.Property.FontVariationSettings[] | undefined;
|
|
221
|
-
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
221
|
+
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ("bold" | (string & {}) | csstype.Globals | "normal" | "bolder" | "lighter")[] | undefined;
|
|
222
222
|
forcedColorAdjust?: csstype.Property.ForcedColorAdjust | readonly NonNullable<csstype.Property.ForcedColorAdjust | undefined>[] | readonly csstype.Property.ForcedColorAdjust[] | undefined;
|
|
223
223
|
gridAutoColumns?: readonly (string | (string & {}))[] | csstype.Property.GridAutoColumns<string | number> | readonly NonNullable<csstype.Property.GridAutoColumns<string | number> | undefined>[] | undefined;
|
|
224
224
|
gridAutoFlow?: readonly string[] | csstype.Property.GridAutoFlow | readonly csstype.Property.GridAutoFlow[] | undefined;
|
|
@@ -443,9 +443,9 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
443
443
|
wordWrap?: csstype.Property.WordWrap | readonly NonNullable<csstype.Property.WordWrap | undefined>[] | readonly csstype.Property.WordWrap[] | undefined;
|
|
444
444
|
writingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
445
445
|
zIndex?: readonly ((string & {}) | csstype.Globals | "auto")[] | csstype.Property.ZIndex | readonly NonNullable<csstype.Property.ZIndex | undefined>[] | undefined;
|
|
446
|
-
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal"
|
|
446
|
+
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ("reset" | (string & {}) | csstype.Globals | "normal")[] | undefined;
|
|
447
447
|
all?: csstype.Globals | readonly NonNullable<csstype.Globals | undefined>[] | readonly csstype.Globals[] | undefined;
|
|
448
|
-
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
448
|
+
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
449
449
|
animationRange?: readonly (string | (string & {}))[] | csstype.Property.AnimationRange<string | number> | readonly NonNullable<csstype.Property.AnimationRange<string | number> | undefined>[] | undefined;
|
|
450
450
|
background?: readonly (string | (string & {}))[] | csstype.Property.Background<string | number> | readonly NonNullable<csstype.Property.Background<string | number> | undefined>[] | undefined;
|
|
451
451
|
border?: readonly (string | (string & {}))[] | csstype.Property.Border<string | number> | readonly NonNullable<csstype.Property.Border<string | number> | undefined>[] | undefined;
|
|
@@ -454,7 +454,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
454
454
|
borderBlockStart?: readonly (string | (string & {}))[] | csstype.Property.BorderBlockStart<string | number> | readonly NonNullable<csstype.Property.BorderBlockStart<string | number> | undefined>[] | undefined;
|
|
455
455
|
borderBottom?: readonly (string | (string & {}))[] | csstype.Property.BorderBottom<string | number> | readonly NonNullable<csstype.Property.BorderBottom<string | number> | undefined>[] | undefined;
|
|
456
456
|
borderColor?: readonly string[] | csstype.Property.BorderColor | readonly csstype.Property.BorderColor[] | undefined;
|
|
457
|
-
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
457
|
+
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
458
458
|
borderInline?: readonly (string | (string & {}))[] | csstype.Property.BorderInline<string | number> | readonly NonNullable<csstype.Property.BorderInline<string | number> | undefined>[] | undefined;
|
|
459
459
|
borderInlineEnd?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineEnd<string | number> | readonly NonNullable<csstype.Property.BorderInlineEnd<string | number> | undefined>[] | undefined;
|
|
460
460
|
borderInlineStart?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineStart<string | number> | readonly NonNullable<csstype.Property.BorderInlineStart<string | number> | undefined>[] | undefined;
|
|
@@ -486,7 +486,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
486
486
|
marginBlock?: readonly (string | (string & {}))[] | csstype.Property.MarginBlock<string | number> | readonly NonNullable<csstype.Property.MarginBlock<string | number> | undefined>[] | undefined;
|
|
487
487
|
marginInline?: readonly (string | (string & {}))[] | csstype.Property.MarginInline<string | number> | readonly NonNullable<csstype.Property.MarginInline<string | number> | undefined>[] | undefined;
|
|
488
488
|
mask?: readonly (string | (string & {}))[] | csstype.Property.Mask<string | number> | readonly NonNullable<csstype.Property.Mask<string | number> | undefined>[] | undefined;
|
|
489
|
-
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
489
|
+
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
490
490
|
motion?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
491
491
|
offset?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
492
492
|
outline?: readonly (string | (string & {}))[] | csstype.Property.Outline<string | number> | readonly NonNullable<csstype.Property.Outline<string | number> | undefined>[] | undefined;
|
|
@@ -729,8 +729,8 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
729
729
|
WebkitUserModify?: csstype.Property.WebkitUserModify | readonly NonNullable<csstype.Property.WebkitUserModify | undefined>[] | readonly csstype.Property.WebkitUserModify[] | undefined;
|
|
730
730
|
WebkitUserSelect?: csstype.Property.UserSelect | readonly NonNullable<csstype.Property.UserSelect | undefined>[] | readonly csstype.Property.UserSelect[] | undefined;
|
|
731
731
|
WebkitWritingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
732
|
-
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
733
|
-
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
732
|
+
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
733
|
+
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
734
734
|
MozColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
735
735
|
MozColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
736
736
|
MozOutlineRadius?: readonly (string | (string & {}))[] | csstype.Property.MozOutlineRadius<string | number> | readonly NonNullable<csstype.Property.MozOutlineRadius<string | number> | undefined>[] | undefined;
|
|
@@ -741,16 +741,16 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
741
741
|
msScrollSnapX?: readonly string[] | csstype.Property.MsScrollSnapX | readonly csstype.Property.MsScrollSnapX[] | undefined;
|
|
742
742
|
msScrollSnapY?: readonly string[] | csstype.Property.MsScrollSnapY | readonly csstype.Property.MsScrollSnapY[] | undefined;
|
|
743
743
|
msTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
744
|
-
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
744
|
+
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
745
745
|
WebkitBorderBefore?: readonly (string | (string & {}))[] | csstype.Property.WebkitBorderBefore<string | number> | readonly NonNullable<csstype.Property.WebkitBorderBefore<string | number> | undefined>[] | undefined;
|
|
746
|
-
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
746
|
+
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
747
747
|
WebkitBorderRadius?: readonly (string | (string & {}))[] | csstype.Property.BorderRadius<string | number> | readonly NonNullable<csstype.Property.BorderRadius<string | number> | undefined>[] | undefined;
|
|
748
748
|
WebkitColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
749
749
|
WebkitColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
750
750
|
WebkitFlex?: readonly (string | (string & {}))[] | csstype.Property.Flex<string | number> | readonly NonNullable<csstype.Property.Flex<string | number> | undefined>[] | undefined;
|
|
751
751
|
WebkitFlexFlow?: readonly string[] | csstype.Property.FlexFlow | readonly csstype.Property.FlexFlow[] | undefined;
|
|
752
752
|
WebkitMask?: readonly (string | (string & {}))[] | csstype.Property.WebkitMask<string | number> | readonly NonNullable<csstype.Property.WebkitMask<string | number> | undefined>[] | undefined;
|
|
753
|
-
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
753
|
+
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
754
754
|
WebkitTextEmphasis?: readonly string[] | csstype.Property.TextEmphasis | readonly csstype.Property.TextEmphasis[] | undefined;
|
|
755
755
|
WebkitTextStroke?: readonly (string | (string & {}))[] | csstype.Property.WebkitTextStroke<string | number> | readonly NonNullable<csstype.Property.WebkitTextStroke<string | number> | undefined>[] | undefined;
|
|
756
756
|
WebkitTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
@@ -831,7 +831,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
831
831
|
MozTransitionTimingFunction?: readonly string[] | csstype.Property.TransitionTimingFunction | readonly csstype.Property.TransitionTimingFunction[] | undefined;
|
|
832
832
|
MozUserInput?: csstype.Property.MozUserInput | readonly NonNullable<csstype.Property.MozUserInput | undefined>[] | readonly csstype.Property.MozUserInput[] | undefined;
|
|
833
833
|
msImeMode?: csstype.Property.ImeMode | readonly NonNullable<csstype.Property.ImeMode | undefined>[] | readonly csstype.Property.ImeMode[] | undefined;
|
|
834
|
-
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
834
|
+
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
835
835
|
OAnimationDelay?: readonly string[] | csstype.Property.AnimationDelay<string & {}> | readonly csstype.Property.AnimationDelay<string & {}>[] | undefined;
|
|
836
836
|
OAnimationDirection?: readonly string[] | csstype.Property.AnimationDirection | readonly csstype.Property.AnimationDirection[] | undefined;
|
|
837
837
|
OAnimationDuration?: readonly string[] | csstype.Property.AnimationDuration<string & {}> | readonly csstype.Property.AnimationDuration<string & {}>[] | undefined;
|
|
@@ -841,7 +841,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
841
841
|
OAnimationPlayState?: readonly string[] | csstype.Property.AnimationPlayState | readonly csstype.Property.AnimationPlayState[] | undefined;
|
|
842
842
|
OAnimationTimingFunction?: readonly string[] | csstype.Property.AnimationTimingFunction | readonly csstype.Property.AnimationTimingFunction[] | undefined;
|
|
843
843
|
OBackgroundSize?: readonly (string | (string & {}))[] | csstype.Property.BackgroundSize<string | number> | readonly NonNullable<csstype.Property.BackgroundSize<string | number> | undefined>[] | undefined;
|
|
844
|
-
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
844
|
+
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
845
845
|
OObjectFit?: csstype.Property.ObjectFit | readonly NonNullable<csstype.Property.ObjectFit | undefined>[] | readonly csstype.Property.ObjectFit[] | undefined;
|
|
846
846
|
OObjectPosition?: readonly (string | (string & {}))[] | csstype.Property.ObjectPosition<string | number> | readonly NonNullable<csstype.Property.ObjectPosition<string | number> | undefined>[] | undefined;
|
|
847
847
|
OTabSize?: readonly (string | (string & {}))[] | csstype.Property.TabSize<string | number> | readonly NonNullable<csstype.Property.TabSize<string | number> | undefined>[] | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { b as default } from '../chunk-
|
|
1
|
+
export { b as default } from '../chunk-MBU4AOTJ.js';
|
|
2
2
|
import '../chunk-SO64ZYQB.js';
|
|
3
|
+
import '../chunk-WZDEMKEC.js';
|
|
3
4
|
import '../chunk-LLSJ5WJ4.js';
|
|
4
5
|
import '../chunk-CFVUZ4S5.js';
|
|
6
|
+
import '../chunk-5LYNZ2ZZ.js';
|
|
5
7
|
import '../chunk-GUFT6XPG.js';
|
|
6
8
|
export { b as useSettingsContext } from '../chunk-D6MGCVOI.js';
|
|
7
|
-
import '../chunk-WZDEMKEC.js';
|
|
8
|
-
import '../chunk-5LYNZ2ZZ.js';
|
|
9
9
|
import '../chunk-V2UHZWRE.js';
|
|
10
10
|
import '../chunk-QQDMA4TE.js';
|
|
11
11
|
import '../chunk-Z2TDWMRU.js';
|
package/package.json
CHANGED
package/dist/chunk-4QRHLV4A.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import t from '@mui/material/Stack';
|
|
2
|
-
import { styled } from '@mui/material/styles';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
var r=styled(t)(({theme:o})=>({backgroundColor:o.palette.background.paper,borderRadius:12,...o.palette.mode==="dark"?{border:"1px solid transparent"}:{border:`1px solid ${o.palette.divider}`}}));var d=({children:o,...p})=>jsx(r,{borderRadius:1,gap:3,padding:3,...p,children:o}),e=d;var n=o=>(process.env.NODE_ENV==="development"&&console.warn("\u26A0\uFE0F DEPRECATED: WhiteBox est\xE1 obsoleto. Use Panel do @zydon/common em seu lugar."),jsx(e,{...o})),u=n;
|
|
6
|
-
|
|
7
|
-
export { u as a };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a } from './chunk-SO64ZYQB.js';
|
|
2
|
+
import { a as a$1, e } from './chunk-WZDEMKEC.js';
|
|
2
3
|
import { a as a$3, b as b$1 } from './chunk-LLSJ5WJ4.js';
|
|
4
|
+
import { p, r, a as a$2 } from './chunk-5LYNZ2ZZ.js';
|
|
3
5
|
import { a as a$4 } from './chunk-GUFT6XPG.js';
|
|
4
6
|
import { c as c$2, b as b$2 } from './chunk-D6MGCVOI.js';
|
|
5
|
-
import { a as a$1, e } from './chunk-WZDEMKEC.js';
|
|
6
|
-
import { p, r, a as a$2 } from './chunk-5LYNZ2ZZ.js';
|
|
7
7
|
import { c as c$1 } from './chunk-V2UHZWRE.js';
|
|
8
8
|
import { useMemo } from 'react';
|
|
9
9
|
import V from '@mui/material/CssBaseline';
|
|
@@ -286,10 +286,13 @@ 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
|
-
|
|
289
|
+
cssVarPrefix: string;
|
|
290
|
+
zIndex: _mui_material.ZIndex;
|
|
291
|
+
direction: _mui_system.Direction;
|
|
292
|
+
opacity: _mui_material.Opacity;
|
|
293
|
+
typography: _mui_material.TypographyVariants;
|
|
290
294
|
palette: _mui_material.Palette;
|
|
291
295
|
colorSchemes: Record<_mui_material.SupportedColorScheme, _mui_material.ColorSystem>;
|
|
292
|
-
cssVarPrefix: string;
|
|
293
296
|
vars: _mui_material.ThemeVars;
|
|
294
297
|
getCssVar: (field: _mui_material.ThemeCssVar, ...vars: _mui_material.ThemeCssVar[]) => string;
|
|
295
298
|
getColorSchemeSelector: (colorScheme: _mui_material.SupportedColorScheme) => string;
|
|
@@ -300,16 +303,13 @@ declare const components: {
|
|
|
300
303
|
spacing: _mui_system.Spacing;
|
|
301
304
|
breakpoints: _mui_system.Breakpoints;
|
|
302
305
|
shape: _mui_system.Shape;
|
|
303
|
-
|
|
306
|
+
transitions: _mui_material.Transitions;
|
|
304
307
|
shadows: _mui_material.Shadows;
|
|
305
308
|
mixins: _mui_material.Mixins;
|
|
306
|
-
zIndex: _mui_material.ZIndex;
|
|
307
|
-
direction: _mui_system.Direction;
|
|
308
309
|
shouldSkipGeneratingVar: (keys: string[], value: string | number) => boolean;
|
|
309
310
|
unstable_sxConfig: _mui_system.SxConfig;
|
|
310
311
|
unstable_sx: (props: _mui_system.SxProps<_mui_material.Theme>) => _mui_styled_engine.CSSObject;
|
|
311
312
|
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,10 +326,13 @@ 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
|
-
|
|
329
|
+
cssVarPrefix: string;
|
|
330
|
+
zIndex: _mui_material.ZIndex;
|
|
331
|
+
direction: _mui_system.Direction;
|
|
332
|
+
opacity: _mui_material.Opacity;
|
|
333
|
+
typography: _mui_material.TypographyVariants;
|
|
330
334
|
palette: _mui_material.Palette;
|
|
331
335
|
colorSchemes: Record<_mui_material.SupportedColorScheme, _mui_material.ColorSystem>;
|
|
332
|
-
cssVarPrefix: string;
|
|
333
336
|
vars: _mui_material.ThemeVars;
|
|
334
337
|
getCssVar: (field: _mui_material.ThemeCssVar, ...vars: _mui_material.ThemeCssVar[]) => string;
|
|
335
338
|
getColorSchemeSelector: (colorScheme: _mui_material.SupportedColorScheme) => string;
|
|
@@ -340,16 +343,13 @@ declare const components: {
|
|
|
340
343
|
spacing: _mui_system.Spacing;
|
|
341
344
|
breakpoints: _mui_system.Breakpoints;
|
|
342
345
|
shape: _mui_system.Shape;
|
|
343
|
-
|
|
346
|
+
transitions: _mui_material.Transitions;
|
|
344
347
|
shadows: _mui_material.Shadows;
|
|
345
348
|
mixins: _mui_material.Mixins;
|
|
346
|
-
zIndex: _mui_material.ZIndex;
|
|
347
|
-
direction: _mui_system.Direction;
|
|
348
349
|
shouldSkipGeneratingVar: (keys: string[], value: string | number) => boolean;
|
|
349
350
|
unstable_sxConfig: _mui_system.SxConfig;
|
|
350
351
|
unstable_sx: (props: _mui_system.SxProps<_mui_material.Theme>) => _mui_styled_engine.CSSObject;
|
|
351
352
|
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;
|