@zeniai/web-cockpit-ui 1.15.55-dev → 1.15.56-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-C98HijMx-DIRaMQaw.js → ACHDetailsPage-CfGEDzSb-BGyn6Hh2.js} +1 -1
- package/dist/assets/{AIPerformancePage-DvIqqfUW-B5ddcrLl.js → AIPerformancePage-BWhcStZE-CeYODf8q.js} +29 -29
- package/dist/assets/AccountInfoPage-D6sv-ieC-B4PaH9ex.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Bjoy7kSM-kNnrLnJI.js → AccountInfoPageContent-XBo-oJV1-DWd-5Z8N.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-DisEYsUS-zfxK1-20.js → AccountLockedInfoModal-DTEWzR6U-CswnB2Ho.js} +10 -10
- package/dist/assets/{AccountReconDetailsDrawerPage-3lMeeEsP-CBHWuQnb.js → AccountReconDetailsDrawerPage-DwzrCq7I-D9C1tnWs.js} +20 -20
- package/dist/assets/AccountRow-BsjoBGWz-XKpYWJFn.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-94l6cw3--BqluiECW.js → AccountsPromoCardStack-D-iNswM8-BCWgVD2M.js} +18 -18
- package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-9AcgaTTK.js +6 -0
- package/dist/assets/{AddToWalletPage-BFRK3Cz9--H2684Y8.js → AddToWalletPage-DX8xInYJ-DCTNQyem.js} +12 -12
- package/dist/assets/{AgingReportsPage-B4XD0NxM-C9hPpgrJ.js → AgingReportsPage-CXj1Tifk-Cx88sSbv.js} +16 -16
- package/dist/assets/{AllUserItems-fjv8Ov4s-D0Yn7Cw3.js → AllUserItems-DU78kWqE-BO6rFyuD.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-D5ATi6Rg-c01emJHv.js → ApAgingDetailPage-BV5m2F3a-BSgBSoy0.js} +3 -3
- package/dist/assets/AppBasePage-1U1M1WD9-CXysaPqS.js +71 -0
- package/dist/assets/AppDrawerContent-ilzYI49f-BI7w7tno.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-D5sZOOO8.js +47 -0
- package/dist/assets/{ArAgingChart-CW-BCqsC-D14dt6qa.js → ArAgingChart-B0wn2vDP-ClJ7YwbK.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-C4wzs4jI-BEFfnJg4.js → ArAgingDetailPage-C-agUa8y-C_TJ2L21.js} +2 -2
- package/dist/assets/{AttachmentView-NLynK_4B-BnApX40v.js → AttachmentView-9Vrv319r-czchKUV5.js} +9 -9
- package/dist/assets/{BankAccountSection-BvIYx2co-BamiC5Ie.js → BankAccountSection-Bv9Iogxn-gY4dwkU_.js} +13 -13
- package/dist/assets/{BankAccountWarningSection-CqyeSTWe-C-YFtMtw.js → BankAccountWarningSection-DAxaKIg3-SHVqFPrV.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-C8lTCBWz-C-LvS4NN.js → BankConnectionsSettingsPage-ZUWw604G-5JFfnAUm.js} +29 -29
- package/dist/assets/BillDetailPage-Cf4PYoYQ-DJR4Ml4e.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-CKtwE5ro-CvaoHMcE.js → BillPayApprovalRuleDetailPage-BfJ2F03Y-BSqfEElp.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CAVAguR4-C8XO5DYA.js → BillPayApprovalRulesPage-DQ0MRCLa-C_GPmDyJ.js} +13 -13
- package/dist/assets/{BillPayPromoPage-BhXeOZWk-DQanpXhA.js → BillPayPromoPage-DdxRC1p4-C6FSHUuV.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-DBeeMB1d-CPdIKBLb.js → BillPaySetUpPage-DBFcp1Yq-B1CZUTYe.js} +2 -2
- package/dist/assets/{BillingSettingsPage-C34kg2JK-d6AbOc60.js → BillingSettingsPage-DsMjw0qG-Cq1aHxZN.js} +8 -8
- package/dist/assets/BillsBulkReviewDrawerPage-HXDlOpw3-BmcSBj3u.js +1 -0
- package/dist/assets/{BoxItem-F9HlKmjN-xqfWS_hX.js → BoxItem-DaxLyqVe-BDS_i-Ew.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-YOt_PXhl-CeYXkkiq.js → BusinessVerificationPage-BG1rOYOk-DZAei-pQ.js} +13 -13
- package/dist/assets/{CardNumberSubText-BYBZ7ZM1-CYschYSJ.js → CardNumberSubText-bkAPzhoK-D68hvJdl.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BvWf2TDN-CJvt8fwC.js → CashbackDetailPage-CpVmCjts-C2xLm-90.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-Bx09SgSk-Mc5U0L1M.js → ChargeCardDetailPage-u6hMCosx-DzEhI6yb.js} +1 -1
- package/dist/assets/{ChargeCardListPage-BM0D7PCI-2RCeRUIi.js → ChargeCardListPage-D_7gwi3K-Bgz8fKhJ.js} +28 -28
- package/dist/assets/{ChargeCardListTable-xoYHcNTF-CDUEEXq9.js → ChargeCardListTable-DJmStpnO-DehJbT-m.js} +58 -58
- package/dist/assets/{ChargeCardPaymentHistoryPage-CLA5UpG2-BjxNitum.js → ChargeCardPaymentHistoryPage-BRGJ-5y3-gSyJhC6K.js} +35 -35
- package/dist/assets/ChargeCardPromoPage-Dx4Lni50-C133Kvxd.js +222 -0
- package/dist/assets/ChargeCardSetupPage-CRDfRFf1-DUoEu2We.js +36 -0
- package/dist/assets/ChargeCardStatementsPage-l4X9T8zd-DdxKgTDl.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-BTCZ6Ihv-Bwg08fJC.js → CheckDepositDrawerPage-DR6LIuPw-BXSM12h-.js} +16 -16
- package/dist/assets/CollapsableReportTable-4bJMcvHV-DJSNBbx8.js +2844 -0
- package/dist/assets/{CompanyOfficerDetailsSection-7wea0Ige-DaIiZvTQ.js → CompanyOfficerDetailsSection-DoGF7khv-CBglpYSM.js} +27 -27
- package/dist/assets/{CompanyPassportCard-BiW2qW0Q-DbzQ0mZs.js → CompanyPassportCard-BHFj9sK6-DN_eKmT3.js} +8 -8
- package/dist/assets/{CompanyPassportPage-cUf8LJjO-BtNthnMy.js → CompanyPassportPage-CH-dqy03-CkFzpRAr.js} +16 -16
- package/dist/assets/{CompleteProfile-zUf6xhpN-Djjy4qMc.js → CompleteProfile-Ck4Baf4z-Bb8vk_It.js} +2 -2
- package/dist/assets/ConfettiBurst-CVLXMknu-C5dtBbFy.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D303BiU-.js → ConstrainedInnerElement-BeIpAPjB-C1ngGNQp.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ByvOufGv-BnP_tF_w.js → CreateOrEditVendorPage-D-0WG9pO-B3wRKHPt.js} +22 -22
- package/dist/assets/{CreditCardPaymentDrawerPage-bvQF_Dnd-DNvTFSk3.js → CreditCardPaymentDrawerPage-B7voVDUs-D92b0pbw.js} +21 -21
- package/dist/assets/CurrencySelectField-DrL1sFLq-CxbEbHLA.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-Bnqb4OwN-BkOYiVjl.js → CustomerOnboardingActivationPage-D42sb2F9-DOoQENIp.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-B2Rv0uXK.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js → CustomerOnboardingDetailPageSkeleton-n6GMQZP5-VclSN0ci.js} +16 -16
- package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-kzaO9ZVJ.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-Gs1nLE_K-C1loGeIV.js → CustomerOnboardingPage-BPX2w8Fg-Co3rO7kz.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-BzXjhPEn-CGUMAsr4.js → CustomerOnboardingProductSuitePage-CZXqXXFj-B9tCLCph.js} +10 -10
- package/dist/assets/{Dashboard-CB4FHIWL-DH8-1h66.js → Dashboard-Q5gt63wS-D-NM1jxJ.js} +1 -1
- package/dist/assets/{DashboardReportPage-CJzzOcFM-CXGGECPa.js → DashboardReportPage-DJsc3Nx7-CPNsUz_i.js} +40 -40
- package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA-DppqzS9d.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DI2iFIOE-D78pehet.js → DepositAccTransactionItem-DB7Oz4GA-Bl1jaHEd.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-Bg5Lhhh_.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-6Ja_raS1-BtmRTZLv.js → DomesticWireDetailsPage-Dptv-ebx-Dh9S4ky1.js} +1 -1
- package/dist/assets/DownloadOverlay-B61S0t5X-D_O4PIgS.js +439 -0
- package/dist/assets/{DrawerPage-CTtzGlId-R2r7ok8_.js → DrawerPage-DtJQE-UA-o7PPfoO7.js} +9 -9
- package/dist/assets/EditPeoplePage-Dd1g1r37-D5NUne-F.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-DF3LKIJu.js +865 -0
- package/dist/assets/EntityDetailPage-q_kzXlBV-CelG1soQ.js +18 -0
- package/dist/assets/{EntitySummarySection-CgIfSDBl-bARhT4wA.js → EntitySummarySection-BiIPehv4-DbMdDRCI.js} +19 -19
- package/dist/assets/{ExpenseAutomationOverviewPage-BOMURB5R-BK4Piycw.js → ExpenseAutomationOverviewPage-Bo5Eu3Ju-BJhkARvq.js} +48 -48
- package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DCPvuANk.js +1703 -0
- package/dist/assets/{ExpressPayPage-Bq7VwGIy-CuN_JG1U.js → ExpressPayPage-D18sY5VJ-B6oTblqu.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-DzmWWp4h-DNDXggJB.js → FeaturePreviewPage-De2_m2xD-DVzcgjum.js} +2 -2
- package/dist/assets/{FollowStepsSection-DF7igv9E-BXwQRKtK.js → FollowStepsSection-D5ln-mii-C0ucHGsw.js} +24 -24
- package/dist/assets/GlobalReviewListPage-Ch51_Flw-D-uO5wy3.js +291 -0
- package/dist/assets/{InformationCardStack-DNqDhetv-CczzYoVw.js → InformationCardStack-B4z6RgwP-DRH43WQx.js} +5 -5
- package/dist/assets/{InsightsCardStack-cCxIT64L-CUFk6OxI.js → InsightsCardStack-CwBBEkZ7-DJcXHozK.js} +12 -12
- package/dist/assets/InsightsSection-CQD6KXLg-Dl2NV9MP.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-DBiomD_q-DtZiPPV1.js +57 -0
- package/dist/assets/{InternationalWireSwiftDetailsPage-53hMX6yJ-BesU5wqw.js → InternationalWireSwiftDetailsPage-h4bchKo3-DHLm8H4k.js} +25 -25
- package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-Do-KUK3J.js +65 -0
- package/dist/assets/{InviteFormPage-CGxv4wps-5AP-y1Ow.js → InviteFormPage-Dgb-LZKf-ilCutOVc.js} +21 -21
- package/dist/assets/{InvitePageListView-NbYGP_zc-CH2LQelV.js → InvitePageListView-DC-Dp4Zc-D5DpcvE2.js} +47 -47
- package/dist/assets/InvitePeoplePage-CjJOyA8E-7gXroqh1.js +12 -0
- package/dist/assets/InvoiceUploadSection-BJ_Sbytw-C6MkqA6t.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BRRHAcZh-D4kemR48.js → IssueChargeCardPage-DiUKL-rT-CiI_gBye.js} +37 -37
- package/dist/assets/{LabeledAddressValue-BqBWtO4T-C7fJuTnk.js → LabeledAddressValue-DYTDoPER-BLmB8hnw.js} +1 -1
- package/dist/assets/LabeledAddressValueField-DVNSaKBc-CR8m9IVs.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CZlavM3Q-CNMSOa5n.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-C0QF9TCM-CB5E5Naj.js → LabeledCountryMultiSelectField-BM1jU3hl-_1uQcelw.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js → LabeledCreatableSingleSelectField-BkI0vyax-Dhqs7qd2.js} +6 -6
- package/dist/assets/LabeledDocumentField-B7TETIva-DaOKO-m5.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B9iE6D9J.js +59 -0
- package/dist/assets/{LabeledText-DTF15PO8-z7lFVMYz.js → LabeledText-BaYp8lyd-CYkwAQsC.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-BT9veYVH.js → LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-V-ruydL6.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-DPNR8el--C4H8qzAo.js → LabeledZeniRolesDropDownField-Bgf26ek0-BDX-8gLb.js} +30 -30
- package/dist/assets/LinkJETransactionPage-ByQktBdK-C5XqLvWq.js +98 -0
- package/dist/assets/{LockCardPage-VSlPzmAF-CYZTWdC-.js → LockCardPage-M7Pcx6mB-BwvNlh-G.js} +14 -14
- package/dist/assets/{LowBalancePopup-DCwoGS48-hmCGAo7a.js → LowBalancePopup-DTwIs75G-MssgctsT.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-T6xIrHkU.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-Cj3VBYpA.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DeQZ6JNw.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Gwai5BfM.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D1tjQ-VI-B06aRvZu.js → MagicLinkTitleSection-B985JuE8-Dn-qMxNJ.js} +5 -5
- package/dist/assets/MailingDetailsSection-detuRa7l-BJwGs4Yy.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CtYcGNjJ-BqSq6z3Z.js → MyBankConnectionsSettingsPage-2x0kDozt-ClPVN4BG.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-BVxobwmr.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BQx9m8r--De3mUOMd.js +85 -0
- package/dist/assets/NavBarWithPicker-BXsxMlBP-DTPzeQwG.js +30 -0
- package/dist/assets/{NavigationArrow-DJQDYzJE-BC_4c0HP.js → NavigationArrow-BpKepWMa-Bn4FAyCA.js} +7 -7
- package/dist/assets/NavigationDots-CxV99fd--CAgGp2GQ.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-B18toasi-BU1JGIOb.js → NewGlobalMerchantPage-rAYrEwup-HzusEOWs.js} +36 -36
- package/dist/assets/{NoDataChart-BO4tisNf-D8owAUYk.js → NoDataChart-SlgxXIjJ-Bi3c4Olw.js} +3 -3
- package/dist/assets/{NoDataTable-BEVgI9LO-CYWfmTuA.js → NoDataTable-CePwfuWH-BOYJp_LB.js} +1 -1
- package/dist/assets/NotFoundPage-CdmLYWbu-BBjH4PMR.js +46 -0
- package/dist/assets/NotificationSettingsPage-KThnHYOw-D0iY_voD.js +163 -0
- package/dist/assets/NotificationsListConfig-6ay7Y8AS-8Qyako_J.js +1 -0
- package/dist/assets/NotificationsPage-BmNwL81h-yaYUcRR5.js +685 -0
- package/dist/assets/OpExByVendorPage-DQPUJmPx-m9-ozd1L.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-b_Vxf1PH.js → OverlayContainerPage-D4QU0p4o-BPZC_JkQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Bu9ojuKa-CT86cSNx.js → PandLWithForecastPage-C6FwSybq-CjLuy8We.js} +14 -14
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js → PaymentAccountSetupBillingAddressSection-DFCQGlZ--D6Xxd3zY.js} +16 -16
- package/dist/assets/PeoplePage-Df6QdrX5-CNBpk9Ed.js +675 -0
- package/dist/assets/{Preview-CJ42XXYk.js → Preview-Wpvi69S8.js} +1 -1
- package/dist/assets/{ProductsCarousel-Bp3BA6jn-Dq3g70sD.js → ProductsCarousel-Bq0uDCW7-BchAY2K0.js} +9 -9
- package/dist/assets/{PromoBaseCards-BJngCLC1-D1D3BuDF.js → PromoBaseCards-Bs1TPBeA-C7sFMDVT.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DkBwI8ar-CHNOORcZ.js → QBOConnectionDialog-CGH6M1BO-BTEhQpDo.js} +5 -5
- package/dist/assets/QBOSetupSection-BsFbgysY-CxagA6VQ.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Q5ynG2vJ-D1YIG_oC.js → ReimbursementApprovalRuleDetailPage-CUf8BGfB-21mnbTVV.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-bXsxoJ-h--lf8D9ac.js → ReimbursementApprovalRulesPage-SKRjcth4-C1ni0caN.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-BzqZlk2B-BW3Uw4EQ.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-Db-_ODCp-CvQz3EGd.js → ReimbursementPromoPage-X1o2D5fz-DfVtcv-q.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-Hs-W_q-P-BdYd6UC3.js → ReimbursementSetUpPage-DfAhrvlw-x_fpcuRs.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-CiWkjF6g.js +1 -0
- package/dist/assets/{ReloadCard-CqhIfBOB-BY0vX67l.js → ReloadCard-DvIzOHkJ-SNPzaiS7.js} +6 -6
- package/dist/assets/ReportTableViewSelector-DikZuwk8-JNUnKB0r.js +150 -0
- package/dist/assets/ReportsPage-CgwJh87H-BukY4LEY.js +121 -0
- package/dist/assets/{RevenueChart-SOIqJqC1-C9wQDXwd.js → RevenueChart-VvZ0y1TP-qC_rkSgA.js} +19 -19
- package/dist/assets/{ReviewDetailsPage-DJtR6MAV-YpQ78vWd.js → ReviewDetailsPage-DC5Pr6t5-DriGh_oI.js} +20 -20
- package/dist/assets/{ReviewOverlay-BAkkDswR-CSwNTB3g.js → ReviewOverlay-BidXwnVw-CvEYNCbr.js} +23 -23
- package/dist/assets/{RoleWithToolTip-LhCV3AOg-BfEF5V_b.js → RoleWithToolTip-CUpngYu7-DADn2aws.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSEAGNCA-CWkK2E_X.js → ScheduleDetailsFixedAssetsPage-P4en048K-D2xUyeCX.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DuQdRk-6-YLy7Z141.js → ScheduleDetailsPage-Bm8IOCpE-BZajG7cQ.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-Cz46lcuv-DwCS-vmM.js +324 -0
- package/dist/assets/{ScreenRoutes-D4V6kIC9.js → ScreenRoutes-Cdqgwe4G.js} +31 -31
- package/dist/assets/{SetUpAccountSection-Bx30O5Ml-WH4usOA9.js → SetUpAccountSection-DBuoMbxP-u5yk_3Is.js} +17 -17
- package/dist/assets/SignIn-ogxsR98p-BbKEcQBe.js +491 -0
- package/dist/assets/SignInScreen-DP-m_Sk_.js +1 -0
- package/dist/assets/SpendManagementListViewPage-DP6uWx2T-BVgklVNc.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-Caux80RI-BTh48LKq.js → SpendManagementPerTabPage-DSXg_agw-BBbTIsSz.js} +108 -108
- package/dist/assets/{SpendManagementSection-Z9MFiKoI-CQFuO0wV.js → SpendManagementSection-C-EIQv7m-QyOD3ve3.js} +25 -25
- package/dist/assets/StatementItem-BSVnuQ3e-Bes_h96W.js +31 -0
- package/dist/assets/StatementsPage-CgOC5W_I-Df-cPgLx.js +58 -0
- package/dist/assets/{StatusSwitcher-C3WR2o9U-C0FM9NGp.js → StatusSwitcher-BnSFSpJ0-DnH48_9z.js} +5 -5
- package/dist/assets/SubTabSwitcher-VHMqXmGa-DxiEBs88.js +58 -0
- package/dist/assets/SummaryCard-BTnU1LYd-5Er4BGPP.js +1 -0
- package/dist/assets/TaskManagementPage-CeQkRFbn-JSqoMa4T.js +508 -0
- package/dist/assets/TimeRangeSwitcher-BifUYnpe-C0S2hPAm.js +64 -0
- package/dist/assets/TimeframeSwitcher-9X-6amWo-BHsPnDZX.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-BBTlDoLy.js +31 -0
- package/dist/assets/{TopExCard-CcmlvV2E-DQ9im9Ri.js → TopExCard-Bc812PB9-Cgf0i8AY.js} +6 -6
- package/dist/assets/{TopExDetailPage-oCk5X1ga-b7oteKxs.js → TopExDetailPage-19FwjeX_-Udhi2GOz.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-nNEnRuxA-DgSPVh85.js → TransactionActivityLogPage-7Lfwq_IY-CFdWRG9m.js} +20 -20
- package/dist/assets/TransactionDetailPage-C7Tv82YB-m9WgdlMS.js +903 -0
- package/dist/assets/TransactionList-CSZxHqad-CHJszH5C.js +153 -0
- package/dist/assets/{TransactionListBig-C_K_kh-Q-CF_jEt3p.js → TransactionListBig-gSPdjYSs-Dr__rrF5.js} +19 -19
- package/dist/assets/TransactionListPage-9ezEzYvU-Cm8yXVfl.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-B1BhBjXd-B68h1iEJ.js → TransactionVendorDetailPage-rcOVwgxy-Ow41gTpA.js} +4 -4
- package/dist/assets/{TransferDrawerPage-DlH8zdQ6-4JQLTKYp.js → TransferDrawerPage-IeuD-8y4-BBbQ4FZg.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-bmv1c3nO-m6l1VttQ.js +708 -0
- package/dist/assets/{TreasuryPromoPage-vnYtT9wt-BT7vg2wI.js → TreasuryPromoPage-KuuzWIYO-BDjVQ4WN.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-DF66dQfj-YdehmP5K.js → TreasuryStatementsPage-BAfN8DAx-CZoNN9-F.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DyHfEHRJ-Dk_i3mPQ.js → TreasuryTaxLetterPage-BRDygaXn-BgocidOv.js} +1 -1
- package/dist/assets/{TrendChart-DWFAkD1M-rLrsd-Rc.js → TrendChart-BJqnjEu6-BacSdVAX.js} +4 -4
- package/dist/assets/TrendWithTransactions-2pBj6qUR-T4OcbS5_.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-Cpz9ytBO-BvYunpjj.js → UncategorizedAccountsMappingPage-DlxWCGZg-CdSrYHNM.js} +23 -23
- package/dist/assets/{UnitIntegrationPage-DUt0EgH9-CrhKA0X8.js → UnitIntegrationPage-U85XCs_D-Bx8aLPRf.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-fJ0d5z1N.js +38 -0
- package/dist/assets/{Vendor2FAPopup-31AZ3ofQ-ByfeqFMV.js → Vendor2FAPopup-DLU7H22p-DEGIw5UY.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-B-Zle7l9-BVROIXeh.js +1 -0
- package/dist/assets/VendorDetailPage-prrUwTR_-BD-GdLo7.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-DTJS7RDE.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DEm4nD4L-C8GKsU9A.js → VendorFiling1099EditablePage-DIvLStyg-CYbK6ev_.js} +17 -17
- package/dist/assets/VendorFirstReviewPage-BJKFcgOq-CSmnGqyp.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-B3-s03c8-D6bHR05f.js → VendorInternationalWireDetailsPage-Ctwg_CTY-CK5moP88.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-NLsA0vGl.js +1 -0
- package/dist/assets/{VendorsAccountsSection-2RQUw482-DQWkHxTh.js → VendorsAccountsSection-Bj840XXA-zylNCv6a.js} +2 -2
- package/dist/assets/{VerifyDevice-DrHOxZ08-DicK7t3o.js → VerifyDevice-D5ce0rEk-ByWH1Q6_.js} +2 -2
- package/dist/assets/{VideoPlayer-D7qtpMP6-DY2DpB0L.js → VideoPlayer-XhlPd-AK-BJf7SfgL.js} +2 -2
- package/dist/assets/{VideoPopup-mcH3S96f-CSNVNU5W.js → VideoPopup-8ebccUQt-CoWKaT2k.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-BuSNnbS0-BmlAm--l.js → WarningsDrawerPage-CXHMQPmw-V3zdlF1l.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-DeS7bxGu-B2MkmZWf.js → ZeniAccountDetailPage-BCEccrGo-CidPyi4i.js} +40 -40
- package/dist/assets/{ZeniAccountListViewPage-CE9vKT6d-C_0wjRBB.js → ZeniAccountListViewPage-f_9PSaYv-D_Ll-dy-.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-H8pK0EkG.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CS4DCdI2-B9MH4_YO.js → ZeniAccountPromoPage-DGttDJGp-F0XlSRMz.js} +29 -29
- package/dist/assets/{ZeniAccountSetupPage-B_TE40pq-Dxf2Uc2C.js → ZeniAccountSetupPage-5hc6Dfls-Csndezul.js} +6 -6
- package/dist/assets/ZeniCopyright-Ct2Gx1TW-CQmnzv8u.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-DpxLl7Ue-DPRxI6VI.js → ZeniTransferAmountSlider-CtSVUxFX-BrJYB_Am.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-C6LAT582.js → add-to-wallet-DgdBD8_G-vslLOG9x.js} +1 -1
- package/dist/assets/{analytics-BBPxpXjb.js → analytics-DRVsD-is.js} +1 -1
- package/dist/assets/{analyticsHelper-huzmVdCu-BJHBr6dz.js → analyticsHelper-BZApS5V7-B7rpJkUm.js} +1 -1
- package/dist/assets/{analyticsHelper-Bp3QyGtE.js → analyticsHelper-BZQExm6b.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CRAkJ5eu.js → arrow-south-east-round-PEovUgvH-CRc8KuMa.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BkJsqyVy.js → auto-transfer-rule-mbafm5D3-D9R5lS7d.js} +1 -1
- package/dist/assets/chartTypes-DcNGo46a-CqMbbGUL.js +1 -0
- package/dist/assets/commonDimensions-C5V1GwCs-CraAZnb_.js +1 -0
- package/dist/assets/{commonTypes-BqXyygFE-CnF1i8TV.js → commonTypes-CGdrM7wg-Dv-NGJZV.js} +1 -1
- package/dist/assets/{constants-CPFJyknY.js → constants-DTOPkqCr.js} +1 -1
- package/dist/assets/{core-CddRDKK5.js → core-D2KcXy_y.js} +2 -2
- package/dist/assets/{dash.all.min-BPpCNIar.js → dash.all.min-BAllcYm-.js} +1 -1
- package/dist/assets/detailCommon-DEXTnYE7-CjqtKJhq.js +38 -0
- package/dist/assets/downloadPdf-Cd1RR1sH-Cvu_thw4.js +1 -0
- package/dist/assets/{empty-OXNqopUa.js → empty-BTyrR5qF.js} +1 -1
- package/dist/assets/{empty-DnP56ICM.js → empty-wMN4Rfol.js} +1 -1
- package/dist/assets/epic-CLSKdGkp.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DgonOPJx.js → gift-box-Cmt9OgIZ-DP-cJLna.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CyoR0rrV.js → graphic-no-data-l-DU4J8fDt-D-Fo2zgX.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D4pGKQmg.js → graphic-no-data-net-burn-l-CzmycA0m-D8edm3HW.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Bi2WM_Eh.js → handshake-BPg58FML-DJLp3b1-.js} +1 -1
- package/dist/assets/{helper-C6wE3mOs-ygxajmnJ.js → helper-kGYJRbxq-D4mxVura.js} +3 -3
- package/dist/assets/{index-DeqxpWOe.js → index-BHqxLcjt.js} +1 -1
- package/dist/assets/{index-Dw6Tuhsa.js → index-CBio2FUy.js} +1 -1
- package/dist/assets/{index-hMgEheel.js → index-Cpk1UVH8.js} +1 -1
- package/dist/assets/{index-D2KmAsTj.js → index-DH51hTsJ.js} +1 -1
- package/dist/assets/{index-DNn6xiN7.js → index-DJK9rXmh.js} +1 -1
- package/dist/assets/{index-GvAktRSv.js → index-aDDisho3.js} +1 -1
- package/dist/assets/{index-DceSoL0X.js → index-sotzB3Mx.js} +4796 -4800
- package/dist/assets/{lexical-CRAxrDKi.js → lexical-Dj2KAtCD.js} +1 -1
- package/dist/assets/{liveblocks-C3olwiFW.js → liveblocks-DezulwOD.js} +1 -1
- package/dist/assets/{lottie-DHSNlrty.js → lottie-D7_uSTtS.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-QGHkauXd-qPE55nra.js → mapLoadingInProgressToTreeNode-BXVk4dIp-BuiNw2vq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-IAuTtuif-w6n_R73J.js → mapSectionWithAcOnlyToTreeNode-oqbfssc7-BaqyGbt-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BaPbOaZb.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-BJk8DWTQ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-BApfBpwP.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-D_Czi_I6.js +1 -0
- package/dist/assets/{mui-B9ZZxqGv.js → mui-CWqpJBOf.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BAeGzYhC.js → page-detail-CWX5S47F-B2tDMGkf.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-HFnGkMgT.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-BTgddVFO.js → radio-default-CiSgisfh-0Atq9vXH.js} +1 -1
- package/dist/assets/{react-C-YPBd7x.js → react-4PtfPhor.js} +3 -3
- package/dist/assets/{react-dF0Ep-lR.js → react-Bhq0KCUo.js} +1 -1
- package/dist/assets/{react-ClcmWYZP.js → react-BxwoRjBq.js} +1 -1
- package/dist/assets/{react-BmFTzqBR.js → react-By_pdhPa.js} +1 -1
- package/dist/assets/{react-UG1Schov.js → react-CPTbErTv.js} +1 -1
- package/dist/assets/{react-BNxsrY_J.js → react-CSZP1bUd.js} +1 -1
- package/dist/assets/{react-B6URfXSC.js → react-CjLH0WcG.js} +1 -1
- package/dist/assets/{react-DPaJOqrg.js → react-k1MNcgFc.js} +2 -2
- package/dist/assets/{recharts-Df6P8LTk.js → recharts-H7gIkfSf.js} +20 -20
- package/dist/assets/{sentry-DSwgNZrO.js → sentry-2bqpslFP.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DfJyH00V.js → shield-DOlUxcFf-BxoXXGpt.js} +1 -1
- package/dist/assets/toCOABalancesWithID-Ckyq_c20-DzmyGaV3.js +1 -0
- package/dist/assets/toChartData-N0pkfSXY-BNdgZ-va.js +1 -0
- package/dist/assets/{uploadAttachment-4DeHQ4oS-Bw7xJmib.js → uploadAttachment-CPTMCWWz-BHUe9KYn.js} +33 -33
- package/dist/assets/uploadReceipts-Dge0cNF1-CAzr24hn.js +1 -0
- package/dist/assets/{url-CnM3nym8.js → url-BnPWfZoh.js} +1 -1
- package/dist/assets/{url-BRZkzhoD.js → url-FABckJBr.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgMcVZoL.js → useLongPress-GCK2COYQ-isRXDDp5.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DuwzCwM7.js → usp-line-BBd1wKwW-C5jzPmNs.js} +1 -1
- package/dist/assets/{utils-bhjg_GlW.js → utils-Bfvb8rvn.js} +1 -1
- package/dist/assets/zeni-epic-state-DM-Ak8Gv.js +151 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DiLfCEmp-DO4D-Akp.js +0 -18
- package/dist/assets/AccountRow-DHebunB5-DIYXQfGx.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DsW1gOAp-MwS07L6u.js +0 -6
- package/dist/assets/AppBasePage-DEEwGCyl-CJQRcs0Q.js +0 -71
- package/dist/assets/AppDrawerContent-BV68KVaK-DsuGSV0L.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-rYk3cmVs-Bk4KgAtZ.js +0 -47
- package/dist/assets/BalancesInsightWithToolTip-e99DEARd-B-O4Ljlc.js +0 -38
- package/dist/assets/BillDetailPage-BHMeLrkf-DfOpYdLq.js +0 -266
- package/dist/assets/BillsBulkReviewDrawerPage-mrZng-LH-CgLPtPGy.js +0 -1
- package/dist/assets/ChargeCardPromoPage-DOLaaGqu-DsV8VR1J.js +0 -222
- package/dist/assets/ChargeCardSetupPage-BU9RvMXY-Dj9m6ZmP.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-DlrKo_GJ-BRM2z9cD.js +0 -60
- package/dist/assets/CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js +0 -2941
- package/dist/assets/ConfettiBurst-JdjFQWmA-B1zUAlBC.js +0 -1
- package/dist/assets/CurrencySelectField-C9U52o8Z-DH90cYim.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-BVEjcOzz-Tgi7ne-F.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BxvN2Q7E-B4zOAzF_.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-uX3QCu5p-mHJahdDI.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-BJ8sXbmG-CMXvXJC1.js +0 -66
- package/dist/assets/DownloadOverlay-uRpW9ezf-jNXoSS7J.js +0 -439
- package/dist/assets/EditPeoplePage-BBrsqLJc-DyJHgyzZ.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D-HncluE-CUs0afyw.js +0 -865
- package/dist/assets/EntityDetailPage-X5BG-4An-7aKQ5Pgw.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BWBWJraB-BcLoThsR.js +0 -3001
- package/dist/assets/GlobalReviewListPage-BXhEk4c0-BVTm7Ky3.js +0 -291
- package/dist/assets/InsightsSection-CbrrmEg4-D4vQ_6my.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-Bw4BviF3-DBDc8BdY.js +0 -57
- package/dist/assets/InternationalWireVerificationPage-CmibXgZP-Dk0__zsA.js +0 -65
- package/dist/assets/InvitePeoplePage-CUIx67tI-BuLgC01P.js +0 -12
- package/dist/assets/InvoiceUploadSection-SDbpMsYc-Dm64G91F.js +0 -140
- package/dist/assets/LabeledAddressValueField-BJl_17nw-BoellP6H.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CTjsNnfG-C03py6Ms.js +0 -16
- package/dist/assets/LabeledDocumentField-De9s68TP-Cri5KHGX.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Dy4sKbHt-B82hYqdR.js +0 -59
- package/dist/assets/LinkJETransactionPage-CflqbXq0-DXYSk1UI.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-BT5yNVLG-ChUzosgW.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BurEs9tm-DDw6dGa9.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CvvBuPtn-Br57d6dJ.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-Bu2WgYDU-C_NzscTh.js +0 -31
- package/dist/assets/MailingDetailsSection-CnGInDUg-DZA0H6jP.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CmSDPRHT-DaaZsLCw.js +0 -6
- package/dist/assets/MyProfileSettingsPage-1FPtn1ea-C9umNstC.js +0 -85
- package/dist/assets/NavBarWithPicker-B04p6hvh-BcKmzJ24.js +0 -30
- package/dist/assets/NavigationDots-C2ylmmp9-BUZFmr7S.js +0 -15
- package/dist/assets/NotFoundPage-zeHT1nzY-c1pIrXd2.js +0 -46
- package/dist/assets/NotificationSettingsPage-ClXPKcgz-Cua8aSKu.js +0 -163
- package/dist/assets/NotificationsListConfig-BQqh5bzx-CFdZZXGY.js +0 -1
- package/dist/assets/NotificationsPage-DsWTVVJb-CubnyrBq.js +0 -685
- package/dist/assets/OpExByVendorPage-BjNi44e6-DOiReLBc.js +0 -100
- package/dist/assets/PeoplePage-B6QMmZoF-D2QgJp28.js +0 -727
- package/dist/assets/QBOSetupSection-CzvyO3jT-MFHCmvJY.js +0 -79
- package/dist/assets/ReimbursementDetailPage-DgzoYr-9-CVLHufeF.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DH5fjpfk-Cr_SYXyq.js +0 -1
- package/dist/assets/ReportTableViewSelector-Cot8YlVL-BAZ1GdJN.js +0 -151
- package/dist/assets/ReportsPage-C_7EbeMB-O7cnUjzc.js +0 -237
- package/dist/assets/ScheduleSequenceTable-CpShO1ua-Dsb6r5kr.js +0 -324
- package/dist/assets/SignIn-BQ4q4gDh-CzzmiuXu.js +0 -491
- package/dist/assets/SignInScreen-DZyTlhxL.js +0 -1
- package/dist/assets/SpendManagementListViewPage-B_sb3Dfh-dqWZldlf.js +0 -134
- package/dist/assets/StatementItem-uBlcLNGa-C68iqcbF.js +0 -31
- package/dist/assets/StatementsPage-wmfWDQrp-DZo3jcor.js +0 -58
- package/dist/assets/SubTabSwitcher-JZ9r8Gvy-CmdEzTPr.js +0 -58
- package/dist/assets/SummaryCard-CzpKllZ9-BcAcs1DO.js +0 -1
- package/dist/assets/TaskManagementPage-DhdfjPpg-Bz7Od6O0.js +0 -508
- package/dist/assets/TimeRangeSwitcher-ejYmSzzU-BGF2Hlek.js +0 -64
- package/dist/assets/TimeframeSwitcher-B1rtSeeP-s5XP-zq2.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-BIe0KGCe-CezpaCXC.js +0 -53
- package/dist/assets/TransactionDetailPage-BXQ5ksBH-YOlZ51Uf.js +0 -903
- package/dist/assets/TransactionList-BWV8LDN--T7E1cgUU.js +0 -153
- package/dist/assets/TransactionListPage-Duf7rjbN-xYqf2OTU.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CwoPszbZ-2TJ6YJVy.js +0 -725
- package/dist/assets/TrendWithTransactions-CmQO_iYM-CWBGfczA.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-CF3ZYMeP-BxK_8i6B.js +0 -38
- package/dist/assets/VendorACHDetailsPage-C4ZWGPWZ-DEvx49Vu.js +0 -1
- package/dist/assets/VendorDetailPage-BaCVjTbp-CB0Ap7RS.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-D7BmBMH9-CzIkSVsO.js +0 -1
- package/dist/assets/VendorFirstReviewPage-EuDBTkMb-5uGJMDW8.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BlAFp-w1-Ch6YFnOD.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DpCkEpt8-DL9r0gov.js +0 -14
- package/dist/assets/ZeniCopyright-CHJRCEOe-C6byioU4.js +0 -1
- package/dist/assets/chartTypes-Bka0fHvt-LIfMG0zS.js +0 -1
- package/dist/assets/commonDimensions-CL818jc5-C1bPf58V.js +0 -1
- package/dist/assets/downloadPdf-DAxy7KUU-_uW3L53O.js +0 -1
- package/dist/assets/epic-B0RIAA2R.js +0 -2
- package/dist/assets/mapSpacerToTreeNode-CsVNH3Xd-QYfiumtX.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCLjlNlu-MJgc9UaW.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DliXXFXC-BfnSqJsP.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-BL7jrrEI.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BJi_hKr3.js +0 -3
- package/dist/assets/toCOABalancesWithID-D45JW5mT-zLfAfLgo.js +0 -1
- package/dist/assets/toChartData-C9xZuC9A-cKZFGcPF.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-COkmL3Gy.js +0 -1
- package/dist/assets/zeni-epic-state-BKQAT3eK.js +0 -151
package/dist/assets/{AgingReportsPage-B4XD0NxM-C9hPpgrJ.js → AgingReportsPage-CXj1Tifk-Cx88sSbv.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as U,J as O,i5 as _e,V as t,i6 as De,bQ as Ne,i7 as ve,bF as Oe,bE as je,y as D,ab as F,ga as ke,O as x,o as N,aV as Pe,u as m,aP as X,ch as Be,ci as $e,cj as Ie,am as Me,ck as Ae,b5 as ne,aF as oe,aX as re}from"./index-sotzB3Mx.js";import{a as f}from"./sentry-2bqpslFP.js";import{n as y}from"./mui-CWqpJBOf.js";import{bh as R,G5 as Ye}from"./zeni-epic-state-DM-Ak8Gv.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Ee}from"./ArAgingChart-B0wn2vDP-ClJ7YwbK.js";import{C as ie}from"./NoDataChart-SlgxXIjJ-Bi3c4Olw.js";import{I as se,R as $}from"./CollapsableReportTable-4bJMcvHV-DJSNBbx8.js";import{d as le}from"./NoDataTable-CePwfuWH-BOYJp_LB.js";import{l as ce}from"./mapSpacerToTreeNode-BA1RwyQy-BaPbOaZb.js";import{l as Le}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.js";import"./chartTypes-DcNGo46a-CqMbbGUL.js";import"./AccountRow-BsjoBGWz-XKpYWJFn.js";import"./graphic-no-data-l-DU4J8fDt-D-Fo2zgX.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]="f99c19fb-a6bd-4396-a320-815f44cdebd7",e._sentryDebugIdIdentifier="sentry-dbid-f99c19fb-a6bd-4396-a320-815f44cdebd7")}catch{}})();const Fe={chartHeight:new D(288,360)},de=y.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ge=y.div`
|
|
4
4
|
display: flex;
|
|
5
5
|
flex: 1 1 auto;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
height: ${e=>Fe.chartHeight.valuePx(e.windowSize)};
|
|
8
|
-
padding-bottom: ${
|
|
9
|
-
`;function
|
|
8
|
+
padding-bottom: ${N.sp6};
|
|
9
|
+
`;function Re({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Te,{report:e}):t.jsx(Ke,{report:e})}function Te({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(ze,{isDetailPage:!0,report:e,width:i,height:o})})})}function Ke({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:x.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Ee,{isDetailPage:!0,report:e,width:i,height:o})})})}function Ue({nestedCustomer:e,numOfBalances:a,title:o,config:i,parentNodeIDs:s,ancestorMetadata:n}){return{children:[],id:$("ac_subentity_total",s),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:o,data:e,numOfBalances:a,metadata:n},config:i}}}function pe({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s,parentNodeIDs:n,ancestorMetadata:c}){const l=$("aging_report_row",[],o),r={children:[],id:l,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:c},config:s}},u=e.children.map((p,d)=>pe({agingBalances:p,numOfBalances:a,title:p.customer.name,config:s,isLastNode:d===e.children.length-1,parentNodeIDs:[...n,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...c.vendorOrCustomerAncestorMetadata,{depth:p.id.length-1,hasSibling:e.children.length>1,hasChildren:p.children.length>0,isLastNode:d===e.children.length-1,name:p.customer.name}]}}));return r.children.push(...u),e.children.length>0&&r.children.push(Ue({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function qe({agingBalances:e,numOfBalances:a,title:o,isLastNode:i,config:s}){const n=$("aging_report_row",[],o);return{children:[],id:n,isLastNode:i,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a},config:s}}}function q({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??$("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function me({title:e,balances:a,config:o,numOfBalances:i,nodeId:s}){return{children:[],id:s??$("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:i,data:a},config:o}}}const Ge=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=q({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>qe({agingBalances:d,title:d.vendor.name,numOfBalances:c,isLastNode:g===n.length-1,config:a}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}},He=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=q({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>pe({agingBalances:d,title:d.customer.name,numOfBalances:c,isLastNode:g===n.length-1,config:a,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:d.children.length>0,isLastNode:g===n.length-1}]}}));r.push(...u);const p=me({title:x.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${x.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}};function ue(e,a,o,i=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,n=q({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const v={contentPaddingLeft:new D(m[0],m[0],m[0]),contentPaddingRight:new D(m[3],m[3],m[8]),wrapperPadding:new D(m[3],m[3],m[8])},A=y.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
position: sticky;
|
|
12
12
|
justify-content: center;
|
|
13
|
-
padding-top: ${e=>
|
|
14
|
-
padding-left: ${e=>
|
|
13
|
+
padding-top: ${e=>v.wrapperPadding.valuePx(e.windowSize)};
|
|
14
|
+
padding-left: ${e=>v.wrapperPadding.valuePx(e.windowSize)};
|
|
15
15
|
background-color: ${e=>e.theme.colors.grey4};
|
|
16
16
|
`,he=y.div`
|
|
17
17
|
width: 100%;
|
|
18
|
-
height: calc(100vh - ${
|
|
19
|
-
`;function
|
|
18
|
+
height: calc(100vh - ${N.sp11});
|
|
19
|
+
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=U(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=Ge(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=U(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,S)=>{a(g,S)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const S=He(e,g,p);n(e),l(S)}else{const S=ue(c,g,e,p);l(S)}},[e,d]),e.agingBalances.length===0?t.jsx(A,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(A,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:v.contentPaddingLeft.value(r),right:v.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Qe={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Xe=y.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
23
23
|
align-items: center;
|
|
24
24
|
overflow: auto;
|
|
25
|
-
column-gap: ${e=>
|
|
25
|
+
column-gap: ${e=>Qe.summaryColumnGap.valuePx(e.windowSize)};
|
|
26
26
|
`,Z=y.div`
|
|
27
27
|
display: flex;
|
|
28
28
|
flex-direction: column;
|
|
@@ -34,7 +34,7 @@ import{y as K,Q as O,ic as _e,V as t,id as De,bQ as ve,ie as Ne,bF as Oe,bE as j
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=y(Ae)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Le(e),[e]),i=O();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:X("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:X("0,0",o?.balance)})]})]})}const
|
|
37
|
+
`;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Le(e),[e]),i=O();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:X("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:X("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=U(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:S,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:j,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:I,sortKey:z,sortOrder:E,selectedDate:b,agingDateSelectionType:G}=c,{authParams:H,downloadEndPoint:W,timezone:J}=l,V=f.useCallback((h,C)=>{const P=ae(C);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),Q=f.useCallback(h=>{const C=_e({options:B.preComputedDurationOptions.map(({label:L,value:Ce})=>({label:L,value:Ye(Ce)})).filter(({value:L})=>L!=null),selectedDate:h}),P=ae(C);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),xe=f.useCallback((h,C)=>{S(h,C),r.trackAgingReportSortChange(M(w),C,h)},[r,S,w]),be=f.useCallback(()=>t.jsx(De,{maxDate:R(),selectedDate:{date:b},precomputedOptionsProperties:{preComputedOptionSelected:ct(G),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:Q}),[b,V,Q,G]);if(f.useEffect(()=>{async function h(){const C={companyName:l.companyName,searchString:k,sortKey:z,sortOrder:E,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:b};await tt(W,H,C),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,E)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[H,W,l.companyName,I,o,w,k,z,E,Y,b,r,J]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const Se=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(je,{title:we,subTitle:be(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Se,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(F,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(ke,{fetchState:j})}),t.jsxs(F,{controller:j==="Completed",children:[t.jsx(F,{controller:k.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Ze,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Re,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,T.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: calc(100% - 60px);
|
|
@@ -48,7 +48,7 @@ import{y as K,Q as O,ic as _e,V as t,id as De,bQ as ve,ie as Ne,bF as Oe,bE as j
|
|
|
48
48
|
border-radius: 50%;
|
|
49
49
|
cursor: pointer;
|
|
50
50
|
& svg {
|
|
51
|
-
margin: ${
|
|
51
|
+
margin: ${N.sp5};
|
|
52
52
|
color: ${e=>e.theme.colors.grey1};
|
|
53
53
|
}
|
|
54
54
|
&:hover {
|
|
@@ -57,7 +57,7 @@ import{y as K,Q as O,ic as _e,V as t,id as De,bQ as ve,ie as Ne,bF as Oe,bE as j
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
`,rt=y(Pe)`
|
|
60
|
-
margin-top: ${
|
|
60
|
+
margin-top: ${N.sp3};
|
|
61
61
|
color: ${e=>e.theme.colors.hero};
|
|
62
62
|
`,it=y.div`
|
|
63
63
|
display: flex;
|
|
@@ -66,14 +66,14 @@ import{y as K,Q as O,ic as _e,V as t,id as De,bQ as ve,ie as Ne,bF as Oe,bE as j
|
|
|
66
66
|
flex-direction: column;
|
|
67
67
|
width: 100%;
|
|
68
68
|
background-color: ${e=>e.theme.colors.grey5};
|
|
69
|
-
padding: ${
|
|
69
|
+
padding: ${N.sp0};
|
|
70
70
|
gap: 2px;
|
|
71
71
|
`,st=y.div`
|
|
72
|
-
margin-bottom: ${
|
|
72
|
+
margin-bottom: ${N.sp6};
|
|
73
73
|
`,lt=y.div`
|
|
74
74
|
position: relative;
|
|
75
|
-
box-shadow: ${e=>`2px 2px ${
|
|
75
|
+
box-shadow: ${e=>`2px 2px ${N.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
76
76
|
background-color: ${e=>e.theme.colors.grey5};
|
|
77
|
-
padding-left: ${e=>
|
|
78
|
-
padding-right: ${e=>
|
|
77
|
+
padding-left: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
78
|
+
padding-right: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
|
|
79
79
|
`,ct=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},ae=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{Bt as default,at as toDownloadAgingReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{cL as Q,ep as je,J as _,V as l,aR as P,y as T,o as i,bb as re,O as E,i as ie,am as ne,d1 as Pe,ck as Ce,u as k,bV as Se,aL as te,cD as J,gU as de,g1 as R,f_ as Y,f$ as G,g0 as ce,g2 as pe,b1 as me,gV as Oe,p as ue,d0 as ge,an as he,ex as Te,ae as Re}from"./index-sotzB3Mx.js";import{n as p}from"./mui-CWqpJBOf.js";import{FM as De,bg as X}from"./zeni-epic-state-DM-Ak8Gv.js";import{a as Z}from"./sentry-2bqpslFP.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-V-ruydL6.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-Bgf26ek0-BDX-8gLb.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]="487cb563-5d08-4aba-8838-b823d7a64024",e._sentryDebugIdIdentifier="sentry-dbid-487cb563-5d08-4aba-8838-b823d7a64024")}catch{}})();const B=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=E.getLocalizedStrings().peoplePage,ze=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:N,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=Q(),z=te(h),$=z.splice(0,1),U=z.reduce((r,n)=>r.concat(`${n.email},`),""),M=Z.useMemo(()=>te(J.roles),[]),u=X(e.role);return Z.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(ke,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:B(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(K,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:B(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:G(m,f)},productsByUserRole:Y(e.role,y)},registerOptions:{required:!0}}}),l.jsx(K,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(Le,{}),userSingleSelectWithSubTitlesField:{name:B(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(L=>L.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(K,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:B(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),N?null:l.jsxs(Ne,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ue,{href:`mailto:${$[0].email}?cc=${U}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:B(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>E.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,ke=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -15,7 +15,7 @@ import{cN as Q,er as je,Q as F,V as l,ac as P,x as T,o as i,bb as re,b as Z,a as
|
|
|
15
15
|
background-color: ${e=>e.theme.colors.grey3};
|
|
16
16
|
min-height: 1px;
|
|
17
17
|
max-height: 1px;
|
|
18
|
-
`,
|
|
18
|
+
`,Ne=p(he)`
|
|
19
19
|
padding: ${e=>`${i.sp1} ${e.windowSize==="small"?i.sp3:i.sp4}`};
|
|
20
20
|
background: ${e=>e.theme.colors.grey4};
|
|
21
21
|
border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
|
|
@@ -25,7 +25,7 @@ import{cN as Q,er as je,Q as F,V as l,ac as P,x as T,o as i,bb as re,b as Z,a as
|
|
|
25
25
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
26
26
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
27
27
|
gap: ${e=>e.windowSize==="small"?i.sp0:"6px"};
|
|
28
|
-
`,
|
|
28
|
+
`,Ue=p.a`
|
|
29
29
|
color: ${e=>e.theme.colors.hero};
|
|
30
30
|
text-decoration: none;
|
|
31
31
|
cursor: pointer;
|
|
@@ -43,7 +43,7 @@ import{cN as Q,er as je,Q as F,V as l,ac as P,x as T,o as i,bb as re,b as Z,a as
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,
|
|
46
|
+
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=E.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:y,index:m,customerRoleOptions:f,isEdit:N,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const w=_(),{getValues:C,formState:{errors:S},setValue:z}=Q(),$=oe.largeLabelWidth.value(w),[U,...M]=y,u=M.map(d=>d.email).join(","),r=Z.useMemo(()=>J.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=X(e.role);return Z.useEffect(()=>{(n||x||v)&&z(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&z(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Me,{windowSize:w,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!_e(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(I=>!I.match(Oe)).reduce((I,j)=>I&&j)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ve(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(V,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:G(x,v)},productsByUserRole:Y(e.role,f)},registerOptions:{required:!0}}}),l.jsx(V,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const I=s.findIndex(j=>j.userId===d);if(I!==-1){const j=s[I],L=h.find(O=>O.classId===j.userRole.accountingClassIDs[0]),b=[];return L!=null&&b.push(L.className),b}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(V,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(V,{}),N?null:l.jsxs(Be,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,U?l.jsx(Ze,{firstController:[U],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>E.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,_e=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Me=p.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -54,7 +54,7 @@ import{cN as Q,er as je,Q as F,V as l,ac as P,x as T,o as i,bb as re,b as Z,a as
|
|
|
54
54
|
.single-select-field__menu {
|
|
55
55
|
border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
|
|
56
56
|
}
|
|
57
|
-
`,
|
|
57
|
+
`,V=p.div`
|
|
58
58
|
display: flex;
|
|
59
59
|
flex: 1;
|
|
60
60
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -71,7 +71,7 @@ import{cN as Q,er as je,Q as F,V as l,ac as P,x as T,o as i,bb as re,b as Z,a as
|
|
|
71
71
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
72
72
|
gap: ${e=>e.windowSize==="small"?i.sp0:"6px"};
|
|
73
73
|
opacity: ${e=>e.isDisabled?.32:1};
|
|
74
|
-
`,
|
|
74
|
+
`,Ee=p.a`
|
|
75
75
|
color: ${e=>e.theme.colors.hero};
|
|
76
76
|
text-decoration: none;
|
|
77
77
|
cursor: ${e=>e.isDisabled?"unset":"pointer"};
|
|
@@ -89,14 +89,14 @@ import{cN as Q,er as je,Q as F,V as l,ac as P,x as T,o as i,bb as re,b as Z,a as
|
|
|
89
89
|
color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
`,
|
|
92
|
+
`,Ve=(e,t,o,a,s)=>{if(Te(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!Re.test(h))return c.invitePage.defaultHelpText}),a==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;case"validate":return c.invitePage.defaultHelpText;default:return}},Ze=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(Ee,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},qe=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(ze,{...e}):l.jsx(Fe,{...e})}),Ae=p.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
`,
|
|
95
|
+
`,W={buttonWidth:new T(70,70),marginBottom:new T(12,k[3]),deleteContentMarginLeft:new T(k[0],k[3]),containerPaddingTop:new T(k[0],k[3]),addUserWrapperGap:new T(k[1],k[2])},He=(e,t,o,a,s,h,y)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:J.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:G(h,y)},productsByUserRole:Y([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),D=E.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:y,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S=!1,person:z,analytics:$})=>{const{getValues:U}=Q(),{append:M,remove:u}=je({name:h,control:t}),r=_(),n=U().userItems,d=()=>{const b=n.length-1,O=He(b+1,f,N,y,v,w,C);setTimeout(()=>M(O,{shouldFocus:!0}))},I=b=>{a(b)},j=()=>{a(-1)},L=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ye,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((b,O)=>{const Ie=n.length;let q={};if(y==="zeni_only")q={email:b.email,role:Je(b.role.selectedOptions,S)??void 0};else{const ee=b.nonZeniRole?.userRole.selectedRole,A=ee!=null?(b.nonZeniRole?.productsByUserRole[ee]??[]).map(H=>De(H.selectedOption?.value)).filter(H=>H!=null):[],le=A.length>0?X(A):!1;q={email:b.email,role:A,managerId:le?void 0:b.manager?.selectedUser,departmentId:le?void 0:b.department?.selectedOption?.value}}return l.jsxs(Ge,{"data-testid":P("user-item",b.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:Ie>1?l.jsx(ae,{windowSize:r,children:l.jsx(Ke,{curIndex:O,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:I,onCancelClick:j,onRemoveUserItem:L})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx($e,{children:l.jsx(ye,{windowSize:r,children:D.invitePage.user})})})})}),l.jsx(qe,{isDisabled:e,sectionId:`${h}.${O}`,control:t,user:q,mode:y,isZeniTenant:m,managersList:f,classList:N,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S,person:z,analytics:$,index:O}),o===O&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:j,onRemoveUserItem:L})}):null]},O)}):null,S?null:l.jsxs(ol,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(al,{}),l.jsx(rl,{children:`${D.invitePage.add} ${D.invitePage.user}`})]})]})},Ke=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const y=_();return l.jsxs(we,{children:[l.jsx($e,{children:l.jsx(ye,{windowSize:y,children:`#${e+1} ${D.invitePage.user}`})}),h===void 0?l.jsx(Qe,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=_();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Xe,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:D.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return l.jsxs(l.Fragment,{children:[D.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:D.invitePage.cancel,onClick:e,style:{width:W.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:D.invitePage.remove,onClick:t,style:{width:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Je=(e,t)=>t?e:e!=null?[e]:[],Ye=p.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
|
-
padding-top: ${e=>
|
|
99
|
-
`,
|
|
98
|
+
padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};
|
|
99
|
+
`,Ge=p.div`
|
|
100
100
|
.delete-icon-wrapper {
|
|
101
101
|
visibility: hidden;
|
|
102
102
|
}
|
|
@@ -138,10 +138,10 @@ import{cN as Q,er as je,Q as F,V as l,ac as P,x as T,o as i,bb as re,b as Z,a as
|
|
|
138
138
|
gap: ${i.sp2};
|
|
139
139
|
`,il=p.div`
|
|
140
140
|
display: flex;
|
|
141
|
-
margin-left: ${e=>
|
|
141
|
+
margin-left: ${e=>W.deleteContentMarginLeft.valuePx(e.windowSize)};
|
|
142
142
|
`,ae=p.div`
|
|
143
143
|
display: flex;
|
|
144
|
-
margin-bottom: ${e=>
|
|
144
|
+
margin-bottom: ${e=>W.marginBottom.valuePx(e.windowSize)};
|
|
145
145
|
`,tl=p(ge)`
|
|
146
146
|
width: ${i.sp3};
|
|
147
147
|
height: ${i.sp3};
|
|
@@ -162,7 +162,7 @@ import{cN as Q,er as je,Q as F,V as l,ac as P,x as T,o as i,bb as re,b as Z,a as
|
|
|
162
162
|
justify-content: center;
|
|
163
163
|
align-items: center;
|
|
164
164
|
padding: ${i.sp3} ${i.sp4};
|
|
165
|
-
gap: ${e=>
|
|
165
|
+
gap: ${e=>W.addUserWrapperGap.valuePx(e.windowSize)};
|
|
166
166
|
|
|
167
167
|
width: auto;
|
|
168
168
|
height: ${i.sp8};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as H,J,O as g,V as o,bQ as K,ga as U,bD as q,co as Q,bE as X,o as F,aV as G,y as A,bF as W,ch as Z,ci as ee,cj as oe,u as y}from"./index-sotzB3Mx.js";import{a as v}from"./sentry-2bqpslFP.js";import{n as i}from"./mui-CWqpJBOf.js";import{L as te,D as ne}from"./EntitySummarySection-BiIPehv4-DbMdDRCI.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./zeni-epic-state-DM-Ak8Gv.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="f8a34abc-3bb5-4499-8985-64d39703cf1b",e._sentryDebugIdIdentifier="sentry-dbid-f8a34abc-3bb5-4499-8985-64d39703cf1b")}catch{}})();const C={wrapperContainerMarginTop:new A(y[4],y[0]),wrapperContaineHorizontalrMargin:new A(y[0],y[8])},re=i.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -25,7 +25,7 @@ import{y as H,Q as K,b as g,V as o,bQ as J,gc as Q,bD as U,cp as q,bE as G,o as
|
|
|
25
25
|
color: ${e=>e.theme.colors.primary};
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
`,se=i(
|
|
28
|
+
`,se=i(G)`
|
|
29
29
|
margin-top: ${F.sp3};
|
|
30
30
|
color: ${e=>e.theme.colors.hero};
|
|
31
31
|
`,le=i.div`
|
|
@@ -43,4 +43,4 @@ import{y as H,Q as K,b as g,V as o,bQ as J,gc as Q,bD as U,cp as q,bE as G,o as
|
|
|
43
43
|
margin-left: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
44
|
margin-right: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
45
|
height: 100%;
|
|
46
|
-
`;function Ie(e){const s=H(),l=
|
|
46
|
+
`;function Ie(e){const s=H(),l=J(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:n,downloadParams:r,reportDate:t,analytics:d,onReload:w,onBackClick:N,onColumnSortConfigChanged:S,updateDownloadStateHandler:x,onTransactionClick:T,sidePanelIsOpen:L,sidePanelIsFullView:O,panelContent:E}=e,{authParams:_,downloadEndPoint:I,timezone:k}=r,{fetchState:m,invoices:$,apAgingDetailUIState:j,vendor:a,totalBalances:Y}=n,{sortKey:D,sortOrder:b,downloadState:f}=j,[z,P]=v.useState(!1),M=g.getLocalizedStrings(),B=M.reports.aging.agingDetail,R=v.useCallback((c,u)=>{n.vendor!=null&&d.trackApAgingDetailReportSortChange(c,u,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name),S(c,u)},[d,n.vendor,t,S]);if(v.useEffect(()=>{async function c(){const u={companyName:r.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:a?.id??"",timezone:k,reportDate:t};await ge(I,_,u),x("Completed"),n.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name)}z&&f!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,n.vendor,_,I,r.companyName,f,z,t,D,b,k,x,a?.id]),m==="Error")return o.jsxs(ae,{children:[o.jsx(ie,{onClick:w,children:o.jsx(K,{})}),o.jsx(se,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(U,{fetchState:m});const V=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:f==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(f==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsx(q,{isOpen:L??!1,isFullView:O??!1,panelContent:E,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(X,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:N,rightSideComponent:V,source:"ApAgingDetailPage"}),o.jsx(ne,{totalBalances:Y,entityName:a?.name??"",entityLogo:a?.logo,reportId:"accounts_payable_aging",reportDate:t})]}),listContent:o.jsx(le,{children:o.jsx(de,{windowSize:l,children:o.jsx(ce,{windowSize:l,children:$.length===0||a==null?o.jsx(Q,{message:B.noDataText}):o.jsx(re,{windowSize:l,children:o.jsx(te,{uiState:j,invoices:$,entityName:a.name,entityLogo:a.logo,onColumnSortConfigChanged:R,onTransactionClick:T})})})})})})}async function ge(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(pe(l)))}`,p=g.getLocalizedStrings(),n=p.reports.aging.apAging.apAging,r=p.download;try{const t=await Z({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=ee(t.headers,r.defaultFileName),w=await t.arrayBuffer();oe(w,d)}else console.error(`${r.errorMessages.fileDownloadError.replace("__feature__",n)} ${t.statusText}`)}catch(t){console.error(`${r.errorMessages.fileDownloadError.replace("__feature__",n)} ${JSON.stringify(t)}`)}}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Ie as default,pe as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import{V as t,J as m,x,o as r,y as p,p as n,aV as g,O as u,br as $,c$ as f,dQ as w,c_ as b}from"./index-sotzB3Mx.js";import{n as i,k as y}from"./mui-CWqpJBOf.js";import{a as j}from"./sentry-2bqpslFP.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./zeni-epic-state-DM-Ak8Gv.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.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]="8d3d7993-d8e7-4026-9b32-904d6c5c4518",e._sentryDebugIdIdentifier="sentry-dbid-8d3d7993-d8e7-4026-9b32-904d6c5c4518")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
|
|
2
|
+
0% {
|
|
3
|
+
transform: translateX(100%)
|
|
4
|
+
}
|
|
5
|
+
100% {
|
|
6
|
+
transform: translateX(0)
|
|
7
|
+
}
|
|
8
|
+
`,v=i.div`
|
|
9
|
+
position: fixed;
|
|
10
|
+
top: ${r.sp3};
|
|
11
|
+
right: ${r.sp3};
|
|
12
|
+
padding: ${r.sp3} ${r.sp4} ${r.sp3} ${r.sp4};
|
|
13
|
+
z-index: 1400;
|
|
14
|
+
box-sizing: initial;
|
|
15
|
+
padding: ${r.sp3} ${r.sp4};
|
|
16
|
+
max-width: ${e=>l.maxWidth.valuePx(e.windowSize)};
|
|
17
|
+
background: ${e=>e.theme.colors.black};
|
|
18
|
+
color: ${e=>e.theme.colors.hero};
|
|
19
|
+
border-radius: 12px;
|
|
20
|
+
box-shadow: ${e=>`${r.sp0} ${r.sp1} ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: row;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
align-items: flex-start;
|
|
25
|
+
animation: ${k} 0.4s;
|
|
26
|
+
`,S=i(b)`
|
|
27
|
+
margin-top: 2px;
|
|
28
|
+
margin-right: 12px;
|
|
29
|
+
width: ${r.sp3};
|
|
30
|
+
height: ${r.sp3};
|
|
31
|
+
color: ${n.success};
|
|
32
|
+
`,D=i(w)`
|
|
33
|
+
margin-top: 2px;
|
|
34
|
+
margin-right: 12px;
|
|
35
|
+
width: ${r.sp3};
|
|
36
|
+
height: ${r.sp3};
|
|
37
|
+
color: ${n.info};
|
|
38
|
+
`,z=i(f)`
|
|
39
|
+
margin-top: 2px;
|
|
40
|
+
margin-right: 12px;
|
|
41
|
+
width: ${r.sp3};
|
|
42
|
+
height: ${r.sp3};
|
|
43
|
+
color: ${n.important};
|
|
44
|
+
`,I=i($)`
|
|
45
|
+
margin-top: 2px;
|
|
46
|
+
margin-right: 12px;
|
|
47
|
+
width: ${r.sp3};
|
|
48
|
+
height: ${r.sp3};
|
|
49
|
+
color: ${n.info};
|
|
50
|
+
`,T=i.div``,E=i(g)`
|
|
51
|
+
color: ${n.neutralGrey2Light};
|
|
52
|
+
word-break: break-word;
|
|
53
|
+
white-space: pre-line;
|
|
54
|
+
`,W=i.div`
|
|
55
|
+
max-width: ${e=>l.contentMaxWidth.valuePx(e.windowSize)};
|
|
56
|
+
`,_=i.div`
|
|
57
|
+
margin-top: 3px;
|
|
58
|
+
margin-left: 12px;
|
|
59
|
+
width: ${r.sp3};
|
|
60
|
+
height: ${r.sp3};
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
color: ${e=>e.theme.colors.hero};
|
|
66
|
+
&:hover {
|
|
67
|
+
color: ${n.primaryDark};
|
|
68
|
+
}
|
|
69
|
+
`,O=(e,o,s)=>{let a=u.getLocalizedStrings().common.snackBar[e][o];return s?.forEach(d=>{a=a.replace(d.variableName,d.variableValue)}),a},V=({type:e})=>{switch(e){case"success":return t.jsx(S,{});case"info":return t.jsx(D,{});case"error":case"warning":return t.jsx(z,{});case"notification":return t.jsx(I,{});default:return null}};function B(e){const o=m(),{message:s,messageType:a,showStatusIcon:d,onRemoveSnackbar:c}=e;return j.useEffect(()=>{const h=setTimeout(()=>{c()},5e3);return()=>clearTimeout(h)},[s.section]),t.jsxs(v,{windowSize:o,children:[d===!0?t.jsx(V,{type:a}):null,t.jsx(W,{windowSize:o,children:t.jsx(T,{children:t.jsx(E,{children:O(s.section,s.text,s.variables)})})}),t.jsx(_,{onClick:c,children:t.jsx(x,{})})]})}const q=e=>t.jsx(L,{isOnDashboard:e.isOnDashboard,children:e.showSnackbar===!0?t.jsx(B,{...e.snackbar}):null}),L=i.div`
|
|
70
|
+
background-color: ${e=>e.isOnDashboard?e.theme.colors.background:"transparent"};
|
|
71
|
+
`;export{q as default};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import{ax as de,I as ce,P as ue,q as T,bl as pe,V as n,bm as be,bn as me,bo as fe,bp as he,ab as ge,bq as xe,o as t,br as Ee,aw as b,b7 as m}from"./index-sotzB3Mx.js";import{a as o,P as ye}from"./sentry-2bqpslFP.js";import{n as l}from"./mui-CWqpJBOf.js";import{bk as Ce}from"./zeni-epic-state-DM-Ak8Gv.js";import{v as we}from"./DashboardSidebarBackgroundAnimation-8LKlc-IA-DppqzS9d.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="78eeca93-1a79-4e4e-ae5f-add29723e54b",e._sentryDebugIdIdentifier="sentry-dbid-78eeca93-1a79-4e4e-ae5f-add29723e54b")}catch{}})();const Ae=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ke,{children:n.jsx(m,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ke=l.div`
|
|
2
|
+
position: absolute;
|
|
3
|
+
z-index: 0;
|
|
4
|
+
bottom: -${t.sp3};
|
|
5
|
+
display: flex;
|
|
6
|
+
height: auto;
|
|
7
|
+
right: ${t.sp0};
|
|
8
|
+
`,Se=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomChristmas",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ve,{children:n.jsx(m,{style:{display:"flex",width:"240px",height:"98px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ve=l.div`
|
|
9
|
+
position: absolute;
|
|
10
|
+
z-index: 0;
|
|
11
|
+
bottom: ${t.sp0};
|
|
12
|
+
display: flex;
|
|
13
|
+
height: auto;
|
|
14
|
+
right: ${t.sp0};
|
|
15
|
+
width: 100%;
|
|
16
|
+
`,je=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomHalloween",e),[a,r]=o.useState(null);return i!=null&&a==null&&!s&&r(i),e&&a!=null?n.jsx(Te,{children:n.jsx(m,{style:{display:"flex",width:"60px",height:"60px",marginLeft:"20%",marginTop:"10%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Te=l.div`
|
|
17
|
+
position: absolute;
|
|
18
|
+
z-index: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
bottom: ${t.sp0};
|
|
21
|
+
display: flex;
|
|
22
|
+
height: 135px;
|
|
23
|
+
background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/halloween-bg.svg);
|
|
24
|
+
background-size: auto;
|
|
25
|
+
background-repeat: no-repeat;
|
|
26
|
+
background-position-y: bottom;
|
|
27
|
+
left: 0;
|
|
28
|
+
`,$e=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomThanksgiving",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(De,{children:n.jsx(m,{style:{display:"flex",width:"100px",height:"100px",marginLeft:"45%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),De=l.div`
|
|
29
|
+
position: absolute;
|
|
30
|
+
z-index: 0;
|
|
31
|
+
bottom: ${t.sp0};
|
|
32
|
+
display: flex;
|
|
33
|
+
height: auto;
|
|
34
|
+
right: ${t.sp0};
|
|
35
|
+
`,Ie=o.memo(function({christmasAnimationEnabled:e=!1,halloweenAnimationEnabled:i=!1,newYearAnimationEnabled:s=!1,thanksGivingAnimationEnabled:a=!1}){return i?n.jsx(je,{animationEnabled:i}):a?n.jsx($e,{animationEnabled:a}):e?n.jsx(Se,{animationEnabled:e}):s?n.jsx(Ae,{animationEnabled:s}):null}),Me=l.div`
|
|
36
|
+
display: flex;
|
|
37
|
+
flex: 1 1 auto;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
padding-left: ${t.sp4};
|
|
40
|
+
width: 240px;
|
|
41
|
+
position: relative;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
box-shadow: ${e=>e.isOnDashboard?"none":`inset -2px 0 ${t.sp1} -2px ${e.theme.colors.dropShadowNormal}`};
|
|
44
|
+
`,Pe=l.div`
|
|
45
|
+
padding-left: ${t.sp3};
|
|
46
|
+
`,Ve=l.div`
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
flex: 1 1 auto;
|
|
50
|
+
padding: 0 ${t.sp1} 0 12px;
|
|
51
|
+
overflow-y: auto;
|
|
52
|
+
overflow-x: visible;
|
|
53
|
+
min-height: 0;
|
|
54
|
+
margin-top: ${t.sp4};
|
|
55
|
+
|
|
56
|
+
/* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
|
|
57
|
+
&::-webkit-scrollbar {
|
|
58
|
+
display: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Hide scrollbar for Firefox */
|
|
62
|
+
scrollbar-width: none;
|
|
63
|
+
|
|
64
|
+
/* Hide scrollbar for IE and Edge */
|
|
65
|
+
-ms-overflow-style: none;
|
|
66
|
+
`,Ue=l.div`
|
|
67
|
+
margin: ${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
68
|
+
width: fit-content;
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: row;
|
|
71
|
+
align-items: center;
|
|
72
|
+
position: relative;
|
|
73
|
+
z-index: 1;
|
|
74
|
+
`,Ye=l.div`
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
position: relative;
|
|
79
|
+
margin-left: ${t.sp2};
|
|
80
|
+
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
81
|
+
color: ${e=>e.theme.colors.hero};
|
|
82
|
+
&:hover {
|
|
83
|
+
color: ${e=>e.theme.colors.primary};
|
|
84
|
+
}
|
|
85
|
+
z-index: 1;
|
|
86
|
+
`,ze=l(Ee)`
|
|
87
|
+
display: flex;
|
|
88
|
+
width: ${t.sp4};
|
|
89
|
+
height: ${t.sp4};
|
|
90
|
+
align-items: center;
|
|
91
|
+
justify-content: center;
|
|
92
|
+
`;function Ke({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:$,isChargeCardEnabled:D,rewardsConfiguration:I,selectedMenu:M,isTenantDropdownDisabled:P,isSettings:c=!1,isAiCfo:V=!1,isOnDashboard:U,isAiCfoAccessEnabled:Y,isNotificationsTabVisible:z,isSettingsFeatureEnabled:E,signedInUser:f,aiCfoView:R,currentTenant:y,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:C=!1,newYearAnimationEnabled:w=!1,thanksGivingAnimationEnabled:A=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:F,isTaskManagerAccessEnabled:B,treasuryYieldPercentage:L,onNotificationIconClick:N,handleLogOutClick:_,handleMenuChange:G,onZeniLogoClick:H,handlePopupClose:Z,handleBackClick:k,handleCockpitClick:O,handleMyProfileClick:S,handleReferralsClick:q,handleTenantSelect:W,onDeleteChatSession:K,updateCurrentChatSessionId:J}){const[d,Q]=o.useState(c&&E),g=ye.useRef("noAnimation"),v=Ce(f),X=de(),{useFeatureGate:j,useDynamicConfig:ee}=ce(),{configValue:x}=ee(ue.expenseAutomationEnablementZeniUsers),ne=x.expenseAutomationEnabledCompanies!=null&&Array.isArray(x.expenseAutomationEnabledCompanies)?x.expenseAutomationEnabledCompanies:[],{isFeatureEnabled:ie}=j(T.isReimbursementCommentingEnabled),{isFeatureEnabled:te}=j(T.isBillPayCommentingEnabled),ae=pe(),se=()=>{g.current="slide-in-right-to-left",S&&S()},oe=()=>{g.current="slide-in-left-to-right",d&&k&&k()};o.useEffect(()=>{c!==d&&Q(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",le=g.current,re=v||ie&&te&&!X.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Me,{isOnDashboard:U,children:[n.jsxs(Pe,{children:[n.jsx(be,{onClick:H,halloweenAnimationEnabled:C,thanksGivingAnimationEnabled:A,christmasAnimationEnabled:h,newYearAnimationEnabled:w}),n.jsx(me,{currentTenantId:e??"",tenants:i,isDisabled:P,isZeniUser:v,expenseAutomationEnabledCompanies:ne,onTenantSelect:W})]}),n.jsx(Ve,{children:n.jsx(fe,{className:le,signedInUser:f,selectedMenu:M,currentTenant:y,isVendorsTabVisible:s,rewardsConfiguration:I,isSetting:d,isAiCfo:V,isAiCfoAccessEnabled:Y,aiCfoView:R,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:$,treasuryYieldPercentage:L,isChargeCardEnabled:D,isNotificationsTabVisible:z,isPerformanceEnabledForUser:ae,isExpenseAutomationEnabledForUser:F,isTaskManagerAccessEnabled:B,onSelectionChanged:G,onDeleteChatSession:K,updateCurrentChatSessionId:J,onBackClick:oe,onPopupClose:Z})}),n.jsx(we,{christmasAnimationEnabled:h}),n.jsxs(Ue,{children:[n.jsx(he,{signedInUser:f,onLogOutClick:_,onMyProfileClick:se,onReferralsClick:q,onCockpitClick:O,currentTenant:y,isSettingsFeatureEnabled:E}),re?n.jsx(ge,{controller:u!=null,children:n.jsxs(Ye,{isDisabled:p,onClick:p?void 0:N,children:[n.jsx(xe,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),n.jsx(ze,{})]})}):null]}),n.jsx(Ie,{halloweenAnimationEnabled:C,thanksGivingAnimationEnabled:A,christmasAnimationEnabled:h,newYearAnimationEnabled:w})]},d.toString())}export{Ke as default};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import{d as _,J,ax as V,O as p,aX as v,V as t,bE as E,T as F,fy as b,dI as S,y as d,o as k,an as O,b as j,u as o}from"./index-sotzB3Mx.js";import{n as l}from"./mui-CWqpJBOf.js";import{FJ as G,FK as N}from"./zeni-epic-state-DM-Ak8Gv.js";import"./sentry-2bqpslFP.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.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]="967d99d5-26d6-4588-8ee8-a8e314f42e74",e._sentryDebugIdIdentifier="sentry-dbid-967d99d5-26d6-4588-8ee8-a8e314f42e74")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:T,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:P})=>{const r=_(),i=J(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:A}=a,{commonSetUp:C,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,x=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:W}=$,{billPaySetup:M}=B,{reimbursementSetup:D}=W,{setUp:s}=C,L=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",y=r.mode==="light"?new v(r.colors.brandColorJadeLight):new v(r.colors.brandColorJadeDark),H=G(c,u.loggedInUserRoleMap),U=N(c,u.loggedInUserRoleMap);return t.jsxs(K,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:T}),t.jsx(Q,{windowSize:i,children:L?t.jsx(Y,{children:t.jsx(F,{size:"ExtraLarge",start:!0})}):t.jsxs(X,{children:[t.jsx(q,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[H===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:M.approvalSubTitle,header:x.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:y},onClick:I,status:m.length>0?z:void 0}),U===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:D.approvalSubTitle,header:x.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:y},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:P,status:f.length>0?A:void 0})]})]})})]})},X=l.div`
|
|
2
|
+
width: 100%;
|
|
3
|
+
margin: auto;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: flex-start;
|
|
6
|
+
height: 100%;
|
|
7
|
+
overflow-y: auto;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
align-items: center;
|
|
10
|
+
`,K=l.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
min-height: 100%;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
row-gap: ${k.sp3};
|
|
15
|
+
width: 100%;
|
|
16
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
17
|
+
`,Q=l.div`
|
|
18
|
+
display: flex;
|
|
19
|
+
height: 100%;
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
`,Y=l.div`
|
|
23
|
+
display: flex;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: calc(100vh - 110px);
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
align-items: center;
|
|
29
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
30
|
+
`,Z=l.div`
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
|
|
34
|
+
`,q=l(O)`
|
|
35
|
+
display: flex;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
align-items: center;
|
|
38
|
+
width: ${e=>n.subtitleSectionWidth.valuePx(e.windowSize)};
|
|
39
|
+
margin-bottom: ${k.sp5};
|
|
40
|
+
`,ee=l.div`
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
|
|
44
|
+
color: ${e=>e.theme.colors.hero};
|
|
45
|
+
font-family: ${j.largeMedium.fontFamily};
|
|
46
|
+
${j.standardRegular.css};
|
|
47
|
+
`;export{ue as default};
|