mirror of https://github.com/interlegis/sapl.git
Browse Source
* Fix legislatura atual * Gera frontend assets * Adiciona hora e minuto Co-authored-by: eribeiro <edwardr@senado.leg.br>pull/3321/head
Edward
4 years ago
committed by
GitHub
39 changed files with 21 additions and 9 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1,2 +1,2 @@ |
|||
(function(e){function a(a){for(var r,n,l=a[0],o=a[1],p=a[2],h=0,c=[];h<l.length;h++)n=l[h],Object.prototype.hasOwnProperty.call(s,n)&&s[n]&&c.push(s[n][0]),s[n]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r]);u&&u(a);while(c.length)c.shift()();return i.push.apply(i,p||[]),t()}function t(){for(var e,a=0;a<i.length;a++){for(var t=i[a],r=!0,l=1;l<t.length;l++){var o=t[l];0!==s[o]&&(r=!1)}r&&(i.splice(a--,1),e=n(n.s=t[0]))}return e}var r={},s={parlamentar:0},i=[];function n(a){if(r[a])return r[a].exports;var t=r[a]={i:a,l:!1,exports:{}};return e[a].call(t.exports,t,t.exports,n),t.l=!0,t.exports}n.m=e,n.c=r,n.d=function(e,a,t){n.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:t})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,a){if(1&a&&(e=n(e)),8&a)return e;if(4&a&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var r in e)n.d(t,r,function(a){return e[a]}.bind(null,r));return t},n.n=function(e){var a=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(a,"a",a),a},n.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},n.p="/static/sapl/frontend/";var l=window["webpackJsonp"]=window["webpackJsonp"]||[],o=l.push.bind(l);l.push=a,l=l.slice();for(var p=0;p<l.length;p++)a(l[p]);var u=o;i.push([3,"chunk-vendors"]),t()})({3:function(e,a,t){e.exports=t("3742")},3742:function(e,a,t){"use strict";t.r(a),function(e){t("a30a");var a=t("a026"),r=t("44d4"),s=t("bc3a"),i=t.n(s);i.a.defaults.xsrfCookieName="csrftoken",i.a.defaults.xsrfHeaderName="X-CSRFToken",a["a"].use(r["a"]);new a["a"]({delimiters:["[[","]]"],el:"#app2",data(){return{nome_pesquisa:"",is_pesquisa:!1,legislatura_selecionada:"",legislaturas:[],parlamentares:[],visible_parlamentares:[],size_parlamentares:0,filter_ativo:!1,filter_titular:""}},watch:{nome_pesquisa:function(e){this.debouncepesquisaParlamentar()}},created(){this.debouncepesquisaParlamentar=e.debounce(this.pesquisaParlamentar,500)},methods:{getParlamentares(e){(this.legislatura_selecionada||"0"===this.legislatura_selecionada.toString())&&i.a.get("/api/parlamentares/parlamentar/"+this.legislatura_selecionada+"/parlamentares_by_legislatura/").then(e=>{this.parlamentares=e.data,this.visible_parlamentares=this.parlamentares,this.size_parlamentares=this.visible_parlamentares.length,this.checkTitularAtivo()}).catch(e=>{})},pesquisaParlamentar(e){i.a.get("/api/parlamentares/parlamentar/search_parlamentares/",{params:{nome_parlamentar:this.nome_pesquisa}}).then(e=>{this.parlamentares=e.data,this.visible_parlamentares=this.parlamentares,this.size_parlamentares=this.visible_parlamentares.length}).catch(e=>{})},checkTitularAtivo(e){this.visible_parlamentares=this.parlamentares,this.filter_ativo&&(this.visible_parlamentares=this.visible_parlamentares.filter(e=>e.ativo)),this.filter_titular&&(this.visible_parlamentares=this.visible_parlamentares.filter(e=>"Sim"===e.titular)),this.size_parlamentares=this.visible_parlamentares.length},pesquisaChange(e){this.is_pesquisa=!this.is_pesquisa,this.filter_ativo=!1,this.is_pesquisa?this.parlamentares=[]:this.getParlamentares()}},mounted(){i.a.get("/api/parlamentares/legislatura/?get_all=true").then(e=>{this.legislaturas=e.data,this.legislatura_selecionada=e.data[0].id}).then(e=>{this.getParlamentares()}).catch(e=>{})}})}.call(this,t("2ef0"))},a30a:function(e,a,t){}}); |
|||
//# sourceMappingURL=parlamentar.eaf09460.js.map
|
|||
(function(e){function a(a){for(var r,n,l=a[0],u=a[1],o=a[2],h=0,c=[];h<l.length;h++)n=l[h],Object.prototype.hasOwnProperty.call(i,n)&&i[n]&&c.push(i[n][0]),i[n]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);p&&p(a);while(c.length)c.shift()();return s.push.apply(s,o||[]),t()}function t(){for(var e,a=0;a<s.length;a++){for(var t=s[a],r=!0,l=1;l<t.length;l++){var u=t[l];0!==i[u]&&(r=!1)}r&&(s.splice(a--,1),e=n(n.s=t[0]))}return e}var r={},i={parlamentar:0},s=[];function n(a){if(r[a])return r[a].exports;var t=r[a]={i:a,l:!1,exports:{}};return e[a].call(t.exports,t,t.exports,n),t.l=!0,t.exports}n.m=e,n.c=r,n.d=function(e,a,t){n.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:t})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,a){if(1&a&&(e=n(e)),8&a)return e;if(4&a&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var r in e)n.d(t,r,function(a){return e[a]}.bind(null,r));return t},n.n=function(e){var a=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(a,"a",a),a},n.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},n.p="/static/sapl/frontend/";var l=window["webpackJsonp"]=window["webpackJsonp"]||[],u=l.push.bind(l);l.push=a,l=l.slice();for(var o=0;o<l.length;o++)a(l[o]);var p=u;s.push([3,"chunk-vendors"]),t()})({3:function(e,a,t){e.exports=t("3742")},3742:function(e,a,t){"use strict";t.r(a),function(e){t("a30a");var a=t("a026"),r=t("44d4"),i=t("bc3a"),s=t.n(i);s.a.defaults.xsrfCookieName="csrftoken",s.a.defaults.xsrfHeaderName="X-CSRFToken",a["a"].use(r["a"]);new a["a"]({delimiters:["[[","]]"],el:"#app2",data(){return{nome_pesquisa:"",is_pesquisa:!1,legislatura_selecionada:"",legislaturas:[],parlamentares:[],visible_parlamentares:[],size_parlamentares:0,filter_ativo:!1,filter_titular:""}},watch:{nome_pesquisa:function(e){this.debouncepesquisaParlamentar()}},created(){this.debouncepesquisaParlamentar=e.debounce(this.pesquisaParlamentar,500)},methods:{getParlamentares(e){(this.legislatura_selecionada||"0"===this.legislatura_selecionada.toString())&&s.a.get("/api/parlamentares/parlamentar/"+this.legislatura_selecionada+"/parlamentares_by_legislatura/").then(e=>{this.parlamentares=e.data,this.visible_parlamentares=this.parlamentares,this.size_parlamentares=this.visible_parlamentares.length,this.checkTitularAtivo()}).catch(e=>{})},pesquisaParlamentar(e){s.a.get("/api/parlamentares/parlamentar/search_parlamentares/",{params:{nome_parlamentar:this.nome_pesquisa}}).then(e=>{this.parlamentares=e.data,this.visible_parlamentares=this.parlamentares,this.size_parlamentares=this.visible_parlamentares.length}).catch(e=>{})},checkTitularAtivo(e){this.visible_parlamentares=this.parlamentares,this.filter_ativo&&(this.visible_parlamentares=this.visible_parlamentares.filter(e=>e.ativo)),this.filter_titular&&(this.visible_parlamentares=this.visible_parlamentares.filter(e=>"Sim"===e.titular)),this.size_parlamentares=this.visible_parlamentares.length},pesquisaChange(e){this.is_pesquisa=!this.is_pesquisa,this.filter_ativo=!1,this.is_pesquisa?this.parlamentares=[]:this.getParlamentares()}},mounted(){s.a.get("/api/parlamentares/legislatura/?get_all=true").then(e=>{this.legislaturas=e.data;var a=(new Date).getFullYear(),t=(e,t)=>{var r=new Date(t.data_inicio+" 00:00").getFullYear(),i=new Date(t.data_fim+" 00:00").getFullYear();return a>=r&&a<=i&&(e=t.id),e};this.legislatura_selecionada=this.legislaturas.reduce(t,"")}).then(e=>{this.getParlamentares()}).catch(e=>{})}})}.call(this,t("2ef0"))},a30a:function(e,a,t){}}); |
|||
//# sourceMappingURL=parlamentar.f74d91a6.js.map
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1 +1 @@ |
|||
{"status":"done","publicPath":"/static/sapl/frontend/","chunks":{"chunk-vendors":[{"name":"css/chunk-vendors.de0fe4be.css","publicPath":"/static/sapl/frontend/css/chunk-vendors.de0fe4be.css","path":"sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css"},{"name":"js/chunk-vendors.2f06c2ae.js","publicPath":"/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js","path":"sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js"},{"name":"css/chunk-vendors.de0fe4be.css.map","publicPath":"/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.map","path":"sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.map"},{"name":"js/chunk-vendors.2f06c2ae.js.map","publicPath":"/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.map","path":"sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.map"}],"compilacao":[{"name":"css/compilacao.00eb2b5d.css","publicPath":"/static/sapl/frontend/css/compilacao.00eb2b5d.css","path":"sapl/static/sapl/frontend/css/compilacao.00eb2b5d.css"},{"name":"js/compilacao.44a714dd.js","publicPath":"/static/sapl/frontend/js/compilacao.44a714dd.js","path":"sapl/static/sapl/frontend/js/compilacao.44a714dd.js"},{"name":"css/compilacao.00eb2b5d.css.map","publicPath":"/static/sapl/frontend/css/compilacao.00eb2b5d.css.map","path":"sapl/static/sapl/frontend/css/compilacao.00eb2b5d.css.map"},{"name":"js/compilacao.44a714dd.js.map","publicPath":"/static/sapl/frontend/js/compilacao.44a714dd.js.map","path":"sapl/static/sapl/frontend/js/compilacao.44a714dd.js.map"}],"global":[{"name":"css/global.80b7564c.css","publicPath":"/static/sapl/frontend/css/global.80b7564c.css","path":"sapl/static/sapl/frontend/css/global.80b7564c.css"},{"name":"js/global.bd0aab4d.js","publicPath":"/static/sapl/frontend/js/global.bd0aab4d.js","path":"sapl/static/sapl/frontend/js/global.bd0aab4d.js"},{"name":"css/global.80b7564c.css.map","publicPath":"/static/sapl/frontend/css/global.80b7564c.css.map","path":"sapl/static/sapl/frontend/css/global.80b7564c.css.map"},{"name":"js/global.bd0aab4d.js.map","publicPath":"/static/sapl/frontend/js/global.bd0aab4d.js.map","path":"sapl/static/sapl/frontend/js/global.bd0aab4d.js.map"}],"painel":[{"name":"css/painel.5d957a9b.css","publicPath":"/static/sapl/frontend/css/painel.5d957a9b.css","path":"sapl/static/sapl/frontend/css/painel.5d957a9b.css"},{"name":"js/painel.37936654.js","publicPath":"/static/sapl/frontend/js/painel.37936654.js","path":"sapl/static/sapl/frontend/js/painel.37936654.js"},{"name":"css/painel.5d957a9b.css.map","publicPath":"/static/sapl/frontend/css/painel.5d957a9b.css.map","path":"sapl/static/sapl/frontend/css/painel.5d957a9b.css.map"},{"name":"js/painel.37936654.js.map","publicPath":"/static/sapl/frontend/js/painel.37936654.js.map","path":"sapl/static/sapl/frontend/js/painel.37936654.js.map"}],"parlamentar":[{"name":"css/parlamentar.0e433876.css","publicPath":"/static/sapl/frontend/css/parlamentar.0e433876.css","path":"sapl/static/sapl/frontend/css/parlamentar.0e433876.css"},{"name":"js/parlamentar.eaf09460.js","publicPath":"/static/sapl/frontend/js/parlamentar.eaf09460.js","path":"sapl/static/sapl/frontend/js/parlamentar.eaf09460.js"},{"name":"css/parlamentar.0e433876.css.map","publicPath":"/static/sapl/frontend/css/parlamentar.0e433876.css.map","path":"sapl/static/sapl/frontend/css/parlamentar.0e433876.css.map"},{"name":"js/parlamentar.eaf09460.js.map","publicPath":"/static/sapl/frontend/js/parlamentar.eaf09460.js.map","path":"sapl/static/sapl/frontend/js/parlamentar.eaf09460.js.map"}]}} |
|||
{"status":"done","publicPath":"/static/sapl/frontend/","chunks":{"chunk-vendors":[{"name":"css/chunk-vendors.de0fe4be.css","publicPath":"/static/sapl/frontend/css/chunk-vendors.de0fe4be.css","path":"sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css"},{"name":"js/chunk-vendors.4534dd87.js","publicPath":"/static/sapl/frontend/js/chunk-vendors.4534dd87.js","path":"sapl/static/sapl/frontend/js/chunk-vendors.4534dd87.js"},{"name":"css/chunk-vendors.de0fe4be.css.map","publicPath":"/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.map","path":"sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.map"},{"name":"js/chunk-vendors.4534dd87.js.map","publicPath":"/static/sapl/frontend/js/chunk-vendors.4534dd87.js.map","path":"sapl/static/sapl/frontend/js/chunk-vendors.4534dd87.js.map"}],"compilacao":[{"name":"css/compilacao.00eb2b5d.css","publicPath":"/static/sapl/frontend/css/compilacao.00eb2b5d.css","path":"sapl/static/sapl/frontend/css/compilacao.00eb2b5d.css"},{"name":"js/compilacao.44a714dd.js","publicPath":"/static/sapl/frontend/js/compilacao.44a714dd.js","path":"sapl/static/sapl/frontend/js/compilacao.44a714dd.js"},{"name":"css/compilacao.00eb2b5d.css.map","publicPath":"/static/sapl/frontend/css/compilacao.00eb2b5d.css.map","path":"sapl/static/sapl/frontend/css/compilacao.00eb2b5d.css.map"},{"name":"js/compilacao.44a714dd.js.map","publicPath":"/static/sapl/frontend/js/compilacao.44a714dd.js.map","path":"sapl/static/sapl/frontend/js/compilacao.44a714dd.js.map"}],"global":[{"name":"css/global.80b7564c.css","publicPath":"/static/sapl/frontend/css/global.80b7564c.css","path":"sapl/static/sapl/frontend/css/global.80b7564c.css"},{"name":"js/global.bd0aab4d.js","publicPath":"/static/sapl/frontend/js/global.bd0aab4d.js","path":"sapl/static/sapl/frontend/js/global.bd0aab4d.js"},{"name":"css/global.80b7564c.css.map","publicPath":"/static/sapl/frontend/css/global.80b7564c.css.map","path":"sapl/static/sapl/frontend/css/global.80b7564c.css.map"},{"name":"js/global.bd0aab4d.js.map","publicPath":"/static/sapl/frontend/js/global.bd0aab4d.js.map","path":"sapl/static/sapl/frontend/js/global.bd0aab4d.js.map"}],"painel":[{"name":"css/painel.5d957a9b.css","publicPath":"/static/sapl/frontend/css/painel.5d957a9b.css","path":"sapl/static/sapl/frontend/css/painel.5d957a9b.css"},{"name":"js/painel.37936654.js","publicPath":"/static/sapl/frontend/js/painel.37936654.js","path":"sapl/static/sapl/frontend/js/painel.37936654.js"},{"name":"css/painel.5d957a9b.css.map","publicPath":"/static/sapl/frontend/css/painel.5d957a9b.css.map","path":"sapl/static/sapl/frontend/css/painel.5d957a9b.css.map"},{"name":"js/painel.37936654.js.map","publicPath":"/static/sapl/frontend/js/painel.37936654.js.map","path":"sapl/static/sapl/frontend/js/painel.37936654.js.map"}],"parlamentar":[{"name":"css/parlamentar.0e433876.css","publicPath":"/static/sapl/frontend/css/parlamentar.0e433876.css","path":"sapl/static/sapl/frontend/css/parlamentar.0e433876.css"},{"name":"js/parlamentar.f74d91a6.js","publicPath":"/static/sapl/frontend/js/parlamentar.f74d91a6.js","path":"sapl/static/sapl/frontend/js/parlamentar.f74d91a6.js"},{"name":"css/parlamentar.0e433876.css.map","publicPath":"/static/sapl/frontend/css/parlamentar.0e433876.css.map","path":"sapl/static/sapl/frontend/css/parlamentar.0e433876.css.map"},{"name":"js/parlamentar.f74d91a6.js.map","publicPath":"/static/sapl/frontend/js/parlamentar.f74d91a6.js.map","path":"sapl/static/sapl/frontend/js/parlamentar.f74d91a6.js.map"}]}} |
Loading…
Reference in new issue