@zeniai/web-cockpit-ui 1.14.21-qa → 1.14.22-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/dist/assets/ACHDetailsPage-Csc8UPGK-C5DTl14D.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DKwSS0Zl-_uRJy90x.js → AIPerformancePage-BNK1zghX-CXpkKBhu.js} +40 -40
  3. package/dist/assets/{AccountInfoPage-CSIM7DNw-t91eZQ9I.js → AccountInfoPage-WoQj1Knu-Cxdf_g3B.js} +5 -5
  4. package/dist/assets/{AccountInfoPageContent-CwbmE2Bb-T-BFbt0o.js → AccountInfoPageContent-BsiMZrTm-DfeZwew1.js} +17 -17
  5. package/dist/assets/{AccountLockedInfoModal-SFgC439X-CMjAhOqH.js → AccountLockedInfoModal-CaIpZQOZ-DUBexURk.js} +7 -7
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DhlVNNlq-D2_UrFsx.js → AccountReconDetailsDrawerPage-BQTm9Igh-bRUuCvDt.js} +12 -12
  7. package/dist/assets/{AccountRow-Bhq6cvtX-YU5AexfS.js → AccountRow-mHhwnvVT-61DHuT3I.js} +16 -16
  8. package/dist/assets/{AccountsPromoCardStack-Cx60IXNK-DbnDsykr.js → AccountsPromoCardStack-jk87J-uY-CYM3oaB-.js} +27 -27
  9. package/dist/assets/{AddAddressForCardDrawer-D1cDpMRq-W5tXjh3z.js → AddAddressForCardDrawer-BY-ABNiB-C1fgvotd.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-DjD9kDfD-BVOukNrG.js → AddToWalletPage-BmaqhQ_z-fr9KNRwo.js} +29 -29
  11. package/dist/assets/{AgingReportsPage-C68tZbMZ-ltB8OanA.js → AgingReportsPage-B2tfefId-BY1ufaPI.js} +14 -14
  12. package/dist/assets/{AllUserItems-D4ZWfS3r-BIKyz3xK.js → AllUserItems-C5jB4yc_-bcEnXv8A.js} +8 -8
  13. package/dist/assets/{ApAgingDetailPage-C9xdKi6n-DQvox-Mj.js → ApAgingDetailPage-B-ZHX3JJ-Dm0NOaoH.js} +3 -3
  14. package/dist/assets/{AppBasePage-C77LebWx-DD6i2F9A.js → AppBasePage-DOXcrTCE-BU2ssx1Y.js} +11 -11
  15. package/dist/assets/{AppDrawerContent-rleLuP6d-N207k0Kf.js → AppDrawerContent-Cav4Sy09-XmmoSBRe.js} +17 -17
  16. package/dist/assets/ApprovalRulesSettingsPage-rzr9k2jA-BhZWVqKA.js +47 -0
  17. package/dist/assets/{ArAgingChart-BzPI5KpZ-Dwcwv8mU.js → ArAgingChart-B3NtEWh--G5H5BTO1.js} +10 -10
  18. package/dist/assets/{ArAgingDetailPage-QPScba6I-_mrA9Dmx.js → ArAgingDetailPage-uX2oVxj4-B2CH08AV.js} +1 -1
  19. package/dist/assets/{AttachmentView-BWRZe11t-geAB7dwF.js → AttachmentView-BQMzs_UT-DjbZBXs7.js} +8 -8
  20. package/dist/assets/{BankAccountSection-D4xFLS8Y-K9xaG_eB.js → BankAccountSection-MWGcLsKa-DYMEitGJ.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-xch7b7oM-ChEsNIJ1.js → BankAccountWarningSection-CBlOG9xN-KyoF0Xjl.js} +6 -6
  22. package/dist/assets/{BankConnectionsSettingsPage-BAf6txkS-vMvoxtKR.js → BankConnectionsSettingsPage-PagAlxUn-CnNwI2lQ.js} +33 -33
  23. package/dist/assets/{BillDetailPage-DNjo2hSl-BIFlrRZ4.js → BillDetailPage-DU3KKWCI-Dgx7cNS3.js} +12 -12
  24. package/dist/assets/BillPayApprovalRuleDetailPage-DzfhQmLn-0k3Mkm1z.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-XcSe-JLu-CEbOBf4P.js → BillPayApprovalRulesPage-B051t9Mv-Bz466D-_.js} +10 -10
  26. package/dist/assets/BillPayPromoPage-DvBp9dFZ-DT65a4C3.js +84 -0
  27. package/dist/assets/BillPaySetUpPage-D7335PCo-lcC21Rm6.js +42 -0
  28. package/dist/assets/BillingSettingsPage-PsWVXatK-Df6MXAqh.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-C0-0H-LH-C4Ch0eQg.js → BillsBulkReviewDrawerPage-Dkq-bCpf-QfTbq_6Y.js} +1 -1
  30. package/dist/assets/{BoxItem-DfMMtLK3-DwhF3MEP.js → BoxItem-Bf9DDBGl-B4tzyane.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Bdf48vIt-CsMA_z06.js → BusinessVerificationPage-DZpS0b_1-DhH_xv3P.js} +14 -14
  32. package/dist/assets/{CardNumberSubText-DgQelYSF-EYjrhelR.js → CardNumberSubText-8FNDlBHV-xefYK_FQ.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-pDpjBsfK-B3tdD-nA.js → CashbackDetailPage-CUc07auE-CayGCDQt.js} +23 -23
  34. package/dist/assets/{ChargeCardDetailPage-DU9RMQc6-CYAFKGtS.js → ChargeCardDetailPage-D84v0WwQ-Drf4gFgi.js} +64 -64
  35. package/dist/assets/{ChargeCardListPage-DMYZIi2J-YzgnTjNz.js → ChargeCardListPage-BFssQAQg-Dr6YIgl1.js} +30 -30
  36. package/dist/assets/{ChargeCardListTable-BGhtEqlM-B7Fdytg0.js → ChargeCardListTable-BuI0T0Bn-DXKO7Y7U.js} +193 -193
  37. package/dist/assets/ChargeCardPromoPage-CRqyciNL-FrtjBhKN.js +222 -0
  38. package/dist/assets/ChargeCardSetupPage-BzqdaEET-j6EBeAK_.js +36 -0
  39. package/dist/assets/ChargeCardStatementsPage-BtImi0Pc-D6s-jUZ3.js +60 -0
  40. package/dist/assets/ChargeCardUtils-DQztOSYJ-DZxY6wV1.js +1 -0
  41. package/dist/assets/ChaseOverlay-BaGgoJZk-L4zZNkyz.js +170 -0
  42. package/dist/assets/CheckDepositDrawerPage-90KwCes_-BFVP9Xnd.js +206 -0
  43. package/dist/assets/{CollapsableReportTable-CuZSfiJ--BV5LvjsE.js → CollapsableReportTable-dCUjgg1X-DLs7OVqc.js} +51 -51
  44. package/dist/assets/{CompanyOfficerDetailsSection-B8_6LaaT-CKJVK2pK.js → CompanyOfficerDetailsSection-B5d06n1B-shOCzvZi.js} +19 -19
  45. package/dist/assets/{CompanyPassportCard-Dnoe52f1-BZsqn6WU.js → CompanyPassportCard-BOuhptIV-CVEQtf9Q.js} +6 -6
  46. package/dist/assets/{CompanyPassportPage-ChrMM5cG-DMFx8-D2.js → CompanyPassportPage-CPxR1IKu-B6sc0yZA.js} +12 -12
  47. package/dist/assets/CompleteProfile-BIN-sI3M-1L7bxHe9.js +52 -0
  48. package/dist/assets/{ConfettiBurst-CLXTwsEc-Baoit-xY.js → ConfettiBurst-nTrV9Xfw-D3DkhcOF.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BQT9jEKf-BQUueMhM.js → CreateOrEditVendorPage-CQH4Gfy0-DBGaDkEf.js} +10 -10
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CqjXmiuE-BYGCpyAz.js → CreditCardPaymentDrawerPage-C3PvfNmm-amz8Ne7l.js} +23 -23
  51. package/dist/assets/CreditCardPaymentPlgSection-Cz-CSdKg-DO4yi827.js +78 -0
  52. package/dist/assets/CurrencySelectField-ltt1zExP-D2omcj4n.js +139 -0
  53. package/dist/assets/{CustomerOnboardingActivationPage-CwOkKzOg-B9TqM2NT.js → CustomerOnboardingActivationPage-Cst56yLP-ejyq0w3C.js} +7 -7
  54. package/dist/assets/CustomerOnboardingContainerPage-B9rA9JXM-C9nb1PSk.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-czdG16p5-DG6Ivo4n.js → CustomerOnboardingDetailPageSkeleton-H59MLCwU-KBQed5cV.js} +11 -11
  56. package/dist/assets/CustomerOnboardingNoStepsPage-B8cf9wWc-DoeA9g-j.js +66 -0
  57. package/dist/assets/{CustomerOnboardingPage-YXekfOBo-HDPrQ7VL.js → CustomerOnboardingPage-1o2R-ghV-DIOBtRSu.js} +12 -12
  58. package/dist/assets/CustomerOnboardingProductSuitePage-Dfv86gVc-xcmudBbw.js +202 -0
  59. package/dist/assets/{Dashboard-DSgwFRPe-BqbfAhX1.js → Dashboard-CptSiho6-CYuyH4KA.js} +25 -25
  60. package/dist/assets/{DashboardReportPage-BJvP8_MA-BBXCjxlc.js → DashboardReportPage-G32NOQFe-BOVMH67u.js} +19 -19
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-BzB16gcw-DuZKIfdP.js → DashboardSidebarBackgroundAnimation-DTkdczBR-Dm25xp1J.js} +2 -2
  62. package/dist/assets/{DepositAccTransactionItem-iLxnaDON-Cu2Jt3BR.js → DepositAccTransactionItem-CQX9MBK--x7S3np6v.js} +4 -4
  63. package/dist/assets/DepositAccTransactionListPage-C6lB4Qyv-67Okcjlq.js +66 -0
  64. package/dist/assets/{DomesticWireDetailsPage-D7ID3OCC-BWg_cPdV.js → DomesticWireDetailsPage-Bgm_YYHM-C2zlQj9Q.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-DK3Nswwn-CvcpFx8P.js → DownloadOverlay-DN4zwFl5-BWBizCPI.js} +27 -27
  66. package/dist/assets/{DrawerPage-qdVRf0zd-D3MHsEvl.js → DrawerPage-B-jrvyA1-D5alUPyS.js} +12 -12
  67. package/dist/assets/{EditPeoplePage-BQlHto3J-Up6qoGIH.js → EditPeoplePage-BTXEd5bm-DPBckywd.js} +9 -9
  68. package/dist/assets/{EditReimbursementDetailPage-wJUr8jPN-CucwYAji.js → EditReimbursementDetailPage-5-BeM3DC-BRw6nxEw.js} +52 -52
  69. package/dist/assets/{EntityDetailPage-BNbBdxQj-VYMr28kW.js → EntityDetailPage-CCTwe1iu-DAg47Prp.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-BQXLwSRf-Dmz-K_CZ.js → EntitySummarySection-B7uoP2ou-DZ_drzmW.js} +9 -9
  71. package/dist/assets/ExpenseAutomationOverviewPage-Bz-2JPdW-DaIoHdOM.js +222 -0
  72. package/dist/assets/{ExpenseAutomationPage-Cn4VyB6M-BhL8s7ps.js → ExpenseAutomationPage-o8ox1q0R-W0eDJCTN.js} +76 -76
  73. package/dist/assets/{ExpressPayPage-DjV_dQoe-TjH6IBGq.js → ExpressPayPage-BdUERste-C5P04O3w.js} +13 -13
  74. package/dist/assets/{FeaturePreviewPage-CPu1OiVj-DYKr-SZH.js → FeaturePreviewPage-B6_exSoS-Do4_f9l1.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-6KGTmbym-BPFH0rIs.js → FollowStepsSection-BoA-EzkO-CtKbn8f6.js} +25 -25
  76. package/dist/assets/{GlobalReviewListPage-BpuYWhKy-ojejaE0U.js → GlobalReviewListPage-CYjobk5Y-BRiHcGuf.js} +15 -15
  77. package/dist/assets/HelpButton-DEwtg0Ez-BLNCXJFp.js +28 -0
  78. package/dist/assets/{InformationCardStack--_YYIZmU-DyhXfEfc.js → InformationCardStack-Dvu4sQsc-BlKJwxKC.js} +5 -5
  79. package/dist/assets/{InsightsCardStack-BAqsxgx_-DdyBnb2f.js → InsightsCardStack-DffcRWuM-BTqxOdqS.js} +12 -12
  80. package/dist/assets/{InsightsSection-R-m-A1rt-DREvFYeH.js → InsightsSection-C8Oi6wcZ-D3wuyBHx.js} +4 -4
  81. package/dist/assets/{IntegrationsSettingsPage-BP0P9-PB-DgpQQrpK.js → IntegrationsSettingsPage-C0VZQfG_-ks1Gh_uy.js} +15 -15
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-Bl40XkdZ-DcZdsGXF.js → InternationalWireSwiftDetailsPage-SAcvo9BB-BCh0Bmwt.js} +10 -10
  83. package/dist/assets/{InternationalWireVerificationPage-BxIz3xUq-2c84qgGL.js → InternationalWireVerificationPage-8Ff3v4gu-BQsNCeNp.js} +15 -15
  84. package/dist/assets/InviteFormPage-CRRvruND-BlSp_6On.js +312 -0
  85. package/dist/assets/{InvitePageListView-CWpmFhZH-mgWVAkee.js → InvitePageListView-DG91-L1w-HUdilJLK.js} +44 -44
  86. package/dist/assets/InvitePeoplePage-6ANmf4z2-D3l-3sjy.js +12 -0
  87. package/dist/assets/{InvoiceUploadSection-BWCF-vNf-BfXQEC3w.js → InvoiceUploadSection-C4O7GGrv-DEO_7ppT.js} +9 -9
  88. package/dist/assets/{IssueChargeCardPage-DrHldS8--A_AXmB6w.js → IssueChargeCardPage-gohjPIRu-KdDkWZ0o.js} +33 -33
  89. package/dist/assets/{LabeledAddressValue-WlsZ5Ghz-BRS36g9Q.js → LabeledAddressValue-C6EUPzNB-f8CKs718.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-B-6CWCep-D3jCl4nb.js → LabeledAddressValueField-CC4nYBb8-CmuRvhjZ.js} +3 -3
  91. package/dist/assets/{LabeledControlledCheckBoxField-DLlz4JyR-CMz1DNyM.js → LabeledControlledCheckBoxField-TB_2rc3R-DL54XhuW.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-rYzQ2Ot2-CDpWJTGr.js → LabeledCreatableSingleSelectField-CdgNcgTu-CwOMlXoT.js} +2 -2
  93. package/dist/assets/{LabeledDocumentField-CD2nmWBu-Cuw8I-AI.js → LabeledDocumentField-CzTqgS97-CVWMa21M.js} +5 -5
  94. package/dist/assets/{LabeledDropDownFormattedTextField-DpVX6osq-DUYnn-i2.js → LabeledDropDownFormattedTextField-CVzL0J5a-D5_Y7iWl.js} +6 -6
  95. package/dist/assets/{LabeledText-QTidAWAx-fh93_-mv.js → LabeledText-BICN3vpf-Lk4PuYrJ.js} +2 -2
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BlTOGYfX-BQucWzXB.js → LabeledUserSingleSelectWithSubtitlesField-VeWNep8c-tP0CG0Iv.js} +20 -20
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BVYRgzSM-Cv81CAeG.js → LabeledZeniRolesDropDownField--Jr1KizL-SyZHoQyC.js} +14 -14
  98. package/dist/assets/{LinkJETransactionPage-CKTmE3J5-BL2a536w.js → LinkJETransactionPage-BNWOmBHj-C6dNtx3m.js} +13 -13
  99. package/dist/assets/{LowBalancePopup-3lHeOacz-Cg-6ggSe.js → LowBalancePopup-Dhrtsv_E-B0rnJzet.js} +6 -6
  100. package/dist/assets/{MagicLinkACHDetailsPage-CJwMNdWw-BbWz_BUe.js → MagicLinkACHDetailsPage-Brt9q6YZ-ByLyPANb.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-7fXlIwuo-GAs9HQCc.js → MagicLinkDomesticWireDetailsPage-CkSEgmKP-DxqY0_R2.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D7oeyaXU-Bzhpe6Vc.js → MagicLinkInternationalWireDetailsPage-CqYC7uu7-CV88Q6h1.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-D8iyZlJy-j-oCJl1z.js → MagicLinkSuccessPage-VR-HSAYZ-DUCuiXm5.js} +4 -4
  104. package/dist/assets/{MagicLinkTitleSection-DUrwrEj2-BnMJM36s.js → MagicLinkTitleSection-T6m2zH4A-C4uTRZc1.js} +3 -3
  105. package/dist/assets/MailingDetailsSection-B6ZCAac5-CjQ8hXZb.js +21 -0
  106. package/dist/assets/{MeetingCalenderPopup-SnrmOSBf-CNpJ4esn.js → MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js} +1 -1
  107. package/dist/assets/{Menu-C7N3gHcb-6AxGYl0u.js → Menu-DOJJ_REW-BwD6B3Nk.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-B4Pjmw7q-BoyImx6j.js → MyBankConnectionsSettingsPage-C_NrRV7T-BjsWlM7P.js} +18 -18
  109. package/dist/assets/MyPendingActivationChargeCardListPage-CNHCZPs--fg7FpZSk.js +6 -0
  110. package/dist/assets/{MyProfileSettingsPage-Dv0V1Z6z-DjnAaOLQ.js → MyProfileSettingsPage-CIfFufvo-uBNLzBNw.js} +8 -8
  111. package/dist/assets/NavBarWithPicker-CvhnGryh-CauN1w5W.js +30 -0
  112. package/dist/assets/{NavigationArrow-xI3dolgO-C-GiXFn4.js → NavigationArrow-CXkUidH6-fqvGvSGZ.js} +2 -2
  113. package/dist/assets/{NavigationDots-CbSSDiyy-WCBt3UxE.js → NavigationDots-hBq7kHVj-Vj1p5Rqn.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-vHNZ1z6p-BmDZAkXp.js → NewGlobalMerchantPage-DORHvz4D-CYDIdofb.js} +15 -15
  115. package/dist/assets/{NoDataChart-DHDhwnCE-CDUxuuOv.js → NoDataChart-C4KqN3ua-6H0vHNsB.js} +1 -1
  116. package/dist/assets/{NoDataTable-BnVKm6Qa-Da3lIrUA.js → NoDataTable-DaX07HI0-B6ZwwCAM.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BNZEf9qH-BE8kBN6K.js → NotFoundPage-BIh20jzm-BXLRcjFX.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-DfnpY6qJ-Q5CoK9_s.js → NotificationSettingsPage-gU3g8rJ2-Au_WueGH.js} +14 -14
  119. package/dist/assets/NotificationsListConfig-C14JCaD1-cAHM1Kht.js +1 -0
  120. package/dist/assets/{NotificationsPage-Bg1mW_-3-CzD0o_6Q.js → NotificationsPage-oy3LHVU2-C0LKRRGq.js} +52 -52
  121. package/dist/assets/{OpExByVendorPage-qNgK4tMM-CM_o2sby.js → OpExByVendorPage-D8jXzTd6-CpwZHxBM.js} +9 -9
  122. package/dist/assets/{OverlayContainerPage-ZbhbAqlg-l2yHPll9.js → OverlayContainerPage-Bmu909Fo-Drnebvl5.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-C8qE7xCZ-UDfg9dM5.js → PandLWithForecastPage-BQW2_QDB-BVhcDW_t.js} +15 -15
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DA77K9eY-BBrPsmYp.js → PaymentAccountSetupBillingAddressSection-CY9QJXXs-ByBDQvaD.js} +18 -18
  125. package/dist/assets/{PeoplePage-Chec7uSH-DFRieiVv.js → PeoplePage-B7s3mjRX-BNB49xB2.js} +26 -26
  126. package/dist/assets/{PortfolioAllocationFormPage-B_lIRV75-9B1_7c3Q.js → PortfolioAllocationFormPage-eonsRKDg-CW4TIBlU.js} +5 -5
  127. package/dist/assets/PortfolioDetails-BFqRNjFs-DdtIdWXw.js +218 -0
  128. package/dist/assets/ProductsCarousel-BaTq9uMB-DT3_7m1I.js +142 -0
  129. package/dist/assets/{PromoBaseCards-D3gKG9qA-Bq2w579j.js → PromoBaseCards-Bf3Dizji-DFvWixK1.js} +4 -4
  130. package/dist/assets/{QBOConnectionDialog-C8y2XvBN-CGZvEFLA.js → QBOConnectionDialog-DhOSSZ5O-BcCZx_dG.js} +13 -13
  131. package/dist/assets/{QBOSetupSection-DDGIRv8E-DDOtydJ8.js → QBOSetupSection-BWJoUKzu-DC5g6xXu.js} +14 -14
  132. package/dist/assets/ReimbursementApprovalRuleDetailPage-CiebC6vq-B0xwHjcZ.js +26 -0
  133. package/dist/assets/{ReimbursementApprovalRulesPage-DsIFWYvA-BGZ99R95.js → ReimbursementApprovalRulesPage-gKLkrIyV-DxnMuJiA.js} +10 -10
  134. package/dist/assets/ReimbursementDetailPage-BF4vlfIm-A5yNZHmb.js +314 -0
  135. package/dist/assets/ReimbursementPromoPage-BFwztEak-CceCs1UK.js +84 -0
  136. package/dist/assets/ReimbursementSetUpPage-D1AVnqd4-CKntMkOU.js +140 -0
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DblkkMcc-i1I7617W.js → ReimbursementsBulkReviewDrawerPage-BsqdpOS_-B3Pgz4a_.js} +1 -1
  138. package/dist/assets/{ReloadCard-BszztAdg-gseVFmCl.js → ReloadCard-BmYf1NZf-DhNr8urp.js} +3 -3
  139. package/dist/assets/ReportTableViewSelector-yTxheyC3-CSqeEY6U.js +150 -0
  140. package/dist/assets/{ReportsPage-BfKLEriq-CNsTnOim.js → ReportsPage-DZtCp9CP-GUEOyiOt.js} +8 -8
  141. package/dist/assets/{RevenueChart-B5dfrWKL-h1RS9vmc.js → RevenueChart-CXSh5l_p-dQ5RnZTk.js} +1 -1
  142. package/dist/assets/ReviewDetailsPage-DG7ms5Hy-bXyI7cqb.js +290 -0
  143. package/dist/assets/{ReviewOverlay-BysN2GYI-B54hA7h0.js → ReviewOverlay-B2jf6tfG-D_9vNPuM.js} +26 -26
  144. package/dist/assets/{RoleWithToolTip-BRe9iDOl-r4MeN03_.js → RoleWithToolTip-DHdLJcWR-GnlXHGj6.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-gij2cBvS-DYNVzDVF.js → ScheduleDetailsFixedAssetsPage-CY0i2n7i-9GRv9Sh2.js} +8 -8
  146. package/dist/assets/{ScheduleDetailsPage-DVm4cyKr-BOhfGajG.js → ScheduleDetailsPage-CVh8-Sc9-BcDI1QHR.js} +3 -3
  147. package/dist/assets/{ScheduleSequenceTable-aSVVm6mG-DuDPOPR7.js → ScheduleSequenceTable-8qqeMhAk-COgow_cL.js} +19 -19
  148. package/dist/assets/{ScreenRoutes-z4Ov9eJq.js → ScreenRoutes-HggFEvBU.js} +1 -1
  149. package/dist/assets/SetUpAccountSection-CKdSkMBO-Dgf4iucH.js +378 -0
  150. package/dist/assets/SetUpDefaultSection-BM57n5BV-BGP1G39B.js +174 -0
  151. package/dist/assets/SignIn-BMjCrrGx-DVM_TdnN.js +407 -0
  152. package/dist/assets/{SignInScreen-l-67Uvxk.js → SignInScreen-BP8BTBPi.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-Dav0JMKy-Y-GEx6Lw.js → SpendManagementListViewPage-BphSarNr-olaU5e62.js} +13 -13
  154. package/dist/assets/{SpendManagementPerTabPage-C-Y-BFqH-BkDeeVjW.js → SpendManagementPerTabPage-DCkS4HuZ-BoJws23h.js} +43 -43
  155. package/dist/assets/{SpendManagementSection-DGz-I0bf-Bw1c1jys.js → SpendManagementSection-DKqHikhq-CsTWl7zh.js} +15 -15
  156. package/dist/assets/SpendMgmtSetupAccountSection-BF7bb5O_-DSPc6rRK.js +206 -0
  157. package/dist/assets/{StatementItem-2F2qxL7G-sSXIEL81.js → StatementItem-Ki_Mzpf9-D38JqRpj.js} +6 -6
  158. package/dist/assets/StatementsPage-B6XMWWpt-Dr9BGLnN.js +58 -0
  159. package/dist/assets/{StatusSwitcher-DBUg94S_-C2JEQhps.js → StatusSwitcher-BkAnAbyd-DQZA1a3w.js} +4 -4
  160. package/dist/assets/{SubTabSwitcher-CoK8FOIA-DDQIjZPM.js → SubTabSwitcher-Au3snima-DElPxhu-.js} +6 -6
  161. package/dist/assets/{SummaryCard-D1KRVnqp-BaQsoKv3.js → SummaryCard-B-IXQpJ7-Dg8CCNrn.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-BhFEeDBu-DzfbV0Zn.js → TaskManagementPage-BPNEy-p0-BIbh7B8y.js} +42 -42
  163. package/dist/assets/{TimeRangeSwitcher-4JrIq9xZ-TFwqCfhn.js → TimeRangeSwitcher-DpDC0FGn-CoKhjSY7.js} +5 -5
  164. package/dist/assets/{TimeframeSwitcher-CjctaKq_-Dr_Vr7Rj.js → TimeframeSwitcher-D1cuigpc-D9PCDoa0.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-C0dRRCYf-B1COtObb.js → TimeframeSwitcherWithToggle-_2U17Wg0-Cc6NrQTz.js} +1 -1
  166. package/dist/assets/{TopExCard-CCBEun3e-BNc9p9eG.js → TopExCard-BWOozDK3-GMojpRJp.js} +7 -7
  167. package/dist/assets/{TopExDetailPage-DbwmOLnV-Dh4ElkDG.js → TopExDetailPage-DpYLakrO-vsCGpsy3.js} +21 -21
  168. package/dist/assets/{TransactionDetailPage-DsQJU2de-CxIPljIq.js → TransactionDetailPage-Bxzam_ho-gn2TcHkj.js} +32 -32
  169. package/dist/assets/{TransactionList-BIMzvzrT-_or9xEGN.js → TransactionList-CEfjoVPA-DR1uAuMl.js} +15 -15
  170. package/dist/assets/{TransactionListBig-DiFiu66r-BLXPBbpL.js → TransactionListBig-CefZbd83-D9G3vxbN.js} +24 -24
  171. package/dist/assets/TransactionListPage-CM319tsV-DkNHohDS.js +35 -0
  172. package/dist/assets/{TransactionVendorDetailPage-A2F8TF9r-DUOtbDNW.js → TransactionVendorDetailPage-Z7O-juRN-D3T9JsrE.js} +4 -4
  173. package/dist/assets/TransferDrawerPage-0vQtF6ID-fpHDlHlf.js +362 -0
  174. package/dist/assets/{TreasuryOverviewPage-Bwy2y6eI-CvBsMjHy.js → TreasuryOverviewPage-DaCuL9FX-BtE7UAml.js} +101 -101
  175. package/dist/assets/{TreasuryPromoPage-B3P0nF1z-17ooiVR4.js → TreasuryPromoPage-BQ6Cuqoa-DpBYobqK.js} +26 -26
  176. package/dist/assets/{TreasurySetupPage-BgrgBBsW-BvZOLqE5.js → TreasurySetupPage-BJRBNCvY-DTKYqc-u.js} +10 -10
  177. package/dist/assets/{TreasuryStatementsPage-DvCQhl_X-Dk5WyixX.js → TreasuryStatementsPage-z6cg-MO_-B6xE_NLh.js} +5 -5
  178. package/dist/assets/{TreasuryTaxLetterPage-iG8-cJFt-j6qmlNFn.js → TreasuryTaxLetterPage-DP-c4Sqo-DJ913yYo.js} +5 -5
  179. package/dist/assets/{TreasuryTransferOrReviewPage-BZ5sPJAg-NdyyZMx2.js → TreasuryTransferOrReviewPage-BGfIlPXx-DSEBAJOM.js} +56 -56
  180. package/dist/assets/{TrendChart-_IpSJoUH-DXWWW8tE.js → TrendChart-BAMRDfp7-BazRtItt.js} +5 -5
  181. package/dist/assets/{TrendWithTransactions-BqGV_CQg-DBpBbNzJ.js → TrendWithTransactions-CgbouMHP-BeJkYy2u.js} +8 -8
  182. package/dist/assets/{UncategorizedAccountsMappingPage-iK-1vllN-CsfRUZlv.js → UncategorizedAccountsMappingPage-DUVjNpg2--ZQ9jdii.js} +20 -20
  183. package/dist/assets/{UnitIntegrationPage-sYNoUudZ-CYUrKLfM.js → UnitIntegrationPage-DSWbn8gm-BF5pvmYs.js} +4 -4
  184. package/dist/assets/UploadAdditionalDocumentOverlay-BFn9gixM-TNCvf1wH.js +38 -0
  185. package/dist/assets/{Vendor2FAPopup--4Ufzmk0-Bhn3C6zT.js → Vendor2FAPopup-CA-cVVNX-Br4ikl9I.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-BD9WwdNN-B6rEBLg0.js → VendorACHDetailsPage-Hdw6gHNB-D1EJLe9f.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-DwLCEthT-DOEOWBu5.js → VendorDetailPage-CceVHonS-DTF5QB-w.js} +16 -16
  188. package/dist/assets/{VendorDomesticWireDetailsPage-Y2SlFgHo-ctcFxC1W.js → VendorDomesticWireDetailsPage-ChF-hj1o-CRNdIBeH.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-nGfjBA1D-Dj4qnXHI.js → VendorFiling1099EditablePage-BnMmu8g4-D-QjmAYA.js} +13 -13
  190. package/dist/assets/{VendorFirstReviewPage-Bgf9MtEn-B5_vtXIt.js → VendorFirstReviewPage-C9LNBxKs-iubpjCjr.js} +49 -49
  191. package/dist/assets/{VendorInternationalWireDetailsPage-CMxyzCCL-DgMIpDxj.js → VendorInternationalWireDetailsPage-B8F_1TYL-CehAU7df.js} +31 -31
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6rMWgzM-C9CLMBsh.js → VendorInternationalWireSwiftDetailsPage-HuCjhvn4-DolPnQw8.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-Ceq0cYf6-Dwaaaz-u.js → VendorsAccountsSection-Cj3NFdKN-B9ouaYU2.js} +4 -4
  194. package/dist/assets/VerifyDevice-dg83_W2W-DmiPoszu.js +96 -0
  195. package/dist/assets/VideoPopup-0LSxcyRX-CeJLs_Z5.js +31 -0
  196. package/dist/assets/{WarningsDrawerPage-DSssRFm_-Dvfai-rz.js → WarningsDrawerPage-DR9oeIuj-B1HHe12t.js} +9 -9
  197. package/dist/assets/{ZeniAccountDetailPage-C6q8N5tU-DESMj8H1.js → ZeniAccountDetailPage-DHl0vyQ0-D4m750Dj.js} +25 -25
  198. package/dist/assets/{ZeniAccountListViewPage-CqUvXrvR-Cc02Six5.js → ZeniAccountListViewPage-BC1yUQbd-DA-thvu8.js} +63 -63
  199. package/dist/assets/ZeniAccountNavBarPieces-CpKh4Vxw-CQBSadEV.js +14 -0
  200. package/dist/assets/{ZeniAccountPromoPage-B6wyK1mQ-jB9p9r4X.js → ZeniAccountPromoPage-BaRzPlIW-DDgMDs51.js} +29 -29
  201. package/dist/assets/ZeniAccountSetupPage-CveI2__B-BL7QVBOR.js +36 -0
  202. package/dist/assets/{ZeniCopyright-BqG_ynZT-B8auuDYw.js → ZeniCopyright-D6e3OekQ-3nIDquq3.js} +1 -1
  203. package/dist/assets/{ZeniTransferAmountSlider-BZb23ypm-CNSeiXW5.js → ZeniTransferAmountSlider-BqyHxYBn-DOVMp_BS.js} +7 -7
  204. package/dist/assets/{analyticsHelper-517kzICQ-B_8oYoDB.js → analyticsHelper-CYiy63P3-BIFQ1l_N.js} +1 -1
  205. package/dist/assets/{analyticsHelper-fHYf245D.js → analyticsHelper-q5gZKv1q.js} +1 -1
  206. package/dist/assets/chartTypes-sx4859ds-GbS6VOEl.js +1 -0
  207. package/dist/assets/{commonDimensions-Dw8Sh6Gv-7gi8Z3Gt.js → commonDimensions-DbTYS1hy-sQ0jQuuT.js} +1 -1
  208. package/dist/assets/{detailCommon-BA8Eb9ta-Cls_xdIj.js → detailCommon-BeqWtSZF-C3x-L6T7.js} +10 -10
  209. package/dist/assets/downloadPdf-CLTp2aZt-DDw4mfQ_.js +1 -0
  210. package/dist/assets/{index-CteHikkY.js → index-P_4M6V8j.js} +17377 -14411
  211. package/dist/assets/{mapLoadingInProgressToTreeNode-B16JI0nu-CaT-riL3.js → mapLoadingInProgressToTreeNode-Dl_IFb2l-Dr2U1vob.js} +1 -1
  212. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-u05r0BKW-D93Qvfy9.js → mapSectionWithAcOnlyToTreeNode-BAhSN9Et-BvR2g837.js} +1 -1
  213. package/dist/assets/{mapSpacerToTreeNode-DHlbGqUH-CR4GfB3i.js → mapSpacerToTreeNode-3b46l63c-C8ssHh5s.js} +1 -1
  214. package/dist/assets/{mapTimeframeBalancesToTreeNode-CGkPIsh6-oG-KC4x3.js → mapTimeframeBalancesToTreeNode-3pTXOISe-CgCBO3AW.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-ymtaozr7-CN1Pxsue.js → mapTimeframeBalancesToTreeNode-DJqcH4tL-s-wMhKIa.js} +1 -1
  216. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-C7X7F5Ac-CAukvICG.js → mapTimeframeHeaderLoadingInProgressToTreeNode-yhbtLbK2-Buokl7Z0.js} +1 -1
  217. package/dist/assets/{toCOABalancesWithID-B0nbXcq3-CrfKiUyi.js → toCOABalancesWithID-D49XFhoj-DjL9meL6.js} +1 -1
  218. package/dist/assets/{toChartData-CZR7pH0W-Dm5lu3KI.js → toChartData-C9pHl0xA-CKVc0-Yj.js} +1 -1
  219. package/dist/assets/{treasuryColorHelper-99Jkq8AE-BBbuwlCb.js → treasuryColorHelper-CkjbPhqI-PraXB90r.js} +1 -1
  220. package/dist/assets/{uploadAttachment-5GZYaQNG-2L-QfpWR.js → uploadAttachment-BniS82zn-BreMBxbN.js} +20 -20
  221. package/dist/assets/{uploadReceipts-CtQowT1I-0zTSBTg9.js → uploadReceipts-dxsKhm9I-wO4Dla2j.js} +1 -1
  222. package/dist/index.html +1 -1
  223. package/package.json +3 -3
  224. package/dist/assets/ACHDetailsPage-B2GVy8XM-BOIvjXTj.js +0 -21
  225. package/dist/assets/ApprovalRulesSettingsPage-l6wNe5y0-1aq4Vv65.js +0 -47
  226. package/dist/assets/BillPayApprovalRuleDetailPage-CyzRcfmb-uOofdgcM.js +0 -27
  227. package/dist/assets/BillPayPromoPage-XAG7hXMH-BZL4sjAP.js +0 -112
  228. package/dist/assets/BillPaySetUpPage-BBsdhwgY-C2VZLsTX.js +0 -42
  229. package/dist/assets/BillingSettingsPage-DJNjNtIF-uDhkigAj.js +0 -44
  230. package/dist/assets/ChargeCardPromoPage-B2v83Vrf-COR15-4w.js +0 -222
  231. package/dist/assets/ChargeCardSetupPage-D4DqJYC2-Bgmue_Hy.js +0 -36
  232. package/dist/assets/ChargeCardStatementsPage-N-UJC5n3-DCTtgimP.js +0 -60
  233. package/dist/assets/CheckDepositDrawerPage-BlNXO233-Biy_ee3N.js +0 -206
  234. package/dist/assets/CompleteProfile-BcB52KEM-lFVSyCYA.js +0 -52
  235. package/dist/assets/CurrencySelectField-DptlyOSs-CWinX_tp.js +0 -139
  236. package/dist/assets/CustomerOnboardingContainerPage-CicNW9-B-DWzzD7vt.js +0 -1
  237. package/dist/assets/CustomerOnboardingNoStepsPage-vfiQQOHz-CcQVn2u7.js +0 -66
  238. package/dist/assets/CustomerOnboardingProductSuitePage-CZTuBAv2-_eb-zJs0.js +0 -202
  239. package/dist/assets/DepositAccTransactionListPage-BYdaEGCV-BFNeAgzu.js +0 -66
  240. package/dist/assets/ExpenseAutomationOverviewPage-UXpoYnDh-CO2tpATT.js +0 -222
  241. package/dist/assets/HelpButton-j66YbdZ7-Drvx-5iY.js +0 -28
  242. package/dist/assets/InviteFormPage-t42rmGiL-7JW6Km7H.js +0 -312
  243. package/dist/assets/InvitePeoplePage-78Fznvo4-BvI_a8sG.js +0 -12
  244. package/dist/assets/MailingDetailsSection-CXSm1fgW-DRNX0_o-.js +0 -21
  245. package/dist/assets/MyPendingActivationChargeCardListPage-COeIF-Gj-BJUi7XQw.js +0 -6
  246. package/dist/assets/NavBarWithPicker-Dd5TPoA8-BZQxCbZw.js +0 -30
  247. package/dist/assets/NotificationsListConfig-DtICI7X6-CayIRbFW.js +0 -1
  248. package/dist/assets/PortfolioDetails-Dm2r3i6b-BwrtFocU.js +0 -218
  249. package/dist/assets/ProductsCarousel-Ba0LHKrb-BDvM1Acb.js +0 -144
  250. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dc_vsL89-DXMeU38o.js +0 -26
  251. package/dist/assets/ReimbursementDetailPage-6KZSAl8R-CGQrQ4-Q.js +0 -314
  252. package/dist/assets/ReimbursementPromoPage-Bijp59bV-Bq5XzABH.js +0 -112
  253. package/dist/assets/ReimbursementSetUpPage-UW_9Cl4O-BNhdS7cU.js +0 -140
  254. package/dist/assets/ReportTableViewSelector-DOnGrFNT-B1xUQ166.js +0 -150
  255. package/dist/assets/ReviewDetailsPage-BCo54ehm-fgesmtoD.js +0 -290
  256. package/dist/assets/SetUpAccountSection-qYVA9A09-CVxmZ6g-.js +0 -378
  257. package/dist/assets/SignIn-BLt95c3U-D3UBJiEv.js +0 -408
  258. package/dist/assets/StatementsPage-D8hwgVAz-DamBoqPu.js +0 -58
  259. package/dist/assets/TransactionListPage-7JveOMDe-v7-9Lfsn.js +0 -35
  260. package/dist/assets/TransferDrawerPage-CCqQ3Daq-DRUKf3ph.js +0 -362
  261. package/dist/assets/UploadAdditionalDocumentOverlay-DMtjF2N8-D2r5JejQ.js +0 -38
  262. package/dist/assets/VerifyDevice-BTFRL9bH-t2x3vCON.js +0 -96
  263. package/dist/assets/ZeniAccountNavBarPieces-DcmtDKVQ-xec3gYAK.js +0 -14
  264. package/dist/assets/ZeniAccountSetupPage-Dl83s-y4-Dwfiz5l8.js +0 -36
  265. package/dist/assets/chartTypes-BTkUFFIf-PQ5t5G6G.js +0 -1
  266. package/dist/assets/downloadPdf-CDKlyJb--BC8IkHL1.js +0 -1
  267. package/dist/assets/play-icon-B0_JAuQa-CnChOIaR.js +0 -31
