get_it.config.dart 19 KB

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