get_it.config.dart 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. // dart format width=80
  2. // GENERATED CODE - DO NOT MODIFY BY HAND
  3. // **************************************************************************
  4. // InjectableConfigGenerator
  5. // **************************************************************************
  6. // ignore_for_file: type=lint
  7. // coverage:ignore-file
  8. // ignore_for_file: no_leading_underscores_for_library_prefixes
  9. import 'package:dio/dio.dart' as _i361;
  10. import 'package:get_it/get_it.dart' as _i174;
  11. import 'package:injectable/injectable.dart' as _i526;
  12. import '../data/api/atmob_api.dart' as _i243;
  13. import '../data/api/atmob_file_api.dart' as _i723;
  14. import '../data/api/atmob_stream_api.dart' as _i329;
  15. import '../data/bean/character_group_info.dart' as _i96;
  16. import '../data/bean/keyboard_info.dart' as _i497;
  17. import '../data/repository/account_repository.dart' as _i83;
  18. import '../data/repository/characters_repository.dart' as _i421;
  19. import '../data/repository/chat_repository.dart' as _i425;
  20. import '../data/repository/config_repository.dart' as _i50;
  21. import '../data/repository/file_upload_repository.dart' as _i815;
  22. import '../data/repository/intimacy_analyze_repository.dart' as _i283;
  23. import '../data/repository/keyboard_repository.dart' as _i274;
  24. import '../data/repository/store_repository.dart' as _i987;
  25. import '../dialog/content/character_add_tab_controller.dart' as _i991;
  26. import '../dialog/content/character_tab_group_content_controller.dart' as _i293;
  27. import '../dialog/custom_character/custom_character_add_controller.dart'
  28. as _i122;
  29. import '../dialog/login/login_dialog_controller.dart' as _i798;
  30. import '../handler/wechat_login_service.dart' as _i495;
  31. import '../module/about/about_controller.dart' as _i256;
  32. import '../module/browser/browser_controller.dart' as _i923;
  33. import '../module/change/birthday/change_birthday_controller.dart' as _i1057;
  34. import '../module/change/character/change_character_controller.dart' as _i84;
  35. import '../module/change/gender/change_gender_controller.dart' as _i315;
  36. import '../module/change/hobbies/change_hobbies_controller.dart' as _i765;
  37. import '../module/change/nickname/change_nickname_controller.dart' as _i859;
  38. import '../module/character/character_controller.dart' as _i888;
  39. import '../module/character/content/character_group_content_controller.dart'
  40. as _i970;
  41. import '../module/character_custom/character_custom_controller.dart' as _i15;
  42. import '../module/character_custom/detail/character_custom_detail_controller.dart'
  43. as _i79;
  44. import '../module/character_custom/list/character_custom_list_controller.dart'
  45. as _i1059;
  46. import '../module/feedback/feedback_controller.dart' as _i876;
  47. import '../module/intimacy_analyse/analyse_report/intimacy_analyse_report_view_controller.dart'
  48. as _i987;
  49. import '../module/intimacy_analyse/image_viewer/image_viewer_controller.dart'
  50. as _i1071;
  51. import '../module/intimacy_analyse/intimacy_analyse_controller.dart' as _i977;
  52. import '../module/intimacy_analyse/intimacy_analyse_upload/intimacy_analyse_upload_controller.dart'
  53. as _i666;
  54. import '../module/intimacy_analyse/screenshot_reply/conversation_analysis/conversation_analysis_controller.dart'
  55. as _i510;
  56. import '../module/intimacy_analyse/screenshot_reply/intimacy_analyse_screenshot_reply_controller.dart'
  57. as _i279;
  58. import '../module/intimacy_analyse/screenshot_reply/scan_image_reply/scan_image_reply_controller.dart'
  59. as _i464;
  60. import '../module/keyboard/keyboard_controller.dart' as _i161;
  61. import '../module/keyboard_guide/keyboard_guide_controller.dart' as _i248;
  62. import '../module/keyboard_manage/keyboard_manage_controller.dart' as _i922;
  63. import '../module/login/login_controller.dart' as _i1008;
  64. import '../module/main/main_controller.dart' as _i731;
  65. import '../module/mine/mine_controller.dart' as _i732;
  66. import '../module/profile/edit/profile_edit_controller.dart' as _i344;
  67. import '../module/profile/profile_controller.dart' as _i244;
  68. import '../module/store/discount/discount_controller.dart' as _i333;
  69. import '../module/store/store_controller.dart' as _i344;
  70. import '../module/store/suprise/goods_surprise_controller.dart' as _i935;
  71. import '../module/user_info/user_info_controller.dart' as _i866;
  72. import '../plugins/keyboard_method_handler.dart' as _i415;
  73. import '../utils/intimacy_analyze_config_helper.dart' as _i738;
  74. import '../utils/payment_status_manager.dart' as _i779;
  75. import '../utils/upload/upload_file_manager.dart' as _i428;
  76. import 'network_module.dart' as _i567;
  77. extension GetItInjectableX on _i174.GetIt {
  78. // initializes the registration of main-scope dependencies inside of GetIt
  79. _i174.GetIt init({
  80. String? environment,
  81. _i526.EnvironmentFilter? environmentFilter,
  82. }) {
  83. final gh = _i526.GetItHelper(this, environment, environmentFilter);
  84. final networkModule = _$NetworkModule();
  85. gh.factory<_i256.AboutController>(() => _i256.AboutController());
  86. gh.factory<_i923.BrowserController>(() => _i923.BrowserController());
  87. gh.factory<_i1057.ChangeBirthdayController>(
  88. () => _i1057.ChangeBirthdayController(),
  89. );
  90. gh.factory<_i315.ChangeGenderController>(
  91. () => _i315.ChangeGenderController(),
  92. );
  93. gh.factory<_i859.ChangeNicknameController>(
  94. () => _i859.ChangeNicknameController(),
  95. );
  96. gh.factory<_i1071.ImageViewerController>(
  97. () => _i1071.ImageViewerController(),
  98. );
  99. gh.factory<_i977.IntimacyAnalyseController>(
  100. () => _i977.IntimacyAnalyseController(),
  101. );
  102. gh.factory<_i279.IntimacyAnalyseScreenshotReplyController>(
  103. () => _i279.IntimacyAnalyseScreenshotReplyController(),
  104. );
  105. gh.factory<_i248.KeyboardGuidePageController>(
  106. () => _i248.KeyboardGuidePageController(),
  107. );
  108. gh.factory<_i731.MainController>(() => _i731.MainController());
  109. gh.factory<_i333.DiscountController>(() => _i333.DiscountController());
  110. gh.factory<_i415.KeyboardMethodHandler>(
  111. () => _i415.KeyboardMethodHandler(),
  112. );
  113. gh.lazySingleton<_i495.WechatLoginService>(
  114. () => _i495.WechatLoginService(),
  115. );
  116. gh.singleton<_i361.Dio>(
  117. () => networkModule.createStreamDio(),
  118. instanceName: 'streamDio',
  119. );
  120. gh.singleton<_i361.Dio>(
  121. () => networkModule.createDefaultDio(),
  122. instanceName: 'defaultDio',
  123. );
  124. gh.singleton<_i329.AtmobStreamApi>(
  125. () => networkModule.provideAtmobStreamApi(
  126. gh<_i361.Dio>(instanceName: 'streamDio'),
  127. ),
  128. );
  129. gh.singleton<_i361.Dio>(
  130. () => networkModule.createFileDio(),
  131. instanceName: 'fileDio',
  132. );
  133. gh.factory<_i798.LoginDialogController>(
  134. () => _i798.LoginDialogController(gh<_i495.WechatLoginService>()),
  135. );
  136. gh.singleton<_i723.AtmobFileApi>(
  137. () => networkModule.provideAtmobFileApi(
  138. gh<_i361.Dio>(instanceName: 'fileDio'),
  139. ),
  140. );
  141. gh.lazySingleton<_i815.FileUploadRepository>(
  142. () => _i815.FileUploadRepository(gh<_i723.AtmobFileApi>()),
  143. );
  144. gh.singleton<_i243.AtmobApi>(
  145. () => networkModule.provideAtmobApi(
  146. gh<_i361.Dio>(instanceName: 'defaultDio'),
  147. ),
  148. );
  149. gh.lazySingleton<_i428.UploadFileManager>(
  150. () => _i428.UploadFileManager(gh<_i815.FileUploadRepository>()),
  151. );
  152. gh.lazySingleton<_i83.AccountRepository>(
  153. () => _i83.AccountRepository(gh<_i243.AtmobApi>()),
  154. );
  155. gh.lazySingleton<_i421.CharactersRepository>(
  156. () => _i421.CharactersRepository(gh<_i243.AtmobApi>()),
  157. );
  158. gh.lazySingleton<_i50.ConfigRepository>(
  159. () => _i50.ConfigRepository(gh<_i243.AtmobApi>()),
  160. );
  161. gh.lazySingleton<_i274.KeyboardRepository>(
  162. () => _i274.KeyboardRepository(gh<_i243.AtmobApi>()),
  163. );
  164. gh.lazySingleton<_i283.IntimacyAnalyzeRepository>(
  165. () => _i283.IntimacyAnalyzeRepository(gh<_i243.AtmobApi>()),
  166. );
  167. gh.factoryParam<
  168. _i293.CharacterTabGroupContentController,
  169. _i96.CharacterGroupInfo,
  170. _i497.KeyboardInfo
  171. >(
  172. (currentCharacterGroupInfo, currentKeyboardInfo) =>
  173. _i293.CharacterTabGroupContentController(
  174. gh<_i421.CharactersRepository>(),
  175. currentCharacterGroupInfo: currentCharacterGroupInfo,
  176. currentKeyboardInfo: currentKeyboardInfo,
  177. ),
  178. );
  179. gh.lazySingleton<_i425.ChatRepository>(
  180. () => _i425.ChatRepository(
  181. gh<_i329.AtmobStreamApi>(),
  182. gh<_i243.AtmobApi>(),
  183. ),
  184. );
  185. gh.factory<_i922.KeyboardManageController>(
  186. () => _i922.KeyboardManageController(
  187. gh<_i274.KeyboardRepository>(),
  188. gh<_i83.AccountRepository>(),
  189. ),
  190. );
  191. gh.factory<_i244.ProfileController>(
  192. () => _i244.ProfileController(
  193. gh<_i274.KeyboardRepository>(),
  194. gh<_i83.AccountRepository>(),
  195. ),
  196. );
  197. gh.lazySingleton<_i987.StoreRepository>(
  198. () => _i987.StoreRepository(
  199. gh<_i243.AtmobApi>(),
  200. gh<_i83.AccountRepository>(),
  201. ),
  202. );
  203. gh.factory<_i935.GoodsSurpriseController>(
  204. () => _i935.GoodsSurpriseController(gh<_i987.StoreRepository>()),
  205. );
  206. gh.lazySingleton<_i779.PaymentStatusManager>(
  207. () => _i779.PaymentStatusManager(gh<_i987.StoreRepository>()),
  208. );
  209. gh.factory<_i344.ProfileEditController>(
  210. () => _i344.ProfileEditController(
  211. gh<_i50.ConfigRepository>(),
  212. gh<_i274.KeyboardRepository>(),
  213. ),
  214. );
  215. gh.factory<_i161.KeyBoardController>(
  216. () => _i161.KeyBoardController(gh<_i274.KeyboardRepository>()),
  217. );
  218. gh.factory<_i970.CharacterGroupContentController>(
  219. () => _i970.CharacterGroupContentController(
  220. gh<_i421.CharactersRepository>(),
  221. gh<_i83.AccountRepository>(),
  222. ),
  223. );
  224. gh.factory<_i876.FeedbackController>(
  225. () => _i876.FeedbackController(gh<_i83.AccountRepository>()),
  226. );
  227. gh.factory<_i732.MineController>(
  228. () => _i732.MineController(gh<_i83.AccountRepository>()),
  229. );
  230. gh.factory<_i866.UserInfoController>(
  231. () => _i866.UserInfoController(gh<_i83.AccountRepository>()),
  232. );
  233. gh.factoryParam<
  234. _i991.CharacterAddTabController,
  235. _i497.KeyboardInfo,
  236. dynamic
  237. >(
  238. (currentKeyboardInfo, _) => _i991.CharacterAddTabController(
  239. gh<_i421.CharactersRepository>(),
  240. gh<_i274.KeyboardRepository>(),
  241. currentKeyboardInfo: currentKeyboardInfo,
  242. ),
  243. );
  244. gh.factoryParam<
  245. _i122.CustomCharacterAddController,
  246. _i497.KeyboardInfo,
  247. dynamic
  248. >(
  249. (currentKeyboardInfo, _) => _i122.CustomCharacterAddController(
  250. gh<_i421.CharactersRepository>(),
  251. gh<_i274.KeyboardRepository>(),
  252. currentKeyboardInfo: currentKeyboardInfo,
  253. ),
  254. );
  255. gh.factory<_i84.ChangeCharacterController>(
  256. () => _i84.ChangeCharacterController(gh<_i50.ConfigRepository>()),
  257. );
  258. gh.factory<_i765.ChangeHobbiesController>(
  259. () => _i765.ChangeHobbiesController(gh<_i50.ConfigRepository>()),
  260. );
  261. gh.factory<_i15.CharacterCustomController>(
  262. () => _i15.CharacterCustomController(gh<_i50.ConfigRepository>()),
  263. );
  264. gh.factory<_i888.CharacterController>(
  265. () => _i888.CharacterController(
  266. gh<_i421.CharactersRepository>(),
  267. gh<_i50.ConfigRepository>(),
  268. gh<_i274.KeyboardRepository>(),
  269. ),
  270. );
  271. gh.factory<_i79.CharacterCustomDetailController>(
  272. () => _i79.CharacterCustomDetailController(
  273. gh<_i421.CharactersRepository>(),
  274. gh<_i50.ConfigRepository>(),
  275. ),
  276. );
  277. gh.factory<_i738.IntimacyAnalyzeConfigHelper>(
  278. () => _i738.IntimacyAnalyzeConfigHelper(
  279. gh<_i283.IntimacyAnalyzeRepository>(),
  280. ),
  281. );
  282. gh.factory<_i1008.LoginController>(
  283. () => _i1008.LoginController(
  284. gh<_i83.AccountRepository>(),
  285. gh<_i495.WechatLoginService>(),
  286. ),
  287. );
  288. gh.factory<_i1059.CharacterCustomListController>(
  289. () => _i1059.CharacterCustomListController(
  290. gh<_i421.CharactersRepository>(),
  291. gh<_i274.KeyboardRepository>(),
  292. ),
  293. );
  294. gh.factory<_i344.StoreController>(
  295. () => _i344.StoreController(
  296. gh<_i987.StoreRepository>(),
  297. gh<_i83.AccountRepository>(),
  298. gh<_i779.PaymentStatusManager>(),
  299. ),
  300. );
  301. gh.factory<_i510.ConversationAnalysisController>(
  302. () => _i510.ConversationAnalysisController(
  303. gh<_i738.IntimacyAnalyzeConfigHelper>(),
  304. gh<_i428.UploadFileManager>(),
  305. ),
  306. );
  307. gh.factory<_i464.ScanImageReplyController>(
  308. () => _i464.ScanImageReplyController(
  309. gh<_i738.IntimacyAnalyzeConfigHelper>(),
  310. gh<_i428.UploadFileManager>(),
  311. ),
  312. );
  313. gh.factory<_i666.IntimacyAnalyseUploadController>(
  314. () => _i666.IntimacyAnalyseUploadController(
  315. gh<_i283.IntimacyAnalyzeRepository>(),
  316. gh<_i738.IntimacyAnalyzeConfigHelper>(),
  317. gh<_i428.UploadFileManager>(),
  318. gh<_i83.AccountRepository>(),
  319. ),
  320. );
  321. gh.factory<_i987.IntimacyAnalyseReportController>(
  322. () => _i987.IntimacyAnalyseReportController(
  323. gh<_i283.IntimacyAnalyzeRepository>(),
  324. gh<_i738.IntimacyAnalyzeConfigHelper>(),
  325. ),
  326. );
  327. return this;
  328. }
  329. }
  330. class _$NetworkModule extends _i567.NetworkModule {}