@@ -1,4 +1,4 @@
1
- import{j as t,e as X,a as he,B as N,c9 as ye,M as ge,l as Q,bU as be,bW as fe,bX as xe,F as ve,a4 as we,C as p,cC as le,cD as Ce,o as y,ao as $e,cm as oe,u as ne,cE as je,cF as Z,cs as G,ah as H,cc as De,cG as Te,s as a,cu as Se,Z as ke,g as V,p as Fe,b as Oe,bA as Ae,c as Le,b5 as We}from"./index-CteHikkY.js";import{b as R,n as g}from"./vendor-rkTZJa59.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-xch7b7oM-ChEsNIJ1.js";import{T as Re}from"./MailingDetailsSection-CXSm1fgW-DRNX0_o-.js";import{S as Pe}from"./CurrencySelectField-DptlyOSs-CWinX_tp.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledAddressValueField-B-6CWCep-D3jCl4nb.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,e as X,a as he,M as N,c9 as ge,K as ye,l as Z,bU as be,bW as fe,bX as xe,F as ve,a3 as we,C as p,cC as le,cD as Ce,o as g,an as $e,cm as oe,u as ne,cE as je,cF as J,cs as G,ag as H,cc as De,cG as Te,q as a,cu as Se,_ as ke,g as V,m as Fe,X as Oe,bA as Ae,i as Le,b5 as We}from"./index-P_4M6V8j.js";import{b as R,n as y}from"./vendor-rkTZJa59.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-CBlOG9xN-KyoF0Xjl.js";import{T as Re}from"./MailingDetailsSection-B6ZCAac5-CjQ8hXZb.js";import{S as Pe}from"./CurrencySelectField-ltt1zExP-D2omcj4n.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledAddressValueField-CC4nYBb8-CmuRvhjZ.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=y.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -47,62 +47,62 @@ import{j as t,e as X,a as he,B as N,c9 as ye,M as ge,l as Q,bU as be,bW as fe,bX
47
47
  background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?V.importantLight:e.theme.colors.background};
