@zeniai/web-cockpit-ui 1.14.72-dev-betaSK01 → 1.14.73-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-BZFkcCOG-WfBPHoUX.js → ACHDetailsPage-FHBR2PCA-DLva-SPh.js} +2 -2
- package/dist/assets/{AIPerformancePage-DtNLjoUW-CinUSJg2.js → AIPerformancePage-CiYLvD6Z-bHSk8bLC.js} +124 -124
- package/dist/assets/AccountInfoPage-B0uMPZhx-BIQF2gH2.js +18 -0
- package/dist/assets/{AccountInfoPageContent-B8GKrtCm-10kK72ec.js → AccountInfoPageContent-CdgOtpop-AHRejHe6.js} +13 -13
- package/dist/assets/AccountLockedInfoModal-DnQEp6tD-BW8Fp--s.js +59 -0
- package/dist/assets/AccountReconDetailsDrawerPage-BxjUNX_b-C4CXpIA8.js +239 -0
- package/dist/assets/AccountRow-C6z4Ft3r-BFimoTCg.js +298 -0
- package/dist/assets/AccountsPromoCardStack-BS-HxQ5z-BoaDvf04.js +207 -0
- package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-DzFp-OyN.js → AddAddressForCardDrawer-qa7RqzlX-DAOW06gk.js} +2 -2
- package/dist/assets/{AddToWalletPage-nSq-9dQy-D56Hf4hb.js → AddToWalletPage-DNjsPMFK-r8gZ63eR.js} +22 -22
- package/dist/assets/AgingReportsPage-Dmgvzu2b-DiSOGn-n.js +79 -0
- package/dist/assets/AllUserItems-BBC-qn-o-D2MAzw4F.js +192 -0
- package/dist/assets/ApAgingDetailPage-YWdtNxkt-5BxHOM_M.js +46 -0
- package/dist/assets/{AppBasePage-Br0WbQRY-BAK8zLlg.js → AppBasePage-BnA8ceAD-BvanHCQt.js} +5 -5
- package/dist/assets/AppDrawerContent-DKHWPZQW-CEAxNC9t.js +91 -0
- package/dist/assets/ApprovalRulesSettingsPage-D4Vz_gLv-DJSQNR5P.js +47 -0
- package/dist/assets/ArAgingChart-CuHk_U2p-D7juYPVe.js +24 -0
- package/dist/assets/{ArAgingDetailPage-BlV3iJeW-D0lCDh_0.js → ArAgingDetailPage-H77B2AWo-DYwzxBIW.js} +3 -3
- package/dist/assets/{AttachmentView-DhluaeAV-DsM43aN0.js → AttachmentView-D1SPuem6-CmH4xHN2.js} +9 -9
- package/dist/assets/{BankAccountSection-GDEQdiGL-CmBLlIS1.js → BankAccountSection-ByfDYmEM-WCmaTn1f.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js → BankAccountWarningSection-BTCdQgZV-Bb72qOHU.js} +9 -9
- package/dist/assets/BankConnectionsSettingsPage-L62aMW_s-Ce_PfdvA.js +425 -0
- package/dist/assets/BillDetailPage-BBQJpRTI-D0MlJ03G.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-DxDRXjZW.js → BillPayApprovalRuleDetailPage-ByLLupWf-BGMDsIwH.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-B-4hhNoy.js → BillPayApprovalRulesPage-D4d-6Jnf-CF6fIJls.js} +7 -7
- package/dist/assets/BillPayPromoPage-CPGYF3vl-DVnbNH0W.js +84 -0
- package/dist/assets/BillPaySetUpPage-CeciDq-c-NzaXshML.js +42 -0
- package/dist/assets/BillingSettingsPage-DknUlTgB-CcR7ugmH.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-BIjlRcX--CZ4DepwQ.js +1 -0
- package/dist/assets/{BoxItem-COIjjFrn-CYZK_lth.js → BoxItem-D4K0YgBP-Bm_px4kT.js} +4 -4
- package/dist/assets/BusinessVerificationPage-CWioKmMC--fpYbOGK.js +138 -0
- package/dist/assets/{CardNumberSubText-CmhH95Ff-D70_vfvB.js → CardNumberSubText-C_03r_B--CXrhgc3z.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BPLjvuA3-D2AlurqK.js → CashbackDetailPage-BaImXBc2-BqUQeIYw.js} +56 -56
- package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-CMQ9x73T.js → ChargeCardDetailPage-Ba7cRz0p-DYtlHHMF.js} +214 -214
- package/dist/assets/ChargeCardListPage-BTH_OAht-CJvC6mTi.js +406 -0
- package/dist/assets/{ChargeCardListTable-BGWV4zJl-CcT6S7FA.js → ChargeCardListTable-DpRWVPmZ-CcrBBELQ.js} +54 -54
- package/dist/assets/ChargeCardPromoPage-B3bc_Qcj-DVNboRNz.js +222 -0
- package/dist/assets/ChargeCardSetupPage-3-7oaikG-BYx_BUtm.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BY-SWhAj.js → ChargeCardStatementsPage-3HMKClyw-mCs_-TXo.js} +4 -4
- package/dist/assets/ChargeCardUtils-Cx6ntaue-CziTslau.js +1 -0
- package/dist/assets/{ChaseOverlay-BC_4vwtb-BQqHx8M-.js → ChaseOverlay-1PyDzocW-DV1roPs3.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-CKNKZDF1.js → CheckDepositDrawerPage-DTADpJQC-sqk-xG07.js} +20 -20
- package/dist/assets/CollapsableReportTable-rEGCWPrN-DiziLVLU.js +2932 -0
- package/dist/assets/CompanyOfficerDetailsSection-Dpe50aqM-B1Sor9Us.js +260 -0
- package/dist/assets/{CompanyPassportCard-D3F01eJL-BhEJq4YF.js → CompanyPassportCard-l9sgkbw_-BXrIXjOn.js} +3 -3
- package/dist/assets/CompanyPassportPage-DQPGAnFq-DsQ6naIu.js +574 -0
- package/dist/assets/CompleteProfile-DJBScNev-5kVXmwEh.js +52 -0
- package/dist/assets/{ConfettiBurst--HIHB7Os-S4QyIwiq.js → ConfettiBurst-DukumtTx-CSzALiwF.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-DpdjBsSE.js → CreateOrEditVendorPage-C39AEROO-Df_MDMmD.js} +11 -11
- package/dist/assets/CreditCardPaymentDrawerPage-D8VUjeG2-Nczpa7J9.js +224 -0
- package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-COciJwfu.js → CreditCardPaymentPlgSection-L8WvXQsE-Dx-X3Ggn.js} +10 -10
- package/dist/assets/{CurrencySelectField-nhg_dhDw-nZHVWMo0.js → CurrencySelectField-yIymL1et-BBkhU934.js} +6 -6
- package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-1Tt5lNh3.js → CustomerOnboardingActivationPage-BKBFtr-o-B3t33ZLt.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BwRlnH01-Di0CtCSz.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-ClKlbRH6.js → CustomerOnboardingDetailPageSkeleton-BsnPvucg-BEvywTxp.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-Pt9D5fwX.js → CustomerOnboardingNoStepsPage-Db1DFgQR-DfT9hNRl.js} +2 -2
- package/dist/assets/CustomerOnboardingPage-BoF4bXiW-CKAc0RQX.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-BdGFZtH3-DLLnRFgg.js +202 -0
- package/dist/assets/{Dashboard-D6Ba5oj0-C5iZr7Dc.js → Dashboard-hADP7IBB-Bk1vjezx.js} +262 -262
- package/dist/assets/DashboardReportPage-BwTchCvy-O2bBIky3.js +371 -0
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js → DashboardSidebarBackgroundAnimation-B-w4cVMW-BWggpu2o.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js → DepositAccTransactionItem-BMkCcz-U-g-iJ8Z3m.js} +4 -4
- package/dist/assets/DepositAccTransactionListPage-D6h0mu0p-Cba8Z-zG.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-DQG9O9kV-DkLiQ_AK.js +21 -0
- package/dist/assets/DownloadOverlay-mXe-oklf-DPD6fOSt.js +439 -0
- package/dist/assets/{DrawerPage-BRD6cE6J-1UMYAHb7.js → DrawerPage-DSbF_bCc-BOfcYWDU.js} +13 -13
- package/dist/assets/EditPeoplePage-DnE5ud-m-STxMbpu_.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CtHzBFwx-CcMSn1Z9.js +865 -0
- package/dist/assets/EntityDetailPage-CSR_wxIn-C3ytfDma.js +18 -0
- package/dist/assets/{EntitySummarySection-BRt1kPDf-DQbEIQFx.js → EntitySummarySection-BP9sqkp_-C8j67E3x.js} +28 -28
- package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-CHnaqssF.js → ExpenseAutomationOverviewPage-C-ZrFIVW-LPRP5OZt.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-BEhjUkgs-DU0Mp3Bk.js +1650 -0
- package/dist/assets/ExpressPayPage-C9rqylRE-fd6R9yCg.js +168 -0
- package/dist/assets/{FeaturePreviewPage-CQN2xThT-DJXN60Ac.js → FeaturePreviewPage-BcRRbP7e-DlhiW3MZ.js} +3 -3
- package/dist/assets/{FollowStepsSection-DdwEVWhG-yjJ5FRCa.js → FollowStepsSection-B3Kyt5j4-CgmrU6eD.js} +7 -7
- package/dist/assets/GlobalReviewListPage-Bz-YyIK8-B-UTCvpv.js +291 -0
- package/dist/assets/HelpButton-38HaKgFL-BugYIsvp.js +28 -0
- package/dist/assets/{InformationCardStack-Cw7c9Pnd-BX2LTL8l.js → InformationCardStack-BY26HFGi-BLGIbInA.js} +4 -4
- package/dist/assets/InsightsCardStack-BI7iTuQ_-DQl2fOce.js +79 -0
- package/dist/assets/{InsightsSection-JIKb9lz3-Hi0aN8hq.js → InsightsSection-AQ5yTmGG-DS0VgX7W.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CxqwarZy.js → IntegrationsSettingsPage-BEAFHjYf-d2P0RMG5.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-CzlIxaS1.js → InternationalWireSwiftDetailsPage-DNvv8jLc-dT-poZdm.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-BCCRbUea.js → InternationalWireVerificationPage-BdUXxMgU-DhF9zfHu.js} +27 -27
- package/dist/assets/{InviteFormPage-CrtH0cSG-eVIYbN0r.js → InviteFormPage-CY-8DzRS-Bfynw6ME.js} +16 -16
- package/dist/assets/{InvitePageListView-DUoopPip-D5qrm4ww.js → InvitePageListView-DXjKBR4k-Np2jy73K.js} +164 -164
- package/dist/assets/InvitePeoplePage-CIafIgkR-BdmOchmq.js +12 -0
- package/dist/assets/InvoiceUploadSection-cXNOY5jR-DGuQgS61.js +140 -0
- package/dist/assets/{IssueChargeCardPage-D6DCohbK-BMG4Ljit.js → IssueChargeCardPage-DN1zD_YI-i_-kvzIl.js} +1 -1
- package/dist/assets/{LabeledAddressValue-C3R0DSjj-CpxXKm9c.js → LabeledAddressValue-Bk3vXfZU-CU4YMzA1.js} +1 -1
- package/dist/assets/LabeledAddressValueField-6MpVMde--DXTq8JS8.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-B44wDW2V.js → LabeledControlledCheckBoxField-BjYGaRbt-BGdAOJoA.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-tsmH64cn.js → LabeledCreatableSingleSelectField-9q4Lqszf-Csk7xXRk.js} +7 -7
- package/dist/assets/LabeledDocumentField-CAWaftIF-CSQ4X3Cr.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-hUkbh0bF.js → LabeledDropDownFormattedTextField-WbohTHp8-Bsf-e-tx.js} +5 -5
- package/dist/assets/{LabeledText-BESSkt5Z-CPDVK04g.js → LabeledText-B3JYr4tU-laTDcIhJ.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js → LabeledUserSingleSelectWithSubtitlesField-DHOsMX6S-5w6248s9.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js → LabeledZeniRolesDropDownField-DcUdbKa4-fYq87dcd.js} +34 -34
- package/dist/assets/LinkJETransactionPage-B1XJOlhU-DdWugwxQ.js +98 -0
- package/dist/assets/{LockCardPage-DYfgK11k-BFAZ4k7o.js → LockCardPage-B-EvOmPO-B73f-ypE.js} +66 -66
- package/dist/assets/LowBalancePopup-BoFHsW5A-B3QtlbXZ.js +34 -0
- package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--B-X6oebP.js → MagicLinkACHDetailsPage-D5-czDfb-D9jHfcHK.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-DllJxuHV.js → MagicLinkDomesticWireDetailsPage-DxtWixFB-79ayjypJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-BIaiGIsd.js → MagicLinkInternationalWireDetailsPage-kmj9pdzN-DnNURYN2.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-6rfZopUb.js → MagicLinkSuccessPage-BPzk03R8-SXgLVDgR.js} +3 -3
- package/dist/assets/MagicLinkTitleSection-CgS4ZMfb-BI5Lq2SW.js +17 -0
- package/dist/assets/{MailingDetailsSection-9RwlQxVG-_UrE81Sw.js → MailingDetailsSection-BktKZ2Nr-DyWKpOiG.js} +2 -2
- package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-BXGtVHle.js → MeetingCalenderPopup-2tPtQeqB-QatkmFKh.js} +4 -4
- package/dist/assets/{Menu-B6iTf2H7-Cu2Vb11u.js → Menu-CV1BBSGW-DKOqAYYS.js} +2 -2
- package/dist/assets/MyBankConnectionsSettingsPage-CMyrZ4nS-BheEjXSF.js +110 -0
- package/dist/assets/MyPendingActivationChargeCardListPage-DuOoKlPP-thKNb-ry.js +6 -0
- package/dist/assets/MyProfileSettingsPage-CA-5gU5k-BFEIvdNu.js +85 -0
- package/dist/assets/{NavBarWithPicker-CKh_HMfV-i4ObGPrS.js → NavBarWithPicker-DuazRsm7-BXAVo-zX.js} +4 -4
- package/dist/assets/{NavigationArrow-XZmJpDrE-DolsLofY.js → NavigationArrow-DnZuPnXh-BOLYjEri.js} +2 -2
- package/dist/assets/{NavigationDots-BxPgEW_p-Cjr25BX_.js → NavigationDots-DarWlthl-CEtLiSj-.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-K2NUXsKS.js → NewGlobalMerchantPage-C5zI88lM-DBDRlSHQ.js} +35 -35
- package/dist/assets/{NoDataChart-5E72SElf-3CnLxisw.js → NoDataChart-Dwrv5FXT-BktYGhJl.js} +4 -4
- package/dist/assets/{NoDataTable-BwHbkm3l-VTHrTfOq.js → NoDataTable-BT9VQUID-B1zJzLW9.js} +2 -2
- package/dist/assets/{NotFoundPage-6udaksBZ-DUgTbMe0.js → NotFoundPage-BpVYjIy9-CAwSGm4b.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DkYmxMgg-BVRECpS0.js → NotificationSettingsPage-Br1VS7sj-D72VzMEy.js} +32 -32
- package/dist/assets/{NotificationsListConfig-FGxLgO1o-C0kfEx8A.js → NotificationsListConfig-COCJ7xUp-B665e_3O.js} +1 -1
- package/dist/assets/NotificationsPage-CtIcIo4T-DuWbZv_Q.js +685 -0
- package/dist/assets/{OpExByVendorPage-CM0RluUk-PZB-G7xm.js → OpExByVendorPage-CTdChrGD-CvW5Vepn.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BKHs_4eI-CSsJiY_P.js → OverlayContainerPage-CU1AAMcq-ai6w2Y-V.js} +2 -2
- package/dist/assets/PandLWithForecastPage-DVhAvUAV-CoqLEkYS.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-Cwm2aoR2.js → PaymentAccountSetupBillingAddressSection-Cqk9_T2U-B2k-ZLJe.js} +9 -9
- package/dist/assets/{PeoplePage-CB3T3u_F-BR69e4ui.js → PeoplePage-BR4qd-jm-CBOJNYwE.js} +95 -95
- package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-1mutznS7.js → PortfolioAllocationFormPage-T83_xyer-BkoO9beS.js} +13 -13
- package/dist/assets/{PortfolioDetails-D4yT8r35-BZAutCbg.js → PortfolioDetails-6ElQWU58-ByHc7XYH.js} +35 -35
- package/dist/assets/{ProductsCarousel-CR7_rk0K-CKMGS-I4.js → ProductsCarousel-CijsxgpU-C19z6U57.js} +10 -10
- package/dist/assets/{PromoBaseCards-BAPolzxE-DjUVr5kX.js → PromoBaseCards-BWsv2pTB-B6b592gJ.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-D3eazhj7-DCdAj667.js → QBOConnectionDialog-ChKHWoK7-CSeEHm2_.js} +7 -7
- package/dist/assets/{QBOSetupSection-Cjjhm_Ee-CX61tnWs.js → QBOSetupSection-C4gt0qc8-DTKMvJ4_.js} +12 -12
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BwgWdSTd-NVamJEor.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-DOLnlfRe.js → ReimbursementApprovalRulesPage-C2asBtuf-DT1aAQsK.js} +12 -12
- package/dist/assets/ReimbursementDetailPage-DS1ewUKC-CVEFgQmR.js +314 -0
- package/dist/assets/ReimbursementPromoPage-5OaQjA8F-DErLTtUx.js +84 -0
- package/dist/assets/ReimbursementSetUpPage-Bl8jzyRg-3jDcWgfT.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DIesC2GA-CmjN--dc.js +1 -0
- package/dist/assets/{ReloadCard-Dpoxd9nE-_RGkkZLm.js → ReloadCard-0q5pQ13T-CKzHIqK2.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-D0sA8766.js → ReportTableViewSelector-C0SiD_xG-BLDdaXUR.js} +29 -29
- package/dist/assets/ReportsPage-GTIPR29D-BtSUMj6k.js +121 -0
- package/dist/assets/{RevenueChart-CXMBT3cr-BigDcfmP.js → RevenueChart-C099OBIz-BCjETeYD.js} +29 -29
- package/dist/assets/ReviewDetailsPage-Dj29qJWr-znzq99Zm.js +290 -0
- package/dist/assets/{ReviewOverlay-C6Kx7Hfm-Aab2M4el.js → ReviewOverlay-OPfHsiEH-DYnwxQBa.js} +13 -13
- package/dist/assets/{RoleWithToolTip-BqI6M0x_-3Pz3ZAbU.js → RoleWithToolTip-CnJMJF5X-DPQwf2SV.js} +2 -2
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BojehSaf-CqIP5z2b.js +37 -0
- package/dist/assets/ScheduleDetailsPage-aZbK93Nq-BFB854u3.js +37 -0
- package/dist/assets/ScheduleSequenceTable-By6Dky2k-cVt4Itnj.js +324 -0
- package/dist/assets/ScreenRoutes-m-9CX7nW.js +206 -0
- package/dist/assets/SetUpAccountSection-B_VtQMHv-v5HWkW-2.js +378 -0
- package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js → SetUpDefaultSection-CR4EJd0L-DR8b1nlJ.js} +15 -15
- package/dist/assets/{SignIn-BlISBvt5-BSeULTEW.js → SignIn-DlL4Ve5C-CS2k0j8x.js} +28 -28
- package/dist/assets/SignInScreen-82F821nF.js +1 -0
- package/dist/assets/SpendManagementListViewPage-hcbJnpe0-Dx5Mkywb.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-CZMtZLLG-BwL9QJKu.js +754 -0
- package/dist/assets/SpendManagementSection-v3VQ4WLv-BgJcZL_k.js +230 -0
- package/dist/assets/SpendMgmtSetupAccountSection-BstM92cv-D_s447NX.js +206 -0
- package/dist/assets/{StatementItem-BVIVLdDn-DWQxeT2X.js → StatementItem-DHN42swg-QQn_8xP5.js} +2 -2
- package/dist/assets/StatementsPage-BuWUMrMJ-ClESyfR5.js +58 -0
- package/dist/assets/{StatusSwitcher-aAizq1mr-c-jcIGD9.js → StatusSwitcher-BQIZqQby-CwGTf6Yt.js} +2 -2
- package/dist/assets/{SubTabSwitcher-COrYJ6CW-BIZF-iNv.js → SubTabSwitcher-BwULcWpV-KD7oZVm0.js} +1 -1
- package/dist/assets/{SummaryCard-Dv0dWKBw-CGu-GHYa.js → SummaryCard-sp4k0Xek-DgWj-oz4.js} +1 -1
- package/dist/assets/TaskManagementPage-N2Egdy4r-qGkYEZ7q.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js → TimeRangeSwitcher-BbGr7Bdf-CGee3poJ.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js → TimeframeSwitcher-CqP9hXqB-r5frPdgi.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-D7U0L-cV.js → TimeframeSwitcherWithToggle-C-Nxe_F8-C62_HCuz.js} +1 -1
- package/dist/assets/{TopExCard-Bam-Q4MV-BsP_HKjG.js → TopExCard-CLw0PDAU-BbYnCf3a.js} +5 -5
- package/dist/assets/{TopExDetailPage-P0Twt5zZ-CoHp8hDQ.js → TopExDetailPage-GLquKOoy-kMqzF42L.js} +12 -12
- package/dist/assets/TransactionDetailPage-cTLfJiHb-1yZP6Zin.js +912 -0
- package/dist/assets/TransactionList-SkjGKFn_-BwaaUL7x.js +147 -0
- package/dist/assets/TransactionListBig-B4CiUxir-C15l10qy.js +284 -0
- package/dist/assets/{TransactionListPage-D4GJ6i3l-yaso0Nlb.js → TransactionListPage-eiEKrfCB-CXZ0iEN3.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-kFca8x3E.js → TransactionVendorDetailPage-CySokm3L-BpHJwA9m.js} +5 -5
- package/dist/assets/{TransferDrawerPage-GD2I8ptj-CANT8JC_.js → TransferDrawerPage-BSv0D4Zs-BT9NFCI4.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-C5hIMuk--DxAuBNvx.js +708 -0
- package/dist/assets/{TreasuryPromoPage-DW1f8_q1-CkWefV3r.js → TreasuryPromoPage-DSJHOwhj-BeQhN-a8.js} +6 -6
- package/dist/assets/{TreasurySetupPage-53k6ARHC-DuoYqIOy.js → TreasurySetupPage-B_EmY_UY-DAaCNRGd.js} +5 -5
- package/dist/assets/{TreasuryStatementsPage-pIshKNaR--8vN-IgR.js → TreasuryStatementsPage-BrZVJwAL-Bs1LrL-1.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CkqZdxpj.js → TreasuryTaxLetterPage-DsmLrBId-CRVnttNh.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-WB0pVkO6-BWBLW8Tp.js +576 -0
- package/dist/assets/TrendChart-CWR5JV7S-Bu3AQa_8.js +16 -0
- package/dist/assets/{TrendWithTransactions-mI_El5D1-DUVZm_U-.js → TrendWithTransactions-D9x71aZs-CM8kaEfz.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-BNgZRg4x.js → UncategorizedAccountsMappingPage-Tx1NEXyX-DoWK8o5r.js} +47 -47
- package/dist/assets/{UnitIntegrationPage-XOWqGHla-BIoTpmZ_.js → UnitIntegrationPage-aTpJwSQj-BYrPkyiL.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BVMdCZ9e-BITtYlPW.js +38 -0
- package/dist/assets/Vendor2FAPopup-BtVySDI--nsMiWnZu.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-CswCvAFH-DqnJleBx.js → VendorACHDetailsPage-Cx9VUYTN-CUP3Cq5s.js} +1 -1
- package/dist/assets/VendorDetailPage-BTBlddyH-Bc_YJfHo.js +257 -0
- package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-GbXdyYXP.js → VendorDomesticWireDetailsPage-DIQg-f5b-Bwf6L3re.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-GKQT7vTw.js → VendorFiling1099EditablePage-CZzpO5dU-BLT7WxiF.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-_Bf2O8Hk-B9tTYmRJ.js +730 -0
- package/dist/assets/VendorInternationalWireDetailsPage-DmM691ao-Dzdr5mG2.js +152 -0
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-eVlfJ9f_.js → VendorInternationalWireSwiftDetailsPage-CmfDU583-Dk7aONaM.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C13Z2HN9-DvGRJwYY.js → VendorsAccountsSection-VX_qjrvm-R24t7Q7V.js} +4 -4
- package/dist/assets/VerifyDevice-pndtId1R-C8OsQHlo.js +112 -0
- package/dist/assets/{VideoPlayer-ByyqUuhG-CcmvFcG0.js → VideoPlayer-Cv2VluI6-D2yBmBgw.js} +1 -1
- package/dist/assets/{VideoPopup-DJrQQTPq-BZRShVLd.js → VideoPopup-DwltINTO-0GPyihNZ.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-C_aFzWZK.js → WarningsDrawerPage-I6fXTo8V-B0kNeHBS.js} +5 -5
- package/dist/assets/ZeniAccountDetailPage-BhqYqyk--DeI4__gE.js +300 -0
- package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-wW_PUJNB.js → ZeniAccountListViewPage-M7S_ZBj4-94TU34gP.js} +12 -12
- package/dist/assets/ZeniAccountNavBarPieces-Crjx7iNX-DK8JxCJS.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-CoCFGvia.js → ZeniAccountPromoPage-rK7P_Dpk-DmoLuwn8.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-CPTq7KjK.js → ZeniAccountSetupPage-B8yrjDVW-gPUnEzAZ.js} +1 -1
- package/dist/assets/{ZeniCopyright-B7Q6IUGC-DjtbTVnp.js → ZeniCopyright-BDsnkVlH-C00Fssys.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-D-BoRJmd.js → ZeniTransferAmountSlider-BCVTdEWO-p69HMFsD.js} +3 -3
- package/dist/assets/{analyticsHelper-L-FpsGLH.js → analyticsHelper-CS2u9ax9.js} +1 -1
- package/dist/assets/analyticsHelper-D8CGsPLU-DJI9oEaD.js +1 -0
- package/dist/assets/{chartTypes-DCvOVjlS-CF3jsUNb.js → chartTypes-DLnePN0T-B_54UqyM.js} +1 -1
- package/dist/assets/{commonDimensions-C32v1F7H-C9uaBJ8J.js → commonDimensions-CWOH4KIa-zIW9i9kk.js} +1 -1
- package/dist/assets/{detailCommon-CRAGrqoO-5xMc7u9M.js → detailCommon-COLWOJB--3sJPi-qA.js} +8 -8
- package/dist/assets/downloadPdf-DmVZhHLH-D1xNlFUJ.js +1 -0
- package/dist/assets/{index-kF4u7Flm.js → index-MAXVX6UR.js} +2202 -2025
- package/dist/assets/{lodash-B66NTFTY.js → lodash-D52QloPU.js} +6 -6
- package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js → mapLoadingInProgressToTreeNode-DzagCSPK-Df3QAuQq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js → mapSectionWithAcOnlyToTreeNode-gKc2xWyG-DTjSgiEj.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js → mapSpacerToTreeNode-toSXbVwB-B0PNlKW1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-rcfKFEh1.js → mapTimeframeBalancesToTreeNode-D0Bib2dl-Cgs41-OD.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-BmreU2CJ.js → mapTimeframeBalancesToTreeNode-D63QAMZm-BDtNdJWW.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BuAL-Z9U-Ceeq3tsz.js} +1 -1
- package/dist/assets/redux-CEhZD0hA.js +12 -0
- package/dist/assets/{toCOABalancesWithID-B3yVGPrV-Dj01dEre.js → toCOABalancesWithID-D-AHYPZY-Bomk_rrT.js} +1 -1
- package/dist/assets/toChartData-BIN4xqGz-BcU_F8Ix.js +1 -0
- package/dist/assets/{treasuryColorHelper-13LJ_xhk-5-aGYtqD.js → treasuryColorHelper--7Rf6Fm8-BdEMhZbj.js} +1 -1
- package/dist/assets/{uploadAttachment-DVy2pZeJ-DL6B1oGY.js → uploadAttachment-DwI0nG8D-VCODDzfq.js} +23 -23
- package/dist/assets/{uploadReceipts-Dp1dvCjf-BQPyxtgi.js → uploadReceipts-9DTOr0BG-pwNYcimh.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +6 -9
- package/dist/assets/AccountInfoPage-D-E_-WpE-DJyb7x4k.js +0 -18
- package/dist/assets/AccountLockedInfoModal-BD7Nb81U-ZCs8qzoa.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-BuvZZBZ-.js +0 -239
- package/dist/assets/AccountRow-Be3LIHO--BjLJB43L.js +0 -298
- package/dist/assets/AccountsPromoCardStack-CdBwPVgI-CkQ7kJh8.js +0 -207
- package/dist/assets/AgingReportsPage-L0zQxwCf-D3sUJmot.js +0 -79
- package/dist/assets/AllUserItems-CvwaOEhu-DISgj-9d.js +0 -192
- package/dist/assets/ApAgingDetailPage-B_78aSEv-DLL7XkHo.js +0 -46
- package/dist/assets/AppDrawerContent-BZODvVvi-DQ-V9QL0.js +0 -91
- package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-CRTSWRxG.js +0 -47
- package/dist/assets/ArAgingChart-BezVy1Sm-ClcQ64wd.js +0 -24
- package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-ik9FJnty.js +0 -425
- package/dist/assets/BillDetailPage-CDAh8Jtl-wk3WJY1W.js +0 -266
- package/dist/assets/BillPayPromoPage-B2YcxWc9-ChjVVUdj.js +0 -84
- package/dist/assets/BillPaySetUpPage-oJvoWpFu-ZQ44J65y.js +0 -42
- package/dist/assets/BillingSettingsPage-BRsKYzT5-C1YZEc97.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-09a60H-u.js +0 -1
- package/dist/assets/BusinessVerificationPage-Nw_fedst-Ce7UF4J6.js +0 -138
- package/dist/assets/ChargeCardListPage-v5hH98Wi-BhiUhdgm.js +0 -406
- package/dist/assets/ChargeCardPromoPage-CPEaGOL3-CiA1pNTj.js +0 -222
- package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-Bqw8Kqbv.js +0 -36
- package/dist/assets/ChargeCardUtils-BRgkrCTs-Bo37IpfS.js +0 -1
- package/dist/assets/CollapsableReportTable-7iAngywY-BhPujiYA.js +0 -2932
- package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-B2MTqDnr.js +0 -260
- package/dist/assets/CompanyPassportPage-BQoEcPJr-CLTXsXdq.js +0 -574
- package/dist/assets/CompleteProfile-D5e9TQgy-B3NCfzYL.js +0 -52
- package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-C-tETdxW.js +0 -224
- package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-CdqN8qku.js +0 -1
- package/dist/assets/CustomerOnboardingPage-zBqp9QN6-BMM-roBm.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-DgRG1l8f.js +0 -202
- package/dist/assets/DashboardReportPage-DTMbYOWH-B0H-UpGg.js +0 -371
- package/dist/assets/DepositAccTransactionListPage-CcO673ZL-D1h5XemH.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bhq4tM9b.js +0 -21
- package/dist/assets/DownloadOverlay-DRcasKoB-BTfb8tZj.js +0 -439
- package/dist/assets/EditPeoplePage-Zzo62if7-Clw_H_tG.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-DgdwTZwz.js +0 -865
- package/dist/assets/EntityDetailPage-CzlzOW8n-CjIrlTQm.js +0 -18
- package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-DxIRsn8B.js +0 -1650
- package/dist/assets/ExpressPayPage-DdQiFzDu-CXe6diRB.js +0 -168
- package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Dz5cpAt1.js +0 -291
- package/dist/assets/HelpButton-BNMy-6ce-CVlMGZqS.js +0 -28
- package/dist/assets/InsightsCardStack-CaMZiCnn-DLt2ZmbV.js +0 -79
- package/dist/assets/InvitePeoplePage-C3ecL8XJ-olYxQVFB.js +0 -12
- package/dist/assets/InvoiceUploadSection-DoR834b4-CjFOCIIZ.js +0 -140
- package/dist/assets/LabeledAddressValueField-YP7bXlgZ-D9-PqJNp.js +0 -45
- package/dist/assets/LabeledDocumentField-ED03S2kQ-BGespvxP.js +0 -41
- package/dist/assets/LinkJETransactionPage-_ROjxBMO-C6IEO3Ec.js +0 -98
- package/dist/assets/LowBalancePopup-CZDcHxyW-BSR036zV.js +0 -34
- package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js +0 -17
- package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-uU5Nku5W.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-yyVAdXqO.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BRK5nWg2-BCkp79gR.js +0 -85
- package/dist/assets/NotificationsPage-C7lSAnUb-CEUwTZM_.js +0 -685
- package/dist/assets/PandLWithForecastPage-W4jlNjml-8wxKAhbo.js +0 -107
- package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DDLdjGbX.js +0 -26
- package/dist/assets/ReimbursementDetailPage-AvqEBxbz-ByJDRCe5.js +0 -314
- package/dist/assets/ReimbursementPromoPage-PshodHUZ-CEBQKb7P.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-BMbaH1eU.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-CEJlVV08.js +0 -1
- package/dist/assets/ReportsPage-C7zirS74-oNrbhh6a.js +0 -121
- package/dist/assets/ReviewDetailsPage-ClsyL5-w-rKSUEvaS.js +0 -290
- package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-Dm8QVj-0.js +0 -37
- package/dist/assets/ScheduleDetailsPage-BftjSvA7-D97uCI5t.js +0 -37
- package/dist/assets/ScheduleSequenceTable-lTN7r0p4-BmAjQVGV.js +0 -324
- package/dist/assets/ScreenRoutes-Du6t5Ig_.js +0 -206
- package/dist/assets/SetUpAccountSection-Bnbi8X23-7-Jadv9H.js +0 -378
- package/dist/assets/SignInScreen-BN2xWnU-.js +0 -1
- package/dist/assets/SpendManagementListViewPage-ChNp8dgm-ByNxcaX6.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-C5z49u7s.js +0 -754
- package/dist/assets/SpendManagementSection-kucZgC-H-Cqflt6S1.js +0 -230
- package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-9bAK-YlL.js +0 -206
- package/dist/assets/StatementsPage-KnLUSJbm-DVR36Ge4.js +0 -58
- package/dist/assets/TaskManagementPage-CPLyyK1Y-BZe-OFxL.js +0 -508
- package/dist/assets/TransactionDetailPage-D1Z1f-DD-BPMl_wDr.js +0 -912
- package/dist/assets/TransactionList-BzJEbOV9-0ST5sY1-.js +0 -147
- package/dist/assets/TransactionListBig-u4SJBZTE-BlGBIBoN.js +0 -284
- package/dist/assets/TreasuryOverviewPage-DySunaqy-Du5jK6WV.js +0 -708
- package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-DKViGoiZ.js +0 -576
- package/dist/assets/TrendChart-B_5D-Zud-Cw_zgD-R.js +0 -16
- package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-BNMbNbJQ.js +0 -38
- package/dist/assets/Vendor2FAPopup-BfqIHZBb-DUpQFrOM.js +0 -1
- package/dist/assets/VendorDetailPage-CEX7xMIN-D29fVYfj.js +0 -257
- package/dist/assets/VendorFirstReviewPage-D9ogNmAK-DwoL9x7s.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-N7HCxAFy.js +0 -152
- package/dist/assets/VerifyDevice-C27gEWkZ-BrEq9dHz.js +0 -112
- package/dist/assets/ZeniAccountDetailPage-egmysAfI-CX7srLCt.js +0 -300
- package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-azEwN9c2.js +0 -14
- package/dist/assets/addSubtractPeriod-CFvkmqm8.js +0 -1
- package/dist/assets/analyticsHelper-or1KkBWk-CU2Z2CeD.js +0 -1
- package/dist/assets/downloadPdf-D7p3yKmg-DrJJdcEl.js +0 -1
- package/dist/assets/redux-D-TY61DZ.js +0 -12
- package/dist/assets/toChartData-DEW0iT7T-DaQT4Adc.js +0 -1
package/dist/assets/{AddToWalletPage-nSq-9dQy-D56Hf4hb.js → AddToWalletPage-DNjsPMFK-r8gZ63eR.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as L,
|
|
1
|
+
import{q as L,a9 as le,ax as ne,l as de,O as N,j as t,bF as pe,u as p,j1 as ce,jj as he,o as i,n as W,aM as A,y as m,b as $,H as b,jk as ge,cw as xe,h as r,jl as me,bB as we,d7 as ue,am as $e,C as be,j5 as ye}from"./index-MAXVX6UR.js";import{b as h,n as o,i as B}from"./vendor-Bs1fkIUX.js";import{H as fe}from"./ChargeCardUtils-Cx6ntaue-CziTslau.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-XP_wmSR7.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const Ie=({options:e,selected:a,onToggle:g,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(Be,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),g(n.id)},children:n.label},n.id))]})},We=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
|
@@ -20,7 +20,7 @@ import{q as L,c0 as le,co as ne,cI as de,O as G,j as t,dD as pe,u as p,mG as ce,
|
|
|
20
20
|
z-index: 1;
|
|
21
21
|
padding-top: 20px;
|
|
22
22
|
padding-bottom: 20px;
|
|
23
|
-
`,
|
|
23
|
+
`,Be=o.button`
|
|
24
24
|
${be.smallMedium.cssObject};
|
|
25
25
|
position: relative;
|
|
26
26
|
flex: 1;
|
|
@@ -37,7 +37,7 @@ import{q as L,c0 as le,co as ne,cI as de,O as G,j as t,dD as pe,u as p,mG as ce,
|
|
|
37
37
|
transition: color 0.3s ease;
|
|
38
38
|
padding-top: ${i.sp1};
|
|
39
39
|
padding-bottom: ${i.sp1};
|
|
40
|
-
`,{spendManagement:{chargeCard:{chargeCardsPromo:
|
|
40
|
+
`,{spendManagement:{chargeCard:{chargeCardsPromo:D,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},De=(e,a,g)=>t.jsxs(ot,{translatePhone:e,showIphone:g,children:[t.jsxs(at,{children:[t.jsx(gt,{children:D.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Qe,{children:[t.jsx(Ze,{showTick:a}),t.jsx(_e,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(wt,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(ut,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(ge,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:D.addToWallet})]}),t.jsx(st,{})]}),F=({tabType:e})=>{const a=L();return t.jsxs(Me,{children:[t.jsxs(R,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(M,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(H,{})]}),t.jsxs(R,{children:[t.jsx(Le,{children:t.jsx(Oe,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.verifyCard})]}),t.jsxs(M,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(H,{})]})]})},Rt=({onGotItClick:e,isDebitCard:a,controllerEmails:g,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:O,creditAccountRepayment:V,cardIssuedByRoles:J,cardIssuedByDepartmentName:U,cardHolderRoles:X,cardHolderDepartmentName:Y})=>{const s=L(),q=le().analytics,[T,K]=h.useState(!1),[z,Q]=h.useState(!1),[Z,_]=h.useState(!1),[ee,te]=h.useState(!1),[S,ie]=h.useState("apple"),oe=ne(),ae=de.hasChargeCardAdminLevelAccess(oe.loggedInUserRoleMap),re=I=>{fe({chargeCardDetailView:G,classListFetchState:l,analytics:q,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:U,cardHolderRoles:X,cardHolderDepartmentName:Y,controllerEmails:g,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:O,creditAccountRepayment:V}),ie(I)};h.useEffect(()=>{setTimeout(()=>{K(!0)},a?9500:4500),setTimeout(()=>{Q(!0)},a?9e3:4e3),setTimeout(()=>{_(!0)},a?10500:5500),setTimeout(()=>{te(!0)},a?15e3:1e4)},[a]);const se=T&&z,x=N.getLocalizedStrings().spendManagement.chargeCard;return t.jsx(vt,{windowSize:s,children:t.jsxs(Ue,{children:[t.jsx(pe,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),t.jsxs(Xe,{windowSize:s,children:[t.jsx(yt,{windowSize:s,children:x.addToWallet.heading}),t.jsx(ft,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(Ye,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(qe,{windowSize:s,children:[t.jsxs(Ke,{windowSize:s,flipCard:T,scaleCard:z,children:[t.jsx(ce,{isDebitCard:a}),t.jsx(he,{showCrossIcon:!1,isDebitCard:a})]}),De(Z,ee,se)]})}):null,t.jsxs(Re,{windowSize:s,children:[t.jsx(Ee,{children:t.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Je,{}),t.jsx(P,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Ve,{}),t.jsx(P,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Fe,{children:[t.jsx(He,{isActive:S==="apple",children:t.jsx(F,{tabType:"apple"})}),t.jsx(Pe,{isActive:S==="google",children:t.jsx(F,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Fe=o.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
position: relative;
|
|
43
43
|
width: 100%;
|
|
@@ -66,7 +66,7 @@ import{q as L,c0 as le,co as ne,cI as de,O as G,j as t,dD as pe,u as p,mG as ce,
|
|
|
66
66
|
display: flex;
|
|
67
67
|
width: ${({windowSize:e})=>e==="small"?"100%":"369px"};
|
|
68
68
|
flex-direction: column;
|
|
69
|
-
`,
|
|
69
|
+
`,Ee=o.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
height: ${i.sp8};
|
|
72
72
|
width: 100%;
|
|
@@ -78,7 +78,7 @@ import{q as L,c0 as le,co as ne,cI as de,O as G,j as t,dD as pe,u as p,mG as ce,
|
|
|
78
78
|
text-transform: none;
|
|
79
79
|
margin-left: ${i.sp2};
|
|
80
80
|
cursor: pointer;
|
|
81
|
-
`,
|
|
81
|
+
`,Me=o.div`
|
|
82
82
|
display: flex;
|
|
83
83
|
flex-direction: column;
|
|
84
84
|
margin-top: ${i.sp6};
|
|
@@ -87,7 +87,7 @@ import{q as L,c0 as le,co as ne,cI as de,O as G,j as t,dD as pe,u as p,mG as ce,
|
|
|
87
87
|
border-radius: ${i.sp4};
|
|
88
88
|
background: ${r.successLight};
|
|
89
89
|
display: flex;
|
|
90
|
-
`,
|
|
90
|
+
`,Ne=o.div`
|
|
91
91
|
padding: 12px;
|
|
92
92
|
border-radius: ${i.sp4};
|
|
93
93
|
background: ${e=>e.theme.colors.graphColor16Light};
|
|
@@ -96,14 +96,14 @@ import{q as L,c0 as le,co as ne,cI as de,O as G,j as t,dD as pe,u as p,mG as ce,
|
|
|
96
96
|
display: flex;
|
|
97
97
|
align-items: center;
|
|
98
98
|
gap: ${i.sp3};
|
|
99
|
-
`,
|
|
99
|
+
`,E=o(b)`
|
|
100
100
|
${({windowSize:e})=>y.walletTitleFont.style(e)}
|
|
101
101
|
color: ${e=>e.theme.colors.primary};
|
|
102
|
-
`,
|
|
102
|
+
`,M=o(b)`
|
|
103
103
|
${({windowSize:e})=>y.walletSubTitleFont.style(e)}
|
|
104
104
|
color: ${e=>e.theme.colors.hero};
|
|
105
105
|
margin-left: ${i.sp9};
|
|
106
|
-
`,
|
|
106
|
+
`,Ge=o(ze)`
|
|
107
107
|
width: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
|
|
108
108
|
height: ${({windowSize:e})=>c.openWalletIconWidthHeight.valuePx(e)};
|
|
109
109
|
color: ${e=>e.theme.colors.link};
|
|
@@ -113,27 +113,27 @@ import{q as L,c0 as le,co as ne,cI as de,O as G,j as t,dD as pe,u as p,mG as ce,
|
|
|
113
113
|
`,Ve=o(ve)`
|
|
114
114
|
height: ${i.sp4};
|
|
115
115
|
width: ${i.sp4};
|
|
116
|
-
`,
|
|
116
|
+
`,Je=o(je)`
|
|
117
117
|
height: ${i.sp4};
|
|
118
118
|
width: ${i.sp4};
|
|
119
|
-
`,
|
|
119
|
+
`,Ue=o.div`
|
|
120
120
|
height: 100%;
|
|
121
121
|
width: 100%;
|
|
122
122
|
display: flex;
|
|
123
123
|
flex-direction: column;
|
|
124
|
-
`,
|
|
124
|
+
`,Xe=o.div`
|
|
125
125
|
width: 100%;
|
|
126
126
|
display: flex;
|
|
127
127
|
flex-direction: column;
|
|
128
128
|
margin-top: ${({windowSize:e})=>c.headingMarginTop.valuePx(e)};
|
|
129
129
|
margin-bottom: ${({windowSize:e})=>c.headingMarginBottom.valuePx(e)};
|
|
130
|
-
`,
|
|
130
|
+
`,Ye=o.div`
|
|
131
131
|
${e=>e.windowSize==="small"?"height: 100%;":null};
|
|
132
132
|
display: flex;
|
|
133
133
|
justify-content: center;
|
|
134
|
-
${e=>e.windowSize==="small"?
|
|
134
|
+
${e=>e.windowSize==="small"?B`
|
|
135
135
|
margin: ${i.sp0} ${i.sp3};
|
|
136
|
-
`:
|
|
136
|
+
`:B`
|
|
137
137
|
width: 100%;
|
|
138
138
|
`};
|
|
139
139
|
`,qe=o.div`
|
|
@@ -151,13 +151,13 @@ import{q as L,c0 as le,co as ne,cI as de,O as G,j as t,dD as pe,u as p,mG as ce,
|
|
|
151
151
|
transform-style: preserve-3d;
|
|
152
152
|
border-radius: ${i.sp2};
|
|
153
153
|
box-shadow: ${e=>`1px 3px ${i.sp4} ${i.sp0} ${e.theme.colors.chargeCardBackgroundShadow}`};
|
|
154
|
-
`,
|
|
154
|
+
`,Qe=o.div`
|
|
155
155
|
position: relative;
|
|
156
156
|
height: 118px;
|
|
157
157
|
width: 182px;
|
|
158
158
|
margin: 13px;
|
|
159
159
|
margin-top: 60px;
|
|
160
|
-
`,
|
|
160
|
+
`,Ze=o(Se)`
|
|
161
161
|
height: 36px;
|
|
162
162
|
width: 36px;
|
|
163
163
|
position: absolute;
|
|
@@ -166,7 +166,7 @@ import{q as L,c0 as le,co as ne,cI as de,O as G,j as t,dD as pe,u as p,mG as ce,
|
|
|
166
166
|
color: ${e=>e.theme.colors.hero};
|
|
167
167
|
opacity: ${e=>e.showTick?0:1};
|
|
168
168
|
transition: opacity 0.5s linear;
|
|
169
|
-
`,
|
|
169
|
+
`,_e=o(Ce)`
|
|
170
170
|
height: 36px;
|
|
171
171
|
width: 36px;
|
|
172
172
|
position: absolute;
|
|
@@ -260,14 +260,14 @@ import{q as L,c0 as le,co as ne,cI as de,O as G,j as t,dD as pe,u as p,mG as ce,
|
|
|
260
260
|
margin-left: 0.5px;
|
|
261
261
|
border-top-right-radius: 1px;
|
|
262
262
|
border-bottom-right-radius: 1px;
|
|
263
|
-
`,gt=o(me)``,C=o.div``,xt=o(
|
|
263
|
+
`,gt=o(me)``,C=o.div``,xt=o(ue)`
|
|
264
264
|
width: ${i.sp7};
|
|
265
265
|
height: ${i.sp7};
|
|
266
266
|
color: ${r.success};
|
|
267
267
|
margin-top: ${i.sp4};
|
|
268
268
|
opacity: ${e=>e.showTick?1:0};
|
|
269
269
|
transition: opacity 0.5s linear;
|
|
270
|
-
`,mt=o(
|
|
270
|
+
`,mt=o($e)`
|
|
271
271
|
color: ${r.primaryLight};
|
|
272
272
|
opacity: ${e=>e.showTick?1:0};
|
|
273
273
|
transition: opacity 0.5s linear;
|
|
@@ -283,14 +283,14 @@ import{q as L,c0 as le,co as ne,cI as de,O as G,j as t,dD as pe,u as p,mG as ce,
|
|
|
283
283
|
hsla(0, 0%, 100%, 0.8),
|
|
284
284
|
hsla(0, 0%, 100%, 0.8)
|
|
285
285
|
);
|
|
286
|
-
|
|
286
|
+
`,ut=o.div`
|
|
287
287
|
width: ${e=>e.lineIndex===0?"66px":e.lineIndex===1?"112px":"55px"};
|
|
288
288
|
border: 2px solid ${r.brandColorGold};
|
|
289
289
|
margin-bottom: ${e=>e.lineIndex===1?"22px":"12px"};
|
|
290
290
|
border-radius: ${i.sp2};
|
|
291
291
|
margin-left: ${i.sp3};
|
|
292
292
|
margin-top: ${e=>e.lineIndex===0?i.sp4:i.sp0};
|
|
293
|
-
|
|
293
|
+
`,$t=o(we)`
|
|
294
294
|
color: ${e=>e.theme.colors.brandColorJade};
|
|
295
295
|
width: ${i.sp3};
|
|
296
296
|
height: ${i.sp3};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import{c as K,q as O,l as M,O as w,i1 as be,j as t,i2 as De,bZ as Ne,i3 as je,bH as Oe,bF as ve,y as D,ab as F,gh as ke,o as N,aS as Pe,u as m,aN as V,ct as Be,cu as $e,cv as Ae,am as Me,cw as Ie,b3 as ne,aC as oe,aU as re}from"./index-MAXVX6UR.js";import{b as f,n as x}from"./vendor-Bs1fkIUX.js";import{n as I}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{L as Ye,k as ze}from"./ArAgingChart-CuHk_U2p-D7juYPVe.js";import{C as ie}from"./NoDataChart-Dwrv5FXT-BktYGhJl.js";import{I as se,R as $}from"./CollapsableReportTable-rEGCWPrN-DiziLVLU.js";import{d as le}from"./NoDataTable-BT9VQUID-B1zJzLW9.js";import{l as ce}from"./mapSpacerToTreeNode-toSXbVwB-B0PNlKW1.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./chartTypes-DLnePN0T-B_54UqyM.js";import"./AccountRow-C6z4Ft3r-BFimoTCg.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Le={chartHeight:new D(288,360)},de=x.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
`,ge=x.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex: 1 1 auto;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
height: ${e=>Le.chartHeight.valuePx(e.windowSize)};
|
|
8
|
+
padding-bottom: ${N.sp6};
|
|
9
|
+
`;function Re({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(Fe,{report:e}):t.jsx(Te,{report:e})}function Fe({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:w.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ge,{windowSize:a,children:t.jsx(ne,{children:({height:o,width:i})=>t.jsx(Ye,{isDetailPage:!0,report:e,width:i,height:o})})})}function Te({report:e}){const a=O();return e.agingBalances.length===0?t.jsx(de,{children:t.jsx(ie,{title:w.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 qe({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(qe({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:n,ancestorMetadata:c})),r}function Ke({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 H({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 He=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=H({agingPeriods:i,config:a}),r=[];r.push(l);const u=n.map((d,g)=>Ke({agingBalances:d,title:d.vendor.name,numOfBalances:c,isLastNode:g===n.length-1,config:a}));r.push(...u);const p=me({title:w.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${w.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:r}},Ue=(e,a,o=!0)=>{const{agingPeriods:i,totalBalances:s,agingBalances:n}=e,c=i.length,l=H({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:w.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:c});return r.push(p),[...Array(1)].forEach((d,g)=>{r.push(ce({title:`${g}+${w.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=H({agingPeriods:s,config:a});return{config:a,headerNodes:i?[n]:[],contentNodes:[n,...e.contentNodes.slice(1)]}}const j={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])},Y=x.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
position: sticky;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
padding-top: ${e=>j.wrapperPadding.valuePx(e.windowSize)};
|
|
14
|
+
padding-left: ${e=>j.wrapperPadding.valuePx(e.windowSize)};
|
|
15
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
16
|
+
`,he=x.div`
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: calc(100vh - ${N.sp11});
|
|
19
|
+
`;function Ge({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(We,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function We({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),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=He(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(Y,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(Y,{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:j.contentPaddingLeft.value(l),right:j.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,C)=>{a(g,C)},[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 C=Ue(e,g,p);n(e),l(C)}else{const C=ue(c,g,e,p);l(C)}},[e,d]),e.agingBalances.length===0?t.jsx(Y,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(Y,{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:j.contentPaddingLeft.value(r),right:j.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Ze={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Qe=x.div`
|
|
20
|
+
display: flex;
|
|
21
|
+
width: 100%;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
align-items: center;
|
|
24
|
+
overflow: auto;
|
|
25
|
+
column-gap: ${e=>Ze.summaryColumnGap.valuePx(e.windowSize)};
|
|
26
|
+
`,X=x.div`
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
`,ee=x(Me)`
|
|
32
|
+
color: ${e=>e.theme.colors.grey1};
|
|
33
|
+
text-wrap: nowrap;
|
|
34
|
+
width: fit-content;
|
|
35
|
+
`,te=x(Ie)`
|
|
36
|
+
color: ${e=>e.theme.colors.primary};
|
|
37
|
+
`;function Ve({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:w.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:V("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?w.getLocalizedStrings().reports.aging.apAging.totalPayable:w.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:V("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:b,reports:{common:Xe,aging:B}}=w.getLocalizedStrings();function vt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:C,onEntityNameClick:fe,updateDownloadStateHandler:z,onNodeCollapseToggled:xe}=e,{fetchState:v,reportTitle:ye,reportId:y}=n,{searchString:k,downloadState:A,sortKey:E,sortOrder:L,selectedDate:S,agingDateSelectionType:U}=c,{authParams:G,downloadEndPoint:W,timezone:J}=l,Z=f.useCallback((h,_)=>{const P=ae(_);u(h,P),r.trackAgingReportDateChange(I(y),S!=null?S.format(b.analytics.YYYYDashMMDashDDFormat):M.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,y,S]),Q=f.useCallback(h=>{const _=be({options:B.preComputedDurationOptions.map(({label:R,value:_e})=>({label:R,value:M.toCOABalanceTimeframe(_e)})).filter(({value:R})=>R!=null),selectedDate:h}),P=ae(_);u(h,P),r.trackAgingReportDateChange(I(y),S!=null?S.format(b.analytics.YYYYDashMMDashDDFormat):M.dateNow().format(b.analytics.YYYYDashMMDashDDFormat),h.format(b.analytics.YYYYDashMMDashDDFormat),P)},[r,u,y,S]),we=f.useCallback((h,_)=>{C(h,_),r.trackAgingReportSortChange(I(y),_,h)},[r,C,y]),Se=f.useCallback(()=>t.jsx(De,{maxDate:M.dateNow(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:lt(U),preComputedOptionDateFormat:b.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:Z},onSelectedDateChanged:Q}),[S,Z,Q,U]);if(f.useEffect(()=>{async function h(){const _={companyName:l.companyName,searchString:k,sortKey:E,sortOrder:L,statementFileType:"excel",timezone:J,reportId:y==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await et(W,G,_),z("Completed"),r.trackAgingReportDownloadClick(I(y),E,L)}o&&A!=="In-Progress"&&(i(!1),z("In-Progress"),h())},[G,W,l.companyName,A,o,y,k,E,L,z,S,r,J]),v==="Error")return t.jsxs(at,{children:[t.jsx(nt,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(ot,{children:Xe.failed})]});const Ce=t.jsxs(t.Fragment,{children:[t.jsx(je,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:y==="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:A==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(A==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(rt,{children:[t.jsx(ve,{title:ye,subTitle:Se(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Ce,downloadPresent:!0,style:{marginBottom:q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(F,{controller:v==="In-Progress"||v==="Not-Started",children:t.jsx(ke,{fetchState:v})}),t.jsxs(F,{controller:v==="Completed",children:[t.jsx(F,{controller:k.length===0,children:t.jsxs(st,{windowSize:s,children:[t.jsx(it,{children:t.jsx(Ve,{reportId:y==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Re,{report:n})]})}),t.jsx(Ge,{report:n,onSortOrderChange:we,onEntityNameClick:fe,onNodeCollapseToggled:xe})]})]})}async function et(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(tt(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();Ae(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 tt(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:w.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const at=x.div`
|
|
38
|
+
display: flex;
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: calc(100% - 60px);
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
align-items: center;
|
|
44
|
+
`,nt=x.div`
|
|
45
|
+
height: 96px;
|
|
46
|
+
width: 96px;
|
|
47
|
+
background: ${e=>e.theme.colors.background};
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
& svg {
|
|
51
|
+
margin: ${N.sp5};
|
|
52
|
+
color: ${e=>e.theme.colors.grey1};
|
|
53
|
+
}
|
|
54
|
+
&:hover {
|
|
55
|
+
& svg {
|
|
56
|
+
color: ${e=>e.theme.colors.primary};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`,ot=x(Pe)`
|
|
60
|
+
margin-top: ${N.sp3};
|
|
61
|
+
color: ${e=>e.theme.colors.hero};
|
|
62
|
+
`,rt=x.div`
|
|
63
|
+
display: flex;
|
|
64
|
+
flex: 1 1 auto;
|
|
65
|
+
height: 100vh;
|
|
66
|
+
flex-direction: column;
|
|
67
|
+
width: 100%;
|
|
68
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
69
|
+
padding: ${N.sp0};
|
|
70
|
+
gap: 2px;
|
|
71
|
+
`,it=x.div`
|
|
72
|
+
margin-bottom: ${N.sp6};
|
|
73
|
+
`,st=x.div`
|
|
74
|
+
position: relative;
|
|
75
|
+
box-shadow: ${e=>`2px 2px ${N.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
76
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
77
|
+
padding-left: ${e=>q.wrapperPadding.valuePx(e.windowSize)};
|
|
78
|
+
padding-right: ${e=>q.wrapperPadding.valuePx(e.windowSize)};
|
|
79
|
+
`,lt=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{vt as default,tt as toDownloadAgingReportOptionsPayload};
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import{d3 as G,eD as Ie,q as B,j as l,aM as P,l as q,O as E,y as R,o as i,b8 as re,n as ie,am as ne,dd as Pe,cw as Ce,g5 as J,g6 as K,cO as X,u as L,c5 as Oe,aJ as te,gX as de,g8 as T,g7 as ce,g9 as pe,a$ as me,gY as Se,h as ue,da as ge,an as he,db as Re,ae as Te}from"./index-MAXVX6UR.js";import{n as p,b as A}from"./vendor-Bs1fkIUX.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-DHOsMX6S-5w6248s9.js";import{j as ve,C as be}from"./LabeledZeniRolesDropDownField-DcUdbKa4-fYq87dcd.js";const _=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new R(120,120,160),toolTipWidth:new R(215,237)},g=E.getLocalizedStrings().peoplePage,ze=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:$,isBankingOnlyTenant:m,isCardsOnlyTenant:b,isEdit:U,person:x,analytics:f})=>{const w=B(),C=se.largeLabelWidth.value(w),{setValue:O}=G(),D=te(h),y=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=A.useMemo(()=>te(X.roles),[]),u=q.hasInvestorBankerLevelAccess(e.role);return A.useEffect(()=>{(u||m||b)&&O("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&O("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,b]),l.jsxs(ke,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:_(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:T(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Y,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(ve,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:_(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,b)},productsByUserRole:J(e.role,$)},registerOptions:{required:!0}}}),l.jsx(Y,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(De,{}),userSingleSelectWithSubTitlesField:{name:_(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],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:T(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(Y,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:_(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||b?g.notApplicable:T(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||b)},isDisabled:u||m||b?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||b?"disabled":void 0,opacity:u||m||b?.32:1}),U?null:l.jsxs(Le,{windowSize:w,children:[g.invitePage.controllerText,y[0]?l.jsxs(Ue,{href:`mailto:${y[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${y[0].firstName} ${y[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(be,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:_(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:T(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&f?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},De=()=>E.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,ke=p.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
5
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
6
|
+
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
7
|
+
border-radius: ${i.sp2};
|
|
8
|
+
margin-bottom: ${i.sp3};
|
|
9
|
+
.single-select-field__menu {
|
|
10
|
+
border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
|
|
11
|
+
}
|
|
12
|
+
`,Y=p.div`
|
|
13
|
+
display: flex;
|
|
14
|
+
flex: 1;
|
|
15
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
16
|
+
min-height: 1px;
|
|
17
|
+
max-height: 1px;
|
|
18
|
+
`,Le=p(he)`
|
|
19
|
+
padding: ${e=>`${i.sp1} ${e.windowSize==="small"?i.sp3:i.sp4}`};
|
|
20
|
+
background: ${e=>e.theme.colors.grey4};
|
|
21
|
+
border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
|
|
22
|
+
text-align: left;
|
|
23
|
+
color: ${e=>e.theme.colors.grey1};
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
26
|
+
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
27
|
+
gap: ${e=>e.windowSize==="small"?i.sp0:"6px"};
|
|
28
|
+
`,Ue=p.a`
|
|
29
|
+
color: ${e=>e.theme.colors.hero};
|
|
30
|
+
text-decoration: none;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
gap: 6px;
|
|
35
|
+
.arrowIcon {
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
height: ${i.sp3};
|
|
38
|
+
width: ${i.sp3};
|
|
39
|
+
}
|
|
40
|
+
:hover {
|
|
41
|
+
color: ${e=>e.theme.colors.primary};
|
|
42
|
+
.arrowIcon {
|
|
43
|
+
color: ${e=>e.theme.colors.primary};
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new R(125,140,160),toolTipWidth:new R(246,250)},c=E.getLocalizedStrings().peoplePage,Ne=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:$,index:m,customerRoleOptions:b,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:f})=>{const w=B(),{getValues:C,formState:{errors:O},setValue:D}=G(),y=oe.largeLabelWidth.value(w),[N,...M]=$,u=M.map(d=>d.email).join(","),r=A.useMemo(()=>X.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=q.hasInvestorBankerLevelAccess(e.role);return A.useEffect(()=>{(n||x||f)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,f]),l.jsxs(Be,{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=>!We(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(j=>!j.match(Se)).reduce((j,I)=>j&&I)}},placeholder:T(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ee(C("userItems"),F(t,"email"),m,o,O)}),l.jsx(Z,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(ve,{label:{label:c.invitePage.role,width:y},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(x,f)},productsByUserRole:J(e.role,b)},registerOptions:{required:!0}}}),l.jsx(Z,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:y},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(Fe,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const j=s.findIndex(I=>I.userId===d);if(j!==-1){const I=s[j],k=h.find(S=>S.classId===I.userRole.accountingClassIDs[0]),v=[];return k!=null&&v.push(k.className),v}else return[]},placeholderLabel:n?c.notApplicable:T(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(Z,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:y},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||f?c.notApplicable:T(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||f)},isDisabled:n||x||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||f?"disabled":void 0,opacity:n||x||f?.32:1}),l.jsx(Z,{}),U?null:l.jsxs(Me,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ze,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(be,{label:{label:c.invitePage.role,width:y},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:T(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},Fe=()=>E.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,We=(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))},Be=p.div`
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
50
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
51
|
+
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
52
|
+
border-radius: ${i.sp2};
|
|
53
|
+
margin-bottom: ${i.sp3};
|
|
54
|
+
.single-select-field__menu {
|
|
55
|
+
border: ${e=>e.windowSize==="small"?`1px solid ${e.theme.colors.grey3}`:"unset"};
|
|
56
|
+
}
|
|
57
|
+
`,Z=p.div`
|
|
58
|
+
display: flex;
|
|
59
|
+
flex: 1;
|
|
60
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
61
|
+
min-height: 1px;
|
|
62
|
+
max-height: 1px;
|
|
63
|
+
`,Me=p(he)`
|
|
64
|
+
padding: ${e=>`${i.sp1} ${e.windowSize==="small"?i.sp3:i.sp4}`};
|
|
65
|
+
background: ${e=>e.theme.colors.grey4};
|
|
66
|
+
border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
|
|
67
|
+
text-align: left;
|
|
68
|
+
color: ${e=>e.theme.colors.grey1};
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
71
|
+
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
72
|
+
gap: ${e=>e.windowSize==="small"?i.sp0:"6px"};
|
|
73
|
+
opacity: ${e=>e.isDisabled?.32:1};
|
|
74
|
+
`,_e=p.a`
|
|
75
|
+
color: ${e=>e.theme.colors.hero};
|
|
76
|
+
text-decoration: none;
|
|
77
|
+
cursor: ${e=>e.isDisabled?"unset":"pointer"};
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
gap: 6px;
|
|
81
|
+
.arrowIcon {
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
height: ${i.sp2};
|
|
84
|
+
width: ${i.sp2};
|
|
85
|
+
}
|
|
86
|
+
:hover {
|
|
87
|
+
color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
88
|
+
.arrowIcon {
|
|
89
|
+
color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
`,Ee=(e,t,o,a,s)=>{if(Re(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(!Te.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(_e,{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(Ne,{...e})}),Ae=p.div`
|
|
93
|
+
display: flex;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
`,W={buttonWidth:new R(70,70),marginBottom:new R(12,L[3]),deleteContentMarginLeft:new R(L[0],L[3]),containerPaddingTop:new R(L[0],L[3]),addUserWrapperGap:new R(L[1],L[2])},Ve=(e,t,o,a,s,h,$)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:X.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,$)},productsByUserRole:J([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=E.getLocalizedStrings().peoplePage,pl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:$,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:f,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:O=!1,person:D,analytics:y})=>{const{getValues:N}=G(),{append:M,remove:u}=Ie({name:h,control:t}),r=B(),n=N().userItems,d=()=>{const v=n.length-1,S=Ve(v+1,b,U,$,f,w,C);setTimeout(()=>M(S,{shouldFocus:!0}))},j=v=>{a(v)},I=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ge,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((v,S)=>{const je=n.length;let V={};if($==="zeni_only")V={email:v.email,role:Ye(v.role.selectedOptions,O)??void 0};else{const ee=v.nonZeniRole?.userRole.selectedRole,H=ee!=null?(v.nonZeniRole?.productsByUserRole[ee]??[]).map(Q=>q.toUserRoleTypeStrict(Q.selectedOption?.value)).filter(Q=>Q!=null):[],le=H.length>0?q.hasInvestorBankerLevelAccess(H):!1;V={email:v.email,role:H,managerId:le?void 0:v.manager?.selectedUser,departmentId:le?void 0:v.department?.selectedOption?.value}}return l.jsxs(Je,{"data-testid":P("user-item",v.userIndex.toString()),children:[O?null:l.jsx(l.Fragment,{children:je>1?l.jsx(ae,{windowSize:r,children:l.jsx(He,{curIndex:S,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:j,onCancelClick:I,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx(ye,{children:l.jsx($e,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(qe,{isDisabled:e,sectionId:`${h}.${S}`,control:t,user:V,mode:$,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:f,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:O,person:D,analytics:y,index:S}),o===S&&r==="small"?l.jsx(el,{children:l.jsx(fe,{onCancelClick:I,onRemoveUserItem:k})}):null]},S)}):null,O?null:l.jsxs(sl,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(ol,{}),l.jsx(al,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},He=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const $=B();return l.jsxs(we,{children:[l.jsx(ye,{children:l.jsx($e,{windowSize:$,children:`#${e+1} ${z.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=B();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(tl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(Xe,{children:l.jsx(fe,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Ke,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Oe,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(il,{})})})})})},fe=({onCancelClick:e,onRemoveUserItem:t})=>{const o=B();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(ll,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.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:z.invitePage.remove,onClick:t,style:{width:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ye=(e,t)=>t?e:e!=null?[e]:[],Ge=p.div`
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};
|
|
99
|
+
`,Je=p.div`
|
|
100
|
+
.delete-icon-wrapper {
|
|
101
|
+
visibility: hidden;
|
|
102
|
+
}
|
|
103
|
+
&:hover {
|
|
104
|
+
.delete-icon-wrapper {
|
|
105
|
+
visibility: visible;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
`,we=p(re)`
|
|
109
|
+
display: flex;
|
|
110
|
+
width: 100%;
|
|
111
|
+
align-items: center;
|
|
112
|
+
justify-content: space-between;
|
|
113
|
+
color: ${e=>e.theme.colors.champion};
|
|
114
|
+
margin-top: ${i.sp3};
|
|
115
|
+
height: ${i.sp5};
|
|
116
|
+
`,$e=p(re)`
|
|
117
|
+
color: ${e=>e.theme.colors.primary};
|
|
118
|
+
`,ye=p.div`
|
|
119
|
+
display: flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
`,Ke=p.div`
|
|
122
|
+
width: ${i.sp3};
|
|
123
|
+
height: ${i.sp3};
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
position: relative;
|
|
126
|
+
`,Xe=p(ne)`
|
|
127
|
+
display: flex;
|
|
128
|
+
color: ${e=>e.theme.colors.hero};
|
|
129
|
+
align-items: center;
|
|
130
|
+
`,el=p.div`
|
|
131
|
+
display: flex;
|
|
132
|
+
color: ${e=>e.theme.colors.hero};
|
|
133
|
+
flex-direction: column;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
align-items: center;
|
|
136
|
+
width: 100%;
|
|
137
|
+
padding: ${i.sp0} ${i.sp0} ${i.sp7};
|
|
138
|
+
gap: ${i.sp2};
|
|
139
|
+
`,ll=p.div`
|
|
140
|
+
display: flex;
|
|
141
|
+
margin-left: ${e=>W.deleteContentMarginLeft.valuePx(e.windowSize)};
|
|
142
|
+
`,ae=p.div`
|
|
143
|
+
display: flex;
|
|
144
|
+
margin-bottom: ${e=>W.marginBottom.valuePx(e.windowSize)};
|
|
145
|
+
`,il=p(ge)`
|
|
146
|
+
width: ${i.sp3};
|
|
147
|
+
height: ${i.sp3};
|
|
148
|
+
cursor: pointer;
|
|
149
|
+
color: ${e=>e.theme.colors.grey1};
|
|
150
|
+
&:hover {
|
|
151
|
+
color: ${ue.important};
|
|
152
|
+
}
|
|
153
|
+
`,tl=p(ge)`
|
|
154
|
+
width: ${i.sp3};
|
|
155
|
+
height: ${i.sp3};
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
color: ${ue.important};
|
|
158
|
+
`,sl=p(ne)`
|
|
159
|
+
cursor: pointer;
|
|
160
|
+
display: flex;
|
|
161
|
+
flex-direction: row;
|
|
162
|
+
justify-content: center;
|
|
163
|
+
align-items: center;
|
|
164
|
+
padding: ${i.sp3} ${i.sp4};
|
|
165
|
+
gap: ${e=>W.addUserWrapperGap.valuePx(e.windowSize)};
|
|
166
|
+
|
|
167
|
+
width: auto;
|
|
168
|
+
height: ${i.sp8};
|
|
169
|
+
|
|
170
|
+
border: 1px solid ${e=>e.theme.colors.hero};
|
|
171
|
+
border-radius: ${i.sp2};
|
|
172
|
+
color: ${e=>e.theme.colors.grey1};
|
|
173
|
+
box-sizing: border-box;
|
|
174
|
+
&:hover {
|
|
175
|
+
svg {
|
|
176
|
+
color: ${e=>e.theme.colors.primary};
|
|
177
|
+
}
|
|
178
|
+
div {
|
|
179
|
+
color: ${e=>e.theme.colors.primary};
|
|
180
|
+
}
|
|
181
|
+
color: ${e=>e.theme.colors.primary};
|
|
182
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
183
|
+
}
|
|
184
|
+
margin-top: ${i.sp3};
|
|
185
|
+
margin-bottom: ${i.sp9};
|
|
186
|
+
`,ol=p(Pe)`
|
|
187
|
+
width: ${i.sp4};
|
|
188
|
+
height: ${i.sp4};
|
|
189
|
+
color: ${e=>e.theme.colors.hero};
|
|
190
|
+
`,al=p(Ce)`
|
|
191
|
+
color: ${e=>e.theme.colors.hero};
|
|
192
|
+
`;export{pl as f};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import{c as Y,q as B,O as c,j as o,bZ as H,gh as K,bF as q,cA as J,o as L,aS as U,bH as W,y as M,ct as Z,cu as G,cv as Q,u as y}from"./index-MAXVX6UR.js";import{b as v,n as i}from"./vendor-Bs1fkIUX.js";import{W as V,L as X}from"./EntitySummarySection-BP9sqkp_-C8j67E3x.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const C={wrapperContainerMarginTop:new M(y[4],y[0]),wrapperContaineHorizontalrMargin:new M(y[0],y[8])},ee=i.div`
|
|
2
|
+
height: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
max-width: 99.9%;
|
|
6
|
+
`,oe=i.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: calc(100% - 60px);
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: center;
|
|
13
|
+
`,te=i.div`
|
|
14
|
+
height: 96px;
|
|
15
|
+
width: 96px;
|
|
16
|
+
background: ${e=>e.theme.colors.background};
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
& svg {
|
|
20
|
+
margin: ${L.sp5};
|
|
21
|
+
color: ${e=>e.theme.colors.grey1};
|
|
22
|
+
}
|
|
23
|
+
&:hover {
|
|
24
|
+
& svg {
|
|
25
|
+
color: ${e=>e.theme.colors.primary};
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
`,re=i(U)`
|
|
29
|
+
margin-top: ${L.sp3};
|
|
30
|
+
color: ${e=>e.theme.colors.hero};
|
|
31
|
+
`,ae=i.div`
|
|
32
|
+
display: flex;
|
|
33
|
+
min-height: 100%;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
width: 100%;
|
|
36
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
37
|
+
`,ne=i.div`
|
|
38
|
+
display: block;
|
|
39
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
40
|
+
height: calc(100vh - 178px);
|
|
41
|
+
margin-top: ${e=>C.wrapperContainerMarginTop.valuePx(e.windowSize)};
|
|
42
|
+
`,ie=i.div`
|
|
43
|
+
margin-left: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
|
+
margin-right: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
|
+
height: 100%;
|
|
46
|
+
`;function De(e){const h=Y(),d=B(),f=c.getLocalizedStrings().common,g=c.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:s,onReload:w,onBackClick:T,onColumnSortConfigChanged:_,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:j,downloadEndPoint:k,timezone:z}=a,{fetchState:p,invoices:$,apAgingDetailUIState:b,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:S,downloadState:m}=b,[P,A]=v.useState(!1),I=c.getLocalizedStrings(),F=I.reports.aging.agingDetail,O=v.useCallback((l,u)=>{r.vendor!=null&&s.trackApAgingDetailReportSortChange(l,u,t.format(I.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),_(l,u)},[s,r.vendor,t,_]);if(v.useEffect(()=>{async function l(){const u={companyName:a.companyName,sortKey:D,sortOrder:S,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:z,reportDate:t};await se(k,j,u),x("Completed"),r.vendor!=null&&s.trackApAgingDetailReportDownload(D,S,t.format(c.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}P&&m!=="In-Progress"&&(A(!1),x("In-Progress"),l())},[s,r.vendor,j,k,a.companyName,m,P,t,D,S,z,x,n?.id]),p==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:g.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(K,{fetchState:p});const R=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:m==="In-Progress"}],onDownloadClick:async l=>{if(l==="excel")if(m==="In-Progress"){console.log("Download is already in progress!");return}else A(!0)}}}});return o.jsxs(ae,{children:[o.jsx(q,{title:f.strings.empty,backgroundColor:h.colors.grey5,onBackClick:T,rightSideComponent:R,source:"ApAgingDetailPage"}),o.jsx(V,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:d,children:o.jsx(ie,{windowSize:d,children:$.length===0||n==null?o.jsx(J,{message:F.noDataText}):o.jsx(ee,{windowSize:d,children:o.jsx(X,{uiState:b,invoices:$,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:O,onTransactionClick:N})})})})]})}async function se(e,h,d){const f=`${e}?query=${encodeURIComponent(JSON.stringify(le(d)))}`,g=c.getLocalizedStrings(),r=g.reports.aging.apAging.apAging,a=g.download;try{const t=await Z({urlEndPoint:f,authParams:h,fileType:"excel"});if(t.ok){const s=G(t.headers,a.defaultFileName),w=await t.arrayBuffer();Q(w,s)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:c.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{De as default,le as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,q as m,A as x,o as e,y as l,h as o,
|
|
1
|
+
import{j as t,q as m,A as x,o as e,y as l,h as o,aS as $,O as g,bt as u,d8 as w,e4 as f,d7 as b}from"./index-MAXVX6UR.js";import{n as s,b as j,k}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const d={maxWidth:new l(280,322),contentMaxWidth:new l(200,250)},y=k`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
|
@@ -47,13 +47,13 @@ import{j as t,q as m,A as x,o as e,y as l,h as o,cM as $,O as g,dp as u,fD as w,
|
|
|
47
47
|
width: ${e.sp3};
|
|
48
48
|
height: ${e.sp3};
|
|
49
49
|
color: ${o.info};
|
|
50
|
-
`,W=s.div``,
|
|
50
|
+
`,W=s.div``,O=s($)`
|
|
51
51
|
color: ${o.neutralGrey2Light};
|
|
52
52
|
word-break: break-word;
|
|
53
53
|
white-space: pre-line;
|
|
54
|
-
`,O=s.div`
|
|
55
|
-
max-width: ${r=>d.contentMaxWidth.valuePx(r.windowSize)};
|
|
56
54
|
`,T=s.div`
|
|
55
|
+
max-width: ${r=>d.contentMaxWidth.valuePx(r.windowSize)};
|
|
56
|
+
`,M=s.div`
|
|
57
57
|
margin-top: 3px;
|
|
58
58
|
margin-left: 12px;
|
|
59
59
|
width: ${e.sp3};
|
|
@@ -66,6 +66,6 @@ import{j as t,q as m,A as x,o as e,y as l,h as o,cM as $,O as g,dp as u,fD as w,
|
|
|
66
66
|
&:hover {
|
|
67
67
|
color: ${o.primaryDark};
|
|
68
68
|
}
|
|
69
|
-
`,
|
|
69
|
+
`,P=(r,n,i)=>{let a=g.getLocalizedStrings().common.snackBar[r][n];return i?.forEach(c=>{a=a.replace(c.variableName,c.variableValue)}),a},R=({type:r})=>{switch(r){case"success":return t.jsx(S,{});case"info":return t.jsx(z,{});case"error":case"warning":return t.jsx(D,{});case"notification":return t.jsx(E,{});default:return null}};function X(r){const n=m(),{message:i,messageType:a,showStatusIcon:c,onRemoveSnackbar:p}=r;return j.useEffect(()=>{const h=setTimeout(()=>{p()},5e3);return()=>clearTimeout(h)},[i.section]),t.jsxs(v,{windowSize:n,children:[c===!0?t.jsx(R,{type:a}):null,t.jsx(T,{windowSize:n,children:t.jsx(W,{children:t.jsx(O,{children:P(i.section,i.text,i.variables)})})}),t.jsx(M,{onClick:p,children:t.jsx(x,{})})]})}const F=r=>t.jsx(A,{isOnDashboard:r.isOnDashboard,children:r.showSnackbar===!0?t.jsx(X,{...r.snackbar}):null}),A=s.div`
|
|
70
70
|
background-color: ${r=>r.isOnDashboard?r.theme.colors.background:"transparent"};
|
|
71
71
|
`;export{F as default};
|