PageSourceSearch

https://app.iexfy.com/_next/static/chunks/pages/mmm/campaign/[camp…/user-management/report-8ac68de1a4ac19af.js

js iexfy.com collected 2026-09-24 14:46:37 UTC 8,265 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2047,1438],{85586:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mmm/campaign/[campaign-id]/user-management/report",function(){return l(82601)}])},82601:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return _},default:function(){return R}});var i=l(47568),a=l(10092),n=l(85893),s=l(63930),r=l(54269),o=l(5623),d=l(7514),c=l(23966),u=l(93508),x=l(30496),h=l(17497),w=l(89467),g=l(32912),f=h.StyleSheet.create({page:{flexDirection:"column",backgroundColor:"#fefefe",padding:"1.5cm"},pageHeader:{flexDirection:"row",alignItems:"center",justifyContent:"center",marginBottom:8},industryLogo:{height:20,marginRight:-50},reportTitle:{fontFamily:"Helvetica-Bold",width:"100%",textAlign:"center",fontSize:"12px"},table:{display:"flex",flexDirection:"column",width:"100%"},tableHead:{borderBottom:"1px solid #000000"},tableBody:{},tableRow:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",width:"100%"},tableCell:{paddingVertical:2,paddingHorizontal:2,display:"flex",width:"6.5%",alignItems:"center"},textTableRowTitle:{fontFamily:"Helvetica-Bold",fontSize:"8px",alignSelf:"flex-start"},textTableRowData:{fontFamily:"Helvetica",fontSize:"6px"},section:{margin:10,padding:10,flexGrow:1},pageNumber:{fontFamily:"Helvetica",position:"absolute",fontSize:8,bottom:25,left:0,right:0,textAlign:"center"}}),y=function(e){var t=e.users,l=e.userLogged;return(0,n.jsx)(h.Document,{language:"pt-BR",author:"IEXFY",title:"Relat\xf3rio Gest\xe3o de Usu\xe1rios.pdf - 3M",children:(0,n.jsxs)(h.Page,{size:"A4",orientation:"landscape",style:f.page,children:[(0,n.jsxs)(h.View,{style:f.pageHeader,children:[(0,n.jsx)(h.Image,{src:"/images/mmm/logo.png",style:f.industryLogo}),(0,n.jsx)(h.Text,{style:f.reportTitle,children:"Relat\xf3rio | Gest\xe3o de Usu\xe1rios"})]}),(0,n.jsxs)(h.Text,{style:[f.textTableRowData,{paddingHorizontal:8,fontSize:"10px",marginTop:16,marginBottom:8}],children:["Data: ",(new Date).toLocaleString("pt-BR")]}),(0,n.jsx)(h.Text,{style:[f.textTableRowData,{paddingHorizontal:8,fontSize:"10px",marginBottom:12}],children:"Eu, ".concat((0,w.p)(l.name),", ").concat(l.profile.name," atesto que validei os status dos usu\xe1rios do(s) distribuidor(es) abaixo com acesso tanto a plataforma Web do PED quanto aos aplicativos Loja Perfeita e GE Express no m\xeas vigente.")}),(0,n.jsxs)(h.View,{style:f.table,children:[(0,n.jsx)(h.View,{style:f.tableHead,children:(0,n.jsxs)(h.View,{style:f.tableRow,children:[(0,n.jsx)(h.View,{style:[f.tableCell,{width:"22%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowTitle,{paddingHorizontal:2}],children:"Nome"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"18%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowTitle,{paddingHorizontal:2}],children:"E-mail"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"8%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowTitle,{paddingHorizontal:2,alignSelf:"center"}],children:"Tipo"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"8%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowTitle,{paddingHorizontal:2,alignSelf:"center"}],children:"Hierarquia"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"12%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowTitle,{paddingHorizontal:2,alignSelf:"center"}],children:"Distribuidor"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"8%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowTitle,{paddingHorizontal:2,alignSelf:"center"}],children:"Acessos"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"8%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowTitle,{paddingHorizontal:2,alignSelf:"center"}],children:"Status"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"8%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowTitle,{paddingHorizontal:2,alignSelf:"center"}],children:"\xdaltimo acesso mobile"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"8%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowTitle,{paddingHorizontal:2,alignSelf:"center"}],children:"\xdaltimo acesso web"})})]})}),(0,n.jsx)(h.View,{style:f.tableBody,children:t.map((function(e,t){var l;return(0,n.jsxs)(h.View,{style:[f.tableRow,{backgroundColor:t%2?"#f5f5f5":void 0}],wrap:!1,children:[(0,n.jsx)(h.View,{style:[f.tableCell,{width:"22%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowData,{alignSelf:"flex-start",paddingHorizontal:2}],children:(0,w.p)(e.user_name)})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"18%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowData,{alignSelf:"flex-start",paddingHorizontal:2}],children:e.user_email||"-"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"8%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowData,{alignSelf:"center",paddingHorizontal:2}],children:e.type||"-"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"8%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowData,{alignSelf:"center",paddingHorizontal:2}],children:e.profile_name||"-"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"12%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowData,{alignSelf:"center",paddingHorizontal:2}],children:e.industry_customer_name||"-"})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"8%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowData,{alignSelf:"center",paddingHorizontal:2}],children:e.access||"-"})}),(0,n.jsxs)(h.View,{style:[f.tableCell,{width:"8%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row"}],children:[(0,n.jsx)(h.View,{style:{width:"6px",height:"6px",borderRadius:"3px",marginRight:2,backgroundColor:2===e.status?"#FFD23B":0===e.status?"#E40000":1===e.status?"#008B61":void 0}}),(0,n.jsx)(h.Text,{style:f.textTableRowData,children:null===(l=x.statusOptions.find((function(t){return t.id===e.status})))||void 0===l?void 0:l.label})]}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"8%"}],children:(0,n.jsxs)(h.Text,{style:[f.textTableRowData,{alignSelf:"center",paddingHorizontal:2}],children:[" ",e.mobile_last_access?(0,g.Z)(new Date(e.mobile_last_access),"dd/MM/yyyy"):"-"]})}),(0,n.jsx)(h.View,{style:[f.tableCell,{width:"8%"}],children:(0,n.jsx)(h.Text,{style:[f.textTableRowData,{alignSelf:"center",paddingHorizontal:2}],children:e.web_last_access?(0,g.Z)(new Date(e.web_last_access),"dd/MM/yyyy"):"-"})})]},e.user_id)}))})]}),(0,n.jsx)(h.Text,{style:f.pageNumber,render:function(e){var t=e.pageNumber,l=e.totalPages;return"".concat(t," / ").concat(l)},fixed:!0})]})})},p=l(5152),b=l.n(p),m=l(11163),T=l(67294),j=b()((function(){return Promise.resolve().then(l.bind(l,17497)).then((function(e){return e.PDFViewer}))}),{loadableGenerated:{webpack:function(){return[17497]}},ssr:!1}),_=!0,R=function(e){var t=e.campaignId,l=(0,d.VY)().setAlert,x=(0,c.aC)().user,h=(0,m.useRouter)(),w=(0,T.useState)([]),g=w[0],f=w[1],p=(0,T.useState)(!1),b=p[0],_=p[1];(0,T.useEffect)((function(){var e=function(){var e=(0,i.Z)((function(){var e,t;return(0,a.__generator)(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,(0,s.Gn
1)(!0)];case 1:return e=l.sent(),"Em Andamento"===(null===(t=Array.isArray(e)?e[0]:e)||void 0===t?void 0:t.status)&&_(!0),[3,3];case 2:return l.sent(),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();e()}),[]);var R=(0,T.useCallback)((function(){l({message:"Exporta\xe7\xe3o dos question\xe1rios conclu\xedda!",alertType:"success",autoHideDuration:6e3}),_(!1)}),[l]),C=(0,T.useCallback)((function(){l({message:"Erro ao exportar question\xe1rios!",alertType:"error",autoHideDuration:6e3}),_(!1)}),[l]);(0,u.m)({enabled:b,onCompleted:R,onError:C}).status;return(0,T.useEffect)((function(){x&&(0,i.Z)((function(){var e;return(0,a.__generator)(this,(function(l){switch(l.label){case 0:return[4,(0,r.a8)({industry_customer_id:JSON.parse(h.query.industryCostumers||"[]"),status:[],access:[],type:[],name:"",campaign_id:t})];case 1:return e=l.sent(),f(e),[2]}}))}))()}),[x]),g.length?(0,n.jsx)(j,{style:{width:"100vw",height:"100vh"},children:(0,n.jsx)(y,{users:g,userLogged:x})}):(0,n.jsx)(o.Z,{})}},42480:function(){},19527:function(){},69331:function(){}},function(e){e.O(0,[2251,728,6708,4186,251,3970,8360,1664,210,3795,2055,2244,1179,135,1876,2912,1551,5393,5030,612,8170,9774,2888,179],(function(){return t=85586,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.