Browse Source

ajustes tinymce e webpack-stats

merged-migrations-2021
Leandro Roberto 4 years ago
parent
commit
ca5371c379
  1. 27
      frontend/src/__global/js/functions.js
  2. 262
      frontend/src/__global/js/tinymce/lang/pt_BR.js
  3. 12
      frontend/src/__global/main.js
  4. 2
      frontend/webpack-stats.json
  5. 2
      package.json
  6. 126
      sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css
  7. BIN
      sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.gz
  8. 3
      sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js
  9. 320
      sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js.LICENSE.txt
  10. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js.LICENSE.txt.gz
  11. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js.gz
  12. 1
      sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js.map
  13. BIN
      sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js.map.gz
  14. 3
      sapl/static/sapl/frontend/js/global.94c2d381.js
  15. 5
      sapl/static/sapl/frontend/js/global.94c2d381.js.LICENSE.txt
  16. BIN
      sapl/static/sapl/frontend/js/global.94c2d381.js.gz
  17. 1
      sapl/static/sapl/frontend/js/global.94c2d381.js.map
  18. BIN
      sapl/static/sapl/frontend/js/global.94c2d381.js.map.gz
  19. 51
      vue.config.js
  20. 28
      yarn.lock

27
frontend/src/__global/js/functions.js