48
48
  }
49
49
  }
50
- `,Me=g.label`
50
+ `,Me=y.label`
51
51
  color: ${e=>e.hasError===!0?V.important:e.additionalInfoTextColor??e.theme.colors.grey1};
52
52
  width: auto;
53
53
  ${e=>`${ae.infoLabel.style(e.windowSize)}`};
54
- padding-right: ${y.sp3};
54
+ padding-right: ${g.sp3};
55
55
  text-align: right;
56
- `,Be=g.div`
56
+ `,Be=y.div`
57
57
  display: flex;
58
58
  width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
59
59
  justify-content: flex-end;
60
60
  flex-direction: column;
61
61
  position: relative;
62
- `,Ve=g(Le)`
62
+ `,Ve=y(Le)`
63
63
  padding: 12px;
64
64
  color: ${e=>e.theme.colors.grey1};
65
65
  background: ${e=>e.theme.colors.overlayColor};
66
- border-radius: ${y.sp1};
67
- `,He=g.div`
68
- padding-right: ${y.sp3};
69
- padding-top: ${y.sp1};
66
+ border-radius: ${g.sp1};
67
+ `,He=y.div`
68
+ padding-right: ${g.sp3};
69
+ padding-top: ${g.sp1};
70
70
  display: flex;
71
71
  justify-content: flex-end;
