@zeniai/web-cockpit-ui 1.15.56-qa → 1.15.57-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-CUEH8rCg-CIX9LCVV.js +21 -0
- package/dist/assets/{AIPerformancePage-BWhcStZE-OZZWOwhI.js → AIPerformancePage-C-7kZpzd-DnU-CnU0.js} +32 -32
- package/dist/assets/AccountInfoPage-D6R4uR87-CauYgBnD.js +18 -0
- package/dist/assets/{AccountInfoPageContent-XBo-oJV1-Da0bieZO.js → AccountInfoPageContent-CaAlcViW-DD8DzME3.js} +22 -22
- package/dist/assets/AccountLockedInfoModal-DQXLZ2LO-C0aOsoiG.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DwzrCq7I-DRO35nGz.js → AccountReconDetailsDrawerPage-BeVU7eNW-DnvK_eyt.js} +20 -20
- package/dist/assets/AccountRow-CGg3Gvpj-2LubTGsx.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D-iNswM8-Cpv3KiBl.js → AccountsPromoCardStack-W21wtjzz-BzBECEOs.js} +11 -11
- package/dist/assets/AddAddressForCardDrawer-BEt3wVEb-DjZ-MTg6.js +6 -0
- package/dist/assets/{AddToWalletPage-DX8xInYJ-oY_8kc5z.js → AddToWalletPage-CNqNAmD1-BAMChQys.js} +15 -15
- package/dist/assets/{AgingReportsPage-CXj1Tifk-Bo-rrYDt.js → AgingReportsPage-tl0jPK38-BjO71f63.js} +8 -8
- package/dist/assets/{AllUserItems-DU78kWqE-DhNwAIBb.js → AllUserItems-Q1lO4Ln3-CuR2BE-L.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-BV5m2F3a-DRpWO7ks.js → ApAgingDetailPage-D2Z4kxTX-DwVh7bmZ.js} +6 -6
- package/dist/assets/AppBasePage-X40fGmvM-B3sSuk1o.js +71 -0
- package/dist/assets/AppDrawerContent-CvJTJq58-BGDMCBjA.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-C4lEfWTu-yCUuOf0u.js +47 -0
- package/dist/assets/{ArAgingChart-B0wn2vDP-f7oGxVU8.js → ArAgingChart-DVt6kJYF-BIJAb2VF.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-C-agUa8y-BOcc6BGV.js → ArAgingDetailPage-IHDBT7mF-wxBgjehQ.js} +3 -3
- package/dist/assets/{AttachmentView-9Vrv319r-DVVqaraT.js → AttachmentView-CwRBUVxC-B-A8o2yf.js} +7 -7
- package/dist/assets/BalancesInsightWithToolTip-XPRUqEEA-Kn1TsaRI.js +38 -0
- package/dist/assets/{BankAccountSection-Bv9Iogxn-BLcgKijp.js → BankAccountSection-W3gEhXh6-DFHw2sKM.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-DAxaKIg3-CQatpV3z.js → BankAccountWarningSection-9u-04CXU-aDzsUImF.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-ZUWw604G-BRehKaig.js → BankConnectionsSettingsPage-DV_X9ctb-CDyQw7u-.js} +27 -27
- package/dist/assets/BillDetailPage-C0r7XIcc-BFWDSS_J.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-BfJ2F03Y-B4Sw2z30.js → BillPayApprovalRuleDetailPage-DJID_-tr-BTp82A3G.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-DQ0MRCLa-YnoDd_eN.js → BillPayApprovalRulesPage-73C2kwjc-DV2esjtr.js} +7 -7
- package/dist/assets/{BillPayPromoPage-DdxRC1p4-CeUDiYiI.js → BillPayPromoPage-FW3B8U-w-n5VnpHD-.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-DBFcp1Yq-DN8GCbic.js → BillPaySetUpPage-rgzWSOQM-C-ZdDZzJ.js} +2 -2
- package/dist/assets/BillingSettingsPage-AcYS3TSu--RATyZn_.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-HXDlOpw3-Cm0uTk27.js → BillsBulkReviewDrawerPage-CM8-szf_-D9duXPwz.js} +1 -1
- package/dist/assets/{BoxItem-DaxLyqVe-B9VgEFUi.js → BoxItem-u890NmTk-GdZH4g2N.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BG1rOYOk-D5qCYDOp.js → BusinessVerificationPage-CzrVGb5K-CmS-O7sQ.js} +13 -13
- package/dist/assets/CardNumberSubText-CxypsknQ-C5MjjYIg.js +21 -0
- package/dist/assets/{CashbackDetailPage-CpVmCjts-DdBqQYGO.js → CashbackDetailPage-fBR9M8sC-Dh5E8gW1.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-u6hMCosx-DtARLgQT.js → ChargeCardDetailPage-CYv8doUs-CC359HTm.js} +18 -18
- package/dist/assets/{ChargeCardListPage-D_7gwi3K-BPR6_79h.js → ChargeCardListPage-CrwBff5O-BIYKDbQO.js} +36 -36
- package/dist/assets/{ChargeCardListTable-DJmStpnO-BzLArBYX.js → ChargeCardListTable-B9P82JB2-DT4hRxIU.js} +37 -37
- package/dist/assets/{ChargeCardPaymentHistoryPage-BRGJ-5y3-DkMANxUm.js → ChargeCardPaymentHistoryPage-BzsNSIp4-CyZrJgN7.js} +42 -42
- package/dist/assets/ChargeCardPromoPage-D40YUEIh-CzX92eqi.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-CRDfRFf1-DwGVvYiG.js → ChargeCardSetupPage-BJ0ruCk3-BaTLJK3K.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-l4X9T8zd-Buh-S4ZJ.js → ChargeCardStatementsPage-CCn6jmK3-B65SJzNg.js} +10 -10
- package/dist/assets/{CheckDepositDrawerPage-DR6LIuPw-DKvVXdmj.js → CheckDepositDrawerPage-COW-uu-_-B15TUyNY.js} +10 -10
- package/dist/assets/CollapsableReportTable-oX8IRAxt-DmgpCuxO.js +2941 -0
- package/dist/assets/{CompanyOfficerDetailsSection-DoGF7khv-Wy_dQ_8T.js → CompanyOfficerDetailsSection-IqJVtLZK-C3OYrk_8.js} +21 -21
- package/dist/assets/{CompanyPassportCard-BHFj9sK6-_Dc-s-J2.js → CompanyPassportCard-BiGjFwZ5-DaDkL0aZ.js} +8 -8
- package/dist/assets/{CompanyPassportPage-CH-dqy03-OxH27UIz.js → CompanyPassportPage-Dg-Q0eMl-B0lK1QQa.js} +36 -36
- package/dist/assets/{CompleteProfile-Ck4Baf4z-BiDJ7-lr.js → CompleteProfile-Ccg2CHq4-rKD1q2iz.js} +4 -4
- package/dist/assets/ConfettiBurst-yXo14QzY-AOku3ebT.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D8Z-iftf.js → ConstrainedInnerElement-CgdnMeoA-DBQlMIjc.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D-0WG9pO-xKEqlz3T.js → CreateOrEditVendorPage-DQYLvgGA-xCTJk5Wj.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-B7voVDUs-DhCFlSxU.js → CreditCardPaymentDrawerPage-izuZXkqy-ofdy6ysD.js} +14 -14
- package/dist/assets/CurrencySelectField-CneumAPd-B7hTgri2.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-D42sb2F9-C12j7ObB.js → CustomerOnboardingActivationPage-C4y0EhXQ-Bs3PD2DS.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-DbMXDaX1-Bt7wIkF_.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-n6GMQZP5-YVUGziza.js → CustomerOnboardingDetailPageSkeleton-D8UmruuK-BIBD0SgP.js} +12 -12
- package/dist/assets/CustomerOnboardingNoStepsPage-hN3TzkAz-Cl3v7kHV.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-BPX2w8Fg-DWYY9hzE.js → CustomerOnboardingPage-C-lYffqT-BHmAdBeO.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-CZXqXXFj-DbtnPgDW.js → CustomerOnboardingProductSuitePage-_UgeXE48-BukwqaM7.js} +11 -11
- package/dist/assets/{Dashboard-Q5gt63wS-BSx4ra46.js → Dashboard-BqIm-EyG-DjEf_UGj.js} +1 -1
- package/dist/assets/{DashboardReportPage-DJsc3Nx7-Ci5wRkW7.js → DashboardReportPage-Dnwy7uOD-B5yKdlc5.js} +39 -39
- package/dist/assets/DashboardSidebarBackgroundAnimation-D0fh4PIm-DM5qHrdk.js +12 -0
- package/dist/assets/DepositAccTransactionItem-C6yQhPjj-l11w2Y5D.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-BtncOXZP-BnXQt5-Q.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-Dptv-ebx-DSZ1aqIn.js → DomesticWireDetailsPage-DmtO34lv-CxwBDMGE.js} +1 -1
- package/dist/assets/DownloadOverlay-CWHxxKW_-UDgVlxY5.js +439 -0
- package/dist/assets/{DrawerPage-DtJQE-UA-Cqtpkmhn.js → DrawerPage-DSU5oir8-DRsRlHno.js} +12 -12
- package/dist/assets/EditPeoplePage-D2n0Hqby-DTz2-JYI.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CFLBOcFT-DS-9_HAs.js +865 -0
- package/dist/assets/EntityDetailPage-Mmx3DFuG-MVIaVfxx.js +18 -0
- package/dist/assets/{EntitySummarySection-BiIPehv4-Du95DQYP.js → EntitySummarySection-HHASyTi6-mpUEq7ck.js} +16 -16
- package/dist/assets/{ExpenseAutomationOverviewPage-Bo5Eu3Ju-BIhPjW_P.js → ExpenseAutomationOverviewPage-DJlmx9Oe-B6myEsyW.js} +52 -52
- package/dist/assets/ExpenseAutomationPage-Djk1vwnA-DbEUK9XH.js +3001 -0
- package/dist/assets/{ExpressPayPage-D18sY5VJ-BzfFkgkp.js → ExpressPayPage-BeCtQ7TL-Ds7KSKVG.js} +21 -21
- package/dist/assets/{FeaturePreviewPage-De2_m2xD-dAXyeyrD.js → FeaturePreviewPage-Dr96evH6-D1kxI8yP.js} +2 -2
- package/dist/assets/{FollowStepsSection-D5ln-mii-B_5eRfWe.js → FollowStepsSection-CH5j9Kb4-BJ9-zsQc.js} +13 -13
- package/dist/assets/GlobalReviewListPage-C32MoCYm-BNlLd0Dn.js +291 -0
- package/dist/assets/{InformationCardStack-B4z6RgwP-BT1JNK_O.js → InformationCardStack-OBOt0eaS-CKdLlnik.js} +4 -4
- package/dist/assets/{InsightsCardStack-CwBBEkZ7-i2yqT7-p.js → InsightsCardStack-BaaSbxvA-DSePDCyn.js} +13 -13
- package/dist/assets/InsightsSection-H8voYHTz-DN8-jvkA.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DBiomD_q-SEyeefZG.js → IntegrationsSettingsPage-B_2KNKJF-BtmEIfKI.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-h4bchKo3--aqneqa5.js → InternationalWireSwiftDetailsPage-DvZU7o6p-BObKTwl6.js} +26 -26
- package/dist/assets/InternationalWireVerificationPage-D_jydE0q-DqIfVs5O.js +65 -0
- package/dist/assets/{InviteFormPage-Dgb-LZKf-B4zbJlb8.js → InviteFormPage-Dr6gx_W_-B4h2mADz.js} +29 -29
- package/dist/assets/{InvitePageListView-DC-Dp4Zc-B-7d1O44.js → InvitePageListView-Dva8LR_u-gmKNm5Jm.js} +39 -39
- package/dist/assets/InvitePeoplePage-bg-XFo6D-C4ZVJYSx.js +12 -0
- package/dist/assets/InvoiceUploadSection-CnYvPpZv-Gp4_i4AV.js +140 -0
- package/dist/assets/{IssueChargeCardPage-DiUKL-rT-BdVoOcei.js → IssueChargeCardPage-Z5WdMvKc-BWkEUK7g.js} +35 -35
- package/dist/assets/{LabeledAddressValue-DYTDoPER-SnTlZNct.js → LabeledAddressValue-DGXMQaW1-Fv-4gy9z.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-DVNSaKBc-DiqNlFEG.js → LabeledAddressValueField-DR8V5Kty-DLCCRDRb.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-CZlavM3Q-o9j3g7Xs.js → LabeledControlledCheckBoxField-CWjC7vEV-9UTpUa1T.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BM1jU3hl-DUjzUpNU.js → LabeledCountryMultiSelectField-CvCgQPY6-BWmECH3i.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-BkI0vyax-B-WErV8z.js → LabeledCreatableSingleSelectField-BZ8L7RY0-DX5NmRdy.js} +6 -6
- package/dist/assets/LabeledDocumentField-B44mt0a7-C0VfTm18.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-6YP1FaQA-BrHR3rfW.js +59 -0
- package/dist/assets/{LabeledText-BaYp8lyd-DsouujPF.js → LabeledText-Q6xdsHJ6-CFwsR7ll.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-CvgIxOeV.js → LabeledUserSingleSelectWithSubtitlesField-ClUfUqjp-BZp8hOi3.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-Bgf26ek0-CC9PqeMV.js → LabeledZeniRolesDropDownField-hbA4Pwlf-D_cCYzYL.js} +31 -31
- package/dist/assets/{LinkJETransactionPage-ByQktBdK-CF0EgNmk.js → LinkJETransactionPage-CH7I7Hke-Bsatheht.js} +17 -17
- package/dist/assets/{LockCardPage-M7Pcx6mB-CzjxHABW.js → LockCardPage-DLFjGMIe-CJwxHBTx.js} +19 -19
- package/dist/assets/{LowBalancePopup-DTwIs75G-BRD9r8mS.js → LowBalancePopup-DPe7elRO-Bgii0mzY.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-DQc3pum0-C2Dyu42Z.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DtD1wZUs-CVU818YE.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-p1K2cYou-BMU75zJW.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-uTUHm3oK-BGx1QWS3.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-B985JuE8-VlS0_Ueo.js → MagicLinkTitleSection-CrGigZw5-BF_Mel0J.js} +5 -5
- package/dist/assets/MailingDetailsSection-BEpTd3QP-CtqpR-Gb.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-2x0kDozt-B-DkgfNl.js → MyBankConnectionsSettingsPage-CPHG_qZj-Cv2vkFlb.js} +13 -13
- package/dist/assets/MyPendingActivationChargeCardListPage-CvMl9E2P-C40qfFQ1.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-BQx9m8r--CCbDAOvO.js → MyProfileSettingsPage-CDUxWW5P-BV8AekOH.js} +9 -9
- package/dist/assets/NavBarWithPicker-ukJ-8SxD-DzuBOs4j.js +30 -0
- package/dist/assets/{NavigationArrow-BpKepWMa-BdqB62PO.js → NavigationArrow-DLfHmE8t-CJQw-tog.js} +7 -7
- package/dist/assets/NavigationDots-TTIuTGav-Dpl3-lZ_.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-rAYrEwup-DX3zbNGn.js → NewGlobalMerchantPage-qrkVsl71-Gy1heqbr.js} +37 -37
- package/dist/assets/{NoDataChart-SlgxXIjJ-DxbYX5JM.js → NoDataChart-CHLcGmJY-o60E8S1E.js} +2 -2
- package/dist/assets/{NoDataTable-CePwfuWH-63JcLMeG.js → NoDataTable-Bv2f24Dy-BxdDK0Sh.js} +1 -1
- package/dist/assets/{NotFoundPage-CdmLYWbu-4ugV08yh.js → NotFoundPage-De1VvWXR-CTgXCngp.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-KThnHYOw-B6fPh0uG.js → NotificationSettingsPage-BA6OA31--CBfWO-I3.js} +19 -19
- package/dist/assets/NotificationsListConfig-e5U6zFaL-CLHC4HiN.js +1 -0
- package/dist/assets/NotificationsPage-B7xvgP8z-DCZ8FuvH.js +685 -0
- package/dist/assets/OpExByVendorPage-C5DN3Ujz-CwGzpZxP.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-VhNl4Ji-.js → OverlayContainerPage-BG9y5C0t-BmISyMhw.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-C6FwSybq-DFlEavl5.js → PandLWithForecastPage-BBINfNiw-BOBMU-KK.js} +13 -13
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DFCQGlZ--O_NjtLB8.js → PaymentAccountSetupBillingAddressSection-D0U3JmOv-vufqhDlQ.js} +16 -16
- package/dist/assets/PeoplePage-5vcxUe01-C3vcjFOm.js +727 -0
- package/dist/assets/{Preview-DrZGwz9y.js → Preview-CA1Ro8Pa.js} +1 -1
- package/dist/assets/{ProductsCarousel-Bq0uDCW7-DVlFZNxE.js → ProductsCarousel-CdRGFDrq-BqWqsGo2.js} +8 -8
- package/dist/assets/{PromoBaseCards-Bs1TPBeA-BgeB60k7.js → PromoBaseCards-CnRAEsCq-Bliwh9DN.js} +19 -19
- package/dist/assets/{QBOConnectionDialog-CGH6M1BO-BLYU__Ef.js → QBOConnectionDialog-DVZWEDpK-Bc0_cD5P.js} +6 -6
- package/dist/assets/QBOSetupSection-qpeMgFEQ-C_--S51D.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CUf8BGfB-B_xupcTv.js → ReimbursementApprovalRuleDetailPage-BxdIzE6u-CQKnW4o9.js} +4 -4
- package/dist/assets/{ReimbursementApprovalRulesPage-SKRjcth4-Bz6bYIZs.js → ReimbursementApprovalRulesPage-DTWRo5Ie-DjHMSjnE.js} +11 -11
- package/dist/assets/ReimbursementDetailPage-E6DAkd-i-BjsPRzGO.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-X1o2D5fz-COdO7cLo.js → ReimbursementPromoPage-DIb3qZ6_-SpJeCRSI.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-DfAhrvlw-nYuoapwW.js → ReimbursementSetUpPage-BB1W8YH--B00Vhwv5.js} +6 -6
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-LVIfhug4-BO74jBI4.js +1 -0
- package/dist/assets/{ReloadCard-DvIzOHkJ-N-AxqgLX.js → ReloadCard-D84Lsd_5-BzO2KGeI.js} +5 -5
- package/dist/assets/ReportTableViewSelector-Db3_WDLJ-DUTYFa_F.js +151 -0
- package/dist/assets/ReportsPage-Blkv8tLt-UF7wvIxP.js +237 -0
- package/dist/assets/{RevenueChart-VvZ0y1TP-CMupOCrE.js → RevenueChart-Dfh_D_Vp-00E7CM78.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-DC5Pr6t5-CqFNly7B.js → ReviewDetailsPage-DvFKpxt5-x-cocqaX.js} +22 -22
- package/dist/assets/{ReviewOverlay-BidXwnVw-aLFcTmHD.js → ReviewOverlay-B22mWGHc-CSe4tQzR.js} +21 -21
- package/dist/assets/RoleWithToolTip-Z-Qz5ghD-BF3ViIqp.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-P4en048K-Bk9b9_R0.js → ScheduleDetailsFixedAssetsPage-B1Tu4OmB-BoWzKj3F.js} +13 -13
- package/dist/assets/ScheduleDetailsPage-hMZQawbc-B5K8qyv9.js +37 -0
- package/dist/assets/ScheduleSequenceTable-EKOr-6FS-CIMOW3Lv.js +324 -0
- package/dist/assets/{ScreenRoutes-GMpQIqvy.js → ScreenRoutes-Bsr7kGfq.js} +29 -51
- package/dist/assets/{SetUpAccountSection-DBuoMbxP-Cslg712V.js → SetUpAccountSection-Bc1EdtKp-0yaISOWV.js} +14 -14
- package/dist/assets/SignIn-DYdZJ_1z-gBNUWjHV.js +491 -0
- package/dist/assets/SignInScreen-BUAoHqsZ.js +1 -0
- package/dist/assets/SpendManagementListViewPage-C3b_1mS_-DDW1AA6H.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-BctgHJjH-BYX0TtFW.js +754 -0
- package/dist/assets/{SpendManagementSection-C-EIQv7m-CV_Wxyh4.js → SpendManagementSection-DjGyXgmL-Cmes-08v.js} +21 -21
- package/dist/assets/{StatementItem-BSVnuQ3e-yqvWSMaE.js → StatementItem-DkYczigh-CSnHMTYV.js} +4 -4
- package/dist/assets/{StatementsPage-CgOC5W_I-8JR2miwM.js → StatementsPage-CgNLCUZ1-C1Zt1XYf.js} +2 -2
- package/dist/assets/{StatusSwitcher-BnSFSpJ0-CBUPADr-.js → StatusSwitcher-CU6EtKkZ-C1BL7O8L.js} +5 -5
- package/dist/assets/SubTabSwitcher-BKn38ZMT-B9w-rcp8.js +58 -0
- package/dist/assets/{SummaryCard-BTnU1LYd-B0v15J8Z.js → SummaryCard-ROGEOK04-BgGopNGq.js} +1 -1
- package/dist/assets/TaskManagementPage-B5otKSZb-BFE0mAT-.js +508 -0
- package/dist/assets/TimeRangeSwitcher-JnO2pOTw-N9yivG4V.js +64 -0
- package/dist/assets/TimeframeSwitcher-DfDRlQ7n-CpbdT0B7.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-CaxIUKDr-DQWeAlGt.js +53 -0
- package/dist/assets/{TopExCard-Bc812PB9-COWkoZkp.js → TopExCard-BdqEYR_a-Px7omjuw.js} +6 -6
- package/dist/assets/{TopExDetailPage-19FwjeX_-CuNIFiR3.js → TopExDetailPage-CsnKTK9E-RTm78wxT.js} +14 -14
- package/dist/assets/{TransactionActivityLogPage-7Lfwq_IY-DnHmLebY.js → TransactionActivityLogPage-D9gPySqM-BB8d-BVV.js} +17 -17
- package/dist/assets/TransactionDetailPage-m6wkPmbZ-BkoyM4F5.js +903 -0
- package/dist/assets/TransactionList-fHfxF4uV-LtxJekW-.js +153 -0
- package/dist/assets/{TransactionListBig-gSPdjYSs-BdSow7ov.js → TransactionListBig-8tRV7xaa-Jk-ZnUXx.js} +16 -16
- package/dist/assets/TransactionListPage-C6ZUsD4l-B2cnsaR4.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-rcOVwgxy-B8MBpZCv.js → TransactionVendorDetailPage-Di-VFMud-BTshDO7x.js} +6 -6
- package/dist/assets/{TransferDrawerPage-IeuD-8y4-DB9WOT1Q.js → TransferDrawerPage-BYVv35xE-Da_CHRTD.js} +45 -45
- package/dist/assets/TreasuryOverviewPage-CXOmwW6t-BcQs0RHi.js +725 -0
- package/dist/assets/{TreasuryPromoPage-KuuzWIYO-BDZfrTam.js → TreasuryPromoPage-B-PDUb2u-B-T-cvTP.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-BAfN8DAx-BToIYFN6.js → TreasuryStatementsPage-hjW6l23C-C-DgyZev.js} +6 -6
- package/dist/assets/TreasuryTaxLetterPage-DYwjPZ9c-DOWoHFiR.js +58 -0
- package/dist/assets/{TrendChart-BJqnjEu6-D4oToyZQ.js → TrendChart-wH6MSice-DJRpqJPt.js} +5 -5
- package/dist/assets/TrendWithTransactions-C4RoOFet-B4g09uS7.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-DlxWCGZg-BAwb-_vk.js → UncategorizedAccountsMappingPage-Blk80xZv-CW9X7gIW.js} +22 -22
- package/dist/assets/{UnitIntegrationPage-U85XCs_D-D9O_ROgv.js → UnitIntegrationPage-B8yOgT6I-DGHJCnWv.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-CSfIPVfJ-BDLDUOxO.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DLU7H22p-bh-wu--S.js → Vendor2FAPopup-pOBQ1C8g-B_aiKxPv.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-vLOpvill-CqCIfcoF.js +1 -0
- package/dist/assets/VendorDetailPage-D_6A3zAl-tXWG3blq.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-CibBnVcZ-BoJ0ATIU.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DIvLStyg-BQ8_Q099.js → VendorFiling1099EditablePage-ORFpUADS-rHSTxH-v.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-B2GFRqrs-DYmryaKj.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Ctwg_CTY-Cwh4VXpi.js → VendorInternationalWireDetailsPage-DCI8Yjx2-DMlPUggt.js} +19 -19
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-C2TqWbKk-CfEJ4hqR.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Bj840XXA-CgKV8slk.js → VendorsAccountsSection-CpHLUjT0-DtbgyO3N.js} +2 -2
- package/dist/assets/{VerifyDevice-D5ce0rEk-DWZM5mzw.js → VerifyDevice-B7mUvk_I-DOI_nJJs.js} +9 -9
- package/dist/assets/{VideoPlayer-XhlPd-AK-BnsTqJgD.js → VideoPlayer-uODifSjz-C5_6EW14.js} +2 -2
- package/dist/assets/VideoPopup-vRgVcJFh-DUXScMWN.js +31 -0
- package/dist/assets/{WarningsDrawerPage-CXHMQPmw-BWpof2zn.js → WarningsDrawerPage-GqThVUqO-BliCg9jp.js} +7 -7
- package/dist/assets/ZeniAccountDetailPage-Dplz1Jte-CmvovpKF.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-CXVzZ4jo-OfYDDT9h.js +443 -0
- package/dist/assets/ZeniAccountNavBarPieces-DymlaQkB-raQlgOHA.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-DGttDJGp-hSxOffm6.js → ZeniAccountPromoPage-BBNUZmma-BaNIxJaE.js} +30 -30
- package/dist/assets/ZeniAccountSetupPage-CHHGMoCM-Bpe-HUos.js +36 -0
- package/dist/assets/{ZeniCopyright-Ct2Gx1TW-C8K8JRc8.js → ZeniCopyright-BgmdPASs-DelYiDhm.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CtSVUxFX-Dwsmf36y.js → ZeniTransferAmountSlider-DMsck2bu-DCLTW9RT.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-ML9MGMdm.js → add-to-wallet-DgdBD8_G-D-4o-88L.js} +1 -1
- package/dist/assets/{analytics-P_xGl18F.js → analytics-C31yhYYa.js} +1 -1
- package/dist/assets/{analyticsHelper-XlFGO0fA.js → analyticsHelper-B7l4_BHB.js} +1 -1
- package/dist/assets/{analyticsHelper-BZApS5V7-CQ7w4UrQ.js → analyticsHelper-DmrBYvLC-BYxc55FI.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CaCPY8nT.js → arrow-south-east-round-PEovUgvH-BlzMDlPl.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-NgJPDzL7.js → auto-transfer-rule-mbafm5D3-BYUDU2ca.js} +1 -1
- package/dist/assets/chartTypes-xMrDPcl9-DKVI72OS.js +1 -0
- package/dist/assets/commonDimensions-BeMzLvmC-DeA_97Hu.js +1 -0
- package/dist/assets/{commonTypes-CGdrM7wg-CQNj58rv.js → commonTypes-DYUaD7k3-CaDbaWCj.js} +1 -1
- package/dist/assets/{constants-DOyZLfgU.js → constants-9sygGEgN.js} +1 -1
- package/dist/assets/{core-9fRi0Mt4.js → core-D_TfeHIh.js} +3 -53
- package/dist/assets/{dash.all.min-CF_THag5.js → dash.all.min-Ch2VCoo5.js} +1 -1
- package/dist/assets/downloadPdf-vnuUU3X8-B7Q2l1ET.js +1 -0
- package/dist/assets/{empty-B5Q0rRHT.js → empty-BiJ0vfXH.js} +1 -1
- package/dist/assets/{empty-CAQ4ZkXH.js → empty-DNhRmYaU.js} +1 -1
- package/dist/assets/epic-DgXJ8ekR.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-UGNcWPn9.js → gift-box-Cmt9OgIZ-BEAvT8rf.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BOhNpsDD.js → graphic-no-data-l-DU4J8fDt-CYOuVrsL.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-emGPe0Ve.js → graphic-no-data-net-burn-l-CzmycA0m-CwMRb5f1.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B0o7WHoi.js → handshake-BPg58FML-DG913wOo.js} +1 -1
- package/dist/assets/{helper-kGYJRbxq-Dou-1Hvg.js → helper-BabSYuW2-DU5KaXId.js} +3 -3
- package/dist/assets/{index-Yp99NR_9.js → index-B69DilQP.js} +1 -1
- package/dist/assets/{index-BIjhkiZM.js → index-BidMB_0T.js} +1 -1
- package/dist/assets/{index-CLu6elou.js → index-Bv_arhgP.js} +1 -1
- package/dist/assets/{index-xQWNfy_j.js → index-COD15W4T.js} +2 -8
- package/dist/assets/{index-WR35fJ_g.js → index-CQD_nutl.js} +4740 -4814
- package/dist/assets/{index-Bsy-GBiE.js → index-D7j2t6WX.js} +1 -1
- package/dist/assets/{index-LDC8nb34.js → index-l2Ugf91P.js} +1 -1
- package/dist/assets/{lexical-OBpCEASU.js → lexical-CBxUxgf7.js} +1 -1
- package/dist/assets/{liveblocks-C4P3eYZH.js → liveblocks-CtZCL_Pz.js} +2 -15
- package/dist/assets/lottie-CVJxkEeH.js +2 -0
- package/dist/assets/mapLoadingInProgressToTreeNode-Bs8-HXsR-byZZ2UVu.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-oqbfssc7-Dcmf_p1v.js → mapSectionWithAcOnlyToTreeNode-O-hSpwLG-CBm5dWL6.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BhgPzzom-CExmYnCM.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Ldd39Ct5-CMF3q4cV.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-nYrRWCim-DX2Ouhk3.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-BE2VzwOR.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D8UYLJpF-CA2QnDit.js} +1 -1
- package/dist/assets/{mui-Brvp17ej.js → mui-Dk05P7Hv.js} +1 -9
- package/dist/assets/{page-detail-CWX5S47F-ChR2-yvA.js → page-detail-CWX5S47F-DkWNpJ9N.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BuTIFt9p.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-CXFHpW2r.js → radio-default-CiSgisfh-D0KDYg5a.js} +1 -1
- package/dist/assets/react-BRl-ICJH.js +19 -0
- package/dist/assets/{react-BhtBasS0.js → react-BgX7cXZF.js} +3 -13
- package/dist/assets/{react-kWaLU55M.js → react-BwERS3QF.js} +2 -12
- package/dist/assets/{react-CWcYCkHQ.js → react-Bxl9Z8Qh.js} +2 -12
- package/dist/assets/{react-B62ffbg2.js → react-DDFsdGD8.js} +2 -12
- package/dist/assets/{react-D3G0H1Pz.js → react-DQw_p84_.js} +2 -12
- package/dist/assets/{react-Be9s5WWp.js → react-klqgMUCw.js} +2 -12
- package/dist/assets/{react-DXoHWgeC.js → react-q9e7Zd9C.js} +2 -12
- package/dist/assets/{recharts-3nFTO0WQ.js → recharts-CgI_z3-h.js} +19 -27
- package/dist/assets/{sentry-Bp-C2lie.js → sentry-B9mdFwQp.js} +2 -17
- package/dist/assets/{shield-DOlUxcFf-C7KHbQMV.js → shield-DOlUxcFf-DFrS0m-m.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BghIFr09-Cj1ZDevr.js +1 -0
- package/dist/assets/toChartData-DRKQ5lEf-o8RM5Syw.js +1 -0
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DZz1sA_Y.js +1 -0
- package/dist/assets/{uploadAttachment-CPTMCWWz-BsMxClN1.js → uploadAttachment-DrIqsgBH-KXnF0yC8.js} +34 -34
- package/dist/assets/uploadReceipts-CIgkuVpu-DVqh43Th.js +1 -0
- package/dist/assets/{url-BgfWw6hk.js → url-1RDcEwn0.js} +1 -1
- package/dist/assets/{url-C3X-Ohpm.js → url-OCPnhlmx.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-aiANt-Y6.js → useLongPress-GCK2COYQ-Bdc_o-8-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-TqZcDLho.js → usp-line-BBd1wKwW-BUoEX_Hw.js} +1 -1
- package/dist/assets/{utils-DYOlPuZo.js → utils-DZ3Subia.js} +4 -38
- package/dist/assets/zeni-epic-state-ksdE_TIc.js +14 -0
- package/dist/index.html +1 -1
- package/package.json +6 -6
- package/dist/assets/ACHDetailsPage-CfGEDzSb-DV0Eamud.js +0 -21
- package/dist/assets/AccountInfoPage-D6sv-ieC-Bi0ZTjMk.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DTEWzR6U-LlwPq_cj.js +0 -59
- package/dist/assets/AccountRow-BsjoBGWz-DZpihkys.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-BKhmiajL.js +0 -6
- package/dist/assets/AppBasePage-1U1M1WD9-C_v4CyTj.js +0 -71
- package/dist/assets/AppDrawerContent-ilzYI49f-YkJW8OTT.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-ZWS4PutA.js +0 -47
- package/dist/assets/BillDetailPage-Cf4PYoYQ-BDF2h_o1.js +0 -266
- package/dist/assets/BillingSettingsPage-DsMjw0qG-BHFQfcoR.js +0 -44
- package/dist/assets/CardNumberSubText-bkAPzhoK-xPg_Vz-Z.js +0 -21
- package/dist/assets/ChargeCardPromoPage-Dx4Lni50-DqToHrb8.js +0 -222
- package/dist/assets/CollapsableReportTable-4bJMcvHV-Mhl0eZKS.js +0 -2844
- package/dist/assets/ConfettiBurst-CVLXMknu-xHcyRPzb.js +0 -1
- package/dist/assets/CurrencySelectField-DrL1sFLq-DKlwkEgI.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-DkyMsJ2e.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-CyYXEVAV.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA--VyG_ExD.js +0 -12
- package/dist/assets/DepositAccTransactionItem-DB7Oz4GA-Cxjn3epT.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-CIILPZQP.js +0 -66
- package/dist/assets/DownloadOverlay-B61S0t5X-ChBbIlkz.js +0 -439
- package/dist/assets/EditPeoplePage-Dd1g1r37-YXzUsk-J.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-CXWrMZff.js +0 -865
- package/dist/assets/EntityDetailPage-q_kzXlBV-BMAnc8Y1.js +0 -18
- package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DXQLO7aa.js +0 -1703
- package/dist/assets/GlobalReviewListPage-Ch51_Flw-Bp8qtPIo.js +0 -291
- package/dist/assets/InsightsSection-CQD6KXLg-CwZowiTB.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-SZTMjIa_.js +0 -65
- package/dist/assets/InvitePeoplePage-CjJOyA8E-CRqZcE-n.js +0 -12
- package/dist/assets/InvoiceUploadSection-BJ_Sbytw-S2-9Zj1d.js +0 -140
- package/dist/assets/LabeledDocumentField-B7TETIva-C4iXsbqy.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B-muR79Q.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-DeQKBNgp.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-D9I776xf.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DW-l5QcU.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Ca3PQPOI.js +0 -31
- package/dist/assets/MailingDetailsSection-detuRa7l-iQO9MOji.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-HpMjRdS6.js +0 -6
- package/dist/assets/NavBarWithPicker-BXsxMlBP-Yw922VyS.js +0 -30
- package/dist/assets/NavigationDots-CxV99fd--DHe0JJ6H.js +0 -15
- package/dist/assets/NotificationsListConfig-6ay7Y8AS-C6rUrmqa.js +0 -1
- package/dist/assets/NotificationsPage-BmNwL81h-SvvKfJOs.js +0 -685
- package/dist/assets/OpExByVendorPage-DQPUJmPx-BSvUE-Xz.js +0 -100
- package/dist/assets/PeoplePage-Df6QdrX5-DiOY0BT9.js +0 -675
- package/dist/assets/QBOSetupSection-BsFbgysY-CKfysLHU.js +0 -79
- package/dist/assets/ReimbursementDetailPage-BzqZlk2B-CTZbBMQs.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-Dr3nLXgh.js +0 -1
- package/dist/assets/ReportTableViewSelector-DikZuwk8-SNjapZLW.js +0 -150
- package/dist/assets/ReportsPage-CgwJh87H-D5Dh_2rJ.js +0 -121
- package/dist/assets/RoleWithToolTip-CUpngYu7-Bv4aTWNw.js +0 -22
- package/dist/assets/ScheduleDetailsPage-Bm8IOCpE-DXeoQ75s.js +0 -37
- package/dist/assets/ScheduleSequenceTable-Cz46lcuv-JJwBSAjp.js +0 -324
- package/dist/assets/SignIn-ogxsR98p-CQtefyen.js +0 -491
- package/dist/assets/SignInScreen-BhGickKe.js +0 -1
- package/dist/assets/SpendManagementListViewPage-DP6uWx2T-CF2QC1sF.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-DSXg_agw-D7L-1Tg8.js +0 -754
- package/dist/assets/SubTabSwitcher-VHMqXmGa-eHcHFn5d.js +0 -58
- package/dist/assets/TaskManagementPage-CeQkRFbn-Dt9eiknk.js +0 -508
- package/dist/assets/TimeRangeSwitcher-BifUYnpe-Cm1SHSWE.js +0 -64
- package/dist/assets/TimeframeSwitcher-9X-6amWo-DNzeRE8K.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-uGCvLn9v.js +0 -31
- package/dist/assets/TransactionDetailPage-C7Tv82YB-BzmjMKCy.js +0 -903
- package/dist/assets/TransactionList-CSZxHqad-DMqYfu_m.js +0 -153
- package/dist/assets/TransactionListPage-9ezEzYvU-DvKHNHiW.js +0 -35
- package/dist/assets/TreasuryOverviewPage-bmv1c3nO-pwlj55Pc.js +0 -708
- package/dist/assets/TreasuryTaxLetterPage-BRDygaXn-BYUu-RLt.js +0 -58
- package/dist/assets/TrendWithTransactions-2pBj6qUR-CstRDLdO.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-CQpeMTAN.js +0 -38
- package/dist/assets/VendorACHDetailsPage-B-Zle7l9-DmwsHf4H.js +0 -1
- package/dist/assets/VendorDetailPage-prrUwTR_-DAtjrsms.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-BlQReF5b.js +0 -1
- package/dist/assets/VendorFirstReviewPage-BJKFcgOq-DxNWypjV.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-BLYwxV4T.js +0 -1
- package/dist/assets/VideoPopup-8ebccUQt-Tnc2J4oh.js +0 -31
- package/dist/assets/ZeniAccountDetailPage-BCEccrGo-BB2c1P9y.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-f_9PSaYv-BA_wKmpL.js +0 -441
- package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-BSImrbVQ.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-5hc6Dfls-DVsTiUTp.js +0 -36
- package/dist/assets/chartTypes-DcNGo46a-8Wbx66DS.js +0 -1
- package/dist/assets/commonDimensions-C5V1GwCs-MODdkiG5.js +0 -1
- package/dist/assets/detailCommon-DEXTnYE7-DLq8Xlss.js +0 -38
- package/dist/assets/downloadPdf-Cd1RR1sH-4x5kEIho.js +0 -1
- package/dist/assets/epic-Ng2EVSPh.js +0 -2
- package/dist/assets/lottie-Bc1XI_mg.js +0 -9
- package/dist/assets/mapLoadingInProgressToTreeNode-BXVk4dIp-BOP1nsZO.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BeUvXbCM.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-CfD51fLc.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-DmgDklT3.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-cmGIfAj7.js +0 -4
- package/dist/assets/react-BgiuPaJ9.js +0 -37
- package/dist/assets/toCOABalancesWithID-Ckyq_c20-B6i1AWVq.js +0 -1
- package/dist/assets/toChartData-N0pkfSXY-B_HjSMac.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-D9Xfc9pM.js +0 -1
- package/dist/assets/zeni-epic-state-C5X_gOJX.js +0 -151
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import{ay as Ft,V as t,gn as Un,J as Kn,y as Xn,go as Hn,gp as Yn,gq as qn,gr as Gn,cg as Jn,aS as Qn,x as y,fe as pt,ff as ea,o as a,fg as ta,fh as na,fi as aa,aQ as Ce,fj as ia,ac as f,bE as mt,bq as ut,dx as yt,ct as ht,cu as bt,cv as gt,gs as la,gt as oa,gu as ra,gv as sa,fo as $,gw as j,fq as A,fr as k,fn as da,w as ft,p as re,fp as _t,fx as ca,fs as pa,ft as ma,gx as ua,gy as ya,aT as ha,aq as xt,bX as De,gz as ba,gA as L,O as ga,u as s,ai as fa,c6 as xa,gB as wa,c as Ta,gC as va,fy as wt,b as Da,d7 as Ia,cl as $a,gD as Tt,b9 as ja,bb as Aa,n as ka,bZ as Wt,d8 as Sa,gE as Ca,ak as Zt,ax as Pa,b7 as Ba,bv as Ra,gF as za,an as Ma}from"./index-CQD_nutl.js";import{a as p}from"./sentry-B9mdFwQp.js";import{n as i}from"./mui-Dk05P7Hv.js";import{bY as Na,bL as La,bZ as Oa,GC as Ea,bX as Fa,bH as _a,bh as Wa}from"./zeni-epic-state-ksdE_TIc.js";import{o as Za,t as Va}from"./LowBalancePopup-DPe7elRO-Bgii0mzY.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},b=new e.Error().stack;b&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[b]="e6dc0adf-2705-4fbf-ae1d-d282d2c9a2e9",e._sentryDebugIdIdentifier="sentry-dbid-e6dc0adf-2705-4fbf-ae1d-d282d2c9a2e9")}catch{}})();const Ua=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",...e},p.createElement("g",{id:"Layer_1"},p.createElement("path",{fill:"none",stroke:"#757d7e",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M4.4,30.6l6-5.9c1,.6,2.1.9,3.3,1,1.1.1,2.3,0,3.4-.4,1.1-.4,2.1-.9,2.9-1.7.9-.8,1.5-1.7,2-2.7,0-.1,0-.2,0-.4,0-.1,0-.2-.1-.3,0-.1-.2-.2-.3-.2-.1,0-.2,0-.4,0h-4.6c-.8,0-1.6-.3-2.1-.9-.6-.6-.9-1.3-.9-2.1s.3-1.5.9-2.1c.6-.6,1.3-.9,2.1-.9h3.8c.1,0,.3,0,.4-.1s.2-.2.3-.3c0-.1,0-.3,0-.4,0-.1,0-.3-.1-.4-1.3-1.6-3.1-2.7-5.2-3.1-2.1-.4-4.2,0-5.9,1.2-1.8,1.1-3,2.8-3.5,4.8s-.2,4.1.8,5.9l-6.1,5.7,3.3,3.3Z"})),p.createElement("g",{id:"Layer_2"},p.createElement("g",null,p.createElement("path",{fill:"#c27419",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M31,8c0,1.9-.7,3.8-2.1,5.1-1.3,1.4-3.2,2.2-5.1,2.2-.9,0-1.9-.2-2.7-.5-.9-.3-1.7-.9-2.3-1.5-.7-.7-1.2-1.4-1.6-2.3-.4-.9-.6-1.8-.6-2.7,0-1.9.7-3.8,2.1-5.1,1.3-1.4,3.2-2.2,5.1-2.2.9,0,1.9.2,2.7.5.9.3,1.7.9,2.3,1.5.7.7,1.2,1.4,1.6,2.3.4.9.6,1.8.6,2.7Z"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,9.4v-4.6"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,11.4s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1,0,0,0,0,.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.1,0,0,0,0-.1,0h0"})))),Ka={formTitle:new Da("h6Medium","h5Medium")},m={containerPaddingLeft:new y(s[3],s[6],s[6]),containerPaddingRight:new y(s[3],s[6],s[8]),marginBottom:new y(s[3],s[3]),labelWidth:new y(120,160,160),formTitlePaddingLeftRight:new y(30,0),marginTop:new y(s[1],0),rightIconsGap:new y(s[4],s[5]),closeContainerMarginTop:new y(s[1],0),formTitleMarginTopBottom:new y(0,0),footerButtonWidth:new y(120,120,120,165,165),right:new y(s[3],s[0]),actionsContainerRight:new y(s[0],s[3],s[3],s[6],s[6]),otherActionsIconContainerMarginLeft:new y(s[5],s[4],s[4],s[5]),otherActionsContainerBottom:new y(58,44),iconContainerMarginTop:new y(2,s[1]),recurringSchedulePaddingLeft:new y(s[2],0),paddingRight:new y(s[2],s[3]),labelMarginRight:new y(s[0],s[3]),textPadding:new y(s[0],s[3]),additionalTextMarginTop:new y(-4,0),refundPopupWidth:new y(300,420,420),drawerSectionPaddingLeftRight:new y(s[4],s[5]),infoLabelPaddingRight:new y(s[3],s[3]),infoLabelMarginTop:new y(s[1],s[0]),navBarHeight:new y(0,0,s[8]),navBarContainerWidth:new y(100,58)},{dateFormat:Xa,common:{noText:C,strings:{empty:c},currency:vt,via:Ha,more:Ya,edit:qa},spendManagement:{billPay:{billDetails:n,billsByTabs:Pe,bulkActions:Dt,vendorCreation:Ie,insufficientFunds:Vt}},collaboration:{threads:{placeholder:It,tooltip:$t,title:{comments:Ga}}}}=ga.getLocalizedStrings(),$e=Xa.visual.MMMDCommaYYYYformat,jt=({billDetails:e,currentTenant:b,showApproveRejectBtns:h,isShowDeletedBillsEnabled:F,signedInUser:_,isAdmin:se,isRealTimeApprovalEnabled:Ut,isInternationalPaymentShaVsOurEnabled:Kt,hasZeniAssistAccess:Xt,analytics:M,showMarkAsPaidButtonToCreator:U,showMarkAsPaidButtonToApprover:Be,isBillPayCommentingEnabled:Re,isZeniUser:Ht,showBackButton:ze=!0,isDetectInsufficientFundsEnabled:Yt,redirectToEditableBillScreen:qt,redirectToBillsScreen:J,discardBillDetailsFromLocalStore:Me,deleteBill:Gt,cancelAndDeleteBill:Ne,approveOrRejectBill:Le,onAddNewRule:Jt,onAttachmentClick:Oe,saveBillDetails:Qt,discardOutsideZeniPaymentData:en,onBackClick:Ee,updateEditRealTimeApproverClicked:tn,onSaveRealTimeApprovals:nn,onRetryPaymentClick:an,onRefundPaymentClick:ln,initialOpenThreadRequest:K})=>{const l=Kn(),o=Ft(),Fe=Xn(),[on,X]=p.useState(!1),[_e,de]=p.useState(!1),[ce,pe]=p.useState(!1),[We,me]=p.useState(!1),[rn,ue]=p.useState(!1),[Ze,Q]=p.useState(!1),g=e.transactionDetails?.id,sn=Ht?Hn:Yn,{requestToOpenThread:ye,setRequestToOpenThread:ee,setOpenThread:te}=p.useContext(sn);p.useEffect(()=>{K?.threadId!=null&&K?.companyId!=null&&K?.entityType!=null&&ee(K)},[K,ee]);const[dn,H]=p.useState(!1),T={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:g,isGlobalComment:!1},x=Re&&g!=null,{threads:Y,isLoading:P}=qn(),Ve=p.useMemo(()=>g==null?[]:Y.filter(r=>r.resolved===!1&&!r.id.includes(Gn)),[Y,g]).length,D=`dashboard_${o.currentTenant?.companyId}`,cn=p.useCallback((r,u)=>{te(u),H(!1)},[te,H]);p.useEffect(()=>{ye?.threadId!=null&&Y.length>0&&!P&&(te(ye.threadId),ee(null))},[ye,Y,P,te,ee]);const Ue=p.useRef(!1),[pn,mn]=p.useState(!1),un=p.useRef(r=>{r&&!Ue.current&&(Ue.current=!0,mn(!0))});Jn({componentName:"bill.details",enabled:pn});const[N,ne]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ke,Xe]=p.useState("approved"),[yn,He]=p.useState(!1),[hn,Ye]=p.useState(!1),[qe,Ge]=p.useState(!1),Je=()=>He(!1),bn=()=>He(!0),Qe=Qn(e.zeniAssist?.refundStatus.fetchState),ae=p.useCallback(()=>{J()},[J]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(Me(),J())},[e,J,Me]),p.useEffect(()=>{Qe==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(pe(!1),ae())},[Qe,e.zeniAssist?.refundStatus,ae]);const w=e.transactionDetails?.billPayInfo.stage,ie=e.transactionDetails?.billPayInfo.billStatus,q=e.transactionDetails?.billPayInfo.billPaymentStatus,gn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,he=w?.code==="paid",v=he?w:ie?.code=="approved"&&q?.code?q:ie,S=Ja(v,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?gn:q?.code!=null&&(ie?.code=="approved"||q.code==="mark_as_paid")?q:ie,be=e.transactionDetails?.vendor?.name,B=e.isRecurring,et=()=>{e.transactionDetails?.id!=null&&qt(e.transactionDetails?.id??"")},fn=()=>{ne({title:B?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:B?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),X(!0)},xn=()=>{ne({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),X(!0)},wn=()=>{ne({title:B?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:B?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),X(!0)},Tn=()=>{M.trackRefundClick(v?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),ne({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),pe(!0)},vn={onOkClick:()=>{X(!1),N.primaryButtonText===n.delete?Gt?.(e.isRecurring):N.title===n.cancelBillTitle?Ne?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Ne?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(M.trackRefundConfirmClick(v?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),ln())},onCancelClick:()=>{X(!1),pe(!1)}},Dn={onOkClick:r=>{ue(!1),Le({billId:e.transactionDetails?.id??"",type:"rejected",description:r})},onCancelClick:()=>{ue(!1)}},In=()=>{const[r]=Pa("ZeniAssist");return r!=null?t.jsx(Ba,{"data-testid":f("bill-details-zeni-assist-icon",g),onClick:()=>{me(!We),M.trackZeniAssistClick(v?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"")},style:{width:`${a.sp5}`,height:`${a.sp5}`,marginBottom:`${a.sp2}`},animationData:r,loop:!0,play:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},le={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??vt.currencyCode},ge=e.transactionDetails?.lines?.map((r,u)=>{const R=r;return{lineIndex:u,lineId:R.id,account:R.account,class:R.class,amount:R.amount.amount,billable:R.billable,customer:R.customer,lineDescription:R.lineDescription,recipientAmount:R.recipientAmount?.amount}})??[],$n=e.transactionDetails?.recipientTotalAmount.amount??0,fe=e.transactionDetails?.recipientTotalAmount,d={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},I=m.labelWidth.value(l),jn=r=>r==="billable"||r==="has_been_billed"?n.yes:n.no,An=d.paymentToBankAccount?.bankAccountNumber?d.paymentToBankAccount?.bankAccountNumber?.slice(d.paymentToBankAccount?.bankAccountNumber?.length-4):d.paymentType?.method?.includes("international")&&d.paymentToBankAccount?.bankAccountIban?d.paymentToBankAccount?.bankAccountIban?.slice(d.paymentToBankAccount?.bankAccountIban.length-4):"",kn=d.paymentToBankAccount?.bankAccountName!=null&&d.paymentToBankAccount?.bankAccountName!=""?d.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${d.paymentToBankAccount?.bankName} XXXX${An}`,Sn=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(ji,{windowSize:l,children:t.jsx($i,{})})]}):void 0,tt=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),Cn=()=>{const r=d?.paymentToBankAccount?.bankAccountType,u=r!=null&&r!==""?Sa(r.toLowerCase()):r??"";return`${Ie.achDetails.bankRoutingNumber} ${d?.paymentToBankAccount?.bankRoutingNumberAch}, ${d?.paymentToBankAccount?.bankName}
|
|
2
|
+
${Ie.achDetails.bankAccountNumber} ${d?.paymentToBankAccount?.bankAccountNumber}, ${Ie.achDetails.accountTypeLabel} ${u}`},oe=e.transactionDetails?.billPayInfo!=null?Na(e.transactionDetails?.billPayInfo):void 0,Pn=oe!=null&&e.paymentMethodType?.maxPeriod?.value!=null?La(Oa(oe?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,nt=e.transactionDetails?.billPayInfo.expectedDepositDate??Pn,at=pt(d?.paymentType?.method??"").replace("Same Day",""),Bn=(d?.paymentToBankAccount!=null||d?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(ea,{paymentTypeLabel:at,onClick:bn,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,Rn=()=>d?.paymentToBankAccount==null&&d?.paymentToPI==null&&d?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(Ca,{paymentType:d?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,it=e.transactionDetails?.lines?.some(r=>{const u=r.account;return u?.isDeleted===!0&&u?.isBillEditableCoaAccountType===!1})??!1,xe=!(v?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0||(w?.code==="scheduled"||w?.code==="pending_approval")&&it),lt=!((w?.code==="scheduled"||w?.code==="pending_approval")&&it),we=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,Te=e.zeniAssist?.isEligibleForRefund===!0,zn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",Mn=Xt&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(we||Te)&&zn===!1,ve=we||Te,Nn=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,W=v?.code,Ln=!Nn&&(!tt||v?.code==="processing"&&!B),ot=!tt,rt=["small","medium-compact","medium-regular"].includes(l),G=Ea(e.transactionDetails?.bulkProcessingDetail?.type),E=Fa(e.paymentMethodType?.method),On=!G&&(W!=="processing"&<||W==="processing"&&!B||W==="processing"&&ot||h&&E&&Be),En=r=>{M.trackBillPayMarkAsPaidSubmit(r.paymentMode??"other",w?.code??"",v?.code??""),Qt(!0,qe,r)},st=()=>{Ye(!0),M.trackBillPayMarkAsPaid(w?.code??"",v?.code??"")},Fn=()=>{Ge(!0),st()},_n=()=>{en(),Ye(!1),qe&&Ge(!1)},Wn=p.useMemo(()=>({companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,entityType:"bill.details",entityId:g??c,isGlobalComment:!1,application:"dashboard",tab:"bill",url:window.location.href}),[o.currentTenant,g]),Z=Yt&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&w?.code!=="paid"&&v?.code!=="failed"&&v?.code!=="processing"&&v?.code!=="cancelled"&&v?.code!=="returned"&&v?.code!=="rejected"?ta(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,d.paymentDate):void 0,dt=()=>{Xe("approved"),Ze===!0&&Q(!1),Z!=null&&M.trackLowBalanceAccountApprove(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",wt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),Le({billId:e.transactionDetails?.id??"",type:"approved"})},Zn=()=>{Xe("rejected"),Z!=null&&M.trackLowBalanceAccountReject(w?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",wt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),ue(!0)},ct=p.useRef(null);return t.jsxs(mi,{windowSize:l,ref:ct,children:[t.jsx(na,{anchor:"right",open:yn,onClose:Je,transitionDuration:250,"data-testid":f("vendor-email-preview-drawer"),children:t.jsx(aa,{companyName:ia(b.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:d.paymentDate?.format($e)??"",paymentType:at,amount:Ce("0,0.[00]",fe),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Je})}),t.jsxs(bi,{ref:un.current,windowSize:l,children:[t.jsx(Si,{windowSize:l,children:l==="small"?t.jsx(mt,{"data-testid":f("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[be,e.isRecurring?t.jsx(Se,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Fe.colors.grey4,rightSideComponent:t.jsxs(Bt,{windowSize:l,children:[x?t.jsxs(Ot,{isDisabled:P,"data-testid":f("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>yt(u)),void 0,void 0,"page icon")},children:[t.jsx(ut,{count:P?void 0:Ve,isLoading:P,style:{left:"12px"}}),t.jsx(Et,{})]}):null,t.jsx(Rt,{onClick:()=>ae(),"data-testid":f("bill-detail-nav-bar-small-close-button"),children:t.jsx(Pt,{})})]}),leftSideComponent:t.jsx(Ct,{windowSize:l,onClick:Ee,"data-testid":f("bill-detail-nav-bar-small-back-button"),style:{visibility:`${ze?"visible":"hidden"}`},children:t.jsx(St,{})}),source:"BillDetailPage"}):t.jsx(mt,{"data-testid":f("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[be,e.isRecurring?t.jsx(Se,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(Bt,{windowSize:l,children:[x?t.jsxs(Ot,{isDisabled:P,"data-testid":f("bill-comment-button"),onClick:P?()=>null:r=>{r.preventDefault(),r.stopPropagation(),H(!0),M.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(u=>yt(u)),void 0,void 0,"page icon")},children:[t.jsx(ut,{count:P?void 0:Ve,isLoading:P,style:{left:"12px"}}),t.jsx(Et,{})]}):null,t.jsx(Rt,{onClick:()=>ae(),"data-testid":f("bill-detail-nav-bar-close-button"),children:t.jsx(Pt,{})})]}),leftSideComponent:t.jsx(Ct,{windowSize:l,onClick:Ee,"data-testid":f("bill-detail-nav-bar-back-button"),style:{visibility:`${ze?"visible":"hidden"}`},children:t.jsx(St,{})}),enableTitleOnScroll:!0,scrollableContent:ct,source:"BillDetailPage"})}),t.jsxs(gi,{windowSize:l,children:[Ze?t.jsx(Za,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:dt,onCancelClick:()=>{Q(!1),et()},onClickAway:()=>{Q(!1)}}):null,hn?t.jsx(Va,{onCancel:_n,onProceedForMarkAsPaid:En,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,on||ce?t.jsx(ht,{titleComponent:t.jsx(gt,{children:N.title}),descriptionComponent:t.jsx(bt,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:ce?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:vn,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:ce?Qa(l,e):null}):null,rn?t.jsx(ht,{titleComponent:t.jsx(gt,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(bt,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:Dn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(xi,{windowSize:l,children:[l!=="small"?t.jsxs(wi,{windowSize:l,children:[be,e.isRecurring?t.jsx(Se,{height:a.sp5,width:a.sp5}):null]}):null,F&&S!=null&&S.code==="deleted"?t.jsx(zt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===Pe.tabsById.overdue?t.jsx(zt,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,O!=null&&O.code?l==="small"?t.jsx(la,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:nt,scheduleDate:oe,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(oa,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:nt,scheduleDate:oe,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,ni(G,e,Z),t.jsx(ra,{sectionId:sa,currentVendorOption:{defaultOptions:[]},billId:g,isBillPayCommentingEnabled:Re,isBillPaid:he,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:Oe,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),d.paymentType?.method?.includes("ach"),t.jsxs(Ae,{children:[t.jsx(ke,{children:n.whatForTitle}),t.jsxs(je,{children:[t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"invoiceNumber"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceNumber")}`},children:t.jsx(j,{label:{label:n.invoiceNumber,width:I},text:le.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"invoiceDate"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("invoiceDate")}`},children:t.jsx(j,{label:{label:n.invoiceDate,width:I},text:le.invoiceDate?.format($e)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"billDueDate"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billDueDate")}`},children:t.jsx(j,{label:{label:n.billDueDate,width:I},text:le.billDueDate?.format($e)??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"memo"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("memo")}`},children:t.jsx(j,{label:{label:n.memo,width:I},text:le.memo??C,style:{width:"auto"}})})]})]}),t.jsxs(Ae,{children:[t.jsx(fi,{windowSize:l,children:t.jsx(ke,{children:n.lineItemsTitle})}),ge.length>0?ge.map((r,u)=>{const R=e?.transactionDetails?.lines?.find(Vn=>Vn.id===r.lineId)?.recipientAmount;return t.jsxs(ui,{children:[ge.length>1?t.jsx(yi,{windowSize:l,children:t.jsx(hi,{windowSize:l,children:`${n.line} # ${u+1}`})}):null,t.jsxs(je,{children:[t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.recipientAmount`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recipientAmount",u)}`},children:t.jsx(j,{label:{label:n.amount,width:I},text:R!=null?Ce("0,0[.]00",R):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.lineDescription`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("lineDescription",u)}`},children:t.jsx(j,{label:{label:n.description,width:I},text:r.lineDescription??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.account`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("account",u)}`},children:t.jsx(j,{label:{label:n.category,width:I},text:r.account?.accountName??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.class`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("class",u)}`},children:t.jsx(j,{label:{label:n.class,width:I},text:r.class?.className??C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.billable`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("billable",u)}`},children:t.jsx(j,{label:{label:n.billable,width:I},text:r.billable!=null?jn(r.billable):C,style:{width:"auto"}})}),t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:`${u}.customer`}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("customer",u)}`},children:t.jsx(j,{label:{label:n.customer,width:I},text:r.customer?.name??C,style:{width:"auto"}})})]})]},u)}):null]}),t.jsxs(Ti,{windowSize:l,children:[t.jsx(vi,{children:n.total}),t.jsx(Di,{children:fe!=null?t.jsx(da,{amount:fe,integerStyles:ft.h6Medium.cssObject,decimalStyles:ft.standardMedium.cssObject}):C})]}),t.jsxs(Ae,{children:[t.jsx(ke,{children:n.paymentDetailsTitle}),t.jsxs(je,{children:[E?null:t.jsxs(t.Fragment,{children:[t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"withdrawFrom"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("withdrawFrom")}`},children:t.jsx(j,{label:{label:n.withdrawFrom,width:I},text:e.withdrawFrom!=null?_t(e.withdrawFrom,l):c,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:re.brandColorGoldDark},additionalInfoLabel:Z!=null&&w?.code==="pending_approval"?Vt.addMoney:Z})}),t.jsx(z,{})]}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"paymentType"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentType")}`},children:t.jsx(j,{additionalInfoLabel:d.paymentType?.method!=null&&d.paymentType.method.includes(_a)&&Kt&&d.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(ii,{children:ca(d.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:I},text:E&&e.outsideZeniPaymentInfo!=null?ti(e.outsideZeniPaymentInfo):pt(d.paymentType?.method??""),style:{width:"auto"}})}),E?null:t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"paymentTo"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("paymentTo")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(j,{label:{label:n.paymentTo,width:I},text:d.paymentToBankAccount!=null?kn:d.paymentToPI!=null?d.paymentToPI.displayText:Sn,style:{width:"auto"},showEyeIcon:d.paymentToBankAccount!=null&&!!d.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||d.paymentType?.method?.includes("ach"),tooltipText:Cn(),additionalInfoLabel:t.jsx(ai,{children:Bn})}),Rn()]})})]}),E||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx($,{isThreadAllowed:x,entityId:g,dashboardTabKey:k({type:"details",key:"recurringPaymentType"}),roomId:D,companyId:o.currentTenant?.companyId??c,companyName:o.currentTenant?.companyName??c,dashboardOptionType:"bill",filterMetaData:{...T,entityType:`bill.details.${A("recurringPaymentType")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(j,{label:{label:n.paymentType,width:I},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:ma(e.isRecurring,E,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:pa(l,e.isRecurring,E,e.recurringBillConfigDetail),additionalInfoLabelStyles:{paddingRight:m.paddingRight.valuePx(l),marginTop:m.additionalTextMarginTop.valuePx(l)}}),e.recurringBillInstances!=null&&e.recurringBillInstances.length>0?t.jsx(Ai,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(ua,{onAttachmentClick:Oe,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??vt.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(ya,{amount:$n,activities:e.billActivities,stage:w?.code??"draft",onAddNewRule:Jt,entity:"bill_pay",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,allAccountingClass:e.allAccountingClasses,vendorOwnerId:e.vendorOwnerId??"",isAdmin:se,signedInUserId:_?.userId,showRealTimeApproval:Ut,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:tn,onSaveRealTimeApprovals:nn},historicActivities:e.billHistory.activities}),t.jsx(Ii,{})]}),e.transactionDetails?.vendor!=null&&!he&&!e.transactionDetails.isDeleted?t.jsx(ha,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:U||h,showCancel:!U&&h,cancelBtn:{label:rt?n.buttons.reject:n.buttons.rejectBill,isLoading:Ke==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:Zn,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:ei(U,rt),isLoading:Ke==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:U?st:()=>{Z!=null?Q(!0):dt()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:U?"auto":m.footerButtonWidth.value(l)}},rightSideComponent:t.jsx(li,{children:t.jsxs(pi,{windowSize:l,children:[!G&&_e?t.jsx(xt,{onClickAway:()=>{de(!1),me(!1)},children:t.jsxs(kt,{windowSize:l,"data-testid":f("bill-actions-container"),children:[W!=="processing"&<?t.jsx(V,{onClick:fn,"data-testid":f("delete-bill-action-item"),children:n.buttons.deleteBill}):null,W==="processing"&&!B?t.jsx(V,{onClick:xn,"data-testid":f("cancel-bill-action-item"),children:n.buttons.cancel}):null,W==="processing"&&ot?t.jsx(V,{onClick:wn,"data-testid":f("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,h&&E&&Be?t.jsx(V,{onClick:Fn,"data-testid":f("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,We?t.jsx(xt,{onClickAway:()=>{de(!1),me(!1)},children:t.jsxs(kt,{windowSize:l,"data-testid":f("bill-actions-with-zeni-assist-container"),children:[we?t.jsx(V,{onClick:()=>{M.trackRetryClick(v?.code??"",w?.code??"",O?.description??"",B?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),an()},"data-testid":f("retry-bill-action-item"),children:n.buttons.retry}):null,Te?t.jsx(V,{onClick:Tn,"data-testid":f("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(ci,{windowSize:l,children:[Mn===!0?t.jsx(De,{enterDelay:600,style:{color:re.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:ve?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(At,{windowSize:l,showEditIcon:xe,isIconClickable:ve,"data-testid":f("other-actions-icon-container"),children:ve?t.jsx(In,{}):t.jsx(ri,{})})}):null,!G&&xe===!0?t.jsx(De,{enterDelay:600,style:{color:re.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:qa,placement:"top",children:t.jsx(di,{onClick:et,"data-testid":f("edit-bill-icon-container"),children:t.jsx(si,{})})}):null,!G&&Ln===!0&&On?t.jsx(De,{enterDelay:600,style:{color:re.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ya,placement:"top",children:t.jsx(At,{windowSize:l,showEditIcon:xe,isIconClickable:!0,"data-testid":f("more-details-icon-container"),children:t.jsx(oi,{onClick:()=>de(!_e)})})}):null]})]})}),style:{minHeight:62}}):null]}),x?t.jsx(ba,{isDrawerOpen:dn,allowComposer:!0,drawerTitle:Ga,threads:Y,filter:T,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:It.addANewComment,replyComposerPlaceholder:It.replyAComment,threadResolve:$t.resolveComment,threadUnResolve:$t.unResolveComment},threadMetadata:Wn,onThreadClick:cn,onCloseAllThreadsDrawer:()=>H(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Fe.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}}):null]})},Wi=e=>{const b=Ft(),h=e.billDetails.transactionDetails?.id,F=e.isBillPayCommentingEnabled&&h!=null,_=b.currentTenant?.companyId;if(!(F&&_!=null&&h!=null))return t.jsx(jt,{...e});const se=`dashboard_${_}`;return t.jsx(Un,{roomId:se,filter:{application:"dashboard",companyId:_,entityId:h,tab:"bill",isGlobalComment:!1},children:t.jsx(jt,{...e})})},Ja=(e,b)=>{const h=e?.code;if(e!=null&&h!=null)return b?.isDeleted===!0?{value:Pe.tabsById.deleted,color:L.deleted.color,bgColor:L.deleted.bgColor,borderColor:L.deleted.borderColor,code:"deleted"}:h==="pending_approval"&&b?.dueDate?.isBefore(Wa(),"date")===!0?{value:Pe.tabsById.overdue,color:L.overdue.color,bgColor:L.overdue.bgColor,borderColor:L.overdue.borderColor}:{value:e.name,color:L[h].color,bgColor:L[h].bgColor,borderColor:L[h].borderColor}},Qa=(e,b)=>{const h=b.transactionDetails?.recipientTotalAmount;return t.jsxs(ki,{windowSize:e,children:[t.jsxs(Mt,{windowSize:e,children:[t.jsx(Nt,{children:n.zeniAssist.accountNumber}),t.jsx(Lt,{children:b.withdrawFrom!=null?_t(b.withdrawFrom,e):c})]}),t.jsxs(Mt,{windowSize:e,children:[t.jsx(Nt,{children:n.zeniAssist.amount}),t.jsx(Lt,{children:h!=null?Ce("0,0[.]00",h):C})]})]})},ei=(e,b)=>e?n.paymentOutsideZeni.markAsPaid:b?n.buttons.approve:n.buttons.approveBill,ti=e=>{const b=e.paymentMode,h=n.paymentOutsideZeni.offline;if(b==null||b==="other")return h;const F=n.paymentOutsideZeni.paymentModeOptions.find(_=>_.value===b)?.label;return`${h} ${Ha} ${F}`},ni=(e,b,h)=>{if(e)return t.jsx(Tt,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:Dt.duplicateWarning.title,description:Dt.duplicateWarning.description});if(h!=null){const F=`${b.withdrawFrom?.label??""} ${b.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(Tt,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${Vt.lowBalanceIn.replace("__account__",F)}`,description:h.replace("Low balance! ","")})}else return null},ai=i.div``,ii=i.div``,li=i.div`
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: flex-end;
|
|
5
|
+
`,oi=i(za)`
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
color: ${e=>e.theme.colors.hero};
|
|
8
|
+
width: ${a.sp4};
|
|
9
|
+
height: ${a.sp4};
|
|
10
|
+
&:hover {
|
|
11
|
+
color: ${e=>e.theme.colors.primary};
|
|
12
|
+
}
|
|
13
|
+
`,At=i.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:m.otherActionsIconContainerMarginLeft.valuePx(e.windowSize)};
|
|
16
|
+
cursor: ${e=>e.isIconClickable===!0?"pointer":"default"};
|
|
17
|
+
color: ${e=>e.theme.colors.grey1};
|
|
18
|
+
&:hover {
|
|
19
|
+
color: ${e=>e.theme.colors.primary};
|
|
20
|
+
}
|
|
21
|
+
`,ri=i(Ua)`
|
|
22
|
+
color: ${e=>e.theme.colors.hero};
|
|
23
|
+
width: ${a.sp5};
|
|
24
|
+
height: ${a.sp5};
|
|
25
|
+
margin-bottom: ${a.sp2};
|
|
26
|
+
&:hover {
|
|
27
|
+
color: ${e=>e.theme.colors.primary};
|
|
28
|
+
}
|
|
29
|
+
`,si=i(Ra)`
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
color: ${e=>e.theme.colors.hero};
|
|
32
|
+
width: ${a.sp4};
|
|
33
|
+
height: ${a.sp4};
|
|
34
|
+
&:hover {
|
|
35
|
+
color: ${e=>e.theme.colors.primary};
|
|
36
|
+
}
|
|
37
|
+
`,di=i.div`
|
|
38
|
+
display: flex;
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
color: ${e=>e.theme.colors.grey1};
|
|
41
|
+
margin-left: ${a.sp4};
|
|
42
|
+
&:hover {
|
|
43
|
+
color: ${e=>e.theme.colors.primary};
|
|
44
|
+
}
|
|
45
|
+
`,ci=i.div`
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
align-items: center;
|
|
49
|
+
`,kt=i.div`
|
|
50
|
+
display: flex;
|
|
51
|
+
width: max-content;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
56
|
+
color: ${e=>e.theme.colors.hero};
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
padding-top: ${a.sp1};
|
|
59
|
+
padding-bottom: ${a.sp1};
|
|
60
|
+
position: absolute;
|
|
61
|
+
bottom: ${e=>m.otherActionsContainerBottom.valuePx(e.windowSize)};
|
|
62
|
+
z-index: 3;
|
|
63
|
+
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
64
|
+
border-radius: ${a.sp1};
|
|
65
|
+
right: ${e=>m.right.valuePx(e.windowSize)};
|
|
66
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1}3D`};
|
|
67
|
+
`,pi=i.div`
|
|
68
|
+
width: auto;
|
|
69
|
+
justify-content: flex-end;
|
|
70
|
+
position: ${e=>e.windowSize==="small"?"static":"relative"};
|
|
71
|
+
right: ${e=>m.actionsContainerRight.valuePx(e.windowSize)};
|
|
72
|
+
height: 100%;
|
|
73
|
+
display: flex;
|
|
74
|
+
`,V=i(Zt)`
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
width: 100%;
|
|
78
|
+
padding-left: ${a.sp3};
|
|
79
|
+
padding-right: ${a.sp3};
|
|
80
|
+
height: ${a.sp6};
|
|
81
|
+
box-sizing: border-box;
|
|
82
|
+
&:hover {
|
|
83
|
+
background-color: ${e=>e.theme.colors.background};
|
|
84
|
+
}
|
|
85
|
+
`,St=i(xa)`
|
|
86
|
+
cursor: pointer;
|
|
87
|
+
color: ${e=>e.theme.colors.hero};
|
|
88
|
+
width: 20px;
|
|
89
|
+
height: 20px;
|
|
90
|
+
&:hover {
|
|
91
|
+
color: ${e=>e.theme.colors.primary};
|
|
92
|
+
}
|
|
93
|
+
`,Ct=i.div`
|
|
94
|
+
margin-top: ${e=>m.marginTop.valuePx(e.windowSize)};
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
`,Pt=i(Ta)`
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
width: ${a.sp4};
|
|
100
|
+
height: ${a.sp4};
|
|
101
|
+
color: ${e=>e.theme.colors.hero};
|
|
102
|
+
&:hover {
|
|
103
|
+
color: ${e=>e.theme.colors.primary};
|
|
104
|
+
}
|
|
105
|
+
`,Bt=i.div`
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-direction: row;
|
|
108
|
+
align-items: center;
|
|
109
|
+
gap: ${e=>m.rightIconsGap.valuePx(e.windowSize)};
|
|
110
|
+
margin-top: ${e=>m.closeContainerMarginTop.valuePx(e.windowSize)};
|
|
111
|
+
`,Rt=i.div`
|
|
112
|
+
float: right;
|
|
113
|
+
width: ${a.sp4};
|
|
114
|
+
height: ${a.sp4};
|
|
115
|
+
display: flex;
|
|
116
|
+
`,mi=i.div`
|
|
117
|
+
height: 100%;
|
|
118
|
+
overflow: scroll;
|
|
119
|
+
`,je=i.div`
|
|
120
|
+
display: flex;
|
|
121
|
+
flex-direction: column;
|
|
122
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
123
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
124
|
+
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
125
|
+
border-radius: ${a.sp2};
|
|
126
|
+
margin: ${a.sp3} 0;
|
|
127
|
+
`,Ae=i.div`
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-direction: column;
|
|
130
|
+
padding-top: ${a.sp3};
|
|
131
|
+
`,ui=i.div``,ke=i(ja)`
|
|
132
|
+
color: ${e=>e.theme.colors.primary};
|
|
133
|
+
`,z=i.div`
|
|
134
|
+
display: flex;
|
|
135
|
+
flex: 1;
|
|
136
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
137
|
+
min-height: 1px;
|
|
138
|
+
max-height: 1px;
|
|
139
|
+
`,yi=i(Aa)`
|
|
140
|
+
display: flex;
|
|
141
|
+
align-items: center;
|
|
142
|
+
justify-content: space-between;
|
|
143
|
+
color: ${e=>e.theme.colors.champion};
|
|
144
|
+
margin-top: ${a.sp2};
|
|
145
|
+
height: 31px;
|
|
146
|
+
`,hi=i(ka)`
|
|
147
|
+
color: ${e=>e.theme.colors.champion};
|
|
148
|
+
`,bi=i.div`
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
`,gi=i.div`
|
|
152
|
+
display: flex;
|
|
153
|
+
flex-direction: column;
|
|
154
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
155
|
+
padding-left: ${e=>m.containerPaddingLeft.valuePx(e.windowSize)};
|
|
156
|
+
padding-right: ${e=>m.containerPaddingRight.valuePx(e.windowSize)};
|
|
157
|
+
overflow-x: hidden;
|
|
158
|
+
margin-top: ${e=>m.navBarHeight.valuePx(e.windowSize)};
|
|
159
|
+
`,fi=i.div`
|
|
160
|
+
display: flex;
|
|
161
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
162
|
+
align-items: ${e=>e.windowSize==="small"?"unset":"center"};
|
|
163
|
+
width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
|
|
164
|
+
`,xi=i.div`
|
|
165
|
+
display: flex;
|
|
166
|
+
margin-bottom: ${a.sp3};
|
|
167
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
168
|
+
align-items: ${e=>e.windowSize==="small"?"unset":"center"};
|
|
169
|
+
width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
|
|
170
|
+
`,wi=i(Ia)`
|
|
171
|
+
display: flex;
|
|
172
|
+
align-items: center;
|
|
173
|
+
flex-grow: 1;
|
|
174
|
+
${e=>`${Ka.formTitle.style(e.windowSize)}`};
|
|
175
|
+
color: ${e=>e.theme.colors.primary};
|
|
176
|
+
margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
|
|
177
|
+
margin-bottom: ${e=>m.formTitleMarginTopBottom.valuePx(e.windowSize)};
|
|
178
|
+
word-break: break-all;
|
|
179
|
+
padding: ${e=>`${a.sp0} ${m.formTitlePaddingLeftRight.valuePx(e.windowSize)}`};
|
|
180
|
+
`,Ti=i.div`
|
|
181
|
+
padding: ${a.sp3};
|
|
182
|
+
display: flex;
|
|
183
|
+
align-items: center;
|
|
184
|
+
justify-content: center;
|
|
185
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
186
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
187
|
+
border-radius: ${a.sp2};
|
|
188
|
+
color: ${e=>e.theme.colors.hero};
|
|
189
|
+
margin-bottom: ${e=>m.marginBottom.valuePx(e.windowSize)};
|
|
190
|
+
`,vi=i(Wt)`
|
|
191
|
+
display: flex;
|
|
192
|
+
width: 176px;
|
|
193
|
+
color: ${e=>e.theme.colors.primary};
|
|
194
|
+
`,Di=i(Wt)`
|
|
195
|
+
display: flex;
|
|
196
|
+
width: calc(100% - 176px);
|
|
197
|
+
justify-content: flex-end;
|
|
198
|
+
color: ${e=>e.theme.colors.primary};
|
|
199
|
+
`,zt=i($a)`
|
|
200
|
+
display: flex;
|
|
201
|
+
color: ${e=>e.borderColor};
|
|
202
|
+
align-items: center;
|
|
203
|
+
justify-content: flex-end;
|
|
204
|
+
padding: 1px 6px 1px 6px;
|
|
205
|
+
border: ${e=>`1px solid ${e.borderColor}`};
|
|
206
|
+
border-radius: ${a.sp1};
|
|
207
|
+
min-width: fit-content;
|
|
208
|
+
`,Ii=i.div`
|
|
209
|
+
display: flex;
|
|
210
|
+
flex-direction: column;
|
|
211
|
+
height: ${a.sp11};
|
|
212
|
+
`,$i=i(fa)`
|
|
213
|
+
height: ${a.sp3};
|
|
214
|
+
width: ${a.sp3};
|
|
215
|
+
color: ${e=>e.theme.colors.hero};
|
|
216
|
+
`,ji=i.div`
|
|
217
|
+
display: flex;
|
|
218
|
+
align-items: center;
|
|
219
|
+
margin-left: ${a.sp2};
|
|
220
|
+
margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.windowSize)};
|
|
221
|
+
align-self: center;
|
|
222
|
+
`,Se=i(va)`
|
|
223
|
+
margin-left: ${a.sp2};
|
|
224
|
+
color: ${e=>e.theme.colors.hero};
|
|
225
|
+
`,Ai=i.div``,ki=i.div`
|
|
226
|
+
display: flex;
|
|
227
|
+
flex-direction: column;
|
|
228
|
+
gap: ${a.sp2};
|
|
229
|
+
margin: ${e=>e.windowSize==="small"?`0 ${a.sp3} ${a.sp6} ${a.sp3}`:`0 ${a.sp8} ${a.sp5} ${a.sp8}`};
|
|
230
|
+
`,Mt=i.div`
|
|
231
|
+
display: flex;
|
|
232
|
+
justify-content: space-between;
|
|
233
|
+
width: ${e=>m.refundPopupWidth.valuePx(e.windowSize)};
|
|
234
|
+
`,Nt=i(Zt)`
|
|
235
|
+
text-align: left;
|
|
236
|
+
color: ${e=>e.theme.colors.grey1};
|
|
237
|
+
`,Lt=i(Ma)`
|
|
238
|
+
justify-content: end;
|
|
239
|
+
display: flex;
|
|
240
|
+
flex: 1;
|
|
241
|
+
`,Ot=i.div`
|
|
242
|
+
display: flex;
|
|
243
|
+
align-items: center;
|
|
244
|
+
justify-content: center;
|
|
245
|
+
position: relative;
|
|
246
|
+
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
247
|
+
color: ${e=>e.theme.colors.hero};
|
|
248
|
+
opacity: ${e=>e.isDisabled?.5:1};
|
|
249
|
+
&:hover {
|
|
250
|
+
color: ${e=>e.theme.colors.primary};
|
|
251
|
+
}
|
|
252
|
+
`,Et=i(wa)`
|
|
253
|
+
display: flex;
|
|
254
|
+
width: ${a.sp4};
|
|
255
|
+
height: ${a.sp4};
|
|
256
|
+
align-items: center;
|
|
257
|
+
justify-content: center;
|
|
258
|
+
`,Si=i.div`
|
|
259
|
+
display: flex;
|
|
260
|
+
justify-content: space-evenly;
|
|
261
|
+
margin-top: 0px;
|
|
262
|
+
position: fixed;
|
|
263
|
+
top: 0px;
|
|
264
|
+
width: ${e=>m.navBarContainerWidth.valuePercentage(e.windowSize)};
|
|
265
|
+
z-index: 3;
|
|
266
|
+
`;export{Wi as default};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{x as F,u as L,J as M,O as T,aa as W,aS as G,aM as J,cJ as H,V as r,bE as X,ae as K,aT as Q,o as c,gd as Y}from"./index-CQD_nutl.js";import{a as U}from"./sentry-B9mdFwQp.js";import{n as h}from"./mui-Dk05P7Hv.js";import{b as Z,f as ee,o as _,l as R}from"./FollowStepsSection-CH5j9Kb4-BJ9-zsQc.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./zeni-epic-state-ksdE_TIc.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="c9cc048c-af1e-43ca-b699-35820c5744bd",e._sentryDebugIdIdentifier="sentry-dbid-c9cc048c-af1e-43ca-b699-35820c5744bd")}catch{}})();const j="billPayApprovalRuleDetailPage",C="lowerBound",E="upperBound",w="steps",b="applyToExistingBills",le={footerPadding:new F(L[2],L[2])};function Ae({localData:e,approvalUpdateActionType:l,onBackClick:a,onApprovalRuleDataUpdated:s,onResetClick:n,isLowerBoundDisabled:o=!1,isUpperBoundDisabled:g=!0,hideUpperBoundField:A=!1,onSaveRuleClick:N,onSaveRuleSuccess:I}){const S=M(),t=T.getLocalizedStrings().commonSetUp.approval,P=T.getLocalizedStrings().spendManagement.billPay.billPayApproval,y=ae(e,l==="approval_create"&&!o),x=W({mode:"all",reValidateMode:"onChange",defaultValues:y}),u=e.billPaySetupApproverViewUpdateData?.updateStatus,B=G(u?.fetchState),{upperBound:D}=y,{allApprovalRules:p,allAccountingClasses:V,billPaySetupApproverViewUpdateData:f}=e;let m=p.length>1?p.length-1:0,v=p.length>0?p[m].criteria[0].range.min.amount:0;if(f!=null&&f.type==="approval_update"&&f.data!=null){const{approvalRuleId:i}=f.data;m=p.findIndex(d=>d.approvalRuleId===i),v=m>0?p[m-1].criteria[0].range.min.amount:0}const O=x.handleSubmit(()=>{N()}),q=async(i,d)=>{s(d)};return U.useEffect(()=>{const i=x.watch((d,{name:$})=>{if($!=null&&d!=null){const z=J(d);H(()=>q($,z))}});return()=>{i.unsubscribe()}}),U.useEffect(()=>{B==="In-Progress"&&u?.fetchState==="Completed"&&I()},[B,u?.fetchState,I]),r.jsxs(se,{children:[r.jsx(X,{title:l==="approval_create"?t.newApproval:t.editApproval,style:{zIndex:4},onBackClick:()=>{a()},source:"BillPayApprovalRuleDetailPage"}),r.jsxs(K,{...x,children:[r.jsx(ne,{children:r.jsx("form",{id:k(j),onSubmit:O,children:r.jsxs(ie,{children:[r.jsx(Z,{label:{label:A?P.amountPerBillGreaterLabel:P.amountPerBillLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:D===1/0?Number.MAX_SAFE_INTEGER-1:D-1,min:v,validate:i=>o?!0:i!=null&&i>v},isDisabled:o,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:E,placeholder:"Infinity",isDisabled:g,hideField:A,additionalInfoLabel:t.upperBoundInfoLabel}}),r.jsx(pe,{}),r.jsx(ee,{sectionId:w,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:y[w],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_bill_pay"})]})})}),r.jsx(Q,{formId:k(j),primaryBtn:{label:t.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:l==="approval_create"&&p.length===0?null:r.jsx(Y,{name:b,mode:"always_on",checkBoxes:[{value:b,label:t.applyToExistingBills,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:n},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(S)},separatorStyle:{marginRight:c.sp4}})]})]})}const ae=(e,l)=>{const{criteria:a,steps:s}=e.billPaySetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[b]:n?[]:[b],[w]:te(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),_(e.allAttributes),_(e.filteredAttributes),s??[])??[],[C]:l?void 0:a!=null?a.range.min.amount??0:0,[E]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},te=(e,l,a,s,n)=>n&&n.length>0?n.map((o,g)=>({stepIndex:g,stepType:{selectedOption:o.action,allOptions:R},actors:{allUsers:l,selectedUsers:oe(e,o.actors),allNonUsers:s,selectedNonUsers:re(a,o.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:R},actors:{allUsers:l,selectedUsers:[],allNonUsers:s,selectedNonUsers:[]}}],oe=(e,l)=>e.filter(a=>a.userId!=null&&l.findIndex(s=>s.userId===a.userId)>-1),re=(e,l)=>e.filter(a=>l.findIndex(s=>s.subType===a.value)>-1),k=e=>`${e}_form`,Ie=e=>`${e}`,se=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
width: 100%;
|
|
6
6
|
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
box-shadow: ${e=>`${
|
|
7
|
+
box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
8
8
|
`,ie=h.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
12
|
-
box-shadow: ${e=>`${
|
|
13
|
-
border-radius: ${
|
|
12
|
+
box-shadow: ${e=>`${c.sp0} 2px ${c.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
13
|
+
border-radius: ${c.sp2};
|
|
14
14
|
`,ne=h.div`
|
|
15
15
|
display: flex;
|
|
16
16
|
justify-content: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as W,O as S,V as t,bE as
|
|
1
|
+
import{J as W,O as S,V as t,bE as G,L as V,ac as b,x as r,an as M,o as i,aQ as P,bX as z,ct as O,cu as q,cv as F,d3 as J,u as l,bb as K,b as k,ba as Q,p as j,d2 as X,bv as Y,w as Z}from"./index-CQD_nutl.js";import{n as o}from"./mui-Dk05P7Hv.js";import{a as ee}from"./sentry-B9mdFwQp.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./zeni-epic-state-ksdE_TIc.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.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]="78dbd8cf-2ba7-4a13-9227-74bc92b92449",e._sentryDebugIdIdentifier="sentry-dbid-78dbd8cf-2ba7-4a13-9227-74bc92b92449")}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)},U={stepper:new k("smallRegular","standardRegular"),amount:new k("standardRegular","largeMedium")},te=({showDeleteBtn:e=!1,disableButtons:d=!1,isLastSection:w=!1,approvalRule:c,onEditRuleClick:f,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(A,{windowSize:n,children:[a.from," ",P("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(T,{}),t.jsx(le,{}),t.jsx(T,{})]}),m.max==null?t.jsx(he,{}):t.jsx(A,{windowSize:n,children:P("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(ue,{className:"icons",children:[e===!0?d===!0?t.jsx(z,{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(z,{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:()=>{f(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(L,{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(L,{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(O,{titleComponent:t.jsx(F,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(q,{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,O as S,V as t,bE as V,T as G,aR as b,y as r,am as M,o as i,aP 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(K)`
|
|
18
18
|
display: flex;
|
|
19
19
|
position: relative;
|
|
20
20
|
align-items: center;
|
|
@@ -30,7 +30,7 @@ import{J as W,O as S,V as t,bE as V,T as G,aR as b,y as r,am as M,o as i,aP as z
|
|
|
30
30
|
width: ${i.sp8};
|
|
31
31
|
height: 2px;
|
|
32
32
|
background-color: ${e=>e.theme.colors.primary};
|
|
33
|
-
`,
|
|
33
|
+
`,T=o.div`
|
|
34
34
|
width: 6px;
|
|
35
35
|
height: 6px;
|
|
36
36
|
border-radius: 3px;
|
|
@@ -168,14 +168,14 @@ import{J as W,O as S,V as t,bE as V,T as G,aR as b,y as r,am as M,o as i,aP as z
|
|
|
168
168
|
color: ${e=>e.theme.colors.hero};
|
|
169
169
|
`,B=o.span`
|
|
170
170
|
color: ${e=>e.theme.colors.hero};
|
|
171
|
-
`,
|
|
171
|
+
`,L=o.div`
|
|
172
172
|
display: inherit;
|
|
173
173
|
gap: inherit;
|
|
174
|
-
`,
|
|
174
|
+
`,A=o.span`
|
|
175
175
|
${e=>`${U.amount.style(e.windowSize)}`};
|
|
176
176
|
color: ${e=>e.theme.colors.primary};
|
|
177
177
|
word-break: break-word;
|
|
178
|
-
`,y={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 f=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(
|
|
178
|
+
`,y={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 f=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:f,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:f,onClick:()=>{w()},"data-testid":b("add-approval-rule-bill-pay"),children:[t.jsx(be,{}),t.jsx(ye,{children:h.addApprovalText})]})]}):null]})]})},me=o.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
min-height: 100%;
|
|
181
181
|
flex-direction: column;
|
|
@@ -233,7 +233,7 @@ import{J as W,O as S,V as t,bE as V,T as G,aR as b,y as r,am as M,o as i,aP as z
|
|
|
233
233
|
border-color: ${e=>e.theme.colors.primary};
|
|
234
234
|
}
|
|
235
235
|
margin-bottom: ${i.sp6};
|
|
236
|
-
`,be=o(
|
|
236
|
+
`,be=o(J)`
|
|
237
237
|
width: ${i.sp3};
|
|
238
238
|
height: ${i.sp3};
|
|
239
239
|
`,ye=o.div`
|
package/dist/assets/{BillPayPromoPage-DdxRC1p4-CeUDiYiI.js → BillPayPromoPage-FW3B8U-w-n5VnpHD-.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ay as F,J as f,aS as Y,V as e,fz as ee,bE as ie,a as C,ac as B,ag as x,O as I,o as s,as as se,e as le,y as M,aV as U,ao as oe,x as re,p as $,cI as te,aW as ae,bc as ne,u as de}from"./index-CQD_nutl.js";import{a as g}from"./sentry-B9mdFwQp.js";import{n as l}from"./mui-Dk05P7Hv.js";import{Gr as ce,bP as pe,Gs as xe}from"./zeni-epic-state-ksdE_TIc.js";import{C as me}from"./VideoPopup-vRgVcJFh-DUXScMWN.js";import{M as b}from"./usp-line-BBd1wKwW-BUoEX_Hw.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.js";import"./VideoPlayer-uODifSjz-C5_6EW14.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]="4e5c467d-47be-431d-8c98-c42418566f28",i._sentryDebugIdIdentifier="sentry-dbid-4e5c467d-47be-431d-8c98-c42418566f28")}catch{}})();const D="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=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -23,11 +23,11 @@ import{ax as q,J as f,aS as Y,V as e,fx as ee,bE as ie,i as B,aR as C,af as x,O
|
|
|
23
23
|
align-items: center;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
margin-bottom: ${i=>he.midContainerMarginBottom.valuePx(i.windowSize)};
|
|
26
|
-
`,je=l.div``,m=l.img``,
|
|
26
|
+
`,je=l.div``,m=l.img``,V=l.div`
|
|
27
27
|
width: ${i=>i.windowSize==="small"?"auto":"376px"};
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
|
-
`,
|
|
30
|
+
`,_=l.div`
|
|
31
31
|
width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
|
|
32
32
|
overflow: hidden;
|
|
33
33
|
max-width: 712px;
|
|
@@ -65,9 +65,9 @@ import{ax as q,J as f,aS as Y,V as e,fx as ee,bE as ie,i as B,aR as C,af as x,O
|
|
|
65
65
|
padding-left: ${s.sp3};
|
|
66
66
|
`,O=l(b)`
|
|
67
67
|
color: ${$.graphColor16Dark};
|
|
68
|
-
`,
|
|
68
|
+
`,R=l(b)`
|
|
69
69
|
color: ${$.graphColor09Dark};
|
|
70
|
-
`,
|
|
70
|
+
`,G=l(b)`
|
|
71
71
|
color: ${$.graphColor28Dark};
|
|
72
72
|
`,fe=l(oe)`
|
|
73
73
|
margin: ${s.sp3} auto;
|
|
@@ -81,4 +81,4 @@ import{ax as q,J as f,aS as Y,V as e,fx as ee,bE as ie,i as B,aR as C,af as x,O
|
|
|
81
81
|
`,be=l(U)`
|
|
82
82
|
margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
|
|
83
83
|
color: ${i=>i.theme.colors.grey1};
|
|
84
|
-
`,r=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ee=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:
|
|
84
|
+
`,r=I.getLocalizedStrings().spendManagement.billPay.billPayPromo,t=I.getLocalizedStrings().commonSetUp.businessVerification.terms,Ee=({billPaySetupView:i,analytics:o,meetingUrl:S,videoUrl:Z,onButtonClick:J,onBackClick:q,onSetupBillPaySuccess:z,onClickMenuIcon:H})=>{const h=F(),a=f(),{billPayTermsDetails:p}=i,[K,N]=g.useState(!1),[Q,v]=g.useState(!1),k=Y(p?.fetchStatus.fetchState);g.useEffect(()=>{k==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&z?.()},[k,z,p?.fetchStatus]);const W=()=>{o?.trackBillPayPromoScheduleDemo(),v(!0)},X=ce(h.loggedInUserRoleMap),P=pe(h.loggedInUserRoleMap)&&!X,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:()=>{v(!1)},meetingUrl:S}):null,e.jsx(ie,{title:r.title,onBackClick:q,showBackButton:!xe(h.loggedInUserRoleMap),showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:H,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:W,"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:J,"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=M(),o=f();return e.jsxs(L,{windowSize:o,children:[e.jsx(_,{windowSize:o,children:e.jsx(E,{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:D,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(G,{})}),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(R,{})}),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(O,{})}),e.jsxs(c,{children:[e.jsx(j,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]})]})]})},ze=()=>{const i=M(),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(G,{})}),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(R,{})}),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(O,{})}),e.jsxs(c,{children:[e.jsx(w,{children:r.aiPoweredText.bold}),e.jsx(u,{children:r.aiPoweredText.regular})]})]})]}),e.jsx(_,{windowSize:o,children:e.jsx(E,{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:D,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})};export{Ee as default};
|
package/dist/assets/{BillPaySetUpPage-DBFcp1Yq-DN8GCbic.js → BillPaySetUpPage-rgzWSOQM-C-ZdDZzJ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as De,J as Oe,aS as F,aa as Ue,cJ as $e,O as Re,aX as X,V as t,fh as ze,p as He,ac as Le,x as u,bE as Me,L as qe,ae as Je,fA as z,dT as Ge,fB as Ne,by as Ze,dJ as Qe,bX as Xe,fC as Ke,aT as Ye,o as L,fD as et,u as a,an as tt,bM as it}from"./index-CQD_nutl.js";import{a as m}from"./sentry-B9mdFwQp.js";import{n as b}from"./mui-Dk05P7Hv.js";import{bJ as nt}from"./zeni-epic-state-ksdE_TIc.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-CSfIPVfJ-BDLDUOxO.js";import"./liveblocks-CtZCL_Pz.js";import"./core-D_TfeHIh.js";import"./recharts-CgI_z3-h.js";import"./lottie-CVJxkEeH.js";import"./analytics-C31yhYYa.js";import"./lexical-CBxUxgf7.js";import"./utils-DZ3Subia.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]="98bd34d1-9d49-4b14-88f5-83da8654f141",e._sentryDebugIdIdentifier="sentry-dbid-98bd34d1-9d49-4b14-88f5-83da8654f141")}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)},K="billPaySetUpPage",W="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:M,onClickMenuIcon:be,onInternationPaymentSetUpClick:ye,onEditFileName:Se,onDeleteFile:Pe,updateFilesEntity:we,onCompanyOfficerUpdated:xe,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const A=De(),i=Oe(),[k,S]=m.useState(!1),q=m.useRef(null),{fetchState:f,updateStatus:P,accountUpdateStatus:Ae,plaidConnectionDetails:_,allBankAccounts:ke,companyBillPayInfo:T,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:d,allFundingAccounts:J}=e,h=T?.internationalWireOnboardingStatus,I=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:B,approvalRulesStatus:Ie}=v,D=_.link_account.updateStatus,O=_.update_account.updateStatus,V=F(f),N=F(P.fetchState),Z=F(D.fetchState),Q=F(O.fetchState),w=Ue({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>H(e),[e]),values:H(e)});m.useEffect(()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),k&&V==="In-Progress"&&f==="Completed"&&S(!1)},[c,f,V]),m.useEffect(()=>{(V==="In-Progress"&&f==="Completed"||Z==="In-Progress"&&D.fetchState==="Completed"||Q==="In-Progress"&&O.fetchState==="Completed")&&w.reset(H(e))},[V,f,w,e,Z,D.fetchState,Q,O.fetchState]);const Be=w.handleSubmit(x=>{y.trackEnableBillPay(),me()}),Ve=async(x,E)=>{const o=E[W];if(x.includes(W)){if(x.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&d?.id!=o.fundingAccount.selectedOption){const g=J.find(R=>R.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(R=>R.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((E,{name:o})=>{o!=null&&E!=null&&$e(()=>Ve(o,E))});return()=>{x.unsubscribe()}}),m.useEffect(()=>{N==="In-Progress"&&P.fetchState==="Completed"&&M()},[M,N,P.fetchState]);const{commonSetUp:je,spendManagement:Ee}=Re.getLocalizedStrings(),{setUp:r}=je,{billPaySetup:l}=Ee.billPay,U=T?.isBusinessVerified===!0&&(d?.accType==="depositAccount"||nt(d?.providerVerificationStatus?.code??"")),$=T?.isBillPayEnabled===!0,Fe=U?r.setupVerifiedSubTitle:l.setupSubTitle,We=f==="In-Progress"||f==="Not-Started"||G==="In-Progress"||G==="Not-Started",j=A.mode==="light"?new X(A.colors.brandColorJadeLight):new X(A.colors.brandColorJadeDark),_e=()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:q,children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:k,onClose:()=>S(!1),style:{backgroundColor:He.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(Me,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!$&&(i==="medium-compact"||i==="small"),onClickMenuIcon:be,scrollableContent:q,backgroundColor:A.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(dt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Fe}),We?t.jsx(rt,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Je,{...w,children:t.jsx("form",{id:Y(K),onSubmit:Be,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(z,{onClick:_e,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(Ne,{connectedAccountProvider:ee,primaryFundingAccount:d,allFundingAccounts:J,plaidConnectionDetails:_,allBankAccounts:ke,sectionId:W,isDisabled:p,onFetchLinkTokenClick:de,onEstablishConnectionClick:re,onUpdatePaymentAccountStatus:he,onUpdatePaymentAccountLoginStatus:ge,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ze,{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(z,{title:B.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:l.approvalSubTitle,header:B.length>0?r.approvalHeader:r.setupApprovalHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:j},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:B.length>0?Ie:void 0})]})})}),s===!0?t.jsx(z,{title:I?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ke,{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(Xe,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:I}):null]})]}),U&&!$&&B.length>0?t.jsx(Ye,{formId:Y(K),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:P.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(et,{isFooterRendered:U&&!$,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 De,aS as F,aa as Oe,cH as Re,O as Ue,aX as K,V as t,ff as He
|
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
42
|
-
`,
|
|
42
|
+
`,H=e=>{const{allBankAccounts:p,allFundingAccounts:v,primaryFundingAccount:C}=e;return{[W]:{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}))}}}},Y=e=>`${e}_form`;export{Ct as default,Y as uniqueName};
|