@zeniai/web-cockpit-ui 1.15.23-dev → 1.15.24-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-BOZmOJHO-DA9D4iJH.js → ACHDetailsPage-DsLMYxB2-DiWdTxEX.js} +3 -3
- package/dist/assets/{AIPerformancePage-ZVCJizP9-D55hw0l8.js → AIPerformancePage-Do1Jme84-DdOnxVtL.js} +45 -45
- package/dist/assets/AccountInfoPage-DBm3kSeD-C0VOOR62.js +18 -0
- package/dist/assets/{AccountInfoPageContent-D0wuuzMd-YMtVFfpn.js → AccountInfoPageContent-DLxvkpvG-BfQIWLZb.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-Dbzdjjk6-DxFx-N4r.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DbHX6rPG-BwmWp-T3.js → AccountReconDetailsDrawerPage-BMhGA2Nw-3sJH1EqF.js} +11 -11
- package/dist/assets/{AccountRow-Bk_25FCy-D03inSab.js → AccountRow-D5S7-AKx-CMAenaIW.js} +28 -28
- package/dist/assets/{AccountsPromoCardStack-DAXRwY1f-DegwS44K.js → AccountsPromoCardStack-Cq1lsoaV-ClvHGp3M.js} +27 -27
- package/dist/assets/AddAddressForCardDrawer-Cfd3TMpf-DJjbOnkw.js +6 -0
- package/dist/assets/{AddToWalletPage-CzziHgi7-j3gMOtad.js → AddToWalletPage-CEhxUk5V-D1aSu8HU.js} +32 -32
- package/dist/assets/{AgingReportsPage-Bdi3krKK-Bf-4bvXh.js → AgingReportsPage-CYrw-ffE-CLFSHLPA.js} +5 -5
- package/dist/assets/{AllUserItems-XWDuiug6-DkHHRN56.js → AllUserItems-CUPJzOon-ClzFTm8l.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-CaM_AzrU-DCtFqylK.js → ApAgingDetailPage-BHfoAgPL-9OKwbRzK.js} +3 -3
- package/dist/assets/AppBasePage-BhcC9bkH-DtCArmcZ.js +71 -0
- package/dist/assets/{AppDrawerContent-DSX1364T-CNP-B7uf.js → AppDrawerContent-CxmXgxbq-C_5ysSm0.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-DrjPOeyp-BrhLSwXJ.js → ApprovalRulesSettingsPage-gu0Fjo8W-B6qPc807.js} +2 -2
- package/dist/assets/{ArAgingChart-M7KUNA4G-DKIpaPUv.js → ArAgingChart-CxGoJ-eL-BTrpq4ll.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-7lby5mXn-BtLBFlEX.js → ArAgingDetailPage-CNKe5FGf-DnsMVnO9.js} +4 -4
- package/dist/assets/{AttachmentView-Bsa0u92o-BEQFOxXv.js → AttachmentView-BNb1kv2i-A0kL4eNc.js} +6 -6
- package/dist/assets/{BankAccountSection-BkOlwayA-DP864Lrq.js → BankAccountSection-nxf2HgVE-CszdswjK.js} +7 -7
- package/dist/assets/BankAccountWarningSection-b7VJzhDr-C9lI5R8O.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-C_YytTke-B8k-pddW.js → BankConnectionsSettingsPage-Dj5RPseY-BsNJb4MV.js} +26 -26
- package/dist/assets/{BillDetailPage-DvU5_Rsp-C9dpUiI6.js → BillDetailPage-B8vxUUjs-wCDXpcbd.js} +8 -8
- package/dist/assets/BillPayApprovalRuleDetailPage-RxCSuM7j-Cm0UAXUf.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-CA9eufjt-BNyCnVeE.js → BillPayApprovalRulesPage-qB8FSNxF-CXWPxuvt.js} +16 -16
- package/dist/assets/{BillPayPromoPage-DsXPWKAf-BqLcGJ_H.js → BillPayPromoPage-C-MLRBwj-rVTQLPGI.js} +11 -11
- package/dist/assets/{BillPaySetUpPage-CeMhzZ_3-BI9-weFw.js → BillPaySetUpPage-DUcVwFf0-BSesdKGQ.js} +4 -4
- package/dist/assets/BillingSettingsPage-Br6yvoDv-TW6U52nf.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-WrR46NRa-CKI5pK1F.js → BillsBulkReviewDrawerPage-Cm2iOzT8-r_BIf6ms.js} +1 -1
- package/dist/assets/{BoxItem-C0M4PSXY-D0kSlmNN.js → BoxItem-BIGbJrpV-DWBd9dMt.js} +1 -1
- package/dist/assets/BusinessVerificationPage-orZNuqPA-7wUdhrYB.js +138 -0
- package/dist/assets/{CardNumberSubText-B4dAoYDE-B1SbTgmV.js → CardNumberSubText-lCdVj97_-CYJ5QkWc.js} +1 -1
- package/dist/assets/{CashbackDetailPage-B6xvn-y3-CO89J05d.js → CashbackDetailPage-DyqE-V7x-CRCR9nS0.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-eJJ4MEE6-BXMqrqi9.js → ChargeCardDetailPage-0a7KVsQ4-hN8gCQtG.js} +40 -40
- package/dist/assets/{ChargeCardListPage-BYI2HIjA-B0giUbEV.js → ChargeCardListPage-DZgzRmUt-Do_X95aE.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DAVYmKCK-DEY8KXB2.js → ChargeCardListTable-CrPIqCYY-D8irt-gE.js} +51 -51
- package/dist/assets/{ChargeCardPaymentHistoryPage-BX5HtOxd-BV2ugIHB.js → ChargeCardPaymentHistoryPage-BenEXh0n-DNZruLon.js} +27 -27
- package/dist/assets/ChargeCardPromoPage-Dv8vSGMv-DpjOjqBE.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DG1eKhYR-BVTvcCk1.js → ChargeCardSetupPage-BQdagLKY-25EtnZAG.js} +6 -6
- package/dist/assets/ChargeCardStatementsPage-1ntqN8-C-D2mSHxbe.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-BdacGDpy-CN6aGowb.js → CheckDepositDrawerPage-Bbe3YMhk-CO2Q4-ZB.js} +23 -23
- package/dist/assets/{CollapsableReportTable-UADp1m_8-C887iUXZ.js → CollapsableReportTable-Bjp9ufA3-Dgphs2fm.js} +84 -84
- package/dist/assets/CompanyOfficerDetailsSection-DQYR5DxB-DWkkLcmn.js +260 -0
- package/dist/assets/{CompanyPassportCard-BJN2GEVm-LlIc7P9q.js → CompanyPassportCard-B9yLuYoV-D8pOY5Pg.js} +6 -6
- package/dist/assets/CompanyPassportPage-DrNN8V93-BS2z_ZGy.js +574 -0
- package/dist/assets/{CompleteProfile-C8X8Z3C2-Bzf6-WNu.js → CompleteProfile-DlDJUF9s-CdsViPGP.js} +1 -1
- package/dist/assets/ConfettiBurst-arWK85ba-Nctx98GV.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D4MBpZa1.js → ConstrainedInnerElement-BeIpAPjB-CUj8qilg.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-y-COpdhs-CywEWB6a.js → CreateOrEditVendorPage-C0zQBkip-U8NfTx7v.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-CntYJJ8v-CZ68p-k6.js → CreditCardPaymentDrawerPage-BonuuJrp-5J05qwGb.js} +14 -14
- package/dist/assets/{CurrencySelectField-Dn-hE2az-n1RHeHxE.js → CurrencySelectField-CcwMU19m-DhJ7GYyu.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-B9MZHJVc-BxzBFrW0.js → CustomerOnboardingActivationPage-CnLIuUI_-CZ-HlIwz.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-_uAzzeQT-CG5sXasi.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DaEKstx7.js → CustomerOnboardingDetailPageSkeleton-DFnaf7ny-CPvnX2LA.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Dabc1DIn-BjBCiSR-.js +66 -0
- package/dist/assets/CustomerOnboardingPage-Dt4u_Cnq-BSCcv5Lh.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-DrUE-f0H-oFUJaNSz.js +202 -0
- package/dist/assets/{Dashboard-CCV0_aCP-BoBmH13Z.js → Dashboard-Cgrcdi17-CUBT5krQ.js} +497 -478
- package/dist/assets/{DashboardReportPage-CmoH9Vrc-CzA5O7KO.js → DashboardReportPage-DbhRTdc4-CQqal3HB.js} +17 -17
- package/dist/assets/{DashboardSidebarBackgroundAnimation-hw3einS7-DUVXWx2a.js → DashboardSidebarBackgroundAnimation-C8g6lMFj-B53Xk9C1.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DgdkYGjP-BkMVZWVv.js → DepositAccTransactionItem-D1o4IBkT-CKPRK6dd.js} +8 -8
- package/dist/assets/{DepositAccTransactionListPage-CF0WJn9M-DlPgp9dm.js → DepositAccTransactionListPage-xxNjjtT--2BN6hfkm.js} +6 -6
- package/dist/assets/{DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js → DomesticWireDetailsPage-CwJaUAl--Cj9x82UD.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dt9yt4Fz-OGiiWSIN.js → DownloadOverlay-DQhWlo3j-Bh86wxNB.js} +18 -18
- package/dist/assets/{DrawerPage-Clki97FA-CqA84wbo.js → DrawerPage-Cy3cU-ts-D2TKFfD6.js} +18 -18
- package/dist/assets/EditPeoplePage-XMLOGiwc-fvqHi7F-.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CXy2ZWfZ-BrOpTSUf.js → EditReimbursementDetailPage-CPtNF3lE-CQCoSlzQ.js} +70 -70
- package/dist/assets/EntityDetailPage-CtIcsfb_-JOBkNq01.js +18 -0
- package/dist/assets/{EntitySummarySection-D_YLsP_P-CSh4l-FA.js → EntitySummarySection-DKVe_auH-CeBDnO_D.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-4z3yzHEA-ChRwE60S.js → ExpenseAutomationOverviewPage-BerWhvvC-CSjoH80E.js} +16 -16
- package/dist/assets/{ExpenseAutomationPage-BJ4H_c2z-FgmOcOvc.js → ExpenseAutomationPage-ZFDuZKVx-B83nArlS.js} +133 -133
- package/dist/assets/{ExpressPayPage-CTBD4y1v-NYjAlIxO.js → ExpressPayPage-DWGFzFY1-Cbs-ZH6I.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-CYuTQWpP-Bl8VAq6v.js → FeaturePreviewPage-CTROYslk-B5_k_VjC.js} +3 -3
- package/dist/assets/{FollowStepsSection-BrpI2HyW-DNSECr6B.js → FollowStepsSection-Cdw8tftg-CoRfWAMh.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BcvxLqIL-CD9rfA0-.js → GlobalReviewListPage-FIiMWDt4-C-FGlEih.js} +47 -47
- package/dist/assets/{InformationCardStack-CU4Moqky-Bc_PhxNK.js → InformationCardStack-DRM_CrnR-CyxIUlsK.js} +5 -5
- package/dist/assets/{InsightsCardStack-D8UQiuXZ-DRkswx9n.js → InsightsCardStack-B6KSNBOO-BsTECKaL.js} +10 -10
- package/dist/assets/{InsightsSection-C3X6ZNEt-CSaE3QjL.js → InsightsSection-CwYXRQBN-CI3Avgr4.js} +6 -6
- package/dist/assets/{IntegrationsSettingsPage-CsLv00HW-c8_zALL5.js → IntegrationsSettingsPage-VPy6IQco-D5f0_wQb.js} +12 -12
- package/dist/assets/{InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js → InternationalWireSwiftDetailsPage-CbztUTOk-DKKJSiFP.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-YuglosZT-hHWwb4SL.js +292 -0
- package/dist/assets/{InviteFormPage-B3KmRWXd-DZboWDF0.js → InviteFormPage-BBHD1wv7-BsXiZ5Av.js} +38 -38
- package/dist/assets/{InvitePageListView-DfpJBZru-8z8nAtFG.js → InvitePageListView-Gpf4q2HF-Cgrh3Brc.js} +33 -33
- package/dist/assets/InvitePeoplePage-C0n05Aw5-BiEQhiP1.js +12 -0
- package/dist/assets/InvoiceUploadSection-UXlA1jqD-DKu4SBzN.js +140 -0
- package/dist/assets/{IssueChargeCardPage-mPsxt52d-PfQTvSAJ.js → IssueChargeCardPage-CiL8yWbI-TIPP0zPK.js} +17 -17
- package/dist/assets/{LabeledAddressValue-C4fnQSyi-BYyUYLsR.js → LabeledAddressValue-DGEHzZ-x-CpMYU-xP.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D6dEaI69-DANZLTzI.js → LabeledAddressValueField-ClBxKhYQ-BPwdblj0.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-B1QdZmvd-DW7Mu6XT.js → LabeledControlledCheckBoxField-B8sC2eqF--fXqIBCr.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js → LabeledCreatableSingleSelectField-BzOLZcSy-pPeiMm4m.js} +17 -21
- package/dist/assets/LabeledDocumentField-D520KMMj-BWBkZsyZ.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-A-rgip1E-DXyiM_iz.js → LabeledDropDownFormattedTextField-BwoAMxs1-UIy7_mYn.js} +8 -8
- package/dist/assets/{LabeledText-38fqkkE--BV0pTSSz.js → LabeledText-CYRn3LhA-DMSyV-Kr.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-Bm5BEKWh.js → LabeledUserSingleSelectWithSubtitlesField-BzsLAAeQ-B2HtQzCh.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-Dg9_Ww-A-6LCZnv3_.js → LabeledZeniRolesDropDownField-UiY4N_NF-DAzbxXzi.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-66mQ4nrK-Blq1QPxg.js → LinkJETransactionPage-PvLzGCy_-BrMsOKhb.js} +10 -10
- package/dist/assets/{LockCardPage-BCqN4K17-BFhQlELS.js → LockCardPage-Cv1mXAE9-9__dgVHz.js} +58 -58
- package/dist/assets/{LowBalancePopup-BPk1-eAb-DPKxi1xa.js → LowBalancePopup-go-1GM2R-DD-JSJCf.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-C7hjYeuM-BHqLoDUK.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv6pT3w6-pHplq2If.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CfMDImmz-BFiTy8N6.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-D9Xys0GC-BWFMi_8X.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js → MagicLinkTitleSection-CPs72o7_-B260haOm.js} +4 -4
- package/dist/assets/MailingDetailsSection-wmwBSANL-jxA64fnZ.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-z0tHaSl1-D8NpXmDe.js → MyBankConnectionsSettingsPage-Xo-zsUV_-Cbo1qVHj.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-CwGYwufd-BhPm_tq1.js → MyPendingActivationChargeCardListPage-pMnrYxHt-D7bLZ8M3.js} +1 -1
- package/dist/assets/MyProfileSettingsPage-BKCzLBD9-DJbKBDYL.js +85 -0
- package/dist/assets/NavBarWithPicker-DFywcKz8-CSP4toa_.js +30 -0
- package/dist/assets/{NavigationArrow-NuJEpE7O-BsQF0lUP.js → NavigationArrow-BiYMk3Wz-DV9laMt6.js} +7 -7
- package/dist/assets/{NavigationDots-C7Na64B9-CHGprwD5.js → NavigationDots-CCLpxuwG-stH2nUIP.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-Cus6zYV_-DyfxnG1c.js → NewGlobalMerchantPage-C48VzTEf-Rej0eQZY.js} +7 -7
- package/dist/assets/NoDataChart-sGr0o2BN-Bsuwo3YM.js +26 -0
- package/dist/assets/NoDataTable-0l_09Wxn-YZLcmEEn.js +8 -0
- package/dist/assets/{NotFoundPage-RjXioqc8-DMQ0F7IL.js → NotFoundPage-DFw9HBCT-CpQg4_TB.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-DrDW_LU_-mWZ117zO.js → NotificationSettingsPage-D1rRNeRj-BoZjctkd.js} +33 -33
- package/dist/assets/{NotificationsListConfig-C6_ap0JT-D0MspRwp.js → NotificationsListConfig-LrfChZUx-DIWHkHKZ.js} +1 -1
- package/dist/assets/{NotificationsPage-DOM-Gf5P-BRdHJwOp.js → NotificationsPage-Cx4eb-l6-Tv8h6IrX.js} +35 -35
- package/dist/assets/{OpExByVendorPage-CTuBB827-Bbt1veu8.js → OpExByVendorPage-LpdEEb1U-C_zXpayd.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-DVuvwnps.js +11 -0
- package/dist/assets/{PandLWithForecastPage-BXaENYdR-DDSkVfM3.js → PandLWithForecastPage-DwaVCK2R-B3ldDrVm.js} +7 -7
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CBVazVlJ-Cj6aYWOl.js +107 -0
- package/dist/assets/{PeoplePage-BlyVVthI-fFVSXzpH.js → PeoplePage-z8ZDLJp4-CzfsOL8l.js} +31 -31
- package/dist/assets/{Preview-DuIVCswF.js → Preview-CYHE6ojy.js} +1 -1
- package/dist/assets/{ProductsCarousel-CAcPH--E-BIuBBeKB.js → ProductsCarousel-Dp5Of83--DVU-QMP8.js} +6 -6
- package/dist/assets/{PromoBaseCards-BVwZMVeE-DstwmvWv.js → PromoBaseCards-Bpmi7do2-BJmFgVqa.js} +14 -14
- package/dist/assets/{QBOConnectionDialog-C3OYyhYO-5hTjd5-l.js → QBOConnectionDialog-BCOigpzW-42XztANC.js} +6 -6
- package/dist/assets/QBOSetupSection-Blf2QxYu-XsjB6fpI.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D4G5Zc8u-xW6pbKuW.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-Cx0gs7sS-B-krQa99.js → ReimbursementApprovalRulesPage-Cq3lTD4B-tMr-F7DV.js} +5 -5
- package/dist/assets/{ReimbursementDetailPage-Cs_rmkS8-DW1o_189.js → ReimbursementDetailPage-CxP7ZEyW-B6qTtbOy.js} +18 -18
- package/dist/assets/{ReimbursementPromoPage-CCFl0kQK-B9O9Pssf.js → ReimbursementPromoPage-tSycJK9l-Ckl5RC8p.js} +13 -13
- package/dist/assets/{ReimbursementSetUpPage-lf3xTVFh-COXeJ33g.js → ReimbursementSetUpPage-iGjNkC8E-CCqGUnkA.js} +11 -11
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-HrLSNRHq-MRocYFws.js +1 -0
- package/dist/assets/{ReloadCard-V_tv6YLR-pIKKLA9H.js → ReloadCard-CuRTghCv-1vd5kIoI.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-CWEvGn8L-CcECbGsj.js → ReportTableViewSelector-C2oaqgZL-DxS4YP70.js} +29 -29
- package/dist/assets/{ReportsPage-BJOH1wgv-CXqYsJPZ.js → ReportsPage-D5DDZHox-DJ4p-I_l.js} +5 -5
- package/dist/assets/{RevenueChart-C_tSBw_N-Cwj-E2UP.js → RevenueChart-Na7paK3w-C9jLX88S.js} +15 -15
- package/dist/assets/{ReviewDetailsPage-CScPf4w3-Cz00WVXv.js → ReviewDetailsPage-BFj3ZJyp-DV2ASgwc.js} +30 -30
- package/dist/assets/{ReviewOverlay-BQVwPzKa-BxRw_iSk.js → ReviewOverlay-Cz8LqkKC-CAVeDnHw.js} +25 -25
- package/dist/assets/RoleWithToolTip-CSC65531-LXNMc-YZ.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cgqgn7nk-B00K9FnO.js → ScheduleDetailsFixedAssetsPage-UVIM7eda-BD3KjhgE.js} +8 -8
- package/dist/assets/ScheduleDetailsPage-_mUOLW28-DoX9vWxb.js +37 -0
- package/dist/assets/{ScheduleSequenceTable-DDhoyPGX-CcxwU9B1.js → ScheduleSequenceTable-DQlMdMO0-r5LBclLE.js} +24 -24
- package/dist/assets/{ScreenRoutes-CbhRMGYb.js → ScreenRoutes-IDjhPTpz.js} +1 -1
- package/dist/assets/{SetUpAccountSection-AVL_16HQ-CfJdXpM8.js → SetUpAccountSection-C_DCt5R8-BxiVSyFQ.js} +5 -5
- package/dist/assets/{SignIn-BLUwTp1l-Diu2Dl0P.js → SignIn-1fhq5RCV-BLtoe96T.js} +24 -24
- package/dist/assets/{SignInScreen-BAFcpgXM.js → SignInScreen-Bt9k9qpu.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DJbNFHvP-HVPQNsga.js → SpendManagementListViewPage-Cxe5movK-Q_tVVASy.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-J5pIRm-Q-zn5Z_C9i.js → SpendManagementPerTabPage-Dj9VrJCp-yGVPTW-t.js} +54 -54
- package/dist/assets/{SpendManagementSection-DZaP5ai6-BivazJAu.js → SpendManagementSection-DGGqh0xs-CpnXaxhL.js} +25 -25
- package/dist/assets/{StatementItem-D2Fx65LN-DEt1HHDA.js → StatementItem-ChfKUse--BISxQzB7.js} +7 -7
- package/dist/assets/{StatementsPage-BCh51lDW-DEzdN4yP.js → StatementsPage-BAg2GA58-6dBp6JN9.js} +2 -2
- package/dist/assets/{StatusSwitcher-C5ZrzI8Y-RGx-Rq5m.js → StatusSwitcher-DsSflF9D-B-QsB0QQ.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BXZxKeq9-N3T4zPQn.js → SubTabSwitcher-DxUZTJB0-xCwGWu4u.js} +1 -1
- package/dist/assets/{SummaryCard-194UToy6-ZSyhRMcE.js → SummaryCard-B1mg84fd-GbF-N-vY.js} +1 -1
- package/dist/assets/{TaskManagementPage-zcxDUo0t-CfkgE02v.js → TaskManagementPage-Z40FApxJ-CMQHa1zS.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-Bsv7zQmN-0uKzxEGk.js → TimeRangeSwitcher-B4sHEx1F-C3HNMT2K.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-DtxsNy1Z-Dpwd2ynA.js → TimeframeSwitcher-D8zfgEX_-Bal85V7i.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-B5bFhbvL-C0I_F7ow.js → TimeframeSwitcherWithToggle-CD1f2F9o-B2FZN44A.js} +2 -2
- package/dist/assets/{TopExCard-CBua66Cj-CBuXuQOS.js → TopExCard-BpicN73M-DINSiiqz.js} +6 -6
- package/dist/assets/{TopExDetailPage-DtMA-XMp-EMAyiYoo.js → TopExDetailPage-iw-7HulH-DXnd8BHg.js} +17 -17
- package/dist/assets/{TransactionActivityLogPage-C3BPL8hi-rjH_p-06.js → TransactionActivityLogPage-D7oH2hs_-vzUEThxA.js} +16 -16
- package/dist/assets/{TransactionDetailPage-CeKaduBe-gc3Brzcv.js → TransactionDetailPage-DLiA4XLe-BY8d6fwg.js} +28 -28
- package/dist/assets/{TransactionList-CSx8ZCZ--BfPEmkgj.js → TransactionList-CFz4Gf7Z-BRDY3-q0.js} +11 -11
- package/dist/assets/{TransactionListBig-B4cNQY2d-xUQ7gipo.js → TransactionListBig-BYHLJtlB-BgEsroqF.js} +17 -17
- package/dist/assets/TransactionListPage-BxtVNNib-CNsq76WM.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DsxI8U5b-BIfZV2Ct.js → TransactionVendorDetailPage-CEAFUrTl-DeNvS775.js} +7 -7
- package/dist/assets/{TransferDrawerPage-C91TQwZi-B3ongtBQ.js → TransferDrawerPage-C6hdavbT-DrJHkT7i.js} +34 -34
- package/dist/assets/{TreasuryOverviewPage-BoBn_gtF-1-z_98qx.js → TreasuryOverviewPage-BP26JP5_-CP8HfxZ3.js} +47 -47
- package/dist/assets/{TreasuryPromoPage-CQ-VYEQC-DBZ3Ca-z.js → TreasuryPromoPage-DjVR20gs-wVmMwzp-.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-Beixz0Ou-tCIgJGtT.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-Cxhr51TD-DSRIuJm4.js → TreasuryTaxLetterPage-BW2fTHN--mfzNiBgO.js} +3 -3
- package/dist/assets/{TrendChart-DATgAEKG-BGhvWXdf.js → TrendChart-sup0F9JZ-BygEThKD.js} +5 -5
- package/dist/assets/{TrendWithTransactions-DqPFuOvC-Bu3TdK3s.js → TrendWithTransactions-C7azwT25-C5kNS0ZN.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BQjXazj4-BOpLaunW.js → UncategorizedAccountsMappingPage-Etkl_fAG-DXRnm2d5.js} +9 -9
- package/dist/assets/{UnitIntegrationPage-BiRGRtpI-DxaSFD1H.js → UnitIntegrationPage-ZsJHRr7Z-BSAHu-Ly.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-DCldWCol-B3iVz4fI.js → UploadAdditionalDocumentOverlay-Z5AuwaDQ-BUBRAJWb.js} +1 -1
- package/dist/assets/Vendor2FAPopup-BcnPzCr1-DSeMdCqS.js +1 -0
- package/dist/assets/VendorACHDetailsPage-D5SdrDy6-N4lQNnE6.js +1 -0
- package/dist/assets/{VendorDetailPage-DY4iaLtz-AjIptjjy.js → VendorDetailPage-Dnr8_eWj-07Hixr6q.js} +91 -91
- package/dist/assets/VendorDomesticWireDetailsPage-Bv2OKF0M-DAfdk4lz.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dep7O8Uz-Do-rxCWR.js → VendorFiling1099EditablePage-C7SK3oAX-sJjp-Qba.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CJQIZn8g-DkET_08K.js → VendorFirstReviewPage-sMOzaFlZ-Bd_oFyDy.js} +49 -49
- package/dist/assets/{VendorInternationalWireDetailsPage-CJG5RIa2-DsTS-Uh9.js → VendorInternationalWireDetailsPage-B2c1Rev--BIjFP46u.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CRpoKTWj-B3s-WEz1.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D65ewlO6-DU6ZIrZA.js → VendorsAccountsSection-Df4nOfCb-CW1ZNQaH.js} +2 -2
- package/dist/assets/{VerifyDevice-B1_jgwgY-DAz-KAtd.js → VerifyDevice-ogibIJ0s-DAh6OFj7.js} +12 -12
- package/dist/assets/{VideoPlayer-vWSXteQ6-D5qS5__p.js → VideoPlayer-C5JZyeyT-D8KcGBDj.js} +2 -2
- package/dist/assets/{VideoPopup-CdsmU6H4-Du7UVtqu.js → VideoPopup-Dw-9lQNK-0rd-UPIe.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-CjgOsD00-Denf4Sio.js → WarningsDrawerPage-CR9wWm5g-e4J9Pag3.js} +11 -11
- package/dist/assets/{ZeniAccountDetailPage-DiLnoonB-DZ1tpmUL.js → ZeniAccountDetailPage-CP6XbPoi-BnZudMg6.js} +20 -20
- package/dist/assets/{ZeniAccountListViewPage-YfPsO8ls-CfUQiafE.js → ZeniAccountListViewPage-B-8rvc59-BisABJW0.js} +25 -25
- package/dist/assets/ZeniAccountNavBarPieces-D_Jdtql7-D0896al8.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-cEfW88p8-BvUDgJZp.js → ZeniAccountPromoPage-DmXuuPc3-BsixtEBb.js} +28 -28
- package/dist/assets/ZeniAccountSetupPage-CiLrh0yu-B_DH4YUU.js +36 -0
- package/dist/assets/{ZeniCopyright-BROHmszx-VivYqHvz.js → ZeniCopyright-DIzbP27w-D1bPi2Em.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DZZrrFXf-DAQs85Xb.js → ZeniTransferAmountSlider-CYZYkuN_-Bs-AxRga.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-DBbMptVC.js → add-to-wallet-DgdBD8_G-DgwTOiTb.js} +1 -1
- package/dist/assets/{analytics-DH2FWXQR.js → analytics-BVR-nkdQ.js} +1 -1
- package/dist/assets/analyticsHelper-CeSpIREf.js +1 -0
- package/dist/assets/{analyticsHelper-FJ-cS8qS-Bs47KEMI.js → analyticsHelper-CirorDP7-BWRCY1oT.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DzFpwdLa.js → arrow-south-east-round-PEovUgvH-DTABdjGY.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-C9AIqfs3.js → auto-transfer-rule-mbafm5D3-uZ4hnV5g.js} +1 -1
- package/dist/assets/{chartTypes-DJdbX13L-BnqLcj4-.js → chartTypes-B9iWOG3r-C4s2YMo6.js} +1 -1
- package/dist/assets/{commonDimensions-BpYNnQtf-BVrF2eSg.js → commonDimensions-SFn2jHVc-CTDxaBd-.js} +1 -1
- package/dist/assets/{constants-nz8RVtEp.js → constants-CZu969tQ.js} +1 -1
- package/dist/assets/{core-Be77t6wT.js → core-BCC1NfcO.js} +1 -1
- package/dist/assets/{dash.all.min-1JaBh8EA.js → dash.all.min-BRxR-4km.js} +1 -1
- package/dist/assets/{detailCommon-BRja9H93-BgDpKJS8.js → detailCommon-BTjqps8N-BwbXd0VD.js} +5 -5
- package/dist/assets/downloadPdf-CqjEwKR5-CVBCWVbb.js +1 -0
- package/dist/assets/{empty-DqMX1iak.js → empty-BjP_AR0Y.js} +1 -1
- package/dist/assets/{empty-CVHCqPg8.js → empty-CN6lL5vr.js} +1 -1
- package/dist/assets/epic-CYfuPaR1.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-hRxp85e2.js → gift-box-Cmt9OgIZ-jp2GTx_l.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdG5b35f.js → graphic-no-data-l-DU4J8fDt-CoNwe8F7.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CRLCiMSY.js → graphic-no-data-net-burn-l-CzmycA0m-Blfk9v0F.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Ts-GBzII.js → handshake-BPg58FML-BZVWd-R4.js} +1 -1
- package/dist/assets/{index-CNJQ6T57.js → index-BJwUmr6X.js} +4654 -4680
- package/dist/assets/{index-gGz0-y9K.js → index-CDawrAV5.js} +1 -1
- package/dist/assets/{index-BIQvGH1Z.js → index-DOGKWCNR.js} +1 -1
- package/dist/assets/{index-CHDWslZ9.js → index-Dc-8bDa8.js} +1 -1
- package/dist/assets/{index-Cyi12XGG.js → index-DdlMyYMd.js} +1 -1
- package/dist/assets/{index-WLQ2kK4T.js → index-klyQo3c-.js} +1 -1
- package/dist/assets/{index-Q1D5afUf.js → index-oIMKLk8g.js} +1 -1
- package/dist/assets/{lexical-4qH-Yr6_.js → lexical-D1A0yBcv.js} +1 -1
- package/dist/assets/{liveblocks-CUDrE-0X.js → liveblocks-gc1Zpgue.js} +1 -1
- package/dist/assets/{lottie-C5G-hUN3.js → lottie-PDiRMFOU.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DkhO3K0B-BF8CClXj.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BlrJTKah-BOJoZ8nO.js → mapSectionWithAcOnlyToTreeNode-BywQAVX8-CBoe52_o.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DvdWKHfX-D62umWzQ.js → mapSpacerToTreeNode-nn83cq1C-a5kCwrR8.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-88qIN3FA-CB8prKZU.js → mapTimeframeBalancesToTreeNode-CKjqanKd-DfEyG-Ny.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CmXuntuz-4PcA3DEd.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-BEBQ7_uD.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bs8iGys9-D6oy7HtW.js} +1 -1
- package/dist/assets/{mui-DsjrNjDe.js → mui-BPiKl8lE.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F--SwzhZlk.js → page-detail-CWX5S47F-GD7pPHSX.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js → panelSelectedMixin-CzfD5-Zs-DK9S-4A7.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-YvmWy399.js → radio-default-CiSgisfh-BDa9leTw.js} +1 -1
- package/dist/assets/{react-eUpxlpRg.js → react-BmSXOB2V.js} +1 -1
- package/dist/assets/{react-BWkra2hE.js → react-CVwAo7aZ.js} +1 -1
- package/dist/assets/{react-CSCeF-Sb.js → react-Chs2CyCz.js} +1 -1
- package/dist/assets/{react-XG3-S5t1.js → react-Ck-O1ppd.js} +1 -1
- package/dist/assets/{react-Ci_HLnoa.js → react-DZxKpeyN.js} +2 -2
- package/dist/assets/{react-Bqp70D_u.js → react-DtUvZi19.js} +1 -1
- package/dist/assets/{react-BCXSKYRr.js → react-T0X5kbJf.js} +1 -1
- package/dist/assets/{react-DL4wn98u.js → react-kH3wqLZe.js} +2 -2
- package/dist/assets/{recharts-CmZa-egc.js → recharts-CTVVh_-r.js} +1 -1
- package/dist/assets/{sentry-9b1mvxJ5.js → sentry-Dozbf0xW.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B8zzGKQS.js → shield-DOlUxcFf-BXU_wIp-.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DvC1wuTC-B-3HfOc_.js +1 -0
- package/dist/assets/{toChartData-B3ouXKAd-thMI2fiV.js → toChartData-mAeXlYNV-B69xO8vw.js} +1 -1
- package/dist/assets/{uploadAttachment-DNNG-CMy-D87O59Xy.js → uploadAttachment-BAVcYsOo-CTVw7Tly.js} +16 -16
- package/dist/assets/uploadReceipts-Dge0cNF1-1wHJJfDu.js +1 -0
- package/dist/assets/{url-RTB-DW5V.js → url-AR2JoXnJ.js} +1 -1
- package/dist/assets/{url-BiBhYcFe.js → url-D26ZSNVT.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CsE5mUiU.js → useLongPress-GCK2COYQ-DajesI1J.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-5m5uF-Rf.js → usp-line-BBd1wKwW-CY_8hROo.js} +1 -1
- package/dist/assets/{utils-VcZ1Xqjg.js → utils-CJtHQQTa.js} +1 -1
- package/dist/assets/{zeni-epic-state-DJX8u9R8.js → zeni-epic-state-DD2IEaUq.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DF6IU0EG-CK0AD-ot.js +0 -18
- package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-B55UQ1W3.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-AmBvQD8m.js +0 -6
- package/dist/assets/AppBasePage-B7_L4R6d-DSvQT3A9.js +0 -71
- package/dist/assets/BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js +0 -51
- package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-CFPoQw5A.js +0 -27
- package/dist/assets/BillingSettingsPage-BygJjDSp-C0Ia6obD.js +0 -44
- package/dist/assets/BusinessVerificationPage-C63pUk4d-C1yyAjbf.js +0 -138
- package/dist/assets/ChargeCardPromoPage-DuQe7BpX-B1bYsTBb.js +0 -222
- package/dist/assets/ChargeCardStatementsPage-CvtZtuVC-BbTDMJQ9.js +0 -60
- package/dist/assets/CompanyOfficerDetailsSection-CaAR0Wvk-CmXyx64P.js +0 -331
- package/dist/assets/CompanyPassportPage-D2ALJDF_-B0BzydTg.js +0 -417
- package/dist/assets/ConfettiBurst-DxHzdDPp-BHPKFQrr.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-CZ-wHAQI.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-B5ZKgZir.js +0 -66
- package/dist/assets/CustomerOnboardingPage-1LvpVpHC-Cr4NP9fC.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-DMYHMJXg-DeyKCfXK.js +0 -202
- package/dist/assets/EditPeoplePage-CKS_aEZm-B7Tw7FjE.js +0 -55
- package/dist/assets/EntityDetailPage-B3TQ5hCP-IVMsCeoo.js +0 -18
- package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-Q67xp-Zv.js +0 -65
- package/dist/assets/InvitePeoplePage-C5Qgk24s-U6BHBwDh.js +0 -12
- package/dist/assets/InvoiceUploadSection-BO1i-e_D-S9qpWOlw.js +0 -140
- package/dist/assets/LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js +0 -237
- package/dist/assets/LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js +0 -41
- package/dist/assets/LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js +0 -223
- package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-6n4CruRX.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DYmL1ff3.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-BbCH3bCn.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-CphaJa4k-C1L3trsn.js +0 -31
- package/dist/assets/MailingDetailsSection-BJfZvT0b-Cqv93bBS.js +0 -21
- package/dist/assets/MyProfileSettingsPage-8yBXAre6-Bs5xqc-e.js +0 -85
- package/dist/assets/NavBarWithPicker-C3LVyiC9-QHhc6aBd.js +0 -30
- package/dist/assets/NoDataChart-B3s_7m2n-DuPBFXV2.js +0 -26
- package/dist/assets/NoDataTable-CMpypnTw-C6S_V6d0.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-Bbmz6FH4.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js +0 -107
- package/dist/assets/QBOSetupSection-DQjol-D0-05cxakPz.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DjqdHx3S.js +0 -32
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CJIWqV-7.js +0 -1
- package/dist/assets/RoleWithToolTip-GCV_l8Ly-GZKD9YbI.js +0 -22
- package/dist/assets/ScheduleDetailsPage-D1EJbzxN-l7ivTR2t.js +0 -37
- package/dist/assets/TransactionListPage-DHr64V-b-DDnZn40X.js +0 -35
- package/dist/assets/TreasuryStatementsPage-taTRE54D-s03VARjq.js +0 -58
- package/dist/assets/Vendor2FAPopup-BpkAiYTA-99TJd7nU.js +0 -1
- package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BFUuaQ6q.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-CpOxRXxZ.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-a851bv0Y.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-5ll2dkEQ.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-B20DHYex-DsTq1nG1.js +0 -36
- package/dist/assets/analyticsHelper-CeC4SQzK.js +0 -1
- package/dist/assets/commonTypes-BVbA7QjV-rrrVgiRE.js +0 -1
- package/dist/assets/downloadPdf-WDHjFv79-x1y7Noz9.js +0 -1
- package/dist/assets/epic-upTynnWU.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C_5Bb47i-KSj20Sfu.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Dd11welj.js +0 -1
- package/dist/assets/toCOABalancesWithID-Bq4Xe7az-D4N9dB70.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-C_Z21T_D.js +0 -1
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import{J as M,V as l,cO as I,y as c,o as i,u as t,cJ as V,d as O,ev as R,eE as z,bH as L,bI as p,x as C,al as P,b as h,bG as E,p as f}from"./index-CNJQ6T57.js";import{n}from"./mui-DsjrNjDe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="efdb24f0-d09a-4b68-a305-2b2f96d9f436",e._sentryDebugIdIdentifier="sentry-dbid-efdb24f0-d09a-4b68-a305-2b2f96d9f436")}catch{}})();const N=({name:e,registerOptions:o,defaultValue:r,isDisabled:s,style:a,placeholder:m})=>{const{control:g,formState:{errors:y}}=V(),w=O(),v=R(y,e??""),j={container:u=>({...u,width:"100%",...a}),menu:u=>({...u,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:u=>({...u,borderRadius:0})},k={hasError:v};return l.jsx(z,{name:e,control:g,defaultValue:r,rules:o,render:({field:{onChange:u,onBlur:D,value:b,ref:_}})=>l.jsx(L,{...k,ref:_,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:m,value:$(b.selectedOptions),options:$(b.allOptions),onChange:S=>{u({selectedOptions:S.map(F=>F.value),allOptions:b.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:D,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:T,Option:A,Input:B,MultiValue:J,MultiValueLabel:G,MultiValueRemove:W,ValueContainer:H,DropdownIndicator:ie,IndicatorSeparator:re,Placeholder:q,ClearIndicator:Q},hideSelectedOptions:!1,styles:j,isDisabled:s!=null})})},T=e=>{const{menuIsOpen:o,isFocused:r,isDisabled:s,selectProps:a}=e,{value:m,hasError:g}=a;return l.jsx(K,{menuIsOpen:o,isFocused:r,isDisabled:s,optionsLen:m.length,hasError:g,children:l.jsx(p.Control,{...e,className:"select-control",children:e.children})})},H=e=>{const{selectProps:o}=e,{value:r}=o;return l.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,l.jsx(U,{className:"selected-options",children:r.map(s=>s.value).join(", ")})]})},B=e=>{const{selectProps:o}=e,{placeholder:r,value:s}=o;return l.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:s.length===0?r:void 0,children:e.children})},J=e=>l.jsx(p.MultiValue,{...e,children:e.children}),G=e=>{const{data:o}=e;return l.jsx(p.MultiValueLabel,{...e,children:o.value})},W=e=>l.jsx(p.MultiValueRemove,{...e,children:l.jsx(x,{style:{marginTop:"2px"}})}),Q=e=>l.jsx(p.ClearIndicator,{...e,children:l.jsx(x,{})}),q=()=>null,A=e=>{const{isSelected:o,isDisabled:r,isFocused:s}=e;return l.jsx(X,{isFocused:s,isSelected:o,isDisabled:r,children:l.jsx(p.Option,{...e,className:"select-option",children:l.jsxs(Y,{children:[l.jsx(ee,{children:l.jsx(Z,{isSelected:o,isDisabled:r,children:e.label})}),o?l.jsxs(oe,{children:[l.jsx(le,{className:"right-tick-icon"}),l.jsx(x,{className:"close-tick-icon"})]}):null]})})})},K=n.div`
|
|
2
|
-
width: 100%;
|
|
3
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
4
|
-
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
5
|
-
|
|
6
|
-
.select-control {
|
|
7
|
-
border: none;
|
|
8
|
-
padding: 0 ${i.sp3};
|
|
9
|
-
min-height: 100%;
|
|
10
|
-
background-color: inherit;
|
|
11
|
-
box-shadow: none;
|
|
12
|
-
|
|
13
|
-
&:hover {
|
|
14
|
-
fill: ${e=>e.theme.colors.primary};
|
|
15
|
-
background-color: ${e=>e.hasError?f.importantLight:e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
16
|
-
border: none;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
width: auto;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
|
|
22
|
-
.multi-select-field__indicators {
|
|
23
|
-
display: ${e=>e.isFocused?"flex":"none"};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.multi-select-field__clear-indicator {
|
|
27
|
-
padding: 0;
|
|
28
|
-
margin-left: ${i.sp2};
|
|
29
|
-
color: ${e=>e.theme.colors.primary};
|
|
30
|
-
transition: none;
|
|
31
|
-
&:hover {
|
|
32
|
-
background-color: transparent;
|
|
33
|
-
color: ${e=>e.theme.colors.primary};
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.multi-select-field__value-container {
|
|
38
|
-
gap: ${e=>e.isFocused?`${i.sp2}`:`${i.sp0}`};
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.select-value-container {
|
|
43
|
-
width: 100%;
|
|
44
|
-
padding: 6px ${i.sp0};
|
|
45
|
-
overflow: auto;
|
|
46
|
-
display: ${e=>e.isFocused===!1&&e.optionsLen===0?"block":"flex"};
|
|
47
|
-
justify-content: flex-start;
|
|
48
|
-
align-items: center;
|
|
49
|
-
flex-wrap: wrap;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
|
|
52
|
-
${h.extraSmallRegular.css}
|
|
53
|
-
|
|
54
|
-
.selected-options {
|
|
55
|
-
display: ${e=>e.isFocused?"none":"block"};
|
|
56
|
-
overflow: initial;
|
|
57
|
-
text-overflow: unset;
|
|
58
|
-
white-space: initial;
|
|
59
|
-
text-align: right;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.multi-select-field__multi-value {
|
|
63
|
-
padding: 1px ${i.sp2};
|
|
64
|
-
min-width: fit-content;
|
|
65
|
-
background-color: transparent;
|
|
66
|
-
margin: ${i.sp0};
|
|
67
|
-
display: ${e=>e.isFocused?"flex":"none"};
|
|
68
|
-
color: ${e=>e.theme.colors.primary};
|
|
69
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
70
|
-
box-sizing: border-box;
|
|
71
|
-
border-radius: ${i.sp1};
|
|
72
|
-
:last-of-type {
|
|
73
|
-
margin: ${i.sp0};
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.multi-select-field__input-container {
|
|
78
|
-
display: flex;
|
|
79
|
-
width: ${e=>e.isFocused===!1&&e.optionsLen===0?"100%":e.isFocused===!1&&e.optionsLen>0?i.sp0:"fit-content"};
|
|
80
|
-
${h.standardRegular.css};
|
|
81
|
-
color: ${e=>e.theme.colors.primary};
|
|
82
|
-
margin: ${i.sp0};
|
|
83
|
-
cursor: inherit;
|
|
84
|
-
color: ${e=>e.hasError?f.important:e.theme.colors.primary};
|
|
85
|
-
|
|
86
|
-
> input {
|
|
87
|
-
text-align: ${e=>e.isFocused===!1&&e.optionsLen===0?"right":"initial"};
|
|
88
|
-
align-items: center;
|
|
89
|
-
z-index: 2;
|
|
90
|
-
overflow: hidden;
|
|
91
|
-
cursor: inherit;
|
|
92
|
-
|
|
93
|
-
::placeholder {
|
|
94
|
-
color: ${e=>e.hasError?f.important:e.theme.colors.grey1};
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
:disabled {
|
|
98
|
-
visibility: visible;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.multi-select-field__multi-value__label {
|
|
104
|
-
color: inherit;
|
|
105
|
-
padding: 0;
|
|
106
|
-
margin-right: ${i.sp1};
|
|
107
|
-
${h.standardRegular.css};
|
|
108
|
-
overflow: hidden;
|
|
109
|
-
text-overflow: ellipsis;
|
|
110
|
-
white-space: nowrap;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.multi-select-field__multi-value__remove {
|
|
114
|
-
padding: 0;
|
|
115
|
-
&:hover {
|
|
116
|
-
background-color: transparent;
|
|
117
|
-
color: ${e=>e.theme.colors.primary};
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
`,U=n(P)`
|
|
122
|
-
color: ${e=>e.theme.colors.primary};
|
|
123
|
-
width: 100%;
|
|
124
|
-
overflow: hidden;
|
|
125
|
-
text-overflow: ellipsis;
|
|
126
|
-
white-space: nowrap;
|
|
127
|
-
text-align: right;
|
|
128
|
-
`,X=n.div`
|
|
129
|
-
.select-option {
|
|
130
|
-
${h.smallRegular.css};
|
|
131
|
-
height: ${i.sp6};
|
|
132
|
-
padding: 9px ${i.sp3};
|
|
133
|
-
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
|
|
134
|
-
background-color: ${e=>e.isSelected||e.isFocused?e.theme.colors.background:e.theme.colors.grey5};
|
|
135
|
-
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
136
|
-
border-top: none;
|
|
137
|
-
|
|
138
|
-
.close-tick-icon {
|
|
139
|
-
display: none;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&:hover {
|
|
143
|
-
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
144
|
-
color: ${e=>e.isDisabled?e.theme.colors.champion:e.theme.colors.primary};
|
|
145
|
-
|
|
146
|
-
.right-tick-icon {
|
|
147
|
-
display: none;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.close-tick-icon {
|
|
151
|
-
display: inline-block;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
`,Y=n.div`
|
|
156
|
-
display: flex;
|
|
157
|
-
flex-direction: row;
|
|
158
|
-
align-items: center;
|
|
159
|
-
justify-content: space-between;
|
|
160
|
-
`,Z=n.label`
|
|
161
|
-
padding-right: 10px;
|
|
162
|
-
overflow: hidden;
|
|
163
|
-
text-overflow: ellipsis;
|
|
164
|
-
white-space: nowrap;
|
|
165
|
-
cursor: ${e=>e.isDisabled?"not-allowed":e.isSelected?"default":"pointer"};
|
|
166
|
-
`,ee=n.div`
|
|
167
|
-
width: 100%;
|
|
168
|
-
display: flex;
|
|
169
|
-
align-items: center;
|
|
170
|
-
`,oe=n.div`
|
|
171
|
-
display: flex;
|
|
172
|
-
`,le=n(E)`
|
|
173
|
-
width: 12px;
|
|
174
|
-
height: 12px;
|
|
175
|
-
margin-right: 2px;
|
|
176
|
-
color: ${e=>e.theme.colors.primary};
|
|
177
|
-
`,x=n(C)`
|
|
178
|
-
width: ${i.sp3};
|
|
179
|
-
height: ${i.sp3};
|
|
180
|
-
color: ${e=>e.theme.colors.primary};
|
|
181
|
-
`,ie=()=>null,re=()=>null,$=e=>e.map(o=>te(o)),te=e=>({value:e,label:e}),d={width:new c(343,580,726),height:new c(t[6],t[6]),controlHeight:new c(t[6],t[6]),paddingTopBottom:new c(t[2],t[2]),marginRight:new c(t[2],t[2]),labelMarginLeft:new c(t[3],t[4]),labelMarginRight:new c(t[3],t[4]),labelMarginTop:new c(t[2],t[2])};function de({isDisabled:e,label:o,multiSelectField:r,style:s}){const a=M();return l.jsxs(se,{size:a,style:s,isDisabled:e!=null,children:[l.jsx(I,{isDisabled:e,label:o.label,htmlFor:r.name,style:{marginLeft:d.labelMarginLeft.value(a),marginRight:d.labelMarginRight.value(a),marginTop:d.labelMarginTop.value(a),width:o.width??"auto",...o.style}}),l.jsx(N,{...r,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",minHeight:d.controlHeight.value(a)}})]})}const se=n.div`
|
|
182
|
-
display: flex;
|
|
183
|
-
flex-direction: row;
|
|
184
|
-
align-items: flex-start;
|
|
185
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
186
|
-
width: ${e=>d.width.valuePx(e.size)};
|
|
187
|
-
min-height: ${e=>d.height.valuePx(e.size)};
|
|
188
|
-
padding-right: ${e=>d.marginRight.valuePx(e.size)};
|
|
189
|
-
padding-top: ${e=>d.paddingTopBottom.valuePx(e.size)};
|
|
190
|
-
padding-bottom: ${e=>d.paddingTopBottom.valuePx(e.size)};
|
|
191
|
-
position: relative;
|
|
192
|
-
z-index: 0;
|
|
193
|
-
|
|
194
|
-
:first-of-type {
|
|
195
|
-
border-top-left-radius: inherit;
|
|
196
|
-
border-top-right-radius: inherit;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
:last-of-type {
|
|
200
|
-
border-bottom-left-radius: inherit;
|
|
201
|
-
border-bottom-right-radius: inherit;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
&:focus-within {
|
|
205
|
-
z-index: 2;
|
|
206
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
207
|
-
.select-control {
|
|
208
|
-
background-color: ${e=>e.theme.colors.background};
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
&:hover {
|
|
213
|
-
z-index: 1;
|
|
214
|
-
outline: ${e=>e.isDisabled===!0?"none":`1px solid ${e.theme.colors.primary}`};
|
|
215
|
-
.select-control {
|
|
216
|
-
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.multi-select-field__menu {
|
|
221
|
-
margin-top: ${i.sp1} !important;
|
|
222
|
-
}
|
|
223
|
-
`;export{de as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as b}from"./index-CNJQ6T57.js";import{f as l}from"./ACHDetailsPage-BOZmOJHO-DA9D4iJH.js";import"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js";import"./MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js";import"./BankAccountSection-BkOlwayA-DP864Lrq.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="1864f1a6-71dd-4430-b89a-0776ad9b85e7",t._sentryDebugIdIdentifier="sentry-dbid-1864f1a6-71dd-4430-b89a-0776ad9b85e7")}catch{}})();const _=({magicLinkViewState:t,magicLinkBankAccountDetails:e,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r})=>{const{fetchState:m,error:d,bankNameByRouting:s,bankAccountToCreate:c,fetchBankNameByRoutingStatus:u}=e,{currencySymbol:f,amount:p}=t;return b.jsx(l,{bankAccountToCreate:c,bankAccountCreationState:{fetchState:m,error:d},bankNameByRouting:s,fetchBankNameByRoutingStatus:u,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:f,amount:p})};export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as b}from"./index-CNJQ6T57.js";import{D as g}from"./DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js";import"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./BankAccountSection-BkOlwayA-DP864Lrq.js";import"./MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js";import"./BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js";import"./MailingDetailsSection-BJfZvT0b-Cqv93bBS.js";import"./LabeledAddressValueField-D6dEaI69-DANZLTzI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a91e8fec-a9f8-4f72-9337-30a0cb3fe655",e._sentryDebugIdIdentifier="sentry-dbid-a91e8fec-a9f8-4f72-9337-30a0cb3fe655")}catch{}})();const E=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:a,isDisabled:o,companyName:n,onSaveHandler:r,onWireDetailsUpdated:i,onFetchBankName:s,onAddressClick:d})=>{const{fetchState:m,error:c,bankNameByRouting:f,bankAccountToCreate:p,fetchBankNameByRoutingStatus:u}=t,{currencySymbol:l,amount:y}=e;return b.jsx(g,{bankAccountToCreate:p,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:f,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:u,isDisabled:o,onSaveHandler:r,onWireDetailsUpdated:i,onAddressClick:d,onFetchBankName:s,companyName:n,isMagicLink:!0,currencySymbol:l,amount:y})};export{E as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as y}from"./index-CNJQ6T57.js";import{f as b}from"./InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js";import"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js";import"./MailingDetailsSection-BJfZvT0b-Cqv93bBS.js";import"./LabeledAddressValueField-D6dEaI69-DANZLTzI.js";import"./MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="fd0c5e8f-aed9-4359-a6f4-6b6291404a54",t._sentryDebugIdIdentifier="sentry-dbid-fd0c5e8f-aed9-4359-a6f4-6b6291404a54")}catch{}})();const x=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:d,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:m,internationalBankAccountToCreate:c,fetchBankNameBySwiftStatus:f,bankNameBySwift:l}=e,{currencySymbol:p,amount:u}=t;return y.jsx(b,{bankAccountToCreate:c,bankAccountCreationState:m,bankNameBySwift:l,addressToEdit:a,addressType:"vendor_address",fetchBankNameBySwiftStatus:f,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:d,companyName:i,isMagicLink:!0,currencySymbol:p,amount:u})};export{x as default};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import{av as r,F as n,V as t,b5 as l,o as s,af as a,R as c,c as d}from"./index-CNJQ6T57.js";import{n as o}from"./mui-DsjrNjDe.js";import"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="eb91f340-b31a-4784-9c76-f2bd63a72a10",e._sentryDebugIdIdentifier="sentry-dbid-eb91f340-b31a-4784-9c76-f2bd63a72a10")}catch{}})();const _=()=>{const[e]=r("Confetti"),i=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(p,{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(b,{})}),t.jsxs(m,{children:[t.jsx(f,{children:i.successTitle}),t.jsx(g,{children:i.successNote})]})]}):null},p=o.div`
|
|
2
|
-
z-index: 999;
|
|
3
|
-
height: 100vh;
|
|
4
|
-
width: 100%;
|
|
5
|
-
background-color: ${e=>e.theme.colors.background};
|
|
6
|
-
position: relative;
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
`,m=o.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
opacity: 80%;
|
|
16
|
-
margin: 0 ${s.sp4};
|
|
17
|
-
`,f=o(c)`
|
|
18
|
-
color: ${e=>e.theme.colors.primary};
|
|
19
|
-
text-align: center;
|
|
20
|
-
`,g=o(d)`
|
|
21
|
-
color: ${e=>e.theme.colors.hero};
|
|
22
|
-
text-align: center;
|
|
23
|
-
`,u=o.div`
|
|
24
|
-
position: absolute;
|
|
25
|
-
top: ${s.sp5};
|
|
26
|
-
left: ${s.sp5};
|
|
27
|
-
background-color: ${e=>e.theme.colors.background};
|
|
28
|
-
`,b=o(a)`
|
|
29
|
-
color: ${e=>e.theme.colors.primary};
|
|
30
|
-
height: ${s.sp4};
|
|
31
|
-
`;export{_ as default};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{J as b,F as u,y as r,V as s,o as a,cM as h,b9 as $,u as i}from"./index-CNJQ6T57.js";import{n as g}from"./mui-DsjrNjDe.js";import{C as y}from"./LabeledAddressValueField-D6dEaI69-DANZLTzI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="743d786c-d6e8-4882-8aef-4e25ac547853",e._sentryDebugIdIdentifier="sentry-dbid-743d786c-d6e8-4882-8aef-4e25ac547853")}catch{}})();const d={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},D=({sectionId:e,addressToEdit:o,addressType:n,isDisabled:m,onAddressClick:p})=>{const l=b(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,c=d.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(v,{size:l,children:t.addressDetailTitle}),s.jsx(x,{size:l,children:s.jsx(y,{isDisabled:m,label:{label:t.address,width:c},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:o,registerOptions:{validate:f=>f!=null},onClick:()=>{p(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,o)=>`${e}.${o}`,x=g.div`
|
|
2
|
-
width: auto;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
7
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
8
|
-
border-radius: ${a.sp2};
|
|
9
|
-
margin-left: ${e=>d.marginLeft.valuePx(e.size)};
|
|
10
|
-
margin-right: ${e=>d.marginRight.valuePx(e.size)};
|
|
11
|
-
margin-top: ${e=>d.paddingTopBottom.valuePx(e.size)};
|
|
12
|
-
margin-bottom: ${e=>d.paddingTopBottom.valuePx(e.size)};
|
|
13
|
-
&:hover {
|
|
14
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
15
|
-
}
|
|
16
|
-
`,v=g($)`
|
|
17
|
-
color: ${e=>e.theme.colors.primary};
|
|
18
|
-
margin-bottom: ${a.sp3};
|
|
19
|
-
margin-top: ${a.sp5};
|
|
20
|
-
margin-left: ${e=>d.marginLeftTitle.valuePx(e.size)};
|
|
21
|
-
`;export{D as T};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import{J as ie,fV as te,d as ge,aw as be,fW as ye,a9 as we,aD as xe,cG as Pe,cF as $e,F as re,V as l,fX as De,bC as ve,ac as Oe,aR as Se,o as s,cB as ne,fY as de,fZ as ce,f_ as ue,y as L,am as me,b as Re,O as je,aJ as ee,cU as Ce,cK as Le,f$ as Q,cR as Te,cP as Ie,g0 as Ve,a$ as Be,u as _}from"./index-CNJQ6T57.js";import{a as $}from"./sentry-9b1mvxJ5.js";import{n as m}from"./mui-DsjrNjDe.js";import{bi as le,bg as pe,bL as ze,bh as Fe}from"./zeni-epic-state-DJX8u9R8.js";import{C as ke}from"./LabeledAddressValueField-D6dEaI69-DANZLTzI.js";import{Y as Ne}from"./LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-Bm5BEKWh.js";import{C as Ae,j as Me}from"./LabeledZeniRolesDropDownField-Dg9_Ww-A-6LCZnv3_.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./RoleWithToolTip-GCV_l8Ly-GZKD9YbI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6a759861-d635-4dea-99db-34746bee2581",e._sentryDebugIdIdentifier="sentry-dbid-6a759861-d635-4dea-99db-34746bee2581")}catch{}})();const b=(e,o)=>`${e}.${o}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(_[2],_[3]),toolTipWidth:new L(215,237),notePadding:new L(_[3],_[4]),noteGap:new L(_[0],6)},{peoplePage:a,common:{settings:se,labels:E,placeholder:z,errorMessage:We},dateFormat:_e}=re.getLocalizedStrings(),Ze=({myProfileView:e,isZeniFinopsRolesUser:o,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:i,isBankingOnlyTenant:f,isCardsOnlyTenant:D,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:w})=>{const n=ie(),{person:r,managersList:k,classList:N,manager:G,department:g,controllersList:A,myProfileLocalData:M,addressData:q}=e,J=e.person.user?.birthday!=null?"readonly":void 0,v=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),H=$.useMemo(()=>te(y,p,i,f,D,T,h),[y,p,i,f,D,T,h]),{firstController:x,restControllerEmailsStr:O}=$.useMemo(()=>{const c=ee(A),S=c.splice(0,1),R=c.reduce((V,B)=>V.concat(`${B.email},`),"");return{firstController:S,restControllerEmailsStr:R}},[A]),K=$.useMemo(()=>ee(ne.roles),[]),d=pe(r.userRole!=null?r.userRole.userRoles:[]),Z=$.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Qe,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:E.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:z.firstNamePlaceholder,lastName:z.lastNamePlaceholder,name:z.namePlaceholder},showFullNameError:!0},errorInfoLabel:We.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Le,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:v},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(Te,{label:{label:E.dateOfBirth,width:I},style:{width:"auto"},isDisabled:J,dateField:{name:b(t,"dateOfBirth"),placeholder:z.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:_e.visual.defaultInput,autoComplete:"off",maxDate:Fe().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ke,{label:{label:E.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:z.addressPlaceholder,defaultValue:q?.addressToCreate,onClick:()=>{w("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Ie,{label:{label:E.phone,width:I},text:{name:b(t,"phone"),placeholder:z.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),o?l.jsx(Ae,{label:{label:a.invitePage.role,width:v},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(Me,{label:{label:a.invitePage.role,width:v},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ue(r.userRole?.userRoles??[]),allRootRole:ce(f,D)},productsByUserRole:de(r.userRole?.userRoles??[],H)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Ne,{label:{label:a.invitePage.manager,width:v},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Ue,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:k,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const S=k.findIndex(R=>R.userId===c);if(S!==-1){const R=k[S],V=N.find(X=>X.classId===R.userRole.accountingClassIDs[0]),B=[];return V!=null&&B.push(V.className),B}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(Ve,{label:{label:a.invitePage.department,width:v},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:Z,selectedOption:d?void 0:Z.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}),o?null:l.jsxs(Ee,{windowSize:n,children:[a.invitePage.controllerText,x[0]?l.jsxs(Ge,{href:`mailto:${x[0].email}?cc=${O}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(qe,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(Be,{className:"arrowIcon"})]}):null]})]})]})},Ue=()=>a.invitePage.managerTooltipText,Qe=m.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
5
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
6
|
-
box-shadow: ${e=>`${s.sp0} 2px ${s.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
7
|
-
border-radius: ${s.sp2};
|
|
8
|
-
margin-bottom: ${s.sp3};
|
|
9
|
-
.single-select-field__menu {
|
|
10
|
-
border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
|
|
11
|
-
}
|
|
12
|
-
`,C=m.div`
|
|
13
|
-
display: flex;
|
|
14
|
-
flex: 1;
|
|
15
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
16
|
-
min-height: 1px;
|
|
17
|
-
max-height: 1px;
|
|
18
|
-
`,Ee=m(me)`
|
|
19
|
-
padding: ${e=>`${s.sp1} ${F.notePadding.valuePx(e.windowSize)}`};
|
|
20
|
-
background: ${e=>e.theme.colors.grey4};
|
|
21
|
-
border-radius: ${s.sp0} ${s.sp0} ${s.sp2} ${s.sp2};
|
|
22
|
-
text-align: left;
|
|
23
|
-
color: ${e=>e.theme.colors.grey1};
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
26
|
-
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
27
|
-
gap: ${e=>F.noteGap.valuePx(e.windowSize)};
|
|
28
|
-
`,Ge=m.a`
|
|
29
|
-
color: ${e=>e.theme.colors.hero};
|
|
30
|
-
text-decoration: none;
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
gap: 6px;
|
|
35
|
-
.arrowIcon {
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
height: 12px;
|
|
38
|
-
width: 12px;
|
|
39
|
-
}
|
|
40
|
-
:hover {
|
|
41
|
-
color: ${e=>e.theme.colors.primary};
|
|
42
|
-
.arrowIcon {
|
|
43
|
-
color: ${e=>e.theme.colors.primary};
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
`,qe=m.span``,he={sectionWidth:new L(343,580,726),subtitleSectionWidth:new L(343,580,1200)},Je={title:new je("standardMedium","largeMedium")},P="userDetails",yl=({myProfileView:e,isReimbursementDisabled:o,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:i,isLiteRoleDisabled:f,onClickMenuIcon:D,onAddressClick:T,updateMyProfileLocalData:h,onCancelClick:w,onGetOtp:n,onResendOtp:r,onSaveClick:k,onVerifyOtp:N,onVerifyOtpSuccess:G})=>{const g=ie(),A=$.useMemo(()=>te(o,t,u,p,i,f,y),[o,t,u,p,i,f,y]),[M,q]=$.useState(!1),[J,v]=$.useState(!1),I=ge(),H=be(),x=ye(H),O=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:oe(e,x,A,p,i),values:oe(e,x,A,p,i)}),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,Z=e.addressData?.addressToCreate!=null&&e.person.address!=null&&!xe(le(e.addressData?.addressToCreate),le(e.person.address))||e.addressData?.addressToCreate!=null&&e.person.address==null,c=K||d||Z,S=Object.keys(O.formState.errors).length===0,R=Pe(O.formState.dirtyFields),V=S&&(R||c),B=async(Y,U)=>{if(Y!=null){const j={...U},fe={...e.myProfileLocalData,phone:j[P].phone,isPhoneVerified:j[P].phone!==e.person.user?.phone?!1:e.person.user?.isPhoneVerified??!1,dateOfBirth:j[P].dateOfBirth!=null?ze(j[P].dateOfBirth.toString()):void 0};h(fe)}};$.useEffect(()=>{const Y=O.watch((U,{name:j})=>{j!=null&&U!=null&&$e(()=>B(j,U))});return()=>{Y.unsubscribe()}});const X=O.handleSubmit(()=>{S&&(e.myProfileLocalData.phone!=null&&(e.myProfileLocalData.isPhoneVerified==null||e.myProfileLocalData.isPhoneVerified===!1)?n(e.myProfileLocalData.phone):k())}),{common:W}=re.getLocalizedStrings();return l.jsxs(He,{children:[l.jsx(De,{showOtpPopup:M,phoneNumberPopupDescription:"show something",showPhoneNumberPopup:J,twoFactorAuthenticationView:e.twoFAView,loggedInUserPhone:e.myProfileLocalData.phone,onVerifyOtp:N,onVerifyOtpSuccess:G,setShowOtpPopup:q,onResendOtp:r,setShowPhoneNumberPopup:v,onGetOtp:n}),l.jsx(ve,{source:"MyProfileSettingsPage",title:W.settings.title.myProfile,backgroundColor:I.colors.grey4,showBackButton:!1,showMenuIcon:g==="medium-compact"||g==="small",onClickMenuIcon:D}),l.jsxs(Ke,{windowSize:g,children:[l.jsx(Xe,{windowSize:g,children:l.jsx(Ye,{windowSize:g,children:W.settings.infoText.myProfile})}),l.jsx(Oe,{...O,children:l.jsxs("form",{id:ae(P),onSubmit:X,children:[l.jsx(el,{windowSize:g,children:l.jsx(ll,{windowSize:g,children:W.settings.subtitle.myProfile})}),l.jsx(Ze,{myProfileView:e,isZeniFinopsRolesUser:x,isDisabled:"readonly",isReimbursementDisabled:o,sectionId:P,isZeniAccountsDisabled:t,isChargeCardDisabled:u,isTreasuryDisabled:y,isBankingOnlyTenant:p,isCardsOnlyTenant:i,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:W.footer.save,isLoading:e.updateProfileStatus.fetchState==="In-Progress",style:{minWidth:103}},cancelBtn:{label:W.cancel,onClick:w,shouldResetOnCancel:!0,style:{minWidth:103}}}):null]})},ae=e=>`${e}_form`,He=m.div`
|
|
47
|
-
display: flex;
|
|
48
|
-
height: 100vh;
|
|
49
|
-
width: 100%;
|
|
50
|
-
flex-direction: column;
|
|
51
|
-
row-gap: ${s.sp3};
|
|
52
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
53
|
-
`,Ke=m.div`
|
|
54
|
-
display: flex;
|
|
55
|
-
width: 100%;
|
|
56
|
-
margin: auto;
|
|
57
|
-
justify-content: flex-start;
|
|
58
|
-
height: 100%;
|
|
59
|
-
overflow-y: auto;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
align-items: center;
|
|
62
|
-
`,Xe=m(me)`
|
|
63
|
-
display: flex;
|
|
64
|
-
justify-content: center;
|
|
65
|
-
align-items: center;
|
|
66
|
-
width: ${e=>he.subtitleSectionWidth.valuePx(e.windowSize)};
|
|
67
|
-
margin-bottom: ${s.sp5};
|
|
68
|
-
`,Ye=m.div`
|
|
69
|
-
display: flex;
|
|
70
|
-
align-items: center;
|
|
71
|
-
|
|
72
|
-
color: ${e=>e.theme.colors.hero};
|
|
73
|
-
${Re.standardMedium.css};
|
|
74
|
-
`,el=m.div`
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
width: ${e=>he.sectionWidth.valuePx(e.windowSize)};
|
|
78
|
-
margin-bottom: ${s.sp3};
|
|
79
|
-
`,ll=m.div`
|
|
80
|
-
display: flex;
|
|
81
|
-
align-items: center;
|
|
82
|
-
|
|
83
|
-
color: ${e=>e.theme.colors.primary};
|
|
84
|
-
${e=>`${Je.title.style(e.windowSize)}`};
|
|
85
|
-
`,oe=(e,o,t,u,y)=>{const{classList:p,person:i,managersList:f,manager:D,department:T,myProfileLocalData:h}=e,w=pe(i.userRole!=null?i.userRole.userRoles:[]),n=p.map(r=>({label:r.fullyQualifiedAccountingClassName,value:r.classId,hoverText:r.accountingClassNumber}));return{[P]:{name:{firstName:i.user?.firstName??"",lastName:i.user?.lastName??""},email:i.user?.email??"",role:o?{allOptions:ne.roles,selectedOptions:i.userRole?.userRoles??[]}:void 0,nonZeniRole:o?void 0:{userRole:{selectedRole:ue(i.userRole?.userRoles??[]),allRootRole:ce(u,y)},productsByUserRole:de(i.userRole?.userRoles??[],t)},manager:{allUsers:w?[]:f,selectedUser:sl(w,D)},department:{allOptions:w?[]:n,selectedOption:w?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}}},sl=(e,o)=>{if(!e)return o!=null?o.userId:"no_manager"};export{yl as default,ae as uniqueFormName};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import{d as h,J as g,V as o,aP as u,bT as p,o as l,bF as y,eT as f,F as m,c2 as x,bR as k,b as w}from"./index-CNJQ6T57.js";import{n}from"./mui-DsjrNjDe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="fc643f26-cd2d-4bbd-aeb9-5e7c9a033d82",e._sentryDebugIdIdentifier="sentry-dbid-fc643f26-cd2d-4bbd-aeb9-5e7c9a033d82")}catch{}})();const C=n.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
flex: 1 1 auto;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
max-width: calc(100% - 36px);
|
|
7
|
-
margin-left: ${l.sp3};
|
|
8
|
-
`,v=({backgroundColor:e,pickerValues:r,valueToLabel:i,selectedValue:a,onPickerSelectionChanged:s,isPickerDisabled:c,titleTextStyle:d,styles:b})=>{const t=h();return o.jsx(C,{style:b,children:o.jsx(k,{pickerValues:r,valueToLabel:i,selectedValue:a,onPickerSelectionChanged:s,backgroundColor:e,titleTextStyle:d??w.largeRegular,titleColor:t.colors.primary,selectedOptionColor:t.colors.primary,isDisabled:c})})},{common:{navBar:{back:$}}}=m.getLocalizedStrings(),j={navBarHeight:y},S=n.div`
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
min-height: ${e=>j.navBarHeight.valuePx(e.windowSize)};
|
|
12
|
-
background-color: ${e=>e.bgColor};
|
|
13
|
-
`,T=n.div``,D=n(x)`
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
width: ${l.sp4};
|
|
16
|
-
height: ${l.sp4};
|
|
17
|
-
color: ${e=>e.theme.colors.hero};
|
|
18
|
-
&:hover {
|
|
19
|
-
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
}
|
|
21
|
-
`,I=n(f)`
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
width: 20px;
|
|
24
|
-
min-width: 20px;
|
|
25
|
-
height: 20px;
|
|
26
|
-
color: ${e=>e.theme.colors.hero};
|
|
27
|
-
&:hover {
|
|
28
|
-
color: ${e=>e.theme.colors.primary};
|
|
29
|
-
}
|
|
30
|
-
`;function V({picker:e,backgroundColor:r,showMenuIcon:i,rightSideComponent:a,onBackClick:s,onClickMenuIcon:c}){const d=h(),b=g(),t=r??d.colors.grey5;return o.jsxs(S,{bgColor:t,windowSize:b,children:[i?o.jsx(I,{onClick:c,"data-testid":u("nav-bar-menu-button")}):o.jsx(p,{style:{marginTop:l.sp1,height:l.sp4},title:$,enterDelay:600,placement:"bottom",children:o.jsx(D,{"data-testid":u("nav-bar-back-button"),onClick:s})}),o.jsx(v,{...e,backgroundColor:t}),a!=null?o.jsx(T,{children:a}):null]})}export{V as N};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import{J as l,V as t,p as r,o as i,al as s,y as o,d}from"./index-CNJQ6T57.js";import{n as h}from"./mui-DsjrNjDe.js";import{a}from"./sentry-9b1mvxJ5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4b051272-6d16-4123-b78b-b95733fb5840",e._sentryDebugIdIdentifier="sentry-dbid-4b051272-6d16-4123-b78b-b95733fb5840")}catch{}})();const m=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.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"})),v=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.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"})),c={chartMinHeight:new o(288,360)},f=h.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
width: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
`,w=h.div`
|
|
8
|
-
display: flex;
|
|
9
|
-
width: 100%;
|
|
10
|
-
flex-direction: row;
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
margin-bottom: ${i.sp8};
|
|
14
|
-
`,p=h.div`
|
|
15
|
-
display: flex;
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 35vh;
|
|
18
|
-
min-height: ${e=>c.chartMinHeight.valuePx(e.windowSize)};
|
|
19
|
-
flex-grow: 0;
|
|
20
|
-
max-width: 100%;
|
|
21
|
-
flex-basis: 100%;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
`,g=h(s)`
|
|
24
|
-
color: ${r.alert};
|
|
25
|
-
margin: ${i.sp3} ${i.sp0} ${i.sp5} ${i.sp0};
|
|
26
|
-
`;function z(){switch(d().mode){case"light":return t.jsx(v,{width:"100%",height:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(m,{width:"100%",height:"100%",preserveAspectRatio:"none"})}}function V({title:e}){const n=l();return t.jsxs(f,{children:[e!=null?t.jsx(g,{children:e}):null,t.jsx(w,{children:t.jsx(p,{windowSize:n,children:t.jsx(z,{})})})]})}export{V as C};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{V as n,o as t,d as i}from"./index-CNJQ6T57.js";import{n as s}from"./mui-DsjrNjDe.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-DdG5b35f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2c7fe1c0-3ffe-4274-b4ac-d1e122281a18",e._sentryDebugIdIdentifier="sentry-dbid-2c7fe1c0-3ffe-4274-b4ac-d1e122281a18")}catch{}})();const f=s.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
width: 100%;
|
|
4
|
-
padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
`;function a(){switch(i().mode){case"light":return n.jsx(r,{width:"120px",height:"60px"});case"dark":default:return n.jsx(o,{width:"120px",height:"60px"})}}function y(){return n.jsx(f,{children:n.jsx(a,{})})}export{y as d};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import{d as i,V as n}from"./index-CNJQ6T57.js";import{n as r}from"./mui-DsjrNjDe.js";import"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f5b93710-1784-4203-8657-2667e67e818e",e._sentryDebugIdIdentifier="sentry-dbid-f5b93710-1784-4203-8657-2667e67e818e")}catch{}})();const d=r.div`
|
|
2
|
-
display: ${({isOpen:e})=>e?"block":"none"};
|
|
3
|
-
position: fixed;
|
|
4
|
-
top: 0;
|
|
5
|
-
left: 0;
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: 100%;
|
|
8
|
-
background-color: ${({theme:e})=>e.colors.background};
|
|
9
|
-
overflow-y: auto;
|
|
10
|
-
z-index: 10;
|
|
11
|
-
`,h=({isOpen:e,children:o})=>{const t=i();return n.jsx(d,{isOpen:e,theme:t,children:o})};export{h as default};
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import{B as ue,aQ as Ne,b as ee,o as u,p as q,J as ce,V as s,bS as Ue,d as je,cJ as Me,aV as ne,F as ke,y as oe,bw as Ve,bV as Fe,al as Ae,aR as qe,ae as de,u as He,gX as Je,am as Ke,O as Ge}from"./index-CNJQ6T57.js";import{P as l,a as L}from"./sentry-9b1mvxJ5.js";import{n as y}from"./mui-DsjrNjDe.js";import{P as d}from"./core-Be77t6wT.js";import{n as ae}from"./commonTypes-BVbA7QjV-rrrVgiRE.js";import{F as Ye}from"./SetUpAccountSection-AVL_16HQ-CfJdXpM8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="4895e225-2e54-4547-8ed0-2b86729fc9d9",t._sentryDebugIdIdentifier="sentry-dbid-4895e225-2e54-4547-8ed0-2b86729fc9d9")}catch{}})();function pe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function fe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?pe(Object(r),!0).forEach(function(n){Ie(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function te(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?te=function(e){return typeof e}:te=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(t)}function Ie(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){return Xe(t)||Ze(t,e)||Qe(t,e)||et()}function Xe(t){if(Array.isArray(t))return t}function Ze(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],o=!0,i=!1,c,p;try{for(r=r.call(t);!(o=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));o=!0);}catch(a){i=!0,p=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw p}}return n}}function Qe(t,e){if(t){if(typeof t=="string")return me(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return me(t,e)}}function me(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function et(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=function(e,r,n){var o=!!n,i=l.useRef(n);l.useEffect(function(){i.current=n},[n]),l.useEffect(function(){if(!o||!e)return function(){};var c=function(){i.current&&i.current.apply(i,arguments)};return e.on(r,c),function(){e.off(r,c)}},[o,r,e,i])},ie=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},H=function(e){return e!==null&&te(e)==="object"},tt=function(e){return H(e)&&typeof e.then=="function"},rt=function(e){return H(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},he="[object Object]",nt=function t(e,r){if(!H(e)||!H(r))return e===r;var n=Array.isArray(e),o=Array.isArray(r);if(n!==o)return!1;var i=Object.prototype.toString.call(e)===he,c=Object.prototype.toString.call(r)===he;if(i!==c)return!1;if(!i&&!n)return e===r;var p=Object.keys(e),a=Object.keys(r);if(p.length!==a.length)return!1;for(var h={},f=0;f<p.length;f+=1)h[p[f]]=!0;for(var x=0;x<a.length;x+=1)h[a[x]]=!0;var m=Object.keys(h);if(m.length!==p.length)return!1;var w=e,b=r,S=function(I){return t(w[I],b[I])};return m.every(S)},Oe=function(e,r,n){return H(e)?Object.keys(e).reduce(function(o,i){var c=!H(r)||!nt(e[i],r[i]);return n.includes(i)?(c&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),o):c?fe(fe({},o||{}),{},Ie({},i,e[i])):o},null):null},Le="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ge=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(e===null||rt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le;if(tt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(o){return ge(o,r)})};var n=ge(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},at=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},re=l.createContext(null);re.displayName="ElementsContext";var Re=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},Te=function(e){var r=e.stripe,n=e.options,o=e.children,i=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:i.tag==="sync"?i.stripe:null,elements:i.tag==="sync"?i.stripe.elements(n):null}}),p=$e(c,2),a=p[0],h=p[1];l.useEffect(function(){var m=!0,w=function(S){h(function(E){return E.stripe?E:{stripe:S,elements:S.elements(n)}})};return i.tag==="async"&&!a.stripe?i.stripePromise.then(function(b){b&&m&&w(b)}):i.tag==="sync"&&!a.stripe&&w(i.stripe),function(){m=!1}},[i,a,n]);var f=ie(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var x=ie(n);return l.useEffect(function(){if(a.elements){var m=Oe(n,x,["clientSecret","fonts"]);m&&a.elements.update(m)}},[n,x,a.elements]),l.useEffect(function(){at(a.stripe)},[a.stripe]),l.createElement(re.Provider,{value:a},o)};Te.propTypes={stripe:d.any,options:d.object};var it=function(e){var r=l.useContext(re);return Re(r,e)},st=function(){var e=it("calls useElements()"),r=e.elements;return r};d.func.isRequired;var _e=l.createContext(null);_e.displayName="CustomCheckoutSdkContext";var ct=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},lt=l.createContext(null);lt.displayName="CustomCheckoutContext";d.any,d.shape({clientSecret:d.string.isRequired,elementsOptions:d.object}).isRequired;var se=function(e){var r=l.useContext(_e),n=l.useContext(re);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?ct(r,e):Re(n,e)},ut=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},v=function(e,r){var n="".concat(ut(e),"Element"),o=function(a){var h=a.id,f=a.className,x=a.options,m=x===void 0?{}:x,w=a.onBlur,b=a.onFocus,S=a.onReady,E=a.onChange,I=a.onEscape,U=a.onClick,M=a.onLoadError,V=a.onLoaderStart,D=a.onNetworksChange,$=a.onConfirm,J=a.onCancel,B=a.onShippingAddressChange,N=a.onShippingRateChange,R=se("mounts <".concat(n,">")),_="elements"in R?R.elements:null,P="customCheckoutSdk"in R?R.customCheckoutSdk:null,T=l.useState(null),z=$e(T,2),g=z[0],W=z[1],j=l.useRef(null),F=l.useRef(null);k(g,"blur",w),k(g,"focus",b),k(g,"escape",I),k(g,"click",U),k(g,"loaderror",M),k(g,"loaderstart",V),k(g,"networkschange",D),k(g,"confirm",$),k(g,"cancel",J),k(g,"shippingaddresschange",B),k(g,"shippingratechange",N),k(g,"change",E);var K;S&&(e==="expressCheckout"?K=S:K=function(){S(g)}),k(g,"ready",K),l.useLayoutEffect(function(){if(j.current===null&&F.current!==null&&(_||P)){var O=null;P?O=P.createElement(e,m):_&&(O=_.create(e,m)),j.current=O,W(O),O&&O.mount(F.current)}},[_,P,m]);var le=ie(m);return l.useEffect(function(){if(j.current){var O=Oe(m,le,["paymentRequest"]);O&&j.current.update(O)}},[m,le]),l.useLayoutEffect(function(){return function(){if(j.current&&typeof j.current.destroy=="function")try{j.current.destroy(),j.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:F})},i=function(a){se("mounts <".concat(n,">"));var h=a.id,f=a.className;return l.createElement("div",{id:h,className:f})},c=r?i:o;return c.propTypes={id:d.string,className:d.string,onChange:d.func,onBlur:d.func,onFocus:d.func,onReady:d.func,onEscape:d.func,onClick:d.func,onLoadError:d.func,onLoaderStart:d.func,onNetworksChange:d.func,onConfirm:d.func,onCancel:d.func,onShippingAddressChange:d.func,onShippingRateChange:d.func,options:d.object},c.displayName=n,c.__elementType=e,c},C=typeof window>"u",dt=l.createContext(null);dt.displayName="EmbeddedCheckoutProviderContext";var pt=function(){var e=se("calls useStripe()"),r=e.stripe;return r};v("auBankAccount",C);v("card",C);var ye=v("cardNumber",C),Se=v("cardExpiry",C),ve=v("cardCvc",C);v("fpxBank",C);v("iban",C);v("idealBank",C);v("p24Bank",C);v("epsBank",C);v("payment",C);v("expressCheckout",C);v("paymentRequestButton",C);v("linkAuthentication",C);v("address",C);v("shippingAddress",C);v("paymentMethodMessaging",C);v("affirmMessage",C);v("afterpayClearpayMessage",C);var ze="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var mt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(ze,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},Ce=function(e){var r="",n=document.createElement("script");n.src="".concat(ze).concat(r);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},G=null,Z=null,Q=null,gt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return G!==null?G:(G=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var o=mt();if(!(o&&e)){if(!o)o=Ce(e);else if(o&&Q!==null&&Z!==null){var i;o.removeEventListener("load",Q),o.removeEventListener("error",Z),(i=o.parentNode)===null||i===void 0||i.removeChild(o),o=Ce(e)}}Q=yt(r,n),Z=gt(n),o.addEventListener("load",Q),o.addEventListener("error",Z)}catch(c){n(c);return}}),G.catch(function(r){return G=null,Promise.reject(r)}))},vt=function(e,r,n){if(e===null)return null;var o=e.apply(void 0,r);return ht(o,n),o},Y,We=!1,De=function(){return Y||(Y=St(null).catch(function(e){return Y=null,Promise.reject(e)}),Y)};Promise.resolve().then(function(){return De()}).catch(function(t){We||console.warn(t)});var Ct=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var o=Date.now();return De().then(function(i){return vt(i,r,o)})};const xt={containerHeight:new oe(656,720)},bt=y.div`
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
gap: 20px;
|
|
6
|
-
width: ${t=>t.windowSize==="small"?"90%":"544px"};
|
|
7
|
-
margin: 0 auto;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
box-shadow: ${q.Elevation2Dark};
|
|
10
|
-
border-radius: ${u.sp2};
|
|
11
|
-
`,wt=y.form`
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
margin-bottom: ${u.sp2};
|
|
15
|
-
`,Pt=y(Fe)`
|
|
16
|
-
padding-top: ${u.sp4};
|
|
17
|
-
text-align: center;
|
|
18
|
-
color: ${t=>t.theme.colors.primary};
|
|
19
|
-
`,Et=y(Ae)`
|
|
20
|
-
color: ${t=>t.theme.colors.hero};
|
|
21
|
-
text-align: center;
|
|
22
|
-
`,jt=y.div`
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: row;
|
|
25
|
-
align-items: flex-start;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
max-height: ${t=>xt.containerHeight.valuePx(t.windowSize)};
|
|
28
|
-
width: ${t=>t.windowSize==="small"?"90%":"544px"};
|
|
29
|
-
|
|
30
|
-
.InputContainer input {
|
|
31
|
-
margin-left: ${u.sp1};
|
|
32
|
-
}
|
|
33
|
-
`,kt=y.label`
|
|
34
|
-
width: 71px;
|
|
35
|
-
margin: auto;
|
|
36
|
-
margin-left: ${u.sp2};
|
|
37
|
-
`,At=y.label`
|
|
38
|
-
width: 38px;
|
|
39
|
-
margin: auto;
|
|
40
|
-
margin-left: ${u.sp4};
|
|
41
|
-
`,It=y.div`
|
|
42
|
-
width: 432px;
|
|
43
|
-
height: ${u.sp8};
|
|
44
|
-
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-direction: row;
|
|
47
|
-
align-items: center;
|
|
48
|
-
justify-content: center;
|
|
49
|
-
background-color: ${t=>t.theme.colors.grey5};
|
|
50
|
-
margin-top: ${u.sp3};
|
|
51
|
-
margin-bottom: ${u.sp6};
|
|
52
|
-
border-radius: ${u.sp2};
|
|
53
|
-
`,$t=y.div`
|
|
54
|
-
display: flex;
|
|
55
|
-
flex-direction: column;
|
|
56
|
-
align-items: flex-start;
|
|
57
|
-
height: ${u.sp8};
|
|
58
|
-
border-right: 1px solid ${t=>t.theme.colors.grey3};
|
|
59
|
-
`,Ot=y.label`
|
|
60
|
-
width: 257px;
|
|
61
|
-
margin: auto;
|
|
62
|
-
`,Lt=y.div`
|
|
63
|
-
display: flex;
|
|
64
|
-
flex-direction: column;
|
|
65
|
-
align-items: flex-start;
|
|
66
|
-
color: ${t=>t.theme.colors.grey1};
|
|
67
|
-
height: ${u.sp8};
|
|
68
|
-
border-right: 1px solid ${t=>t.theme.colors.grey3};
|
|
69
|
-
`,Rt=y.div`
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
align-items: flex-start;
|
|
73
|
-
height: ${u.sp8};
|
|
74
|
-
`,xe=y.span`
|
|
75
|
-
height: ${u.sp8};
|
|
76
|
-
display: none;
|
|
77
|
-
`,Be=y(Ae)`
|
|
78
|
-
display: flex;
|
|
79
|
-
flex-direction: row;
|
|
80
|
-
align-items: center;
|
|
81
|
-
justify-content: center;
|
|
82
|
-
color: ${q.important};
|
|
83
|
-
width: 434px;
|
|
84
|
-
text-align: center;
|
|
85
|
-
`,{cardPayment:A,common:{footer:be}}=ke.getLocalizedStrings(),Tt=y(Ke)`
|
|
86
|
-
color: ${t=>t.theme.colors.hero};
|
|
87
|
-
text-align: center;
|
|
88
|
-
margin-top: ${u.sp2};
|
|
89
|
-
`,we=t=>`${t}_form`,Pe="CardPaymentPaymentForm",_t=({cardPaymentView:t,clientSecret:e,cardSetupInProgress:r,handleConfirmCardSetupIntent:n,updateCardPaymentModalState:o,handleAddCardPaymentSource:i,setCardSetupInProgress:c})=>{const p=pt(),a=st(),[h,f]=L.useState(!1),[x,m]=L.useState(!1),[w,b]=L.useState(!1),[S,E]=L.useState(!1),I=ce(),U=t.cardSetupConfirmStatus.fetchState,M=t.addCardPaymentSourceStatus.fetchState,V=t.cardSetupIntentStatus.fetchState,[D,$]=L.useState(!1),J=async P=>{if(P.preventDefault(),!p||!a)return;const T=a.getElement(ye),z=a.getElement(Se),g=a.getElement(ve);(!T||!z||!g)&&$(!0),E(!0),c(!0),T!=null&&z!=null&&g!=null&&p.confirmCardSetup(e,{payment_method:{card:T}}).then(W=>{E(!1),n(W),W.setupIntent?.id!=null&&i("card","payment_intent",W.setupIntent?.id)}).catch(()=>{E(!1),setTimeout(()=>{c(!1)},2e3)})},B=je(),N={showIcon:!0,style:{base:{...ee.standardRegular.cssObject,color:B.colors.primary,"::placeholder":{color:B.colors.grey2}},invalid:{color:q.important,iconColor:q.important}}},R=U==="In-Progress"||M==="In-Progress"||V==="In-Progress"||S===!0||r===!0,_=h||x||w||U==="In-Progress"||M==="In-Progress"||V==="In-Progress"||S===!0||r===!0;return s.jsx(jt,{windowSize:I,children:s.jsxs(wt,{onSubmit:J,id:we(Pe),children:[s.jsxs(It,{children:[s.jsx($t,{children:s.jsx(Ot,{children:s.jsx(ye,{options:N,onChange:P=>f(!!P.error)})})}),s.jsx(Lt,{children:s.jsxs(kt,{children:[s.jsx(xe,{children:A.cardNumber}),s.jsx(Se,{options:N,onChange:P=>m(!!P.error)})]})}),s.jsx(Rt,{children:s.jsxs(At,{children:[s.jsx(xe,{children:A.CVC}),s.jsx(ve,{options:N,onChange:P=>b(!!P.error)})]})})]}),t.cardSetupConfirmStatus.error||D?s.jsx(Be,{children:A.errorMsg}):null,s.jsx(qe,{style:{width:"100%",padding:`${u.sp3} 0 0 0`,borderTop:"none",position:"inherit"},formId:we(Pe),primaryBtn:{label:be.linkCard,style:{width:"104px",height:u.sp6},isLoading:R,isDisabled:_,type:"submit"},cancelBtn:{label:be.cancel,style:{width:"104px",height:u.sp6},onClick:()=>{o(!1)}}}),s.jsxs(Tt,{windowSize:I,children:[A.terms.term1,s.jsx(de,{href:A.terms.term2Link,linkText:A.terms.term2}),A.terms.term3,s.jsx(de,{href:A.terms.term4Link,linkText:A.terms.term4})]})]})})},Yt=({isCardPaymentOpen:t,cardPaymentView:e,stripeKey:r,cardSetupInProgress:n,handleConfirmCardSetupIntent:o,updateCardPaymentModalState:i,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:p,handleResetCardPaymentErrorStatuses:a,setCardSetupInProgress:h})=>{const[f,x]=L.useState(""),m=Ct(r),w=Ne(e.addCardPaymentSourceStatus.fetchState),b=e.addCardPaymentSourceStatus.fetchState;L.useEffect(()=>(c(["card"]),()=>{i(!1),x(""),a()}),[]),L.useEffect(()=>{a()},[t]),L.useEffect(()=>{w==="In-Progress"&&b==="Error"?(h(!1),setTimeout(()=>{i(!1)},2e3)):w==="In-Progress"&&b==="Completed"&&(c(["card"]),setTimeout(()=>{i(!1),h(!1)},2e3))},[w,b]),L.useEffect(()=>{(e.cardSetupConfirmStatus.error||e.addCardPaymentSourceStatus.error)&&(c(["card"]),setTimeout(()=>{h(!1)},2e3))},[e.cardSetupConfirmStatus.error,e.addCardPaymentSourceStatus.error]),L.useEffect(()=>{e.clientSecret!=null&&x(e.clientSecret)},[e.clientSecret]);const S={theme:"stripe",variables:{borderRadius:u.sp1,fontSizeBase:ee.standardRegular.fontSize,fontFamily:ee.standardRegular.fontFamily},rules:{".Input":{border:`1px solid ${q.neutralGrey3Light}`,borderRadius:u.sp1,padding:"10px",fontSize:ee.standardRegular.fontSize}}},E={clientSecret:f,appearance:S},I=ce();return s.jsx(Ue,{open:t,children:s.jsxs(bt,{windowSize:I,isError:!!e.cardSetupConfirmStatus.error,children:[s.jsx(Pt,{children:A.title}),s.jsx(Et,{children:A.subtitle}),f&&m!=null?s.jsx(Te,{options:E,stripe:m,children:s.jsx(_t,{clientSecret:f,handleConfirmCardSetupIntent:o,updateCardPaymentModalState:i,handleAddCardPaymentSource:p,cardPaymentView:e,cardSetupInProgress:n,setCardSetupInProgress:h})}):s.jsx(Be,{children:A.errorMsg})]})})},X={sectionWidth:new oe(343,580,726),iconWidthHeight:new oe(20,He[4])},zt={title:new Ge("standardSemiBold","largeSemiBold")},Ee=t=>t?ae[t]??{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}:{name:"Other",iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},Wt=(t,e,r,n)=>({header:t,title:`${ue(ae[n.cardsList[0]?.brand]?.name??"")} ${e}`,subtitle:`${ue(ae[n.cardsList[0]?.brand]?.name??"")} ${r} ${n.cardsList[0]?.last4}`,status:n.cardsList[0]?.status}),Dt=y.img`
|
|
90
|
-
width: ${t=>t.width}px;
|
|
91
|
-
height: ${t=>t.height}px;
|
|
92
|
-
`,Xt=({paymentAccount:t,plaidConnectionDetails:e,connectedAccountProvider:r,sectionId:n,isDisabled:o,hasError:i=!1,isValid:c,style:p,analytics:a,onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:x,onUpdatePaymentAccountLoginStatus:m,onEstablishConnectionSuccess:w,updateCardPaymentModalState:b,cardPaymentView:S,resetCardPaymentViewState:E,cardSetupInProgress:I=!1,googleAPIKey:U,subscriptionBillingAddress:M,subscriptionBillingAddressSectionId:V})=>{const D=je(),$=ce(),{register:J}=Me(),B=D.mode==="light"?new ne(D.colors.brandColorJadeLight):new ne(D.colors.brandColorJadeDark),{common:N,customerOnboardingPage:{sections:{link_payment_account:{title:R,text:_,subText:P},card_payment_method:T}}}=ke.getLocalizedStrings(),z=S.cardsList.length>0,g=S.cardsList[0]?.brand??"other",W=S.addCardPaymentSourceStatus.fetchState,j=Wt(T.header,T.titleText,T.protectedCardNo,S);let F;return z&&(F={header:j.header,title:j.title,subtitle:j.subtitle,status:j.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:s.jsx(Dt,{src:Ee(g).iconURL,width:X.iconWidthHeight.valuePx($),height:X.iconWidthHeight.valuePx($),alt:Ee(g).name,loading:"lazy"}),color:new ne(B)},showCompletedIcon:!1,isError:W==="Error",isLoading:W==="In-Progress",isCompleted:!0,showRightArrow:!1}),s.jsxs(Nt,{windowSize:$,children:[s.jsx(Ut,{type:"hidden",...J(`${n}.connected`,{validate:K=>i?K==="true":!0}),value:c?"true":"false"}),s.jsx(Ye,{connectedAccountProvider:r,paymentAccount:t,plaidConnectionDetails:e,allBankAccounts:[],header:R,sectionTitle:R,defaultSectionTitle:_,defaultSectionSubTitle:P,sectionId:n,isDisabled:o,hasError:i,showZeniAccountSection:!1,isCompleted:t?.providerVerificationStatus?.code?.includes("verified")===!0&&t?.isLoginRequired===!1,showCompletedIcon:$==="small",onFetchLinkTokenClick:h,onEstablishConnectionClick:f,onUpdatePaymentAccountStatus:x,onUpdatePaymentAccountLoginStatus:m,onEstablishConnectionSuccess:w,style:p,icon:{element:s.jsx(Ve,{width:X.iconWidthHeight.valuePx($),height:X.iconWidthHeight.valuePx($)}),color:B},analytics:a,productType:"onboarding",resetCardPaymentViewState:E,cardPaymentSectionValues:F,cardPaymentView:S,updateCardPaymentModalState:b,referrer:"Onboarding",cardSetupInProgress:I}),Bt($,N.headers.billingAddress,V,a,M,U,o)]})},Bt=(t,e,r,n,o,i,c)=>{const p={"Add street address":"street_address","Add suite":"suite","Add city":"city","Add state":"state","Select country":"country","Add ZIP code":"zip_code","Add secondary info":"secondary_info"};return s.jsxs(Vt,{children:[s.jsx(Mt,{windowSize:t,isDisabled:c==="disabled",children:e}),s.jsx(Je,{googleAPIKey:i??"",addressToEdit:o,sectionId:`${r}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"},onFormFieldClick:a=>{if(a.target instanceof HTMLInputElement){const{placeholder:h}=a.target;if(h){const f=p[h];f&&n.trackOnboardingBillingAddress(f)}}}})]})},Nt=y.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
width: ${t=>X.sectionWidth.valuePx(t.windowSize)};
|
|
96
|
-
padding-bottom: ${u.sp3};
|
|
97
|
-
`,Ut=y.input`
|
|
98
|
-
display: none;
|
|
99
|
-
`,Mt=y.div`
|
|
100
|
-
${t=>`${zt.title.style(t.windowSize)}`};
|
|
101
|
-
margin-bottom: ${u.sp3};
|
|
102
|
-
margin-top: ${u.sp3};
|
|
103
|
-
color: ${t=>t.isError===!0?q.important:t.isDisabled===!0?t.theme.colors.grey1:t.theme.colors.primary};
|
|
104
|
-
`,Vt=y.div`
|
|
105
|
-
margin-top: ${u.sp5};
|
|
106
|
-
margin-bottom: ${u.sp4};
|
|
107
|
-
`;export{Wt as M,Ee as o,Xt as r,Yt as t};
|