@zeniai/web-cockpit-ui 1.15.24-qa → 1.15.25-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-DsLMYxB2-DKIqWfd5.js → ACHDetailsPage-Davpg8eW-BWDILC-H.js} +3 -3
- package/dist/assets/{AIPerformancePage-Do1Jme84-BQuxssWs.js → AIPerformancePage-BXF0kUqR-BgyTM2y7.js} +104 -104
- package/dist/assets/AccountInfoPage-Cefnidcc-Bp5rUTr8.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DLxvkpvG-DlM7C5lw.js → AccountInfoPageContent-QMyPHCdY-DP0akuHx.js} +15 -15
- package/dist/assets/AccountLockedInfoModal-BdFY6p56-RTWbIB_l.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-BMhGA2Nw-Z2PUl5SJ.js → AccountReconDetailsDrawerPage-CoXPQka7-DFQZksfD.js} +11 -11
- package/dist/assets/AccountRow-DHB-ETil-0INUiG8Z.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Cq1lsoaV-GSf-HLu0.js → AccountsPromoCardStack-Dkz2VyEk-BJf7WrAq.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-CUKknbhJ-CnCLxax6.js +6 -0
- package/dist/assets/{AddToWalletPage-CEhxUk5V-BYjPBKkY.js → AddToWalletPage-p0T8VFfo-WTTL1b0G.js} +47 -47
- package/dist/assets/{AgingReportsPage-CYrw-ffE-5eIk6Dcl.js → AgingReportsPage-CTzjRkV2-CkKYMdrC.js} +15 -15
- package/dist/assets/{AllUserItems-CUPJzOon-ByAd3cpG.js → AllUserItems-Dt9rMGJk-D2oOTLOS.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-BHfoAgPL-Z6JXUJ8l.js → ApAgingDetailPage-71VQk7px-BPdIn6ZS.js} +7 -7
- package/dist/assets/AppBasePage-tDs92z31-B3gR6k96.js +71 -0
- package/dist/assets/{AppDrawerContent-CxmXgxbq-CR8uI5HI.js → AppDrawerContent-ULUH1WZ3-CblzrDc2.js} +4 -4
- package/dist/assets/{ApprovalRulesSettingsPage-gu0Fjo8W-DPQDhehm.js → ApprovalRulesSettingsPage-Ciz-iaE5-ghG5WVzt.js} +1 -1
- package/dist/assets/{ArAgingChart-CxGoJ-eL-Blphsvqz.js → ArAgingChart-DcwM2rpv-C36SsOV8.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CNKe5FGf-BfLy-wH_.js → ArAgingDetailPage-eGCSFdAM-BJk9vCxH.js} +4 -4
- package/dist/assets/{AttachmentView-BNb1kv2i-DkhgYBN2.js → AttachmentView-CA6PRg4p-DDr9TCOl.js} +4 -4
- package/dist/assets/{BankAccountSection-nxf2HgVE-G54ZtA0k.js → BankAccountSection-mWUT-G8y-2k5xTeyX.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-b7VJzhDr-CptxWENX.js → BankAccountWarningSection-IMtILLfL-BhKJ6bLn.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-Dj5RPseY-TdFPSmBq.js → BankConnectionsSettingsPage-COyH3rdC-Be8G7lph.js} +10 -10
- package/dist/assets/{BillDetailPage-B8vxUUjs-C-CFBqEj.js → BillDetailPage-BR_9uHRC-mLWBTrh1.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-RxCSuM7j-BqEZg33H.js → BillPayApprovalRuleDetailPage-cRAudMvm-CWVbYb1D.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-qB8FSNxF-rbTYrF-M.js → BillPayApprovalRulesPage-Cd0aJtip-BTxbg4yL.js} +8 -8
- package/dist/assets/{BillPayPromoPage-C-MLRBwj-vOq8U5gh.js → BillPayPromoPage-BYW097HT-D4YnpN75.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-DUcVwFf0-CYjbtEEg.js → BillPaySetUpPage-BahrLUn4-CqC29kIw.js} +4 -4
- package/dist/assets/BillingSettingsPage-BjMeQKM0-CpnNOiGS.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-Cm2iOzT8-6b_1kNK1.js → BillsBulkReviewDrawerPage-CJ-GbBhL-B7DfrKfl.js} +1 -1
- package/dist/assets/{BoxItem-BIGbJrpV-BZ7_ozC2.js → BoxItem-CvhcNreT-DxmoznPD.js} +1 -1
- package/dist/assets/BusinessVerificationPage-LKrdd6Ej-BKb49OWB.js +138 -0
- package/dist/assets/{CardNumberSubText-lCdVj97_-CAB_Kln4.js → CardNumberSubText-CfoSPAZU-BdVhRiwJ.js} +3 -3
- package/dist/assets/{CashbackDetailPage-DyqE-V7x-DhQHhGde.js → CashbackDetailPage-CWlaZrqz-DvIAxVRW.js} +13 -13
- package/dist/assets/{ChargeCardDetailPage-0a7KVsQ4-DT0O76Wc.js → ChargeCardDetailPage-BNNbd3G1-BtUCuJum.js} +35 -35
- package/dist/assets/{ChargeCardListPage-DZgzRmUt-D6J_weNw.js → ChargeCardListPage-BzIvl8RY-Ncd3QF6u.js} +16 -16
- package/dist/assets/{ChargeCardListTable-CrPIqCYY-CgNAiVSn.js → ChargeCardListTable-D-uQKI4t-lkMdiYYu.js} +46 -46
- package/dist/assets/{ChargeCardPaymentHistoryPage-BenEXh0n-Cun1p0sn.js → ChargeCardPaymentHistoryPage-DmzlfD-l-OAmKFjuL.js} +12 -12
- package/dist/assets/ChargeCardPromoPage-DOYqOs6K-xBYShKSz.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BQdagLKY-BUWz2gWE.js → ChargeCardSetupPage-CSnLMycu-BkjYVqCn.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-C82CsaNY-DzvzbShn.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-Bbe3YMhk-DlMo_ctS.js → CheckDepositDrawerPage-DN5Ok0Y6-DOjKYa5p.js} +21 -21
- package/dist/assets/{CollapsableReportTable-Bjp9ufA3-BUww2EPB.js → CollapsableReportTable-CncMWpFI-CnBbDhbn.js} +93 -93
- package/dist/assets/CompanyOfficerDetailsSection-5Gmlo5HX-mf8toy40.js +331 -0
- package/dist/assets/{CompanyPassportCard-B9yLuYoV-7uXZA6qZ.js → CompanyPassportCard-Ccw8l9iz-CwNj32nj.js} +3 -3
- package/dist/assets/CompanyPassportPage-IjpU53y_-BF5RjsoV.js +417 -0
- package/dist/assets/{CompleteProfile-DlDJUF9s-Ds-cc2Li.js → CompleteProfile-CQUDJ-nI-DJVg2OT2.js} +1 -1
- package/dist/assets/ConfettiBurst-C_6Uy7eR-Np_3vQFo.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CPRMOwDl.js → ConstrainedInnerElement-BeIpAPjB-BVda4Dj4.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C0zQBkip-Bwlp-KX1.js → CreateOrEditVendorPage-DM90rr4S-BcABoxWR.js} +16 -16
- package/dist/assets/{CreditCardPaymentDrawerPage-BonuuJrp-D6Esu5Ka.js → CreditCardPaymentDrawerPage-Bh0QdxXh-Dti2BnoN.js} +11 -11
- package/dist/assets/{CurrencySelectField-CcwMU19m-Dv2FTyMF.js → CurrencySelectField-BDfEzwpU-4zlCOdOf.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-CnLIuUI_-DOyaYse5.js → CustomerOnboardingActivationPage-CJGtq19l-BpCso2Fz.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-CP6DdMkC-CnaDFGWF.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DFnaf7ny-DHFbJUSq.js → CustomerOnboardingDetailPageSkeleton-DSqc1_bS-CATYZXta.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-BuWnQGPi-BSZV9BI0.js +66 -0
- package/dist/assets/CustomerOnboardingPage-Bl2oAvin-B7GmsFRo.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DrUE-f0H-CurdzAi_.js → CustomerOnboardingProductSuitePage-CZDipU2j-BbQ2Iy2J.js} +4 -4
- package/dist/assets/{Dashboard-Cgrcdi17-XnHxKrKg.js → Dashboard-DyQZQS2X-mxU1Jkng.js} +66 -66
- package/dist/assets/{DashboardReportPage-DbhRTdc4-CpN5HaDx.js → DashboardReportPage-Dn7pVdG9-DtcRvxDO.js} +13 -13
- package/dist/assets/DashboardSidebarBackgroundAnimation-iiFGhvRQ-y0LRofZR.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-D1o4IBkT-BgfivdRm.js → DepositAccTransactionItem-DDdkQsmn-B5pGW8gX.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-xxNjjtT--BvwZH-r8.js → DepositAccTransactionListPage-BHdmR6m5-7yonpKjA.js} +5 -5
- package/dist/assets/{DomesticWireDetailsPage-CwJaUAl--xZbxKmq6.js → DomesticWireDetailsPage-CpwSOc_0-CElrVONi.js} +1 -1
- package/dist/assets/{DownloadOverlay-DQhWlo3j-ou1Zr3sv.js → DownloadOverlay-Dhib22Hz-D3Lt9Smx.js} +11 -11
- package/dist/assets/{DrawerPage-Cy3cU-ts-DL-hvylm.js → DrawerPage-nxxj86nQ-CJOa9BEO.js} +14 -14
- package/dist/assets/EditPeoplePage-CG5gmNTR-CH2Xt3X8.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CPtNF3lE-BUz5GUcq.js → EditReimbursementDetailPage-C2kqq9QP-Bbzp1pVf.js} +73 -73
- package/dist/assets/EntityDetailPage-CL0FCU_m-BGtD2JCX.js +18 -0
- package/dist/assets/{EntitySummarySection-DKVe_auH-BhjgU5OF.js → EntitySummarySection-C29GLBzF-CWqpKadr.js} +8 -8
- package/dist/assets/{ExpenseAutomationOverviewPage-BerWhvvC-DBNdoj-V.js → ExpenseAutomationOverviewPage-B4kcx-VG-CGPR3A1h.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-ZFDuZKVx-BOLEz3OZ.js → ExpenseAutomationPage-DNwnoyPg-DCSz-PUa.js} +295 -285
- package/dist/assets/{ExpressPayPage-DWGFzFY1-kbQqZZxK.js → ExpressPayPage-K-InpYtZ-DIVfrk0c.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-CTROYslk-DNnHSl_T.js → FeaturePreviewPage-IsRBHkoD-e3f7mixU.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cdw8tftg-LjozyTXw.js → FollowStepsSection-ClyCs5f_-Dx038WgT.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-FIiMWDt4-D2ht755B.js → GlobalReviewListPage-n8XrBXXp-BZl-OsOG.js} +16 -16
- package/dist/assets/{InformationCardStack-DRM_CrnR-Dr6abp-W.js → InformationCardStack-BnOF2kCh-C7gNsonq.js} +7 -7
- package/dist/assets/{InsightsCardStack-B6KSNBOO-ivzZWeJo.js → InsightsCardStack-Bgzkang3-CA8GAaRZ.js} +9 -9
- package/dist/assets/InsightsSection-C16f1RZL-BLvjZ1kW.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-VPy6IQco-B18SLH29.js → IntegrationsSettingsPage-D1QWrVQw-BXx7A_Fv.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-CbztUTOk-C1ODTgTQ.js → InternationalWireSwiftDetailsPage-DNNEqdWS-B78a52iW.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-xmHZ6XN7-DwVwtiyi.js +65 -0
- package/dist/assets/{InviteFormPage-BBHD1wv7-C_4SKmOY.js → InviteFormPage-C-Io8wxr-DZ679TjD.js} +21 -21
- package/dist/assets/{InvitePageListView-Gpf4q2HF-CEWnpXn7.js → InvitePageListView-B1PLdKSn-3WJcdIb9.js} +55 -55
- package/dist/assets/InvitePeoplePage-BArxsNxE-BXI3n59t.js +12 -0
- package/dist/assets/InvoiceUploadSection-Eo7dq75t-C9QkPoGX.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CiL8yWbI-CIy8MoIn.js → IssueChargeCardPage-CC6D-uPl-dzV4_AJm.js} +15 -15
- package/dist/assets/{LabeledAddressValue-DGEHzZ-x-CfIKvo1E.js → LabeledAddressValue-CKZJgaV5-cxiw5XUU.js} +2 -2
- package/dist/assets/LabeledAddressValueField-DNGOSAvq-BXE6xS8k.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CR2DslKs-Cl2J9WYt.js +16 -0
- package/dist/assets/LabeledCountryMultiSelectField-B8Lbv837-DgWr30M7.js +237 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-BzOLZcSy-C22qT18Z.js → LabeledCreatableSingleSelectField-N1wb0l0p-Dc3bkr-e.js} +17 -13
- package/dist/assets/LabeledDocumentField-vSq1xSUM-C_0QT0Hr.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-CqDEmdfe-DrhnwOAX.js +59 -0
- package/dist/assets/{LabeledText-CYRn3LhA-DWGTPjd2.js → LabeledText-DiJE8avC-CseM5wCJ.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BzsLAAeQ-BmguFMb2.js → LabeledUserSingleSelectWithSubtitlesField-CLup6THe-B8wjUmse.js} +20 -20
- package/dist/assets/{LabeledZeniRolesDropDownField-UiY4N_NF-Djo3S0ey.js → LabeledZeniRolesDropDownField-CVg9PTpl-CmXvnZ1S.js} +33 -33
- package/dist/assets/{LinkJETransactionPage-PvLzGCy_-B6huT0SK.js → LinkJETransactionPage-DaGHGCIJ-ZPmKuaes.js} +8 -8
- package/dist/assets/{LockCardPage-Cv1mXAE9-DETgYyCF.js → LockCardPage-CGYlmPkB-BpMPFgRW.js} +24 -24
- package/dist/assets/{LowBalancePopup-go-1GM2R-ClVuygNj.js → LowBalancePopup-YJW7eKud-C5-4WX6d.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-C3TnWCqC-ByYEbu_t.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BUjap5Q7-Bvcp-odv.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-COXCHYYI-DrkXHgBT.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-CdHOdUZ5-CSa0Vcf2.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CPs72o7_-DBHt9Igm.js → MagicLinkTitleSection-CCF7Ahgh-BraYyP_S.js} +4 -4
- package/dist/assets/MailingDetailsSection-WMvjKFiS-C1_EkXyZ.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Xo-zsUV_-B9fPJRoq.js → MyBankConnectionsSettingsPage-BJi0owDl-C6fsBM4C.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-pMnrYxHt-D-heAgjR.js → MyPendingActivationChargeCardListPage-BWIla-hh-BQ4ym9Ei.js} +2 -2
- package/dist/assets/MyProfileSettingsPage-B0uYhezS-DbNVKwps.js +85 -0
- package/dist/assets/{NavBarWithPicker-DFywcKz8-BdsjK4vI.js → NavBarWithPicker-BGZvvByA-4hcBX9YX.js} +5 -5
- package/dist/assets/{NavigationArrow-BiYMk3Wz-CV64X4HQ.js → NavigationArrow-C3pN6F3u-tAd2nukx.js} +7 -7
- package/dist/assets/{NavigationDots-CCLpxuwG-33BZJiro.js → NavigationDots-D1rJnVkZ-DI_AwSe8.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-C48VzTEf-BhyO826c.js → NewGlobalMerchantPage-DU2Z_NYb-CczYC_Cy.js} +12 -12
- package/dist/assets/{NoDataChart-sGr0o2BN-CgZmA0TN.js → NoDataChart-DuEsebs4-BQTTXvg9.js} +2 -2
- package/dist/assets/NoDataTable-B7LkfAQX-CdTNbZgo.js +8 -0
- package/dist/assets/{NotFoundPage-DFw9HBCT-0UwPngI1.js → NotFoundPage-DLtikmoi-CJn1LsuA.js} +9 -9
- package/dist/assets/{NotificationSettingsPage-D1rRNeRj-Bw3eepl1.js → NotificationSettingsPage-DwsCKyVM-AIL1SOh9.js} +12 -12
- package/dist/assets/{NotificationsListConfig-LrfChZUx-RWUkV3Sx.js → NotificationsListConfig-CMtBeX4D-Dg29H_7b.js} +1 -1
- package/dist/assets/{NotificationsPage-Cx4eb-l6-Bmwqr_H4.js → NotificationsPage-CZrXzWli-9C2iwOMz.js} +24 -24
- package/dist/assets/{OpExByVendorPage-LpdEEb1U-CiRx5TKb.js → OpExByVendorPage-0PLAOQu5-DLLDMhgS.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-D2G-CVv7.js +11 -0
- package/dist/assets/{PandLWithForecastPage-DwaVCK2R-DvQKQu5s.js → PandLWithForecastPage-PkrBqcAR-Djqg6ntv.js} +10 -10
- package/dist/assets/PaymentAccountSetupBillingAddressSection-C026Xg59-Du1LULBI.js +107 -0
- package/dist/assets/PeoplePage-PyWOVc5M-DILaV4hT.js +727 -0
- package/dist/assets/{Preview-BCmMZb_d.js → Preview-DaDKYAzg.js} +1 -1
- package/dist/assets/{ProductsCarousel-Dp5Of83--C9TEcIb9.js → ProductsCarousel-fMS3PJAc-r1K9Xxoj.js} +5 -5
- package/dist/assets/{PromoBaseCards-Bpmi7do2-DeOoBn1O.js → PromoBaseCards-HY42c1kU-DSpx7Fy3.js} +17 -17
- package/dist/assets/{QBOConnectionDialog-BCOigpzW-BBWvt6M8.js → QBOConnectionDialog-B_AOC_hG-BSWcu79k.js} +3 -3
- package/dist/assets/{QBOSetupSection-Blf2QxYu-Bt1Iazrw.js → QBOSetupSection-CQHdqpJF-CH_S6Ewi.js} +10 -10
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D0oeO5MZ-95x-7hZW.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-Cq3lTD4B-BL73XOQv.js → ReimbursementApprovalRulesPage-Beg7ljMA-Cr4MOQVc.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-CxP7ZEyW-DzWZJWkr.js → ReimbursementDetailPage-DBxKNhum-DE3tfEga.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-tSycJK9l-DgiKrFaE.js → ReimbursementPromoPage-DxZeTOQW-CNGgL2HL.js} +22 -22
- package/dist/assets/{ReimbursementSetUpPage-iGjNkC8E-B8NnEeyY.js → ReimbursementSetUpPage-CN4LhFrS-BfRZlJ5w.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HrLSNRHq-CeYe3rfm.js → ReimbursementsBulkReviewDrawerPage--6OUmjzW-D3GoPfdC.js} +1 -1
- package/dist/assets/{ReloadCard-CuRTghCv-3_xFCAvr.js → ReloadCard-BluhBNO--D0eilzgR.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-C2oaqgZL-LiKiujIv.js → ReportTableViewSelector-8KYimU0G-YYB33_Xu.js} +31 -31
- package/dist/assets/{ReportsPage-D5DDZHox-oQcDXAqo.js → ReportsPage-D-UfdQ34-CNx_b_ly.js} +5 -5
- package/dist/assets/{RevenueChart-Na7paK3w-xsPSohkz.js → RevenueChart-C9EztEKi-BbW9YFNy.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-BFj3ZJyp-C3ZZt6ZX.js → ReviewDetailsPage-B6SYtYUA-d0bXCGW4.js} +32 -32
- package/dist/assets/{ReviewOverlay-Cz8LqkKC-LpMuOjyz.js → ReviewOverlay-C2enVZqt-C_vH9CpL.js} +18 -18
- package/dist/assets/RoleWithToolTip-DA3BIg5j-DG-Lih0N.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-UVIM7eda-DfB6eFkU.js → ScheduleDetailsFixedAssetsPage-DmBVVX79-6-1NS4t6.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-_mUOLW28-BO_4j_pg.js → ScheduleDetailsPage-Bp3d9tdD-Ct_0Fci8.js} +8 -8
- package/dist/assets/ScheduleSequenceTable-B1fJ-_4f-VSvFhL5f.js +324 -0
- package/dist/assets/{ScreenRoutes-CtQ8gAzw.js → ScreenRoutes-CvjimsD0.js} +1 -1
- package/dist/assets/{SetUpAccountSection-C_DCt5R8-CR6h0hZw.js → SetUpAccountSection-DiEFZwFL-DC1aQ-pj.js} +5 -5
- package/dist/assets/SignIn-T74bkrxk-ptxkK8PP.js +491 -0
- package/dist/assets/SignInScreen-BYcec7re.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-Cxe5movK-Cp5y9Fyu.js → SpendManagementListViewPage-BoWIPx5V-DXR-HLOL.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-Dj9VrJCp-DyydCk6c.js → SpendManagementPerTabPage-DRrECrxC-dCEqiObE.js} +25 -25
- package/dist/assets/{SpendManagementSection-DGGqh0xs-DYfYRUAC.js → SpendManagementSection-xoH8d-PB-6nPhw1xu.js} +23 -23
- package/dist/assets/StatementItem-BthXwXFQ-j2l7jY5v.js +31 -0
- package/dist/assets/StatementsPage-FmjXzQ3g-oWNeSYKv.js +58 -0
- package/dist/assets/{StatusSwitcher-DsSflF9D-C9Uj39S-.js → StatusSwitcher-C-2QxP_3-DVOlvAn4.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DxUZTJB0-BcVJNQoB.js → SubTabSwitcher-D3iTZY-F-CSjMFn8K.js} +2 -2
- package/dist/assets/{SummaryCard-B1mg84fd-BMICGbB9.js → SummaryCard-BbzDLzif-jCXiXuPT.js} +1 -1
- package/dist/assets/{TaskManagementPage-Z40FApxJ-DL--AmQh.js → TaskManagementPage-DI_lMbra-CdUdFSOY.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-B4sHEx1F-DFE9Lsm5.js → TimeRangeSwitcher-C3mH2YE7-CZoVUBkm.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-D8zfgEX_-De-R1snt.js → TimeframeSwitcher-C8iVJfJz-B35AQLzW.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-CdFx3214-DF2bdFav.js +31 -0
- package/dist/assets/{TopExCard-BpicN73M-Dj1d-6JO.js → TopExCard-DlberdWy-AXYKUOGt.js} +6 -6
- package/dist/assets/{TopExDetailPage-iw-7HulH-BloggZUw.js → TopExDetailPage-DZyUPQ9i-kejvgUv1.js} +9 -9
- package/dist/assets/{TransactionActivityLogPage-D7oH2hs_-CmbXQuTN.js → TransactionActivityLogPage-Bpdbc21v-DQ1FP9jB.js} +15 -15
- package/dist/assets/TransactionDetailPage-CaRcJukf-CnifEZvn.js +903 -0
- package/dist/assets/TransactionList-BAziC6eS-6qNOgl8E.js +153 -0
- package/dist/assets/{TransactionListBig-BYHLJtlB-7uyuVHel.js → TransactionListBig-D6Q9QimF-DjvcRG58.js} +13 -13
- package/dist/assets/TransactionListPage-Ce_lSS6C-YqGl74XY.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CEAFUrTl-DPFjrUzW.js → TransactionVendorDetailPage-B4A4amjV-rbnaqzN7.js} +7 -7
- package/dist/assets/{TransferDrawerPage-C6hdavbT-D88FiI-0.js → TransferDrawerPage-Dfhpu5Yd-D-lZQHfG.js} +27 -27
- package/dist/assets/{TreasuryOverviewPage-BP26JP5_-CseTVHsp.js → TreasuryOverviewPage-B6WhqRDb-BYZSOn3C.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DjVR20gs-CLIAZ8sX.js → TreasuryPromoPage-C5DXueHJ-DvuJR2wv.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-8qXJLq1U-C7VbrxO2.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-ClJA2mWI-xsnS5RHz.js +58 -0
- package/dist/assets/{TrendChart-sup0F9JZ-DSEAIHAe.js → TrendChart-FPLC1aMv-BpKn1lA4.js} +3 -3
- package/dist/assets/{TrendWithTransactions-C7azwT25-Bax9K_N2.js → TrendWithTransactions-_O4Fz3pt-B_P0jc9Y.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-Etkl_fAG-CrNZiboy.js → UncategorizedAccountsMappingPage-rdMygvxx-CB5luTSv.js} +22 -22
- package/dist/assets/{UnitIntegrationPage-ZsJHRr7Z-DnB4_Zct.js → UnitIntegrationPage-WfFukh9_-Db1kSxll.js} +11 -11
- package/dist/assets/{UploadAdditionalDocumentOverlay-Z5AuwaDQ-B2Cs9t2G.js → UploadAdditionalDocumentOverlay-xiqklxM_-C-ghpumD.js} +1 -1
- package/dist/assets/Vendor2FAPopup-DK98Bntc-CHLdTtz5.js +1 -0
- package/dist/assets/VendorACHDetailsPage-Bxo11l9N-DiVKko5M.js +1 -0
- package/dist/assets/{VendorDetailPage-Dnr8_eWj-oFCPIA59.js → VendorDetailPage-Cexet52V-fximdJ6Q.js} +25 -25
- package/dist/assets/VendorDomesticWireDetailsPage-DbhChvIp-Cn8HKuB3.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C7SK3oAX-BeOVSOYX.js → VendorFiling1099EditablePage-Bnwp2JiZ-B1voyhYV.js} +38 -38
- package/dist/assets/{VendorFirstReviewPage-sMOzaFlZ-DmFO_p3M.js → VendorFirstReviewPage-C_xSf47L-YlGbjVwi.js} +37 -37
- package/dist/assets/{VendorInternationalWireDetailsPage-B2c1Rev--CSKl1Vjc.js → VendorInternationalWireDetailsPage-DVuenbq8-CpmeIHQG.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BNySLbxk-CvXAX7v6.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Df4nOfCb-DAl3nupW.js → VendorsAccountsSection-DYSlIqnJ-D8aKvLQv.js} +2 -2
- package/dist/assets/{VerifyDevice-ogibIJ0s-BnNQtXiS.js → VerifyDevice-MbuunHNJ-0NsL1ICM.js} +9 -9
- package/dist/assets/{VideoPlayer-C5JZyeyT-DadgGvmc.js → VideoPlayer-B-oV4gcS-IlmjYyud.js} +2 -2
- package/dist/assets/{VideoPopup-Dw-9lQNK-yoJdS8GI.js → VideoPopup-DFfn4tne-e-69xGLM.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-CR9wWm5g-C6z513Mb.js → WarningsDrawerPage-C_nKfBpS-CgVWLVpY.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-CP6XbPoi-BIH8iyXn.js → ZeniAccountDetailPage-jYwDoLiN-C9ExO4Jo.js} +17 -17
- package/dist/assets/{ZeniAccountListViewPage-B-8rvc59-BKuFOztM.js → ZeniAccountListViewPage-CWiWh2ld-BsZ-NitY.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-BK32R48c-BhUfl-Q9.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DmXuuPc3-LNpY_fdO.js → ZeniAccountPromoPage-DPab5PDZ-CdBoWbQ6.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-CiLrh0yu-AtE9vx6M.js → ZeniAccountSetupPage-Dbqa1LpU-DR-JNx31.js} +1 -1
- package/dist/assets/{ZeniCopyright-DIzbP27w-BBhz6Xwh.js → ZeniCopyright-SDIPg48K-6zG7DJUz.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CYZYkuN_-ZAbh5fe3.js → ZeniTransferAmountSlider-Bg59KBt9-PXMuIYqh.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-DsabBTTA.js → add-to-wallet-DgdBD8_G-4MTVGYLk.js} +1 -1
- package/dist/assets/{analytics-DyCH8fdj.js → analytics-DkApCpAh.js} +1 -1
- package/dist/assets/analyticsHelper-DAh0LrcL.js +1 -0
- package/dist/assets/{analyticsHelper-CirorDP7-BBwgJh2i.js → analyticsHelper-DfCXurTN-CSH8s8BS.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-u4TBRWYh.js → arrow-south-east-round-PEovUgvH-sjXlUHVP.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CKdpG0Wv.js → auto-transfer-rule-mbafm5D3-8P5UKTjR.js} +1 -1
- package/dist/assets/{chartTypes-B9iWOG3r-B1tHasb2.js → chartTypes-H306f0ce-DSh0OTeZ.js} +1 -1
- package/dist/assets/{commonDimensions-SFn2jHVc-W5oDY-Cl.js → commonDimensions-CWffpElu-DyTXC1xY.js} +1 -1
- package/dist/assets/commonTypes-DP3nDhtI-D-fLD29s.js +1 -0
- package/dist/assets/{constants-BPypkR2d.js → constants-42un7CRh.js} +1 -1
- package/dist/assets/{core-abG3s-mt.js → core-DQ8U4CJb.js} +1 -1
- package/dist/assets/{dash.all.min-BxgXbuTP.js → dash.all.min-xDoItceu.js} +1 -1
- package/dist/assets/{detailCommon-BTjqps8N-BxbaqYHY.js → detailCommon-CfrL4ryy-K2hvWKyD.js} +2 -2
- package/dist/assets/downloadPdf-C1zKY9Rq-Bj2M-x0n.js +1 -0
- package/dist/assets/{empty-CpBaMiET.js → empty-DBMIDect.js} +1 -1
- package/dist/assets/{empty-DqczoxtD.js → empty-DMdKDWd5.js} +1 -1
- package/dist/assets/epic-av5bi8Jm.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-muscVLug.js → gift-box-Cmt9OgIZ-CKZgCX5V.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BDzwyc71.js → graphic-no-data-l-DU4J8fDt-B74xUk4A.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DuFj4Okf.js → graphic-no-data-net-burn-l-CzmycA0m-CY998Ry-.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BnjdTShZ.js → handshake-BPg58FML-ci6EVnAm.js} +1 -1
- package/dist/assets/helper-Byvbf3nO-BTmT7Zux.js +223 -0
- package/dist/assets/{index-c9CJIpO5.js → index-BIYLqgct.js} +4065 -4076
- package/dist/assets/{index-BR6z2Cuo.js → index-C-yZdmSC.js} +1 -1
- package/dist/assets/{index-CLsoD8lW.js → index-CP7n6qbn.js} +1 -1
- package/dist/assets/{index-DKJteqIE.js → index-Ci8_ElRT.js} +1 -1
- package/dist/assets/{index-BBfcm2Yq.js → index-DlHdI3-w.js} +1 -1
- package/dist/assets/{index-CzmKgKhh.js → index-MLR605z1.js} +1 -1
- package/dist/assets/{index-CRcaYiy_.js → index-uFwLgEj2.js} +1 -1
- package/dist/assets/{lexical-Ce5kgHxh.js → lexical-CvUIM9vD.js} +1 -1
- package/dist/assets/{liveblocks-CPDN-bxu.js → liveblocks-DXGUxn7J.js} +1 -1
- package/dist/assets/{lottie-DoLcJmSl.js → lottie-C1yptpVV.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-9Rpdq0ZF-lTETWBpR.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BywQAVX8-BWy9Izzl.js → mapSectionWithAcOnlyToTreeNode-CH8Zwu7Z-DxWz5zBn.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BCRaNO17-Byu958vH.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cc1RpGkM-aNtvWBak.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CKjqanKd-DENH9FkH.js → mapTimeframeBalancesToTreeNode-DRCseSgo-Bs0MPeVL.js} +1 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BnHYlJ_0-DmtLnyQB.js +1 -0
- package/dist/assets/{mui-D41H02IU.js → mui-rLvQ8A4a.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-22LFYKTK.js → page-detail-CWX5S47F-DxBKGqnW.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CUpBjaaO.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-DEBUIxiL.js → radio-default-CiSgisfh-D50TMWyl.js} +1 -1
- package/dist/assets/{react--SQFx4Kx.js → react-BFvwO_Qx.js} +1 -1
- package/dist/assets/{react-CGgueq7f.js → react-BGRcEI9e.js} +1 -1
- package/dist/assets/{react-Cm0EHNfW.js → react-CD-rvAYw.js} +1 -1
- package/dist/assets/{react-BqjJcaMR.js → react-CKPzfXiX.js} +1 -1
- package/dist/assets/{react-DUspGHoH.js → react-CaPJ_R38.js} +2 -2
- package/dist/assets/{react-CtY0Cknp.js → react-CeXW-10t.js} +1 -1
- package/dist/assets/{react-DDATozhB.js → react-D5l7wk4q.js} +2 -2
- package/dist/assets/{react-B04F0wBA.js → react-XCvfp0dN.js} +1 -1
- package/dist/assets/{recharts-B5Zd2InX.js → recharts-BYppTjSs.js} +1 -1
- package/dist/assets/{sentry-BhPnLTGd.js → sentry-DhNwX3jk.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CNdwFJ12.js → shield-DOlUxcFf-1dcmCA6e.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BDzeodcz-CM7cQRcs.js +1 -0
- package/dist/assets/{toChartData-mAeXlYNV-BLp7cdZE.js → toChartData-ILqaSUrn-x9ixmlfa.js} +1 -1
- package/dist/assets/{uploadAttachment-BAVcYsOo-CMKItCdP.js → uploadAttachment-BO1VJaKW-DrgLpT8c.js} +18 -18
- package/dist/assets/{uploadReceipts-Dge0cNF1-MU4yxAi1.js → uploadReceipts-Dge0cNF1-BX-9R6_Z.js} +1 -1
- package/dist/assets/{url-DE7671Su.js → url-C7FJoqre.js} +1 -1
- package/dist/assets/{url-Cp1oOvVY.js → url-DrmuGGE4.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DzBEsit3.js → useLongPress-GCK2COYQ-nce713S8.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-D5KVlHSv.js → usp-line-BBd1wKwW-BIn3NV9C.js} +1 -1
- package/dist/assets/{utils-B-wjDpf0.js → utils-BdIPH7k8.js} +1 -1
- package/dist/assets/{zeni-epic-state-CqFcQgfC.js → zeni-epic-state-DwkN4IvA.js} +18 -18
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DBm3kSeD-DgZsiQsc.js +0 -18
- package/dist/assets/AccountLockedInfoModal-Dbzdjjk6-CQuhFPxK.js +0 -59
- package/dist/assets/AccountRow-D5S7-AKx-DFEd0gRx.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-Cfd3TMpf-DS6Q-S6T.js +0 -6
- package/dist/assets/AppBasePage-BhcC9bkH-DY-zqUv_.js +0 -71
- package/dist/assets/BillingSettingsPage-Br6yvoDv-BVZt-mIm.js +0 -44
- package/dist/assets/BusinessVerificationPage-orZNuqPA-DN6BhpnL.js +0 -138
- package/dist/assets/ChargeCardPromoPage-Dv8vSGMv-DO14uvec.js +0 -222
- package/dist/assets/ChargeCardStatementsPage-1ntqN8-C-uWaZK7Rq.js +0 -60
- package/dist/assets/CompanyOfficerDetailsSection-DQYR5DxB-Dzg2SYW5.js +0 -260
- package/dist/assets/CompanyPassportPage-DrNN8V93-TiBtr88b.js +0 -574
- package/dist/assets/ConfettiBurst-arWK85ba-Dxqk_qSJ.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-_uAzzeQT-BdhST5rY.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-Dabc1DIn-Bqk6osmf.js +0 -66
- package/dist/assets/CustomerOnboardingPage-Dt4u_Cnq-MYrZCy5c.js +0 -107
- package/dist/assets/DashboardSidebarBackgroundAnimation-C8g6lMFj-DhpqWc07.js +0 -12
- package/dist/assets/EditPeoplePage-XMLOGiwc-DwxtBXpN.js +0 -55
- package/dist/assets/EntityDetailPage-CtIcsfb_-CIHO5j6s.js +0 -18
- package/dist/assets/InsightsSection-CwYXRQBN-ojTww2r2.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-YuglosZT-CTIGwFwe.js +0 -292
- package/dist/assets/InvitePeoplePage-C0n05Aw5-Dsg4dRJP.js +0 -12
- package/dist/assets/InvoiceUploadSection-UXlA1jqD-LW2eaB-9.js +0 -140
- package/dist/assets/LabeledAddressValueField-ClBxKhYQ-IyPU1pJT.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-B8sC2eqF-Cc7yYQUL.js +0 -16
- package/dist/assets/LabeledDocumentField-D520KMMj-Ca86pecT.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-BwoAMxs1-CvSeEIy1.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C7hjYeuM-C-VMVcjc.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv6pT3w6-BY_F4ivB.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CfMDImmz-je_9TTbm.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-D9Xys0GC-B16t-MQB.js +0 -31
- package/dist/assets/MailingDetailsSection-wmwBSANL-CATLTkX5.js +0 -21
- package/dist/assets/MyProfileSettingsPage-BKCzLBD9-POWCCK43.js +0 -85
- package/dist/assets/NoDataTable-0l_09Wxn-B_nhuKqo.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-COZLtgYN.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CBVazVlJ-CZjIpPrr.js +0 -107
- package/dist/assets/PeoplePage-z8ZDLJp4-C8fD_Q1w.js +0 -675
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D4G5Zc8u-DOAEAlFb.js +0 -32
- package/dist/assets/RoleWithToolTip-CSC65531-D3hYJ9aX.js +0 -22
- package/dist/assets/ScheduleSequenceTable-DQlMdMO0-DgF9ktNo.js +0 -324
- package/dist/assets/SignIn-1fhq5RCV-CQjnMsbe.js +0 -491
- package/dist/assets/SignInScreen-DXMVSzLX.js +0 -1
- package/dist/assets/StatementItem-ChfKUse--4KWnN4Iu.js +0 -31
- package/dist/assets/StatementsPage-BAg2GA58-DVyh5doh.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-CD1f2F9o-Co90HEzt.js +0 -31
- package/dist/assets/TransactionDetailPage-DLiA4XLe-CZEokP0a.js +0 -903
- package/dist/assets/TransactionList-CFz4Gf7Z-DDUxkM97.js +0 -153
- package/dist/assets/TransactionListPage-BxtVNNib-BUJHEG2b.js +0 -35
- package/dist/assets/TreasuryStatementsPage-Beixz0Ou-CYBR4Dk7.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-BW2fTHN--Cd-eOWfE.js +0 -58
- package/dist/assets/Vendor2FAPopup-BcnPzCr1-iYA-Hjx9.js +0 -1
- package/dist/assets/VendorACHDetailsPage-D5SdrDy6-C-r4VMgU.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Bv2OKF0M-CYnwGxHP.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CRpoKTWj-BHvGh8LV.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-D_Jdtql7-0Xy7FGjE.js +0 -14
- package/dist/assets/analyticsHelper-THi-SdkR.js +0 -1
- package/dist/assets/downloadPdf-CqjEwKR5-D2e_dzuk.js +0 -1
- package/dist/assets/epic-ChSldDcQ.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-DkhO3K0B-zvmTcvmi.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-nn83cq1C-BG8mZHCj.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CmXuntuz-Ksjnj8VQ.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Bs8iGys9-DZGfgxcv.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-eIiX1Dum.js +0 -4
- package/dist/assets/toCOABalancesWithID-DvC1wuTC-BtXflXCv.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h,P as n}from"./sentry-
|
|
1
|
+
import{a as h,P as n}from"./sentry-DhNwX3jk.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="1e21bcae-92bc-4f72-b3b7-b9f34ad2806c",t._sentryDebugIdIdentifier="sentry-dbid-1e21bcae-92bc-4f72-b3b7-b9f34ad2806c")}catch{}})();const c="64px",u={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:I,previewAriaLabel:f})=>{const[b,o]=h.useState(null);h.useEffect(()=>{!t||!a||!r||_({src:t,light:a,oEmbedUrl:r})},[t,a,r]);const _=async({src:e,light:i,oEmbedUrl:E})=>{if(n.isValidElement(i))return;if(typeof i=="string"){o(i);return}if(u[e]){o(u[e]);return}o(null);const y=await(await fetch(E.replace("{url}",e))).json();if(y.thumbnail_url){const g=y.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");o(g),u[e]=g}},w=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},l=n.isValidElement(a),p={display:"flex",alignItems:"center",justifyContent:"center"},d={preview:{width:"100%",height:"100%",backgroundImage:b&&!l?`url(${b})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...p},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:l?"absolute":void 0,...p},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=n.createElement("div",{style:d.shadow,className:"react-player__shadow"},n.createElement("div",{style:d.playIcon,className:"react-player__play-icon"}));return n.createElement("div",{style:d.preview,className:"react-player__preview",tabIndex:I,onClick:v,onKeyDown:w,...f?{"aria-label":f}:{}},l?a:null,m||x)};var P=k;export{P as default};
|
package/dist/assets/{ProductsCarousel-Dp5Of83--C9TEcIb9.js → ProductsCarousel-fMS3PJAc-r1K9Xxoj.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as
|
|
1
|
+
import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as G,ar as H,am as T,da as J,p as v}from"./index-BIYLqgct.js";import{a as y}from"./sentry-DhNwX3jk.js";import{n as i}from"./mui-rLvQ8A4a.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7cb2fb0e-7fd1-4e9f-9559-c7e61eec8ef2",e._sentryDebugIdIdentifier="sentry-dbid-7cb2fb0e-7fd1-4e9f-9559-c7e61eec8ef2")}catch{}})();const u=I.getLocalizedStrings(),w={large:{labelComp:G,title:H,subtitle:T,seeMoreLink:T}},Y={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},r=Y.large,q=i.div`
|
|
2
2
|
width: ${e=>e.scale*r.width}px;
|
|
3
3
|
height: ${e=>e.scale*r.height}px;
|
|
4
4
|
overflow: hidden;
|
|
@@ -58,7 +58,7 @@ import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as q,aq as G,al as
|
|
|
58
58
|
align-items: center;
|
|
59
59
|
height: ${e=>e.scale*r.svgContainerHeight}px;
|
|
60
60
|
margin-bottom: ${e=>e.scale*r.imageGap}px;
|
|
61
|
-
`,se=i(
|
|
61
|
+
`,se=i(J)`
|
|
62
62
|
width: ${e=>e.scale*r.svgSize}px;
|
|
63
63
|
min-width: ${e=>e.scale*r.svgSize}px;
|
|
64
64
|
height: ${e=>e.scale*r.svgSize}px;
|
|
@@ -76,7 +76,7 @@ import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as q,aq as G,al as
|
|
|
76
76
|
height: 100%;
|
|
77
77
|
object-fit: fill;
|
|
78
78
|
object-position: center;
|
|
79
|
-
`,le=({scale:e=1,variant:o="large",label:n,title:a,subtitle:h,seeMoreLink:l,image:d})=>{const p=t.jsx(ee,{scale:e,variant:o,padding:r.padding*e,children:t.jsxs(ie,{children:[t.jsxs(oe,{children:[n!=null&&n.trim()!==u.common.strings.empty?t.jsx(K,{scale:e,children:n}):null,a!=null&&a.trim()!==u.common.strings.empty?t.jsx(Q,{scale:e,children:a}):null,h!=null&&h.trim()!==u.common.strings.empty?t.jsx(Z,{scale:e,children:h}):null,l!=null&&l.trim()!==u.common.strings.empty?t.jsxs(re,{scale:e,children:[t.jsx(W,{children:u.customerOnboardingPage.productSuite.productCard.seeMore}),t.jsx(se,{scale:e})]}):null]}),d!=null&&d.trim()!==u.common.strings.empty?t.jsx(ae,{children:t.jsx(ne,{src:d,loading:"lazy"})}):null]})});return t.jsx(
|
|
79
|
+
`,le=({scale:e=1,variant:o="large",label:n,title:a,subtitle:h,seeMoreLink:l,image:d})=>{const p=t.jsx(ee,{scale:e,variant:o,padding:r.padding*e,children:t.jsxs(ie,{children:[t.jsxs(oe,{children:[n!=null&&n.trim()!==u.common.strings.empty?t.jsx(K,{scale:e,children:n}):null,a!=null&&a.trim()!==u.common.strings.empty?t.jsx(Q,{scale:e,children:a}):null,h!=null&&h.trim()!==u.common.strings.empty?t.jsx(Z,{scale:e,children:h}):null,l!=null&&l.trim()!==u.common.strings.empty?t.jsxs(re,{scale:e,children:[t.jsx(W,{children:u.customerOnboardingPage.productSuite.productCard.seeMore}),t.jsx(se,{scale:e})]}):null]}),d!=null&&d.trim()!==u.common.strings.empty?t.jsx(ae,{children:t.jsx(ne,{src:d,loading:"lazy"})}):null]})});return t.jsx(q,{scale:e,variant:o,children:o==="large"&&l!=null&&l.trim()!==u.common.strings.empty?t.jsx(te,{href:l,target:"_blank",rel:"noopener noreferrer",children:p}):p})},b=2,X=5,ce=496,de=V[5],j=[{positionX:-480,scale:.67},{positionX:-226,scale:.83},{positionX:0,scale:1},{positionX:226,scale:.83},{positionX:480,scale:.67}],pe=j[0].scale,ge=Math.abs(j[0].positionX),me=i.div`
|
|
80
80
|
width: 100%;
|
|
81
81
|
height: 100%;
|
|
82
82
|
position: relative;
|
|
@@ -124,7 +124,7 @@ import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as q,aq as G,al as
|
|
|
124
124
|
justify-content: center;
|
|
125
125
|
overflow: visible;
|
|
126
126
|
perspective: 2000px;
|
|
127
|
-
`,
|
|
127
|
+
`,fe=i.div`
|
|
128
128
|
position: absolute;
|
|
129
129
|
top: 50%;
|
|
130
130
|
left: 50%;
|
|
@@ -139,4 +139,4 @@ import{F as I,V as t,a8 as B,o as c,c3 as N,b0 as U,u as V,d9 as q,aq as G,al as
|
|
|
139
139
|
transform: translate(-50%, -50%) translateX(0px) translateZ(10px) scale(${o})
|
|
140
140
|
}
|
|
141
141
|
`}
|
|
142
|
-
`,
|
|
142
|
+
`,xe=({cards:e,showUpdatePaymentDetailButton:o,stopCarousel:n,scale:a=1})=>{const[h,l]=y.useState(2),[d,p]=y.useState(!1),[$,C]=y.useState(!1),f=e.length,L=B().analytics,M=ce*pe*a/2,S=ge*a+M+de/2,x=y.useCallback(s=>{$||(C(!0),l(g=>(g+s+f)%f),setTimeout(()=>C(!1),1e3))},[$,f]);y.useEffect(()=>{if(d||n||$)return;const s=setInterval(()=>{x(1)},3e3);return()=>clearInterval(s)},[d,n,$,x]);const _=s=>(h+s-b+f)%f,O=s=>{const g=Array.from({length:X},(m,k)=>_(k)).indexOf(s)-b;g!==0&&x(g),o?L.trackOnboardingLandingPageCardClick(e[s].cardTitle):L.trackOnboardingInterimCard(e[s].cardTitle)};return t.jsxs(me,{children:[t.jsx(D,{arrowOffset:S,position:"left",onClick:()=>x(-1),children:t.jsx(ue,{className:"btnsvg"})}),t.jsx(be,{children:e.map((s,g)=>{const m=Array.from({length:X},(ve,A)=>_(A)).indexOf(g);if(m===-1)return null;const{positionX:k,scale:E}=j[m],z=m===b,P=E*a,F=k*a,R=1.02*a;return t.jsx(fe,{isForeFront:z,positionX:F,scale:P,hoverScale:R,onClick:()=>O(g),onMouseEnter:()=>z&&p(!0),onMouseLeave:()=>z&&p(!1),style:{zIndex:m===b?5:5-Math.abs(m-b)},children:t.jsx(le,{label:s.cardTitle,title:s.sectionTitle,subtitle:s.sectionSubTitle,seeMoreLink:s.redirectLink,image:s.imageLink,variant:m===b?"large":m===b-1?"medium":"small"})},g)})}),t.jsx(D,{arrowOffset:S,position:"right",onClick:()=>x(1),children:t.jsx(he,{className:"btnsvg"})})]})},ye=["https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-reimbursements.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-bill-payments.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-ai-bookkeeping.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-checking-accounts.png","https://storage.googleapis.com/zeni-apis.appspot.com/images/zeni-business-credit-cards.png"],$e=["https://www.zeni.ai/product/employee-reimbursements?utm_source=onboarding_interim","https://www.zeni.ai/product/bill-pay?utm_source=onboarding_interim","https://www.zeni.ai/product/ai-bookkeeping?utm_source=onboarding_interim","https://www.zeni.ai/product/business-checking-accounts?utm_source=onboarding_interim","https://www.zeni.ai/product/business-credit-card?utm_source=onboarding_interim"],je=({scale:e=1,showUpdatePaymentDetailButton:o=!1,stopCarousel:n=!1})=>{const{customerOnboardingPage:a}=I.getLocalizedStrings(),{productSuite:h}=a,l=h.productCard.cards.map((d,p)=>({...d,imageLink:ye[p],redirectLink:$e[p]}));return t.jsx(xe,{cards:l,scale:e,showUpdatePaymentDetailButton:o,stopCarousel:n})};export{je as T};
|
package/dist/assets/{PromoBaseCards-Bpmi7do2-DeOoBn1O.js → PromoBaseCards-HY42c1kU-DSpx7Fy3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as
|
|
1
|
+
import{J as m,V as r,de as b,df as v,dg as y,by as z,o as e,p as d,y as a,H as c,u as p}from"./index-BIYLqgct.js";import{c as i,n as g,k as u}from"./mui-rLvQ8A4a.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new o.Error().stack;l&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[l]="3b9af52e-9f0b-4ca7-9429-ef0d97e4af2f",o._sentryDebugIdIdentifier="sentry-dbid-3b9af52e-9f0b-4ca7-9429-ef0d97e4af2f")}catch{}})();const t={plasticCardMarginLeft:new a(p[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(p[2],13),businessTextBottom:new a(p[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(p[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(p[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(p[2],13),visaLogoBottom:new a(p[2],13)},f={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:l,showChip:w,forDashboard:s,forListPage:h,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(B,{cardPromoType:$,windowSize:n,shouldAnimate:l,forListPage:h,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(j,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:l,showChip:w,forDashboard:s,forListPage:h,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(H,{cardPromoType:$,windowSize:n,shouldAnimate:l,forListPage:h,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(k,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(y,{})})]})},C=u`
|
|
2
2
|
0%{
|
|
3
3
|
transform: rotate(12.4deg);
|
|
4
4
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -23,7 +23,7 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
23
23
|
transform: rotate(12.4deg);
|
|
24
24
|
translate: ${e.sp0} ${e.sp0};
|
|
25
25
|
}
|
|
26
|
-
`,D=
|
|
26
|
+
`,D=u`
|
|
27
27
|
0%{
|
|
28
28
|
transform: rotate(12.4deg);
|
|
29
29
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -48,36 +48,36 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
48
48
|
transform: rotate(12.4deg);
|
|
49
49
|
translate: ${e.sp0} ${e.sp0};
|
|
50
50
|
}
|
|
51
|
-
`,T=
|
|
51
|
+
`,T=u`
|
|
52
52
|
0%{
|
|
53
53
|
transform: rotate(0);
|
|
54
54
|
transform-origin: top left;
|
|
55
|
-
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${
|
|
55
|
+
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
56
56
|
}
|
|
57
57
|
14.25%{
|
|
58
58
|
transform: rotate(0);
|
|
59
59
|
transform-origin: top left;
|
|
60
|
-
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${
|
|
60
|
+
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
61
61
|
}
|
|
62
62
|
35.75%{
|
|
63
63
|
transform: rotate(-5.31deg);
|
|
64
64
|
transform-origin: top left;
|
|
65
|
-
box-shadow: 12px 12px ${e.sp5} ${e.sp0} ${
|
|
65
|
+
box-shadow: 12px 12px ${e.sp5} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
66
66
|
}
|
|
67
67
|
64.25%{
|
|
68
68
|
transform: rotate(-5.31deg);
|
|
69
69
|
transform-origin: top left;
|
|
70
|
-
box-shadow: 12px 12px ${e.sp5} ${e.sp0} ${
|
|
70
|
+
box-shadow: 12px 12px ${e.sp5} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
71
71
|
}
|
|
72
72
|
85.75%{
|
|
73
73
|
transform: rotate(0);
|
|
74
74
|
transform-origin: top left;
|
|
75
|
-
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${
|
|
75
|
+
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
76
76
|
}
|
|
77
77
|
100%{
|
|
78
78
|
transform: rotate(0);
|
|
79
79
|
transform-origin: top left;
|
|
80
|
-
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${
|
|
80
|
+
box-shadow: 2px ${e.sp1} ${e.sp3} ${e.sp0} ${d.chargeCardBoxShadow2};
|
|
81
81
|
}
|
|
82
82
|
`,j=g.div`
|
|
83
83
|
color: ${o=>o.theme.colors.brandColorJade};
|
|
@@ -92,22 +92,22 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
92
92
|
height: 28px;
|
|
93
93
|
`:null}
|
|
94
94
|
`,L=g.div`
|
|
95
|
-
color: ${
|
|
95
|
+
color: ${d.neutralGrey5Light};
|
|
96
96
|
text-align: right;
|
|
97
|
-
${o=>`${
|
|
97
|
+
${o=>`${f.businessText.style(o.windowSize)}`};
|
|
98
98
|
text-transform: capitalize;
|
|
99
99
|
position: absolute;
|
|
100
100
|
right: ${o=>t.businessTextRight.valuePx(o.windowSize)};
|
|
101
101
|
bottom: ${o=>t.businessTextBottom.valuePx(o.windowSize)};
|
|
102
102
|
${o=>o.forDashboard?i`
|
|
103
103
|
top: 61px;
|
|
104
|
-
${
|
|
104
|
+
${f.promoBusinessText.style(o.windowSize)};
|
|
105
105
|
right: 6px;
|
|
106
106
|
`:null}
|
|
107
107
|
${o=>o.forListPage?i`
|
|
108
108
|
top: 53px;
|
|
109
109
|
left: 95px;
|
|
110
|
-
${
|
|
110
|
+
${f.promoBusinessText.style(o.windowSize)};
|
|
111
111
|
`:null}
|
|
112
112
|
`,P=g.div`
|
|
113
113
|
position: absolute;
|
|
@@ -142,7 +142,7 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
142
142
|
top: ${o=>t.styledFullLogoTop.valuePx(o.windowSize)};
|
|
143
143
|
height: ${o=>t.styledFullLogoHeight.valuePx(o.windowSize)};
|
|
144
144
|
width: ${o=>t.styledFullLogoWidth.valuePx(o.windowSize)};
|
|
145
|
-
color: ${
|
|
145
|
+
color: ${d.neutralGrey5Light};
|
|
146
146
|
${o=>o.forDashboard?i`
|
|
147
147
|
width: 70px;
|
|
148
148
|
height: ${e.sp3};
|
|
@@ -165,7 +165,7 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
165
165
|
background-repeat: no-repeat;
|
|
166
166
|
background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/MetalCardPattern.svg);
|
|
167
167
|
transition-timing-function: ease-in-out;
|
|
168
|
-
border: 1px solid ${
|
|
168
|
+
border: 1px solid ${d.neutralGrey5Light};
|
|
169
169
|
background-position: center;
|
|
170
170
|
background-size: cover;
|
|
171
171
|
box-shadow: ${o=>` ${e.sp0} ${e.sp0} ${e.sp6} ${e.sp0} ${o.theme.colors.dropShadowNormal}`};
|
|
@@ -183,7 +183,7 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
183
183
|
border-radius: 3px;
|
|
184
184
|
border-width: 0.1px;
|
|
185
185
|
`:null}
|
|
186
|
-
`,
|
|
186
|
+
`,H=g.div`
|
|
187
187
|
width: ${o=>t.chargeCardWidth.valuePx(o.windowSize)};
|
|
188
188
|
height: ${o=>t.chargeCardHeight.valuePx(o.windowSize)};
|
|
189
189
|
background: ${o=>o.cardPromoType==="debit"?o.theme.colors.brandColorJadeDark:o.theme.colors.brandColorJade};
|
|
@@ -195,7 +195,7 @@ import{J as b,V as r,de as m,df as v,dg as y,by as z,o as e,p as n,y as a,N as c
|
|
|
195
195
|
background-position-y: bottom;
|
|
196
196
|
box-shadow: ${o=>` ${e.sp0} ${e.sp0} ${e.sp6} ${e.sp0} ${o.theme.colors.dropShadowNormal}`};
|
|
197
197
|
transition-timing-function: ease-in-out;
|
|
198
|
-
border: 1px solid ${
|
|
198
|
+
border: 1px solid ${d.neutralGrey5Light};
|
|
199
199
|
background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/PhysicalCardFrontBGPattern.svg);
|
|
200
200
|
background-size: cover;
|
|
201
201
|
${o=>{if(o.shouldAnimate){const l=o.windowSize==="small"?C:D;return i`
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{J as
|
|
1
|
+
import{J as y,F as r,V as n,bT as b,i as l,y as c,o as i,ar as w,am as $,ag as j,bw as P,eS as v,u as t}from"./index-BIYLqgct.js";import{n as o}from"./mui-rLvQ8A4a.js";import"./sentry-DhNwX3jk.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="cc135f4e-b390-44cf-8938-4104f0697408",e._sentryDebugIdIdentifier="sentry-dbid-cc135f4e-b390-44cf-8938-4104f0697408")}catch{}})();const s={containerPaddingTop:new c(t[5],t[7]),containerPaddingBottom:new c(t[5],t[5]),containerPaddingLeftRight:new c(t[6],t[11])},S=o.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
|
5
5
|
background: ${e=>e.theme.colors.background};
|
|
6
|
-
`,
|
|
6
|
+
`,_=o.div`
|
|
7
7
|
padding-top: ${e=>s.containerPaddingTop.valuePx(e.windowSize)};
|
|
8
8
|
padding-bottom: ${e=>s.containerPaddingBottom.valuePx(e.windowSize)};
|
|
9
9
|
padding-right: ${e=>s.containerPaddingLeftRight.valuePx(e.windowSize)};
|
|
@@ -48,4 +48,4 @@ import{J as f,F as r,V as n,bT as y,i as l,y as c,o as i,aq as w,al as $,af as j
|
|
|
48
48
|
`,R=o(v)`
|
|
49
49
|
height: ${i.sp4};
|
|
50
50
|
color: ${e=>e.theme.colors.primary};
|
|
51
|
-
`;function M({companyName:e="",isGoBackAllowed:a,isAdmin:d,saveConnectionState:p,isQBOPopupOpen:g=!0,handleOnConnectClick:m,handleGoBack:h}){const u=
|
|
51
|
+
`;function M({companyName:e="",isGoBackAllowed:a,isAdmin:d,saveConnectionState:p,isQBOPopupOpen:g=!0,handleOnConnectClick:m,handleGoBack:h}){const u=y(),x=r.getLocalizedStrings().dashboardAccountingPage.adminInfoText.replace(e?"_company-name_":"‘_company-name_’",e),f=r.getLocalizedStrings().dashboardAccountingPage.nonAdminInfoText.replace(e?"_company-name_":"‘_company-name_’",e);return n.jsx(b,{open:g,children:n.jsxs(S,{windowSize:u,children:[n.jsxs(_,{children:[n.jsx(z,{children:r.getLocalizedStrings().dashboardAccountingPage.title}),n.jsx(k,{children:d?x:f}),n.jsxs(B,{children:[n.jsx(C,{}),n.jsx(D,{}),n.jsx(R,{})]})]}),d||a?n.jsxs(n.Fragment,{children:[n.jsx(L,{}),n.jsxs(T,{children:[a===!0?n.jsx(A,{children:n.jsx(l,{variant:"secondary",label:r.getLocalizedStrings().dashboardAccountingPage.goBack,onClick:h})}):null,d?n.jsx(I,{children:n.jsx(l,{variant:"primary",label:r.getLocalizedStrings().dashboardAccountingPage.connect,onClick:m,loading:p==="In-Progress"})}):null]})]}):null]})})}export{M as default};
|
package/dist/assets/{QBOSetupSection-Blf2QxYu-Bt1Iazrw.js → QBOSetupSection-CQHdqpJF-CH_S6Ewi.js}
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import{J as O,F as u,V as i,i as k,o,y as a,p as c,
|
|
1
|
+
import{J as O,F as u,V as i,i as k,o,y as a,p as c,fT as I,H as T,ag as D,bw as W,eS as B,fK as H,aW as h,aj as f,u as r}from"./index-BIYLqgct.js";import{n}from"./mui-rLvQ8A4a.js";import _ from"./QBOConnectionDialog-B_AOC_hG-BSWcu79k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="467f26ec-a22d-4c37-b47e-59a416cb38d8",e._sentryDebugIdIdentifier="sentry-dbid-467f26ec-a22d-4c37-b47e-59a416cb38d8")}catch{}})();const l={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},E={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:$,companyName:y,updateQBOPopupState:w,handleOnConnectClick:b})=>{const s=O(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(A,{windowSize:s,children:[i.jsxs(F,{windowSize:s,children:[s==="small"?i.jsx(L,{children:d?i.jsx(R,{}):i.jsx(U,{})}):null,i.jsx(G,{windowSize:s,children:S})]}),i.jsxs(N,{windowSize:s,children:[i.jsxs(Q,{windowSize:s,children:[i.jsxs(q,{children:[i.jsx(J,{}),i.jsx(M,{windowSize:s}),i.jsx(K,{})]}),d?s!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:s!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>w(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(V,{children:v}),s==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:P})}):null,t&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:C})}):null]}),i.jsx(_,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:$,companyName:y,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>w(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:t}=e;return i.jsx(H,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new h(c.successDark),borderColor:new h(c.successDark)}})},A=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
5
5
|
justify-content: center;
|
|
6
|
-
`,
|
|
6
|
+
`,F=n.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
padding-top: ${o.sp3};
|
|
10
10
|
padding-bottom: ${o.sp3};
|
|
11
11
|
width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
|
|
12
|
-
`,
|
|
12
|
+
`,G=n.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
color: ${e=>e.theme.colors.primary};
|
|
16
|
-
${e=>`${
|
|
17
|
-
`,
|
|
16
|
+
${e=>`${E.title.style(e.windowSize)}`};
|
|
17
|
+
`,N=n.div`
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
|
|
@@ -37,7 +37,7 @@ import{J as O,F as u,V as i,i as k,o,y as a,p as c,fQ as I,N as D,af as T,bw as
|
|
|
37
37
|
`,g=n(f)`
|
|
38
38
|
display: flex;
|
|
39
39
|
color: ${c.important};
|
|
40
|
-
`,
|
|
40
|
+
`,Q=n.div`
|
|
41
41
|
width: 100%;
|
|
42
42
|
display: flex;
|
|
43
43
|
justify-content: space-between;
|
|
@@ -53,7 +53,7 @@ import{J as O,F as u,V as i,i as k,o,y as a,p as c,fQ as I,N as D,af as T,bw as
|
|
|
53
53
|
gap: ${o.sp4};
|
|
54
54
|
justify-content: left;
|
|
55
55
|
color: ${e=>e.theme.colors.primary};
|
|
56
|
-
`,J=n(
|
|
56
|
+
`,J=n(D)`
|
|
57
57
|
height: 20px;
|
|
58
58
|
width: auto;
|
|
59
59
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -62,12 +62,12 @@ import{J as O,F as u,V as i,i as k,o,y as a,p as c,fQ as I,N as D,af as T,bw as
|
|
|
62
62
|
height: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
63
63
|
width: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
64
64
|
color: ${e=>e.theme.colors.hero};
|
|
65
|
-
`,
|
|
65
|
+
`,K=n(B)`
|
|
66
66
|
height: ${o.sp4};
|
|
67
67
|
color: ${e=>e.theme.colors.primary};
|
|
68
|
-
`,
|
|
68
|
+
`,L=n.div`
|
|
69
69
|
margin-right: ${o.sp2};
|
|
70
|
-
`,
|
|
70
|
+
`,R=n(I)`
|
|
71
71
|
width: ${o.sp3};
|
|
72
72
|
height: ${o.sp3};
|
|
73
73
|
color: ${c.success};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import{y as W,u as L,d as M,J as G,F as U,a9 as H,aR as J,aL as X,cH as K,V as r,bD as Q,ad as Y,aS as Z,o as b,gb as ee}from"./index-BIYLqgct.js";import{a as B}from"./sentry-DhNwX3jk.js";import{n as c}from"./mui-rLvQ8A4a.js";import{b as te,f as le,o as T,l as _}from"./FollowStepsSection-ClyCs5f_-Dx038WgT.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="54486510-675b-4e09-8169-325fe28f6f95",e._sentryDebugIdIdentifier="sentry-dbid-54486510-675b-4e09-8169-325fe28f6f95")}catch{}})();const $="reimbursementApprovalRuleDetailPage",C="lowerBound",j="upperBound",I="steps",h="applyToExistingReimbursements",ae={footerPadding:new W(L[2],L[3])};function Re({localData:e,approvalUpdateActionType:l,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:i=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:w}){const F=M(),A=G(),a=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,l==="approval_create"&&!t),y=H({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,R=J(u?.fetchState),{upperBound:D}=x,{allApprovalRules:d,allAccountingClasses:V,remiSetupApproverViewUpdateData:m}=e;let f=d.length>1?d.length-1:0,v=d.length>0?d[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:n}=m.data;f=d.findIndex(p=>p.approvalRuleId===n),v=f>0?d[f-1].criteria[0].range.min.amount:0}const q=y.handleSubmit(()=>{N()}),z=async(n,p)=>{g(p)};return B.useEffect(()=>{const n=y.watch((p,{name:P})=>{if(P!=null&&p!=null){const O=X(p);K(()=>z(P,O))}});return()=>{n.unsubscribe()}}),B.useEffect(()=>{R==="In-Progress"&&u?.fetchState==="Completed"&&w()},[R,u?.fetchState,w]),r.jsxs(ie,{children:[r.jsx(Q,{title:l==="approval_create"?a.newApproval:a.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{s()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:k($),onSubmit:q,children:r.jsxs(pe,{children:[r.jsx(te,{label:{label:i?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:D===1/0?Number.MAX_SAFE_INTEGER-1:D-1,min:v,validate:n=>t?!0:n!=null&&n>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:j,placeholder:"Infinity",isDisabled:o,hideField:i,additionalInfoLabel:a.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(le,{sectionId:I,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(n=>n.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:k($),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:l==="approval_create"&&d.length===0?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:a.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:A==="small"?"space-between":"center"},style:{padding:ae.footerPadding.valuePx(A)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,l)=>{const{criteria:t,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},i=e.allApprovalRules.length===0;return{[h]:i?[]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),T(e.allAttributes),T(e.filteredAttributes),o??[])??[],[C]:l?void 0:t!=null?t.range.min.amount??0:0,[j]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},oe=(e,l,t,o,i)=>i&&i.length>0?i.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:_},actors:{allUsers:l,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(t,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:_},actors:{allUsers:l,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,l)=>e.filter(t=>t.userId!=null&&l.findIndex(o=>o.userId===t.userId)>-1),ne=(e,l)=>e.filter(t=>l.findIndex(o=>o.subType===t.value)>-1),k=e=>`${e}_form`,De=e=>`${e}`,ie=c.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
height: 100%;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 100%;
|
|
6
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
+
`,de=c.div`
|
|
8
|
+
display: flex;
|
|
9
|
+
flex: 1;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
min-height: 0;
|
|
12
|
+
`,pe=c.div`
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
16
|
+
box-shadow: ${e=>`${b.sp0} 2px ${b.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
17
|
+
border-radius: ${b.sp2};
|
|
18
|
+
`,ue=c.div`
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: flex-start;
|
|
21
|
+
flex: 1;
|
|
22
|
+
min-height: 0;
|
|
23
|
+
overflow-y: auto;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
align-items: center;
|
|
26
|
+
`,ce=c.div`
|
|
27
|
+
display: flex;
|
|
28
|
+
flex: 1;
|
|
29
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
30
|
+
min-height: 1px;
|
|
31
|
+
max-height: 1px;
|
|
32
|
+
`;export{ae as D,Re as default,k as uniqueFormName,De as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as F,J as N,F as j,V as t,bD as G,T as V,ab as m,o,y as r,am as H,aP as P,bU as T,cr as q,cs as J,ct as O,d1 as K,u as l,ba as Q,H as k,b9 as X,p as z,d0 as Y,bu as Z,b as ee}from"./index-BIYLqgct.js";import{n as i}from"./mui-rLvQ8A4a.js";import{a as te}from"./sentry-DhNwX3jk.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="fb8fca1d-0876-46d2-a430-c9e3a583f2ba",e._sentryDebugIdIdentifier="sentry-dbid-fb8fca1d-0876-46d2-a430-c9e3a583f2ba")}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(l[0],-4)},M={stepper:new k("smallRegular","standardRegular"),amount:new k("standardRegular","largeRegular")},oe=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:x=!1,approvalRule:f,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[g,w]=te.useState(!1),n=N(),{range:h}=f.criteria[0],{steps:$,approvalRuleId:p}=f,a=j.getLocalizedStrings().commonSetUp.approval,v=()=>{w(!0)},U={onOkClick:()=>{w(!1),y?.(p)},onCancelClick:()=>{w(!1)}};return t.jsxs(ie,{windowSize:n,isLastSection:x,isUpdatingApprovalRules:c,"data-testid":m("approval-rule-section",p),children:[t.jsxs(re,{windowSize:n,children:[t.jsxs(ue,{children:[t.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",h.min)]}),t.jsxs(le,{children:[t.jsx(D,{}),t.jsx(se,{}),t.jsx(D,{})]}),h.max==null?t.jsx(me,{}):t.jsx(W,{windowSize:n,children:P("0,0",{...h.min,amount:h.max.amount})})]}),t.jsxs(he,{className:"icons",children:[e?c?t.jsx(T,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(I,{isDisabled:!0,"data-testid":m("delete-approval-rule",p)})})}):t.jsx(I,{onClick:v,"data-testid":m("delete-approval-rule",p)}):null,c?t.jsx(T,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(B,{isDisabled:!0,"data-testid":m("edit-approval-rule",p)})})}):t.jsx(B,{onClick:()=>{S(p)},"data-testid":m("edit-approval-rule",p)})]})]}),t.jsx(ae,{windowSize:n,children:t.jsx(ne,{isSingleStep:$.length===1,windowSize:n,children:$.map((u,E)=>t.jsxs(pe,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[u.action==="require_approval"?t.jsx(de,{children:a.requireText}):t.jsx(ce,{children:a.notifyText}),u.nonUserActors.filter(d=>d.subType!=null).map((d,_)=>t.jsxs(L,{children:[t.jsx(R,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),u.operator!="is"?t.jsx(A,{className:"operator",children:u.operator}):null]},`${d.subType}_${_}`)),u.actors.map(d=>t.jsxs(L,{children:[t.jsxs(R,{children:[d.firstName," ",d.lastName]}),u.operator!="is"?t.jsx(A,{className:"operator",children:u.operator}):null]},d.userId))]},E))})}),g?t.jsx(q,{titleComponent:t.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(J,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:U}):null]})},ie=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -57,7 +57,7 @@ import{e as F,J as N,F as j,V as t,bD as G,T as V,aQ as m,o,y as r,al as M,aO as
|
|
|
57
57
|
box-sizing: border-box;
|
|
58
58
|
position: relative;
|
|
59
59
|
`,ne=i.ul`
|
|
60
|
-
${e=>`${
|
|
60
|
+
${e=>`${M.stepper.style(e.windowSize)}`};
|
|
61
61
|
position: relative;
|
|
62
62
|
padding-left: ${o.sp6};
|
|
63
63
|
list-style: none;
|
|
@@ -166,13 +166,13 @@ import{e as F,J as N,F as j,V as t,bD as G,T as V,aQ as m,o,y as r,al as M,aO as
|
|
|
166
166
|
width: ${o.sp4};
|
|
167
167
|
height: ${o.sp4};
|
|
168
168
|
color: ${e=>e.theme.colors.hero};
|
|
169
|
-
`,
|
|
169
|
+
`,A=i.span`
|
|
170
170
|
color: ${e=>e.theme.colors.hero};
|
|
171
|
-
`,
|
|
171
|
+
`,L=i.div`
|
|
172
172
|
display: inherit;
|
|
173
173
|
gap: inherit;
|
|
174
174
|
`,W=i.span`
|
|
175
|
-
${e=>`${
|
|
175
|
+
${e=>`${M.amount.style(e.windowSize)}`};
|
|
176
176
|
color: ${e=>e.theme.colors.primary};
|
|
177
177
|
word-break: break-word;
|
|
178
178
|
`,b={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])},Be=({approvalView:e,onBackClick:c,onEditRuleClick:x,onDeleteRuleClick:f})=>{const S=F(),y=N(),{fetchState:g,deleteStatus:w}=e,n=j.getLocalizedStrings().commonSetUp.approval,h=j.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,$=w.fetchState,p=e.listeningToPusherEvent;return t.jsxs(xe,{children:[t.jsx(G,{title:n.approvalPageHeader,backgroundColor:S.colors.grey4,style:{zIndex:4},onBackClick:()=>{c()},source:"ReimbursementApprovalRulesPage"}),t.jsxs(ge,{children:[t.jsx($e,{windowSize:y,children:h.approvalPageSubTitle}),g==="In-Progress"||g==="Not-Started"||$==="In-Progress"?t.jsx(we,{children:t.jsx(V,{size:"ExtraLarge",start:!0})}):g==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,v)=>t.jsx(oe,{showDeleteBtn:v!==0,disableButtons:p===!0&&a.approvalRuleId===e.newApprovalRuleId,approvalRule:a,isLastSection:v===e.allApprovalRules.length-1,onEditRuleClick:x,onDeleteRuleClick:f},a.approvalRuleId)),t.jsxs(be,{windowSize:y,onClick:()=>{x()},"data-testid":m("add-approval-rule"),children:[t.jsx(fe,{}),t.jsx(ye,{children:n.addApprovalText})]})]}):null]})]})},xe=i.div`
|
|
@@ -199,14 +199,14 @@ import{e as F,J as N,F as j,V as t,bD as G,T as V,aQ as m,o,y as r,al as M,aO as
|
|
|
199
199
|
align-items: center;
|
|
200
200
|
gap: ${o.sp3};
|
|
201
201
|
background-color: ${e=>e.theme.colors.grey4};
|
|
202
|
-
`,$e=i(
|
|
202
|
+
`,$e=i(H)`
|
|
203
203
|
color: ${e=>e.theme.colors.hero};
|
|
204
204
|
display: flex;
|
|
205
205
|
justify-content: center;
|
|
206
206
|
width: ${e=>b.titleWidth.valuePx(e.windowSize)};
|
|
207
207
|
padding-top: ${e=>b.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
208
208
|
padding-bottom: ${e=>b.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
209
|
-
`,be=i(
|
|
209
|
+
`,be=i(H)`
|
|
210
210
|
cursor: pointer;
|
|
211
211
|
display: flex;
|
|
212
212
|
flex-direction: row;
|
|
@@ -235,7 +235,7 @@ import{e as F,J as N,F as j,V as t,bD as G,T as V,aQ as m,o,y as r,al as M,aO as
|
|
|
235
235
|
border-color: ${e=>e.theme.colors.primary};
|
|
236
236
|
}
|
|
237
237
|
margin-bottom: ${o.sp6};
|
|
238
|
-
`,fe=i(
|
|
238
|
+
`,fe=i(K)`
|
|
239
239
|
width: ${o.sp3};
|
|
240
240
|
height: ${o.sp3};
|
|
241
241
|
`,ye=i.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as _t,gl as Ot,V as t,cq as Ae,cr as Me,cs as Re,bD as Pe,aQ as y,bp as Wt,dx as Et,gm as Ft,gx as Be,o as a,gn as Ne,fj as b,gq as w,fm as x,aO as Le,fi as _e,b as V,gs as Oe,aS as Kt,ao as Ut,gt as Vt,gu as re,by as Ht,gv as Gt,c as Yt,N as qt,a as Jt,al as tt,ba as it,p as H,am as Qt,bW as Xt,ai as Zt,gP as ei,gL as ti,u as c,cj as ii,cY as ai}from"./index-c9CJIpO5.js";import{a as p}from"./sentry-BhPnLTGd.js";import{n as r}from"./mui-D41H02IU.js";import{a as ri}from"./liveblocks-CPDN-bxu.js";import{bL as oi,bP as ni,FL as li}from"./zeni-epic-state-CqFcQgfC.js";import si from"./InvoiceUploadSection-UXlA1jqD-LW2eaB-9.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-abG3s-mt.js";import"./lottie-DoLcJmSl.js";import"./recharts-B5Zd2InX.js";import"./analytics-DyCH8fdj.js";import"./lexical-Ce5kgHxh.js";import"./utils-B-wjDpf0.js";import"./AttachmentView-BNb1kv2i-DkhgYBN2.js";import"./uploadReceipts-Dge0cNF1-MU4yxAi1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="5b7088e1-86e6-4c13-9554-bcc431cf4771",e._sentryDebugIdIdentifier="sentry-dbid-5b7088e1-86e6-4c13-9554-bcc431cf4771")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},mi={formTitle:new qt("h6Regular","h5Regular")},sa=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:ne,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:G,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:he,deleteReimbursement:nt,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:ge,initialOpenThreadRequest:z})=>{const d=Mt(),st=Rt().analytics,o=Pt(),be=Bt(),[dt,A]=p.useState(!1),[Y,q]=p.useState(!1),[ct,J]=p.useState(!1),[Q,X]=p.useState("approved"),N=p.useRef(null),[S,Z]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const n=we.current[l];n!=null&&setTimeout(()=>ci(n,N.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&G()},[e,G]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const n=l.substring(1);xe(n)}},[]);const ut=()=>{G()};Nt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{A(!1),S.primaryButtonText===i.buttons.delete?nt?.():S.title===i.cancelReportTitle?ye?.():S.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(o),M=s.largeLabelWidth.value(o),fe=et.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:$e}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:ve}=fe,{reimbursementDetail:i,bulkActions:_}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,W=e.remiDetails?.reimbursementInfo.billStatus,E=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",ft=Te?O:W?.code=="approved"&&E?.code?E:W,$=pi(e.remiDetails),R=W?.code=="approved"&&E?.code?E:W,F=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{Z({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),A(!0)},$t=()=>{Z({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},vt=()=>{Z({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},De=()=>{rt()},Tt={onOkClick:l=>{J(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{J(!1)}},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(X("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(X("delete"),Ie()):(X("rejected"),J(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?oi(ni(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Dt=e.remiDetails?.lines?.some(l=>{const n=l.lineDetail;return n?.account?.isDeleted===!0&&n?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!Dt,Ct=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=ft?.code,kt=di(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&kt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{z?.threadId!=null&&z?.companyId!=null&&z?.entityType!=null&&K(z)},[z,K]);const{threads:P,isLoading:D}=_t({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>P.filter(l=>l.resolved===!1&&!l.id.includes(Ot)),[P]).length,At=p.useCallback((l,n)=>{U(n),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&P.length>0&&!D&&(U(ae.threadId),K(null))},[ae,P,D,U,K]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},B=li(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Oi,{windowSize:o,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:S.title}),descriptionComponent:t.jsx(Me,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:ht}):null,ct?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Mi,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ri,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:be.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ki,{}):null,t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??$e,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Bi,{children:[u?t.jsxs(Ni,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),L(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Et(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Wt,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(_i,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(Pi,{})})]}),scrollableContent:N,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Hi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(qe,{windowSize:o,children:t.jsx(Je,{windowsSize:o,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&$!=null?t.jsx(He,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,R?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ft,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ye,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,j.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Ze,{windowSize:o,children:[t.jsx(Ki,{windowSize:o,children:t.jsx(Ui,{bottomSeperator:j.length!==1,windowSize:o,children:t.jsx(si,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:ne,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:j.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Fi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qe,{windowSize:o,children:[t.jsx(Je,{windowsSize:o,children:ee}),me&&$!=null?t.jsx(He,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(Ye,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(wi,{windowSize:o,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[o!=="small"?t.jsx(bi,{children:t.jsx(xi,{children:j.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(fi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(yi,{children:[i.thisExpenseReview," ",t.jsx(gi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return xe(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:M},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:M},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),j.length!==1&&j.length===n+1&&t.jsxs(Ei,{windowSize:o,children:[t.jsxs(Qe,{windowSize:o,children:[t.jsx(Xe,{children:i.total}),t.jsx(_e,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),j.length===1&&t.jsxs(Ze,{windowSize:o,children:[t.jsx(Ge,{}),t.jsxs(ui,{windowSize:o,children:[t.jsx(Wi,{windowSize:o,children:t.jsxs(Qe,{windowSize:o,children:[t.jsx(Xe,{children:i.total}),t.jsx(_e,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(hi,{windowSize:o,children:t.jsx(Oe,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Vi,{})]}),Te||F===!0?null:t.jsxs(Ai,{children:[o!=="small"?t.jsx(Ge,{}):null,t.jsx(vi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),Y===!0&&q(!1)},children:t.jsx(Kt,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:St,style:{width:s.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:jt,style:{width:s.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx($i,{children:t.jsxs(zi,{windowSize:o,children:[!B&&Y?t.jsx(Ut,{onClickAway:()=>q(!1),children:t.jsxs(Ci,{windowSize:o,children:[ie!=="processing"?t.jsx(oe,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(oe,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(oe,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Di,{windowSize:o,children:[!B&&Ce?t.jsx(Ii,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(Si,{})}):null,!B&&Ct===!0?t.jsx(ji,{windowSize:o,showEditIcon:Ce,children:t.jsx(Ti,{onClick:()=>q(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ri,{id:h,children:t.jsx(Vt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:P,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??$e,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(l,n)=>At(l,n),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:be.colors.background}})}):null]})},pi=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},ui=r.div`
|
|
1
|
+
import{ax as Mt,a8 as Rt,J as Pt,d as Bt,ce as Nt,y as m,F as et,gl as Lt,gn as _t,go as Ot,V as t,cr as Ae,cs as Me,ct as Re,bD as Pe,ab as y,bp as Wt,dw as Et,gp as Ft,gA as Be,o as a,gq as Ne,fm as b,gt as w,fp as x,aP as Le,fl as _e,b as V,gv as Oe,aS as Kt,ap as Ut,gw as Vt,gx as re,by as Ht,gy as Gt,x as Yt,H as qt,a as Jt,am as tt,ba as it,p as H,an as Zt,bW as Qt,aj as Xt,gS as ei,gO as ti,u as c,cj as ii,c$ as ai}from"./index-BIYLqgct.js";import{a as p}from"./sentry-DhNwX3jk.js";import{n as r}from"./mui-rLvQ8A4a.js";import{a as ri}from"./liveblocks-DXGUxn7J.js";import{bL as oi,bP as ni,FR as li}from"./zeni-epic-state-DwkN4IvA.js";import si from"./InvoiceUploadSection-Eo7dq75t-C9QkPoGX.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-DQ8U4CJb.js";import"./lottie-C1yptpVV.js";import"./recharts-BYppTjSs.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./AttachmentView-CA6PRg4p-DDr9TCOl.js";import"./uploadReceipts-Dge0cNF1-BX-9R6_Z.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="2e36b0bf-9188-40aa-9cde-4d94d4fb8a69",e._sentryDebugIdIdentifier="sentry-dbid-2e36b0bf-9188-40aa-9cde-4d94d4fb8a69")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},mi={formTitle:new qt("h6Regular","h5Regular")},sa=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:ne,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:G,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:he,deleteReimbursement:nt,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:ge,initialOpenThreadRequest:z})=>{const d=Mt(),st=Rt().analytics,o=Pt(),be=Bt(),[dt,A]=p.useState(!1),[Y,q]=p.useState(!1),[ct,J]=p.useState(!1),[Z,Q]=p.useState("approved"),N=p.useRef(null),[j,X]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const n=we.current[l];n!=null&&setTimeout(()=>ci(n,N.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&G()},[e,G]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const n=l.substring(1);xe(n)}},[]);const ut=()=>{G()};Nt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{A(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ye?.():j.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(o),M=s.largeLabelWidth.value(o),fe=et.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:$e}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:ve}=fe,{reimbursementDetail:i,bulkActions:_}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,W=e.remiDetails?.reimbursementInfo.billStatus,E=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",ft=Te?O:W?.code=="approved"&&E?.code?E:W,$=pi(e.remiDetails),R=W?.code=="approved"&&E?.code?E:W,F=e.remiDetails?.isDeleted??!1,Se=e.remiDetails?.amount,je=e.remiDetails?.amount.amount??0,Ie=()=>{X({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),A(!0)},$t=()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},vt=()=>{X({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},De=()=>{rt()},Tt={onOkClick:l=>{J(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{J(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(Q("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Ie()):(Q("rejected"),J(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?oi(ni(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Dt=e.remiDetails?.lines?.some(l=>{const n=l.lineDetail;return n?.account?.isDeleted===!0&&n?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!Dt,Ct=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=ft?.code,kt=di(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&kt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{z?.threadId!=null&&z?.companyId!=null&&z?.entityType!=null&&K(z)},[z,K]);const{threads:P,isLoading:D}=_t({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>P.filter(l=>l.resolved===!1&&!l.id.includes(Ot)),[P]).length,At=p.useCallback((l,n)=>{U(n),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&P.length>0&&!D&&(U(ae.threadId),K(null))},[ae,P,D,U,K]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},B=li(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Oi,{windowSize:o,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:j.title}),descriptionComponent:t.jsx(Me,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Mi,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ri,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:be.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ki,{}):null,t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??$e,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Bi,{children:[u?t.jsxs(Ni,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),L(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Et(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Wt,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(_i,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(Pi,{})})]}),scrollableContent:N,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Hi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(qe,{windowSize:o,children:t.jsx(Je,{windowsSize:o,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&$!=null?t.jsx(He,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,R?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ft,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ye,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,S.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ki,{windowSize:o,children:t.jsx(Ui,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(si,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:ne,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Fi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qe,{windowSize:o,children:[t.jsx(Je,{windowsSize:o,children:ee}),me&&$!=null?t.jsx(He,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(Ye,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(wi,{windowSize:o,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[o!=="small"?t.jsx(bi,{children:t.jsx(xi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(fi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(yi,{children:[i.thisExpenseReview," ",t.jsx(gi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return xe(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:M},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:M},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Ei,{windowSize:o,children:[t.jsxs(Ze,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),S.length===1&&t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ge,{}),t.jsxs(ui,{windowSize:o,children:[t.jsx(Wi,{windowSize:o,children:t.jsxs(Ze,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(hi,{windowSize:o,children:t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Vi,{})]}),Te||F===!0?null:t.jsxs(Ai,{children:[o!=="small"?t.jsx(Ge,{}):null,t.jsx(vi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),Y===!0&&q(!1)},children:t.jsx(Kt,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Z==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Z==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:s.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Z==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:s.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx($i,{children:t.jsxs(zi,{windowSize:o,children:[!B&&Y?t.jsx(Ut,{onClickAway:()=>q(!1),children:t.jsxs(Ci,{windowSize:o,children:[ie!=="processing"?t.jsx(oe,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(oe,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(oe,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Di,{windowSize:o,children:[!B&&Ce?t.jsx(Ii,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(ji,{})}):null,!B&&Ct===!0?t.jsx(Si,{windowSize:o,showEditIcon:Ce,children:t.jsx(Ti,{onClick:()=>q(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ri,{id:h,children:t.jsx(Vt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:P,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??$e,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(l,n)=>At(l,n),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:be.colors.background}})}):null]})},pi=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},ui=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
@@ -6,7 +6,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
6
6
|
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
7
7
|
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
8
8
|
margin-bottom: ${e=>s.activityBottomMargin.valuePx(e.windowSize)};
|
|
9
|
-
`,yi=r(
|
|
9
|
+
`,yi=r(Zt)`
|
|
10
10
|
padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
|
|
11
11
|
background-color: ${H.alertLight};
|
|
12
12
|
color: ${H.brandColorGoldDark};
|
|
@@ -73,7 +73,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
73
73
|
&:hover {
|
|
74
74
|
color: ${e=>e.theme.colors.primary};
|
|
75
75
|
}
|
|
76
|
-
`,
|
|
76
|
+
`,Si=r.div`
|
|
77
77
|
display: flex;
|
|
78
78
|
margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:a.sp5};
|
|
79
79
|
cursor: pointer;
|
|
@@ -81,7 +81,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
81
81
|
&:hover {
|
|
82
82
|
color: ${e=>e.theme.colors.primary};
|
|
83
83
|
}
|
|
84
|
-
`,
|
|
84
|
+
`,ji=r(ei)`
|
|
85
85
|
cursor: pointer;
|
|
86
86
|
color: ${e=>e.theme.colors.hero};
|
|
87
87
|
width: ${a.sp5};
|
|
@@ -147,7 +147,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
147
147
|
right: ${e=>s.actionsContainerRight.valuePx(e.windowSize)};
|
|
148
148
|
height: 100%;
|
|
149
149
|
display: flex;
|
|
150
|
-
`,oe=r(
|
|
150
|
+
`,oe=r(Xt)`
|
|
151
151
|
display: flex;
|
|
152
152
|
align-items: center;
|
|
153
153
|
width: 100%;
|
|
@@ -272,7 +272,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
272
272
|
flex-direction: column;
|
|
273
273
|
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
274
274
|
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
275
|
-
`,
|
|
275
|
+
`,Ze=r.div`
|
|
276
276
|
padding: ${a.sp3};
|
|
277
277
|
display: flex;
|
|
278
278
|
align-items: center;
|
|
@@ -283,7 +283,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
283
283
|
color: ${e=>e.theme.colors.hero};
|
|
284
284
|
margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
|
|
285
285
|
justify-content: space-between;
|
|
286
|
-
`,
|
|
286
|
+
`,Qe=r(Qt)`
|
|
287
287
|
display: flex;
|
|
288
288
|
width: 176px;
|
|
289
289
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -291,7 +291,7 @@ import{aw as Mt,a8 as Rt,J as Pt,e as Bt,ce as Nt,y as m,F as et,gi as Lt,gk as
|
|
|
291
291
|
display: flex;
|
|
292
292
|
flex-direction: column;
|
|
293
293
|
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
294
|
-
`,
|
|
294
|
+
`,Xe=r.div`
|
|
295
295
|
display: flex;
|
|
296
296
|
width: 100%;
|
|
297
297
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|