Browse Source

Movendo package.json para root do projeto (#3305)

* Movendo package.json para root do projeto

* Consertando algumas referencias

* Removendo arquivos do frontend/ que foram transferidos para o root

* Force build copy frontend/public-->sapl/static/...

* Rebuild frontend com arq de cfg na raiz do projeto

Co-authored-by: Leandro Roberto <leandroroberto.br@gmail.com>
pull/3309/head
Ulysses Lara 4 years ago
committed by GitHub
parent
commit
a0acfbf302
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 64
      frontend/run-yarn.sh
  2. 1
      package.json
  3. 126
      sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css
  4. BIN
      sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.gz
  5. 126
      sapl/static/sapl/frontend/css/chunk-vendors.e87b224e.css
  6. BIN
      sapl/static/sapl/frontend/css/chunk-vendors.e87b224e.css.gz
  7. 1
      sapl/static/sapl/frontend/css/global.80b7564c.css
  8. BIN
      sapl/static/sapl/frontend/css/global.80b7564c.css.gz
  9. 1
      sapl/static/sapl/frontend/css/global.c362c381.css
  10. BIN
      sapl/static/sapl/frontend/css/global.c362c381.css.gz
  11. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.003231a1.eot.gz
  12. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.2ec1097c.ttf.gz
  13. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.5795bc0a.woff2
  14. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.8300bd7f.ttf
  15. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.8300bd7f.ttf.gz
  16. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.90cd422f.woff
  17. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.ad527cc5.woff
  18. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.e2ca6541.eot
  19. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.e2ca6541.eot.gz
  20. BIN
      sapl/static/sapl/frontend/fonts/fa-brands-400.f075c50f.woff2
  21. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.27a4e6fd.woff2
  22. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.3c6879c4.woff
  23. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.3cefd339.ttf.gz
  24. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.49f00693.ttf
  25. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.49f00693.ttf.gz
  26. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.4a74738e.woff2
  27. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.b01516c1.eot
  28. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.b01516c1.eot.gz
  29. BIN
      sapl/static/sapl/frontend/fonts/fa-regular-400.ee87e7fc.eot.gz
  30. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.06d5f036.eot.gz
  31. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.205f07b3.ttf
  32. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.205f07b3.ttf.gz
  33. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.4451e1d8.woff
  34. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.55071ae1.woff2
  35. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.8ac31674.eot
  36. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.8ac31674.eot.gz
  37. BIN
      sapl/static/sapl/frontend/fonts/fa-solid-900.8e1ed89b.woff2
  38. 29
      sapl/static/sapl/frontend/img/fa-brands-400.2f122423.svg
  39. BIN
      sapl/static/sapl/frontend/img/fa-brands-400.2f122423.svg.gz
  40. BIN
      sapl/static/sapl/frontend/img/fa-brands-400.3237e6d6.svg.gz
  41. BIN
      sapl/static/sapl/frontend/img/fa-regular-400.2788556a.svg.gz
  42. 9
      sapl/static/sapl/frontend/img/fa-regular-400.3602b7e8.svg
  43. BIN
      sapl/static/sapl/frontend/img/fa-regular-400.3602b7e8.svg.gz
  44. 9
      sapl/static/sapl/frontend/img/fa-solid-900.664de393.svg
  45. BIN
      sapl/static/sapl/frontend/img/fa-solid-900.664de393.svg.gz
  46. BIN
      sapl/static/sapl/frontend/img/fa-solid-900.8e39d5d5.svg.gz
  47. 3
      sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js
  48. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js.LICENSE.txt.gz
  49. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js.gz
  50. 1
      sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js.map
  51. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js.map.gz
  52. 3
      sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js
  53. 4
      sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.LICENSE.txt
  54. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.LICENSE.txt.gz
  55. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.gz
  56. 1
      sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.map
  57. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.map.gz
  58. 2
      sapl/static/sapl/frontend/js/compilacao.44a714dd.js
  59. BIN
      sapl/static/sapl/frontend/js/compilacao.44a714dd.js.gz
  60. 1
      sapl/static/sapl/frontend/js/compilacao.44a714dd.js.map
  61. BIN
      sapl/static/sapl/frontend/js/compilacao.44a714dd.js.map.gz
  62. 2
      sapl/static/sapl/frontend/js/compilacao.512057a6.js
  63. BIN
      sapl/static/sapl/frontend/js/compilacao.512057a6.js.gz
  64. 1
      sapl/static/sapl/frontend/js/compilacao.512057a6.js.map
  65. BIN
      sapl/static/sapl/frontend/js/compilacao.512057a6.js.map.gz
  66. 3
      sapl/static/sapl/frontend/js/global.28cb09ed.js
  67. BIN
      sapl/static/sapl/frontend/js/global.28cb09ed.js.gz
  68. 1
      sapl/static/sapl/frontend/js/global.28cb09ed.js.map
  69. BIN
      sapl/static/sapl/frontend/js/global.28cb09ed.js.map.gz
  70. 3
      sapl/static/sapl/frontend/js/global.bd0aab4d.js
  71. 0
      sapl/static/sapl/frontend/js/global.bd0aab4d.js.LICENSE.txt
  72. BIN
      sapl/static/sapl/frontend/js/global.bd0aab4d.js.gz
  73. 1
      sapl/static/sapl/frontend/js/global.bd0aab4d.js.map
  74. BIN
      sapl/static/sapl/frontend/js/global.bd0aab4d.js.map.gz
  75. 2
      sapl/static/sapl/frontend/js/painel.37936654.js
  76. BIN
      sapl/static/sapl/frontend/js/painel.37936654.js.gz
  77. 1
      sapl/static/sapl/frontend/js/painel.37936654.js.map
  78. BIN
      sapl/static/sapl/frontend/js/painel.37936654.js.map.gz
  79. 2
      sapl/static/sapl/frontend/js/painel.ca386338.js
  80. BIN
      sapl/static/sapl/frontend/js/painel.ca386338.js.gz
  81. 1
      sapl/static/sapl/frontend/js/painel.ca386338.js.map
  82. BIN
      sapl/static/sapl/frontend/js/painel.ca386338.js.map.gz
  83. 2
      sapl/static/sapl/frontend/js/parlamentar.5eb59670.js
  84. BIN
      sapl/static/sapl/frontend/js/parlamentar.5eb59670.js.gz
  85. 1
      sapl/static/sapl/frontend/js/parlamentar.5eb59670.js.map
  86. BIN
      sapl/static/sapl/frontend/js/parlamentar.5eb59670.js.map.gz
  87. 2
      sapl/static/sapl/frontend/js/parlamentar.eaf09460.js
  88. BIN
      sapl/static/sapl/frontend/js/parlamentar.eaf09460.js.gz
  89. 1
      sapl/static/sapl/frontend/js/parlamentar.eaf09460.js.map
  90. BIN
      sapl/static/sapl/frontend/js/parlamentar.eaf09460.js.map.gz
  91. 2
      sapl/webpack-stats.json
  92. 34
      vue.config.js

64
frontend/run-yarn.sh

@ -1,64 +0,0 @@
#!/bin/bash
verifica_git() {
if [[ ! -d ".git" ]]; then
echo -e "\033[31mERRO\033[0m Diretório atual não é um repositório git!"
exit 1
fi
}
verifica_diretorio() {
DIR=$(pwd | rev | cut -d'/' -f1 | rev)
if [[ "$DIR" != "$1" ]]; then
echo -e "\033[31mERRO\033[0m Diretório atual não é o \033[1m$1\033[0m!"
exit 1
fi
verifica_git
}
retorna_branch() {
# shellcheck disable=SC2155
local branch=$(git branch | grep '^*' | cut -d ' ' -f2)
if [[ -z "$branch" ]]; then
echo -e "\033[31mERRO\033[0m Não foi possivel configurar a variável \033[1m$1\033[0m!"
exit 1
else
echo "$branch"
fi
}
if [[ ! (( "$1" == "build" ) || ( "$1" == "serve" )) ]]; then
echo -e "\033[31mERRO\033[0m Parâmetro inválido!"
echo -e " Coloque \033[1mbuild\033[0m ou \033[1mserve\033[0m."
exit 1
fi
verifica_diretorio "sapl-frontend"
BRANCH_FRONTEND="$(retorna_branch "BRANCH_FRONTEND")"
# shellcheck disable=SC2164
cd ../sapl > /dev/null 2>&1
if [[ ! $? -eq 0 ]]; then
echo "\033[31mERRO\033[0m Os diretórios \033[1msapl\033[0m e \033[1msapl-frontend\033[0m devem ter o mesmo diretório raiz."
exit 1
fi
verifica_diretorio "sapl"
BRANCH_BACKEND="$(retorna_branch "BRANCH_BACKEND")"
cd ../sapl-frontend > /dev/null 2>&1
if [[ "$BRANCH_FRONTEND" == "$BRANCH_BACKEND" ]]; then
echo -e "\033[33mEXECUTANDO\033[0m \033[1myarn run $1\033[1m."
yarn run "$1"
echo -e "\033[32mSUCESSO\033[0m $1 realizado com sucesso."
else
echo -e "\033[31mERRO\033[0m $1 não realizada porque as branchs dos dois repositórios são diferentes."
echo -e " Branch do Frontend: \033[1m$BRANCH_FRONTEND\033[0m"
echo -e " Branch do Backend: \033[1m$BRANCH_BACKEND\033[0m"
echo -e " Para que a operação seja feita, coloque os dois repositórios na mesma branch."
fi

1
frontend/package.json → package.json

@ -39,6 +39,7 @@
"@vue/cli-service": "^4.3.1", "@vue/cli-service": "^4.3.1",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"compression-webpack-plugin": "^3.1.0", "compression-webpack-plugin": "^3.1.0",
"copy-webpack-plugin": "^6.3.0",
"css-loader": "^3.5.2", "css-loader": "^3.5.2",
"eslint": "^6.8.0", "eslint": "^6.8.0",
"eslint-config-standard": "^14.1.1", "eslint-config-standard": "^14.1.1",

126
sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.gz

Binary file not shown.

126
sapl/static/sapl/frontend/css/chunk-vendors.e87b224e.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/css/chunk-vendors.e87b224e.css.gz

Binary file not shown.

1
sapl/static/sapl/frontend/css/global.80b7564c.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/css/global.80b7564c.css.gz

Binary file not shown.

1
sapl/static/sapl/frontend/css/global.c362c381.css

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/css/global.c362c381.css.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.003231a1.eot.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.2ec1097c.ttf.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.5795bc0a.woff2

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.2ec1097c.ttf → sapl/static/sapl/frontend/fonts/fa-brands-400.8300bd7f.ttf

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.8300bd7f.ttf.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.90cd422f.woff

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.ad527cc5.woff

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.003231a1.eot → sapl/static/sapl/frontend/fonts/fa-brands-400.e2ca6541.eot

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-brands-400.e2ca6541.eot.gz

Binary file not shown.

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

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.27a4e6fd.woff2

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.8a8d8cd6.woff → sapl/static/sapl/frontend/fonts/fa-regular-400.3c6879c4.woff

Binary file not shown.

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

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.3cefd339.ttf → sapl/static/sapl/frontend/fonts/fa-regular-400.49f00693.ttf

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.49f00693.ttf.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.4a74738e.woff2

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.ee87e7fc.eot → sapl/static/sapl/frontend/fonts/fa-regular-400.b01516c1.eot

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.b01516c1.eot.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-regular-400.ee87e7fc.eot.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.06d5f036.eot.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.2eaaf2a7.ttf → sapl/static/sapl/frontend/fonts/fa-solid-900.205f07b3.ttf

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.2eaaf2a7.ttf.gz → sapl/static/sapl/frontend/fonts/fa-solid-900.205f07b3.ttf.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.56df75b6.woff → sapl/static/sapl/frontend/fonts/fa-solid-900.4451e1d8.woff

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.55071ae1.woff2

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.06d5f036.eot → sapl/static/sapl/frontend/fonts/fa-solid-900.8ac31674.eot

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.8ac31674.eot.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/fonts/fa-solid-900.8e1ed89b.woff2

Binary file not shown.

29
sapl/static/sapl/frontend/img/fa-brands-400.3237e6d6.svg → sapl/static/sapl/frontend/img/fa-brands-400.2f122423.svg

@ -2,11 +2,11 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata> <metadata>
Created by FontForge 20200314 at Mon Sep 28 13:16:03 2020 Created by FontForge 20200314 at Mon Oct 5 09:50:45 2020
By Robert Madole By Robert Madole
Copyright (c) Font Awesome Copyright (c) Font Awesome
</metadata> </metadata>
<defs> <!-- Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><defs>
<font id="FontAwesome5Brands-Regular" horiz-adv-x="448" > <font id="FontAwesome5Brands-Regular" horiz-adv-x="448" >
<font-face <font-face
font-family="Font Awesome 5 Brands Regular" font-family="Font Awesome 5 Brands Regular"
@ -1297,15 +1297,17 @@ c-4.2998 22.5 -31.4004 20.9004 -49 20.9004h-24.6006v-127.8zM382.5 157.4v36c0 17.
c5.69922 -6.7998 11.8994 -9.7998 20.8994 -9.7998c19.7998 0 22.2002 15.2002 22.2002 30.9004zM265 218.1v-49.2998c0 -9.7002 1.90039 -18.7002 -10.2998 -18.3994v83.6992c11.8994 0 10.2998 -6.2998 10.2998 -16zM350.5 192v-32.7002 c5.69922 -6.7998 11.8994 -9.7998 20.8994 -9.7998c19.7998 0 22.2002 15.2002 22.2002 30.9004zM265 218.1v-49.2998c0 -9.7002 1.90039 -18.7002 -10.2998 -18.3994v83.6992c11.8994 0 10.2998 -6.2998 10.2998 -16zM350.5 192v-32.7002
c0 -5.39941 1.59961 -14.3994 -6.2002 -14.3994c-1.59961 0 -3 0.799805 -3.7998 2.39941c-2.2002 5.10059 -1.09961 44.1006 -1.09961 44.7002c0 3.7998 -1.10059 12.7002 4.89941 12.7002c7.2998 0 6.2002 -7.2998 6.2002 -12.7002z" /> c0 -5.39941 1.59961 -14.3994 -6.2002 -14.3994c-1.59961 0 -3 0.799805 -3.7998 2.39941c-2.2002 5.10059 -1.09961 44.1006 -1.09961 44.7002c0 3.7998 -1.10059 12.7002 4.89941 12.7002c7.2998 0 6.2002 -7.2998 6.2002 -12.7002z" />
<glyph glyph-name="ravelry" unicode="&#xf2d9;" horiz-adv-x="512" <glyph glyph-name="ravelry" unicode="&#xf2d9;" horiz-adv-x="512"
d="M407.4 386.5c72.6992 -37.9004 112 -117.2 103.3 -199.5c-1.7002 -16.7002 -4.40039 -36.2002 -9.7998 -52.2002c-22.2002 -65.7002 -52.9004 -108.6 -123.101 -147.7c-6.39941 -4.39941 -13.2998 -8.59961 -20.2002 -10.7998 d="M498.252 213.777c0.129883 -0.613281 0.322266 -1.21777 0.561523 -1.78223v-37.0557c-0.194336 -0.300781 -0.516602 -0.583008 -0.552734 -0.900391c-0.619141 -5.36426 -0.837891 -10.8076 -1.87012 -16.0869c-2.06934 -10.6074 -4.15723 -21.2393 -7.0166 -31.6523
c-12.5 -4.39941 -26.0996 -5.39941 -40.0996 -3.89941c-5.90039 -0.5 -11.7998 -0.700195 -18 -0.700195c-93.7002 0 -173 64 -196.9 151.399c-0.699219 0 -1.5 0.200195 -2.19922 0.200195c-5.60059 -44.2998 27.0996 -104.1 27.0996 -104.1s2 -3 13.2998 -20.2002 c-4.94531 -18.0205 -12.7578 -34.8809 -22.2998 -50.9258c-8.94336 -15.126 -19.4043 -28.9668 -31.4268 -41.6387c-3.74609 -3.92188 -7.54688 -7.80078 -11.5107 -11.5c-5.31152 -4.95703 -10.5146 -10.1094 -16.2998 -14.457
c-62.7998 33.2002 -64.5 131.2 -64.5 131.2c-15 5.59961 -67.2002 23.3994 -76.2998 37.8994c0 0 40.9004 -22.3994 76.2002 -27c-0.200195 0.300781 0.5 7.90039 0.5 7.90039c2.2002 30 12.5 53.4004 23.0996 71.4004c6.90039 33.7998 22.1006 64.2998 43.2998 89.8994 c-9.3418 -7.02344 -18.9883 -13.6533 -28.7373 -20.1006c-15.083 -9.81543 -31.6211 -17.9053 -48.9512 -23.8174c-15.3828 -5.38281 -31.1533 -9.38574 -47.4893 -10.7178c-2.52734 -0.206055 -5.02051 -0.753906 -7.52734 -1.14258h-32.2891
c3.7002 15.2998 9.60059 33.5 19.9004 52.7002c4.40039 8.40039 8.59961 13.7998 19.9004 19c74.8994 35 148.699 43.9004 224.5 4.5zM138.8 284.8c-7.59961 -11.2998 -13.7002 -23.5996 -18.8994 -36.3994c8.09961 8.59961 14.7998 14.1992 18.1992 16.6992 c-0.358398 0.245117 -0.762695 0.436523 -1.18945 0.55957c-6.1377 0.620117 -12.3418 0.863281 -18.4121 1.87305c-13.8301 2.22949 -27.5977 5.58398 -40.6416 9.83496c-19.5498 6.43359 -38.4463 15.0176 -55.8994 25.2773
c-0.5 7.40039 0.700195 19.7002 0.700195 19.7002zM107.6 162.9c0.700195 -9.60059 2 -18.9004 4.2002 -28.1006l41.4004 -6.89941c-14.1006 42.0996 -15.7998 90.0996 -15.7998 90.0996c-16.5 -16 -25.4004 -37.9004 -29.8008 -55.0996zM115.5 120.1 c-15.0488 8.79004 -28.9365 18.9688 -41.7871 30.5859c-9.6875 8.70605 -18.3936 18.0898 -26.3584 28.416c-9.38184 12.1963 -17.4385 25.4316 -24 39.5283c-7.5918 16.6592 -13.3467 34.7812 -16.7295 53.2998c-2.35547 13.1611 -3.85059 26.5459 -4.4248 40.2402
c21.4004 -69.6992 81 -122.8 154.1 -134.399c-1 0.299805 -1.69922 0.5 -2.69922 1c0 0 -81 47.5 -108.301 124.3c-9.09961 1.5 -28.2998 5.90039 -43.0996 9.09961zM386 3.90039c63 32 106.6 98 106.8 174c0 107.399 -86.5996 194.5 -193 194.5 c-0.136719 3.0332 -0.209961 5.74121 -0.209961 8.80859c0 9.05566 0.599609 17.9717 1.76172 26.7119c1.52637 11.874 4.15625 23.6367 7.69043 34.7588c5.05762 15.7021 12.0283 30.7871 20.4941 44.6006c9.58203 15.9961 20.7793 30.6025 33.6484 43.9502
c-49.2998 0 -94.0996 -18.7002 -128.3 -49.5c-5.2002 -10.1006 -8.59961 -22.9004 -11.0996 -39.4004c52.5 44.5996 146 33.5 146 33.5c23.3994 -1 20.5996 -21.7002 20.3994 -28.0996c-85.2002 7.19922 -127 -17.2002 -168.399 -52.4004 c9.55469 9.83496 19.7539 19.0605 29.9268 28.2676c5.70605 5.1582 11.8066 9.9082 17.9736 14.5186c12.0029 9.04004 24.6963 17.1025 38.0801 24.1572c12.5137 6.63281 25.9795 12.1963 39.7686 16.3555c10.9453 3.41016 22.5254 5.84375 34.2559 7.09961
c0 0 8.09961 -78.7998 26.7998 -110.8c107.8 -4.90039 189.8 53.7002 189.8 53.7002c10.2998 7.39941 19.4004 8.09961 21.4004 -4.7002c1.5 -10.4004 2.19922 -24.4004 -9.60059 -29.7998c-36 -16.8008 -75.5996 -27.3008 -115 -33 c2.42773 0.225586 4.82617 0.761719 7.23633 1.15039c10.7627 -0.00195312 21.5254 0 32.2881 0.00585938c0.299805 -0.195312 0.583984 -0.516602 0.899414 -0.552734c6.87793 -0.81543 13.8467 -1.16797 20.627 -2.48242
c-25.5996 -3.7002 -39.7998 -4.60059 -78 -3.90039c36.4004 -84.7002 127.5 -107.8 127.5 -107.8c28.5 -4.7002 50.2002 -1 64.7002 3.7002z" /> c11.2432 -2.18359 22.4971 -4.51465 33.5156 -7.61523c19.999 -5.78125 39.2266 -14.2031 56.7227 -24.668c17.2832 -10.0947 32.9639 -22.1357 47.1133 -36.1152c6.71973 -6.90527 12.9209 -14.0508 18.8174 -21.6895c13.4639 -16.959 24.0283 -36.4561 30.874 -57.5
c3.88867 -11.8086 7.16211 -24.2148 9.62207 -36.5996c2.0459 -10.1748 2.53809 -20.6602 3.74609 -31zM337.135 214.927l0.00488281 67.2695c-35.2686 0 -53.1152 -9.36719 -62.04 -36.1895v31.9316h-73.5176v-190.738h73.5127v93.667
c0 22.1396 6.37012 37.04 33.5703 37.04c11.8984 0 28.4697 -2.98047 28.4697 -2.98047z" />
<glyph glyph-name="sellcast" unicode="&#xf2da;" <glyph glyph-name="sellcast" unicode="&#xf2da;"
d="M353.4 416c52.0996 0 94.6992 -42.5996 94.6992 -94.5996v-258.801c0 -52 -42.5996 -94.5996 -94.6992 -94.5996h-258.7c-52.1006 0 -94.7002 42.5996 -94.7002 94.7002v258.7c0 52 42.5996 94.5996 94.7002 94.5996h258.7zM303.4 99.5996 d="M353.4 416c52.0996 0 94.6992 -42.5996 94.6992 -94.5996v-258.801c0 -52 -42.5996 -94.5996 -94.6992 -94.5996h-258.7c-52.1006 0 -94.7002 42.5996 -94.7002 94.7002v258.7c0 52 42.5996 94.5996 94.7002 94.5996h258.7zM303.4 99.5996
c27.8994 48.2002 11.1992 110.5 -37.2002 138.5c-18.6006 10.8008 0.0996094 -0.0996094 -18.5 10.7002c-25 14.4004 -46.2002 -23.2998 -21.6006 -37.5c18 -10.2002 0.800781 -0.399414 18.6006 -10.5996c27.5996 -16 37.2002 -51.7998 21.2998 -79.4004 c27.8994 48.2002 11.1992 110.5 -37.2002 138.5c-18.6006 10.8008 0.0996094 -0.0996094 -18.5 10.7002c-25 14.4004 -46.2002 -23.2998 -21.6006 -37.5c18 -10.2002 0.800781 -0.399414 18.6006 -10.5996c27.5996 -16 37.2002 -51.7998 21.2998 -79.4004
@ -3713,8 +3715,3 @@ c-1.83008 -9.41992 -3.52051 -18.6094 -5.40039 -32c-1.95898 -14.4814 -3.16406 -28
c8.57324 -16.2061 23.0801 -27.873 43.5195 -35c20.4404 -7.12695 48.9209 -10.6172 85.4414 -10.4697h4.59961c36.5605 -0.15332 65.0439 3.33691 85.4502 10.4707c20.4336 7.12012 34.9365 18.7871 43.5098 35.001s13.2402 37.8809 14 65.001z" /> c8.57324 -16.2061 23.0801 -27.873 43.5195 -35c20.4404 -7.12695 48.9209 -10.6172 85.4414 -10.4697h4.59961c36.5605 -0.15332 65.0439 3.33691 85.4502 10.4707c20.4336 7.12012 34.9365 18.7871 43.5098 35.001s13.2402 37.8809 14 65.001z" />
</font> </font>
</defs></svg> </defs></svg>
<!--
Font Awesome Free 5.15.0 by @fontawesome - https://fontawesome.com
License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
-->

Before

Width:  |  Height:  |  Size: 730 KiB

After

Width:  |  Height:  |  Size: 730 KiB

BIN
sapl/static/sapl/frontend/img/fa-brands-400.2f122423.svg.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/img/fa-brands-400.3237e6d6.svg.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/img/fa-regular-400.2788556a.svg.gz

Binary file not shown.

9
sapl/static/sapl/frontend/img/fa-regular-400.2788556a.svg → sapl/static/sapl/frontend/img/fa-regular-400.3602b7e8.svg

@ -2,11 +2,11 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata> <metadata>
Created by FontForge 20200314 at Mon Sep 28 13:16:03 2020 Created by FontForge 20200314 at Mon Oct 5 09:50:45 2020
By Robert Madole By Robert Madole
Copyright (c) Font Awesome Copyright (c) Font Awesome
</metadata> </metadata>
<defs> <!-- Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><defs>
<font id="FontAwesome5Free-Regular" horiz-adv-x="512" > <font id="FontAwesome5Free-Regular" horiz-adv-x="512" >
<font-face <font-face
font-family="Font Awesome 5 Free Regular" font-family="Font Awesome 5 Free Regular"
@ -799,8 +799,3 @@ c3.7998 4.40039 10.2998 5.5 15.2998 2.5l80 -48c3.59961 -2.2002 5.7998 -6.09961 5
s-69.5996 -5.5 -92.2998 -15.2002c-8.60059 -3.7002 -17 6.10059 -15.5 17.9004c6.89941 55 62.3994 93.2998 107.8 93.2998z" /> s-69.5996 -5.5 -92.2998 -15.2002c-8.60059 -3.7002 -17 6.10059 -15.5 17.9004c6.89941 55 62.3994 93.2998 107.8 93.2998z" />
</font> </font>
</defs></svg> </defs></svg>
<!--
Font Awesome Free 5.15.0 by @fontawesome - https://fontawesome.com
License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
-->

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 141 KiB

BIN
sapl/static/sapl/frontend/img/fa-regular-400.3602b7e8.svg.gz

Binary file not shown.

9
sapl/static/sapl/frontend/img/fa-solid-900.8e39d5d5.svg → sapl/static/sapl/frontend/img/fa-solid-900.664de393.svg

@ -2,11 +2,11 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata> <metadata>
Created by FontForge 20200314 at Mon Sep 28 13:16:03 2020 Created by FontForge 20200314 at Mon Oct 5 09:50:45 2020
By Robert Madole By Robert Madole
Copyright (c) Font Awesome Copyright (c) Font Awesome
</metadata> </metadata>
<defs> <!-- Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><defs>
<font id="FontAwesome5Free-Solid" horiz-adv-x="512" > <font id="FontAwesome5Free-Solid" horiz-adv-x="512" >
<font-face <font-face
font-family="Font Awesome 5 Free Solid" font-family="Font Awesome 5 Free Solid"
@ -5026,8 +5026,3 @@ c-35.3223 0 -64 28.6777 -64 64v256c0 35.3223 28.6777 64 64 64h352c88.3066 0 160
c0 17.6611 -14.3389 32 -32 32h-128c-17.6611 0 -32 -14.3389 -32 -32v-64c0 -17.6611 14.3389 -32 32 -32h128c17.6611 0 32 14.3389 32 32zM448 128v192c0 17.6611 -14.3389 32 -32 32h-64c-17.6611 0 -32 -14.3389 -32 -32v-192h128z" /> c0 17.6611 -14.3389 32 -32 32h-128c-17.6611 0 -32 -14.3389 -32 -32v-64c0 -17.6611 14.3389 -32 32 -32h128c17.6611 0 32 14.3389 32 32zM448 128v192c0 17.6611 -14.3389 32 -32 32h-64c-17.6611 0 -32 -14.3389 -32 -32v-192h128z" />
</font> </font>
</defs></svg> </defs></svg>
<!--
Font Awesome Free 5.15.0 by @fontawesome - https://fontawesome.com
License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
-->

Before

Width:  |  Height:  |  Size: 896 KiB

After

Width:  |  Height:  |  Size: 896 KiB

BIN
sapl/static/sapl/frontend/img/fa-solid-900.664de393.svg.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/img/fa-solid-900.8e39d5d5.svg.gz

Binary file not shown.

3
sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js.LICENSE.txt.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js.map

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js.map.gz

Binary file not shown.

3
sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js

File diff suppressed because one or more lines are too long

4
sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js.LICENSE.txt → sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.LICENSE.txt

@ -37,7 +37,7 @@ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
/*! /*!
* Bootstrap v4.5.2 (https://getbootstrap.com/) * Bootstrap v4.5.3 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/ */
@ -317,4 +317,4 @@ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//! momentjs.com //! momentjs.com
//! version : 2.29.0 //! version : 2.29.1

BIN
sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.LICENSE.txt.gz

Binary file not shown.

BIN
sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.map

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/chunk-vendors.2f06c2ae.js.map.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/compilacao.44a714dd.js

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/compilacao.44a714dd.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/compilacao.44a714dd.js.map

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/compilacao.44a714dd.js.map.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/compilacao.512057a6.js

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/compilacao.512057a6.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/compilacao.512057a6.js.map

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/compilacao.512057a6.js.map.gz

Binary file not shown.

3
sapl/static/sapl/frontend/js/global.28cb09ed.js

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/global.28cb09ed.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/global.28cb09ed.js.map

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/global.28cb09ed.js.map.gz

Binary file not shown.

3
sapl/static/sapl/frontend/js/global.bd0aab4d.js

File diff suppressed because one or more lines are too long

0
sapl/static/sapl/frontend/js/global.28cb09ed.js.LICENSE.txt → sapl/static/sapl/frontend/js/global.bd0aab4d.js.LICENSE.txt

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

Binary file not shown.

1
sapl/static/sapl/frontend/js/global.bd0aab4d.js.map

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/global.bd0aab4d.js.map.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/painel.37936654.js

@ -0,0 +1,2 @@
(function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/static/sapl/frontend/",n(n.s=2)})({2:function(e,t,n){e.exports=n("8d07")},2501:function(e,t,n){},"8d07":function(e,t,n){"use strict";n.r(t);n("2501")}});
//# sourceMappingURL=painel.37936654.js.map

BIN
sapl/static/sapl/frontend/js/painel.37936654.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/painel.37936654.js.map

@ -0,0 +1 @@
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./frontend/src/__apps/painel/main.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,qBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,kBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,GAChC,IAAIS,EAAST,GAAUA,EAAOqB,WAC7B,WAAwB,OAAOrB,EAAO,YACtC,WAA8B,OAAOA,GAEtC,OADAH,EAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASiB,EAAQC,GAAY,OAAOjB,OAAOkB,UAAUC,eAAe1B,KAAKuB,EAAQC,IAGzG/B,EAAoBkC,EAAI,yBAIjBlC,EAAoBA,EAAoBmC,EAAI,I,oGClFrD","file":"js/painel.37936654.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/static/sapl/frontend/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2);\n","import './scss/painel.scss'\n"],"sourceRoot":""}

BIN
sapl/static/sapl/frontend/js/painel.37936654.js.map.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/painel.ca386338.js

@ -1,2 +0,0 @@
(function(e){function t(t){for(var r,c,i=t[0],l=t[1],a=t[2],p=0,s=[];p<i.length;p++)c=i[p],Object.prototype.hasOwnProperty.call(o,c)&&o[c]&&s.push(o[c][0]),o[c]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);f&&f(t);while(s.length)s.shift()();return u.push.apply(u,a||[]),n()}function n(){for(var e,t=0;t<u.length;t++){for(var n=u[t],r=!0,i=1;i<n.length;i++){var l=n[i];0!==o[l]&&(r=!1)}r&&(u.splice(t--,1),e=c(c.s=n[0]))}return e}var r={},o={painel:0},u=[];function c(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.m=e,c.c=r,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(n,r,function(t){return e[t]}.bind(null,r));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/static/sapl/frontend/";var i=window["webpackJsonp"]=window["webpackJsonp"]||[],l=i.push.bind(i);i.push=t,i=i.slice();for(var a=0;a<i.length;a++)t(i[a]);var f=l;u.push([2,"chunk-vendors"]),n()})({"1c80":function(e,t,n){},2:function(e,t,n){e.exports=n("9728")},9728:function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("1c80")}});
//# sourceMappingURL=painel.ca386338.js.map

BIN
sapl/static/sapl/frontend/js/painel.ca386338.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/painel.ca386338.js.map

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/painel.ca386338.js.map.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/parlamentar.5eb59670.js

@ -1,2 +0,0 @@
(function(e){function a(a){for(var r,s,l=a[0],o=a[1],u=a[2],c=0,f=[];c<l.length;c++)s=l[c],Object.prototype.hasOwnProperty.call(n,s)&&n[s]&&f.push(n[s][0]),n[s]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r]);p&&p(a);while(f.length)f.shift()();return i.push.apply(i,u||[]),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!==n[o]&&(r=!1)}r&&(i.splice(a--,1),e=s(s.s=t[0]))}return e}var r={},n={parlamentar:0},i=[];function s(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,s),t.l=!0,t.exports}s.m=e,s.c=r,s.d=function(e,a,t){s.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:t})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,a){if(1&a&&(e=s(e)),8&a)return e;if(4&a&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(s.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var r in e)s.d(t,r,function(a){return e[a]}.bind(null,r));return t},s.n=function(e){var a=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(a,"a",a),a},s.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},s.p="/static/sapl/frontend/";var l=window["webpackJsonp"]=window["webpackJsonp"]||[],o=l.push.bind(l);l.push=a,l=l.slice();for(var u=0;u<l.length;u++)a(l[u]);var p=o;i.push([3,"chunk-vendors"]),t()})({3:function(e,a,t){e.exports=t("71e4")},"49c2":function(e,a,t){},"71e4":function(e,a,t){"use strict";t.r(a),function(e){t("4de4"),t("d3b7"),t("25f0"),t("e260"),t("e6cf"),t("cca6"),t("a79d"),t("49c2");var a=t("a026"),r=t("44d4"),n=t("bc3a"),i=t.n(n);i.a.defaults.xsrfCookieName="csrftoken",i.a.defaults.xsrfHeaderName="X-CSRFToken",a["a"].use(r["a"]);new a["a"]({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=e.debounce(this.pesquisaParlamentar,500)},methods:{getParlamentares:function(e){var a=this;(this.legislatura_selecionada||"0"===this.legislatura_selecionada.toString())&&i.a.get("/api/parlamentares/parlamentar/"+this.legislatura_selecionada+"/parlamentares_by_legislatura/").then((function(e){a.parlamentares=e.data,a.visible_parlamentares=a.parlamentares,a.size_parlamentares=a.visible_parlamentares.length,a.checkTitularAtivo()})).catch((function(e){}))},pesquisaParlamentar:function(e){var a=this;i.a.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){}))},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 e=this;i.a.get("/api/parlamentares/legislatura/?get_all=true").then((function(a){e.legislaturas=a.data,e.legislatura_selecionada=a.data[0].id})).then((function(a){e.getParlamentares()})).catch((function(e){}))}})}.call(this,t("2ef0"))}});
//# sourceMappingURL=parlamentar.5eb59670.js.map

