refactor: packages

This commit is contained in:
filippo-ferrari 2024-07-15 23:18:51 +02:00
parent 73f13934f9
commit 751aa257b1
7 changed files with 11 additions and 7 deletions

View file

@ -1,6 +1,6 @@
package com.application.munera; package com.application.munera;
import com.application.munera.views.LoginView; import com.application.munera.views.login.LoginView;
import com.vaadin.flow.spring.security.VaadinWebSecurity; import com.vaadin.flow.spring.security.VaadinWebSecurity;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;

View file

@ -1,6 +1,10 @@
package com.application.munera.views; package com.application.munera.views;
import com.application.munera.views.categories.CategoriesView;
import com.application.munera.views.dashboard.DashboardView;
import com.application.munera.views.events.EventsView;
import com.application.munera.views.expenses.*; import com.application.munera.views.expenses.*;
import com.application.munera.views.people.PeopleView;
import com.vaadin.flow.component.applayout.AppLayout; import com.vaadin.flow.component.applayout.AppLayout;
import com.vaadin.flow.component.applayout.DrawerToggle; import com.vaadin.flow.component.applayout.DrawerToggle;
import com.vaadin.flow.component.button.Button; import com.vaadin.flow.component.button.Button;

View file

@ -1,4 +1,4 @@
package com.application.munera.views.expenses; package com.application.munera.views.categories;
import com.application.munera.data.Category; import com.application.munera.data.Category;
import com.application.munera.services.CategoryService; import com.application.munera.services.CategoryService;

View file

@ -1,4 +1,4 @@
package com.application.munera.views.expenses; package com.application.munera.views.dashboard;
import com.application.munera.data.Expense; import com.application.munera.data.Expense;
import com.application.munera.data.Person; import com.application.munera.data.Person;

View file

@ -1,4 +1,4 @@
package com.application.munera.views.expenses; package com.application.munera.views.events;
import com.application.munera.data.Event; import com.application.munera.data.Event;
import com.application.munera.data.Person; import com.application.munera.data.Person;

View file

@ -1,4 +1,4 @@
package com.application.munera.views; package com.application.munera.views.login;
import com.vaadin.flow.component.html.H1; import com.vaadin.flow.component.html.H1;
import com.vaadin.flow.component.html.H2; import com.vaadin.flow.component.html.H2;
@ -19,7 +19,7 @@ import com.vaadin.flow.server.auth.AnonymousAllowed;
@AnonymousAllowed @AnonymousAllowed
public class LoginView extends VerticalLayout implements BeforeEnterObserver { public class LoginView extends VerticalLayout implements BeforeEnterObserver {
private LoginForm login = new LoginForm(); private final LoginForm login = new LoginForm();
public LoginView() { public LoginView() {
addClassName("login-view"); addClassName("login-view");

View file

@ -1,4 +1,4 @@
package com.application.munera.views.expenses; package com.application.munera.views.people;
import com.application.munera.data.Person; import com.application.munera.data.Person;
import com.application.munera.services.PersonService; import com.application.munera.services.PersonService;