package it.integry.integrywmsnative.view.dialogs.scan_art;

import dagger.Module;
import dagger.Provides;
import it.integry.integrywmsnative.core.rest.consumers.ArticoloRESTConsumer;
import it.integry.integrywmsnative.core.rest.consumers.BarcodeRESTConsumer;
import it.integry.integrywmsnative.core.rest.consumers.ColliMagazzinoRESTConsumer;
import it.integry.integrywmsnative.core.rest.consumers.GiacenzaRESTConsumer;
import it.integry.integrywmsnative.core.rest.consumers.MagazzinoAutomaticoRESTConsumer;
import it.integry.integrywmsnative.core.rest.consumers.PosizioniRESTConsumer;

@Module(subcomponents = DialogScanArtComponent.class)
public class DialogScanArtModule {

    @Provides
    DialogScanArtViewModel providesDialogScanArtViewModel(BarcodeRESTConsumer barcodeRESTConsumer,
                                                          ColliMagazzinoRESTConsumer colliMagazzinoRESTConsumer,
                                                          ArticoloRESTConsumer articoloRESTConsumer,
                                                          PosizioniRESTConsumer posizioniRESTConsumer,
                                                          MagazzinoAutomaticoRESTConsumer magazzinoAutomaticoRESTConsumer,
                                                          GiacenzaRESTConsumer giacenzaRESTConsumer) {
        return new DialogScanArtViewModel(barcodeRESTConsumer,
                colliMagazzinoRESTConsumer,
                articoloRESTConsumer,
                posizioniRESTConsumer,
                magazzinoAutomaticoRESTConsumer,
                giacenzaRESTConsumer);
    }

}
