feat: enhance employee and symbol management with new features, improved UI components, and backend schema updates

This commit is contained in:
2025-10-26 22:21:53 -03:00
parent 5dd00b63e1
commit 2c2b792b4a
48 changed files with 9513 additions and 672 deletions

View File

@@ -0,0 +1,22 @@
import { browser } from "$app/environment";
/**
* Store global para controlar o modal de login
*/
class LoginModalStore {
showModal = $state(false);
redirectAfterLogin = $state<string | null>(null);
open(redirectTo?: string) {
this.showModal = true;
this.redirectAfterLogin = redirectTo || null;
}
close() {
this.showModal = false;
this.redirectAfterLogin = null;
}
}
export const loginModalStore = new LoginModalStore();