chore: synchronize project dependencies and update vendor directory files

This commit is contained in:
2026-07-15 13:15:05 +07:00
parent 2ab9f65c99
commit 3203c6e129
10000 changed files with 1501312 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
$(document).ready(function() {
if ($("#password").length > 0) {
let passwordInput = document.getElementById('password'),
toggle = document.getElementById('btnToggle'),
icon = document.getElementById('eyeIcon');
function togglePassword() {
if (passwordInput.type === 'password') {
passwordInput.type = 'text';
icon.classList.add("fa-eye-slash");
//toggle.innerHTML = 'hide';
} else {
passwordInput.type = 'password';
icon.classList.remove("fa-eye-slash");
//toggle.innerHTML = 'show';
}
}
toggle.addEventListener('click', togglePassword, false);
}
if ($("#password_confirmation").length > 0) {
let passwordInputConfirmation = document.getElementById('password_confirmation'),
toggle_confirmation = document.getElementById('btnToggle_password_confirmation'),
icon_confirmation = document.getElementById('eyeIcon_password_confirmation');
function togglePasswordConfimation() {
if (passwordInputConfirmation.type === 'password') {
passwordInputConfirmation.type = 'text';
icon_confirmation.classList.add("fa-eye-slash");
//toggle.innerHTML = 'hide';
} else {
passwordInputConfirmation.type = 'password';
icon_confirmation.classList.remove("fa-eye-slash");
//toggle.innerHTML = 'show';
}
}
toggle_confirmation.addEventListener('click', togglePasswordConfimation, false);
}
});