@zeniai/web-cockpit-ui 1.15.58-qa → 1.15.59-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-CfvX6zSV-BnYXr7da.js → ACHDetailsPage-CFhoboVe-NhNiWQoq.js} +1 -1
- package/dist/assets/{AIPerformancePage-BTVbAUHG-BoVD62zB.js → AIPerformancePage-DB-fTWME-C20PCC17.js} +31 -31
- package/dist/assets/AccountInfoPage-pEEhPqOb-CuwSCEbu.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Bk0YQ-4C-BFfUei9K.js → AccountInfoPageContent-eYEsv7ac-CxPwO1am.js} +17 -17
- package/dist/assets/{AccountLockedInfoModal-DM2zVI24-BKusNt5D.js → AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js} +8 -8
- package/dist/assets/{AccountReconDetailsDrawerPage-B6mhnC_D-UmCS2ljL.js → AccountReconDetailsDrawerPage-3Q0EPYhL-DhctK78k.js} +44 -44
- package/dist/assets/{AccountRow-2vAGu-jm-Ban2UP27.js → AccountRow-CdgvnPG8-BbJV8Q8M.js} +22 -22
- package/dist/assets/{AccountsPromoCardStack-z9STg_F3-DQIMAcch.js → AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-BzO1FXUa-kqMHH9Vt.js +6 -0
- package/dist/assets/{AddToWalletPage-BMPHVMEY-uJdVtbyv.js → AddToWalletPage-BfXFbHjk-QRigQSHV.js} +28 -28
- package/dist/assets/{AgingReportsPage-Bngg8YpI-C_fcRo8j.js → AgingReportsPage-C1hFq4KH-COTxuu-2.js} +7 -7
- package/dist/assets/{AllUserItems-DzHTUgrn-wXFIirZl.js → AllUserItems-B6pnKByY-BUdz_J3g.js} +10 -10
- package/dist/assets/ApAgingDetailPage-CxLVGnpY-OkmLiLaF.js +46 -0
- package/dist/assets/{AppBasePage-DUoMiO7X-DW6VTkB1.js → AppBasePage-DiVxF606-C03aQg1o.js} +7 -7
- package/dist/assets/AppDrawerContent-B_EWsf8O-16pnrlUd.js +92 -0
- package/dist/assets/{ApprovalRulesSettingsPage-BfXvTQyU-Dh6b5zsc.js → ApprovalRulesSettingsPage-HHjDp_NQ-CDZaolru.js} +6 -6
- package/dist/assets/{ArAgingChart-BwVPNYHv-3oBDpKQx.js → ArAgingChart-Ba4A-i2N-Cm3Zb2-A.js} +1 -1
- package/dist/assets/ArAgingDetailPage-prgcvsS4-CC5CLIGP.js +46 -0
- package/dist/assets/{AttachmentView-DQKnQgQK-Bu5XLE-W.js → AttachmentView-SsWJw4A8-BGK1ntZP.js} +8 -8
- package/dist/assets/BalancesInsightWithToolTip-DE6gDjGA-D3lvmUPJ.js +38 -0
- package/dist/assets/{BankAccountSection-DxW0EB-K-BfA6R4ym.js → BankAccountSection-B4jmT0lb-DzAFSATj.js} +11 -11
- package/dist/assets/{BankAccountWarningSection-BQlPiqev-DQgUD-fz.js → BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-CFk2aMnM-Mskj_CdN.js → BankConnectionsSettingsPage-BcVk7bTt-CT4jBj4R.js} +26 -26
- package/dist/assets/{BillDetailPage-44pWv8Nq-DZ4TiXFR.js → BillDetailPage-Dkqmi4H1-BrWo4uGz.js} +4 -4
- package/dist/assets/{BillPayApprovalRuleDetailPage-D_Q7_oVR-Dl3E9h_h.js → BillPayApprovalRuleDetailPage-Blxlv3pa-CZSNHT3K.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-iTvysPLf-B5MNc-_v.js → BillPayApprovalRulesPage-B_QwggJS-LtyCS7v3.js} +14 -14
- package/dist/assets/{BillPayPromoPage-B5AGf-Xt-024pxlZZ.js → BillPayPromoPage-Bx2AXpWe-Du89a98b.js} +5 -5
- package/dist/assets/{BillPaySetUpPage-bNDxI3Kh-6_VU18cC.js → BillPaySetUpPage-CM7_DkHC-CclJKf3M.js} +3 -3
- package/dist/assets/{BillingSettingsPage-4WGlC_Ok-DUDn5i-o.js → BillingSettingsPage-DM0OIfxa-BuoiB9BU.js} +9 -9
- package/dist/assets/{BillsBulkReviewDrawerPage-8E35ktf3-Cw9-crTl.js → BillsBulkReviewDrawerPage-C3xmQ7wz-Bwj3c210.js} +1 -1
- package/dist/assets/{BoxItem-Yk1jfFWZ-DzXp7dNR.js → BoxItem-CvCo0wr6-DKAIvhWo.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CYzudAIt-BBXKWut1.js → BusinessVerificationPage-BAZmkR4a-AnwjdvL9.js} +10 -10
- package/dist/assets/{CardNumberSubText-DjHY0FvO-CjPeFW5K.js → CardNumberSubText-DHtSIcZZ-DL8DMs-k.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BBnND02O-DWBUQ_Fx.js → CashbackDetailPage-CNS1FA6b-JWXE3hsL.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-BIR8jdTw-Czwwolcz.js → ChargeCardDetailPage-C4NeG7IM-CPxS6cRg.js} +35 -35
- package/dist/assets/{ChargeCardListPage-DIaPTqHg-CsAQvjuT.js → ChargeCardListPage-DNYiWaEf-DJhH9poc.js} +24 -24
- package/dist/assets/{ChargeCardListTable-Daaen5Xe-DifYJ3Zj.js → ChargeCardListTable-DdnyzdFf-BmYCmkcc.js} +49 -49
- package/dist/assets/{ChargeCardPaymentHistoryPage-BdQWV5hd-BxCbxBo_.js → ChargeCardPaymentHistoryPage-CXlqzaUt-BEtGgsbY.js} +36 -36
- package/dist/assets/{ChargeCardPromoPage-DAk2fYcE--OhP0cnw.js → ChargeCardPromoPage-D4canPX9-DuNs-QpK.js} +23 -23
- package/dist/assets/{ChargeCardSetupPage-64bBN1fe-BqFWzRA1.js → ChargeCardSetupPage-BtikPFOq-_QFEhM40.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-RepWBbvJ-fE-f9dTt.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-DlJJaad8-CLbfXmNK.js → CheckDepositDrawerPage-BCqg3irO-BNQC0cqt.js} +21 -21
- package/dist/assets/{CollapsableReportTable-CcyH-50D-D4qh_Iwq.js → CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.js} +528 -496
- package/dist/assets/{CompanyOfficerDetailsSection-m-m1nELP-S26KFwxz.js → CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js} +15 -15
- package/dist/assets/{CompanyPassportCard-ZBDBE8eV-CMQWkwBr.js → CompanyPassportCard-BbUWOs1U-BLVqocbL.js} +4 -4
- package/dist/assets/{CompanyPassportPage-B6zI52Pp-B__XqIFB.js → CompanyPassportPage-BnP2oA1U-zWSSW3Bs.js} +29 -29
- package/dist/assets/{CompleteProfile-BLWNz2VA-tYLyFWWU.js → CompleteProfile-TiRsm2Fm-CIjFxaAm.js} +3 -3
- package/dist/assets/ConfettiBurst-D7J36hZf-BKlSjT6j.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BJt0x_QL.js → ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D_fPbFsR-ChtzoVO1.js → CreateOrEditVendorPage-Dihzr1D5-D9cB4SAg.js} +19 -19
- package/dist/assets/{CreditCardPaymentDrawerPage-Bl82rSY1-DDoITNb_.js → CreditCardPaymentDrawerPage-CZGzDuxC-p3RWbIDE.js} +14 -14
- package/dist/assets/{CurrencySelectField-CwNGSmb2-BfwCMrZd.js → CurrencySelectField-BTAmIqPa-BqQ2_ci5.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-L6GfGsJ9-BbZGV_dK.js → CustomerOnboardingActivationPage-MVI7kqIh-wst5cRj4.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--Dxqq0QJL.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-MP-lAuJG-UK3eLYnf.js → CustomerOnboardingDetailPageSkeleton-CaI_0pCb-CxQ8bQdr.js} +14 -14
- package/dist/assets/{CustomerOnboardingNoStepsPage-DF6CbSZs-7ZmdawXZ.js → CustomerOnboardingNoStepsPage-CO_c2COV-pLp1hFCt.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-Cl4wtP6t-Ex1UzqXa.js → CustomerOnboardingPage-BF0vuYaJ-JMRuse4Z.js} +14 -14
- package/dist/assets/{CustomerOnboardingProductSuitePage-vkblu46s-h4faigoV.js → CustomerOnboardingProductSuitePage-BGFdLX1i-DySt6BQg.js} +6 -6
- package/dist/assets/{Dashboard-C1Fn0zHa-CkDT70CD.js → Dashboard-Qjedd4r--DHZmjgJN.js} +1 -1
- package/dist/assets/{DashboardReportPage-3lvWkrXH-CKAZqKLe.js → DashboardReportPage-Deith_ON-ChcA84Vk.js} +24 -24
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Cn_5tbit-DB1raPJt.js → DashboardSidebarBackgroundAnimation-C7DfUDio-DPyKxS1U.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DnL2eweO-BVp_XIJO.js → DepositAccTransactionItem-7kYotKov-BnPXoaAG.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-HAUhc4OH-w6xPsKCN.js → DepositAccTransactionListPage-Bop4Uj5w-ZOaAmZOC.js} +3 -3
- package/dist/assets/DomesticWireDetailsPage-_TyXsqEx-cl5Mv1ja.js +21 -0
- package/dist/assets/{DownloadOverlay-GFsPIkgY-CIatX2-l.js → DownloadOverlay-Cmd727bN-BHplNe_3.js} +23 -23
- package/dist/assets/{DrawerPage-DudtPicH-DR7eAOPs.js → DrawerPage-DmGwfnGp-B5EgKZxZ.js} +14 -14
- package/dist/assets/EditPeoplePage-YyluIC6R-CQIl30sj.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-D8RHkMHR-DhpHj6Tk.js → EditReimbursementDetailPage-DeMid2Ko-BTURFjuA.js} +84 -84
- package/dist/assets/EntityDetailPage-DPTSSZdS-B-VW2ygZ.js +18 -0
- package/dist/assets/{EntitySummarySection-Po9-k_zM-CKOvXyjt.js → EntitySummarySection-5NbutA8l-Z4HQfo2N.js} +15 -15
- package/dist/assets/{ExpenseAutomationOverviewPage-CbLRqpw3-CE6o3IC8.js → ExpenseAutomationOverviewPage-CQ_3WluW-sBkDi2LJ.js} +10 -10
- package/dist/assets/{ExpenseAutomationPage-DD33LDin-CmmvW3gw.js → ExpenseAutomationPage-VuU4acYd-DRu_62Rz.js} +239 -239
- package/dist/assets/{ExpressPayPage-BbHx9h8j-Jtoo_XSn.js → ExpressPayPage-DhoNmyC2-Ixqn7FeR.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-72x3P-pq-fDKDe74V.js → FeaturePreviewPage-GSwhPxgP-C20k6nV5.js} +2 -2
- package/dist/assets/{FollowStepsSection-BT_WjsEy-6nsqXk2v.js → FollowStepsSection-DaueHRo4-DdiQ4lOn.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-C5h9rvVb-BrdUyPnT.js → GlobalReviewListPage-DG7_1HOT-mLv5NHYa.js} +8 -8
- package/dist/assets/{InformationCardStack-CjpOEuJF-DF2z_fcp.js → InformationCardStack-zc-BxR7F-B2cR2Vrc.js} +4 -4
- package/dist/assets/{InsightsCardStack-CkxN0Fd6-D3ds4snJ.js → InsightsCardStack-DxCA5sFh-CBXIO7T2.js} +14 -14
- package/dist/assets/InsightsSection-BdFG3j3R-DpGjm8qb.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CN3x9o-8-n2lkrWPc.js → IntegrationsSettingsPage-CaiL3kqS-yWfc1-ip.js} +4 -4
- package/dist/assets/{InternationalWireSwiftDetailsPage-C1WTGANK-CX6ZkpbL.js → InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-NaLnhW9C-D3Wh10D9.js +65 -0
- package/dist/assets/InviteFormPage-fjqv2l7h-CoWToBnJ.js +312 -0
- package/dist/assets/{InvitePageListView-BbQyUnv0-DMumTMJP.js → InvitePageListView-CQecQhxr-BNu8hXMY.js} +48 -48
- package/dist/assets/InvitePeoplePage-DAEBuOnk-jK8Ueocl.js +12 -0
- package/dist/assets/InvoiceUploadSection-58l6ePuH-BuOyGSAC.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BT9h01l_-siq7xJ-s.js → IssueChargeCardPage-Bkxqsgax-BMc-YwRY.js} +30 -30
- package/dist/assets/{LabeledAddressValue-DF623NAW-D4a6OVhw.js → LabeledAddressValue-CZfFV97h-DWDhZW5u.js} +2 -2
- package/dist/assets/LabeledAddressValueField-D66XOhMx-Di6mjf7B.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-DNFUkVLh-CuadpuTO.js → LabeledControlledCheckBoxField-BtnsqE4D-CLMK-CUC.js} +2 -2
- package/dist/assets/{LabeledCountryMultiSelectField-B5vytqi_-BXGWCwpL.js → LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-DN5wCaeU-bysGqgYr.js → LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js} +3 -3
- package/dist/assets/LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BvdkjSR_-0cU3E71g.js → LabeledDropDownFormattedTextField-CJ7ncCzH-CmOBBbLT.js} +8 -8
- package/dist/assets/{LabeledText-BDkcgGG4-YJ-8g03K.js → LabeledText-A1h_ionS-YHsepFfP.js} +4 -4
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BnDEbwhn-BjMBeUGB.js → LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-CY2feiXB-HP_5dGNT.js → LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.js} +16 -16
- package/dist/assets/{LinkJETransactionPage-Bc3h7Bsx-Wiea8FhX.js → LinkJETransactionPage-D6-fL4a6-DPNZmHzv.js} +5 -5
- package/dist/assets/LockCardPage-BDlnh_zf-coxMaBNB.js +623 -0
- package/dist/assets/{LowBalancePopup-CKSy3iEi-DCgRxDtE.js → LowBalancePopup-CBPl_udd-D2XBBf4O.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DtgQBKXr.js +1 -0
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-zLqzW0ZA-DNf2ZFPO.js → MagicLinkDomesticWireDetailsPage-BcNOhJgL-C8mUkiDX.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-OpEbz58h-DNNhjP9x.js → MagicLinkInternationalWireDetailsPage-Df8XYlkg-BRWnjp0l.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-Cl461HWp-CO6oeX5F.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D38JxxrQ-CU50p6sN.js → MagicLinkTitleSection-DoIMYrRv-BlE9zH37.js} +4 -4
- package/dist/assets/MailingDetailsSection-NdwWGQ88-D7MwCKtI.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-TSaL2Z3R-7urnLeL-.js → MyBankConnectionsSettingsPage-BU6TBzI1-DN5Npe5i.js} +10 -10
- package/dist/assets/{MyPendingActivationChargeCardListPage-BvcQUu1g-BAib1puz.js → MyPendingActivationChargeCardListPage-DcunCDU6-gyBwBEb_.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-AqrcruM6-CFhzI6VI.js → MyProfileSettingsPage-DF7ahyXE-B1LJnYuu.js} +7 -7
- package/dist/assets/{NavBarWithPicker-BpjOj0Mh-B0IyZ-5p.js → NavBarWithPicker-D2v1fhLS-C3H8GgqL.js} +5 -5
- package/dist/assets/{NavigationArrow-wyRPTk_w-CBPTcVzh.js → NavigationArrow-CWUL-6kN-BrqMd9Lj.js} +2 -2
- package/dist/assets/{NavigationDots-D4jbU1WN-2Zgm3tFB.js → NavigationDots-c-XSrFzE-Dxzsqafk.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-B-aRURcQ-DM9ZiThQ.js → NewGlobalMerchantPage-FGEO68I8-B7wryl8V.js} +9 -9
- package/dist/assets/{NoDataChart-tpjEi1Wb-CneSdGWB.js → NoDataChart-DJhSgtLu-B7rWK9ww.js} +4 -4
- package/dist/assets/NoDataTable-BZiwo2qK-1fFq9QL7.js +8 -0
- package/dist/assets/{NotFoundPage-aEkhvzEG-5jUiDOLs.js → NotFoundPage-BN5unYX8-RIPoUtcm.js} +5 -5
- package/dist/assets/{NotificationSettingsPage-CMNyI8E6-BB9rHV42.js → NotificationSettingsPage-d8kHDj0M-BR4XfDGy.js} +31 -31
- package/dist/assets/{NotificationsListConfig-CqxCGQSM-CNk3ZSrm.js → NotificationsListConfig-ThKLok_w-DiwvAaDh.js} +1 -1
- package/dist/assets/{NotificationsPage-xmWyvsYE-DgxInQel.js → NotificationsPage-Uvu6XESA-C7IDz_PV.js} +28 -28
- package/dist/assets/{OpExByVendorPage-BwWSNQjj-ArHXz_mI.js → OpExByVendorPage-QyqRkD2_-BZtZlU0k.js} +8 -8
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-C04r--J3.js → OverlayContainerPage-BG9y5C0t-B5Ccc20I.js} +1 -1
- package/dist/assets/PandLWithForecastPage-DJ2v5qbE-D34Zu7P_.js +123 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cg-iwsq9-yL-9Kg03.js → PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js} +12 -12
- package/dist/assets/{PeoplePage-CgLumn7f-DpLXgwxu.js → PeoplePage-C5ZdpVyR-D5gb3H9N.js} +34 -34
- package/dist/assets/{Preview-BoQzKWlV.js → Preview-M7TzJD6j.js} +1 -1
- package/dist/assets/{ProductsCarousel-LGZZZ4bc-BrX6HY26.js → ProductsCarousel-CXjLTOLy-qhgO5u3T.js} +4 -4
- package/dist/assets/{PromoBaseCards-DMnQ-nBZ-DDlepqsM.js → PromoBaseCards-CN9uZfG4-4ZG6rDcT.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-ufRcAeE8-jq-VIkh3.js → QBOConnectionDialog-CXSi1Pd9-BlV5xAad.js} +3 -3
- package/dist/assets/{QBOSetupSection-BaxLXdyW-Bw8JqvSl.js → QBOSetupSection-BrtLMvEP-CWf9qAKV.js} +19 -19
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CE0CxjTY-s7g4Epqs.js → ReimbursementApprovalRuleDetailPage-CS1BQ7pL-gwQi2ubd.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DDNhjbbG-e47fcCBo.js → ReimbursementApprovalRulesPage-aLRkhkZB-CtUN1jCI.js} +7 -7
- package/dist/assets/{ReimbursementDetailPage-BOW1JodW-Br3QbgaE.js → ReimbursementDetailPage-Dr5BTvEq-BkIwEWVX.js} +17 -17
- package/dist/assets/{ReimbursementPromoPage-lD4FRDbt-BTRv0wOn.js → ReimbursementPromoPage-C5Z0mVhQ-sIeJk3bD.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-vZd1l3-L-BJb01JMz.js → ReimbursementSetUpPage-CXhOBErm-DH5oFO_k.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BV1eoHFe-Ct7RQx5a.js → ReimbursementsBulkReviewDrawerPage-CA0n0mau-YPT0uXmT.js} +1 -1
- package/dist/assets/{ReloadCard-DZJ1-x96-12T5DybX.js → ReloadCard-Bjp8ygC2-QCThgpLx.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-NmHJk-6O-Bo6jFRe0.js → ReportTableViewSelector-DTk1dNWC-B6Y4EDN-.js} +9 -9
- package/dist/assets/ReportsPage-DrjOGopt-DJaJ6UxU.js +258 -0
- package/dist/assets/{RevenueChart-CKjVL6iT-Bl6arWa6.js → RevenueChart-CqGvXDr4-ls1jVoKH.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-Dm5-QehL-C1ebQa3V.js → ReviewDetailsPage-CWBP7FBN-BDBxmvOT.js} +19 -19
- package/dist/assets/{ReviewOverlay-DyTC2zKj-Cqqa9ybn.js → ReviewOverlay-Cxkp85Kw-C7d3vwBi.js} +6 -6
- package/dist/assets/RoleWithToolTip-CqLxmtj6-BNUOWMRG.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjdxIH5b.js +37 -0
- package/dist/assets/ScheduleDetailsPage-CZXJ15tN-CjrCADWR.js +37 -0
- package/dist/assets/ScheduleSequenceTable-DNPID_7F-j2fgEjwp.js +326 -0
- package/dist/assets/{ScreenRoutes-CCqT3xt1.js → ScreenRoutes-DJ_rUo9A.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BkGBS9x_-R8tgE_Z9.js → SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js} +16 -16
- package/dist/assets/{SignIn-DybDQnmR-ByUOpVOm.js → SignIn-CDEsZw_T-0YUs2QmP.js} +33 -33
- package/dist/assets/SignInScreen-CUXsEOc0.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-DkEZTojy-CA6_5Fky.js → SpendManagementListViewPage-MOCWuROI-DKR38Veg.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-CR9CphX3-BEr99KbG.js → SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js} +43 -43
- package/dist/assets/{SpendManagementSection-DqDra2TJ-DXPdzdx4.js → SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js} +17 -17
- package/dist/assets/{StatementItem-DSuaMb54-ChcIWFK-.js → StatementItem-DjvU5wiI-DHTNeSpB.js} +2 -2
- package/dist/assets/StatementsPage-DYLp_e7W-C5hw_hkQ.js +58 -0
- package/dist/assets/{StatusSwitcher-Z7jo_R2B-D-RVNmDS.js → StatusSwitcher-jxaonB4S-Dw8Z5KsP.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DJvtpJh2-CqJlCEZ1.js → SubTabSwitcher-CudjNlsi-Dk2m1EXt.js} +3 -3
- package/dist/assets/{SummaryCard-D4k-35Mt-CKKk3xUZ.js → SummaryCard-DPOhBmkr-Cj1Lt-Mp.js} +1 -1
- package/dist/assets/{TaskManagementPage-Cadtu3qQ-zX8lQopX.js → TaskManagementPage-CTMoHv0R-DzrReeZE.js} +13 -13
- package/dist/assets/{TimeRangeSwitcher-CXt00my3-kyL42Suj.js → TimeRangeSwitcher-SqY2MHGs-Bpa_mFEa.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-D0ujXDLd-DkH3ill0.js → TimeframeSwitcher-BlJ2fuHy-8yHS99Lr.js} +4 -4
- package/dist/assets/{TimeframeSwitcherWithToggle-CMzQ2qRz-CKP0fk1A.js → TimeframeSwitcherWithToggle-Dgc1odUH-CNwpIwWb.js} +4 -4
- package/dist/assets/{TopExCard-BmRXVrxo-D8yAs-m9.js → TopExCard-CG8YLsYe-CsdBprjg.js} +11 -11
- package/dist/assets/{TopExDetailPage-Ds-BZjbz-IOO7_XQl.js → TopExDetailPage-TvYCbzSP-C1DN6y7-.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-CKIHtz5l-D-dTYDgC.js → TransactionActivityLogPage-BL3vEAdU-B_s3Ii9P.js} +11 -11
- package/dist/assets/{TransactionDetailPage-B1UKqtkR-BE9V0dPT.js → TransactionDetailPage-DUouBL0o-BwsVWjsw.js} +26 -26
- package/dist/assets/{TransactionList-BE3ODDi0-BDIJTskc.js → TransactionList-B16NONME-MhxbTKXX.js} +18 -18
- package/dist/assets/{TransactionListBig-JcBvCcMd-HNZ38dTS.js → TransactionListBig-CItPbTRV-CTDy7YXE.js} +10 -10
- package/dist/assets/TransactionListPage-DNecYY8M-DvyKlW5R.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-BCtWJV5U-CC-HiQvd.js → TransactionVendorDetailPage-DpqisXN8-BeIl3VIo.js} +6 -6
- package/dist/assets/{TransferDrawerPage-DoIPGIdB-JAB5Sz6q.js → TransferDrawerPage-Dsmbswu0-DuQeRo8o.js} +24 -24
- package/dist/assets/{TreasuryOverviewPage-lmaT3YkG-C6wF0pBN.js → TreasuryOverviewPage-BcRpcYmB-B_2n4w_R.js} +40 -40
- package/dist/assets/{TreasuryPromoPage-avx9YENY-CaSHYgG2.js → TreasuryPromoPage-DOO_OMRa-Nn5daNmi.js} +19 -19
- package/dist/assets/{TreasuryStatementsPage-BguLbwsn-B5E0Q7zz.js → TreasuryStatementsPage-A_U7bEy5-DdFUWuDa.js} +7 -7
- package/dist/assets/TreasuryTaxLetterPage-BsJn-BgX-CQZpySFF.js +58 -0
- package/dist/assets/{TrendChart-rzKYI72b-x69qqEF1.js → TrendChart-GMMat-NG-CAc9nAfG.js} +2 -2
- package/dist/assets/{TrendWithTransactions-atLfDrR5-B0aSX9-q.js → TrendWithTransactions-CrA4opNV-BTtTpjeg.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-5VnrVRL7-DkHh43Pm.js → UncategorizedAccountsMappingPage-CrzbFGOi-B7V18O6N.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-CRtWNQ9s-BlzFosEv.js → UnitIntegrationPage-XZY6zJa7-Cq4xbYW7.js} +13 -13
- package/dist/assets/{UploadAdditionalDocumentOverlay-D0FPdZ3n-DT1NoKwU.js → UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js} +2 -2
- package/dist/assets/Vendor2FAPopup-BHDivuPB-Cn8-yps4.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-adpyH1RD.js +1 -0
- package/dist/assets/{VendorDetailPage-DJ54yvWY-DtibNEE0.js → VendorDetailPage-DEu-yS8w-DNet96B_.js} +24 -24
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-CHE49l9v.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-B0LEUR_g-CsMru02g.js → VendorFiling1099EditablePage-C461SzO0-BVUWElpF.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-7VUbqyR2-B-t_-gOw.js → VendorFirstReviewPage-klbCHS04-BFjy2m5_.js} +32 -32
- package/dist/assets/{VendorInternationalWireDetailsPage-CHFMTDYG-UTfMlqxi.js → VendorInternationalWireDetailsPage-DY0V-VbO-C2xJ0CsJ.js} +26 -26
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CE29O6S4.js +1 -0
- package/dist/assets/{VendorsAccountsSection-By1Bhh27--5FkvREo.js → VendorsAccountsSection-Cqcr-ArD-DAAwd5Iw.js} +4 -4
- package/dist/assets/{VerifyDevice-gXwkGIjJ-ffTqb92V.js → VerifyDevice-Dhu5iywf-HX-kw30c.js} +8 -8
- package/dist/assets/{VideoPlayer-DBU7xwIG-G3eDrHhm.js → VideoPlayer-ZGjx_Hp7-Nomi0VD9.js} +3 -3
- package/dist/assets/VideoPopup-R3u0N_if-DgVn2CAl.js +31 -0
- package/dist/assets/{WarningsDrawerPage-ByCZSQ-E-S67fi1hF.js → WarningsDrawerPage-TerLFC4m-C5ptwy3N.js} +8 -8
- package/dist/assets/{ZeniAccountDetailPage-DlCJ5UGq-D5M3rInN.js → ZeniAccountDetailPage-DQB7sXU9-CETOq0EN.js} +16 -16
- package/dist/assets/{ZeniAccountListViewPage-DTiBd3Ze-DvMCmuRh.js → ZeniAccountListViewPage-BwXKgf6g-DrDKS22-.js} +29 -29
- package/dist/assets/{ZeniAccountNavBarPieces-DAcKYXqh-C3pU1dfO.js → ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js} +4 -4
- package/dist/assets/{ZeniAccountPromoPage-MPekAyNe-BSRrdgoj.js → ZeniAccountPromoPage-BkfJuMNV-DSkmb6Z5.js} +28 -28
- package/dist/assets/ZeniAccountSetupPage-C3drM4Zs-D-HaFV-S.js +36 -0
- package/dist/assets/{ZeniCopyright-B1muAGCe-RlRc6Vn6.js → ZeniCopyright-CznSgVJF-iBl18n1m.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CX1FGWrl-Sctz6Ol2.js → ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-D76iCYbd.js → add-to-wallet-DgdBD8_G-CM6IrCpv.js} +1 -1
- package/dist/assets/{analytics-R4GG3mhr.js → analytics-B_VWX-BQ.js} +1 -1
- package/dist/assets/analyticsHelper-B8fd42um.js +1 -0
- package/dist/assets/{analyticsHelper-BznLUYs2-PwxmAlPi.js → analyticsHelper-Bh8o1v3y-C4Sojiq_.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BDgsRTSD.js → arrow-south-east-round-PEovUgvH-CQGzMyhs.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-keRK9wSo.js → auto-transfer-rule-mbafm5D3-Ba30im8q.js} +1 -1
- package/dist/assets/{chartTypes-Bckf_DAs-Bp9EYUYX.js → chartTypes-C14YY2Rq-DHigu710.js} +1 -1
- package/dist/assets/{commonDimensions-Bno19oYe-Ckn-nRQz.js → commonDimensions-CVpc-NCw-D6CVEqC_.js} +1 -1
- package/dist/assets/{commonTypes-CATFe6V_-DoBP4FJ5.js → commonTypes-Ec-PxfpT-Dj2109B_.js} +1 -1
- package/dist/assets/{constants-CEF2OtLN.js → constants-DgwGHN1r.js} +1 -1
- package/dist/assets/{core-DpPwA1EY.js → core-Cjh03OPu.js} +1 -1
- package/dist/assets/{dash.all.min-DdEpb4Db.js → dash.all.min-CCSNDyIp.js} +1 -1
- package/dist/assets/downloadPdf-BuPJ6cfr-Dyz4TLVR.js +1 -0
- package/dist/assets/{empty-nUYKFD2C.js → empty-DlGh28fD.js} +1 -1
- package/dist/assets/{empty-r8v2CG_J.js → empty-iTJcp-B8.js} +1 -1
- package/dist/assets/{epic-BSSFYfU0.js → epic-hN0N_N79.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-v4xTyl5z.js → gift-box-Cmt9OgIZ-TbiyaSAn.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CDoGR872.js → graphic-no-data-l-DU4J8fDt-CxIH_dl6.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BB-JG1AW.js → graphic-no-data-net-burn-l-CzmycA0m-CUkTpFd-.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B0fu0zwh.js → handshake-BPg58FML-Dbtylvfc.js} +1 -1
- package/dist/assets/{helper-BCh4SWyd-CwI6N1FK.js → helper-AgH8nJln-Bk3G7LVh.js} +4 -4
- package/dist/assets/{index-CMalJxiA.js → index-B5cuJQnR.js} +1 -1
- package/dist/assets/{index-VSH6R5vg.js → index-Bk7UJBjY.js} +1 -1
- package/dist/assets/{index-BTvJvxFI.js → index-C4Fispms.js} +1 -1
- package/dist/assets/{index-C6nwvBZg.js → index-ChCGry2d.js} +1 -1
- package/dist/assets/{index-BlPcRVKX.js → index-DAwCqq2t.js} +1 -1
- package/dist/assets/{index-SEvYEB33.js → index-DFowIMIZ.js} +1 -1
- package/dist/assets/{index-uV9C0lq0.js → index-aCBnCBoN.js} +3602 -3593
- package/dist/assets/{lexical-WuSd_Y3l.js → lexical-9REae7LV.js} +1 -1
- package/dist/assets/{liveblocks-PPyiYwu4.js → liveblocks-CEY7tsth.js} +1 -1
- package/dist/assets/{lottie-CwowL814.js → lottie-BmLFYENY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DTyQHWMc-CfKVg64X.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-D7pjBGp6-Bef-KTrw.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-BQ_XhzIu.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-CrhrR0QG.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-_s__LV61.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BvCkLSPj.js +1 -0
- package/dist/assets/{mui-CgOsYmSB.js → mui-BosmckWV.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-npur6fd8.js → page-detail-CWX5S47F-C2A7RuXG.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-BDFz9brn.js → panelSelectedMixin-Cddsb26L-CWVsp72I.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CaCRbViv.js → radio-default-CiSgisfh-Dhw9u_Vt.js} +1 -1
- package/dist/assets/{react-D6M30H8E.js → react-CLFAbS9n.js} +2 -2
- package/dist/assets/{react-DzADjYrb.js → react-D8DqvAAs.js} +1 -1
- package/dist/assets/{react-1JgjrFGc.js → react-DAXSMqh2.js} +1 -1
- package/dist/assets/{react-B5r5WB2A.js → react-DSh5n3Dg.js} +1 -1
- package/dist/assets/{react-D2UrnCU4.js → react-DT8qkoNX.js} +1 -1
- package/dist/assets/{react-5VwsKWlP.js → react-DTZ405nF.js} +1 -1
- package/dist/assets/{react-Bpsw4H-g.js → react-DxfKP-TY.js} +1 -1
- package/dist/assets/{react-C_FwXK63.js → react-ddvEC0y3.js} +1 -1
- package/dist/assets/{recharts-B5a8DAKj.js → recharts-CimMNwCJ.js} +1 -1
- package/dist/assets/{sentry-rcvLxAzW.js → sentry-DzaNjvx0.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DrUeUva_.js → shield-DOlUxcFf-Cva3YFBn.js} +1 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-ClXxioRe.js +1 -0
- package/dist/assets/toChartData-G5y-N82I-BBptd2Gk.js +1 -0
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BkGK3BZ_.js → upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js} +1 -1
- package/dist/assets/{uploadAttachment-BLbU_iLy-Cn6htN7U.js → uploadAttachment-RbkIBMGO-TVHnian4.js} +17 -17
- package/dist/assets/{uploadReceipts-CIgkuVpu-Bgo2p-8x.js → uploadReceipts-CIgkuVpu-Dil-Qv4Z.js} +1 -1
- package/dist/assets/{url-C66ml4tg.js → url-KRGewpHH.js} +1 -1
- package/dist/assets/{url-Ce1cqXlU.js → url-ymOv7sCf.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DY03cKku.js → useLongPress-GCK2COYQ-BgaoTE4k.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BM7i27Wh.js → usp-line-BBd1wKwW-Bnk1sVWO.js} +1 -1
- package/dist/assets/{utils-GKlM-QyI.js → utils-THjX-QSp.js} +1 -1
- package/dist/assets/{zeni-epic-state-D5MWzrZ6.js → zeni-epic-state-BNpJ2txa.js} +7 -7
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-XrG_Cs9Q-BjKmCZKu.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-BjL_E7Jt-BqV5wj25.js +0 -6
- package/dist/assets/ApAgingDetailPage-BdNgdMZi-DJq3tAqz.js +0 -46
- package/dist/assets/AppDrawerContent-DpoXoHZU-DR5CGNls.js +0 -92
- package/dist/assets/ArAgingDetailPage-Cl5P98Kf-BFShKipH.js +0 -46
- package/dist/assets/BalancesInsightWithToolTip-B0YZt5m3-DjqAngZd.js +0 -38
- package/dist/assets/ChargeCardStatementsPage-B-XeiOnb-DLIBzbq-.js +0 -60
- package/dist/assets/ConfettiBurst-BCkkcLA1-CXjExpzp.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-C_wG7Q8O-BR0kgKEZ.js +0 -1
- package/dist/assets/DomesticWireDetailsPage-QhDoZX5h-BgrN8fs3.js +0 -21
- package/dist/assets/EditPeoplePage-DD6wg7xI-_tzQnjsD.js +0 -55
- package/dist/assets/EntityDetailPage-levtFHaa-DA4k2cnL.js +0 -18
- package/dist/assets/InsightsSection-Cwd2cIP2-BnHpqv9D.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-H6gzEDg6-fjU1XMHZ.js +0 -65
- package/dist/assets/InviteFormPage-D56FOZEG-CMUlIs-X.js +0 -312
- package/dist/assets/InvitePeoplePage-D-XyBXhF-D4mjC05U.js +0 -12
- package/dist/assets/InvoiceUploadSection-DaJWTI5B-B6XbuKee.js +0 -140
- package/dist/assets/LabeledAddressValueField-B5eyO5LD-1yB-ANDh.js +0 -45
- package/dist/assets/LabeledDocumentField-H4V0rHKt-CfD-D1mp.js +0 -41
- package/dist/assets/LockCardPage-DIZ-1K3B-DoKRqXz4.js +0 -623
- package/dist/assets/MagicLinkACHDetailsPage-DdWD8eZA-BQF6ZaYY.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-fC1L-fjF-D0AcUoNI.js +0 -31
- package/dist/assets/MailingDetailsSection-_5DUMAiO-CN0GY3U_.js +0 -21
- package/dist/assets/NoDataTable-BtEKMdpl-5T10t8Bw.js +0 -8
- package/dist/assets/PandLWithForecastPage-GXzJgAFS-BaOt9ro5.js +0 -107
- package/dist/assets/ReportsPage-CqCp4w8y-DJ_z1O-2.js +0 -237
- package/dist/assets/RoleWithToolTip-Cu0ixEhp-CbBWt2cn.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-9XyukA76-CCXXH9fn.js +0 -37
- package/dist/assets/ScheduleDetailsPage-CkMIJDcP-Pzn7oHhr.js +0 -37
- package/dist/assets/ScheduleSequenceTable-Dgb-vhXK-B0K_kZdi.js +0 -324
- package/dist/assets/SignInScreen-DTqfud4B.js +0 -1
- package/dist/assets/StatementsPage-BO3P2kKJ-Cx3q3Xoo.js +0 -58
- package/dist/assets/TransactionListPage-DqY2twbP-CMg44It6.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-BT_G7d-D-CkFo0wcb.js +0 -58
- package/dist/assets/Vendor2FAPopup-CH44a6ok-C6c_8fAz.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YgMvjx2w-C_ciXBuk.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CRsOlxyy-CCULw521.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D0Fnosfi-7sDGJOsu.js +0 -1
- package/dist/assets/VideoPopup-Dxc93Pwx-4nt_V7AU.js +0 -31
- package/dist/assets/ZeniAccountSetupPage-CxYZzfiZ-r8QQEMaF.js +0 -36
- package/dist/assets/analyticsHelper-C5rhp2_h.js +0 -1
- package/dist/assets/downloadPdf-CkATqzUx-Dc-uQGNf.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DcYetEpP-CsO00r3l.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CExgzViB-CdHm7xiF.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-D02PFsN8-CpAel0E8.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CoqcGXTM-BAVPnmdP.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D0zXBGho-BFFFE8UF.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-_7RU9lwp-BmunaChV.js +0 -1
- package/dist/assets/toCOABalancesWithID-C-wpsGXP-BaAwN-7v.js +0 -1
- package/dist/assets/toChartData-C-X2WzOE-DjbtnWdG.js +0 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as V,e as j,V as o,bE as Te,hb as H,aq as Me,hg as Be,u as s,O as b,o as r,aQ as k,a as G,w as B,cC as Oe,x as p,N as M,M as O,an as A,d as S,b1 as We,ai as X,y as Q,hf as U,ak as z,as as De,kc as Ee,b_ as Ne,bT as Ve,aV as He,n as fe,ao as W,au as Ae,c as $e,bb as Fe,kd as Z,je as Ke,cI as Ye,ke as ye,L as be,cm as ve,gF as v,aE as Ge,kf as je,cq as Ce,gk as Je}from"./index-aCBnCBoN.js";import{a as f}from"./sentry-DzaNjvx0.js";import{n as t}from"./mui-BosmckWV.js";import{C as ke}from"./gift-box-Cmt9OgIZ-TbiyaSAn.js";import{H4 as te,H5 as y,H6 as P}from"./zeni-epic-state-BNpJ2txa.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.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]="62b88de7-a212-4d6a-9a62-947313631429",e._sentryDebugIdIdentifier="sentry-dbid-62b88de7-a212-4d6a-9a62-947313631429")}catch{}})();const Se=(e,i)=>{f.useEffect(()=>{const n=e.current;if(window.IntersectionObserver==null)return;const c=new IntersectionObserver(([a])=>{i&&i(a.isIntersecting)},{root:null,rootMargin:r.sp0,threshold:.1});return n&&c.observe(n),()=>{n&&c.unobserve(n)}})},qe={pageTitleMarginLeft:new p(s[4],s[6])},Xe=t.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-wrap: wrap;
|
|
6
|
-
gap: ${e=>
|
|
6
|
+
gap: ${e=>qe.pageTitleMarginLeft.valuePx(e.windowSize)};
|
|
7
7
|
margin-top: ${r.sp4};
|
|
8
|
-
`,
|
|
8
|
+
`,Qe=t.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
justify-content: center;
|
|
11
11
|
align-items: center;
|
|
12
12
|
flex: 1 1 auto;
|
|
13
13
|
min-width: 154px;
|
|
14
|
-
`,
|
|
14
|
+
`,Ue=t(X)`
|
|
15
15
|
height: ${r.sp3};
|
|
16
16
|
width: ${r.sp3};
|
|
17
17
|
color: ${e=>e.theme.colors.hero};
|
|
18
|
-
`,
|
|
18
|
+
`,Ze=t(U)`
|
|
19
19
|
width: ${r.sp3};
|
|
20
20
|
height: ${r.sp3};
|
|
21
|
-
`,eo=t(
|
|
21
|
+
`,eo=t(Q)`
|
|
22
22
|
width: ${r.sp3};
|
|
23
23
|
height: ${r.sp3};
|
|
24
24
|
color: ${S.success};
|
|
25
|
-
`;function ze({referralLink:e,onInviteClick:i,onCopyReferral:n,setShowNavButton:c}){const[,a]=
|
|
25
|
+
`;function ze({referralLink:e,onInviteClick:i,onCopyReferral:n,setShowNavButton:c}){const[,a]=H(),[l,d]=f.useState(!1),h=j(),g=V(),x=()=>{n(),l||(a(e.toString()),d(!0))};f.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1)},2e3)},[l]);const u=f.useRef(null);Se(u,c);const w=b.getLocalizedStrings().rewardsPage.rewardsCard;return o.jsxs(Xe,{windowSize:h,children:[o.jsx(Qe,{ref:u,children:o.jsx(G,{variant:"secondary",label:w.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ue,{}),textStyle:{...B.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} 12px`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})}),o.jsx(G,{variant:"secondary",label:l?w.copied:w.copyReferralLink,onClick:x,prefixIcon:l?o.jsx(eo,{}):o.jsx(Ze,{}),textStyle:{...B.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} ${l?"47px":"12px"}`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})]})}const J={logoWidth:new p(95,135),minWidth:new p(256,360),maxWidth:new p(270,380)},Pe={title:new M("smallRegular","largeRegular"),cardDetail:new M("h5Regular","h2Regular")};function Re({planAmount:e}){const i=j(),{rewardsPage:{rewardsCard:n}}=b.getLocalizedStrings();return o.jsxs(oo,{windowSize:i,children:[o.jsxs(ro,{children:[o.jsx(no,{windowSize:i,children:n.bonus}),o.jsx(so,{windowSize:i,children:k("0,0",e)})]}),o.jsx(to,{windowSize:i,children:o.jsx(io,{})})]})}const oo=t.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
height: 100%;
|
|
28
28
|
min-width: ${e=>J.minWidth.valuePx(e.windowSize)};
|
|
@@ -57,7 +57,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
57
57
|
`,so=t(O)`
|
|
58
58
|
color: ${e=>e.theme.colors.brandColorGold};
|
|
59
59
|
${e=>`${Pe.cardDetail.style(e.windowSize)}`};
|
|
60
|
-
`;function ao({rewardsPlan:e,onInviteClick:i,onHowItWorksClick:n,onCopyReferral:c}){const a=j(),[,l]=
|
|
60
|
+
`;function ao({rewardsPlan:e,onInviteClick:i,onHowItWorksClick:n,onCopyReferral:c}){const a=j(),[,l]=H(),[d,h]=f.useState(!1),g=()=>{c(),d||(l(e.referralLink.toString()),h(!0))};f.useEffect(()=>{d===!0&&setTimeout(()=>{h(!1)},2e3)},[d]);const{rewardsPage:{referAndEarn:x,rewardsCard:u,statisticsCard:{knowMore:w}}}=b.getLocalizedStrings();return o.jsxs(lo,{children:[o.jsxs(co,{children:[o.jsxs(fo,{children:[o.jsx(go,{children:x}),o.jsx(mo,{children:u.rewardsSummary[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))}),o.jsx(uo,{onClick:n,children:w})]}),o.jsxs(po,{children:[o.jsxs(xo,{onClick:i,children:[o.jsx(wo,{}),u.inviteViaEmail]}),o.jsx($o,{onClick:g,isCopied:d,children:d?o.jsxs(o.Fragment,{children:[o.jsx(bo,{}),u.copied]}):o.jsxs(o.Fragment,{children:[o.jsx(yo,{}),u.copyReferralLink]})})]})]}),a==="medium-compact"||a==="medium-regular"?null:o.jsx(ho,{children:o.jsx(Re,{planAmount:e.referrerAmount})})]})}const lo=t.div`
|
|
61
61
|
display: flex;
|
|
62
62
|
align-items: center;
|
|
63
63
|
justify-content: space-between;
|
|
@@ -96,14 +96,14 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
96
96
|
color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorSapphire:e.theme.colors.brandColorJade};
|
|
97
97
|
margin-bottom: ${r.sp3};
|
|
98
98
|
max-width: 450px;
|
|
99
|
-
`,uo=t(
|
|
99
|
+
`,uo=t(Fe)`
|
|
100
100
|
margin-bottom: ${r.sp5};
|
|
101
101
|
color: ${e=>e.theme.colors.primary};
|
|
102
102
|
cursor: pointer;
|
|
103
103
|
&:hover {
|
|
104
104
|
color: ${e=>e.theme.colors.champion};
|
|
105
105
|
}
|
|
106
|
-
`,xo=t(
|
|
106
|
+
`,xo=t(Z)`
|
|
107
107
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
108
108
|
border-radius: ${r.sp2};
|
|
109
109
|
background-color: ${e=>e.theme.colors.primary};
|
|
@@ -118,7 +118,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
118
118
|
background-color: ${e=>e.theme.colors.champion};
|
|
119
119
|
border: 1px solid ${e=>e.theme.colors.champion};
|
|
120
120
|
}
|
|
121
|
-
`,wo=t(
|
|
121
|
+
`,wo=t(X)`
|
|
122
122
|
height: ${r.sp3};
|
|
123
123
|
width: ${r.sp3};
|
|
124
124
|
margin-right: ${r.sp2};
|
|
@@ -128,7 +128,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
128
128
|
flex: 0 1 auto;
|
|
129
129
|
flex-direction: column;
|
|
130
130
|
align-items: flex-start;
|
|
131
|
-
`,$o=t(
|
|
131
|
+
`,$o=t(Z)`
|
|
132
132
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
133
133
|
border-radius: ${r.sp2};
|
|
134
134
|
background-color: ${e=>e.isCopied?e.theme.colors.champion:e.theme.colors.primary};
|
|
@@ -143,11 +143,11 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
143
143
|
background-color: ${e=>e.theme.colors.champion};
|
|
144
144
|
border: 1px solid ${e=>e.theme.colors.champion};
|
|
145
145
|
}
|
|
146
|
-
`,yo=t(
|
|
146
|
+
`,yo=t(U)`
|
|
147
147
|
width: ${r.sp3};
|
|
148
148
|
height: ${r.sp3};
|
|
149
149
|
margin-right: ${r.sp2};
|
|
150
|
-
`,bo=t(
|
|
150
|
+
`,bo=t(Q)`
|
|
151
151
|
width: ${r.sp3};
|
|
152
152
|
height: ${r.sp3};
|
|
153
153
|
color: ${S.success};
|
|
@@ -186,7 +186,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
186
186
|
`,zo=t(W)`
|
|
187
187
|
color: ${e=>e.theme.colors.champion};
|
|
188
188
|
margin-bottom: ${r.sp3};
|
|
189
|
-
`,Po=t(
|
|
189
|
+
`,Po=t(Ae)`
|
|
190
190
|
margin-bottom: ${r.sp3};
|
|
191
191
|
color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorSapphire:e.theme.colors.brandColorJade};
|
|
192
192
|
cursor: pointer;
|
|
@@ -222,7 +222,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
222
222
|
`,Oo=t($e)`
|
|
223
223
|
color: ${e=>e.theme.colors.brandColorGold};
|
|
224
224
|
margin-bottom: ${r.sp2};
|
|
225
|
-
`,Wo={backgroundSize:new p(75,100,75)};function Do({rewardsPlan:e,onInviteClick:i,setShowNavButton:n,onCopyReferral:c}){const a=V(),l=j(),[,d]=
|
|
225
|
+
`,Wo={backgroundSize:new p(75,100,75)};function Do({rewardsPlan:e,onInviteClick:i,setShowNavButton:n,onCopyReferral:c}){const a=V(),l=j(),[,d]=H(),[h,g]=f.useState(!1),[x,u]=f.useState(!1),w=()=>{c(),h||(d(e.referralLink.toString()),g(!0))},C=()=>{u(!0)},m=()=>{u(!1)};f.useEffect(()=>{h===!0&&setTimeout(()=>{g(!1)},2e3)},[h]);const{rewardsCard:$,referAndEarn:_}=b.getLocalizedStrings().rewardsPage,R=f.useRef(null);Se(R,n);const K=x?o.jsx(ie,{showCopyText:x,isCopied:h,children:$.copyReferralLink}):null;return o.jsxs(Eo,{windowSize:l,children:[o.jsxs(No,{children:[o.jsx(Ao,{children:_}),o.jsx(Fo,{children:$.rewardsSummary[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))}),o.jsxs(Vo,{ref:R,children:[o.jsx(G,{variant:"secondary",label:$.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ko,{}),textStyle:{...B.standardRegular.cssObject},buttonColors:{borderColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},backgroundColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.grey5}},style:{borderRadius:r.sp1,padding:`${r.sp1} 12px`,flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center",marginRight:r.sp3}}),o.jsx(Yo,{onClick:w,onMouseOver:C,onMouseLeave:m,showCopyText:x,isCopied:h,children:o.jsx(Jo,{showCopyText:x,isCopied:h,children:o.jsx(Go,{})})}),o.jsx(Xo,{children:h?o.jsxs(o.Fragment,{children:[o.jsx(qo,{}),o.jsx(ie,{showCopyText:x,isCopied:h,children:$.copied})]}):K})]})]}),l==="medium-compact"||l==="medium-regular"?null:o.jsx(Ho,{children:o.jsx(Lo,{planAmount:e.referrerAmount})})]})}const Eo=t.div`
|
|
226
226
|
display: flex;
|
|
227
227
|
align-items: center;
|
|
228
228
|
justify-content: space-between;
|
|
@@ -251,20 +251,20 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
251
251
|
align-items: center;
|
|
252
252
|
justify-content: flex-start;
|
|
253
253
|
position: relative;
|
|
254
|
-
`,
|
|
254
|
+
`,Ho=t.div`
|
|
255
255
|
display: flex;
|
|
256
256
|
max-width: 254px;
|
|
257
257
|
min-width: 240px;
|
|
258
258
|
height: 160px;
|
|
259
259
|
flex: 1 1 auto;
|
|
260
|
-
`,
|
|
260
|
+
`,Ao=t(De)`
|
|
261
261
|
color: ${e=>e.theme.colors.primary};
|
|
262
262
|
margin-bottom: ${r.sp2};
|
|
263
|
-
`,
|
|
263
|
+
`,Fo=t(z)`
|
|
264
264
|
color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorSapphire:e.theme.colors.brandColorJade};
|
|
265
265
|
max-width: 210px;
|
|
266
266
|
margin-bottom: ${r.sp5};
|
|
267
|
-
`,
|
|
267
|
+
`,Ko=t(X)`
|
|
268
268
|
height: ${r.sp3};
|
|
269
269
|
width: ${r.sp3};
|
|
270
270
|
flex-shrink: 0;
|
|
@@ -279,7 +279,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
279
279
|
cursor: pointer;
|
|
280
280
|
background-color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.champion:"transparent"};
|
|
281
281
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
282
|
-
`,Go=t(
|
|
282
|
+
`,Go=t(U)`
|
|
283
283
|
width: ${r.sp3};
|
|
284
284
|
height: ${r.sp3};
|
|
285
285
|
cursor: pointer;
|
|
@@ -287,12 +287,12 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
287
287
|
display: flex;
|
|
288
288
|
align-items: center;
|
|
289
289
|
color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.grey3:e.theme.colors.primary};
|
|
290
|
-
`,
|
|
290
|
+
`,qo=t(Q)`
|
|
291
291
|
width: ${r.sp4};
|
|
292
292
|
height: ${r.sp4};
|
|
293
293
|
color: ${S.success};
|
|
294
294
|
margin-right: ${r.sp1};
|
|
295
|
-
`,
|
|
295
|
+
`,Xo=t.div`
|
|
296
296
|
position: absolute;
|
|
297
297
|
bottom: -35px;
|
|
298
298
|
right: -55px;
|
|
@@ -305,13 +305,13 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
305
305
|
background-color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.black:"transparent"};
|
|
306
306
|
padding: ${r.sp1} ${r.sp2};
|
|
307
307
|
border-radius: ${r.sp1};
|
|
308
|
-
`,
|
|
308
|
+
`,Qo={height:new p(200,280)},F={earningValue:new M("h6Regular","h5Regular"),cardTitle:new M("extraSmallRegular","smallRegular"),buttonText:new M("extraSmallRegular","smallRegular")};function ne({pendingBonus:e,earnedBonus:i,pendingReferrals:n,onHowItWorksClick:c}){const{rewardsPage:{statisticsCard:a},common:{strings:l}}=b.getLocalizedStrings(),d=j();return o.jsxs(Uo,{windowSize:d,children:[o.jsx(Zo,{children:o.jsx(er,{windowSize:d,children:a.title})}),o.jsxs(or,{windowSize:d,children:[o.jsxs(se,{children:[o.jsx(ae,{children:a.earned}),o.jsx(le,{windowSize:d,type:"earned",children:k("0,0",i)})]}),d==="medium-compact"?o.jsx(tr,{}):o.jsx(rr,{}),o.jsxs(se,{children:[o.jsx(ae,{children:a.pending}),o.jsx(le,{windowSize:d,type:"pending",children:k("0,0",e)})]})]}),o.jsxs(ir,{children:[o.jsxs(nr,{windowSize:d,children:[a.pendingReferrals," ",l.colon," ",n]}),o.jsxs(ar,{windowSize:d,onClick:c,children:[a.knowMore," ",o.jsx(sr,{})]})]})]})}const Uo=t.div`
|
|
309
309
|
display: flex;
|
|
310
310
|
flex-direction: column;
|
|
311
311
|
align-items: center;
|
|
312
312
|
justify-content: space-between;
|
|
313
313
|
flex: 1 1 auto;
|
|
314
|
-
height: ${e=>
|
|
314
|
+
height: ${e=>Qo.height.valuePx(e.windowSize)};
|
|
315
315
|
background-color: ${e=>e.theme.colors.grey5};
|
|
316
316
|
background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/confetti.svg);
|
|
317
317
|
background-repeat: no-repeat;
|
|
@@ -319,7 +319,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
319
319
|
box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
320
320
|
border: ${r.sp1} solid ${e=>e.theme.colors.grey5};
|
|
321
321
|
border-radius: ${r.sp2};
|
|
322
|
-
`,
|
|
322
|
+
`,Zo=t.div`
|
|
323
323
|
display: flex;
|
|
324
324
|
flex: 0 1 auto;
|
|
325
325
|
width: 100%;
|
|
@@ -327,7 +327,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
327
327
|
justify-content: center;
|
|
328
328
|
padding-top: ${r.sp4};
|
|
329
329
|
`,er=t(O)`
|
|
330
|
-
${e=>`${
|
|
330
|
+
${e=>`${F.cardTitle.style(e.windowSize)}`};
|
|
331
331
|
color: ${e=>e.theme.colors.champion};
|
|
332
332
|
margin-bottom: ${r.sp1};
|
|
333
333
|
`,or=t.div`
|
|
@@ -352,10 +352,10 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
352
352
|
margin: ${r.sp2} 0;
|
|
353
353
|
width: ${r.sp5};
|
|
354
354
|
border-top: 1px solid ${S.neutralGrey1Light};
|
|
355
|
-
`,ae=t(
|
|
355
|
+
`,ae=t(A)`
|
|
356
356
|
color: ${e=>e.theme.colors.primary};
|
|
357
357
|
`,le=t(O)`
|
|
358
|
-
${e=>`${
|
|
358
|
+
${e=>`${F.earningValue.style(e.windowSize)}`};
|
|
359
359
|
color: ${e=>e.type==="pending"?S.alert:S.success};
|
|
360
360
|
`,ir=t.div`
|
|
361
361
|
display: flex;
|
|
@@ -368,7 +368,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
368
368
|
padding: ${r.sp2} 0;
|
|
369
369
|
background-color: ${e=>e.theme.colors.grey3};
|
|
370
370
|
`,nr=t(O)`
|
|
371
|
-
${e=>`${
|
|
371
|
+
${e=>`${F.buttonText.style(e.windowSize)}`};
|
|
372
372
|
margin-left: 12px;
|
|
373
373
|
color: ${e=>e.theme.colors.primary};
|
|
374
374
|
`,sr=t(We)`
|
|
@@ -383,8 +383,8 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
383
383
|
cursor: pointer;
|
|
384
384
|
padding-right: 12px;
|
|
385
385
|
color: ${e=>e.theme.colors.primary};
|
|
386
|
-
${e=>`${
|
|
387
|
-
`,lr=90,
|
|
386
|
+
${e=>`${F.buttonText.style(e.windowSize)}`};
|
|
387
|
+
`,lr=90,q=114,Le=160,dr=1,cr=58,pr=45,de=(e,i)=>i!=="small"?lr:Ee(e,{...B.standardRegular.cssPartialObject(["fontSize","fontFamily","fontWeight"])}).width<Le?q:q+24,{rewardsPage:{header:ee},common:{strings:ce}}=b.getLocalizedStrings(),hr={key:"invitee_email",value:ee.invitee_email,sortOrder:"ascending",width:new p(s[7],s[8],s[8],s[9])},gr={key:"amount",value:ee.amount,sortOrder:"ascending",width:new p(s[4],20,20,s[3])},mr={key:"status",value:ee.status,sortOrder:"ascending",width:new p(s[3],s[4],s[4],20)},N=[hr,mr,gr],ur=e=>{const i=e.toLowerCase().split(ce.space).join(ce.underscore);switch(e){case y.invite_processing:return{value:e,color:v.invite_processing.color,borderColor:v.invite_processing.borderColor,code:i};case y.invite_sent:return{value:e,color:v.invite_sent.color,borderColor:v.invite_sent.borderColor,code:i};case y.onboarding:return{value:e,color:v.onboarding.color,borderColor:v.onboarding.borderColor,code:i};case y.active:case y.reward_sent:return{value:e,color:v.active.color,borderColor:v.active.borderColor,code:i};case y.declined:return{value:e,color:v.declined.color,borderColor:v.declined.borderColor,code:i};case y.resend_invite:return{value:e,color:v.resend_invite.color,borderColor:v.resend_invite.borderColor,code:i};default:return{value:e,color:v.in_progress.color,borderColor:"",code:i}}},T={headerLastColumnTopPadding:new p(s[0],s[4]),headerLastColumnRightPadding:new p(s[3],s[11]),headerLastColumnBottomPadding:new p(s[0],s[4]),headerLastColumnLeftPadding:new p(s[3],s[11]),headerHeight:new p(pr,cr)};function xr({companyNameSticky:e,sortConfig:i,onColumnSortConfigChanged:n}){const c=V(),a=j(),[l,d]=f.useState(N);f.useEffect(()=>{const m=[...l];for(const $ of m)$.key===i.sortKey?$.sortOrder=i.sortOrder:$.sortOrder="ascending";d(m)},[i.sortKey,i.sortOrder]);const h=(m,$)=>{let _=$;i.sortKey===m&&(_=$==="ascending"?"descending":"ascending"),n(m,_)},g=l.find(m=>m.key===i.sortKey)??l[0],x=m=>l.find($=>$.key===m)?.value??C.strings.empty,u=l.map(m=>m.key),{rewardsPage:{inviteList:w},common:C}=b.getLocalizedStrings();return a==="small"?o.jsxs(pe,{windowSize:a,companyNameSticky:!1,children:[o.jsxs(fr,{children:[o.jsx(yr,{children:o.jsx($r,{})}),o.jsx(Ne,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:x,selectedValue:i.sortKey,onPickerSelectionChanged:m=>{m&&h(te(m),"ascending")},optionTextStyle:B.smallRegular,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4,titleTextStyle:B.smallRegular,titleColor:c.colors.hero})]}),o.jsxs(vr,{onClick:()=>{h(g.key,g.sortOrder)},children:[o.jsx(z,{children:g.value}),o.jsx(he,{sortDataValue:i.sortKey,headerdata:g,children:o.jsx(ge,{})})]})]}):o.jsx(pe,{companyNameSticky:e,windowSize:a,children:l.map(m=>o.jsx(wr,{companyNameSticky:e&&m.key==="invitee_email",sortDataValue:i.sortKey,actualDataValue:m.key,wrapperWidth:m.width,windowSize:a,shouldRightAlign:m.value==="Amount",children:o.jsxs(br,{onClick:()=>{h(te(m.key),m.sortOrder)},children:[o.jsx(z,{children:m.value}),o.jsx(he,{sortDataValue:i.sortKey,headerdata:m,children:o.jsx(ge,{})})]})},m.key))})}const pe=t(z)`
|
|
388
388
|
top: ${r.sp0};
|
|
389
389
|
left: ${r.sp0};
|
|
390
390
|
min-height: ${e=>T.headerHeight.valuePx(e.windowSize)};
|
|
@@ -420,7 +420,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
420
420
|
gap: ${r.sp1};
|
|
421
421
|
display: flex;
|
|
422
422
|
color: ${e=>e.theme.colors.hero};
|
|
423
|
-
`,$r=t(
|
|
423
|
+
`,$r=t(Ke)`
|
|
424
424
|
width: 12px;
|
|
425
425
|
height: 12px;
|
|
426
426
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -477,7 +477,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
477
477
|
display: flex;
|
|
478
478
|
align-items: flex-start;
|
|
479
479
|
height: 100%;
|
|
480
|
-
`,Ir=t(
|
|
480
|
+
`,Ir=t(A)`
|
|
481
481
|
flex: 1 1 auto;
|
|
482
482
|
word-break: break-word;
|
|
483
483
|
display: -webkit-box;
|
|
@@ -486,7 +486,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
486
486
|
overflow: hidden;
|
|
487
487
|
text-overflow: ellipsis;
|
|
488
488
|
max-width: initial;
|
|
489
|
-
`,_r=t(
|
|
489
|
+
`,_r=t(A)`
|
|
490
490
|
flex-direction: column;
|
|
491
491
|
align-items: center;
|
|
492
492
|
justify-content: center;
|
|
@@ -511,7 +511,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
511
511
|
white-space: nowrap;
|
|
512
512
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
513
513
|
border-radius: ${r.sp1};
|
|
514
|
-
`,Or=t(
|
|
514
|
+
`,Or=t(Z)`
|
|
515
515
|
display: flex;
|
|
516
516
|
color: ${e=>e.color};
|
|
517
517
|
height: 20px;
|
|
@@ -548,7 +548,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
548
548
|
margin-right: ${r.sp1};
|
|
549
549
|
`,Nr=t.div`
|
|
550
550
|
display: flex;
|
|
551
|
-
`,I={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[3],s[3]),containerPaddingBottom:new p(s[3],s[3]),containerMarginLeft:new p(s[3],s[8]),containerMarginRight:new p(s[3],s[8]),webkitLineClamp:new p(2,2,1,1,1)},{dateFormat:Vr,rewardsPage:{inviteList:
|
|
551
|
+
`,I={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[3],s[3]),containerPaddingBottom:new p(s[3],s[3]),containerMarginLeft:new p(s[3],s[8]),containerMarginRight:new p(s[3],s[8]),webkitLineClamp:new p(2,2,1,1,1)},{dateFormat:Vr,rewardsPage:{inviteList:Hr},common:ue}=b.getLocalizedStrings(),Ar=({email:e,amount:i,status:n,resendInviteStatus:c,inviteSendDate:a,onResendInviteClick:l})=>{const d=j();let h=!1;if(a){const u=new Date(a.format(Vr.visual.YYYYDashMMDashDFormat));h=ye(72,u)}const g=n.value===y.active?P.received:P.to_be_received,x=c.fetchState==="In-Progress"?o.jsx(be,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(et,{color:n.color,onClick:()=>{l(e)},children:Hr.status.resend_invite}),o.jsx(ot,{children:`${ue.sent} ${ve(a)}`})]});return o.jsx(Fr,{windowSize:d,children:o.jsxs(Kr,{children:[o.jsxs(tt,{children:[o.jsxs(Yr,{children:[o.jsx(Gr,{children:o.jsx(rt,{})}),o.jsx(Jr,{windowSize:d,children:e})]}),o.jsx(qr,{amountStatus:g,children:n.value===y.declined?o.jsx(Xr,{children:ue.strings.hyphen}):o.jsxs(o.Fragment,{children:[k("0,0.[00]",i),o.jsx(Qr,{amountStatus:g,children:g})]})})]}),o.jsx(it,{children:o.jsx(Zr,{children:n.value===y.invite_sent&&h?x:o.jsx(nt,{children:o.jsx(Ur,{color:n.color,borderColor:n.borderColor,children:n.value})})})})]})})},Fr=t.div`
|
|
552
552
|
display: flex;
|
|
553
553
|
margin-bottom: ${r.sp3};
|
|
554
554
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -562,7 +562,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
562
562
|
cursor: pointer;
|
|
563
563
|
margin-right: ${e=>I.containerMarginRight.valuePx(e.windowSize)};
|
|
564
564
|
margin-left: ${e=>I.containerMarginLeft.valuePx(e.windowSize)};
|
|
565
|
-
`,
|
|
565
|
+
`,Kr=t.div`
|
|
566
566
|
display: flex;
|
|
567
567
|
width: 100%;
|
|
568
568
|
justify-content: space-between;
|
|
@@ -576,7 +576,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
576
576
|
display: flex;
|
|
577
577
|
align-items: flex-start;
|
|
578
578
|
height: 100%;
|
|
579
|
-
`,Jr=t(
|
|
579
|
+
`,Jr=t(A)`
|
|
580
580
|
color: ${e=>e.theme.colors.hero};
|
|
581
581
|
flex-grow: 1;
|
|
582
582
|
word-break: break-word;
|
|
@@ -586,7 +586,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
586
586
|
overflow: hidden;
|
|
587
587
|
text-overflow: ellipsis;
|
|
588
588
|
max-width: ${Le}px;
|
|
589
|
-
`,
|
|
589
|
+
`,qr=t(z)`
|
|
590
590
|
display: flex;
|
|
591
591
|
flex-direction: column;
|
|
592
592
|
align-items: flex-start;
|
|
@@ -594,11 +594,11 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
594
594
|
color: ${e=>e.amountStatus===P.to_be_received?e.theme.colors.grey2:e.theme.colors.primary};
|
|
595
595
|
width: 100%;
|
|
596
596
|
margin-left: ${r.sp5};
|
|
597
|
-
`,
|
|
597
|
+
`,Xr=t(Ce)`
|
|
598
598
|
color: ${e=>e.theme.colors.hero};
|
|
599
|
-
`,
|
|
599
|
+
`,Qr=t(W)`
|
|
600
600
|
color: ${e=>e.amountStatus===P.to_be_received?e.theme.colors.grey2:e.theme.colors.success};
|
|
601
|
-
`,
|
|
601
|
+
`,Ur=t(W)`
|
|
602
602
|
color: ${e=>e.color};
|
|
603
603
|
height: 20px;
|
|
604
604
|
align-items: center;
|
|
@@ -611,7 +611,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
611
611
|
display: inline-flex;
|
|
612
612
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
613
613
|
border-radius: ${r.sp1};
|
|
614
|
-
`,
|
|
614
|
+
`,Zr=t.div`
|
|
615
615
|
width: 100%;
|
|
616
616
|
color: ${e=>e.theme.colors.hero};
|
|
617
617
|
box-sizing: border-box;
|
|
@@ -658,7 +658,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
658
658
|
display: flex;
|
|
659
659
|
flex-direction: column;
|
|
660
660
|
align-items: flex-end;
|
|
661
|
-
`,D={pageTitleMarginLeft:new p(s[3],s[8]),pageTitleMarginRight:new p(s[3],s[8]),pageTitleMarginTop:new p(s[4],s[5]),pageTitleMarginBottom:new p(s[3],s[3])},st={pageTitle:new M("standardSemiBold","largeSemiBold")},xe=b.getLocalizedStrings(),at=({index:e,style:i,inviteList:n,onResendInviteClick:c})=>{const a=j(),l=n[e],d=a==="small"?
|
|
661
|
+
`,D={pageTitleMarginLeft:new p(s[3],s[8]),pageTitleMarginRight:new p(s[3],s[8]),pageTitleMarginTop:new p(s[4],s[5]),pageTitleMarginBottom:new p(s[3],s[3])},st={pageTitle:new M("standardSemiBold","largeSemiBold")},xe=b.getLocalizedStrings(),at=({index:e,style:i,inviteList:n,onResendInviteClick:c})=>{const a=j(),l=n[e],d=a==="small"?Ar:kr;return o.jsx(xt,{style:{...i,width:"100%"},children:o.jsx(d,{email:l.refereeEmailId,amount:l.amount,status:ur(l.statusCode),resendInviteStatus:l.resendInviteStatus,onResendInviteClick:c,inviteSendDate:l.lastInviteTimestamp})})},lt=({inviteList:e,uiState:i,fetchState:n,onResendInviteClick:c,onReloadInvitees:a,onColumnSortConfigChanged:l})=>{const d=j(),h=w=>{const C=e[w].refereeEmailId;return de(C,d)},g=e.reduce((w,C)=>w+de(C.refereeEmailId,d),0),x=f.useRef(null);f.useEffect(()=>{x.current?.resetAfterIndex(0)},[d,x]);let u=null;switch(n){case"Not-Started":case"In-Progress":u=o.jsx(Je,{fetchState:n});break;case"Error":u=o.jsxs(ct,{children:[o.jsx(pt,{onClick:a,children:o.jsx(ht,{})}),o.jsx(gt,{children:xe.peoplePage.reloadPage.label})]});break;case"Completed":e.length!==0&&(u=o.jsxs(ut,{windowSize:d,children:[o.jsx(mt,{windowSize:d,children:xe.rewardsPage.inviteList.pageTitle}),o.jsx(xr,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:i.sortKey,sortOrder:i.sortOrder}}),o.jsx(Oe,{ref:x,height:g,width:"100%",itemCount:e.length,itemSize:h,estimatedItemSize:q,itemKey:w=>e[w].refereeEmailId,overscanCount:dr,initialScrollOffset:0,children:w=>o.jsx(at,{...w,inviteList:e,onResendInviteClick:c})})]}))}return o.jsx(dt,{children:u})},dt=t.div`
|
|
662
662
|
display: block;
|
|
663
663
|
height: 100%;
|
|
664
664
|
`,ct=t.div`
|
|
@@ -684,7 +684,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
684
684
|
&:hover {
|
|
685
685
|
color: ${e=>e.theme.colors.primary};
|
|
686
686
|
}
|
|
687
|
-
`,gt=t(
|
|
687
|
+
`,gt=t(He)`
|
|
688
688
|
margin-top: ${r.sp3};
|
|
689
689
|
color: ${e=>e.theme.colors.hero};
|
|
690
690
|
`,mt=t(O)`
|
|
@@ -705,7 +705,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
705
705
|
&:last-child {
|
|
706
706
|
padding-bottom: ${r.sp0};
|
|
707
707
|
}
|
|
708
|
-
`,wt={referralButtonRightPosition:new p(-4,28,28,-4)},{rewardsPage:{referButton:Y},common:{texts:E}}=b.getLocalizedStrings();function ft(e){const i=j(),[n,c]=f.useState(!1),[,a]=
|
|
708
|
+
`,wt={referralButtonRightPosition:new p(-4,28,28,-4)},{rewardsPage:{referButton:Y},common:{texts:E}}=b.getLocalizedStrings();function ft(e){const i=j(),[n,c]=f.useState(!1),[,a]=H(),[l,d]=f.useState(!1),h=()=>{e.onCopyReferralLink(),l||(a(e.referralLink.toString()),d(!0))};return f.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1),c(!1)},2e3)},[l]),o.jsx($t,{windowSize:i,children:o.jsx(Me,{onClickAway:()=>{c(!1)},children:o.jsx(yt,{onClick:()=>{n||e.onClickRefer(),c(!0)},onTouchEnd:()=>{n||e.onClickRefer(),c(!0)},children:o.jsx(Be,{entity:"rewards",isMoreOption:!1,closeMenuOnSelect:!1,isMenuOpen:n,title:E.refer,options:[{label:Y.inviteViaEmail,value:E.invite},{label:l?Y.urlCopied:Y.copyReferralUrl,value:l?E.copied:E.copy}],customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),container:()=>({marginLeft:s[0]}),valueContainer:()=>({display:"flex"})},onOptionSelection:g=>{switch(g){case"invite":e.onInviteClick();break;case"copy":h();break}}})})})})}const $t=t.div`
|
|
709
709
|
position: absolute;
|
|
710
710
|
right: ${e=>wt.referralButtonRightPosition.valuePx(e.windowSize)};
|
|
711
711
|
`,yt=t.div`
|
|
@@ -716,7 +716,7 @@ import{f as V,K as j,V as o,bE as Te,h7 as A,aq as Me,hc as Be,u as s,O as b,o a
|
|
|
716
716
|
&:hover {
|
|
717
717
|
color: ${e=>e.theme.colors.primary};
|
|
718
718
|
}
|
|
719
|
-
`,bt=b.getLocalizedStrings().rewardsPage,Dt=e=>{const i=V(),n=j(),{pendingBonus:c,earnedBonus:a,rewardsPlan:l,pendingReferrals:d,inviteList:h,uiState:g,fetchState:x,onInviteClick:u,onBackClick:w,onHowItWorksClick:C,onReloadInvitees:m,onResendInviteClick:$,onColumnSortConfigChanged:_,onCopyReferralLink:R,onClickRefer:
|
|
719
|
+
`,bt=b.getLocalizedStrings().rewardsPage,Dt=e=>{const i=V(),n=j(),{pendingBonus:c,earnedBonus:a,rewardsPlan:l,pendingReferrals:d,inviteList:h,uiState:g,fetchState:x,onInviteClick:u,onBackClick:w,onHowItWorksClick:C,onReloadInvitees:m,onResendInviteClick:$,onColumnSortConfigChanged:_,onCopyReferralLink:R,onClickRefer:K,onClickMenuIcon:Ie}=e,[_e,oe]=f.useState(!0);let re=null;return _e||(re=o.jsx(ft,{referralLink:l.referralLink,onInviteClick:u,onClickRefer:K,onCopyReferralLink:R})),o.jsxs(vt,{children:[o.jsx(Te,{source:"InvitePageListView",title:bt.pageTitle,showBackButton:!0,backgroundColor:i.colors.grey4,style:{zIndex:3},onBackClick:w,showMenuIcon:n==="medium-compact"||n==="small",onClickMenuIcon:Ie,rightSideComponent:re}),h.length===0?o.jsx(kt,{children:o.jsx(Ro,{rewardsPlan:l,onHowItWorksClick:C,onInviteClick:u,onCopyReferral:R})}):o.jsxs(o.Fragment,{children:[n==="small"?o.jsxs(Ct,{children:[o.jsx(ne,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:C}),o.jsx(ze,{referralLink:l.referralLink,onInviteClick:u,onCopyReferral:R,setShowNavButton:oe})]}):o.jsxs(jt,{children:[o.jsx(we,{children:o.jsx(ne,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:C})}),o.jsx(we,{children:o.jsx(Do,{rewardsPlan:l,onInviteClick:u,setShowNavButton:oe,onCopyReferral:R})})]}),o.jsx(lt,{inviteList:h,fetchState:x,onReloadInvitees:m,onColumnSortConfigChanged:_,uiState:g,onResendInviteClick:$})]})]})},vt=t.div`
|
|
720
720
|
display: flex;
|
|
721
721
|
width: 100%;
|
|
722
722
|
height: 100vh;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{e as Y,g5 as F,g as ee,aa as te,u as g,V as d,h1 as le,ae as ne,ac as oe,aT as se,o as re,x as E,cK as Z,g8 as q,g9 as A,ga as K,O as ie,c as ae}from"./index-aCBnCBoN.js";import{a as w}from"./sentry-DzaNjvx0.js";import{n as G}from"./mui-BosmckWV.js";import{Gx as de,bg as ce}from"./zeni-epic-state-BNpJ2txa.js";import{f as ue}from"./AllUserItems-B6pnKByY-BUdz_J3g.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js";import"./RoleWithToolTip-CqLxmtj6-BNUOWMRG.js";import"./LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.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]="630cbc90-d7f0-4b2f-b85e-db659c1f38c6",e._sentryDebugIdIdentifier="sentry-dbid-630cbc90-d7f0-4b2f-b85e-db659c1f38c6")}catch{}})();const S={containerPaddingLeft:new E(g[3],g[6],g[8]),containerPaddingRight:new E(g[3],g[6],g[8]),buttonWidth:new E(85,85)},V="editPeoplePage",T="userItems",p=ie.getLocalizedStrings().peoplePage,Pe=({peopleDetails:e,managersList:t,classList:f,controllersList:z,mode:o,isZeniTenant:_,onPeopleLocalDataUpdated:x,onCloseClick:O,onSaveClick:r,isReimbursementDisabled:$,isZeniAccountsDisabled:s,isChargeCardDisabled:D,isTreasuryDisabled:k,isBankingOnlyTenant:R,isCardsOnlyTenant:I,isLiteRoleDisabled:U})=>{const c=Y(),[M,Q]=w.useState(-1),[B,P]=w.useState(""),j=w.useRef(null),L=w.useMemo(()=>F($,s,D,R,I,U,k),[$,s,D,R,I,U,k]),W=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:N(e.people,o,L,t,f,R,I),values:N(e.people,o,L,t,f,R,I)}),J=i.handleSubmit(()=>{H()?r():console.warn("Invite People form error")}),H=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((v,C)=>{const{role:a,nonZeniRole:y,department:u,manager:m}=v;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${T}.${C}.role`,{type:"required"}),n=!1);else{const b=y?.userRole.selectedRole;(b!=null&&y!=null?y.productsByUserRole[b].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${T}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!I&&(i.setError(`${T}.${C}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${T}.${C}.manager`,{type:"required"}),n=!1)}}),n},X=async(l,n)=>{const v=[],{userItems:C}=n;C.forEach(a=>{let y={};if(o==="zeni_only")y={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(h=>de(h.selectedOption?.value)).filter(h=>h!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const b=ce(m);y={email:a.email,role:m,departmentId:b?void 0:a.department?.selectedOption?.value,managerId:b?void 0:a.manager?.selectedUser}}v.push(y)}),x(v)};return w.useEffect(()=>{const l=i.watch((n,{name:v})=>{v!=null&&n!=null&&X(v,n)});return()=>{l.unsubscribe()}}),w.useEffect(()=>{const l=j.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>g[9]?P(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):P(""))};return c==="small"?P(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=g[9]&&P(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:B,backgroundColor:W.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:j,children:[c!=="small"?d.jsx(pe,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ne,{...i,children:d.jsx("form",{id:`${V}_form`,onSubmit:J,children:d.jsx(ue,{control:i.control,sectionId:T,deleteConfirmationIndex:M,updateDeleteConfirmationIndex:Q,mode:o,isZeniTenant:_,classList:f,managersList:t,controllersList:z,isBankingOnlyTenant:R,isCardsOnlyTenant:I,customerRoleOptions:L,isEdit:!1})})})]}),d.jsx(se,{formId:`${V}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:S.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:S.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:re.sp4}})]})},N=(e,t,f,z,o,_,x)=>{const O=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?K(e[0].role):void 0,allRootRole:A(_,x)},productsByUserRole:q(e[0]?.role??[],f)}:void 0,department:void 0,manager:void 0}];return{[T]:e.length>0?e.map((r,$)=>({userIndex:$,email:r.email,role:t==="zeni_only"?{allOptions:Z.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?K(r.role):void 0,allRootRole:A(_,x)},productsByUserRole:q(r.role,f)}:void 0,department:{allOptions:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})),selectedOption:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})).find(s=>s.value===r.departmentId)},manager:{allUsers:z,selectedUser:r.managerId}})):O}},Se=(e,t)=>`${e}.${t}`,me=G.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
+
|
|
6
|
+
padding-left: ${e=>`${S.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
7
|
+
padding-right: ${e=>`${S.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
8
|
+
overflow-x: hidden;
|
|
9
|
+
height: 100%;
|
|
10
|
+
`,pe=G(ae)`
|
|
11
|
+
color: ${e=>e.theme.colors.primary};
|
|
12
|
+
`;export{Pe as default,Se as uniqueName};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import{g as se,e as de,O as J,V as t,L as q,o as l,d,x as z,gK as ve,gL as ze,ac as K,cy as Le,cz as Ee,cA as Pe,au as Te,bb as ce,u as g,w as ie,M as Be,n as Ae,ak as pe,gM as Ie}from"./index-aCBnCBoN.js";import{a as o}from"./sentry-DzaNjvx0.js";import{n as i}from"./mui-BosmckWV.js";import De from"./AttachmentView-SsWJw4A8-BGK1ntZP.js";import{l as Me}from"./uploadReceipts-CIgkuVpu-Dil-Qv4Z.js";import{t as Re}from"./upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./zeni-epic-state-BNpJ2txa.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="f0631630-bdd1-48f7-ad79-459f29370904",e._sentryDebugIdIdentifier="sentry-dbid-f0631630-bdd1-48f7-ad79-459f29370904")}catch{}})();const _e=e=>o.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},o.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),o.createElement("g",{mask:"url(#mask0_623_1439)"},o.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),o.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),o.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),o.createElement("defs",null,o.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),o.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),He=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),f={memoPaddingTopBottomRight:new z(12,g[3]),billReceiptSize:new z(60,g[10]),rootContainerPaddingTop:new z(g[3],62),rootContainerPaddingRight:new z(g[3],g[6]),rootContainerPaddingBottom:new z(g[5],g[9]),rootContainerPaddingLeft:new z(g[3],g[8])},re=i(Be)`
|
|
2
|
+
color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
|
|
3
|
+
white-space: pre-wrap;
|
|
4
|
+
text-align: center;
|
|
5
|
+
${e=>e.isPlaceholderText===!0?ie.largeRegular.css:ie.extraSmallRegular.css};
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: baseline;
|
|
8
|
+
`,ne=i(Ae)`
|
|
9
|
+
color: ${e=>e.theme.colors.hero};
|
|
10
|
+
white-space: pre-wrap;
|
|
11
|
+
text-align: center;
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: baseline;
|
|
14
|
+
`,ae=i(ce)`
|
|
15
|
+
color: ${e=>e.theme.colors.champion};
|
|
16
|
+
`,L=i.div`
|
|
17
|
+
padding: 0 2px;
|
|
18
|
+
`,Ve=i.div`
|
|
19
|
+
height: 100%;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
flex: 1 1 auto;
|
|
24
|
+
border: 1px dashed ${e=>e.theme.colors.primary};
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
border-radius: ${l.sp2};
|
|
27
|
+
padding: ${e=>f.memoPaddingTopBottomRight.valuePx(e.windowSize)};
|
|
28
|
+
align-items: center;
|
|
29
|
+
width: 100%;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
32
|
+
.uploadIconStyled {
|
|
33
|
+
fill: ${e=>e.theme.colors.grey1};
|
|
34
|
+
}
|
|
35
|
+
&:hover {
|
|
36
|
+
.uploadIconStyled {
|
|
37
|
+
fill: ${e=>e.theme.colors.primary};
|
|
38
|
+
}
|
|
39
|
+
.textContent {
|
|
40
|
+
color: ${e=>e.theme.colors.primary};
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
`,he=i.div`
|
|
44
|
+
border: 1px dashed ${e=>e.theme.colors.primary};
|
|
45
|
+
border-radius: ${l.sp2};
|
|
46
|
+
display: flex;
|
|
47
|
+
flex: 1 1 auto;
|
|
48
|
+
width: 100%;
|
|
49
|
+
flex-direction: row;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
align-items: center;
|
|
52
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
53
|
+
box-shadow: ${e=>`${l.sp0} 2px ${l.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
54
|
+
`,Fe=i.div`
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
border-radius: ${l.sp2};
|
|
59
|
+
align-items: center;
|
|
60
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
61
|
+
justify-content: center;
|
|
62
|
+
width: 100%;
|
|
63
|
+
height: 100%;
|
|
64
|
+
padding: ${e=>e.type==="w9"?l.sp0:e.showTitlebar===!0&&e.windowSize!=="small"?l.sp3:l.sp0};
|
|
65
|
+
img {
|
|
66
|
+
width: inherit;
|
|
67
|
+
height: inherit;
|
|
68
|
+
}
|
|
69
|
+
`,Ue=i.div`
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
align-items: center;
|
|
73
|
+
padding-top: ${e=>f.rootContainerPaddingTop.valuePx(e.windowSize)};
|
|
74
|
+
padding-right: ${e=>f.rootContainerPaddingRight.valuePx(e.windowSize)};
|
|
75
|
+
padding-bottom: ${e=>f.rootContainerPaddingBottom.valuePx(e.windowSize)};
|
|
76
|
+
padding-left: ${e=>f.rootContainerPaddingLeft.valuePx(e.windowSize)};
|
|
77
|
+
height: ${e=>e.windowSize==="small"&&e.showAutofill?"100%":e.windowSize==="small"?"490px":"auto"};
|
|
78
|
+
overflow: ${e=>e.windowSize==="small"?"unset":"hidden"};
|
|
79
|
+
width: ${e=>e.windowSize=="small"?"100%":"42%"};
|
|
80
|
+
background-color: ${e=>e.showAutofill&&e.windowSize!=="small"?d.overlayDark:e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.background};
|
|
81
|
+
margin-top: ${e=>e.windowSize==="small"&&(e.type==="bill"||e.type==="w9")?"76px":"unset"};
|
|
82
|
+
`,Ze=i.div`
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
align-items: center;
|
|
86
|
+
justify-content: center;
|
|
87
|
+
flex-grow: 1;
|
|
88
|
+
`,Oe=i.div`
|
|
89
|
+
display: flex;
|
|
90
|
+
justify-content: flex-end;
|
|
91
|
+
align-items: center;
|
|
92
|
+
`,We=i.div`
|
|
93
|
+
display: flex;
|
|
94
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
95
|
+
align-content: center;
|
|
96
|
+
align-items: center;
|
|
97
|
+
margin-top: ${l.sp3};
|
|
98
|
+
`,Ne=i(pe)`
|
|
99
|
+
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
100
|
+
margin-right: ${l.sp3};
|
|
101
|
+
`,Ge=i.div`
|
|
102
|
+
color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
103
|
+
padding: ${l.sp1} ${l.sp2};
|
|
104
|
+
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
105
|
+
&:hover {
|
|
106
|
+
border-color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
|
|
107
|
+
}
|
|
108
|
+
border-radius: ${l.sp1};
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
`,N=i.div`
|
|
111
|
+
background: ${d.importantLight};
|
|
112
|
+
padding: ${l.sp2};
|
|
113
|
+
border-radius: ${l.sp1};
|
|
114
|
+
margin: ${l.sp3} 0;
|
|
115
|
+
max-width: 330px;
|
|
116
|
+
text-align: center;
|
|
117
|
+
`,Je=i(Re)`
|
|
118
|
+
color: ${e=>e.theme.colors.grey1};
|
|
119
|
+
margin-bottom: ${l.sp3};
|
|
120
|
+
`,qe=i(_e)`
|
|
121
|
+
color: ${e=>e.theme.colors.grey1};
|
|
122
|
+
margin-bottom: ${l.sp3};
|
|
123
|
+
`,Ke=i(He)`
|
|
124
|
+
width: ${l.sp7};
|
|
125
|
+
height: ${l.sp7};
|
|
126
|
+
color: ${e=>e.theme.colors.hero};
|
|
127
|
+
`,G=i(pe)`
|
|
128
|
+
color: ${d.important};
|
|
129
|
+
`,Xe=({type:e="bill",attachmentIdBeingUploaded:C,uploadError:w,uploadErrorMsg:y,showAutofill:m,allowMultiFiles:E=!1,customError:P,dropFilePlaceholder:n,showInfoText:D,showTitlebar:T,pdfTitle:M,openSizeLimitPopup:R,onUploadAttachment:k,uploadStatus:B})=>{const x=se(),[_,b]=o.useState(!1),j=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?b(!0):r.type==="dragleave"&&_&&b(!1)},H=function(r){if(r.preventDefault(),r.stopPropagation(),b(!1),r.dataTransfer.files.length>0){const s=r.dataTransfer.files;if(E){const a=[],h=[];for(let c=0;c<s.length;c++)a.push(s[c].name),h.push(s[c]);k?.(h,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"dragdrop")}}},p=de(),A=o.useRef(null),$=J.getLocalizedStrings().spendManagement.billPay.billDetails,v=()=>{A.current?.click()},V=r=>{if(r.target.files!=null){const s=r.target.files;if(E){const a=[],h=[];for(let c=0;c<s.length;c++)a.push(s[c].name),h.push(s[c]);k?.(h,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"upload")}}},F=B!=null?B.fetchState=="In-Progress":C;return t.jsxs(Fe,{showTitlebar:T,windowSize:p,type:e,children:[T===!0?t.jsx(Qe,{windowSize:p,type:e,children:M}):null,F==!0?t.jsx(he,{children:e==="receipt"?t.jsx(q,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${x.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${x.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${l.sp0} 2px ${l.sp1} ${x.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):t.jsx(q,{size:"ExtraLarge",start:!0})}):t.jsx(Ye,{windowSize:p,showAutofill:m,type:e,children:t.jsxs(Ve,{windowSize:p,onClick:()=>v(),onDragEnter:j,onDragLeave:j,onDragOver:j,onDrop:H,"data-testid":K("upload-tag",e),children:[t.jsxs(Ze,{onDragEnter:j,children:[e==="receipt"?t.jsx(Je,{width:f.billReceiptSize.valuePx(p),height:f.billReceiptSize.valuePx(p)}):t.jsx(qe,{width:f.billReceiptSize.valuePx(p),height:f.billReceiptSize.valuePx(p)}),e==="receipt"?t.jsxs(re,{isPlaceholderText:!0,children:[n?.upload!=null?t.jsx(L,{children:n?.upload}):null,n?.single!=null?t.jsx(L,{children:t.jsx(ae,{themeContext:x,children:n?.single})}):null,n?.or!=null?t.jsx(L,{children:n?.or}):null,n?.multiple!=null?t.jsx(L,{children:t.jsx(ae,{themeContext:x,children:n?.multiple})}):null,n?.receipts!=null?t.jsx(L,{children:n?.receipts}):null,n?.receipt!=null?t.jsx(L,{children:n?.receipt}):null]}):e==="w9"?t.jsx(ne,{children:$.dropW9}):t.jsx(ne,{children:$.dropInvoice}),P!=null&&t.jsx(N,{children:t.jsx(G,{children:P})}),w&&y==="File size is too large"&&t.jsx(N,{children:t.jsx(G,{children:$.uploadFileSizeExceedError})}),w&&y!=="File size is too large"&&t.jsx(N,{children:t.jsx(G,{children:$.uploadError.replace("__type__",e)})})]}),t.jsx(ve,{fileRef:A,name:"invoice",onFileChange:V,multiple:E,sizeLimit:ze,onFileSizeError:R}),D===!0?t.jsxs(Oe,{children:[t.jsx(Ke,{}),t.jsx(re,{isPlaceholderText:!1,style:{marginLeft:l.sp1},children:$.currencyInfo})]}):null]})})]})},Ye=i.div`
|
|
130
|
+
padding: ${e=>e.type==="w9"?l.sp0:e.windowSize==="small"&&e.showAutofill===!1?l.sp3:l.sp0};
|
|
131
|
+
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey3:e.theme.colors.grey4};
|
|
132
|
+
height: 100%;
|
|
133
|
+
width: 100%;
|
|
134
|
+
border-radius: ${l.sp2};
|
|
135
|
+
`,Qe=i(ce)`
|
|
136
|
+
padding-bottom: ${e=>e.type==="w9"?l.sp0:e.windowSize==="small"?"12px":l.sp3};
|
|
137
|
+
background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.grey3};
|
|
138
|
+
width: 100%;
|
|
139
|
+
color: ${e=>e.theme.colors.primary};
|
|
140
|
+
`,ut=({uploadInvoiceEndPoint:e,authParams:C,showAutofill:w,allowMultiFiles:y,type:m="bill",customError:E,pdfTitle:P,entityId:n,shouldNotShowAttachment:D,analytics:T,style:M,noAttachmentText:R,dropFilePlaceholder:k,showInfoText:B,showTitlebar:x,showTitlebarIcon:_,file:b,attachmentTitle:j,vendorLegalName:H,onInvoiceUpload:p,onSkipAutofill:A,setFileUploaded:$,updateInvoiceUploadFetchState:v,onReplaceClick:V,onDeleteClick:F,uploadStatus:r,isLoading:s=!1})=>{const a=se(),h=de(),[c,X]=o.useState(!1),Y=J.getLocalizedStrings().spendManagement.billPay.billDetails,[me,U]=o.useState(!1),[ue,Q]=o.useState(!1),[ge,fe]=o.useState(""),[we,Z]=o.useState(!1),[O,xe]=o.useState({title:"",description:"",primaryButtonText:""});o.useEffect(()=>{b!=null?U(!0):U(!1)},[b]);async function ee(S,u,I,le,ye){X(!0),Q(!1);const be=y===!0?I:[I[0]],$e=y===!0?le:[le[0]],{blobs:Se,names:ke}=await Ie(be,$e);await Me(`${S}/1.0/processors/${m}`,u,Se,ke,fe).then(je=>{p?.(je),U(!0),$?.()}).catch(()=>{Q(!0),ye?.("Error")}),X(!1)}const te=S=>{const u=J.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;S?(xe({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),Z(!0)):Z(!1)},Ce={onOkClick:()=>{Z(!1)}};let oe=n!=null||(r!=null?r?.fetchState=="Completed":me);m==="bill"&&D===!0&&(oe=!1);const W=m==="bill"?"bill_pay":m==="receipt"?"reimbursement":"w9";return t.jsx(Ue,{showAutofill:w,windowSize:h,style:M,type:m,"data-testid":K("upload-section",W),children:s?t.jsx(he,{children:t.jsx(q,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[we?t.jsx(Le,{titleComponent:t.jsx(Pe,{children:O.title}),descriptionComponent:t.jsx(Ee,{children:O.description}),primaryButtonText:O.primaryButtonText,action:Ce}):null,!s&&r?.fetchState!=="In-Progress"&&oe?t.jsx(De,{title:j,type:m,file:b,noAttachmentText:R,showTitlebar:x,showTitlebarIcon:_,pdfTitle:P,onReplaceClick:V,onDeleteClick:F,allowMultiFiles:y,openSizeLimitPopup:te,onUploadAttachment:(S,u)=>{v?.("In-Progress"),ee(e,C,S,u,v)}}):t.jsx(Xe,{type:m,uploadError:ue,uploadErrorMsg:ge,attachmentIdBeingUploaded:c,dropFilePlaceholder:k,showInfoText:B,allowMultiFiles:y,customError:E,showTitlebar:x,pdfTitle:P,showAutofill:w,openSizeLimitPopup:te,uploadStatus:r,onUploadAttachment:(S,u,I)=>{T?.trackUploadInvoice(I,W,H),v?.("In-Progress"),ee(e,C,S,u,v)}}),w?t.jsxs(We,{windowSize:h,children:[t.jsx(Ne,{windowSize:h,themeContext:a,children:Y.skipAutofillInfo}),t.jsx(Ge,{windowSize:h,themeContext:a,"data-testid":K("skip-autofill",W),onClick:()=>A?.(!w),children:t.jsx(Te,{children:Y.skipAutofill})})]}):null]})})};export{Xe as AttachmentElement,ut as default};
|