@zeniai/web-app-ui 4.14.32-qa → 4.14.33-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.
- package/dist/assets/{ACHDetailsPage-BO7lxW8c-qdj5vCzV.js → ACHDetailsPage-DKTSwNyl-CDIFOfdq.js} +6 -6
- package/dist/assets/{AIPerformancePage-SF-quMkk-BDmetcXO.js → AIPerformancePage-BzTlSxeg-BuDeNPSy.js} +1 -1
- package/dist/assets/AccountInfoPage-CrEEthms-45HqRER7.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DIWh6VaI-Dkx9vqHY.js → AccountInfoPageContent-B0ZnsyrQ-BWluBgsD.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DloPB9vd-rWnzhgoV.js → AccountLockedInfoModal-B6A-nGIq-Dg3p8NEN.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BAgQsFiF-DYdVNdU9.js → AccountReconDetailsDrawerPage-BTmjrd8b-CvWGr60v.js} +5 -5
- package/dist/assets/{AccountRow-Dczx5rSu-CLUzbQMi.js → AccountRow-C-Iunc36-CWR0-Stg.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-Ywhto4lV-BJMaNuPG.js → AccountsPromoCardStack-D6xN5A4_-DaMwJmFg.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-B8srmVT6-B2WNvij_.js → AddAddressForCardDrawer-B6tLAOA_-DSLXld5A.js} +1 -1
- package/dist/assets/{AddToWalletPage-k__RW699-Q957aA9Q.js → AddToWalletPage-Bw1oz9Y2-D8T9ntRu.js} +1 -1
- package/dist/assets/{AddressRoutes-CTGxpAi-.js → AddressRoutes-Du2U1_wy.js} +1 -1
- package/dist/assets/{AddressScreen-DEbSWJPO.js → AddressScreen-Do5YL4Hs.js} +1 -1
- package/dist/assets/{AgingReportsPage-BuIXjljE-B0fe8lvN.js → AgingReportsPage-BK3PXwnr-sRb89fRD.js} +6 -6
- package/dist/assets/{AiCfoScreen-Wz3E2wwr.js → AiCfoScreen-m0mtpC7v.js} +1 -1
- package/dist/assets/{AllUserItems-BdgTe4WF-D7yOaoR6.js → AllUserItems-B42zEFpe-Dt3QyoOE.js} +4 -4
- package/dist/assets/ApAgingDetailPage-vzW4qF2Y-Be_AyJp4.js +46 -0
- package/dist/assets/{AppBasePage-DaTueT-x-BnyuOO9Y.js → AppBasePage-yAU5vW5D-DRiBAUPT.js} +1 -1
- package/dist/assets/{AppDrawerContent-CtCI6jpp-Bv1hj7Yn.js → AppDrawerContent-nnh5cFf7-LHEC_nmn.js} +3 -3
- package/dist/assets/{ApprovalRulesSettingsPage-BVxu4soW-GcaZFHeB.js → ApprovalRulesSettingsPage-B-Y2YjpT-Di6q3Tts.js} +1 -1
- package/dist/assets/{ArAgingChart-BK-JyW2V-DrIuZSmt.js → ArAgingChart-CCc6eh55-fg322qhA.js} +2 -2
- package/dist/assets/{ArAgingDetailPage-CvqLu3q8-C5eA5W28.js → ArAgingDetailPage-CYXVPEzK-BXygZJWM.js} +3 -3
- package/dist/assets/{AttachmentView-DQdb3v_e-CLQ1CJA9.js → AttachmentView-DqrQDEWc-bqv6C4yz.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-D4q45w1q-CtGZeK4N.js → BalancesInsightWithToolTip-D1_dZg5k-Cp5teLbH.js} +8 -8
- package/dist/assets/{BankAccountSection-DgbfU8F--CB1estpa.js → BankAccountSection-4vXBKCFA-DKXdSrK9.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-litL0o_Z-Dfhx-kK3.js → BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-bAj9uB9k-LyDvOxOa.js → BankConnectionsSettingsPage-z52fh-wH-8ecSlDkf.js} +9 -9
- package/dist/assets/{BillDetailPage-CiHal44n-tq0YH1aX.js → BillDetailPage-DRpctLxu-LXI19q8V.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-ClA5NSEJ.js → BillPayApprovalRoutes-KGuDCnTY.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-D3VWhKCe.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-BTOmSLcs-DEq7dW-i.js → BillPayApprovalRulesPage-HG32jtX9-BIhcv1hk.js} +1 -1
- package/dist/assets/{BillPayPromoPage-B5gkQjT2-DXRzGBXG.js → BillPayPromoPage-DwxNDF0k-CcLPK5n4.js} +12 -12
- package/dist/assets/{BillPayRoutes-C3Tb_2Ko.js → BillPayRoutes-Ce5JVkt4.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-DM3r09by-Bvx7NLUi.js → BillPaySetUpPage-B-kmDrpB-DqUJzo3-.js} +6 -6
- package/dist/assets/{BillingSettingsPage-CiTKyJeG-BEh5P0A7.js → BillingSettingsPage-CNZyUOpM-KCtCCu_U.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-B6ofRDkg-Cw68W5rP.js → BillsBulkReviewDrawerPage-DbIDTE51-jz6OelMc.js} +1 -1
- package/dist/assets/{BoxItem-C39hQSVg-CwP_fpKm.js → BoxItem-CIyMdw2s-BlAcmWAT.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BiWEnJET-BhvPSMXm.js → BusinessVerificationPage-DQ34qLUA-DQ_EHnlJ.js} +3 -3
- package/dist/assets/{BusinessVerificationPageScreen-DE3iPWMP.js → BusinessVerificationPageScreen-iODPCcKg.js} +1 -1
- package/dist/assets/{BusyIndication-DmApVsF7-DoBMbi5i.js → BusyIndication-YMYY0Pff-BY32OnMI.js} +1 -1
- package/dist/assets/{CardNumberSubText-FNfrozX6-Cgi1n69q.js → CardNumberSubText-CN1RN7Tf-Crkz5sd9.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DaLICa_v-BJ3TvYfG.js → CashbackDetailPage-CyYkVa0H-YXMN_DEG.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-B0Aq7zO5-BVHXTaUL.js → ChargeCardDetailPage-DFUAF2OM-DP6SPQkf.js} +28 -28
- package/dist/assets/{ChargeCardListPage-CfRto2rQ-DPjFotcB.js → ChargeCardListPage-BTHDGtJ6-Cjssvtzk.js} +11 -11
- package/dist/assets/{ChargeCardListTable-DMdC4lxo-CtkD7-2q.js → ChargeCardListTable-BiKjkqVs-C2Q47jri.js} +26 -26
- package/dist/assets/{ChargeCardPaymentHistoryPage-BYTmtF_y-BJK0KpD-.js → ChargeCardPaymentHistoryPage-sPGU7qmY-D7s1gonC.js} +10 -10
- package/dist/assets/{ChargeCardPromoPage-AI5bladj-STtaDscO.js → ChargeCardPromoPage-6JwKgWli-CuEACLDU.js} +4 -4
- package/dist/assets/{ChargeCardRoutes-AYQ3MGTW.js → ChargeCardRoutes-R82vHuIV.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BjhqdubL-ByzKQBoy.js → ChargeCardSetupPage-DmhPAnYT-kDmietjf.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-DCM92s6v-CBr56gpX.js → ChargeCardStatementsPage-DUXupPSN-BYaTogVZ.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-CkIxEqHU-Bqm8pa-L.js → CheckDepositDrawerPage-C8nbDVSz-fCr2LZZm.js} +4 -4
- package/dist/assets/{CollapsableReportTable-ClHwXtCj-Bu1ywWDb.js → CollapsableReportTable-C_bWRP7w-ybv6uXaY.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BY8hFQnp-C-jTOLEo.js → CompanyOfficerDetailsSection-6LXCxWYP-N1CjwGwi.js} +13 -13
- package/dist/assets/{CompanyPassportCard-B3rZE3pg-CPKH7ClD.js → CompanyPassportCard-DVJS9xE7-WQAczivM.js} +1 -1
- package/dist/assets/{CompanyPassportPage-4FXVf3EP-Co0uZqWP.js → CompanyPassportPage-FJ30paB0-B650xBRc.js} +12 -12
- package/dist/assets/{CompanyPassportScreen-D4CGbUvz.js → CompanyPassportScreen-v4ozfRkw.js} +1 -1
- package/dist/assets/{CompleteProfile-B1BoilWd-BY2yFTSv.js → CompleteProfile-D3Im5rsm-DOcwDl2N.js} +1 -1
- package/dist/assets/{ConfettiBurst-CsbAGF65-crGvJolm.js → ConfettiBurst-BJrOe5Fg-B4cWwrd1.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-CGGnZgbf.js → ConnectionAuthScreen-CRf6FtAm.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BnMSru9B.js → ConstrainedInnerElement-CgdnMeoA-Dk4QFttG.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C50eYOFo-Da-aCQ_K.js → CreateOrEditVendorPage-C8dK3_XQ-BF1JDoLL.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-Dxz_SY7N-BpZmjo-8.js → CreditCardPaymentDrawerPage-Dp5mS2Hc-CeHtX3in.js} +6 -6
- package/dist/assets/{CurrencySelectField-D2Ogwvbr-CVVPi1Hr.js → CurrencySelectField-BAQ5aoHk-DH5SrL5M.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-5Sh7hmI9-Ba_aGZs7.js → CustomerOnboardingActivationPage-D8T1akbN-CiWQ4BME.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-BP0HWrE7.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-B6eAJyRQ.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CL-mOSUp-DLRoDbfb.js → CustomerOnboardingDetailPageSkeleton-DSvvHqR_-B6nZNBwn.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CyL1AK78-CoBuNU82.js → CustomerOnboardingNoStepsPage-CSLO3M7E-qZci9B5e.js} +17 -17
- package/dist/assets/{CustomerOnboardingPage-C8nxJPwo-DuXY1wXZ.js → CustomerOnboardingPage-weza3x24-BkXOFQX9.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-C7FbnHpU-CcKzsuhI.js → CustomerOnboardingProductSuitePage-3YH4y1e1-JkiatwoQ.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-DLfMzGpn.js → CustomerOnboardingRoutes-BH4p4U2x.js} +1 -1
- package/dist/assets/{Dashboard-Bpu-6Sm5-CknMvcgU.js → Dashboard-Bpuy-Pez-CGeVqi25.js} +1 -1
- package/dist/assets/{DashboardReportPage-B1aAikQG-DXGS56N_.js → DashboardReportPage-1p79NBF9-PsndgGNB.js} +1 -1
- package/dist/assets/{DashboardRoutes-xoa0YBhj.js → DashboardRoutes-BpbDpYw3.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C6xm-p2j-Cianbfu8.js → DashboardSidebarBackgroundAnimation-CBg2tWHO-BrEJtieY.js} +1 -1
- package/dist/assets/{DefaultTenantHome-COn1GZe5.js → DefaultTenantHome-dh0i9bS7.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DEU0DgtI-mNkmtb4n.js → DepositAccTransactionItem-DlztlGZL-BabOldBp.js} +8 -8
- package/dist/assets/{DepositAccTransactionListPage-Bh0dIkE9-Nnv3oKOX.js → DepositAccTransactionListPage-BO43c3Uz-DAiR329Z.js} +6 -6
- package/dist/assets/{DomesticWireDetailScreen-BHvyRZV0.js → DomesticWireDetailScreen-73EFUwYw.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-2WyD73c9-pgZENCnp.js → DomesticWireDetailsPage-SEql3I0P-DopSoItu.js} +4 -4
- package/dist/assets/{DownloadOverlay-B7M2VI7K-CmLEDWdo.js → DownloadOverlay-PhrwF2iZ-DE41QNaR.js} +14 -14
- package/dist/assets/{DrawerPage-DsQTxXa8-b58o_lYS.js → DrawerPage-Bf3AP3Lj-Ca4Hlb-5.js} +1 -1
- package/dist/assets/{DrawerScreen-Bwd7D_PK.js → DrawerScreen-DHeqOl2i.js} +1 -1
- package/dist/assets/{EditPeoplePage-fY0HXvVS-GHbOUDbp.js → EditPeoplePage-B-rBzonN-uBCjqsHV.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-D7RUWSTZ-BvTTLT94.js → EditReimbursementDetailPage-CUiIHNgT-8PuUQb7F.js} +14 -14
- package/dist/assets/EntityDetailPage-CvLzsrUE-BBux-0Uo.js +18 -0
- package/dist/assets/{EntityDetailRoutes-Br6vAttH.js → EntityDetailRoutes-DBLMB4dw.js} +1 -1
- package/dist/assets/{EntitySummarySection-0rRkC5V6-Conv00DK.js → EntitySummarySection-mXeSjiuZ-B9FERucG.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DOGAdZXV-BteA09I4.js → ExpenseAutomationOverviewPage-DQCoy1O9-BZfo9th3.js} +3 -3
- package/dist/assets/{ExpenseAutomationPage-DOsIzX0P-BmRa_16p.js → ExpenseAutomationPage-BeAzQ7Qx-Dz7fhupP.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DLbUy-Sk.js → ExpenseAutomationRoutes-Ciow3RJ2.js} +1 -1
- package/dist/assets/{ExpressPayPage-CIi6jM8Y-DprwP7jg.js → ExpressPayPage-C-isOU1b-CVmq_SpS.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BVn6ZUOB-BRGsJkYW.js → FeaturePreviewPage-Cyre9YzV-Cftfc0PA.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-C7jdaAb-.js → FeaturePreviewScreen-2RPLc4Gf.js} +1 -1
- package/dist/assets/{FollowStepsSection-CvWPHXDW-Dl7cRxYJ.js → FollowStepsSection-DZNWzSvo-BRkqWsPS.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CS_11bx0-BpB3oVCF.js → GlobalReviewListPage-Dp--ugNc-Dtv4hNaC.js} +1 -1
- package/dist/assets/{InformationCardStack-B9g7W7Xx-ZebmXk33.js → InformationCardStack-D7naFDX0-DgOmsE3E.js} +1 -1
- package/dist/assets/{InsightsCardStack-mvzIc2uY-DiwLXl7c.js → InsightsCardStack-DexUl4h--CD8yzPkl.js} +6 -6
- package/dist/assets/InsightsSection-D9PJ55E6-BZ3NURYW.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-Dwz4ukHF-BsDL-5QK.js → IntegrationsSettingsPage-hFTe3wiP-BhlDRzBS.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-Cm0H9oyf-CSkPID9w.js → InternationalWireSwiftDetailsPage-DLkE5bXp-CEjk6OlM.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-woIoME3I-BpkjRAf8.js → InternationalWireVerificationPage-DYGjEqNz-BHv8RAGX.js} +2 -2
- package/dist/assets/{InviteFormPage-DaZ-sJYV-C1pvGdU0.js → InviteFormPage-CGAsWQn7-CTMj3TWe.js} +13 -13
- package/dist/assets/{InvitePageListView-Do7EVQrj-BUNzpXY7.js → InvitePageListView-BSPE9f03-DiWtDrPd.js} +20 -20
- package/dist/assets/InvitePeoplePage-ANvLB-mB-bW0ZLS4w.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DOuTQPee-C986sH-S.js → InvoiceUploadSection-OGMswY7c-CziQJBl6.js} +13 -13
- package/dist/assets/{IssueChargeCardPage-ClMhr27d-C9JNnylK.js → IssueChargeCardPage-sLInqAsW-C2PmO3GP.js} +11 -11
- package/dist/assets/{LabeledAddressValue-B6_PZDTO-B0f_TY3n.js → LabeledAddressValue-DBJ236tZ-DRwoxJhK.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Cz6tRMoW-BWTMstez.js → LabeledAddressValueField-CAr-IiTa-hz8acdw2.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BEpAlnvo-CvOvJ8M4.js → LabeledControlledCheckBoxField-BdWZgcQc-Dj_Rq1GV.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-1kTcZMQW-CYG0hGdR.js → LabeledCountryMultiSelectField-C6z1v9S1-B3o5vQAY.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-PiLB1S77-BE8E-NVb.js → LabeledCreatableSingleSelectField-Dhi0n2ky-DMTYZTz6.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Cicw8ABs-BY2NDqms.js → LabeledDocumentField-B3QSq1eM-IGzby_k8.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BEVVgIGK-Be2ECVYI.js → LabeledDropDownFormattedTextField-B39DlufR-DdaTss6V.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-C6gk3B5x-DNbhSblv.js → LabeledEmailInputField-CY2mGhJG-CWnMQ78-.js} +1 -1
- package/dist/assets/{LabeledNameField-BpfxLnfN-DXNAsDl7.js → LabeledNameField-CYN5kdQi-86Gkfv4K.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-Utmk8KVy-7bKQ7Lgi.js → LabeledSingleSelectField-CBXzDXMd-Bb2Vdxcj.js} +1 -1
- package/dist/assets/{LabeledText-C56xvYuX-V1W7qANU.js → LabeledText-GEbY3-bB-BUisrQ9a.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-ITN8UDlC.js → LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CSkej6UT.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-B5rxYfam-Dqb9eTdm.js → LabeledZeniRolesDropDownField-DJfE1qQb-B_HO08cO.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DbnaYlRA-BZfapfas.js → LinkJETransactionPage-B2ROo3VS-YhdCoxbn.js} +9 -9
- package/dist/assets/{LockCardPage-XHbTmzq8-D2FlG_hq.js → LockCardPage-D2dUPnNL-tuQUusRC.js} +1 -1
- package/dist/assets/{LowBalancePopup-IF7NG9aL-D-kinRkN.js → LowBalancePopup-DTtl3SIc-jw3rRGRn.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-C-40wwsX.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-DLQOqv2b.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-Du-Hf2Rs.js +1 -0
- package/dist/assets/{MagicLinkRoutes-Ar0GD3LF.js → MagicLinkRoutes-Ce7UoZ3g.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-pLIgT_MU.js → MagicLinkSignInScreen-BzoOowms.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Cyr3p_8a-C1W_67Gu.js → MagicLinkSuccessPage-Ctt1pLiv-DgUpkUDW.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-A4zyF5bg-CJ8qaIqt.js → MagicLinkTitleSection-CtsQ_c44-DD1X6fG2.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DqSOlu2t-yxjH6xtg.js → MailingDetailsSection-DiZwQ9QV-Zw0hJwAt.js} +1 -1
- package/dist/assets/{MobileAppDrawer-BzhvI9uK.js → MobileAppDrawer-qasrJsA4.js} +1 -1
- package/dist/assets/{MoreMenuButton-B1OKwXLg-BGjwJb3U.js → MoreMenuButton--MxUyTqX-BRissmUy.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DtTjhna--Brf-Lw4g.js → MyBankConnectionsSettingsPage-6ltpx62E-D6KFe-KP.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CKSWf7I4-BGxkh2i8.js → MyPendingActivationChargeCardListPage-CwDedcXl-Dxd2fyLg.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-WF1pNlyU-Y69pCSd8.js → MyProfileSettingsPage-Bmhu2lrK-CTluZRHn.js} +1 -1
- package/dist/assets/{NavBarWithPicker-DiCaJ8Qy-BkApKnxf.js → NavBarWithPicker-jqJCHGvR-DMu0y4Qb.js} +1 -1
- package/dist/assets/{NavigationArrow-f4Z3TuXg-BOQXlQjz.js → NavigationArrow-DY_BhITD-gGit-4br.js} +1 -1
- package/dist/assets/{NavigationDots-WiVjbUsC-C7Q4WAGV.js → NavigationDots-Kh5ODrCQ-DwZ3hrog.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-kvjjwV8d-DjuH6H6H.js → NewGlobalMerchantPage-BYTROFvX-DwdJUPSt.js} +1 -1
- package/dist/assets/{NoDataChart-DlSLTzZl-C1cnqDKJ.js → NoDataChart-CuiKDcAB-DcvOdNkO.js} +1 -1
- package/dist/assets/{NoDataTable-9vLoRpsR-wzbnukFo.js → NoDataTable-BpH8puX--CKc9Uumk.js} +1 -1
- package/dist/assets/{NotFoundPage-CFlNCHFs-BjAbW1p2.js → NotFoundPage-BKvCYyvc-CVW4jAzU.js} +9 -9
- package/dist/assets/{NotFoundScreen-C4RWEwpc.js → NotFoundScreen-BGyIaLbV.js} +1 -1
- package/dist/assets/{NotificationRoutes-Bauqlg8K.js → NotificationRoutes-g75WljLy.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-KJzE9v4p-ueNqYhCg.js → NotificationSettingsPage-F2xXUCSE-1aLSD_P9.js} +1 -1
- package/dist/assets/{NotificationsListConfig-6sXXtF_E-CoAChzQf.js → NotificationsListConfig-C9r-O2kH-aq3nwp_9.js} +1 -1
- package/dist/assets/{NotificationsPage-D4AmPdo9-CLlXhmZ-.js → NotificationsPage-CZZ9GTVy-CjLasA13.js} +1 -1
- package/dist/assets/{OpExByVendorPage-B5Wtu3ww-BfiVnjOY.js → OpExByVendorPage-Crvcsx0U-D2kbC2Nh.js} +5 -5
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-CakuK-tg.js → OverlayContainerPage-BG9y5C0t-DpfAmCAx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CjkaxTx7-BjLqIhEu.js → PandLWithForecastPage-CkDCt5NK-CZTB6HyP.js} +7 -7
- package/dist/assets/{PandLWithForecastRoutes-xJfyiPLc.js → PandLWithForecastRoutes-BIm6SNTl.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-eeLSg7xb-BniLcpKw.js → PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CDM1qPvj.js} +1 -1
- package/dist/assets/{PeoplePage-CQREy6SW-jzMdXXql.js → PeoplePage-D2CtRlrd-By7K7MoK.js} +1 -1
- package/dist/assets/{PeopleRoutes-bZeBcbCa.js → PeopleRoutes-DYEYoT-Z.js} +1 -1
- package/dist/assets/{PerformanceRoutes-Cpf321a_.js → PerformanceRoutes-DfWgoWPO.js} +1 -1
- package/dist/assets/{Preview-CQ45ZFEO.js → Preview-CBFJfLMb.js} +1 -1
- package/dist/assets/{ProductsCarousel-COZZMTcH-B51aQv0u.js → ProductsCarousel-sNagRI0c-61XsnGmO.js} +1 -1
- package/dist/assets/{PromoBaseCards-Bmn6TN2k-Bs7EMABq.js → PromoBaseCards-BUk-u73S-BOYyiMks.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DYxoiSkA-Dk_DwyWX.js → QBOConnectionDialog-C1rEAxUE-DfW1Uzaj.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-CAL_oIQc.js → QBOConnectionScreen-Rp-2rn0k.js} +1 -1
- package/dist/assets/{QBOSetupSection-Cdz2PDxV-BDBYgiEv.js → QBOSetupSection-iQJCHR-K-Cozk6L0j.js} +1 -1
- package/dist/assets/{ReferralListScreen-qui_lA__.js → ReferralListScreen-CBuGWNNX.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-Ct12I2wb.js → ReimbursementApprovalRoutes-D0ehNmsg.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-QEoqCw-Cs_RbD5G.js → ReimbursementApprovalRuleDetailPage-BPIKZ9v1-_Rw4LFib.js} +5 -5
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DHXZ840V.js → ReimbursementApprovalRuleDetailScreen--zBLN-vr.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-Ch2sxTFV-DeHruNGf.js → ReimbursementApprovalRulesPage-AE810nQZ-CKLvlvGT.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DSF6SfKn-BhQpRY9M.js → ReimbursementDetailPage-CYuZJL_J-Dc9Q5SmJ.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-F1ROFd63-B1t5Jond.js → ReimbursementPromoPage-CaxjSwrz-BqYGPT-x.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-1_SI-hn8.js → ReimbursementRoutes-Dw1HmBPZ.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-l2mhLFuo-B54Qng1-.js → ReimbursementSetUpPage-Bw77MBHF-CqZyhccg.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BICgOxHf.js → ReimbursementsBulkReviewDrawerPage-B-svIloS-u7x5I4fB.js} +1 -1
- package/dist/assets/{ReloadCard-CDcJMl9F-CnmKoS62.js → ReloadCard-D5kxTfzJ-CHGlYP1Y.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DvCk55Hn-DkSGr4BZ.js → ReportTableViewSelector-BZU8yltx-BXz0jYWq.js} +1 -1
- package/dist/assets/{ReportsPage-DfqqKSt3-CLOVf278.js → ReportsPage-CdN9MEVy-VFwi_Sta.js} +5 -5
- package/dist/assets/{ReportsRoutes-DLpbfbDj.js → ReportsRoutes-BxP48mVj.js} +1 -1
- package/dist/assets/{RevenueChart-BONT9upM-DU_a19lO.js → RevenueChart-B_RMeweH-sORV0ExB.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-857bVurA-CbjI1OUT.js → ReviewDetailsPage-a73YIZSO-BwRkWQP6.js} +1 -1
- package/dist/assets/{ReviewOverlay-ClQg7d2j-Dm0fdfqo.js → ReviewOverlay-Ubmz06uP-Dq2e8WZF.js} +1 -1
- package/dist/assets/{RewardsRoutes-EWwY813U.js → RewardsRoutes-kNiN5XKd.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C0G1Hgp_-CRG2xCvX.js → RoleWithToolTip-BYO1YG6N-CpH6tY8x.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CJ_JBtxS-D8uR91rN.js → ScheduleDetailsFixedAssetsPage-vgqilDC8-BtW6gR7z.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-B1aEwPL--oYlhdTLP.js → ScheduleDetailsPage-DdEeFryA-D3pgpVcx.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DhU7PI91-LtlMXkac.js → ScheduleSequenceTable-poNEzbqS-Bn1GkRq3.js} +1 -1
- package/dist/assets/{ScreenRoutes-D_5DmJ86.js → ScreenRoutes-D1xPWhMn.js} +2 -2
- package/dist/assets/{SetUpAccountSection-C8dulq9s-B-L9gOQO.js → SetUpAccountSection-BSOGwHCj-BawfFLHE.js} +1 -1
- package/dist/assets/{SettingsRoutes-Bpnzxqw3.js → SettingsRoutes-CQFKHlBE.js} +1 -1
- package/dist/assets/{SetupPagesScreen-BG2iNhNo.js → SetupPagesScreen-Khrg4fmZ.js} +1 -1
- package/dist/assets/{SignIn-wDe7lbGR-DVGzhzCV.js → SignIn-q4J9wRx8-CmY6_2-N.js} +4 -4
- package/dist/assets/{SignInScreen-ChmnsIGN.js → SignInScreen-DE5iszhl.js} +1 -1
- package/dist/assets/{SignOutScreen-C9MY-na5.js → SignOutScreen-BrEmVZ7k.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BdddUHrW-C_LostVg.js → SpendManagementListViewPage-DKRkSADM-CyVMAS6i.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-BBJm3884-DNyU3qBr.js → SpendManagementPerTabPage-Cd30NnXU-CuxG4XXm.js} +21 -21
- package/dist/assets/{SpendManagementSection-6R5y0Hy4-DR8MdoOh.js → SpendManagementSection-CPBOh_J5-VebfRScE.js} +14 -14
- package/dist/assets/{StatementItem-qsoXKx_p-DNQHoMbS.js → StatementItem-NyOORj5f-CGBabGx-.js} +2 -2
- package/dist/assets/{StatementsPage-Cn7WG5-S-Dl_bD5a2.js → StatementsPage-Cp77wyFS-BNWHu83c.js} +2 -2
- package/dist/assets/{StatusSwitcher-D3qCg5J1-CnYYZ1b2.js → StatusSwitcher-DN-yYdli-C38uA7vA.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BXajy75j-B6OxDW3g.js → SubTabSwitcher-D1LNrhUn-k7hSwnGE.js} +1 -1
- package/dist/assets/{SuccessAnimation-CSblamOQ-JSo_khSf.js → SuccessAnimation-DdyAYe1e-CRBZLEcw.js} +1 -1
- package/dist/assets/SummaryCard-DgIPSt4y-BreXikds.js +1 -0
- package/dist/assets/{TaskDetailPage-CrsQnhu1-B_UOgdhU.js → TaskDetailPage-DXTLNhtf-DSitOXq0.js} +1 -1
- package/dist/assets/{TaskListScreen-CQghy863.js → TaskListScreen-DkpddMj-.js} +1 -1
- package/dist/assets/{TaskManagementPage-h3Rb49Jj-pMAnmsYe.js → TaskManagementPage-BaLJR4-7-CF4lQh5a.js} +28 -28
- package/dist/assets/{TaskRoutes-Bzs5ud2d.js → TaskRoutes-FkwKuuJe.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DpUOmqiR-OEgtOaDl.js → TimeRangeSwitcher-CkgGEwEw-BPD6p-o-.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BKEtsv_r-BOgf0adS.js → TimeframeSwitcher-B8fpnYS8-DN6x7QeB.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DECnQIMT-BjcEq4P9.js → TimeframeSwitcherWithToggle-DwFo6jY4-D-j20nY7.js} +10 -10
- package/dist/assets/{TopExCard-leQR29Sq-DMP-noC7.js → TopExCard-PayAZZY--CN7knT9a.js} +1 -1
- package/dist/assets/{TopExDetailPage-Dgg7Do6D-Cf1J-rX0.js → TopExDetailPage-Mp2KcYf6-DF6BJLe1.js} +3 -3
- package/dist/assets/{TransactionActivityLogPage-CU2pUJQL-CzX5Q4B2.js → TransactionActivityLogPage-CnmL_hUz-xxBYOo0V.js} +1 -1
- package/dist/assets/{TransactionDetailPage-FT2IPLH7-CX3DG4Pm.js → TransactionDetailPage-Bqlnmn8Y-C-G32l9E.js} +26 -26
- package/dist/assets/{TransactionDetailRoutes-atS2Oh1R.js → TransactionDetailRoutes-Bur6XOBC.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-BglCkwGm.js → TransactionDetailScreen-TsmDBl7P.js} +1 -1
- package/dist/assets/{TransactionList-C2MGkQYM-CU8bIKXQ.js → TransactionList-BOmlsfpv-P61oqFED.js} +11 -11
- package/dist/assets/{TransactionListBig-CZ3jIxzR-h_QlWda5.js → TransactionListBig-CaMT-rq_-CyI8cEhp.js} +1 -1
- package/dist/assets/TransactionListPage-D_dgwnFp-D9ucLBYe.js +35 -0
- package/dist/assets/{TransactionListRoutes-D3x0o31V.js → TransactionListRoutes-Bze4GklF.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BgcqndCu-DrGCDrHZ.js → TransactionVendorDetailPage-DlXuiPC5-CVKs_i6q.js} +1 -1
- package/dist/assets/{TransferDrawerPage-SirvPH4z-AADMZrtA.js → TransferDrawerPage-C2VcssbM-BdJwka8r.js} +14 -14
- package/dist/assets/{TreasuryOverviewPage-B_WK1aOv-45D8ongN.js → TreasuryOverviewPage-DyyoGY23-8NjmnIXR.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-B_D63Dr2-Mw7kOaR2.js → TreasuryPromoPage-B9Hf7oxZ-CY7Z2jR8.js} +1 -1
- package/dist/assets/{TreasuryRoutes-DevJrQwC.js → TreasuryRoutes-BcEhSPu-.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-BGe0fhBe-CZKzrKEg.js → TreasuryStatementsPage-DOzJzfTG-COamdHZN.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-9gNdkQZp-KOpqpRaG.js → TreasuryTaxLetterPage-BcTBr9x9-DQ6bAdf9.js} +1 -1
- package/dist/assets/{TrendChart-COItOWPp-B0KeVtcc.js → TrendChart-BvXDrgUJ-D_jexAAy.js} +2 -2
- package/dist/assets/{TrendWithTransactions-DgAw_8CI-C5t8dz0y.js → TrendWithTransactions-RCpzdPf3-B6dzBDBs.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-B9EziB6Q-Bi-s-0Sv.js → UncategorizedAccountsMappingPage-B1m3iXh5-Ip2N2jHp.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DGWNyWV1-otb9S_5N.js → UnitIntegrationPage-lVg_8mQ4-CG7xv8GT.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DWmMz_8y-BoxaUeLm.js → UploadAdditionalDocumentOverlay-DrAWxBXn-_zHsjfu5.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-dh2g8kqu-DmCsxO0l.js → Vendor2FAPopup-C8m_OJEH-D165qdUh.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-JhO6KtMC-CANKU5ry.js +1 -0
- package/dist/assets/{VendorDetailPage-CGqoIODq-BvUdf9jN.js → VendorDetailPage-Y9_hsgjs-C9Wt_5QU.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-Bxd9GX1z.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CsnlHrCl-Dg2l5wSd.js → VendorFiling1099EditablePage-CPevpiim-qmsYTkLB.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-DC1j2sO_-B3hOpd68.js → VendorFirstReviewPage-CXftFNl_-CCYTLrD_.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Drr00a6C-DzH1osbM.js → VendorInternationalWireDetailsPage-88NtGE3e-C0C0m4pv.js} +6 -6
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-6XH5g7u0.js → VendorInternationalWireSwiftDetailsPage-BTh-VP1b-C-5vzJEN.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BtdwR8u4-B4AH00Ns.js → VendorsAccountsSection-DorsKXyL-B5FHsSOL.js} +1 -1
- package/dist/assets/{VendorsRoutes-CyRapVh2.js → VendorsRoutes-FQkb12pI.js} +1 -1
- package/dist/assets/{VerifyDevice-Bhr_yHpE-BFsFancv.js → VerifyDevice-DAym8rUN-BlHFuMzS.js} +4 -4
- package/dist/assets/{VideoPlayer-wlJX6lEq-Djxj54Vf.js → VideoPlayer-53OvOC7l-pPI6Q2OV.js} +1 -1
- package/dist/assets/{VideoPopup-BPptwR51-DdCCHHY9.js → VideoPopup-v9quqdro-CKa7Hhxk.js} +2 -2
- package/dist/assets/{WiseConfirmationScreen-CnF85JVe.js → WiseConfirmationScreen-DsF9s3cq.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CSsu44ls-BxTJP0xn.js → ZeniAccountDetailPage-CFEGqW5l-Cc3o93o-.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-BZwGCrzx--nMPcfZ-.js → ZeniAccountListViewPage-j85TO5tM-D8dMZ6jp.js} +27 -27
- package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-S8eWsLxK.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-CahV-Rmf-B_a0e4xi.js → ZeniAccountPromoPage-DeHmh4My-CfY9P4dJ.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-BnCdn_7e.js → ZeniAccountRoutes-CfCvabZR.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DSNDNKZr-BvWOY3jL.js → ZeniAccountSetupPage-ofkQR72l-CBlKDRVk.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-BOJsnK-P.js → ZeniAccountStatementScreen-CGYScuoU.js} +1 -1
- package/dist/assets/{ZeniAvatar-De0hFvIm-BJi7TJei.js → ZeniAvatar-Ct7MPW2X-BHlw9FbG.js} +1 -1
- package/dist/assets/{ZeniCopyright-BNGdkMOa-CGSddL5N.js → ZeniCopyright-CmCqmJmV-3KycUvio.js} +1 -1
- package/dist/assets/{ZeniDatePicker-CYNEE0pM-CI8_Q6Ab.js → ZeniDatePicker-RNJ2ukKC-BM4oYXJe.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DuD1JtSv-eHMRZi_V.js → ZeniTransferAmountSlider-BpfqM032-CVzLkYGE.js} +1 -1
- package/dist/assets/{accountMappingHelper-FrhvxzcW.js → accountMappingHelper-rwWvpsms.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BqBidt5n.js → add-to-wallet-DgdBD8_G-CzXhL1Ym.js} +1 -1
- package/dist/assets/{analytics-CVqRc8fh.js → analytics-DIWVqtXV.js} +1 -1
- package/dist/assets/{analyticsHelper-qMWdjEFo.js → analyticsHelper-CLBcUDc5.js} +1 -1
- package/dist/assets/{analyticsHelper-DjQYjslY-D8-DDeg7.js → analyticsHelper-qtejXlXH-UFbrYbZ_.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-B3QTzBHA.js → arrow-south-east-round-PEovUgvH-CWRd961V.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-de_8OjuK.js → auto-transfer-rule-mbafm5D3-Bjm-l3iW.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-B-3VAvb3.js → avatar-Dz7aEm3d-CKqFD1L0.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-KdddOmyc.js → bank-letter-BOcVjN6J-BhxkRonC.js} +1 -1
- package/dist/assets/{calculateSize-i9QGr8q0-BEKLyEYY.js → calculateSize-CzpGCfNE-CNrV3_Iu.js} +1 -1
- package/dist/assets/{chartTypes-BGl-YMiu-DAKq2IM5.js → chartTypes-BqRsL6eJ-D0sv3zgU.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-CB7HCMZv.js → clock-CJkylEKt-9m-0TbEY.js} +1 -1
- package/dist/assets/common-BxjzMhDO-M6F2cReY.js +1 -0
- package/dist/assets/{commonDimensions-CuKo3wam-nLTnztTJ.js → commonDimensions-CzWWgDTA-C5sl3WWf.js} +1 -1
- package/dist/assets/{commonTypes-CfAg6Jvv-D84w54Iv.js → commonTypes-CF6UyWSv-BQXpwXby.js} +1 -1
- package/dist/assets/{core-AYNw6kyJ.js → core-BAxGDYbL.js} +1 -1
- package/dist/assets/{dash.all.min-Dq_dQY1I.js → dash.all.min-DLVq1nc5.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-E-sgiudi.js → decodeURIComponentSafe-Bypqq6TF.js} +1 -1
- package/dist/assets/{dnd-Dw-riVE4.js → dnd-BEk5qqV2.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-CvsBoEut.js → dollar-round-D18u7nlm-DgPiQ4X2.js} +1 -1
- package/dist/assets/{downloadPdf-Dcd8BY_9-DI4hg2G0.js → downloadPdf-BFFM3Hea-CZaqSBqv.js} +1 -1
- package/dist/assets/{empty-C9c-cai_.js → empty-BWHMm5Kr.js} +1 -1
- package/dist/assets/{empty-CX0U2Ty5.js → empty-C6XM9c0M.js} +1 -1
- package/dist/assets/{epic-B6fOiqme.js → epic-CkteLEKR.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-lFkn5gVk.js → filter-cZIFUNvj-yDtIQZZZ.js} +1 -1
- package/dist/assets/{getLocaleForTenant-YUfQHJdY.js → getLocaleForTenant-DIET8R83.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BPwbjUGz.js → gift-box-Cmt9OgIZ-a88q6Sec.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CaJy2HdS.js → graphic-no-data-l-DU4J8fDt-BXu_Erqy.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js → graphic-no-data-net-burn-l-CzmycA0m-CDJ9LscK.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BSOSNqUk.js → handshake-BPg58FML-DXXhI3e_.js} +1 -1
- package/dist/assets/{helper-DkzA3y2L-OUS27pTt.js → helper-COxPEvgL-B99qx9wP.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-CVVb97aA.js → hyperlink-DQyCeXx2-DDEc353Q.js} +1 -1
- package/dist/assets/{index-NZat51vK.js → index-BUTnHeUk.js} +1 -1
- package/dist/assets/{index-DubSD1fb.js → index-CDtqLLbw.js} +1 -1
- package/dist/assets/{index-Mhz2NAiD.js → index-CVe1fo1a.js} +7 -7
- package/dist/assets/{index-DqcXLX0N.js → index-CVjW2ppf.js} +1 -1
- package/dist/assets/{index-Dm85Hu6Z.js → index-CkLoBdAM.js} +1 -1
- package/dist/assets/{index-wicPWwlB.js → index-rcznrhDB.js} +1 -1
- package/dist/assets/{lexical-B-dyW3-4.js → lexical-eSt6-8-s.js} +1 -1
- package/dist/assets/{liveblocks-DJcRPJQh.js → liveblocks-DIb7UiB5.js} +1 -1
- package/dist/assets/{lottie-DdLBMmzp.js → lottie-DR43ghJ6.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-lABm-2N9-DqEFBCkO.js → mapLoadingInProgressToTreeNode-COOJxneh-Dn5oaOob.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-COcUb2pF-Bv4F43o8.js → mapSectionWithAcOnlyToTreeNode-CcuLqf_I-DlLPz3lr.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-L9lviHBs.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-m60AXXy6.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CvVUjW74-b4p2F7se.js → mapTimeframeBalancesToTreeNode-Cql9mEn3-BI70JNWv.js} +1 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-C3md0v2d.js +1 -0
- package/dist/assets/{media-player-V7uSzi45.js → media-player-t6imgqTs.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-B7YE6t0I.js → money-2cg1MuG4-BKLw88Z7.js} +1 -1
- package/dist/assets/{mui-Ckdcx_YE.js → mui-DcvwYC51.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-NqWvakND.js → page-detail-CWX5S47F-DYwfMchM.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-BvkWkaoT.js → page-summary-D7_VQHwN-Ccsx0X5Z.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-CROMd__p.js → panelSelectedMixin-Cddsb26L-oybQQD8A.js} +1 -1
- package/dist/assets/{pathToGoBack-C_2xxQDe.js → pathToGoBack-DgCvIIns.js} +1 -1
- package/dist/assets/{pdf-CwWlK-Dr.js → pdf-DA3UteIy.js} +3 -3
- package/dist/assets/{pdf-lib-DhaWOBih.js → pdf-lib-CB0YH404.js} +1 -1
- package/dist/assets/{plaid-BhP6n1uc.js → plaid-Dma9BWZs.js} +1 -1
- package/dist/assets/{pusher-8DhjdTCA.js → pusher-BpsMW-yL.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-BoUlFA9D.js → radio-default-CiSgisfh-DhACFBeo.js} +1 -1
- package/dist/assets/{react-CB4dPBRZ.js → react-B399TF4z.js} +3 -3
- package/dist/assets/{react-D-APY71d.js → react-CGustVKo.js} +1 -1
- package/dist/assets/{react-CGVKTtsW.js → react-CHYwPjVO.js} +1 -1
- package/dist/assets/{react-BwCmpEw6.js → react-DIlTJIev.js} +1 -1
- package/dist/assets/{react-D_0srhsg.js → react-DSe89Cs9.js} +1 -1
- package/dist/assets/{react-D4pZVe2B.js → react-DYy5XxA9.js} +1 -1
- package/dist/assets/{react-CE6422aE.js → react-Da-tqkFZ.js} +1 -1
- package/dist/assets/{react-BHDcRwxI.js → react-Gk8q99af.js} +1 -1
- package/dist/assets/{recharts-Dr1JzI4y.js → recharts-LOG_L3Q0.js} +1 -1
- package/dist/assets/{routePaths-DIayl1Jh.js → routePaths-B9s6SzIs.js} +1 -1
- package/dist/assets/{sentry-D-LCra2M.js → sentry-CFYfTv_F.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D5PHf2Tj.js → shield-DOlUxcFf-DouOIUSu.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-D85B38gI.js → spend-limit-D6SyboD4-DTJkvAlS.js} +1 -1
- package/dist/assets/toCOABalancesWithID-B70YK7cw-CXnt8iTO.js +1 -0
- package/dist/assets/{toChartData-B4ligi4c-p4U01oAp.js → toChartData-CWgd8E5c-DiIGKIgi.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js → transaction-placeholder-CpOwZAMG-9RLgCBK-.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-CSQ0fDLS.js → undo-b_3XZ5CX-4JO3_5lb.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-DDdPB9QU.js → unlock-BPWn2I5L-CncAfPJ6.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js → upload-reimbursement-receipt-O2N8vcO7-CX9b95cy.js} +1 -1
- package/dist/assets/{uploadAttachment-DgPDimcm-UTkUQwho.js → uploadAttachment-D1ybl0Fy-CsdIaI-4.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-3Ex--Idc.js → uploadReceipts-CIgkuVpu-BTLELte6.js} +1 -1
- package/dist/assets/{url-BK92KGZc.js → url-CG3dVLHq.js} +1 -1
- package/dist/assets/{url-DUid0IO0.js → url-Cds_9Ffk.js} +1 -1
- package/dist/assets/{useDeviceId-BCros22l.js → useDeviceId-Dzb269rv.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-Bx0ivBGf.js → useInitialThreadRequest-D4Yk6niJ.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Bs4IMufW.js → useLongPress-GCK2COYQ-BCXZNFDE.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BBaxYQlT.js → usp-line-BBd1wKwW-D0lXP7am.js} +1 -1
- package/dist/assets/{utils-CI1RvLss.js → utils-B0HnpOzO.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-CHdaZXOz.js → withTransactionSidePanel-BBzl-sYH.js} +1 -1
- package/dist/assets/{zeni-epic-state-B1zsDZZ4.js → zeni-epic-state-BZiG8B71.js} +3 -3
- package/dist/assets/{zeni-icon-only-Bb7XRMgX.js → zeni-icon-only-DWQkIW-o.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-v8-NT3FJ-CUWvVcbF.js +0 -18
- package/dist/assets/ApAgingDetailPage-6F47t31h-8q8np9Bg.js +0 -46
- package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-CcG8rFJP.js +0 -27
- package/dist/assets/CustomerOnboardingAuthScreen-CTZAVHXC.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-B2LOWvxI.js +0 -1
- package/dist/assets/EntityDetailPage-BDyO7iLI-y9lTygCJ.js +0 -18
- package/dist/assets/InsightsSection-rGyA4lY9-ljgWP3Nl.js +0 -27
- package/dist/assets/InvitePeoplePage-CpD7YoC2-BM5MmdPZ.js +0 -12
- package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-BPfQqaKe.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-2wvzfcTR.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-iL43dQWj.js +0 -1
- package/dist/assets/SummaryCard-B1d4_5lE-BRRY9IEV.js +0 -1
- package/dist/assets/TransactionListPage-PCa4exLO-IbUCrSXm.js +0 -35
- package/dist/assets/VendorACHDetailsPage-C0vIRpRW-BP-CVl2D.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-CqZDNLeP.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-CrNjnkNS-Dqicw5_O.js +0 -33
- package/dist/assets/common-Cws59IN1-tgtgUQp7.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-CqHdHAc2.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-C9QWz7EU.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-CwYCbZxF.js +0 -1
- package/dist/assets/toCOABalancesWithID-CGYYTIjt-CV8c8HPi.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{O as Y,V as s,y as _,an as O,w as $,ag as z,b as k,o as M,f as I,l as P}from"./index-
|
|
1
|
+
import{O as Y,V as s,y as _,an as O,w as $,ag as z,b as k,o as M,f as I,l as P}from"./index-CVe1fo1a.js";import{a as w,b as q}from"./sentry-CFYfTv_F.js";import{Fu as h}from"./zeni-epic-state-BZiG8B71.js";import{d as B,g as T,p as j,u as K}from"./chartTypes-BqRsL6eJ-D0sv3zgU.js";import{n as L}from"./mui-DcvwYC51.js";import{o as R}from"./toCOABalancesWithID-B70YK7cw-CXnt8iTO.js";import{V as N}from"./toChartData-CWgd8E5c-DiIGKIgi.js";import{J as V,E as A,X as G,Y as Q,F as W,Q as J,K as X}from"./recharts-LOG_L3Q0.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e05e555a-5aa3-4f04-bcb1-ab1eb2e77250",e._sentryDebugIdIdentifier="sentry-dbid-e05e555a-5aa3-4f04-bcb1-ab1eb2e77250")}catch{}})();const H=L.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,U=L.div`
|
|
4
4
|
flex: display;
|
|
@@ -13,4 +13,4 @@ import{O as Y,V as s,y as _,an as O,w as $,ag as z,b as k,o as M,f as I,l as P}f
|
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: space-between;
|
|
16
|
-
`,ee=q.memo(e=>{const t=(({active:a,payload:o,trendType:x})=>{const y=[];return o?.forEach(d=>{const m=d.name;if(d&&a&&d.value!==0){const i=d.payload,g=d.color,
|
|
16
|
+
`,ee=q.memo(e=>{const t=(({active:a,payload:o,trendType:x})=>{const y=[];return o?.forEach(d=>{const m=d.name;if(d&&a&&d.value!==0){const i=d.payload,g=d.color,f=m!=null&&i.record[m]!=null?i.record[m].amount:void 0;y.push({barName:x,value:f,color:g})}}),y})(e);return t.length?s.jsx(H,{children:s.jsx(U,{children:t.map((a,o)=>s.jsx(Z,{color:a.color,children:`${a.barName}: ${K(a.value)}`},a.barName+o))})}):null}),te=(e,t)=>{if(e!=null)switch(t){case"month":return e.monthly;case"quarter":return e.quarterly;case"year":return e.yearly;case"free_range":throw new Error("free_range dates are not supported!")}},E=[j("trend","actual")];function ve({firstMonthOfFY:e,trendReport:t,timeframe:a,selectedTimePeriod:o,graphColor:x,width:y,height:d,onTimeframeSelectionChanged:m}){const i=w.useRef(!1),g=o!=null?re(e,o,a):void 0,f=Y.getLocalizedStrings().reports.trend[t?.balancesKind];w.useEffect(()=>{i.current=!0},[]);const v=((p,u,c,l)=>{let r=[];if(l!=null){const n=te(l,c);n!=null&&n.length>0&&(r=R("trend","actual",n))}if(r.length>0){const n=j("trend","actual"),D={};return D[n]=r,N(p,u,n,D)}})(e,E,a,t);return v==null?null:s.jsx(ae,{chartData:v,timeframe:a,selectedLabel:g,barElements:(p=>{const u=[];return E.forEach(c=>{u.push(s.jsx(X,{name:c,isAnimationActive:i.current,dataKey:l=>{const r=l.record;return(r[c]!=null&&r[c].amount!=null?r[c].amount:void 0)?.amount??0},maxBarSize:36,fill:p.toString(),"data-testid":k(c,"bar")},c))}),u})(x),customToolTipContent:({active:p,payload:u})=>s.jsx(ee,{active:p,payload:u,trendType:f}),width:y,height:d,onTimeframeSelectionChanged:m})}const ae=({chartData:e,timeframe:t,selectedLabel:a,barElements:o,customToolTipContent:x,width:y,height:d,onTimeframeSelectionChanged:m})=>{const i=_(),[g,f]=w.useState([void 0,void 0]),v=e.timeseries,p=B(e),u=v.map(l=>l.label);w.useEffect(()=>{if(a!=null){const l=T(a.label,u,1);f(l)}else f([void 0,void 0])},[t,a]);const c=l=>{if(l?.activePayload==null||l?.activePayload.length===0)return;const r=l.activePayload[0];if(r?.payload?.record?.[j("trend","actual")]?.amount==null)return;const n=r.payload.record[j("trend","actual")].amount;if(n!=null&&n.amount===0||r?.payload?.timeLabel?.label==null)return;const D=r.payload.timeLabel.label,S=r.payload.timeLabel.startDate,C=r.payload.timeLabel.endDate,F=T(D,u,1);f(F),m?.(t,{startDate:S,endDate:C})};return s.jsx("div",{style:{width:y,height:d},"data-testid":k("simple-bar-chart"),children:s.jsx(O,{children:({height:l,width:r})=>s.jsxs(V,{"data-testid":k("bar-chart"),width:r,height:l,data:e.recordByTimeseries,barCategoryGap:"30%",margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto",cursor:"pointer"},onClick:c,children:[s.jsx(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:i.colors.grey3}),s.jsx(G,{dataKey:n=>n.timeLabel.label,type:"category",axisLine:{stroke:i.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:i.colors.hero,...$.extraSmallRegular.cssObject}}),s.jsx(Q,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...$.extraSmallRegular.cssObject},tickFormatter:n=>z("0,0.[00]a",n,p)}),s.jsx(W,{cursor:!1,content:x,allowEscapeViewBox:{x:!1,y:!0}}),a!=null&&s.jsx(J,{x1:g[0],x2:g[1],opacity:.3,fillOpacity:.3,stopOpacity:.1}),o]})})})},{dateFormat:b}=Y.getLocalizedStrings(),re=(e,t,a)=>{let o="";switch(a){case"week":o=t.startDate.month()!==t.endDate.month()?`${h(t.startDate,b.visual.MMMYYFormat,e)} - ${h(t.endDate,b.visual.MMMYYFormat,e)}`:`${h(t.startDate,b.visual.Dformat,e)} - ${h(t.endDate,b.visual.MMMDCommaYYYYformat,e)}`;break;case"month":o=`${h(t.startDate,b.visual.MMMYYFormat,e)}`;break;case"quarter":o=`${Y.getLocalizedStrings().quarterPrefix}${h(t.startDate,b.visual.QYYformat,e)}`;break;case"year":o=`${h(t.startDate,b.visual.YYYYformat,e)}`;break;case"free_range":throw new Error("free_range dates are not supported!")}return{label:o,startDate:t.startDate,endDate:t.endDate}};export{ve as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{e as k,V as i,L as C,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,m as a,l as B,a8 as V}from"./index-
|
|
1
|
+
import{e as k,V as i,L as C,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,m as a,l as B,a8 as V}from"./index-CVe1fo1a.js";import{a as R}from"./sentry-CFYfTv_F.js";import{n as r}from"./mui-DcvwYC51.js";import q from"./TrendChart-BvXDrgUJ-D_jexAAy.js";import{C as A}from"./NoDataChart-CuiKDcAB-DcvOdNkO.js";import{F as E}from"./InsightsSection-D9PJ55E6-BZ3NURYW.js";import{D as K}from"./TransactionList-BOmlsfpv-P61oqFED.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="baab76bd-2f97-471b-a118-db5c5a5c947c",e._sentryDebugIdIdentifier="sentry-dbid-baab76bd-2f97-471b-a118-db5c5a5c947c")}catch{}})();const J=r.div`
|
|
2
2
|
display: inline-block;
|
|
3
|
-
`,
|
|
3
|
+
`,U=r.div`
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey3};
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
@@ -12,12 +12,12 @@ import{e as k,V as i,L as C,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,
|
|
|
12
12
|
background-color: ${e=>e.theme.colors.grey2};
|
|
13
13
|
color: ${e=>e.theme.colors.primary};
|
|
14
14
|
}
|
|
15
|
-
`,
|
|
15
|
+
`,W=r.div`
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: row;
|
|
18
18
|
justify-content: center;
|
|
19
19
|
align-items: center;
|
|
20
|
-
`,
|
|
20
|
+
`,G=r(B)`
|
|
21
21
|
margin-right: ${n.sp2};
|
|
22
22
|
`,Q=r(V)`
|
|
23
23
|
width: ${n.sp3};
|
|
@@ -26,7 +26,7 @@ import{e as k,V as i,L as C,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,
|
|
|
26
26
|
&:hover {
|
|
27
27
|
color: inherit;
|
|
28
28
|
}
|
|
29
|
-
`;function
|
|
29
|
+
`;function X({selectedTimeframeTick:e,onTimeFilterClosed:t}){return i.jsx(J,{children:i.jsx(U,{onClick:()=>{t?.()},"data-testid":$("time-filter-indicator"),children:i.jsxs(W,{children:[i.jsx(G,{children:Z(e)}),i.jsx(Q,{preserveAspectRatio:"none"})]})})})}const Z=e=>{const t=e.startDate,c=L.getLocalizedStrings();return`${t.format(c.dateFormat.visual.MMMYYFormat)}`},ee={filterMarginLeft:new l(a[3],a[8])},ie=r.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex: 1 1 auto;
|
|
32
32
|
width: 100%;
|
|
@@ -45,7 +45,7 @@ import{e as k,V as i,L as C,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,
|
|
|
45
45
|
justify-content: center;
|
|
46
46
|
align-items: center;
|
|
47
47
|
margin-top: ${n.sp8};
|
|
48
|
-
`;function ae({firstMonthOfFY:e,selectedTimePeriod:t,showSelectedPeriodTags:c,fetchState:o,transactions:d,isDetailPage:g,onTransactionItemClick:f,onSelectedTimePeriodClear:h,onLoadPreviousTransactionsClick:P,onTransactionListHeightChanged:v}){const p=o==="In-Progress"||o==="Not-Started",j=d.length===0&&p,m=d.length>0&&p,T=g!==!0&&c!==!0?{isLoading:m&&(o==="In-Progress"||o==="Not-Started"),onLoadPreviousClick:(x,
|
|
48
|
+
`;function ae({firstMonthOfFY:e,selectedTimePeriod:t,showSelectedPeriodTags:c,fetchState:o,transactions:d,isDetailPage:g,onTransactionItemClick:f,onSelectedTimePeriodClear:h,onLoadPreviousTransactionsClick:P,onTransactionListHeightChanged:v}){const p=o==="In-Progress"||o==="Not-Started",j=d.length===0&&p,m=d.length>0&&p,T=g!==!0&&c!==!0?{isLoading:m&&(o==="In-Progress"||o==="Not-Started"),onLoadPreviousClick:(x,b)=>{P?.(x,b)}}:void 0,y=k();return i.jsx(ie,{"data-testid":$("trend-transactions-list-container"),children:j===!1?i.jsxs(i.Fragment,{children:[g===!1&&c===!0&&t!=null&&i.jsx(ne,{windowSize:y,children:i.jsx(X,{selectedTimeframeTick:t,onTimeFilterClosed:h})}),t!=null&&i.jsx(te,{"data-testid":$("trend-transactions-list"),children:i.jsx(K,{firstMonthOfFY:e,timeframe:"quarter",timePeriod:t,transactions:d,isFirstLotLoading:p&&!m,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:f,showLoadPrevious:T,onListInnerElementHeightChanged:v})})]}):i.jsx(re,{children:i.jsx(C,{size:"Standard",start:!0})})})}const s={headingMarginLeftRight:new l(a[3],a[8]),headingMarginTop:new l(a[3],a[6]),headingMarginTopDetail:new l(0,0),headingMarginBottom:new l(a[4],a[5]),chartMarginLeftRight:new l(a[3],a[8]),smallHeadingMarginTop:new l(a[7],a[5]),smallHeadingMarginBottom:new l(a[4],a[3])},S={trendChartHeight:360,emptyTrendChartHeight:new l(360,432),selectedTimeHeight:136,loaderTrendChartHeight:new l(470,470)},oe=r.div`
|
|
49
49
|
display: flex;
|
|
50
50
|
flex: 1 1 auto;
|
|
51
51
|
min-height: 100%;
|
|
@@ -113,4 +113,4 @@ import{e as k,V as i,L as C,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,
|
|
|
113
113
|
align-items: center;
|
|
114
114
|
height: ${e=>S.loaderTrendChartHeight.valuePx(e.windowSize)};
|
|
115
115
|
margin-top: ${n.sp8};
|
|
116
|
-
`;function
|
|
116
|
+
`;function Me({firstMonthOfFY:e,trendWithTransactionsReport:t,graphColor:c,isDetailPage:o,initialTransactionListHeight:d=5,page:g,onTransactionItemClick:f,onTimePeriodChange:h}){const P=t.fetchState!=="Completed",v=t.selectedPeriod??{timeframe:"quarter",timePeriod:t.transactionTimePeriod},p=v?.timeframe==="month",j=t.trendReport?.dataAvailable==null,m=t.trendReport?.trendReport,T=()=>{h?.("TransactionList")},y=(u,w)=>{const z={timeframe:w,addTimePeriod:u,currentTimePeriod:t.selectedPeriod?.timePeriod};h?.("TransactionListLoadMore",z)},x=k(),[b,I]=R.useState(d),M=R.useRef(null),D=()=>{const u=m?.insights!=null&&m?.insights.length>0;return i.jsxs(i.Fragment,{children:[j?t.trendReport?.fetchState==="In-Progress"&&t.fetchState==="Completed"?i.jsx(we,{windowSize:x,children:i.jsx(C,{size:"Standard",start:!0})}):i.jsx(he,{children:i.jsx(A,{title:L.getLocalizedStrings().chartCard.no_data_available})}):i.jsx(de,{windowSize:x,"data-testid":$("trend-with-transactions-chart",g),bottomMarginNeeded:!u,children:i.jsx(N,{children:({height:w,width:z})=>i.jsx(i.Fragment,{children:i.jsx(q,{firstMonthOfFY:e,trendReport:m,timeframe:"month",selectedTimePeriod:p===!0?v?.timePeriod:void 0,graphColor:c,onTimeframeSelectionChanged:(Y,O)=>{h?.("Chart",{timeframe:Y,addTimePeriod:O})},width:z,height:w})})})}),m?.insights!=null&&m?.insights.length>0&&i.jsx(se,{ref:M,children:i.jsx(E,{insights:m?.insights})})]})},F=u=>i.jsx(i.Fragment,{children:i.jsx(ae,{firstMonthOfFY:u.firstMonthOfFY,selectedTimePeriod:v?.timePeriod,showSelectedPeriodTags:p,isDetailPage:o,fetchState:t.transactionView?.fetchState??"Not-Started",transactions:t.transactionView?.transactions??[],onTransactionItemClick:f,onLoadPreviousTransactionsClick:y,onSelectedTimePeriodClear:T,onTransactionListHeightChanged:w=>{I(w)}})});return i.jsx(oe,{page:g,isDetailPage:o,children:P===!0?i.jsx(ue,{isDetailPage:o,children:i.jsx(C,{size:"Standard",start:!0})}):i.jsxs(i.Fragment,{children:[i.jsx(Pe,{windowSize:x,report:t,isDetailPage:o,page:g}),i.jsx(me,{windowSize:x,height:(u=>{const w=M.current!=null?M.current.clientHeight:56;return(j===!0?S.emptyTrendChartHeight.value(x):S.trendChartHeight)+(p===!0?S.selectedTimeHeight:0)+w+u})(b),children:o===!0?i.jsxs(i.Fragment,{children:[i.jsx(pe,{children:i.jsx(D,{})}),i.jsx(F,{firstMonthOfFY:e})]}):i.jsxs(i.Fragment,{children:[i.jsx(fe,{page:g,children:i.jsx(D,{})}),i.jsx(xe,{children:i.jsx(F,{firstMonthOfFY:e})})]})})]})})}const Pe=({windowSize:e,report:t,isDetailPage:c,page:o})=>{const d=t.trendReport?.trendReport;if(d==null)return null;const g=d?.balancesKind==="income"?d.customer.name:d.vendor.name,f=L.getLocalizedStrings().reports.trend[d?.balancesKind],h=$("trend-with-transactions-chart-container-title",o);if(c)return i.jsx(ge,{windowSize:e,"data-testid":h,children:f});const P=g+" "+f;return o==="vendorDetailPage"?i.jsx(ce,{windowSize:e,"data-testid":h,children:f}):i.jsx(le,{windowSize:e,"data-testid":h,children:P})};export{Me as R};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,A as cn,hh as sn,L as an,a9 as ln,f0 as dn,O as G,hi as _e,x as u,l as rn,o as a,cc as ye,ad as N,ga as oe,hj as te,hk as Z,hl as un,m as r,d as fe,f as Ae,fu as Ve,C as Se,aD as pn}from"./index-
|
|
1
|
+
import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,A as cn,hh as sn,L as an,a9 as ln,f0 as dn,O as G,hi as _e,x as u,l as rn,o as a,cc as ye,ad as N,ga as oe,hj as te,hk as Z,hl as un,m as r,d as fe,f as Ae,fu as Ve,C as Se,aD as pn}from"./index-CVe1fo1a.js";import{a as K}from"./sentry-CFYfTv_F.js";import{n as s}from"./mui-DcvwYC51.js";import{Gl as Te,FZ as mn,F_ as gn,cU as xn}from"./zeni-epic-state-BZiG8B71.js";import{h as hn}from"./VendorsAccountsSection-DorsKXyL-B5FHsSOL.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="af562d27-8437-4cbf-9317-0716187a7621",e._sentryDebugIdIdentifier="sentry-dbid-af562d27-8437-4cbf-9317-0716187a7621")}catch{}})();const $={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new fe("standardMedium","largeMedium")},bn=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>$.rowGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a7 as S,V as t,hn as _,ho as W,e as T,O,bR as L,c as k,bS as U,bT as z,T as R,A as G,ci as M,cf as D,x as b,cg as H,f as A,k as J,L as K,a as Q,o as i,l as X,m as F,D as Y,au as Z}from"./index-
|
|
1
|
+
import{a7 as S,V as t,hn as _,ho as W,e as T,O,bR as L,c as k,bS as U,bT as z,T as R,A as G,ci as M,cf as D,x as b,cg as H,f as A,k as J,L as K,a as Q,o as i,l as X,m as F,D as Y,au as Z}from"./index-CVe1fo1a.js";import{a as l}from"./sentry-CFYfTv_F.js";import{n as f}from"./mui-DcvwYC51.js";import{bG as ee,bs as te}from"./zeni-epic-state-BZiG8B71.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c9af28e4-3818-471b-9332-cc3ad6a68813",e._sentryDebugIdIdentifier="sentry-dbid-c9af28e4-3818-471b-9332-cc3ad6a68813")}catch{}})();const x={labelWidth:new b(152,176,176),smallLabelWidth:new b(92,110,110),paddingBottom:new b(F[3],F[2]),width:new b(300,420,420)},ie=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{T as M,f1 as g,a7 as W,e as q,O as A,c8 as G,V as i,A as H,b as J,f2 as K,o as a,f as Q,cj as X,a9 as Y,x as y,a8 as Z,c2 as ee,au as te,at as ie,m as d}from"./index-
|
|
1
|
+
import{T as M,f1 as g,a7 as W,e as q,O as A,c8 as G,V as i,A as H,b as J,f2 as K,o as a,f as Q,cj as X,a9 as Y,x as y,a8 as Z,c2 as ee,au as te,at as ie,m as d}from"./index-CVe1fo1a.js";import{a as c}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{F6 as ae}from"./zeni-epic-state-BZiG8B71.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="d42f3c16-2b65-4116-8879-6322dba96ccf",e._sentryDebugIdIdentifier="sentry-dbid-d42f3c16-2b65-4116-8879-6322dba96ccf")}catch{}})();const b={marginRight:new y(d[3],d[8]),marginLeft:new y(d[3],d[8]),height:new y(d[5],62)},f="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:m,authParams:x,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:z,onCompanyOfficerUpdated:C}=e,l=M({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,S]=c.useState(!1),[N,O]=c.useState(!1),$=W(u.fetchState),w=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},V=Object.values(w??{}).filter(r=>r!=null),L=ae(V);c.useEffect(()=>{$==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[$,u,l,t?.additionalFiles]);const n=q(),p=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:h}=p,_=`${h.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=l.handleSubmit(()=>{L.fetchState!=="In-Progress"&&z?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch((j,{name:I})=>{I!=null&&j!=null&&G(()=>(async(R,U)=>{const D=U[f].front;R.includes("front")&&D?.fileId!=null?(C?.(t?.officerType??"Officer_1",[D?.fileId]),S(!0)):S(!1)})(I,j))});return()=>{r.unsubscribe()}}),i.jsx(H,{...l,children:i.jsxs("form",{id:f,onSubmit:k,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:F,"data-testid":J("upload-additional-documents-close",f)})}),i.jsxs(fe,{children:[i.jsx(se,{children:h.title[s]}),i.jsx(oe,{children:h.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:_})}),i.jsx(K,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:X,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:w,updateFileStatusById:B,filesEndPoint:m,authParams:x,hasError:N,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:r=>O(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Y,{formId:f,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
|
|
2
2
|
margin-top: 19px;
|
|
3
3
|
color: ${e=>e.theme.colors.primary};
|
|
4
4
|
margin-bottom: ${a.sp2};
|
package/dist/assets/{Vendor2FAPopup-dh2g8kqu-DmCsxO0l.js → Vendor2FAPopup-C8m_OJEH-D165qdUh.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a7 as a,O as w,V as r,hn as x,ho as P}from"./index-
|
|
1
|
+
import{a7 as a,O as w,V as r,hn as x,ho as P}from"./index-CVe1fo1a.js";import{a as n}from"./sentry-CFYfTv_F.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./mui-DcvwYC51.js";import"./recharts-LOG_L3Q0.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="0f8b20de-f6ae-407b-b94c-abd6714c7b46",t._sentryDebugIdIdentifier="sentry-dbid-0f8b20de-f6ae-407b-b94c-abd6714c7b46")}catch{}})();const A=({vendorViewDetails:t,isExpressPayPage:o,onSaveVendor:p,onGetOtp:h,onResendOtp:S,onVerifyOtp:g,onVerifyOtpSuccess:f})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:b}=t,c=Object.assign({},m??b),[V,i]=n.useState(!1),[y,s]=n.useState(e.initiateVerification===!0),d=a(c?.saveStatus?.fetchState),C=a(e.userVerificationStatus.fetchState),u=a(e.otpVerificationStatus?.fetchState),l=a(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return n.useEffect(()=>{d==="In-Progress"&&c?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&s(!0)},[c,e,d]),n.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(i(!1),p())},[e.userVerificationStatus]),n.useEffect(()=>{u==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&f?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[u,e,f]),n.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(i(!0),s(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!o,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>i(!1),onResendOtp:S,onEditButtonClick:()=>{s(!0),i(!1)}}}):y===!0?r.jsx(P,{showHelperText:!o,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:o?O:void 0,action:{onCancelClick:()=>s(!1),onGetCodeClick:I=>h?.(I)}}):null})};export{A as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as f}from"./index-CVe1fo1a.js";import{a as m}from"./sentry-CFYfTv_F.js";import{f as u}from"./ACHDetailsPage-DKTSwNyl-CDIFOfdq.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./mui-DcvwYC51.js";import"./recharts-LOG_L3Q0.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js";import"./MagicLinkTitleSection-CtsQ_c44-DD1X6fG2.js";import"./BankAccountSection-4vXBKCFA-DKXdSrK9.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="3cd827ec-acfd-4676-a266-4b74d4f6ae38",t._sentryDebugIdIdentifier="sentry-dbid-3cd827ec-acfd-4676-a266-4b74d4f6ae38")}catch{}})();const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:c,fetchBankNameByRoutingStatus:p}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),f.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{R as default};
|
package/dist/assets/{VendorDetailPage-CGqoIODq-BvUdf9jN.js → VendorDetailPage-Y9_hsgjs-C9Wt_5QU.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Ye,e as le,x as g,S as $e,cb as
|
|
1
|
+
import{y as Ye,e as le,x as g,S as $e,cb as wt,T as bt,gz as De,gA as ft,ad as Ct,c8 as St,V as t,aZ as $t,A as Dt,gB as jt,gC as ye,m as n,c9 as Lt,a9 as Tt,a_ as _t,O as A,gD as Ge,gE as Qe,gF as Ze,o as s,bg as $,cc as Vt,b as u,ga as je,gG as kt,cd as It,ce as Ot,cf as Pt,gH as Mt,fE as zt,ck as Ft,gI as Nt,gJ as Wt,f as R,ar as Je,C as Ke,bj as Ht,aj as Rt,gK as At,gL as Bt,l as Et,bO as Ut,cQ as qt,cs as Yt,ag as pe,gM as Gt,bH as Xe,gN as Qt,d as Le,M as et}from"./index-CVe1fo1a.js";import{a as S}from"./sentry-CFYfTv_F.js";import{n as o,c as Zt}from"./mui-DcvwYC51.js";import{bQ as Te,Gh as Jt,Gi as Kt}from"./zeni-epic-state-BZiG8B71.js";import{R as Xt}from"./SubTabSwitcher-D1LNrhUn-k7hSwnGE.js";import{D as ea}from"./TransactionList-BOmlsfpv-P61oqFED.js";import{R as ta}from"./TrendWithTransactions-RCpzdPf3-B6dzBDBs.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-CWRd961V.js";import{C as oa}from"./LabeledAddressValueField-CAr-IiTa-hz8acdw2.js";import{Y as na}from"./LabeledDropDownFormattedTextField-B39DlufR-DdaTss6V.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./ConstrainedInnerElement-CgdnMeoA-Dk4QFttG.js";import"./BoxItem-CIyMdw2s-BlAcmWAT.js";import"./commonDimensions-CzWWgDTA-C5sl3WWf.js";import"./panelSelectedMixin-Cddsb26L-oybQQD8A.js";import"./TrendChart-BvXDrgUJ-D_jexAAy.js";import"./chartTypes-BqRsL6eJ-D0sv3zgU.js";import"./toCOABalancesWithID-B70YK7cw-CXnt8iTO.js";import"./toChartData-CWgd8E5c-DiIGKIgi.js";import"./NoDataChart-CuiKDcAB-DcvOdNkO.js";import"./InsightsSection-D9PJ55E6-BZ3NURYW.js";import"./NavigationDots-Kh5ODrCQ-DwZ3hrog.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="725f063f-a5b1-4361-aac5-28dc435422be",e._sentryDebugIdIdentifier="sentry-dbid-725f063f-a5b1-4361-aac5-28dc435422be")}catch{}})();const ia=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: center;
|
|
@@ -109,10 +109,10 @@ import{y as Ye,e as le,x as g,S as $e,cb as bt,T as wt,gz as De,gA as ft,ad as C
|
|
|
109
109
|
display: flex;
|
|
110
110
|
flex-direction: column;
|
|
111
111
|
row-gap: ${s.sp1};
|
|
112
|
-
`,
|
|
112
|
+
`,wa=o.div`
|
|
113
113
|
display: flex;
|
|
114
114
|
justify-content: ${e=>e.isMobile?"flex-start":"flex-end"};
|
|
115
|
-
`,ue=o.div``,
|
|
115
|
+
`,ue=o.div``,ba=({spend:e,vendorName:a,vendorLogo:d,isPageLoading:l,isSpendTrendLoading:i,onPercentChangeClick:r})=>{const c=le(),x=A.getLocalizedStrings().spendManagement.billPay.vendorCreation.vendorDetails.spends,h=c==="small"||c==="medium-compact",w=(M,b)=>b==null?null:M==="increased"?t.jsxs(ua,{onClick:r,"data-testid":u("vendor_detail_score_badge",b),children:[t.jsx(aa,{width:s.sp3,height:s.sp3}),t.jsx(ge,{children:b})]}):M==="decreased"?t.jsxs(va,{onClick:r,"data-testid":u("vendor_detail_score_badge",b),children:[t.jsx(sa,{width:s.sp3,height:s.sp3}),t.jsx(ge,{children:b})]}):t.jsx(ya,{onClick:r,"data-testid":u("vendor_detail_score_badge",b),children:t.jsxs(ge,{children:[b,"%"]})});return t.jsxs(ga,{isMobile:h,size:c,children:[l===!0?t.jsxs(Ve,{isMobile:h,children:[t.jsx(Ut,{width:n[6],height:n[6]}),t.jsx($,{width:140,height:n[6]}),t.jsx($,{width:70,height:n[5]})]}):t.jsxs(Ve,{isMobile:h,children:[d!=null?t.jsxs(Oe,{children:[t.jsx(qt,{photoUrl:d.toString(),styles:{width:O.logoWidth.valuePx(c),height:O.logoHeight.valuePx(c)}}),h?t.jsx(Ie,{"data-testid":u("vendor-detail-name",a),children:a}):t.jsx(ke,{"data-testid":u("vendor-detail-name",a),children:a})]}):t.jsxs(Oe,{children:[t.jsx(Yt,{name:a,size:s.sp6}),h?t.jsx(Ie,{"data-testid":u("vendor-detail-name",a),children:a}):t.jsx(ke,{"data-testid":u("vendor-detail-name",a),children:a})]}),w(e.changeType,e.percentChange)]}),i||l?t.jsx(_e,{size:c,isMobile:h,children:[...Array(3)].map((M,b)=>t.jsxs(xa,{children:[t.jsx($,{width:O.spendTrendHeadingSkeletonWidth.value(c),height:n[4]}),t.jsx(wa,{isMobile:h,children:t.jsx($,{width:O.spendTrendHeadingSkeletonWidth.value(c)/2,height:n[4]})})]},b))}):t.jsxs(_e,{size:c,isMobile:h,children:[t.jsxs(ue,{children:[t.jsx(me,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_30_days_label"),children:x.last30Days}),t.jsx(he,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_30_days_amount"),children:pe("0,0.[00]",e.last30DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_90_days_label"),children:x.last90Days}),t.jsx(he,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_90_days_amount"),children:pe("0,0.[00]",e.last90DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_ytd_spend_label"),children:x.ytdSpend}),t.jsx(he,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_ytd_spend_amount"),children:pe("0,0.[00]",e.yearToDateSpend,e.currencySymbol)})]})]})]})},P={labelWidth:new g(120,145,270),largeLabelWidth:new g(130,200,332),largeTinLabelWidth:new g(130,200,276),controlWidth:new g(110,145,160),labelMarginLeft:new g(n[3],n[4]),labelMarginTop:new g(n[2],n[3]),labelMarginBottom:new g(n[2],n[3])},G=(e,a)=>`${e}.${a}`,fa=A.getLocalizedStrings().spendManagement,ne=A.getLocalizedStrings().companyPassport,Q=fa.billPay.vendorCreation,_=A.getLocalizedStrings().common,Ca=({vendorTypeList:e=[],isDisabled:a,sectionId:d,selectedVendorDetails:l,onAddressClick:i})=>{const r=le(),c=P.labelWidth.value(r),x=P.largeLabelWidth.value(r),h=P.largeTinLabelWidth.value(r),w=P.controlWidth.value(r);return t.jsxs(Sa,{children:[t.jsx($a,{children:Q.vendorDetails.titleFor1099Section}),t.jsxs(Da,{children:[t.jsx(It,{isDisabled:a,label:{label:ne.companyInfo.legalName,width:c},text:{type:"text",style:{width:w},name:G(d,"legalName"),placeholder:Pt(ne.companyInfo.legalName),defaultValue:l.vendorBasic.legalName,autoComplete:"new-password",options:{required:!!l.vendorBasic.legalName,pattern:Ot}},style:{width:"100%"}}),t.jsx(ve,{}),t.jsxs(Pe,{children:[t.jsx(La,{width:x,windowSize:r,children:Q.vendorDetails.vendorType}),t.jsx(ja,{size:r,children:t.jsx(Mt,{name:G(d,"vendorType"),value:{allTypes:e,selectedType:l.vendorDetailLocalData?.vendorType},placeholderLabel:Q.placeholders.type})})]}),t.jsx(ve,{}),t.jsx(Pe,{children:t.jsx(na,{name:G(d,"tinType"),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:l.vendorDetailLocalData?.tin?.type??_.strings.empty,dropDownList:[{code:_.texts.ein,label:_.texts.ein.toUpperCase()},{code:_.texts.ssn,label:_.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:h},placeholderLabel:Q.placeholders.tinType,formattedText:{type:"text",name:G(d,"tinValue"),placeholder:Q.placeholders.tinValue,format:l.vendorDetailLocalData?.tin?.type===_.texts.ssn?Nt:Wt,registerOptions:{required:!!l.vendorDetailLocalData?.tin?.type,pattern:l.vendorDetailLocalData?.tin?.type===_.texts.ssn?zt:Ft},style:{width:"100%",height:s.sp6},defaultValue:l.vendorDetailLocalData?.tin?.value??_.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:l.vendorDetailLocalData?.tin?.type===null?"disabled":void 0}})}),t.jsx(ve,{}),t.jsx(oa,{isDisabled:a,label:{label:ne.companyInfo.address,width:c},addressValueField:{name:G(d,"address"),placeholder:ne.address.titleAdd,defaultValue:l.vendorNewAddressStatus?.addressToCreate,onClick:()=>i("vendor_address",l.vendorAddress?.addressId)},showAdditionalInfoLabel:!1,style:{width:"100%"}})]})]})},Sa=o.div`
|
|
116
116
|
display: flex;
|
|
117
117
|
flex-direction: column;
|
|
118
118
|
padding-top: ${s.sp5};
|
|
@@ -168,7 +168,7 @@ import{y as Ye,e as le,x as g,S as $e,cb as bt,T as wt,gz as De,gA as ft,ad as C
|
|
|
168
168
|
width: ${e=>e.width}px;
|
|
169
169
|
color: ${e=>e.theme.colors.hero};
|
|
170
170
|
margin: ${e=>`${P.labelMarginTop.valuePx(e.windowSize)} ${P.labelMarginLeft.valuePx(e.windowSize)} ${P.labelMarginBottom.valuePx(e.windowSize)} ${P.labelMarginLeft.valuePx(e.windowSize)}`};
|
|
171
|
-
`,Me=A.getLocalizedStrings().vendors.common.transactionTabTitles,Ta=[{id:"spend_transactions",label:Me.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Me.allTransactions,leftMargin:!0,style:{width:122,left:60}}],ze={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},H=(e,a)=>`${e}.${a}`,at=A.getLocalizedStrings(),{common:ie,cockpit:Fe}=at,V=at.spendManagement.billPay.vendorCreation,_a=({accountsHierarchyList:e,allAccounts:a,allClasses:d,allOwners:l,classHierarchyList:i,enableRecommendationUpdateCheckbox:r,readOnlyMode:c,isDisabled:x,recommendations:h,sectionId:
|
|
171
|
+
`,Me=A.getLocalizedStrings().vendors.common.transactionTabTitles,Ta=[{id:"spend_transactions",label:Me.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Me.allTransactions,leftMargin:!0,style:{width:122,left:60}}],ze={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},H=(e,a)=>`${e}.${a}`,at=A.getLocalizedStrings(),{common:ie,cockpit:Fe}=at,V=at.spendManagement.billPay.vendorCreation,_a=({accountsHierarchyList:e,allAccounts:a,allClasses:d,allOwners:l,classHierarchyList:i,enableRecommendationUpdateCheckbox:r,readOnlyMode:c,isDisabled:x,recommendations:h,sectionId:w,selectedAccountId:M,selectedClassId:b,selectedOwnerId:Z,selectedVendorDetails:f,uiState:E,isFiling1099FeatureEnabled:J,onClickShowMoreOrLess:de})=>{const K=le(),X=Ye(),{getValues:ee}=Vt(),U=ze.labelWidth.value(K),re=ze.controlWidth.value(K),te=V.vendorDetails.recommendation.tooltip,ce=te.category.replace("__based__",f?.vendorDetailLocalData?.recommendedCategory?.reason?.toLocaleLowerCase()??""),B=te.class.replace("__based__",f?.vendorDetailLocalData?.recommendedClass?.reason?.toLocaleLowerCase()??""),z=f?.vendorDetailLocalData?.recommendedCategory!=null&&!!r,q=f?.vendorDetailLocalData?.recommendedClass!=null&&!!r;return t.jsxs(Va,{children:[t.jsxs(ka,{children:[t.jsx(Ia,{"data-testid":u("vendor_detail_section_title"),children:V.vendorDetails.title}),J?t.jsxs(Pa,{onClick:()=>de(),"data-testid":u("vendor_detail_show_more_button"),children:[E?.collapsableStatus==="expand"?`${ie.show}${ie.strings.space}${Fe.subscription.lessBtnText}`:`${ie.show}${ie.strings.space}${Fe.subscription.moreBtnText}`,E?.collapsableStatus==="expand"?t.jsx(Ma,{}):t.jsx(za,{})]}):null]}),t.jsxs(Oa,{children:[t.jsx(je,{isLoading:!1,label:{label:V.vendorDetails.category,width:U},groupedSingleSelectField:{name:H(w,"vendorCategory"),placeholder:V.placeholders.category,valueToInfo:j=>(F=>a.filter(N=>N.accountId===F)[0]?.coaId??"")(j),defaultValue:{selectedOption:M,allOptions:Qe(e,h)},style:{width:"auto"},registerOptions:{required:!1},shouldShowChevronIcon:z},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${X.colors.grey3}`},isDisabled:c?"readonly":x,disableCurrentOption:j=>{const F=a.find(N=>N.accountId===j)?.accountName;return[At,Bt].includes(F??"")},fullWidthSelect:!1,zIndexOnFocus:!0,recommendationCheckboxField:f?.vendorDetailLocalData?.recommendedCategory!=null&&r?{tooltipProps:{text:ce},label:{label:f?.vendorDetailLocalData?.recommendedCategory?.accountName},checkBoxField:{name:H(w,"isRecommendedCategorySelected"),defaultChecked:ee(H(w,"isRecommendedCategorySelected"))}}:void 0}),t.jsx(je,{isLoading:!1,label:{label:V.vendorDetails.class,width:U},zIndexOnFocus:!0,groupedSingleSelectField:{name:H(w,"vendorClass"),placeholder:V.placeholders.class,valueToInfo:j=>(F=>d.filter(N=>N.classId===F)[0]?.accountingClassNumber??"")(j),defaultValue:{selectedOption:b,allOptions:Ge(i,h)},registerOptions:{required:!1},style:{width:"auto"},shouldShowChevronIcon:q},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${X.colors.grey3}`},isDisabled:c===!0?"readonly":x,fullWidthSelect:!1,recommendationCheckboxField:f?.vendorDetailLocalData?.recommendedClass!=null&&r?{tooltipProps:{text:B},label:{label:f?.vendorDetailLocalData?.recommendedClass?.className},checkBoxField:{name:H(w,"isRecommendedClassSelected"),defaultChecked:ee(H(w,"isRecommendedClassSelected"))}}:void 0}),t.jsx(kt,{label:{label:V.vendorDetails.vendorOwner,width:U},userSingleSelectField:{name:H(w,"vendorOwner"),placeholder:V.placeholders.owner,defaultValue:{allOptions:Ze(l),selectedOption:Z},registerOptions:{required:!1},style:{width:"auto"}},isDisabled:c===!0?"readonly":x,style:{justifyContent:"space-between"},controlWidth:re,fullWidthSelect:!1})]})]})},Va=o.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
flex-direction: column;
|
|
174
174
|
padding-top: ${s.sp3};
|
|
@@ -254,4 +254,4 @@ import{y as Ye,e as le,x as g,S as $e,cb as bt,T as wt,gz as De,gA as ft,ad as C
|
|
|
254
254
|
display: flex;
|
|
255
255
|
flex-direction: column;
|
|
256
256
|
transition: ${e=>e.collapsableStatus==="collapse"?"height 400ms ease-out":"height 200ms ease-in"};
|
|
257
|
-
`,Ua=[{label:k.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:k.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:k.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:k.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:k.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:k.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:k.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:k.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],Ss=({isFiling1099FeatureEnabled:e,vendorDetailView:a,firstMonthOfFY:d,vendorLogo:l,readOnlyMode:i,isDisabled:r,scrollToTrend:c,allTransactionsTabData:x,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:b,onSaveSuccess:M,saveVendorDetailLocalData:w,onCancelClick:Z,onTrendSelectedPeriodChange:f,onTransactionItemClick:E,onSpendTrendPercentChangeClick:J,onSaveVendor:de,onVendorSpendTrendFilterTabClick:K,onAddressClick:X,saveContactsInVendorTabDetailLocalData:ee,onVendorDetailUIChange:U,sidePanelIsFullView:re,sidePanelIsOpen:te,panelContent:ce})=>{const B=Ye(),z=le(),q=S.useRef(null),[j,F]=S.useState(!1),[N,st]=S.useState(I.transactionListHeight.value()),be=a?.selectedTabType,we=Ta,p=Object.assign({},a?.vendorViewDetails?.vendorView),L=a?.vendorViewDetails.vendorView?.vendorDetailLocalData,ae=a?.uiState,ot=!$e(p!=null&&p.vendorAddress!=null?Te(p.vendorAddress):p.vendorAddress,p.vendorNewAddressStatus?.addressToCreate!=null?Te(p.vendorNewAddressStatus?.addressToCreate):p.vendorNewAddressStatus?.addressToCreate),nt=(p?.vendorDetailLocalData?.contacts??[]).filter(m=>m.email!==v.common.strings.empty||m.fullName!==v.common.strings.empty||m.phone!==v.common.strings.empty).map(m=>bt(m,"contactInfoType")),fe=S.useMemo(()=>p.vendorBasic?.contacts??[],[p.vendorBasic?.contacts]),it=!$e(nt,fe),se=wt({mode:"all",defaultValues:qe(a?.vendorViewDetails.accountsHierarchyList??[],a?.vendorViewDetails.classHierarchyList??[],a?.vendorViewDetails.vendorTypeList??[],a?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,a?.vendorViewDetails.vendorView?.vendorDetailLocalData,a?.vendorViewDetails.ownerList),values:qe(a?.vendorViewDetails.accountsHierarchyList??[],a?.vendorViewDetails.classHierarchyList??[],a?.vendorViewDetails.vendorTypeList??[],a?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,a?.vendorViewDetails.vendorView?.vendorDetailLocalData,a?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[lt,dt]=S.useState(-1),rt=p.vendorDetailLocalData?.contacts!=null&&p.vendorDetailLocalData?.contacts.length>0?p.vendorDetailLocalData?.contacts:De,[ct,pt]=S.useState(ft(rt));S.useEffect(()=>{c===!0&&j===!1&&a?.trendWithTransactions.trendReport?.fetchState==="Completed"&&a?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(q.current?.offsetTop??0)+I.navbarHeight,behavior:"smooth"}),F(!0))},[c,j,a?.trendWithTransactions.trendReport?.fetchState,a?.trendWithTransactions.transactionView?.fetchState]);const mt=new Ct(B.colors.graphColor12),T=a?.fetchState==="Not-Started"||a?.fetchState==="In-Progress",ht=a?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",gt=a?.trendWithTransactions.trendReport?.fetchState==="In-Progress",ut=(m,C)=>{f?.(C)};S.useEffect(()=>{a?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&M?.()},[p]);const vt=S.useCallback(()=>{window.scrollTo({top:(q.current?.offsetTop??0)+I.navbarHeight,behavior:"smooth"}),J?.()},[J]);S.useEffect(()=>{const m=se.watch((C,{name:Se})=>{Se!=null&&C!=null&&St(()=>(async(oe,Y)=>{const D=Y;if(oe.includes("isRecommendedCategorySelected")){const W=Y[y].isRecommendedCategorySelected===!0?p?.vendorDetailLocalData?.recommendedCategory?.accountId:p?.vendorBasic?.account?.accountId;D[y].vendorCategory={selectedOption:W,allOptions:Y[y].vendorCategory.allOptions}}if(oe.includes("isRecommendedClassSelected")){const W=Y[y].isRecommendedClassSelected===!0?p.vendorDetailLocalData?.recommendedClass?.classId:p?.vendorBasic?.class?.classId;D[y].vendorClass={selectedOption:W,allOptions:Y[y].vendorClass.allOptions}}if(oe.includes("vendorCategory")){const W=D[y].vendorCategory.selectedOption===D[y].recommendedCategory?.accountId;D[y].isRecommendedCategorySelected=W}if(oe.includes("vendorClass")){const W=D[y].vendorClass.selectedOption===D[y].recommendedClass?.classId;D[y].isRecommendedClassSelected=W}yt(D)})(Se,C))});return()=>{m.unsubscribe()}});const yt=m=>{const C=qa(m,p.vendorBasic?.id,L);w?.(C)},xt={isLoading:a?.allVendorTransactionsView?.fetchState==="In-Progress"||a?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(m,C)=>{b(m,(x?.numberOfQuartersFetched??0)+1)}},Ce=we.find(m=>be===m.id);return t.jsx($t,{isOpen:te??!1,isFullView:re??!1,panelContent:ce,headerContent:t.jsxs(t.Fragment,{children:[t.jsx(_t,{onBackClick:Z,title:p.vendorBasic?.name??v.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:B.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),a?.vendorSpend!=null?t.jsx(wa,{isPageLoading:T,vendorName:p.vendorBasic?.name??v.common.strings.empty,spend:a?.vendorSpend,vendorLogo:l,isSpendTrendLoading:gt,onPercentChangeClick:vt}):null]}),listContent:t.jsxs(Wa,{children:[T===!0&&t.jsx(Ue,{isPageLoading:T,children:t.jsx(Ee,{size:z,children:t.jsx(Na,{})})}),T===!1&&p.vendorDetailLocalData!=null&&t.jsxs(Ue,{isPageLoading:T,children:[t.jsx(Ee,{size:z,children:t.jsx(Dt,{...se,children:t.jsxs("form",{id:Ae(Be),onSubmit:se.handleSubmit(de),children:[t.jsx(_a,{sectionId:y,selectedVendorId:L?.vendorId,selectedVendorDetails:p,selectedAccountId:L?.vendorCategory,selectedClassId:L?.vendorClass,selectedOwnerId:L?.vendorOwner,recommendations:L?.recommendations??[],allAccounts:a?.vendorViewDetails.accountList.accounts??[],allClasses:a?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:L?.vendorName,allOwners:a?.vendorViewDetails.ownerList??[],readOnlyMode:i,isDisabled:r,accountsHierarchyList:a?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:a?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:ae,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:()=>{U?.(ae?.collapsableStatus==="expand"?"collapse":"expand")}}),e&&ae?.collapsableStatus==="expand"?t.jsxs(Ea,{collapsableStatus:ae?.collapsableStatus??"expand",children:[t.jsx(Ca,{selectedVendorDetails:p,isDisabled:r,onAddressClick:X,sectionId:xe,vendorTypeList:a?.vendorViewDetails.vendorTypeList??[]}),t.jsx(jt,{emailRequired:!1,vendorContactInfos:De,sectionId:ye,vendorContactInfoWithType:ct,setVendorContactInfoWithType:m=>{pt(m),ee?.(L?.vendorId??v.common.strings.empty,m)},deleteContactConfirmationIndex:lt,updateContactDeleteConfirmationIndex:dt,initialContactList:fe})]}):null]})})}),Ce!=null?t.jsxs(Ra,{children:[t.jsx(Ba,{children:t.jsx(ha,{allTabs:we,containerStyle:{marginLeft:n[8],marginRight:n[8],borderBottom:`1px solid ${B.colors.grey3}`,backgroundColor:B.colors.grey4,justifyContent:"left"},selectedTab:Ce,onOptionSelectionChanged:m=>{h(Jt(m.id))}})}),be==="all_transactions"?t.jsx(Ha,{height:N,children:T===!1&&x?.timePeriod!=null?t.jsx(ea,{firstMonthOfFY:d,timeframe:"quarter",timePeriod:x.timePeriod,transactions:a?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:T,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:E,onListInnerElementHeightChanged:m=>{st(m)},showLoadPrevious:xt}):null}):a?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{allTabs:Ua,selectedTab:a.vendorSpendTrendFilterTabValue,onTabChange:m=>{const C=Kt(m.id);C!=null&&K(C)},containerStyle:{marginLeft:n[8],marginRight:n[8]}}),t.jsx(Aa,{ref:q,"data-testid":u("vendor_detail_spend_trend_section"),children:t.jsx(ta,{firstMonthOfFY:d,trendWithTransactionsReport:a?.trendWithTransactions,isDetailPage:!1,graphColor:mt,initialTransactionListHeight:I.transactionListHeight.value(z),page:"vendorDetailPage",onTimePeriodChange:ut,onTransactionItemClick:E})})]}):null]}):null]}),!T&&i!==!0&&(Lt(se.formState.dirtyFields)||ot||it)?t.jsx(Tt,{formId:Ae(Be),primaryBtn:{label:Re.save,isLoading:ht,style:{width:I.buttonWidth.value(z)},isDisabled:!1},cancelBtn:{label:Re.cancel,style:{width:I.buttonWidth.value(z)},onClick:Z}}):null]})})},qe=(e,a,d,l,i,r)=>({[y]:{vendorName:i?.vendorName??v.common.strings.empty,vendorOwner:{allOptions:Ze(r),selectedOption:i?.vendorOwner},vendorCategory:{allOptions:Qe(e,i?.recommendations),selectedOption:i?.vendorCategory},vendorClass:{allOptions:Ge(a,i?.recommendations),selectedOption:i?.vendorClass},recommendedCategory:i?.recommendedCategory,recommendedClass:i?.recommendedClass,isRecommendedCategorySelected:i?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:i?.isClassUpdateSelected??!1},[xe]:{legalName:i?.legalName??v.common.strings.empty,email:i?.vendorEmail??v.common.strings.empty,phone:i?.vendorPhone??v.common.strings.empty,vendorType:{allTypes:d,selectedType:i?.vendorType},tinType:i?.tin?.type??null,tinValue:i?.tin?.value??null,address:l},[ye]:i!=null&&i?.contacts!=null&&i?.contacts.length!==0?i.contacts:[{fullName:v.common.strings.empty,email:v.common.strings.empty,phone:v.common.strings.empty,id:v.common.strings.empty}]}),qa=(e,a,d)=>{const l=e?.[y],i=e?.[xe];return{vendorCategory:l.vendorCategory.selectedOption,vendorClass:l.vendorClass.selectedOption,vendorId:a,recommendations:d?.recommendations,vendorName:l.vendorName,legalName:i.legalName,vendorOwner:l.vendorOwner?.selectedOption,recommendedCategory:l.recommendedCategory,recommendedClass:l.recommendedClass,isCategoryUpdateSelected:l.isRecommendedCategorySelected??!1,isClassUpdateSelected:l.isRecommendedClassSelected??!1,vendorEmail:i.email,vendorPhone:i.phone,vendorType:i.vendorType.selectedType,tin:{type:i.tinType??null,value:i.tinValue!=null?i.tinValue.replace(Gt,v.common.strings.empty):null},address:i.address,contacts:e?.[ye]}};export{Ss as default,Ae as formUniqueName,xe as vendor1099DetailsSectionId,y as vendorDetailsSectionId,Ua as vendorSpendTrendFilterTabs};
|
|
257
|
+
`,Ua=[{label:k.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:k.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:k.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:k.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:k.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:k.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:k.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:k.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],Ss=({isFiling1099FeatureEnabled:e,vendorDetailView:a,firstMonthOfFY:d,vendorLogo:l,readOnlyMode:i,isDisabled:r,scrollToTrend:c,allTransactionsTabData:x,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:w,onSaveSuccess:M,saveVendorDetailLocalData:b,onCancelClick:Z,onTrendSelectedPeriodChange:f,onTransactionItemClick:E,onSpendTrendPercentChangeClick:J,onSaveVendor:de,onVendorSpendTrendFilterTabClick:K,onAddressClick:X,saveContactsInVendorTabDetailLocalData:ee,onVendorDetailUIChange:U,sidePanelIsFullView:re,sidePanelIsOpen:te,panelContent:ce})=>{const B=Ye(),z=le(),q=S.useRef(null),[j,F]=S.useState(!1),[N,st]=S.useState(I.transactionListHeight.value()),we=a?.selectedTabType,be=Ta,p=Object.assign({},a?.vendorViewDetails?.vendorView),L=a?.vendorViewDetails.vendorView?.vendorDetailLocalData,ae=a?.uiState,ot=!$e(p!=null&&p.vendorAddress!=null?Te(p.vendorAddress):p.vendorAddress,p.vendorNewAddressStatus?.addressToCreate!=null?Te(p.vendorNewAddressStatus?.addressToCreate):p.vendorNewAddressStatus?.addressToCreate),nt=(p?.vendorDetailLocalData?.contacts??[]).filter(m=>m.email!==v.common.strings.empty||m.fullName!==v.common.strings.empty||m.phone!==v.common.strings.empty).map(m=>wt(m,"contactInfoType")),fe=S.useMemo(()=>p.vendorBasic?.contacts??[],[p.vendorBasic?.contacts]),it=!$e(nt,fe),se=bt({mode:"all",defaultValues:qe(a?.vendorViewDetails.accountsHierarchyList??[],a?.vendorViewDetails.classHierarchyList??[],a?.vendorViewDetails.vendorTypeList??[],a?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,a?.vendorViewDetails.vendorView?.vendorDetailLocalData,a?.vendorViewDetails.ownerList),values:qe(a?.vendorViewDetails.accountsHierarchyList??[],a?.vendorViewDetails.classHierarchyList??[],a?.vendorViewDetails.vendorTypeList??[],a?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,a?.vendorViewDetails.vendorView?.vendorDetailLocalData,a?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[lt,dt]=S.useState(-1),rt=p.vendorDetailLocalData?.contacts!=null&&p.vendorDetailLocalData?.contacts.length>0?p.vendorDetailLocalData?.contacts:De,[ct,pt]=S.useState(ft(rt));S.useEffect(()=>{c===!0&&j===!1&&a?.trendWithTransactions.trendReport?.fetchState==="Completed"&&a?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(q.current?.offsetTop??0)+I.navbarHeight,behavior:"smooth"}),F(!0))},[c,j,a?.trendWithTransactions.trendReport?.fetchState,a?.trendWithTransactions.transactionView?.fetchState]);const mt=new Ct(B.colors.graphColor12),T=a?.fetchState==="Not-Started"||a?.fetchState==="In-Progress",ht=a?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",gt=a?.trendWithTransactions.trendReport?.fetchState==="In-Progress",ut=(m,C)=>{f?.(C)};S.useEffect(()=>{a?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&M?.()},[p]);const vt=S.useCallback(()=>{window.scrollTo({top:(q.current?.offsetTop??0)+I.navbarHeight,behavior:"smooth"}),J?.()},[J]);S.useEffect(()=>{const m=se.watch((C,{name:Se})=>{Se!=null&&C!=null&&St(()=>(async(oe,Y)=>{const D=Y;if(oe.includes("isRecommendedCategorySelected")){const W=Y[y].isRecommendedCategorySelected===!0?p?.vendorDetailLocalData?.recommendedCategory?.accountId:p?.vendorBasic?.account?.accountId;D[y].vendorCategory={selectedOption:W,allOptions:Y[y].vendorCategory.allOptions}}if(oe.includes("isRecommendedClassSelected")){const W=Y[y].isRecommendedClassSelected===!0?p.vendorDetailLocalData?.recommendedClass?.classId:p?.vendorBasic?.class?.classId;D[y].vendorClass={selectedOption:W,allOptions:Y[y].vendorClass.allOptions}}if(oe.includes("vendorCategory")){const W=D[y].vendorCategory.selectedOption===D[y].recommendedCategory?.accountId;D[y].isRecommendedCategorySelected=W}if(oe.includes("vendorClass")){const W=D[y].vendorClass.selectedOption===D[y].recommendedClass?.classId;D[y].isRecommendedClassSelected=W}yt(D)})(Se,C))});return()=>{m.unsubscribe()}});const yt=m=>{const C=qa(m,p.vendorBasic?.id,L);b?.(C)},xt={isLoading:a?.allVendorTransactionsView?.fetchState==="In-Progress"||a?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(m,C)=>{w(m,(x?.numberOfQuartersFetched??0)+1)}},Ce=be.find(m=>we===m.id);return t.jsx($t,{isOpen:te??!1,isFullView:re??!1,panelContent:ce,headerContent:t.jsxs(t.Fragment,{children:[t.jsx(_t,{onBackClick:Z,title:p.vendorBasic?.name??v.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:B.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),a?.vendorSpend!=null?t.jsx(ba,{isPageLoading:T,vendorName:p.vendorBasic?.name??v.common.strings.empty,spend:a?.vendorSpend,vendorLogo:l,isSpendTrendLoading:gt,onPercentChangeClick:vt}):null]}),listContent:t.jsxs(Wa,{children:[T===!0&&t.jsx(Ue,{isPageLoading:T,children:t.jsx(Ee,{size:z,children:t.jsx(Na,{})})}),T===!1&&p.vendorDetailLocalData!=null&&t.jsxs(Ue,{isPageLoading:T,children:[t.jsx(Ee,{size:z,children:t.jsx(Dt,{...se,children:t.jsxs("form",{id:Ae(Be),onSubmit:se.handleSubmit(de),children:[t.jsx(_a,{sectionId:y,selectedVendorId:L?.vendorId,selectedVendorDetails:p,selectedAccountId:L?.vendorCategory,selectedClassId:L?.vendorClass,selectedOwnerId:L?.vendorOwner,recommendations:L?.recommendations??[],allAccounts:a?.vendorViewDetails.accountList.accounts??[],allClasses:a?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:L?.vendorName,allOwners:a?.vendorViewDetails.ownerList??[],readOnlyMode:i,isDisabled:r,accountsHierarchyList:a?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:a?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:ae,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:()=>{U?.(ae?.collapsableStatus==="expand"?"collapse":"expand")}}),e&&ae?.collapsableStatus==="expand"?t.jsxs(Ea,{collapsableStatus:ae?.collapsableStatus??"expand",children:[t.jsx(Ca,{selectedVendorDetails:p,isDisabled:r,onAddressClick:X,sectionId:xe,vendorTypeList:a?.vendorViewDetails.vendorTypeList??[]}),t.jsx(jt,{emailRequired:!1,vendorContactInfos:De,sectionId:ye,vendorContactInfoWithType:ct,setVendorContactInfoWithType:m=>{pt(m),ee?.(L?.vendorId??v.common.strings.empty,m)},deleteContactConfirmationIndex:lt,updateContactDeleteConfirmationIndex:dt,initialContactList:fe})]}):null]})})}),Ce!=null?t.jsxs(Ra,{children:[t.jsx(Ba,{children:t.jsx(ha,{allTabs:be,containerStyle:{marginLeft:n[8],marginRight:n[8],borderBottom:`1px solid ${B.colors.grey3}`,backgroundColor:B.colors.grey4,justifyContent:"left"},selectedTab:Ce,onOptionSelectionChanged:m=>{h(Jt(m.id))}})}),we==="all_transactions"?t.jsx(Ha,{height:N,children:T===!1&&x?.timePeriod!=null?t.jsx(ea,{firstMonthOfFY:d,timeframe:"quarter",timePeriod:x.timePeriod,transactions:a?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:T,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:E,onListInnerElementHeightChanged:m=>{st(m)},showLoadPrevious:xt}):null}):a?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{allTabs:Ua,selectedTab:a.vendorSpendTrendFilterTabValue,onTabChange:m=>{const C=Kt(m.id);C!=null&&K(C)},containerStyle:{marginLeft:n[8],marginRight:n[8]}}),t.jsx(Aa,{ref:q,"data-testid":u("vendor_detail_spend_trend_section"),children:t.jsx(ta,{firstMonthOfFY:d,trendWithTransactionsReport:a?.trendWithTransactions,isDetailPage:!1,graphColor:mt,initialTransactionListHeight:I.transactionListHeight.value(z),page:"vendorDetailPage",onTimePeriodChange:ut,onTransactionItemClick:E})})]}):null]}):null]}),!T&&i!==!0&&(Lt(se.formState.dirtyFields)||ot||it)?t.jsx(Tt,{formId:Ae(Be),primaryBtn:{label:Re.save,isLoading:ht,style:{width:I.buttonWidth.value(z)},isDisabled:!1},cancelBtn:{label:Re.cancel,style:{width:I.buttonWidth.value(z)},onClick:Z}}):null]})})},qe=(e,a,d,l,i,r)=>({[y]:{vendorName:i?.vendorName??v.common.strings.empty,vendorOwner:{allOptions:Ze(r),selectedOption:i?.vendorOwner},vendorCategory:{allOptions:Qe(e,i?.recommendations),selectedOption:i?.vendorCategory},vendorClass:{allOptions:Ge(a,i?.recommendations),selectedOption:i?.vendorClass},recommendedCategory:i?.recommendedCategory,recommendedClass:i?.recommendedClass,isRecommendedCategorySelected:i?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:i?.isClassUpdateSelected??!1},[xe]:{legalName:i?.legalName??v.common.strings.empty,email:i?.vendorEmail??v.common.strings.empty,phone:i?.vendorPhone??v.common.strings.empty,vendorType:{allTypes:d,selectedType:i?.vendorType},tinType:i?.tin?.type??null,tinValue:i?.tin?.value??null,address:l},[ye]:i!=null&&i?.contacts!=null&&i?.contacts.length!==0?i.contacts:[{fullName:v.common.strings.empty,email:v.common.strings.empty,phone:v.common.strings.empty,id:v.common.strings.empty}]}),qa=(e,a,d)=>{const l=e?.[y],i=e?.[xe];return{vendorCategory:l.vendorCategory.selectedOption,vendorClass:l.vendorClass.selectedOption,vendorId:a,recommendations:d?.recommendations,vendorName:l.vendorName,legalName:i.legalName,vendorOwner:l.vendorOwner?.selectedOption,recommendedCategory:l.recommendedCategory,recommendedClass:l.recommendedClass,isCategoryUpdateSelected:l.isRecommendedCategorySelected??!1,isClassUpdateSelected:l.isRecommendedClassSelected??!1,vendorEmail:i.email,vendorPhone:i.phone,vendorType:i.vendorType.selectedType,tin:{type:i.tinType??null,value:i.tinValue!=null?i.tinValue.replace(Gt,v.common.strings.empty):null},address:i.address,contacts:e?.[ye]}};export{Ss as default,Ae as formUniqueName,xe as vendor1099DetailsSectionId,y as vendorDetailsSectionId,Ua as vendorSpendTrendFilterTabs};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as f}from"./index-CVe1fo1a.js";import{a as k}from"./sentry-CFYfTv_F.js";import{y}from"./DomesticWireDetailsPage-SEql3I0P-DopSoItu.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./mui-DcvwYC51.js";import"./recharts-LOG_L3Q0.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./BankAccountSection-4vXBKCFA-DKXdSrK9.js";import"./MagicLinkTitleSection-CtsQ_c44-DD1X6fG2.js";import"./BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js";import"./MailingDetailsSection-DiZwQ9QV-Zw0hJwAt.js";import"./LabeledAddressValueField-CAr-IiTa-hz8acdw2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="26377b7a-9731-4ac0-8c4d-a82a7bb45097",e._sentryDebugIdIdentifier="sentry-dbid-26377b7a-9731-4ac0-8c4d-a82a7bb45097")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:l,fetchBankNameByRoutingStatus:b}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),f.jsx(y,{bankAccountToCreate:l,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:b,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{H as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as
|
|
1
|
+
import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Oe,A as Ee,cd as D,o as s,ch as Re,gH as We,fE as qe,ck as Me,gI as He,gJ as Ue,c6 as _e,a9 as Ge,O as pe,eu as J,gO as ue,dX as Ke,ev as Je,m as d,a8 as Qe,bg as F,c3 as Xe,gP as Ze,f as z,er as Ye,bH as et,l as ge,eb as tt,gQ as st,gR as lt,gS as _,ew as it}from"./index-CVe1fo1a.js";import{a as m}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{Y as at}from"./LabeledDropDownFormattedTextField-B39DlufR-DdaTss6V.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="550dd2c7-c5cc-4b3b-b645-f4c0ec9a34b4",e._sentryDebugIdIdentifier="sentry-dbid-550dd2c7-c5cc-4b3b-b645-f4c0ec9a34b4")}catch{}})();const ie={largeLabelWidth:new b(160,210,230),paddingBottom:new b(d[3],d[2])},S=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(rt,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function rt({googleAPIKey:e,addressToEdit:i,sectionId:r,isDisabled:u,style:q}){const R=ce(),c=pe.getLocalizedStrings().companyPassport,p=ie.largeLabelWidth.value(R);return t.jsxs(t.Fragment,{children:[t.jsx(ae,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:u,label:{label:c.address.street,width:p,showBullet:!0},addressField:{name:S(r,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?ue(i):void 0},placeholder:_(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(r,"suite"),defaultValue:i?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"city"),defaultValue:i?.city,placeholder:_(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"state"),defaultValue:i?.state,placeholder:_(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ae,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:u,label:{label:c.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(r,"country"),placeholder:c.address.countryPlaceholder,defaultValue:J(i?.country),registerOptions:{validate:$=>!($==null||!$.selectedOption)}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"postalCode"),defaultValue:i?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:ie.paddingBottom.valuePx(R),width:"100%",outline:"none"},text:{type:"text",name:S(r,"secondaryInfo"),defaultValue:i?.street[2],placeholder:c.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
margin-left: ${s.sp3};
|
|
@@ -33,7 +33,7 @@ import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,c
|
|
|
33
33
|
display: flex;
|
|
34
34
|
justify-content: space-between;
|
|
35
35
|
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
36
|
-
`,ht=()=>t.jsx(ct,{children:[...Array(1)].map((e,i)=>t.jsxs(pt,{children:[t.jsx(F,{style:{marginBottom:s.sp4},width:120,height:d[4]}),t.jsxs(ut,{children:[[...Array(5)].map((r,u)=>t.jsxs(G,{children:[t.jsx(F,{width:70,height:d[4]}),t.jsx(F,{width:140,height:d[4]})]},u)),t.jsx(G,{children:t.jsx(F,{width:120,height:d[4]})}),t.jsx(gt,{children:[...Array(7)].map((r,u)=>t.jsxs(G,{children:[t.jsx(F,{width:70,height:d[4]}),t.jsx(F,{width:140,height:d[4]})]},u))})]})]},i))}),w={largeLabelWidth:new b(130,200,300),labelMarginLeft:new b(d[3],d[4]),labelMarginTop:new b(d[2],d[3]),labelMarginBottom:new b(d[2],d[3]),containerPaddingLeft:new b(d[3],d[6],d[8]),containerPaddingRight:new b(d[3],d[6],d[8])},mt={zIndex:2,minHeight:62},l="vendor1099FilingSectionId",he="legalName",me="email",ye="phone",xe="taxClassification",fe="tinType",be="tinValue",yt="street",xt="suite",ft="city",bt="state",wt="country",$t="countryCode",vt="postalCode",jt="secondaryInfo",K=e=>`${e}_form`,T=(e,i)=>`${e}.${i}`,{spendManagement:St,common:a}=pe.getLocalizedStrings(),C=St.billPay.vendorCreation,B=a.labels,oe=a.footer,ls=e=>{const i=ce(),r=new AbortController,u=Ne(),q=r.signal,{onVendorFiling1099UploadDetailsSave:
|
|
36
|
+
`,ht=()=>t.jsx(ct,{children:[...Array(1)].map((e,i)=>t.jsxs(pt,{children:[t.jsx(F,{style:{marginBottom:s.sp4},width:120,height:d[4]}),t.jsxs(ut,{children:[[...Array(5)].map((r,u)=>t.jsxs(G,{children:[t.jsx(F,{width:70,height:d[4]}),t.jsx(F,{width:140,height:d[4]})]},u)),t.jsx(G,{children:t.jsx(F,{width:120,height:d[4]})}),t.jsx(gt,{children:[...Array(7)].map((r,u)=>t.jsxs(G,{children:[t.jsx(F,{width:70,height:d[4]}),t.jsx(F,{width:140,height:d[4]})]},u))})]})]},i))}),w={largeLabelWidth:new b(130,200,300),labelMarginLeft:new b(d[3],d[4]),labelMarginTop:new b(d[2],d[3]),labelMarginBottom:new b(d[2],d[3]),containerPaddingLeft:new b(d[3],d[6],d[8]),containerPaddingRight:new b(d[3],d[6],d[8])},mt={zIndex:2,minHeight:62},l="vendor1099FilingSectionId",he="legalName",me="email",ye="phone",xe="taxClassification",fe="tinType",be="tinValue",yt="street",xt="suite",ft="city",bt="state",wt="country",$t="countryCode",vt="postalCode",jt="secondaryInfo",K=e=>`${e}_form`,T=(e,i)=>`${e}.${i}`,{spendManagement:St,common:a}=pe.getLocalizedStrings(),C=St.billPay.vendorCreation,B=a.labels,oe=a.footer,ls=e=>{const i=ce(),r=new AbortController,u=Ne(),q=r.signal,{onVendorFiling1099UploadDetailsSave:R,vendorId:c,vendorFiling1099UploadDetailsViewState:p,onSaveChangesToLocalStore:$,vendorFiling1099UploadDetails:V,fetchVendorFetchStatus:Q,onAddressEditHandler:we,goBackToListPage:X,onResetVendorFiling1099FormStatus:$e,googleAPIKey:ve}=e,{vendor1099DetailsSaveStatus:N,vendor1099DetailsLocalData:n,w9FormUploadStatus:Z}=p,[Y,ee]=m.useState(V.addressStatus?.addressToCreate??{street:[],city:"",state:"",country:"",countryCode:"",postalCode:""}),te=m.useRef(null),{vendorTypeList:M}=V,k=m.useRef(null),A=m.useRef(null),se=m.useRef(!1);m.useEffect(()=>{A.current===null&&n.legalName!=a.strings.empty&&p.vendor1099DetailsAutoFilledValues?.legalName===!0&&(A.current=n.legalName)},[n.legalName]),m.useEffect(()=>{k.current===null&&n.legalName!==a.strings.empty&&(k.current=n.legalName)},[n.legalName]),m.useEffect(()=>{V?.addressStatus?.addressToCreate&&p.vendor1099DetailsAutoFilledValues?.address===!0&&se.current===!1&&(ee(V.addressStatus.addressToCreate),se.current=!0)},[V,p.vendor1099DetailsAutoFilledValues?.address]);const g=ke({mode:"onSubmit",defaultValues:de(n,M??[],Y),values:de(n,M??[],Y)}),{isValid:je}=g.formState,Se=g.handleSubmit(()=>{je&&(we(g.getValues()),R(c,q))}),{vendor1099DetailsAutoFilledValues:y}=p;m.useEffect(()=>{const v=g.watch((h,{name:j})=>{j!=null&&h!=null&&((j.startsWith(`${l}.street`)||j.startsWith(`${l}.city`)||j.startsWith(`${l}.state`)||j.startsWith(`${l}.country`)||j.startsWith(`${l}.postalCode`))&&h[l]!=null&&ee({street:[h[l].street?.addressString??a.strings.empty,h[l].suite??a.strings.empty,h[l].secondaryInfo??a.strings.empty],city:h[l].city??a.strings.empty,state:h[l].state??a.strings.empty,country:h[l].country?.selectedOption??a.strings.empty,countryCode:h[l].countryCode,postalCode:h[l].postalCode??a.strings.empty}),Ae(()=>(async(H,f)=>{if(H!=null){const L={...f},Ve=L[l].legalName,Ie=L[l].email,Le=L[l].phone,Pe=L[l].taxClassification,Fe=L[l].tinType,le=L[l].tinValue,Te={legalName:Ve??a.strings.empty,vendorId:c,contact:{email:Ie??a.strings.empty,phone:Le??a.strings.empty,fullName:n.contact?.fullName??a.strings.empty,id:n.contact?.id??a.strings.empty},taxClassification:Pe.selectedType??a.strings.empty,tin:{type:Fe??null,value:le??null},tinValue:le??null};if(H.includes(`${l}.street`)&&f.vendor1099FilingSectionId.street!=null){const{addressValue:P}=f.vendor1099FilingSectionId.street,ze=g.getValues(`${l}.country`),U=J(P?.country);g.setValue(l,{...f[l],street:f.vendor1099FilingSectionId.street,city:P?.locality??"",state:P?.administrativeAreaLevel1??"",country:U,countryCode:P?.countryCode??"",postalCode:P?.postalCode??"",secondaryInfo:f.vendor1099FilingSectionId.secondaryInfo??"",suite:f.vendor1099FilingSectionId.suite??""}),Ke(g.formState.errors,`${l}.city`)&&P?.locality&&g.trigger(`${l}.city`),ze.selectedOption!==U.selectedOption&&g.setValue(`${l}.country`,U)}else H==="vendor1099FilingSectionId.country"&&f[l].country.selectedOption!=null&&g.setValue(`${l}.countryCode`,Je(f[l].country.selectedOption));$(Te)}})(j,h)))});return()=>{v.unsubscribe()}});const I=w.largeLabelWidth.value(i),Ce=N.error?.message??a.strings.empty,De=N.error?.title??a.strings.empty,x=Q?.fetchState==="In-Progress"||Z?.fetchState==="In-Progress";return m.useEffect(()=>()=>{r.abort(),$e()},[]),t.jsx(Dt,{windowSize:i,children:t.jsxs(Ct,{windowSize:i,children:[t.jsxs(Vt,{windowSize:i,ref:te,children:[t.jsx(Be,{title:(p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:k.current)??a.strings.empty,backgroundColor:u.colors.grey4,leftSideComponent:t.jsx(t.Fragment,{}),rightSideComponent:t.jsx(Lt,{windowSize:i,onClick:X,"data-testid":Oe("vendor-filling-1099-details-editable-page-close-icon")}),scrollableContent:te,enableTitleOnScroll:!0,scrollThreshold:50,source:"VendorFiling1099EditablePage"}),x===!0?t.jsx(re,{windowSize:i,isLoading:x,children:t.jsx(ht,{})}):t.jsxs(re,{windowSize:i,isLoading:x,children:[i==="small"?t.jsx(Pt,{windowSize:i,children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:k.current}):t.jsx(Ft,{children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:k.current}),N.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(At,{}),t.jsxs(zt,{children:[t.jsx(Nt,{children:De}),t.jsx(kt,{children:Ce})]})]}):null,(y?.tin.type===!0||y?.tin.value===!0||y?.legalName===!0||y?.taxClassification===!0)&&t.jsxs(Et,{children:[t.jsx(E,{}),t.jsx(Rt,{children:C.vendorDetails.banner})]}),t.jsx(Ee,{...g,children:t.jsx("form",{id:K(l),onSubmit:Se,children:t.jsxs(It,{isLoading:x,children:[t.jsx(W,{children:y?.legalName!==!0||x?null:t.jsx(E,{})}),t.jsx(D,{label:{label:B.legalName,width:I,style:{marginLeft:s.sp4}},style:{width:"auto",borderTopLeftRadius:s.sp2,borderTopRightRadius:s.sp2},text:{type:"text",name:T(l,he),defaultValue:n.legalName,placeholder:C.vendorDetails.legalNamePlaceHolder,options:{required:!0,validate:v=>v!==a.strings.empty}}}),t.jsx(O,{}),t.jsxs(t.Fragment,{children:[t.jsx(D,{label:{label:B.email,width:I,style:{marginLeft:s.sp4}},style:{width:"auto"},text:{type:"email",name:T(l,me),defaultValue:n.contact?.email,placeholder:C.vendorDetails.emailPlaceHolder,options:{required:!1}}}),t.jsx(O,{}),t.jsx(Re,{label:{label:B.phone,width:I,style:{marginLeft:s.sp4}},text:{name:T(l,ye),placeholder:C.vendorDetails.phonePlaceHolder,defaultValue:n.contact?.phone,autoComplete:"off",options:{required:!1}},style:{width:"auto"}}),t.jsx(O,{})]}),t.jsxs(Wt,{isLoading:x,children:[t.jsx(W,{children:y?.taxClassification!==!0||x?null:t.jsx(E,{})}),t.jsxs(ne,{children:[t.jsx(Bt,{width:I,windowSize:i,children:B.taxClassification}),t.jsx(Ot,{size:i,labelWidth:I,children:t.jsx(We,{name:T(l,xe),value:{allTypes:M?.map(v=>({code:v.code,name:v.name,label:v.name}))??[],selectedType:n.taxClassification},placeholderLabel:C.vendorDetails.taxClassificationPlaceHolder})})]})]}),t.jsx(O,{}),t.jsx(W,{children:y?.tin.type!==!0&&y?.tin.value!==!0||x?null:t.jsx(E,{})}),t.jsx(ne,{children:t.jsx(at,{name:T(l,fe),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:n.tin?.type??a.strings.empty,dropDownList:[{code:a.texts.ein,label:a.texts.ein.toUpperCase()},{code:a.texts.ssn,label:a.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:I},placeholderLabel:C.placeholders.tinType,formattedText:{type:"text",name:T(l,be),placeholder:C.placeholders.tinValue,format:n.tin?.type===a.texts.ssn?He:Ue,registerOptions:{required:!!n?.tin?.type,pattern:n.tin?.type===a.texts.ssn?qe:Me},style:{width:"100%",height:s.sp6},defaultValue:n.tin?.value??a.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:n.tin?.type===null?"disabled":void 0}})}),t.jsx(O,{}),t.jsxs(qt,{children:[t.jsx(W,{children:y?.address!==!0||x?null:t.jsx(E,{})}),t.jsx(_e,{label:B.address,style:{marginLeft:s.sp4,marginTop:w.labelMarginTop.value(i),marginBottom:s.sp2}}),t.jsx(ot,{googleAPIKey:ve,formId:K(l),addressToEdit:V?.addressStatus?.addressToCreate,sectionId:l})]})]})})})]})]}),t.jsx(Ge,{separatorStyle:{marginRight:s.sp4},formId:K(l),cancelBtn:{label:oe.cancel,style:{width:"83px"},onClick:X},primaryBtn:{label:oe.save,isLoading:N.fetchState==="In-Progress",style:{width:"83px"},isDisabled:N?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress"||Z?.fetchState==="In-Progress"},style:mt})]})})},Ct=o.div`
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
height: 100%;
|
|
@@ -60,7 +60,7 @@ import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,c
|
|
|
60
60
|
box-shadow: ${e=>e.isLoading?void 0:`${s.sp0} 2px ${s.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
61
61
|
border-radius: ${s.sp2};
|
|
62
62
|
position: relative;
|
|
63
|
-
`,
|
|
63
|
+
`,O=o.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
flex: 1;
|
|
66
66
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -132,17 +132,17 @@ import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,c
|
|
|
132
132
|
color: ${e=>e.theme.colors.hero};
|
|
133
133
|
margin: ${e=>`${w.labelMarginTop.valuePx(e.windowSize)} ${w.labelMarginLeft.valuePx(e.windowSize)} ${w.labelMarginBottom.valuePx(e.windowSize)} ${w.labelMarginLeft.valuePx(e.windowSize)}`};
|
|
134
134
|
padding-right: ${s.sp5};
|
|
135
|
-
`,
|
|
135
|
+
`,Ot=o.div`
|
|
136
136
|
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"100%"};
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-grow: ${e=>e.size==="small"?1:0};
|
|
139
139
|
align-items: center;
|
|
140
140
|
margin-right: ${s.sp2};
|
|
141
|
-
`,
|
|
141
|
+
`,E=o(tt)`
|
|
142
142
|
color: ${e=>e.theme.colors.primary};
|
|
143
143
|
width: ${s.sp3};
|
|
144
144
|
height: ${s.sp3};
|
|
145
|
-
`,
|
|
145
|
+
`,Et=o.div`
|
|
146
146
|
display: flex;
|
|
147
147
|
gap: ${s.sp2};
|
|
148
148
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
@@ -152,11 +152,11 @@ import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,c
|
|
|
152
152
|
margin: ${s.sp3};
|
|
153
153
|
margin-left: ${s.sp0};
|
|
154
154
|
margin-right: ${s.sp0};
|
|
155
|
-
`,
|
|
155
|
+
`,Rt=o.span`
|
|
156
156
|
color: ${e=>e.theme.colors.hero};
|
|
157
|
-
`,
|
|
157
|
+
`,Wt=o.div`
|
|
158
158
|
position: relative;
|
|
159
|
-
`,
|
|
159
|
+
`,W=o.div`
|
|
160
160
|
position: absolute;
|
|
161
161
|
top: 20px;
|
|
162
162
|
left: -${s.sp4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as oe,_ as Rn,y as tn,T as Bn,hv as Me,c8 as Fn,B as Vn,hw as ee,hx as pe,hy as he,hz as ue,hA as re,V as n,hr as En,b as ve,A as Un,a_ as Wn,E as qn,bR as Hn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cO as Zn,bV as eo,L as no,O as be,x as w,J as Re,o,ac as Cn,l as Ie,ab as oo,m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d4 as so,au as Ke,aR as rn,f as A,aA as Nn,gq as ao,cK as cn,cs as Ye,hB as Ze,k as lo,bo as Ae,de as co,d$ as mn,b6 as mo,cR as po,a as pn,bX as ho,hC as uo,hD as wo,cc as go,dX as vo,e4 as xo,e5 as bo,H as In,hE as fo,b4 as ne,hF as hn,gc as $o,$ as So,t as yo,bj as jo,w as On,d as Ro,ec as Vo,ae as nn}from"./index-
|
|
1
|
+
import{e as oe,_ as Rn,y as tn,T as Bn,hv as Me,c8 as Fn,B as Vn,hw as ee,hx as pe,hy as he,hz as ue,hA as re,V as n,hr as En,b as ve,A as Un,a_ as Wn,E as qn,bR as Hn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cO as Zn,bV as eo,L as no,O as be,x as w,J as Re,o,ac as Cn,l as Ie,ab as oo,m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d4 as so,au as Ke,aR as rn,f as A,aA as Nn,gq as ao,cK as cn,cs as Ye,hB as Ze,k as lo,bo as Ae,de as co,d$ as mn,b6 as mo,cR as po,a as pn,bX as ho,hC as uo,hD as wo,cc as go,dX as vo,e4 as xo,e5 as bo,H as In,hE as fo,b4 as ne,hF as hn,gc as $o,$ as So,t as yo,bj as jo,w as On,d as Ro,ec as Vo,ae as nn}from"./index-CVe1fo1a.js";import{a as f}from"./sentry-CFYfTv_F.js";import{n as i,c as on}from"./mui-DcvwYC51.js";import{bJ as Co,Go as ko}from"./zeni-epic-state-BZiG8B71.js";import{r as Mo}from"./core-BAxGDYbL.js";import"./pdf-DA3UteIy.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e27ba930-74a6-4f24-bf67-1c1333a76c88",e._sentryDebugIdIdentifier="sentry-dbid-e27ba930-74a6-4f24-bf67-1c1333a76c88")}catch{}})();const Pn=({steps:e})=>{const a=oe();return n.jsx(Io,{windowSize:a,children:e.map((c,l)=>n.jsxs(No,{children:[n.jsx(Po,{children:l!==e.length-1?l+1:n.jsx(zo,{})}),n.jsx(To,{children:c}),l<e.length-1?n.jsx(Oo,{}):null]},`step_${l}`))})},No=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,A as Ce,a9 as $e,x as c,eu as ae,ev as De,o as y,at as Te,cc as re,y as
|
|
1
|
+
import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,A as Ce,a9 as $e,x as c,eu as ae,ev as De,o as y,at as Te,cc as re,y as se,ew as je,ex as Y,c6 as Q,al as H,cd as Se,dS as ke,m as a,dX as Oe,b as Ae,f as M,d as Le,L as Fe,bo as ze,C as Ie,b6 as We}from"./index-CVe1fo1a.js";import{a as W}from"./sentry-CFYfTv_F.js";import{n as g}from"./mui-DcvwYC51.js";import{bQ as Z}from"./zeni-epic-state-BZiG8B71.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js";import{T as _e}from"./MailingDetailsSection-DiZwQ9QV-Zw0hJwAt.js";import{S as Ee}from"./CurrencySelectField-BAQ5aoHk-DH5SrL5M.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./LabeledAddressValueField-CAr-IiTa-hz8acdw2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="99f01328-62fb-4fbe-b594-e458ca73f88f",e._sentryDebugIdIdentifier="sentry-dbid-99f01328-62fb-4fbe-b594-e458ca73f88f")}catch{}})();const A={width:new c(343,580,726),height:new c(a[6],a[6]),controlHeight:new c(a[6],a[6]),paddingTopBottom:new c(a[2],a[2]),marginRight:new c(a[2],a[2]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2])},de={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:d,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=se(),D=Oe(b,l.name);return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Ae("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:i.width,children:[t.jsx(Ee,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:d}):null,(()=>{if(o===!0)return t.jsx(Ue,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&T||D){let p=null;return n===!0&&k&&w&&(p=t.jsx(ze,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:w}),children:t.jsx(Ge,{children:t.jsx(Qe,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:n,isDisabled:e!=null,children:[p,T]})}})()]})]})}const Be=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -50,7 +50,7 @@ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,
|
|
|
50
50
|
`,Ve=g.label`
|
|
51
51
|
color: ${e=>e.hasError===!0?M.important:e.additionalInfoTextColor??e.theme.colors.grey1};
|
|
52
52
|
width: auto;
|
|
53
|
-
${e=>`${
|
|
53
|
+
${e=>`${de.infoLabel.style(e.windowSize)}`};
|
|
54
54
|
padding-right: ${y.sp3};
|
|
55
55
|
text-align: right;
|
|
56
56
|
`,He=g.div`
|
|
@@ -73,7 +73,7 @@ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,
|
|
|
73
73
|
display: flex;
|
|
74
74
|
justify-content: flex-end;
|
|
75
75
|
color: ${e=>e.isDisabled?e.theme.colors.grey2:e.isError?M.important:e.theme.colors.hero};
|
|
76
|
-
${e=>`${
|
|
76
|
+
${e=>`${de.infoLabel.style(e.size)}`};
|
|
77
77
|
padding-right: ${y.sp3};
|
|
78
78
|
text-align: right;
|
|
79
79
|
margin-top: ${e=>e.hasToolTip===!0?y.sp1:y.sp0};
|
|
@@ -86,7 +86,7 @@ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,
|
|
|
86
86
|
width: ${y.sp3};
|
|
87
87
|
height: ${y.sp3};
|
|
88
88
|
color: inherit;
|
|
89
|
-
`,S={largeLabelWidth:new c(120,140,220),paddingTopBottom:new c(a[3],a[3]),labelHeight:new c(a[6],a[6]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2]),controlHeight:new c(a[6],a[6]),toolTipWidth:new c(60,150)},Xe=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:
|
|
89
|
+
`,S={largeLabelWidth:new c(120,140,220),paddingTopBottom:new c(a[3],a[3]),labelHeight:new c(a[6],a[6]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2]),controlHeight:new c(a[6],a[6]),toolTipWidth:new c(60,150)},Xe=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:d,wireAccountToCreate:o,sectionId:n,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:T,isDisabled:k,style:C})=>{const b=X(),{getValues:$}=re(),D=se(),p=G.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:u}=p,x=S.largeLabelWidth.value(b),F=o?.accountType?.type,j=o?.countryCode==null,_=o?.currencyCode==null,O=["phone","email","other"];return t.jsx(Je,{style:C,children:t.jsxs(Ke,{children:[t.jsx(je,{isDisabled:w===!0?"readonly":void 0,label:{label:u.country,width:x},style:{width:"auto"},countrySelectField:{name:L(n,"vendorCountry"),placeholder:u.countryPlaceholder,defaultValue:ae(o?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!(s==null||!s.selectedOption)}},additionalInfoLabel:p.international.countryAdditionalInfo}),t.jsx(I,{}),t.jsx(Me,{isDisabled:j===!0?"disabled":T===!0?"readonly":void 0,label:{label:u.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(n,"vendorCurrency"),placeholder:u.currencyPlaceholder,defaultValue:{allOptions:d.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:o?.currencyCode},registerOptions:{validate:s=>!(s==null||!s.selectedOption)}},additionalInfoLabel:p.international.currencyAdditionalInfo}),t.jsx(I,{}),_!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(Y,{isDisabled:void 0,label:{label:u.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(n,"typeOfAccount"),placeholder:u.typeOfAccountPlaceholder,defaultValue:{selectedOption:o?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!(s==null||!s.selectedOption)}}}),t.jsx(I,{})]}):null,o!=null&&F!=null&&o.dynamicForm[F]!=null&&i.length>0?Object.keys(o.dynamicForm[F]).map(s=>{const r=i.filter(P=>P.name===s)[0],h=o.accountType?.type;if(h==null||r==null)return null;{const P=o.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(Se,{label:{label:r.label+u.colon,width:x},text:{type:"text",name:z(n,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:P,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(n,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(Y,{isDisabled:void 0,label:{label:r.label+u.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:z(n,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:P,allOptions:r.valuesAllowed??[]}}},z(n,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(ee,{size:b,children:[t.jsx(Q,{label:r.label+u.colon,htmlFor:z(n,"dynamicForm",h,r.name),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x}}),t.jsx(te,{labelWidth:x,size:b,children:r.valuesAllowed?.map(E=>t.jsx(H,{label:{label:E.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:z(n,"dynamicForm",h,r.name),id:r.name,value:E.value,registerOptions:{required:!0}}},E.value))})]},z(n,"dynamicForm",h,r.name)),t.jsx(I,{})]});default:return null}}}):null,t.jsxs(Ye,{size:b,children:[t.jsxs(ee,{size:b,children:[t.jsx(Q,{label:u.addSource,htmlFor:L(n,"source"),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:u.sourceTooltip,toolTipWidth:S.toolTipWidth.valuePx(b)}),t.jsxs(te,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:u.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(n,"source"),id:O[0],value:O[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:u.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(n,"source"),id:O[1],value:O[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:u.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(n,"source"),id:O[2],value:O[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${n}.source`)==="other"?t.jsx(ke,{type:"text",name:L(n,"otherSource"),placeholder:u.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:D.colors.background,border:`1px solid ${D.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${n}.source`)==="other"&&!!s}}):null]}),t.jsx(I,{})]})})},L=(e,i)=>`${e}.${i}`,z=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Je=g.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
flex-direction: column;
|
|
92
92
|
`,Ke=g.div`
|
|
@@ -130,7 +130,7 @@ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,
|
|
|
130
130
|
flex-grow: 1;
|
|
131
131
|
height: ${e=>S.controlHeight.valuePx(e.size)};
|
|
132
132
|
align-items: center;
|
|
133
|
-
`,R={paddingTopBottomContainer:new c(a[3],a[3]),paddingLeftContainer:new c(a[3],a[6]),paddingRightContainer:new c(a[3],a[8]),marginLeft:new c(a[4],a[6]),buttonWidth:new c(140,140)},ie="internationalDetailsPage",v="internationalWireSection",le=e=>`${e}_form`,Ze=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:
|
|
133
|
+
`,R={paddingTopBottomContainer:new c(a[3],a[3]),paddingLeftContainer:new c(a[3],a[6]),paddingRightContainer:new c(a[3],a[8]),marginLeft:new c(a[4],a[6]),buttonWidth:new c(140,140)},ie="internationalDetailsPage",v="internationalWireSection",le=e=>`${e}_form`,Ze=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:d,addressType:o,addressToEdit:n,mailingAddress:w,billAmount:T,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const p=X(),u=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,F=e.fetchState,j=ge({mode:"all",reValidateMode:"onChange",defaultValues:W.useMemo(()=>ne(e),[e]),values:ne(e)}),[_,O]=W.useState(!1),[s,r]=W.useState(!1),h=G.getLocalizedStrings().spendManagement.billPay.vendorCreation,P=G.getLocalizedStrings().common.footer,{international:E}=h.wireDetails,ce={onOkClick:()=>{r(!1),j.reset(),$()},onCancelClick:()=>{r(!1)}};W.useEffect(()=>{const B=j.watch((V,{name:J})=>{J!=null&&V!=null&&be(()=>((m,U)=>{if(m.includes("account_holder_name")||m.includes("bank_account_iban")||m.includes("bank_swift_code")||m.includes("account_number")||m.includes("sort_code")||m.includes("ifsc_code")||m.includes("upi_id")||m.includes("contact_no")||m.includes("bank_code")||m.includes("institution_number")||m.includes("transit_number")||m.includes("identification_value")||m.includes("branch_code")||m.includes("clabe")||m.includes("bsb_code")||m.includes("proxy_value")||m.includes("php_e_wallet_no"))return void O(!0);const K=m===`${v}.vendorCountry`,N=m===`${v}.vendorCurrency`;N&&U[v].vendorCurrency.selectedOption!=null&&C(U[v].vendorCurrency.selectedOption,T,i);const he={...U},ye=oe(he,e,K,N,f);k(ye,T,i,N||K)})(J,V))});return()=>{B.unsubscribe()}});const q=W.useCallback(()=>{const B=j.getValues(),V=oe(B,e,!1,!1,f);k(V,T,i,!1),O(!1)},[j,e,f,k,T,i]),ue=W.useCallback(()=>{_&&q(),D(o)},[_,q,D,o]),pe=j.handleSubmit(B=>{_&&q(),b()}),me=!fe(w!=null?Z(w):w,n!=null?Z(n):n)||j.formState.isDirty;return t.jsxs(lt,{children:[t.jsxs(nt,{size:p,children:[s===!0?t.jsx(xe,{titleComponent:t.jsx(we,{children:h.discardTitle}),descriptionComponent:t.jsx(ve,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:ce}):null,t.jsx(Re,{header:E.addInternationalWireDetails,isDirty:me,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(Pe,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:p,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(Ce,{...j,children:t.jsxs("form",{id:le(ie),onSubmit:pe,children:[t.jsx(it,{size:p,children:t.jsx(Xe,{wireAccountToCreate:u,dynamicFormFetchState:F,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:d,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(_e,{sectionId:"mailingAddressSection",isDisabled:d,addressType:o,addressToEdit:n,onAddressClick:ue})]})})]}),t.jsx($e,{formId:le(ie),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:R.buttonWidth.value(p)},isDisabled:d!=null},cancelBtn:{label:P.cancel,style:{width:R.buttonWidth.value(p)},shouldResetOnCancel:!1,onClick:()=>{j.formState.isDirty?r(!0):(j.reset(),$())}}})]})},et=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let d={};return l!=null&&i.length>0?(Object.keys(l).forEach(o=>{o===f?(d={...d,[o]:{}},Object.keys(l[o]).forEach(n=>{i.find(w=>w.name===n)?.fieldType==="select"?d[o]={...d[o],[n]:{selectedOption:l[o][n],allOptions:i.find(w=>w.name===n)?.valuesAllowed??[]}}:d[o]={...d[o],[n]:l[o][n]}})):d={...d,[o]:{}}}),d):{}},ne=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:ae(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:et(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},tt=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},oe=(e,i,l,f,d)=>{const o=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:o!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[o]:tt(e[v].dynamicForm?.[o]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?De(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!d?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(n=>n.type===e[v].typeOfAccount.selectedOption)[0].title}}},it=g.div`
|
|
134
134
|
padding-left: ${e=>R.paddingLeftContainer.valuePx(e.size)};
|
|
135
135
|
padding-right: ${e=>R.paddingRightContainer.valuePx(e.size)};
|
|
136
136
|
padding-top: ${e=>R.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -149,4 +149,4 @@ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,
|
|
|
149
149
|
color: ${e=>e.theme.colors.champion};
|
|
150
150
|
margin-left: ${e=>R.marginLeft.valuePx(e.size)};
|
|
151
151
|
margin-top: ${y.sp3};
|
|
152
|
-
`,$t=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:
|
|
152
|
+
`,$t=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:d,isDisabled:o,addressToEdit:n,mailingAddress:w,billAmount:T,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const p={...i.editVendorState??i.newVendorState},u=p.vendorDetailLocalData?.paymentInstrumentIds!=null&&p.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=p.vendorBasic?.countryCode!=null||u,F=p.vendorBasic?.currencyCode!=null||u;return W.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||p?.saveStatus?.fetchState==="Completed")&&$()},[p?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Ze,{internationalWireView:e,addressToEdit:n,mailingAddress:w,addressType:d,billAmount:T,isDisabled:o,onSaveHandler:b,onBackClick:$,onAddressClick:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:F})};export{$t as default};
|