PageSourceSearch

https://dpcnet.com.br/js/view-minha-conta-new-pedidos-pedido-details-PedidoDetails.9e474f30.js

js dpcnet.com.br collected 2026-10-08 13:17:15 UTC 25,692 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkb2b"]=self["webpackChunkb2b"]||[]).push([[38,226,263,287,482,503,862,955],{5272:function(t,e,s){s.r(e),s.d(e,{default:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"pedido-action-buttons"},[t.showDetalhesPedido&&!t.seller?e("router-link",{staticClass:"btn btn-primary",attrs:{tag:"button",to:{name:"MinhaContaPedidoDetails",params:{orderId:t.orderId}}}},[t._v(" Detalhes do pedido ")]):t._e(),t.showDetalhesPedido&&t.seller?e("router-link",{staticClass:"btn btn-primary",attrs:{tag:"button",to:{name:"VendedorPedidoDetalhes",params:{orderId:t.orderId,customerId:t.customerId}}}},[t._v(" Detalhes do pedido ")]):t._e(),t._e(),t.showComprarNovamente?e("button",{staticClass:"btn btn-primary",on:{click:function(e){return t.$emit("clone-order",t.orderId)}}},[e("i",{staticClass:"mdi mdi-repeat"}),e("span",[t._v("Comprar novamente")])]):t._e(),e("div",{staticClass:"btn-group dropup"},[e("button",{staticClass:"btn btn-primary-outline dropdown-toggle",attrs:{disabled:!t.showDanfeXml,type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[e("span",[t._v("2ª via DANFE")])]),e("ul",{staticClass:"dropdown-menu"},[e("li",[e("button",{staticClass:"btn btn-link btn-sm dropdown-item",on:{click:function(e){return t.$emit("get-danfe",{orderId:t.orderId,customerId:t.customerId,type:"pdf"})}}},[t._v(" PDF ")])]),e("li",[e("button",{staticClass:"btn btn-link btn-sm dropdown-item",on:{click:function(e){return t.$emit("get-danfe",{orderId:t.orderId,customerId:t.customerId})}}},[t._v(" XML ")])])])]),t.showHelp?e("router-link",{staticClass:"btn btn-primary-outline",attrs:{tag:"button",to:{name:"Atendimento"}}},[e("span",[t._v("Preciso de ajuda")])]):t._e()],1)},i=[],r={name:"PedidoActionButtons",props:{orderId:{type:Number,required:!0},showDetalhesPedido:{type:Boolean,default:!0},showDetalhesEnvio:{type:Boolean,default:!0},showComprarNovamente:{type:Boolean,default:!0},showMakePayment:{type:Boolean,default:!1},showDanfeXml:{type:Boolean,default:!0},showHelp:{type:Boolean,default:!0},customerId:{type:Number,required:!0},seller:{type:Boolean,required:!1,default:!1}},computed:{}},o=r,d=s(1656),n=(0,d.A)(o,a,i,!1,null,"ab2cb53a",null),l=n.exports},5554:function(t,e,s){s.r(e),s.d(e,{default:function(){return g}});var a=function(){var t=this,e=t._self._c;return t.orderFound?e("div",[e("accordion",{staticClass:"pedido-details",attrs:{"open-by-default":!0}},[e("div",{staticClass:"pedido-details__header",attrs:{slot:"header"},slot:"header"},[e("span",[t._v("PEDIDO - #"+t._s(t.order.orderId)+" - "+t._s(t.order.date))])]),e("div",{attrs:{slot:"content"},slot:"content"},[t.orderFound?[e("div",{staticClass:"content__detailed-description"},[e("h5",[t._v(t._s(t.order.situationDescDetailed))])]),t.order.orderSituations?e("horizontal-timeline",{attrs:{events:t.order.orderSituations,"situation-type":t.order.situationType,"has-delivery-planned-date":!!t.order.deliveryPlannedDate}}):t._e(),e("center",{staticClass:"content__footer"},[e("pedido-action-buttons",{attrs:{"order-id":t.order.orderId,"customer-id":t.order.customerId,"show-detalhes-pedido":!1,"show-danfe-xml":t.order.situationId>=6&&10!=t.order.situationId&&7!=t.order.situationId&&14!=t.order.situationId,"show-detalhes-envio":8==t.order.situationId||9==t.order.situationId,"show-comprar-novamente":14!=t.order.situationId},on:{"get-danfe":function(e){return t.getDanfeMixin(e.orderId,e.customerId,e.type,t.order)},"clone-order":function(e){return t.cloneOrderMixin(e)}}})],1)]:t._e()],2)]),e("div",{staticClass:"pedido-details__info",attrs:{id:"payment-info"}},[t.paymentMethodHasTitulo?e("pedido-details-titles",{staticClass:"pedido-details__titles-pedido",attrs:{"order-id":t.orderId}}):t._e(),e("pedido-details-order-items",{staticClass:"pedido-details__itens-pedido",attrs:{"order-id":t.orderId}}),e("div",{staticClass:"pedido-details__pagamento"},[14==t.order.situationId?e("pedido-details-pending-payment",{attrs:{order:t.order}}):t._e(),e("pedido-details-payment",{attrs:{"order-totals":t.order.orderTotals,order:t.order}})],1)],1)],1):t._e()},i=[],r=s(7303),o=s(231),d=s(3289),n=s(191),l=s(8746),c=s(7932),_=s(9375),u=s(5272),m=(s(6716),{name:"PedidoDetails",components:{Accordion:r.A,HorizontalTimeline:o.A,PedidoDetailsOrderItems:n["default"],PedidoDetailsTitles:l["default"],PedidoDetailsPayment:_["default"],PedidoActionButtons:u["default"],PedidoDetailsPendingPayment:c["default"]},mixins:[d["default"]],data(){return{order:{},loadingOrderDetails:!1}},computed:{paymentMethodHasTitulo(){const t=[this.PAYMENT_METHODS.AVISTA,this.PAYMENT_METHODS.BOLETO];return t.includes(this.order.paymentMethodId)},orderId(){return Number(this.$route.params.orderId)},customerId(){return this.$store.getters.clienteAtual},orderFound(){return Object.keys(this.order).length>0}},watch:{customerId(t){t&&this.getOrderInfo()},orderId(t){t&&this.getOrderInfo()},loadingOrderDetails(t){this.$store.dispatch("setShowLoadingModal",[t,"PedidoDetails"])}},async created(){this.orderId||this.$router.push({name:"MinhaContaPedidos"}),this.customerId&&await this.getOrderInfo()},methods:{async getOrderInfo(){try{this.loadingOrderDetails=!0;const t=await this.getOrderMixin(this.customerId,this.orderId,null,null,null,null,null,null),[e]=t;e||(this.loadingOrderDetails=!1,this.$router.push({name:"MinhaContaCarrinhoSalvos"})),this.order=e||{}}catch(t){console.error(t)}this.loadingOrderDetails=!1}}}),p=m,v=s(1656),h=(0,v.A)(p,a,i,!1,null,"38e4d94f",null),g=h.exports},191:function(t,e,s){s.r(e),s.d(e,{default:function(){return p}});var a=function(){var t=this,e=t._self._c;return e("accordion",{staticClass:"order-items",attrs:{"open-by-default":!0}},[e("div",{attrs:{slot:"header"},slot:"header"},[t.order?.situationId>0||!t.order?[e("b",[t._v("ITENS DO PEDIDO ("+t._s(t.orderItems.length)+")")])]:[e("b",[t._v("ITENS DO CARRINHO ("+t._s(t.orderItems.length)+")")])]],2),t.orderItems.length>0||t.loadingItems||t.errorLoadingItems?e("template",{slot:"content"},[e("div",{staticClass:"order-items__search"},[e("search-box",{attrs:{placeholder:"Pesquisar...",size:"sm","search-term":t.searchTerm},on:{search:function(e){t.searchTerm=e}}})],1),e("div",{staticClass:"order-items__item-list"},t._l(t.filteredItems,function(s,a){return e("div",{key:a,staticClass:"order-items__item"},[e("div",{staticClass:"order-items__item-wrapper"},[e("router-link",{attrs:{tag:"a",to:{name:"produtoRota",params:{codigo:s.integracao_id}}}},[e("div",{staticClass:"order-items__img"},[e("img",{attrs:{src:s.src,alt:""}})])]),e("div",{staticClass:"order-items__product-info"},[e("router-link",{staticClass:"order-items__product-title",attrs:{tag:"a",to:{name:"produtoRota",params:{codigo:s.integracao_id}}}},[t._v(" "+t._s(t.toTitleCase(s.descricao))+" ")]),s.critica?e("div",{staticClass:"review-each"},[e("span",[t._v("Crítica:")]),e("strong",{staticClass:"review-strong warning"},[e("i",{staticClass:"fa fa-warning"}),t._v(" "+t._s(s.critica[0].critica)+" ")]),e("br"),e("span",[t._v("Resolução:")]),e("strong",{staticClass:"review-strong"},[t._v(t._s(s.critica[0].resolucao))])]):t._e(),e("div",{staticClass:"order-items__amount-detailed"},[e("small",[t._v(" Código: "),e("strong",[t._v(t._s(s.codigo_exibicao??s.integracao_id))]),t._v(" | Ean: "),e("strong",[t._v(t._s(s.ean))]),t._v(" | Emb.: "),e("strong",[t._v(t._s(s.embeantext))])]),t.order?.situationId>0||!t.order?[0==s.qtdatendida?e("form-alert",{attrs:{message:"Não atendido.",type:"danger"}}):t._e(),s.qtdatendida>0&&s.qtdatendida<s.qtdpedida?e("form-alert",{attrs:{message:`Dos ${t.formatQuantity(s.qtdpedida,s.decim,s.decim_num_casas)} itens solicitados, ${t.formatQuantity(s.qtdpedida-s.qtdatendida,s.decim,s.decim_num_casas)} não foram atendidos.`,type:"warning"}}):t._e()]:t._e(),e("small",[t._v(" Qtd.: "),e("strong",[t._v(t._s(t.formatQuantity(s.qtdatendida||s.qtdpedida,s.decim,s.decim_num_casas)))]),t._v(" x "),e("strong",[t._v("R$ "+t._s(t.mascaraValor(s.vlrunit)))]),e("span",{staticStyle:{cursor:"pointer"},on:{click:function(t){s.showDetailedPrice=!s.showDetailedPrice}}},[e("i",{staticClass:"mdi text-success",class:{"mdi-chevron-down":!s.showDetailedPrice,"mdi-chevron-up":s.showDetailedPrice}})])]),s.showDetailedPrice?[e("small",[t._v(" Produto: "),e("strong",[t._v("R$ "+t._s(t.mascaraValor(s.vlrproduto)))])]),e("small",[t._v(" Desconto: "),e("strong",[t._v("R$ "+t._s(t.mascaraValor(s.vlrdesconto)))])]),e("small",[t._v(" ICMS/ST: "),e("strong",[t._v("R$ "+t._s(t.mascaraValor(s.vlrst)))])]),e("small",[t._v(" ICMS Desonerado: "),e("strong",[t._v("R$ "+t._s(t.mascaraValor(s.vlrstdesonerado)))])])]:t._e()],2),e("div",{staticClass:"order-items__amount-total"},[t._v(" R$ "+t._s(t.mascaraValor(s.vlrtotal))+" ")]),s?.qtdbonificado>0?e("div",{staticClass:"order-items__amount-free"},[t._v(" Bônus: "+t._s(s.qtdbonificado)+" itens ")]):t._e()],1)],1)])}),0),t.loadingItems?e("center",[t._v("Carregando itens...")]):t.errorLoadingItems?e("center",[e
1("p",[t._v("Ocorreu um erro ao buscar os itens do pedido.")]),e("button",{staticClass:"btn btn-sm btn-primary",on:{click:t.getOrderItems}},[t._v(" Tentar novamente ")])]):t._e()],1):e("div",{attrs:{slot:"content"},slot:"content"},[e("h4",[t._v("O pedido não possui itens")])])],2)},i=[],r=s(7303),o=s(3289),d=s(2849),n=s(9765),l=s(746),c={name:"PedidoDetailsOrderItems",components:{SearchBox:n.A,Accordion:r.A,FormAlert:l.A},mixins:[o["default"]],props:{orderId:{type:Number,required:!0},order:{type:Object,required:!1}},data(){return{orderItems:[],searchTerm:"",loadingItems:!1,errorLoadingItems:!1}},computed:{filteredItems(){return this.orderItems.filter(t=>t.descricao.toLowerCase().includes(this.searchTerm.toLowerCase()))}},watch:{orderId(t){t&&this.getOrderItems()}},mounted(){this.getOrderItems()},methods:{toTitleCase:d.Sn,mascaraValor:d.nj,async getOrderItems(){this.errorLoadingItems=!1,this.loadingItems=!0;try{const t=await this.getOrderItemsMixin(this.orderId);this.orderItems=t}catch(t){console.error(t),this.errorLoadingItems=!0}this.loadingItems=!1},parseQuantity(t){return"string"===typeof t&&(t=t.replace(",",".")),parseFloat(t)},formatQuantity(t,e,s){const a=this.parseQuantity(t);return e?a.toFixed(s).replace(".",","):Math.round(a)}}},_=c,u=s(1656),m=(0,u.A)(_,a,i,!1,null,"fc4e2bb2",null),p=m.exports},9375:function(t,e,s){s.r(e),s.d(e,{default:function(){return _}});var a=function(){var t=this,e=t._self._c;return e("accordion",{attrs:{"open-by-default":!0}},[e("div",{attrs:{slot:"header"},slot:"header"},[e("b",[t._v("DETALHES DO PAGAMENTO")])]),e("div",{attrs:{slot:"content"},slot:"content"},[e("div",{staticClass:"pedido-totals__totals"},[e("div",{staticClass:"pedido-totals__item truncate"},[e("div",{staticClass:"pedido-totals__item-title"},[t._v("Tabela")]),e("div",{staticClass:"truncate"},[t._v(" "+t._s(t.order.tabVnd)+" ")])]),e("div",{staticClass:"pedido-totals__item truncate"},[e("div",{staticClass:"pedido-totals__item-title"},[t._v("Pagamento")]),e("div",{staticClass:"truncate"},[t._v(" "+t._s(t.order.paymentMethod)+" - "+t._s(t.order.paymentCondition)+" ")])]),14==t.order.situationId?e("div",{staticStyle:{color:"#e89715","text-align":"right"}},[e("small",[t._v("Pagamento pendente")])]):t._e(),e("hr"),e("div",{staticClass:"pedido-totals__item truncate"},[e("div",{staticClass:"pedido-totals__item-title"},[t._v("Produtos")]),e("div",{staticClass:"truncate"},[t._v("R$"+t._s(t.mascaraValor(t.orderTotals.products)))])]),e("div",{staticClass:"pedido-totals__item truncate"},[e("div",{staticClass:"pedido-totals__item-title"},[t._v("ICMS/ST")]),e("div",{staticClass:"truncate"},[t._v("R$"+t._s(t.mascaraValor(t.orderTotals.st)))])]),e("div",{staticClass:"pedido-totals__item truncate"},[e("div",{staticClass:"pedido-totals__item-title"},[t._v("ICMS Desonerado (-)")]),e("div",{staticClass:"truncate text-success"},[t._v(" - R$"+t._s(t.mascaraValor(t.orderTotals.stDesonerado))+" ")])]),e("div",{staticClass:"pedido-totals__item truncate"},[e("div",{staticClass:"pedido-totals__item-title"},[t._v("Desconto (-)")]),e("div",{staticClass:"truncate text-success"},[t._v(" - R$"+t._s(t.mascaraValor(t.orderTotals.discount))+" ")])]),e("div",{staticClass:"pedido-totals__item truncate"},[e("div",{staticClass:"pedido-totals__item-title"},[t._v("Entrega")]),e("div",{staticClass:"truncate"},[t._v("R$0,00")])]),e("div",{staticClass:"pedido-totals__item truncate mt-5"},[t.orderTotals.corte>0&&t.order.situationId>0?[e("div",{staticClass:"pedido-totals__item-title"},[t._v("Total Pedido")])]:[6,8,9,11].includes(t.order.situationId)?[e("div",{staticClass:"pedido-totals__item-title"},[t._v("Total Atendido")])]:[e("div",{staticClass:"pedido-totals__item-title"},[t._v("Total")])],e("div",{staticClass:"truncate"},[t._v("R$"+t._s(t.mascaraValor(t.orderTotals.total)))])],2),t.orderTotals.corte>0?[e("div",{staticClass:"pedido-totals__item truncate"},[e("div",{staticClass:"pedido-totals__item-title"},[t._v("Corte (-)")]),e("div",{staticClass:"truncate text-warning"},[t._v(" - R$ "+t._s(t.mascaraValor(t.orderTotals.corte))+" ")])]),e("div",{staticClass:"pedido-totals__item truncate mt-5"},[e("div",{staticClass:"pedido-totals__item-title"},[t._v("Total Atendido")]),e("div",{staticClass:"truncate"},[t._v(" R$"+t._s(t.mascaraValor(t.orderTotals.total_atendido))+" ")])])]:t._e()],2),0==t.order.situationId?e("div",[e("small",[t._v("* Valores desatualizados. Poderá sofrer alterações no fechamento do pedido. ")])]):t._e()])])},i=[],r=s(7303),o=s(2849),d={name:"PedidoDetailsTotalPago",components:{Accordion:r.A},props:{orderTotals:{type:Object,required:!0},order:{type:Object,required:!0}},methods:{mascaraValor:o.nj}},n=d,l=s(1656),c=(0,l.A)(n,a,i,!1,null,"c017158e",null),_=c.exports},7932:function(t,e,s){s.r(e),s.d(e,{default:function(){return m}});var a=function(){var t=this,e=t._self._c;return e("accordion",{staticClass:"order-titles",attrs:{"open-by-default":!0}},[e("div",{staticClass:"order-titles__header",attrs:{slot:"header"},slot:"header"},[e("b",[t._v("PAGAMENTO PENDENTE")])]),e("div",{attrs:{slot:"content"},slot:"content"},[t.showPaymentInstructions?[e("order-complete-pix",{attrs:{"pedido-id":t.order.orderId}})]:[e("p",{staticStyle:{"font-weight":"500"}},[t._v(" Finalize o pagamento de R$ "+t._s(t.mascaraValor(t.order.orderTotals.total))+" via "+t._s(t.order.paymentDescription)+" ")]),e("button",{staticClass:"btn btn-sm btn-primary",on:{click:function(e){t.showPaymentInstructions=!0}}},[t._v(" Ver instruções ")])]],2)])},i=[],r=s(7303),o=s(2849),d=s(3289),n=s(5449),l={name:"PedidoDetailsPendingPayment",components:{Accordion:r.A,OrderCompletePix:n.A},mixins:[d["default"]],props:{order:{type:Object/Array,required:!0}},data(){return{Titles:[],loadingTitles:!1,errorLoadingTitles:!1,showPaymentInstructions:!1}},computed:{},mounted(){console.log(this.order)},methods:{mascaraValor:o.nj}},c=l,_=s(1656),u=(0,_.A)(c,a,i,!1,null,"43d7a54c",null),m=u.exports},8746:function(t,e,s){s.r(e),s.d(e,{default:function(){return m}});var a=function(){var t=this,e=t._self._c;return e("accordion",{staticClass:"order-titles",attrs:{"open-by-default":!0}},[e("div",{attrs:{slot:"header"},slot:"header"},[e("b",[t._v("TITULOS DO PEDIDO ("+t._s(t.Titles.length)+")")])]),t.Titles.length>0||t.loadingTitles||t.errorLoadingTitles?e("template",{slot:"content"},[e("div",{staticClass:"order-titles__item-list"},t._l(t.Titles,function(t,s){return e("div",{key:s,staticClass:"order-titles__item"},[e("titulo",{attrs:{title:t}})],1)}),0),t.loadingTitles?e("center",[t._v("Carregando títulos...")]):t.errorLoadingTitles?e("center",[e
1("p",[t._v("Ocorreu um erro ao buscar os títulos do pedido.")]),e("button",{staticClass:"btn btn-sm btn-primary",on:{click:t.getTitles}},[t._v(" Tentar novamente ")])]):t._e()],1):e("div",{attrs:{slot:"content"},slot:"content"},[e("h4",[t._v("O pedido não possui títulos")])])],2)},i=[],r=s(7303),o=s(3875),d=s(1681),n=s(2849),l={name:"PedidoDetailsOrderTitles",components:{Accordion:r.A,Titulo:o["default"]},mixins:[d["default"]],props:{orderId:{type:Number,required:!0}},data(){return{Titles:[],loadingTitles:!1,errorLoadingTitles:!1}},computed:{customerId(){return this.$store.getters.user.selected}},watch:{customerId(t){t&&this.getTitles(!0)}},mounted(){this.customerId&&this.getTitles()},methods:{mascaraValor:n.nj,async getTitles(){this.errorLoadingTitles=!1,this.loadingTitles=!0;try{const t=await this.getTitleMixin(this.customerId,this.orderId);this.Titles=this.Titles.concat(t)}catch(t){this.errorLoadingTitles=!0}this.loadingTitles=!1}}},c=l,_=s(1656),u=(0,_.A)(c,a,i,!1,null,"212efd94",null),m=u.exports},3875:function(t,e,s){s.r(e),s.d(e,{default:function(){return _}});var a=function(){var t=this,e=t._self._c;return e("div",[e("accordion",{attrs:{"add-trigger-padding":!1,"show-content":t.isMobile}},[e("div",{staticClass:"header",attrs:{slot:"header"},slot:"header"},[e("div",{staticClass:"header__item header--hide-mobile-xs"},[e("div",{staticClass:"header__item-label"},[t._v("Documento")]),e("div",{staticClass:"header__item-content"},[e("div",{staticClass:"header__item-content"},[t._v("#"+t._s(t.title.numDocumento))])])]),e("div",{staticClass:"header__item"},[e("div",{staticClass:"header__item-label"},[t._v("Situação")]),e("div",{staticClass:"header__item-content"},[t.title.situacaoTipo?e("span",{staticClass:"header__item-circle",class:`header__item-circle--${t.title.situacaoTipo}`}):t._e(),t._v(" "+t._s(t.title.situacaoDesc)+" ")])]),e("div",{staticClass:"header__item header--hide-mobile"},[e("div",{staticClass:"header__item-label"},[t._v("Pedido")]),e("div",{staticClass:"header__item-content"},[t._v("#"+t._s(t.title.pedidoId))])]),e("div",{staticClass:"header__item header--hide-mobile"},[e("div",{staticClass:"header__item-label"},[t._v("Emissão")]),e("div",{staticClass:"header__item-content"},[t._v(" "+t._s(t.title.dtEmissao)+" ")])]),e("div",{staticClass:"header__item"},[e("div",{staticClass:"header__item-label"},[t._v("Vencimento")]),e("div",{staticClass:"header__item-content"},["Vencido"==t.title.situacaoDesc?e("span",{class:`header__item-content--color-${t.title.situacaoTipo}`},[t._v(t._s(t.title.dtVencimento))]):e("span",[t._v(t._s(t.title.dtVencimento))])])]),e("div",{staticClass:"header__item header--hide-mobile"},[e("div",{staticClass:"header__item-label"},[t._v("Valor")]),e("div",{staticClass:"header__item-content"},[t._v(" R$"+t._s(t.mascaraValor(t.title.valOriginal))+" ")])]),e("div",{staticClass:"header__item"},[t.title.dtPagamento?e("div",{staticClass:"header__item-content"},[e("span",{staticClass:"mt-8 text-success"},[t._v(t._s(t.title.dtPagamento))])]):e("div",{staticClass:"header__item-content"},[e("a",{staticClass:"btn btn-link btn-sm",attrs:{href:t.title.linkDownload,target:"_blank"}},[t._v(" Baixar ")])])])]),e("div",{staticClass:"header",attrs:{slot:"content"},slot:"content"},[e("div",{staticClass:"header__item"},[e("div",{staticClass:"header__item-label"},[t._v("Pedido")]),e("div",{staticClass:"header__item-content"},[t._v("#"+t._s(t.title.pedidoId))])]),e("div",{staticClass:"header__item"},[e("div",{staticClass:"header__item-label"},[t._v("Emissão")]),e("div",{staticClass:"header__item-content"},[t._v(" "+t._s(t.title.dtEmissao)+" ")])]),e("div",{staticClass:"header__item"},[e("div",{staticClass:"header__item-label"},[t._v("Valor")]),e("div",{staticClass:"header__item-content"},[t._v(" R$"+t._s(t.mascaraValor(t.title.valOriginal))+" ")])])])])],1)},i=[],r=s(7303),o=s(2849),d={name:"Titulo",components:{Accordion:r.A},props:{title:{type:Object,required:!0}},data(){return{windowWidth:window.innerWidth}},computed:{isMobile(){return this.windowWidth<768}},mounted(){window.addEventListener("resize",this.handleResize)},beforeDestroy(){window.removeEventListener("resize",this.handleResize)},methods:{mascaraValor:o.nj,handleResize(){this.windowWidth=window.innerWidth}}},n=d,l=s(1656),c=(0,l.A)(n,a,i,!1,null,"7694a7b4",null),_=c.exports},7303:function(t,e,s){s.d(e,{A:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("section",{staticClass:"accordion",class:{"accordion--active":t.isOpen}},[e("button",{staticClass:"accordion__header",on:{click:function(e){return t.toggle(e)}}},[e("div",{staticClass:"accordion__trigger-inner"},[t._t("header"),t.showIndicatorIcon&&t.hasContent?e("div",{style:t.addTriggerPadding?{paddingLeft:"20px"}:{}},[e("div",{staticClass:"accordion__trigger-caret",class:{"accordion__trigger-caret--active":t.isOpen},style:t.transitionDurationStyle},[e("i",{staticClass:"mdi mdi-chevron-down fa-2x"})])]):t._e()],2)]),t.hasContent?e("div",[e("transition",{on:{enter:t.onEnter,"after-enter"
1:t.onAfterEnter,"before-leave":t.onBeforeLeave,leave:t.onLeave}},[t.isOpen?e("div",{ref:"wrapper",staticClass:"accordion__content",style:t.transitionDurationStyle},[e("div",{ref:"inner",staticClass:"accordion__content--inner"},[t._t("content")],2)]):t._e()])],1):t._e()])},i=[],r={name:"Accordion",props:{showIndicatorIcon:{type:Boolean,default:!0,required:!1},transitionDuration:{default:250,required:!1,type:Number},openByDefault:{default:!1,required:!1,type:Boolean},addTriggerPadding:{default:!0,required:!1,type:Boolean},showContent:{default:!0,required:!1,type:Boolean}},data(){return{isOpen:!1}},computed:{hasContent(){return this.$slots.content&&this.showContent},transitionDurationStyle(){return{transitionDuration:`${this.transitionDuration}ms`,animationDuration:`${this.transitionDuration}ms`}}},mounted(){this.openByDefault&&(this.isOpen=!0,this.setWrapperHeightTo("auto"))},methods:{toggle(){this.isOpen=!this.isOpen,this.$emit("toggle",this.isOpen)},onEnter(t){this.setWrapperHeightTo(this.getContentHeight(),t)},onAfterEnter(t){this.setWrapperHeightTo("auto",t)},onBeforeLeave(t){this.setWrapperHeightTo(this.getContentHeight(),t)},onLeave(t){t.scrollHeight,this.setWrapperHeightTo(0,t)},getContentHeight(){const{inner:t}=this.$refs;return t.getBoundingClientRect().height},setWrapperHeightTo(t,e=this.$refs.wrapper){e&&(e.style.height="number"===typeof t?`${t}px`:t)}}},o=r,d=s(1656),n=(0,d.A)(o,a,i,!1,null,"7f9876bc",null),l=n.exports},746:function(t,e,s){s.d(e,{A:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-alert",class:`form-alert--${t.type}`},[e("div",{staticClass:"form-alert__message"},[t.icon?e("span",{staticClass:"form-alert__icon"},[e("i",{class:t.icon})]):t._e(),e("span",{staticClass:"form-alert__content"},[t._v(" "+t._s(t.message)+" ")])]),t._t("action")],2)},i=[],r={name:"FormAlert",props:{type:{type:String,default:"success",required:!1},icon:{type:String,required:!1,default:""},message:{type:String,required:!0}}},o=r,d=s(1656),n=(0,d.A)(o,a,i,!1,null,"40365d3e",null),l=n.exports},231:function(t,e,s){s.d(e,{A:function(){return h}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline",class:`timeline--${t.situationType}`},[e("div",{staticClass:"timeline__progress"},[e("div",{staticClass:"timeline__progress-bar",style:t.progressBarWidth})]),e("ul",{staticClass:"timeline__events"},t._l(t.events,function(s,a){return e("horizontal-timeline-item",{key:a,attrs:{active:"INPROGRESS"==s.status,label:s.description,date:s.date,icon:s.icon,"is-reachable":t.hasDeliveryPlannedDate&&9==s.id}})}),1)])},i=[],r=function(){var t=this,e=t._self._c;return e("li",{staticClass:"timeline-item",class:{"timeline-item--reachable":t.isReachable,"timeline-item--done":t.done}},[t.done?e("div",{staticClass:"timeline-item__step",class:{"timeline-item__step--active":t.active}},[t.icon?e("div",{staticClass:"timeline-item__icon",class:{"timeline-item__icon--active":t.active}},[e("i",{class:t.icon})]):t._e()]):t._e(),e("div",{staticClass:"timeline-item__step-item",class:{"timeline-item__step-item--active":t.active,"timeline-item__step-item--future":!t.done}},[e("div",{staticClass:"timeline-item__step-label"},[e("span",[t._v(t._s(t.label))])]),t.formattedDate&&t.done?e("div",{staticClass:"timeline-item__step-date"},[e("span",[t._v(t._s(t.formattedDate))])]):t._e()])])},o=[],d=s(7650),n={name:"HorizontalTimelineItem",props:{active:{type:Boolean,default:!1,required:!1},label:{type:String,default:"",required:!0},date:{type:String,required:!1,default:""},icon:{type:String,required:!1,default:""},isReachable:{type:Boolean,default:!1,required:!1}},computed:{formattedDate(){return this.date?(0,d.A)(new Date(this.date.replace(/-/g,"/")),"dd/MM/yy HH:mm"):null},done(){return this.active||!!this.date}}},l=n,c=s(1656),_=(0,c.A)(l,r,o,!1,null,"4025c69a",null),u=_.exports,m={name:"HorizontalTimeline",components:{HorizontalTimelineItem:u},props:{events:{type:Array,default:()=>[],required:!0},situationType:{type:String,default:"",required:!1},hasDeliveryPlannedDate:{type:Boolean,default:!1,required:!1}},computed:{progressBarWidth(){const t=this.events.length-1,e=this.events.filter(t=>"DONE"===t.status).length,s=Math.ceil(e/t*100);return{width:`calc(${s}% + ${this.events.length}px)`}}}}
1,p=m,v=(0,c.A)(p,a,i,!1,null,"afc311ba",null),h=v.exports},1681:function(t,e,s){s.r(e);s(8140),s(6716);const a={methods:{async getTitleMixin(t,e,s,a,i,r){const o={limit:s,offset:a,situacao:i,searchTerm:r};let d="https://apiecommerce.dpcnet.com.br/api/ec/minha-conta/titulo/cliente/"+t;e&&(d+=`/${e}`);const{data:n}=await dpcAxios.connection().get(d,{params:o});return n.titulos.map(t=>({pedidoId:t.pedido_id,clienteId:t.cliente_id,numDocumento:t.numero_documento,dtVencimento:t.data_vencimento,dtEmissao:t.data_emissao,dtPagamento:t.data_pagamento,valOriginal:t.valor_original,valPago:t.valor_pago,linkDownload:t.link_download,situacaoDesc:t.situacaoDesc,situacaoTipo:t.situacaoTipo}))}}};e["default"]=a}}]);
2//# sourceMappingURL=view-minha-conta-new-pedidos-pedido-details-PedidoDetails.9e474f30.js.map

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.