@zeniai/web-cockpit-ui 1.14.62-dev → 1.14.63-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-C9GD0hCH-wcmQ_I_w.js → ACHDetailsPage-QkOAxB4j-BwmsngrU.js} +1 -1
- package/dist/assets/{AIPerformancePage-B0Adp0wg-BRw7cYj4.js → AIPerformancePage-POiv6dgZ-BKgnVS14.js} +1 -1
- package/dist/assets/{AccountInfoPage-BSxUquf3-Cq3qTjcH.js → AccountInfoPage-DpzAjyd0-CKJdFzLl.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-8V3PDzEc-BlV15_jy.js → AccountInfoPageContent-BrPhtN53-CjBlOxg5.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-7bhpExx3-DJKdkKXd.js → AccountLockedInfoModal-D1ZHYvRy-C9tYFXcu.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-jTH8M9iA-CMGLbrVx.js → AccountReconDetailsDrawerPage-CubIO376-CtKM65LB.js} +12 -12
- package/dist/assets/{AccountRow-BpoPw0Cq-PxbfVOGF.js → AccountRow-DTdcfEa8-U3MpTECA.js} +12 -12
- package/dist/assets/{AccountsPromoCardStack-gsG5tf8_-DWo1I6r8.js → AccountsPromoCardStack-CwDbKaNJ-1hCsTiEX.js} +9 -9
- package/dist/assets/{AddAddressForCardDrawer-CMF3Il-u-Dg_CMfGn.js → AddAddressForCardDrawer-CniAAcX8-D363vOD8.js} +2 -2
- package/dist/assets/{AddToWalletPage-CpWP7Kpn-oyevXfMf.js → AddToWalletPage-DOG6ubAY-BGRDDIey.js} +12 -12
- package/dist/assets/{AgingReportsPage-DEQ2pO0Y-B_El_7jI.js → AgingReportsPage-Dbtn1PKG-CbUghZ5Y.js} +5 -5
- package/dist/assets/{AllUserItems-D0SR0Oue-C_Mnq_2_.js → AllUserItems-Dth5Uovp-tGFNdHax.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-BA-wKCiF-DoDUWxWK.js → ApAgingDetailPage-C6C-aYG7-Dbv3SH4D.js} +2 -2
- package/dist/assets/{AppBasePage-DFn4TCyI-BVuiMG50.js → AppBasePage-CtnXt_EV-BSPuX6dn.js} +6 -6
- package/dist/assets/{AppDrawerContent-CBG4Ybue-1CDBllQE.js → AppDrawerContent-DnrQdYVp-D2qog1EV.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-CpjHazzI-CsBcR4Oy.js → ApprovalRulesSettingsPage-BEOQl822-CbUsx0mD.js} +4 -4
- package/dist/assets/{ArAgingChart-BDISnDae-DNBj0-9L.js → ArAgingChart-B9rpCcBM-q8jdb__E.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-Cgqf_0fL-CU471vpq.js → ArAgingDetailPage-BKsCQCpu-jNIcx6Tl.js} +1 -1
- package/dist/assets/{AttachmentView-X1k01Vtr-BZZUcPOE.js → AttachmentView-DEE6AWkv-B1086jMd.js} +1 -1
- package/dist/assets/{BankAccountSection-CrxSDsgw-BPSLHakI.js → BankAccountSection-D8_5fjrd-BCE6WYWF.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-Dpt8yOKi-BO8G0nmG.js → BankAccountWarningSection-CMrRr8aa-BT7FUFGR.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-Uzhaoi7g-Bcdti6AO.js → BankConnectionsSettingsPage-BUwkPoK_-Baxx5R77.js} +41 -41
- package/dist/assets/{BillDetailPage-DcyikS7i-dCdg2EaC.js → BillDetailPage-DcGxex6B-g3MH8yQi.js} +10 -10
- package/dist/assets/{BillPayApprovalRuleDetailPage-aM8F15Nu-ackUtbJ8.js → BillPayApprovalRuleDetailPage-B4OuTcAA-Bkq-QU-5.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B46FwPVR-Bv9k8Xtu.js → BillPayApprovalRulesPage-DaCdVMRx-DKi7a9ar.js} +4 -4
- package/dist/assets/{BillPayPromoPage-DtVzdlsy-Bd5M4tTJ.js → BillPayPromoPage-DBlGsv9D-BevFRtNT.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-BKdNiQf7-BvAzvMev.js → BillPaySetUpPage-A4zcT_mP-BkNiC1Xc.js} +2 -2
- package/dist/assets/{BillingSettingsPage-3AgPTFzN-deJJWYq4.js → BillingSettingsPage-CujTn-BW-DGU5_gJ4.js} +1 -1
- package/dist/assets/BillsBulkReviewDrawerPage-Cs779Xc4-D5R5rhwS.js +1 -0
- package/dist/assets/{BoxItem-Dsoq6QyZ-D7NZjkdf.js → BoxItem-imggFWL_-C8e_yZct.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DSkBV_II-DSCAr_Go.js → BusinessVerificationPage-U_lU2O0k-B63nfdcn.js} +4 -4
- package/dist/assets/{CardNumberSubText-Crk5WDQr-D42xv8Vo.js → CardNumberSubText-Ct0mJOMk-DQXdeyZe.js} +2 -2
- package/dist/assets/{CashbackDetailPage-BZAFRMGW-CBzh2ZdI.js → CashbackDetailPage-GMncsgDy-DzCIgTYK.js} +17 -17
- package/dist/assets/ChargeCardDetailPage-BQvjt_rh-Dc8yPFPr.js +1462 -0
- package/dist/assets/{ChargeCardListPage-CIV1XQK1-BsJ1Un8U.js → ChargeCardListPage-BJgzJ53p-D4N85pU_.js} +9 -9
- package/dist/assets/{ChargeCardListTable-Dxn8Y17P-BLWbpWSy.js → ChargeCardListTable-BD4N2FtO-DrTuKtln.js} +49 -49
- package/dist/assets/{ChargeCardPromoPage-B6yTGsIY-CaVyUdrp.js → ChargeCardPromoPage-BQMfHfHp-DuUPUl6t.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-HHFdpsmJ-BZfvUbrB.js → ChargeCardSetupPage-DO1cXZF4-CWlYdj31.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-tuV67f3k-0CxnC-oz.js → ChargeCardStatementsPage-0rBvkIU1-NpKk50PX.js} +5 -5
- package/dist/assets/ChargeCardUtils-Cy5rZlIH-BILI0sIl.js +1 -0
- package/dist/assets/{ChaseOverlay-B2pqFXTT-BWakvkAR.js → ChaseOverlay-Dqg_bWdn-C8vTlyWM.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-DDXZ3m54-CXBK2nJg.js → CheckDepositDrawerPage-BzzWhLjb-CVED41XL.js} +15 -15
- package/dist/assets/{CollapsableReportTable-BLDh7Osv-ox-qsXy2.js → CollapsableReportTable-CwhNUlX5-CGrdBCh6.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Dg3sn5Sh-BTBTOsDr.js → CompanyOfficerDetailsSection-BHXF7g6M-BrZ1ZKbF.js} +1 -1
- package/dist/assets/{CompanyPassportCard-2HnVDVVi-dxhiiZQi.js → CompanyPassportCard-Dd4Modb9-C23aPg6a.js} +6 -6
- package/dist/assets/{CompanyPassportPage-DlGllnaL-u0Oh4-Ab.js → CompanyPassportPage-Bh2JSIAW-rjC4pxXL.js} +20 -20
- package/dist/assets/{CompleteProfile-kFGIESms-CDZ04UbG.js → CompleteProfile-CAtziP70-DuSPFP1s.js} +1 -1
- package/dist/assets/{ConfettiBurst-D5IgJ5P3-DI0WARwG.js → ConfettiBurst-DvSGcRZX-C_PjMyTg.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D8IFFcdA-BWjjY2FD.js → CreateOrEditVendorPage-Csorfbun-CNt6xuOL.js} +9 -9
- package/dist/assets/{CreditCardPaymentDrawerPage-Xu0psAw0-DRgPLpcF.js → CreditCardPaymentDrawerPage-DAw1GyrP-BNs6qoGC.js} +12 -12
- package/dist/assets/{CreditCardPaymentPlgSection-CqvgalYj-CACGNzop.js → CreditCardPaymentPlgSection-HikR7OVv-BCZXDr8I.js} +6 -6
- package/dist/assets/{CurrencySelectField-hwgVPqTt-CZrVpTrr.js → CurrencySelectField-BW71th1E-DHxO3UVa.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CBFhWSJz-BUJvmXrh.js → CustomerOnboardingActivationPage-t4YirGGH-BQcXqlYq.js} +7 -7
- package/dist/assets/CustomerOnboardingContainerPage-BFE2DU3a-C9v_itD5.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B2q2tdnD-Bp78peNj.js → CustomerOnboardingDetailPageSkeleton-CWWXhhJn-DacLmheB.js} +10 -10
- package/dist/assets/{CustomerOnboardingNoStepsPage-BsNq90nq-_3KuDz4_.js → CustomerOnboardingNoStepsPage-YdWEMnwL-BhhMIya_.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-BbGV3jtT-DCZddKCA.js → CustomerOnboardingPage-C-WAF_MK-0e07LkOq.js} +5 -5
- package/dist/assets/{CustomerOnboardingProductSuitePage-R2PJEOqZ-BqHqYyVu.js → CustomerOnboardingProductSuitePage-CxwXw5lA-8eL0zyfM.js} +10 -10
- package/dist/assets/{Dashboard-Cw4u8_9e-CNVcyr2a.js → Dashboard-Cp0UY0M3-DrmBKQin.js} +1 -1
- package/dist/assets/{DashboardReportPage-ls_MMfAh-ku8msjfd.js → DashboardReportPage-Bsr_1Vfu-CrZaa5CE.js} +6 -6
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C_9jGJQn-DjB0cTYb.js → DashboardSidebarBackgroundAnimation-BvgNiAXF-CXiqzdPm.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BLgpyexV-BUif7HBg.js → DepositAccTransactionItem-Cm5lhc_H-Db7mfK10.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-r4UVSUOl-jIySug5o.js → DepositAccTransactionListPage-CHwS-_Nr-DFBxFwkp.js} +3 -3
- package/dist/assets/{DomesticWireDetailsPage-BSXsHwf5-nZMW9ya5.js → DomesticWireDetailsPage-mqJgiAC--4FLLq-KS.js} +1 -1
- package/dist/assets/{DownloadOverlay-DKpj3Vwl-DX_ZKzvM.js → DownloadOverlay-DwPR_SsY-EUTGOsKd.js} +21 -21
- package/dist/assets/{DrawerPage-Cxz5I3Mb-DWCpAx75.js → DrawerPage-CR2L2ry3-DOZs2EHb.js} +14 -14
- package/dist/assets/{EditPeoplePage-Dbsa013z-C87B1cPM.js → EditPeoplePage-DiNxeKXK-BiaRAv0O.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-Clpj3Hjz-De3HxU8I.js → EditReimbursementDetailPage-5TJ4Spw1-CpwzkfQj.js} +64 -64
- package/dist/assets/{EntityDetailPage-C73BtWIp-Cr_6Sl3E.js → EntityDetailPage-CYDIH-NA-wQQfd0jW.js} +3 -3
- package/dist/assets/{EntitySummarySection-BQA0g-pF-C1PbnddD.js → EntitySummarySection-Cv7t21-t-DI0hIJYP.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-BxEr0k8F-CUbCOzoq.js → ExpenseAutomationOverviewPage-Cwl9dV2--DfcmKBVV.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-BS4M9nkW-DYAXIB9M.js → ExpenseAutomationPage-LMBRJxAv-Vn9lo85n.js} +26 -26
- package/dist/assets/{ExpressPayPage-Buxb2M1i-DC3wux1h.js → ExpressPayPage-CCF0jSlI-C7_sWp9b.js} +6 -6
- package/dist/assets/{FeaturePreviewPage-ClfFYnHb-BfGEfVGQ.js → FeaturePreviewPage-POKsqSnu-BhWwdsL7.js} +2 -2
- package/dist/assets/{FollowStepsSection-CkQ-g4YK-GLs0gIYR.js → FollowStepsSection-BZdlZelr-Dgb2aUZZ.js} +21 -21
- package/dist/assets/{GlobalReviewListPage-C_DbsHsA-Bi1oO-Mz.js → GlobalReviewListPage-BnmMh-Bc-CYAA0kUn.js} +13 -13
- package/dist/assets/{HelpButton-B0ZBXPeh-zSwt_svY.js → HelpButton-Cp2LXxyy-C5Y06Y1n.js} +4 -4
- package/dist/assets/{InformationCardStack-DYdCt7zr-DhV-r4Uj.js → InformationCardStack-CiYqiW7_-CbY8PLVD.js} +4 -4
- package/dist/assets/{InsightsCardStack-BSHQznep-CWR7qCJZ.js → InsightsCardStack-BnVrehfR-CN-oMur2.js} +2 -2
- package/dist/assets/{InsightsSection-C37BKIiK-KVt8i2oW.js → InsightsSection-BpVW6ov6-CBRdcxmz.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-DHAdlHrq-Bqfn2ev2.js → IntegrationsSettingsPage-CaAahFPb-BYVW6C7U.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-B64WNt28-D1_PuT1L.js → InternationalWireSwiftDetailsPage-DcwbldkC-BB32EMRa.js} +8 -8
- package/dist/assets/{InternationalWireVerificationPage-D7ttGovC-BKd-ehNA.js → InternationalWireVerificationPage-7XDbU2GY-Dyfkxo3B.js} +7 -7
- package/dist/assets/{InviteFormPage-BhbGM4dC-CzvXIR5_.js → InviteFormPage-Dgv7jdgF-DVviW_Nt.js} +1 -1
- package/dist/assets/{InvitePageListView-CyRlLv60-CnnQlGla.js → InvitePageListView-DlpINjRJ-BMeTuOsJ.js} +11 -11
- package/dist/assets/InvitePeoplePage-0YsY4Il7-B0pE52_Y.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BPPgbS-r-DsP3dMQH.js → InvoiceUploadSection-DzzjJVfz-KKaBZftU.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-D_qQkkfo-B3Igv8Wu.js → IssueChargeCardPage-BeB9egJS-Buw9rvK5.js} +20 -20
- package/dist/assets/{LabeledAddressValue-EshVNGGW-BdxJWtKx.js → LabeledAddressValue-D6advpnC-6YH6AS3A.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-kgieouBM-C9jRpERl.js → LabeledAddressValueField-DRBoA2eb-CWryzMa2.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-CWABc6OK-HO6-gxJI.js → LabeledControlledCheckBoxField-Bu2WHgAQ-BgnuqupP.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B5o1KUJj-BQcKTXHX.js → LabeledCreatableSingleSelectField-DcdF286I-C7Y6s3yv.js} +7 -7
- package/dist/assets/{LabeledDocumentField-BrXpwWfM-8fIPpLS4.js → LabeledDocumentField-B25RLa6I-jFD7YVyX.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-Cepl3y9a-W2a_RnbU.js → LabeledDropDownFormattedTextField-DoK5Zfc1-HbMH9wCe.js} +1 -1
- package/dist/assets/{LabeledText-BmFLymPb-D8x81Lh_.js → LabeledText-depbwNsM-DXrsYHkA.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CBbnTiwl-DBx8kYuJ.js → LabeledUserSingleSelectWithSubtitlesField-BURpXN_N-Xj7wxd7w.js} +8 -8
- package/dist/assets/{LabeledZeniRolesDropDownField-Da9mc-0B-BJ1z3EeH.js → LabeledZeniRolesDropDownField-TbyaA8M3-DTROc_uU.js} +7 -7
- package/dist/assets/{LinkJETransactionPage-DIhsx2g--KBlFRQb2.js → LinkJETransactionPage-BITHs1CJ-Y1_ePi-m.js} +7 -7
- package/dist/assets/{LockCardPage-BA4Lj9Iy-DTk5VUQk.js → LockCardPage-DPBKHSos-D1Lau_ZJ.js} +15 -15
- package/dist/assets/{LowBalancePopup-B1pTBmAF-XO9AvMeQ.js → LowBalancePopup-D2G3wpXv-BCydjVKG.js} +3 -3
- package/dist/assets/{MagicLinkACHDetailsPage-BxzbJBWO--JriP-v7.js → MagicLinkACHDetailsPage-Be7GMhBd-D3Y_9hTy.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DB2tBUoV-D11VFVs7.js → MagicLinkDomesticWireDetailsPage-C9d2Ea6m-DiWMiwF8.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-0B5pD_Iw-D3uoz_xk.js → MagicLinkInternationalWireDetailsPage-B2M9WztX-B6F5ppQ2.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-3I1CRYrj-CQ85jc3m.js → MagicLinkSuccessPage-DPb0UoGh-y5M5nnWg.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-BKgwdBLy-DJAtgQrS.js → MagicLinkTitleSection-Cc-MU2bJ-DSi2szeX.js} +1 -1
- package/dist/assets/{MailingDetailsSection-BwEd_J6R-dp-4DZAU.js → MailingDetailsSection-8mj7Lslp--SKJjx0D.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-BpRpGSe6-BbPmd_3K.js → MeetingCalenderPopup-Be-tan9_-CK9Gr3Pd.js} +1 -1
- package/dist/assets/{Menu-De_gaVnj-BIeYBB7q.js → Menu-ndvXF6cX-B4y3KuMr.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-lChXBDCb-CU4FUkGq.js → MyBankConnectionsSettingsPage-DuZFVLYx-VAbH3B5M.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-D3di8BeS-DVyKiAts.js → MyPendingActivationChargeCardListPage-DDIlU_fs-C-bYuxLR.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-CYI4yK6I-B8BI2oLj.js → MyProfileSettingsPage-CccRK9mD-BRFADFUO.js} +3 -3
- package/dist/assets/{NavBarWithPicker-DcELUvq0-JOqnZxMT.js → NavBarWithPicker-D_MqRubB-D8dMZBv7.js} +6 -6
- package/dist/assets/{NavigationArrow-W1nVj2KC-CMqtrSRj.js → NavigationArrow-CfMVfLD8-BQnWEdPn.js} +1 -1
- package/dist/assets/{NavigationDots-BKVFhe2Y-BrHbPCev.js → NavigationDots-E2eEHB86-BK4Og9YA.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DRrjJgZt-CEoy9VUB.js → NewGlobalMerchantPage-vXrz_DRg-Wc9088Ea.js} +7 -7
- package/dist/assets/{NoDataChart-BzSCComh-BBDrgF2D.js → NoDataChart-CpocQ1Pa-ChFzAJ2R.js} +1 -1
- package/dist/assets/{NoDataTable-CGWMbvak-ByO1cOCm.js → NoDataTable-937mkn0a-D0ksTITz.js} +2 -2
- package/dist/assets/{NotFoundPage-DfRFngFV-5gg6LFkb.js → NotFoundPage-BmxF81mT-B9r6velH.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BTJH62-O-D7DVGMmr.js → NotificationSettingsPage-DyOyHW6d-DehMDImE.js} +20 -20
- package/dist/assets/{NotificationsListConfig-DPutUxp3-C94QRV7X.js → NotificationsListConfig-DVs7cr0d-wmSn6l3s.js} +1 -1
- package/dist/assets/{NotificationsPage-xu6A1hVF-DQF7RHp8.js → NotificationsPage-ntuZjRm--CaQvtRPb.js} +24 -24
- package/dist/assets/{OpExByVendorPage-BeO7iMry-DDqW-8aU.js → OpExByVendorPage-1MOdxG9V-BhrPpCQQ.js} +5 -5
- package/dist/assets/{OverlayContainerPage-CU1AAMcq-D-Pawytj.js → OverlayContainerPage-CU1AAMcq-lFQCSe-G.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-1qSy3_Ke-EOIFmkSR.js → PandLWithForecastPage-n4fiElGl-BTwNmE3c.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DnObHdjD-BdZ7cMoC.js → PaymentAccountSetupBillingAddressSection-CXcwA0ON-KeSy0gEv.js} +8 -8
- package/dist/assets/{PeoplePage-CPqz8R9j-Db69JWzl.js → PeoplePage-BvZkMpjW-D7ElTICV.js} +13 -13
- package/dist/assets/{PortfolioAllocationFormPage-C9ZM9oUf-CZJ1jxYZ.js → PortfolioAllocationFormPage-B7AKufjq-BCZV66E3.js} +3 -3
- package/dist/assets/{PortfolioDetails-BJBNPfcI-DsK_BUc_.js → PortfolioDetails-C85yA52O-BcnUojwW.js} +7 -7
- package/dist/assets/{ProductsCarousel-Ctx00P5D-D9FkIJxu.js → ProductsCarousel-ixHCR9AW-BHD947gD.js} +4 -4
- package/dist/assets/{PromoBaseCards-BGYdfmx6-BEMDJNz0.js → PromoBaseCards-DiefKKcS-CVepNaw-.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-B9yKv9hq-BkyyC54F.js → QBOConnectionDialog-DV-xC7Yc-6uoxl-nC.js} +1 -1
- package/dist/assets/{QBOSetupSection-CTMSCXwv-e3p1TnXx.js → QBOSetupSection-CI8cHWjq-CNHezBrT.js} +8 -8
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BtZUsK7H-D7OL8G_2.js → ReimbursementApprovalRuleDetailPage-CqnCqZ5F-MbrRP60p.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DNBHPoIZ-DjLma364.js → ReimbursementApprovalRulesPage-DxoNMA62-DOLuIxNO.js} +2 -2
- package/dist/assets/{ReimbursementDetailPage-BxZ5ijHe-BVaX9EvT.js → ReimbursementDetailPage-CTvPAxMB-BlP7rQJ5.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-D284EkRZ-DkeYmm5-.js → ReimbursementPromoPage-DcxPNTHd-asHPfKWE.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-BzR91_eW-B1cVy_ii.js → ReimbursementSetUpPage-SQo-xrwo-BuAAGp_P.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BMo9fFp7-DDhl84yp.js → ReimbursementsBulkReviewDrawerPage-y4v-8gQs-b-mXMP5z.js} +1 -1
- package/dist/assets/{ReloadCard-CGUNX_x4-DHHdzF-o.js → ReloadCard-CWZU9IDv-lCmqRueL.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-BVAek1Ui-tg0FtSlz.js → ReportTableViewSelector-t3pgCiJb-DU7QbDSE.js} +5 -5
- package/dist/assets/{ReportsPage-BzKbMWV4-Bkyilcu9.js → ReportsPage-D82gQH-e-Ckp9VR2p.js} +1 -1
- package/dist/assets/{RevenueChart-CPUrVR7y-p14Y9U0K.js → RevenueChart-BMgI2BHK-I-njStGG.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-B74yrCe2-2UJj3aSZ.js → ReviewDetailsPage-Dc7dY-VA-CxSy8KVL.js} +3 -3
- package/dist/assets/{ReviewOverlay-DQvXSDYM-BgLXL5oi.js → ReviewOverlay-Bra2W5Jg-C_PWInnU.js} +4 -4
- package/dist/assets/{RoleWithToolTip-MwI_BmVq-X2NuZkOe.js → RoleWithToolTip-DJ15AsI3-p10xCSND.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CbkRYKjG-CGeWP6Q0.js → ScheduleDetailsFixedAssetsPage-DoH2eyLG-BrozO2ME.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CCRspH3Y-CWtiBfKU.js → ScheduleDetailsPage-BM1Paa1W-C0ySlnA2.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-55zYXNwF-DayScLRg.js → ScheduleSequenceTable-C8UB3y1y-CNI-a_wl.js} +7 -7
- package/dist/assets/{ScreenRoutes-DFaMy6Tb.js → ScreenRoutes-_3xGjUU-.js} +41 -41
- package/dist/assets/{SetUpAccountSection-IgQjKWEr-C4h-8RcD.js → SetUpAccountSection-BGdUkQz3-D6CAjYv7.js} +7 -7
- package/dist/assets/{SetUpDefaultSection-shC3qOy6-NZDiaWla.js → SetUpDefaultSection-C4NnRO65-C0fyZc92.js} +10 -10
- package/dist/assets/{SignIn-CZGmLYjH-DKDYi6L5.js → SignIn-BrHA4sLj-DDyEN7b5.js} +1 -1
- package/dist/assets/SignInScreen-Cx7qc3RP.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BhTnQtma-CGcx-wdm.js → SpendManagementListViewPage-Dqb0zspN-DreMX5hh.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-DpnIM6Nc-DJd_UPYY.js → SpendManagementPerTabPage-D5xIpojr-P0_AnHoz.js} +14 -14
- package/dist/assets/{SpendManagementSection-Hjvwgkt0-C9Ik4rB-.js → SpendManagementSection-C2iof2aM-Bp9C8eeM.js} +7 -7
- package/dist/assets/{SpendMgmtSetupAccountSection-CAWyEGGM-CyE9_AxZ.js → SpendMgmtSetupAccountSection-Dz3vQC2g-P6jfr6Bz.js} +6 -6
- package/dist/assets/{StatementItem-D8v_Laju-BC0rGudd.js → StatementItem-BOgmKBTq-DcvmbOpL.js} +5 -5
- package/dist/assets/{StatementsPage-CEw-9UyR-F4RCa_uj.js → StatementsPage-ClMtBDGf-DWR5BFTu.js} +4 -4
- package/dist/assets/{StatusSwitcher-DoSCydJG-CUZayvzb.js → StatusSwitcher-QwlvHg3_-DRNWj6rt.js} +2 -2
- package/dist/assets/{SubTabSwitcher-Ct1DqfgC-D_B5Q5CC.js → SubTabSwitcher-CiJ1FPk5-CEwKyb-x.js} +1 -1
- package/dist/assets/{SummaryCard-CHUbuF_0-BPkrpzgf.js → SummaryCard-D1B_1H2X-Lh7q95p7.js} +1 -1
- package/dist/assets/{TaskManagementPage-Ddox5Vwh-BtmzFtgk.js → TaskManagementPage-DibwJCOk-BF0_AhRU.js} +14 -14
- package/dist/assets/{TimeRangeSwitcher-CiOSsTU--DJtVL6uZ.js → TimeRangeSwitcher-Ci3SxLOE-anbVhnvw.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-D1k1Zf_U-DRQ7Dyxo.js → TimeframeSwitcher-DSRKJTq1-BG9pQPgY.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DXbaoDe6-CTgc86K9.js → TimeframeSwitcherWithToggle-D_BNOfdQ-BKTbCmic.js} +1 -1
- package/dist/assets/{TopExCard-D4ZDqXZg-BF-WMzyH.js → TopExCard-C5622MiP-2KEQHijQ.js} +4 -4
- package/dist/assets/{TopExDetailPage-BdPAcKwH-DpLiY3rN.js → TopExDetailPage-qOhQ-KAG-fVnbyWbs.js} +6 -6
- package/dist/assets/{TransactionDetailPage-BcjGxHy8-IuIJ3mqx.js → TransactionDetailPage-DaCUZuc0-DAUodm_m.js} +13 -13
- package/dist/assets/{TransactionList-BSuMEtB3-CMOkefWM.js → TransactionList-CzdU-NQx-D6gdr6x7.js} +6 -6
- package/dist/assets/{TransactionListBig-MY_ZxyR3-DAEJW71z.js → TransactionListBig-Bq7XI_xx-DjK27aH5.js} +11 -11
- package/dist/assets/{TransactionListPage-CWGrWDjK-CIEoKrUV.js → TransactionListPage-CZDewehT-BcmO71OJ.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-DDNK9KrI-O_lhiQcq.js → TransactionVendorDetailPage-Bf5UUIC6-DQ0SU60H.js} +3 -3
- package/dist/assets/{TransferDrawerPage-vK0YoMro-BnQ7gfWx.js → TransferDrawerPage-yQE7GKl_-BiU7RlMv.js} +17 -17
- package/dist/assets/{TreasuryOverviewPage-CQsUti1c-B9kfLqNq.js → TreasuryOverviewPage-CisB53k8-CkomXNIa.js} +20 -20
- package/dist/assets/{TreasuryPromoPage-Bp72hKEs-CTtwU0ZX.js → TreasuryPromoPage-BfISVj15-BKUZCqqQ.js} +11 -11
- package/dist/assets/{TreasurySetupPage-BUKsU3nh-ChLyWbKe.js → TreasurySetupPage-SN-3mAFw-C_4PPIWf.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-Cryv1PNX-BXauBu3y.js → TreasuryStatementsPage-DGyug1wv-CZKI-qyS.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-BMYTdYa5-B5Y_HIfH.js → TreasuryTaxLetterPage-BRvcOhJZ-BeVUPN4i.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-B9VwyDJa-BiuSVWbg.js → TreasuryTransferOrReviewPage-H5ohs_5r-DHIAJoBr.js} +30 -30
- package/dist/assets/{TrendChart-CqYeWLeV-DGzeA7Oj.js → TrendChart-ohr8bK1l-B5dRIvEy.js} +4 -4
- package/dist/assets/{TrendWithTransactions-xn1fvlLO-BRgtHO5b.js → TrendWithTransactions-D5eTj9Ca-BjYM3mpG.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-B_aOzm4v-CskTnoly.js → UncategorizedAccountsMappingPage-3NGCCdAA-DC14oDOB.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-B6LF_f7C-D2tKVxd-.js → UnitIntegrationPage-B6FOsf88-BTafkfwm.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-BlKvE3tT-HoFIL9hV.js → UploadAdditionalDocumentOverlay-CH9x8nx2-CEXAXlCj.js} +1 -1
- package/dist/assets/Vendor2FAPopup-D7455GFK-DU0-h-ac.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-CncDplWQ-B3O_yZHX.js → VendorACHDetailsPage-CXoxi6Qp-CrJbaYWf.js} +1 -1
- package/dist/assets/{VendorDetailPage-POan4Fo8-CFdhAO3w.js → VendorDetailPage-C6BgYb-c-BaTlvY1P.js} +6 -6
- package/dist/assets/{VendorDomesticWireDetailsPage-B1bT0W9o-D_UYfmub.js → VendorDomesticWireDetailsPage-DXfnCFu1-Bhf2lnL-.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C25iYV4w-Crhvm405.js → VendorFiling1099EditablePage-ByESLoQK-C5wgo9Qc.js} +14 -14
- package/dist/assets/{VendorFirstReviewPage-DY035p5C-CBR39dJP.js → VendorFirstReviewPage-iNPtUFNw-BbgJ63Tq.js} +27 -27
- package/dist/assets/{VendorInternationalWireDetailsPage-DN_mcAqY-mmYMcnBl.js → VendorInternationalWireDetailsPage-CqgGFU1K-CKX6n49-.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BaXgGRdu-Cae4saOt.js → VendorInternationalWireSwiftDetailsPage-CNzft0dg-D-n290kY.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C2UiqXC0-C8tGsoLh.js → VendorsAccountsSection-DCWhoqAP-DHjXIFFo.js} +2 -2
- package/dist/assets/{VerifyDevice-C7BWrAZ3-Csv3HVHz.js → VerifyDevice-DvJEmcUq-BD1k6-81.js} +4 -4
- package/dist/assets/{VideoPlayer-BYkDTMkS-BwPpLJtc.js → VideoPlayer-Cp5DBUTp-n0gfwB0a.js} +1 -1
- package/dist/assets/{VideoPopup-Chye3pds-CsfGUZ0P.js → VideoPopup-97jTEw9t-C5kzDaxd.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-Cx-gJdnW-CaMsO86D.js → WarningsDrawerPage-CMy4FFqt-zNFC-DvY.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-BrXe6Kao-DSC2z41y.js → ZeniAccountDetailPage-mzHK5HUV-B2AMGiBu.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CJnHvk5a-CKxe9b_t.js → ZeniAccountListViewPage-BeN4AKFd-B0XSIJvm.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-BdLOT9UG-BloORYtU.js → ZeniAccountNavBarPieces-Db9bLk29-BybXcA-l.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-B1I9l833-C9FtKjkQ.js → ZeniAccountPromoPage-By02sVg0-BAnhqfjw.js} +11 -11
- package/dist/assets/{ZeniAccountSetupPage-CitVJnZC-djUrd4xP.js → ZeniAccountSetupPage-DeDgKig1-lQnp_HAL.js} +1 -1
- package/dist/assets/{ZeniCopyright-DbQka65R-DPVtmyyb.js → ZeniCopyright-Bfc0Yl56-xItwPVZ8.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dzxu82Xw-dYxKyELc.js → ZeniTransferAmountSlider-DzeU3D5r-Dnm1GguJ.js} +6 -6
- package/dist/assets/{analyticsHelper-DNLhFCBz.js → analyticsHelper-CuIvasD7.js} +1 -1
- package/dist/assets/{analyticsHelper-DgJDMdal-1yNDR_DA.js → analyticsHelper-Cx9PlTZt-BYpG33i-.js} +1 -1
- package/dist/assets/{chartTypes-D1j_l919-BJFL1pej.js → chartTypes-BoA9fCCZ-7xW-fVbz.js} +1 -1
- package/dist/assets/{commonDimensions-DDu54g8x-CV84qnXW.js → commonDimensions-BCUrWcBL-vTG5ZzmA.js} +1 -1
- package/dist/assets/{detailCommon-DXjUFoA1-DOO_rLzr.js → detailCommon-CFA4p6RP-B16mjiFN.js} +4 -4
- package/dist/assets/{downloadPdf-DChYYVaW-Dnx-iALN.js → downloadPdf-DZ5WQt0r-Bylb-lK-.js} +1 -1
- package/dist/assets/{index-HCR8uiT1.js → index-6DHFBk74.js} +1721 -1710
- package/dist/assets/{mapLoadingInProgressToTreeNode-BC5IH44--DUlVTHZE.js → mapLoadingInProgressToTreeNode-DQf-1sg7-B5MxQ8jl.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CUXssP6r-BNiiDwH7.js → mapSectionWithAcOnlyToTreeNode-D0W1f0wZ-D3CjHikv.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-sdzfy8cu-BS6jqoR8.js → mapSpacerToTreeNode-Dzbv_N4o-CAPOe3mv.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DgOZfixy-2xtis6eH.js → mapTimeframeBalancesToTreeNode-2yWiGglp-Dy8oBMmS.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BROieqal-CeHO_B7h.js → mapTimeframeBalancesToTreeNode-COS_auLN-CKgStlR5.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-bXb7WXAq-BQ_We1t6.js → mapTimeframeHeaderLoadingInProgressToTreeNode-NCujclSc-BUwl6Oy8.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DqhuI8hD-BZz1K830.js → toCOABalancesWithID--3a-7Ohb-Dq8zIbZX.js} +1 -1
- package/dist/assets/{toChartData-DZPFiNsp-eUlwDIgN.js → toChartData-KZ92y9KA-BJN5TA9Q.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D5AxfiPH-BIkGmYn_.js → treasuryColorHelper-ChFJTPyg--ivM0q9A.js} +1 -1
- package/dist/assets/{uploadAttachment-D04Fz4F1-CY5qRTQH.js → uploadAttachment-BzeeOF-1-oKdmjDH7.js} +14 -14
- package/dist/assets/{uploadReceipts-9DTOr0BG-Dpma3uTz.js → uploadReceipts-9DTOr0BG-BAqIaRxY.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/BillsBulkReviewDrawerPage-CFK7g3R1-b-zDDdgS.js +0 -1
- package/dist/assets/ChargeCardDetailPage-DXUoIbZa-DkTH3Igs.js +0 -1813
- package/dist/assets/ChargeCardUtils-BeG5m9OQ-BVnvyZkb.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-D4zUp7hX-CSoGWUYd.js +0 -1
- package/dist/assets/InvitePeoplePage-DYpb33z0-yjHHc7mx.js +0 -12
- package/dist/assets/SignInScreen-DeabHgX8.js +0 -1
- package/dist/assets/Vendor2FAPopup-BLzf9zxl-l8gvXF4Y.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as N,ax as B,l as w,O as D,f_ as a,j as d,bF as M,gh as O,o as j}from"./index-6DHFBk74.js";import{n as P}from"./vendor-Bs1fkIUX.js";import{a as U,l as V}from"./ChargeCardListTable-BD4N2FtO-DrTuKtln.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./Menu-ndvXF6cX-B4y3KuMr.js";import"./RoleWithToolTip-DJ15AsI3-p10xCSND.js";import"./CardNumberSubText-Ct0mJOMk-DQXdeyZe.js";import"./ChargeCardUtils-Cy5rZlIH-BILI0sIl.js";const{spendManagement:{chargeCard:C}}=D.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:c,creditAccountRepayment:u,depositAccountListWithDebitCardIssued:i,controllerEmails:b,signedInUser:S,onChargeCardRowClick:p,onBackClick:k,onReloadCards:g,onColumnSortConfigChanged:A})=>{const f=N(),F=B(),h=w.hasChargeCardAdminLevelAccess(F.loggedInUserRoleMap),v=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),y=v&&m?C.cardList.title.cards:m?C.cardList.title.debit:C.cardList.title.credit,E=h===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,L=o&&l&&h===!0?{creditAccountId:c.id,creditAccountLimit:a(c.limit.amount),creditAccountAvailableAmount:a(c.available.amount),creditAccountSpentAmount:a(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:a(u.remainingAmountDue.amount)}:void 0,I=n&&s?{debitAccountId:i.depositAccounts.map(t=>t.id),debitAccountName:i.depositAccounts.map(t=>t.accountName),debitAccountBalance:i.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:i.depositAccounts.map(t=>t.accountStatus)}:void 0,R={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l},x={revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}};return d.jsxs(z,{children:[d.jsx(M,{title:y,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:k,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?d.jsx(O,{fetchState:e.fetchState,styles:{margin:"auto"}}):d.jsx(U,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:V,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:u,productInformation:R,cashbackInformation:E,creditAccountInformation:L,debitAccountInformation:I,depositAccountListWithDebitCardIssued:i,cardList:e.cards,showViewForCardUser:!0,signedInUser:S,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:x,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,T)=>{p(t)},uiState:e.uiState,onColumnSortConfigChanged:A,onChargeCardResendInviteClick:()=>{}})]})},z=P.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
min-height: ${`calc(100vh - ${
|
|
3
|
+
min-height: ${`calc(100vh - ${j.sp9})`};
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
width: 100%;
|
|
6
6
|
`;export{at as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as ie,g2 as te,
|
|
1
|
+
import{q as ie,g2 as te,c as fe,ax as ge,g3 as be,aa as ye,aC as xe,l as B,cT as we,cS as Pe,O as re,j as l,g4 as ve,bF as Oe,ad as $e,aQ as De,o as s,g5 as ne,g6 as de,g7 as ce,cO as ue,y as L,an as me,C as Se,b as Re,aJ as le,d2 as je,cV as Ce,g8 as q,c$ as Le,cZ as Te,g9 as Ie,a$ as Ve,u as U}from"./index-6DHFBk74.js";import{b as v,n as m}from"./vendor-Bs1fkIUX.js";import{W as ze}from"./LabeledAddressValueField-DRBoA2eb-CWryzMa2.js";import{Y as Fe}from"./LabeledUserSingleSelectWithSubtitlesField-BURpXN_N-Xj7wxd7w.js";import{C as ke,j as Be}from"./LabeledZeniRolesDropDownField-TbyaA8M3-DTROc_uU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./RoleWithToolTip-DJ15AsI3-p10xCSND.js";const b=(e,t)=>`${e}.${t}`,k={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(U[2],U[3]),toolTipWidth:new L(215,237),notePadding:new L(U[3],U[4]),noteGap:new L(U[0],6)},{peoplePage:a,common:{settings:se,labels:G,placeholder:F,errorMessage:Ne},dateFormat:Ae}=re.getLocalizedStrings(),We=({myProfileView:e,isZeniFinopsRolesUser:t,sectionId:i,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:O,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=ie(),{person:r,managersList:N,classList:A,manager:H,department:g,controllersList:W,myProfileLocalData:M,addressData:Q}=e,Y=e.person.user?.birthday!=null?"readonly":void 0,$=k.largeLabelWidth.value(n),I=k.largeLabelWidth.value(n),J=v.useMemo(()=>te(y,p,o,f,O,T,h),[y,p,o,f,O,T,h]),{firstController:w,restControllerEmailsStr:D}=v.useMemo(()=>{const c=le(W),S=c.splice(0,1),R=c.reduce((V,z)=>V.concat(`${z.email},`),"");return{firstController:S,restControllerEmailsStr:R}},[W]),K=v.useMemo(()=>le(ue.roles),[]),d=B.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),_=v.useMemo(()=>A.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[A]);return l.jsxs(Ze,{windowSize:n,children:[l.jsx(je,{isDisabled:u,label:{label:G.name,width:I},nameField:{name:b(i,"name"),placeHolder:{firstName:F.firstNamePlaceholder,lastName:F.lastNamePlaceholder,name:F.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ne.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:$},text:{type:"text",name:b(i,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${k.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:G.dateOfBirth,width:I},style:{width:"auto"},isDisabled:Y,dateField:{name:b(i,"dateOfBirth"),placeholder:F.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:Ae.visual.defaultInput,autoComplete:"off",maxDate:B.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ze,{label:{label:G.mailingAddress,width:I},addressValueField:{name:b(i,"mailingAddress"),placeholder:F.addressPlaceholder,defaultValue:Q?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:G.phone,width:I},text:{name:b(i,"phone"),placeholder:F.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),t?l.jsx(ke,{label:{label:a.invitePage.role,width:$},zeniRolesDropDownField:{name:b(i,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(Be,{label:{label:a.invitePage.role,width:$},rolesDropDownField:{name:b(i,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,O)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Fe,{label:{label:a.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:k.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Me,{}),userSingleSelectWithSubTitlesField:{name:b(i,"manager"),value:{allUsers:d?[]:N,selectedUser:d?void 0:H?.userId},valueToSubtitle:c=>{const S=N.findIndex(R=>R.userId===c);if(S!==-1){const R=N[S],V=A.find(X=>X.classId===R.userRole.accountingClassIDs[0]),z=[];return V!=null&&z.push(V.className),z}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:$},singleSelectWithoutClearableField:{name:b(i,"department"),defaultValue:{allOptions:d?[]:_,selectedOption:d?void 0:_.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),t?null:l.jsxs(Ue,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(_e,{href:`mailto:${w[0].email}?cc=${D}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ee,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},Me=()=>a.invitePage.managerTooltipText,Ze=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -43,7 +43,7 @@ import{q as ie,g2 as te,b as fe,ax as ge,g3 as be,aa as ye,aC as xe,l as z,cT as
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,Ee=m.span``,pe={sectionWidth:new L(343,580,726),subtitleSectionWidth:new L(343,580,1200)},qe={title:new Re("standardMedium","largeMedium")},P="userDetails",pl=({myProfileView:e,isReimbursementDisabled:t,isZeniAccountsDisabled:i,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:o,isLiteRoleDisabled:f,onClickMenuIcon:O,onAddressClick:T,updateMyProfileLocalData:h,onCancelClick:x,onGetOtp:n,onResendOtp:r,onSaveClick:N,onVerifyOtp:A,onVerifyOtpSuccess:H})=>{const g=ie(),
|
|
46
|
+
`,Ee=m.span``,pe={sectionWidth:new L(343,580,726),subtitleSectionWidth:new L(343,580,1200)},qe={title:new Re("standardMedium","largeMedium")},P="userDetails",pl=({myProfileView:e,isReimbursementDisabled:t,isZeniAccountsDisabled:i,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:o,isLiteRoleDisabled:f,onClickMenuIcon:O,onAddressClick:T,updateMyProfileLocalData:h,onCancelClick:x,onGetOtp:n,onResendOtp:r,onSaveClick:N,onVerifyOtp:A,onVerifyOtpSuccess:H})=>{const g=ie(),W=v.useMemo(()=>te(t,i,u,p,o,f,y),[t,i,u,p,o,f,y]),[M,Q]=v.useState(!1),[Y,$]=v.useState(!1),I=fe(),J=ge(),w=be(J),D=ye({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:oe(e,w,W,p,o),values:oe(e,w,W,p,o)}),K=e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday!=null&&!e.myProfileLocalData.dateOfBirth.isSame(e.person.user?.birthday)||e.myProfileLocalData.dateOfBirth!=null&&e.person.user?.birthday==null,d=e.myProfileLocalData.phone!==e.person.user?.phone,_=e.addressData?.addressToCreate!=null&&e.person.address!=null&&!xe(B.getFormattedAddress(e.addressData?.addressToCreate),B.getFormattedAddress(e.person.address))||e.addressData?.addressToCreate!=null&&e.person.address==null,c=K||d||_,S=Object.keys(D.formState.errors).length===0,R=we(D.formState.dirtyFields),V=S&&(R||c),z=async(ee,E)=>{if(ee!=null){const j={...E},he={...e.myProfileLocalData,phone:j[P].phone,isPhoneVerified:j[P].phone!==e.person.user?.phone?!1:e.person.user?.isPhoneVerified??!1,dateOfBirth:j[P].dateOfBirth!=null?B.zeniDate(j[P].dateOfBirth.toString()):void 0};h(he)}};v.useEffect(()=>{const ee=D.watch((E,{name:j})=>{j!=null&&E!=null&&Pe(()=>z(j,E))});return()=>{ee.unsubscribe()}});const X=D.handleSubmit(()=>{S&&(e.myProfileLocalData.phone!=null&&(e.myProfileLocalData.isPhoneVerified==null||e.myProfileLocalData.isPhoneVerified===!1)?n(e.myProfileLocalData.phone):N())}),{common:Z}=re.getLocalizedStrings();return l.jsxs(Ge,{children:[l.jsx(ve,{showOtpPopup:M,phoneNumberPopupDescription:"show something",showPhoneNumberPopup:Y,twoFactorAuthenticationView:e.twoFAView,loggedInUserPhone:e.myProfileLocalData.phone,onVerifyOtp:A,onVerifyOtpSuccess:H,setShowOtpPopup:Q,onResendOtp:r,setShowPhoneNumberPopup:$,onGetOtp:n}),l.jsx(Oe,{source:"MyProfileSettingsPage",title:Z.settings.title.myProfile,backgroundColor:I.colors.grey4,showBackButton:!1,showMenuIcon:g==="medium-compact"||g==="small",onClickMenuIcon:O}),l.jsxs(He,{windowSize:g,children:[l.jsx(Qe,{windowSize:g,children:l.jsx(Ye,{windowSize:g,children:Z.settings.infoText.myProfile})}),l.jsx($e,{...D,children:l.jsxs("form",{id:ae(P),onSubmit:X,children:[l.jsx(Je,{windowSize:g,children:l.jsx(Ke,{windowSize:g,children:Z.settings.subtitle.myProfile})}),l.jsx(We,{myProfileView:e,isZeniFinopsRolesUser:w,isDisabled:"readonly",isReimbursementDisabled:t,sectionId:P,isZeniAccountsDisabled:i,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:o,isLiteRoleDisabled:f,onAddressClick:T})]})})]}),V?l.jsx(De,{style:{zIndex:1,paddingTop:s.sp3,paddingBottom:s.sp3},formId:ae(P),helperStyle:{paddingTop:s.sp0,paddingBottom:s.sp0},primaryBtn:{label:Z.footer.save,isLoading:e.updateProfileStatus.fetchState==="In-Progress",style:{minWidth:103}},cancelBtn:{label:Z.cancel,onClick:x,shouldResetOnCancel:!0,style:{minWidth:103}}}):null]})},ae=e=>`${e}_form`,Ge=m.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
height: 100vh;
|
|
49
49
|
width: 100%;
|
|
@@ -82,4 +82,4 @@ import{q as ie,g2 as te,b as fe,ax as ge,g3 as be,aa as ye,aC as xe,l as z,cT as
|
|
|
82
82
|
|
|
83
83
|
color: ${e=>e.theme.colors.primary};
|
|
84
84
|
${e=>`${qe.title.style(e.windowSize)}`};
|
|
85
|
-
`,oe=(e,t,i,u,y)=>{const{classList:p,person:o,managersList:f,manager:O,department:T,myProfileLocalData:h}=e,x=
|
|
85
|
+
`,oe=(e,t,i,u,y)=>{const{classList:p,person:o,managersList:f,manager:O,department:T,myProfileLocalData:h}=e,x=B.hasInvestorBankerLevelAccess(o.userRole!=null?o.userRole.userRoles:[]),n=p.map(r=>({label:r.fullyQualifiedAccountingClassName,value:r.classId,hoverText:r.accountingClassNumber}));return{[P]:{name:{firstName:o.user?.firstName??"",lastName:o.user?.lastName??""},email:o.user?.email??"",role:t?{allOptions:ue.roles,selectedOptions:o.userRole?.userRoles??[]}:void 0,nonZeniRole:t?void 0:{userRole:{selectedRole:ce(o.userRole?.userRoles??[]),allRootRole:de(u,y)},productsByUserRole:ne(o.userRole?.userRoles??[],i)},manager:{allUsers:x?[]:f,selectedUser:Xe(x,O)},department:{allOptions:x?[]:n,selectedOption:x?void 0:n.find(r=>r.value===T?.classId)},dateOfBirth:h.dateOfBirth?.toDate(),phone:h.phone,syncToken:h?.syncToken,isPhoneVerified:h?.isPhoneVerified,otpChallenge:h?.otpChallenge,mailingAddress:e.addressData?.addressToCreate}}},Xe=(e,t)=>{if(!e)return t!=null?t.userId:"no_manager"};export{pl as default,ae as uniqueFormName};
|
package/dist/assets/{NavBarWithPicker-DcELUvq0-JOqnZxMT.js → NavBarWithPicker-D_MqRubB-D8dMZBv7.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as p,q as m,j as o,aM as u,c5 as g,O as x,o as t,bJ as b,f6 as k,cg as C,c3 as y,C as v}from"./index-6DHFBk74.js";import{n as l}from"./vendor-Bs1fkIUX.js";const w=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
flex: 1 1 auto;
|
|
5
5
|
justify-content: center;
|
|
6
6
|
max-width: calc(100% - 36px);
|
|
7
7
|
margin-left: ${t.sp3};
|
|
8
|
-
|
|
8
|
+
`,f=({backgroundColor:e,pickerValues:n,valueToLabel:a,selectedValue:i,onPickerSelectionChanged:c,isPickerDisabled:s,titleTextStyle:d,styles:h})=>{const r=p();return o.jsx(w,{style:h,children:o.jsx(y,{pickerValues:n,valueToLabel:a,selectedValue:i,onPickerSelectionChanged:c,backgroundColor:e,titleTextStyle:d??v.largeRegular,titleColor:r.colors.primary,selectedOptionColor:r.colors.primary,isDisabled:s})})},{common:{navBar:{back:j}}}=x.getLocalizedStrings(),$={navBarHeight:b},S=l.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
|
-
min-height: ${e
|
|
11
|
+
min-height: ${e=>$.navBarHeight.valuePx(e.windowSize)};
|
|
12
12
|
background-color: ${e=>e.bgColor};
|
|
13
|
-
`,T=l.div``,
|
|
13
|
+
`,T=l.div``,P=l(C)`
|
|
14
14
|
cursor: pointer;
|
|
15
15
|
width: ${t.sp4};
|
|
16
16
|
height: ${t.sp4};
|
|
@@ -18,7 +18,7 @@ import{b as p,q as m,j as o,aM as u,c5 as g,F as x,o as t,bJ as b,f6 as k,cg as
|
|
|
18
18
|
&:hover {
|
|
19
19
|
color: ${e=>e.theme.colors.primary};
|
|
20
20
|
}
|
|
21
|
-
`,
|
|
21
|
+
`,B=l(k)`
|
|
22
22
|
cursor: pointer;
|
|
23
23
|
width: 20px;
|
|
24
24
|
min-width: 20px;
|
|
@@ -27,4 +27,4 @@ import{b as p,q as m,j as o,aM as u,c5 as g,F as x,o as t,bJ as b,f6 as k,cg as
|
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function
|
|
30
|
+
`;function z({picker:e,backgroundColor:n,showMenuIcon:a,rightSideComponent:i,onBackClick:c,onClickMenuIcon:s}){const d=p(),h=m(),r=n??d.colors.grey5;return o.jsxs(S,{bgColor:r,windowSize:h,children:[a?o.jsx(B,{onClick:s,"data-testid":u("nav-bar-menu-button")}):o.jsx(g,{style:{marginTop:t.sp1,height:t.sp4},title:j,enterDelay:600,placement:"bottom",children:o.jsx(P,{"data-testid":u("nav-bar-back-button"),onClick:c})}),o.jsx(f,{...e,backgroundColor:r}),i!=null?o.jsx(T,{children:i}):null]})}export{z as R};
|
package/dist/assets/{NavigationArrow-W1nVj2KC-CMqtrSRj.js → NavigationArrow-CfMVfLD8-BQnWEdPn.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,o as r,a$ as g,cg as c}from"./index-
|
|
1
|
+
import{j as e,o as r,a$ as g,cg as c}from"./index-6DHFBk74.js";import{i as t,n as l}from"./vendor-Bs1fkIUX.js";const $=t`
|
|
2
2
|
border-left-style: none;
|
|
3
3
|
margin-left: -${r.sp3};
|
|
4
4
|
border-top-right-radius: ${r.sp2};
|
package/dist/assets/{NavigationDots-BKVFhe2Y-BrHbPCev.js → NavigationDots-E2eEHB86-BK4Og9YA.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,aM as v,o as t}from"./index-
|
|
1
|
+
import{j as e,aM as v,o as t}from"./index-6DHFBk74.js";import{n as a}from"./vendor-Bs1fkIUX.js";const C=a.div`
|
|
2
2
|
text-align: center;
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
`,y=a.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as
|
|
1
|
+
import{q as z,aa as K,cS as Q,aP as X,j as t,O as F,ad as Y,aQ as Z,y as i,o as a,A as ee,b as _,H as te,h1 as ae,am as le,d3 as O,id as ne,cX as U,cV as oe,u as l,b8 as re,db as ie,d9 as de,dn as se,P as ce,eN as me,dE as he,bl as be,h as V}from"./index-6DHFBk74.js";import{b as j,n as o,i as ge}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=F.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:g,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(xe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(fe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const xe=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -66,16 +66,16 @@ import{q as F,aa as K,cS as Q,aP as X,j as t,F as z,ad as Y,aQ as Z,y as i,o as
|
|
|
66
66
|
gap: ${a.sp3};
|
|
67
67
|
`,ve=o.div`
|
|
68
68
|
color: ${e=>e.theme.colors.hero};
|
|
69
|
-
`,ye={labelWidth:new i(120,145,160)},Ne=
|
|
69
|
+
`,ye={labelWidth:new i(120,145,160)},Ne=F.getLocalizedStrings(),{common:Ge,vendorReview:{globalReview:W}}=Ne,{sectionTitles:je,labels:R}=Ge,Re=({recommendationFetchState:e,newGlobalMerchantData:n,recommendedGlobalMerchants:h,sectionId:m,isDisabled:g,style:v,fetchRecommendation:M})=>{const y=z(),s=ye.labelWidth.value(y),{formState:d}=O(),$=()=>{n?.globalMerchantName!=null&&n.globalMerchantName.trim().length>2&&d.dirtyFields[m]?.globalMerchantName===!0&&M()},u=[];return h.length>0&&h.forEach((p,D)=>{const G=`recommended${ne(D)}`;u.push({field:{name:k(m,G),defaultChecked:n?.currentSelection===G,isDisabled:g},label:p.globalMerchantName})}),t.jsxs(Ve,{style:v,children:[t.jsx(De,{children:je.vendorDetails}),t.jsxs(Pe,{children:[t.jsx(we,{label:{label:R.name,width:s},textField:{type:"text",name:k(m,"globalMerchantName"),placeholder:U(R.name),defaultValue:n?.globalMerchantName,autoComplete:"off",isDisabled:e.fetchState==="In-Progress"?"readonly":g,registerOptions:{required:!0},onBlur:$,onKeyDown:p=>{p.key==="Enter"&&(p.preventDefault(),$())}},checkBoxFields:u,fetchState:e,additionalInfo:{label:h.length>0?W.newGlobalMerchant.recommendationText:W.newGlobalMerchant.recommendationInfoText,icon:t.jsx(ke,{children:t.jsx(ze,{})})},style:{width:"auto"}}),t.jsx(oe,{isDisabled:e.fetchState==="In-Progress"?"readonly":g,label:{label:R.websiteURL,width:s},text:{type:"url",name:k(m,"globalMerchantWebsiteUrl"),placeholder:U(R.websiteURL),defaultValue:n?.globalMerchantWebsiteUrl?.toString(),autoComplete:"off",options:{required:!0}},style:{width:"auto"}})]})]})},k=(e,n)=>`${e}.${n}`,Ve=o.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
padding-top: ${a.sp3};
|
|
73
73
|
padding-bottom: ${a.sp3};
|
|
74
|
-
`,
|
|
74
|
+
`,De=o(re)`
|
|
75
75
|
color: ${e=>e.theme.colors.primary};
|
|
76
76
|
margin-bottom: ${a.sp3};
|
|
77
77
|
margin-right: ${a.sp6};
|
|
78
|
-
`,
|
|
78
|
+
`,Pe=o.div`
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: column;
|
|
81
81
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -90,11 +90,11 @@ import{q as F,aa as K,cS as Q,aP as X,j as t,F as z,ad as Y,aQ as Z,y as i,o as
|
|
|
90
90
|
align-items: center;
|
|
91
91
|
justify-content: center;
|
|
92
92
|
margin-right: ${a.sp2};
|
|
93
|
-
`,
|
|
93
|
+
`,ze=o(be)`
|
|
94
94
|
color: ${e=>e.theme.colors.brandColorJade};
|
|
95
95
|
width: ${a.sp3};
|
|
96
96
|
height: ${a.sp3};
|
|
97
|
-
`,S={containerPaddingLeft:new i(l[3],l[3],l[6]),containerPaddingRight:new i(l[3],l[3],l[8]),navbarContainerPaddingTop:new i(l[2],l[3]),navbarContainerPaddingBottom:new i(l[4],l[5]),sectionTitleMarginTop:new i(0,l[3]),sectionTitleMarginLeft:new i(l[3],0)},
|
|
97
|
+
`,S={containerPaddingLeft:new i(l[3],l[3],l[6]),containerPaddingRight:new i(l[3],l[3],l[8]),navbarContainerPaddingTop:new i(l[2],l[3]),navbarContainerPaddingBottom:new i(l[4],l[5]),sectionTitleMarginTop:new i(0,l[3]),sectionTitleMarginLeft:new i(l[3],0)},Fe={sectionTitle:new _("h6Regular","h5Regular")},E="newGlobalMerchantPage",f="newGlobalMerchant",Te=F.getLocalizedStrings(),{common:{footer:I,sectionTitles:Ce},vendorReview:{globalReview:Le}}=Te,nt=({globalMerchantView:e,analytics:n,tenantMerchant:h,isDisabled:m,updateCreateGlobalMerchantLocalData:g,fetchRecommendation:v,onBackClick:M,onSaveClick:y})=>{const s=z(),d=K({mode:"all",reValidateMode:"onChange",defaultValues:j.useMemo(()=>q(e),[e]),values:j.useMemo(()=>q(e),[e]),resetOptions:{keepDefaultValues:!0,keepDirtyValues:!0}}),$=()=>{if(e.newGlobalMerchantData!=null){const r=h?.tenantName??null,b=e.newGlobalMerchantData.globalMerchantName,c=e.recommendedGlobalMerchants[0]?.globalMerchantName??null;n.trackVendorReviewNewVendorRequested({reviewSource:"global_review",newRequestedVendorName:b,tenantName:r,newRequestedVendorNameSource:r!=null?"text_edit":"new_vendor_button",isVendorNameRecommendationSelected:c===b,recommendedVendorName:c,recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null})}v()},u=()=>{if(e.newGlobalMerchantData!=null){const r=h?.tenantName??null,b=e.newGlobalMerchantData.globalMerchantName,c=e.recommendedGlobalMerchants[0]?.globalMerchantName??null;n.trackVendorReviewNewVendorSaved({reviewSource:"global_review",saveRequestedVendorName:b,tenantName:r,recommendedVendorName:c,saveRequestedVendorSource:r!=null?"text_edit":"new_vendor_button",recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null,isVendorNameRecommendationSelected:c===b})}y()},p=()=>{e.newGlobalMerchantData!=null&&n.trackVendorReviewNewVendorCanceled({reviewSource:"global_review",newRequestedVendorName:e.newGlobalMerchantData.globalMerchantName,tenantName:h?.tenantName??null,recommendedVendorName:e.recommendedGlobalMerchants[0]?.globalMerchantName??null,recommendedVendorReason:e.recommendedGlobalMerchants[0]?.reason??null}),M()},D=()=>{u()},G=async(r,b)=>{const{newGlobalMerchant:{globalMerchantName:c,recommendedFirst:C,recommendedSecond:L,globalMerchantWebsiteUrl:J}}=b;if(r.includes("globalMerchantName")||r.includes("globalMerchantWebsiteUrl")){let P=null;c===e.recommendedGlobalMerchants[0]?.globalMerchantName?P="recommendedFirst":c===e.recommendedGlobalMerchants[1]?.globalMerchantName&&(P="recommendedSecond"),g(c,P,J)}else(r.includes("recommendedFirst")||r.includes("recommendedSecond"))&&(r.includes("recommendedFirst")&&C&&e.recommendedGlobalMerchants[0]?.globalMerchantName?(g(e.recommendedGlobalMerchants[0]?.globalMerchantName,"recommendedFirst",e.recommendedGlobalMerchants[0]?.websiteUrl?.toString()),e.recommendedGlobalMerchants[0]?.websiteUrl!=null&&d.setValue(`${f}.globalMerchantWebsiteUrl`,e.recommendedGlobalMerchants[0].websiteUrl.toString())):r.includes("recommendedSecond")&&L&&e.recommendedGlobalMerchants[1]?.globalMerchantName?(g(e.recommendedGlobalMerchants[1].globalMerchantName,"recommendedSecond",e.recommendedGlobalMerchants[1].websiteUrl?.toString()),e.recommendedGlobalMerchants[1]?.websiteUrl!=null&&d.setValue(`${f}.globalMerchantWebsiteUrl`,e.recommendedGlobalMerchants[1].websiteUrl.toString())):!C&&!L&&(d.resetField(`${f}.globalMerchantName`),d.resetField(`${f}.globalMerchantWebsiteUrl`)))};j.useEffect(()=>{const r=d.watch((b,{name:c})=>{c!=null&&b!=null&&Q(()=>G(c,b))});return()=>{r.unsubscribe()}});const{newGlobalMerchantData:x,fetchState:N,error:H,recommendedGlobalMerchants:A}=e,T=X(N);return j.useEffect(()=>{T==="In-Progress"&&N==="Completed"&&x?.globalMerchantName!=null&&(d.resetField(`${f}.globalMerchantName`,{defaultValue:x.globalMerchantName}),e.recommendedGlobalMerchants.forEach(r=>{r.globalMerchantName===x.globalMerchantName&&r.websiteUrl!=null&&d.setValue(`${f}.globalMerchantWebsiteUrl`,r.websiteUrl.toString())}))},[T,N,d,x?.globalMerchantName,x?.globalMerchantWebsiteUrl,e.recommendedGlobalMerchants]),t.jsxs(Ue,{windowSize:s,children:[t.jsxs(We,{windowSize:s,children:[t.jsx(Ie,{children:t.jsx(Be,{onClick:p})}),t.jsx(qe,{windowSize:s,children:Ce.newVendor}),t.jsx(_e,{children:t.jsxs(Oe,{children:[t.jsx(Ae,{children:t.jsx(Je,{})}),t.jsx(He,{children:Le.newGlobalMerchant.tip})]})})]}),t.jsx(Ee,{children:t.jsx(Y,{...d,children:t.jsx("form",{id:B(E),onSubmit:d.handleSubmit(D),children:t.jsx(Re,{sectionId:f,isDisabled:x?.status.fetchState==="In-Progress"?"readonly":m,newGlobalMerchantData:x,recommendationFetchState:{fetchState:N,error:H},recommendedGlobalMerchants:A,fetchRecommendation:$})})})}),t.jsx(Z,{formId:B(E),primaryBtn:{label:I.save,isLoading:x?.status.fetchState==="In-Progress",isDisabled:N==="In-Progress"},cancelBtn:{label:I.cancel,shouldResetOnCancel:!0,onClick:p}})]})},B=e=>`${e}_form`,q=e=>{const{newGlobalMerchantData:n}=e;return{[f]:{globalMerchantName:n?.globalMerchantName??"",globalMerchantWebsiteUrl:n?.globalMerchantWebsiteUrl?.toString(),recommendedFirst:n?.currentSelection==="recommendedFirst",recommendedSecond:n?.currentSelection==="recommendedSecond",newGlobalMerchantId:n?.newGlobalMerchantId}}},Ue=o.div`
|
|
98
98
|
display: flex;
|
|
99
99
|
flex: 1 1 auto;
|
|
100
100
|
min-height: 100%;
|
|
@@ -134,7 +134,7 @@ import{q as F,aa as K,cS as Q,aP as X,j as t,F as z,ad as Y,aQ as Z,y as i,o as
|
|
|
134
134
|
color: ${e=>e.theme.colors.primary};
|
|
135
135
|
margin-left: ${e=>S.sectionTitleMarginLeft.valuePx(e.windowSize)};
|
|
136
136
|
margin-top: ${e=>S.sectionTitleMarginTop.valuePx(e.windowSize)};
|
|
137
|
-
${e=>`${
|
|
137
|
+
${e=>`${Fe.sectionTitle.style(e.windowSize)}`};
|
|
138
138
|
`,_e=o.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as l,j as t,h as r,o as a,am as s,y as m,
|
|
1
|
+
import{q as l,j as t,h as r,o as a,am as s,y as m,c as o}from"./index-6DHFBk74.js";import{n as i,b as h}from"./vendor-Bs1fkIUX.js";const v=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),d={chartMinHeight:new m(288,360)},z=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{j as e,o as t,
|
|
1
|
+
import{j as e,o as t,c as s}from"./index-6DHFBk74.js";import{n as i}from"./vendor-Bs1fkIUX.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const r=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
align-items: center;
|
|
7
7
|
justify-content: center;
|
|
8
|
-
`;function p(){switch(s().mode){case"light":return e.jsx(o,{width:"120px",height:"60px"});case"dark":default:return e.jsx(n,{width:"120px",height:"60px"})}}function
|
|
8
|
+
`;function p(){switch(s().mode){case"light":return e.jsx(o,{width:"120px",height:"60px"});case"dark":default:return e.jsx(n,{width:"120px",height:"60px"})}}function a(){return e.jsx(r,{children:e.jsx(p,{})})}export{a as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,
|
|
1
|
+
import{j as o,O as i,cd as s,_ as l,am as c,h as a,an as d}from"./index-6DHFBk74.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{i as h}from"./ZeniCopyright-Bfc0Yl56-xItwPVZ8.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const x=t.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,gh as ne,o as i,bZ as se,
|
|
1
|
+
import{j as t,gh as ne,o as i,bZ as se,O as I,aS as re,c as J,q as Q,aa as le,cS as ae,l as O,bF as ce,ad as de,ab as S,aQ as pe,y as M,fO as me,gi as ue,eZ as he,gj as ge,gk as fe,a$ as xe,u as w,b8 as Y,ai as K,am as W,an as $e}from"./index-6DHFBk74.js";import{n as o,b as E}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const{common:be}=I.getLocalizedStrings(),B={notePadding:new M(w[3],w[4]),noteGap:new M(w[0],6)},z=(e,n)=>`${e}.${n}`,ye=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${i.sp3};
|
|
@@ -6,7 +6,7 @@ import{j as t,gh as ne,o as i,bZ as se,F as I,aS as re,b as J,q as Q,aa as le,cS
|
|
|
6
6
|
display: flex;
|
|
7
7
|
justify-content: space-between;
|
|
8
8
|
align-items: center;
|
|
9
|
-
`,Se=o(
|
|
9
|
+
`,Se=o(Y)`
|
|
10
10
|
color: ${e=>e.theme.colors.primary};
|
|
11
11
|
`,we=o.div`
|
|
12
12
|
border-radius: ${i.sp2};
|
|
@@ -57,9 +57,9 @@ import{j as t,gh as ne,o as i,bZ as se,F as I,aS as re,b as J,q as Q,aa as le,cS
|
|
|
57
57
|
}
|
|
58
58
|
`,q=o.div`
|
|
59
59
|
flex: 1;
|
|
60
|
-
`,A=o(
|
|
60
|
+
`,A=o(W)`
|
|
61
61
|
color: ${e=>e.theme.colors.hero};
|
|
62
|
-
`,Ee=o(
|
|
62
|
+
`,Ee=o(K)`
|
|
63
63
|
color: ${e=>e.theme.colors.primary};
|
|
64
64
|
flex: 1;
|
|
65
65
|
width: 120px;
|
|
@@ -74,31 +74,31 @@ import{j as t,gh as ne,o as i,bZ as se,F as I,aS as re,b as J,q as Q,aa as le,cS
|
|
|
74
74
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
75
75
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
76
76
|
gap: ${e=>B.noteGap.valuePx(e.windowSize)};
|
|
77
|
-
`,Ce=o.div``,
|
|
77
|
+
`,Ce=o.div``,Oe=o.span``;function Pe({sectionId:e,monthEndInsightsNotificationLocalData:n,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:g,classList:m,controllersList:x}){const u=J(),c=Q(),{sectionTitle:$,monthEndInsights:l,mode:b}=be.settings.notifications,h=x[0],P=x.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(ye,{children:[t.jsxs(je,{children:[t.jsx(Se,{children:$.monthEndInsights}),t.jsx(Ce,{children:t.jsx(Ee,{children:b.email})})]}),t.jsxs(we,{children:[t.jsxs(ve,{disabled:s.enabled==null,children:[t.jsx(A,{children:l.labels.notifyMe}),t.jsx(he,{defaultChecked:n.notify,checkBoxValue:z(e,"notify"),name:z(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(S,{controller:s.enabled!=null,children:t.jsxs(Ie,{children:[t.jsx(q,{children:t.jsx(A,{children:l.labels.notifyOthers})}),t.jsx(q,{children:t.jsx(ge,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:g,selectedUsers:g.filter(d=>n.recipientEmailIds.includes(d.email)),allNonUsers:[],selectedNonUsers:[]},hideMultiValueOnBlur:!1,valueToSubtitle:d=>{const r=a.findIndex(p=>p.userId===d),y=[];if(r!==-1){const p=a[r],j=fe(p.userRole.userRoles);j.length>0&&y.push(j);const N=m.find(L=>L.classId===p.userRole.accountingClassIDs[0]);return N!=null&&y.push(N.className),y}else return[]},name:z(e,"recipientEmailIds"),placeholderLabel:l.userFieldPlaceholder,customStyleConfig:{valueContainer:(d,{selectProps:r})=>({justifyContent:r.menuIsOpen===!1?"flex-end":"flex-start"}),input:(d,{selectProps:r})=>({display:r.menuIsOpen===!1?"none":"inline-grid"}),control:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),container:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),multiValue:(d,{selectProps:r})=>({outline:r.menuIsOpen===!1?"unset":`1px solid ${u.colors.primary}`})}})})]})}),t.jsx(S,{controller:s.enabled==null,children:t.jsxs(ke,{windowSize:c,children:[l.stopReceivingEmailsText,h?t.jsxs(Ne,{href:`mailto:${h.email}?cc=${P}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Oe,{children:`${h.firstName} ${h.lastName}`}),t.jsx(xe,{className:"arrowIcon"})]}):null]})})]})]})}const D=(e,n,s)=>`${e}.${n}.${s}`,Le=o.div`
|
|
78
78
|
display: flex;
|
|
79
79
|
flex-direction: column;
|
|
80
80
|
row-gap: ${i.sp3};
|
|
81
|
-
`,
|
|
81
|
+
`,Re=o.div`
|
|
82
82
|
display: flex;
|
|
83
83
|
justify-content: space-between;
|
|
84
84
|
align-items: center;
|
|
85
|
-
`,
|
|
85
|
+
`,ze=o(Y)`
|
|
86
86
|
color: ${e=>e.theme.colors.primary};
|
|
87
|
-
`,
|
|
87
|
+
`,F=o.div`
|
|
88
88
|
display: flex;
|
|
89
|
-
`,V=o(
|
|
89
|
+
`,V=o(K)`
|
|
90
90
|
color: ${e=>e.theme.colors.primary};
|
|
91
91
|
flex: 1;
|
|
92
92
|
width: 120px;
|
|
93
93
|
text-align: center;
|
|
94
|
-
`,
|
|
94
|
+
`,Ue=o.div`
|
|
95
95
|
width: 120px;
|
|
96
96
|
display: flex;
|
|
97
|
-
`,
|
|
97
|
+
`,Me=o.div`
|
|
98
98
|
width: 120px;
|
|
99
99
|
display: flex;
|
|
100
100
|
padding-right: 12px;
|
|
101
|
-
`,
|
|
101
|
+
`,Te=o(W)`
|
|
102
102
|
color: ${e=>e.theme.colors.hero};
|
|
103
103
|
`,Be=o.div`
|
|
104
104
|
border-radius: ${i.sp2};
|
|
@@ -118,14 +118,14 @@ import{j as t,gh as ne,o as i,bZ as se,F as I,aS as re,b as J,q as Q,aa as le,cS
|
|
|
118
118
|
border-bottom-left-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
|
|
119
119
|
border-bottom-right-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
|
|
120
120
|
}
|
|
121
|
-
`;function Ae({sectionId:e,remindersLocalData:n,reminderNotificationSettings:s}){const{texts:a,settings:g}=I.getLocalizedStrings().common,{notifications:m}=g,x=
|
|
121
|
+
`;function Ae({sectionId:e,remindersLocalData:n,reminderNotificationSettings:s}){const{texts:a,settings:g}=I.getLocalizedStrings().common,{notifications:m}=g,x=O.NOTIFICATION_MODES.slice(0,1),u=O.REMINDER_NOTIFICATION_TYPES.filter(c=>s[c]!=null);return t.jsxs(Le,{children:[t.jsxs(Re,{children:[t.jsx(ze,{children:m.sectionTitle.reminders}),t.jsxs(F,{children:[t.jsx(V,{children:a.frequency}),t.jsx(V,{children:m.mode.email})]})]}),t.jsx(Be,{children:u.map((c,$)=>t.jsxs(qe,{firstElement:$===0,lastElement:$===u.length-1,children:[t.jsx(Te,{children:m.reminders[c]}),t.jsxs(F,{children:[t.jsx(Me,{children:t.jsx(me,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:n[c].frequency},name:D(e,c,"frequency")})}),t.jsx(Ue,{children:t.jsx(ue,{mode:"always_on",checkBoxes:x.map(l=>({label:"",value:l,defaultChecked:n[c].preferredMode.includes(l),groupLabel:!1})),name:D(e,c,"preferredMode"),style:{flexDirection:"row"},checkBoxContainerStyle:{justifyContent:"center"}})})]})]},c))})]})}const U={contentPadding:new M(w[3],w[8])},f="reminders",v="monthEndInsights",_="notificationSettingsPage",H=e=>`${e}_form`,{settings:X,reloadPage:De}=I.getLocalizedStrings().common,Fe=e=>{const n=J(),s=Q(),{notificationSettingsView:a,signedInUser:g,onFormDataChange:m,resetUpdateStatus:x,onSave:u,onCancel:c,onClickMenuIcon:$}=e,{notificationSettingsLocalData:l,allUsers:b,notificationSettings:h,classList:P,managersList:d,updateStatus:r,controllersList:y}=a,p=le({defaultValues:Z(l,b)}),j=E.useCallback(R=>{m(Je(R))},[m]),N=p.handleSubmit(()=>{u()}),L=E.useCallback(()=>{p.reset(),c()},[c]);E.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(Z(l,b)),x())},[l,a.updateStatus.fetchState,b]),E.useEffect(()=>{const R=p.watch((T,{name:oe})=>{oe!=null&&T!=null&&ae(()=>j(T))});return()=>{R.unsubscribe()}},[p,j]);const ee=Object.keys(p.formState.dirtyFields).length>0,te=g.userEmail!=null?O.isMonthEndNotificationsSectionVisibleOnSettingsPage(h.monthEndInsightsNotificationSettings,g.userEmail):!1,ie=O.isRemindersSectionVisibleOnSettingsPage(h.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(Ve,{children:[t.jsx(ce,{source:"NotificationSettingsPage",title:X.title.notifications,backgroundColor:n.colors.grey4,showBackButton:!1,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:$}),t.jsx(_e,{windowSize:s,children:t.jsx(de,{...p,children:t.jsx("form",{id:H(_),onSubmit:N,children:t.jsxs(He,{children:[t.jsx(S,{controller:ie,children:t.jsx(Ae,{reminderNotificationSettings:h.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:f})}),t.jsx(S,{controller:te,children:t.jsx(Pe,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:h.monthEndInsightsNotificationSettings,sectionId:v,allUsers:b,classList:P,managersList:d,controllersList:y})})]})})})})]}),t.jsx(S,{controller:ee,children:t.jsx(pe,{style:{width:"100%"},formId:H(_),primaryBtn:{label:I.getLocalizedStrings().common.footer.save,isLoading:r.fetchState==="In-Progress",style:{width:"82px"}},cancelBtn:{label:I.getLocalizedStrings().common.footer.cancel,onClick:L,style:{width:"82px"}}})})]})};function nt(e){const{notificationSettingsView:n,onRefresh:s}=e,{fetchState:a}=n;return a==="Not-Started"||a==="In-Progress"?t.jsx(G,{children:t.jsx(ne,{fetchState:a,styles:{margin:i.sp0}})}):a==="Error"?t.jsxs(G,{children:[t.jsx(Ge,{onClick:s,children:t.jsx(se,{})}),t.jsx(Ze,{children:De.label})]}):t.jsx(Fe,{...e})}const Ve=o.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
width: 100%;
|
|
124
124
|
min-height: 100vh;
|
|
125
125
|
flex-direction: column;
|
|
126
126
|
row-gap: ${i.sp3};
|
|
127
127
|
background-color: ${e=>e.theme.colors.grey4};
|
|
128
|
-
`,
|
|
128
|
+
`,G=o.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
height: 100vh;
|
|
131
131
|
width: 100%;
|
|
@@ -135,14 +135,14 @@ import{j as t,gh as ne,o as i,bZ as se,F as I,aS as re,b as J,q as Q,aa as le,cS
|
|
|
135
135
|
row-gap: ${i.sp3};
|
|
136
136
|
background-color: ${e=>e.theme.colors.grey4};
|
|
137
137
|
`,_e=o.div`
|
|
138
|
-
padding-left: ${e=>
|
|
139
|
-
padding-right: ${e=>
|
|
140
|
-
padding-bottom: ${e=>
|
|
141
|
-
`,
|
|
138
|
+
padding-left: ${e=>U.contentPadding.valuePx(e.windowSize)};
|
|
139
|
+
padding-right: ${e=>U.contentPadding.valuePx(e.windowSize)};
|
|
140
|
+
padding-bottom: ${e=>U.contentPadding.valuePx(e.windowSize)};
|
|
141
|
+
`,He=o.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
144
144
|
row-gap: ${i.sp8};
|
|
145
|
-
`,
|
|
145
|
+
`,Ge=o.div`
|
|
146
146
|
height: 96px;
|
|
147
147
|
width: 96px;
|
|
148
148
|
background: ${e=>e.theme.colors.background};
|
|
@@ -160,4 +160,4 @@ import{j as t,gh as ne,o as i,bZ as se,F as I,aS as re,b as J,q as Q,aa as le,cS
|
|
|
160
160
|
`,Ze=o(re)`
|
|
161
161
|
margin-top: ${i.sp3};
|
|
162
162
|
color: ${e=>e.theme.colors.hero};
|
|
163
|
-
`;function k(e){const n=X.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:n}}}function Z(e,n){return{[f]:{missingReceiptNotification:k(e.reminders.missingReceiptNotification),uncategorizedTransactionNotification:k(e.reminders.uncategorizedTransactionNotification),pendingBillApprovalNotification:k(e.reminders.pendingBillApprovalNotification),pendingReimbursementApprovalNotification:k(e.reminders.pendingReimbursementApprovalNotification)},[v]:{notify:e.monthEndInsights.notify,recipientEmailIds:{allNonUsers:[],selectedNonUsers:[],allUsers:n,selectedUsers:n.filter(s=>e.monthEndInsights.recipientEmailIds.includes(s.email))}}}}function C(e){return{preferredMode:e.preferredMode,frequency:e.frequency.selectedOption}}function Je(e){return{[f]:{missingReceiptNotification:C(e[f].missingReceiptNotification),uncategorizedTransactionNotification:C(e[f].uncategorizedTransactionNotification),pendingBillApprovalNotification:C(e[f].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:C(e[f].pendingReimbursementApprovalNotification)},[v]:{...e[v],recipientEmailIds:e[v].recipientEmailIds.selectedUsers.map(n=>n.email)}}}export{nt as default,
|
|
163
|
+
`;function k(e){const n=X.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:n}}}function Z(e,n){return{[f]:{missingReceiptNotification:k(e.reminders.missingReceiptNotification),uncategorizedTransactionNotification:k(e.reminders.uncategorizedTransactionNotification),pendingBillApprovalNotification:k(e.reminders.pendingBillApprovalNotification),pendingReimbursementApprovalNotification:k(e.reminders.pendingReimbursementApprovalNotification)},[v]:{notify:e.monthEndInsights.notify,recipientEmailIds:{allNonUsers:[],selectedNonUsers:[],allUsers:n,selectedUsers:n.filter(s=>e.monthEndInsights.recipientEmailIds.includes(s.email))}}}}function C(e){return{preferredMode:e.preferredMode,frequency:e.frequency.selectedOption}}function Je(e){return{[f]:{missingReceiptNotification:C(e[f].missingReceiptNotification),uncategorizedTransactionNotification:C(e[f].uncategorizedTransactionNotification),pendingBillApprovalNotification:C(e[f].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:C(e[f].pendingReimbursementApprovalNotification)},[v]:{...e[v],recipientEmailIds:e[v].recipientEmailIds.selectedUsers.map(n=>n.email)}}}export{nt as default,H as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as t,u as e}from"./index-
|
|
1
|
+
import{C as t,u as e}from"./index-6DHFBk74.js";const r=e[5],o=59,i=e[5],l=t.standardRegular.lineHeightValue,n=1,u=1e3;export{l as A,i as E,n as I,u as L,o as a,r as t};
|