get_it.config.dart 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  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/dialog/direction/custom_direction_edit_controller.dart'
  53. as _i278;
  54. import '../module/intimacy_analyse/intimacy_analyse_upload/dialog/intimacy_generate_character/intimacy_generate_character_edit_controller.dart'
  55. as _i873;
  56. import '../module/intimacy_analyse/intimacy_analyse_upload/intimacy_analyse_upload_controller.dart'
  57. as _i666;
  58. import '../module/intimacy_analyse/screenshot_reply/conversation_analysis/conversation_analysis_controller.dart'
  59. as _i510;
  60. import '../module/intimacy_analyse/screenshot_reply/intimacy_analyse_screenshot_reply_controller.dart'
  61. as _i279;
  62. import '../module/intimacy_analyse/screenshot_reply/scan_image_reply/scan_image_reply_controller.dart'
  63. as _i464;
  64. import '../module/intimacy_scale/intimacy_scale_controller.dart' as _i566;
  65. import '../module/intro/intro_controller.dart' as _i211;
  66. import '../module/keyboard/keyboard_controller.dart' as _i161;
  67. import '../module/keyboard_guide/keyboard_guide_controller.dart' as _i248;
  68. import '../module/keyboard_manage/keyboard_manage_controller.dart' as _i922;
  69. import '../module/keyboard_tutorial/android/keyboard_tutorial_android_view_controller.dart'
  70. as _i1022;
  71. import '../module/keyboard_tutorial/ios/keyboard_tutorial_ios_view_controller.dart'
  72. as _i842;
  73. import '../module/keyboard_tutorial/keyboard_tutorial_controller.dart' as _i507;
  74. import '../module/keyboard_tutorial/video/android/keyboard_tutorial_video_android_view_controller.dart'
  75. as _i925;
  76. import '../module/keyboard_tutorial/video/ios/keyboard_tutorial_video_android_ios_controller.dart'
  77. as _i421;
  78. import '../module/keyboard_tutorial/video/keyboard_tutorial_video_controller.dart'
  79. as _i101;
  80. import '../module/login/login_controller.dart' as _i1008;
  81. import '../module/main/main_controller.dart' as _i731;
  82. import '../module/mine/mine_controller.dart' as _i732;
  83. import '../module/new_user/new_user_controller.dart' as _i701;
  84. import '../module/new_user/result/new_user_result_controller.dart' as _i576;
  85. import '../module/profile/edit/profile_edit_controller.dart' as _i344;
  86. import '../module/profile/profile_controller.dart' as _i244;
  87. import '../module/splash/splash_controller.dart' as _i973;
  88. import '../module/store/discount/discount_controller.dart' as _i333;
  89. import '../module/store/new_discount/new_discount_controller.dart' as _i326;
  90. import '../module/store/store_controller.dart' as _i344;
  91. import '../module/store/subscribe/recover_subscribe_controller.dart' as _i827;
  92. import '../module/store/suprise/goods_surprise_controller.dart' as _i935;
  93. import '../module/store/util/store_goods_countdown_manager.dart' as _i442;
  94. import '../module/user_info/user_info_controller.dart' as _i866;
  95. import '../module/user_profile/user_profile_controller.dart' as _i329;
  96. import '../module/zodiac_love_intimacy/zodiac_love_intimacy_controller.dart'
  97. as _i1060;
  98. import '../plugins/keyboard_method_handler.dart' as _i415;
  99. import '../utils/intimacy_analyze_config_helper.dart' as _i738;
  100. import '../utils/payment_status_manager.dart' as _i779;
  101. import '../utils/upload/upload_file_manager.dart' as _i428;
  102. import 'network_module.dart' as _i567;
  103. extension GetItInjectableX on _i174.GetIt {
  104. // initializes the registration of main-scope dependencies inside of GetIt
  105. _i174.GetIt init({
  106. String? environment,
  107. _i526.EnvironmentFilter? environmentFilter,
  108. }) {
  109. final gh = _i526.GetItHelper(this, environment, environmentFilter);
  110. final networkModule = _$NetworkModule();
  111. gh.factory<_i415.KeyboardMethodHandler>(
  112. () => _i415.KeyboardMethodHandler(),
  113. );
  114. gh.factory<_i315.ChangeGenderController>(
  115. () => _i315.ChangeGenderController(),
  116. );
  117. gh.factory<_i1057.ChangeBirthdayController>(
  118. () => _i1057.ChangeBirthdayController(),
  119. );
  120. gh.factory<_i859.ChangeNicknameController>(
  121. () => _i859.ChangeNicknameController(),
  122. );
  123. gh.factory<_i973.SplashController>(() => _i973.SplashController());
  124. gh.factory<_i211.IntroController>(() => _i211.IntroController());
  125. gh.factory<_i256.AboutController>(() => _i256.AboutController());
  126. gh.factory<_i977.IntimacyAnalyseController>(
  127. () => _i977.IntimacyAnalyseController(),
  128. );
  129. gh.factory<_i279.IntimacyAnalyseScreenshotReplyController>(
  130. () => _i279.IntimacyAnalyseScreenshotReplyController(),
  131. );
  132. gh.factory<_i1071.ImageViewerController>(
  133. () => _i1071.ImageViewerController(),
  134. );
  135. gh.factory<_i873.IntimacyGenerateCharacterEditController>(
  136. () => _i873.IntimacyGenerateCharacterEditController(),
  137. );
  138. gh.factory<_i923.BrowserController>(() => _i923.BrowserController());
  139. gh.factory<_i248.KeyboardGuidePageController>(
  140. () => _i248.KeyboardGuidePageController(),
  141. );
  142. gh.factory<_i1060.ZodiacLoveIntimacyController>(
  143. () => _i1060.ZodiacLoveIntimacyController(),
  144. );
  145. gh.factory<_i101.KeyboardTutorialVideoController>(
  146. () => _i101.KeyboardTutorialVideoController(),
  147. );
  148. gh.factory<_i421.KeyboardTutorialVideoIosViewController>(
  149. () => _i421.KeyboardTutorialVideoIosViewController(),
  150. );
  151. gh.factory<_i925.KeyboardTutorialVideoAndroidViewController>(
  152. () => _i925.KeyboardTutorialVideoAndroidViewController(),
  153. );
  154. gh.factory<_i507.KeyboardTutorialController>(
  155. () => _i507.KeyboardTutorialController(),
  156. );
  157. gh.factory<_i842.KeyboardTutorialIosViewController>(
  158. () => _i842.KeyboardTutorialIosViewController(),
  159. );
  160. gh.factory<_i1022.KeyboardTutorialAndroidViewController>(
  161. () => _i1022.KeyboardTutorialAndroidViewController(),
  162. );
  163. gh.factory<_i333.DiscountController>(() => _i333.DiscountController());
  164. gh.factory<_i827.RecoverSubscribeController>(
  165. () => _i827.RecoverSubscribeController(),
  166. );
  167. gh.lazySingleton<_i495.WechatLoginService>(
  168. () => _i495.WechatLoginService(),
  169. );
  170. gh.lazySingleton<_i442.StoreGoodsCountdownManager>(
  171. () => _i442.StoreGoodsCountdownManager(),
  172. );
  173. gh.singleton<_i361.Dio>(
  174. () => networkModule.createStreamDio(),
  175. instanceName: 'streamDio',
  176. );
  177. gh.singleton<_i361.Dio>(
  178. () => networkModule.createDefaultDio(),
  179. instanceName: 'defaultDio',
  180. );
  181. gh.singleton<_i329.AtmobStreamApi>(
  182. () => networkModule.provideAtmobStreamApi(
  183. gh<_i361.Dio>(instanceName: 'streamDio'),
  184. ),
  185. );
  186. gh.singleton<_i361.Dio>(
  187. () => networkModule.createFileDio(),
  188. instanceName: 'fileDio',
  189. );
  190. gh.singleton<_i723.AtmobFileApi>(
  191. () => networkModule.provideAtmobFileApi(
  192. gh<_i361.Dio>(instanceName: 'fileDio'),
  193. ),
  194. );
  195. gh.lazySingleton<_i815.FileUploadRepository>(
  196. () => _i815.FileUploadRepository(gh<_i723.AtmobFileApi>()),
  197. );
  198. gh.singleton<_i243.AtmobApi>(
  199. () => networkModule.provideAtmobApi(
  200. gh<_i361.Dio>(instanceName: 'defaultDio'),
  201. ),
  202. );
  203. gh.lazySingleton<_i283.IntimacyAnalyzeRepository>(
  204. () => _i283.IntimacyAnalyzeRepository(
  205. gh<_i243.AtmobApi>(),
  206. gh<_i329.AtmobStreamApi>(),
  207. ),
  208. );
  209. gh.factory<_i738.IntimacyAnalyzeConfigHelper>(
  210. () => _i738.IntimacyAnalyzeConfigHelper(
  211. gh<_i283.IntimacyAnalyzeRepository>(),
  212. ),
  213. );
  214. gh.lazySingleton<_i428.UploadFileManager>(
  215. () => _i428.UploadFileManager(gh<_i815.FileUploadRepository>()),
  216. );
  217. gh.lazySingleton<_i50.ConfigRepository>(
  218. () => _i50.ConfigRepository(gh<_i243.AtmobApi>()),
  219. );
  220. gh.lazySingleton<_i83.AccountRepository>(
  221. () => _i83.AccountRepository(gh<_i243.AtmobApi>()),
  222. );
  223. gh.lazySingleton<_i421.CharactersRepository>(
  224. () => _i421.CharactersRepository(gh<_i243.AtmobApi>()),
  225. );
  226. gh.lazySingleton<_i274.KeyboardRepository>(
  227. () => _i274.KeyboardRepository(gh<_i243.AtmobApi>()),
  228. );
  229. gh.factoryParam<
  230. _i293.CharacterTabGroupContentController,
  231. _i96.CharacterGroupInfo,
  232. _i497.KeyboardInfo
  233. >(
  234. (currentCharacterGroupInfo, currentKeyboardInfo) =>
  235. _i293.CharacterTabGroupContentController(
  236. gh<_i421.CharactersRepository>(),
  237. currentCharacterGroupInfo: currentCharacterGroupInfo,
  238. currentKeyboardInfo: currentKeyboardInfo,
  239. ),
  240. );
  241. gh.factory<_i888.CharacterController>(
  242. () => _i888.CharacterController(
  243. gh<_i83.AccountRepository>(),
  244. gh<_i421.CharactersRepository>(),
  245. gh<_i50.ConfigRepository>(),
  246. gh<_i274.KeyboardRepository>(),
  247. ),
  248. );
  249. gh.factory<_i329.UserProfileController>(
  250. () => _i329.UserProfileController(
  251. gh<_i50.ConfigRepository>(),
  252. gh<_i83.AccountRepository>(),
  253. gh<_i274.KeyboardRepository>(),
  254. ),
  255. );
  256. gh.lazySingleton<_i425.ChatRepository>(
  257. () => _i425.ChatRepository(
  258. gh<_i329.AtmobStreamApi>(),
  259. gh<_i243.AtmobApi>(),
  260. ),
  261. );
  262. gh.factory<_i244.ProfileController>(
  263. () => _i244.ProfileController(
  264. gh<_i274.KeyboardRepository>(),
  265. gh<_i83.AccountRepository>(),
  266. ),
  267. );
  268. gh.factory<_i922.KeyboardManageController>(
  269. () => _i922.KeyboardManageController(
  270. gh<_i274.KeyboardRepository>(),
  271. gh<_i83.AccountRepository>(),
  272. ),
  273. );
  274. gh.factory<_i161.KeyBoardController>(
  275. () => _i161.KeyBoardController(
  276. gh<_i274.KeyboardRepository>(),
  277. gh<_i83.AccountRepository>(),
  278. ),
  279. );
  280. gh.lazySingleton<_i987.StoreRepository>(
  281. () => _i987.StoreRepository(
  282. gh<_i243.AtmobApi>(),
  283. gh<_i83.AccountRepository>(),
  284. ),
  285. );
  286. gh.factory<_i935.GoodsSurpriseController>(
  287. () => _i935.GoodsSurpriseController(gh<_i987.StoreRepository>()),
  288. );
  289. gh.lazySingleton<_i779.PaymentStatusManager>(
  290. () => _i779.PaymentStatusManager(gh<_i987.StoreRepository>()),
  291. );
  292. gh.factory<_i344.ProfileEditController>(
  293. () => _i344.ProfileEditController(
  294. gh<_i50.ConfigRepository>(),
  295. gh<_i274.KeyboardRepository>(),
  296. ),
  297. );
  298. gh.factory<_i278.CustomDirectionEditController>(
  299. () => _i278.CustomDirectionEditController(
  300. gh<_i738.IntimacyAnalyzeConfigHelper>(),
  301. ),
  302. );
  303. gh.factory<_i566.IntimacyScaleController>(
  304. () => _i566.IntimacyScaleController(gh<_i274.KeyboardRepository>()),
  305. );
  306. gh.factory<_i701.NewUserController>(
  307. () => _i701.NewUserController(
  308. gh<_i83.AccountRepository>(),
  309. gh<_i274.KeyboardRepository>(),
  310. ),
  311. );
  312. gh.factory<_i970.CharacterGroupContentController>(
  313. () => _i970.CharacterGroupContentController(
  314. gh<_i421.CharactersRepository>(),
  315. gh<_i83.AccountRepository>(),
  316. ),
  317. );
  318. gh.factory<_i876.FeedbackController>(
  319. () => _i876.FeedbackController(gh<_i83.AccountRepository>()),
  320. );
  321. gh.factory<_i732.MineController>(
  322. () => _i732.MineController(gh<_i83.AccountRepository>()),
  323. );
  324. gh.factory<_i866.UserInfoController>(
  325. () => _i866.UserInfoController(gh<_i83.AccountRepository>()),
  326. );
  327. gh.factory<_i666.IntimacyAnalyseUploadController>(
  328. () => _i666.IntimacyAnalyseUploadController(
  329. gh<_i283.IntimacyAnalyzeRepository>(),
  330. gh<_i738.IntimacyAnalyzeConfigHelper>(),
  331. gh<_i428.UploadFileManager>(),
  332. gh<_i83.AccountRepository>(),
  333. gh<_i274.KeyboardRepository>(),
  334. ),
  335. );
  336. gh.factory<_i344.StoreController>(
  337. () => _i344.StoreController(
  338. gh<_i987.StoreRepository>(),
  339. gh<_i83.AccountRepository>(),
  340. gh<_i779.PaymentStatusManager>(),
  341. gh<_i442.StoreGoodsCountdownManager>(),
  342. ),
  343. );
  344. gh.factoryParam<
  345. _i991.CharacterAddTabController,
  346. _i497.KeyboardInfo,
  347. dynamic
  348. >(
  349. (currentKeyboardInfo, _) => _i991.CharacterAddTabController(
  350. gh<_i421.CharactersRepository>(),
  351. gh<_i274.KeyboardRepository>(),
  352. currentKeyboardInfo: currentKeyboardInfo,
  353. ),
  354. );
  355. gh.factoryParam<
  356. _i122.CustomCharacterAddController,
  357. _i497.KeyboardInfo,
  358. dynamic
  359. >(
  360. (currentKeyboardInfo, _) => _i122.CustomCharacterAddController(
  361. gh<_i421.CharactersRepository>(),
  362. gh<_i274.KeyboardRepository>(),
  363. currentKeyboardInfo: currentKeyboardInfo,
  364. ),
  365. );
  366. gh.factory<_i765.ChangeHobbiesController>(
  367. () => _i765.ChangeHobbiesController(gh<_i50.ConfigRepository>()),
  368. );
  369. gh.factory<_i84.ChangeCharacterController>(
  370. () => _i84.ChangeCharacterController(gh<_i50.ConfigRepository>()),
  371. );
  372. gh.factory<_i15.CharacterCustomController>(
  373. () => _i15.CharacterCustomController(gh<_i50.ConfigRepository>()),
  374. );
  375. gh.factory<_i987.IntimacyAnalyseReportController>(
  376. () => _i987.IntimacyAnalyseReportController(
  377. gh<_i283.IntimacyAnalyzeRepository>(),
  378. gh<_i738.IntimacyAnalyzeConfigHelper>(),
  379. gh<_i274.KeyboardRepository>(),
  380. gh<_i83.AccountRepository>(),
  381. ),
  382. );
  383. gh.factory<_i79.CharacterCustomDetailController>(
  384. () => _i79.CharacterCustomDetailController(
  385. gh<_i421.CharactersRepository>(),
  386. gh<_i50.ConfigRepository>(),
  387. ),
  388. );
  389. gh.factory<_i798.LoginDialogController>(
  390. () => _i798.LoginDialogController(
  391. gh<_i495.WechatLoginService>(),
  392. gh<_i83.AccountRepository>(),
  393. ),
  394. );
  395. gh.factory<_i464.ScanImageReplyController>(
  396. () => _i464.ScanImageReplyController(
  397. gh<_i738.IntimacyAnalyzeConfigHelper>(),
  398. gh<_i428.UploadFileManager>(),
  399. gh<_i283.IntimacyAnalyzeRepository>(),
  400. gh<_i83.AccountRepository>(),
  401. ),
  402. );
  403. gh.factory<_i510.ConversationAnalysisController>(
  404. () => _i510.ConversationAnalysisController(
  405. gh<_i738.IntimacyAnalyzeConfigHelper>(),
  406. gh<_i428.UploadFileManager>(),
  407. gh<_i283.IntimacyAnalyzeRepository>(),
  408. gh<_i83.AccountRepository>(),
  409. ),
  410. );
  411. gh.factory<_i1008.LoginController>(
  412. () => _i1008.LoginController(
  413. gh<_i83.AccountRepository>(),
  414. gh<_i495.WechatLoginService>(),
  415. ),
  416. );
  417. gh.factory<_i576.NewUserResultController>(
  418. () => _i576.NewUserResultController(
  419. gh<_i83.AccountRepository>(),
  420. gh<_i274.KeyboardRepository>(),
  421. gh<_i421.CharactersRepository>(),
  422. ),
  423. );
  424. gh.factory<_i1059.CharacterCustomListController>(
  425. () => _i1059.CharacterCustomListController(
  426. gh<_i421.CharactersRepository>(),
  427. gh<_i274.KeyboardRepository>(),
  428. ),
  429. );
  430. gh.factory<_i326.NewDiscountController>(
  431. () => _i326.NewDiscountController(
  432. gh<_i987.StoreRepository>(),
  433. gh<_i83.AccountRepository>(),
  434. gh<_i779.PaymentStatusManager>(),
  435. ),
  436. );
  437. gh.factory<_i731.MainController>(
  438. () => _i731.MainController(
  439. gh<_i83.AccountRepository>(),
  440. gh<_i274.KeyboardRepository>(),
  441. gh<_i50.ConfigRepository>(),
  442. gh<_i987.StoreRepository>(),
  443. gh<_i421.CharactersRepository>(),
  444. ),
  445. );
  446. return this;
  447. }
  448. }
  449. class _$NetworkModule extends _i567.NetworkModule {}