feat: customer page

This commit is contained in:
efrilm
2025-08-18 00:30:17 +07:00
parent d22ffdd6d0
commit 51289d7829
21 changed files with 3278 additions and 308 deletions
+16
View File
@@ -24,6 +24,8 @@ import 'package:apskel_owner_flutter/application/auth/logout_form/logout_form_bl
as _i574;
import 'package:apskel_owner_flutter/application/category/category_loader/category_loader_bloc.dart'
as _i183;
import 'package:apskel_owner_flutter/application/customer/customer_loader/customer_loader_bloc.dart'
as _i972;
import 'package:apskel_owner_flutter/application/language/language_bloc.dart'
as _i455;
import 'package:apskel_owner_flutter/application/product/product_loader/product_loader_bloc.dart'
@@ -41,6 +43,7 @@ import 'package:apskel_owner_flutter/domain/analytic/repositories/i_analytic_rep
as _i477;
import 'package:apskel_owner_flutter/domain/auth/auth.dart' as _i49;
import 'package:apskel_owner_flutter/domain/category/category.dart' as _i1020;
import 'package:apskel_owner_flutter/domain/customer/customer.dart' as _i48;
import 'package:apskel_owner_flutter/domain/product/product.dart' as _i419;
import 'package:apskel_owner_flutter/env.dart' as _i6;
import 'package:apskel_owner_flutter/infrastructure/analytic/datasource/remote_data_provider.dart'
@@ -57,6 +60,10 @@ import 'package:apskel_owner_flutter/infrastructure/category/datasource/remote_d
as _i333;
import 'package:apskel_owner_flutter/infrastructure/category/repositories/category_repository.dart'
as _i869;
import 'package:apskel_owner_flutter/infrastructure/customer/datasources/remote_data_provider.dart'
as _i1006;
import 'package:apskel_owner_flutter/infrastructure/customer/repositories/customer_repository.dart'
as _i550;
import 'package:apskel_owner_flutter/infrastructure/product/datasources/remote_data_provider.dart'
as _i823;
import 'package:apskel_owner_flutter/infrastructure/product/repositories/product_repository.dart'
@@ -122,6 +129,12 @@ extension GetItInjectableX on _i174.GetIt {
gh.factory<_i866.AnalyticRemoteDataProvider>(
() => _i866.AnalyticRemoteDataProvider(gh<_i115.ApiClient>()),
);
gh.factory<_i1006.CustomerRemoteDataProvider>(
() => _i1006.CustomerRemoteDataProvider(gh<_i115.ApiClient>()),
);
gh.factory<_i48.ICustomerRepository>(
() => _i550.CustomerRepository(gh<_i1006.CustomerRemoteDataProvider>()),
);
gh.factory<_i49.IAuthRepository>(
() => _i1035.AuthRepository(
gh<_i991.AuthLocalDataProvider>(),
@@ -131,6 +144,9 @@ extension GetItInjectableX on _i174.GetIt {
gh.factory<_i419.IProductRepository>(
() => _i121.ProductRepository(gh<_i823.ProductRemoteDataProvider>()),
);
gh.factory<_i972.CustomerLoaderBloc>(
() => _i972.CustomerLoaderBloc(gh<_i48.ICustomerRepository>()),
);
gh.factory<_i477.IAnalyticRepository>(
() => _i393.AnalyticRepository(
gh<_i866.AnalyticRemoteDataProvider>(),