Resources

This commit is contained in:
2021-03-25 21:20:49 -03:00
parent cdf3ce9c21
commit 15e1eecc76
213 changed files with 19218 additions and 0 deletions

30
resources/js/app.js Normal file
View File

@ -0,0 +1,30 @@
require('./bootstrap');
var autocomplete = require('jquery-ui/ui/widgets/autocomplete');
$(document).ready(function() {
$('form:first').find('*').filter(':input:visible:first').focus();
$('.dropdown-submenu>a').on("click", function(e) {
$(this).next('ul').toggle();
e.stopPropagation();
e.preventDefault();
});
});
require('./jquery.filterTable');
require('./binaryIndexOf');
require('jquery.rut');
String.prototype.ucwords = function() {
str = this.toLowerCase();
return str.replace(/(^([a-zA-Z\p{M}]))|([ -][a-zA-Z\p{M}])/g,
function(s) {
return s.toUpperCase();
});
};
require('./chart');
window.zxcvbn = require('zxcvbn');