This commit is contained in:
2020-12-01 17:23:13 -03:00
parent 09e8c226bb
commit 9852a8cbdc
274 changed files with 24706 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');