Browse Source

feat: exibe lista de parlamentares ativos por default (#3635)

Co-authored-by: joao <joao@mezzoplanejamento.com.br>
pull/3685/head
joaohortsenado 1 year ago
committed by GitHub
parent
commit
2c22ce2d8c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      frontend/src/__apps/parlamentar/main.js
  2. 1032
      frontend/webpack-stats.json
  3. 13
      sapl/static/sapl/frontend/css/chunk-vendors.299c587b.css
  4. BIN
      sapl/static/sapl/frontend/css/chunk-vendors.299c587b.css.gz
  5. 13
      sapl/static/sapl/frontend/css/chunk-vendors.9904f9d0.css
  6. BIN
      sapl/static/sapl/frontend/css/chunk-vendors.9904f9d0.css.gz
  7. 1
      sapl/static/sapl/frontend/css/compilacao.0baf3580.css
  8. BIN
      sapl/static/sapl/frontend/css/compilacao.0baf3580.css.gz
  9. 1
      sapl/static/sapl/frontend/css/compilacao.f4baf459.css
  10. BIN
      sapl/static/sapl/frontend/css/compilacao.f4baf459.css.gz
  11. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.86c7e1fa.woff2
  12. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.9a905705.ttf
  13. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.9a905705.ttf.gz
  14. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.b6033b54.woff2
  15. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.f5defc2e.ttf.gz
  16. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.3580b4a9.woff2
  17. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.3edb9004.ttf
  18. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.3edb9004.ttf.gz
  19. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.67a0fb74.ttf
  20. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.67a0fb74.ttf.gz
  21. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.e0550912.woff2
  22. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.64d5644d.woff2
  23. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.6a8db53d.ttf
  24. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.6a8db53d.ttf.gz
  25. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.f418d876.ttf
  26. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.f418d876.ttf.gz
  27. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.fd0b155c.woff2
  28. BIN
      sapl/static/sapl/frontend/fonts/fa-v4compatibility.7e7e1dad.ttf
  29. BIN
      sapl/static/sapl/frontend/fonts/fa-v4compatibility.7e7e1dad.ttf.gz
  30. BIN
      sapl/static/sapl/frontend/fonts/fa-v4compatibility.e4efb16c.ttf
  31. BIN
      sapl/static/sapl/frontend/fonts/fa-v4compatibility.e4efb16c.ttf.gz
  32. 19
      sapl/static/sapl/frontend/js/chunk-vendors.5e41c7a6.js
  33. 20
      sapl/static/sapl/frontend/js/chunk-vendors.5e41c7a6.js.LICENSE.txt
  34. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.5e41c7a6.js.LICENSE.txt.gz
  35. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.5e41c7a6.js.gz
  36. 13
      sapl/static/sapl/frontend/js/chunk-vendors.874df7f4.js
  37. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.874df7f4.js.LICENSE.txt.gz
  38. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.874df7f4.js.gz
  39. 1
      sapl/static/sapl/frontend/js/compilacao.5675a825.js
  40. BIN
      sapl/static/sapl/frontend/js/compilacao.5675a825.js.gz
  41. 1
      sapl/static/sapl/frontend/js/compilacao.d68d2b28.js
  42. BIN
      sapl/static/sapl/frontend/js/compilacao.d68d2b28.js.gz
  43. 2
      sapl/static/sapl/frontend/js/global.e2479f09.js
  44. 0
      sapl/static/sapl/frontend/js/global.e2479f09.js.LICENSE.txt
  45. BIN
      sapl/static/sapl/frontend/js/global.e2479f09.js.gz
  46. 2
      sapl/static/sapl/frontend/js/global.f01dd32a.js
  47. BIN
      sapl/static/sapl/frontend/js/global.f01dd32a.js.gz
  48. 2
      sapl/static/sapl/frontend/js/painel.02063a4f.js
  49. BIN
      sapl/static/sapl/frontend/js/painel.02063a4f.js.gz
  50. BIN
      sapl/static/sapl/frontend/js/painel.7aa779e9.js.gz
  51. BIN
      sapl/static/sapl/frontend/js/parlamentar.25e7f0fa.js.gz
  52. 2
      sapl/static/sapl/frontend/js/parlamentar.841cc48b.js
  53. BIN
      sapl/static/sapl/frontend/js/parlamentar.841cc48b.js.gz
  54. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.css
  55. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.css.gz
  56. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.inline.css
  57. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.inline.css.gz
  58. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.inline.min.css
  59. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.inline.min.css.gz
  60. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.min.css
  61. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.min.css.gz
  62. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/skin.css
  63. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/skin.css.gz
  64. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/skin.min.css
  65. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide-dark/skin.min.css.gz
  66. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide/content.css
  67. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide/content.css.gz
  68. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide/content.inline.css
  69. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide/content.inline.css.gz
  70. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide/content.inline.min.css
  71. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide/content.inline.min.css.gz
  72. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide/content.min.css
  73. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide/content.min.css.gz
  74. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide/skin.css
  75. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide/skin.css.gz
  76. 2
      sapl/static/sapl/frontend/js/skins/ui/oxide/skin.min.css
  77. BIN
      sapl/static/sapl/frontend/js/skins/ui/oxide/skin.min.css.gz
  78. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.css
  79. BIN
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.css.gz
  80. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.inline.css
  81. BIN
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.inline.css.gz
  82. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.inline.min.css
  83. BIN
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.inline.min.css.gz
  84. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.min.css
  85. BIN
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.min.css.gz
  86. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/skin.css
  87. BIN
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/skin.css.gz
  88. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/skin.min.css
  89. BIN
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/skin.min.css.gz
  90. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.css
  91. BIN
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.css.gz
  92. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.inline.css
  93. BIN
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.inline.css.gz
  94. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.inline.min.css
  95. BIN
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.inline.min.css.gz
  96. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.min.css
  97. BIN
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.min.css.gz
  98. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5/skin.css
  99. BIN
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5/skin.css.gz
  100. 2
      sapl/static/sapl/frontend/js/skins/ui/tinymce-5/skin.min.css

4
frontend/src/__apps/parlamentar/main.js

@ -20,7 +20,7 @@ const v = new Vue({ // eslint-disable-line
parlamentares: [],
visible_parlamentares: [],
size_parlamentares: 0,
filter_ativo: false,
filter_ativo: true,
filter_titular: ''
}
},
@ -78,7 +78,7 @@ const v = new Vue({ // eslint-disable-line
pesquisaChange (event) {
this.is_pesquisa = !this.is_pesquisa
this.filter_ativo = false
this.filter_ativo = true
if (this.is_pesquisa) {
this.parlamentares = []
} else {

1032
frontend/webpack-stats.json

File diff suppressed because it is too large

13
sapl/static/sapl/frontend/css/chunk-vendors.299c587b.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/css/chunk-vendors.299c587b.css.gz

Binary file not shown.

13
sapl/static/sapl/frontend/css/chunk-vendors.9904f9d0.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/css/chunk-vendors.9904f9d0.css.gz

Binary file not shown.

1
sapl/static/sapl/frontend/css/compilacao.0baf3580.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/css/compilacao.0baf3580.css.gz

Binary file not shown.

1
sapl/static/sapl/frontend/css/compilacao.f4baf459.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/css/compilacao.f4baf459.css.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.86c7e1fa.woff2

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.f5defc2e.ttf → sapl/static/sapl/frontend/fonts/fa-brands-400.9a905705.ttf

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.9a905705.ttf.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.b6033b54.woff2

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.f5defc2e.ttf.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.3580b4a9.woff2

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.3edb9004.ttf

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.3edb9004.ttf.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.67a0fb74.ttf

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.67a0fb74.ttf.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.e0550912.woff2

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.64d5644d.woff2

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.6a8db53d.ttf

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.6a8db53d.ttf.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.f418d876.ttf

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.f418d876.ttf.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.fd0b155c.woff2

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-v4compatibility.7e7e1dad.ttf

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-v4compatibility.7e7e1dad.ttf.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-v4compatibility.e4efb16c.ttf

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-v4compatibility.e4efb16c.ttf.gz

Binary file not shown.

19
sapl/static/sapl/frontend/js/chunk-vendors.5e41c7a6.js

File diff suppressed because one or more lines are too long

20
sapl/static/sapl/frontend/js/chunk-vendors.874df7f4.js.LICENSE.txt → sapl/static/sapl/frontend/js/chunk-vendors.5e41c7a6.js.LICENSE.txt

@ -5,34 +5,20 @@
*/
/*!
* Sizzle CSS Selector Engine v2.3.6
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2021-02-16
*/
/*!
* Vue.js v2.7.10
* Vue.js v2.7.14
* (c) 2014-2022 Evan You
* Released under the MIT License.
*/
/*!
* jQuery JavaScript Library v3.6.0
* jQuery JavaScript Library v3.7.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2021-03-02T17:08Z
* Date: 2023-08-28T13:37Z
*/
/*!

BIN
sapl/static/sapl/frontend/js/chunk-vendors.5e41c7a6.js.LICENSE.txt.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/js/chunk-vendors.5e41c7a6.js.gz

Binary file not shown.

13
sapl/static/sapl/frontend/js/chunk-vendors.874df7f4.js

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/chunk-vendors.874df7f4.js.LICENSE.txt.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/js/chunk-vendors.874df7f4.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/compilacao.5675a825.js

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/compilacao.5675a825.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/compilacao.d68d2b28.js

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/compilacao.d68d2b28.js.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/global.e2479f09.js

File diff suppressed because one or more lines are too long

0
sapl/static/sapl/frontend/js/global.f01dd32a.js.LICENSE.txt → sapl/static/sapl/frontend/js/global.e2479f09.js.LICENSE.txt

BIN
sapl/static/sapl/frontend/js/global.e2479f09.js.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/global.f01dd32a.js

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/global.f01dd32a.js.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/painel.7aa779e9.js → sapl/static/sapl/frontend/js/painel.02063a4f.js

@ -1 +1 @@
(()=>{"use strict";var u,f,e,o={4267:(e,r,o)=>{o(6992),o(8674),o(9601),o(7727)}},t={};function s(e){var r=t[e];return void 0!==r||(r=t[e]={id:e,loaded:!1,exports:{}},o[e].call(r.exports,r,r.exports,s),r.loaded=!0),r.exports}s.m=o,u=[],s.O=(e,r,o,t)=>{if(!r){for(var n=1/0,l=0;l<u.length;l++){for(var i,[r,o,t]=u[l],a=!0,d=0;d<r.length;d++)(!1&t||t<=n)&&Object.keys(s.O).every(e=>s.O[e](r[d]))?r.splice(d--,1):(a=!1,t<n&&(n=t));a&&(u.splice(l--,1),void 0!==(i=o())&&(e=i))}return e}t=t||0;for(var l=u.length;0<l&&u[l-1][2]>t;l--)u[l]=u[l-1];u[l]=[r,o,t]},s.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return s.d(r,{a:r}),r},s.d=(e,r)=>{for(var o in r)s.o(r,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.j=567,f={567:0},s.O.j=e=>0===f[e],r=(e,r)=>{var o,t,n,[l,i,a]=r,d=0;if(l.some(e=>0!==f[e])){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);a&&(n=a(s))}for(e&&e(r);d<l.length;d++)t=l[d],s.o(f,t)&&f[t]&&f[t][0](),f[t]=0;return s.O(n)},(e=self.webpackChunksapl_frontend=self.webpackChunksapl_frontend||[]).forEach(r.bind(null,0)),e.push=r.bind(null,e.push.bind(e));var r=s.O(void 0,[998],()=>s(4267));s.O(r)})();
(()=>{"use strict";var u,f,e,o={4709:(e,r,o)=>{o(6992),o(8674),o(9601),o(7727)}},t={};function s(e){var r=t[e];return void 0!==r||(r=t[e]={id:e,loaded:!1,exports:{}},o[e].call(r.exports,r,r.exports,s),r.loaded=!0),r.exports}s.m=o,u=[],s.O=(e,r,o,t)=>{if(!r){for(var n=1/0,l=0;l<u.length;l++){for(var i,[r,o,t]=u[l],a=!0,d=0;d<r.length;d++)(!1&t||t<=n)&&Object.keys(s.O).every(e=>s.O[e](r[d]))?r.splice(d--,1):(a=!1,t<n&&(n=t));a&&(u.splice(l--,1),void 0!==(i=o()))&&(e=i)}return e}t=t||0;for(var l=u.length;0<l&&u[l-1][2]>t;l--)u[l]=u[l-1];u[l]=[r,o,t]},s.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return s.d(r,{a:r}),r},s.d=(e,r)=>{for(var o in r)s.o(r,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.j=567,f={567:0},s.O.j=e=>0===f[e],r=(e,r)=>{var o,t,n,[l,i,a]=r,d=0;if(l.some(e=>0!==f[e])){for(o in i)s.o(i,o)&&(s.m[o]=i[o]);a&&(n=a(s))}for(e&&e(r);d<l.length;d++)t=l[d],s.o(f,t)&&f[t]&&f[t][0](),f[t]=0;return s.O(n)},(e=self.webpackChunksapl_frontend=self.webpackChunksapl_frontend||[]).forEach(r.bind(null,0)),e.push=r.bind(null,e.push.bind(e));var r=s.O(void 0,[998],()=>s(4709));s.O(r)})();

BIN
sapl/static/sapl/frontend/js/painel.02063a4f.js.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/js/painel.7aa779e9.js.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/js/parlamentar.25e7f0fa.js.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/parlamentar.25e7f0fa.js → sapl/static/sapl/frontend/js/parlamentar.841cc48b.js

@ -1 +1 @@
(()=>{"use strict";var u,p,e,t={6884:(e,a,t)=>{t(6992),t(8674),t(9601),t(7727),t(6647),t(3710),t(1539),t(9714),t(7327),t(5827);var r=t(538),i=t(4852),s=t(9669),n=t.n(s),l=t(6486);n().defaults.xsrfCookieName="csrftoken",n().defaults.xsrfHeaderName="X-CSRFToken",r.ZP.use(i.v5),new r.ZP({delimiters:["[[","]]"],el:"#app2",data:function(){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:function(){this.debouncepesquisaParlamentar=l.debounce(this.pesquisaParlamentar,500)},methods:{getParlamentares:function(e){var a=this;!this.legislatura_selecionada&&"0"!==this.legislatura_selecionada.toString()||n().get("/api/parlamentares/legislatura/"+this.legislatura_selecionada+"/parlamentares/?get_all=true").then(function(e){a.parlamentares=e.data,a.visible_parlamentares=a.parlamentares,a.size_parlamentares=a.visible_parlamentares.length,a.checkTitularAtivo()}).catch(function(e){console.error("Ocorreu um erro ao obter os dados de parlamentares:"+e)})},pesquisaParlamentar:function(e){var a=this;n().get("/api/parlamentares/parlamentar/search_parlamentares/",{params:{nome_parlamentar:this.nome_pesquisa}}).then(function(e){a.parlamentares=e.data,a.visible_parlamentares=a.parlamentares,a.size_parlamentares=a.visible_parlamentares.length}).catch(function(e){console.error("Erro ao procurar parlamentar:"+e)})},checkTitularAtivo:function(e){this.visible_parlamentares=this.parlamentares,this.filter_ativo&&(this.visible_parlamentares=this.visible_parlamentares.filter(function(e){return e.ativo})),this.filter_titular&&(this.visible_parlamentares=this.visible_parlamentares.filter(function(e){return"Sim"===e.titular})),this.size_parlamentares=this.visible_parlamentares.length},pesquisaChange:function(e){this.is_pesquisa=!this.is_pesquisa,this.filter_ativo=!1,this.is_pesquisa?this.parlamentares=[]:this.getParlamentares()}},mounted:function(){var a=this;n().get("/api/parlamentares/legislatura/?get_all=true").then(function(e){a.legislaturas=e.data;var i=(new Date).getFullYear();a.legislatura_selecionada=a.legislaturas.reduce(function(e,a){var t=new Date(a.data_inicio+" 00:00").getFullYear(),r=new Date(a.data_fim+" 00:00").getFullYear();return e=t<=i&&i<=r?a.id:e},"")}).then(function(e){a.getParlamentares()}).catch(function(e){console.error("Ocorreu um erro ao obter os dados de legislação: "+e)})}})}},r={};function c(e){var a=r[e];return void 0!==a||(a=r[e]={id:e,loaded:!1,exports:{}},t[e].call(a.exports,a,a.exports,c),a.loaded=!0),a.exports}c.m=t,u=[],c.O=(e,a,t,r)=>{if(!a){for(var i=1/0,s=0;s<u.length;s++){for(var n,[a,t,r]=u[s],l=!0,o=0;o<a.length;o++)(!1&r||r<=i)&&Object.keys(c.O).every(e=>c.O[e](a[o]))?a.splice(o--,1):(l=!1,r<i&&(i=r));l&&(u.splice(s--,1),void 0!==(n=t())&&(e=n))}return e}r=r||0;for(var s=u.length;0<s&&u[s-1][2]>r;s--)u[s]=u[s-1];u[s]=[a,t,r]},c.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return c.d(a,{a:a}),a},c.d=(e,a)=>{for(var t in a)c.o(a,t)&&!c.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),c.j=161,p={161:0},c.O.j=e=>0===p[e],a=(e,a)=>{var t,r,i,[s,n,l]=a,o=0;if(s.some(e=>0!==p[e])){for(t in n)c.o(n,t)&&(c.m[t]=n[t]);l&&(i=l(c))}for(e&&e(a);o<s.length;o++)r=s[o],c.o(p,r)&&p[r]&&p[r][0](),p[r]=0;return c.O(i)},(e=self.webpackChunksapl_frontend=self.webpackChunksapl_frontend||[]).forEach(a.bind(null,0)),e.push=a.bind(null,e.push.bind(e));var a=c.O(void 0,[998],()=>c(6884));c.O(a)})();
(()=>{"use strict";var u,p,e,t={3352:(e,a,t)=>{t(6992),t(8674),t(9601),t(7727),t(6647),t(3710),t(1539),t(9714),t(7327),t(5827);var r=t(538),i=t(2005),s=t(9669),n=t.n(s),l=t(6486);n().defaults.xsrfCookieName="csrftoken",n().defaults.xsrfHeaderName="X-CSRFToken",r.ZP.use(i.v5),new r.ZP({delimiters:["[[","]]"],el:"#app2",data:function(){return{nome_pesquisa:"",is_pesquisa:!1,legislatura_selecionada:"",legislaturas:[],parlamentares:[],visible_parlamentares:[],size_parlamentares:0,filter_ativo:!0,filter_titular:""}},watch:{nome_pesquisa:function(e){this.debouncepesquisaParlamentar()}},created:function(){this.debouncepesquisaParlamentar=l.debounce(this.pesquisaParlamentar,500)},methods:{getParlamentares:function(e){var a=this;!this.legislatura_selecionada&&"0"!==this.legislatura_selecionada.toString()||n().get("/api/parlamentares/legislatura/"+this.legislatura_selecionada+"/parlamentares/?get_all=true").then(function(e){a.parlamentares=e.data,a.visible_parlamentares=a.parlamentares,a.size_parlamentares=a.visible_parlamentares.length,a.checkTitularAtivo()}).catch(function(e){console.error("Ocorreu um erro ao obter os dados de parlamentares:"+e)})},pesquisaParlamentar:function(e){var a=this;n().get("/api/parlamentares/parlamentar/search_parlamentares/",{params:{nome_parlamentar:this.nome_pesquisa}}).then(function(e){a.parlamentares=e.data,a.visible_parlamentares=a.parlamentares,a.size_parlamentares=a.visible_parlamentares.length}).catch(function(e){console.error("Erro ao procurar parlamentar:"+e)})},checkTitularAtivo:function(e){this.visible_parlamentares=this.parlamentares,this.filter_ativo&&(this.visible_parlamentares=this.visible_parlamentares.filter(function(e){return e.ativo})),this.filter_titular&&(this.visible_parlamentares=this.visible_parlamentares.filter(function(e){return"Sim"===e.titular})),this.size_parlamentares=this.visible_parlamentares.length},pesquisaChange:function(e){this.is_pesquisa=!this.is_pesquisa,this.filter_ativo=!0,this.is_pesquisa?this.parlamentares=[]:this.getParlamentares()}},mounted:function(){var a=this;n().get("/api/parlamentares/legislatura/?get_all=true").then(function(e){a.legislaturas=e.data;var i=(new Date).getFullYear();a.legislatura_selecionada=a.legislaturas.reduce(function(e,a){var t=new Date(a.data_inicio+" 00:00").getFullYear(),r=new Date(a.data_fim+" 00:00").getFullYear();return e=t<=i&&i<=r?a.id:e},"")}).then(function(e){a.getParlamentares()}).catch(function(e){console.error("Ocorreu um erro ao obter os dados de legislação: "+e)})}})}},r={};function c(e){var a=r[e];return void 0!==a||(a=r[e]={id:e,loaded:!1,exports:{}},t[e].call(a.exports,a,a.exports,c),a.loaded=!0),a.exports}c.m=t,u=[],c.O=(e,a,t,r)=>{if(!a){for(var i=1/0,s=0;s<u.length;s++){for(var n,[a,t,r]=u[s],l=!0,o=0;o<a.length;o++)(!1&r||r<=i)&&Object.keys(c.O).every(e=>c.O[e](a[o]))?a.splice(o--,1):(l=!1,r<i&&(i=r));l&&(u.splice(s--,1),void 0!==(n=t()))&&(e=n)}return e}r=r||0;for(var s=u.length;0<s&&u[s-1][2]>r;s--)u[s]=u[s-1];u[s]=[a,t,r]},c.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return c.d(a,{a:a}),a},c.d=(e,a)=>{for(var t in a)c.o(a,t)&&!c.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),c.j=161,p={161:0},c.O.j=e=>0===p[e],a=(e,a)=>{var t,r,i,[s,n,l]=a,o=0;if(s.some(e=>0!==p[e])){for(t in n)c.o(n,t)&&(c.m[t]=n[t]);l&&(i=l(c))}for(e&&e(a);o<s.length;o++)r=s[o],c.o(p,r)&&p[r]&&p[r][0](),p[r]=0;return c.O(i)},(e=self.webpackChunksapl_frontend=self.webpackChunksapl_frontend||[]).forEach(a.bind(null,0)),e.push=a.bind(null,e.push.bind(e));var a=c.O(void 0,[998],()=>c(3352));c.O(a)})();

BIN
sapl/static/sapl/frontend/js/parlamentar.841cc48b.js.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.inline.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.inline.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.inline.min.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.inline.min.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.min.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/content.min.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/skin.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/skin.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/skin.min.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide-dark/skin.min.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide/content.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide/content.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide/content.inline.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide/content.inline.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide/content.inline.min.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide/content.inline.min.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide/content.min.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide/content.min.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide/skin.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide/skin.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/oxide/skin.min.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/oxide/skin.min.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.inline.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.inline.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.inline.min.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.inline.min.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.min.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/content.min.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/skin.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/skin.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/skin.min.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/tinymce-5-dark/skin.min.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.inline.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.inline.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.inline.min.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.inline.min.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.min.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/tinymce-5/content.min.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5/skin.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/skins/ui/tinymce-5/skin.css.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/skins/ui/tinymce-5/skin.min.css

File diff suppressed because one or more lines are too long

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save