printer receipt

This commit is contained in:
efrilm
2025-11-04 22:13:15 +07:00
parent a87b62ca9f
commit 1b24bae23a
32 changed files with 4177 additions and 75 deletions
+26 -4
View File
@@ -42,10 +42,16 @@ import 'package:apskel_pos_flutter_v2/application/payment/payment_form/payment_f
as _i194;
import 'package:apskel_pos_flutter_v2/application/payment_method/payment_method_loader/payment_method_loader_bloc.dart'
as _i952;
import 'package:apskel_pos_flutter_v2/application/printer/bluetooth/bluetooth_connect/bluetooth_connect_bloc.dart'
as _i489;
import 'package:apskel_pos_flutter_v2/application/printer/bluetooth/bluetooth_loader/bluetooth_loader_bloc.dart'
as _i903;
import 'package:apskel_pos_flutter_v2/application/printer/printer_bloc.dart'
as _i96;
import 'package:apskel_pos_flutter_v2/application/printer/printer_form/printer_form_bloc.dart'
as _i787;
import 'package:apskel_pos_flutter_v2/application/printer/printer_loader/printer_loader_bloc.dart'
as _i1028;
import 'package:apskel_pos_flutter_v2/application/product/product_loader/product_loader_bloc.dart'
as _i13;
import 'package:apskel_pos_flutter_v2/application/refund/refund_form/refund_form_bloc.dart'
@@ -118,6 +124,8 @@ import 'package:apskel_pos_flutter_v2/infrastructure/payment_method/datasources/
as _i833;
import 'package:apskel_pos_flutter_v2/infrastructure/payment_method/repositories/payment_method_repository.dart'
as _i167;
import 'package:apskel_pos_flutter_v2/infrastructure/printer/datasource/local_data_provider.dart'
as _i149;
import 'package:apskel_pos_flutter_v2/infrastructure/printer/repositories/printer_repository.dart'
as _i881;
import 'package:apskel_pos_flutter_v2/infrastructure/product/datasources/local_data_provider.dart'
@@ -169,26 +177,40 @@ extension GetItInjectableX on _i174.GetIt {
() => _i171.NetworkClient(gh<_i895.Connectivity>()),
);
gh.factory<_i923.Env>(() => _i923.DevEnv(), registerFor: {_dev});
gh.factory<_i104.IPrinterRepository>(() => _i881.PrinterRepository());
gh.factory<_i708.CategoryLocalDataProvider>(
() => _i708.CategoryLocalDataProvider(gh<_i487.DatabaseHelper>()),
);
gh.factory<_i464.ProductLocalDataProvider>(
() => _i464.ProductLocalDataProvider(gh<_i487.DatabaseHelper>()),
);
gh.factory<_i149.PrinterLocalDataProvider>(
() => _i149.PrinterLocalDataProvider(gh<_i487.DatabaseHelper>()),
);
gh.factory<_i204.AuthLocalDataProvider>(
() => _i204.AuthLocalDataProvider(gh<_i460.SharedPreferences>()),
);
gh.factory<_i693.OutletLocalDatasource>(
() => _i693.OutletLocalDatasource(gh<_i460.SharedPreferences>()),
);
gh.factory<_i903.BluetoothLoaderBloc>(
() => _i903.BluetoothLoaderBloc(gh<_i104.IPrinterRepository>()),
);
gh.lazySingleton<_i457.ApiClient>(
() => _i457.ApiClient(gh<_i361.Dio>(), gh<_i923.Env>()),
);
gh.factory<_i104.IPrinterRepository>(
() => _i881.PrinterRepository(gh<_i149.PrinterLocalDataProvider>()),
);
gh.factory<_i923.Env>(() => _i923.ProdEnv(), registerFor: {_prod});
gh.factory<_i903.BluetoothLoaderBloc>(
() => _i903.BluetoothLoaderBloc(gh<_i104.IPrinterRepository>()),
);
gh.factory<_i489.BluetoothConnectBloc>(
() => _i489.BluetoothConnectBloc(gh<_i104.IPrinterRepository>()),
);
gh.factory<_i787.PrinterFormBloc>(
() => _i787.PrinterFormBloc(gh<_i104.IPrinterRepository>()),
);
gh.factory<_i1028.PrinterLoaderBloc>(
() => _i1028.PrinterLoaderBloc(gh<_i104.IPrinterRepository>()),
);
gh.factory<_i360.OrderRemoteDataProvider>(
() => _i360.OrderRemoteDataProvider(gh<_i457.ApiClient>()),
);