@zydon/common 2.8.62 → 2.8.64
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-HVH6MGHX.js → chunk-2LLPCOAG.js} +2 -2
- package/dist/{chunk-YG74GZPD.js → chunk-3JZOHMCP.js} +2 -2
- package/dist/{chunk-M3IIWN6P.js → chunk-3XECTDUZ.js} +2 -2
- package/dist/{chunk-EFAF33PQ.js → chunk-3XLPNBQU.js} +2 -2
- package/dist/chunk-7QKCCB23.js +7 -0
- package/dist/chunk-7QKCCB23.js.map +1 -0
- package/dist/{chunk-V7EE5E2H.js → chunk-A2GUNNNS.js} +3 -3
- package/dist/chunk-DAFN2ILN.js +34 -0
- package/dist/chunk-DAFN2ILN.js.map +1 -0
- package/dist/{chunk-OFOIKKG2.js → chunk-F64NQ3BY.js} +2 -2
- package/dist/{chunk-PVI5BAUW.js → chunk-FZBK5B3G.js} +2 -2
- package/dist/{chunk-UOR22KQX.js → chunk-ITMUJKVT.js} +3 -3
- package/dist/{chunk-DRJ5UDF6.js → chunk-JRDGTK34.js} +2 -2
- package/dist/chunk-JT4DYZAT.js +27 -0
- package/dist/chunk-JT4DYZAT.js.map +1 -0
- package/dist/{chunk-NR6PQELF.js → chunk-KYN54T4U.js} +2 -2
- package/dist/chunk-O7B4K34H.js +14 -0
- package/dist/chunk-O7B4K34H.js.map +1 -0
- package/dist/{chunk-ESDQCHJR.js → chunk-PKEBJI2J.js} +2 -2
- package/dist/{chunk-EDO23OCC.js → chunk-TJAQH6MS.js} +2 -2
- package/dist/chunk-TJAQH6MS.js.map +1 -0
- package/dist/{chunk-CMNW65VY.js → chunk-WZFHXFZZ.js} +2 -2
- package/dist/{chunk-H3SS73NK.js → chunk-XCCDYZLG.js} +2 -2
- package/dist/{chunk-VURAUMLN.js → chunk-YAAMDKRR.js} +5 -5
- package/dist/chunk-YAAMDKRR.js.map +1 -0
- package/dist/{chunk-SKFBUMRN.js → chunk-YZIBDCPM.js} +3 -3
- package/dist/components/ActionButton/index.js +3 -3
- package/dist/components/Autocomplete/index.js +3 -3
- package/dist/components/AvatarButton/index.js +2 -2
- package/dist/components/BuilderLayout/index.js +4 -4
- package/dist/components/BuilderLayout/index.js.map +1 -1
- package/dist/components/BuilderSidebar/index.js +2 -2
- package/dist/components/BulkEditModal/index.js +4 -4
- package/dist/components/CardBrand/index.js +2 -2
- package/dist/components/Common/index.js +2 -2
- package/dist/components/CopyButton/index.js +4 -4
- package/dist/components/DataView/index.js +4 -4
- package/dist/components/DragButton/index.js +3 -3
- package/dist/components/Drawer/index.js +5 -5
- package/dist/components/Drawer/index.js.map +1 -1
- package/dist/components/DynamicDataView/index.js +6 -6
- package/dist/components/DynamicDataView/index.js.map +1 -1
- package/dist/components/EasyCropModal/index.js +4 -4
- package/dist/components/Error/index.js +2 -2
- package/dist/components/ExpandableGroup/index.js +2 -2
- package/dist/components/FileUpload/index.js +8 -8
- package/dist/components/FrameSkeleton/index.js +3 -3
- package/dist/components/FrameSkeleton/index.js.map +1 -1
- package/dist/components/HelpButton/index.js +3 -3
- package/dist/components/Icon/index.js +2 -2
- package/dist/components/IconButton/index.js +3 -3
- package/dist/components/ImageCropModal/index.js +3 -3
- package/dist/components/Incrementer/index.js +3 -3
- package/dist/components/InfoCircle/index.js +3 -3
- package/dist/components/ListBundles/index.js +3 -3
- package/dist/components/MenuItem/index.js +2 -2
- package/dist/components/Modal/index.js +3 -3
- package/dist/components/MoreMenu/index.js +2 -2
- package/dist/components/NotFound/index.js +2 -2
- package/dist/components/PasswordRules/index.js +2 -2
- package/dist/components/PopoverSelect/index.js +2 -2
- package/dist/components/SearchInput/index.js +3 -3
- package/dist/components/SelectList/index.js +5 -5
- package/dist/components/SelectableCards/index.js +4 -4
- package/dist/components/SeoPreview/index.js +2 -2
- package/dist/components/StateDisplay/index.js +3 -3
- package/dist/components/Steps/index.js +2 -2
- package/dist/components/StyledTab/index.js +2 -2
- package/dist/components/SwapList/index.js +3 -3
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/WebhookCard/index.js +6 -6
- package/dist/components/WebhookCard/index.js.map +1 -1
- package/dist/components/carousel/index.js +3 -3
- package/dist/components/form/Address/index.js +4 -4
- package/dist/components/form/Autocomplete/index.js +4 -4
- package/dist/components/form/FileUpload/index.js +8 -8
- package/dist/components/form/Incrementer/index.js +3 -3
- package/dist/components/form/Password/index.js +2 -2
- package/dist/components/form/SelectList/index.js +5 -5
- package/dist/components/form/SelectableCards/index.js +4 -4
- package/dist/components/form/Webhook/index.js +5 -5
- package/dist/components/lightbox/index.js +2 -2
- package/dist/components/table/index.js +3 -3
- package/dist/contexts/PushNotifications/index.js.map +1 -1
- package/dist/types/icon.d.ts +1 -0
- package/dist/types/icon.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-EDO23OCC.js.map +0 -1
- package/dist/chunk-FBN7HCBY.js +0 -8
- package/dist/chunk-FBN7HCBY.js.map +0 -1
- package/dist/chunk-HHX5J5QV.js +0 -34
- package/dist/chunk-HHX5J5QV.js.map +0 -1
- package/dist/chunk-VURAUMLN.js.map +0 -1
- package/dist/chunk-XLNJJJ7D.js +0 -27
- package/dist/chunk-XLNJJJ7D.js.map +0 -1
- package/dist/chunk-ZXK32CSF.js +0 -14
- package/dist/chunk-ZXK32CSF.js.map +0 -1
- /package/dist/{chunk-HVH6MGHX.js.map → chunk-2LLPCOAG.js.map} +0 -0
- /package/dist/{chunk-YG74GZPD.js.map → chunk-3JZOHMCP.js.map} +0 -0
- /package/dist/{chunk-M3IIWN6P.js.map → chunk-3XECTDUZ.js.map} +0 -0
- /package/dist/{chunk-EFAF33PQ.js.map → chunk-3XLPNBQU.js.map} +0 -0
- /package/dist/{chunk-V7EE5E2H.js.map → chunk-A2GUNNNS.js.map} +0 -0
- /package/dist/{chunk-OFOIKKG2.js.map → chunk-F64NQ3BY.js.map} +0 -0
- /package/dist/{chunk-PVI5BAUW.js.map → chunk-FZBK5B3G.js.map} +0 -0
- /package/dist/{chunk-UOR22KQX.js.map → chunk-ITMUJKVT.js.map} +0 -0
- /package/dist/{chunk-DRJ5UDF6.js.map → chunk-JRDGTK34.js.map} +0 -0
- /package/dist/{chunk-NR6PQELF.js.map → chunk-KYN54T4U.js.map} +0 -0
- /package/dist/{chunk-ESDQCHJR.js.map → chunk-PKEBJI2J.js.map} +0 -0
- /package/dist/{chunk-CMNW65VY.js.map → chunk-WZFHXFZZ.js.map} +0 -0
- /package/dist/{chunk-H3SS73NK.js.map → chunk-XCCDYZLG.js.map} +0 -0
- /package/dist/{chunk-SKFBUMRN.js.map → chunk-YZIBDCPM.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as a$2 } from './chunk-
|
|
2
|
-
import { a as a$3 } from './chunk-
|
|
1
|
+
import { a as a$2 } from './chunk-7QKCCB23.js';
|
|
2
|
+
import { a as a$3 } from './chunk-YAAMDKRR.js';
|
|
3
3
|
import { a as a$1 } from './chunk-IAOMC4C4.js';
|
|
4
4
|
import { a } from './chunk-CFNATBO2.js';
|
|
5
5
|
import { memo } from 'react';
|
|
@@ -9,4 +9,4 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
var l=({label:t="Copiar conte\xFAdo",message:c="Conte\xFAdo copiado!",toCopy:m})=>{let{copy:e}=a(),{success:s}=a$1();return jsx(a$2,{title:t,arrow:!0,children:jsx(C,{"aria-label":t,size:"small",onClick:()=>{e(m),s(c);},children:jsx(a$3,{icon:"COPY_CONTENT",color:"text.secondary",width:16})})})},I=memo(l);
|
|
10
10
|
|
|
11
11
|
export { I as a };
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-YZIBDCPM.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { a as default } from '../../chunk-2LLPCOAG.js';
|
|
2
|
+
import '../../chunk-YAAMDKRR.js';
|
|
3
|
+
import '../../chunk-TJAQH6MS.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { a as default } from '../../chunk-XCCDYZLG.js';
|
|
2
|
+
import '../../chunk-YAAMDKRR.js';
|
|
3
|
+
import '../../chunk-TJAQH6MS.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as a$4 } from '../../chunk-5EKUS6HX.js';
|
|
2
2
|
import { a as a$5 } from '../../chunk-T6UNWMMX.js';
|
|
3
3
|
import { a } from '../../chunk-CO2KQFUN.js';
|
|
4
|
-
import { a as a$3 } from '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
4
|
+
import { a as a$3 } from '../../chunk-YAAMDKRR.js';
|
|
5
|
+
import '../../chunk-TJAQH6MS.js';
|
|
6
6
|
import { a as a$2 } from '../../chunk-VR3K2Y2C.js';
|
|
7
7
|
import { a as a$1 } from '../../chunk-LQRRMVFN.js';
|
|
8
8
|
import '../../chunk-7OV7UPWM.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as a$1 } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
import { a as a$1 } from '../../chunk-3XLPNBQU.js';
|
|
2
|
+
import '../../chunk-YAAMDKRR.js';
|
|
3
|
+
import '../../chunk-TJAQH6MS.js';
|
|
4
4
|
import a from '@mui/material/Stack';
|
|
5
5
|
import { styled, alpha } from '@mui/material/styles';
|
|
6
6
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
|
-
var g=60,i=styled(a)(({theme:t})=>({position:"sticky",width:"100%",minHeight:g,top:"var(--sticky-header-height,
|
|
8
|
+
var g=60,i=styled(a)(({theme:t})=>({position:"sticky",width:"100%",minHeight:g,top:"var(--sticky-header-height, 0px)",flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:"0 24px",gap:12,borderBottom:`1px solid ${alpha(t.palette.grey[500],.12)}`,backgroundColor:t.palette.background.paper,zIndex:999,"& .logo svg":{width:24,height:24,color:t.palette.primary.main}})),o=styled(a)({flex:1,background:`linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
|
|
9
9
|
linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
|
|
10
10
|
var(--dot-color)`});o.defaultProps={style:{"--dot-bg":"#F1F2FD","--dot-color":"#000","--dot-size":"1px","--dot-space":"56px"}};var u=({children:t,header:n,helpLink:s,configButton:c})=>jsxs(Fragment,{children:[jsxs(i,{children:[n,jsxs(a,{direction:"row",alignItems:"center",gap:2,children:[jsx(a$1,{link:s,children:"Ajuda"}),c]})]}),jsx(o,{children:t})]}),H=u;
|
|
11
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/BuilderLayout/index.tsx","../../../src/components/BuilderLayout/styles.ts"],"names":["Stack","alpha","styled","HEADER_HEIGHT","Header","theme","Content","Fragment","jsx","jsxs","BuilderLayout","children","header","helpLink","configButton","HelpButton_default","BuilderLayout_default"],"mappings":"4GACA,OAAOA,MAAW,sBCAlB,OAAOA,MAAW,sBAClB,OAAS,SAAAC,EAAO,UAAAC,MAAc,uBAE9B,IAAMC,EAAgB,GAETC,EAASF,EAAOF,CAAK,EAAE,CAAC,CAAE,MAAAK,CAAM,KAAO,CAClD,SAAU,SACV,MAAO,OACP,UAAWF,EACX,IAAK,
|
|
1
|
+
{"version":3,"sources":["../../../src/components/BuilderLayout/index.tsx","../../../src/components/BuilderLayout/styles.ts"],"names":["Stack","alpha","styled","HEADER_HEIGHT","Header","theme","Content","Fragment","jsx","jsxs","BuilderLayout","children","header","helpLink","configButton","HelpButton_default","BuilderLayout_default"],"mappings":"4GACA,OAAOA,MAAW,sBCAlB,OAAOA,MAAW,sBAClB,OAAS,SAAAC,EAAO,UAAAC,MAAc,uBAE9B,IAAMC,EAAgB,GAETC,EAASF,EAAOF,CAAK,EAAE,CAAC,CAAE,MAAAK,CAAM,KAAO,CAClD,SAAU,SACV,MAAO,OACP,UAAWF,EACX,IAAK,mCACL,cAAe,MACf,WAAY,SACZ,eAAgB,gBAChB,QAAS,SACT,IAAK,GACL,aAAc,aAAaF,EAAMI,EAAM,QAAQ,KAAK,GAAG,EAAG,GAAI,IAC9D,gBAAiBA,EAAM,QAAQ,WAAW,MAC1C,OAAQ,IAER,cAAe,CACb,MAAO,GACP,OAAQ,GACR,MAAOA,EAAM,QAAQ,QAAQ,IAC/B,CACF,EAAE,EAEWC,EAAUJ,EAAOF,CAAK,EAAE,CACnC,KAAM,EACN,WAAY;AAAA;AAAA,mBAGd,CAAC,EAEDM,EAAQ,aAAe,CACrB,MAAO,CACL,WAAY,UACZ,cAAe,OACf,aAAc,MACd,cAAe,MACjB,CACF,ED1BI,mBAAAC,EAKM,OAAAC,EADF,QAAAC,MAJJ,oBAPJ,IAAMC,EAAgB,CAAC,CACrB,SAAAC,EACA,OAAAC,EACA,SAAAC,EACA,aAAAC,CACF,IAEIL,EAAAF,EAAA,CACE,UAAAE,EAACL,EAAA,CACE,UAAAQ,EAEDH,EAACT,EAAA,CAAM,UAAU,MAAM,WAAW,SAAS,IAAK,EAC9C,UAAAQ,EAACO,EAAA,CAAW,KAAMF,EAAU,iBAAK,EAChCC,GACH,GACF,EAEAN,EAACF,EAAA,CAAS,SAAAK,EAAS,GACrB,EAIGK,EAAQN","sourcesContent":["import { PropsWithChildren } from 'react';\nimport Stack from '@mui/material/Stack';\n\nimport HelpButton from '../HelpButton';\n\nimport { BuilderLayoutProps } from './props';\nimport { Content, Header } from './styles';\n\nconst BuilderLayout = ({\n children,\n header,\n helpLink,\n configButton,\n}: PropsWithChildren<BuilderLayoutProps>) => {\n return (\n <>\n <Header>\n {header}\n\n <Stack direction=\"row\" alignItems=\"center\" gap={2}>\n <HelpButton link={helpLink}>Ajuda</HelpButton>\n {configButton}\n </Stack>\n </Header>\n\n <Content>{children}</Content>\n </>\n );\n};\n\nexport default BuilderLayout;\n","import { CSSProperties } from 'react';\nimport Stack from '@mui/material/Stack';\nimport { alpha, styled } from '@mui/material/styles';\n\nconst HEADER_HEIGHT = 60;\n\nexport const Header = styled(Stack)(({ theme }) => ({\n position: 'sticky',\n width: '100%',\n minHeight: HEADER_HEIGHT,\n top: 'var(--sticky-header-height, 0px)',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n padding: '0 24px',\n gap: 12,\n borderBottom: `1px solid ${alpha(theme.palette.grey[500], 0.12)}`,\n backgroundColor: theme.palette.background.paper,\n zIndex: 999,\n\n '& .logo svg': {\n width: 24,\n height: 24,\n color: theme.palette.primary.main,\n },\n}));\n\nexport const Content = styled(Stack)({\n flex: 1,\n background: `linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),\n linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),\n var(--dot-color)`,\n});\n\nContent.defaultProps = {\n style: {\n '--dot-bg': '#F1F2FD',\n '--dot-color': '#000',\n '--dot-size': '1px',\n '--dot-space': '56px',\n } as CSSProperties,\n};\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as a$2 } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
import { a as a$2 } from '../../chunk-YAAMDKRR.js';
|
|
2
|
+
import '../../chunk-TJAQH6MS.js';
|
|
3
3
|
import { a as a$1 } from '../../chunk-E3R7W7GK.js';
|
|
4
4
|
import a from '@mui/material/Stack';
|
|
5
5
|
import { styled } from '@mui/material/styles';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a } from '../../chunk-
|
|
1
|
+
import { a } from '../../chunk-F64NQ3BY.js';
|
|
2
2
|
import { r } from '../../chunk-XUDTPZHF.js';
|
|
3
3
|
import '../../chunk-UVPQR2Q2.js';
|
|
4
4
|
import { a as a$1 } from '../../chunk-RBTYTONM.js';
|
|
5
5
|
import { a as a$3 } from '../../chunk-I4PPSW36.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-XCCDYZLG.js';
|
|
7
7
|
import '../../chunk-CO2KQFUN.js';
|
|
8
|
-
import { a as a$2 } from '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import { a as a$2 } from '../../chunk-YAAMDKRR.js';
|
|
9
|
+
import '../../chunk-TJAQH6MS.js';
|
|
10
10
|
import { memo, useEffect, useState, useMemo, useCallback } from 'react';
|
|
11
11
|
import { useFormContext, useWatch, useForm, FormProvider } from 'react-hook-form';
|
|
12
12
|
import Vt from '@mui/material/LinearProgress';
|
|
@@ -2,8 +2,8 @@ import '../../chunk-MZN5X6GM.js';
|
|
|
2
2
|
import { a as a$1 } from '../../chunk-RFAAH7QG.js';
|
|
3
3
|
import '../../chunk-HSJS3HUW.js';
|
|
4
4
|
import '../../chunk-IL3EAU5G.js';
|
|
5
|
-
import { a } from '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
5
|
+
import { a } from '../../chunk-YAAMDKRR.js';
|
|
6
|
+
import '../../chunk-TJAQH6MS.js';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
var o=A=>({["MERCADOPAY"]:"MERCADO_PAGO",["AMAZONPAY"]:"AMAZON_PAY",["GPAY"]:"GOOGLE_PAY",["PAYPAL"]:"PAYPAL",["APPLEPAY"]:"APPLE_PAY",["ELO"]:"ELO",["MASTERCARD"]:"MASTERCARD",["AMEX"]:"AMERICAN_EXPRESS",["DINERSCLUB"]:"DINERS_CLUB",["CIRRUS"]:"CIRRUS",["VISA"]:"VISA",["HIPERCARD"]:"HIPERCARD",["JCB"]:"JCB",["UNIONPAY"]:"UNIONPAY",["MAESTRO"]:"MAESTRO",["HIPER"]:"HIPER",["DISCOVER"]:"DISCOVER"})[A]??null,R=({cardNumber:A,...r})=>jsx(a,{icon:o(a$1(A)),...r}),d=R;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
import { a } from '../../chunk-YAAMDKRR.js';
|
|
2
|
+
import '../../chunk-TJAQH6MS.js';
|
|
3
3
|
import { b } from '../../chunk-LJ5JKDMG.js';
|
|
4
4
|
import '../../chunk-373WGZZL.js';
|
|
5
5
|
import '../../chunk-BX2DSNRV.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
1
|
+
export { a as default } from '../../chunk-YZIBDCPM.js';
|
|
2
|
+
import '../../chunk-7QKCCB23.js';
|
|
3
|
+
import '../../chunk-YAAMDKRR.js';
|
|
4
|
+
import '../../chunk-TJAQH6MS.js';
|
|
5
5
|
import '../../chunk-IAOMC4C4.js';
|
|
6
6
|
import '../../chunk-CFNATBO2.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { b as DesktopFooter, a as EnhancedMoreActions, c as Toolbar, d as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { b as DesktopFooter, a as EnhancedMoreActions, c as Toolbar, d as default } from '../../chunk-JT4DYZAT.js';
|
|
2
|
+
import '../../chunk-FZBK5B3G.js';
|
|
3
3
|
import '../../chunk-IJZCVZ32.js';
|
|
4
4
|
import '../../chunk-IDFJFFIV.js';
|
|
5
5
|
import '../../chunk-6U5LS7MP.js';
|
|
@@ -12,8 +12,8 @@ import '../../chunk-RBTYTONM.js';
|
|
|
12
12
|
import '../../chunk-F65ZXAGV.js';
|
|
13
13
|
import '../../chunk-I4PPSW36.js';
|
|
14
14
|
import '../../chunk-CO2KQFUN.js';
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-YAAMDKRR.js';
|
|
16
|
+
import '../../chunk-TJAQH6MS.js';
|
|
17
17
|
import '../../chunk-LQRRMVFN.js';
|
|
18
18
|
import '../../chunk-RPO7AI5K.js';
|
|
19
19
|
import '../../chunk-GLRLKFPS.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { a as default } from '../../chunk-3JZOHMCP.js';
|
|
2
|
+
import '../../chunk-YAAMDKRR.js';
|
|
3
|
+
import '../../chunk-TJAQH6MS.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { a as a$1 } from '../../chunk-F65ZXAGV.js';
|
|
2
|
-
import { a } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
2
|
+
import { a } from '../../chunk-YAAMDKRR.js';
|
|
3
|
+
import '../../chunk-TJAQH6MS.js';
|
|
4
4
|
import S from '@mui/material/Drawer';
|
|
5
5
|
import T from '@mui/material/IconButton';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import l from '@mui/material/Stack';
|
|
7
|
+
import y from '@mui/material/DialogActions';
|
|
8
8
|
import { styled } from '@mui/material/styles';
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var c=styled(l)(({theme:r})=>({alignItems:"center",borderBottom:`1px solid ${r.palette.grey[300]}`,padding:"22px 20px",gap:16})),d=styled(l)(({theme:r})=>({flexDirection:"row",alignItems:"center",gap:8,flex:1,fontSize:r.typography.subtitle1.fontSize,fontWeight:r.typography.subtitle1.fontWeight,fontFamily:r.typography.fontFamily})),m=styled(y)(({theme:r})=>({borderTop:`1px solid ${r.palette.divider}`,backgroundColor:r.palette.background.paper}));var D=({children:r,actionsProps:t})=>jsx(m,{"data-testid":"drawer-actions",...t,children:r}),f=D;var C=({headerTitle:r,headerProps:t,onClose:i,children:w,contentProps:A,maxWidth:h=684,actions:a$2,actionsProps:x,id:p,...b})=>{let u=p||"actions";return jsxs(S,{anchor:"right",id:p,PaperProps:{sx:{width:1,maxWidth:h}},onClose:i,...b,children:[jsxs(c,{direction:"row",...t,children:[jsx(T,{"aria-label":"Fechar gaveta lateral","data-testid":"close-drawer-btn",size:"small",onClick:i,children:jsx(a,{icon:"CLOSE_MARK_BUTTON",width:18})}),jsx(d,{children:r})]}),jsx(a$1,{children:jsx(l,{p:3,...A,children:w})}),a$2&&jsx(f,{actionsProps:{...x,id:u},children:a$2})]})},K=C;
|
|
12
12
|
|
|
13
13
|
export { K as default };
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
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","headerProps","onClose","contentProps","maxWidth","actions","id","other","DRAWER_ACTIONS","Icon_default","Scrollbar_default","Drawer_default"],"mappings":"wHAAA,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,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,ECdE,cAAAG,MAAA,oBALJ,IAAMD,EAAU,CAAC,CACf,SAAAE,EACA,aAAAC,CACF,IAEIF,EAACD,EAAA,CAAY,cAAY,iBAAkB,GAAGG,EAC3C,SAAAD,EACH,EAIGE,EAAQJ,EFkBT,
|
|
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","headerProps","onClose","contentProps","maxWidth","actions","id","other","DRAWER_ACTIONS","Icon_default","Scrollbar_default","Drawer_default"],"mappings":"wHAAA,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,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,ECdE,cAAAG,MAAA,oBALJ,IAAMD,EAAU,CAAC,CACf,SAAAE,EACA,aAAAC,CACF,IAEIF,EAACD,EAAA,CAAY,cAAY,iBAAkB,GAAGG,EAC3C,SAAAD,EACH,EAIGE,EAAQJ,EFkBT,OAOI,OAAAC,EAPJ,QAAAI,MAAA,oBAvBN,IAAMC,EAAS,CAAC,CACd,YAAAC,EACA,YAAAC,EACA,QAAAC,EACA,SAAAP,EACA,aAAAQ,EACA,SAAAC,EAAW,IACX,QAAAC,EACA,aAAAT,EACA,GAAAU,EACA,GAAGC,CACL,IAAmB,CACjB,IAAMC,EAAiBF,GAAM,UAC7B,OACER,EAACb,EAAA,CACC,OAAO,QACP,GAAIqB,EACJ,WAAY,CACV,GAAI,CAAE,MAAO,EAAG,SAAUF,CAAS,CACrC,EACA,QAASF,EACR,GAAGK,EAEJ,UAAAT,EAACR,EAAA,CAAO,UAAU,MAAO,GAAGW,EAC1B,UAAAP,EAACR,EAAA,CACC,aAAW,wBACX,cAAY,mBACZ,KAAK,QACL,QAASgB,EAET,SAAAR,EAACe,EAAA,CAAK,KAAK,oBAAoB,MAAO,GAAI,EAC5C,EAEAf,EAACF,EAAA,CAAa,SAAAQ,EAAY,GAC5B,EACAN,EAACgB,EAAA,CACC,SAAAhB,EAACP,EAAA,CAAM,EAAG,EAAI,GAAGgB,EACd,SAAAR,EACH,EACF,EAECU,GACCX,EAACG,EAAA,CAAQ,aAAc,CAAE,GAAGD,EAAc,GAAIY,CAAe,EAC1D,SAAAH,EACH,GAEJ,CAEJ,EAEOM,EAAQZ","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 headerProps,\n onClose,\n children,\n contentProps,\n maxWidth = 684,\n actions,\n actionsProps,\n id,\n ...other\n}: DrawerProps) => {\n const DRAWER_ACTIONS = id || '' + 'actions';\n return (\n <MuiDrawer\n anchor=\"right\"\n id={id}\n PaperProps={{\n sx: { width: 1, maxWidth: maxWidth },\n }}\n onClose={onClose}\n {...other}\n >\n <Header direction=\"row\" {...headerProps}>\n <IconButton\n aria-label=\"Fechar gaveta lateral\"\n data-testid=\"close-drawer-btn\"\n size=\"small\"\n onClick={onClose}\n >\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 && (\n <Actions actionsProps={{ ...actionsProps, id: DRAWER_ACTIONS }}>\n {actions}\n </Actions>\n )}\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 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"]}
|
|
@@ -3,24 +3,24 @@ import '../../chunk-4P2L7UJA.js';
|
|
|
3
3
|
import { a as a$1 } from '../../chunk-LG2B5RFV.js';
|
|
4
4
|
import { d, c } from '../../chunk-N7IK5EUP.js';
|
|
5
5
|
import { h, a as a$3 } from '../../chunk-OF6623HG.js';
|
|
6
|
-
import { d as d$1 } from '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
6
|
+
import { d as d$1 } from '../../chunk-JT4DYZAT.js';
|
|
7
|
+
import '../../chunk-FZBK5B3G.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
13
|
import '../../chunk-PRWQQJDL.js';
|
|
14
|
-
import { a as a$2 } from '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
14
|
+
import { a as a$2 } from '../../chunk-YZIBDCPM.js';
|
|
15
|
+
import '../../chunk-7QKCCB23.js';
|
|
16
16
|
import { e } from '../../chunk-XUDTPZHF.js';
|
|
17
17
|
import '../../chunk-UVPQR2Q2.js';
|
|
18
18
|
import '../../chunk-RBTYTONM.js';
|
|
19
19
|
import '../../chunk-F65ZXAGV.js';
|
|
20
20
|
import '../../chunk-I4PPSW36.js';
|
|
21
21
|
import '../../chunk-CO2KQFUN.js';
|
|
22
|
-
import { a } from '../../chunk-
|
|
23
|
-
import '../../chunk-
|
|
22
|
+
import { a } from '../../chunk-YAAMDKRR.js';
|
|
23
|
+
import '../../chunk-TJAQH6MS.js';
|
|
24
24
|
import '../../chunk-IAOMC4C4.js';
|
|
25
25
|
import { a as a$5 } from '../../chunk-F6H765KA.js';
|
|
26
26
|
import '../../chunk-LQRRMVFN.js';
|