@zeniai/web-cockpit-ui 1.14.88-qa → 1.14.89-next
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-BBq7KpbY-CZpHxE8o.js → ACHDetailsPage-BBq7KpbY-D7q0wXF7.js} +1 -1
- package/dist/assets/{AIPerformancePage-Djq6mgKa-BXA2rEQ3.js → AIPerformancePage-Djq6mgKa-CDkuvNR-.js} +11 -11
- package/dist/assets/{AccountInfoPage-CxWBk_t_-C2BQHsrc.js → AccountInfoPage-CxWBk_t_-B_bVMIaS.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DO6aVqBW-BHlSBq6C.js → AccountInfoPageContent-DO6aVqBW-C-_zFoYr.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DVvzKHJQ-XsgYaZ9s.js → AccountLockedInfoModal-DVvzKHJQ-CcgfqmYH.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DEKzSPCP-IJ1uxgeX.js → AccountReconDetailsDrawerPage-DEKzSPCP-CRuNSiIc.js} +14 -14
- package/dist/assets/{AccountRow-Ck53DDbT-CKEPVSTV.js → AccountRow-Ck53DDbT-RIPr-Sky.js} +21 -21
- package/dist/assets/{AccountsPromoCardStack-BYjuB-4I-DBGri4Ao.js → AccountsPromoCardStack-BYjuB-4I-BdiJD2qQ.js} +8 -8
- package/dist/assets/{AddAddressForCardDrawer-e8qbO2Y5-CCW44Lbp.js → AddAddressForCardDrawer-e8qbO2Y5-RMh6nQJ7.js} +1 -1
- package/dist/assets/{AddToWalletPage-DA6AmuaY-D_ysmfWw.js → AddToWalletPage-DA6AmuaY-DP_6fgwY.js} +5 -5
- package/dist/assets/{AgingReportsPage-B_Hhl_Is-yJ7Ku3Be.js → AgingReportsPage-B_Hhl_Is-CFYczFV8.js} +5 -5
- package/dist/assets/{AllUserItems-BV22Ibpn-D42Co1mB.js → AllUserItems-BV22Ibpn-fGQRhdQP.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-DqV1vOVH-BwJKl2yK.js → ApAgingDetailPage-DqV1vOVH-CYvA6u8N.js} +1 -1
- package/dist/assets/{AppBasePage-LrgCcvIv-CEyT0Ays.js → AppBasePage-LrgCcvIv-BcTxyyI5.js} +4 -4
- package/dist/assets/{AppDrawerContent-aZG5Qc_X-DQOHVYFR.js → AppDrawerContent-aZG5Qc_X-BUQ5Tnec.js} +1 -1
- package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-DM-bna-i.js +47 -0
- package/dist/assets/{ArAgingChart-Am7LTkqG-GS7CQpoV.js → ArAgingChart-Am7LTkqG-CzTOv27j.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BEKsyA9Q-CT83CSJd.js → ArAgingDetailPage-BEKsyA9Q-pEcFc3oj.js} +1 -1
- package/dist/assets/{AttachmentView-Bujbmx1d-DpzwMH5w.js → AttachmentView-Bujbmx1d-QSsNe3E5.js} +1 -1
- package/dist/assets/{BankAccountSection-C5rYUW3V-BgvhKGl7.js → BankAccountSection-C5rYUW3V-CEDhkFlm.js} +3 -3
- package/dist/assets/{BankAccountWarningSection-DakysSbk-BRLKAJ0a.js → BankAccountWarningSection-DakysSbk-CA32RCa-.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BjZDNgZG-CFbf0DLJ.js → BankConnectionsSettingsPage-BjZDNgZG-Cbl4dW8k.js} +7 -7
- package/dist/assets/{BillDetailPage-DYc_nZRU-vRHIz2Fv.js → BillDetailPage-DYc_nZRU-IgNrTUHy.js} +2 -2
- package/dist/assets/{BillPayApprovalRuleDetailPage-ppU1Epmy-DfzEevsW.js → BillPayApprovalRuleDetailPage-ppU1Epmy-UnCMczFg.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-UblNi2mR-CaoPaa4o.js → BillPayApprovalRulesPage-UblNi2mR-D5mwtKOY.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BK2J56U5-BLwpq2ym.js → BillPayPromoPage-BK2J56U5-D0jO1xHe.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-Jic5E25q-C2agN1u5.js → BillPaySetUpPage-Jic5E25q-3RXlEnEN.js} +2 -2
- package/dist/assets/{BillingSettingsPage-CKZVChEm-CWf23wA3.js → BillingSettingsPage-CKZVChEm-C-7dk_eY.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-C4Ra5e82-C3uBULFR.js → BillsBulkReviewDrawerPage-C4Ra5e82-DhQWBnMS.js} +1 -1
- package/dist/assets/{BoxItem-8PfNfaHq-Bc55g4Kz.js → BoxItem-8PfNfaHq-Cmbb-r0F.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-JGge-Iiw-CLy_qcXB.js → BusinessVerificationPage-JGge-Iiw-BzU4xThR.js} +5 -5
- package/dist/assets/{CardNumberSubText-W81SQ4GF-OueRQ73F.js → CardNumberSubText-W81SQ4GF-CAsMyUKY.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DnOcmx2i-BioqpiiB.js → CashbackDetailPage-DnOcmx2i-WpQjNupB.js} +7 -7
- package/dist/assets/{ChargeCardDetailPage-DNVMsxzE-MbZAmWWA.js → ChargeCardDetailPage-DNVMsxzE-DwC1a9ms.js} +1 -1
- package/dist/assets/{ChargeCardListPage-Dgj-WWWI-BMNMnKI1.js → ChargeCardListPage-Dgj-WWWI-BYa28vi8.js} +14 -14
- package/dist/assets/{ChargeCardListTable-uJZKWoh7-dd8_7oJW.js → ChargeCardListTable-uJZKWoh7-gmPDdtIy.js} +16 -16
- package/dist/assets/{ChargeCardPromoPage-uqT96W3_-C4nna9JN.js → ChargeCardPromoPage-uqT96W3_-C6hFTi-h.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BDbJU-vm-KUujiV9J.js → ChargeCardSetupPage-BDbJU-vm-gqbHFwhF.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DImRqpH1-CbTc5gcW.js → ChargeCardStatementsPage-DImRqpH1-DEiKHvx3.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BVtOOPoa-BZCRYtgW.js → CheckDepositDrawerPage-BVtOOPoa-YGgsKoNd.js} +6 -6
- package/dist/assets/{CollapsableReportTable-Crihcv_z-D0yVWEtn.js → CollapsableReportTable-Crihcv_z-Bpyuhi8L.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CNxtAkKM-JM7EOPYb.js → CompanyOfficerDetailsSection-CNxtAkKM-BWQM98HR.js} +8 -8
- package/dist/assets/{CompanyPassportCard-DMRQkRPb-BfQft15t.js → CompanyPassportCard-DMRQkRPb-EVJ1-2gx.js} +1 -1
- package/dist/assets/{CompanyPassportPage-D3XvbSF_-QtfQkOgs.js → CompanyPassportPage-D3XvbSF_-t_ad2AW-.js} +16 -16
- package/dist/assets/{CompleteProfile-BqjXO5ze-BVANkRD5.js → CompleteProfile-BqjXO5ze-Dt6jx01i.js} +1 -1
- package/dist/assets/{ConfettiBurst-DtwLo4WZ-pKVn1Zt5.js → ConfettiBurst-DtwLo4WZ-D_iibuAX.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-FrGRJxMy-BsYkqMbG.js → CreateOrEditVendorPage-FrGRJxMy-CY4NwJoJ.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BvifQpD3-rvm5_a2M.js → CreditCardPaymentDrawerPage-BvifQpD3-CI2LFPwt.js} +6 -6
- package/dist/assets/{CurrencySelectField-ClOg6nnS-Cnr3YkBv.js → CurrencySelectField-ClOg6nnS--XgCmVLw.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Du-zzeL2-DMbpslbv.js → CustomerOnboardingActivationPage-Du-zzeL2-Tg0FLkOC.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-D9kNCDjj.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BgY95XeU-DZVW17dp.js → CustomerOnboardingDetailPageSkeleton-BgY95XeU-BYuVnd99.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-BsKoqUta-C8ENw_2g.js → CustomerOnboardingNoStepsPage-BsKoqUta-DYZkSwIW.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DUMQKVfM-0ltubWJk.js → CustomerOnboardingPage-DUMQKVfM-C7wPteOB.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-DGVV8Tkk-Brs1Bm9U.js → CustomerOnboardingProductSuitePage-DGVV8Tkk-CcNIUViV.js} +5 -5
- package/dist/assets/{Dashboard-CdYlvep--C2xiBWGf.js → Dashboard-CdYlvep--C3p7q6_S.js} +1 -1
- package/dist/assets/{DashboardReportPage-c6q027Qp-ZzS_4DbW.js → DashboardReportPage-c6q027Qp-oX58BLws.js} +16 -16
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BdDVYK19-DO3K14XB.js → DashboardSidebarBackgroundAnimation-BdDVYK19-BKFBfuJC.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-D8kL8enp-DQfKwDtZ.js → DepositAccTransactionItem-D8kL8enp-BuJAJuWf.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BS-OReem-CrvBML8Q.js → DepositAccTransactionListPage-BS-OReem-BRXwcB6m.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CjM1DXnn-BZAEhYC3.js → DomesticWireDetailsPage-CjM1DXnn-Buc-JvjK.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dr4uLNpZ-_3KxAqK4.js → DownloadOverlay-Dr4uLNpZ-CDe6xPMb.js} +38 -38
- package/dist/assets/{DrawerPage-CbKBsc7w-7kpCQGH8.js → DrawerPage-CbKBsc7w-DuOMpqPn.js} +1 -1
- package/dist/assets/{EditPeoplePage-BgsR09q8-YfoObQW1.js → EditPeoplePage-BgsR09q8-Chh3oK87.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-BTrwOX_s-DvpBdlkg.js → EditReimbursementDetailPage-BTrwOX_s-ovG5i8cM.js} +25 -25
- package/dist/assets/{EntityDetailPage-Cvd4MG0F-ZDX--4dV.js → EntityDetailPage-Cvd4MG0F-z_S2dgMA.js} +1 -1
- package/dist/assets/{EntitySummarySection-BIV9aAq2-DSoSDfHH.js → EntitySummarySection-BIV9aAq2-uoQjk7KN.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-B5MtjO2p-OLmj-clQ.js → ExpenseAutomationOverviewPage-B5MtjO2p-DuetInJR.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DW6Pxoah-DSaMh9BZ.js → ExpenseAutomationPage-DW6Pxoah-Bu7SxHUP.js} +62 -62
- package/dist/assets/{ExpressPayPage-DnpQuDmt-CuecqGBU.js → ExpressPayPage-DnpQuDmt-B9BdoAX5.js} +5 -5
- package/dist/assets/{FeaturePreviewPage-BmwBZ7ZP-BzM8qDQI.js → FeaturePreviewPage-BmwBZ7ZP-B1hrTV4k.js} +1 -1
- package/dist/assets/{FollowStepsSection-B2I9SddL-B9ISQuf-.js → FollowStepsSection-B2I9SddL-BYZ5gh4q.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D3GCP5Xd-bCzUhauh.js → GlobalReviewListPage-D3GCP5Xd-LoiJkWHr.js} +6 -6
- package/dist/assets/{InformationCardStack-mEhasBqu-MnmadQgE.js → InformationCardStack-mEhasBqu-KsgmxS9G.js} +1 -1
- package/dist/assets/{InsightsCardStack-Mj7QcQnH-w9iVNjOS.js → InsightsCardStack-Mj7QcQnH-C7_PHihI.js} +1 -1
- package/dist/assets/{InsightsSection-B3xD0SZ9-CtB9l6g9.js → InsightsSection-B3xD0SZ9-taO9iEPA.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-CsI_agJB-CFVHIylV.js → IntegrationsSettingsPage-CsI_agJB-BbJprHQM.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dszmi69h-DaN3QXGf.js → InternationalWireSwiftDetailsPage-Dszmi69h-Dx4qk_fF.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DG9Enrpo-CZa6BkZb.js → InternationalWireVerificationPage-DG9Enrpo-DeApBG2O.js} +11 -11
- package/dist/assets/{InviteFormPage-DK6X9Zwi-57NKh16b.js → InviteFormPage-DK6X9Zwi-D4NGiaKW.js} +1 -1
- package/dist/assets/{InvitePageListView-CwKbcKlM-DEEV83h1.js → InvitePageListView-CwKbcKlM-DkqkTELg.js} +32 -32
- package/dist/assets/{InvitePeoplePage-BqzJOjVI-bufXErI1.js → InvitePeoplePage-BqzJOjVI-DxaWbohv.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-CokNNkKu-zGBNoDhJ.js → InvoiceUploadSection-CokNNkKu-C3OZbJh4.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CRtJDmrZ-2SCD9IjH.js → IssueChargeCardPage-CRtJDmrZ-CxxBwWuK.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BhwrrtZX-lh4MyI8q.js → LabeledAddressValue-BhwrrtZX-VPWm2Hec.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DzmwP7hP-CVmcFCuL.js → LabeledAddressValueField-DzmwP7hP-D6ppbwTJ.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-B6ndrF2e-DiUrfDZv.js → LabeledControlledCheckBoxField-B6ndrF2e-CdSdIujf.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CfzLlkho-e_gzDVel.js → LabeledCreatableSingleSelectField-CfzLlkho-DoTsZpYc.js} +1 -1
- package/dist/assets/{LabeledDocumentField-p3pI5qLu-BpHx3wM1.js → LabeledDocumentField-p3pI5qLu-Bu1ACi7_.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-oQX33Fim-CDrN8oV2.js → LabeledDropDownFormattedTextField-oQX33Fim-DTkMSgS-.js} +1 -1
- package/dist/assets/{LabeledText-Db46hFZY-ZpSE14Xk.js → LabeledText-Db46hFZY-BnzNm8ux.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-CrNtOmbd.js → LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-D3j6ktov.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Docjgj8Y-ByksgDAC.js → LabeledZeniRolesDropDownField-Docjgj8Y-Bx697QGD.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-BZSRaZqY-BCB3zTz9.js → LinkJETransactionPage-BZSRaZqY-DPV-HHuZ.js} +6 -6
- package/dist/assets/{LockCardPage-KTyESoXL-Do9Bp07f.js → LockCardPage-KTyESoXL-FP55xt88.js} +12 -12
- package/dist/assets/{LowBalancePopup-B0BDCEui-GkcadyQj.js → LowBalancePopup-B0BDCEui-BQKpAexO.js} +4 -4
- package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-CAUeDYDf.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CDB2igue-BY24Q3mu.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2kxncrD-DJsJrwdj.js → MagicLinkInternationalWireDetailsPage-C2kxncrD-xiIWXiHk.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DNVe2qMu-Br2ktzLe.js → MagicLinkSuccessPage-DNVe2qMu-CCpTLkMa.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CWw516D8-Di58AkiA.js → MagicLinkTitleSection-CWw516D8-BVhgMGHi.js} +1 -1
- package/dist/assets/{MailingDetailsSection-CugAM90r-CKMbSrBC.js → MailingDetailsSection-CugAM90r-qGagR2Ob.js} +1 -1
- package/dist/assets/{Menu-CGN2qO6T-BavKt1PZ.js → Menu-CGN2qO6T-C90GyljB.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CQUfVa0r-s0_zy8mz.js → MyBankConnectionsSettingsPage-CQUfVa0r-CwIC6WOC.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-TOQWRGjp-FPw-YJRK.js → MyPendingActivationChargeCardListPage-TOQWRGjp-9elW7vpM.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-lCG03Uoh-BSTkZT7y.js → MyProfileSettingsPage-lCG03Uoh-C6tFlF-b.js} +1 -1
- package/dist/assets/{NavBarWithPicker-DLLvivn4-B4wus8BB.js → NavBarWithPicker-DLLvivn4-C8MweUK-.js} +1 -1
- package/dist/assets/{NavigationArrow-B4j2t8Qu-I1tY1ram.js → NavigationArrow-B4j2t8Qu-BznQfPUq.js} +1 -1
- package/dist/assets/{NavigationDots-DyMqwpgy-DUFU9pI4.js → NavigationDots-DyMqwpgy-Ac5D61eD.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Bx7iBsCP-Bgk-R_8-.js → NewGlobalMerchantPage-Bx7iBsCP-DvhKPZ9V.js} +1 -1
- package/dist/assets/{NoDataChart-Ce1_TZ5w-D3OEJqVU.js → NoDataChart-Ce1_TZ5w-DLGoqLyB.js} +1 -1
- package/dist/assets/{NoDataTable-l2T5Hw3t-BocZJJ0_.js → NoDataTable-l2T5Hw3t-VV9A9JWw.js} +1 -1
- package/dist/assets/{NotFoundPage-msdN-Eu6-DYqWaTYB.js → NotFoundPage-msdN-Eu6-DMJntWw_.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-_ovcjr8E-DaKenjvb.js → NotificationSettingsPage-_ovcjr8E-ZdSfBZ2-.js} +15 -15
- package/dist/assets/{NotificationsListConfig-BJm7A9Mz-B1bUr4jp.js → NotificationsListConfig-BJm7A9Mz-CogtqMLL.js} +1 -1
- package/dist/assets/{NotificationsPage-Ddxb5kE0-DZUgUKAm.js → NotificationsPage-Ddxb5kE0-CKfpJP-D.js} +13 -13
- package/dist/assets/{OpExByVendorPage-BLAHey0l-Bvld9G1i.js → OpExByVendorPage-BLAHey0l-BIgsWU2V.js} +4 -4
- package/dist/assets/{OverlayContainerPage-CrZuT2Jj-BZc1jNiE.js → OverlayContainerPage-CrZuT2Jj-KRxnasZZ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B7Z73Sq--CxOY2hjk.js → PandLWithForecastPage-B7Z73Sq--D2Jzv3cu.js} +5 -5
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-pL7omrJk-DPhW5Sbo.js → PaymentAccountSetupBillingAddressSection-pL7omrJk-0dodqStg.js} +1 -1
- package/dist/assets/{PeoplePage-BHRFiM0D-Dz2giOXs.js → PeoplePage-BHRFiM0D-D1zL-kUf.js} +1 -1
- package/dist/assets/{ProductsCarousel-D2bf_6Gb-oPFxud0a.js → ProductsCarousel-D2bf_6Gb-BvZZWjBz.js} +1 -1
- package/dist/assets/{PromoBaseCards-CI7UOpeY-DSvwfl16.js → PromoBaseCards-CI7UOpeY-Bv1gYJ8h.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-D7MeKn1t-CNNQde90.js → QBOConnectionDialog-D7MeKn1t-CSZyJnlR.js} +4 -4
- package/dist/assets/{QBOSetupSection-DWhfA4Xv-DYYPH7Pl.js → QBOSetupSection-DWhfA4Xv-DxfawIvp.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C_dTOk5P-B0mAq5_-.js → ReimbursementApprovalRuleDetailPage-C_dTOk5P-BzzlUHA0.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B5lca4qx-DfQkh2sN.js → ReimbursementApprovalRulesPage-B5lca4qx-CIa1SX3n.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-COIRwy7i-BbuWUy3N.js → ReimbursementDetailPage-COIRwy7i-cartSmBW.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-Bjm0UHcm-9396bQ9z.js → ReimbursementPromoPage-Bjm0UHcm-B5ipF5Q3.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-CMYR8CcH-6GKMqjZm.js → ReimbursementSetUpPage-CMYR8CcH-DE9MsyQO.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BDdhVfaz-CHdDYICO.js → ReimbursementsBulkReviewDrawerPage-BDdhVfaz-BxN2VOn2.js} +1 -1
- package/dist/assets/{ReloadCard-B2sJR97f-BUZQgyMC.js → ReloadCard-B2sJR97f-BFBlueHD.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-_IO343vS-DPhVSmcQ.js → ReportTableViewSelector-_IO343vS-CyosvOlB.js} +1 -1
- package/dist/assets/{ReportsPage-C-aQ1bdd-B_xkTwrl.js → ReportsPage-C-aQ1bdd-CYaoJYtc.js} +5 -5
- package/dist/assets/{RevenueChart-Bgq6My4J-Dt6XAZjz.js → RevenueChart-Bgq6My4J-CRxG6vLL.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-COx9R71r-B7xkHaMk.js → ReviewDetailsPage-COx9R71r-xyZ1ZLeA.js} +1 -1
- package/dist/assets/{ReviewOverlay-CPU7RPiJ-L4td8Zqd.js → ReviewOverlay-CPU7RPiJ-BeUFCML5.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DSSGBzvw-BjW_p5Ey.js → RoleWithToolTip-DSSGBzvw-C0RAeiFE.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKGBfhAM-BIQ3dSHo.js → ScheduleDetailsFixedAssetsPage-DKGBfhAM-Dd4b5beF.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-B-fKJ7Ct-BuuquQqY.js → ScheduleDetailsPage-B-fKJ7Ct-DWW4NpFs.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Dh_aT47H-CIlJaOtf.js → ScheduleSequenceTable-Dh_aT47H-BD9130Kj.js} +15 -15
- package/dist/assets/{ScreenRoutes-C6VP09xT.js → ScreenRoutes-CzQUy7dM.js} +48 -48
- package/dist/assets/{SetUpAccountSection-DrMCC1IY-C-3Yhp84.js → SetUpAccountSection-DrMCC1IY-DAUgShDu.js} +4 -4
- package/dist/assets/{SignIn-Ij6tlYI5-CCumTqCW.js → SignIn-Ij6tlYI5-C_nSjQx4.js} +7 -7
- package/dist/assets/{SignInScreen-DJ4Bo1S_.js → SignInScreen-meHsEWUI.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-AI676Urw-Bz122sOj.js → SpendManagementListViewPage-AI676Urw-BG-5trOb.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-D79c3Xqh-rmjY-vmf.js → SpendManagementPerTabPage-D79c3Xqh-DDQMTjjF.js} +1 -1
- package/dist/assets/{SpendManagementSection-BqWbsmBW-td2Sn0pd.js → SpendManagementSection-BqWbsmBW-BOgz0l5v.js} +7 -7
- package/dist/assets/{StatementItem-Aal79YaO-XQmaXixd.js → StatementItem-Aal79YaO-SBAeNQFH.js} +1 -1
- package/dist/assets/{StatementsPage-BG_pNQzc-dvNXNLMV.js → StatementsPage-BG_pNQzc-CFOL9kRQ.js} +1 -1
- package/dist/assets/{StatusSwitcher-DYRXaLvx-DnQc7FsU.js → StatusSwitcher-DYRXaLvx-Ba_9t0xD.js} +1 -1
- package/dist/assets/{SubTabSwitcher-C75XU1EG-UKyrqTMF.js → SubTabSwitcher-C75XU1EG-us5wW4X1.js} +1 -1
- package/dist/assets/{SummaryCard-DEnzgi31-DEAiBXSy.js → SummaryCard-DEnzgi31-CvS1qapd.js} +1 -1
- package/dist/assets/{TaskManagementPage-BacWm0wS-B7bDEupg.js → TaskManagementPage-BacWm0wS-SE7N13uk.js} +12 -12
- package/dist/assets/{TimeRangeSwitcher-BOzR-0O6-Bz_-4Vd_.js → TimeRangeSwitcher-BOzR-0O6-DeWYNzoE.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BVgI_VZw-BbnNXYMm.js → TimeframeSwitcher-BVgI_VZw-DFlW-nA9.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CPVSAvFa-PHeDWcYh.js → TimeframeSwitcherWithToggle-CPVSAvFa-CTnWgTgJ.js} +1 -1
- package/dist/assets/{TopExCard-ImUx-vXr-DLryJPJU.js → TopExCard-ImUx-vXr-53lfeFSa.js} +1 -1
- package/dist/assets/{TopExDetailPage-Dg_8DQk8-RpIGLliz.js → TopExDetailPage-Dg_8DQk8-wLNrwSkb.js} +2 -2
- package/dist/assets/{TransactionDetailPage-BzaDB50S-DF5gn3Ir.js → TransactionDetailPage-BzaDB50S-CQvlQQ8F.js} +31 -31
- package/dist/assets/{TransactionList-DMd3dgoK-CBav3Qka.js → TransactionList-DMd3dgoK-C9pVljth.js} +5 -5
- package/dist/assets/{TransactionListBig-BxHqh8u6-BYNOxGT0.js → TransactionListBig-BxHqh8u6-D2ybZcV_.js} +1 -1
- package/dist/assets/{TransactionListPage-CN9fZznd-Cy5ZEf_j.js → TransactionListPage-CN9fZznd-DdB9ECme.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CykcquSh-DmB7J4Ve.js → TransactionVendorDetailPage-CykcquSh-CjDQM64X.js} +1 -1
- package/dist/assets/{TransferDrawerPage-oV7ickRP-Bq_Xcqnx.js → TransferDrawerPage-oV7ickRP-DZJQ6fjY.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CECDKjNn-BzVtu32L.js → TreasuryOverviewPage-CECDKjNn-DgBot-Cs.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-Bgt7uGAE-YS83Frko.js → TreasuryPromoPage-Bgt7uGAE-C14_Dt8z.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-QyWxshsI-CQPDqfyA.js → TreasuryStatementsPage-QyWxshsI-C4LqO-7z.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BLmfU0VD-CSvnMnxI.js → TreasuryTaxLetterPage-BLmfU0VD-BmbXrtw1.js} +1 -1
- package/dist/assets/{TrendChart-C_6ob-SX-D7KWuN6Y.js → TrendChart-C_6ob-SX-C3CMG9UK.js} +2 -2
- package/dist/assets/{TrendWithTransactions-lMD2sZ-C-KD4WKX16.js → TrendWithTransactions-lMD2sZ-C-DXo_WsXR.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-DEgz17_R-01TUtrQ3.js → UncategorizedAccountsMappingPage-DEgz17_R-Es1dXFUz.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-D9Pzxqju-BOLWJuwD.js → UnitIntegrationPage-D9Pzxqju-C-73Q848.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CJYvOjh0-D_FvrAyp.js → UploadAdditionalDocumentOverlay-CJYvOjh0-DvztQm8Z.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-D-r0NVE--B3f5wBDW.js → Vendor2FAPopup-D-r0NVE--BW5laiDv.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Dv6bTD6Y-OnrOc4ob.js → VendorACHDetailsPage-Dv6bTD6Y-0fGX3RKf.js} +1 -1
- package/dist/assets/{VendorDetailPage-BhfawsBd-n1Xsq3nw.js → VendorDetailPage-BhfawsBd-CbaTB2d7.js} +11 -11
- package/dist/assets/{VendorDomesticWireDetailsPage-BjmlrfTQ-CKSdgGUn.js → VendorDomesticWireDetailsPage-BjmlrfTQ-CRXpCtjj.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-glvi0GTU-DLw68imQ.js → VendorFiling1099EditablePage-glvi0GTU-B0bdzizP.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-DUuUM8ZT-UIFfUs4N.js → VendorFirstReviewPage-DUuUM8ZT-B4JrLh04.js} +23 -23
- package/dist/assets/{VendorInternationalWireDetailsPage--Lb-TviQ-CCF4TMxK.js → VendorInternationalWireDetailsPage--Lb-TviQ-BaGcVMPc.js} +13 -13
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6KviV2Z-D3kLFHcQ.js → VendorInternationalWireSwiftDetailsPage-C6KviV2Z-BZvSAm9p.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-EmHO3wQ0-CEeuSUbZ.js → VendorsAccountsSection-EmHO3wQ0-D3vfpuIf.js} +2 -2
- package/dist/assets/{VerifyDevice-DE3UbLEe--Pskj1Mq.js → VerifyDevice-DE3UbLEe-BKoKtJ6w.js} +1 -1
- package/dist/assets/{VideoPlayer-Gw_PLr8F-BcXYYheO.js → VideoPlayer-Gw_PLr8F-JJ2DDCQz.js} +2 -2
- package/dist/assets/{VideoPopup-DPZYhLgy-DukYJkLb.js → VideoPopup-DPZYhLgy-Dv5kNuQs.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CZvToguS-BXOU7iCW.js → WarningsDrawerPage-CZvToguS-FuR13ZjN.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CQhqngBz-HKLobKLw.js → ZeniAccountDetailPage-CQhqngBz-DHH--F25.js} +6 -6
- package/dist/assets/{ZeniAccountListViewPage-CpX8vqYa-D5cFrlFO.js → ZeniAccountListViewPage-CpX8vqYa-BGGs1I3p.js} +5 -5
- package/dist/assets/{ZeniAccountNavBarPieces-DsUwG15z-DUllEiZw.js → ZeniAccountNavBarPieces-DsUwG15z-B1OaEygL.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DA611IgH-C3rU7vC2.js → ZeniAccountPromoPage-DA611IgH-CPmXq2k7.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CJv2Fk1i-D14nFBbc.js → ZeniAccountSetupPage-CJv2Fk1i-BDLIKW9Y.js} +3 -3
- package/dist/assets/{ZeniCopyright-FFqiWypL-DffEEOor.js → ZeniCopyright-FFqiWypL-DRMH87a4.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DSrBZUbA-BK28gg1V.js → ZeniTransferAmountSlider-DSrBZUbA-kgtx_a1G.js} +1 -1
- package/dist/assets/{analytics-CThNEnNw.js → analytics-XaDXTZcq.js} +1 -1
- package/dist/assets/{analyticsHelper-DZktPTuO.js → analyticsHelper-BJzQx5Ce.js} +1 -1
- package/dist/assets/{analyticsHelper-CczQLvkM-DIUzCxU0.js → analyticsHelper-CczQLvkM-D5cdguvn.js} +1 -1
- package/dist/assets/{chartTypes-CwQl8aoN-BvppJ7T_.js → chartTypes-CwQl8aoN-nxyY70k2.js} +1 -1
- package/dist/assets/{commonDimensions-B1u_MhON-C0I2HTNT.js → commonDimensions-B1u_MhON-ChoLEYYu.js} +1 -1
- package/dist/assets/{dash.all.min-BUPngCw6.js → dash.all.min-DBAY9LgI.js} +1 -1
- package/dist/assets/{detailCommon-nYxvvV_i-Uo4bq2Po.js → detailCommon-nYxvvV_i-D84ULcLG.js} +1 -1
- package/dist/assets/{downloadPdf-yGlKpV2--C-eO59Y8.js → downloadPdf-yGlKpV2--ixU1iA2q.js} +1 -1
- package/dist/assets/{epic-Bko4IStj.js → epic-BLwHhkRJ.js} +2 -2
- package/dist/assets/{index-DKkab5BS.js → index-BseKE85Q.js} +6 -6
- package/dist/assets/{index-KtBRorGi.js → index-CEtuJXY3.js} +1 -1
- package/dist/assets/{index-BxXAQ-Kq.js → index-CdTBIE6I.js} +1 -1
- package/dist/assets/{index-BV-YAw0P.js → index-DYDdrdFx.js} +1 -1
- package/dist/assets/{index-CwsnnJzI.js → index-DrmeEdvK.js} +1 -1
- package/dist/assets/{liveblocks-B3KbWbMM.js → liveblocks-CNYVvsag.js} +1 -1
- package/dist/assets/{lottie-CaGAfnTY.js → lottie-22bRan8M.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DIAuL28N-xsS0oiYX.js → mapLoadingInProgressToTreeNode-DIAuL28N-D3F-3nOR.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DRSmQ56_-CG4Donkj.js → mapSectionWithAcOnlyToTreeNode-DRSmQ56_-Bi3fl_EU.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DOEVwUIo-DvFYvzSg.js → mapSpacerToTreeNode-DOEVwUIo-8cU_vQXs.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DbnAvW1M-DwP6n0dB.js → mapTimeframeBalancesToTreeNode-DbnAvW1M-CoeQHzMp.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DkrEWOxt-C5viXNzP.js → mapTimeframeBalancesToTreeNode-DkrEWOxt-pj6ahLES.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-DI0_1Fs5.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-IDPqoWcV.js} +1 -1
- package/dist/assets/{react-C2wGlvWj.js → react-BUQtf2po.js} +2 -2
- package/dist/assets/{recharts-CXSQ4XPK.js → recharts-h5iNQbFd.js} +1 -1
- package/dist/assets/{sentry-DxvQlcJu.js → sentry-cYFeB6Pw.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-rZFEkHuM-BoVabqyh.js → toCOABalancesWithID-rZFEkHuM-DRKKP7j0.js} +1 -1
- package/dist/assets/{toChartData-C-dHC-Oz-BVDbQmqa.js → toChartData-C-dHC-Oz-C1NHJYrX.js} +1 -1
- package/dist/assets/{uploadAttachment-D3clfqPu-BH3cXou6.js → uploadAttachment-D3clfqPu-D_-u91mT.js} +15 -15
- package/dist/assets/{uploadReceipts-Bkf_PaOH-BF2MpIUs.js → uploadReceipts-Bkf_PaOH-3qg77SKw.js} +1 -1
- package/dist/assets/{url-DuX7Wo4B.js → url-B-8T_WZb.js} +1 -1
- package/dist/assets/{url-y5lCWhwX.js → url-DPKHmOp_.js} +1 -1
- package/dist/assets/{utils-C70QTjQC.js → utils-fBOyu0sO.js} +1 -1
- package/dist/assets/{zeni-epic-state-xFtF3OLs.js → zeni-epic-state-BwKvATgd.js} +5 -5
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-BhIGD0MP.js +0 -47
- package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-KhP9qsWJ.js +0 -1
- package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-B16BKcOV.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CDB2igue-B5PAHJHU.js +0 -1
package/dist/assets/{ACHDetailsPage-BBq7KpbY-CZpHxE8o.js → ACHDetailsPage-BBq7KpbY-D7q0wXF7.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as
|
|
1
|
+
import{Q as W,a8 as E,F as A,cB as V,V as n,cm as F,cn as H,co as O,ab as Y,aO as Q,y as s,eR as U,b5 as _,o as q,u as t}from"./index-BseKE85Q.js";import{a as x}from"./core-3dlyNYRL.js";import{n as d}from"./mui-bYXq4XMS.js";import{W as G,A as J}from"./BankAccountWarningSection-DakysSbk-CA32RCa-.js";import{j as K}from"./MagicLinkTitleSection-CWw516D8-BVhgMGHi.js";import{e as X}from"./BankAccountSection-C5rYUW3V-CEDhkFlm.js";const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},B="achDetailsPage",b="bankAccountSection",S=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,isDisabled:y,style:T,onSaveHandler:N,onBackClick:f,onACHDetailsUpdated:j,onFetchBankName:w,isMagicLink:u,companyName:v,currencySymbol:$,amount:D,bankAccountContext:P})=>{const c=W(),i=E({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[z,m]=x.useState(!1),r=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,L=A.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:h}=r,R={onOkClick:()=>{m(!1),i.reset(),f?.()},onCancelClick:()=>{m(!1)}},M=async(p,l)=>{const o=l[b].bankRoutingNumber;j(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&U.test(o)===!0&&w?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&V(()=>M(o,l))});return()=>{p.unsubscribe()}});const I=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&N("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:T,size:c,children:[z===!0?n.jsx(F,{titleComponent:n.jsx(O,{children:r.discardTitle}),descriptionComponent:n.jsx(H,{children:r.discardDescription}),primaryButtonText:r.discard,secondaryButtonText:r.cancel,action:R}):null,n.jsx(G,{header:u?n.jsx(K,{companyName:v??"",currencySymbol:$??"",amount:D??0}):C.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,P==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(Y,{...i,children:n.jsx("form",{id:S(B),onSubmit:I,children:n.jsx(ee,{size:c,children:n.jsx(X,{bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:y})})})})})]}),n.jsx(Q,{formId:S(B),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:y!=null},showCancel:!u,cancelBtn:{label:L.cancel,style:{width:a.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),f?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
|
|
2
2
|
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3 as
|
|
1
|
+
import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3 as V,b as D,ch as b1,u as n,bM as f,dp as h1,p as d,a6 as S1,b1 as p1,d as m1,k4 as g,ag as x,k5 as Z1,k6 as B1,aq as S,E as J,b5 as X,al as F1,k7 as W1,dK as _1,fZ as D1,cf as k1,ak as H1}from"./index-BseKE85Q.js";import{a as e}from"./core-3dlyNYRL.js";import{n as o,b as P1,k as V1}from"./mui-bYXq4XMS.js";import{FU as E,FV as e1,FW as F}from"./zeni-epic-state-BwKvATgd.js";import{R as T1}from"./NavBarWithPicker-DLLvivn4-C8MweUK-.js";import{A as u1,X as x1,Y as U,C as z1,T as O1,a as t1}from"./recharts-h5iNQbFd.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./lexical-DPEnH3HH.js";const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},R1=o.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
@@ -77,7 +77,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3
|
|
|
77
77
|
padding-bottom: ${r.sp2};
|
|
78
78
|
border-bottom: 1px solid ${t=>t.theme.colors.grey3};
|
|
79
79
|
gap: ${r.sp2};
|
|
80
|
-
`,
|
|
80
|
+
`,T=o.div`
|
|
81
81
|
flex: 1;
|
|
82
82
|
white-space: nowrap;
|
|
83
83
|
overflow: hidden;
|
|
@@ -100,7 +100,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3
|
|
|
100
100
|
text-overflow: ellipsis;
|
|
101
101
|
`,o1=o(H1)`
|
|
102
102
|
color: ${t=>t.theme.colors.hero};
|
|
103
|
-
`,n2=t=>{const a=parseInt(t),s=Math.floor(a/60),i=a%60;if(s===0)return i<15?`${i}m`:`${Math.round(i/15)*15}m`;if(i<15)return i===0?`${s}h`:`${s}h ${i}m`;const l=Math.round(a/15)*15,c=Math.floor(l/60),h=l%60;return h===0?`${c}h`:`${c}h ${h}m`};function a2({taskName:t,taskCount:a,timeSavedMinutes:s,costSaved:i,currency:l}){const c=M();return C.jsxs(r2,{windowSize:c,children:[C.jsxs(
|
|
103
|
+
`,n2=t=>{const a=parseInt(t),s=Math.floor(a/60),i=a%60;if(s===0)return i<15?`${i}m`:`${Math.round(i/15)*15}m`;if(i<15)return i===0?`${s}h`:`${s}h ${i}m`;const l=Math.round(a/15)*15,c=Math.floor(l/60),h=l%60;return h===0?`${c}h`:`${c}h ${h}m`};function a2({taskName:t,taskCount:a,timeSavedMinutes:s,costSaved:i,currency:l}){const c=M();return C.jsxs(r2,{windowSize:c,children:[C.jsxs(T,{style:{flex:2},children:[C.jsx(o2,{windowSize:c,children:Number(a.toFixed()).toLocaleString()}),C.jsx(i2,{style:{margin:`0 ${r.sp2}`},children:t})]}),C.jsx(T,{children:C.jsx(o1,{children:n2(s.toString())})}),C.jsx(T,{children:C.jsxs(o1,{children:[l.currencySymbol,Number(i.toFixed()).toLocaleString()]})})]})}const s2={headerPaddingLeft:new k(0,0,n[9],n[9],n[9])},l2=o.div`
|
|
104
104
|
display: flex;
|
|
105
105
|
flex-direction: row;
|
|
106
106
|
padding-left: ${t=>s2.headerPaddingLeft.valuePx(t.windowSize)};
|
|
@@ -201,9 +201,9 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3
|
|
|
201
201
|
flex-direction: row;
|
|
202
202
|
align-items: flex-end;
|
|
203
203
|
gap: ${r.sp2};
|
|
204
|
-
`,
|
|
204
|
+
`,V2=o(S)`
|
|
205
205
|
color: ${t=>t.color};
|
|
206
|
-
`,
|
|
206
|
+
`,T2=o(x)`
|
|
207
207
|
color: ${t=>t.theme.colors.hero};
|
|
208
208
|
`,z2=o.div`
|
|
209
209
|
width: ${r.sp5};
|
|
@@ -233,7 +233,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3
|
|
|
233
233
|
width: ${r.sp3};
|
|
234
234
|
height: ${r.sp3};
|
|
235
235
|
color: ${t=>t.theme.colors.brandColorOnyx};
|
|
236
|
-
`;function i1({type:t,value:a,currency:s,timeUnit:i,style:l,noData:c}){const{common:h,aiPerformanceDashboard:p}=j.getLocalizedStrings(),u=t==="cost",v=u?C.jsx(R2,{}):C.jsx(G2,{}),y=u?d.brandColorGoldLight:d.graphColor16Light,$=u?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,H=u?d.brandColorGoldDark:d.graphColor16Dark,w=u?p.aiCostSavedTile.subtitle:p.aiTimeSavedTile.subtitle;return C.jsxs(_2,{style:l,children:[C.jsxs(D2,{children:[C.jsxs(H2,{children:[C.jsx(P2,{children:C.jsx(
|
|
236
|
+
`;function i1({type:t,value:a,currency:s,timeUnit:i,style:l,noData:c}){const{common:h,aiPerformanceDashboard:p}=j.getLocalizedStrings(),u=t==="cost",v=u?C.jsx(R2,{}):C.jsx(G2,{}),y=u?d.brandColorGoldLight:d.graphColor16Light,$=u?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,H=u?d.brandColorGoldDark:d.graphColor16Dark,w=u?p.aiCostSavedTile.subtitle:p.aiTimeSavedTile.subtitle;return C.jsxs(_2,{style:l,children:[C.jsxs(D2,{children:[C.jsxs(H2,{children:[C.jsx(P2,{children:C.jsx(V2,{color:H,children:$})}),C.jsx(T2,{children:w})]}),C.jsx(z2,{bg:y,children:v})]}),C.jsxs(O2,{children:[u&&!(c??!1)?C.jsx(R,{children:s.currencySymbol}):null,C.jsx(R,{children:a===""?h.strings.hyphen:a}),!u&&!(c??!1)?C.jsx(R,{style:{fontSize:D.largeSemiBold.fontSize},children:i}):null]})]})}const N2=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{clipPath:"url(#clip0_4001_4844)"},e.createElement("path",{d:"M12.0037 7.78125V6.84375",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M13.4065 7.78125H11.5043C11.2122 7.78145 10.9293 7.88329 10.7041 8.06928C10.4789 8.25528 10.3254 8.51384 10.2699 8.80063C10.2145 9.08742 10.2606 9.38456 10.4003 9.64108C10.54 9.89761 10.7646 10.0975 11.0356 10.2066L12.9706 10.9809C13.2416 11.09 13.4662 11.2899 13.6059 11.5464C13.7455 11.8029 13.7916 12.1001 13.7362 12.3869C13.6808 12.6737 13.5273 12.9322 13.3021 13.1182C13.0768 13.3042 12.7939 13.406 12.5018 13.4062H10.594",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12.0037 14.3438V13.4062",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M2.09766 14.7266C4.17328 16.7469 7.82859 18.0931 12.0005 18.0931C16.1723 18.0931 19.8314 16.7478 21.907 14.7275",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M17.6466 17.2013C20.5519 12.3131 15.7791 1.21875 12 1.21875C8.22095 1.21875 3.45001 12.3122 6.35626 17.2013",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M5.50031 12.418C3.17719 13.1886 1.6875 14.458 1.6875 16.2195C1.6875 20.4383 6.30469 22.782 12 22.782C17.6953 22.782 22.3125 20.4383 22.3125 16.2195C22.3125 14.458 20.8266 13.1886 18.5034 12.418",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_4001_4844"},e.createElement("rect",{width:24,height:24,fill:"white"})))),I={tileContainerGap:new k(n[2],n[2],n[4]),amountRowMarginTop:new k(n[3],n[5],n[5]),amountRowGap:new k(n[2],n[4],n[4])},A2=o.div`
|
|
237
237
|
border-radius: 10px;
|
|
238
238
|
padding: 3px;
|
|
239
239
|
background-color: ${t=>t.theme.colors.grey5};
|
|
@@ -411,7 +411,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3
|
|
|
411
411
|
border-radius: 2px;
|
|
412
412
|
`,l1=o(F1)`
|
|
413
413
|
color: ${t=>t.color};
|
|
414
|
-
`,D3=({active:t,payload:a})=>{const s=m1();return(t??!1)&&a&&a.length>0?C.jsx(j3,{children:a.map((i,l)=>{const c=i.name==="costSaved"?"Cost Saved":i.name==="timeSavedInHours"?"Time Saved":i.name,h=i.name==="costSaved"?`$${Math.round(i.value??0).toLocaleString()}`:i.name==="timeSavedInHours"?`${Math.round(i.value??0).toLocaleString()} hours`:i.value;return C.jsxs($3,{style:i.name==="costSaved"?{color:s.colors.brandColorGold}:{color:s.colors.graphColor17},children:[C.jsx(v3,{children:c}),C.jsx(b3,{children:h})]},`tooltip-${l}`)})}):null};function H3({performanceTimeSeries:t}){const a=m1(),s=M(),{aiPerformanceDashboard:i}=j.getLocalizedStrings();return C.jsxs(S3,{children:[C.jsx(Z3,{windowSize:s,children:C.jsx(B3,{children:i.chartTitle})}),C.jsxs(F3,{children:[C.jsx(W3,{children:C.jsx(p1,{children:({width:l,height:c})=>C.jsxs(u1,{width:l,height:c,data:t,margin:{top:6,right:6,left:6,bottom:6},children:[C.jsxs("defs",{children:[C.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[C.jsx("stop",{offset:"5%",stopColor:d.brandColorGoldLight,stopOpacity:.7}),C.jsx("stop",{offset:"95%",stopColor:d.brandColorGoldLight,stopOpacity:0})]}),C.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[C.jsx("stop",{offset:"5%",stopColor:d.graphColor16Dark,stopOpacity:.25}),C.jsx("stop",{offset:"95%",stopColor:d.graphColor16Dark,stopOpacity:0})]})]}),C.jsx(z1,{horizontal:!1,vertical:!1}),C.jsx(x1,{dataKey:"month",tickFormatter:h=>{const[p,u]=h.split("-");return new Date(Number(p),Number(u)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:a.colors.grey2,strokeWidth:1},tick:{fill:a.colors.hero,...D.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),C.jsx(U,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),C.jsx(U,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*M3]}),C.jsx(O1,{cursor:{stroke:a.colors.primary,strokeDasharray:5},content:C.jsx(D3,{})}),C.jsx(t1,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:d.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.brandColorGold,strokeWidth:2}}),C.jsx(t1,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:d.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.graphColor16Dark,strokeWidth:2}})]})})}),C.jsxs(_3,{children:[C.jsxs(a1,{children:[C.jsx(s1,{color:d.brandColorGoldDark}),C.jsx(l1,{color:d.brandColorGoldDark,children:i.aiCostSavedTile.title})]}),C.jsxs(a1,{children:[C.jsx(s1,{color:d.graphColor16Dark}),C.jsx(l1,{color:d.graphColor16Dark,children:i.aiTimeSavedTile.title})]})]})]})]})}const P3=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{clipPath:"url(#clip0_4001_4887)"},e.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_4001_4887"},e.createElement("rect",{width:24,height:24,fill:"white"})))),K={amountRowMarginTop:new k(n[3],n[3],n[5]),amountRowGap:new k(n[2],n[2],n[4]),tileContainerGap:new k(n[2],n[4],n[4])},
|
|
414
|
+
`,D3=({active:t,payload:a})=>{const s=m1();return(t??!1)&&a&&a.length>0?C.jsx(j3,{children:a.map((i,l)=>{const c=i.name==="costSaved"?"Cost Saved":i.name==="timeSavedInHours"?"Time Saved":i.name,h=i.name==="costSaved"?`$${Math.round(i.value??0).toLocaleString()}`:i.name==="timeSavedInHours"?`${Math.round(i.value??0).toLocaleString()} hours`:i.value;return C.jsxs($3,{style:i.name==="costSaved"?{color:s.colors.brandColorGold}:{color:s.colors.graphColor17},children:[C.jsx(v3,{children:c}),C.jsx(b3,{children:h})]},`tooltip-${l}`)})}):null};function H3({performanceTimeSeries:t}){const a=m1(),s=M(),{aiPerformanceDashboard:i}=j.getLocalizedStrings();return C.jsxs(S3,{children:[C.jsx(Z3,{windowSize:s,children:C.jsx(B3,{children:i.chartTitle})}),C.jsxs(F3,{children:[C.jsx(W3,{children:C.jsx(p1,{children:({width:l,height:c})=>C.jsxs(u1,{width:l,height:c,data:t,margin:{top:6,right:6,left:6,bottom:6},children:[C.jsxs("defs",{children:[C.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[C.jsx("stop",{offset:"5%",stopColor:d.brandColorGoldLight,stopOpacity:.7}),C.jsx("stop",{offset:"95%",stopColor:d.brandColorGoldLight,stopOpacity:0})]}),C.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[C.jsx("stop",{offset:"5%",stopColor:d.graphColor16Dark,stopOpacity:.25}),C.jsx("stop",{offset:"95%",stopColor:d.graphColor16Dark,stopOpacity:0})]})]}),C.jsx(z1,{horizontal:!1,vertical:!1}),C.jsx(x1,{dataKey:"month",tickFormatter:h=>{const[p,u]=h.split("-");return new Date(Number(p),Number(u)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:a.colors.grey2,strokeWidth:1},tick:{fill:a.colors.hero,...D.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),C.jsx(U,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),C.jsx(U,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*M3]}),C.jsx(O1,{cursor:{stroke:a.colors.primary,strokeDasharray:5},content:C.jsx(D3,{})}),C.jsx(t1,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:d.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.brandColorGold,strokeWidth:2}}),C.jsx(t1,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:d.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.graphColor16Dark,strokeWidth:2}})]})})}),C.jsxs(_3,{children:[C.jsxs(a1,{children:[C.jsx(s1,{color:d.brandColorGoldDark}),C.jsx(l1,{color:d.brandColorGoldDark,children:i.aiCostSavedTile.title})]}),C.jsxs(a1,{children:[C.jsx(s1,{color:d.graphColor16Dark}),C.jsx(l1,{color:d.graphColor16Dark,children:i.aiTimeSavedTile.title})]})]})]})]})}const P3=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{clipPath:"url(#clip0_4001_4887)"},e.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_4001_4887"},e.createElement("rect",{width:24,height:24,fill:"white"})))),K={amountRowMarginTop:new k(n[3],n[3],n[5]),amountRowGap:new k(n[2],n[2],n[4]),tileContainerGap:new k(n[2],n[4],n[4])},V3=o.div`
|
|
415
415
|
border-radius: 10px;
|
|
416
416
|
padding: 3px;
|
|
417
417
|
background-color: ${t=>t.theme.colors.grey5};
|
|
@@ -419,7 +419,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3
|
|
|
419
419
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
420
420
|
box-shadow: ${d.Elevation1Light};
|
|
421
421
|
min-width: ${t=>t.windowSize==="small"?"300px":"auto"};
|
|
422
|
-
`,
|
|
422
|
+
`,T3=o.div`
|
|
423
423
|
display: flex;
|
|
424
424
|
flex-direction: ${t=>t.windowSize==="small"?"column":"row"};
|
|
425
425
|
gap: ${t=>K.tileContainerGap.valuePx(t.windowSize)};
|
|
@@ -466,7 +466,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3
|
|
|
466
466
|
width: ${r.sp4};
|
|
467
467
|
height: ${r.sp4};
|
|
468
468
|
color: ${t=>t.theme.colors.brandColorOnyx};
|
|
469
|
-
`;function I3({performanceSummary:t,currency:a,isPerformanceReportNotFound:s}){const{common:i,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M();return C.jsx(
|
|
469
|
+
`;function I3({performanceSummary:t,currency:a,isPerformanceReportNotFound:s}){const{common:i,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M();return C.jsx(V3,{windowSize:c,children:C.jsxs(T3,{windowSize:c,children:[C.jsx(N3,{children:C.jsx(U3,{})}),C.jsxs(z3,{children:[C.jsxs(O3,{children:[C.jsx(R3,{children:l.valueDelivered.title}),C.jsx(G3,{children:l.valueDelivered.subtitle})]}),C.jsxs(A3,{isPerformanceReportNotFound:s,windowSize:c,children:[C.jsxs(d1,{children:[C.jsx(x,{style:{color:d.brandColorGoldDark},children:l.valueDelivered.title}),s?C.jsx(N,{children:i.strings.hyphen}):C.jsxs(G,{children:[C.jsxs(N,{children:[(100*t.valueMultiplier).toFixed(),i.strings.percentage]}),C.jsxs(A,{children:[i.strings.openingBrace,a.currencySymbol,Number(t.valueDelivered.toFixed()).toLocaleString(),i.strings.closingBrace]})]})]}),!s&&C.jsx(G,{children:C.jsx(A,{children:i.of})}),C.jsxs(d1,{children:[C.jsx(x,{style:{color:d.brandColorGoldDark},children:l.valueDelivered.zeniSubscriptionPlan}),C.jsxs(G,{children:[C.jsxs(N,{children:[a.currencySymbol,s?`${i.currency.currencySymbol}499`:Number(t.subscriptionCost.toFixed()).toLocaleString()]}),C.jsxs(A,{children:[i.strings.backspace,i.timeStrings.month]})]})]})]})]})]})})}const _={contentPaddingLeft:new k(n[3],n[3],n[8]),contentPaddingRight:new k(n[3],n[3],n[8]),containerPadding:new k(n[4],n[4],n[8]),savingsChartMinWidth:new k(300,300,500)},K3=new k(52,52,62),J3=o.div`
|
|
470
470
|
display: flex;
|
|
471
471
|
width: 100%;
|
|
472
472
|
flex-direction: column;
|
|
@@ -518,7 +518,7 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3
|
|
|
518
518
|
&:hover {
|
|
519
519
|
color: ${t=>t.theme.colors.primary};
|
|
520
520
|
}
|
|
521
|
-
`,r4=
|
|
521
|
+
`,r4=V1`
|
|
522
522
|
0% {
|
|
523
523
|
rotate: 0
|
|
524
524
|
}
|
|
@@ -536,4 +536,4 @@ import{y as k,a7 as y1,Q as M,F as j,ca as j1,V as C,aK as $1,bQ as v1,o as r,k3
|
|
|
536
536
|
&:hover {
|
|
537
537
|
color: ${t=>t.theme.colors.primary};
|
|
538
538
|
}
|
|
539
|
-
`,i4=(t,a)=>t===a?`(${
|
|
539
|
+
`,i4=(t,a)=>t===a?`(${V(t)})`:`(${V(t)} - ${V(a)})`;function g4({aggregatedReport:t,onBackClick:a,onReload:s,onTimeRangeSelect:i,onClickMenuIcon:l}){const c=y1().analytics,h=M(),{common:p}=j.getLocalizedStrings(),[u,v]=e.useState(!1),[y,$]=e.useState(null),H=[...e1],w=e1[1],[P,Y]=e.useState(E(w)),[Z,q]=e.useState(w),[g1,f1]=e.useState(!1);j1({componentName:"aiPerformance",enabled:t.fetchState==="Completed"});const b=t.fetchState==="Not-Started"||t.fetchState==="In-Progress",L=t.fetchState==="Error",L1=m=>m.flatMap(M1=>M1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));e.useEffect(()=>{$("home"),i(E(Z).fromMonth,E(Z).toMonth)},[]),e.useEffect(()=>{if(t.fetchState==="Completed"&&y){const m={period_selected:Z,cost_saved:t.summary.totalCostSaved,time_saved:t.summary.totalTimeSavedMinutes,task_performed:L1(t.personas)};y==="home"?c.trackAIPerfHome(m):y==="refresh"?c.trackAIPerfRefresh(m):y==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(null)}},[t.fetchState,y]),e.useEffect(()=>{const m=()=>{f1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const E1=C.jsx(C4,{"data-testid":`${$1("ai-performance-page","refresh-icon")}`,onClick:()=>{v(!0),$("refresh"),s(E(w).fromMonth,E(w).toMonth),q(w),Y(E(w))},children:C.jsx(v1,{style:{marginTop:r.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:C.jsx(o4,{spinning:b&&u})})}),w1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:H,valueToLabel:m=>m,selectedValue:`${Z} ${i4(P.fromMonth,P.toMonth)}`,titleTextStyle:D.largeMedium,onPickerSelectionChanged:m=>{m!=null&&($("timePeriodSelect"),q(F(m)),Y(E(F(m))),i(E(F(m)).fromMonth,E(F(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:a,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:E1},Q=Number.parseFloat((t?.summary?.totalTimeSavedMinutes/60).toFixed());return C.jsxs(X3,{children:[C.jsx(J3,{isScrolled:g1,windowSize:h,paddingLeft:_.contentPaddingLeft.value(h),paddingRight:_.contentPaddingRight.value(h),children:C.jsx(T1,{...w1})}),C.jsxs(Y3,{windowSize:h,children:[C.jsxs(q3,{windowSize:h,children:[C.jsxs(e4,{windowSize:h,children:[b?C.jsx(r1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):C.jsx(i1,{type:"cost",value:L?`${p.strings.hyphen}`:Number(t.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:t.currency,style:{margin:`0 0 ${r.sp3} 0`},noData:L}),b?C.jsx(r1,{customStyle:{margin:"0"}}):C.jsx(i1,{type:"time",value:L?`${p.strings.hyphen}`:t.summary?.totalTimeSavedMinutes<60?Number(t.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Q.toLocaleString(),currency:t.currency,noData:L,timeUnit:L?"":t.summary?.totalTimeSavedMinutes<60?t.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:Q>1?p.timeStrings.hours:p.timeStrings.hour})]}),C.jsx(t4,{windowSize:h,children:b?C.jsx(A1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):L?C.jsx(w3,{selectedTimeSeries:P}):C.jsx(H3,{performanceTimeSeries:t.monthlySummary})})]}),b?C.jsx(c1,{windowSize:h,children:C.jsx(t2,{})}):C.jsxs(C.Fragment,{children:[C.jsx(c1,{windowSize:h,children:L||t.personas.length===0?C.jsx(c3,{}):C.jsx(W2,{personas:t.personas,currency:t.currency})}),C.jsxs(Q3,{windowSize:h,children:[C.jsx(I3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L}),C.jsx(C3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L})]})]})]})]})}export{g4 as default,K3 as navBarHeight};
|
package/dist/assets/{AccountInfoPage-CxWBk_t_-C2BQHsrc.js → AccountInfoPage-CxWBk_t_-B_bVMIaS.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as w,Q as y,V as t,gI as $,o as n,y as a,hu as P,u as e}from"./index-
|
|
1
|
+
import{d as w,Q as y,V as t,gI as $,o as n,y as a,hu as P,u as e}from"./index-BseKE85Q.js";import{a as z}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{K as A}from"./StatusSwitcher-DYRXaLvx-Ba_9t0xD.js";import{r as S}from"./AccountInfoPageContent-DO6aVqBW-C-_zFoYr.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-yGlKpV2--ixU1iA2q.js";import"./commonDimensions-B1u_MhON-ChoLEYYu.js";const r={pageTitleMarginXAxis:new a(e[4],e[8]),containerPaddingLeft:new a(e[3],e[6],e[8]),containerPaddingRight:new a(e[3],e[6],e[8])},B=({authParams:i,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=w(),d=y(),[c,h]=z.useState("achDetails"),x=f=>{h(f)};return t.jsxs(v,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(D,{windowSize:d,children:s.accountName}),t.jsx(T,{children:t.jsx(A,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:x,isSwitcherLeftAlign:!0})}),t.jsx(j,{windowSize:d,children:t.jsx(S,{authParams:i,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},j=o.div`
|
|
2
2
|
padding-left: ${i=>`${r.containerPaddingLeft.valuePx(i.windowSize)}`};
|
|
3
3
|
padding-right: ${i=>`${r.containerPaddingRight.valuePx(i.windowSize)}`};
|
|
4
4
|
`,v=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as we,gR as Ae,hv as J,V as r,F as Se,bQ as D,A as Te,aK as z,o as a,b5 as ve,c0 as Ce,p as E,ag as ee,s as De,gT as ze,ak as re}from"./index-
|
|
1
|
+
import{Q as we,gR as Ae,hv as J,V as r,F as Se,bQ as D,A as Te,aK as z,o as a,b5 as ve,c0 as Ce,p as E,ag as ee,s as De,gT as ze,ak as re}from"./index-BseKE85Q.js";import{a as s}from"./core-3dlyNYRL.js";import{n as t}from"./mui-bYXq4XMS.js";import{w as Le}from"./downloadPdf-yGlKpV2--ixU1iA2q.js";import{o as _e}from"./commonDimensions-B1u_MhON-ChoLEYYu.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:o}},downloads:W}}=Se.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,R]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[p,I]=s.useState(!1),[N,P]=s.useState(!1),[j,Q]=s.useState(!1),[w,F]=s.useState(!1),[A,O]=s.useState(!1),[S,V]=s.useState(!1),[T,q]=s.useState(!1),[$,U]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,C=J(u.zeniAccountsConfigDetail.mailingAddress).text2,m=J(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),V(!1),q(!1),U(!1),O(!1),F(!1),Q(!1),P(!1)},1200)},[p,S,T,$,A,w,j,N]);const B=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as g,F as l,V as e,ak as f,b8 as d,n as j,o,p as m,ap as $,bW as y,bX as b,bY as k,bP as w}from"./index-
|
|
1
|
+
import{d as g,F as l,V as e,ak as f,b8 as d,n as j,o,p as m,ap as $,bW as y,bX as b,bY as k,bP as w}from"./index-BseKE85Q.js";import{n as r}from"./mui-bYXq4XMS.js";import{t as v}from"./handshake-BPg58FML-D7G7L1P7.js";import"./core-3dlyNYRL.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const p="support@zeni.ai",i=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:t,onSubmit:n})=>{const s=g(),x=t.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=t.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return e.jsxs(S,{children:[e.jsx(C,{children:i.accountLockedTitle}),e.jsxs(L,{children:[e.jsxs(a,{children:[e.jsx(c,{theme:s,children:e.jsx(Y,{})}),e.jsx(f,{children:i.accountLockedSecurityMessage})]}),e.jsxs(a,{children:[e.jsx(c,{theme:s,children:e.jsx(F,{})}),e.jsxs(d,{children:[i.tryAgainAfter,e.jsxs(D,{children:[x,e.jsx(A,{children:"•"}),u]}),i.signInViaGoogleOrMicrosoft]})]}),e.jsxs(a,{children:[e.jsx(c,{theme:s,children:e.jsx(_,{})}),e.jsxs(d,{children:[i.accountLockedContactMessage,e.jsx(z,{href:`mailto:${p}`,children:p})]})]}),e.jsx(j,{variant:"primary",label:i.understood,onClick:n})]})]})};function M({unlockDate:t,onClose:n}){return e.jsx(w,{open:!0,onClose:n,children:e.jsx(O,{children:e.jsx(h,{unlockDate:t,onSubmit:n})})})}const S=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as xe,fv as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as i,M as ke,b5 as
|
|
1
|
+
import{a8 as xe,fv as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as i,M as ke,b5 as Q,al as X,_ as ve,a9 as Ce,dJ as we,eP as be,d1 as q,ds as Z,ak as l,d as Ee,aL as Pe,bu as ee,dM as te,at as Re,p as ne,s as De}from"./index-BseKE85Q.js";import{a as r}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{bO as oe,G8 as Ie,G9 as _e}from"./zeni-epic-state-BwKvATgd.js";import{E as Fe,C as Te,w as Ue,f as Me}from"./AccountRow-Ck53DDbT-RIPr-Sky.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Le=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -52,30 +52,30 @@ import{a8 as xe,fv as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as
|
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,He=o(
|
|
55
|
+
`,He=o(Q)`
|
|
56
56
|
display: flex;
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
align-items: center;
|
|
59
59
|
justify-content: center;
|
|
60
60
|
overflow: hidden;
|
|
61
|
-
`,ie=o(
|
|
61
|
+
`,ie=o(X)`
|
|
62
62
|
display: flex;
|
|
63
63
|
color: ${e=>e.theme.colors.hero};
|
|
64
64
|
align-items: center;
|
|
65
65
|
justify-content: center;
|
|
66
66
|
overflow: hidden;
|
|
67
|
-
`,
|
|
67
|
+
`,Je=o.div`
|
|
68
68
|
display: flex;
|
|
69
69
|
flex: 0 0 auto;
|
|
70
70
|
justify-content: center;
|
|
71
71
|
align-items: center;
|
|
72
|
-
`,
|
|
72
|
+
`,Ve=o.div`
|
|
73
73
|
display: flex;
|
|
74
74
|
flex-direction: column;
|
|
75
75
|
align-items: center;
|
|
76
76
|
justify-content: center;
|
|
77
77
|
gap: ${i.sp5};
|
|
78
|
-
`,
|
|
78
|
+
`,qe=o.div`
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: row;
|
|
81
81
|
align-items: center;
|
|
@@ -85,27 +85,27 @@ import{a8 as xe,fv as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as
|
|
|
85
85
|
background-color: ${e=>e.theme.colors.background};
|
|
86
86
|
border-radius: ${i.sp2};
|
|
87
87
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
88
|
-
`,
|
|
88
|
+
`,Ge=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
92
92
|
justify-content: center;
|
|
93
93
|
min-width: ${m.balanceContainerWidth}px;
|
|
94
|
-
`,W=o(
|
|
94
|
+
`,W=o(X)`
|
|
95
95
|
display: flex;
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
98
98
|
justify-content: flex-end;
|
|
99
|
-
`,
|
|
99
|
+
`,Ke=o(l)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Qe=o.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
align-items: flex-start;
|
|
106
106
|
justify-content: flex-start;
|
|
107
107
|
min-width: ${m.balanceContainerWidth}px;
|
|
108
|
-
`,
|
|
108
|
+
`,Xe=o(l)`
|
|
109
109
|
display: flex;
|
|
110
110
|
color: ${e=>e.theme.colors.primary};
|
|
111
111
|
align-items: center;
|
|
@@ -162,7 +162,7 @@ import{a8 as xe,fv as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as
|
|
|
162
162
|
justify-content: center;
|
|
163
163
|
min-width: ${m.sourceContainerWidth}px;
|
|
164
164
|
gap: ${i.sp2};
|
|
165
|
-
`,rt=o(
|
|
165
|
+
`,rt=o(Q)`
|
|
166
166
|
display: flex;
|
|
167
167
|
color: ${e=>e.theme.colors.primary};
|
|
168
168
|
align-items: center;
|
|
@@ -187,7 +187,7 @@ import{a8 as xe,fv as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as
|
|
|
187
187
|
color: ${e=>e.theme.colors.hero};
|
|
188
188
|
align-items: center;
|
|
189
189
|
justify-content: flex-end;
|
|
190
|
-
`,
|
|
190
|
+
`,_=o(l)`
|
|
191
191
|
display: flex;
|
|
192
192
|
color: ${e=>e.theme.colors.primary};
|
|
193
193
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ import{a8 as xe,fv as fe,V as t,ab as ge,cm as ye,F as je,cn as Se,co as $e,o as
|
|
|
236
236
|
color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
|
|
237
237
|
cursor: pointer;
|
|
238
238
|
text-decoration: underline;
|
|
239
|
-
`,{common:p,dateFormat:
|
|
239
|
+
`,{common:p,dateFormat:G,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),xt=(e,n)=>`${e}.${n}`,ft="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Lt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:F,onDeleteFile:R,onEditFileName:T,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,L]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[N,Y]=r.useState(!1),[O,B]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{O!=null&&(R(O),B(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{B(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,H.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:J,ready:V}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&L(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&J()},[a,J]),t.jsxs(Le,{children:[t.jsx(Oe,{children:t.jsx(Ae,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx(vt,{monthYearPeriod:d})})]}),t.jsx(Je,{children:t.jsx(Be,{onClick:$})})]})})}),t.jsxs(We,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:ft,onSubmit:k,children:t.jsx(gt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:F,onDeleteFile:R,onEditFileName:T,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:O,setDeleteFileId:B,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const gt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:F,onSelectSourceType:R,onStatementUploadSuccess:T,onUploadWindowOpenedOnce:U,uploadErrorMessage:M,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];n.accountReconEntity.account.accountType==="bank"&&v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Fe(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],L=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsx(W,{children:c.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Te,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Qe,{children:[t.jsx(W,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(W,{children:c.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(_,{children:s!=null?t.jsx(j,{children:s==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(yt,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(Ie(a))},valueToIcon:a=>a==="plaid"?t.jsx(ut,{}):a==="bank_statement"?t.jsx(pt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:xt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:L,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:_e,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:M,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{T(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{F(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(_,{children:C!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(kt,{accountSubType:q(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:q(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},yt=({selectedSourceType:e})=>t.jsxs(it,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ct,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(A,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(A,{children:[t.jsx(dt,{}),t.jsx(ht,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(A,{onClick:e==="reconnect"?u:d,children:t.jsx(mt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Me(u,e,d,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},vt=({monthYearPeriod:e})=>t.jsx(ie,{children:Ct(e)}),Ct=e=>{const{month:n,year:d}=e,u=oe(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(G.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(G.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Lt as default,xt as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,
|
|
1
|
+
import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dJ as le,ak as w,dK as de,p as m,dL as Z,dM as Y,cY as ue,aS as x,ag as X,u as p,Q as xe,d as S,aZ as pe,dq as he,am as me,n as ge,al as I,bI as fe,dC as je}from"./index-BseKE85Q.js";import{a as ye}from"./core-3dlyNYRL.js";import{n as a,b as we}from"./mui-bYXq4XMS.js";const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -52,7 +52,7 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dO as le,ak as w,dP as
|
|
|
52
52
|
flex: 1 1 auto;
|
|
53
53
|
height: 1px;
|
|
54
54
|
width: 100%;
|
|
55
|
-
`;function
|
|
55
|
+
`;function We({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ee,{isScrolling:n});case"account_separator":return t.jsx(Le,{"data-testid":y("account-separator",e)})}}const Le=()=>t.jsx(Se,{children:t.jsx(Ie,{className:"part-separator"})}),u={timeframeHeight:p[10],leftHeadingWidth:386,leftTimeframeWidth:161,leftLabelWidth:190,bankBalanceWidth:128,bankBalanceTimeframeWidth:126,bankBalanceRightWidth:p[4],bankBalanceRightTimeframeWidth:p[4],clearedBalanceWidth:144,clearedBalanceTimeframeWidth:142,varianceWidth:193,varianceTimeframeWidth:180,varianceNumberWidth:112,varianceNumberLoadingWidth:130,variancePercentageWidth:p[10],statusWidth:144,statusTimeframeWidth:142,tickLeftMargin:p[4],circleRadius:p[4],spacerLineWidth:p[5],wrapperPadding:p[8]};function Lt(e){switch(e){case"timeframe_headers":return p[12];case"title_string_only":return p[8];case"ac_group_report":return p[8];case"total":return p[8];case"section":return p[0];case"loading_in_progress":return p[8];default:return p[0]}}function Pt(){return!0}const Pe=a.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
height: ${e=>e.heightValue}px;
|
|
@@ -119,24 +119,24 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dO as le,ak as w,dP as
|
|
|
119
119
|
color: ${e=>e.theme.colors.hero};
|
|
120
120
|
width: ${u.leftLabelWidth}px;
|
|
121
121
|
min-width: ${u.leftLabelWidth}px;
|
|
122
|
-
`,
|
|
122
|
+
`,Ve=a.div`
|
|
123
123
|
display: flex;
|
|
124
124
|
flex: 1 1 auto;
|
|
125
125
|
justify-content: flex-end;
|
|
126
126
|
align-items: center;
|
|
127
127
|
color: ${e=>e.theme.colors.hero};
|
|
128
|
-
`,
|
|
128
|
+
`,Oe=a(w)`
|
|
129
129
|
width: ${u.bankBalanceWidth}px;
|
|
130
130
|
min-width: ${u.bankBalanceWidth}px;
|
|
131
131
|
text-align: right;
|
|
132
|
-
`,
|
|
132
|
+
`,Qe=a.div`
|
|
133
133
|
width: ${u.bankBalanceRightWidth}px;
|
|
134
134
|
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,
|
|
135
|
+
`,Me=a(w)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Fe=a(w)`
|
|
140
140
|
width: ${u.statusWidth}px;
|
|
141
141
|
min-width: ${u.statusWidth}px;
|
|
142
142
|
height: 1px;
|
|
@@ -150,12 +150,12 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dO as le,ak as w,dP as
|
|
|
150
150
|
min-width: ${u.spacerLineWidth}px;
|
|
151
151
|
width: ${u.spacerLineWidth}px;
|
|
152
152
|
align-items: center;
|
|
153
|
-
`,
|
|
153
|
+
`,ze=a.div`
|
|
154
154
|
width: 1px;
|
|
155
155
|
margin-left: ${o.sp3};
|
|
156
156
|
height: ${e=>e.heightValue}px;
|
|
157
157
|
background-color: ${e=>e.theme.colors.grey3};
|
|
158
|
-
`,
|
|
158
|
+
`,He=a.div`
|
|
159
159
|
display: flex;
|
|
160
160
|
flex-shrink: 0;
|
|
161
161
|
width: ${u.varianceTimeframeWidth}px;
|
|
@@ -171,7 +171,7 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dO as le,ak as w,dP as
|
|
|
171
171
|
color: ${e=>e.textColor.hex()};
|
|
172
172
|
min-width: ${u.varianceNumberWidth}px;
|
|
173
173
|
text-align: right;
|
|
174
|
-
`,
|
|
174
|
+
`,Je=a(w)`
|
|
175
175
|
border-radius: ${o.sp1};
|
|
176
176
|
padding: ${o.sp0} ${o.sp1};
|
|
177
177
|
justify-content: center;
|
|
@@ -179,11 +179,11 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dO as le,ak as w,dP as
|
|
|
179
179
|
color: ${e=>e.textColor.hex()};
|
|
180
180
|
background-color: ${e=>e.bgColor.hex()};
|
|
181
181
|
min-width: ${u.variancePercentageWidth}px;
|
|
182
|
-
`,
|
|
182
|
+
`,Ke=a.div`
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,Ge=a.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-items: center;
|
|
@@ -194,7 +194,7 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dO as le,ak as w,dP as
|
|
|
194
194
|
gap: ${o.sp1};
|
|
195
195
|
`,Ye=a(I)`
|
|
196
196
|
color: ${m.success};
|
|
197
|
-
`,
|
|
197
|
+
`,K=a(I)`
|
|
198
198
|
color: ${m.success};
|
|
199
199
|
`,Xe=a(je)`
|
|
200
200
|
width: ${o.sp3};
|
|
@@ -233,7 +233,7 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dO as le,ak as w,dP as
|
|
|
233
233
|
`,it=a(de)`
|
|
234
234
|
width: ${o.sp3};
|
|
235
235
|
height: ${o.sp3};
|
|
236
|
-
`,
|
|
236
|
+
`,V=a(fe)`
|
|
237
237
|
width: 12px;
|
|
238
238
|
height: 12px;
|
|
239
239
|
color: ${e=>e.iconColor.hex()};
|
|
@@ -241,26 +241,26 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dO as le,ak as w,dP as
|
|
|
241
241
|
`,$=a.div`
|
|
242
242
|
display: flex;
|
|
243
243
|
gap: ${o.sp1};
|
|
244
|
-
`,
|
|
244
|
+
`,O=a.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
248
|
-
`,
|
|
248
|
+
`,G=a(w)`
|
|
249
249
|
color: ${e=>e.theme.colors.hero};
|
|
250
|
-
`,
|
|
250
|
+
`,Q=a.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: row;
|
|
253
253
|
align-items: center;
|
|
254
254
|
gap: ${o.sp1};
|
|
255
|
-
`,F=a(I)`
|
|
256
|
-
color: ${e=>e.textColor.hex()};
|
|
257
255
|
`,M=a(I)`
|
|
258
256
|
color: ${e=>e.textColor.hex()};
|
|
257
|
+
`,F=a(I)`
|
|
258
|
+
color: ${e=>e.textColor.hex()};
|
|
259
259
|
`,U=a.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
align-items: center;
|
|
263
|
-
`,
|
|
263
|
+
`,z=a.div`
|
|
264
264
|
display: flex;
|
|
265
265
|
flex-direction: column;
|
|
266
266
|
align-items: center;
|
|
@@ -295,4 +295,4 @@ import{V as t,F as se,aL as E,bQ as f,o,aK as y,a9 as re,dO as le,ak as w,dP as
|
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:mt}}}=se.getLocalizedStrings();function Bt({height:e,accountRecon:n,isLastRow:c,isSelectedRow:i,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:g,onStatementAddClicked:k}){const P=xe(),_=S(),v=n.accountReconEntity.account.accountName,W=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{g?.(n.accountReconEntity.account.accountId)},ce=()=>{k?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ie,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=e;return c&&(G=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:G,isLastRow:c,windowSize:P,isSelectedRow:i,onClick:()=>{ie!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(_e,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(_.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:v})})})]}),t.jsxs(Oe,{children:[t.jsx(Qe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:W,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ae})}),t.jsx(Ve,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Fe,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(gt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(He,{heightValue:e})}),t.jsx(Me,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),c?t.jsx(Be,{}):null]})}const gt=({variance:e,variancePercentage:n,reconciliationStatusCode:c,isLoading:i})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:g}=ft(l,e,c),k=i?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(ze,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||i?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:g,className:"any-text-container",children:k})]})},ft=(e,n,c,i)=>{let l,d,r;return n!=null&&n.amount===0&&c!=null&&c==="reconciled"?(l=new x(m.success),d=new x(m.success),r=new x(m.successLight)):i===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let g="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?g=s.status.balanceNotFound:e.accountReconEntity.balance==null?g=s.status.bankBalanceNotFound:g=s.status.clearedBalanceNotFound,t.jsx(bt,{status:g,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(A,{tooltipText:r,showTooltip:d!=null});if(i==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(B,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(B,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(i==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(B,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(B,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:c,dataTestId:i,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Je,{children:t.jsx(ge,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":i,onClick:d=>{d.stopPropagation(),l()}})})}),B=({user:e,isQBO:n,tooltipText:c})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Ze,{children:[t.jsx(Xe,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(J,{children:s.status.QBOUser}):e&&t.jsxs(J,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:c,statementStatus:i,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:g,isLoading:k,accountId:P,onStatementAddClicked:_,setIsHovering:v})=>{const W=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(c==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(it,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",P),onClick:N=>{N.stopPropagation(),g?.()},children:s.connect.reconnnect})]})}else return c==="connected"||i==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",P),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(re,{controller:W.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:W,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&_?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(m.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(O,{iconColor:n}),t.jsx(V,{children:t.jsx(F,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(M,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const c=new x(m.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(O,{iconColor:c}),t.jsxs(Q,{children:[t.jsx(V,{children:t.jsx(F,{textColor:c,children:e})}),t.jsx(U,{children:t.jsx(M,{textColor:c,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),c=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:c,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:c,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:c})=>{const i=new x(m.important),l=Et(e,"list",c);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(O,{iconColor:i}),t.jsxs(Q,{children:[t.jsx(V,{children:t.jsx(F,{textColor:i,children:l})}),t.jsx(U,{children:t.jsx(M,{textColor:i,children:s.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:c,connectionInProgress:i})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=c==="connected"||c==="reconnect"||i===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,c)=>{if(c!=null&&n==="drawer")return c;let i="";switch(e){case"parsing_failed":i=s.status.statementParseError;break;case"validation_failed":i=s.status.statementValidationFailed;break;case"processing_failed":i=s.status.statementProcessingFailed;break;default:i=s.status.statementParseError;break}return n==="drawer"&&(i=i+" "+s.status.failed),i};export{Te as B,wt as C,Lt as D,Et as E,Wt as N,Bt as R,ft as f,u,$t as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:mt}}}=se.getLocalizedStrings();function Bt({height:e,accountRecon:n,isLastRow:c,isSelectedRow:i,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:g,onStatementAddClicked:k}){const W=xe(),_=S(),v=n.accountReconEntity.account.accountName,L=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{g?.(n.accountReconEntity.account.accountId)},ce=()=>{k?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ie,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let J=e;return c&&(J=e+p[8]),t.jsxs(Pe,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:J,isLastRow:c,windowSize:W,isSelectedRow:i,onClick:()=>{ie!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(_e,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(_.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:v})})})]}),t.jsxs(Ve,{children:[t.jsx(Oe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:L,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ae})}),t.jsx(Qe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(gt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(We,{kind:"account_separator",isScrolling:!1}),c?t.jsx(Be,{}):null]})}const gt=({variance:e,variancePercentage:n,reconciliationStatusCode:c,isLoading:i})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:g}=ft(l,e,c),k=i?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(He,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||i?h:E("0,0",e)}),t.jsx(Je,{textColor:r,bgColor:g,className:"any-text-container",children:k})]})},ft=(e,n,c,i)=>{let l,d,r;return n!=null&&n.amount===0&&c!=null&&c==="reconciled"?(l=new x(m.success),d=new x(m.success),r=new x(m.successLight)):i===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let g="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?g=s.status.balanceNotFound:e.accountReconEntity.balance==null?g=s.status.bankBalanceNotFound:g=s.status.clearedBalanceNotFound,t.jsx(bt,{status:g,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(A,{tooltipText:r,showTooltip:d!=null});if(i==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(P,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(P,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(B,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(B,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(i==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(P,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(P,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(B,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(B,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},P=({buttonLabel:e,isDisabled:n,tooltipText:c,dataTestId:i,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ke,{children:t.jsx(ge,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":i,onClick:d=>{d.stopPropagation(),l()}})})}),B=({user:e,isQBO:n,tooltipText:c})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ge,{children:[t.jsxs(Ze,{children:[t.jsx(Xe,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(K,{children:s.status.QBOUser}):e&&t.jsxs(K,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:c,statementStatus:i,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:g,isLoading:k,accountId:W,onStatementAddClicked:_,setIsHovering:v})=>{const L=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(c==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(it,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",W),onClick:N=>{N.stopPropagation(),g?.()},children:s.connect.reconnnect})]})}else return c==="connected"||i==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",W),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(re,{controller:L.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:L,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&_?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(m.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(O,{children:[t.jsx(V,{iconColor:n}),t.jsx(Q,{children:t.jsx(M,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(F,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const c=new x(m.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:c}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(M,{textColor:c,children:e})}),t.jsx(U,{children:t.jsx(F,{textColor:c,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),c=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:c,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:c,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:c})=>{const i=new x(m.important),l=Et(e,"list",c);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:i}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(M,{textColor:i,children:l})}),t.jsx(U,{children:t.jsx(F,{textColor:i,children:s.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(G,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(G,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:c,connectionInProgress:i})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=c==="connected"||c==="reconnect"||i===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,c)=>{if(c!=null&&n==="drawer")return c;let i="";switch(e){case"parsing_failed":i=s.status.statementParseError;break;case"validation_failed":i=s.status.statementValidationFailed;break;case"processing_failed":i=s.status.statementProcessingFailed;break;default:i=s.status.statementParseError;break}return n==="drawer"&&(i=i+" "+s.status.failed),i};export{Te as B,wt as C,Pt as D,Et as E,Lt as N,Bt as R,ft as f,u,$t as w};
|