@zeniai/web-cockpit-ui 1.15.39-qa → 1.15.40-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-DpLTXUS2-D0c1tGuw.js +21 -0
- package/dist/assets/{AIPerformancePage-DlTdGosv-BAgeiPmO.js → AIPerformancePage-ByRPO3mW-3EbdmQ_-.js} +104 -104
- package/dist/assets/AccountInfoPage-BfVVOaTL-D3vk9TdW.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BS2TBUSE-vsGLXorb.js → AccountInfoPageContent-BAzd-LkX-BjwkJSBP.js} +15 -15
- package/dist/assets/AccountLockedInfoModal-BI8dkiAz-CEREcr8f.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-CLh6hMw4.js → AccountReconDetailsDrawerPage-Cu_UrL9J-Bn-PtQx2.js} +18 -18
- package/dist/assets/AccountRow-nSloLUTN-C7-a59B1.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-BQ85fNBD.js → AccountsPromoCardStack-Z8O9Tv5P-BHHWsVbt.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-GDXK5rJA-DyijyVI8.js +6 -0
- package/dist/assets/{AddToWalletPage-C4EwdLZJ-B_zG1g-k.js → AddToWalletPage-CKOnAq6_-CqcvkHGd.js} +22 -22
- package/dist/assets/{AgingReportsPage-vAvkUfOS-DI-FeGoC.js → AgingReportsPage-CUcu_cHV-Do94-_mv.js} +5 -5
- package/dist/assets/{AllUserItems-qrYg6Gdx-UTjuVZZB.js → AllUserItems-BbhDuv3Y-CPWfHpie.js} +10 -10
- package/dist/assets/ApAgingDetailPage-DLvP7G6Q-DhXBARgG.js +46 -0
- package/dist/assets/{AppBasePage-DrE-W6d7-uRp1s1KV.js → AppBasePage-Cc3o50Ar-BZVIdQ2o.js} +12 -12
- package/dist/assets/{AppDrawerContent-ATbZG_cu-B6DLMEZB.js → AppDrawerContent-moxx3tLo-DWEBLXQy.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-BiL2dANi-BvGx2tm4.js +47 -0
- package/dist/assets/{ArAgingChart-CuzG9AZY-8eWrWtAO.js → ArAgingChart-DuwEWasX-B7DcyKyM.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-DwRkcLEu-1obcA6lF.js → ArAgingDetailPage-DGETibBB-BtDKR53R.js} +6 -6
- package/dist/assets/{AttachmentView-BrQRChzc-ZayiRyZC.js → AttachmentView-Q7kiwPOS-BNETSDSC.js} +5 -5
- package/dist/assets/{BankAccountSection-hcKEMs80-wZlh5GSi.js → BankAccountSection-Ct31GOKt-CADjKttV.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-CPKRaP1s.js → BankAccountWarningSection-ko9DqAKK-BfybEzCK.js} +10 -10
- package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-DENiRulM.js → BankConnectionsSettingsPage-Ds9FSEMV-B2mXxuP2.js} +14 -14
- package/dist/assets/{BillDetailPage-D0NLFZXA-idtsM4af.js → BillDetailPage-DKDNgnqK-2cg0C7-c.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-BAPQ2OnN.js → BillPayApprovalRuleDetailPage-DUprxSDP-B3qYmqgn.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-s1-j5O2T.js → BillPayApprovalRulesPage-DuRefUEE-B2lK8SV2.js} +12 -12
- package/dist/assets/BillPayPromoPage-CszEgRZk-BTqdbqxQ.js +84 -0
- package/dist/assets/{BillPaySetUpPage-WdEdbf16-BhfuePfW.js → BillPaySetUpPage-UfS3JsLW-Zxv-DayC.js} +2 -2
- package/dist/assets/BillingSettingsPage-9uV4vEJB-CnXv1V73.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-DAUoo9pq-BX-KKXKs.js → BillsBulkReviewDrawerPage-DKGmWv9w-CuPH1foN.js} +1 -1
- package/dist/assets/{BoxItem-CACRFWG2-Ren223Wk.js → BoxItem-Qhw9iPt9-CzMCE4d7.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-9gZbBDL6-CkTxaZm4.js → BusinessVerificationPage-CVZrCy-t-DHZcdzsr.js} +9 -9
- package/dist/assets/{CardNumberSubText-C-oVdziK-DKs-Skfh.js → CardNumberSubText-r5Tf-P5n-CPkrSmch.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BhFKSl4p-B-Ntsd90.js → CashbackDetailPage-Bo_ZMMG7-O_F3xD1y.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-D8J6HINu-BdjOzswd.js → ChargeCardDetailPage-BlQdk9jC-CEJAXstZ.js} +39 -39
- package/dist/assets/{ChargeCardListPage-tdUKyHdz-DiHyKK7l.js → ChargeCardListPage-CsFYpoaM-guNcti1f.js} +30 -30
- package/dist/assets/{ChargeCardListTable-CByk3iqX-De61_zRL.js → ChargeCardListTable-D8exMgXq-BTYKr9bX.js} +39 -39
- package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-CN9h02wy.js → ChargeCardPaymentHistoryPage-DBc981J5-C_KsK_Zd.js} +39 -39
- package/dist/assets/ChargeCardPromoPage-Dk1xNNTk-Cya5z3jm.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-DgpLxIiq.js → ChargeCardSetupPage-Bco5-BZh-DmUwzBF1.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-Do0awbvY.js → ChargeCardStatementsPage-uEDAQkC5-Ca3X6gkv.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-DL5qh7cC.js → CheckDepositDrawerPage-CNRKyz3v-gmMux-Qd.js} +15 -15
- package/dist/assets/{CollapsableReportTable-Cq8bhaYC-CZx2j0pM.js → CollapsableReportTable-CoDaSHJN-BeRkup1e.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-BxDFACQl.js → CompanyOfficerDetailsSection-DzleqDta-BzbJLAhM.js} +28 -28
- package/dist/assets/{CompanyPassportCard-CHaKk74P-BrRUuhAj.js → CompanyPassportCard-CG5saSQ3-DNwsmEMg.js} +5 -5
- package/dist/assets/{CompanyPassportPage-DXWXFFKM-YRrsW7zl.js → CompanyPassportPage-ZCNGHjZ9-KZyi_Mzu.js} +21 -21
- package/dist/assets/{CompleteProfile-ChaWsK6t-DR5LLsbx.js → CompleteProfile-BqPvCgUX-A6-sj2cx.js} +1 -1
- package/dist/assets/ConfettiBurst-B2xVyUMV-0H5gfw7o.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DS_SX5Rc.js → ConstrainedInnerElement-BeIpAPjB-BthMTEWM.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-CW-u-9AN.js → CreateOrEditVendorPage-CfFzrga_-BPUVECKH.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-rxUCJ2nm.js → CreditCardPaymentDrawerPage-Cjnbhvmv-eb3LqJz4.js} +11 -11
- package/dist/assets/CurrencySelectField-DDmu3bja-D1d_Ut_Z.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-BjlfLwhf.js → CustomerOnboardingActivationPage-hnf-eIo--C4K5Zxpz.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-C6hmKSZu.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DxQXlI51.js → CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-C4F_bhLR.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-B7jFIamI.js → CustomerOnboardingNoStepsPage-CA0h5UTQ-BjW3LXd6.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-CjCxpyH5.js → CustomerOnboardingPage-rvO0Stsl-D7f95vft.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-DVc7TctC.js → CustomerOnboardingProductSuitePage-BIgNTp2U-BwO9ehCm.js} +10 -10
- package/dist/assets/{Dashboard-Csggwob0-BO3QbyVw.js → Dashboard-BFesVYJk-BNAlL83k.js} +33 -33
- package/dist/assets/{DashboardReportPage-DFIdi_I0-D7EM2nxK.js → DashboardReportPage-CdNJfWUo-DOYF0wYK.js} +23 -23
- package/dist/assets/DashboardSidebarBackgroundAnimation-CJDhi61--XjtCq4Xk.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-BwbeKyPH.js → DepositAccTransactionItem-DJ_V8Mx7-CDK8mXzb.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-DAmQEIBE.js → DepositAccTransactionListPage-DBsJOm1m-nTfqP2ee.js} +5 -5
- package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-1dw1FF3E.js → DomesticWireDetailsPage-B1_C38p0-CovZ6vni.js} +2 -2
- package/dist/assets/{DownloadOverlay-4f9deyJS-DZFtNi4N.js → DownloadOverlay-DYUlDQr8-qBFIPpKK.js} +26 -26
- package/dist/assets/{DrawerPage-roO3xvRT-6os6qo37.js → DrawerPage-jU38Lq6Q-AHgBQfC_.js} +13 -13
- package/dist/assets/EditPeoplePage-Dw9mMyyp-DPDs2n-w.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CIUcImns-BDU5lh2j.js → EditReimbursementDetailPage-PRaUQsZj-DqTgKZsB.js} +82 -82
- package/dist/assets/EntityDetailPage-C2Ix5fwl-gSVT_FTR.js +18 -0
- package/dist/assets/{EntitySummarySection-fBL4TZpT-TkV0Oz1a.js → EntitySummarySection-BzzwWXw2-D_F7Rlzp.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-Dr9hWqJP.js → ExpenseAutomationOverviewPage-CMzFQB6V-DM_yh2Rl.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-BOOA30kB-BufH1Btg.js +3001 -0
- package/dist/assets/{ExpressPayPage-c8oTCnBR-CwUvXlgh.js → ExpressPayPage-B8_m64s9-wdqPmdTX.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-DkiAajs2-C3ytwSVb.js → FeaturePreviewPage-BLWGNRVo-C92AU0mn.js} +2 -2
- package/dist/assets/{FollowStepsSection-GaWu1kt9-lgNwy5h-.js → FollowStepsSection-CBVDfZ38-nmHmpAVz.js} +57 -57
- package/dist/assets/GlobalReviewListPage-DlBZ4OnM-xT4_H-8W.js +291 -0
- package/dist/assets/{InformationCardStack-dMFbHUWM-CKh2M5k7.js → InformationCardStack-D8hkkUkN-B1MHqZTM.js} +4 -4
- package/dist/assets/{InsightsCardStack-BlXkyuyz-DMBEm68j.js → InsightsCardStack-T3ZL19C0-BBaRu6Cu.js} +9 -9
- package/dist/assets/InsightsSection-CVioRrr2-CEMLw-o0.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-CY_OuXB5.js → IntegrationsSettingsPage-DKqNc7bF-BOmO6Qyo.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-Bp-YhTPe.js → InternationalWireSwiftDetailsPage-qzmJ8_r9-C6omI1qL.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-8XEibbVK-cjj-JWJ4.js +65 -0
- package/dist/assets/{InviteFormPage-BCdalqtP-DEmhTBcW.js → InviteFormPage-Dw-l-O7n-B74WmVBo.js} +16 -16
- package/dist/assets/{InvitePageListView-B88FW48q-CJJQfk5m.js → InvitePageListView-CGjk-eOP-ClDlh7fM.js} +48 -48
- package/dist/assets/InvitePeoplePage-DSg5Quam-VrkZhbUi.js +12 -0
- package/dist/assets/InvoiceUploadSection-D_uWzQW4-Bxkjza2M.js +140 -0
- package/dist/assets/{IssueChargeCardPage-B6wmvbEr-B2zhxp3c.js → IssueChargeCardPage-BASDviuN-Der3X_t9.js} +34 -34
- package/dist/assets/{LabeledAddressValue-CQrDCgNs-CqrzxeUV.js → LabeledAddressValue-IPGwjeYh-CkaMLxji.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-BoHS44YO-C0d1SGUs.js → LabeledAddressValueField-DYjUauc7-DIfkXNuQ.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-DVf8zpcv-CnTD9x1u.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-DwXn17zh.js → LabeledCountryMultiSelectField-CekqwoGI-FfKjwgoC.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-Bf_H2WLZ.js → LabeledCreatableSingleSelectField-By3V1BNi-3t8vaX2e.js} +8 -8
- package/dist/assets/LabeledDocumentField-CN-BH7Gq-D_XxeGxN.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-DYysX-lx.js → LabeledDropDownFormattedTextField-CQkl7AeY-DLVKw4TX.js} +4 -4
- package/dist/assets/{LabeledText-2EDpuXZ4-ZljRY_j7.js → LabeledText-D1RmgOs9-q82PtDVl.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-BRHOan2E.js → LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-0XX6kAaj.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-CvLZx4pY.js → LabeledZeniRolesDropDownField-BiVOlFVe-DAdgSY4x.js} +26 -26
- package/dist/assets/LinkJETransactionPage-DbA8sdwa-BFuJnTLq.js +98 -0
- package/dist/assets/{LockCardPage-CHv1xi2J-mXPWUl04.js → LockCardPage-BVpW2BeO-aNMVewaJ.js} +42 -42
- package/dist/assets/{LowBalancePopup-Cb55PGLc-C16_RtCi.js → LowBalancePopup-DTUaytjD-DS1CDgAE.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-k34ybVrp-BxWmvoNw.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9sI0Na-DYhrOrMG.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DI9_mzqN-g6BD3Bf4.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-RG1qZ5Kj-CBdchHNz.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-ByGqXE4C.js → MagicLinkTitleSection-BeTuROc4-BqJ6KNUx.js} +4 -4
- package/dist/assets/{MailingDetailsSection-EwtoQ2TZ-Cbz2IXfC.js → MailingDetailsSection-q49nDsf9-CpQRrqml.js} +6 -6
- package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-nJ31HAIY.js → MyBankConnectionsSettingsPage-B9kH0sVB-CBACGGM8.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-SRoiz1Qu-CXlkfrZl.js +6 -0
- package/dist/assets/MyProfileSettingsPage-D40mm3Me-BP-31NhD.js +85 -0
- package/dist/assets/NavBarWithPicker-DuTo0ZPb-C_jShNIM.js +30 -0
- package/dist/assets/{NavigationArrow-kQWS5Pzb-BnLTYFqA.js → NavigationArrow-BvkBQmTR-Df9u1P7d.js} +7 -7
- package/dist/assets/{NavigationDots-BQb_Fodq-DPmycbJO.js → NavigationDots-DyeJVxnu-BWgE-kd3.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-z86XZorn-D_P0X2rA.js → NewGlobalMerchantPage-D15HmpS7-7O1eYItX.js} +34 -34
- package/dist/assets/NoDataChart-j3LPkJML-DH_2yb3S.js +26 -0
- package/dist/assets/{NoDataTable-DVe7sQhD-BBvSxmca.js → NoDataTable-BnwGiTCu-DdjmD7IA.js} +1 -1
- package/dist/assets/{NotFoundPage-B1XCmhSe-Bswe3x_k.js → NotFoundPage-Ds5RxwiG-CAZIdfn2.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-BaN20EGV-Jcu5M-rf.js → NotificationSettingsPage-CeWmIGY8-DtH4x4Zr.js} +30 -30
- package/dist/assets/NotificationsListConfig-_L5Loigk-C2rXa9XH.js +1 -0
- package/dist/assets/{NotificationsPage-C9efAgjo-AlTPK97H.js → NotificationsPage-DYE-ZefG-CQb2VS6_.js} +40 -40
- package/dist/assets/OpExByVendorPage-Br2UmBAk-C4xtYWdA.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DvH5zFFZ.js → OverlayContainerPage-D4QU0p4o-C2DruCao.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CXtJhnA_-iJiggxC0.js → PandLWithForecastPage-vAvSbwIq-D4RAUyzB.js} +13 -13
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-uyk9ZZRm.js → PaymentAccountSetupBillingAddressSection-2cz94sYW-D8fR2crL.js} +14 -14
- package/dist/assets/PeoplePage-DSSY4CbY-CUJyHd04.js +727 -0
- package/dist/assets/{Preview-CoirdzrN.js → Preview-DH9wlYN4.js} +1 -1
- package/dist/assets/{ProductsCarousel-ufZlh7Rx-STTMhn6O.js → ProductsCarousel-JcjsFk4w-xghMAqt2.js} +7 -7
- package/dist/assets/{PromoBaseCards-D2UbhBhT-B3nRp3gI.js → PromoBaseCards-D8xPcjkz-DtK0GWHd.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BrQ71F06-EpGzmSYw.js → QBOConnectionDialog-KDwylUf5-DEEWOQtl.js} +6 -6
- package/dist/assets/QBOSetupSection-Dts3QjOd-CSmveDbb.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Dz5HZk-8--6Vs9cIS.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-NbE0JcCj.js → ReimbursementApprovalRulesPage-BcmW2ws5-Che0m033.js} +11 -11
- package/dist/assets/ReimbursementDetailPage-BdJYqqCn-CYh1sneh.js +314 -0
- package/dist/assets/ReimbursementPromoPage-B7nNFf49-09B6QAJH.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-dqwxz6WG.js → ReimbursementSetUpPage-B6l3L19G-D3utfB62.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DyrixQpU.js → ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-DWSGEIbO.js} +1 -1
- package/dist/assets/{ReloadCard-vAhL7B8U-Byu7tcBj.js → ReloadCard-pCquFw6w-C5Nq3bfI.js} +8 -8
- package/dist/assets/{ReportTableViewSelector-Y97ney3W-ChUmdWxl.js → ReportTableViewSelector-BOA9cxem-D95Rl8Pv.js} +28 -28
- package/dist/assets/{ReportsPage-DKM0gVzR-CJveAb23.js → ReportsPage-BOsLdYhx-DZO6PKlQ.js} +4 -4
- package/dist/assets/{RevenueChart-BEjDS1u4-BbPYev-x.js → RevenueChart-DPse5Wdo-AFfFtyYx.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-BlQLrN9z-eEn9iGLz.js → ReviewDetailsPage-DTCm09MF-BtzB7MPB.js} +53 -53
- package/dist/assets/{ReviewOverlay-Bn3TFqfi-O6NbaoDZ.js → ReviewOverlay-B2XV0Wf1-9HOJu6NK.js} +25 -25
- package/dist/assets/RoleWithToolTip-DpaXFRka-BbRU76xe.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-HZszSQpF.js → ScheduleDetailsFixedAssetsPage-DLpikyWD-kK0JFjhN.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-CVCxLNNn.js → ScheduleDetailsPage-DIvnRAi6-CXakgTSA.js} +8 -8
- package/dist/assets/{ScheduleSequenceTable-D-rZ4ftr-CrLLNfgO.js → ScheduleSequenceTable-O93ZenyD-DnPGdohK.js} +44 -44
- package/dist/assets/{ScreenRoutes-BI5VdJ1u.js → ScreenRoutes-uNOGWUGZ.js} +33 -33
- package/dist/assets/{SetUpAccountSection-CoVrSSYL-Cz_V0ppu.js → SetUpAccountSection-Dl68db5l-B4jqgZUp.js} +5 -5
- package/dist/assets/SignIn-D6twztsA-CW5yhgyV.js +491 -0
- package/dist/assets/SignInScreen-CxdUYlBE.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-D3eISFuA-A-aeBT_y.js → SpendManagementListViewPage-DsTTqmEx-yOHixb_V.js} +21 -21
- package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-jknB6oUt.js → SpendManagementPerTabPage-Dt9HEmXn-CJK-wCrp.js} +13 -13
- package/dist/assets/{SpendManagementSection-D8rBpC-y-C-1Tmmxs.js → SpendManagementSection-DbsdVrJv-B_c96ZIs.js} +23 -23
- package/dist/assets/StatementItem-D1vvnzNl-lXFrHXXQ.js +31 -0
- package/dist/assets/StatementsPage-XAVpAiKL-Ch4pndMa.js +58 -0
- package/dist/assets/{StatusSwitcher-B9MARTyR-uN5xb-gX.js → StatusSwitcher-B4EYXc0F-D3lCfolE.js} +5 -5
- package/dist/assets/{SubTabSwitcher-C3rtSwro-Ck4vI9j3.js → SubTabSwitcher-CM9v4rRl-lIA1fOJE.js} +3 -3
- package/dist/assets/{SummaryCard-CShVbqhj-C0mR12Rj.js → SummaryCard-CF9Nbk_i-CKrtYMiz.js} +1 -1
- package/dist/assets/TaskManagementPage-ChTC8Nzf-c9kZ-1iP.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-8rb8PRgV.js → TimeRangeSwitcher-37ytEy0X-BPg3_wjC.js} +2 -2
- package/dist/assets/TimeframeSwitcher-Ca28fZEt-4kauNdEu.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-BSWY0nMa-u1tKN6th.js +31 -0
- package/dist/assets/{TopExCard-dI_WEGWb-CkfKmcqH.js → TopExCard-DHDNaLww-Cp9pW08N.js} +11 -11
- package/dist/assets/{TopExDetailPage-BWy5E8Lp-DoEOTa6r.js → TopExDetailPage-DFzrCiVG-BvTfiPwy.js} +14 -14
- package/dist/assets/{TransactionActivityLogPage-DjhEIUYm-CVk9j3q-.js → TransactionActivityLogPage-DcbQgckT-BCk9nFR3.js} +23 -23
- package/dist/assets/TransactionDetailPage-BCTtqHfm-n6NqpKTK.js +903 -0
- package/dist/assets/{TransactionList-80KjM8Kg-DZ_flqbd.js → TransactionList-DVFUdewa-8p0Xausj.js} +20 -20
- package/dist/assets/{TransactionListBig-DWQXH4ID-BE0-yEmC.js → TransactionListBig-Daypmugt-AiYr5uVw.js} +20 -20
- package/dist/assets/TransactionListPage-CzwkHzb_-Dnj7c_uL.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-DE1VmPu5.js → TransactionVendorDetailPage-BsKafcmj-QLBH3pzt.js} +16 -16
- package/dist/assets/{TransferDrawerPage-6z-MoZZP-mZshzkdg.js → TransferDrawerPage-DyFcSYZt-7PU8dYYK.js} +35 -35
- package/dist/assets/{TreasuryOverviewPage-CF_ter0o-BmiahUtt.js → TreasuryOverviewPage-BPkFbqCZ-BGWLrsqk.js} +28 -28
- package/dist/assets/{TreasuryPromoPage-Do-PTcjI-T5HTleFc.js → TreasuryPromoPage-pEVzLiB4-CckQ4gPa.js} +19 -19
- package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-lW4e98bP.js → TreasuryStatementsPage-izaxVrJg-BOmcBurT.js} +1 -1
- package/dist/assets/TreasuryTaxLetterPage-DIa79RKC-BaoTF3DV.js +58 -0
- package/dist/assets/{TrendChart-C6B61CAm-ccvYw3Dl.js → TrendChart--F9P_tcq-CTI_f8th.js} +3 -3
- package/dist/assets/{TrendWithTransactions-Bp3vhaPa-DKvam-cU.js → TrendWithTransactions-B0R1TMMK-BIx_Ucxw.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-V_1ur7kN.js → UncategorizedAccountsMappingPage-CToVvQYm-DSBjQ-vG.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-B3EZbw6Q.js → UnitIntegrationPage-DGmrRY2v-CpdFvEi5.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-B3JZwTBb-DawOCnY-.js +38 -0
- package/dist/assets/Vendor2FAPopup-BRMPwclY-C7lmw7U-.js +1 -0
- package/dist/assets/VendorACHDetailsPage-FgtLHn1A-BN5W-Bsc.js +1 -0
- package/dist/assets/{VendorDetailPage-C4g_Gfsl-DfxhJWr1.js → VendorDetailPage-DTQ-KiJz-BjFrWJYo.js} +90 -90
- package/dist/assets/VendorDomesticWireDetailsPage-yy6bXxb9-D2ssuNks.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-C82dbC0z.js → VendorFiling1099EditablePage-z9q_fohc-ld-WK3qa.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-DTOwONia-CpI3YCe1.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-BmpQ62rU.js → VendorInternationalWireDetailsPage-DR-BKbDb-DaH2MsUT.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DK94_VqZ-DJpWsPVZ.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BT-RADSV-CZeFwZz5.js → VendorsAccountsSection-CWyBBs2G-BHKKM3ME.js} +3 -3
- package/dist/assets/{VerifyDevice-Cxc9CVMi-BL8Egn6k.js → VerifyDevice-CG1Qj4Lm-DigRc0-f.js} +4 -4
- package/dist/assets/{VideoPlayer-9UkKMhGy-C8Jc8YBV.js → VideoPlayer-BdIPlzSd-DYXLi2NY.js} +2 -2
- package/dist/assets/{VideoPopup-rfiYmtio-B4L2ZckC.js → VideoPopup-W2U47mhU-BbkemVhS.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DrUA4asI-BBme1los.js → WarningsDrawerPage-D0aOjGDf-CAbcgcID.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-K016HgQt-D8aykdnG.js → ZeniAccountDetailPage-DJyYOR4V-DHVbCPEu.js} +13 -13
- package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-ZWNmYkTh.js → ZeniAccountListViewPage-BTOIvLCF-mMpckNBs.js} +21 -21
- package/dist/assets/ZeniAccountNavBarPieces-vGgpCYIn-BMTL2XMu.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-D6O2YpV6.js → ZeniAccountPromoPage-DYxM2WNa-jQgPA6gu.js} +23 -23
- package/dist/assets/{ZeniAccountSetupPage-BubBgkoa-BpRQpJq9.js → ZeniAccountSetupPage-DUq-PiMf-DWgEim6l.js} +3 -3
- package/dist/assets/{ZeniCopyright-BxIwmms--C95f1QNY.js → ZeniCopyright-Chrw_zb6-BKj6eUA-.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-C0zCo5eT.js → ZeniTransferAmountSlider-CuZPJv1--DR9FZtFU.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-DHGXNW7A.js → add-to-wallet-DgdBD8_G-B2IvxXWv.js} +1 -1
- package/dist/assets/{analytics-DRAIIXch.js → analytics-DtwjxHiX.js} +1 -1
- package/dist/assets/{analyticsHelper-CT5zOInj-DuapFtcv.js → analyticsHelper-BqOb8jb5-CGkPFK_O.js} +1 -1
- package/dist/assets/analyticsHelper-j8OuskUt.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CWU-GbXg.js → arrow-south-east-round-PEovUgvH-BA8Ep9QS.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CbUcm6tD.js → auto-transfer-rule-mbafm5D3-HGlxBiye.js} +1 -1
- package/dist/assets/{chartTypes-Ddw_3-6f-OViFz2fj.js → chartTypes-kba3vib6-DZ27Jj39.js} +1 -1
- package/dist/assets/commonDimensions-D0kIxeo5-RDa02x_3.js +1 -0
- package/dist/assets/{commonTypes-B-foaEwJ-B7UyHR11.js → commonTypes-0d0JMX8y-CalDLikD.js} +1 -1
- package/dist/assets/{constants-ov1sZD-8.js → constants-CE9jAcY0.js} +1 -1
- package/dist/assets/{core-DTkIP9TV.js → core-XvwDdaId.js} +1 -1
- package/dist/assets/{dash.all.min-Bt5zmw-k.js → dash.all.min-CrBcFpeF.js} +1 -1
- package/dist/assets/{detailCommon-Cpgf9GLg-1WCjE92a.js → detailCommon-ttGeF18U-BSDu3BLp.js} +4 -4
- package/dist/assets/downloadPdf-DX8GL4Ja-x4buR44L.js +1 -0
- package/dist/assets/{empty-_n93FfZv.js → empty-Bl-Hsev3.js} +1 -1
- package/dist/assets/{empty-CeGcB9xa.js → empty-y-VvSSjQ.js} +1 -1
- package/dist/assets/epic-BbATrl1e.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-D96tOflH.js → gift-box-Cmt9OgIZ-D1YJhnVt.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-2POgqjOa.js → graphic-no-data-l-DU4J8fDt-DPnV1HVO.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-PUK4CMqN.js → graphic-no-data-net-burn-l-CzmycA0m-eKmdez3u.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-bjRX7vgu.js → handshake-BPg58FML-CaQoUCG-.js} +1 -1
- package/dist/assets/{helper-DP3YY99s-BW2j4jJ8.js → helper-YFgDgQKT-BC5Bdlf5.js} +2 -2
- package/dist/assets/{index-BhMHzjtQ.js → index-BqGj3wsF.js} +1 -1
- package/dist/assets/{index-CK3umv0l.js → index-DAtPGjek.js} +1 -1
- package/dist/assets/{index-Dkuq8pxE.js → index-DQrFoID0.js} +1 -1
- package/dist/assets/{index-BZzvu_l6.js → index-DfiMoEY6.js} +1 -1
- package/dist/assets/{index-Dn4fsqrg.js → index-Dfs8yBxm.js} +3775 -3751
- package/dist/assets/{index-DDju9VB3.js → index-P3m51nfg.js} +1 -1
- package/dist/assets/{index-Dt5nJuRT.js → index-vpntWUJx.js} +1 -1
- package/dist/assets/{lexical-BiXOi-Hk.js → lexical-Huj_vwAQ.js} +1 -1
- package/dist/assets/{liveblocks-CN1Pe_iM.js → liveblocks-DO6Nvzzd.js} +1 -1
- package/dist/assets/{lottie-D0Yki-KW.js → lottie-Brfg_siY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DuIK129X-C7sz-zfO.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-uH_Ogwdr.js → mapSectionWithAcOnlyToTreeNode-Co-aYc3j-BzIgtJky.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-COaFWgJv-CpUvCKfW.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-330OiGav-D2arADsc.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-J3b1nb_T-CzCSY_0J.js → mapTimeframeBalancesToTreeNode-CATud2li-D_4USxAl.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-75iAo6WN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-D6BhbnL-.js} +1 -1
- package/dist/assets/{mui-t9zesPMq.js → mui-BoUXdMXW.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CnQe9dJ6.js → page-detail-CWX5S47F-slNOFFuo.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CXz-zqFv.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-D_KNQBWB.js → radio-default-CiSgisfh-8S_K4aeU.js} +1 -1
- package/dist/assets/{react-D5jt5O9g.js → react-B6Zv-pk5.js} +1 -1
- package/dist/assets/{react-Chk4J137.js → react-BEh8f-x0.js} +1 -1
- package/dist/assets/{react-DHDdhtnS.js → react-BM1bLfCE.js} +1 -1
- package/dist/assets/{react-HlghPMEn.js → react-CGUy3-Ee.js} +1 -1
- package/dist/assets/{react-CSiX3uCa.js → react-ClpUcFhc.js} +3 -3
- package/dist/assets/{react-B7247BHH.js → react-D2vJQnJN.js} +1 -1
- package/dist/assets/{react-CZ_HQvRg.js → react-D4fY6Hdc.js} +1 -1
- package/dist/assets/{react-6mE6xEOR.js → react-eG3wjELA.js} +2 -2
- package/dist/assets/{recharts-Cg59vN3o.js → recharts-Dx_NgewX.js} +1 -1
- package/dist/assets/{sentry-BKz9JNP2.js → sentry-Dje-_Mky.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CcQ6zo-4.js → shield-DOlUxcFf-DsKmOO4l.js} +1 -1
- package/dist/assets/toCOABalancesWithID-iCDy3BRW-D-QioPYy.js +1 -0
- package/dist/assets/{toChartData-BEjMhb7--hljEyiCG.js → toChartData-CLrjl2HT-B5rnppiY.js} +1 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-CkewT8By.js +1 -0
- package/dist/assets/{uploadAttachment-DUpHzqMe-BJrE9eqG.js → uploadAttachment-_EPHKVvJ-BI-TRaFx.js} +22 -22
- package/dist/assets/uploadReceipts-Dge0cNF1-dznVP6mr.js +1 -0
- package/dist/assets/{url-D2VKambj.js → url-C9Sf7nFb.js} +1 -1
- package/dist/assets/{url-Bp3DApux.js → url-qAerZ0OB.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DtC1Ioqh.js → useLongPress-GCK2COYQ-Dg3J9wpe.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BblEFC3h.js → usp-line-BBd1wKwW-19qrO-Ih.js} +1 -1
- package/dist/assets/{utils-BjuPsonu.js → utils-CyvMfhu-.js} +1 -1
- package/dist/assets/{zeni-epic-state-D4InWuWM.js → zeni-epic-state-DjuGgMVt.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D2Xav-UW-is9JM5m9.js +0 -21
- package/dist/assets/AccountInfoPage-B8-8kUGD-B2Z0UV7R.js +0 -18
- package/dist/assets/AccountLockedInfoModal-aukulrV7-CdYEAqiv.js +0 -59
- package/dist/assets/AccountRow-BiEYR4Y1-hWgp6D7v.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-FEHxMu-0.js +0 -6
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-BhXpwRj9.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BkvXbvGU.js +0 -47
- package/dist/assets/BillPayPromoPage-BMcP4EU5-Be0hFWHi.js +0 -84
- package/dist/assets/BillingSettingsPage-GtRUqSZm-uYwUUCLC.js +0 -44
- package/dist/assets/ChargeCardPromoPage-C4cgx2gm-C0uZqtCo.js +0 -222
- package/dist/assets/ConfettiBurst-CdB5fRMt-Bh6yJ_JE.js +0 -1
- package/dist/assets/CurrencySelectField-BDqU4HVy-8fNMSxy8.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-D3uhIFOz.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-CXIflV0T.js +0 -12
- package/dist/assets/EditPeoplePage-pi5RclAj-Xf9KGbVz.js +0 -55
- package/dist/assets/EntityDetailPage-OTKTVNMD-wQz23B_S.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-BtN-CwTS.js +0 -1703
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-CSD-6H67.js +0 -291
- package/dist/assets/InsightsSection-D-oCmrir-DMVggX2r.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-BKi6QeHP.js +0 -65
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-BmOpdSP1.js +0 -12
- package/dist/assets/InvoiceUploadSection-C8hytmay-Q3VhOkPv.js +0 -140
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-4XGB8sMk.js +0 -16
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-obiM30eu.js +0 -41
- package/dist/assets/LinkJETransactionPage-BhV2MnCY-D_XP8_tQ.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-6ODQvSli.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-v0nk__55.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-Crch1oAl.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-HiPw3lTM.js +0 -31
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D1brM7Kg.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-C6nrIT8O.js +0 -85
- package/dist/assets/NavBarWithPicker-D8WNahg--DvxXKLde.js +0 -30
- package/dist/assets/NoDataChart-CyYJ6icu-2mAZGTKF.js +0 -26
- package/dist/assets/NotificationsListConfig-BOW_TmPC-CVA0OePe.js +0 -1
- package/dist/assets/OpExByVendorPage-DXeBU3-z-BAHAWgTa.js +0 -100
- package/dist/assets/PeoplePage-DXC2CtOt-mv-o3ADV.js +0 -675
- package/dist/assets/QBOSetupSection-EOFscEW--Bv7YFpyw.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BZg3FS4x.js +0 -32
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-BNHQvvJm.js +0 -314
- package/dist/assets/ReimbursementPromoPage-DXTAY8c7-CKYJHwk8.js +0 -84
- package/dist/assets/RoleWithToolTip-DhBFvJea-CE-fnoX1.js +0 -22
- package/dist/assets/SignIn-BoAejo7r-B94hTR-u.js +0 -491
- package/dist/assets/SignInScreen-Buf8ytnC.js +0 -1
- package/dist/assets/StatementItem-Cu6dlAsl-CDLaPyDW.js +0 -31
- package/dist/assets/StatementsPage-DiY2BOcu-B6GmkSJH.js +0 -58
- package/dist/assets/TaskManagementPage-RVS8nv0n-COSQr7oX.js +0 -508
- package/dist/assets/TimeframeSwitcher-CW08yYgo-DItR-hmf.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BNxNq2Fx.js +0 -31
- package/dist/assets/TransactionDetailPage-CuxqQd8U-DudRnP0L.js +0 -903
- package/dist/assets/TransactionListPage-DC08rCC9-BH2tNBEd.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-BocC7iP6.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51--wE36xQn.js +0 -38
- package/dist/assets/Vendor2FAPopup-DezpDfp8-DYoXoZ-w.js +0 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-DCuFNH9E.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-C9y2vQ83.js +0 -1
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-BFYB3Xlk.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Bh98y6ga.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-LquZb6Na.js +0 -14
- package/dist/assets/analyticsHelper-phLK40GK.js +0 -1
- package/dist/assets/commonDimensions-ClmbdehE-Dimgn1GD.js +0 -1
- package/dist/assets/downloadPdf-DfRYmfsd-BPDfRxDH.js +0 -1
- package/dist/assets/epic-DsVPiFFV.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-DTMOlF67.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-Dgoksvb9.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CI9abIWE.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-gaxwl0V_.js +0 -4
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B1iz_AL6.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-0LNQ1d67.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as W,F as S,V as t,bD as G,T as V,
|
|
1
|
+
import{J as W,F as S,V as t,bD as G,T as V,ab as b,x as r,am as U,o as i,aP as z,bU as P,cr as q,cs as F,ct as J,d1 as K,u as l,ba as O,z as T,b9 as Q,p as j,d0 as X,bu as Y,w as Z}from"./index-Dfs8yBxm.js";import{n as o}from"./mui-BoUXdMXW.js";import{a as ee}from"./sentry-Dje-_Mky.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./zeni-epic-state-DjuGgMVt.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.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]="cea2ccf0-90ca-4bb8-b544-562699dabaf8",e._sentryDebugIdIdentifier="sentry-dbid-cea2ccf0-90ca-4bb8-b544-562699dabaf8")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},M={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeMedium")},te=({showDeleteBtn:e=!1,disableButtons:d=!1,isLastSection:w=!1,approvalRule:c,onEditRuleClick:y,onDeleteRuleClick:g})=>{const[v,h]=ee.useState(!1),n=W(),{range:m}=c.criteria[0],{steps:$,approvalRuleId:x}=c,a=S.getLocalizedStrings().commonSetUp.approval,N=()=>{h(!0)},E={onOkClick:()=>{h(!1),g?.(x)},onCancelClick:()=>{h(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:w,isUpdatingApprovalRules:d,children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(L,{windowSize:n,children:[a.from," ",z("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(k,{}),t.jsx(le,{}),t.jsx(k,{})]}),m.max==null?t.jsx(he,{}):t.jsx(L,{windowSize:n,children:z("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(I,{$isDisabled:!0,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(I,{onClick:N,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)}):null,d===!0?t.jsx(P,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(D,{children:t.jsx(C,{$isDisabled:!0,"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})})}):t.jsx(C,{onClick:()=>{y(x)},"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((u,H)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),u.nonUserActors!=null&&u.nonUserActors.filter(p=>p.subType!=null).map((p,_)=>t.jsxs(A,{children:[t.jsx(R,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},`${p.subType}_${_}`)),u.actors.map(p=>t.jsxs(A,{children:[t.jsxs(R,{children:[p.firstName," ",p.lastName]}),u.operator!="is"?t.jsx(B,{className:"operator",children:u.operator}):null]},p.userId))]},H))})}),v?t.jsx(q,{titleComponent:t.jsx(J,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(F,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:E}):null]})},oe=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -14,7 +14,7 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as y,y as r,al as U,o as i,aO as z
|
|
|
14
14
|
border-color: ${e=>e.isUpdatingApprovalRules===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
`,ie=o(
|
|
17
|
+
`,ie=o(O)`
|
|
18
18
|
display: flex;
|
|
19
19
|
position: relative;
|
|
20
20
|
align-items: center;
|
|
@@ -132,7 +132,7 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as y,y as r,al as U,o as i,aO as z
|
|
|
132
132
|
color: ${j.alertDark};
|
|
133
133
|
`,de=o.span`
|
|
134
134
|
color: ${j.successDark};
|
|
135
|
-
`,
|
|
135
|
+
`,R=o.span`
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
137
|
`,ce=o.div`
|
|
138
138
|
display: flex;
|
|
@@ -141,7 +141,7 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as y,y as r,al as U,o as i,aO as z
|
|
|
141
141
|
`,ue=o.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
gap: ${i.sp5};
|
|
144
|
-
`,
|
|
144
|
+
`,I=o(X)`
|
|
145
145
|
width: ${i.sp3};
|
|
146
146
|
height: ${i.sp3};
|
|
147
147
|
cursor: ${e=>e.$isDisabled===!0?"not-allowed":"pointer"};
|
|
@@ -175,7 +175,7 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as y,y as r,al as U,o as i,aO as z
|
|
|
175
175
|
${e=>`${M.amount.style(e.windowSize)}`};
|
|
176
176
|
color: ${e=>e.theme.colors.primary};
|
|
177
177
|
word-break: break-word;
|
|
178
|
-
`,
|
|
178
|
+
`,f={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Ce=({approvalView:e,onBackClick:d,onEditRuleClick:w,onDeleteRuleClick:c})=>{const y=W(),{fetchState:g,deleteStatus:v}=e,h=S.getLocalizedStrings().commonSetUp.approval,n=S.getLocalizedStrings().spendManagement.billPay.billPayApproval,m=v.fetchState,$=e.listeningToPusherEvent;return t.jsxs(me,{children:[t.jsx(G,{title:h.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{d()},source:"BillPayApprovalRulesPage"}),t.jsxs(xe,{children:[t.jsx(ge,{windowSize:y,children:n.approvalPageSubTitle}),g==="In-Progress"||g==="Not-Started"||m==="In-Progress"?t.jsx(we,{children:t.jsx(V,{size:"ExtraLarge",start:!0})}):g==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((x,a)=>t.jsx(te,{showDeleteBtn:a!==0,disableButtons:$===!0&&x.approvalRuleId===e.newApprovalRuleId,approvalRule:x,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:w,onDeleteRuleClick:c},x.approvalRuleId)),t.jsxs($e,{windowSize:y,onClick:()=>{w()},"data-testid":b("add-approval-rule-bill-pay"),children:[t.jsx(be,{}),t.jsx(fe,{children:h.addApprovalText})]})]}):null]})]})},me=o.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
min-height: 100%;
|
|
181
181
|
flex-direction: column;
|
|
@@ -201,9 +201,9 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as y,y as r,al as U,o as i,aO as z
|
|
|
201
201
|
color: ${e=>e.theme.colors.hero};
|
|
202
202
|
display: flex;
|
|
203
203
|
justify-content: center;
|
|
204
|
-
width: ${e=>
|
|
205
|
-
padding-top: ${e=>
|
|
206
|
-
padding-bottom: ${e=>
|
|
204
|
+
width: ${e=>f.titleWidth.valuePx(e.windowSize)};
|
|
205
|
+
padding-top: ${e=>f.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
206
|
+
padding-bottom: ${e=>f.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
207
207
|
`,$e=o(U)`
|
|
208
208
|
cursor: pointer;
|
|
209
209
|
display: flex;
|
|
@@ -211,9 +211,9 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as y,y as r,al as U,o as i,aO as z
|
|
|
211
211
|
justify-content: center;
|
|
212
212
|
align-items: center;
|
|
213
213
|
padding: ${i.sp3} ${i.sp4};
|
|
214
|
-
gap: ${e=>
|
|
214
|
+
gap: ${e=>f.addApprovalGap.valuePx(e.windowSize)};
|
|
215
215
|
|
|
216
|
-
width: ${e=>
|
|
216
|
+
width: ${e=>f.width.valuePx(e.windowSize)};
|
|
217
217
|
height: ${i.sp8};
|
|
218
218
|
|
|
219
219
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -233,9 +233,9 @@ import{J as W,F as S,V as t,bD as G,T as V,aQ as y,y as r,al as U,o as i,aO as z
|
|
|
233
233
|
border-color: ${e=>e.theme.colors.primary};
|
|
234
234
|
}
|
|
235
235
|
margin-bottom: ${i.sp6};
|
|
236
|
-
`,
|
|
236
|
+
`,be=o(K)`
|
|
237
237
|
width: ${i.sp3};
|
|
238
238
|
height: ${i.sp3};
|
|
239
|
-
`,
|
|
239
|
+
`,fe=o.div`
|
|
240
240
|
color: ${e=>e.theme.colors.hero};
|
|
241
241
|
`;export{Ce as default};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import{ax as W,J as f,aR as Y,V as e,fx as ee,bD as ie,r as C,ab as B,af as x,F as D,o as l,ar as le,b as se,y as I,aU as M,an as oe,x as re,p as $,cG as te,aV as ae,bb as ne,u as de}from"./index-Dfs8yBxm.js";import{a as g}from"./sentry-Dje-_Mky.js";import{n as s}from"./mui-BoUXdMXW.js";import{Gn as ce,bS as pe,Go as xe}from"./zeni-epic-state-DjuGgMVt.js";import{C as me}from"./VideoPopup-W2U47mhU-BbkemVhS.js";import{M as b}from"./usp-line-BBd1wKwW-19qrO-Ih.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./VideoPlayer-BdIPlzSd-DYXLi2NY.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="800ab667-0cd7-40ae-ad6c-f7e7685753a1",i._sentryDebugIdIdentifier="sentry-dbid-800ab667-0cd7-40ae-ad6c-f7e7685753a1")}catch{}})();const U="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",A="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",he={midContainerMarginBottom:new re(de[5],44)},ge=s.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
background-color: ${i=>i.theme.colors.grey4};
|
|
7
|
+
`,ue=s.div`
|
|
8
|
+
padding: ${i=>i.windowSize==="small"?`${l.sp0} ${l.sp3}`:`${l.sp0} ${l.sp8}`};
|
|
9
|
+
text-align: center;
|
|
10
|
+
`,we=s(se)`
|
|
11
|
+
max-width: 600px;
|
|
12
|
+
margin: auto;
|
|
13
|
+
padding: ${l.sp7} ${l.sp0};
|
|
14
|
+
color: ${i=>i.theme.colors.primary};
|
|
15
|
+
`,ye=s(le)`
|
|
16
|
+
max-width: 600px;
|
|
17
|
+
margin: auto;
|
|
18
|
+
padding: ${l.sp5} ${l.sp0};
|
|
19
|
+
color: ${i=>i.theme.colors.primary};
|
|
20
|
+
`,L=s.div`
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
|
|
26
|
+
`,je=s.div``,m=s.img``,V=s.div`
|
|
27
|
+
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
`,G=s.div`
|
|
31
|
+
width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
max-width: 712px;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-content: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
align-items: center;
|
|
38
|
+
`,R=s.div`
|
|
39
|
+
margin-left: ${i=>i.windowSize==="small"?l.sp0:l.sp6};
|
|
40
|
+
margin-bottom: ${i=>i.windowSize==="small"?l.sp4:l.sp0};
|
|
41
|
+
background: ${i=>i.theme.colors.grey3};
|
|
42
|
+
border-radius: 12px;
|
|
43
|
+
border: ${i=>`1px solid ${i.theme.colors.grey3}`};
|
|
44
|
+
padding: 15px;
|
|
45
|
+
`,n=s.div`
|
|
46
|
+
border-radius: ${l.sp12};
|
|
47
|
+
border: ${i=>`1px solid ${i.theme.colors.grey2}`};
|
|
48
|
+
padding: ${i=>i.windowSize==="small"?`${l.sp2} ${l.sp4} ${l.sp2} ${l.sp0}`:`${l.sp3} ${l.sp5} ${l.sp3} ${l.sp0}`};
|
|
49
|
+
background: ${i=>i.theme.colors.grey5};
|
|
50
|
+
position: relative;
|
|
51
|
+
margin-bottom: ${l.sp3};
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
text-align: start;
|
|
55
|
+
box-sizing: border-box;
|
|
56
|
+
`,u=s(ne)`
|
|
57
|
+
color: ${i=>i.theme.colors.champion};
|
|
58
|
+
`,w=s(ae)`
|
|
59
|
+
color: ${i=>i.theme.colors.champion};
|
|
60
|
+
`,y=s(M)`
|
|
61
|
+
color: ${i=>i.theme.colors.champion};
|
|
62
|
+
`,j=s(te)`
|
|
63
|
+
color: ${i=>i.theme.colors.champion};
|
|
64
|
+
`,d=s.div``,c=s.div`
|
|
65
|
+
padding-left: ${l.sp3};
|
|
66
|
+
`,E=s(b)`
|
|
67
|
+
color: ${$.graphColor16Dark};
|
|
68
|
+
`,_=s(b)`
|
|
69
|
+
color: ${$.graphColor09Dark};
|
|
70
|
+
`,O=s(b)`
|
|
71
|
+
color: ${$.graphColor28Dark};
|
|
72
|
+
`,fe=s(oe)`
|
|
73
|
+
margin: ${l.sp3} auto;
|
|
74
|
+
max-width: 719px;
|
|
75
|
+
color: ${i=>i.theme.colors.hero};
|
|
76
|
+
`,$e=s.div`
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
|
|
79
|
+
align-items: center;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
`,be=s(M)`
|
|
82
|
+
margin: ${i=>i.windowSize==="small"?l.sp1:`auto ${l.sp5}`};
|
|
83
|
+
color: ${i=>i.theme.colors.grey1};
|
|
84
|
+
`,r=D.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=D.getLocalizedStrings().commonSetUp.businessVerification.terms,Re=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:Z,onButtonClick:F,onBackClick:H,onSetupBillPaySuccess:z,onClickMenuIcon:J})=>{const h=W(),a=f(),{billPayTermsDetails:p}=i,[K,N]=g.useState(!1),[Q,k]=g.useState(!1),v=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{v==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[v,z,p?.fetchStatus]);const X=()=>{o?.trackBillPayPromoScheduleDemo(),k(!0)},q=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!q,T=P?r.setupNonAccessableUsersPromoText:r.promoText;return e.jsxs(ge,{children:[K===!0?e.jsx(me,{onCancelClick:()=>{N(!1)},videoUrl:Z}):null,Q===!0?e.jsx(ee,{onCancelClick:()=>{k(!1)},meetingUrl:S}):null,e.jsx(ie,{title:r.title,onBackClick:H,showBackButton:!xe(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:J,source:"BillPayPromoPage"}),e.jsxs(ue,{windowSize:a,children:[a==="small"?e.jsx(ye,{children:T}):e.jsx(we,{children:T}),a==="small"?e.jsx(Se,{}):e.jsx(ze,{}),P===!1?e.jsxs(je,{children:[e.jsxs($e,{windowSize:a,children:[e.jsx(C,{variant:"secondary",label:r.scheduleDemoButton,onClick:X,"data-testid":B("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:a,children:r.orText}),e.jsx(C,{variant:"primary",label:r.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:F,"data-testid":B("billpay-setup-button")})]}),e.jsxs(fe,{children:[r.terms.terms1,e.jsx(x,{href:t.consentUrl,linkText:t.consent}),t.term2,e.jsx(x,{href:t.depositUrl,linkText:t.depositTerms}),t.term3,e.jsx(x,{href:t.privacyPolicyUrl,onZeniLinkClick:()=>(o?.trackBillPayPrivacyPolicy(),!0),linkText:t.privacy}),t.term4,e.jsx(x,{href:t.tosUrl,onZeniLinkClick:()=>(o?.trackBillPayAgreement(),!0),linkText:t.tos}),t.term5,r.terms.terms3]})]}):null]})]})},Se=()=>{const i=I(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(G,{windowSize:o,children:e.jsx(R,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(m,{src:U,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(O,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.fullyManagedText.bold}),e.jsx(y,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=I(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsxs(V,{windowSize:o,children:[e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(O,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.fullyManagedText.bold}),e.jsx(u,{children:r.fullyManagedText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(_,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.multiLevelApprovalText.bold}),e.jsx(u,{children:r.multiLevelApprovalText.regular})]})]}),e.jsxs(n,{windowSize:o,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(E,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.aiPoweredText.bold}),e.jsx(u,{children:r.aiPoweredText.regular})]})]})]}),e.jsx(G,{windowSize:o,children:e.jsx(R,{windowSize:o,children:i.mode==="dark"?e.jsx(m,{src:A,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(m,{src:U,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Re as default};
|
package/dist/assets/{BillPaySetUpPage-WdEdbf16-BhfuePfW.js → BillPaySetUpPage-UfS3JsLW-Zxv-DayC.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as _e,J as Re,aR as E,a9 as $e,cH as Oe,F as Ue,aW as K,V as t,ff as He,p as ze,ab as Le,x as u,bD as qe,T as Me,ad as Ne,fy as H,dR as Ge,fz as Je,bx as Ye,dH as Ze,bU as Ke,fA as Qe,aS as Xe,o as L,fB as et,u as a,am as tt,bL as it}from"./index-Dfs8yBxm.js";import{a as m}from"./sentry-Dje-_Mky.js";import{n as b}from"./mui-BoUXdMXW.js";import{bJ as nt}from"./zeni-epic-state-DjuGgMVt.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-B3JZwTBb-DawOCnY-.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="304fee7a-270a-43ed-88cc-38595bca8b8f",e._sentryDebugIdIdentifier="sentry-dbid-304fee7a-270a-43ed-88cc-38595bca8b8f")}catch{}})();const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Q="billPaySetUpPage",D="billPayAccount",Ct=({billPaySetupView:e,isDisabled:p,billpayApprovalView:v,meetingUrl:C,showIntlWiseWidget:s,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:fe,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEnableBillPayClick:me,onEnableBillPaySuccess:q,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const k=_e(),i=Re(),[A,S]=m.useState(!1),M=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:ke,plaidConnectionDetails:W,allBankAccounts:Ae,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:N}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:V,approvalRulesStatus:Ie}=v,_=W.link_account.updateStatus,R=W.update_account.updateStatus,B=E(f),J=E(P.fetchState),Y=E(_.fetchState),Z=E(R.fetchState),w=$e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),A&&B==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,B]),m.useEffect(()=>{(B==="In-Progress"&&f==="Completed"||Y==="In-Progress"&&_.fetchState==="Completed"||Z==="In-Progress"&&R.fetchState==="Completed")&&w.reset(z(e))},[B,f,w,e,Y,_.fetchState,Z,R.fetchState]);const Ve=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Be=async(x,F)=>{const o=F[D];if(x.includes(D)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=N.find(U=>U.id===o.fundingAccount.selectedOption);g!=null&&pe(o.fundingAccount.selectedOption,g.accType)}}else if(o.account.selectedOption!=null&&d?.id!=null&&d?.zeniAccountId!=o.account.selectedOption){const g=o.account.allOptions.find(U=>U.value===o.account.selectedOption);g!=null&&typeof g.label=="string"&&y.trackConnectBankLink(g.value,g.label,"bill_pay"),fe(o.account.selectedOption,d.id,d.accType)}}};m.useEffect(()=>{const x=w.watch((F,{name:o})=>{o!=null&&F!=null&&Oe(()=>Be(o,F))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&P.fetchState==="Completed"&&q()},[q,J,P.fetchState]);const{commonSetUp:je,spendManagement:Fe}=Ue.getLocalizedStrings(),{setUp:r}=je,{billPaySetup:l}=Fe.billPay,$=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),O=T?.isBillPayEnabled===!0,Ee=$?r.setupVerifiedSubTitle:l.setupSubTitle,De=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",j=k.mode==="light"?new K(k.colors.brandColorJadeLight):new K(k.colors.brandColorJadeDark),We=()=>{!A&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:M,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>S(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:P,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!O&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:M,backgroundColor:k.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),De?t.jsx(rt,{children:t.jsx(Me,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ne,{...w,children:t.jsx("form",{id:X(Q),onSubmit:Ve,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:We,title:r.businessVerificationTitle,subTitle:r.businessVerificationSubTitle,header:r.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},status:T?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(Je,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:N,plaidConnectionDetails:W,allBankAccounts:Ae,sectionId:D,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:V.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:V.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:V.length>0?Ie:void 0})]})})}),s===!0?t.jsx(H,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{I&&y.trackEnableIntlWire(ie),ye?.()},status:I?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ke,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),$&&!O&&V.length>0?t.jsx(Xe,{formId:X(Q),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(et,{isFooterRendered:$&&!O,meetingUrl:C,analytics:y,productType:"bill_pay"})]})},at=b.div``,lt=b.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -39,4 +39,4 @@ import{d as _e,J as $e,aR as E,a9 as Oe,cG as Re,F as Ue,aW as Z,V as t,fe as ze
|
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
42
|
-
`,
|
|
42
|
+
`,z=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[D]:{fundingAccount:{selectedOption:C?.id,allOptions:v.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:C?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},X=e=>`${e}_form`;export{Ct as default,X as uniqueName};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import{y as be,J as we,a9 as xe,cH as Pe,aW as k,F as Ce,V as t,x as P,bD as Ie,T as Ae,ad as ve,bx as je,cI as ke,aS as Te,o as s,hP as $e,f1 as De,f2 as Ve,u as C,am as ze,gY as Be,p as Ee,z as Le}from"./index-Dfs8yBxm.js";import{a as H}from"./sentry-Dje-_Mky.js";import{n as r}from"./mui-BoUXdMXW.js";import{M as Oe,o as W,t as Me}from"./PaymentAccountSetupBillingAddressSection-2cz94sYW-D8fR2crL.js";import{F as _e}from"./SetUpAccountSection-Dl68db5l-B4jqgZUp.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./zeni-epic-state-DjuGgMVt.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./commonTypes-0d0JMX8y-CalDLikD.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]="20821cbb-ea71-4388-a166-4d85052cf5a8",e._sentryDebugIdIdentifier="sentry-dbid-20821cbb-ea71-4388-a166-4d85052cf5a8")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,C[5],C[5]),iconWidthHeight:new P(20,C[4]),subTitlePaddingTop:new P(12,C[3])},He={title:new Le("standardSemiBold","largeSemiBold")},R="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:K,stripeKey:N,googleAPIKey:J,companyId:q,onUpdateAccountClick:G,onFetchLinkTokenClick:Y,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:Q,onEstablishConnectionClick:X,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const w=be(),o=we(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:$},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,D=y?.providerVerificationStatus,ue=$.fetchState==="In-Progress"||$.fetchState==="Not-Started",f=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:F(i),values:F(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(q)}),V=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:b}=a[n].street,j=De(b?.country);u={street:a[n].street??l.strings.empty,city:b?.locality??l.strings.empty,state:b?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:b?.countryCode??l.strings.empty,postalCode:b?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ve(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&G(g.account.selectedOption,y.paymentAccountId)};H.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const z=w.mode==="light"?new k(w.colors.brandColorJadeLight):new k(w.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:B}=Ce.getLocalizedStrings(),ge=B.section.subTitle,{text:ye,subText:fe}=he,E=h.cardsList.length>0,L=h?.cardsList[0]?.brand??"other",O=h?.addCardPaymentSourceStatus.fetchState,x=Oe(S.header,S.titleText,S.protectedCardNo,h);let M;E&&(M={header:x.header,title:x.title,subtitle:x.subtitle,status:x.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:E===!0,icon:{element:t.jsx("img",{src:W(L).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:W(L).name}),color:new k(z)},showCompletedIcon:!1,isError:O==="Error",isLoading:O==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=H.useState(!1);return t.jsxs(Re,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:B.section.title,backgroundColor:w.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(We,{windowSize:o,children:[t.jsx(Fe,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(Ge,{children:t.jsx("form",{id:U(R),onSubmit:pe,children:t.jsxs(Ke,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Y,onEstablishConnectionClick:X,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:Q,onEstablishConnectionSuccess:ee,isError:D?.code==="require_info"||D?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:z},analytics:e,productType:"billing",updateCardPaymentModalState:T,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ne(o,l.headers.billingAddress,ce,J,d)]})})})}),ke(f.formState.dirtyFields)?t.jsx(Te,{formId:U(R),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:V?.fetchState==="In-Progress",isDisabled:V?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:T,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:K.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:N,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},F=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:$e(n,e.subscriptionBillingAddress)[n]}},We=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
height: 100%;
|
|
5
|
+
overflow-y: auto;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
+
`,Re=r.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
min-height: 100%;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
width: 100%;
|
|
14
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
15
|
+
`,Fe=r(ze)`
|
|
16
|
+
color: ${e=>e.theme.colors.hero};
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
width: ${e=>p.titleWidth.valuePx(e.windowSize)};
|
|
20
|
+
padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
21
|
+
padding-bottom: ${s.sp3};
|
|
22
|
+
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
23
|
+
`,Ue=r.div`
|
|
24
|
+
display: flex;
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: calc(100vh - 110px);
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
align-items: center;
|
|
30
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
31
|
+
`,Ke=r.div`
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
`,Ne=(e,i,m,d,A)=>t.jsxs(Je,{children:[t.jsx(qe,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Je=r.div`
|
|
35
|
+
margin-top: ${s.sp3};
|
|
36
|
+
margin-bottom: ${s.sp4};
|
|
37
|
+
`,qe=r.div`
|
|
38
|
+
${e=>`${He.title.style(e.windowSize)}`};
|
|
39
|
+
margin-bottom: ${s.sp3};
|
|
40
|
+
margin-top: ${s.sp4};
|
|
41
|
+
color: ${e=>e.isError===!0?Ee.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
|
|
42
|
+
`,Ge=r.div`
|
|
43
|
+
flex: 1;
|
|
44
|
+
`,U=e=>`${e}_form`;export{ct as default,U as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as
|
|
1
|
+
import{V as v,cr as V,cs as M,ct as W,kb as Z,aZ as q,F as z}from"./index-Dfs8yBxm.js";import{a as f}from"./sentry-Dje-_Mky.js";import{H4 as H}from"./zeni-epic-state-DjuGgMVt.js";import{u as X}from"./ReviewOverlay-B2XV0Wf1-9HOJu6NK.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./mui-BoUXdMXW.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.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]="a9c444a5-eb2f-4020-863d-b2b7ee5eff32",e._sentryDebugIdIdentifier="sentry-dbid-a9c444a5-eb2f-4020-863d-b2b7ee5eff32")}catch{}})();const{common:s,spendManagement:{billPay:x}}=z.getLocalizedStrings(),o=x.bulkActions;let I;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:_}=e,u=i==="review",[C,w]=f.useState(!1),[n,b]=f.useState(T(e,u)),[p,k]=f.useState(u),[B,E]=f.useState(0),[y,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(I=setInterval(()=>{b(d=>d.map((S,O)=>(clearInterval(I),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(I)),!u&&e.fetchState==="Completed"&&b(T(e,!1)),()=>{clearInterval(I)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,h=n.filter(d=>d.reviewStatus.code!=="error").length,D=()=>{const{title:d,description:S}=G(h);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},F={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,Y(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:A}=J(m,h,R,p),P=e.fetchState==="Completed"&&h===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:P?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:P?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:D,style:i==="approve"?{minWidth:"92px"}:{}};return v.jsxs(v.Fragment,{children:[C?v.jsx(V,{titleComponent:v.jsx(W,{children:y.title}),descriptionComponent:v.jsx(M,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,v.jsx(X,{title:N,description:{content:A,isError:e.fetchState==="Completed"&&h===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:P}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:x.billDetails.newBillTitle,subTitle:`${x.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:q("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&H(t.reviewErrors[0].reviewErrorCode),subTitle:K(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},Y=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=Z([...l,t.isRecurring?"recurring":"one-time"])}),l},G=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},J=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,w=r>1,n=l>1;let b="",p="";return e==="Completed"&&!t?(b=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?x.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:_)}`):(b=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:b,description:p}},K=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,Y as getBillsUniqueType};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as l,V as s,
|
|
1
|
+
import{J as l,V as s,ab as b,o as e}from"./index-Dfs8yBxm.js";import{n as a}from"./mui-BoUXdMXW.js";import{o as p}from"./commonDimensions-D0kIxeo5-RDa02x_3.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="56e50440-a487-4ab5-84dd-9cb7d64b3df4",o._sentryDebugIdIdentifier="sentry-dbid-56e50440-a487-4ab5-84dd-9cb7d64b3df4")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
|
|
4
4
|
min-height: ${o=>p.transactionItemHeightResponsive.valuePx(o.windowSize)};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{d as dt,J as ut,aR as Te,V as a,ae as G,a9 as pt,cW as mt,ay as ft,cG as yt,aZ as ve,aP as Oe,gd as ht,i as gt,bD as xt,aQ as St,cH as wt,cq as Ct,cr as bt,cs as Dt,T as Tt,ac as vt,aS as Ot,o as l,y as F,am as Ve,F as je,ge as It,fB as Ie,f0 as Nt,R as $t,x as kt,al as Ae,H as Pt,a as Ft,u as N}from"./index-Dn4fsqrg.js";import{a as V}from"./sentry-BKz9JNP2.js";import{n as d}from"./mui-t9zesPMq.js";import{ER as Vt,bi as Y,Fm as jt,Fl as At,Fn as _t}from"./zeni-epic-state-D4InWuWM.js";import{r as Lt,z as Bt}from"./CompanyOfficerDetailsSection-Rk0B5cB5-BxDFACQl.js";import"./liveblocks-CN1Pe_iM.js";import"./core-DTkIP9TV.js";import"./recharts-Cg59vN3o.js";import"./lottie-D0Yki-KW.js";import"./analytics-DRAIIXch.js";import"./lexical-BiXOi-Hk.js";import"./utils-BjuPsonu.js";import"./helper-DP3YY99s-BW2j4jJ8.js";import"./LabeledAddressValueField-BoHS44YO-C0d1SGUs.js";import"./LabeledCountryMultiSelectField-D1fVDYR_-DwXn17zh.js";import"./LabeledCreatableSingleSelectField-Bhka-Faj-Bf_H2WLZ.js";import"./LabeledDocumentField-CnRk5aKZ-obiM30eu.js";import"./commonTypes-B-foaEwJ-B7UyHR11.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="b506d23f-f163-4af6-88ba-9d6d3b9191aa",t._sentryDebugIdIdentifier="sentry-dbid-b506d23f-f163-4af6-88ba-9d6d3b9191aa")}catch{}})();const x={width:new F(343,580,726),titleWidth:new F(343,580,726,826),subTitlePaddingTop:new F(12,N[3]),subTitlePaddingBottom:new F(N[3],N[3]),verificationDetailsRowGap:new F(12,N[5],N[5]),termsPaddingLeftRight:new F(N[0],N[3])},zt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:$e,footer:ke,strings:{empty:Rt}}}=je.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:B,productType:y,allIndustries:j,companyTitles:z,maxInsuredAmount:m,isDisabled:k,isSettings:r=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:Z=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:re,onSaveDetailsClick:Ge,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Ze})=>{const qe=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:o,companyOfficerLocalData:C}=t,He=Te(R.fetchState),U=_?.company.company.featuresActivationInfo.connectedAccountProvider,Je=U==="unit"?a.jsxs(Jt,{children:[s.terms.term1,a.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ke,q]=V.useState(!1),[M,oe]=V.useState("save"),[H,Qe]=V.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Ut(t,j,z,S)}),{isValid:Xe}=p.formState,W=_?.company.company.companyBillPayInfo,J=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?J?.companyVerificationStatus:W?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=o?.companyDescription,X=o?.companyLegalName,ge=o?.companyIndustry,xe=o?.phone,Se=o?.website,we=o?.addressStatus?.addressToCreate!=null?Y(o?.addressStatus?.addressToCreate):void 0,ee=o?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,r?"Settings":void 0)},tt=()=>{const e=C[O],n=o?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=o?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||K!=null&&K?.length>0)return p.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(M!=="verification"&&oe("verification"),U==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${T}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(o?.deleteFileStatusById??{}).filter(c=>c!=null);Vt(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),Z===!0&&Ze?.())}),st=async(e,n)=>{e.includes(D)?Ue?.(n[D]):e.includes(T)&&We?.(n[T])},nt=V.useCallback(ft((e,n)=>{st(e,n)},300),[]);V.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=Te(t.companyDetailsLocalData?.addressStatus);V.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,re,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),K=ce?.map(e=>e.user),rt=ce?.map(e=>e.role),ot={onOkClick:()=>{q(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),rt?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${T}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Me?.(e)},onCancelClick:()=>{q(!1)}},lt=ve(Oe(m),m,$e.currencySymbol).toUpperCase(),Q=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&He==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:Z===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:Z===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=W?.companyVerificationStatus?.code==="verified",n=(o?.countriesOfOperations?.length??0)>0||o?.companySourceOfFunds!=null||o?.transactionVolume!=null||o?.purposeOfAccount!=null||o?.registeredAddressStatus!=null||o?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Mt,{isSettings:r,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:qe.colors.grey5,style:{zIndex:H?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?q(!0):A()},showBackButton:!r&&!h,showMenuIcon:r?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(ra,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ke===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:ot}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Gt,{windowSize:u,children:r?Et.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Zt,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Wt,{children:[a.jsxs(Kt,{windowSize:u,children:[a.jsx(Qt,{windowSize:u,children:Q?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!Q&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Fe,{}),de&&a.jsx(Fe,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(qt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:K??[],sectionId:T,isRefreshingViewInBackground:L,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:B,isPopupOpen:H,openPopup:Qe,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Bt,{companyDetails:o,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:B,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:U,allIndustries:j,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(Ht,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(y==="zeni_treasury"?J?.companyVerificationStatus?.code!=="pending_review"&&J?.companyVerificationStatus?.code!=="verified":W?.businessVerificationStatus?.code!=="pending_review"&&W?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=o?.primaryContactLocalData;M!=="save"&&oe("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:o?.companyDescription,legalName:o?.companyLegalName,phone:o?.phone,website:o?.website?.toString(),industry:o?.companyIndustry??"",formattedAddress:o?.addressStatus?.addressToCreate!=null?Y(o?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,r?"Settings":void 0),Ge?.(O))}}},helperText:Je,style:{padding:`12px ${l.sp3}`,zIndex:H?0:4}}):null]})},Ut=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:B,companyView:y}=t,j=je.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:j.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:j.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...jt]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[T]:Object.values(B).map((m,k)=>{const r=m,h=It(r?.documentTypeSelectedForVerification);return{userId:r?.userId,officerType:r?.officerType??`Officer_${k+1}`,name:{firstName:r?.firstName,lastName:r?.lastName},email:r?.email,fileIds:r?.fileIds??[],dob:r?.birthday?.toDate(),nationalityCountryCode:Nt(r?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:r?.ssn,role:{selectedOption:r?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:r?.phone??"",ownership:r?.ownershipInCompany,officerAddress:r?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,r?.userFiles??[],h),back:Ie(!1,r?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&k===0?!0:r?.isSelectedForVerification??!1,userVerificationStatus:r?.userVerificationStatus,treasuryUserVerificationStatus:r?.treasuryUserVerificationStatus,syncToken:r?.syncToken,isPhoneVerified:r?.isPhoneVerified,otpChallenge:r?.otpChallenge}})}},Pe=t=>`${t}_form`,Mt=d.div`
|
|
1
|
+
import{y as dt,J as ut,aR as Te,V as a,af as W,a9 as pt,cX as mt,az as ft,cH as yt,aZ as ve,aQ as Oe,ge as ht,r as gt,bD as xt,ab as St,cI as wt,cr as Ct,cs as bt,ct as Dt,T as Tt,ad as vt,aS as Ot,o as l,x as V,an as je,F as Fe,gf as It,fC as Ie,f1 as Nt,b as $t,a as kt,am as Ae,z as Pt,M as Vt,u as N}from"./index-Dfs8yBxm.js";import{a as j}from"./sentry-Dje-_Mky.js";import{n as d}from"./mui-BoUXdMXW.js";import{Fy as jt,bi as Y,G3 as Ft,G2 as At,G4 as _t}from"./zeni-epic-state-DjuGgMVt.js";import{r as Lt,z as zt}from"./CompanyOfficerDetailsSection-DzleqDta-BzbJLAhM.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./helper-YFgDgQKT-BC5Bdlf5.js";import"./LabeledAddressValueField-DYjUauc7-DIfkXNuQ.js";import"./LabeledCountryMultiSelectField-CekqwoGI-FfKjwgoC.js";import"./LabeledCreatableSingleSelectField-By3V1BNi-3t8vaX2e.js";import"./LabeledDocumentField-CN-BH7Gq-D_XxeGxN.js";import"./commonTypes-0d0JMX8y-CalDLikD.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},S=new t.Error().stack;S&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[S]="76914c2a-7ddf-424f-9d38-53f113a9325b",t._sentryDebugIdIdentifier="sentry-dbid-76914c2a-7ddf-424f-9d38-53f113a9325b")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,N[3]),subTitlePaddingBottom:new V(N[3],N[3]),verificationDetailsRowGap:new V(12,N[5],N[5]),termsPaddingLeftRight:new V(N[0],N[3])},Bt={stepTitle:new Pt("h6Regular","h5Regular")},Ne="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:Et,currency:$e,footer:ke,strings:{empty:Rt}}}=Fe.getLocalizedStrings(),va=({businessVerificationDetails:t,allNationalityCountries:S,verficationDetailsFetchState:$,isRefreshingViewInBackground:L,filesEndPoint:i,authParams:z,productType:y,allIndustries:F,companyTitles:B,maxInsuredAmount:m,isDisabled:k,isSettings:r=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:Z=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:Le,onBackClick:A,onGetOtp:ze,onVerifyOtp:Be,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Me,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Ue,onCompanyOfficerUpdated:Ge,saveNewAddressInLocalStore:re,onSaveDetailsClick:We,onClickMenuIcon:Ye,onExecuteTreasuryTransfer:Ze})=>{const qe=dt(),u=ut(),{updateStatus:R,companyView:_,companyDetailsLocalData:o,companyOfficerLocalData:C}=t,Je=Te(R.fetchState),M=_?.company.company.featuresActivationInfo.connectedAccountProvider,Qe=M==="unit"?a.jsxs(Qt,{children:[s.terms.term1,a.jsx(W,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(W,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(W,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(W,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[He,q]=j.useState(!1),[U,oe]=j.useState("save"),[J,Ke]=j.useState(!1),p=pt({mode:"all",reValidateMode:"onChange",defaultValues:Mt(t,F,B,S)}),{isValid:Xe}=p.formState,G=_?.company.company.companyBillPayInfo,Q=_?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?Q?.companyVerificationStatus:G?.companyVerificationStatus,v=Object.values(C).findIndex(e=>e?.isSelectedForVerification===!0),O=`Officer_${v<0?1:v+1}`,et=()=>{const e=C[O],n=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,b=e?.firstName,I=e?.lastName,ue=e?.titleAtCompany,pe=e?.documentTypeSelectedForVerification,me=e?.phone,fe=e?.addressStatus?.addressToCreate,ye=fe!=null?Y(fe):void 0,he=o?.companyDescription,X=o?.companyLegalName,ge=o?.companyIndustry,xe=o?.phone,Se=o?.website,we=o?.addressStatus?.addressToCreate!=null?Y(o?.addressStatus?.addressToCreate):void 0,ee=o?.primaryContactLocalData,Ce=ee?.firstName,be=ee?.lastName,De=ee?.email;n!=null&&f!=null&&b!=null&&I!=null&&c!=null&&ue!=null&&me!=null&&ye!=null&&pe!=null&&he!=null&&X!=null&&xe!=null&&Se!=null&&ge!=null&&X!=null&&we!=null&&Ce!=null&&be!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:b,lastName:I,companyRole:ue,phone:me,formattedAddress:ye,documentTypeForVerification:pe},{companyDescription:he,legalName:X,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:Ce,lastName:be,email:De},y,r?"Settings":void 0)},tt=()=>{const e=C[O],n=o?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,b=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${T}.${v<0?0:v}.name`,{shouldFocus:!0}),!1):b&&!I?((!n?.firstName||!n?.lastName)&&p.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const e=C[O],n=o?.primaryContactLocalData,c=e?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&p.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||H!=null&&H?.length>0)return p.trigger(`${T}.${v<0?0:v}.email`,{shouldFocus:!0}),!1;return!0},it=p.handleSubmit(()=>{if(U!=="verification"&&oe("verification"),M==="unit"&&C[O]?.isPhoneVerified!==!0){p.setError(`${T}.${v}.phone`,{type:"custom"});return}const e=mt(Object.values(C).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(o?.deleteFileStatusById??{}).filter(c=>c!=null);jt(e.concat(n)).fetchState!=="In-Progress"&&Xe&&(et(),Re?.(O),Z===!0&&Ze?.())}),st=async(e,n)=>{e.includes(D)?Me?.(n[D]):e.includes(T)&&Ge?.(n[T])},nt=j.useCallback(ft((e,n)=>{st(e,n)},300),[]);j.useEffect(()=>{const e=p.watch((n,{name:c})=>{c!=null&&n!=null&&yt(()=>nt(c,n))});return()=>{e.unsubscribe()}});const le=Te(t.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(re?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${D}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,le,re,p]);const ce=_?.companyOfficers.slice(0,10).sort((e,n)=>e.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),H=ce?.map(e=>e.user),rt=ce?.map(e=>e.role),ot={onOkClick:()=>{q(!1),A();const e=[],n=_?.company.company.incInfo.fileIds??[];p.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||e.push(c)}),rt?.forEach((c,f)=>{const b=c?.fileIds??[];p.getValues(`${T}.${f}.fileIds`).forEach(I=>{b.includes(I)||e.push(I)})}),e.length!==0&&Ue?.(e)},onCancelClick:()=>{q(!1)}},lt=ve(Oe(m),m,$e.currencySymbol).toUpperCase(),K=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;if(y==="zeni_treasury"&&P?.code==="pending_review"&&Je==="In-Progress"&&R.fetchState==="Completed")return a.jsxs(ia,{children:[a.jsxs(sa,{children:[a.jsx(ht,{}),a.jsx(na,{windowSize:u,children:Z===!0?s.submittedTitleWithTransfer:s.submittedTitle}),a.jsx(aa,{isReadonly:!1,children:Z===!0?s.submittedDescriptionWithTransfer.replace("__amount__",ve(Oe(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,$e.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):s.submittedDescription})]}),a.jsx(gt,{label:s.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]});const ct=()=>{const e=G?.companyVerificationStatus?.code==="verified",n=(o?.countriesOfOperations?.length??0)>0||o?.companySourceOfFunds!=null||o?.transactionVolume!=null||o?.purposeOfAccount!=null||o?.registeredAddressStatus!=null||o?.usNexus!=null;return e===!0&&n===!1};return a.jsxs(Ut,{isSettings:r,children:[a.jsx(xt,{title:h&&w===!0?Rt:s.header,backgroundColor:qe.colors.grey5,style:{zIndex:J?1:4},onBackClick:()=>{wt(p.formState.dirtyFields)?q(!0):A()},showBackButton:!r&&!h,showMenuIcon:r?u==="medium-compact"||u==="small":!1,onClickMenuIcon:Ye,rightSideComponent:h?a.jsx(ra,{"data-testid":St("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),He===!0?a.jsx(Ct,{titleComponent:a.jsx(Dt,{children:s.discardTitle}),descriptionComponent:a.jsx(bt,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:ot}):null,a.jsxs(Yt,{windowSize:u,children:[(!h||w===!1)&&a.jsx(Wt,{windowSize:u,children:r?Et.infoText.businessVerification:s.title}),$==="In-Progress"||$==="Not-Started"?a.jsx(Zt,{children:a.jsx(Tt,{size:"ExtraLarge",start:!0})}):a.jsx(vt,{...p,children:a.jsxs("form",{id:Pe(Ne),onSubmit:it,children:[h&&w===!0&&a.jsxs(Gt,{children:[a.jsxs(Ht,{windowSize:u,children:[a.jsx(Kt,{windowSize:u,children:K?s.businessVerificationDetails:de?s.verifyBusinessDetails:s.verifyBusinessDetailsWithoutTransfer}),!K&&a.jsx(Xt,{children:a.jsxs(ea,{children:[a.jsx(Ve,{}),de&&a.jsx(Ve,{}),a.jsx(ta,{})]})})]}),a.jsx(_e,{isReadonly:K,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(qt,{children:[a.jsx(Lt,{companyOfficerData:C,allNationalityCountries:S,allOfficers:H??[],sectionId:T,isRefreshingViewInBackground:L,connectedAccountProvider:M,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:k,filesEndPoint:i,authParams:z,isPopupOpen:J,openPopup:Ke,onGetOtp:ze,onVerifyOtp:Be,onResendOtp:Ee,companyTitles:B,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(zt,{companyDetails:o,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:L},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",hideNewOnboardingFields:ct(),sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":k,fileProps:{authParams:z,filesEndPoint:i,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:Le,connectedAccountProvider:M,allIndustries:F,allNationalityCountries:S})]}),y==="zeni_accounts"?a.jsx(Jt,{windowSize:u,children:s.threadText.replace("__amount__",lt)}):null]})})]}),$==="Completed"&&(y==="zeni_treasury"?Q?.companyVerificationStatus?.code!=="pending_review"&&Q?.companyVerificationStatus?.code!=="verified":G?.businessVerificationStatus?.code!=="pending_review"&&G?.businessVerificationStatus?.code!=="verified")?a.jsx(Ot,{formId:Pe(Ne),primaryBtn:{label:w?ke.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="verification"&&R.fetchState==="In-Progress",isDisabled:k!=null},containerStyle:{width:u==="small"?x.width.valuePx(u):"auto",justifyContent:u==="small"?"space-between":"center"},helperStyle:{width:u==="small"?x.width.valuePx(u):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(u),paddingRight:x.termsPaddingLeftRight.valuePx(u),textAlign:u==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ke.back:s.saveDetailsButton,style:{width:u==="small"?"auto":w?"83px":"181px"},isLoading:U==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const e=C[O],n=o?.primaryContactLocalData;U!=="save"&&oe("save");const c=e?.email??"",f=tt(),b=at();f&&b&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?Y(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:o?.companyDescription,legalName:o?.companyLegalName,phone:o?.phone,website:o?.website?.toString(),industry:o?.companyIndustry??"",formattedAddress:o?.addressStatus?.addressToCreate!=null?Y(o?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,r?"Settings":void 0),We?.(O))}}},helperText:Qe,style:{padding:`12px ${l.sp3}`,zIndex:J?0:4}}):null]})},Mt=(t,S,$,L)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:z,companyView:y}=t,F=Fe.getLocalizedStrings().companyPassport,B=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:i?.companyDescription??"",ein:i?.companyFiles.find(m=>m.documentType==="tax_ein"),companyId:i?.companyId??"",syncToken:i?.syncToken,companyLegalName:i?.companyLegalName??"",companyWebsite:i?.website?.toString()??"",companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:S?.map(m=>m.code)},companyPhone:i?.phone??"",companyTaxId:i?.taxIdOrEIN??"",primaryContactName:{firstName:i?.primaryContactLocalData?.firstName??"",lastName:i?.primaryContactLocalData?.lastName??""},primaryContactEmail:i?.primaryContactLocalData?.email??"",primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(m=>m.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(m=>m.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:F.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:i?.stateOfIncorporation,allOptions:F.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:i?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:i?.companySourceOfFunds??"",allOptions:Object.keys(s.companySourceOfFundOptions??{})},companySourceOfFundsDescription:i?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:i?.transactionVolume,allOptions:[..._t]},transactionVolumeDescription:i?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:i?.purposeOfAccount,allOptions:[...At]},purposeOfAccountDescription:i?.purposeOfAccountDescription??"",usNexus:i?.usNexus??"",usNexusTypes:{selectedOptions:i?.usNexusTypes??[],allOptions:[...Ft]},regulatedStatus:i?.regulatedStatus??"",regulatedStatusDescription:i?.regulatedStatusDescription??""},[T]:Object.values(z).map((m,k)=>{const r=m,h=It(r?.documentTypeSelectedForVerification);return{userId:r?.userId,officerType:r?.officerType??`Officer_${k+1}`,name:{firstName:r?.firstName,lastName:r?.lastName},email:r?.email,fileIds:r?.fileIds??[],dob:r?.birthday?.toDate(),nationalityCountryCode:Nt(r?.nationalityCountryCode,L.map(g=>g.countryCode)),ssn:r?.ssn,role:{selectedOption:r?.titleAtCompany,allOptions:$?.map(g=>g.code)},phone:r?.phone??"",ownership:r?.ownershipInCompany,officerAddress:r?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,r?.userFiles??[],h),back:Ie(!1,r?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!B&&k===0?!0:r?.isSelectedForVerification??!1,userVerificationStatus:r?.userVerificationStatus,treasuryUserVerificationStatus:r?.treasuryUserVerificationStatus,syncToken:r?.syncToken,isPhoneVerified:r?.isPhoneVerified,otpChallenge:r?.otpChallenge}})}},Pe=t=>`${t}_form`,Ut=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
width: 100%;
|
|
6
6
|
row-gap: ${l.sp3};
|
|
7
7
|
background-color: ${t=>t.isSettings?"unset":t.theme.colors.grey5};
|
|
8
|
-
`,
|
|
8
|
+
`,Gt=d.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
align-items: flex-start;
|
|
@@ -13,7 +13,7 @@ import{d as dt,J as ut,aR as Te,V as a,ae as G,a9 as pt,cW as mt,ay as ft,cG as
|
|
|
13
13
|
gap: ${l.sp1};
|
|
14
14
|
width: 100%;
|
|
15
15
|
padding-bottom: ${l.sp3};
|
|
16
|
-
`,
|
|
16
|
+
`,Wt=d(Ae)`
|
|
17
17
|
color: ${t=>t.theme.colors.hero};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: center;
|
|
@@ -42,23 +42,23 @@ import{d as dt,J as ut,aR as Te,V as a,ae as G,a9 as pt,cW as mt,ay as ft,cG as
|
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
row-gap: ${l.sp11};
|
|
45
|
-
`,
|
|
45
|
+
`,Jt=d(je)`
|
|
46
46
|
margin-top: ${l.sp2};
|
|
47
47
|
padding: ${l.sp2} ${l.sp2};
|
|
48
48
|
text-align: center;
|
|
49
49
|
color: ${t=>t.theme.colors.grey1};
|
|
50
50
|
width: ${t=>x.width.valuePx(t.windowSize)};
|
|
51
|
-
`,
|
|
51
|
+
`,Qt=d(je)`
|
|
52
52
|
text-align: center;
|
|
53
53
|
max-width: 750px;
|
|
54
54
|
color: ${t=>t.theme.colors.hero};
|
|
55
|
-
`,
|
|
55
|
+
`,Ht=d.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
gap: ${l.sp3};
|
|
59
59
|
width: 100%;
|
|
60
|
-
`,
|
|
61
|
-
${t=>`${
|
|
60
|
+
`,Kt=d(Vt)`
|
|
61
|
+
${t=>`${Bt.stepTitle.style(t.windowSize)}`};
|
|
62
62
|
color: ${t=>t.theme.colors.primary};
|
|
63
63
|
text-align: left;
|
|
64
64
|
`,Xt=d.div`
|
|
@@ -70,7 +70,7 @@ import{d as dt,J as ut,aR as Te,V as a,ae as G,a9 as pt,cW as mt,ay as ft,cG as
|
|
|
70
70
|
display: flex;
|
|
71
71
|
width: 100%;
|
|
72
72
|
gap: ${l.sp3};
|
|
73
|
-
`,
|
|
73
|
+
`,Ve=d.div`
|
|
74
74
|
flex: 1;
|
|
75
75
|
height: 2px;
|
|
76
76
|
background-color: ${t=>t.theme.colors.primary};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{J as m,V as r,F as
|
|
2
|
-
${e=>e.forDetailPage?{...
|
|
1
|
+
import{J as m,V as r,F as w,w as y,o as a,z as x,M as b}from"./index-Dfs8yBxm.js";import{n as o}from"./mui-BoUXdMXW.js";import{a as c}from"./sentry-Dje-_Mky.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="964332e3-ae32-4661-82cd-765a1f418f54",e._sentryDebugIdIdentifier="sentry-dbid-964332e3-ae32-4661-82cd-765a1f418f54")}catch{}})();const $=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:t}}=w.getLocalizedStrings(),C={subText:new x("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=m(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,f=e.status.code==="request_on_hold"||!s?d:i,n=e.type.code.includes("physical");return r.jsxs(v,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${f}`,children:[h,r.jsx(H,{}),d,n&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,n&&s?r.jsx(u,{}):null]})},v=o(b)`
|
|
2
|
+
${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
|
|
3
3
|
color: ${e=>e.theme.colors.hero};
|
|
4
4
|
max-width: 100%;
|
|
5
5
|
overflow: hidden;
|
|
@@ -8,7 +8,7 @@ import{J as m,V as r,F as y,b as w,o as a,H as b,a as x}from"./index-Dn4fsqrg.js
|
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
10
|
gap: ${a.sp1};
|
|
11
|
-
`,
|
|
11
|
+
`,H=o.span`
|
|
12
12
|
height: ${a.sp1};
|
|
13
13
|
width: ${a.sp1};
|
|
14
14
|
background-color: ${e=>e.theme.colors.grey1};
|