@zydon/common 2.5.66 → 2.5.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-SA5X3UYL.js → chunk-F7LZTG5Z.js} +1 -1
- package/dist/chunk-GLA34C2L.js +6 -0
- package/dist/{chunk-X3NPZMCQ.js → chunk-IOM423QH.js} +1 -1
- package/dist/{chunk-3VSUNIWI.js → chunk-L6LOPBWU.js} +1 -1
- package/dist/components/CardBrandText/index.js +1 -1
- package/dist/components/DataView/index.js +1 -1
- package/dist/components/FileUpload/index.js +2 -2
- package/dist/components/FrameSkeleton/index.js +11 -10
- package/dist/components/ImageCropModal/index.js +2 -2
- package/dist/components/form/UploadAvatarWithCrop/index.js +5 -5
- package/dist/components/form/UploadWithCrop/index.js +5 -5
- package/dist/components/upload/index.js +5 -5
- package/dist/hooks/useCollapseSidebarOnMount.d.ts +3 -0
- package/dist/hooks/useCollapseSidebarOnMount.js +6 -0
- package/dist/hooks/useLocalStorage.js +1 -1
- package/dist/theme/styles/index.d.ts +1 -1
- package/dist/utils/flagCard.js +1 -1
- package/package.json +1 -1
- package/dist/{chunk-GAGLPNVH.js → chunk-4U55ITNC.js} +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c, g, p, n, d, e as e$1, a as a$6, b, h, i as i$1, l, m as m$1, j as j$1, k } from './chunk-ISYQXE75.js';
|
|
2
|
-
import { a as a$5 } from './chunk-GAGLPNVH.js';
|
|
3
2
|
import { a as a$1 } from './chunk-H5L4ARDB.js';
|
|
4
3
|
import { e } from './chunk-ANAHA3L6.js';
|
|
4
|
+
import { a as a$5 } from './chunk-4U55ITNC.js';
|
|
5
5
|
import { a as a$7 } from './chunk-HFGUHKFW.js';
|
|
6
6
|
import { x } from './chunk-2P4CXK3O.js';
|
|
7
7
|
import { a as a$4 } from './chunk-FK7DDO5L.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var e=r=>{let t=r.replace(/[\s-]/g,"");return /^4/.test(t)?"VISA":/^5[1-5]/.test(t)?"MASTERCARD":/^3[47]/.test(t)?"AMEX":/^6(?:011|5)/.test(t)?"DISCOVER":/^3(?:0|6|8)/.test(t)?"DINERSCLUB":/^35/.test(t)?"JCB":/^62|^81/.test(t)?"UNIONPAY":/^6(?:22|4|5)/.test(t)?"UNIONPAY":/^50/.test(t)?"MAESTRO":/^606282|^637/.test(t)?"HIPERCARD":/^(4011|4312|4389|4514|4576|5041|5066|5067|509|6277|6362|6363|650[4-8]|6516|655[089])/.test(t)?"ELO":"GENERIC"};
|
|
1
|
+
var e=r=>{let t=r.replace(/[\s-]/g,"");return /^4/.test(t)?"VISA":/^5[1-5]/.test(t)?"MASTERCARD":/^3[47]/.test(t)?"AMEX":/^6(?:011|5)/.test(t)?"DISCOVER":/^3(?:0|6|8)/.test(t)?"DINERSCLUB":/^35/.test(t)?"JCB":/^62|^81/.test(t)?"UNIONPAY":/^6(?:22|4|5)/.test(t)?"UNIONPAY":/^(50(0[0-9]|1[0-9]|2[0-9])|5[6-8]|6[3-7])/.test(t)?"MAESTRO":/^606282|^637/.test(t)?"HIPERCARD":/^(4011|4312|4389|4514|4576|5041|5066|5067|509|6277|6362|6363|650[4-8]|6516|655[089])/.test(t)?"ELO":"GENERIC"};
|
|
2
2
|
|
|
3
3
|
export { e as a };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p, f } from './chunk-ISYQXE75.js';
|
|
2
|
-
import { a as a$3 } from './chunk-GAGLPNVH.js';
|
|
3
2
|
import { e } from './chunk-ANAHA3L6.js';
|
|
3
|
+
import { a as a$3 } from './chunk-4U55ITNC.js';
|
|
4
4
|
import { i } from './chunk-D27ND54J.js';
|
|
5
5
|
import { a as a$1 } from './chunk-X24QANPC.js';
|
|
6
6
|
import { a } from './chunk-P26W2RT7.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as a$1 } from '../../chunk-
|
|
1
|
+
import { a as a$1 } from '../../chunk-IOM423QH.js';
|
|
2
2
|
import '../../chunk-7F7UOLDE.js';
|
|
3
3
|
|
|
4
4
|
var a={["VISA"]:"Visa",["MASTERCARD"]:"Mastercard",["AMEX"]:"American Express",["DISCOVER"]:"Discover",["DINERSCLUB"]:"Diners Club",["JCB"]:"JCB",["UNIONPAY"]:"UnionPay",["MAESTRO"]:"Maestro",["CIRRUS"]:"Cirrus",["HIPER"]:"Hiper",["HIPERCARD"]:"Hipercard",["ELO"]:"Elo",["PIX"]:"PIX",["PAYPAL"]:"PayPal",["GPAY"]:"GPay",["APPLEPAY"]:"Apple Pay",["AMAZONPAY"]:"Amazon Pay",["MERCADOPAY"]:"Mercado Pay",["GENERIC"]:"Gen\xE9rico"},A=({number:P})=>{let e=a$1(P);return a[e]||a["GENERIC"]},C=A;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as a$5 } from '../../chunk-IIEO3BCA.js';
|
|
2
|
+
import { a as a$4 } from '../../chunk-HOMGLSVS.js';
|
|
2
3
|
import { a as a$2 } from '../../chunk-5YJTSVA2.js';
|
|
3
4
|
import { a as a$6 } from '../../chunk-TWGGHTU5.js';
|
|
4
|
-
import { a as a$4 } from '../../chunk-HOMGLSVS.js';
|
|
5
5
|
import { a } from '../../chunk-CFD2VTQ3.js';
|
|
6
6
|
import { a as a$9 } from '../../chunk-VATTN5CP.js';
|
|
7
7
|
import '../../chunk-2KKOITAB.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as a$5 } from '../../chunk-H5L4ARDB.js';
|
|
2
|
+
import { e } from '../../chunk-ANAHA3L6.js';
|
|
2
3
|
import { a as a$3 } from '../../chunk-2FXBVVBD.js';
|
|
3
4
|
import { a as a$6 } from '../../chunk-M7BY6VXI.js';
|
|
4
5
|
import '../../chunk-7AZX7L27.js';
|
|
5
6
|
import { a } from '../../chunk-LGJ5FXTF.js';
|
|
6
7
|
import '../../chunk-SQSJYHRY.js';
|
|
7
|
-
import { e } from '../../chunk-ANAHA3L6.js';
|
|
8
8
|
import { a as a$2 } from '../../chunk-HFGUHKFW.js';
|
|
9
9
|
import { x } from '../../chunk-2P4CXK3O.js';
|
|
10
10
|
import { a as a$7 } from '../../chunk-FK7DDO5L.js';
|
|
@@ -12,8 +12,8 @@ import { j } from '../../chunk-DMQW3LDF.js';
|
|
|
12
12
|
import { a as a$4 } from '../../chunk-P26W2RT7.js';
|
|
13
13
|
import '../../chunk-QGFD5EQE.js';
|
|
14
14
|
import '../../chunk-ILHUUK4X.js';
|
|
15
|
-
import { a as a$1 } from '../../chunk-S7QQBC4I.js';
|
|
16
15
|
import { a as a$8 } from '../../chunk-GFJT57TO.js';
|
|
16
|
+
import { a as a$1 } from '../../chunk-S7QQBC4I.js';
|
|
17
17
|
import { memo, forwardRef, useMemo, useLayoutEffect, useCallback, useRef, useState, useEffect } from 'react';
|
|
18
18
|
import Bo from '@mui/material/FormHelperText';
|
|
19
19
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { a } from '../../chunk-CFD2VTQ3.js';
|
|
2
|
-
import { a as a$
|
|
3
|
-
import { a as a$
|
|
2
|
+
import { a as a$2 } from '../../chunk-26GV7WKC.js';
|
|
3
|
+
import { a as a$3 } from '../../chunk-P26W2RT7.js';
|
|
4
4
|
import '../../chunk-QGFD5EQE.js';
|
|
5
|
-
import { a as a$
|
|
5
|
+
import { a as a$1 } from '../../chunk-GLA34C2L.js';
|
|
6
|
+
import '../../chunk-QQDMA4TE.js';
|
|
6
7
|
import '../../chunk-Z2TDWMRU.js';
|
|
7
|
-
import '../../chunk-3APKMSVD.js';
|
|
8
|
-
import { a as a$4 } from '../../chunk-S7QQBC4I.js';
|
|
9
8
|
import '../../chunk-4INDXVIX.js';
|
|
10
|
-
import
|
|
9
|
+
import '../../chunk-3APKMSVD.js';
|
|
10
|
+
import '../../chunk-S7QQBC4I.js';
|
|
11
|
+
import O from '@mui/material/IconButton';
|
|
11
12
|
import i from '@mui/material/Stack';
|
|
12
|
-
import
|
|
13
|
-
import
|
|
13
|
+
import d from '@mui/material/Typography';
|
|
14
|
+
import H from '@mui/material/Button';
|
|
14
15
|
import { styled, alpha } from '@mui/material/styles';
|
|
15
16
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
var g=styled(i)(({theme:t})=>({backgroundColor:"#fff",maxWidth:300,flex:1,borderRight:`1px solid ${t.palette.grey[200]}`,[t.breakpoints.down("md")]:{display:"none"}})),S=styled(i)({position:"sticky",top:"calc(var(--sticky-header-height, 64px))",height:"calc(100vh - var(--sticky-header-height, 64px))"}),b=styled(i)(({theme:t})=>({flex:1,width:"100%",[t.breakpoints.up("md")]:{maxWidth:"calc(100% - 300px)"}})),k=styled(i)(({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(H)(({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(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"}}}})),u=styled(i)(({theme:t})=>({flex:1,width:"100%",padding:24,gap:24,alignItems:"center",overflow:"hidden",[t.breakpoints.down("md")]:{padding:"24px 16px"}})),C=styled(i)(({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,children:W,sections:c,headerLeftContent:B,headerRightContent:I,onClickBack:R})=>(a$1(!0),jsxs(i,{direction:"row",flex:1,children:[jsx(g,{id:"frame-skeleton-left-box",children:jsx(S,{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(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(O,{color:"inherit",onClick:()=>R(),"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:B}),jsx(p,{justifyContent:"flex-end",color:"text.secondary",children:I})]}),jsxs(u,{children:[W,c.map((o,L)=>jsxs(C,{id:`section-${L}`,children:[jsx(v,{ref:o.ref,children:o.title}),jsx(T,{children:o.subTitle}),jsx(w,{children:o.child})]},o.title))]})]})]})),K=P;
|
|
18
19
|
|
|
19
|
-
export {
|
|
20
|
+
export { K as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-RQ5Q6X5Y.js';
|
|
1
|
+
export { a as default } from '../../chunk-4U55ITNC.js';
|
|
3
2
|
import '../../chunk-SQSJYHRY.js';
|
|
3
|
+
import '../../chunk-RQ5Q6X5Y.js';
|
|
4
4
|
import '../../chunk-P26W2RT7.js';
|
|
5
5
|
import '../../chunk-QGFD5EQE.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { b } from '../../../chunk-
|
|
1
|
+
import { b } from '../../../chunk-L6LOPBWU.js';
|
|
2
2
|
import '../../../chunk-ISYQXE75.js';
|
|
3
|
-
import '../../../chunk-GAGLPNVH.js';
|
|
4
|
-
import '../../../chunk-RQ5Q6X5Y.js';
|
|
5
|
-
import '../../../chunk-SQSJYHRY.js';
|
|
6
3
|
import '../../../chunk-ANAHA3L6.js';
|
|
4
|
+
import '../../../chunk-4U55ITNC.js';
|
|
5
|
+
import '../../../chunk-SQSJYHRY.js';
|
|
6
|
+
import '../../../chunk-RQ5Q6X5Y.js';
|
|
7
7
|
import '../../../chunk-D27ND54J.js';
|
|
8
|
+
import { a } from '../../../chunk-GA4A5P3S.js';
|
|
8
9
|
import '../../../chunk-X24QANPC.js';
|
|
9
10
|
import '../../../chunk-P26W2RT7.js';
|
|
10
11
|
import '../../../chunk-QGFD5EQE.js';
|
|
11
12
|
import '../../../chunk-KFZEM7KS.js';
|
|
12
13
|
import '../../../chunk-W3MYAMTH.js';
|
|
13
|
-
import { a } from '../../../chunk-GA4A5P3S.js';
|
|
14
14
|
import { useFormContext, Controller } from 'react-hook-form';
|
|
15
15
|
import W from '@mui/material/FormHelperText';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { e } from '../../../chunk-
|
|
1
|
+
import { e } from '../../../chunk-F7LZTG5Z.js';
|
|
2
2
|
import '../../../chunk-ISYQXE75.js';
|
|
3
|
-
import '../../../chunk-GAGLPNVH.js';
|
|
4
|
-
import '../../../chunk-RQ5Q6X5Y.js';
|
|
5
3
|
import '../../../chunk-H5L4ARDB.js';
|
|
6
|
-
import '../../../chunk-SQSJYHRY.js';
|
|
7
4
|
import '../../../chunk-ANAHA3L6.js';
|
|
5
|
+
import '../../../chunk-4U55ITNC.js';
|
|
6
|
+
import '../../../chunk-SQSJYHRY.js';
|
|
7
|
+
import '../../../chunk-RQ5Q6X5Y.js';
|
|
8
8
|
import '../../../chunk-HFGUHKFW.js';
|
|
9
9
|
import '../../../chunk-2P4CXK3O.js';
|
|
10
10
|
import '../../../chunk-FK7DDO5L.js';
|
|
11
11
|
import '../../../chunk-D27ND54J.js';
|
|
12
|
+
import { a } from '../../../chunk-GA4A5P3S.js';
|
|
12
13
|
import '../../../chunk-X24QANPC.js';
|
|
13
14
|
import '../../../chunk-DMQW3LDF.js';
|
|
14
15
|
import '../../../chunk-P26W2RT7.js';
|
|
@@ -16,7 +17,6 @@ import '../../../chunk-QGFD5EQE.js';
|
|
|
16
17
|
import '../../../chunk-ILHUUK4X.js';
|
|
17
18
|
import '../../../chunk-KFZEM7KS.js';
|
|
18
19
|
import '../../../chunk-W3MYAMTH.js';
|
|
19
|
-
import { a } from '../../../chunk-GA4A5P3S.js';
|
|
20
20
|
import { useFormContext, Controller } from 'react-hook-form';
|
|
21
21
|
import b from '@mui/material/FormHelperText';
|
|
22
22
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { a as
|
|
2
|
-
export {
|
|
1
|
+
export { c as DeleteButton, a as MultiFilePreview, b as SingleFilePreview, d as Upload, e as UploadWithCrop } from '../../chunk-F7LZTG5Z.js';
|
|
2
|
+
export { a as UploadAvatar, b as UploadAvatarWithCrop } from '../../chunk-L6LOPBWU.js';
|
|
3
3
|
import { o } from '../../chunk-ISYQXE75.js';
|
|
4
4
|
export { p as RejectionFiles } from '../../chunk-ISYQXE75.js';
|
|
5
|
-
import '../../chunk-GAGLPNVH.js';
|
|
6
|
-
import '../../chunk-RQ5Q6X5Y.js';
|
|
7
5
|
import '../../chunk-H5L4ARDB.js';
|
|
8
|
-
import '../../chunk-SQSJYHRY.js';
|
|
9
6
|
import '../../chunk-ANAHA3L6.js';
|
|
7
|
+
import '../../chunk-4U55ITNC.js';
|
|
8
|
+
import '../../chunk-SQSJYHRY.js';
|
|
9
|
+
import '../../chunk-RQ5Q6X5Y.js';
|
|
10
10
|
import '../../chunk-HFGUHKFW.js';
|
|
11
11
|
import '../../chunk-2P4CXK3O.js';
|
|
12
12
|
import '../../chunk-FK7DDO5L.js';
|
|
@@ -443,7 +443,7 @@ 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?: csstype.Property.ZIndex | readonly NonNullable<csstype.Property.ZIndex | undefined>[] | readonly ((string & {}) | csstype.Globals | "auto")[] | 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
448
|
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "reverse" | "auto" | "none" | "both" | "alternate" | "alternate-reverse" | "backwards" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
449
449
|
animationRange?: csstype.Property.AnimationRange<string | number> | readonly NonNullable<csstype.Property.AnimationRange<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|
package/dist/utils/flagCard.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as getFlagCard } from '../chunk-
|
|
1
|
+
export { a as getFlagCard } from '../chunk-IOM423QH.js';
|
|
2
2
|
import '../chunk-7F7UOLDE.js';
|
package/package.json
CHANGED