app.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. require('./bootstrap');
  2. require('izitoast/dist/css/iziToast.min.css');
  3. window.iziToast = require('izitoast');
  4. window.jsonToPivotjson = require('json-to-pivot-json');
  5. import cryptoRandomString from 'crypto-random-string';
  6. window.cryptoRandomString = cryptoRandomString;
  7. window.Clusterize = require('clusterize.js');
  8. window.Clipboard = require('clipboard');
  9. import {
  10. camelCase,
  11. capitalCase,
  12. constantCase,
  13. dotCase,
  14. headerCase,
  15. noCase,
  16. paramCase,
  17. pascalCase,
  18. pathCase,
  19. sentenceCase,
  20. snakeCase,
  21. } from "change-case";
  22. window.camelCase = camelCase;
  23. window.capitalCase = capitalCase;
  24. window.constantCase = constantCase;
  25. window.snakeCase = snakeCase;
  26. window.dotCase = dotCase;
  27. window.paramCase = paramCase;
  28. iziToast.settings({
  29. titleSize: '22',
  30. messageSize: '17',
  31. transitionIn: 'flipInX',
  32. transitionOut: 'flipOutX',
  33. timeout: 5000,
  34. onOpen: function () {
  35. // console.log('callback abriu!');
  36. },
  37. onClose: function () {
  38. // console.log("callback fechou!");
  39. }
  40. });
  41. window.pagination = require("vuejs-uib-pagination");
  42. window.masonry = require("vue-masonry-css");