@zeniai/web-cockpit-ui 1.13.97-prod → 1.13.98-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-Cwc2nmvY-Yb3TlvKZ.js → ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.js} +1 -1
- package/dist/assets/{AIPerformancePage-CK4ZdUEb-Cw0WnkfY.js → AIPerformancePage-DyiOQxOC-Deykua_G.js} +21 -21
- package/dist/assets/{AccountInfoPage-LiZYkJMA-yHSK7Rnh.js → AccountInfoPage-xglon85A-yRVQMsLQ.js} +5 -5
- package/dist/assets/AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js +149 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-CBOR2m1X-CCVpHHOa.js → AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js} +17 -17
- package/dist/assets/{AccountRow--5DnpNqk-BQr3z4DI.js → AccountRow-CP7Tu1pO-VLQJgkE6.js} +23 -23
- package/dist/assets/{AccountsPromoCardStack-DCI8_ihc-BSmZm-Zn.js → AccountsPromoCardStack-1elvD1M0-GOX35w9m.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-C_RALUZ7-CyM0vwpI.js → AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js} +2 -2
- package/dist/assets/{AddToWalletPage-7sC3Q2Pb-Cpm0UfHl.js → AddToWalletPage-DsqplF5y-BOnzBTtb.js} +19 -19
- package/dist/assets/{AgingReportsPage-PrvYryW8-I7-sb1Ih.js → AgingReportsPage-DClcRhxg-CS8rEKD_.js} +6 -6
- package/dist/assets/{AllUserItems-DlTukPhY-C2edQD_z.js → AllUserItems-BOwAIYTQ-ikKyJOZ6.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-BVciGQma-DJWsvipb.js → ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js} +4 -4
- package/dist/assets/{AppBasePage-uJGLWCbr-CYWyINGb.js → AppBasePage-C7kCz0qg-gwqzuxWV.js} +2 -2
- package/dist/assets/{AppDrawerContent-SD57OqHe-nBHsW7E9.js → AppDrawerContent-B63CbHT7-CTgXtY-R.js} +7 -7
- package/dist/assets/ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js +47 -0
- package/dist/assets/ArAgingChart-D-Z3jfGt-DS-oqmcQ.js +24 -0
- package/dist/assets/{ArAgingDetailPage-CoFL0N3--DCm6OrE4.js → ArAgingDetailPage-AiwyJUwp-CLdUA32y.js} +1 -1
- package/dist/assets/{AttachmentView-C3xQE0te-n3iWUkqT.js → AttachmentView-wIV1i6gf-__2UovKF.js} +5 -5
- package/dist/assets/{BankAccountSection-Bi3uoDPa-Nc2grfOO.js → BankAccountSection-cVBEl5IN-DpEdLEP3.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-DKdgmMHQ-D-bpYaBu.js → BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-1zM9RKRI-CDocL8j_.js → BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js} +33 -33
- package/dist/assets/{BillDetailPage-BoxJCC9n-BWeG9Hik.js → BillDetailPage-C9NC9kTK-BYRIHiN2.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-BW3sj5ug-BErwhK5C.js → BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-DLA6R7dC-CRXar6D8.js → BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js} +6 -6
- package/dist/assets/{BillPayPromoPage--BGTNJhm-DMPJae3j.js → BillPayPromoPage-CWGX6uCi--607mHc3.js} +4 -4
- package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +42 -0
- package/dist/assets/{BillingSettingsPage-DgbRhg-m-BQXo-PFB.js → BillingSettingsPage-Bx7lHgIy-CyArwb3F.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-CKspyZz7-CrVXvVTH.js → BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js} +1 -1
- package/dist/assets/{BoxItem-BHtgE0KL-CQh3YeAW.js → BoxItem-DX1sag1G-C0OcCbod.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CpfsllRZ-DZ4wSxlf.js → BusinessVerificationPage-DXh-11f9-BWywYgcT.js} +14 -14
- package/dist/assets/{CardNumberSubText-BHe1nqr7-Dw94kPrk.js → CardNumberSubText-iYF6MLsf-BnbFJt1d.js} +1 -1
- package/dist/assets/{CashbackDetailPage-C9RhIR0R-d9koKX6M.js → CashbackDetailPage-DVsCU69u-iWc1QiKl.js} +24 -24
- package/dist/assets/ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js +1447 -0
- package/dist/assets/ChargeCardListPage-rY7_MoJ5-CzPbszY2.js +355 -0
- package/dist/assets/{ChargeCardListTable-C2nnAxo5-FqHclXlq.js → ChargeCardListTable-PTRaj9T6-GxUnY44G.js} +18 -18
- package/dist/assets/ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js +219 -0
- package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-DK-pEljz-DBBQtECo.js → ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js} +3 -3
- package/dist/assets/{ChargeCardUtils-BxyMuU6--CGk-PpFv.js → ChargeCardUtils-BvVm2SMq-B6pl3c2F.js} +1 -1
- package/dist/assets/{ChaseOverlay-CRiYxWuZ-sWGKU7hV.js → ChaseOverlay-CI8lEzod-DNTlxx9v.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-WYiirlL8-Bs8VUuYh.js → CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js} +16 -16
- package/dist/assets/CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js +2932 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BPZU90Im-DdoiVC4M.js → CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js} +35 -35
- package/dist/assets/{CompanyPassportCard-PXdmJC_B-C7N0q60V.js → CompanyPassportCard-P0g_DRwA-XRQTRVQK.js} +2 -2
- package/dist/assets/{CompanyPassportPage-MxIwsh3W-D5tCZGyF.js → CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js} +37 -37
- package/dist/assets/{CompleteProfile-Bd9xEPVl-Bur2yC4e.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js} +4 -4
- package/dist/assets/{ConfettiBurst-CMpZ2feY-B5XfbLvf.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DgHvZfWv-Bi7M3NeT.js → CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-C2ikLG7P-D9NRI7sf.js → CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js} +15 -15
- package/dist/assets/{CreditCardPaymentPlgSection-M69ECpN9-buXhPCBw.js → CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js} +8 -8
- package/dist/assets/{CurrencySelectField-B3AvTbkp-CHV4_MaB.js → CurrencySelectField-BRkdK9Tx-DZlSSgUd.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-C7eddGoB-xoDiasdm.js → CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BIAeoXCV-CLmmsiWl.js → CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-BzO6XZ0H-R3sD-qJw.js → CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-7yWIaJvU-BJjoIZ4H.js → CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-Tvyrs9Cm-D9abTy3K.js → CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js} +5 -5
- package/dist/assets/Dashboard-CsuzQbH0-B5Hgiilv.js +1254 -0
- package/dist/assets/DashboardReportPage-BCkrfj3P-CIFdRg6l.js +370 -0
- package/dist/assets/{DepositAccTransactionItem-CiRcbfmm-COTpxjXV.js → DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DsNLDlHv-Dil7L-H3.js → DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js} +7 -7
- package/dist/assets/{DocumentSecurityBanner-CIWoR_yI-D3092p-g.js → DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C6x8Gz4g-CvdkcKGu.js → DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js} +1 -1
- package/dist/assets/{DownloadOverlay-D1kGkMFo-CFSdk_Qd.js → DownloadOverlay-CVay7PEO-C-BIaHoh.js} +12 -12
- package/dist/assets/{DrawerPage-CQkJW5hg-9b3zFuwk.js → DrawerPage-BtsjUVWT-DKZ4-9Rc.js} +3 -3
- package/dist/assets/{EditPeoplePage-m2qls8hv-Di3CS432.js → EditPeoplePage-q8Se6bGZ-Cx2X58jF.js} +17 -17
- package/dist/assets/{EditReimbursementDetailPage-IlSyu79B-CK3QXm0O.js → EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js} +72 -72
- package/dist/assets/{EntityDetailPage-CcJJwGo7-uoqYszcb.js → EntityDetailPage-Bux6DlIw-CDR-iDms.js} +1 -1
- package/dist/assets/{EntitySummarySection-JxKHehL1-BXmouJnf.js → EntitySummarySection-D8dz1hFt-Bakc19a1.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-iAUtjSnw-DqMsPFLZ.js → ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js} +26 -26
- package/dist/assets/{ExpenseAutomationPage-B0f86olm-CQRdBFLI.js → ExpenseAutomationPage-aNc126hN-DZa4KtXO.js} +74 -74
- package/dist/assets/{ExpressPayPage-B-at6uDS-Dtq_3eKZ.js → ExpressPayPage-CWVGXvfN-Bzdld5fx.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-gSb_rct_-Cez0USO5.js → FeaturePreviewPage-C0nvVXP--BF6s18r5.js} +2 -2
- package/dist/assets/{FollowStepsSection-eedORgku-CZFixVjB.js → FollowStepsSection-Cf0s1DGX-BFVvc78r.js} +12 -12
- package/dist/assets/{GlobalReviewListPage-BfPwveCc-Be7k0L3l.js → GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js} +10 -10
- package/dist/assets/HelpButton-Dv3nbc1Z-CHaoZd0g.js +28 -0
- package/dist/assets/{InformationCardStack-DPaZz4XW-Ou8UbOck.js → InformationCardStack-BALkGk48-BWmXScs3.js} +5 -5
- package/dist/assets/{InsightsCardStack-sKUFRR0H-C5AsA-_0.js → InsightsCardStack-D52CCSVO-CezeuABJ.js} +10 -10
- package/dist/assets/{InsightsSection-Corx5iDh-dTSwI2kJ.js → InsightsSection-D_wtVtVg-5rPDOiJT.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-DTWoUi2e-Chu6LuMb.js → IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-B441GUkh-CscnxDNt.js → InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js} +14 -14
- package/dist/assets/{InternationalWireVerificationPage-DjpWjFSe-BjBnngF4.js → InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js} +18 -18
- package/dist/assets/{InviteFormPage-BRb4jyp_-CmdYR0dv.js → InviteFormPage-C9fNxGsi-CRksfDku.js} +19 -19
- package/dist/assets/{InvitePageListView-Bb_Q_xqJ-NilyMKAO.js → InvitePageListView-DSWZ2SPi-B4SFh7Xp.js} +49 -49
- package/dist/assets/InvitePeoplePage-DaN4NSHW-CydccedW.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BE4ZqriT-CgEhMUSB.js → InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-BIFpAcrl-Bu31m03I.js → IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js} +22 -22
- package/dist/assets/{LabeledAddressValue-D2vDF5sP-4KAQPk_1.js → LabeledAddressValue-DtmZ5htg-OjX3rrF7.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BMdJsw3x-yhvcn5pE.js → LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-CHRGFyHl-BUwVc2dn.js → LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-qwQPyqDC-CLUSQpF_.js → LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js} +8 -8
- package/dist/assets/{LabeledDocumentField-Cdd8oj5z-KMtJCE5K.js → LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-CSEioH8A-D5DtNkbM.js → LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js} +5 -5
- package/dist/assets/{LabeledText-CqZ-udSP-Cp_rhVhc.js → LabeledText-bruKdeAH-E98_Q-Ht.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DTmijO10-VJ76Kxzi.js → LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js} +5 -5
- package/dist/assets/{LabeledZeniRolesDropDownField-DSIWuFix-DvOwsX2r.js → LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js} +22 -22
- package/dist/assets/{LinkJETransactionPage-C5V1HfGb-D06-uv9I.js → LinkJETransactionPage-DjNutEvf-sKN4Are7.js} +10 -10
- package/dist/assets/{LowBalancePopup-BLfeh0xm-DhP5gG4H.js → LowBalancePopup-CwcYMtuk-B-vSGd6a.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-DGR7VcHs-86DaWsop.js → MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BOu5verB-CVm_wN9K.js → MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-elijVpdq-DPVwqhye.js → MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-C6-JVGAQ-BtgwLSxA.js → MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-CCjLimcL-CG2gHrXG.js → MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js} +3 -3
- package/dist/assets/{MailingDetailsSection-CJhcwaGu-CmX5rK11.js → MailingDetailsSection-BycONjR9-Dhu_6L_d.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DKBH6wSs-Cz9lxz_J.js → MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js} +3 -3
- package/dist/assets/{Menu-D-Gk-Xfo-BdR2WSLk.js → Menu-B6Fh2Mf9-B_ofMkAs.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-CBxa9AUT-hdH4Wtg6.js → MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js} +18 -18
- package/dist/assets/{MyPendingActivationChargeCardListPage-DBr5htlO-Dvtp1o1A.js → MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DKUX_nTz-BwWW-nAl.js → MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js} +8 -8
- package/dist/assets/{NavBarWithPicker-CXyMHDUO-Bs94YYmI.js → NavBarWithPicker-D4jJGXZB-BJWr2BT1.js} +4 -4
- package/dist/assets/{NavigationArrow-Bv-PvnhZ-vMsiaM3Z.js → NavigationArrow-DlUdvmV7-iugv9ZVE.js} +10 -7
- package/dist/assets/{NavigationDots-DJkiFidH-CvAq_Xy1.js → NavigationDots-CFJt-T5J-B9PAzC5S.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CmJjl9S1-GJEZOLOL.js → NewGlobalMerchantPage-DhYni-in-Diwu92Go.js} +8 -8
- package/dist/assets/{NoDataChart-Bsj1HEPq-CJfsMw19.js → NoDataChart-CvGbQO4j-B5z4vqWb.js} +1 -1
- package/dist/assets/{NoDataTable-6vR2vOMI-B5-4Kmpd.js → NoDataTable-EKtYZwcL-XyHu2gAL.js} +1 -1
- package/dist/assets/{NotFoundPage-SRxATfaW-qkQ6HjRZ.js → NotFoundPage-D5SHSQLS-0U7pTJ8G.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Bko3CBmW-BHyL3Q9x.js → NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js} +33 -33
- package/dist/assets/NotificationsListConfig-BL_MxKXF-CvqrsVs-.js +1 -0
- package/dist/assets/{NotificationsPage-DMfBgh2w-DdakMy7H.js → NotificationsPage-bGvx2yV6-C4p8pfzZ.js} +12 -12
- package/dist/assets/{OpExByVendorPage-DOkwCGkr-B0f2S69-.js → OpExByVendorPage-BE_NnQzd-DQnxoqWx.js} +7 -7
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-BTIdWBzf.js → OverlayContainerPage-GWXnlbZH-D2VSw_RI.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DCJ3QTuj-CPKRdyVw.js → PandLWithForecastPage-D-000kuR-BW5fUkac.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CaZETrGz-CL6ak5nD.js → PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js} +8 -8
- package/dist/assets/{PeoplePage-PvOhX-gy-Ba-if4o6.js → PeoplePage-MwM0lFB9-B0wgHwI1.js} +14 -14
- package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +207 -0
- package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +218 -0
- package/dist/assets/{ProductsCarousel-qzlVuyK5-Br7ptzfB.js → ProductsCarousel-D2wC3sC--BKh2AE5P.js} +9 -9
- package/dist/assets/{PromoBaseCards-26GOEn3a-DXSGBLy_.js → PromoBaseCards-Ddumul2a-BrEDd739.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-CZQE3Tjs-OI8VK0Zg.js → QBOConnectionDialog-DszSpNdI-DwqHmKSk.js} +7 -7
- package/dist/assets/{QBOSetupSection-u1sJhV67-D6SlbwYt.js → QBOSetupSection-BNF-BUu5-B_yCc7Df.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-vRiO7G_7-D2eeHzsf.js → ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-kEmFNXtg-CiGGKTdH.js → ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js} +35 -35
- package/dist/assets/{ReimbursementDetailPage-ChyRg0eX-uLcb5a84.js → ReimbursementDetailPage-BAEddssC-DcJfByf4.js} +10 -10
- package/dist/assets/{ReimbursementPromoPage-BWsOD49o-DBNhMU2z.js → ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CgRo7VeI-D49XUJqE.js → ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js} +1 -1
- package/dist/assets/{ReloadCard-CpauR6-c-DZ_kV9B0.js → ReloadCard-BA_JCHcV-DL7NGQyj.js} +5 -5
- package/dist/assets/ReportTableViewSelector-D7B88kS6-BrGIUsj4.js +150 -0
- package/dist/assets/ReportsPage-BzMzH-I3-BKZoRCt6.js +121 -0
- package/dist/assets/{RevenueChart-JdtvK4L6-p_ox0aCR.js → RevenueChart-D33p-PFq-CGRJwc_N.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BwQoOV2Q-N2PuuAU3.js → ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js} +15 -15
- package/dist/assets/{ReviewOverlay-BLxhto7d-wwPpp1Rv.js → ReviewOverlay-BYJdokfW-C97jtxei.js} +10 -10
- package/dist/assets/{RoleWithToolTip-BRSx6yqP-CARA1Fps.js → RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js} +7 -7
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CH84DI7F-CmBm9qTm.js → ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CMunoow5-CjQGMvSk.js → ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-CQVHkQ0e-BsTcRunu.js → ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js} +49 -49
- package/dist/assets/{ScreenRoutes-BUfnw6rn.js → ScreenRoutes-iE9-v0dJ.js} +35 -35
- package/dist/assets/{SetUpAccountSection-CyyxtFvK-CV60qDRz.js → SetUpAccountSection-BEJy78G6-Do1X3vVo.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-Bdw_aWMY-xlnUNQOd.js → SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js} +16 -16
- package/dist/assets/{SignIn-Gw75P03k-DZzhd4eu.js → SignIn-BC8yop4g-CznicFTu.js} +17 -17
- package/dist/assets/{SignInScreen-Dq6qYwZm.js → SignInScreen-k0dvslKE.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BccaMtyd-Df6Rk5hP.js → SpendManagementListViewPage-aZljA388--EEskYb2.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-D-YqqUsz-D9wGY7Sp.js → SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js} +33 -33
- package/dist/assets/{SpendManagementSection-CdH1r1Vw-CNPLQDmq.js → SpendManagementSection-DMw8NFvN-Cpy4Blf3.js} +8 -8
- package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +206 -0
- package/dist/assets/{StatementItem-BW9HKaf9-DHH3_eMn.js → StatementItem-CKTGWEW_-d6SqxmfH.js} +3 -3
- package/dist/assets/{StatementsPage-CXawS1th-D3YQNnde.js → StatementsPage-CjR4AlPy-BQRlcz37.js} +6 -6
- package/dist/assets/{StatusSwitcher-oC-AP25Z-BIEyDhm7.js → StatusSwitcher-5CZzUYJE-qZVSFmES.js} +5 -5
- package/dist/assets/{SubTabSwitcher-DXWQMf7B-COcvC76z.js → SubTabSwitcher-a38_U4dN-BfyQ4BdY.js} +1 -1
- package/dist/assets/{SummaryCard-C3zjN-kT-Cfx6YIVD.js → SummaryCard-XbFHvHx9-CTqdwSSS.js} +1 -1
- package/dist/assets/{TaskManagementPage-BGDJNpe_-Bv3LANWK.js → TaskManagementPage-Oct77yO--igT2quo0.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-BJfy3akS-DFCAXXsq.js → TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-M9tK6u0Y-Cdz5qhRc.js → TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js +31 -0
- package/dist/assets/{TopExCard-BD9Ehuw_-Btk-YgZT.js → TopExCard-CaR8tsug-DnQ2eFWB.js} +5 -5
- package/dist/assets/{TopExDetailPage-3HoXp_6D-DmBiYGdL.js → TopExDetailPage-C4QeWe92-vjJ7ZG8N.js} +10 -10
- package/dist/assets/{TransactionDetailPage-CbnGQ8bn-Cg1J4diW.js → TransactionDetailPage-BoxnNYXX-2QwooFWS.js} +26 -26
- package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +147 -0
- package/dist/assets/{TransactionListBig-5aenxEn4-CWYWbXxG.js → TransactionListBig-B0FG0-BM-Br0wUjP3.js} +18 -18
- package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-Yi7SmsyK-D7Pu6Fa2.js → TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js} +5 -5
- package/dist/assets/{TransferDrawerPage-2P1mhp1M-B7oxuimL.js → TransferDrawerPage-BJVanLzC-BZZsX7dv.js} +11 -11
- package/dist/assets/{TreasuryOverviewPage-CkCBcBQK-D3Q7MJ4U.js → TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js} +34 -34
- package/dist/assets/{TreasuryPromoPage-v-g4ZAdk-CGC4zL_g.js → TreasuryPromoPage-CblUabA3-CO5CaCN_.js} +14 -14
- package/dist/assets/{TreasurySetupPage-B7va2-fJ-CNDcrt8c.js → TreasurySetupPage-CuROk6il-7kJUNajN.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-BEJsQ-Oz-2-eidQa0.js → TreasuryStatementsPage-DfB0yrzC-osurk-aq.js} +10 -10
- package/dist/assets/{TreasuryTaxLetterPage-CpTpM1mx-D--iiF7F.js → TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js} +4 -4
- package/dist/assets/{TreasuryTransferOrReviewPage-BRPFympA-qCMNFj2v.js → TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js} +77 -77
- package/dist/assets/{TrendChart-DRNocU0p-CnURe1Lr.js → TrendChart-D3_4i3qH-wYUerKRk.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CldwGpXX-_Vy0tAR0.js → TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-2C5qEhte-BdEwYcSE.js → UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js} +1 -1
- package/dist/assets/{UnitIntegrationPage--cDHqgXs-Dx-BvNNy.js → UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-D85ML8-_-1p5rwy9h.js → UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-vdFWf98b-D32U3pYN.js → Vendor2FAPopup-wnVnkHOg-DABVEKDS.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-D7ImMabh-BOoEsNma.js → VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js} +1 -1
- package/dist/assets/{VendorDetailPage-BOeEd9pX-B0fSv2j-.js → VendorDetailPage-ClmL_1FB-Cz0Favu8.js} +14 -14
- package/dist/assets/{VendorDomesticWireDetailsPage-CXFrYPn8-BF9k2J97.js → VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CZFErJ91-C1xhL1S7.js → VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-BHzDUMKu-CXJaoIKB.js → VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js} +75 -75
- package/dist/assets/{VendorInternationalWireDetailsPage-j4j5irzH-Bp14Fqws.js → VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DM4jC7wD-Dgo0AgQr.js → VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BTRiZlIa-9pqLXKCO.js → VendorsAccountsSection-fcURK7tv-BOScGj67.js} +13 -13
- package/dist/assets/{WarningsDrawerPage-ZgfQEBme-Bz-_RQEG.js → WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js} +10 -10
- package/dist/assets/{ZeniAccountDetailPage-xrq0Ez6S-CnbEn37D.js → ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js} +40 -40
- package/dist/assets/{ZeniAccountListViewPage-BwXfELGd-Dk1rVmVe.js → ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js} +5 -5
- package/dist/assets/{ZeniAccountNavBarPieces-xpHuuPSD-9p5pX7Wv.js → ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BvSwPEk7-CAtlT9pF.js → ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js} +18 -18
- package/dist/assets/{ZeniAccountSetupPage-yCkiopeU-CjiQIVC-.js → ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js} +3 -3
- package/dist/assets/{ZeniCopyright-BAbOOFg9-Ba3Hfqst.js → ZeniCopyright-DoA2I5zj-CPBH_zf-.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-C1sl8ZNj-DIRmcL5V.js → ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js} +1 -1
- package/dist/assets/{analyticsHelper-CwpIhk9-.js → analyticsHelper-BbcCIpO1.js} +1 -1
- package/dist/assets/{analyticsHelper-CkzpobMi-D_btd99n.js → analyticsHelper-DPbbQVAO-ChPUlKK7.js} +1 -1
- package/dist/assets/{chartTypes-JD2mR9iq-CV6xq_QP.js → chartTypes-qpvW4LwC-4Ag0mdD1.js} +1 -1
- package/dist/assets/{commonDimensions-DRfDJ_wQ-CneCHG2f.js → commonDimensions-DAvj4Il1-Chc9ZQai.js} +1 -1
- package/dist/assets/{detailCommon-BbKkY_46-Z5qIUAEr.js → detailCommon-jP1ggD3g-CQiTz4E7.js} +5 -5
- package/dist/assets/{downloadPdf-D7ANJLK4-JxxYzwZh.js → downloadPdf-LAHtgcHF-B9uNpNRf.js} +1 -1
- package/dist/assets/{index-sK9Ftyw4.js → index-DyBH5SZv.js} +3543 -3520
- package/dist/assets/mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-caUW45t5-DwAiwvFw.js → mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js +1 -0
- package/dist/assets/{play-icon-BbWpG2oG-B5eavh5o.js → play-icon-D3OSczih-8eMagn70.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DOgHiMwn-FzGFQyKt.js → toCOABalancesWithID-DeWKaovX-C_3xC96w.js} +1 -1
- package/dist/assets/{toChartData-CNfdaXyM-DfRj5vR3.js → toChartData-Dkp488IJ-Cg1gF7al.js} +1 -1
- package/dist/assets/{treasuryColorHelper-JBMxqa9X-CUh3yvXJ.js → treasuryColorHelper-BibNNRS5-DCmyWsB-.js} +1 -1
- package/dist/assets/{uploadAttachment-BGZjtYkJ-C2nAJwG2.js → uploadAttachment-BjJ8_wDA-22p019X4.js} +25 -25
- package/dist/assets/{uploadReceipts-Buvz7DfG-DhG_60YS.js → uploadReceipts-D80JLNY4-sjevKwVl.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPageContent-BTk2gRyM-BiMT6aOy.js +0 -149
- package/dist/assets/ApprovalRulesSettingsPage-CXh9tY6X-QKrc0pyW.js +0 -47
- package/dist/assets/ArAgingChart-GL4vkypx-DFuyLVYD.js +0 -24
- package/dist/assets/BillPaySetUpPage-_s4R537_-DZWDn61D.js +0 -42
- package/dist/assets/ChargeCardDetailPage-Kygr13jR-27IRQfLT.js +0 -1447
- package/dist/assets/ChargeCardListPage-BnzdzSXW-BVsaSOA5.js +0 -355
- package/dist/assets/ChargeCardPromoPage-CSNn9X5i-Fnig2Ypz.js +0 -175
- package/dist/assets/ChargeCardSetupPage-DE1pK_7F-FapyQkm6.js +0 -36
- package/dist/assets/CollapsableReportTable-BGT77T9W-CUBrV0Bt.js +0 -2860
- package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-TgCXFZSY.js +0 -1
- package/dist/assets/Dashboard-CA9685lJ-tQYLqsRv.js +0 -778
- package/dist/assets/DashboardReportPage-DQoFWd5C-D2SWkLyX.js +0 -349
- package/dist/assets/HelpButton-DvD6UJq--DH6Lkii6.js +0 -28
- package/dist/assets/InvitePeoplePage-BKEDAnQ4-gH3ZdBUQ.js +0 -12
- package/dist/assets/NotificationsListConfig-ChVd_Bek-B5rqV-0u.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-DsCeagnu-uMKipSgE.js +0 -207
- package/dist/assets/PortfolioDetails-BEa4kwk8-CZhLy7bU.js +0 -218
- package/dist/assets/ReimbursementSetUpPage-DO_dBP9N-CjFJx_39.js +0 -140
- package/dist/assets/ReportTableViewSelector-D6DHFt_R-BSunAQvT.js +0 -150
- package/dist/assets/ReportsPage-D4mI3T0w-WDX-OUzA.js +0 -120
- package/dist/assets/SpendMgmtSetupAccountSection-nryeZQ0T-B5W1wa7s.js +0 -206
- package/dist/assets/TimeframeSwitcherWithToggle-L1nNDGOE-Crad0c1r.js +0 -31
- package/dist/assets/TransactionList-BBjiP2Nf-u9SYmiJO.js +0 -147
- package/dist/assets/TransactionListPage-BeVkiwkg-CZaGi9mq.js +0 -35
- package/dist/assets/mapLoadingInProgressToTreeNode-e8JhfflK-ymVVgqde.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-C692pbYW-C1yi1TTP.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKrYq4x5-C3cOfAea.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,X as
|
|
1
|
+
import{j as t,X as G,a as he,M as U,c3 as ye,H as ge,l as Y,bO as be,bQ as fe,bR as xe,F as ve,a3 as we,C as p,cw as le,cx as Ce,o as y,an as $e,cg as oe,u as ne,cy as je,cz as K,cm as Q,ag as H,c6 as De,cA as Te,n as a,co as Se,Y as ke,g as V,c as Fe,Q as Oe,bs as Ae,w as Le,b4 as ze}from"./index-DyBH5SZv.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js";import{T as Ie}from"./MailingDetailsSection-BycONjR9-Dhu_6L_d.js";import{S as Pe}from"./CurrencySelectField-BRkdK9Tx-DZlSSgUd.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=G(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -86,10 +86,10 @@ import{j as t,X as Y,a as he,M as U,c3 as ye,D as ge,l as G,bO as be,bQ as fe,bR
|
|
|
86
86
|
width: ${y.sp3};
|
|
87
87
|
height: ${y.sp3};
|
|
88
88
|
color: inherit;
|
|
89
|
-
`,S={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Qe=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:D,isDisabled:k,style:C})=>{const b=
|
|
89
|
+
`,S={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Qe=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:D,isDisabled:k,style:C})=>{const b=G(),{getValues:$}=oe(),j=ne(),m=U.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=S.largeLabelWidth.value(b),z=n?.accountType?.type,T=n?.countryCode==null,_=n?.currencyCode==null,F=["phone","email","other"];return t.jsx(Ge,{style:C,children:t.jsxs(Ye,{children:[t.jsx(je,{isDisabled:w===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:L(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(R,{}),t.jsx(Ee,{isDisabled:T===!0?"disabled":D===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(R,{}),_!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(K,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(R,{})]}):null,n!=null&&z!=null&&n.dynamicForm[z]!=null&&i.length>0?Object.keys(n.dynamicForm[z]).map(s=>{const r=i.filter(E=>E.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const E=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(De,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:E,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:k,style:{width:"auto"},showAdditionalInfoLabel:!1},W(o,"dynamicForm",h,r.name)),t.jsx(R,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(K,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:E,allOptions:r.valuesAllowed??[]}}},W(o,"dynamicForm",h,r.name)),t.jsx(R,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(X,{size:b,children:[t.jsx(Q,{label:r.label+c.colon,htmlFor:W(o,"dynamicForm",h,r.name),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x}}),t.jsx(Z,{labelWidth:x,size:b,children:r.valuesAllowed?.map(M=>t.jsx(H,{label:{label:M.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:W(o,"dynamicForm",h,r.name),id:r.name,value:M.value,registerOptions:{required:!0}}},M.value))})]},W(o,"dynamicForm",h,r.name)),t.jsx(R,{})]});default:return null}}else return null}):null,t.jsxs(Ke,{size:b,children:[t.jsxs(X,{size:b,children:[t.jsx(Q,{label:c.addSource,htmlFor:L(o,"source"),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:S.toolTipWidth.valuePx(b)}),t.jsxs(Z,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:c.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[0],value:F[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[1],value:F[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[2],value:F[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(Te,{type:"text",name:L(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:j.colors.background,border:`1px solid ${j.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(R,{})]})})},L=(e,i)=>`${e}.${i}`,W=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Ge=g.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
flex-direction: column;
|
|
92
|
-
`,
|
|
92
|
+
`,Ye=g.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
95
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -102,7 +102,7 @@ import{j as t,X as Y,a as he,M as U,c3 as ye,D as ge,l as G,bO as be,bQ as fe,bR
|
|
|
102
102
|
background-color: ${e=>e.theme.colors.grey3};
|
|
103
103
|
min-height: 1px;
|
|
104
104
|
max-height: 1px;
|
|
105
|
-
`,
|
|
105
|
+
`,Ke=g.div`
|
|
106
106
|
display: flex;
|
|
107
107
|
flex-direction: column;
|
|
108
108
|
align-items: flex-start;
|
|
@@ -113,7 +113,7 @@ import{j as t,X as Y,a as he,M as U,c3 as ye,D as ge,l as G,bO as be,bQ as fe,bR
|
|
|
113
113
|
z-index: 1;
|
|
114
114
|
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
115
115
|
}
|
|
116
|
-
`,
|
|
116
|
+
`,X=g.div`
|
|
117
117
|
display: flex;
|
|
118
118
|
flex-direction: row;
|
|
119
119
|
width: 100%;
|
|
@@ -121,7 +121,7 @@ import{j as t,X as Y,a as he,M as U,c3 as ye,D as ge,l as G,bO as be,bQ as fe,bR
|
|
|
121
121
|
background-color: ${e=>e.theme.colors.grey5};
|
|
122
122
|
min-height: ${e=>S.labelHeight.valuePx(e.size)};
|
|
123
123
|
align-items: center;
|
|
124
|
-
`,
|
|
124
|
+
`,Z=g.div`
|
|
125
125
|
display: flex;
|
|
126
126
|
flex-direction: row;
|
|
127
127
|
width: ${e=>`calc(100% - ${e.labelWidth}px)`};
|
|
@@ -130,7 +130,7 @@ import{j as t,X as Y,a as he,M as U,c3 as ye,D as ge,l as G,bO as be,bQ as fe,bR
|
|
|
130
130
|
flex-grow: 1;
|
|
131
131
|
height: ${e=>S.controlHeight.valuePx(e.size)};
|
|
132
132
|
align-items: center;
|
|
133
|
-
`,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},
|
|
133
|
+
`,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},J="internationalDetailsPage",v="internationalWireSection",Xe="mailingAddressSection",ee=e=>`${e}_form`,Ze=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m=G(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,z=e.fetchState,T=he({mode:"all",reValidateMode:"onChange",defaultValues:I.useMemo(()=>te(e),[e]),values:te(e)}),[_,F]=I.useState(!1),[s,r]=I.useState(!1),h=U.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=U.getLocalizedStrings().common.footer,{international:M}=h.wireDetails,re={onOkClick:()=>{r(!1),T.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,A)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){F(!0);return}const B=d===`${v}.vendorCountry`,N=d===`${v}.vendorCurrency`;N&&A[v].vendorCurrency.selectedOption!=null&&C(A[v].vendorCurrency.selectedOption,D,i);const pe={...A},me=ie(pe,e,B,N,f);k(me,D,i,N||B)};I.useEffect(()=>{const d=T.watch((A,{name:B})=>{B!=null&&A!=null&&ye(()=>se(B,A))});return()=>{d.unsubscribe()}});const q=I.useCallback(()=>{const d=T.getValues(),A=ie(d,e,!1,!1,f);k(A,D,i,!1),F(!1)},[T,e,f,k,D,i]),de=I.useCallback(()=>{_&&q(),j(n)},[_,q,j,n]),ce=T.handleSubmit(d=>{_&&q(),b()}),ue=!ge(w!=null?Y.getFormattedAddress(w):w,o!=null?Y.getFormattedAddress(o):o)||T.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(We,{header:M.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(Re,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...T,children:t.jsxs("form",{id:ee(J),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Qe,{wireAccountToCreate:c,dynamicFormFetchState:z,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Ie,{sectionId:Xe,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(J),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:E.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{T.formState.isDirty?r(!0):(T.reset(),$())}}})]})},Je=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Je(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
|
|
134
134
|
padding-left: ${e=>P.paddingLeftContainer.valuePx(e.size)};
|
|
135
135
|
padding-right: ${e=>P.paddingRightContainer.valuePx(e.size)};
|
|
136
136
|
padding-top: ${e=>P.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -149,4 +149,4 @@ import{j as t,X as Y,a as he,M as U,c3 as ye,D as ge,l as G,bO as be,bQ as fe,bR
|
|
|
149
149
|
color: ${e=>e.theme.colors.champion};
|
|
150
150
|
margin-left: ${e=>P.marginLeft.valuePx(e.size)};
|
|
151
151
|
margin-top: ${y.sp3};
|
|
152
|
-
`,ft=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,z=m.vendorBasic?.currencyCode!=null||c;return I.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(
|
|
152
|
+
`,ft=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,z=m.vendorBasic?.currencyCode!=null||c;return I.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Ze,{internationalWireView:e,addressToEdit:o,mailingAddress:w,addressType:u,billAmount:D,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:j,onAccountDetailsUpdated:k,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:z})};export{ft as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as l}from"./index-
|
|
1
|
+
import{j as l}from"./index-DyBH5SZv.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js";import"./MailingDetailsSection-BycONjR9-Dhu_6L_d.js";import"./LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js";import"./MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as ie,u as oe,M as te,C as c,
|
|
1
|
+
import{X as ie,u as oe,M as te,C as c,g3 as w,a7 as T,j as i,hj as g,hi as m,o as r,Q as ne,g as re,dv as se,w as le,n as a}from"./index-DyBH5SZv.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},k={title:new ne("standardMedium","largeMedium")},de=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
|
|
@@ -8,8 +8,8 @@ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o a
|
|
|
8
8
|
width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
|
|
9
9
|
background-color: ${e=>e.theme.colors.grey5};
|
|
10
10
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
11
|
-
box-shadow: ${e=>`${
|
|
12
|
-
border-radius: ${
|
|
11
|
+
box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
12
|
+
border-radius: ${r.sp2};
|
|
13
13
|
fill: ${e=>e.theme.colors.grey1};
|
|
14
14
|
justify-content: space-between;
|
|
15
15
|
box-sizing: border-box;
|
|
@@ -23,8 +23,8 @@ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o a
|
|
|
23
23
|
flex-direction: row;
|
|
24
24
|
margin-left: ${e=>s.elementsMarginLeftRight.valuePx(e.windowSize)};
|
|
25
25
|
margin-right: ${e=>s.elementsMarginLeftRight.valuePx(e.windowSize)};
|
|
26
|
-
margin-top: ${
|
|
27
|
-
margin-bottom: ${
|
|
26
|
+
margin-top: ${r.sp4};
|
|
27
|
+
margin-bottom: ${r.sp0};
|
|
28
28
|
`,ae=l.div`
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
${e=>`${k.title.style(e.windowSize)}`};
|
|
@@ -37,10 +37,10 @@ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o a
|
|
|
37
37
|
align-items: flex-start;
|
|
38
38
|
padding: ${e=>s.iconPadding.valuePx(e.windowSize)};
|
|
39
39
|
background: ${e=>e.iconColor.toString()};
|
|
40
|
-
border-radius: ${
|
|
40
|
+
border-radius: ${r.sp11};
|
|
41
41
|
width: fit-content;
|
|
42
42
|
height: fit-content;
|
|
43
|
-
color: ${e=>e.isDarkMode?
|
|
43
|
+
color: ${e=>e.isDarkMode?re.neutralGrey5Light:e.theme.colors.brandColorOnyx};
|
|
44
44
|
max-width: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
45
45
|
max-height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
46
46
|
margin-right: ${e=>s.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
@@ -50,8 +50,8 @@ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o a
|
|
|
50
50
|
`,v=l(le)`
|
|
51
51
|
color: ${e=>e.theme.colors.hero};
|
|
52
52
|
`,y=l(se)`
|
|
53
|
-
width: ${
|
|
54
|
-
height: ${
|
|
53
|
+
width: ${r.sp4};
|
|
54
|
+
height: ${r.sp4};
|
|
55
55
|
`,j=l.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
@@ -60,9 +60,9 @@ import{X as ie,u as oe,M as te,C as c,g5 as w,ab as T,j as i,hl as g,hk as m,o a
|
|
|
60
60
|
flex-direction: column;
|
|
61
61
|
margin-left: ${e=>s.elementsMarginLeftRight.valuePx(e.windowSize)};
|
|
62
62
|
margin-right: ${e=>s.elementsMarginLeftRight.valuePx(e.windowSize)};
|
|
63
|
-
margin-top: ${
|
|
64
|
-
margin-bottom: ${
|
|
63
|
+
margin-top: ${r.sp3};
|
|
64
|
+
margin-bottom: ${r.sp3};
|
|
65
65
|
background-color: ${e=>e.theme.colors.grey5};
|
|
66
66
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
67
|
-
border-radius: ${
|
|
68
|
-
`,z=(e,u)=>`${e}.${u}`;function xe({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:
|
|
67
|
+
border-radius: ${r.sp2};
|
|
68
|
+
`,z=(e,u)=>`${e}.${u}`;function xe({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:I,showTitle:L=!0}){const n=ie(),d=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:_,accruedExpensesRecommendations:E,fixedAssetsAccountHierarchy:B,fixedAssetsAccountList:M,fixedAssetsRecommendations:R,prepaidExpensesAccountHierarchy:F,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:P,selectedAccruedExpensesAccountIds:W,selectedFixedAssetsAccountIds:H,selectedPrepaidExpensesAccountIds:V}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=s.labelWidth.value(n),q=w(F,P,"Accounts"),D=w(B,R,"Accounts"),G=w(O,E,"Accounts"),J=P[0]?.account?.reason??"",Q=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),N=R[0]?.account?.reason??"",X=t.tooltip.replace("__based__",N).replace("__account__",t.vendorSection.fixedAssetsAccount),K=E[0]?.account?.reason??"",U=t.tooltip.replace("__based__",K).replace("__account__",t.vendorSection.accruedExpensesAccount),Y=C.filter(o=>V.includes(o.accountId)??!1),Z=M.filter(o=>H.includes(o.accountId)??!1),ee=_.filter(o=>W.includes(o.accountId)??!1),x={valueContainer:o=>({...o,padding:`2px ${r.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},h=d.mode==="light"?new T(d.colors.brandColorJadeLight):new T(d.colors.brandColorJadeDark);return i.jsxs(de,{windowSize:n,children:[L?i.jsx(ae,{windowSize:n,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:n,children:[i.jsxs(f,{windowSize:n,children:[i.jsx(b,{windowSize:n,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:n,children:t.vendorSection.prepaidExpenseTitle}),i.jsx(v,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:Q,sticky:!1},valueToId:o=>m(o,C)}})})}),i.jsxs(f,{windowSize:n,children:[i.jsx(b,{windowSize:n,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:n,children:t.vendorSection.FixedAssetsTitle}),i.jsx(v,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:D,selectedOptions:Z.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:X,sticky:!1},valueToId:o=>m(o,M)}})})}),I?i.jsxs(i.Fragment,{children:[i.jsxs(f,{windowSize:n,children:[i.jsx(b,{windowSize:n,iconColor:h,isDarkMode:d.mode==="dark",children:i.jsx(y,{})}),i.jsxs(S,{children:[i.jsx($,{windowSize:n,children:t.vendorSection.AccruedExpensesTitle}),i.jsx(v,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(j,{children:i.jsx(A,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${d.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:U,sticky:!1},valueToId:o=>m(o,_)}})})})]}):null]})]})}export{xe as h};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{X as
|
|
2
|
-
${
|
|
1
|
+
import{X as C,l as B,M as D,j as s,eM as j,eQ as S,K as M,v as E,o as n,C as $,Q as L,h as P,a2 as z,c0 as N,g as w,k as A,ax as Q,eA as R,n as g}from"./index-DyBH5SZv.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},T={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=F(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=V(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(q,{children:[s.jsx(H,{windowSize:l,children:s.jsx(K,{children:s.jsxs(_,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(Y,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
|
|
2
|
+
${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(U,{isStepInError:i.status==="Error",children:s.jsxs(W,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},F=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},q=t.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
padding-top: ${n.sp3};
|
|
@@ -17,11 +17,11 @@ import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,r as E,o as n,C as $,Q
|
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
margin: ${n.sp3} ${n.sp8} 102px ${n.sp8};
|
|
20
|
-
`,
|
|
20
|
+
`,Y=t(N)`
|
|
21
21
|
color: ${r=>r.theme.colors.primary};
|
|
22
22
|
margin-bottom: ${n.sp3};
|
|
23
23
|
margin-right: ${n.sp6};
|
|
24
|
-
`,
|
|
24
|
+
`,_=t.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: row;
|
|
27
27
|
align-items: center;
|
|
@@ -34,15 +34,15 @@ import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,r as E,o as n,C as $,Q
|
|
|
34
34
|
padding-top: ${r=>h.navBarPaddingTop.valuePx(r.windowSize)};
|
|
35
35
|
padding-bottom: ${r=>h.navBarPaddingBottom.valuePx(r.windowSize)};
|
|
36
36
|
height: 100%;
|
|
37
|
-
`,
|
|
38
|
-
${r=>`${
|
|
37
|
+
`,J=t(P)`
|
|
38
|
+
${r=>`${T.title.style(r.windowSize)}`};
|
|
39
39
|
display: flex;
|
|
40
40
|
flex: 1 1 auto;
|
|
41
41
|
color: ${r=>r.theme.colors.primary};
|
|
42
42
|
align-items: center;
|
|
43
43
|
justify-content: center;
|
|
44
44
|
overflow: hidden;
|
|
45
|
-
`,
|
|
45
|
+
`,U=t.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
background-color: ${r=>r.isStepInError?w.alertLight:r.theme.colors.grey5};
|
|
48
48
|
border: ${r=>`1px solid ${r.theme.colors.grey3}`};
|
|
@@ -50,7 +50,7 @@ import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,r as E,o as n,C as $,Q
|
|
|
50
50
|
margin-bottom: ${n.sp3};
|
|
51
51
|
border-color: ${r=>r.isStepInError?w.brandColorGold:r.theme.colors.grey2};
|
|
52
52
|
flex-direction: column;
|
|
53
|
-
`,
|
|
53
|
+
`,W=t.div`
|
|
54
54
|
display: flex;
|
|
55
55
|
margin: 12px ${n.sp3} 12px ${n.sp3};
|
|
56
56
|
align-items: center;
|
|
@@ -66,11 +66,11 @@ import{X as j,l as B,M as S,j as s,eO as I,eS as D,K as M,r as E,o as n,C as $,Q
|
|
|
66
66
|
color: ${r=>r.isStepInError?w.brandColorGoldDark:r.theme.colors.primary};
|
|
67
67
|
margin-left: ${n.sp2};
|
|
68
68
|
align-items: center;
|
|
69
|
-
`,oe=t(
|
|
69
|
+
`,oe=t(Q)`
|
|
70
70
|
width: ${n.sp4};
|
|
71
71
|
height: ${n.sp4};
|
|
72
72
|
color: ${w.success};
|
|
73
|
-
`,ne=t(
|
|
73
|
+
`,ne=t(R)`
|
|
74
74
|
width: ${n.sp4};
|
|
75
75
|
height: ${n.sp4};
|
|
76
76
|
color: ${r=>r.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as Te,X as M,t as Pe,l as P,u as pe,a1 as Be,j as t,M as Q,_ as B,bs as L,o,aV as Le,v as D,bO as W,bQ as F,bR as Y,F as Ne,cA as He,g as y,co as Me,Y as C,c as ue,w,b4 as Ee,be as Ie,a5 as Oe,C as j,fc as Ue,cO as ae,n as p,gQ as Re,ar as We,b6 as Fe,au as Ye,at as Ve,b7 as Ge,as as Je,q as Z,gR as Xe,al as Ke,ae as Qe,gS as Ze,k as _e,gT as qe,ax as et,fe as tt,cv as ot,f as at,Q as it,bH as nt}from"./index-DyBH5SZv.js";import{b as r,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as lt}from"./BoxItem-DX1sag1G-C0OcCbod.js";import{w as rt}from"./downloadPdf-LAHtgcHF-B9uNpNRf.js";import{H as ct}from"./DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js";import{T as st}from"./ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-DAvj4Il1-Chc9ZQai.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100vh;
|
|
@@ -8,17 +8,17 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
8
8
|
background-color: ${e=>e.theme.colors.grey5};
|
|
9
9
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
10
10
|
background-color: ${e=>e.theme.colors.grey4};
|
|
11
|
-
`,ie="editNickName-form",Y="checkingAccountNickName",ut={tickLabelText:new it("extraSmallRegular","smallRegular")},u={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:M,spendManagement:ht}=K.getLocalizedStrings(),{zeniAccounts:i}=ht,G=K.getLocalizedStrings().dateFormat,mt=K.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=l.memo(({accountHistory:e})=>{const h=H(),n=pe(),[m,$]=l.useState(),w=l.useMemo(()=>e.accountHistoryWithBalance.map(r=>({...r,date:r.date.toISOString()})),[e.accountHistoryWithBalance]),x=l.useCallback(r=>{let d="",c="";return r&&r[0]&&(c=B("0,0[.]00",r[0].payload?.balance?.available),d=T.zeniDate(r[0].payload?.date).format(G.visual.DMMMYYYYFormat)),t.jsxs(Yt,{children:[t.jsx(re,{children:d}),t.jsx(re,{isSublabel:!0,children:c})]})},[]),g=l.useCallback(r=>{const{x:d,y:c}=r,{value:C}=r.payload;let D=!1;e.accountHistoryWithBalance.length>360&&(D=!0);const S=D?T.zeniDate(C).format(G.visual.MMMformat):T.zeniDate(C).format(G.visual.MMMDFormat);return t.jsx(Dt,{translateX:d,translateY:c,children:t.jsx(Lt,{windowSize:h,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,h]),k=l.useCallback(({cx:r,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==r||m?.y!==d)&&$({x:r,y:d}),t.jsx(Gt,{cx:r,cy:d,strokeWidth:1,r:p[1]})),[m]),y=l.useMemo(()=>{const r=e.accountHistoryWithBalance.length;return r<=0?0:r>360?Math.floor(r/12):Math.floor(r/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(so,{children:t.jsx(po,{children:M.texts.noData})}):t.jsx(It,{children:t.jsx(We,{height:u.areaChartHeight.value(h),width:"99%",children:t.jsxs(Re,{data:w,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Nt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Mt,{offset:"0%",stopColor:f.brandColorJade,stopOpacity:1}),t.jsx(Ht,{offset:"100%",stopColor:f.brandColorJade,stopOpacity:.03})]})}),t.jsx(Fe,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Ve,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:r=>g(r),padding:{right:p[4]},interval:y}),t.jsx(Ye,{tick:!1,axisLine:!1}),t.jsx(Ge,{position:m,content:({payload:r})=>x(r),cursor:{strokeDasharray:"3",stroke:f.brandColorJade}}),t.jsx(Je,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:f.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=l.memo(({zeniAccountDetail:e,getToolTipContent:h,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:w,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const y=H(),r=l.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(wt,{windowSize:y,children:[t.jsx(xt,{getToolTipContent:h,zeniAccountDetail:e}),t.jsxs(zt,{children:[t.jsx(he,{accountHistory:r}),t.jsxs(Et,{windowSize:y,children:[t.jsxs(Rt,{onClick:n,"data-testid":v("view-account-detail-button"),children:[t.jsx(ao,{}),y==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":v("download-bank-verification-letter"),onClick:()=>lt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[w?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(io,{}),y==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs($t,{windowSize:y,children:[t.jsxs(jt,{children:[t.jsx(_t,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":v("view-all-account-transactions"),children:[t.jsx(eo,{children:i.zeniAccountDetail.viewAll}),t.jsx(Zt,{})]}):null]}),t.jsx(kt,{children:e.transactionList.map((d,c)=>t.jsx(ct,{data:d,boxType:rt(c,e.transactionList.length)},d.id))})]}):t.jsxs(gt,{children:[t.jsx(yt,{windowSize:y}),t.jsx(ft,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const So=({authParams:e,downloadEndPoint:h,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:w,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:y,onEditNameClick:r,onReloadZeniAccountDetailPage:d})=>{const c=Pe({mode:"all"}),{setFocus:C}=c,[D,S]=l.useState(!1),[E,I]=l.useState(!1),[Q,xe]=l.useState(!1),Z=H(),ee=Te(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||T.hasAnyFinOpRole(ee.loggedInUserRoleMap);l.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),l.useEffect(()=>{Q===!0&&setTimeout(()=>{xe(!1)},800)},[Q]);const ge=n.transactionList.length>4,U=pe(),[ye,fe]=l.useState(!1),[$e,O]=l.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?O(!0):g(s,n.accountDetail)},be={onOkClick:()=>{y?.(),S(!1)},onCancelClick:()=>{S(!1)}},we={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};l.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(I(!1),c.reset())},[oe,W,c]),l.useEffect(()=>{E&&C(Y)},[E,C]);const ke={pageName:"detailPage",onOptionSelection:je},ve=n.accountDetail?.accountName??"",A=n.accountSummary,Ce=c.handleSubmit(s=>{r?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),O(!1)},onCancelClick:()=>{O(!1)}},ze=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},De=l.useCallback(s=>{let P=null;switch(s){case"insuredBalance":P=t.jsx(t.Fragment,{});break;case"totalInterest":P=t.jsx(co,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":P=t.jsxs(ro,{children:[t.jsx(no,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(q,{children:B("0,0[.]00",A?.totalBalance.available)})]})]});break}return t.jsx(N,{children:t.jsx(L,{style:{textAlign:"left",padding:o.sp1},maxWidth:ze(s),display:"flex",placement:Z==="small"?"bottom":"top",title:P,children:t.jsx(lo,{})})})},[A,Z]),Ae=t.jsx(st,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(bt,{children:[t.jsx(Le,{title:ve,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:U.colors.grey4,style:{zIndex:3,...z.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),D?t.jsx(R,{titleComponent:t.jsx(V,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(F,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${M.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:be}):null,$e?t.jsx(R,{titleComponent:t.jsx(V,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(R,{titleComponent:t.jsx(V,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:we,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:Ce,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(Me,{type:"text",name:Y,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:He(c.formState.errors,Y)===!0?f.importantLight:U.colors.background,border:`1px solid ${U.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:h,getToolTipContent:De,onAccountDetailClick:x,onViewAllTransactionClick:w,setShowLoader:fe,showLoader:ye,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(At,{children:[t.jsx(Pt,{onClick:d,"data-testid":v("account-detail-reload"),children:t.jsx(Bt,{})}),t.jsx(Tt,{children:mt.reloadPage.label})]}):t.jsx(pt,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},xt=({zeniAccountDetail:e,getToolTipContent:h})=>{const n=H(),[m,$]=l.useState(!1),[,w]=Oe(),[x,g]=l.useState(!1),k=()=>{w(e.accountDetail?.accountNumber??""),g(!0)};return l.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(Ct,{children:[t.jsx(Vt,{children:t.jsxs(le,{children:[ne(i.zeniAccountList.totalAvailableBalance),h("totalBalance")]})}),t.jsx(Kt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:z.h2Regular.cssObject,decimalStyles:z.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(qt,{"data-testid":v("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"right",title:x?M.copyToClipBoard.copied:M.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(oo,{}):t.jsx(to,{onClick:k,"data-testid":v("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Xt,{"data-testid":v("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(le,{children:[ne(i.common.totalYieldEarned),h("totalInterest")]}),t.jsxs(Ut,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:z.largeRegular.cssObject,decimalStyles:z.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Wt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},gt=a.div`
|
|
11
|
+
`,ie="editNickName-form",V="checkingAccountNickName",ut={tickLabelText:new it("extraSmallRegular","smallRegular")},u={accountDetailHeaderPaddingRight:new j(p[3],p[8]),accountDetailHeaderPaddingBottom:new j(p[3],p[6]),accountDetailHeaderPaddingLeft:new j(p[3],p[8]),accountDetailContentMarginTop:new j(p[5],p[7]),areaChartHeight:new j(114,209),accountDetailHeaderGap:new j(18,100,184),accBtnsGap:new j(0,p[11]),styledNoTransactionIconSize:new j(60,120)},{common:H,spendManagement:ht}=Q.getLocalizedStrings(),{zeniAccounts:i}=ht,G=Q.getLocalizedStrings().dateFormat,mt=Q.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=r.memo(({accountHistory:e})=>{const h=M(),n=pe(),[m,$]=r.useState(),b=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let d="",c="";return l&&l[0]&&(c=B("0,0[.]00",l[0].payload?.balance?.available),d=P.zeniDate(l[0].payload?.date).format(G.visual.DMMMYYYYFormat)),t.jsxs(Vt,{children:[t.jsx(le,{children:d}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:d,y:c}=l,{value:v}=l.payload;let z=!1;e.accountHistoryWithBalance.length>360&&(z=!0);const S=z?P.zeniDate(v).format(G.visual.MMMformat):P.zeniDate(v).format(G.visual.MMMDFormat);return t.jsx(zt,{translateX:d,translateY:c,children:t.jsx(Lt,{windowSize:h,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,h]),k=r.useCallback(({cx:l,cy:d,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==d)&&$({x:l,y:d}),t.jsx(Gt,{cx:l,cy:d,strokeWidth:1,r:p[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(so,{children:t.jsx(po,{children:H.texts.noData})}):t.jsx(It,{children:t.jsx(Re,{height:u.areaChartHeight.value(h),width:"99%",children:t.jsxs(We,{data:b,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Nt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ht,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Mt,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(Fe,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(Ye,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:p[4]},interval:f}),t.jsx(Ve,{tick:!1,axisLine:!1}),t.jsx(Ge,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(Je,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:h,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:b,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=M(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(bt,{windowSize:f,children:[t.jsx(xt,{getToolTipContent:h,zeniAccountDetail:e}),t.jsxs(Dt,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(Et,{windowSize:f,children:[t.jsxs(Wt,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(ao,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":C("download-bank-verification-letter"),onClick:()=>rt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[b?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs($t,{windowSize:f,children:[t.jsxs(jt,{children:[t.jsx(Zt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(_t,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(eo,{children:i.zeniAccountDetail.viewAll}),t.jsx(qt,{})]}):null]}),t.jsx(kt,{children:e.transactionList.map((d,c)=>t.jsx(ct,{data:d,boxType:lt(c,e.transactionList.length)},d.id))})]}):t.jsxs(gt,{children:[t.jsx(ft,{windowSize:f}),t.jsx(yt,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const So=({authParams:e,downloadEndPoint:h,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:b,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:d})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[z,S]=r.useState(!1),[E,I]=r.useState(!1),[_,xe]=r.useState(!1),q=M(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||P.hasAnyFinOpRole(ee.loggedInUserRoleMap);r.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),r.useEffect(()=>{_===!0&&setTimeout(()=>{xe(!1)},800)},[_]);const ge=n.transactionList.length>4,O=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),R=n.accountUpdateStatus.editName.fetchState,oe=Be(R),je=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},be={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};r.useEffect(()=>{oe==="In-Progress"&&R==="Completed"&&(I(!1),c.reset())},[oe,R,c]),r.useEffect(()=>{E&&v(V)},[E,v]);const ke={pageName:"detailPage",onOptionSelection:je},Ce=n.accountDetail?.accountName??"",A=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},ze=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(co,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(lo,{children:[t.jsx(no,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(X,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:B("0,0[.]00",A?.totalBalance.available)})]})]});break}return t.jsx(N,{children:t.jsx(L,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(s),display:"flex",placement:q==="small"?"bottom":"top",title:T,children:t.jsx(ro,{})})})},[A,q]),Ae=t.jsx(st,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:O.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),z?t.jsx(W,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(F,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${H.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(W,{titleComponent:t.jsx(Y,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,E?t.jsx(W,{titleComponent:t.jsx(Y,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:be,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(He,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Me(c.formState.errors,V)===!0?y.importantLight:O.colors.background,border:`1px solid ${O.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:h,getToolTipContent:ze,onAccountDetailClick:x,onViewAllTransactionClick:b,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(At,{children:[t.jsx(Tt,{onClick:d,"data-testid":C("account-detail-reload"),children:t.jsx(Bt,{})}),t.jsx(Pt,{children:mt.reloadPage.label})]}):t.jsx(pt,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},xt=({zeniAccountDetail:e,getToolTipContent:h})=>{const n=M(),[m,$]=r.useState(!1),[,b]=Ue(),[x,g]=r.useState(!1),k=()=>{b(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(Ct,{children:[t.jsxs(vt,{children:[t.jsx(Yt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),h("totalBalance")]})}),t.jsx(Qt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"right",title:x?H.copyToClipBoard.copied:H.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(oo,{}):t.jsx(to,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(N,{children:t.jsx(L,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),h("totalInterest")]}),t.jsxs(Ot,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Ut,{}),t.jsx(Rt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},gt=a.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: center;
|
|
16
|
-
`,
|
|
16
|
+
`,ft=a(Ze)`
|
|
17
17
|
width: ${e=>u.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
18
18
|
height: ${e=>u.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
19
19
|
margin-top: 128px;
|
|
20
20
|
margin-bottom: ${o.sp3};
|
|
21
|
-
`,
|
|
21
|
+
`,yt=a(Z)`
|
|
22
22
|
color: ${e=>e.theme.colors.hero};
|
|
23
23
|
text-align: center;
|
|
24
24
|
`,$t=a.div`
|
|
@@ -33,11 +33,11 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
33
33
|
display: flex;
|
|
34
34
|
justify-content: space-between;
|
|
35
35
|
margin-bottom: ${o.sp3};
|
|
36
|
-
`,
|
|
36
|
+
`,wt=a.div`
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
width: 100%;
|
|
40
|
-
`,
|
|
40
|
+
`,bt=a.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
gap: ${e=>`${u.accountDetailHeaderGap.valuePx(e.windowSize)}`};
|
|
43
43
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -51,18 +51,18 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
51
51
|
`,kt=a.div`
|
|
52
52
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
53
53
|
border-radius: ${o.sp2};
|
|
54
|
-
`,
|
|
54
|
+
`,Ct=a.div`
|
|
55
55
|
display: flex;
|
|
56
56
|
gap: ${o.sp3};
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
justify-content: space-between;
|
|
59
|
-
`,
|
|
59
|
+
`,vt=a.div``,St=a.div``,Dt=a.div`
|
|
60
60
|
display: flex;
|
|
61
61
|
gap: ${o.sp3};
|
|
62
62
|
flex: 1;
|
|
63
63
|
flex-direction: column;
|
|
64
64
|
justify-content: flex-end;
|
|
65
|
-
`,
|
|
65
|
+
`,zt=a.g`
|
|
66
66
|
transform: ${e=>`translate(${e.translateX}px, ${e.translateY}px)`};
|
|
67
67
|
`,At=a.div`
|
|
68
68
|
display: flex;
|
|
@@ -71,7 +71,7 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
justify-content: center;
|
|
73
73
|
align-items: center;
|
|
74
|
-
`,
|
|
74
|
+
`,Tt=a.div`
|
|
75
75
|
height: ${o.sp12};
|
|
76
76
|
width: ${o.sp12};
|
|
77
77
|
background: ${e=>e.theme.colors.background};
|
|
@@ -89,7 +89,7 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
89
89
|
color: ${e=>e.theme.colors.primary};
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
`,
|
|
92
|
+
`,Pt=a(Oe)`
|
|
93
93
|
margin-top: ${o.sp3};
|
|
94
94
|
color: ${e=>e.theme.colors.hero};
|
|
95
95
|
`,Bt=a(Ie)`
|
|
@@ -103,7 +103,7 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
103
103
|
`,Lt=a.text`
|
|
104
104
|
fill: ${e=>e.theme.colors.hero};
|
|
105
105
|
${e=>`${ut.tickLabelText.style(e.windowSize)}`};
|
|
106
|
-
`,Nt=a.linearGradient``,
|
|
106
|
+
`,Nt=a.linearGradient``,Ht=a.stop``,Mt=a.stop``,Et=a.div`
|
|
107
107
|
display: flex;
|
|
108
108
|
flex-direction: row;
|
|
109
109
|
gap: ${e=>u.accBtnsGap.valuePx(e.windowSize)};
|
|
@@ -120,11 +120,11 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
`,
|
|
123
|
+
`,Ot=a.div`
|
|
124
124
|
display: flex;
|
|
125
125
|
flex-direction: row;
|
|
126
126
|
align-items: baseline;
|
|
127
|
-
`,
|
|
127
|
+
`,Ut=a.div`
|
|
128
128
|
align-self: center;
|
|
129
129
|
background-color: ${e=>e.theme.colors.grey1};
|
|
130
130
|
border-radius: 50%;
|
|
@@ -132,10 +132,10 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
132
132
|
height: ${o.sp1};
|
|
133
133
|
margin: ${o.sp0} ${o.sp1};
|
|
134
134
|
margin-top: 2px;
|
|
135
|
-
`,
|
|
135
|
+
`,Rt=a(at)`
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
137
|
margin-top: ${o.sp1};
|
|
138
|
-
`,
|
|
138
|
+
`,Wt=a.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-direction: row;
|
|
141
141
|
align-items: center;
|
|
@@ -165,10 +165,10 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
margin-right: ${o.sp3};
|
|
168
|
-
`,
|
|
168
|
+
`,Yt=a(w)`
|
|
169
169
|
display: flex;
|
|
170
170
|
color: ${e=>e.theme.colors.hero};
|
|
171
|
-
`,
|
|
171
|
+
`,Vt=a.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
align-items: center;
|
|
174
174
|
flex-direction: column;
|
|
@@ -179,18 +179,18 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
179
179
|
min-width: 66px;
|
|
180
180
|
border-radius: ${o.sp1};
|
|
181
181
|
padding: ${o.sp0} ${o.sp2};
|
|
182
|
-
background-color: ${
|
|
182
|
+
background-color: ${y.blackColor};
|
|
183
183
|
`,Gt=a.circle`
|
|
184
184
|
stroke: ${e=>e.theme.colors.brandColorJade};
|
|
185
185
|
fill: ${e=>e.theme.colors.grey5};
|
|
186
|
-
`,
|
|
187
|
-
color: ${e=>e.isSublabel===!0?
|
|
188
|
-
`,
|
|
186
|
+
`,le=a(w)`
|
|
187
|
+
color: ${e=>e.isSublabel===!0?y.neutralGrey1Light:y.brandColorPearl};
|
|
188
|
+
`,re=a.div`
|
|
189
189
|
display: flex;
|
|
190
190
|
gap: ${o.sp1};
|
|
191
|
-
`,Jt=a(
|
|
191
|
+
`,Jt=a(w)`
|
|
192
192
|
color: ${e=>e.theme.colors.hero};
|
|
193
|
-
`,ce=a(
|
|
193
|
+
`,ce=a(_e)`
|
|
194
194
|
text-transform: capitalize;
|
|
195
195
|
color: ${e=>`${e.windowSize==="small"?e.theme.colors.hero:e.theme.colors.champion}`};
|
|
196
196
|
display: flex;
|
|
@@ -202,23 +202,23 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
202
202
|
margin-right: ${o.sp2};
|
|
203
203
|
cursor: pointer;
|
|
204
204
|
color: ${e=>e.theme.colors.hero};
|
|
205
|
-
`,
|
|
205
|
+
`,Kt=a(qe)`
|
|
206
206
|
height: ${o.sp3};
|
|
207
207
|
width: ${o.sp3};
|
|
208
208
|
margin-left: ${o.sp2};
|
|
209
209
|
margin-right: ${o.sp2};
|
|
210
210
|
color: ${e=>e.theme.colors.hero};
|
|
211
|
-
`,
|
|
211
|
+
`,Qt=a.div`
|
|
212
212
|
display: flex;
|
|
213
213
|
align-items: baseline;
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
|
-
`,se=a(
|
|
215
|
+
`,se=a(Z)`
|
|
216
216
|
margin-left: ${o.sp2};
|
|
217
|
-
`,de=a(
|
|
217
|
+
`,de=a(w)`
|
|
218
218
|
margin-left: ${o.sp2};
|
|
219
|
-
`,
|
|
219
|
+
`,Zt=a(Ke)`
|
|
220
220
|
color: ${e=>e.theme.colors.primary};
|
|
221
|
-
`,
|
|
221
|
+
`,_t=a.div`
|
|
222
222
|
display: flex;
|
|
223
223
|
align-items: center;
|
|
224
224
|
cursor: pointer;
|
|
@@ -231,11 +231,11 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
231
231
|
color: ${e=>e.theme.colors.primary};
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
`,
|
|
234
|
+
`,qt=a(Qe)`
|
|
235
235
|
width: ${o.sp3};
|
|
236
236
|
height: ${o.sp3};
|
|
237
237
|
color: ${e=>e.theme.colors.grey1};
|
|
238
|
-
`,eo=a(
|
|
238
|
+
`,eo=a(Z)`
|
|
239
239
|
color: ${e=>e.theme.colors.hero};
|
|
240
240
|
margin-right: ${o.sp2};
|
|
241
241
|
`,N=a.div`
|
|
@@ -257,7 +257,7 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
257
257
|
`,oo=a(et)`
|
|
258
258
|
height: ${o.sp3};
|
|
259
259
|
width: ${o.sp3};
|
|
260
|
-
color: ${
|
|
260
|
+
color: ${y.success};
|
|
261
261
|
`,ao=a(dt)`
|
|
262
262
|
width: ${o.sp4};
|
|
263
263
|
min-width: ${o.sp4};
|
|
@@ -266,30 +266,30 @@ import{a as Pe,X as H,V as Te,l as T,u as pe,a5 as Be,j as t,M as K,_ as B,bt as
|
|
|
266
266
|
width: ${o.sp4};
|
|
267
267
|
min-width: ${o.sp4};
|
|
268
268
|
height: ${o.sp4};
|
|
269
|
-
`,no=a(
|
|
269
|
+
`,no=a(w)`
|
|
270
270
|
margin-bottom: ${o.sp2};
|
|
271
271
|
display: flex;
|
|
272
|
-
`,
|
|
272
|
+
`,lo=a(w)`
|
|
273
273
|
padding: 12px ${o.sp3};
|
|
274
274
|
color: ${e=>e.theme.colors.hero};
|
|
275
275
|
border-radius: ${o.sp1};
|
|
276
|
-
`,J=a(
|
|
276
|
+
`,J=a(w)`
|
|
277
277
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
278
278
|
margin-top: ${o.sp2};
|
|
279
279
|
display: flex;
|
|
280
280
|
justify-content: space-between;
|
|
281
281
|
`,X=a.div`
|
|
282
282
|
color: ${e=>e.theme.colors.hero};
|
|
283
|
-
`,
|
|
284
|
-
color: ${
|
|
285
|
-
`,
|
|
283
|
+
`,K=a.div`
|
|
284
|
+
color: ${y.primaryDark};
|
|
285
|
+
`,ro=a(Ee)`
|
|
286
286
|
width: ${o.sp3};
|
|
287
287
|
height: ${o.sp3};
|
|
288
288
|
color: ${e=>e.theme.colors.hero};
|
|
289
289
|
&:hover {
|
|
290
290
|
color: ${e=>e.theme.colors.primary};
|
|
291
291
|
}
|
|
292
|
-
`,co=a(
|
|
292
|
+
`,co=a(w)`
|
|
293
293
|
padding: ${o.sp2};
|
|
294
294
|
color: ${e=>e.theme.colors.hero};
|
|
295
295
|
`,so=a.div`
|