BIN
sapl/static/sapl/frontend/js/parlamentar.5eb59670.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/parlamentar.5eb59670.js.map

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/parlamentar.5eb59670.js.map.gz

Binary file not shown.

2
sapl/static/sapl/frontend/js/parlamentar.eaf09460.js

@ -0,0 +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

BIN
sapl/static/sapl/frontend/js/parlamentar.eaf09460.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/parlamentar.eaf09460.js.map

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/parlamentar.eaf09460.js.map.gz

Binary file not shown.

2
sapl/webpack-stats.json

@ -1 +1 @@
{"status":"done","publicPath":"/static/sapl/frontend/","chunks":{"chunk-vendors":[{"name":"css/chunk-vendors.e87b224e.css","publicPath":"/static/sapl/frontend/css/chunk-vendors.e87b224e.css","path":"../sapl/static/sapl/frontend/css/chunk-vendors.e87b224e.css"},{"name":"js/chunk-vendors.2a9ca889.js","publicPath":"/static/sapl/frontend/js/chunk-vendors.2a9ca889.js","path":"../sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.js"},{"name":"css/chunk-vendors.e87b224e.css.map","publicPath":"/static/sapl/frontend/css/chunk-vendors.e87b224e.css.map","path":"../sapl/static/sapl/frontend/css/chunk-vendors.e87b224e.css.map"},{"name":"js/chunk-vendors.2a9ca889.js.map","publicPath":"/static/sapl/frontend/js/chunk-vendors.2a9ca889.js.map","path":"../sapl/static/sapl/frontend/js/chunk-vendors.2a9ca889.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.512057a6.js","publicPath":"/static/sapl/frontend/js/compilacao.512057a6.js","path":"../sapl/static/sapl/frontend/js/compilacao.512057a6.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.512057a6.js.map","publicPath":"/static/sapl/frontend/js/compilacao.512057a6.js.map","path":"../sapl/static/sapl/frontend/js/compilacao.512057a6.js.map"}],"global":[{"name":"css/global.c362c381.css","publicPath":"/static/sapl/frontend/css/global.c362c381.css","path":"../sapl/static/sapl/frontend/css/global.c362c381.css"},{"name":"js/global.28cb09ed.js","publicPath":"/static/sapl/frontend/js/global.28cb09ed.js","path":"../sapl/static/sapl/frontend/js/global.28cb09ed.js"},{"name":"css/global.c362c381.css.map","publicPath":"/static/sapl/frontend/css/global.c362c381.css.map","path":"../sapl/static/sapl/frontend/css/global.c362c381.css.map"},{"name":"js/global.28cb09ed.js.map","publicPath":"/static/sapl/frontend/js/global.28cb09ed.js.map","path":"../sapl/static/sapl/frontend/js/global.28cb09ed.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.ca386338.js","publicPath":"/static/sapl/frontend/js/painel.ca386338.js","path":"../sapl/static/sapl/frontend/js/painel.ca386338.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.ca386338.js.map","publicPath":"/static/sapl/frontend/js/painel.ca386338.js.map","path":"../sapl/static/sapl/frontend/js/painel.ca386338.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.5eb59670.js","publicPath":"/static/sapl/frontend/js/parlamentar.5eb59670.js","path":"../sapl/static/sapl/frontend/js/parlamentar.5eb59670.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.5eb59670.js.map","publicPath":"/static/sapl/frontend/js/parlamentar.5eb59670.js.map","path":"../sapl/static/sapl/frontend/js/parlamentar.5eb59670.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.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"}]}}