@ -1,31 +1,4 @@
window.removeTinymce = function () {
while (window.tinymce.editors.length > 0) {
window.tinymce.remove(window.tinymce.editors[0])
}
}
window.initTextRichEditor = function (elements, readonly = false) {
window.removeTinymce()
const configTinymce = {
selector: elements === null || elements === undefined ? 'textarea' : elements,
force_br_newlines: false,
force_p_newlines: false,
forced_root_block: '',
min_height: 200,
language: 'pt_BR',
plugins: ['lists table code'],
menubar: 'edit view format table tools',
toolbar: 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent'
}
if (readonly) {
configTinymce.readonly = 1
configTinymce.menubar = false
configTinymce.toolbar = false
}
window.tinymce.init(configTinymce)
}
window.refreshDatePicker = function () {
$.datepicker.setDefaults($.datepicker.regional['pt-BR'])
$('.dateinput').datepicker()

262
frontend/src/__global/js/tinymce/lang/pt_BR.js

@ -1,262 +0,0 @@
/* eslint-disable */
tinymce.addI18n('pt_BR', {
'Redo': 'Refazer',
'Undo': 'Desfazer',
'Cut': 'Recortar',
'Copy': 'Copiar',
'Paste': 'Colar',
'Select all': 'Selecionar tudo',
'New document': 'Novo documento',
'Ok': 'Ok',
'Cancel': 'Cancelar',
'Visual aids': 'Ajuda visual',
'Bold': 'Negrito',
'Italic': 'It\u00e1lico',
'Underline': 'Sublinhar',
'Strikethrough': 'Riscar',
'Superscript': 'Sobrescrito',
'Subscript': 'Subscrever',
'Clear formatting': 'Limpar formata\u00e7\u00e3o',
'Align left': 'Alinhar \u00e0 esquerda',
'Align center': 'Centralizar',
'Align right': 'Alinhar \u00e0 direita',
'Justify': 'Justificar',
'Bullet list': 'Lista n\u00e3o ordenada',
'Numbered list': 'Lista ordenada',
'Decrease indent': 'Diminuir recuo',
'Increase indent': 'Aumentar recuo',
'Close': 'Fechar',
'Formats': 'Formatos',
'Your browser doesn\'t support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.': 'Seu navegador n\u00e3o suporta acesso direto \u00e0 \u00e1rea de transfer\u00eancia. Por favor use os atalhos Ctrl+X - C - V do teclado',
'Headers': 'Cabe\u00e7alhos',
'Header 1': 'Cabe\u00e7alho 1',
'Header 2': 'Cabe\u00e7alho 2',
'Header 3': 'Cabe\u00e7alho 3',
'Header 4': 'Cabe\u00e7alho 4',
'Header 5': 'Cabe\u00e7alho 5',
'Header 6': 'Cabe\u00e7alho 6',
'Headings': 'Cabe\u00e7alhos',
'Heading 1': 'Cabe\u00e7alho 1',
'Heading 2': 'Cabe\u00e7alho 2',
'Heading 3': 'Cabe\u00e7alho 3',
'Heading 4': 'Cabe\u00e7alho 4',
'Heading 5': 'Cabe\u00e7alho 5',
'Heading 6': 'Cabe\u00e7alho 6',
'Preformatted': 'Preformatado',
'Div': 'Div',
'Pre': 'Pre',
'Code': 'C\u00f3digo',
'Paragraph': 'Par\u00e1grafo',
'Blockquote': 'Aspas',
'Inline': 'Em linha',
'Blocks': 'Blocos',
'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.': 'O comando colar est\u00e1 agora em modo texto plano. O conte\u00fado ser\u00e1 colado como texto plano at\u00e9 voc\u00ea desligar esta op\u00e7\u00e3o.',
'Font Family': 'Fonte',
'Font Sizes': 'Tamanho',
'Class': 'Classe',
'Browse for an image': 'Procure uma imagem',
'OR': 'OU',
'Drop an image here': 'Arraste uma imagem aqui',
'Upload': 'Carregar',
'Block': 'Bloco',
'Align': 'Alinhamento',
'Default': 'Padr\u00e3o',
'Circle': 'C\u00edrculo',
'Disc': 'Disco',
'Square': 'Quadrado',
'Lower Alpha': 'a. b. c. ...',
'Lower Greek': '\u03b1. \u03b2. \u03b3. ...',
'Lower Roman': 'i. ii. iii. ...',
'Upper Alpha': 'A. B. C. ...',
'Upper Roman': 'I. II. III. ...',
'Anchor': '\u00c2ncora',
'Name': 'Nome',
'Id': 'Id',
'Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.': 'Id deve come\u00e7ar com uma letra, seguido apenas por letras, n\u00fameros, tra\u00e7os, pontos, dois pontos ou sublinhados.',
'You have unsaved changes are you sure you want to navigate away?': 'Voc\u00ea tem mudan\u00e7as n\u00e3o salvas. Voc\u00ea tem certeza que deseja sair?',
'Restore last draft': 'Restaurar \u00faltimo rascunho',
'Special character': 'Caracteres especiais',
'Source code': 'C\u00f3digo fonte',
'Insert/Edit code sample': 'Inserir/Editar c\u00f3digo de exemplo',
'Language': 'Idioma',
'Code sample': 'Exemplo de c\u00f3digo',
'Color': 'Cor',
'R': 'R',
'G': 'G',
'B': 'B',
'Left to right': 'Da esquerda para a direita',
'Right to left': 'Da direita para a esquerda',
'Emoticons': 'Emoticons',
'Document properties': 'Propriedades do documento',
'Title': 'T\u00edtulo',
'Keywords': 'Palavras-chave',
'Description': 'Descri\u00e7\u00e3o',
'Robots': 'Rob\u00f4s',
'Author': 'Autor',
'Encoding': 'Codifica\u00e7\u00e3o',
'Fullscreen': 'Tela cheia',
'Action': 'A\u00e7\u00e3o',
'Shortcut': 'Atalho',
'Help': 'Ajuda',
'Address': 'Endere\u00e7o',
'Focus to menubar': 'Foco no menu',
'Focus to toolbar': 'Foco na barra de ferramentas',
'Focus to element path': 'Foco no caminho do elemento',
'Focus to contextual toolbar': 'Foco na barra de ferramentas contextual',
'Insert link (if link plugin activated)': 'Inserir link (se o plugin de link estiver ativado)',
'Save (if save plugin activated)': 'Salvar (se o plugin de salvar estiver ativado)',
'Find (if searchreplace plugin activated)': 'Procurar (se o plugin de procurar e substituir estiver ativado)',
'Plugins installed ({0}):': 'Plugins instalados ({0}):',
'Premium plugins:': 'Plugins premium:',
'Learn more...': 'Saiba mais...',
'You are using {0}': 'Voc\u00ea est\u00e1 usando {0}',
'Plugins': 'Plugins',
'Handy Shortcuts': 'Atalhos \u00fateis',
'Horizontal line': 'Linha horizontal',
'Insert/edit image': 'Inserir/editar imagem',
'Image description': 'Inserir descri\u00e7\u00e3o',
'Source': 'Endere\u00e7o da imagem',
'Dimensions': 'Dimens\u00f5es',
'Constrain proportions': 'Manter propor\u00e7\u00f5es',
'General': 'Geral',
'Advanced': 'Avan\u00e7ado',
'Style': 'Estilo',
'Vertical space': 'Espa\u00e7amento vertical',
'Horizontal space': 'Espa\u00e7amento horizontal',
'Border': 'Borda',
'Insert image': 'Inserir imagem',
'Image': 'Imagem',
'Image list': 'Lista de Imagens',
'Rotate counterclockwise': 'Girar em sentido hor\u00e1rio',
'Rotate clockwise': 'Girar em sentido anti-hor\u00e1rio',
'Flip vertically': 'Virar verticalmente',
'Flip horizontally': 'Virar horizontalmente',
'Edit image': 'Editar imagem',
'Image options': 'Op\u00e7\u00f5es de Imagem',
'Zoom in': 'Aumentar zoom',
'Zoom out': 'Diminuir zoom',
'Crop': 'Cortar',
'Resize': 'Redimensionar',
'Orientation': 'Orienta\u00e7\u00e3o',
'Brightness': 'Brilho',
'Sharpen': 'Aumentar nitidez',
'Contrast': 'Contraste',
'Color levels': 'N\u00edveis de cor',
'Gamma': 'Gama',
'Invert': 'Inverter',
'Apply': 'Aplicar',
'Back': 'Voltar',
'Insert date/time': 'Inserir data/hora',
'Date/time': 'data/hora',
'Insert link': 'Inserir link',
'Insert/edit link': 'Inserir/editar link',
'Text to display': 'Texto para mostrar',
'Url': 'Url',
'Target': 'Alvo',
'None': 'Nenhum',
'New window': 'Nova janela',
'Remove link': 'Remover link',
'Anchors': '\u00c2ncoras',
'Link': 'Link',
'Paste or type a link': 'Cole ou digite um Link',
'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?': 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?',
'The URL you entered seems to be an external link. Do you want to add the required http:// prefix?': 'A URL que voc\u00ea informou parece ser um link externo. Deseja incluir o prefixo http://?',
'Link list': 'Lista de Links',
'Insert video': 'Inserir v\u00eddeo',
'Insert/edit video': 'Inserir/editar v\u00eddeo',
'Insert/edit media': 'Inserir/editar imagem',
'Alternative source': 'Fonte alternativa',
'Poster': 'Autor',
'Paste your embed code below:': 'Insira o c\u00f3digo de incorpora\u00e7\u00e3o abaixo:',
'Embed': 'Incorporar',
'Media': 'imagem',
'Nonbreaking space': 'Espa\u00e7o n\u00e3o separ\u00e1vel',
'Page break': 'Quebra de p\u00e1gina',
'Paste as text': 'Colar como texto',
'Preview': 'Pr\u00e9-visualizar',
'Print': 'Imprimir',
'Save': 'Salvar',
'Find': 'Localizar',
'Replace with': 'Substituir por',
'Replace': 'Substituir',
'Replace all': 'Substituir tudo',
'Prev': 'Anterior',
'Next': 'Pr\u00f3ximo',
'Find and replace': 'Localizar e substituir',
'Could not find the specified string.': 'N\u00e3o foi poss\u00edvel encontrar o termo especificado',
'Match case': 'Diferenciar mai\u00fasculas e min\u00fasculas',
'Whole words': 'Palavras inteiras',
'Spellcheck': 'Corretor ortogr\u00e1fico',
'Ignore': 'Ignorar',
'Ignore all': 'Ignorar tudo',
'Finish': 'Finalizar',
'Add to Dictionary': 'Adicionar ao Dicion\u00e1rio',
'Insert table': 'Inserir tabela',
'Table properties': 'Propriedades da tabela',
'Delete table': 'Excluir tabela',
'Cell': 'C\u00e9lula',
'Row': 'Linha',
'Column': 'Coluna',
'Cell properties': 'Propriedades da c\u00e9lula',
'Merge cells': 'Agrupar c\u00e9lulas',
'Split cell': 'Dividir c\u00e9lula',
'Insert row before': 'Inserir linha antes',
'Insert row after': 'Inserir linha depois',
'Delete row': 'Excluir linha',
'Row properties': 'Propriedades da linha',
'Cut row': 'Recortar linha',
'Copy row': 'Copiar linha',
'Paste row before': 'Colar linha antes',
'Paste row after': 'Colar linha depois',
'Insert column before': 'Inserir coluna antes',
'Insert column after': 'Inserir coluna depois',
'Delete column': 'Excluir coluna',
'Cols': 'Colunas',
'Rows': 'Linhas',
'Width': 'Largura',
'Height': 'Altura',
'Cell spacing': 'Espa\u00e7amento da c\u00e9lula',
'Cell padding': 'Espa\u00e7amento interno da c\u00e9lula',
'Caption': 'Legenda',
'Left': 'Esquerdo',
'Center': 'Centro',
'Right': 'Direita',
'Cell type': 'Tipo de c\u00e9lula',
'Scope': 'Escopo',
'Alignment': 'Alinhamento',
'H Align': 'Alinhamento H',
'V Align': 'Alinhamento V',
'Top': 'Superior',
'Middle': 'Meio',
'Bottom': 'Inferior',
'Header cell': 'C\u00e9lula cabe\u00e7alho',
'Row group': 'Agrupar linha',
'Column group': 'Agrupar coluna',
'Row type': 'Tipo de linha',
'Header': 'Cabe\u00e7alho',
'Body': 'Corpo',
'Footer': 'Rodap\u00e9',
'Border color': 'Cor da borda',
'Insert template': 'Inserir modelo',
'Templates': 'Modelos',
'Template': 'Modelo',
'Text color': 'Cor do texto',
'Background color': 'Cor do fundo',
'Custom...': 'Personalizado...',
'Custom color': 'Cor personalizada',
'No color': 'Nenhuma cor',
'Table of Contents': '\u00edndice de Conte\u00fado',
'Show blocks': 'Mostrar blocos',
'Show invisible characters': 'Exibir caracteres invis\u00edveis',
'Words: {0}': 'Palavras: {0}',
'{0} words': '{0} palavras',
'File': 'Arquivo',
'Edit': 'Editar',
'Insert': 'Inserir',
'View': 'Visualizar',
'Format': 'Formatar',
'Table': 'Tabela',
'Tools': 'Ferramentas',
'Powered by {0}': 'Distribu\u00eddo por {0}',
'Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help': '\u00c1rea de texto formatado. Pressione ALT-F9 para exibir o menu, ALT-F10 para exibir a barra de ferramentas ou ALT-0 para exibir a ajuda'
})

12
frontend/src/__global/main.js

@ -14,20 +14,11 @@ import 'jquery-ui/ui/i18n/datepicker-pt-BR'
import 'jquery-ui-themes/themes/cupertino/jquery-ui.min.css'
import tinymce from 'tinymce/tinymce'
import './js/tinymce/lang/pt_BR.js'
import 'tinymce/themes/silver'
import 'tinymce/icons/default'
import 'tinymce/plugins/table'
import 'tinymce/plugins/lists'
import 'tinymce/plugins/code'
import 'jquery-mask-plugin'
import './scss/app.scss'
import './js/tinymce'
import './js/image_cropping'
import './js/functions'
@ -41,7 +32,6 @@ window.$ = $
window.jQuery = $
window.moment = moment
window.tinymce = tinymce
window.autorModal()
window.refreshMask()

2
frontend/webpack-stats.json

@ -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.fd2b3187.js","publicPath":"/static/sapl/frontend/js/chunk-vendors.fd2b3187.js","path":"sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.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.fd2b3187.js.map","publicPath":"/static/sapl/frontend/js/chunk-vendors.fd2b3187.js.map","path":"sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.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.94c2d381.js","publicPath":"/static/sapl/frontend/js/global.94c2d381.js","path":"sapl/static/sapl/frontend/js/global.94c2d381.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.94c2d381.js.map","publicPath":"/static/sapl/frontend/js/global.94c2d381.js.map","path":"sapl/static/sapl/frontend/js/global.94c2d381.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.84997ad7.js","publicPath":"/static/sapl/frontend/js/parlamentar.84997ad7.js","path":"sapl/static/sapl/frontend/js/parlamentar.84997ad7.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.84997ad7.js.map","publicPath":"/static/sapl/frontend/js/parlamentar.84997ad7.js.map","path":"sapl/static/sapl/frontend/js/parlamentar.84997ad7.js.map"}]}}
{"status":"done","publicPath":"/static/sapl/frontend/","chunks":{"chunk-vendors":[{"name":"css/chunk-vendors.e8d8c6de.css","publicPath":"/static/sapl/frontend/css/chunk-vendors.e8d8c6de.css","path":"sapl/static/sapl/frontend/css/chunk-vendors.e8d8c6de.css"},{"name":"js/chunk-vendors.87c63f86.js","publicPath":"/static/sapl/frontend/js/chunk-vendors.87c63f86.js","path":"sapl/static/sapl/frontend/js/chunk-vendors.87c63f86.js"},{"name":"css/chunk-vendors.e8d8c6de.css.map","publicPath":"/static/sapl/frontend/css/chunk-vendors.e8d8c6de.css.map","path":"sapl/static/sapl/frontend/css/chunk-vendors.e8d8c6de.css.map"},{"name":"js/chunk-vendors.87c63f86.js.map","publicPath":"/static/sapl/frontend/js/chunk-vendors.87c63f86.js.map","path":"sapl/static/sapl/frontend/js/chunk-vendors.87c63f86.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.503e97c0.js","publicPath":"/static/sapl/frontend/js/global.503e97c0.js","path":"sapl/static/sapl/frontend/js/global.503e97c0.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.503e97c0.js.map","publicPath":"/static/sapl/frontend/js/global.503e97c0.js.map","path":"sapl/static/sapl/frontend/js/global.503e97c0.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.84997ad7.js","publicPath":"/static/sapl/frontend/js/parlamentar.84997ad7.js","path":"sapl/static/sapl/frontend/js/parlamentar.84997ad7.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.84997ad7.js.map","publicPath":"/static/sapl/frontend/js/parlamentar.84997ad7.js.map","path":"sapl/static/sapl/frontend/js/parlamentar.84997ad7.js.map"}]}}

2
package.json

@ -27,7 +27,6 @@
"serialize-javascript": "^3.1.0",
"terser": "^4.6.11",
"tinymce": "^5.6.2",
"tinymce-light-skin": "^1.3.1",
"vue": "^2.6.11",
"webpack": "^4.43.0",
"webpack-jquery-ui": "^2.0.1",
@ -51,6 +50,7 @@
"eslint-plugin-vue": "^6.2.2",
"node-sass": "^4.13.1",
"sass-loader": "^8.0.2",
"shelljs": "^0.8.4",
"vue-template-compiler": "^2.6.11",
"webpack-bundle-tracker": "^0.4.3"
}

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.