72
- `,qe=g.label`
72
+ `,qe=y.label`
73
73
  display: flex;
74
74
  justify-content: flex-end;
75
75
  color: ${e=>e.isDisabled?e.theme.colors.grey2:e.isError?V.important:e.theme.colors.hero};
76
76
  ${e=>`${ae.infoLabel.style(e.size)}`};
77
- padding-right: ${y.sp3};
77
+ padding-right: ${g.sp3};
78
78
  text-align: right;
79
- margin-top: ${e=>e.hasToolTip===!0?y.sp1:y.sp0};
80
- `,Ue=g.div`
79
+ margin-top: ${e=>e.hasToolTip===!0?g.sp1:g.sp0};
80
+ `,Ue=y.div`
81
81
  display: flex;
82
- margin-right: ${y.sp2};
82
+ margin-right: ${g.sp2};
83
83
  margin-top: 2px;
84
84
  align-items: center;
85
- `,Ne=g(We)`
86
- width: ${y.sp3};
87
- height: ${y.sp3};
85
+ `,Ne=y(We)`
86
+ width: ${g.sp3};
87
+ height: ${g.sp3};
88
88
  color: inherit;
89
- `,S={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Ge=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:D,isDisabled:k,style:C})=>{const b=X(),{getValues:$}=oe(),j=ne(),m=N.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=S.largeLabelWidth.value(b),W=n?.accountType?.type,T=n?.countryCode==null,_=n?.currencyCode==null,F=["phone","email","other"];return t.jsx(Xe,{style:C,children:t.jsxs(Qe,{children:[t.jsx(je,{isDisabled:w===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:L(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(I,{}),t.jsx(Ee,{isDisabled:T===!0?"disabled":D===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(I,{}),_!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(Z,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(I,{})]}):null,n!=null&&W!=null&&n.dynamicForm[W]!=null&&i.length>0?Object.keys(n.dynamicForm[W]).map(s=>{const r=i.filter(E=>E.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const E=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(De,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:z(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:E,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:k,style:{width:"auto"},showAdditionalInfoLabel:!1},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(Z,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:z(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:E,allOptions:r.valuesAllowed??[]}}},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(J,{size:b,children:[t.jsx(G,{label:r.label+c.colon,htmlFor:z(o,"dynamicForm",h,r.name),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x}}),t.jsx(K,{labelWidth:x,size:b,children:r.valuesAllowed?.map(M=>t.jsx(H,{label:{label:M.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:z(o,"dynamicForm",h,r.name),id:r.name,value:M.value,registerOptions:{required:!0}}},M.value))})]},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});default:return null}}else return null}):null,t.jsxs(Ze,{size:b,children:[t.jsxs(J,{size:b,children:[t.jsx(G,{label:c.addSource,htmlFor:L(o,"source"),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:S.toolTipWidth.valuePx(b)}),t.jsxs(K,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:c.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[0],value:F[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[1],value:F[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[2],value:F[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(Te,{type:"text",name:L(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:j.colors.background,border:`1px solid ${j.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(I,{})]})})},L=(e,i)=>`${e}.${i}`,z=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Xe=g.div`
89
+ `,S={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Ge=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:D,isDisabled:k,style:C})=>{const b=X(),{getValues:$}=oe(),j=ne(),m=N.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=S.largeLabelWidth.value(b),W=n?.accountType?.type,T=n?.countryCode==null,_=n?.currencyCode==null,F=["phone","email","other"];return t.jsx(Xe,{style:C,children:t.jsxs(Ze,{children:[t.jsx(je,{isDisabled:w===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:L(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(I,{}),t.jsx(Ee,{isDisabled:T===!0?"disabled":D===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(I,{}),_!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(J,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(I,{})]}):null,n!=null&&W!=null&&n.dynamicForm[W]!=null&&i.length>0?Object.keys(n.dynamicForm[W]).map(s=>{const r=i.filter(E=>E.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const E=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(De,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:z(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:E,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:k,style:{width:"auto"},showAdditionalInfoLabel:!1},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(J,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:z(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:E,allOptions:r.valuesAllowed??[]}}},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(K,{size:b,children:[t.jsx(G,{label:r.label+c.colon,htmlFor:z(o,"dynamicForm",h,r.name),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x}}),t.jsx(Y,{labelWidth:x,size:b,children:r.valuesAllowed?.map(M=>t.jsx(H,{label:{label:M.label},style:{paddingRight:`${g.sp4}`,width:"auto"},radioField:{name:z(o,"dynamicForm",h,r.name),id:r.name,value:M.value,registerOptions:{required:!0}}},M.value))})]},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});default:return null}}else return null}):null,t.jsxs(Je,{size:b,children:[t.jsxs(K,{size:b,children:[t.jsx(G,{label:c.addSource,htmlFor:L(o,"source"),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:S.toolTipWidth.valuePx(b)}),t.jsxs(Y,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:c.phone},style:{paddingRight:`${g.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[0],value:F[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.email},style:{paddingRight:`${g.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[1],value:F[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[2],value:F[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(Te,{type:"text",name:L(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:g.sp7,width:"calc(100% - largeLabelWidth)",background:j.colors.background,border:`1px solid ${j.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(I,{})]})})},L=(e,i)=>`${e}.${i}`,z=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Xe=y.div`
90
90
  display: flex;
91
91
  flex-direction: column;
92
- `,Qe=g.div`
92
+ `,Ze=y.div`
93
93
  display: flex;
94
94
  flex-direction: column;
95
95
  background-color: ${e=>e.theme.colors.grey5};
96
96
  border: 1px solid ${e=>e.theme.colors.grey3};
97
- box-shadow: ${e=>`${y.sp0} 2px ${y.sp1} ${e.theme.colors.dropShadowNormal}`};
98
- border-radius: ${y.sp2};
99
- `,I=g.div`
97
+ box-shadow: ${e=>`${g.sp0} 2px ${g.sp1} ${e.theme.colors.dropShadowNormal}`};
98
+ border-radius: ${g.sp2};
99
+ `,I=y.div`
100
100
  display: flex;
101
101
  flex: 1;
102
102
  background-color: ${e=>e.theme.colors.grey3};
103
103
  min-height: 1px;
104
104
  max-height: 1px;
105
- `,Ze=g.div`
105
+ `,Je=y.div`
106
106
  display: flex;
107
107
  flex-direction: column;
108
108
  align-items: flex-start;
@@ -113,7 +113,7 @@ import{j as t,e as X,a as he,B as N,c9 as ye,M as ge,l as Q,bU as be,bW as fe,bX
113
113
  z-index: 1;
114
114
  outline: 1px solid ${e=>e.theme.colors.primary};
115
115
  }
116
- `,J=g.div`
116
+ `,K=y.div`
117
117
  display: flex;
118
118
  flex-direction: row;
119
119
  width: 100%;
@@ -121,7 +121,7 @@ import{j as t,e as X,a as he,B as N,c9 as ye,M as ge,l as Q,bU as be,bW as fe,bX
121
121
  background-color: ${e=>e.theme.colors.grey5};
122
122
  min-height: ${e=>S.labelHeight.valuePx(e.size)};
123
123
  align-items: center;
124
- `,K=g.div`
124
+ `,Y=y.div`
125
125
  display: flex;
126
126
  flex-direction: row;
127
127
  width: ${e=>`calc(100% - ${e.labelWidth}px)`};
@@ -130,23 +130,23 @@ import{j as t,e as X,a as he,B as N,c9 as ye,M as ge,l as Q,bU as be,bW as fe,bX
130
130
  flex-grow: 1;
131
131
  height: ${e=>S.controlHeight.valuePx(e.size)};
132
132
  align-items: center;
133
- `,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},Y="internationalDetailsPage",v="internationalWireSection",Je="mailingAddressSection",ee=e=>`${e}_form`,Ke=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m=X(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,W=e.fetchState,T=he({mode:"all",reValidateMode:"onChange",defaultValues:R.useMemo(()=>te(e),[e]),values:te(e)}),[_,F]=R.useState(!1),[s,r]=R.useState(!1),h=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=N.getLocalizedStrings().common.footer,{international:M}=h.wireDetails,re={onOkClick:()=>{r(!1),T.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,A)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){F(!0);return}const B=d===`${v}.vendorCountry`,U=d===`${v}.vendorCurrency`;U&&A[v].vendorCurrency.selectedOption!=null&&C(A[v].vendorCurrency.selectedOption,D,i);const pe={...A},me=ie(pe,e,B,U,f);k(me,D,i,U||B)};R.useEffect(()=>{const d=T.watch((A,{name:B})=>{B!=null&&A!=null&&ye(()=>se(B,A))});return()=>{d.unsubscribe()}});const q=R.useCallback(()=>{const d=T.getValues(),A=ie(d,e,!1,!1,f);k(A,D,i,!1),F(!1)},[T,e,f,k,D,i]),de=R.useCallback(()=>{_&&q(),j(n)},[_,q,j,n]),ce=T.handleSubmit(d=>{_&&q(),b()}),ue=!ge(w!=null?Q.getFormattedAddress(w):w,o!=null?Q.getFormattedAddress(o):o)||T.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(ze,{header:M.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(Ie,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...T,children:t.jsxs("form",{id:ee(Y),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Ge,{wireAccountToCreate:c,dynamicFormFetchState:W,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Re,{sectionId:Je,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(Y),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:E.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{T.formState.isDirty?r(!0):(T.reset(),$())}}})]})},Ye=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Ye(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
133
+ `,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},Q="internationalDetailsPage",v="internationalWireSection",Ke="mailingAddressSection",ee=e=>`${e}_form`,Ye=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m=X(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,W=e.fetchState,T=he({mode:"all",reValidateMode:"onChange",defaultValues:R.useMemo(()=>te(e),[e]),values:te(e)}),[_,F]=R.useState(!1),[s,r]=R.useState(!1),h=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=N.getLocalizedStrings().common.footer,{international:M}=h.wireDetails,re={onOkClick:()=>{r(!1),T.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,A)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){F(!0);return}const B=d===`${v}.vendorCountry`,U=d===`${v}.vendorCurrency`;U&&A[v].vendorCurrency.selectedOption!=null&&C(A[v].vendorCurrency.selectedOption,D,i);const pe={...A},me=ie(pe,e,B,U,f);k(me,D,i,U||B)};R.useEffect(()=>{const d=T.watch((A,{name:B})=>{B!=null&&A!=null&&ge(()=>se(B,A))});return()=>{d.unsubscribe()}});const q=R.useCallback(()=>{const d=T.getValues(),A=ie(d,e,!1,!1,f);k(A,D,i,!1),F(!1)},[T,e,f,k,D,i]),de=R.useCallback(()=>{_&&q(),j(n)},[_,q,j,n]),ce=T.handleSubmit(d=>{_&&q(),b()}),ue=!ye(w!=null?Z.getFormattedAddress(w):w,o!=null?Z.getFormattedAddress(o):o)||T.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(ze,{header:M.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(Ie,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...T,children:t.jsxs("form",{id:ee(Q),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Ge,{wireAccountToCreate:c,dynamicFormFetchState:W,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Re,{sectionId:Ke,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(Q),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:E.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{T.formState.isDirty?r(!0):(T.reset(),$())}}})]})},Qe=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Qe(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=y.div`
134
134
  padding-left: ${e=>P.paddingLeftContainer.valuePx(e.size)};
135
135
  padding-right: ${e=>P.paddingRightContainer.valuePx(e.size)};
136
136
  padding-top: ${e=>P.paddingTopBottomContainer.valuePx(e.size)};
137
137
  padding-bottom: ${e=>P.paddingTopBottomContainer.valuePx(e.size)};
138
- `,it=g.div`
138
+ `,it=y.div`
139
139
  background-color: ${e=>e.theme.colors.grey4};
140
140
  display: flex;
141
141
  flex-direction: column;
142
142
  width: 100%;
143
143
  height: 100%;
144
- `,lt=g.div`
144
+ `,lt=y.div`
145
145
  display: flex;
146
146
  flex-direction: column;
147
147
  flex-grow: 1;
148
- `,ot=g($e)`
148
+ `,ot=y($e)`
149
149
  color: ${e=>e.theme.colors.champion};
150
150
  margin-left: ${e=>P.marginLeft.valuePx(e.size)};
151
- margin-top: ${y.sp3};
152
- `,ft=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,W=m.vendorBasic?.currencyCode!=null||c;return R.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Ke,{internationalWireView:e,addressToEdit:o,mailingAddress:w,addressType:u,billAmount:D,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:j,onAccountDetailsUpdated:k,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:W})};export{ft as default};
151
+ margin-top: ${g.sp3};
152
+ `,ft=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,W=m.vendorBasic?.currencyCode!=null||c;return R.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Ye,{internationalWireView:e,addressToEdit:o,mailingAddress:w,addressType:u,billAmount:D,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:j,onAccountDetailsUpdated:k,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:W})};export{ft as default};
@@ -1 +1 @@
1
- import{j as l}from"./index-CteHikkY.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-Bl40XkdZ-DcZdsGXF.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-xch7b7oM-ChEsNIJ1.js";import"./MailingDetailsSection-CXSm1fgW-DRNX0_o-.js";import"./LabeledAddressValueField-B-6CWCep-D3jCl4nb.js";import"./MagicLinkTitleSection-DUrwrEj2-BnMJM36s.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
1
+ import{j as l}from"./index-P_4M6V8j.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-SAcvo9BB-BCh0Bmwt.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-CBlOG9xN-KyoF0Xjl.js";import"./MailingDetailsSection-B6ZCAac5-CjQ8hXZb.js";import"./LabeledAddressValueField-CC4nYBb8-CmuRvhjZ.js";import"./MagicLinkTitleSection-T6m2zH4A-C4uTRZc1.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{e as ie,u as oe,B as te,C as c,g7 as w,a8 as T,j as i,hp as g,ho as m,o as n,b as re,g as ne,dy as se,c as le,s as a}from"./index-CteHikkY.js";import{n as l}from"./vendor-rkTZJa59.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{e as ie,u as oe,M as te,C as c,g9 as w,a7 as T,j as i,hj as g,hi as m,o as n,X as re,g as ne,dy as se,i as le,q as a}from"./index-P_4M6V8j.js";import{n as l}from"./vendor-rkTZJa59.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -52,10 +52,10 @@ import{e as ie,u as oe,B as te,C as c,g7 as w,a8 as T,j as i,hp as g,ho as m,o a
52
52
  `,v=l(se)`
53
53
  width: ${n.sp4};
54
54
  height: ${n.sp4};
55
- `,A=l.div`
55
+ `,j=l.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
- `,j=l.div`
58
+ `,A=l.div`
59
59
  display: flex;
60
60
  flex-direction: column;
61
61
  margin-left: ${e=>s.elementsMarginLeftRight.valuePx(e.windowSize)};
@@ -65,4 +65,4 @@ import{e as ie,u as oe,B as te,C as c,g7 as w,a8 as T,j as i,hp as g,ho as m,o a
65
65
  background-color: ${e=>e.theme.colors.grey5};
66
66
  border: 1px solid ${e=>e.theme.colors.grey3};
67
67
  border-radius: ${n.sp2};
68
- `,z=(e,u)=>`${e}.${u}`;function xe({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:I,showTitle:L=!0}){const r=ie(),d=oe(),{accruedExpensesAccountHierarchy:B,accruedExpensesAccountList:_,accruedExpensesRecommendations:E,fixedAssetsAccountHierarchy:O,fixedAssetsAccountList:M,fixedAssetsRecommendations:R,prepaidExpensesAccountHierarchy:W,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:P,selectedAccruedExpensesAccountIds:F,selectedFixedAssetsAccountIds:H,selectedPrepaidExpensesAccountIds:V}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=s.labelWidth.value(r),q=w(W,P,"Accounts"),D=w(O,R,"Accounts"),G=w(B,E,"Accounts"),J=P[0]?.account?.reason??"",N=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),K=R[0]?.account?.reason??"",Q=t.tooltip.replace("__based__",K).replace("__account__",t.vendorSection.fixedAssetsAccount),U=E[0]?.account?.reason??"",X=t.tooltip.replace("__based__",U).replace("__account__",t.vendorSection.accruedExpensesAccount),Y=C.filter(o=>V.includes(o.accountId)??!1),Z=M.filter(o=>H.includes(o.accountId)??!1),ee=_.filter(o=>F.includes(o.accountId)??!1),x={valueContainer:o=>({...o,padding:`2px ${n.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},h=d.mode==="light"?new T(d.colors.brandColorJadeLight):new T(d.colors.brandColorJadeDark);return i.jsxs(de,{windowSize:r,children:[L?i.jsx(ae,{windowSize:r,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:r,children:[i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(v,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.prepaidExpenseTitle}),i.jsx(y,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:r,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:N,sticky:!1},valueToId:o=>m(o,C)}})})}),i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(v,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.FixedAssetsTitle}),i.jsx(y,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:r,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:D,selectedOptions:Z.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:Q,sticky:!1},valueToId:o=>m(o,M)}})})}),I?i.jsxs(i.Fragment,{children:[i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(v,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.AccruedExpensesTitle}),i.jsx(y,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:r,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:X,sticky:!1},valueToId:o=>m(o,_)}})})})]}):null]})]})}export{xe as h};
68
+ `,z=(e,u)=>`${e}.${u}`;function he({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:I,showTitle:L=!0}){const r=ie(),d=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:_,accruedExpensesRecommendations:M,fixedAssetsAccountHierarchy:B,fixedAssetsAccountList:E,fixedAssetsRecommendations:R,prepaidExpensesAccountHierarchy:W,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:P,selectedAccruedExpensesAccountIds:q,selectedFixedAssetsAccountIds:F,selectedPrepaidExpensesAccountIds:V}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=s.labelWidth.value(r),H=w(W,P,"Accounts"),D=w(B,R,"Accounts"),G=w(O,M,"Accounts"),J=P[0]?.account?.reason??"",X=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),N=R[0]?.account?.reason??"",K=t.tooltip.replace("__based__",N).replace("__account__",t.vendorSection.fixedAssetsAccount),Q=M[0]?.account?.reason??"",U=t.tooltip.replace("__based__",Q).replace("__account__",t.vendorSection.accruedExpensesAccount),Y=C.filter(o=>V.includes(o.accountId)??!1),Z=E.filter(o=>F.includes(o.accountId)??!1),ee=_.filter(o=>q.includes(o.accountId)??!1),h={valueContainer:o=>({...o,padding:`2px ${n.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},x=d.mode==="light"?new T(d.colors.brandColorJadeLight):new T(d.colors.brandColorJadeDark);return i.jsxs(de,{windowSize:r,children:[L?i.jsx(ae,{windowSize:r,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:r,children:[i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:x,isDarkMode:d.mode==="dark",children:i.jsx(v,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.prepaidExpenseTitle}),i.jsx(y,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:H,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:X,sticky:!1},valueToId:o=>m(o,C)}})})}),i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:x,isDarkMode:d.mode==="dark",children:i.jsx(v,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.FixedAssetsTitle}),i.jsx(y,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:D,selectedOptions:Z.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:K,sticky:!1},valueToId:o=>m(o,E)}})})}),I?i.jsxs(i.Fragment,{children:[i.jsxs(f,{windowSize:r,children:[i.jsx(b,{windowSize:r,iconColor:x,isDarkMode:d.mode==="dark",children:i.jsx(v,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:r,children:t.vendorSection.AccruedExpensesTitle}),i.jsx(y,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:r,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:U,sticky:!1},valueToId:o=>m(o,_)}})})})]}):null]})]})}export{he as h};
@@ -0,0 +1,96 @@
1
+ import{a1 as z,a as J,M as O,j as r,bn as q,b as d,l as B,F as H,bo as U,o as n,i as y,J as C,bp as W,n as N,bq as X,br as D,g as j,ao as b,bs as Y}from"./index-P_4M6V8j.js";import{b as c,n as t}from"./vendor-rkTZJa59.js";import{AccountLockedInfo as Z}from"./AccountLockedInfoModal-CaIpZQOZ-DUBexURk.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./handshake-BPg58FML-CVKh3Eii.js";const G=e=>{if(!e)return"";try{const s=X(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const $=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${$}`}return D(e)||e}const p=s.countryCallingCode,m=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${m}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return D(e)||e}},k=300,I=30,F=2,V=6,o=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",ke=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,m]=c.useState(!1),[l,$]=c.useState(!1),[f,P]=c.useState(0),[v,S]=c.useState(k),[u,E]=c.useState(I),w=z(e.verifyOtpFetchState),h=J({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),g=h.watch(x),_=()=>{e.onCancelVerifyDevice()},R=()=>{g.trim().length===V&&e.onVerifyOtp(g)},T=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{w==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(m(!0),P(i=>i+1),h.setValue(x,""))},[w,e.verifyOtpFetchState,h]),c.useEffect(()=>{if(v<=0){$(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(u<=0)return;const i=setInterval(()=>{E(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[u]);const M=i=>{const a=Math.floor(i/60),A=i%60;return`${a}:${A.toString().padStart(2,"0")}`};return r.jsx(q,{open:!0,onClose:e.onCancelVerifyDevice,children:r.jsxs(K,{children:[r.jsx(d,{controller:f>F,children:r.jsx(Z,{unlockDate:B.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:f<=F,children:r.jsx(H,{...h,children:r.jsxs(pe,{children:[r.jsxs(de,{children:[r.jsx(Q,{children:o.verifyDeviceTitle}),r.jsx(ee,{children:o.verifyDeviceDescription}),r.jsx(re,{children:G(e.phoneNumber+"")})]}),r.jsxs(te,{children:[r.jsx(U,{value:g,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:i=>h.setValue(x,i)}),r.jsx(d,{controller:l===!1,children:r.jsx(L,{children:r.jsxs(ue,{children:[o.codeExpiresIn," ",M(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(L,{children:r.jsx(xe,{children:o.codeExpired})})})]}),p===!0?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:f===1,children:r.jsx(ne,{children:o.incorrectCode})}),r.jsx(d,{controller:f===2,children:r.jsx(me,{children:r.jsxs(y,{children:[r.jsx(fe,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(oe,{children:[r.jsx(ie,{children:o.codeNotReceived}),r.jsx(le,{disabled:u>0,onClick:()=>{e.onResendOtp(),m(!1),h.setValue(x,""),S(k),E(I)},children:o.resend}),u>0&&r.jsxs(se,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",u,"s"]})]})}),r.jsxs(he,{children:[r.jsxs(ce,{children:[r.jsx(C,{label:o.cancel,onClick:_,style:{width:82}}),r.jsx(C,{variant:"primary",label:o.verify,onClick:R,style:{width:82},loading:s,disabled:g.trim().length!==V||l===!0})]}),r.jsx(ae,{children:T})]})]})})})]})})},K=t.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 456px;
5
+ padding: ${n.sp5} ${n.sp6};
6
+ background: ${e=>e.theme.colors.grey5};
7
+ border-radius: ${n.sp2};
8
+ `,Q=t(W)`
9
+ color: ${e=>e.theme.colors.primary};
10
+ text-align: center;
11
+ `,ee=t(N)`
12
+ color: ${e=>e.theme.colors.hero};
13
+ text-align: center;
14
+ `,re=t(N)`
15
+ color: ${e=>e.theme.colors.primary};
16
+ text-align: center;
17
+ `,te=t.div`
18
+ display: flex;
19
+ justify-content: center;
20
+ flex-direction: column;
21
+ row-gap: ${n.sp1};
22
+ `,ne=t(b)`
23
+ color: ${j.important};
24
+ text-align: center;
25
+ `,oe=t.div`
26
+ display: flex;
27
+ justify-content: center;
28
+ align-items: center;
29
+ gap: ${n.sp1};
30
+ `,ie=t(b)`
31
+ color: ${e=>e.theme.colors.grey1};
32
+ `,se=t(b)`
33
+ color: ${e=>e.theme.colors.grey1};
34
+ `,le=t.button`
35
+ color: ${e=>e.disabled?e.theme.colors.grey2:e.theme.colors.link};
36
+ cursor: ${e=>e.disabled?"default":"pointer"};
37
+ background: none;
38
+ border: none;
39
+ padding: 0;
40
+ font: inherit;
41
+
42
+ &:hover {
43
+ color: ${e=>e.disabled?e.theme.colors.grey2:e.theme.colors.primary};
44
+ }
45
+ `,ce=t.div`
46
+ display: flex;
47
+ justify-content: center;
48
+ column-gap: ${n.sp3};
49
+ `,ae=t(y)`
50
+ color: ${e=>e.theme.colors.hero};
51
+ text-align: center;
52
+ `,de=t.div`
53
+ display: flex;
54
+ flex-direction: column;
55
+ align-items: center;
56
+ justify-content: center;
57
+ row-gap: ${n.sp2};
58
+ `,pe=t.div`
59
+ display: flex;
60
+ flex-direction: column;
61
+ align-items: center;
62
+ justify-content: center;
63
+ row-gap: ${n.sp3};
64
+ `,he=t.div`
65
+ display: flex;
66
+ flex-direction: column;
67
+ align-items: center;
68
+ justify-content: center;
69
+ row-gap: ${n.sp2};
70
+ margin-top: ${n.sp2};
71
+ `,L=t.div`
72
+ display: flex;
73
+ justify-content: center;
74
+ align-items: center;
75
+ background: ${e=>e.theme.colors.background};
76
+ `,ue=t(y)`
77
+ color: ${e=>e.theme.colors.hero};
78
+ text-align: center;
79
+ `,xe=t(y)`
80
+ color: ${j.important};
81
+ text-align: center;
82
+ `,me=t.div`
83
+ display: flex;
84
+ justify-content: center;
85
+ background: ${j.importantLight};
86
+ border-radius: ${n.sp1};
87
+ color: ${j.important};
88
+ word-wrap: normal;
89
+ padding: ${n.sp1} ${n.sp6};
90
+ text-align: center;
91
+ `,fe=t(Y)`
92
+ width: ${n.sp3};
93
+ height: ${n.sp3};
94
+ top: 2px;
95
+ position: relative;
96
+ `;export{ke as default};
@@ -0,0 +1,31 @@
1
+ import{e as s,j as i,p as l,_ as a,e$ as c,g as h,o,C as r}from"./index-P_4M6V8j.js";import{n as t}from"./vendor-rkTZJa59.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
2
+ position: fixed;
3
+ top: 0;
4
+ left: 0;
5
+ width: 100%;
6
+ z-index: 10;
7
+ height: 100%;
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ background: ${h.blackColor}CC;
12
+ `,w=t.div`
13
+ display: flex;
14
+ flex-direction: column;
15
+ justify-content: space-between;
16
+ flex-wrap: wrap;
17
+ align-items: center;
18
+ text-align: center;
19
+ background: ${e=>e.theme.colors.grey5};
20
+ border-radius: ${o.sp2};
21
+ position: relative;
22
+ top: 5%;
23
+ width: ${e=>d.width.valuePx(e.windowSize)};
24
+ height: ${e=>d.height.valuePx(e.windowSize)};
25
+ padding: ${o.sp3};
26
+ background: ${e=>e.theme.colors.grey3};
27
+ `,x=t.div`
28
+ position: relative;
29
+ width: 100%;
30
+ height: 100%;
31
+ `;function f(e){const n=s();return i.jsx(p,{windowSize:n,role:"presentation",children:i.jsx(l,{onClickAway:()=>e.onCancelClick(),children:i.jsx(w,{windowSize:n,"data-testid":a("video-popup"),children:i.jsx(x,{children:i.jsx(c,{src:e.videoUrl,playing:!0,controls:!0,width:"100%",height:"100%"})})})})})}export{f as m};
@@ -1,5 +1,5 @@
1
- import{e as C,l as B,B as D,j as s,eR as j,eV as S,K as M,$ as E,o as n,C as $,b as L,h as P,a3 as z,c6 as N,g as w,T,az as A,eF as R,s as g}from"./index-CteHikkY.js";import{n as t}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=Q(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(q,{children:[s.jsx(H,{windowSize:l,children:s.jsx(K,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(W,{children:[s.jsx(_,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
- ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},V=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},Q=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},q=t.div`
1
+ import{e as C,l as B,M as D,j as s,eR as j,eV as S,J as M,v as L,o as n,C as $,X as E,h as P,a2 as z,c6 as N,g as w,L as A,ay as R,eF as T,q as g}from"./index-P_4M6V8j.js";import{n as t}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new E("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=q(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=G(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(Q,{children:[s.jsx(H,{windowSize:l,children:s.jsx(J,{children:s.jsxs(K,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(_,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
+ ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(W,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...L.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},V=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},q=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},Q=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  padding-top: ${n.sp3};
@@ -11,9 +11,9 @@ import{e as C,l as B,B as D,j as s,eR as j,eV as S,K as M,$ as E,o as n,C as $,b
11
11
  z-index: 1;
12
12
  top: ${n.sp0};
13
13
  width: 100%;
14
- `,K=t.div`
14
+ `,J=t.div`
15
15
  position: relative;
16
- `,W=t.div`
16
+ `,X=t.div`
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  margin: ${n.sp3} ${n.sp8} 102px ${n.sp8};
@@ -21,7 +21,7 @@ import{e as C,l as B,B as D,j as s,eR as j,eV as S,K as M,$ as E,o as n,C as $,b
21
21
  color: ${r=>r.theme.colors.primary};
22
22
  margin-bottom: ${n.sp3};
23
23
  margin-right: ${n.sp6};
24
- `,J=t.div`
24
+ `,K=t.div`
25
25
  display: flex;
26
26
  flex-direction: row;
27
27
  align-items: center;
@@ -42,7 +42,7 @@ import{e as C,l as B,B as D,j as s,eR as j,eV as S,K as M,$ as E,o as n,C as $,b
42
42
  align-items: center;
43
43
  justify-content: center;
44
44
  overflow: hidden;
45
- `,X=t.div`
45
+ `,W=t.div`
46
46
  display: flex;
47
47
  background-color: ${r=>r.isStepInError?w.alertLight:r.theme.colors.grey5};
48
48
  border: ${r=>`1px solid ${r.theme.colors.grey3}`};
@@ -66,11 +66,11 @@ import{e as C,l as B,B as D,j as s,eR as j,eV as S,K as M,$ as E,o as n,C as $,b
66
66
  color: ${r=>r.isStepInError?w.brandColorGoldDark:r.theme.colors.primary};
67
67
  margin-left: ${n.sp2};
68
68
  align-items: center;
69
- `,oe=t(A)`
69
+ `,oe=t(R)`
70
70
  width: ${n.sp4};
71
71
  height: ${n.sp4};
72
72
  color: ${w.success};
73
- `,ne=t(R)`
73
+ `,ne=t(T)`
74
74
  width: ${n.sp4};
75
75
  height: ${n.sp4};
76
76
  color: ${r=>r.theme.colors.hero};
@@ -84,7 +84,7 @@ import{e as C,l as B,B as D,j as s,eR as j,eV as S,K as M,$ as E,o as n,C as $,b
84
84
  }
85
85
  `,b=t.div`
86
86
  display: flex;
87
- `,ie=t(T)`
87
+ `,ie=t(A)`
88
88
  display: flex;
89
89
  align-items: end;
90
90
  color: ${w.brandColorGoldDark};