34
frontend/vue.config.js → vue.config.js

@ -4,6 +4,7 @@ const each = require('lodash/fp/each')
const MomentLocalesPlugin = require('moment-locales-webpack-plugin') const MomentLocalesPlugin = require('moment-locales-webpack-plugin')
const BundleTrackerPlugin = require('webpack-bundle-tracker') const BundleTrackerPlugin = require('webpack-bundle-tracker')
const CompressionPlugin = require('compression-webpack-plugin') const CompressionPlugin = require('compression-webpack-plugin')
const CopyPlugin = require('copy-webpack-plugin')
class RelativeBundleTrackerPlugin extends BundleTrackerPlugin { class RelativeBundleTrackerPlugin extends BundleTrackerPlugin {
convertPathChunks (chunks) { convertPathChunks (chunks) {
@ -19,11 +20,10 @@ class RelativeBundleTrackerPlugin extends BundleTrackerPlugin {
super.writeOutput(compiler, contents) super.writeOutput(compiler, contents)
} }
} }
// module.exports = RelativeBundleTrackerPlugin
const dotenv = require('dotenv') const dotenv = require('dotenv')
dotenv.config({ dotenv.config({
path: '../sapl/.env' path: './sapl/.env'
}) })
var FRONTEND_CUSTOM = process.env.FRONTEND_CUSTOM === undefined ? false : process.env.FRONTEND_CUSTOM === 'True' var FRONTEND_CUSTOM = process.env.FRONTEND_CUSTOM === undefined ? false : process.env.FRONTEND_CUSTOM === 'True'
@ -33,18 +33,32 @@ var HOST_NAME = 'localhost'
module.exports = { module.exports = {
runtimeCompiler: true, runtimeCompiler: true,
publicPath: process.env.NODE_ENV === 'production' ? '/static/sapl/frontend' : `http://${HOST_NAME}:8080/`, publicPath: process.env.NODE_ENV === 'production' ? '/static/sapl/frontend' : `http://${HOST_NAME}:8080/`,
outputDir: FRONTEND_CUSTOM ? 'dist' : '../sapl/static/sapl/frontend', outputDir: FRONTEND_CUSTOM ? 'dist' : './sapl/static/sapl/frontend',
chainWebpack: config => { chainWebpack: config => {
config.plugins.delete('html') config.plugins.delete('html')
config.plugins.delete('preload') config.plugins.delete('preload')
config.plugins.delete('prefetch') config.plugins.delete('prefetch')
config.resolve
.alias.set('@', path.join(__dirname + "/frontend/", 'src'))
config
.plugin('CopyPlugin')
.use(CopyPlugin, [{
patterns: [
{
from: path.join(__dirname + "/frontend/", 'public'),
to: '.'
},
],
}])
config config
.plugin('RelativeBundleTrackerPlugin') .plugin('RelativeBundleTrackerPlugin')
.use(RelativeBundleTrackerPlugin, [{ .use(RelativeBundleTrackerPlugin, [{
path: '.', path: '.',
filename: FRONTEND_CUSTOM ? './webpack-stats.json' : '../sapl/webpack-stats.json' filename: FRONTEND_CUSTOM ? './webpack-stats.json' : './sapl/webpack-stats.json'
}]) }])
config config
@ -105,8 +119,8 @@ module.exports = {
'Access-Control-Allow-Origin': '*' 'Access-Control-Allow-Origin': '*'
}) })
.contentBase([ .contentBase([
path.join(__dirname, 'public'), path.join(__dirname + "/frontend/", 'public'),
path.join(__dirname, 'src', 'assets') path.join(__dirname + "/frontend/", 'src', 'assets')
]) ])
config config
@ -123,19 +137,19 @@ module.exports = {
config config
.entry('global') .entry('global')
.add('./src/__global/main.js') .add('./frontend/src/__global/main.js')
.end() .end()
config.entry('compilacao') config.entry('compilacao')
.add('./src/__apps/compilacao/main.js') .add('./frontend/src/__apps/compilacao/main.js')
.end() .end()
config.entry('painel') config.entry('painel')
.add('./src/__apps/painel/main.js') .add('./frontend/src/__apps/painel/main.js')
.end() .end()
config.entry('parlamentar') config.entry('parlamentar')
.add('./src/__apps/parlamentar/main.js') .add('./frontend/src/__apps/parlamentar/main.js')
.end() .end()
} }
} }
Loading…
Cancel
Save