3
sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js

File diff suppressed because one or more lines are too long

320
sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js.LICENSE.txt

@ -1,320 +0,0 @@
/*!
diff v4.0.1
Software License Agreement (BSD License)
Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
All rights reserved.
Redistribution and use of this software in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above
copyright notice, this list of conditions and the
following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the
following disclaimer in the documentation and/or other
materials provided with the distribution.
* Neither the name of Kevin Decker nor the names of its
contributors may be used to endorse or promote products
derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@license
*/
/*!
* Bootstrap v4.5.3 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
/*!
* Sizzle CSS Selector Engine v2.3.5
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2020-03-14
*/
/*!
* Vue.js v2.6.12
* (c) 2014-2020 Evan You
* Released under the MIT License.
*/
/*!
* jQuery JavaScript Library v3.5.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2020-05-04T22:49Z
*/
/*!
* jQuery UI :data 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Autocomplete 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Button 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Checkboxradio 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Controlgroup 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Datepicker 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Dialog 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Disable Selection 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Draggable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Focusable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Form Reset Mixin 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Keycode 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Labels 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Menu 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Mouse 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Position 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/position/
*/
/*!
* jQuery UI Resizable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Scroll Parent 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Sortable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Tabbable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Unique ID 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/*!
* jQuery UI Widget 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! moment.js
//! moment.js locale configuration
//! momentjs.com
//! version : 2.29.1

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

Binary file not shown.

BIN
sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js.map

File diff suppressed because one or more lines are too long

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

Binary file not shown.

3
sapl/static/sapl/frontend/js/global.94c2d381.js

File diff suppressed because one or more lines are too long

5
sapl/static/sapl/frontend/js/global.94c2d381.js.LICENSE.txt

@ -1,5 +0,0 @@
/*!
* jQuery-runner - v2.3.3 - 2014-08-06
* https://github.com/jylauril/jquery-runner/
* Copyright (c) 2014 Jyrki Laurila <https://github.com/jylauril>
*/

