@zydon/common 2.4.67 → 2.4.69
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-26GV7WKC.js +8 -0
- package/dist/{chunk-3IGXAQXD.js → chunk-BGF56Q5B.js} +1 -1
- package/dist/components/DataView/index.js +1 -1
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/FrameSkeleton/index.js +2 -2
- package/dist/components/Scrollbar/index.js +1 -1
- package/dist/components/SelectableCards/index.js +2 -2
- package/dist/components/SwapList/index.js +1 -1
- package/dist/components/form/SelectableCards/index.js +2 -2
- package/dist/layouts/Admin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-E5MGOPPQ.js +0 -8
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { forwardRef } from 'react';
|
|
2
|
+
import s from '@mui/material/Box';
|
|
3
|
+
import c from 'simplebar-react';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
|
+
|
|
6
|
+
var o={root:"mnl__scrollbar__root"};var e=forwardRef(({slotProps:r,children:l,fillContent:a,naturalScroll:f,sx:t,...p},n)=>jsx(s,{component:c,scrollableNodeProps:{ref:n},clickOnTrack:!1,className:o.root,sx:{minWidth:0,minHeight:0,flexGrow:1,display:"flex",flexDirection:"column","& .simplebar-wrapper":r?.wrapper,"& .simplebar-content-wrapper":r?.contentWrapper,"& .simplebar-content-wrapper:focus, & .simplebar-content-wrapper:focus-visible":{outline:"none !important",boxShadow:"none !important"},"& .simplebar-content":{...a&&{minHeight:1,display:"flex",flex:"1 1 auto",flexDirection:"column"},...r?.content},...t},tabIndex:-1,...p,children:l}));e.displayName="Scrollbar";var u=e;
|
|
7
|
+
|
|
8
|
+
export { u as a };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as a$4 } from './chunk-4ZBE3RNR.js';
|
|
2
2
|
import { a as a$1 } from './chunk-MPKHVDQH.js';
|
|
3
3
|
import { a as a$3 } from './chunk-TWGGHTU5.js';
|
|
4
|
-
import { a as a$2 } from './chunk-
|
|
4
|
+
import { a as a$2 } from './chunk-26GV7WKC.js';
|
|
5
5
|
import { a as a$5 } from './chunk-YQ6K2DEP.js';
|
|
6
6
|
import { useState } from 'react';
|
|
7
7
|
import L from '@mui/material/Button';
|
|
@@ -8,7 +8,7 @@ import { a as a$6 } from '../../chunk-FK7DDO5L.js';
|
|
|
8
8
|
import '../../chunk-PUR4ARBY.js';
|
|
9
9
|
import '../../chunk-U26IUEAG.js';
|
|
10
10
|
import '../../chunk-D27ND54J.js';
|
|
11
|
-
import { a as a$7 } from '../../chunk-
|
|
11
|
+
import { a as a$7 } from '../../chunk-26GV7WKC.js';
|
|
12
12
|
import { a as a$1 } from '../../chunk-YQ6K2DEP.js';
|
|
13
13
|
import '../../chunk-CHLVIVDD.js';
|
|
14
14
|
import { a as a$2 } from '../../chunk-ORYAES3Q.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as a$2 } from '../../chunk-AV36ZLPF.js';
|
|
2
2
|
import { a } from '../../chunk-CFD2VTQ3.js';
|
|
3
|
-
import { a as a$1 } from '../../chunk-
|
|
3
|
+
import { a as a$1 } from '../../chunk-26GV7WKC.js';
|
|
4
4
|
import { a as a$3 } from '../../chunk-YQ6K2DEP.js';
|
|
5
5
|
import '../../chunk-CHLVIVDD.js';
|
|
6
6
|
import r from '@mui/material/Stack';
|
|
@@ -9,6 +9,6 @@ import L from '@mui/material/Button';
|
|
|
9
9
|
import { styled, alpha } from '@mui/material/styles';
|
|
10
10
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
|
-
var g=styled(r)(({theme:t})=>({backgroundColor:"#fff",maxWidth:300,flex:1,borderRight:`1px solid ${t.palette.grey[200]}`,[t.breakpoints.down("md")]:{display:"none"}})),S=styled(r)({position:"sticky",top:"calc(var(--sticky-header-height, 64px))",height:"calc(100vh - var(--sticky-header-height, 64px))"}),b=styled(r)(({theme:t})=>({flex:1,width:"100%",[t.breakpoints.up("md")]:{maxWidth:"calc(100% - 300px)"}})),k=styled(r)(({theme:t})=>({position:"sticky",top:"var(--sticky-header-height, 64px)",flexDirection:"row",alignItems:"center",backgroundColor:"#fff",zIndex:999,width:"100%",padding:"12px 24px",height:64,gap:12,borderBottom:`1px solid ${t.palette.grey[200]}`,[t.breakpoints.down("md")]:{padding:"14px 16px",gap:6}})),y=styled(L)(({theme:t})=>({height:50,background:"none",fontSize:13,fontWeight:400,justifyContent:"flex-start",padding:"12px 8px",color:t.palette.text.secondary,borderBottom:`1px dashed ${alpha(t.palette.grey[500],.2)}`,borderRadius:0,gap:4,"&:hover":{backgroundColor:"transparent"},"& .required":{color:t.palette.error.main}})),p=styled(r)(({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":{textIndent:"-9999px",minWidth:36,maxWidth:36,height:36,width:36,"& .MuiButton-icon":{margin:"auto"}},"&.header-left-content":{justifyContent:"flex-end",marginLeft:"auto",marginRight:-6,"& label":{marginRight:0},"& .MuiTypography-root":{display:"none"}}}})),u=styled(r)(({theme:t})=>({flex:1,width:"100%",padding:24,gap:24,alignItems:"center",overflow:"hidden",[t.breakpoints.down("md")]:{padding:"24px 16px"}})),C=styled(r)(({theme:t})=>({alignItems:"start",width:"100%",maxWidth:700,[t.breakpoints.down("md")]:{maxWidth:"100%"}})),w=styled(a)(({theme:t})=>({width:"100%",borderRadius:12,gap:12,[t.breakpoints.down("md")]:{padding:"24px 16px"}})),
|
|
12
|
+
var g=styled(r)(({theme:t})=>({backgroundColor:"#fff",maxWidth:300,flex:1,borderRight:`1px solid ${t.palette.grey[200]}`,[t.breakpoints.down("md")]:{display:"none"}})),S=styled(r)({position:"sticky",top:"calc(var(--sticky-header-height, 64px))",height:"calc(100vh - var(--sticky-header-height, 64px))"}),b=styled(r)(({theme:t})=>({flex:1,width:"100%",[t.breakpoints.up("md")]:{maxWidth:"calc(100% - 300px)"}})),k=styled(r)(({theme:t})=>({position:"sticky",top:"var(--sticky-header-height, 64px)",flexDirection:"row",alignItems:"center",backgroundColor:"#fff",zIndex:999,width:"100%",padding:"12px 24px",height:64,gap:12,borderBottom:`1px solid ${t.palette.grey[200]}`,[t.breakpoints.down("md")]:{padding:"14px 16px",gap:6}})),y=styled(L)(({theme:t})=>({height:50,background:"none",fontSize:13,fontWeight:400,justifyContent:"flex-start",padding:"12px 8px",color:t.palette.text.secondary,borderBottom:`1px dashed ${alpha(t.palette.grey[500],.2)}`,borderRadius:0,gap:4,"&:hover":{backgroundColor:"transparent"},"& .required":{color:t.palette.error.main}})),p=styled(r)(({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":{textIndent:"-9999px",minWidth:36,maxWidth:36,height:36,width:36,"& .MuiButton-icon":{margin:"auto"}},"&.header-left-content":{justifyContent:"flex-end",marginLeft:"auto",marginRight:-6,"& label":{marginRight:0},"& .MuiTypography-root":{display:"none"}}}})),u=styled(r)(({theme:t})=>({flex:1,width:"100%",padding:24,gap:24,alignItems:"center",overflow:"hidden",[t.breakpoints.down("md")]:{padding:"24px 16px"}})),C=styled(r)(({theme:t})=>({alignItems:"start",width:"100%",maxWidth:700,[t.breakpoints.down("md")]:{maxWidth:"100%"}})),w=styled(a)(({theme:t})=>({width:"100%",borderRadius:12,gap:12,[t.breakpoints.down("md")]:{padding:"24px 16px"}})),v=styled(d)(({theme:t})=>({color:t.palette.grey[800],fontSize:18,fontWeight:700})),T=styled(d)(({theme:t})=>({color:t.palette.grey[500],fontSize:14,fontWeight:400,paddingBottom:24}));var P=({title:t,subtitle:l,sections:c,headerLeftContent:W,headerRightContent:B,onClickBack:I})=>jsxs(r,{direction:"row",flex:1,children:[jsx(g,{id:"frame-skeleton-left-box",children:jsx(S,{children:jsx(a$1,{fillContent:!0,sx:{p:3},children:jsxs(r,{gap:1.5,children:[jsx(d,{variant:"overline",color:"text.disabled",fontWeight:700,pl:1,children:"ACESSO R\xC1PIDO"}),jsx(r,{children:c.map(o=>jsxs(y,{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(b,{children:[jsxs(k,{children:[jsx(a$2,{color:"inherit",onClick:()=>I(),label:"Voltar","data-testid":"backToPreviousPage",children:jsx(a$3,{icon:"CHEVRON_LEFT"})}),jsxs(r,{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:W}),jsx(p,{justifyContent:"flex-end",color:"text.secondary",children:B})]}),jsx(u,{children:c.map((o,R)=>jsxs(C,{id:`section-${R}`,children:[jsx(v,{ref:o.ref,children:o.title}),jsx(T,{children:o.subTitle}),jsx(w,{children:o.child})]},o.title))})]})]}),_=P;
|
|
13
13
|
|
|
14
14
|
export { _ as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
1
|
+
export { a as default } from '../../chunk-26GV7WKC.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
1
|
+
export { a as default } from '../../chunk-BGF56Q5B.js';
|
|
2
2
|
import '../../chunk-4ZBE3RNR.js';
|
|
3
3
|
import '../../chunk-MPKHVDQH.js';
|
|
4
4
|
import '../../chunk-TWGGHTU5.js';
|
|
5
5
|
import '../../chunk-U26IUEAG.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-26GV7WKC.js';
|
|
7
7
|
import '../../chunk-YQ6K2DEP.js';
|
|
8
8
|
import '../../chunk-CHLVIVDD.js';
|
|
@@ -2,7 +2,7 @@ import { a as a$2 } from '../../chunk-4ZBE3RNR.js';
|
|
|
2
2
|
import { a } from '../../chunk-MPKHVDQH.js';
|
|
3
3
|
import { a as a$1 } from '../../chunk-TWGGHTU5.js';
|
|
4
4
|
import '../../chunk-U26IUEAG.js';
|
|
5
|
-
import { a as a$3 } from '../../chunk-
|
|
5
|
+
import { a as a$3 } from '../../chunk-26GV7WKC.js';
|
|
6
6
|
import { a as a$4 } from '../../chunk-YQ6K2DEP.js';
|
|
7
7
|
import '../../chunk-CHLVIVDD.js';
|
|
8
8
|
import { useState } from 'react';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a } from '../../../chunk-
|
|
1
|
+
import { a } from '../../../chunk-BGF56Q5B.js';
|
|
2
2
|
import '../../../chunk-4ZBE3RNR.js';
|
|
3
3
|
import '../../../chunk-MPKHVDQH.js';
|
|
4
4
|
import '../../../chunk-TWGGHTU5.js';
|
|
5
5
|
import '../../../chunk-U26IUEAG.js';
|
|
6
|
-
import '../../../chunk-
|
|
6
|
+
import '../../../chunk-26GV7WKC.js';
|
|
7
7
|
import '../../../chunk-YQ6K2DEP.js';
|
|
8
8
|
import '../../../chunk-CHLVIVDD.js';
|
|
9
9
|
import { useFormContext, Controller } from 'react-hook-form';
|
package/package.json
CHANGED
package/dist/chunk-E5MGOPPQ.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { forwardRef } from 'react';
|
|
2
|
-
import i from '@mui/material/Box';
|
|
3
|
-
import m from 'simplebar-react';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
var o={root:"mnl__scrollbar__root"};var e=forwardRef(({slotProps:r,children:l,fillContent:a,naturalScroll:f,sx:t,...p},s)=>jsx(i,{component:m,scrollableNodeProps:{ref:s},clickOnTrack:!1,className:o.root,sx:{minWidth:0,minHeight:0,flexGrow:1,display:"flex",flexDirection:"column","& .simplebar-wrapper":r?.wrapper,"& .simplebar-content-wrapper":r?.contentWrapper,"& .simplebar-content":{...a&&{minHeight:1,display:"flex",flex:"1 1 auto",flexDirection:"column"},...r?.content},...t},tabIndex:-1,...p,children:l}));e.displayName="Scrollbar";var C=e;
|
|
7
|
-
|
|
8
|
-
export { C as a };
|