"use strict";(self.webpackChunkwebpackcloud=self.webpackChunkwebpackcloud||[]).push([[965,773,131],{3517:(e,a,t)=>{t.r(a),t.d(a,{buildWidget:()=>o});t(41539),t(74916),t(23123),t(15306);var n=t(28732),r=t(8575),c=t(55214),i=t(30644);function d(e,a){for(var t=0;t<a.length;t++){var n=a[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=function(e){return s.buildWidget(e)},s=function(){function e(){!function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,e)}var a,t,o;return a=e,o=[{key:"buildWidget",value:function(a){var t=a.scope;e.buildGrid(t)}},{key:"buildGrid",value:function(a){var t=a.Class,r=function(e){try{return JSON.parse(e)}catch(e){return{}}}(a.DefinicaoObjetos.consulta),c=e.getConfigCardView({Class:t,rowTemplateName:"agenciaBanco"});(0,n.fS)(r),r.showColumnHeaders=!1,r.showColumnLines=!1,r.filterRow=!1,r.pager={visible:!1},r.showBorders=!1;var i=(0,n.s_)(c,r);i.columns=[],(0,n.uI)("dataGrid",i)}},{key:"getConfigCardView",value:function(a){var t=a.Class,n=a.rowTemplateName,r=function(){return console.error("Invalid template name")};return function(a,t){return(e[a]||r)({Class:t})}(n,t)}},{key:"agenciaBanco",value:function(a){var t=a.Class;return i.default.use(),{dataSource:(0,r.wW)({_AClassName:t}),onToolbarPreparing:function(e){e.toolbarOptions.visible=!1},rowTemplate:e.RowTemplateRef}}},{key:"RowTemplateRef",value:function(e,a){var t,n=(t={topLeft:{agency:{text:"Agência",value:"2086"},account:{text:"Conta",value:"0557182-01"}},topRight:{value:"R$ 10.247,93"},bottomLeft:{text:"Sem concilições Pendentes"},bottomRight:{text:"Lançamentos sem Contrapartida"}},c.replace(/{{[ | \n]*(\S+)[ | \n]*}}/g,(function(e,a){return a.split(".").reduce((function(e,a){return e[a]}),t)})));e.append(n)}}],(t=null)&&d(a.prototype,t),o&&d(a,o),Object.defineProperty(a,"prototype",{writable:!1}),e}()},95077:(e,a,t)=>{t.d(a,{Z:()=>d});var n=t(8081),r=t.n(n),c=t(23645),i=t.n(c)()(r());i.push([e.id,".card-view-shadow-box__ejUwC59Gy6CSzpOB1EJr,.card-view__wv9Tkc1TcBds2nMFXtZi{-webkit-box-shadow:5px 5px 5px 0px #d5d5d5;-moz-box-shadow:5px 5px 5px 0px #d5d5d5;box-shadow:5px 5px 5px 0px #d5d5d5}.card-view-border__UKdlWhkEMUcvlJI7U0fo,.card-view__wv9Tkc1TcBds2nMFXtZi{border-radius:5px;border:1px solid #d5d5d5}tr.main-row__T7JH6LsE0NZPJQQp7wM8 td{padding:1rem !important}.card-view__wv9Tkc1TcBds2nMFXtZi{display:flex;min-height:100px}.card-view__wv9Tkc1TcBds2nMFXtZi .card-image-wrapper__MB4Jm4DDRDzgbikm9Df1{width:auto;max-width:100px;padding:1rem}.card-view__wv9Tkc1TcBds2nMFXtZi .card-image-wrapper__MB4Jm4DDRDzgbikm9Df1 .card-image__wlnOS3tKQD49Xpl4A_io{border-radius:5px;width:100%;height:100%}.card-view__wv9Tkc1TcBds2nMFXtZi .card-content__clgvUQAkeBb3MmkQyrA7{width:90%;display:flex;flex-direction:column;justify-content:space-between;padding:1rem 0 1rem 0}.card-view__wv9Tkc1TcBds2nMFXtZi .card-content__clgvUQAkeBb3MmkQyrA7 .card-content-left__hfweGx2B1y8fic_cM2U_{max-width:50%;width:auto;float:left;padding-left:1rem}.card-view__wv9Tkc1TcBds2nMFXtZi .card-content__clgvUQAkeBb3MmkQyrA7 .card-content-right__u5ehccTp1QUIuH0my8VX{max-width:50%;width:auto;float:right;padding-right:1rem}",""]),i.locals={"card-view-shadow-box":"card-view-shadow-box__ejUwC59Gy6CSzpOB1EJr","card-view":"card-view__wv9Tkc1TcBds2nMFXtZi","card-view-border":"card-view-border__UKdlWhkEMUcvlJI7U0fo","main-row":"main-row__T7JH6LsE0NZPJQQp7wM8","card-image-wrapper":"card-image-wrapper__MB4Jm4DDRDzgbikm9Df1","card-image":"card-image__wlnOS3tKQD49Xpl4A_io","card-content":"card-content__clgvUQAkeBb3MmkQyrA7","card-content-left":"card-content-left__hfweGx2B1y8fic_cM2U_","card-content-right":"card-content-right__u5ehccTp1QUIuH0my8VX"};const d=i},55214:(e,a,t)=>{t.r(a),t.d(a,{default:()=>n});const n=' <tbody class="employee dx-row"> <tr class="main-row"> <td> <div class="card-view"> <div class="card-image-wrapper"> <img class="card-image" src="https://picsum.photos/100"> </div> <div class="card-content"> <div class="card-content-top"> <div class="card-content-left"> <span>Agencia: 123 </span> <span> Conta: 3218321 </span> </div> <div class="card-content-right"> <span> R$ 10.124,93</span> </div> </div> <div class="card-content-bottom"> <div class="card-content-left"> <span>354 conciliações pendentes</span> </div> <div class="card-content-right"> Lancamentos em contrapartida </div> </div> </div> </div> </td> </tr> </tbody>'},30644:(e,a,t)=>{t.r(a),t.d(a,{default:()=>f});var n=t(93379),r=t.n(n),c=t(7795),i=t.n(c),d=t(90569),o=t.n(d),s=t(3565),l=t.n(s),p=t(19216),w=t.n(p),u=t(44589),v=t.n(u),m=t(95077),_={};_.styleTagTransform=v(),_.setAttributes=l(),_.insert=o().bind(null,"head"),_.domAPI=i(),_.insertStyleElement=w();r()(m.Z,_);const f=m.Z&&m.Z.locals?m.Z.locals:void 0}}]);