BIN
sapl/static/sapl/frontend/js/global.94c2d381.js.gz

Binary file not shown.

1
sapl/static/sapl/frontend/js/global.94c2d381.js.map

File diff suppressed because one or more lines are too long

BIN
sapl/static/sapl/frontend/js/global.94c2d381.js.map.gz

Binary file not shown.

51
vue.config.js

@ -1,5 +1,6 @@
const path = require("path");
const each = require("lodash/fp/each");
const path = require("path");
const shell = require('shelljs');
const MomentLocalesPlugin = require("moment-locales-webpack-plugin");
const BundleTrackerPlugin = require("webpack-bundle-tracker");
@ -79,40 +80,8 @@ module.exports = {
},
]);
if (process.env.NODE_ENV === "production") {
config.optimization.minimizer("terser").tap((args) => {
args[0].terserOptions.compress.drop_console = true;
args[0].extractComments = true;
args[0].cache = true;
return args;
});
config.plugin("CompressionPlugin").use(CompressionPlugin, [{}]);
} else {
config.devtool("source-map");
}
config.resolve.alias.set("__STATIC__", "static");
config.module
.rule("vue")
.use("vue-loader")
.loader("vue-loader")
.tap((options) => {
options.transformAssetUrls = {
img: "src",
image: "xlink:href",
"b-img": "src",
"b-img-lazy": ["src", "blank-src"],
"b-card": "img-src",
"b-card-img": "img-src",
"b-carousel-slide": "img-src",
"b-embed": "src",
};
return options;
});
config.devServer
.public("")
.port(8080)
@ -140,6 +109,22 @@ module.exports = {
},
]);
if (process.env.NODE_ENV === "production") {
config.optimization.minimizer("terser").tap((args) => {
args[0].terserOptions.compress.drop_console = true;
args[0].extractComments = true;
args[0].cache = true;
return args;
});
config.plugin("CompressionPlugin").use(CompressionPlugin, [{}]);
shell.rm('frontend/dev-webpack-stats.json')
} else {
config.devtool("source-map");
}
config.entryPoints.delete("app");
config

