pipesol-notificationbar 1.0.3-beta.2 → 1.0.5
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/README.md +41 -30
- package/dist/components/TermsAndPrivacyCard.d.ts +52 -0
- package/dist/components/TermsAndPrivacyCard.js +144 -0
- package/dist/components/TermsAndPrivacyCard.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/TermsAndPrivacyProps.d.ts +17 -0
- package/dist/types/TermsAndPrivacyProps.js +2 -0
- package/dist/types/TermsAndPrivacyProps.js.map +1 -0
- package/package.json +56 -47
- package/dist/components/ImageResponsive.d.ts +0 -13
- package/dist/components/ImageResponsive.js +0 -32
- package/dist/components/ImageResponsive.js.map +0 -1
- package/dist/components/Location.d.ts +0 -15
- package/dist/components/Location.js +0 -37
- package/dist/components/Location.js.map +0 -1
- package/dist/components/MensagemDeploy.d.ts +0 -7
- package/dist/components/MensagemDeploy.js +0 -54
- package/dist/components/MensagemDeploy.js.map +0 -1
- package/dist/components/NotificationBar.d.ts +0 -16
- package/dist/components/NotificationBar.js +0 -131
- package/dist/components/NotificationBar.js.map +0 -1
- package/dist/components/VideoPlayer.d.ts +0 -11
- package/dist/components/VideoPlayer.js +0 -12
- package/dist/components/VideoPlayer.js.map +0 -1
- package/dist/components/banner/BannerVideo.d.ts +0 -7
- package/dist/components/banner/BannerVideo.js +0 -20
- package/dist/components/banner/BannerVideo.js.map +0 -1
- package/dist/components/banner/ContentBannerStyled.d.ts +0 -6
- package/dist/components/banner/ContentBannerStyled.js +0 -44
- package/dist/components/banner/ContentBannerStyled.js.map +0 -1
- package/dist/components/banner/ResponsiveBanner.d.ts +0 -15
- package/dist/components/banner/ResponsiveBanner.js +0 -68
- package/dist/components/banner/ResponsiveBanner.js.map +0 -1
- package/dist/components/banner/ResponsiveBannerGradiente.d.ts +0 -12
- package/dist/components/banner/ResponsiveBannerGradiente.js +0 -38
- package/dist/components/banner/ResponsiveBannerGradiente.js.map +0 -1
- package/dist/components/banner/TitleBanner.d.ts +0 -10
- package/dist/components/banner/TitleBanner.js +0 -8
- package/dist/components/banner/TitleBanner.js.map +0 -1
- package/dist/components/barra_ferramentas/BarraFerramentas.d.ts +0 -13
- package/dist/components/barra_ferramentas/BarraFerramentas.js +0 -39
- package/dist/components/barra_ferramentas/BarraFerramentas.js.map +0 -1
- package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.d.ts +0 -13
- package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.js +0 -31
- package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.js.map +0 -1
- package/dist/components/barra_ferramentas/BarraFerramentasStyled.d.ts +0 -7
- package/dist/components/barra_ferramentas/BarraFerramentasStyled.js +0 -40
- package/dist/components/barra_ferramentas/BarraFerramentasStyled.js.map +0 -1
- package/dist/components/button/ButtonStyled.d.ts +0 -18
- package/dist/components/button/ButtonStyled.js +0 -56
- package/dist/components/button/ButtonStyled.js.map +0 -1
- package/dist/components/button/NavigationButton.d.ts +0 -18
- package/dist/components/button/NavigationButton.js +0 -53
- package/dist/components/button/NavigationButton.js.map +0 -1
- package/dist/components/button/NavigationButtonMotion.d.ts +0 -19
- package/dist/components/button/NavigationButtonMotion.js +0 -64
- package/dist/components/button/NavigationButtonMotion.js.map +0 -1
- package/dist/components/button/NavigationHamburguerButton.d.ts +0 -17
- package/dist/components/button/NavigationHamburguerButton.js +0 -33
- package/dist/components/button/NavigationHamburguerButton.js.map +0 -1
- package/dist/components/button/ScrollToTopButton.d.ts +0 -10
- package/dist/components/button/ScrollToTopButton.js +0 -44
- package/dist/components/button/ScrollToTopButton.js.map +0 -1
- package/dist/components/button/WhatsAppButton.d.ts +0 -6
- package/dist/components/button/WhatsAppButton.js +0 -24
- package/dist/components/button/WhatsAppButton.js.map +0 -1
- package/dist/components/button/WhatsAppIcon.d.ts +0 -6
- package/dist/components/button/WhatsAppIcon.js +0 -18
- package/dist/components/button/WhatsAppIcon.js.map +0 -1
- package/dist/components/cards/AnimatedCardGroup.d.ts +0 -20
- package/dist/components/cards/AnimatedCardGroup.js +0 -63
- package/dist/components/cards/AnimatedCardGroup.js.map +0 -1
- package/dist/components/cards/BorderTopLeftRadiusCard.d.ts +0 -15
- package/dist/components/cards/BorderTopLeftRadiusCard.js +0 -67
- package/dist/components/cards/BorderTopLeftRadiusCard.js.map +0 -1
- package/dist/components/cards/CardLerMais.d.ts +0 -13
- package/dist/components/cards/CardLerMais.js +0 -121
- package/dist/components/cards/CardLerMais.js.map +0 -1
- package/dist/components/cards/ContentCardDescription.d.ts +0 -10
- package/dist/components/cards/ContentCardDescription.js +0 -52
- package/dist/components/cards/ContentCardDescription.js.map +0 -1
- package/dist/components/cards/GradientCard.d.ts +0 -17
- package/dist/components/cards/GradientCard.js +0 -66
- package/dist/components/cards/GradientCard.js.map +0 -1
- package/dist/components/cards/ImageCard.d.ts +0 -15
- package/dist/components/cards/ImageCard.js +0 -31
- package/dist/components/cards/ImageCard.js.map +0 -1
- package/dist/components/cards/MapCard.d.ts +0 -15
- package/dist/components/cards/MapCard.js +0 -59
- package/dist/components/cards/MapCard.js.map +0 -1
- package/dist/components/cards/ShadowCard.d.ts +0 -16
- package/dist/components/cards/ShadowCard.js +0 -25
- package/dist/components/cards/ShadowCard.js.map +0 -1
- package/dist/components/cards/TestimonialCard.d.ts +0 -22
- package/dist/components/cards/TestimonialCard.js +0 -66
- package/dist/components/cards/TestimonialCard.js.map +0 -1
- package/dist/components/cards/YoutubeCard.d.ts +0 -14
- package/dist/components/cards/YoutubeCard.js +0 -85
- package/dist/components/cards/YoutubeCard.js.map +0 -1
- package/dist/components/carousel/CarouselStyled.d.ts +0 -62
- package/dist/components/carousel/CarouselStyled.js +0 -31
- package/dist/components/carousel/CarouselStyled.js.map +0 -1
- package/dist/components/carousel/Carrossel.d.ts +0 -15
- package/dist/components/carousel/Carrossel.js +0 -113
- package/dist/components/carousel/Carrossel.js.map +0 -1
- package/dist/components/containers/ContainerAnimatedIndex.d.ts +0 -6
- package/dist/components/containers/ContainerAnimatedIndex.js +0 -11
- package/dist/components/containers/ContainerAnimatedIndex.js.map +0 -1
- package/dist/components/containers/ContainerAnimatedScroll.d.ts +0 -9
- package/dist/components/containers/ContainerAnimatedScroll.js +0 -10
- package/dist/components/containers/ContainerAnimatedScroll.js.map +0 -1
- package/dist/components/containers/ContainerSafe.d.ts +0 -6
- package/dist/components/containers/ContainerSafe.js +0 -78
- package/dist/components/containers/ContainerSafe.js.map +0 -1
- package/dist/components/containers/containerStyled.d.ts +0 -1
- package/dist/components/containers/containerStyled.js +0 -10
- package/dist/components/containers/containerStyled.js.map +0 -1
- package/dist/components/footer/Copywrite.d.ts +0 -10
- package/dist/components/footer/Copywrite.js +0 -23
- package/dist/components/footer/Copywrite.js.map +0 -1
- package/dist/components/footer/CopywriteCenter.d.ts +0 -9
- package/dist/components/footer/CopywriteCenter.js +0 -34
- package/dist/components/footer/CopywriteCenter.js.map +0 -1
- package/dist/components/footer/Footer.d.ts +0 -10
- package/dist/components/footer/Footer.js +0 -41
- package/dist/components/footer/Footer.js.map +0 -1
- package/dist/components/footer/NotificationBar.d.ts +0 -13
- package/dist/components/footer/NotificationBar.js +0 -57
- package/dist/components/footer/NotificationBar.js.map +0 -1
- package/dist/components/footer/SiteMap.d.ts +0 -9
- package/dist/components/footer/SiteMap.js +0 -24
- package/dist/components/footer/SiteMap.js.map +0 -1
- package/dist/components/footer/footerStyled.d.ts +0 -8
- package/dist/components/footer/footerStyled.js +0 -62
- package/dist/components/footer/footerStyled.js.map +0 -1
- package/dist/components/form/Form.d.ts +0 -17
- package/dist/components/form/Form.js +0 -96
- package/dist/components/form/Form.js.map +0 -1
- package/dist/components/form/FormStyled.d.ts +0 -27
- package/dist/components/form/FormStyled.js +0 -95
- package/dist/components/form/FormStyled.js.map +0 -1
- package/dist/components/header/HeaderBarIn.d.ts +0 -15
- package/dist/components/header/HeaderBarIn.js +0 -40
- package/dist/components/header/HeaderBarIn.js.map +0 -1
- package/dist/components/header/HeaderBarTop.d.ts +0 -12
- package/dist/components/header/HeaderBarTop.js +0 -30
- package/dist/components/header/HeaderBarTop.js.map +0 -1
- package/dist/components/section/Section.d.ts +0 -9
- package/dist/components/section/Section.js +0 -19
- package/dist/components/section/Section.js.map +0 -1
- package/dist/components/section/SectionGradiente.d.ts +0 -9
- package/dist/components/section/SectionGradiente.js +0 -19
- package/dist/components/section/SectionGradiente.js.map +0 -1
- package/dist/components/section/SectionImage.d.ts +0 -7
- package/dist/components/section/SectionImage.js +0 -21
- package/dist/components/section/SectionImage.js.map +0 -1
- package/dist/components/section/SectionStyled.d.ts +0 -9
- package/dist/components/section/SectionStyled.js +0 -46
- package/dist/components/section/SectionStyled.js.map +0 -1
- package/dist/components/social_media/SocialMediaIconLink.d.ts +0 -8
- package/dist/components/social_media/SocialMediaIconLink.js +0 -13
- package/dist/components/social_media/SocialMediaIconLink.js.map +0 -1
- package/dist/components/social_media/SocialMediaIconLinkWithBorder.d.ts +0 -12
- package/dist/components/social_media/SocialMediaIconLinkWithBorder.js +0 -18
- package/dist/components/social_media/SocialMediaIconLinkWithBorder.js.map +0 -1
- package/dist/components/substask/SubstackPage.d.ts +0 -5
- package/dist/components/substask/SubstackPage.js +0 -22
- package/dist/components/substask/SubstackPage.js.map +0 -1
- package/dist/components/substask/SubstackPosts.d.ts +0 -9
- package/dist/components/substask/SubstackPosts.js +0 -6
- package/dist/components/substask/SubstackPosts.js.map +0 -1
- package/dist/components/text/IconText.d.ts +0 -11
- package/dist/components/text/IconText.js +0 -26
- package/dist/components/text/IconText.js.map +0 -1
- package/dist/components/text/InfiniteTicker.d.ts +0 -15
- package/dist/components/text/InfiniteTicker.js +0 -49
- package/dist/components/text/InfiniteTicker.js.map +0 -1
- package/dist/components/text/SpanStyled.d.ts +0 -6
- package/dist/components/text/SpanStyled.js +0 -34
- package/dist/components/text/SpanStyled.js.map +0 -1
- package/dist/components/text/TextWithSeparador.d.ts +0 -7
- package/dist/components/text/TextWithSeparador.js +0 -9
- package/dist/components/text/TextWithSeparador.js.map +0 -1
- package/dist/hooks/useResponsive.d.ts +0 -9
- package/dist/hooks/useResponsive.js +0 -14
- package/dist/hooks/useResponsive.js.map +0 -1
- package/dist/hooks/useResponsiveCarousel.d.ts +0 -15
- package/dist/hooks/useResponsiveCarousel.js +0 -36
- package/dist/hooks/useResponsiveCarousel.js.map +0 -1
- package/dist/types/AnimatedCardData.d.ts +0 -6
- package/dist/types/AnimatedCardData.js +0 -2
- package/dist/types/AnimatedCardData.js.map +0 -1
- package/dist/types/BannerResponsiveConfig.d.ts +0 -4
- package/dist/types/BannerResponsiveConfig.js +0 -2
- package/dist/types/BannerResponsiveConfig.js.map +0 -1
- package/dist/types/ItemMenuConfig.d.ts +0 -4
- package/dist/types/ItemMenuConfig.js +0 -2
- package/dist/types/ItemMenuConfig.js.map +0 -1
- package/dist/types/ShadowConfig.d.ts +0 -6
- package/dist/types/ShadowConfig.js +0 -2
- package/dist/types/ShadowConfig.js.map +0 -1
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect, useRef, useState } from 'react';
|
|
3
|
-
import { motion } from 'framer-motion';
|
|
4
|
-
import { ChevronLeft, ChevronRight } from '@mui/icons-material';
|
|
5
|
-
import { styled } from '@mui/material';
|
|
6
|
-
const CarouselWrapper = styled('div')(() => ({
|
|
7
|
-
position: 'relative',
|
|
8
|
-
width: '100%',
|
|
9
|
-
margin: '0 auto',
|
|
10
|
-
overflow: 'hidden',
|
|
11
|
-
'@media (min-width:1921px)': { maxWidth: '1920px' },
|
|
12
|
-
'@media (min-width:1280px) and (max-width:1920px)': { maxWidth: '1200px' },
|
|
13
|
-
'@media (min-width:960px) and (max-width:1279px)': { maxWidth: '940px' },
|
|
14
|
-
'@media (min-width:600px) and (max-width:959px)': { maxWidth: '600px' },
|
|
15
|
-
'@media (max-width:599px)': { maxWidth: '340px' },
|
|
16
|
-
}));
|
|
17
|
-
const CarouselContainer = styled(motion.div)(() => ({
|
|
18
|
-
display: 'flex',
|
|
19
|
-
gap: '24px',
|
|
20
|
-
}));
|
|
21
|
-
const ButtonContainer = styled(motion.div)(() => ({
|
|
22
|
-
display: 'flex',
|
|
23
|
-
width: '100%',
|
|
24
|
-
alignItems: 'center',
|
|
25
|
-
justifyContent: 'flex-end',
|
|
26
|
-
padding: '16px 8px',
|
|
27
|
-
boxSizing: 'border-box',
|
|
28
|
-
}));
|
|
29
|
-
const ButtonStyle = styled('button', {
|
|
30
|
-
shouldForwardProp: (prop) => !['background_color', 'background_color_hover', 'color', 'color_hover', 'border_radius'].includes(prop),
|
|
31
|
-
})(({ background_color, background_color_hover, color, color_hover, border_radius }) => ({
|
|
32
|
-
backgroundColor: background_color,
|
|
33
|
-
color: color,
|
|
34
|
-
border: 'none',
|
|
35
|
-
padding: '8px',
|
|
36
|
-
cursor: 'pointer',
|
|
37
|
-
borderRadius: border_radius,
|
|
38
|
-
transition: 'all 0.3s ease',
|
|
39
|
-
'&:hover': {
|
|
40
|
-
backgroundColor: background_color_hover,
|
|
41
|
-
color: color_hover,
|
|
42
|
-
},
|
|
43
|
-
}));
|
|
44
|
-
const PaginationWrapper = styled('div')(() => ({
|
|
45
|
-
display: 'flex',
|
|
46
|
-
justifyContent: 'center',
|
|
47
|
-
gap: '8px',
|
|
48
|
-
marginTop: '16px',
|
|
49
|
-
}));
|
|
50
|
-
const Dot = styled('button', {
|
|
51
|
-
shouldForwardProp: (prop) => prop !== 'active',
|
|
52
|
-
})(({ active, color }) => ({
|
|
53
|
-
width: '10px',
|
|
54
|
-
height: '10px',
|
|
55
|
-
borderRadius: '50%',
|
|
56
|
-
border: 'none',
|
|
57
|
-
backgroundColor: active ? color : '#ccc',
|
|
58
|
-
transition: 'background-color 0.3s',
|
|
59
|
-
cursor: 'pointer',
|
|
60
|
-
'&:hover': {
|
|
61
|
-
backgroundColor: color,
|
|
62
|
-
},
|
|
63
|
-
}));
|
|
64
|
-
const Carrossel = ({ children, cardsCount, cardWidth, background_color_button, background_color_hover_button, color_button, color_hover_button, color_dot_active, border_radius_button, texto, }) => {
|
|
65
|
-
const wrapperRef = useRef(null);
|
|
66
|
-
const [position, setPosition] = useState(0);
|
|
67
|
-
const [maxOffset, setMaxOffset] = useState(0);
|
|
68
|
-
const [visibleCards, setVisibleCards] = useState(1);
|
|
69
|
-
const [currentPage, setCurrentPage] = useState(0);
|
|
70
|
-
const GAP = 24;
|
|
71
|
-
useEffect(() => {
|
|
72
|
-
const calculateVisibleCards = () => {
|
|
73
|
-
if (wrapperRef.current) {
|
|
74
|
-
const wrapperWidth = wrapperRef.current.offsetWidth;
|
|
75
|
-
const totalCardWidth = (cardWidth + GAP) * cardsCount;
|
|
76
|
-
const maxScroll = wrapperWidth - totalCardWidth;
|
|
77
|
-
const visible = Math.floor(wrapperWidth / (cardWidth + GAP));
|
|
78
|
-
setVisibleCards(visible > 0 ? visible : 1);
|
|
79
|
-
setMaxOffset(maxScroll < 0 ? maxScroll : 0);
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
calculateVisibleCards();
|
|
83
|
-
const resizeObserver = new ResizeObserver(() => {
|
|
84
|
-
calculateVisibleCards();
|
|
85
|
-
});
|
|
86
|
-
if (wrapperRef.current) {
|
|
87
|
-
resizeObserver.observe(wrapperRef.current);
|
|
88
|
-
}
|
|
89
|
-
return () => {
|
|
90
|
-
resizeObserver.disconnect();
|
|
91
|
-
};
|
|
92
|
-
}, [cardsCount, cardWidth]);
|
|
93
|
-
const totalPages = Math.ceil(cardsCount / visibleCards);
|
|
94
|
-
const goToPage = (pageIndex) => {
|
|
95
|
-
const newPosition = -((cardWidth + GAP) * visibleCards * pageIndex);
|
|
96
|
-
const clamped = Math.max(newPosition, maxOffset);
|
|
97
|
-
setPosition(clamped);
|
|
98
|
-
setCurrentPage(pageIndex);
|
|
99
|
-
};
|
|
100
|
-
const handlePrev = () => {
|
|
101
|
-
if (currentPage > 0) {
|
|
102
|
-
goToPage(currentPage - 1);
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
const handleNext = () => {
|
|
106
|
-
if (currentPage < totalPages - 1) {
|
|
107
|
-
goToPage(currentPage + 1);
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
return (_jsxs(CarouselWrapper, { ref: wrapperRef, children: [_jsxs(ButtonContainer, { children: [texto && _jsx("span", { style: { flex: 1 }, children: texto }), _jsx(ButtonStyle, { onClick: handlePrev, background_color: background_color_button, background_color_hover: background_color_hover_button, color: color_button, color_hover: color_hover_button, border_radius: border_radius_button, children: _jsx(ChevronLeft, {}) }), _jsx(ButtonStyle, { onClick: handleNext, background_color: background_color_button, background_color_hover: background_color_hover_button, color: color_button, color_hover: color_hover_button, border_radius: border_radius_button, children: _jsx(ChevronRight, {}) })] }), _jsx(CarouselContainer, { animate: { x: position }, transition: { type: 'spring', stiffness: 300, damping: 30 }, drag: "x", dragConstraints: { left: maxOffset, right: 0 }, whileTap: { cursor: 'grabbing' }, children: children }), _jsx(PaginationWrapper, { children: Array.from({ length: totalPages }).map((_, index) => (_jsx(Dot, { color: color_dot_active, active: index === currentPage, onClick: () => goToPage(index) }, index))) })] }));
|
|
111
|
-
};
|
|
112
|
-
export default Carrossel;
|
|
113
|
-
//# sourceMappingURL=Carrossel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Carrossel.js","sourceRoot":"","sources":["../../../src/components/carousel/Carrossel.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAa,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;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gB,EAAE,uBAAuB,EACzC,sBAAsB,EAAE,6BAA6B,EACrD,KAAK,EAAE,YAAY,EACnB,WAAW,EAAE,kBAAkB,EAC/B,aAAa,EAAE,oBAAoB,YAEnC,KAAC,YAAY,KAAG,GACJ,IACE,EAElB,KAAC,iBAAiB,IAChB,OAAO,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,EACxB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,EAC3D,IAAI,EAAC,GAAG,EACR,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,EAC9C,QAAQ,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,YAE/B,QAAQ,GACS,EAEpB,KAAC,iBAAiB,cACf,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACpD,KAAC,GAAG,IAAC,KAAK,EAAE,gBAAgB,EAE1B,MAAM,EAAE,KAAK,KAAK,WAAW,EAC7B,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,IAFzB,KAAK,CAGV,CACH,CAAC,GACgB,IACJ,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { motion, useInView } from 'framer-motion';
|
|
4
|
-
import { useRef } from 'react';
|
|
5
|
-
const ContainerAnimatedIndex = ({ children, index = 0 }) => {
|
|
6
|
-
const ref = useRef(null);
|
|
7
|
-
const isInView = useInView(ref, { once: true });
|
|
8
|
-
return (_jsx(motion.div, { ref: ref, initial: { opacity: 0, y: 30 }, animate: isInView ? { opacity: 1, y: 0 } : {}, transition: { duration: 0.6, delay: index * 0.15, ease: 'easeOut' }, children: children }));
|
|
9
|
-
};
|
|
10
|
-
export default ContainerAnimatedIndex;
|
|
11
|
-
//# sourceMappingURL=ContainerAnimatedIndex.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerAnimatedIndex.js","sourceRoot":"","sources":["../../../src/components/containers/ContainerAnimatedIndex.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAO/B,MAAM,sBAAsB,GAA0C,CAAC,EACrE,QAAQ,EAAE,KAAK,GAAG,CAAC,EACpB,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IACzB,MAAM,QAAQ,GAAG,SAAS,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;IAEhD,OAAO,CACL,KAAC,MAAM,CAAC,GAAG,IACT,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAC9B,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAC7C,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,YAElE,QAAQ,GACE,CACd,CAAC;AACJ,CAAC,CAAA;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
type ContainerAnimatedScrollProps = {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
duration?: number;
|
|
5
|
-
delay?: number;
|
|
6
|
-
offsetY?: number;
|
|
7
|
-
};
|
|
8
|
-
export default function ContainerAnimatedScroll({ children, duration, delay, offsetY, }: ContainerAnimatedScrollProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { motion, useInView } from 'framer-motion';
|
|
4
|
-
import { useRef } from 'react';
|
|
5
|
-
export default function ContainerAnimatedScroll({ children, duration = 0.8, delay = 0, offsetY = 50, }) {
|
|
6
|
-
const ref = useRef(null);
|
|
7
|
-
const isInView = useInView(ref, { once: true, margin: '-100px' });
|
|
8
|
-
return (_jsx(motion.div, { ref: ref, initial: { opacity: 0, y: offsetY }, animate: isInView ? { opacity: 1, y: 0 } : {}, transition: { duration, delay, ease: 'easeOut' }, children: children }));
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=ContainerAnimatedScroll.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerAnimatedScroll.js","sourceRoot":"","sources":["../../../src/components/containers/ContainerAnimatedScroll.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,MAAM,EAAa,MAAM,OAAO,CAAC;AAS1C,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAC9C,QAAQ,EACR,QAAQ,GAAG,GAAG,EACd,KAAK,GAAG,CAAC,EACT,OAAO,GAAG,EAAE,GACiB;IAE7B,MAAM,GAAG,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAC;IAChD,MAAM,QAAQ,GAAG,SAAS,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAElE,OAAO,CACL,KAAC,MAAM,CAAC,GAAG,IACT,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,EACnC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAC7C,UAAU,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,YAE/C,QAAQ,GACE,CACd,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const ContainerSafe: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2
|
-
export declare const ContainerSafeSemMargem: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
-
export declare const ContainerSafeSection: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
4
|
-
border_radius: string;
|
|
5
|
-
background_color: string;
|
|
6
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { styled } from '@mui/material/styles';
|
|
2
|
-
export const ContainerSafe = styled('div')(({ theme }) => ({
|
|
3
|
-
margin: '48px 0px',
|
|
4
|
-
// Breakpoints definidos utilizando o tema
|
|
5
|
-
[theme.breakpoints.down('sm')]: {
|
|
6
|
-
// Para telas menores que 600px
|
|
7
|
-
width: 'calc(100% - 32px)',
|
|
8
|
-
},
|
|
9
|
-
[theme.breakpoints.up('sm')]: {
|
|
10
|
-
// Para telas maiores que 600px
|
|
11
|
-
width: 'calc(100% - 48px)',
|
|
12
|
-
},
|
|
13
|
-
[theme.breakpoints.up('md')]: {
|
|
14
|
-
// Para telas maiores que 960px
|
|
15
|
-
width: 'calc(100% - 54px)',
|
|
16
|
-
},
|
|
17
|
-
[theme.breakpoints.up('lg')]: {
|
|
18
|
-
// Para telas maiores que 1280px
|
|
19
|
-
width: '1200px',
|
|
20
|
-
},
|
|
21
|
-
[theme.breakpoints.up('xl')]: {
|
|
22
|
-
// Para telas maiores que 1920px
|
|
23
|
-
width: '1200px',
|
|
24
|
-
},
|
|
25
|
-
}));
|
|
26
|
-
export const ContainerSafeSemMargem = styled('div')(({ theme }) => ({
|
|
27
|
-
margin: '0px 0px',
|
|
28
|
-
zIndex: 1,
|
|
29
|
-
height: '100%',
|
|
30
|
-
position: 'relative',
|
|
31
|
-
// Breakpoints para diferentes larguras de tela
|
|
32
|
-
[theme.breakpoints.down('sm')]: {
|
|
33
|
-
width: 'calc(100% - 32px)', // Menor que 600px
|
|
34
|
-
},
|
|
35
|
-
[theme.breakpoints.up('sm')]: {
|
|
36
|
-
width: 'calc(100% - 48px)', // Entre 600px e 960px
|
|
37
|
-
},
|
|
38
|
-
[theme.breakpoints.up('md')]: {
|
|
39
|
-
width: 'calc(100% - 54px)', // Entre 960px e 1280px
|
|
40
|
-
},
|
|
41
|
-
[theme.breakpoints.up('lg')]: {
|
|
42
|
-
width: '1200px', // Entre 1280px e 1920px
|
|
43
|
-
},
|
|
44
|
-
[theme.breakpoints.up('xl')]: {
|
|
45
|
-
width: '1200px', // Acima de 1920px
|
|
46
|
-
},
|
|
47
|
-
}));
|
|
48
|
-
export const ContainerSafeSection = styled('div', {
|
|
49
|
-
shouldForwardProp: (prop) => !['border_radius', 'background_color'].includes(prop),
|
|
50
|
-
})(({ theme, border_radius, background_color }) => ({
|
|
51
|
-
margin: '48px 0px',
|
|
52
|
-
height: '100%',
|
|
53
|
-
gap: '24px',
|
|
54
|
-
display: 'flex',
|
|
55
|
-
flexDirection: 'row',
|
|
56
|
-
flexWrap: 'wrap',
|
|
57
|
-
alignItems: 'flex-start',
|
|
58
|
-
justifyContent: 'center',
|
|
59
|
-
width: '100%',
|
|
60
|
-
borderRadius: border_radius,
|
|
61
|
-
backgroundColor: background_color,
|
|
62
|
-
[theme.breakpoints.down('sm')]: {
|
|
63
|
-
width: 'calc(100% - 32px)',
|
|
64
|
-
},
|
|
65
|
-
[theme.breakpoints.up('sm')]: {
|
|
66
|
-
width: 'calc(100% - 48px)',
|
|
67
|
-
},
|
|
68
|
-
[theme.breakpoints.up('md')]: {
|
|
69
|
-
width: 'calc(100% - 54px)',
|
|
70
|
-
},
|
|
71
|
-
[theme.breakpoints.up('lg')]: {
|
|
72
|
-
width: '1200px',
|
|
73
|
-
},
|
|
74
|
-
[theme.breakpoints.up('xl')]: {
|
|
75
|
-
width: '1200px',
|
|
76
|
-
},
|
|
77
|
-
}));
|
|
78
|
-
//# sourceMappingURL=ContainerSafe.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerSafe.js","sourceRoot":"","sources":["../../../src/components/containers/ContainerSafe.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACzD,MAAM,EAAE,UAAU;IAElB,0CAA0C;IAC1C,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;QAC9B,+BAA+B;QAC/B,KAAK,EAAE,mBAAmB;KAC3B;IACD,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;QAC5B,+BAA+B;QAC/B,KAAK,EAAE,mBAAmB;KAC3B;IACD,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;QAC5B,+BAA+B;QAC/B,KA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AE,EAAE,CAC1B,CAAC,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CAClE,CAAC,CAGC,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,EAAE,EAAE,CAAC,CAAC;IAElD,MAAM,EAAE,UAAU;IAClB,MAAM,EAAE,MAAM;IACd,GAAG,EAAE,MAAM;IACX,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,KAAK;IACpB,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,QAAQ;IACxB,KAAK,EAAE,MAAM;IACb,YAAY,EAAE,aAAa;IAC3B,eAAe,EAAE,gBAAgB;IAEjC,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;QAC9B,KAAK,EAAE,mBAAmB;KAC3B;IACD,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;QAC5B,KAAK,EAAE,mBAAmB;KAC3B;IACD,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;QAC5B,KAAK,EAAE,mBAAmB;KAC3B;IACD,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;QAC5B,KAAK,EAAE,QAAQ;KAChB;IACD,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;QAC5B,KAAK,EAAE,QAAQ;KAChB;CACF,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ContainerList: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { styled } from "@mui/material";
|
|
2
|
-
export const ContainerList = styled('div')(() => ({
|
|
3
|
-
display: 'flex',
|
|
4
|
-
flexDirection: 'column',
|
|
5
|
-
justifyContent: 'center',
|
|
6
|
-
alignItems: 'flex-start',
|
|
7
|
-
gap: '16px',
|
|
8
|
-
width: '100%',
|
|
9
|
-
}));
|
|
10
|
-
//# sourceMappingURL=containerStyled.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"containerStyled.js","sourceRoot":"","sources":["../../../src/components/containers/containerStyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IAC9C,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,cAAc,EAAE,QAAQ;IACxB,UAAU,EAAE,YAAY;IACxB,GAAG,EAAE,MAAM;IACX,KAAK,EAAE,MAAM;CAChB,CAAC,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface CopywriteProps {
|
|
3
|
-
ano: string;
|
|
4
|
-
color_border: string;
|
|
5
|
-
color: string;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
color_link_pipeline: string;
|
|
8
|
-
}
|
|
9
|
-
declare const Copywrite: React.FC<CopywriteProps>;
|
|
10
|
-
export default Copywrite;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Box, styled } from '@mui/material';
|
|
3
|
-
import { StyledSpanBody1 } from '../text/SpanStyled';
|
|
4
|
-
import NavigationButton from '../button/NavigationButton';
|
|
5
|
-
const ContentWrapStyled = styled('div', {
|
|
6
|
-
shouldForwardProp: (prop) => !['color_border'].includes(prop),
|
|
7
|
-
})(({ color_border }) => ({
|
|
8
|
-
width: '100%',
|
|
9
|
-
height: '100%',
|
|
10
|
-
gap: '24px',
|
|
11
|
-
display: 'flex',
|
|
12
|
-
flexDirection: 'row',
|
|
13
|
-
flexWrap: 'wrap',
|
|
14
|
-
alignItems: 'flex-start',
|
|
15
|
-
justifyContent: 'flex-start',
|
|
16
|
-
borderTopStyle: 'solid',
|
|
17
|
-
borderTopWidth: '1px',
|
|
18
|
-
padding: '16px',
|
|
19
|
-
borderTopColor: color_border,
|
|
20
|
-
}));
|
|
21
|
-
const Copywrite = ({ ano, color_border, color, children, color_link_pipeline }) => (_jsxs(ContentWrapStyled, { color_border: color_border, children: [_jsx(Box, { children: _jsxs(StyledSpanBody1, { text_color: color, children: ["Copyright \u00A9", ano, " todos os direitos reservados."] }) }), _jsx(Box, { flex: 1, children: _jsxs(StyledSpanBody1, { text_color: color, children: ["Criado por ", _jsx(NavigationButton, { url: 'https://pipelinesolucoes.com.br/', color: color_link_pipeline, aria_label: 'link Pipeline Solu\u00E7\u00F5es', text_decoration: 'none', layout: 'link', width: 'auto', children: "Pipeline Solu\u00E7\u00F5es" })] }) }), _jsx(Box, { children: children })] }));
|
|
22
|
-
export default Copywrite;
|
|
23
|
-
//# sourceMappingURL=Copywrite.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Copywrite.js","sourceRoot":"","sources":["../../../src/components/footer/Copywrite.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,gBAAgB,MAAM,4BAA4B,CAAC;AAM1D,MAAM,iBAAiB,GAAG,MAAM,CAAC,KAAK,EAAE;IACtC,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CAC7C,CAAC,CAAkB,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,CAAC;IACzC,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;IACd,GAAG,EAAE,MAAM;IACX,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,KAAK;IACpB,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,YAAY;IAC5B,cAAc,EAAE,OAAO;IACvB,cAAc,EAAE,KAAK;IACrB,OAAO,EAAE,MAAM;IACf,cAAc,EAAE,YAAY;CAC7B,CAAC,CAAC,CAAC;AAUJ,MAAM,SAAS,GAA6B,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,EAAE,CAAC,CAEzG,MAAC,iBAAiB,IAAC,YAAY,EAAE,YAAY,aAC3C,KAAC,GAAG,cACF,MAAC,eAAe,IAAC,UAAU,EAAE,KAAK,iCACpB,GAAG,sCACC,GACd,EAEN,KAAC,GAAG,IAAC,IAAI,EAAE,CAAC,YACV,MAAC,eAAe,IAAC,UAAU,EAAE,KAAK,4BACrB,KAAC,gBAAgB,IAAC,GAAG,EAAC,kCAAkC,EACjE,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAC,kCAAwB,EAC/D,eAAe,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,EAAC,MAAM,4CAEhC,IACH,GACd,EAEN,KAAC,GAAG,cACD,QAAQ,GACL,IACY,CACvB,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { styled } from '@mui/material';
|
|
3
|
-
import NavigationButton from '../button/NavigationButton';
|
|
4
|
-
const ContentWrapStyled = styled('div', {
|
|
5
|
-
shouldForwardProp: (prop) => !['color_border', 'color_text'].includes(prop),
|
|
6
|
-
})(({ theme, color_border, color_text }) => {
|
|
7
|
-
var _a, _b, _c, _d, _e, _f;
|
|
8
|
-
return ({
|
|
9
|
-
width: '100%',
|
|
10
|
-
height: '100%',
|
|
11
|
-
gap: '24px',
|
|
12
|
-
display: 'flex',
|
|
13
|
-
flexDirection: 'row',
|
|
14
|
-
flexWrap: 'wrap',
|
|
15
|
-
alignItems: 'center',
|
|
16
|
-
justifyContent: 'center',
|
|
17
|
-
borderTopStyle: 'solid',
|
|
18
|
-
borderTopWidth: '1px',
|
|
19
|
-
padding: '16px',
|
|
20
|
-
borderTopColor: color_border,
|
|
21
|
-
// Tipografia
|
|
22
|
-
fontFamily: theme.typography.fontFamily,
|
|
23
|
-
fontWeight: (_a = theme.typography.body1) === null || _a === void 0 ? void 0 : _a.fontWeight,
|
|
24
|
-
fontStyle: (_b = theme.typography.body1) === null || _b === void 0 ? void 0 : _b.fontStyle,
|
|
25
|
-
lineHeight: (_c = theme.typography.body1) === null || _c === void 0 ? void 0 : _c.lineHeight,
|
|
26
|
-
letterSpacing: (_d = theme.typography.body1) === null || _d === void 0 ? void 0 : _d.letterSpacing,
|
|
27
|
-
fontSize: (_e = theme.typography.body1) === null || _e === void 0 ? void 0 : _e.fontSize,
|
|
28
|
-
margin: (_f = theme.typography.body1) === null || _f === void 0 ? void 0 : _f.margin,
|
|
29
|
-
color: color_text,
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
const CopywriteCenter = ({ ano, color_border, color, color_link_pipeline }) => (_jsxs(ContentWrapStyled, { color_border: color_border, color_text: color, children: [_jsxs("div", { children: ["Copyright \u00A9", ano, " todos os direitos reservados."] }), _jsxs("div", { children: ["Criado por ", _jsx(NavigationButton, { url: 'https://pipelinesolucoes.com.br/', color: color_link_pipeline, aria_label: 'link Pipeline Solu\u00E7\u00F5es', text_decoration: 'none', layout: 'link', width: 'auto', children: "Pipeline Solu\u00E7\u00F5es" })] })] }));
|
|
33
|
-
export default CopywriteCenter;
|
|
34
|
-
//# sourceMappingURL=CopywriteCenter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,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AA;CAAA,CAAC,CAAC;AASJ,MAAM,eAAe,GAA6B,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAE,EAAE,CAAC,CAErG,MAAC,iBAAiB,IAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,aAE5D,8CACc,GAAG,sCACX,EAEN,yCACa,KAAC,gBAAgB,IAAC,GAAG,EAAC,kCAAkC,EACjE,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAC,kCAAwB,EAC/D,eAAe,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,EAAC,MAAM,4CAEhC,IACf,IAEU,CACvB,CAAC;AAIF,eAAe,eAAe,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface FooterProps {
|
|
3
|
-
background_color: string;
|
|
4
|
-
renderColunas: () => React.ReactElement;
|
|
5
|
-
renderCopywriter: () => React.ReactElement;
|
|
6
|
-
}
|
|
7
|
-
export declare const ContainerFooter: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
-
export declare const ContentWrapStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
-
declare const Footer: React.FC<FooterProps>;
|
|
10
|
-
export default Footer;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Box, Container, Stack, styled } from '@mui/material';
|
|
3
|
-
import { ContainerSafe } from '../containers/ContainerSafe';
|
|
4
|
-
const FooterStyled = styled('div', {
|
|
5
|
-
shouldForwardProp: (prop) => !['background_color'].includes(prop),
|
|
6
|
-
})(({ background_color }) => ({
|
|
7
|
-
position: 'relative',
|
|
8
|
-
backgroundColor: background_color,
|
|
9
|
-
display: 'flex',
|
|
10
|
-
flexDirection: 'column',
|
|
11
|
-
alignItems: 'center',
|
|
12
|
-
justifyContent: 'center',
|
|
13
|
-
width: '100%',
|
|
14
|
-
height: 'auto'
|
|
15
|
-
}));
|
|
16
|
-
export const ContainerFooter = styled('div')(() => ({
|
|
17
|
-
position: 'relative',
|
|
18
|
-
display: 'flex',
|
|
19
|
-
flexDirection: 'column',
|
|
20
|
-
alignItems: 'center',
|
|
21
|
-
justifyContent: 'center',
|
|
22
|
-
width: '100%',
|
|
23
|
-
padding: '24px 0px 0px',
|
|
24
|
-
height: 'auto',
|
|
25
|
-
gap: '32px',
|
|
26
|
-
}));
|
|
27
|
-
export const ContentWrapStyled = styled('div')(() => ({
|
|
28
|
-
width: '100%',
|
|
29
|
-
height: '100%',
|
|
30
|
-
gap: '24px',
|
|
31
|
-
display: 'flex',
|
|
32
|
-
flexDirection: 'row',
|
|
33
|
-
flexWrap: 'wrap',
|
|
34
|
-
alignItems: 'flex-start',
|
|
35
|
-
justifyContent: 'flex-start',
|
|
36
|
-
}));
|
|
37
|
-
const Footer = ({ background_color, renderColunas, renderCopywriter }) => {
|
|
38
|
-
return (_jsx(FooterStyled, { background_color: background_color, children: _jsx(ContainerSafe, { children: _jsxs(ContainerFooter, { children: [_jsx(Container, { maxWidth: "lg", children: _jsx(Stack, { direction: { xs: 'column', md: 'row' }, spacing: 4, children: renderColunas() }) }), _jsx(Box, { display: 'flex', flexDirection: "row", alignItems: "center", justifyContent: "center", sx: { width: '100%' }, children: renderCopywriter() })] }) }) }));
|
|
39
|
-
};
|
|
40
|
-
export default Footer;
|
|
41
|
-
//# sourceMappingURL=Footer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/components/footer/Footer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG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CAAC,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAC,EAAE,EAAE;IAE/F,OAAO,CACL,KAAC,YAAY,IAAC,gBAAgB,EAAE,gBAAgB,YAC5C,KAAC,aAAa,cACV,MAAC,eAAe,eACZ,KAAC,SAAS,IAAC,QAAQ,EAAC,IAAI,YACtB,KAAC,KAAK,IAAC,SAAS,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,CAAC,YACtD,aAAa,EAAE,GACV,GACE,EACZ,KAAC,GAAG,IAAC,OAAO,EAAC,MAAM,EAAC,aAAa,EAAC,KAAK,EAAC,UAAU,EAAC,QAAQ,EAAC,cAAc,EAAC,QAAQ,EAAC,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YACtG,gBAAgB,EAAE,GACf,IACQ,GACN,GACL,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface NotificationBarProps {
|
|
3
|
-
show: boolean;
|
|
4
|
-
background_color: string;
|
|
5
|
-
background_color_button: string;
|
|
6
|
-
color_button: string;
|
|
7
|
-
text_button_accept: string;
|
|
8
|
-
text_button_notaccept: string;
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
border_radius_button?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const NotificationBar: React.FC<NotificationBarProps>;
|
|
13
|
-
export default NotificationBar;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Stack, Box, styled, Button } from '@mui/material';
|
|
4
|
-
import { useState } from 'react';
|
|
5
|
-
const Container = styled('div')(({ $show, $background_color }) => ({
|
|
6
|
-
position: 'fixed',
|
|
7
|
-
bottom: 0,
|
|
8
|
-
width: '100%',
|
|
9
|
-
backgroundColor: $background_color,
|
|
10
|
-
display: $show === 'true' ? 'block' : 'none',
|
|
11
|
-
zIndex: 4000,
|
|
12
|
-
}));
|
|
13
|
-
const ButtonBarStyled = styled(Button, {
|
|
14
|
-
shouldForwardProp: (prop) => !['background_color', 'text_color', 'border_radius'].includes(prop),
|
|
15
|
-
})(({ theme, background_color, text_color, border_radius }) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f;
|
|
17
|
-
return ({
|
|
18
|
-
color: text_color,
|
|
19
|
-
backgroundColor: background_color,
|
|
20
|
-
borderRadius: border_radius,
|
|
21
|
-
textTransform: 'none',
|
|
22
|
-
border: 'none',
|
|
23
|
-
cursor: 'pointer',
|
|
24
|
-
padding: '8px 24px',
|
|
25
|
-
boxShadow: 'none',
|
|
26
|
-
width: 'auto',
|
|
27
|
-
height: 'auto',
|
|
28
|
-
fontFamily: theme.typography.fontFamily,
|
|
29
|
-
fontWeight: (_a = theme.typography.body1) === null || _a === void 0 ? void 0 : _a.fontWeight,
|
|
30
|
-
fontStyle: (_b = theme.typography.body1) === null || _b === void 0 ? void 0 : _b.fontStyle,
|
|
31
|
-
lineHeight: (_c = theme.typography.body1) === null || _c === void 0 ? void 0 : _c.lineHeight,
|
|
32
|
-
letterSpacing: (_d = theme.typography.body1) === null || _d === void 0 ? void 0 : _d.letterSpacing,
|
|
33
|
-
fontSize: (_e = theme.typography.body1) === null || _e === void 0 ? void 0 : _e.fontSize,
|
|
34
|
-
margin: (_f = theme.typography.body1) === null || _f === void 0 ? void 0 : _f.margin,
|
|
35
|
-
'&:hover': {
|
|
36
|
-
backgroundColor: background_color,
|
|
37
|
-
opacity: 0.9,
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
const NotificationBar = ({ show, children, background_color, background_color_button, color_button, border_radius_button, text_button_accept, text_button_notaccept }) => {
|
|
42
|
-
const [showNotification, setShowNotification] = useState(show);
|
|
43
|
-
const borderRadiusButton = border_radius_button !== null && border_radius_button !== void 0 ? border_radius_button : '0px';
|
|
44
|
-
const handleAccept = () => {
|
|
45
|
-
// Lógica para salvar a aceitação do usuário pode ser adicionada aqui
|
|
46
|
-
show = false;
|
|
47
|
-
setShowNotification(false);
|
|
48
|
-
};
|
|
49
|
-
const handleNotAccept = () => {
|
|
50
|
-
// Lógica para salvar a aceitação do usuário pode ser adicionada aqui
|
|
51
|
-
show = false;
|
|
52
|
-
setShowNotification(false);
|
|
53
|
-
};
|
|
54
|
-
return (_jsx(Container, { "$show": showNotification.toString(), "$background_color": background_color, children: _jsxs(Stack, { direction: { xs: 'column', md: 'row' }, justifyContent: "center", alignItems: "center", sx: { padding: "16px", margin: { xs: "0px 16px", sm: "0px 40px" } }, children: [_jsx(Box, { sx: { flexGrow: 1 }, children: children }), _jsx(Box, { sx: { padding: "16px" }, children: _jsxs(Stack, { direction: 'row', justifyContent: "center", alignItems: "center", sx: { gap: "16px" }, children: [_jsx(ButtonBarStyled, { border_radius: borderRadiusButton, text_color: background_color_button, background_color: color_button, onClick: handleNotAccept, children: text_button_notaccept }), _jsx(ButtonBarStyled, { border_radius: borderRadiusButton, text_color: color_button, background_color: background_color_button, onClick: handleAccept, children: text_button_accept })] }) })] }) }));
|
|
55
|
-
};
|
|
56
|
-
export default NotificationBar;
|
|
57
|
-
//# sourceMappingURL=NotificationBar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationBar.js","sourceRoot":"","sources":["../../../src/components/footer/NotificationBar.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAc,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAEtC,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,CAG5B,CAAC,EAAE,KAAK,EAAE,iBAAiB,EAAE,EAAE,EAAE,CAAC,CAAC;IACpC,QAAQ,EAA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AAC,cAAc,EAAC,QAAQ,EAAC,UAAU,EAAC,QAAQ,EAAC,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,aAEpF,KAAC,eAAe,IACd,aAAa,EAAE,kBAAkB,EACjC,UAAU,EAAE,uBAAuB,EACnC,gBAAgB,EAAE,YAAY,EAC9B,OAAO,EAAE,eAAe,YACvB,qBAAqB,GACN,EAElB,KAAC,eAAe,IACd,aAAa,EAAE,kBAAkB,EACjC,UAAU,EAAE,YAAY,EACxB,gBAAgB,EAAE,uBAAuB,EACzC,OAAO,EAAE,YAAY,YACpB,kBAAkB,GACH,IAEZ,GACJ,IAEA,GACE,CAAC,CAAC;AACpB,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ItemMenuConfig } from '../../types/ItemMenuConfig';
|
|
3
|
-
interface SiteMapProps {
|
|
4
|
-
listaItemMenu: ItemMenuConfig[];
|
|
5
|
-
color: string;
|
|
6
|
-
color_hover: string;
|
|
7
|
-
}
|
|
8
|
-
declare const SiteMap: React.FC<SiteMapProps>;
|
|
9
|
-
export default SiteMap;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { useEffect } from 'react';
|
|
5
|
-
import NavigationButton from '../button/NavigationButton';
|
|
6
|
-
import { ContentColFooter } from './footerStyled';
|
|
7
|
-
import { StyledSpanBody1 } from '../text/SpanStyled';
|
|
8
|
-
const SiteMap = ({ listaItemMenu, color, color_hover }) => {
|
|
9
|
-
const [buttons, setButtons] = React.useState(null);
|
|
10
|
-
useEffect(() => {
|
|
11
|
-
if (listaItemMenu) {
|
|
12
|
-
const constructedButtons = listaItemMenu.map((item) => (_jsx(NavigationButton, { url: item.url, color: color, color_hover: color_hover, aria_label: `item menu ${item.text}`, layout: "link", width: "auto", text_decoration: "none", children: _jsx(StyledSpanBody1, { text_color: color, children: item.text }) }, item.url)));
|
|
13
|
-
setButtons(constructedButtons);
|
|
14
|
-
}
|
|
15
|
-
}, [listaItemMenu, color, color_hover]);
|
|
16
|
-
if (buttons) {
|
|
17
|
-
return (_jsx(ContentColFooter, { children: buttons }));
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
_jsx(ContentColFooter, { children: "carregando..." });
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
export default SiteMap;
|
|
24
|
-
//# sourceMappingURL=SiteMap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SiteMap.js","sourceRoot":"","sources":["../../../src/components/footer/SiteMap.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,gBAAgB,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAQrD,MAAM,OAAO,GAA2B,CAAC,EACrC,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,EAAE;IAEzC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ,CAA2B,IAAI,CAAC,CAAC;IAE3E,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,aAAa,EAAE,CAAC;YAElB,MAAM,kBAAkB,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAErD,KAAC,gBAAgB,IAEf,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,aAAa,IAAI,CAAC,IAAI,EAAE,EACpC,MAAM,EAAC,MAAM,EACb,KAAK,EAAC,MAAM,EACZ,eAAe,EAAC,MAAM,YAEtB,KAAC,eAAe,IAAC,UAAU,EAAE,KAAK,YAAG,IAAI,CAAC,IAAI,GAAmB,IAT5D,IAAI,CAAC,GAAG,CAUI,CACpB,CAAC,CAAC;YACH,UAAU,CAAC,kBAAkB,CAAC,CAAC;QACjC,CAAC;IACL,CAAC,EAAE,CAAC,aAAa,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC;IAExC,IAAI,OAAO,EAAC,CAAC;QACX,OAAO,CACL,KAAC,gBAAgB,cACd,OAAO,GACS,CACpB,CAAC;IACJ,CAAC;SACG,CAAC;QACH,KAAC,gBAAgB,gCAEE,CAAA;IACrB,CAAC;AACH,CAAC,CAAA;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface TitleFooterStyleProps {
|
|
2
|
-
textColor: string;
|
|
3
|
-
}
|
|
4
|
-
export declare const TitleFooterStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & TitleFooterStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const TitleFooterCenterToMobileStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & TitleFooterStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const ContentColFooter: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
-
export declare const ContentColCenterToMobileFooter: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
-
export {};
|