@zeniai/web-cockpit-ui 1.14.49-qa → 1.14.50-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-Sg7hdGqd-CCXprbhT.js → ACHDetailsPage-Bk-T9zeA-CfJ6MKab.js} +3 -3
- package/dist/assets/{AIPerformancePage-ChnBEIPH-4_euKIvp.js → AIPerformancePage-DlVvPiye--DdUUWgj.js} +33 -33
- package/dist/assets/{AccountInfoPage-BxnQEiJ7-B6EmYPv_.js → AccountInfoPage-4a5_z9Mj-DMFU6f23.js} +4 -4
- package/dist/assets/{AccountInfoPageContent-DNUp3TON-qdMNKklV.js → AccountInfoPageContent-DevYKy6p-CMullRtM.js} +19 -19
- package/dist/assets/{AccountLockedInfoModal-CA152nkz-DzCD-JUi.js → AccountLockedInfoModal-BvtyA_xO-CmYw1Jj0.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-C2rkkVPs-CQwYzCjP.js → AccountReconDetailsDrawerPage-BXEQ6cqS-j66Ucrn-.js} +12 -12
- package/dist/assets/{AccountRow-36Vtwpnr-4z2Yans3.js → AccountRow---y_a4hQ-CjUH_owU.js} +11 -11
- package/dist/assets/{AccountsPromoCardStack-C2HYR94b-CpKQoFz3.js → AccountsPromoCardStack-o9Og7QNk-DK3bk-1Y.js} +17 -17
- package/dist/assets/AddAddressForCardDrawer-Blh9zJ9k-Qnts0jiB.js +6 -0
- package/dist/assets/{AddToWalletPage-C_3jcdka-F-DW-oAI.js → AddToWalletPage-F_5GSEK1-DfJbrH2K.js} +19 -19
- package/dist/assets/{AgingReportsPage-BPxROntM-BkwxFBqZ.js → AgingReportsPage-gY6j3hD1-CYYgQtbs.js} +6 -6
- package/dist/assets/{AllUserItems-D4ZSsopG-CbtLJ7dq.js → AllUserItems-DuqNI8Rn-C7-Ck6tc.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-Cg_V8f7G-Dtv7vAxt.js → ApAgingDetailPage-BCIZ807--CCB1bmdU.js} +5 -5
- package/dist/assets/{AppBasePage-6i0Pu1mT-CI0gWqTJ.js → AppBasePage-Cju4WpBd-B7EKJOCZ.js} +7 -7
- package/dist/assets/{AppDrawerContent-B6_iNfLZ-BBNlUFgb.js → AppDrawerContent-CJZlwte8-BLgFIh1I.js} +4 -4
- package/dist/assets/{ApprovalRulesSettingsPage-BnsXfKAE-BddQmAcM.js → ApprovalRulesSettingsPage-DcFFdV1D-DwwBhpx6.js} +3 -3
- package/dist/assets/{ArAgingChart-DSDIg2mS-BzouD7uA.js → ArAgingChart-B_ybJjur-DHM_zS9S.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BYb9qi8c-3T0IpoxH.js → ArAgingDetailPage-CXBgcuJx-BSdM7AD1.js} +4 -4
- package/dist/assets/AttachmentView-D9MocUS9-BtgOsoHb.js +101 -0
- package/dist/assets/{BankAccountSection-CwYIBEbQ-S9Np9Ygv.js → BankAccountSection-CFnXlTaa-wnOEAJae.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-DPIyvB6i-pfBOIjCV.js → BankAccountWarningSection-Dl7DA-Xf-Bk2O3H_M.js} +4 -4
- package/dist/assets/{BankConnectionsSettingsPage-O03gMCgp-DASDTUYQ.js → BankConnectionsSettingsPage-p7NTe5UU-CDYUeY8o.js} +29 -29
- package/dist/assets/{BillDetailPage-D-fa_jc1-BleJmAH0.js → BillDetailPage-Dy7FjtFP-DCGKKisv.js} +6 -6
- package/dist/assets/{BillPayApprovalRuleDetailPage-D_A4wH0g-B-75pSuf.js → BillPayApprovalRuleDetailPage-BkROIItP-FF3IQxfd.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-gdOVuTqR-BszEmrA8.js → BillPayApprovalRulesPage-wnxmErWK-CnIadX77.js} +7 -7
- package/dist/assets/{BillPayPromoPage-SFpIScHQ-FG20wQ1f.js → BillPayPromoPage-B09wLq8f-CG5fEZdp.js} +7 -7
- package/dist/assets/BillPaySetUpPage-bK5uUxWL-CxvMnvOZ.js +42 -0
- package/dist/assets/{BillingSettingsPage-CdaNgKMv-gAn_GvVH.js → BillingSettingsPage-yqdPoo5n-C-yi5L8L.js} +6 -6
- package/dist/assets/{BillsBulkReviewDrawerPage-DPgrXGy0-CQlJtKA-.js → BillsBulkReviewDrawerPage-BPoUzM5h-BT57ZA9A.js} +1 -1
- package/dist/assets/{BoxItem-Bla_vZe9-D4jxptTn.js → BoxItem-BwOmI0eo-Bg_oDJrZ.js} +1 -1
- package/dist/assets/BusinessVerificationPage-DliZ1mtV-DeT5LWZH.js +140 -0
- package/dist/assets/{CardNumberSubText-B-HsVbRQ-BLIziZ0V.js → CardNumberSubText-CAQ8mWuF-vKMkb_aM.js} +1 -1
- package/dist/assets/{CashbackDetailPage-gIJ-1lJF-BO5TRo9Z.js → CashbackDetailPage-B1XEtXzZ-1-2pfDRY.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-Dgyl5IJV-DazPQgg3.js → ChargeCardDetailPage-C35g3tyS-Cr_XhDe3.js} +21 -21
- package/dist/assets/{ChargeCardListPage-CgN69uh_-DKDrh90W.js → ChargeCardListPage-DpJ2ukG9-Chnlo_Ls.js} +9 -9
- package/dist/assets/{ChargeCardListTable-Bq3FUrUG-FyrnND8b.js → ChargeCardListTable-0mvBVaVR-DezuEV69.js} +26 -26
- package/dist/assets/{ChargeCardPromoPage-DqDd3QeF-BbqMx9NQ.js → ChargeCardPromoPage-xcfRobP3-CBiQn6_2.js} +7 -7
- package/dist/assets/{ChargeCardSetupPage-CBP4-JyP-NCDgse98.js → ChargeCardSetupPage-CHK4_mR3-uQ6PE_iN.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-CVJyNhXt-Di4REK7T.js → ChargeCardStatementsPage-B746tyaI-BpHM8ktT.js} +8 -8
- package/dist/assets/{ChargeCardUtils-DaDe1sIq-NwQ1CJ2W.js → ChargeCardUtils-Bel9RKog-BYoByp7T.js} +1 -1
- package/dist/assets/{ChaseOverlay-C1SVk4v1-DW3UeCAS.js → ChaseOverlay-Cni-YJBq-ki7qKNfn.js} +2 -2
- package/dist/assets/CheckDepositDrawerPage-h5dYs8n1-xM7OVVph.js +206 -0
- package/dist/assets/{CollapsableReportTable-QtToztmP-DQt1k1-B.js → CollapsableReportTable-Bm4Knvjp-CyuCgDm7.js} +48 -48
- package/dist/assets/{CompanyOfficerDetailsSection-Ctoe2QDP-CQSKCmrp.js → CompanyOfficerDetailsSection-BFrN2zbs-E0-ko42y.js} +19 -19
- package/dist/assets/CompanyPassportCard-CFfVmwtT-DyrnlDth.js +42 -0
- package/dist/assets/{CompanyPassportPage-Dd53DZFe-BmsuarOf.js → CompanyPassportPage-BwuQEpR6-BzltPqSl.js} +21 -21
- package/dist/assets/{CompleteProfile-DlFmFq5M-ZT3wEZlQ.js → CompleteProfile-DFgQXxaw-eh46GqaL.js} +1 -1
- package/dist/assets/{ConfettiBurst-b3SEoaSY-CEVptNiu.js → ConfettiBurst-CNGVGH7R-OhWdZxEw.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DwvlzEci-DUaCnl0C.js → CreateOrEditVendorPage-BEOugGdV-BkOi2-LS.js} +12 -12
- package/dist/assets/{CreditCardPaymentDrawerPage-y5jJQGS5-BN-YeTDF.js → CreditCardPaymentDrawerPage-DL99-asT-IVw3ZmF0.js} +9 -9
- package/dist/assets/{CreditCardPaymentPlgSection-BbVnrMer-Db7C8egU.js → CreditCardPaymentPlgSection-Bo8bjkSd-Cj2DAE6L.js} +5 -5
- package/dist/assets/{CurrencySelectField-B1rl6vQ0-tIQbPb2V.js → CurrencySelectField-Cy3069QS-B4qJii4j.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-DlFjo3Sv-DlDk6MjE.js → CustomerOnboardingActivationPage-DYHxB1DV-DG10uG78.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DGNxouoJ-cK8xEcln.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BxsQBBs2-1N-A35fF.js → CustomerOnboardingDetailPageSkeleton-C-eQB--l-D3xzBHMg.js} +10 -10
- package/dist/assets/CustomerOnboardingNoStepsPage-CdXpLzmq-BKo9Mc6w.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-Cw66PfQC-pU5lcmch.js → CustomerOnboardingPage-BScJEPx_-eyx5FypG.js} +2 -2
- package/dist/assets/CustomerOnboardingProductSuitePage-D8hA3Lv_-DiFPqcjv.js +202 -0
- package/dist/assets/{Dashboard-I5fepHMP-CXiBwzdI.js → Dashboard-D5_YXdct-EKQOlNbW.js} +1 -1
- package/dist/assets/{DashboardReportPage-GkuxGc3t-BKXCa7xb.js → DashboardReportPage-Gq4XjHm5-CgkxriU9.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Ba6mjrpq-CP_63791.js → DashboardSidebarBackgroundAnimation-CfSTodXy-DUwH9YlE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-8pfQMKs3-DA5Rp_k5.js → DepositAccTransactionItem-CfjfIBsm-DifB7Rhh.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BiTWRxfT-BGViZ9xq.js → DepositAccTransactionListPage-BxtgMsQs-1C9yKKse.js} +8 -8
- package/dist/assets/{DomesticWireDetailsPage-4Dh_YZ8--DtHM1pr6.js → DomesticWireDetailsPage-BdmpuYqv-CI5W3KSh.js} +2 -2
- package/dist/assets/{DownloadOverlay-D6S9Obtr-D2mA2KNN.js → DownloadOverlay-B-TeCIiN-cLZkE7c6.js} +18 -18
- package/dist/assets/{DrawerPage-D13P_uWJ-CsKiwoDS.js → DrawerPage-BayK5Cvt-DenqrNxQ.js} +7 -7
- package/dist/assets/EditPeoplePage-moCKwxdw-kdnDyFe4.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-COg9-yb6-CILN_gSs.js → EditReimbursementDetailPage-DiRxcH2i-CqEhpelp.js} +1 -1
- package/dist/assets/{EntityDetailPage-BbITG8i5-CprGjm72.js → EntityDetailPage-B0_iMMXi-BFK6-vDg.js} +4 -4
- package/dist/assets/{EntitySummarySection-BIawu9Ww-Ceo0UhdT.js → EntitySummarySection-Bzw9paM5-CCulefX0.js} +1 -1
- package/dist/assets/ExpenseAutomationOverviewPage-CN8oHejg-BCXoKv-G.js +222 -0
- package/dist/assets/{ExpenseAutomationPage-BzqJFgyb-Czy39NPG.js → ExpenseAutomationPage-nQw-48Jn-1DFXEYwM.js} +29 -29
- package/dist/assets/{ExpressPayPage-ciCYdxZj-BXc9NDyl.js → ExpressPayPage-BbxW-YuU-D_hIdCft.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-Bbbcp0Yy-Czyj_mEC.js → FeaturePreviewPage-CMFiodSD-BBGWeje6.js} +2 -2
- package/dist/assets/{FollowStepsSection-B6uVl1dT-B1dWDhOp.js → FollowStepsSection-s4utHS95--Y07h10n.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BOTtaikB-agDlR_ZV.js → GlobalReviewListPage-Ci8wGpO6-BRGgqus8.js} +5 -5
- package/dist/assets/HelpButton-CdHOhYwZ-vfgKqvvf.js +28 -0
- package/dist/assets/{InformationCardStack-Bm0Oh5VL-DjrgDLen.js → InformationCardStack-C3Q674Be-BHdplWUC.js} +2 -2
- package/dist/assets/InsightsCardStack-CA-O6aZn-DaypKy1-.js +79 -0
- package/dist/assets/{InsightsSection-wZpjHdxh-DXdKVgAu.js → InsightsSection-MD_7iYyd-CoTr4evA.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-Cl-Y86Nj-D4NX5YT1.js → IntegrationsSettingsPage-Gpq_ujC4-Cz49FC1Q.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-DkEpnlVz-DWJE6x6p.js → InternationalWireSwiftDetailsPage-DXQCRbA4-jvd32UXh.js} +18 -18
- package/dist/assets/{InternationalWireVerificationPage-Ra78kWjZ-C7XfpdHS.js → InternationalWireVerificationPage-Z9MeS_FE-CvHI3GW5.js} +13 -13
- package/dist/assets/{InviteFormPage-Be3Tqvh8-boDpca8x.js → InviteFormPage-CRBxUW8F-ByLwGMQx.js} +20 -20
- package/dist/assets/{InvitePageListView-BuooPBpK-B-O-E11Q.js → InvitePageListView-BLcD6yhf-BHIBTtPc.js} +14 -14
- package/dist/assets/InvitePeoplePage-B6vbKnl8-3Fr2JjFu.js +12 -0
- package/dist/assets/InvoiceUploadSection-C84g6m-u-CTBUGTYr.js +140 -0
- package/dist/assets/{IssueChargeCardPage-C_4bD6HQ-B4neH-6d.js → IssueChargeCardPage-CtwG1FQW-CIw40zi7.js} +20 -20
- package/dist/assets/{LabeledAddressValue-Ctk46FKq-KR-uiT2u.js → LabeledAddressValue-BbmveEDp-misv-kNS.js} +1 -1
- package/dist/assets/LabeledAddressValueField-BplBue9M-DBaZ2tp6.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CATsgVfE-C27gMaQw.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-Bjh5B-q0-Co5wnrJk.js → LabeledCreatableSingleSelectField-B-m-gINB-DKWDwbZB.js} +2 -2
- package/dist/assets/LabeledDocumentField-pmF98M72-DhaPqfnm.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BX06HLc2-CSTX9KoC.js → LabeledDropDownFormattedTextField-DQRvDrH1-nhXIGcQS.js} +1 -1
- package/dist/assets/{LabeledText-DZVRFAkG-rHxfEtQQ.js → LabeledText-Dr7b3HNT-JqfYF6TM.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-QoYZvvyE-DgWhyFpB.js → LabeledUserSingleSelectWithSubtitlesField-DucxxQKW-DpGIkkDj.js} +10 -10
- package/dist/assets/{LabeledZeniRolesDropDownField-D9I9Lxk2-CEybF1_R.js → LabeledZeniRolesDropDownField-Fg_p41gp-BLJgU8CM.js} +17 -17
- package/dist/assets/{LinkJETransactionPage-C8K00-1a-CRsvQ_9P.js → LinkJETransactionPage-CbtDoohS-BYYpt-Eb.js} +4 -4
- package/dist/assets/LockCardPage-CfupCyYS-DqBQdk1I.js +558 -0
- package/dist/assets/{LowBalancePopup-CQQrhufv-ooiA9ZXC.js → LowBalancePopup-DPfkvSKp-CZ231Z71.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-BUGK2W6m-iQ0u98AT.js → MagicLinkACHDetailsPage-TJ1c4k1c-e1ecoiPU.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdGw-8SL-BZNxp9-P.js → MagicLinkDomesticWireDetailsPage-Dp4F_O6C-BLuK26i4.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-ioBaDPw3-BRjF2y7B.js → MagicLinkInternationalWireDetailsPage-B5TMFBsw-DE5eebOC.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BBnZ5N8r-3AvY4DIN.js → MagicLinkSuccessPage-XmGUk2UP-t-ML7fFm.js} +3 -3
- package/dist/assets/{MagicLinkTitleSection-C0nl5UrB-fbBcM0M6.js → MagicLinkTitleSection-B3CVACcv-CraOpOkK.js} +3 -3
- package/dist/assets/{MailingDetailsSection-DeaanyVd-has6jQC4.js → MailingDetailsSection-CFBmvYV_-DKWh8ntV.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-CGGit3Ny-CiZ-1m4B.js → MeetingCalenderPopup-Dd1Z-rK3-BN7CJUqh.js} +5 -5
- package/dist/assets/{Menu-BWGaQpko-C-bIfACK.js → Menu-AlNg4aZb-ezBRMKxQ.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-Bg_ULoVa-BjIIqVWR.js → MyBankConnectionsSettingsPage-De_mXouS-CFWPRCdV.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-DulXydFx-CNXPW9Gb.js → MyPendingActivationChargeCardListPage-CdDF0PA3-CqrUarF6.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-C2p1O3ct-BgyD_hf0.js → MyProfileSettingsPage-BE6GsTMH-CiY2hNHx.js} +6 -6
- package/dist/assets/{NavBarWithPicker-BCLF3DOO-CA9gmzsQ.js → NavBarWithPicker-CTxQ7r97-Dg-pVfaM.js} +4 -4
- package/dist/assets/{NavigationArrow-BPrl00va-D8RNnAeo.js → NavigationArrow-DCZBdY6w-DXzWpT0y.js} +1 -1
- package/dist/assets/{NavigationDots-O0W_nmju-D_O1-ums.js → NavigationDots-D6hsvkMX-Dc9TKWSO.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-D6e-akD5-Bzs9Ucjn.js → NewGlobalMerchantPage-D5Mo9EMy-C_x_UB26.js} +7 -7
- package/dist/assets/{NoDataChart-C9yfpsin-CDRDTUOe.js → NoDataChart-CI5rKAJf-IpywfvaI.js} +1 -1
- package/dist/assets/{NoDataTable-DKv0uhi4-Cpc7fkkE.js → NoDataTable-C4YVpnKy-bA2EH_fQ.js} +1 -1
- package/dist/assets/{NotFoundPage-B5ou4w73-NuKoBPie.js → NotFoundPage-Dx56yYo3-CJc22lOw.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-BmrtRoZK-DZ_ZG3D7.js → NotificationSettingsPage-hOwPscnS-CcQKVe46.js} +8 -8
- package/dist/assets/{NotificationsListConfig-DQ4Ho61v-BnotEG6V.js → NotificationsListConfig-DV_yEagM-CKLpxpSM.js} +1 -1
- package/dist/assets/{NotificationsPage-UraNN_iD-BUGQxEcG.js → NotificationsPage-B83do0my-DGcJO7Z-.js} +25 -25
- package/dist/assets/{OpExByVendorPage-BRPHj5T9-DYtyW38v.js → OpExByVendorPage-WMTGx5ZH-CmZADN9R.js} +5 -5
- package/dist/assets/{OverlayContainerPage-B8Rk53Fe-CfTKp3Gf.js → OverlayContainerPage-CZaWUQTs-taUnIcxu.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BMjOYb2a-Dcnt7HVK.js → PandLWithForecastPage-DyROxN6C-DH_Ynpil.js} +9 -9
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-B38HgGEM-DgE8Vczk.js → PaymentAccountSetupBillingAddressSection-CHwhW69s-PBAsz7VT.js} +7 -7
- package/dist/assets/{PeoplePage-BpMkRqCs-CsT9OFKk.js → PeoplePage-DzRLyM45-C2knIeVL.js} +11 -11
- package/dist/assets/{PortfolioAllocationFormPage-tnv4t4QU-CrHZ8aTl.js → PortfolioAllocationFormPage-CIvcJ9hx-C0L8itY1.js} +9 -9
- package/dist/assets/{PortfolioDetails-BQCQctOT-BcjcqURs.js → PortfolioDetails-8UvaROaS-BV0kfCx8.js} +15 -15
- package/dist/assets/{ProductsCarousel-BUJiJFiX-BzDzGkeP.js → ProductsCarousel-Di0lW14P-gv6t1pzJ.js} +3 -3
- package/dist/assets/{PromoBaseCards-DwBIZ04X-BjLiNb-B.js → PromoBaseCards-zfJOT86M-Cxis92cB.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-MjldLygA-F5XVDM0C.js → QBOConnectionDialog-DYCNzDCW-XbK2K7lq.js} +4 -4
- package/dist/assets/{QBOSetupSection-BknE7gT4-DY5jHtnb.js → QBOSetupSection-DtzlFUKs-CMurUb08.js} +6 -6
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DoWiv_tN-DEovISqR.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-C0Plqj93-CfcH1Xln.js → ReimbursementApprovalRulesPage-Drav6sw6-CwgLZUAr.js} +40 -40
- package/dist/assets/ReimbursementDetailPage-ByCpOGLu-Dsc_sGAc.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-X_lNy9W2-C1pHC8eu.js → ReimbursementPromoPage-DOhnXgWW-DuNdw2WY.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-DJrOp98g-BrQav5BP.js → ReimbursementSetUpPage-B6m_3OjH-BpWl6ujY.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BZL9RVfR-CP3PDh7c.js → ReimbursementsBulkReviewDrawerPage-DSbjVLzo-CVRSkvAX.js} +1 -1
- package/dist/assets/{ReloadCard-aqfmXbU5-CNPn4sKt.js → ReloadCard-C7TwZcxr-vlQuHsih.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-D93qno__-2IAEqt0G.js → ReportTableViewSelector-Dw5N3kLR-QNx8XxoO.js} +7 -7
- package/dist/assets/{ReportsPage-B0G-7pwv-CrA7-rtj.js → ReportsPage-Cn38qn0l-B-nkuuwa.js} +9 -9
- package/dist/assets/{RevenueChart-BRlahWs9-BWAL9tc3.js → RevenueChart-Cl6AG_A1-Da4QIV8W.js} +16 -16
- package/dist/assets/ReviewDetailsPage-DOU42eYb-DP8hDUqG.js +290 -0
- package/dist/assets/{ReviewOverlay-yCaY1z8K-DkuN1BhY.js → ReviewOverlay-Cekl52Tp-C4ta_oQT.js} +13 -13
- package/dist/assets/{RoleWithToolTip-C--9WRHn-02oWnK_S.js → RoleWithToolTip-Cxn0Q3kG-C5ZkEEHf.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-hn74AoeS-NWP9KPHn.js → ScheduleDetailsFixedAssetsPage-By4ikZQn-BUboWldf.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-DxdxAx1S-B1IjQUUT.js → ScheduleDetailsPage-CMCqsjrb-DIQmIy8n.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-Dq0ZRi2H-8XOSgJiv.js → ScheduleSequenceTable-DNVQ2kVn-kr2CXE0a.js} +49 -49
- package/dist/assets/{ScreenRoutes-DDAOQ4Jo.js → ScreenRoutes-CngnFJ28.js} +1 -1
- package/dist/assets/{SetUpAccountSection-NP9u54_o-Db7whHUF.js → SetUpAccountSection-nZ68xEMF-CKqnZuo_.js} +8 -8
- package/dist/assets/{SetUpDefaultSection-BdVOXSh8-M71dwMGe.js → SetUpDefaultSection-e5I_whKg-CWXMi4yS.js} +2 -2
- package/dist/assets/SignIn-e-7z9G0X-C1YFpsfM.js +448 -0
- package/dist/assets/{SignInScreen-BzmXpPCl.js → SignInScreen-C77r6V5a.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CfzCjazp-DIvePMuJ.js → SpendManagementListViewPage-BPfU_Lec-BnogwbnW.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-CBOlK1hg-CNGRPHtG.js → SpendManagementPerTabPage-CIVfUAF0-7NlzZC3p.js} +48 -48
- package/dist/assets/{SpendManagementSection-DFVWVBv8-BaXurz43.js → SpendManagementSection-DilGVAEg-UyhbLf0x.js} +5 -5
- package/dist/assets/{SpendMgmtSetupAccountSection-ZPHoUnnr-BJcUWi60.js → SpendMgmtSetupAccountSection-BW8Ip5wi-CkkTNUfg.js} +4 -4
- package/dist/assets/{StatementItem-CwkYfX3v-BfxIXxV9.js → StatementItem-li8rxfjF-DE4xpTDg.js} +2 -2
- package/dist/assets/{StatementsPage-DpjcrDLZ-BOUbVppT.js → StatementsPage-D0VgSNCy-Bi9vK3HK.js} +1 -1
- package/dist/assets/{StatusSwitcher-6n_dRY-n-CInUBfU5.js → StatusSwitcher-Dhw4Hsko-VYfBZyYc.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DEXr9JG8-BesAFLAS.js → SubTabSwitcher-CaDODjQq-zPof6WQa.js} +1 -1
- package/dist/assets/{SummaryCard-DY8o3K8p-Br_aBvet.js → SummaryCard-BZp6ZbhG-D2hcdAY2.js} +1 -1
- package/dist/assets/{TaskManagementPage-V-99_2Xz-DDUfSx7p.js → TaskManagementPage-CdzxcwSR-FTY6PAR3.js} +14 -14
- package/dist/assets/{TimeRangeSwitcher-5vzTnmwD-CRsZg2b0.js → TimeRangeSwitcher-BsecxqSf-68LRPk1P.js} +6 -6
- package/dist/assets/{TimeframeSwitcher-B1ZBKWlB-7HKYiomL.js → TimeframeSwitcher-CXQS6_Dj-pJvRjYVF.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-C8w7NoSs-DeUtdJdm.js → TimeframeSwitcherWithToggle-xUcT4SAn-Dxw3KxOM.js} +1 -1
- package/dist/assets/{TopExCard-CflRvGFb-BSDi9hbk.js → TopExCard-DpBmbBOH-rqB_17zU.js} +5 -5
- package/dist/assets/{TopExDetailPage-BNouRPM_-V8w0Nl4l.js → TopExDetailPage-CXYcu4vC-BudfE4e2.js} +21 -21
- package/dist/assets/{TransactionDetailPage-uJRfI4fh-YYHpyB0Q.js → TransactionDetailPage-C-oGYPM2-XIgrFLJc.js} +23 -23
- package/dist/assets/{TransactionList-C--m4NRu-I84SwAT3.js → TransactionList-d0Qe-D7V-BamSxQ9h.js} +9 -9
- package/dist/assets/{TransactionListBig-Cbf9p6a1-BQi6pxNr.js → TransactionListBig-By3GVBgG-Jvz7Xg_z.js} +11 -11
- package/dist/assets/{TransactionListPage-BXQ4Ig8E-1eaOmgJN.js → TransactionListPage-ChIGfg3A-ZqEGHvAv.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-CKdVogwj-BU8bZBJz.js → TransactionVendorDetailPage-D3stMRFF-C_IPHvl6.js} +3 -3
- package/dist/assets/{TransferDrawerPage-BS3lnMMA-BhGqf_F6.js → TransferDrawerPage-QVYSxd-3-BFQ5htQm.js} +22 -22
- package/dist/assets/{TreasuryOverviewPage-U1p6PrnG-CTfDqCgy.js → TreasuryOverviewPage-CumKNGbQ-CAGR3hz2.js} +12 -12
- package/dist/assets/{TreasuryPromoPage-C2wmo0Ex-CAsi6MAz.js → TreasuryPromoPage-H2Zbw_Yg-DMBJJl3b.js} +8 -8
- package/dist/assets/{TreasurySetupPage-CMl-qGhi-DDyv6zPQ.js → TreasurySetupPage-BtUIYjn_-BvLlmakc.js} +4 -4
- package/dist/assets/{TreasuryStatementsPage-BdmLrhA5-Cwzb6Y-J.js → TreasuryStatementsPage-B04Ze6pO-DBs8NMkW.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-Q7prcczk-BMJV6RV_.js → TreasuryTaxLetterPage-D95U9592-A4FKzQli.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-CwvijEQN-CyNc0EBz.js → TreasuryTransferOrReviewPage-BhHf8lnF-DBq27s-a.js} +91 -91
- package/dist/assets/{TrendChart-SEWDcga_-b1UZHoM_.js → TrendChart-BkdPYoj4-D9rpAM75.js} +4 -4
- package/dist/assets/{TrendWithTransactions-CgSaPEFh-CJCmbHDv.js → TrendWithTransactions-CWgoVTcb-CGbGhBS1.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-7LqO7hHL-Qf22hqtP.js → UncategorizedAccountsMappingPage-LdRZIYp5-BtaeEGaz.js} +10 -10
- package/dist/assets/{UnitIntegrationPage--jgHD8q1-DGXvKzdF.js → UnitIntegrationPage-Ms9BFSjK-PPYprz9i.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-D6x4OGXl-CxKK3Ose.js +38 -0
- package/dist/assets/{Vendor2FAPopup-B0fwm9Q3-BYhSuvCf.js → Vendor2FAPopup-UmgHYXvP-pOrgh_fD.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-BzgsncOJ-DOkcQ5fM.js → VendorACHDetailsPage-B3mdoPp8-DRr-74cL.js} +1 -1
- package/dist/assets/{VendorDetailPage-CA3LTIGq-jf7ffnJX.js → VendorDetailPage-Cj6U1nII-BSRlPQ6y.js} +12 -12
- package/dist/assets/{VendorDomesticWireDetailsPage-Ch42jvVt-CyANzPJP.js → VendorDomesticWireDetailsPage-BrZCPlAd-BL-hjFrP.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-QjRWxn7V-BJSMNVS0.js → VendorFiling1099EditablePage-TUixssYI-v6dW0vMN.js} +12 -12
- package/dist/assets/{VendorFirstReviewPage-C-ONdLcA-Bipz9xJO.js → VendorFirstReviewPage-BlUNcGLE-B0NOpsas.js} +44 -44
- package/dist/assets/{VendorInternationalWireDetailsPage-qDx2aiDq-CLtnsjyf.js → VendorInternationalWireDetailsPage-DhHWsAne-VClJg3R1.js} +10 -10
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DICOFwMp-BJ2iH1IS.js → VendorInternationalWireSwiftDetailsPage-CIvevemJ-Cnw2il7s.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D0f3TRGG-DGo_EPvw.js → VendorsAccountsSection-viRwhErR-BEJjt5C_.js} +4 -4
- package/dist/assets/{VerifyDevice-BMtMcC41-C2Aep0vv.js → VerifyDevice-l7opea4l-BtT1vRFj.js} +2 -2
- package/dist/assets/{VideoPlayer-DKMO88LY-CihcSZAF.js → VideoPlayer-BBVi4SOz-9SgJ3yaM.js} +1 -1
- package/dist/assets/{VideoPopup-2z3T5Lnh-CHZgVcWy.js → VideoPopup-CmXRuhQp-5r314mYD.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-yRdYuhLZ-Bq-OqNLw.js → WarningsDrawerPage-Ckg9AVsj-B9emohJx.js} +2 -2
- package/dist/assets/{ZeniAccountDetailPage-ISiEkizf-BZ56FvfW.js → ZeniAccountDetailPage-B-jNA-tI-ms245E2y.js} +25 -25
- package/dist/assets/{ZeniAccountListViewPage-BTrvu_w1-Mm1U5sCA.js → ZeniAccountListViewPage-oBGTDIBN-C9aSAN9Z.js} +8 -8
- package/dist/assets/ZeniAccountNavBarPieces-JScxmkmi-BP103W6l.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-Dac1THyO-DBLjXw3q.js → ZeniAccountPromoPage-BHzfVbtI-P2leDJcs.js} +20 -20
- package/dist/assets/{ZeniAccountSetupPage-ZSfjnq4--2G4QtNy6.js → ZeniAccountSetupPage-DD_QA8h8-DpmP7jf1.js} +4 -4
- package/dist/assets/{ZeniCopyright-C4Hdl7V0-DCl3xitc.js → ZeniCopyright-BPSL51G5-DcEAxBC-.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-CAiR-tiF-D35xHKkQ.js +63 -0
- package/dist/assets/{analyticsHelper-CpeZY9M2.js → analyticsHelper-CnRA1Gcw.js} +1 -1
- package/dist/assets/{analyticsHelper-CaxfROfX-BZwqcE9n.js → analyticsHelper-kwNg2DUZ-Bg-BVsZB.js} +1 -1
- package/dist/assets/{chartTypes-CQLwj1wn-BRADgKQf.js → chartTypes-CCFDB3ft-gWEy54C4.js} +1 -1
- package/dist/assets/{commonDimensions-BqqLiZ_H-X7QteB7-.js → commonDimensions-FafZVRxo-CSxm8Nzu.js} +1 -1
- package/dist/assets/{detailCommon-_wteS7vQ-BlDnvf72.js → detailCommon-Bk08SAcF-CmJo8a2_.js} +7 -7
- package/dist/assets/{downloadPdf-DqURwcIt-cyNLfpwv.js → downloadPdf-Bj4Y4BB4-D1l-PLqG.js} +1 -1
- package/dist/assets/{index-RcMUg6rr.js → index-dX8TSOm6.js} +72 -72
- package/dist/assets/{mapLoadingInProgressToTreeNode-kidLNkmQ-Dbws8prW.js → mapLoadingInProgressToTreeNode-Cx24jJa--D8U4jxjz.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BSUhjNT5-BKwhf6qT.js → mapSectionWithAcOnlyToTreeNode-BRxefLX_-DoZmzx4J.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-m5nGTY8W-CzCeMk6H.js → mapSpacerToTreeNode-VUbus-r3-pBb-m1M8.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-D5QkbXkx-CsbvFuim.js → mapTimeframeBalancesToTreeNode-B6aAv6pB-C6UbW4bf.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CHHGNXiT-Dl3JMEe8.js → mapTimeframeBalancesToTreeNode-CSScIc2H-CNAuSnEW.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-o4l_IoBF-BBotayyZ.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DBDE1nuS-CTldXama.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-bhm-pCR2-CtRyWh7a.js → toCOABalancesWithID-M4gPqViI-CcaXT71y.js} +1 -1
- package/dist/assets/{toChartData-3h9AvMdw-CxwHop5O.js → toChartData-CrsGFSA1-DRCqW50O.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CJ61L8mT-DS0868j3.js → treasuryColorHelper-B8Evc_xJ-C2M6xUma.js} +1 -1
- package/dist/assets/{uploadAttachment-Bf61v1Xo-B7uvvQf2.js → uploadAttachment-PM-_GgYg-CTQQfxMY.js} +3 -3
- package/dist/assets/{uploadReceipts-CPeNTSex-DsNuxnXH.js → uploadReceipts-B3-z3hJ9-DECDgzHp.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AddAddressForCardDrawer-BZ0RCcja-nZX6PoRd.js +0 -6
- package/dist/assets/AttachmentView-CdNQ2xWp-BPsXC6R_.js +0 -101
- package/dist/assets/BillPaySetUpPage-mD_IeiJx-DxluR9l0.js +0 -42
- package/dist/assets/BusinessVerificationPage-CXxO69rJ-ZjHWLeJo.js +0 -140
- package/dist/assets/CheckDepositDrawerPage-DSR4fX1u-ndwRTjAi.js +0 -206
- package/dist/assets/CompanyPassportCard-D1Qw3xp1-CzjX_y3L.js +0 -42
- package/dist/assets/CustomerOnboardingContainerPage-gA22hWiI-DHO0Bx78.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-r85EAGP9-BWacMhdz.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-DjNvBda4-6fpGm6Io.js +0 -202
- package/dist/assets/EditPeoplePage-DF_58Z4U-DfKImWbi.js +0 -55
- package/dist/assets/ExpenseAutomationOverviewPage-DleEJVpj-u_9BpHnf.js +0 -222
- package/dist/assets/HelpButton-CzyBnp0B-B4qln9tA.js +0 -28
- package/dist/assets/InsightsCardStack-DJQ_W9fy-DK1IXhJg.js +0 -79
- package/dist/assets/InvitePeoplePage-BN0ktc82-CX-yWmlh.js +0 -12
- package/dist/assets/InvoiceUploadSection-BQgfwgdt-Bu3SJ_dU.js +0 -140
- package/dist/assets/LabeledAddressValueField-Dg0TLzPn-CRUbVJT9.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-DJSFmpIX-DXOJq1C3.js +0 -16
- package/dist/assets/LabeledDocumentField-BT7CRAVI-Bu18IeBT.js +0 -41
- package/dist/assets/LockCardPage-Cv7cc2yv-Bgylw99f.js +0 -558
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DH75g3pT-CXqiP4jT.js +0 -26
- package/dist/assets/ReimbursementDetailPage-DNaaqXYR-Bh3Xalhl.js +0 -314
- package/dist/assets/ReviewDetailsPage-DaLjRiFW-DJFP67SX.js +0 -290
- package/dist/assets/SignIn-nUeTTVKC-CQFjsNXv.js +0 -329
- package/dist/assets/UploadAdditionalDocumentOverlay-D2Tin1CX-7rKlqc-o.js +0 -38
- package/dist/assets/ZeniAccountNavBarPieces-C3IR1FEp-Jc31zuuu.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-Co5sY7gl-DtKUG0sE.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{af as r,M as n,j as t,an as l,o,z as a,c9 as c,_ as p}from"./index-dX8TSOm6.js";import{n as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const z=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
|
|
2
2
|
z-index: 999;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
width: 100%;
|
|
@@ -14,7 +14,7 @@ import{ac as r,M as n,j as t,ak as l,o,z as c,c9 as a,_ as p}from"./index-RcMUg6
|
|
|
14
14
|
justify-content: center;
|
|
15
15
|
opacity: 80%;
|
|
16
16
|
margin: 0 ${o.sp4};
|
|
17
|
-
`,g=i(
|
|
17
|
+
`,g=i(c)`
|
|
18
18
|
color: ${e=>e.theme.colors.primary};
|
|
19
19
|
text-align: center;
|
|
20
20
|
`,h=i(p)`
|
|
@@ -25,7 +25,7 @@ import{ac as r,M as n,j as t,ak as l,o,z as c,c9 as a,_ as p}from"./index-RcMUg6
|
|
|
25
25
|
top: ${o.sp5};
|
|
26
26
|
left: ${o.sp5};
|
|
27
27
|
background-color: ${e=>e.theme.colors.background};
|
|
28
|
-
`,x=i(
|
|
28
|
+
`,x=i(a)`
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
height: ${o.sp4};
|
|
31
31
|
`;export{z as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as C,
|
|
1
|
+
import{M as C,ae as p,j as s,c9 as m,o as t,s as g,g as x,bR as d}from"./index-dX8TSOm6.js";import{n,b as i}from"./vendor-rkTZJa59.js";const h=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),M=({companyName:e,currencySymbol:l,amount:r})=>{const a=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,c=r>0?` ${p("0,0.[00]",r,l)}`:"",o=a.title.replace(/<tenant_name>/,e)+c;return s.jsxs(s.Fragment,{children:[s.jsx(y,{children:o}),s.jsxs(j,{children:[a.description.replace(/<tenant_name>/,e),s.jsxs(w,{children:[s.jsx(f,{}),a.encrypted]})]})]})},w=n(d)`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${t.sp1};
|
|
4
4
|
color: ${x.successDark};
|
|
@@ -6,7 +6,7 @@ import{M as C,ab as p,j as s,c9 as m,o as t,s as g,g as x,bQ as d}from"./index-R
|
|
|
6
6
|
width: ${t.sp4};
|
|
7
7
|
height: ${t.sp4};
|
|
8
8
|
color: inherit;
|
|
9
|
-
`,
|
|
9
|
+
`,j=n(g)`
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
12
|
justify-content: space-between;
|
|
@@ -14,4 +14,4 @@ import{M as C,ab as p,j as s,c9 as m,o as t,s as g,g as x,bQ as d}from"./index-R
|
|
|
14
14
|
gap: ${t.sp4};
|
|
15
15
|
color: ${e=>e.theme.colors.champion};
|
|
16
16
|
margin-top: ${t.sp3};
|
|
17
|
-
|
|
17
|
+
`,y=n(m)``;export{M};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as c,M as u,C as
|
|
1
|
+
import{e as c,M as u,C as s,j as o,o as a,ch as x,ar as b,r as i}from"./index-dX8TSOm6.js";import{n}from"./vendor-rkTZJa59.js";import{W as f}from"./LabeledAddressValueField-BplBue9M-DBaZ2tp6.js";const r={largeLabelWidth:new s(120,140,220),paddingTopBottom:new s(i[3],i[3]),marginRight:new s(i[3],i[8]),marginLeft:new s(i[3],i[6]),marginLeftTitle:new s(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=c(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,h=r.largeLabelWidth.value(l);return o.jsxs(o.Fragment,{children:[o.jsx(L,{size:l,children:d.addressDetailTitle}),o.jsx(v,{size:l,children:o.jsx(f,{isDisabled:p,label:{label:d.address,width:h},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(d.address),defaultValue:t,registerOptions:{validate:$=>$!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
|
|
2
2
|
width: auto;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as o,j as i,
|
|
1
|
+
import{e as o,j as i,a2 as d,q as c,g as l,o as p,C as r}from"./index-dX8TSOm6.js";import{n as s}from"./vendor-rkTZJa59.js";const a={width:new r(425,850,850),height:new r(320,640,640)},h=s.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -9,7 +9,7 @@ import{e as o,j as i,Z as d,q as c,g as l,o as p,C as r}from"./index-RcMUg6rr.js
|
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
align-items: center;
|
|
11
11
|
background: ${l.blackColor}CC;
|
|
12
|
-
`,
|
|
12
|
+
`,w=s.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
justify-content: space-between;
|
|
@@ -20,7 +20,7 @@ import{e as o,j as i,Z as d,q as c,g as l,o as p,C as r}from"./index-RcMUg6rr.js
|
|
|
20
20
|
border-radius: ${p.sp2};
|
|
21
21
|
position: relative;
|
|
22
22
|
top: 5%;
|
|
23
|
-
width: ${e=>
|
|
24
|
-
height: ${e=>
|
|
23
|
+
width: ${e=>a.width.valuePx(e.windowSize)};
|
|
24
|
+
height: ${e=>a.height.valuePx(e.windowSize)};
|
|
25
25
|
background: transparent;
|
|
26
|
-
`;function
|
|
26
|
+
`;function g(e){const n=o(),t=document.createElement("script");return t.setAttribute("async","true"),t.setAttribute("defer","true"),t.setAttribute("src","https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js"),document.head.appendChild(t),i.jsx(h,{windowSize:n,role:"presentation","data-testid":d("calendar-meeting-popup"),children:i.jsx(c,{onClickAway:()=>e.onCancelClick(),children:i.jsx(w,{windowSize:n,children:i.jsx("div",{className:"meetings-iframe-container","data-src":e.meetingUrl,style:{width:"100%",height:"100%"}})})})})}export{g as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,q as u,eO as h,o as s,u as d,eP as m}from"./index-
|
|
1
|
+
import{j as o,q as u,eO as h,o as s,u as d,eP as m}from"./index-dX8TSOm6.js";import{b as x,n as c,j as f}from"./vendor-rkTZJa59.js";const b=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},y=c.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,C=({menuItems:e,isMenuOpen:r,isMenuVisible:i=!0,setIsMenuOpen:n,styles:l,menuIconStyles:t})=>{const p=x.useRef(null);return o.jsx(u,{onClickAway:()=>{n(!1)},children:o.jsxs(y,{ref:p,children:[o.jsx(g,{className:"placeholder",style:t,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(j,{isMenuVisible:i,children:o.jsx(h,{})})}),r?o.jsx(b,{open:r,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:p.current,styles:l,children:e}):null]})})},g=c.div`
|
|
4
4
|
height: ${s.sp4};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{u as z,e as M,f4 as H,M as $,
|
|
1
|
+
import{u as z,e as M,f4 as H,M as $,ab as p,j as i,l as L,a_ as I,E as v,o as t,aV as P,C as d,m as _,s as B,$ as E,b as W,f5 as j,f6 as C,r as u,f8 as R,g as A,w as J}from"./index-dX8TSOm6.js";import{b as y,n}from"./vendor-rkTZJa59.js";import{J as V}from"./SetUpDefaultSection-e5I_whKg-CWXMi4yS.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},N={title:new W("standardMedium","largeMedium")},F=n.img`
|
|
2
2
|
width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
3
3
|
height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
4
4
|
border-radius: ${t.sp11};
|
|
5
5
|
margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
6
6
|
`,U=n.div`
|
|
7
7
|
display: flex;
|
|
8
|
-
`,
|
|
8
|
+
`,G=n.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
flex-direction: row;
|
|
@@ -14,17 +14,17 @@ import{u as z,e as M,f4 as H,M as $,a8 as p,j as i,l as L,aY as I,E as v,o as t,
|
|
|
14
14
|
margin-right: ${e=>r.elementsMarginLeftRight.valuePx(e.windowSize)};
|
|
15
15
|
padding-top: ${t.sp4};
|
|
16
16
|
padding-bottom: ${t.sp4};
|
|
17
|
-
`,
|
|
17
|
+
`,O=n.div`
|
|
18
18
|
display: flex;
|
|
19
19
|
align-items: flex-start;
|
|
20
|
-
`,
|
|
20
|
+
`,Y=n.div`
|
|
21
21
|
display: flex;
|
|
22
22
|
opacity: 1;
|
|
23
23
|
`,q=n.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: column;
|
|
26
26
|
`,K=n.div``,Q=n.div`
|
|
27
|
-
${e=>`${
|
|
27
|
+
${e=>`${N.title.style(e.windowSize)}`};
|
|
28
28
|
color: ${e=>e.isError===!0?A.important:e.theme.colors.primary};
|
|
29
29
|
`,X=n.div`
|
|
30
30
|
display: flex;
|
|
@@ -65,7 +65,7 @@ import{u as z,e as M,f4 as H,M as $,a8 as p,j as i,l as L,aY as I,E as v,o as t,
|
|
|
65
65
|
color: ${e=>e.theme.colors.grey1};
|
|
66
66
|
justify-content: space-between;
|
|
67
67
|
box-sizing: border-box;
|
|
68
|
-
`,te=({bankAccount:e,paymentAccount:o,accountStatus:s})=>{const a=M(),m=z(),h=e.bankName,l=m.mode==="light"?new p(m.colors.brandColorJadeLight):new p(m.colors.brandColorJadeDark),b={element:i.jsx(P,{width:r.iconWidthHeight.valuePx(a),height:r.iconWidthHeight.valuePx(a)}),color:l},c=o?.providerVerificationStatus?.code,x=`${o?.accountSubType?.name!=null?o.accountSubType.name.substring(0,1).toUpperCase().concat(o.accountSubType.name.substring(1)):""} ${o?.maskedAccountNumber??e.maskedAccountNumber}`.trim(),g=o?.institutionDetails?.zeniInstitutionId.toLowerCase()==="chase";return i.jsx(ne,{windowSize:a,children:i.jsxs(
|
|
68
|
+
`,te=({bankAccount:e,paymentAccount:o,accountStatus:s})=>{const a=M(),m=z(),h=e.bankName,l=m.mode==="light"?new p(m.colors.brandColorJadeLight):new p(m.colors.brandColorJadeDark),b={element:i.jsx(P,{width:r.iconWidthHeight.valuePx(a),height:r.iconWidthHeight.valuePx(a)}),color:l},c=o?.providerVerificationStatus?.code,x=`${o?.accountSubType?.name!=null?o.accountSubType.name.substring(0,1).toUpperCase().concat(o.accountSubType.name.substring(1)):""} ${o?.maskedAccountNumber??e.maskedAccountNumber}`.trim(),g=o?.institutionDetails?.zeniInstitutionId.toLowerCase()==="chase";return i.jsx(ne,{windowSize:a,children:i.jsxs(G,{windowSize:a,children:[i.jsxs(O,{children:[i.jsx(Y,{children:oe(b,a,m.mode==="dark",o)}),i.jsxs(q,{children:[i.jsxs(K,{children:[i.jsx(Q,{windowSize:a,children:h}),i.jsx(Z,{children:x?i.jsxs(i.Fragment,{children:[i.jsx(ee,{children:x}),a!=="small"&&(c!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||g)?i.jsx(ie,{}):null]}):null})]}),s!=null&&a==="small"?i.jsx(j,{style:{width:"max-content",padding:0,marginTop:t.sp2},tagTitle:s.name,textColor:C(s.code)}):null]})]}),i.jsx(U,{children:s!=null&&a!=="small"?i.jsx(j,{style:{width:"max-content",padding:0,marginTop:t.sp2},tagTitle:s.name,textColor:C(s.code)}):null})]})})},oe=(e,o,s,a)=>a?.institutionDetails.logo?.base64!=null?i.jsx(F,{windowSize:o,src:`${R}${a.institutionDetails.logo.base64.toString()}`,alt:a.institutionDetails.institutionName,loading:"lazy"}):i.jsx(X,{iconColor:e.color,windowSize:o,isDarkMode:s,children:e.element}),f={iconWidthHeight:new d(20,u[4]),sectionWidth:new d(343,580,726),subtitleSectionWidth:new d(343,580,1200)},ae={title:new W("standardMedium","largeMedium")},le=n.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
row-gap: ${t.sp3};
|
|
71
71
|
flex-direction: column;
|
|
@@ -97,14 +97,14 @@ import{u as z,e as M,f4 as H,M as $,a8 as p,j as i,l as L,aY as I,E as v,o as t,
|
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
98
|
font-family: ${E.largeMedium.fontFamily};
|
|
99
99
|
${e=>`${ae.title.style(e.windowSize)}`};
|
|
100
|
-
`,ue=n(
|
|
100
|
+
`,ue=n(_)`
|
|
101
101
|
display: flex;
|
|
102
102
|
justify-content: center;
|
|
103
103
|
align-items: center;
|
|
104
104
|
width: ${e=>f.subtitleSectionWidth.valuePx(e.windowSize)};
|
|
105
105
|
margin-bottom: ${t.sp5};
|
|
106
|
-
`,me=n(
|
|
106
|
+
`,me=n(B)`
|
|
107
107
|
display: flex;
|
|
108
108
|
align-items: center;
|
|
109
109
|
color: ${e=>e.theme.colors.hero};
|
|
110
|
-
`,$e=({plaidConnectionDetails:e,myBankConnectionsView:o,onEstablishConnectionClick:s,onFetchLinkTokenClick:a,onClickMenuIcon:m})=>{const h=z(),l=M(),b=y.useCallback(w=>{s(w)},[s]),c=y.useMemo(()=>e.link_account_no_microdeposit,[e]),{open:x}=H({token:c.linkToken??null,onSuccess:b}),g=$.getLocalizedStrings().common.settings,T=h.mode==="light"?new p(h.colors.brandColorJadeLight):new p(h.colors.brandColorJadeDark),k=$.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;return y.useEffect(()=>{(L.zeniDate(new Date().toISOString()).isAfter(c.expiration)||c.linkToken==null)&&a("link_account_no_microdeposit")},[a,c.expiration,c.linkToken]),i.jsxs(re,{children:[i.jsx(I,{source:"MyBankConnectionsSettingsPage",title:g.title.myBankConnections,backgroundColor:h.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:m}),i.jsxs(se,{windowSize:l,children:[i.jsx(ue,{windowSize:l,children:i.jsx(me,{windowSize:l,children:g.infoText.myBankConnections})}),o.bankAccounts.length>0?i.jsx(de,{windowSize:l,children:i.jsx(ce,{windowSize:l,children:g.subtitle.myBankConnections})}):null,i.jsx(v,{controller:o.bankAccounts.length>0,children:i.jsx(le,{children:o.bankAccounts.map(w=>{const S=o.paymentAccounts.find(D=>D.bankAccountId==w.bankAccountId);return i.jsx(te,{bankAccount:w,accountStatus:S?.verificationStatus,paymentAccount:S},w.bankAccountId)})})}),i.jsx(v,{controller:o.bankAccounts.length===0,children:i.jsx(
|
|
110
|
+
`,$e=({plaidConnectionDetails:e,myBankConnectionsView:o,onEstablishConnectionClick:s,onFetchLinkTokenClick:a,onClickMenuIcon:m})=>{const h=z(),l=M(),b=y.useCallback(w=>{s(w)},[s]),c=y.useMemo(()=>e.link_account_no_microdeposit,[e]),{open:x}=H({token:c.linkToken??null,onSuccess:b}),g=$.getLocalizedStrings().common.settings,T=h.mode==="light"?new p(h.colors.brandColorJadeLight):new p(h.colors.brandColorJadeDark),k=$.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;return y.useEffect(()=>{(L.zeniDate(new Date().toISOString()).isAfter(c.expiration)||c.linkToken==null)&&a("link_account_no_microdeposit")},[a,c.expiration,c.linkToken]),i.jsxs(re,{children:[i.jsx(I,{source:"MyBankConnectionsSettingsPage",title:g.title.myBankConnections,backgroundColor:h.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:m}),i.jsxs(se,{windowSize:l,children:[i.jsx(ue,{windowSize:l,children:i.jsx(me,{windowSize:l,children:g.infoText.myBankConnections})}),o.bankAccounts.length>0?i.jsx(de,{windowSize:l,children:i.jsx(ce,{windowSize:l,children:g.subtitle.myBankConnections})}):null,i.jsx(v,{controller:o.bankAccounts.length>0,children:i.jsx(le,{children:o.bankAccounts.map(w=>{const S=o.paymentAccounts.find(D=>D.bankAccountId==w.bankAccountId);return i.jsx(te,{bankAccount:w,accountStatus:S?.verificationStatus,paymentAccount:S},w.bankAccountId)})})}),i.jsx(v,{controller:o.bankAccounts.length===0,children:i.jsx(V,{onClick:()=>{x()},title:k.connectYourBank,subTitle:k.loginToBank,header:g.label.reimbursements,icon:{element:i.jsx(P,{width:f.iconWidthHeight.valuePx(l),height:f.iconWidthHeight.valuePx(l)}),color:T},style:{width:"unset",rowGap:l==="small"?t.sp2:void 0}})})]})]})};export{$e as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as x,Q as B,l as w,M as D,fo as a,j as o,
|
|
1
|
+
import{u as x,Q as B,l as w,M as D,fo as a,j as o,a_ as M,fH as j,o as O}from"./index-dX8TSOm6.js";import{n as P}from"./vendor-rkTZJa59.js";import{o as V,t as U}from"./ChargeCardListTable-0mvBVaVR-DezuEV69.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./Menu-AlNg4aZb-ezBRMKxQ.js";import"./RoleWithToolTip-Cxn0Q3kG-C5ZkEEHf.js";import"./CardNumberSubText-CAQ8mWuF-vKMkb_aM.js";import"./ChargeCardUtils-Bel9RKog-BYoByp7T.js";const{spendManagement:{chargeCard:C}}=D.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:c,creditAccountRepayment:u,depositAccountListWithDebitCardIssued:i,controllerEmails:b,signedInUser:S,onChargeCardRowClick:p,onBackClick:k,onReloadCards:A,onColumnSortConfigChanged:g})=>{const f=x(),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=d&&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:d,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l},N={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 o.jsxs($,{children:[o.jsx(M,{title:y,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:k,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?o.jsx(j,{fetchState:e.fetchState,styles:{margin:"auto"}}):o.jsx(V,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:U,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:d,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:N,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:A,onChargeCardRowClick:(t,z)=>{p(t)},uiState:e.uiState,onColumnSortConfigChanged:g,onChargeCardResendInviteClick:()=>{}})]})},$=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: ${`calc(100vh - ${O.sp9})`};
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as te,fs as ie,u as fe,Q as ge,ft as be,a as ye,
|
|
1
|
+
import{e as te,fs as ie,u as fe,Q as ge,ft as be,a as ye,N as xe,l as z,cd as we,cc as Pe,M as re,j as l,fu as ve,a_ as $e,F as De,a7 as Se,o as s,fv as ne,fw as de,fx as ce,c7 as ue,C as L,m as me,$ as Re,b as je,Z as le,co as Oe,cf as Ce,fy as q,cl as Le,cj as Te,fz as Ie,ai as Ve,r as Z}from"./index-dX8TSOm6.js";import{b as v,n as m}from"./vendor-rkTZJa59.js";import{W as ke}from"./LabeledAddressValueField-BplBue9M-DBaZ2tp6.js";import{X as Be}from"./LabeledUserSingleSelectWithSubtitlesField-DucxxQKW-DpGIkkDj.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField-Fg_p41gp-BLJgU8CM.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./RoleWithToolTip-Cxn0Q3kG-C5ZkEEHf.js";const b=(e,i)=>`${e}.${i}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(Z[2],Z[3]),toolTipWidth:new L(215,237),notePadding:new L(Z[3],Z[4]),noteGap:new L(Z[0],6)},{peoplePage:a,common:{settings:se,labels:G,placeholder:B,errorMessage:Ne},dateFormat:Ae}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=te(),{person:r,managersList:N,classList:A,manager:H,department:g,controllersList:M,myProfileLocalData:W,addressData:Q}=e,X=e.person.user?.birthday!=null?"readonly":void 0,D=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),J=v.useMemo(()=>ie(y,p,o,f,$,T,h),[y,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),R=c.splice(0,1),j=c.reduce((V,k)=>V.concat(`${k.email},`),"");return{firstController:R,restControllerEmailsStr:j}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),E=v.useMemo(()=>A.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[A]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Oe,{isDisabled:u,label:{label:G.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.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:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:G.dateOfBirth,width:I},style:{width:"auto"},isDisabled:X,dateField:{name:b(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ae.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ke,{label:{label:G.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.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(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"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(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:N,selectedUser:d?void 0:H?.userId},valueToSubtitle:c=>{const R=N.findIndex(j=>j.userId===c);if(R!==-1){const j=N[R],V=A.find(Y=>Y.classId===j.userRole.accountingClassIDs[0]),k=[];return V!=null&&k.push(V.className),k}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:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:E,selectedOption:d?void 0:E.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}),i?null:l.jsxs(Ze,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ee,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(_e,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -15,8 +15,8 @@ import{e as te,fs as ie,u as fe,Q as ge,ft as be,a as ye,I as xe,l as N,cd as we
|
|
|
15
15
|
background-color: ${e=>e.theme.colors.grey3};
|
|
16
16
|
min-height: 1px;
|
|
17
17
|
max-height: 1px;
|
|
18
|
-
`,
|
|
19
|
-
padding: ${e=>`${s.sp1} ${
|
|
18
|
+
`,Ze=m(me)`
|
|
19
|
+
padding: ${e=>`${s.sp1} ${F.notePadding.valuePx(e.windowSize)}`};
|
|
20
20
|
background: ${e=>e.theme.colors.grey4};
|
|
21
21
|
border-radius: ${s.sp0} ${s.sp0} ${s.sp2} ${s.sp2};
|
|
22
22
|
text-align: left;
|
|
@@ -24,7 +24,7 @@ import{e as te,fs as ie,u as fe,Q as ge,ft as be,a as ye,I as xe,l as N,cd as we
|
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
26
26
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
27
|
-
gap: ${e=>
|
|
27
|
+
gap: ${e=>F.noteGap.valuePx(e.windowSize)};
|
|
28
28
|
`,Ee=m.a`
|
|
29
29
|
color: ${e=>e.theme.colors.hero};
|
|
30
30
|
text-decoration: none;
|
|
@@ -43,7 +43,7 @@ import{e as te,fs as ie,u as fe,Q as ge,ft as be,a as ye,I as xe,l as N,cd as we
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,
|
|
46
|
+
`,_e=m.span``,pe={sectionWidth:new L(343,580,726),subtitleSectionWidth:new L(343,580,1200)},qe={title:new je("standardMedium","largeMedium")},P="userDetails",pl=({myProfileView:e,isReimbursementDisabled:i,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:o,isLiteRoleDisabled:f,onClickMenuIcon:$,onAddressClick:T,updateMyProfileLocalData:h,onCancelClick:x,onGetOtp:n,onResendOtp:r,onSaveClick:N,onVerifyOtp:A,onVerifyOtpSuccess:H})=>{const g=te(),M=v.useMemo(()=>ie(i,t,u,p,o,f,y),[i,t,u,p,o,f,y]),[W,Q]=v.useState(!1),[X,D]=v.useState(!1),I=fe(),J=ge(),w=be(J),S=ye({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:oe(e,w,M,p,o),values:oe(e,w,M,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=e.addressData?.addressToCreate!=null&&e.person.address!=null&&!xe(z.getFormattedAddress(e.addressData?.addressToCreate),z.getFormattedAddress(e.person.address))||e.addressData?.addressToCreate!=null&&e.person.address==null,c=K||d||E,R=Object.keys(S.formState.errors).length===0,j=we(S.formState.dirtyFields),V=R&&(j||c),k=async(ee,_)=>{if(ee!=null){const O={..._},he={...e.myProfileLocalData,phone:O[P].phone,isPhoneVerified:O[P].phone!==e.person.user?.phone?!1:e.person.user?.isPhoneVerified??!1,dateOfBirth:O[P].dateOfBirth!=null?z.zeniDate(O[P].dateOfBirth.toString()):void 0};h(he)}};v.useEffect(()=>{const ee=S.watch((_,{name:O})=>{O!=null&&_!=null&&Pe(()=>k(O,_))});return()=>{ee.unsubscribe()}});const Y=S.handleSubmit(()=>{R&&(e.myProfileLocalData.phone!=null&&(e.myProfileLocalData.isPhoneVerified==null||e.myProfileLocalData.isPhoneVerified===!1)?n(e.myProfileLocalData.phone):N())}),{common:U}=re.getLocalizedStrings();return l.jsxs(Ge,{children:[l.jsx(ve,{showOtpPopup:W,phoneNumberPopupDescription:"show something",showPhoneNumberPopup:X,twoFactorAuthenticationView:e.twoFAView,loggedInUserPhone:e.myProfileLocalData.phone,onVerifyOtp:A,onVerifyOtpSuccess:H,setShowOtpPopup:Q,onResendOtp:r,setShowPhoneNumberPopup:D,onGetOtp:n}),l.jsx($e,{source:"MyProfileSettingsPage",title:U.settings.title.myProfile,backgroundColor:I.colors.grey4,showBackButton:!1,showMenuIcon:g==="medium-compact"||g==="small",onClickMenuIcon:$}),l.jsxs(He,{windowSize:g,children:[l.jsx(Qe,{windowSize:g,children:l.jsx(Xe,{windowSize:g,children:U.settings.infoText.myProfile})}),l.jsx(De,{...S,children:l.jsxs("form",{id:ae(P),onSubmit:Y,children:[l.jsx(Je,{windowSize:g,children:l.jsx(Ke,{windowSize:g,children:U.settings.subtitle.myProfile})}),l.jsx(Me,{myProfileView:e,isZeniFinopsRolesUser:w,isDisabled:"readonly",isReimbursementDisabled:i,sectionId:P,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:o,isLiteRoleDisabled:f,onAddressClick:T})]})})]}),V?l.jsx(Se,{style:{zIndex:1,paddingTop:s.sp3,paddingBottom:s.sp3},formId:ae(P),helperStyle:{paddingTop:s.sp0,paddingBottom:s.sp0},primaryBtn:{label:U.footer.save,isLoading:e.updateProfileStatus.fetchState==="In-Progress",style:{minWidth:103}},cancelBtn:{label:U.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{e as te,fs as ie,u as fe,Q as ge,ft as be,a as ye,I as xe,l as N,cd as we
|
|
|
82
82
|
|
|
83
83
|
color: ${e=>e.theme.colors.primary};
|
|
84
84
|
${e=>`${qe.title.style(e.windowSize)}`};
|
|
85
|
-
`,oe=(e,i,t,u,y)=>{const{classList:p,person:o,managersList:f,manager:$,department:T,myProfileLocalData:h}=e,x=
|
|
85
|
+
`,oe=(e,i,t,u,y)=>{const{classList:p,person:o,managersList:f,manager:$,department:T,myProfileLocalData:h}=e,x=z.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:i?{allOptions:ue.roles,selectedOptions:o.userRole?.userRoles??[]}:void 0,nonZeniRole:i?void 0:{userRole:{selectedRole:ce(o.userRole?.userRoles??[]),allRootRole:de(u,y)},productsByUserRole:ne(o.userRole?.userRoles??[],t)},manager:{allUsers:x?[]:f,selectedUser:Ye(x,$)},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}}},Ye=(e,i)=>{if(!e)return i!=null?i.userId:"no_manager"};export{pl as default,ae as uniqueFormName};
|
package/dist/assets/{NavBarWithPicker-BCLF3DOO-CA9gmzsQ.js → NavBarWithPicker-CTxQ7r97-Dg-pVfaM.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{u
|
|
1
|
+
import{u,e as m,j as o,a2 as p,br as g,M as x,o as t,b2 as b,eS as k,bB as y,bp as C,$}from"./index-dX8TSOm6.js";import{n as l}from"./vendor-rkTZJa59.js";const v=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
|
-
`,j=({backgroundColor:e,pickerValues:
|
|
8
|
+
`,j=({backgroundColor:e,pickerValues:a,valueToLabel:n,selectedValue:i,onPickerSelectionChanged:s,isPickerDisabled:c,titleTextStyle:d,styles:h})=>{const r=u();return o.jsx(v,{style:h,children:o.jsx(C,{pickerValues:a,valueToLabel:n,selectedValue:i,onPickerSelectionChanged:s,backgroundColor:e,titleTextStyle:d??$.largeRegular,titleColor:r.colors.primary,selectedOptionColor:r.colors.primary,isDisabled:c})})},{common:{navBar:{back:w}}}=x.getLocalizedStrings(),S={navBarHeight:b},f=l.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
min-height: ${e=>S.navBarHeight.valuePx(e.windowSize)};
|
|
12
12
|
background-color: ${e=>e.bgColor};
|
|
13
|
-
`,T=l.div``,B=l(
|
|
13
|
+
`,T=l.div``,B=l(y)`
|
|
14
14
|
cursor: pointer;
|
|
15
15
|
width: ${t.sp4};
|
|
16
16
|
height: ${t.sp4};
|
|
@@ -27,4 +27,4 @@ import{u as p,e as m,j as o,Z as u,bq as g,M as x,o as t,b0 as b,eS as k,bA as C
|
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function
|
|
30
|
+
`;function z({picker:e,backgroundColor:a,showMenuIcon:n,rightSideComponent:i,onBackClick:s,onClickMenuIcon:c}){const d=u(),h=m(),r=a??d.colors.grey5;return o.jsxs(f,{bgColor:r,windowSize:h,children:[n?o.jsx(P,{onClick:c,"data-testid":p("nav-bar-menu-button")}):o.jsx(g,{style:{marginTop:t.sp1,height:t.sp4},title:w,enterDelay:600,placement:"bottom",children:o.jsx(B,{"data-testid":p("nav-bar-back-button"),onClick:s})}),o.jsx(j,{...e,backgroundColor:r}),i!=null?o.jsx(T,{children:i}):null]})}export{z as R};
|
package/dist/assets/{NavigationArrow-BPrl00va-D8RNnAeo.js → NavigationArrow-DCZBdY6w-DXzWpT0y.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,o as r,
|
|
1
|
+
import{j as e,o as r,ai as n,bB as h}from"./index-dX8TSOm6.js";import{j as l,n as s}from"./vendor-rkTZJa59.js";const c=l`
|
|
2
2
|
border-left-style: none;
|
|
3
3
|
margin-left: -${r.sp3};
|
|
4
4
|
border-top-right-radius: ${r.sp2};
|
package/dist/assets/{NavigationDots-O0W_nmju-D_O1-ums.js → NavigationDots-D6hsvkMX-Dc9TKWSO.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{j as e,
|
|
1
|
+
import{j as e,a2 as v,o as t}from"./index-dX8TSOm6.js";import{n as a}from"./vendor-rkTZJa59.js";const C=a.div`
|
|
2
2
|
text-align: center;
|
|
3
3
|
cursor: pointer;
|
|
4
|
-
`,y=
|
|
4
|
+
`,y=a.div`
|
|
5
5
|
display: inline-block;
|
|
6
6
|
border-radius: 50%;
|
|
7
7
|
margin: ${t.sp0} ${t.sp2};
|
|
@@ -12,4 +12,4 @@ import{j as e,Z as v,o as t}from"./index-RcMUg6rr.js";import{n as l}from"./vendo
|
|
|
12
12
|
cursor: ${o=>o.spendManagementPromoCardActive===!0?"pointer":"default"};
|
|
13
13
|
background-color: ${o=>o.spendManagementPromoCardActive?o.active?o.promoColor!=null?o.promoColor:o.theme.colors.brandColorGold:o.promoColorHover!=null?o.promoColorHover:o.theme.colors.billPayPromoColorHover:o.active?o.theme.colors.hero:o.theme.colors.grey2};
|
|
14
14
|
opacity: ${o=>o.spendManagementPromoCardActive&&!o.active&&o.promoColorHoverOpacity!=null?o.promoColorHoverOpacity:1};
|
|
15
|
-
`,x=({numberOfDots:o,activeIndex:
|
|
15
|
+
`,x=({numberOfDots:o,activeIndex:l,style:n,dotStyle:i,promoColor:m,promoColorHover:p,promoColorHoverOpacity:c,handleClick:s,spendManagementPromoCardActive:d=!1})=>o<=1?null:e.jsx(C,{style:n,children:[...Array(o)].map((u,r)=>e.jsx(y,{style:i,promoColor:m,promoColorHover:p,promoColorHoverOpacity:c,spendManagementPromoCardActive:d,active:l===r,onClick:()=>s?.(r),"data-testid":v("nav-dot",r.toString())},r))});export{x as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as z,a as A,cc as Q,
|
|
1
|
+
import{e as z,a as A,cc as Q,a5 as X,j as t,M as F,F as Y,a7 as Z,C as i,o as a,a6 as ee,b as q,c as te,gr as ae,s as le,cp as O,hE as ne,ch as U,cf as oe,r as l,ar as re,cx as ie,cv as de,cJ as se,h as ce,ew as me,dl as he,aE as be,g as D}from"./index-dX8TSOm6.js";import{b as j,n as o,j as ge}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.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 q("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,7 +66,7 @@ import{e as z,a as A,cc as Q,a2 as X,j as t,M as F,F as Y,a4 as Z,C as i,o as a,
|
|
|
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=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,V)=>{const G=`recommended${ne(V)}`;u.push({field:{name:
|
|
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,V)=>{const G=`recommended${ne(V)}`;u.push({field:{name:k(m,G),defaultChecked:n?.currentSelection===G,isDisabled:g},label:p.globalMerchantName})}),t.jsxs(De,{style:v,children:[t.jsx(Ve,{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}`,De=o.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
padding-top: ${a.sp3};
|
|
@@ -75,7 +75,7 @@ import{e as z,a as A,cc as Q,a2 as X,j as t,M as F,F as Y,a4 as Z,C as i,o as a,
|
|
|
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};
|
|
@@ -85,7 +85,7 @@ import{e as z,a as A,cc as Q,a2 as X,j as t,M as F,F as Y,a4 as Z,C as i,o as a,
|
|
|
85
85
|
${e.theme.colors.dropShadowNormal};
|
|
86
86
|
`};
|
|
87
87
|
border-radius: ${a.sp2};
|
|
88
|
-
`,
|
|
88
|
+
`,ke=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
align-items: center;
|
|
91
91
|
justify-content: center;
|
|
@@ -94,7 +94,7 @@ import{e as z,a as A,cc as Q,a2 as X,j as t,M as F,F as Y,a4 as Z,C as i,o as a,
|
|
|
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)},Fe={sectionTitle:new q("h6Regular","h5Regular")},
|
|
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 q("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=A({mode:"all",reValidateMode:"onChange",defaultValues:j.useMemo(()=>_(e),[e]),values:j.useMemo(()=>_(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()},V=()=>{u()},G=async(r,b)=>{const{newGlobalMerchant:{globalMerchantName:c,recommendedFirst:C,recommendedSecond:L,globalMerchantWebsiteUrl:K}}=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,K)}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:J}=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(_e,{windowSize:s,children:Ce.newVendor}),t.jsx(qe,{children:t.jsxs(Oe,{children:[t.jsx(Je,{children:t.jsx(Ke,{})}),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(V),children:t.jsx(Re,{sectionId:f,isDisabled:x?.status.fetchState==="In-Progress"?"readonly":m,newGlobalMerchantData:x,recommendationFetchState:{fetchState:N,error:H},recommendedGlobalMerchants:J,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`,_=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%;
|
|
@@ -112,9 +112,9 @@ import{e as z,a as A,cc as Q,a2 as X,j as t,M as F,F as Y,a4 as Z,C as i,o as a,
|
|
|
112
112
|
z-index: 2;
|
|
113
113
|
padding-top: ${e=>S.navbarContainerPaddingTop.valuePx(e.windowSize)};
|
|
114
114
|
padding-bottom: ${e=>S.navbarContainerPaddingBottom.valuePx(e.windowSize)};
|
|
115
|
-
`,Ie=o.div`
|
|
116
|
-
flex: 1;
|
|
117
115
|
`,Ee=o.div`
|
|
116
|
+
flex: 1;
|
|
117
|
+
`,Ie=o.div`
|
|
118
118
|
display: flex;
|
|
119
119
|
width: 100%;
|
|
120
120
|
justify-content: flex-end;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as l,j as t,g as s,o as a,s as r,C as m,u as o}from"./index-
|
|
1
|
+
import{e as l,j as t,g as s,o as a,s as r,C as m,u as o}from"./index-dX8TSOm6.js";import{n as i,b as h}from"./vendor-rkTZJa59.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,4 +1,4 @@
|
|
|
1
|
-
import{j as e,o as t,u as s}from"./index-
|
|
1
|
+
import{j as e,o as t,u as s}from"./index-dX8TSOm6.js";import{n as i}from"./vendor-rkTZJa59.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const r=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{j as o,M as i,
|
|
1
|
+
import{j as o,M as i,by as s,c9 as l,s as c,g as a,m as d}from"./index-dX8TSOm6.js";import{n as t}from"./vendor-rkTZJa59.js";import{a as h}from"./ZeniCopyright-BPSL51G5-DcEAxBC-.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const g=t.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
position: relative;
|
|
5
5
|
background-color: ${e=>e.theme.colors.background};
|
|
6
|
-
`,
|
|
6
|
+
`,x=t.div`
|
|
7
7
|
height: 54px;
|
|
8
8
|
`,m=t.div`
|
|
9
9
|
flex: 1 1;
|
|
@@ -37,10 +37,10 @@ import{j as o,M as i,bx as s,c9 as l,s as c,g as a,n as d}from"./index-RcMUg6rr.
|
|
|
37
37
|
color: ${e=>e.theme.colors.grey3};
|
|
38
38
|
font-size: 400px;
|
|
39
39
|
font-weight: ${s.bold};
|
|
40
|
-
`,
|
|
40
|
+
`,r=t.span`
|
|
41
41
|
color: ${a.info};
|
|
42
42
|
&:hover {
|
|
43
43
|
text-decoration: underline;
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
}
|
|
46
|
-
`;function w({onGoBack:e,onGoHome:
|
|
46
|
+
`;function w({onGoBack:e,onGoHome:n}){return o.jsxs(g,{children:[o.jsx(v,{children:"404"}),o.jsxs(u,{children:[o.jsx(x,{}),o.jsxs(m,{children:[o.jsx(f,{children:i.getLocalizedStrings().notFoundPage.cantFindText}),o.jsxs(j,{children:[i.getLocalizedStrings().notFoundPage.pleaseText,o.jsx(r,{onClick:e,children:i.getLocalizedStrings().notFoundPage.goBackText}),i.getLocalizedStrings().notFoundPage.startOverText,o.jsx(r,{onClick:n,children:i.getLocalizedStrings().notFoundPage.homePageText})]})]}),o.jsx(p,{children:o.jsx(h,{})})]})]})}export{w as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,fH as ne,o as i,
|
|
1
|
+
import{j as t,fH as ne,o as i,bi as se,M as I,a9 as re,u as K,e as Q,a as le,cc as ae,l as P,a_ as ce,F as de,E as w,a7 as pe,C as U,fc as me,fI as ue,eJ as he,fJ as fe,fK as ge,ai as xe,r as S,ar as W,w as Y,s as X,m as $e}from"./index-dX8TSOm6.js";import{n as o,b as E}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const{common:ye}=I.getLocalizedStrings(),A={notePadding:new U(S[3],S[4]),noteGap:new U(S[0],6)},M=(e,n)=>`${e}.${n}`,be=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,fH as ne,o as i,bh as se,M as I,a6 as re,u as Y,e as K,a as le,cc
|
|
|
6
6
|
display: flex;
|
|
7
7
|
justify-content: space-between;
|
|
8
8
|
align-items: center;
|
|
9
|
-
`,we=o(
|
|
9
|
+
`,we=o(W)`
|
|
10
10
|
color: ${e=>e.theme.colors.primary};
|
|
11
11
|
`,Se=o.div`
|
|
12
12
|
border-radius: ${i.sp2};
|
|
@@ -59,7 +59,7 @@ import{j as t,fH as ne,o as i,bh as se,M as I,a6 as re,u as Y,e as K,a as le,cc
|
|
|
59
59
|
flex: 1;
|
|
60
60
|
`,q=o(X)`
|
|
61
61
|
color: ${e=>e.theme.colors.hero};
|
|
62
|
-
`,Ee=o(
|
|
62
|
+
`,Ee=o(Y)`
|
|
63
63
|
color: ${e=>e.theme.colors.primary};
|
|
64
64
|
flex: 1;
|
|
65
65
|
width: 120px;
|
|
@@ -74,7 +74,7 @@ import{j as t,fH as ne,o as i,bh as se,M as I,a6 as re,u as Y,e as K,a as le,cc
|
|
|
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=>A.noteGap.valuePx(e.windowSize)};
|
|
77
|
-
`,Ce=o.div``,Pe=o.span``;function Oe({sectionId:e,monthEndInsightsNotificationLocalData:n,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=
|
|
77
|
+
`,Ce=o.div``,Pe=o.span``;function Oe({sectionId:e,monthEndInsightsNotificationLocalData:n,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=K(),c=Q(),{sectionTitle:$,monthEndInsights:l,mode:y}=ye.settings.notifications,h=x[0],O=x.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(be,{children:[t.jsxs(je,{children:[t.jsx(we,{children:$.monthEndInsights}),t.jsx(Ce,{children:t.jsx(Ee,{children:y.email})})]}),t.jsxs(Se,{children:[t.jsxs(ve,{disabled:s.enabled==null,children:[t.jsx(q,{children:l.labels.notifyMe}),t.jsx(he,{defaultChecked:n.notify,checkBoxValue:M(e,"notify"),name:M(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(w,{controller:s.enabled!=null,children:t.jsxs(Ie,{children:[t.jsx(B,{children:t.jsx(q,{children:l.labels.notifyOthers})}),t.jsx(B,{children:t.jsx(fe,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:f,selectedUsers:f.filter(d=>n.recipientEmailIds.includes(d.email)),allNonUsers:[],selectedNonUsers:[]},hideMultiValueOnBlur:!1,valueToSubtitle:d=>{const r=a.findIndex(p=>p.userId===d),b=[];if(r!==-1){const p=a[r],j=ge(p.userRole.userRoles);j.length>0&&b.push(j);const N=m.find(L=>L.classId===p.userRole.accountingClassIDs[0]);return N!=null&&b.push(N.className),b}else return[]},name:M(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(w,{controller:s.enabled==null,children:t.jsxs(ke,{windowSize:c,children:[l.stopReceivingEmailsText,h?t.jsxs(Ne,{href:`mailto:${h.email}?cc=${O}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Pe,{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};
|
|
@@ -82,11 +82,11 @@ import{j as t,fH as ne,o as i,bh as se,M as I,a6 as re,u as Y,e as K,a as le,cc
|
|
|
82
82
|
display: flex;
|
|
83
83
|
justify-content: space-between;
|
|
84
84
|
align-items: center;
|
|
85
|
-
`,Me=o(
|
|
85
|
+
`,Me=o(W)`
|
|
86
86
|
color: ${e=>e.theme.colors.primary};
|
|
87
87
|
`,F=o.div`
|
|
88
88
|
display: flex;
|
|
89
|
-
`,V=o(
|
|
89
|
+
`,V=o(Y)`
|
|
90
90
|
color: ${e=>e.theme.colors.primary};
|
|
91
91
|
flex: 1;
|
|
92
92
|
width: 120px;
|
|
@@ -118,7 +118,7 @@ import{j as t,fH as ne,o as i,bh as se,M as I,a6 as re,u as Y,e as K,a as le,cc
|
|
|
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 qe({sectionId:e,remindersLocalData:n,reminderNotificationSettings:s}){const{texts:a,settings:f}=I.getLocalizedStrings().common,{notifications:m}=f,x=P.NOTIFICATION_MODES.slice(0,1),u=P.REMINDER_NOTIFICATION_TYPES.filter(c=>s[c]!=null);return t.jsxs(Le,{children:[t.jsxs(Re,{children:[t.jsx(Me,{children:m.sectionTitle.reminders}),t.jsxs(F,{children:[t.jsx(V,{children:a.frequency}),t.jsx(V,{children:m.mode.email})]})]}),t.jsx(Ae,{children:u.map((c,$)=>t.jsxs(Be,{firstElement:$===0,lastElement:$===u.length-1,children:[t.jsx(Te,{children:m.reminders[c]}),t.jsxs(F,{children:[t.jsx(Ue,{children:t.jsx(me,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:n[c].frequency},name:D(e,c,"frequency")})}),t.jsx(ze,{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 z={contentPadding:new U(S[3],S[8])},g="reminders",v="monthEndInsights",_="notificationSettingsPage",H=e=>`${e}_form`,{settings:Z,reloadPage:De}=I.getLocalizedStrings().common,Fe=e=>{const n=
|
|
121
|
+
`;function qe({sectionId:e,remindersLocalData:n,reminderNotificationSettings:s}){const{texts:a,settings:f}=I.getLocalizedStrings().common,{notifications:m}=f,x=P.NOTIFICATION_MODES.slice(0,1),u=P.REMINDER_NOTIFICATION_TYPES.filter(c=>s[c]!=null);return t.jsxs(Le,{children:[t.jsxs(Re,{children:[t.jsx(Me,{children:m.sectionTitle.reminders}),t.jsxs(F,{children:[t.jsx(V,{children:a.frequency}),t.jsx(V,{children:m.mode.email})]})]}),t.jsx(Ae,{children:u.map((c,$)=>t.jsxs(Be,{firstElement:$===0,lastElement:$===u.length-1,children:[t.jsx(Te,{children:m.reminders[c]}),t.jsxs(F,{children:[t.jsx(Ue,{children:t.jsx(me,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:n[c].frequency},name:D(e,c,"frequency")})}),t.jsx(ze,{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 z={contentPadding:new U(S[3],S[8])},g="reminders",v="monthEndInsights",_="notificationSettingsPage",H=e=>`${e}_form`,{settings:Z,reloadPage:De}=I.getLocalizedStrings().common,Fe=e=>{const n=K(),s=Q(),{notificationSettingsView:a,signedInUser:f,onFormDataChange:m,resetUpdateStatus:x,onSave:u,onCancel:c,onClickMenuIcon:$}=e,{notificationSettingsLocalData:l,allUsers:y,notificationSettings:h,classList:O,managersList:d,updateStatus:r,controllersList:b}=a,p=le({defaultValues:J(l,y)}),j=E.useCallback(R=>{m(Ke(R))},[m]),N=p.handleSubmit(()=>{u()}),L=E.useCallback(()=>{p.reset(),c()},[c]);E.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(J(l,y)),x())},[l,a.updateStatus.fetchState,y]),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=f.userEmail!=null?P.isMonthEndNotificationsSectionVisibleOnSettingsPage(h.monthEndInsightsNotificationSettings,f.userEmail):!1,ie=P.isRemindersSectionVisibleOnSettingsPage(h.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(Ve,{children:[t.jsx(ce,{source:"NotificationSettingsPage",title:Z.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(w,{controller:ie,children:t.jsx(qe,{reminderNotificationSettings:h.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:g})}),t.jsx(w,{controller:te,children:t.jsx(Oe,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:h.monthEndInsightsNotificationSettings,sectionId:v,allUsers:y,classList:O,managersList:d,controllersList:b})})]})})})})]}),t.jsx(w,{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(Je,{children:De.label})]}):t.jsx(Fe,{...e})}const Ve=o.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
width: 100%;
|
|
124
124
|
min-height: 100vh;
|
|
@@ -160,4 +160,4 @@ import{j as t,fH as ne,o as i,bh as se,M as I,a6 as re,u as Y,e as K,a as le,cc
|
|
|
160
160
|
`,Je=o(re)`
|
|
161
161
|
margin-top: ${i.sp3};
|
|
162
162
|
color: ${e=>e.theme.colors.hero};
|
|
163
|
-
`;function k(e){const n=Z.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:n}}}function J(e,n){return{[g]:{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
|
|
163
|
+
`;function k(e){const n=Z.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:n}}}function J(e,n){return{[g]:{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 Ke(e){return{[g]:{missingReceiptNotification:C(e[g].missingReceiptNotification),uncategorizedTransactionNotification:C(e[g].uncategorizedTransactionNotification),pendingBillApprovalNotification:C(e[g].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:C(e[g].pendingReimbursementApprovalNotification)},[v]:{...e[v],recipientEmailIds:e[v].recipientEmailIds.selectedUsers.map(n=>n.email)}}}export{nt as default,H as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as e,r as a}from"./index-
|
|
1
|
+
import{$ as e,r as a}from"./index-dX8TSOm6.js";const t=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,p=1e3;export{l as A,i as E,n as I,p as L,o as a,t};
|