28
yarn.lock

@ -5033,6 +5033,11 @@ internal-ip@^4.3.0:
default-gateway "^4.2.0"
ipaddr.js "^1.9.0"
interpret@^1.0.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e"
integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==
ip-regex@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9"
@ -7539,6 +7544,13 @@ readdirp@~3.5.0:
dependencies:
picomatch "^2.2.1"
rechoir@^0.6.2:
version "0.6.2"
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=
dependencies:
resolve "^1.1.6"
redent@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde"
@ -7722,7 +7734,7 @@ resolve-url@^0.2.1:
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
resolve@^1.10.0, resolve@^1.10.1, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.17.0:
resolve@^1.1.6, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.17.0:
version "1.19.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c"
integrity sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==
@ -8056,6 +8068,15 @@ shell-quote@^1.6.1:
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2"
integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==
shelljs@^0.8.4:
version "0.8.4"
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2"
integrity sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==
dependencies:
glob "^7.0.0"
interpret "^1.0.0"
rechoir "^0.6.2"
signal-exit@^3.0.0, signal-exit@^3.0.2:
version "3.0.3"
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
@ -8679,11 +8700,6 @@ timsort@^0.3.0:
resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4"
integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=
tinymce-light-skin@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/tinymce-light-skin/-/tinymce-light-skin-1.3.1.tgz#fcce7a8b5761716a381f756e1ac7f47c7a41ea88"
integrity sha512-NMmaqaZMvHeWcdJvYfNKK3wXkNkdhFjo3xswm7AiQLtU5eQHCL4li4R8+R0BRD8ejHEOG2+Tdf+NzWI4cRsa8w==
tinymce@^5.6.2:
version "5.6.2"
resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-5.6.2.tgz#4c20c22e328c5d0baab204928dbc2b0ecbed18b4"

Loading…
Cancel
Save