@zeniai/web-cockpit-ui 1.14.98-dev → 1.14.99-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-BRWOdhMx-B-izv--D.js +21 -0
- package/dist/assets/{AIPerformancePage-TtdFArUl-j0kjTnVR.js → AIPerformancePage-4v4Fkm9f-8H5taohv.js} +108 -108
- package/dist/assets/AccountInfoPage-Ca_vKG58--BfC_vXh.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BXX4TyeS-SAgRb0Wy.js → AccountInfoPageContent-Dv1IPcdF-BHWFRnzI.js} +19 -19
- package/dist/assets/AccountLockedInfoModal-CEk5d9hq-BMstREsN.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-BZsVhDyw-NNurOrkC.js → AccountReconDetailsDrawerPage-DYKjrPwN-Drg0SGIJ.js} +54 -54
- package/dist/assets/{AccountRow-COxNWv3J-Dkf6Savq.js → AccountRow-BM3xLbeh-BSdpkM-d.js} +30 -30
- package/dist/assets/{AccountsPromoCardStack-BW7r2R96-BzoEoVWx.js → AccountsPromoCardStack-CTkwARBJ-Cy5pYNXf.js} +30 -30
- package/dist/assets/AddAddressForCardDrawer-DfOyebHX-DhjpIE6j.js +6 -0
- package/dist/assets/{AddToWalletPage-CXhBOHda-b2nCfyTx.js → AddToWalletPage-OJBvAKUj-B4ZmMeKh.js} +13 -13
- package/dist/assets/{AgingReportsPage-CX3Te0mD-BjuuVeMz.js → AgingReportsPage-n-UKn3Ei-CZEEMMir.js} +10 -10
- package/dist/assets/{AllUserItems-Cd2jEIM9-DycIVbwH.js → AllUserItems-BsvKEVcx-lxn8aic0.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-BCBhgQDY-m3orWzJK.js → ApAgingDetailPage-Duu2uAEr-DUMvdGKK.js} +5 -5
- package/dist/assets/{AppBasePage-BRcQ7IPJ-DssY-F_Q.js → AppBasePage-DoCF494Z-qPWVG34b.js} +16 -16
- package/dist/assets/{AppDrawerContent-DQlHQEcs-DrKgTlSj.js → AppDrawerContent-DM1t0oLS-9US_DgsB.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-Cqt8FvLJ-CEOV0Ixl.js → ApprovalRulesSettingsPage-GZCo6_i2-CJH6P32S.js} +6 -6
- package/dist/assets/{ArAgingChart-BvAQf_dB-CCF75Uiv.js → ArAgingChart-CsFDVdeO-C4PujVrW.js} +4 -4
- package/dist/assets/ArAgingDetailPage-CaOr6vAU-B5uL9zyI.js +46 -0
- package/dist/assets/{AttachmentView-e6OZT5St-CRHdzPSa.js → AttachmentView-B0d42oAf-DVHm34mB.js} +6 -6
- package/dist/assets/{BankAccountSection-DWKYMZid-XH_pxLOm.js → BankAccountSection-Bgdk93V0-Cg5PjZDc.js} +7 -7
- package/dist/assets/BankAccountWarningSection-DMRmF2yM-BgfDzJHZ.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-DLnQeHtD-CQ9CrcQ2.js → BankConnectionsSettingsPage-BpwKq93l-Brctq4SF.js} +16 -16
- package/dist/assets/BillDetailPage-BG7FhHEq-DUv2nuJK.js +266 -0
- package/dist/assets/BillPayApprovalRuleDetailPage-BAK1Gfko-A9_oblKa.js +27 -0
- package/dist/assets/BillPayApprovalRulesPage-DiCNUU-G-BjMEKdHG.js +235 -0
- package/dist/assets/BillPayPromoPage-aGKOv8Ur-eBwd93N4.js +84 -0
- package/dist/assets/{BillPaySetUpPage-CneIMbul-lrmOziwC.js → BillPaySetUpPage-DRCjyEfB-XKTwWmRS.js} +2 -2
- package/dist/assets/{BillingSettingsPage-35KDGxi0-Ct237R_x.js → BillingSettingsPage-CdYb74V7-HQVzU-6G.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-B2SeSM_K-CBWl1wuN.js → BillsBulkReviewDrawerPage-D8EGfY5P-B0Wqyx4s.js} +1 -1
- package/dist/assets/{BoxItem-BGDuiQll-BzndiGjI.js → BoxItem-WOrvBzns-DN4WYKEf.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-GZnJ9G9I-Crwn_TZB.js → BusinessVerificationPage-CbqJIVpz-DVX5hTQl.js} +10 -10
- package/dist/assets/{CardNumberSubText-COHmqgEx-BK8P_Xt5.js → CardNumberSubText-DBOH0_yP-3HOBgKpF.js} +8 -8
- package/dist/assets/{CashbackDetailPage-DvA_0POP-D_6kuYkj.js → CashbackDetailPage-D-kXy6LW-CbbkR_T0.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-DF69jsTG-COjz_Wle.js → ChargeCardDetailPage-BQnJsfn5-C0NtbZa-.js} +244 -244
- package/dist/assets/ChargeCardListPage-130ILwkr-ZB2yzsHG.js +412 -0
- package/dist/assets/{ChargeCardListTable-BEYWfP5G-1q8VKxw1.js → ChargeCardListTable-EGkwcy7i-DEc29h5o.js} +67 -67
- package/dist/assets/ChargeCardPromoPage-BwqrXrY--IstKF_Na.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BsTAJGSf-BVABxQAh.js → ChargeCardSetupPage-DRzB7Rt4-DmQFjafd.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-BwuOooT4-Ds9c5zWv.js → ChargeCardStatementsPage-C3NxKjmB-C8FsLWHJ.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-CC3EUXpO-Fr7mH3zN.js → CheckDepositDrawerPage-ClxKj2js-Do24RzJh.js} +17 -17
- package/dist/assets/{CollapsableReportTable-Bju2JSCg-BqWf1iHn.js → CollapsableReportTable-xkNXkjfh-CtzSwjPt.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CtHtINKb-ChsViTKu.js → CompanyOfficerDetailsSection-BtUBatbQ-Con3Jm3w.js} +30 -30
- package/dist/assets/{CompanyPassportCard-ClihOV6I-659ckUvl.js → CompanyPassportCard-BOxM716U-TVvNmGP9.js} +7 -7
- package/dist/assets/{CompanyPassportPage-Bzbp9vtj-DZ2qH-RA.js → CompanyPassportPage-DzE7sm8S-Bu9tLN80.js} +40 -40
- package/dist/assets/{CompleteProfile-C88rpvIR-CPwa_ZcH.js → CompleteProfile-BjGSPASa-AWB6Qzlv.js} +3 -3
- package/dist/assets/ConfettiBurst-1rYKpbAj-DRsprSNw.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DJWcJCPR-VpXOBLk1.js → CreateOrEditVendorPage-WQeDCj-E-D6Y6HtQ7.js} +20 -20
- package/dist/assets/CreditCardPaymentDrawerPage-Q12y6HMX-CloaEiop.js +224 -0
- package/dist/assets/{CurrencySelectField-9MMlAXHh-7T5GvQvy.js → CurrencySelectField-AjAWhg6e-BY-FVQ5N.js} +4 -4
- package/dist/assets/CustomerOnboardingActivationPage-BJhw-PvI-BRcGbX9s.js +88 -0
- package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-ByC2CvtB.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-EBEAYH3x-DVqWwomd.js → CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-DKx0xsM-.js} +15 -15
- package/dist/assets/CustomerOnboardingNoStepsPage-CNni6chX-pyXbZEvq.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-BWvGF8wk-Gc8v-oNy.js → CustomerOnboardingPage-CvN9Jrdy-CzriWSkS.js} +4 -4
- package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-7zbQywoe.js +202 -0
- package/dist/assets/{Dashboard-Zq5BpBhF-C6unAaBQ.js → Dashboard-_o0Ftdv8-_2fT5Ubv.js} +55 -55
- package/dist/assets/{DashboardReportPage-Pie-FQ1e-CpPHLX-r.js → DashboardReportPage-Cu5wqWkj-BHVvAcwu.js} +20 -20
- package/dist/assets/DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-Ds_VkWfq.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-C6o7UraM-ERw30shi.js → DepositAccTransactionItem-BOPK7-7P-CUK10p36.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-DWIzj9EC-C4ETOwPX.js → DepositAccTransactionListPage-oj9tntbI-BS3VI9z2.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-BbuaFhlm-B7VB8oiV.js → DomesticWireDetailsPage-FGdEilUB-DiafQBWa.js} +1 -1
- package/dist/assets/{DownloadOverlay-smXqu_-_-DbNqWY1P.js → DownloadOverlay-c57lEf_V-LFGP7g4c.js} +39 -39
- package/dist/assets/{DrawerPage-C-NGhaFc-Bdiyy2BL.js → DrawerPage-inbhWwND-Db0y8xmo.js} +18 -18
- package/dist/assets/EditPeoplePage-DJthuIP4-C5mu6ajz.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-Bt7XKq5h-CsQHoeMv.js +865 -0
- package/dist/assets/EntityDetailPage-DbTiF9Hs-C-1lJOCB.js +18 -0
- package/dist/assets/{EntitySummarySection-D7ui3VxW-BWyvfwWL.js → EntitySummarySection-CHgrPo86-DQf0eS91.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-Cci1pEY4-BQvp8jPr.js → ExpenseAutomationOverviewPage-QZT_UFXf-CqWIAvtS.js} +27 -27
- package/dist/assets/{ExpenseAutomationPage-DsPGEQpL-CcB9eHac.js → ExpenseAutomationPage-Y7V_Z8rd-BtMIiHAT.js} +63 -63
- package/dist/assets/{ExpressPayPage-ddPMg7wE-Tlo0T7f7.js → ExpressPayPage-CIp_R6ZQ-bLqdW2c-.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-B7rx89MJ-NE6QqmUF.js → FeaturePreviewPage-qsUO3mUu-Bg5tciIN.js} +3 -3
- package/dist/assets/{FollowStepsSection-WUNvyjJh-Bpyevbi9.js → FollowStepsSection-ebmR-eLP-DUvk8yUe.js} +49 -49
- package/dist/assets/{GlobalReviewListPage-CrEL8cxP-BVjE_r1i.js → GlobalReviewListPage-9V-xoqvs-DgQFHT5d.js} +14 -14
- package/dist/assets/{InformationCardStack-cYN7bwE3-B7UR3-b4.js → InformationCardStack-DnB7TmOk-DRRzuuUg.js} +8 -8
- package/dist/assets/{InsightsCardStack-CAuhoPST-MWY5O8lc.js → InsightsCardStack-BBczCYEz-DTWoyTqN.js} +12 -12
- package/dist/assets/InsightsSection-BTXj5WUe-ByTIWrkc.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CBqEJpyq-Bl--bqo-.js → IntegrationsSettingsPage-CByj2tO4-C70tL_8j.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-Bg2_G0O4-DwQXwZkY.js → InternationalWireSwiftDetailsPage-4-pl1ozv-BerAwOXU.js} +17 -17
- package/dist/assets/{InternationalWireVerificationPage-BdaKAePs-BIYMiNd6.js → InternationalWireVerificationPage-kIajgPZt-CeT00ZG8.js} +26 -26
- package/dist/assets/{InviteFormPage-a7CtHDQi-gCSqizmu.js → InviteFormPage-XsnZcAvb-CP-m9x5T.js} +24 -24
- package/dist/assets/{InvitePageListView-D0flsJMi-CW5tcQ7p.js → InvitePageListView-HfsehyxK-NVvr8Ith.js} +78 -78
- package/dist/assets/InvitePeoplePage-DrBtwpMH-CbYg413Q.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D6gMuygS-CT-0_4kq.js → InvoiceUploadSection-DPd4VmqZ-CDlXjsFg.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-_zy-SJN0-qq3fKGX-.js → IssueChargeCardPage-xbfFhV0O-D9cPo91Q.js} +34 -34
- package/dist/assets/{LabeledAddressValue-CXqpyfBQ-40JlhWdQ.js → LabeledAddressValue-CB_KH7v5-BfaoCJC2.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D-0wb98p-CSTw9NrL.js → LabeledAddressValueField-Bt41wdNQ-C-99cOeY.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-Btw_zwzy-BqFptUno.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js → LabeledCreatableSingleSelectField-fycRE7PX-Hf4cCYiq.js} +4 -4
- package/dist/assets/LabeledDocumentField-C73vQNgq-BAncal8r.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-D54g8qxW-Cnlp1a42.js → LabeledDropDownFormattedTextField-DGb_bDyp-BCPR37EJ.js} +7 -7
- package/dist/assets/{LabeledText-BJi28Cmu-KVGobttz.js → LabeledText-yhm8qxrA-Bs5CTGJn.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-B4rGn1v8.js → LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-DC0r0kWN.js} +23 -23
- package/dist/assets/{LabeledZeniRolesDropDownField--9AjGtEh-1hSD4x8B.js → LabeledZeniRolesDropDownField-DGkU72cd-ub025LyJ.js} +25 -25
- package/dist/assets/LinkJETransactionPage-C0onrP5t-BH-iwj4o.js +98 -0
- package/dist/assets/{LockCardPage-4ihNCAhG-Zb-UDpxz.js → LockCardPage-DaVzuRMw-Dq4q5Qyn.js} +21 -21
- package/dist/assets/{LowBalancePopup-YdUL24Wb-PfAaWR1_.js → LowBalancePopup-Dd9HLWlh-9AO78nGr.js} +4 -4
- package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-CbO6Gy8N.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-6hv3VXVe.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-DGyc9KKZ.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-B-YTZWYj-DKWdsZyd.js → MagicLinkSuccessPage-DbhdGmhh-Dlqur3CF.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-RHv_GuEq-c-uPcRfj.js → MagicLinkTitleSection-Bx92291D-eyJD0RqY.js} +4 -4
- package/dist/assets/MailingDetailsSection-D-tnK244-DkMA7qYY.js +21 -0
- package/dist/assets/Menu-0YHUdU0n-DClJzSBJ.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CryrCaA2-C1O3R525.js → MyBankConnectionsSettingsPage-Dn9AT8p1-DOZcDQsI.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-DmmwfwjV-Dzs7maAE.js → MyPendingActivationChargeCardListPage-DrQu6s7j-CuceVEXz.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BspAqqsh-B3zEQ3j1.js → MyProfileSettingsPage-CBvjEd7r-BTYXHZnd.js} +10 -10
- package/dist/assets/{NavBarWithPicker-C7xr7tTs-CsJWjiOL.js → NavBarWithPicker-aXn2QYh1-wbQMsyuO.js} +5 -5
- package/dist/assets/{NavigationArrow-rBOsZ92g-CvJ7c17R.js → NavigationArrow-JLUXaIrz-Dqbhc2Cm.js} +8 -8
- package/dist/assets/{NavigationDots-CautbD-g-AEb3JA6J.js → NavigationDots-B0_dDbgu-D0YfkCXB.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-DD4raaWT-0NjfCgam.js → NewGlobalMerchantPage-B_019EtP-DM6Ow8UK.js} +12 -12
- package/dist/assets/NoDataChart-DLKHNXD4-tDLmbg2P.js +26 -0
- package/dist/assets/NoDataTable-BMD2qygC-BimI42bf.js +8 -0
- package/dist/assets/{NotFoundPage-D-nIKeoL-DS39BiNV.js → NotFoundPage-BEya4LS2-BAtVahFo.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-DP3xTLvr-C8krffT3.js → NotificationSettingsPage-C9SjRKCu-AB1K2bpw.js} +23 -23
- package/dist/assets/NotificationsListConfig-OCeJNw1G-D_0tuWLm.js +1 -0
- package/dist/assets/{NotificationsPage-DkDGBzhT-B-IU27Zt.js → NotificationsPage-FJHx_WBG-DVMmN4nH.js} +49 -49
- package/dist/assets/{OpExByVendorPage-CtcdC3f9-DjyRt_lN.js → OpExByVendorPage-Dxk68R6U-DAiWfakx.js} +12 -12
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-D0iblwqz.js → OverlayContainerPage-Daz3A7cI-8v0sqF2w.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Bu49FbWD-CfqbniUD.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js → PaymentAccountSetupBillingAddressSection-s9EEHxoG-ByN70cgf.js} +8 -8
- package/dist/assets/{PeoplePage-DCI7v6ru-BQGxB0UL.js → PeoplePage-DN5VtG7Q-BobeSyfg.js} +29 -29
- package/dist/assets/Preview-B4cYjk3Q.js +1 -0
- package/dist/assets/{ProductsCarousel-Dqm1bC2_-C9nhPtyf.js → ProductsCarousel-6gthLCkf-CBWUX5-H.js} +8 -8
- package/dist/assets/{PromoBaseCards-dqE7GIJ6-CjPZd9YZ.js → PromoBaseCards-CzPzj69A-VNtWOXHP.js} +6 -6
- package/dist/assets/{QBOConnectionDialog-CGPNOde4-iJ0HQZcD.js → QBOConnectionDialog-BFy0lMZd-DQ6dF1fn.js} +6 -6
- package/dist/assets/{QBOSetupSection-HhIe91hw-09HBN8uJ.js → QBOSetupSection-DcLYyQ5m-BZmieU8G.js} +16 -16
- package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-DMhGskvy.js +26 -0
- package/dist/assets/ReimbursementApprovalRulesPage-D5ZMrrmO-17BV5IdU.js +237 -0
- package/dist/assets/ReimbursementDetailPage-DatcF8rt-DDHL4NDq.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-BZoZAydM-_dTEqW97.js → ReimbursementPromoPage-MweW-4DO-DOu17agw.js} +10 -10
- package/dist/assets/{ReimbursementSetUpPage-C8Oat8g_-oUMPzcZW.js → ReimbursementSetUpPage-BD2LWlbW-CPGJalxA.js} +10 -10
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BSXV7fzi-DApiFQ6Z.js → ReimbursementsBulkReviewDrawerPage-DV_PLm_g-C-hMp3nk.js} +1 -1
- package/dist/assets/{ReloadCard-BMn_7fNI-DobUmKfH.js → ReloadCard-9KpQCrce-CJxth4v-.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BE2BuEqj-Cv65zIMR.js → ReportTableViewSelector-BPliEsuo-CYSspAKt.js} +8 -8
- package/dist/assets/{ReportsPage-C4HDLBDq-nmW__s9z.js → ReportsPage-h2DAaQfK-BbjLhSlv.js} +14 -14
- package/dist/assets/{RevenueChart-q15U89i8-DTxTOafZ.js → RevenueChart-DY2s_upY-BrlpK408.js} +2 -2
- package/dist/assets/{ReviewDetailsPage-4mhC2jOb-D75AxfOq.js → ReviewDetailsPage-BiYxRnvA-B6yUj6Im.js} +20 -20
- package/dist/assets/{ReviewOverlay-Co22Cju1-u5iV88jr.js → ReviewOverlay-BvPN7IKD-Dzf2W2o-.js} +12 -12
- package/dist/assets/RoleWithToolTip-aW95rpRe-BSqBI82l.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DkKSZ0sJ-zAFG0_v4.js → ScheduleDetailsFixedAssetsPage-DlXqz1QQ-DCo0J0MC.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-B98XJtoQ-DL_QucDj.js → ScheduleDetailsPage-DebosLND-Dr3_f1Ao.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DXLxjeWw-DWriUjIB.js → ScheduleSequenceTable-Dd4Ep_c0-BGLZarfG.js} +36 -36
- package/dist/assets/ScreenRoutes-RCtfctxM.js +201 -0
- package/dist/assets/{SetUpAccountSection-AZk8_IC3-BgRTrYL7.js → SetUpAccountSection-Dhb8A0Oe-DTgzquEa.js} +8 -8
- package/dist/assets/SignIn-DQBJB5ad-Df-bXPXY.js +448 -0
- package/dist/assets/{SignInScreen-DJh1xRdL.js → SignInScreen-ymJeGv_l.js} +1 -1
- package/dist/assets/SpendManagementListViewPage-Ac-9u-X2-DDL7odAh.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-DgrMAQ8l-B-iCv2wr.js +754 -0
- package/dist/assets/SpendManagementSection-Ci2yOCJ9-Cl4Y2hmX.js +230 -0
- package/dist/assets/StatementItem-hcBoe79o-3MewkfUT.js +31 -0
- package/dist/assets/{StatementsPage-CBIa00EK-BjIWTE3I.js → StatementsPage-DVR5LhTi-yR6sBvKB.js} +3 -3
- package/dist/assets/{StatusSwitcher-Blc3-MDg-B12KNYTc.js → StatusSwitcher-Cy5ITFgi-BPjCuaKT.js} +1 -1
- package/dist/assets/{SubTabSwitcher-3oir5lzq-Cmzice7W.js → SubTabSwitcher-DhsES2OW-Bo9PDg54.js} +4 -4
- package/dist/assets/{SummaryCard-DO09QLUp-DPmkfJxO.js → SummaryCard-Byv4Hw8Q-CRXX5OyN.js} +1 -1
- package/dist/assets/{TaskManagementPage-C_EZJRtM-P8DErI3a.js → TaskManagementPage-CVXMOPf2-BPgLGH37.js} +42 -42
- package/dist/assets/TimeRangeSwitcher-jct2_5PE-CLdBT1H-.js +64 -0
- package/dist/assets/{TimeframeSwitcher-BsGp8KOv-CTY5_Ouk.js → TimeframeSwitcher-BK-qliOX-H_AqcOc6.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-Cl6ISBIz-B90xLHLZ.js +31 -0
- package/dist/assets/{TopExCard-Cn8iW3fO-DMUR1qBk.js → TopExCard-o4Q3ze1b-BhWZC02k.js} +12 -12
- package/dist/assets/{TopExDetailPage-BS8qCkLq-Cq17vLoi.js → TopExDetailPage-BsCwwwDi-CQb-1xKa.js} +12 -12
- package/dist/assets/{TransactionDetailPage-CUeVImfA-D9txujQI.js → TransactionDetailPage-rpCG65yC-DrwxmLfQ.js} +36 -36
- package/dist/assets/{TransactionList-CnjoEn7K-D2hvg7ek.js → TransactionList-YI4oZaim-BA7WlPL4.js} +15 -15
- package/dist/assets/{TransactionListBig-xVKV1MCm-GtEvft_N.js → TransactionListBig-D_Jw9Ip2-D2rLxw32.js} +12 -12
- package/dist/assets/TransactionListPage-B2yWm7eA-DHwvAIPN.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-Dr5C4-7q-cB0L9hlJ.js +80 -0
- package/dist/assets/{TransferDrawerPage-uBmvyc-P-CFJl7D9L.js → TransferDrawerPage-BnEVH7Mc-BoQvOiLs.js} +34 -34
- package/dist/assets/{TreasuryOverviewPage-DJcUyLa4-Cd3rdx_U.js → TreasuryOverviewPage-C927Rdkg-CauQRw4k.js} +47 -47
- package/dist/assets/{TreasuryPromoPage-DymCO6nN-Dc1dLp52.js → TreasuryPromoPage-C6D3bF2f-OrOyQ7OO.js} +14 -14
- package/dist/assets/{TreasuryStatementsPage-YEgI38zU-DOHp07qg.js → TreasuryStatementsPage-BE54gWl6-D5_ViYZY.js} +4 -4
- package/dist/assets/{TreasuryTaxLetterPage-CYO6JXCO-fy_exAGm.js → TreasuryTaxLetterPage-BaHut8Wc-CEbpmHg1.js} +3 -3
- package/dist/assets/{TrendChart-Dzc9yPKs-Blv6Qzrf.js → TrendChart-BI4Tz813-fFdjYEGq.js} +4 -4
- package/dist/assets/{TrendWithTransactions-C2HIrxbU-BSlQs2Tq.js → TrendWithTransactions-BicIDSlC-CR1UupOW.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-CN3CI6bw-zjOv8nCW.js → UncategorizedAccountsMappingPage-sbn4Sdr2-Cp0yxgAi.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-EaVWz4pX-CbKtqluY.js → UnitIntegrationPage-CZUyjeh5-CHXW7rW2.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-4AWDV_HK-BN630Ftn.js +38 -0
- package/dist/assets/Vendor2FAPopup-C_PmEAQ7-CPcuM1Lv.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DMMoCytX-D0o8agib.js +1 -0
- package/dist/assets/{VendorDetailPage-C_B_CmoV-DZeP35Np.js → VendorDetailPage-CLFKkF8I-C1yDRJ_V.js} +87 -87
- package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-C47siTp3.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dzgzl_4E-VsmZ5Vuv.js → VendorFiling1099EditablePage-CrWrhHZl-jwDcG4lR.js} +17 -17
- package/dist/assets/{VendorFirstReviewPage-mfIvCyFK-ApwBXjUo.js → VendorFirstReviewPage-C6MnbIan-DEgAFFp_.js} +60 -60
- package/dist/assets/{VendorInternationalWireDetailsPage-CNs1VqUa-DbFJLYLp.js → VendorInternationalWireDetailsPage-CzPRK4E2-DPbUqt-0.js} +17 -17
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-OZPxcMNL.js +1 -0
- package/dist/assets/{VendorsAccountsSection-B6DkSP2a-Ct-pliYw.js → VendorsAccountsSection-CVh1n81R-DKMXaRY8.js} +5 -5
- package/dist/assets/{VerifyDevice-Cu9P83rS-BlGa7yZF.js → VerifyDevice-BHocExfO-BBG3ubvW.js} +7 -7
- package/dist/assets/{VideoPlayer-Dml6r7Q7-CtFMcnbA.js → VideoPlayer-9rYRtSLf-BqgUiaDS.js} +2 -2
- package/dist/assets/{VideoPopup-B7E5ZfFp-BvZy2q4i.js → VideoPopup-D1o92dj6-CPKE8Mhx.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-BZU8XDHH-Djgf6BN0.js → WarningsDrawerPage-CzufXgaN-PU9KYQuW.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-Do5LJYN4-DOVBM5Q5.js → ZeniAccountDetailPage-ZZ3Ra-Jf-C6vBQEO7.js} +31 -31
- package/dist/assets/{ZeniAccountListViewPage-Be5rl4e6-BE0wkZ9j.js → ZeniAccountListViewPage-Cxid0mfh-BWdmN1tO.js} +10 -10
- package/dist/assets/ZeniAccountNavBarPieces-DDc-xph4-CakYiqJV.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BMULic13-C4Ac4YqS.js → ZeniAccountPromoPage-YIYFkPIB-DeTeBxx_.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-D_doc0Sf-BchKN68c.js → ZeniAccountSetupPage-BJ9UJ0dP-BVBV8wvJ.js} +1 -1
- package/dist/assets/{ZeniCopyright-CDfvakjf-8KnokS3w.js → ZeniCopyright-CztmWsFm-BfzonAhy.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BdZ5l3Hh-C3Uey-AS.js → ZeniTransferAmountSlider-g9qU5Lsq-Xlt7u852.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-Bp_adk0W.js → add-to-wallet-DgdBD8_G-C9HdEEg2.js} +1 -1
- package/dist/assets/{analytics-GoB8GGlk.js → analytics-DHoFVrJa.js} +1 -1
- package/dist/assets/{analyticsHelper-C164AjRf-tG0aq5YR.js → analyticsHelper-D4lKCWjQ-D3kvyQYi.js} +1 -1
- package/dist/assets/analyticsHelper-ogjXN0a1.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BlptIYjS.js → arrow-south-east-round-PEovUgvH-DTpfnp7v.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DNmdc0t7.js → auto-transfer-rule-mbafm5D3-Drj2iH_J.js} +1 -1
- package/dist/assets/{chartTypes-DQ1OffIu-Bo_aesHa.js → chartTypes-BPPSjkhb-B7nnCmyE.js} +1 -1
- package/dist/assets/{commonDimensions-j5_IHOmP-jvW6K-um.js → commonDimensions-Ds75pRzR-BWQNp0GW.js} +1 -1
- package/dist/assets/{constants-DTxI1rHn.js → constants-JMxq3kKJ.js} +1 -1
- package/dist/assets/{core-cG0U1y2d.js → core-DbjebHB2.js} +2 -2
- package/dist/assets/{dash.all.min-CKz_ZRDI.js → dash.all.min-DW9Kl4IB.js} +1 -1
- package/dist/assets/{detailCommon-BdYIBs8o-CJ5ceH6M.js → detailCommon-DdZdfmYT-DKTM1aWX.js} +6 -6
- package/dist/assets/downloadPdf-B8UMaJCC-DUveB_dN.js +1 -0
- package/dist/assets/{empty-DAIP1XxB.js → empty-6lxZMaF0.js} +1 -1
- package/dist/assets/{index-BMQnSjFr.js → empty-wNjVfCDj.js} +1 -1
- package/dist/assets/epic-DThgZpcq.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CTtI5cXz.js → gift-box-Cmt9OgIZ-CNk2xYWr.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-PUQeicgl.js → graphic-no-data-l-DU4J8fDt-ClpG2ri3.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BwRajxvj.js → graphic-no-data-net-burn-l-CzmycA0m-BOz-3nes.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BXfsCAUf.js → handshake-BPg58FML-k1WIZYu1.js} +1 -1
- package/dist/assets/{index-BqrFe7eC.js → index-7ciVtOQ7.js} +1 -1
- package/dist/assets/{index-CO_Updpp.js → index-BqVFY7NZ.js} +4410 -4418
- package/dist/assets/{index-DVGnYxP0.js → index-C1PhqSzi.js} +1 -1
- package/dist/assets/{index-uRSEmDsl.js → index-Cryszh5n.js} +1 -1
- package/dist/assets/{index-CpulHfxu.js → index-JDXIN5Fj.js} +1 -1
- package/dist/assets/index-JN-1XlIu.js +1 -0
- package/dist/assets/index-TZkjLPoA.js +1 -0
- package/dist/assets/{lexical-CUq6kk0g.js → lexical-B-aBuW2Y.js} +1 -1
- package/dist/assets/{liveblocks-BOlC_Koo.js → liveblocks-DBgNWxtT.js} +1 -1
- package/dist/assets/{lottie-DQ5EyuJ6.js → lottie-DbNQVAcx.js} +2 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-DGzOqzir.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-rrJBbsC8-TBViCt8n.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-CWvamMX2-HhIsCvlh.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-CrmG1KLX.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-D-1vMkLl.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-DDk9yv3G.js +1 -0
- package/dist/assets/{mui-ByF8ZmHV.js → mui-BdKs9UwT.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C2KjOx45.js → page-detail-CWX5S47F-Dil4tjIc.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-B7-vB3nP.js → radio-default-CiSgisfh-DIcxqpZX.js} +1 -1
- package/dist/assets/{react-B3-oq61_.js → react--GRYl8Vw.js} +2 -2
- package/dist/assets/{react-B1eYDq6e.js → react-1ymFMNft.js} +3 -3
- package/dist/assets/{react-B20ZDkLv.js → react-2NSNcP_P.js} +2 -2
- package/dist/assets/{react-osFWCkxJ.js → react-D1OXMWSN.js} +2 -2
- package/dist/assets/{react-D74rpLXu.js → react-DEyP-vQs.js} +1 -1
- package/dist/assets/{react-CeCukAHo.js → react-DaVNNE91.js} +1 -1
- package/dist/assets/{react-BU_tzuye.js → react-DfSxWhpD.js} +1 -1
- package/dist/assets/{react-iY_JqSpg.js → react-Dmst1txh.js} +2 -2
- package/dist/assets/{recharts-C9z9JCsM.js → recharts-CU0wfbyQ.js} +1 -1
- package/dist/assets/{sentry-DdXOXL3j.js → sentry-DfYwagp9.js} +2 -2
- package/dist/assets/{shield-DOlUxcFf-hMFlex27.js → shield-DOlUxcFf-C7eXS_DD.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CkjRB0sJ-BaA2_x3K.js +1 -0
- package/dist/assets/toChartData-CMi2WgAy-JL4zgl5e.js +1 -0
- package/dist/assets/transaction-placeholder-CpOwZAMG-C6Cgts33.js +1 -0
- package/dist/assets/{uploadAttachment-DiJJciQx-DORmL_G6.js → uploadAttachment-B4ddYCCL-BXwz-FZi.js} +27 -27
- package/dist/assets/{uploadReceipts-CPw64UYa-CIYZXcqS.js → uploadReceipts-CPw64UYa-CTZvsl83.js} +1 -1
- package/dist/assets/{url-PLN9h9fH.js → url-CNQZElM1.js} +1 -1
- package/dist/assets/{url-DnfeNFje.js → url-K5H6qIZr.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-aie8BHVS.js → useLongPress-GCK2COYQ-hK0wtujH.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-nbZRH-xL.js → usp-line-BBd1wKwW-C0__t1n1.js} +1 -1
- package/dist/assets/{utils-BMrfBn9K.js → utils-DTmuLq6q.js} +1 -1
- package/dist/assets/{zeni-epic-state-BiQIJCwr.js → zeni-epic-state-DcbIZGFH.js} +32 -32
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-DSdNOxQ9-Cve45-FP.js +0 -21
- package/dist/assets/AccountInfoPage-BVK7wWF2-D6Zwr__G.js +0 -18
- package/dist/assets/AccountLockedInfoModal-CiHVEVZY-D75r_EpP.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-BB7h_VuN-BW-_Qu7Y.js +0 -6
- package/dist/assets/ArAgingDetailPage-BjvQEK0m-N2ygiYcL.js +0 -46
- package/dist/assets/BankAccountWarningSection-neFg-P9--B7Ex5Gby.js +0 -51
- package/dist/assets/BillDetailPage-Caang31I-CV8BSbsx.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-4n9jmsl3-C-Id93Y1.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-BPX-ygl8-NB7YIybj.js +0 -241
- package/dist/assets/BillPayPromoPage-KojRs3th-CbM1NPfP.js +0 -84
- package/dist/assets/ChargeCardListPage-BaxxkyMM-Tr5RRdcf.js +0 -412
- package/dist/assets/ChargeCardPaymentHistoryPage-5dwl-3gt-Cg-FZFeP.js +0 -534
- package/dist/assets/ChargeCardPromoPage-DXHFY90F-COAtEu6_.js +0 -222
- package/dist/assets/ConfettiBurst-fYnxwqdQ-9H12a4VU.js +0 -1
- package/dist/assets/CreditCardPaymentDrawerPage-nshXhNlE-CfhRwqnV.js +0 -227
- package/dist/assets/CustomerOnboardingActivationPage-J6mQ99Q--BiV07KZX.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-DHYXaV1V-BTZJkTlt.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-_P1XRJy7-BBpsfMtj.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-BWN72Maw-CVrAAnDn.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-BCWBgFUn-C6Sp2Ncg.js +0 -12
- package/dist/assets/EditPeoplePage-Ck6tbODS-2oTO0N4I.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CYCB7XUZ-Bkc4_Xh-.js +0 -865
- package/dist/assets/EntityDetailPage-DEzsWzSU-C1IWQ2YR.js +0 -18
- package/dist/assets/InsightsSection-9xZ9BN4e-D22swiZq.js +0 -27
- package/dist/assets/InvitePeoplePage-xJZ4CmaB-D0fUyZVv.js +0 -12
- package/dist/assets/LabeledControlledCheckBoxField-CcPruRSO-BooOk31f.js +0 -16
- package/dist/assets/LabeledDocumentField-Bo6fnkUs-BetKwcOR.js +0 -41
- package/dist/assets/LinkJETransactionPage-CejrEmB0-M4S6E6Jj.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-BNATDZtB-DsiI-0KM.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-ZGyx0g5t-8Tuy5QId.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CP5KtUSE-HiNxzZ5H.js +0 -1
- package/dist/assets/MailingDetailsSection-DAryNhi6-DIXrN7jG.js +0 -21
- package/dist/assets/Menu-IHf_FfRX-LPFIlYqd.js +0 -17
- package/dist/assets/NoDataChart-58kSyixy-CZ5Rv3U9.js +0 -26
- package/dist/assets/NoDataTable-aDUu8tCI-CN9poHgG.js +0 -8
- package/dist/assets/NotificationsListConfig-CAW8P9gG-CmdQuS9n.js +0 -1
- package/dist/assets/PandLWithForecastPage-CpCiLOIl-DtQtxcyB.js +0 -107
- package/dist/assets/Preview-D56XCw0A.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Cx24E4je-CUe9BrFq.js +0 -32
- package/dist/assets/ReimbursementApprovalRulesPage-DRAkofwN-Cw1wl-sh.js +0 -243
- package/dist/assets/ReimbursementDetailPage-DToZctqy-CIF8fvzJ.js +0 -314
- package/dist/assets/RoleWithToolTip-DUEwWP4s-ChXNLhUR.js +0 -22
- package/dist/assets/ScreenRoutes-BRmamOlw.js +0 -201
- package/dist/assets/SignIn-C5PcCpLW-Da05HaL3.js +0 -480
- package/dist/assets/SpendManagementListViewPage-BmZeAl5K-BgHQbDY0.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-BfJ_icLF-CGfN-F05.js +0 -785
- package/dist/assets/SpendManagementSection-DoJcpweo-BSx0Jax5.js +0 -246
- package/dist/assets/StatementItem-Bw66NYeY-DcIvhMqc.js +0 -31
- package/dist/assets/TimeRangeSwitcher-mYZQR43P-BLWBlyWb.js +0 -64
- package/dist/assets/TimeframeSwitcherWithToggle-wwIX-Q6T-DmtPgL2u.js +0 -31
- package/dist/assets/TransactionListPage-DDNtUv3t-Dwe7tcE5.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-BTufZurh-CGfPDjZ_.js +0 -80
- package/dist/assets/UploadAdditionalDocumentOverlay-DIL6E7Sd-BEDKH1e3.js +0 -38
- package/dist/assets/Vendor2FAPopup-BxAm0k92-Dk5tVOzX.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DF0jHzqw-CNLQ8AnP.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-a52VbRia-DcoKPqJx.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BoEZ09xC-egxnMP7A.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-0h-vfuVY-BqB9OPYl.js +0 -14
- package/dist/assets/analyticsHelper-OMYXGOV0.js +0 -1
- package/dist/assets/downloadPdf-BduTAGPj-DUom1tyc.js +0 -1
- package/dist/assets/empty-D_oWKko5.js +0 -1
- package/dist/assets/epic-4bGyY7Fz.js +0 -2
- package/dist/assets/index-D4nV_3XK.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-kWMAzMb3-CMOJHu7q.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CSuXPDoO-BSS8TRaL.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BjnjpyM6-BNLh9WdA.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CaRKUf6w-8AEXCCet.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-XslT-q64-Q3w1WkcY.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-BItBTBN2.js +0 -1
- package/dist/assets/toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js +0 -1
- package/dist/assets/toChartData-DrvhJgTD-N2b3lY8k.js +0 -1
package/dist/assets/{DownloadOverlay-smXqu_-_-DbNqWY1P.js → DownloadOverlay-c57lEf_V-LFGP7g4c.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,
|
|
1
|
+
import{V as t,c0 as it,o as s,q as he,c1 as nt,am as He,p as ue,y as W,L as lt,F,c2 as dt,bL as Ue,c as B,b7 as qe,ak as L,bO as _e,b as te,al as be,n as ae,d as We,bQ as ct,c3 as xe,c4 as ge,m as Ge,c5 as Ze,bJ as pt,b8 as mt,an as ye,c6 as Z,c7 as ft,c8 as ht,bH as ut,bP as bt,ap as xt,c9 as gt,bY as yt,at as $t}from"./index-BqVFY7NZ.js";import{a as h,w as $e}from"./sentry-DfYwagp9.js";import{n,k as Je}from"./mui-BdKs9UwT.js";import{E_ as me,E$ as C,F0 as J,bL as P,F1 as K,F2 as we,F3 as U,bh as wt,F4 as _,F5 as Ft,F6 as jt,F7 as vt,F8 as Ot,F9 as Yt}from"./zeni-epic-state-DcbIZGFH.js";import{m as Dt}from"./analyticsHelper-D4lKCWjQ-D3kvyQYi.js";import{g as kt,x as _t}from"./ReportTableViewSelector-BPliEsuo-CYSspAKt.js";import{t as Ct}from"./page-detail-CWX5S47F-Dil4tjIc.js";import"./liveblocks-DBgNWxtT.js";import"./core-DbjebHB2.js";import"./recharts-CU0wfbyQ.js";import"./lottie-DbNQVAcx.js";import"./analytics-DHoFVrJa.js";import"./lexical-B-aBuW2Y.js";import"./utils-DTmuLq6q.js";import"./CollapsableReportTable-xkNXkjfh-CtzSwjPt.js";import"./AccountRow-BM3xLbeh-BSdpkM-d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="fa15a3e6-4aa4-4941-8a2d-4a318e6b294d",e._sentryDebugIdIdentifier="sentry-dbid-fa15a3e6-4aa4-4941-8a2d-4a318e6b294d")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=_(l,e);const{fyYear:u}=_(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
|
|
2
2
|
padding: ${s.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.borderColor.default};
|
|
4
4
|
border-radius: ${s.sp1};
|
|
@@ -17,7 +17,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
17
17
|
}
|
|
18
18
|
`,Pe=n.div`
|
|
19
19
|
display: flex;
|
|
20
|
-
`,Mt=n(
|
|
20
|
+
`,Mt=n(L)`
|
|
21
21
|
margin-left: ${s.sp3};
|
|
22
22
|
`,At=n(ut)`
|
|
23
23
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -30,11 +30,11 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
30
30
|
`,Me=n(ht)`
|
|
31
31
|
width: ${s.sp4};
|
|
32
32
|
height: ${s.sp4};
|
|
33
|
-
`,Tt=e=>{const{id:o,disabled:r=!1,checked:a=!1,label:i,showInfoIcon:l,tooltipText:p,style:m={},onClick:u}=e,c=We();let y=a?Se:Me;c.mode==="dark"&&(y=a?Se:Me);let $=a?c.colors.primary:c.colors.hero;r&&($=c.colors.grey2);const
|
|
33
|
+
`,Tt=e=>{const{id:o,disabled:r=!1,checked:a=!1,label:i,showInfoIcon:l,tooltipText:p,style:m={},onClick:u}=e,c=We();let y=a?Se:Me;c.mode==="dark"&&(y=a?Se:Me);let $=a?c.colors.primary:c.colors.hero;r&&($=c.colors.grey2);const j=()=>{r||u(o,a)};let w={default:c.colors.background,hover:c.colors.background},f={default:c.colors.hero,hover:c.colors.primary},k={default:c.colors.grey2,hover:c.colors.primary};return a?(w={default:c.colors.grey5,hover:c.colors.grey5},f={default:c.colors.primary,hover:c.colors.primary},k={default:c.colors.primary,hover:c.colors.primary}):r&&(w={default:c.colors.grey4,hover:c.colors.grey4},f={default:c.colors.grey2,hover:c.colors.grey2},k={default:c.colors.grey3,hover:c.colors.grey3}),t.jsxs(St,{backgroundColor:w,textColor:f,borderColor:k,onClick:j,disabled:r,checked:a,style:{...m},children:[t.jsxs(Pe,{children:[t.jsx(y,{color:a?$:"none"}),i!=null?t.jsx(Mt,{children:i}):null]}),l===!0?t.jsx(Pe,{style:{marginLeft:s.sp3},children:t.jsx(ct,{enterDelay:600,title:p,children:t.jsx(At,{width:s.sp3,height:s.sp3})})}):""]})},It=$e.memo(Tt),Fe=["year_to_date_total","free_range_total","year_to_date_last_year_total","rolling_12_months","rolling_12_months_average"],Lt=["this_period_vs_last_period","this_period_vs_last_period_percent",...Fe,"this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","same_period_last_year"],Rt=["this_period_vs_last_period","this_period_vs_last_period_percent",...Fe,"this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","same_period_last_year"],Nt=["this_period_vs_last_period","this_period_vs_last_period_percent",...Fe],Ke={month:Lt,quarter:Rt,year:Nt},Ae=n.div`
|
|
34
34
|
padding-top: ${e=>e.space};
|
|
35
|
-
`,
|
|
35
|
+
`,zt=n(L)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`,Bt=(e,o,r)=>{const a=[],i=r.startDate;return
|
|
37
|
+
`,Bt=(e,o,r)=>{const a=[],i=r.startDate;return J(o,e,1,"year").isBefore(i)&&a.push("same_period_last_year","this_period_vs_same_period_last_year","this_period_vs_same_period_last_year_percent","year_to_date_last_year_total"),a},Vt=e=>{const{firstMonthOfFY:o,selectedTimeframe:r,disabledAdditionalColumns:a,selectedAdditionalColumns:i,dateRange:l,calendarPeriod:p,dataAvailable:m,selectedFileType:u,onAdditionalColumnsSelectionChanged:c}=e,y=Bt(o,l.endDate,m);h.useEffect(()=>{const d=i.filter(g=>!y.includes(g));i.length!==d.length&&c(d)},[y,i,c]);const $=p.numberOfPeriods+i.length<A[u],j=F.getLocalizedStrings().downloadReport.additionalColumns[r],w=Ke[r],f=(d,g)=>{if(g){const O=i.indexOf(d),x=[...i];x.splice(O,1),p.maxNumberOfPeriods=A[u]-x.length,c(x)}else p.maxNumberOfPeriods=A[u]-(i.length+1),c([...i,d])},k=(d,g)=>{const{dateFormat:{visual:O}}=F.getLocalizedStrings();let x=K(J(l.endDate,g,1,"year"),O.MMMYYFormat,g);return r==="quarter"&&(x=`Q${K(J(l.endDate,g,1,"year"),O.QYYformat,g)}`),j[d].replace("-same_period_last_year-",x)};return t.jsxs(h.Fragment,{children:[t.jsx(zt,{children:F.getLocalizedStrings().downloadReport.addColumns}),t.jsx(Ae,{space:s.sp3}),w.map(d=>t.jsxs(h.Fragment,{children:[t.jsx(It,{checked:i.includes(d),label:k(d,o),disabled:a?.includes(d)===!0||y.includes(d)||!$&&!i.includes(d),id:d,onClick:(g,O)=>f(g,O),showInfoIcon:y.includes(d)&&$,tooltipText:F.getLocalizedStrings().downloadReport.dataNotAvailable}),t.jsx(Ae,{space:s.sp3})]},d))]})},Et=h.memo(Vt),Te=n.div``,Qt=n.div`
|
|
38
38
|
padding: ${s.sp2} ${s.sp3};
|
|
39
39
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
40
40
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -45,7 +45,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
45
45
|
position: relative;
|
|
46
46
|
`,Ht=n(be)`
|
|
47
47
|
color: ${e=>e.theme.colors.hero};
|
|
48
|
-
`,Ut=n(
|
|
48
|
+
`,Ut=n(L)`
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
50
|
margin-top: -2px;
|
|
51
51
|
`,qt=n($t)`
|
|
@@ -56,14 +56,14 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
56
56
|
:hover {
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
}
|
|
59
|
-
`,Wt=e=>{const{value:o,label:r,onClick:a}=e,i=We(),l=F.getLocalizedStrings().reports;return t.jsxs(Qt,{onClick:a,children:[t.jsxs(Te,{style:{display:"flex",alignItems:"center"},children:[t.jsx(gt,{color:i.colors.primary,style:{width:s.sp4,height:s.sp4}}),t.jsxs(Te,{style:{paddingLeft:s.sp3},children:[t.jsx(Ht,{style:{color:i.colors.hero},children:r}),t.jsxs(Ut,{style:{color:i.colors.primary},children:[o,e.timeframeTickTag!=null&&(e.timeframeTickTag==="under_review"?l.starred:l.doubleStarred)]})]})]}),t.jsx(qt,{})]})},
|
|
59
|
+
`,Wt=e=>{const{value:o,label:r,onClick:a}=e,i=We(),l=F.getLocalizedStrings().reports;return t.jsxs(Qt,{onClick:a,children:[t.jsxs(Te,{style:{display:"flex",alignItems:"center"},children:[t.jsx(gt,{color:i.colors.primary,style:{width:s.sp4,height:s.sp4}}),t.jsxs(Te,{style:{paddingLeft:s.sp3},children:[t.jsx(Ht,{style:{color:i.colors.hero},children:r}),t.jsxs(Ut,{style:{color:i.colors.primary},children:[o,e.timeframeTickTag!=null&&(e.timeframeTickTag==="under_review"?l.starred:l.doubleStarred)]})]})]}),t.jsx(qt,{})]})},je=$e.memo(Wt),ve=e=>{const{starredPeriod:o,doubleStarredPeriod:r,bookCloseUnderReviewInfo:a,bookCloseIncompleteInfo:i}=e,l=F.getLocalizedStrings().reports;return t.jsxs(t.Fragment,{children:[o.length>0?t.jsxs(Ie,{children:[t.jsx(Re,{children:l.starred}),t.jsxs(Le,{children:[t.jsx(Ne,{children:l.bookCloseInfoStar}),a]})]}):null,r.length>0?t.jsxs(Ie,{children:[t.jsx(Re,{children:l.doubleStarred}),t.jsxs(Le,{children:[t.jsx(Ne,{children:l.bookCloseIncompleteInfoStar}),i]})]}):null]})},Ie=n(be)`
|
|
60
60
|
background: ${e=>e.theme.colors.grey4};
|
|
61
61
|
color: ${e=>e.theme.colors.primary};
|
|
62
62
|
padding: ${s.sp2} 27px;
|
|
63
63
|
display: flex;
|
|
64
|
-
`,
|
|
64
|
+
`,Le=n.div``,Re=n(He)`
|
|
65
65
|
margin-right: 6px;
|
|
66
|
-
`,
|
|
66
|
+
`,Ne=n.span`
|
|
67
67
|
font-weight: ${yt.medium};
|
|
68
68
|
`,Gt=n.div`
|
|
69
69
|
position: relative;
|
|
@@ -78,20 +78,20 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
78
78
|
background: ${e=>e.theme.colors.grey5};
|
|
79
79
|
border: 1px solid ${e=>e.theme.colors.grey2};
|
|
80
80
|
width: 100%;
|
|
81
|
-
`,
|
|
81
|
+
`,Jt=n.div`
|
|
82
82
|
padding: ${s.sp3};
|
|
83
83
|
border-top: none;
|
|
84
84
|
display: flex;
|
|
85
85
|
flex-wrap: wrap;
|
|
86
86
|
background: ${e=>e.theme.colors.grey5};
|
|
87
87
|
width: 100%;
|
|
88
|
-
`,
|
|
88
|
+
`,ze=n.div`
|
|
89
89
|
padding-top: ${e=>e.space};
|
|
90
90
|
width: 100%;
|
|
91
|
-
`,
|
|
91
|
+
`,Kt=n.div`
|
|
92
92
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
93
93
|
width: 100%;
|
|
94
|
-
`,
|
|
94
|
+
`,Xt=(e,o,r,a)=>{const i=E(e,"month",o).filter(l=>!P(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]"));return{disabledMonths:de.filter(l=>{const p=a.startDate.format(M.YYYYformat);return!P(`${l} ${p}`,M.MMMYYYYFormat).isBetween(r.startDate.startOf("month"),r.endDate.endOf("month"),null,"[]")}),disabledYears:i}},er=(e,o,r,a)=>{const i=U(r);return a!=null?de.filter(l=>o.includes(l)===!1&&P(`${l} ${e}`,M.MMMYYYYFormat).isAfter(a)&&(i===!0?P(r.endDate.format(M.MMMYYYYFormat)).isSame(P(`${l} ${e}`,M.MMMYYYYFormat))===!1:!0)):[]},tr=(e,o,r,a)=>{const i=U(e);return a!=null?de.filter(l=>r.includes(l)===!1&&P(`${l} ${o}`,M.MMMYYYYFormat).isAfter(a)&&(i===!0?P(e.endDate.format(M.MMMYYYYFormat)).isSame(P(`${l} ${o}`,M.MMMYYYYFormat))===!0:!1)):[]},{reports:Be,dateFormat:{analytics:re,visual:M}}=F.getLocalizedStrings(),rr=e=>{const{selectedPeriod:o,label:r,validPeriod:a,onNewPeriodSelection:i}=e,[l,p]=h.useState(!1),[m,u]=h.useState(o.startDate.format(re.MMMFormat)),[c,y]=h.useState(o.startDate.format(re.YYYYFormat)),$=x=>{u(x),i("month",{startDate:P(`${x} ${c}`,re.MMMYYYYFormat).startOf("month"),endDate:P(`${x} ${c}`,re.MMMYYYYFormat).endOf("month")}),p(!1)},j=x=>{p(x),u(o.startDate.format(M.MMMformat)),y(o.startDate.format(M.YYYYformat))},{disabledMonths:w,disabledYears:f}=Xt(e.firstMonthOfFY,e.dataAvailable,a,{startDate:P(c,M.YYYYformat),endDate:P(c,M.YYYYformat)}),k=E(e.firstMonthOfFY,"month",e.dataAvailable),d=er(c,w,a,e.bookCloseDate),g=tr(a,c,w,e.bookCloseDate),O=e.bookCloseDate!=null?we("month",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(ye,{onClickAway:()=>j(!1),children:t.jsxs(Gt,{children:[t.jsx(je,{value:K(o.startDate,M.MMMYYFormat,e.firstMonthOfFY),onClick:()=>j(!l),label:r,timeframeTickTag:O}),l?t.jsx(h.Fragment,{children:t.jsxs(Zt,{children:[t.jsxs(Jt,{children:[k.map(x=>t.jsx(Z,{id:x,text:x,disabled:f.includes(x),onClick:v=>{y(v),u("")},checked:x===c},x)),t.jsx(ze,{space:s.sp3}),t.jsx(Kt,{}),t.jsx(ze,{space:s.sp3}),de.map(x=>t.jsx(Z,{id:x,text:x,disabled:w.includes(x),onClick:v=>$(v),checked:x===m,starred:d.includes(x)&&!w.includes(x),doubleStarred:g.includes(x)&&!w.includes(x)},x))]}),t.jsx(ve,{starredPeriod:d,doubleStarredPeriod:g,bookCloseIncompleteInfo:Be.bookCloseIncompleteInfoMonth,bookCloseUnderReviewInfo:Be.bookCloseUnderReviewInfoMonth})]})}):""]})})},sr=h.memo(rr),or=n.div`
|
|
95
95
|
position: relative;
|
|
96
96
|
cursor: pointer;
|
|
97
97
|
`,ar=n.div`
|
|
@@ -117,7 +117,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
117
117
|
`,nr=n.div`
|
|
118
118
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
119
119
|
width: 100%;
|
|
120
|
-
`,lr=(e,o,r,a)=>{const i=E(e,"quarter",o).filter(l=>{if(e===1)return!P(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:p}=
|
|
120
|
+
`,lr=(e,o,r,a)=>{const i=E(e,"quarter",o).filter(l=>{if(e===1)return!P(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:p}=_(r.startDate,e),{fyYear:m}=_(r.endDate,e);return!(parseInt(l)>=p&&parseInt(l)<=m)}});return{disabledQuarters:le.filter(l=>{const p=parseInt(l),m=_(r.startDate,e),u=_(r.endDate,e);return a===m.fyYear&&p<m.fyQuarter||a===u.fyYear&&p>u.fyQuarter?!0:a<m.fyYear||a>u.fyYear}),disabledYears:i}},dr=(e,o,r,a,i)=>{const l=U(a);if(i!=null){const p=_(i,o),m=_(a.endDate,o);return le.filter(u=>{const c=parseInt(u);return e.includes(u)===!1&&(l!==!0||m.fyQuarter!==c)&&(r===p.fyYear&&c>=p.fyQuarter&&jt(c,o)!==i.month()+1||r>p.fyYear)})}else return[]},cr=(e,o,r,a,i)=>{const l=U(a);if(i!=null){const p=_(i,e),m=_(a.endDate,e);return le.filter(u=>{const c=parseInt(u);return r.includes(u)===!1&&(l!==!0||m.fyQuarter===c)&&o===p.fyYear&&c>=p.fyQuarter||o>p.fyYear})}else return[]},pr=e=>{const{selectedPeriod:o,label:r,validPeriod:a,onNewPeriodSelection:i}=e,{fyQuarter:l,fyYear:p}=_(o.startDate,e.firstMonthOfFY),[m,u]=h.useState(!1),[c,y]=h.useState(`${l}`),[$,j]=h.useState(`${p}`),{reports:w,dateFormat:f}=F.getLocalizedStrings(),k=b=>{y(b),i("quarter",vt(e.firstMonthOfFY,Ot(parseInt(b)),parseInt($))),u(!1)},d=b=>{u(b);const{fyQuarter:Y,fyYear:I}=_(o.startDate,e.firstMonthOfFY);y(`${Y}`),j(`${I}`)},{disabledQuarters:g,disabledYears:O}=lr(e.firstMonthOfFY,e.dataAvailable,a,parseInt($)),x=E(e.firstMonthOfFY,"quarter",e.dataAvailable),v=dr(g,e.firstMonthOfFY,parseInt($),a,e.bookCloseDate),Q=cr(e.firstMonthOfFY,parseInt($),g,a,e.bookCloseDate),T=e.bookCloseDate!=null?we("quarter",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(ye,{onClickAway:()=>d(!1),children:t.jsxs(or,{children:[t.jsx(je,{value:`Q${K(o.startDate,f.visual.QYYformat,e.firstMonthOfFY)}`,onClick:()=>d(!m),label:r,timeframeTickTag:T}),m?t.jsxs(ar,{children:[t.jsxs(ir,{children:[x.map(b=>t.jsx(Z,{id:b,text:b,disabled:O.includes(b),onClick:Y=>{j(Y),y("")},checked:b===$},b)),t.jsx(Ve,{space:s.sp3}),t.jsx(nr,{}),t.jsx(Ve,{space:s.sp3}),le.map(b=>t.jsx(Z,{id:b,text:`Q${b}`,disabled:g.includes(b),onClick:Y=>k(Y),checked:b===c,starred:v.includes(b)&&!g.includes(b),doubleStarred:Q.includes(b)&&!g.includes(b)},b))]}),t.jsx(ve,{starredPeriod:v,doubleStarredPeriod:Q,bookCloseIncompleteInfo:w.bookCloseIncompleteInfoQuarter,bookCloseUnderReviewInfo:w.bookCloseUnderReviewInfoQuarter})]}):""]})})},mr=h.memo(pr),fr=n.div`
|
|
121
121
|
position: relative;
|
|
122
122
|
cursor: pointer;
|
|
123
123
|
`,hr=n.div`
|
|
@@ -137,13 +137,13 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
137
137
|
flex-wrap: wrap;
|
|
138
138
|
background: ${e=>e.theme.colors.grey5};
|
|
139
139
|
width: 100%;
|
|
140
|
-
`,br=(e,o,r)=>E(e,"year",o).filter(a=>{if(e===1)return!P(`${a}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:i}=
|
|
140
|
+
`,br=(e,o,r)=>E(e,"year",o).filter(a=>{if(e===1)return!P(`${a}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:i}=_(r.startDate,e),{fyYear:l}=_(r.endDate,e);return parseInt(a)<i||parseInt(a)>l}}),xr=(e,o,r,a)=>{const i=U(r);if(a!=null){const l=_(a,e),p=_(r.endDate,e);return E(e,"year",o).filter(m=>{const u=parseInt(m);return(i===!0?p.fyYear!==u:!0)&&parseInt(m)>=l.fyYear&&Yt(e)!==a.month()+1})}else return[]},gr=(e,o,r,a)=>{const i=U(r);if(a!=null){const l=_(a,e),p=_(r.endDate,e);return E(e,"year",o).filter(m=>{const u=parseInt(m);return(i===!0?p.fyYear===u:!0)&&parseInt(m)>=l.fyYear})}else return[]},yr=e=>{const{selectedPeriod:o,label:r,validPeriod:a,onNewPeriodSelection:i}=e,[l,p]=h.useState(!1),{reports:m,dateFormat:u}=F.getLocalizedStrings(),c=br(e.firstMonthOfFY,e.dataAvailable,a),y=E(e.firstMonthOfFY,"year",e.dataAvailable),$=_(e.selectedPeriod.startDate,e.firstMonthOfFY).fyYear,j=xr(e.firstMonthOfFY,e.dataAvailable,a,e.bookCloseDate),w=gr(e.firstMonthOfFY,e.dataAvailable,a,e.bookCloseDate),f=e.bookCloseDate!=null?we("year",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0,k=u.analytics.YYYYFormat;return t.jsx(ye,{onClickAway:()=>p(!1),children:t.jsxs(fr,{children:[t.jsx(je,{value:K(o.startDate,k,e.firstMonthOfFY),onClick:()=>p(!l),label:r,timeframeTickTag:f}),l?t.jsxs(hr,{children:[t.jsx(ur,{children:y.map(d=>t.jsx(Z,{id:d,text:d,disabled:c.includes(d),onClick:g=>{i("year",Ft(e.firstMonthOfFY,parseInt(g))),p(!1)},checked:parseInt(d)===$,starred:j.includes(d)&&!c.includes(d),doubleStarred:w.includes(d)&&!c.includes(d)},d))}),t.jsx(ve,{starredPeriod:j,doubleStarredPeriod:w,bookCloseIncompleteInfo:m.bookCloseIncompleteInfoYear,bookCloseUnderReviewInfo:m.bookCloseUnderReviewInfoYear})]}):""]})})},$r=h.memo(yr),wr=n.div`
|
|
141
141
|
display: flex;
|
|
142
142
|
align-items: center;
|
|
143
143
|
`,Fr=n(mt)`
|
|
144
144
|
margin-left: ${s.sp2};
|
|
145
145
|
color: ${e=>e.theme.colors.hero};
|
|
146
|
-
`,
|
|
146
|
+
`,jr=n.div`
|
|
147
147
|
border-radius: 18px;
|
|
148
148
|
padding: 0 5.5px;
|
|
149
149
|
height: 18px;
|
|
@@ -152,15 +152,15 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
152
152
|
align-items: center;
|
|
153
153
|
color: ${e=>e.theme.colors.grey5};
|
|
154
154
|
background: ${e=>e.showSuccessBadge?ue.success:e.theme.colors.primary};
|
|
155
|
-
`,
|
|
155
|
+
`,vr=n(pt)``,Or=e=>{const{numberOfPeriods:o,numberOfAdditionalColumns:r,selectedFileType:a}=e;return t.jsxs(wr,{children:[t.jsx(jr,{showSuccessBadge:A[a]===o+r,children:t.jsx(vr,{children:o+r})}),t.jsx(Fr,{children:F.getLocalizedStrings().downloadReport.maxPeriodSelectionAllowed[a]})]})},Yr=$e.memo(Or),z=n.div`
|
|
156
156
|
padding-top: ${e=>e.space};
|
|
157
157
|
`,Dr=n(qe)`
|
|
158
158
|
color: ${e=>e.theme.colors.primary};
|
|
159
|
-
`,ce=n(
|
|
159
|
+
`,ce=n(L)`
|
|
160
160
|
color: ${e=>e.theme.colors.primary};
|
|
161
|
-
`,
|
|
161
|
+
`,kr=n.div`
|
|
162
162
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
163
|
-
`,
|
|
163
|
+
`,_r=(e,o,r)=>{const{endOfTimeframeFY:a}=C(o.startDate,e,r),{startOfTimeframeFY:i}=C(o.endDate,e,r),l={startDate:o.startDate,endDate:a},p={startDate:i,endDate:o.endDate};return{fromDateRange:l,toDateRange:p}},Cr=e=>{const{firstMonthOfFY:o,selectedTimeframe:r,numberOfAdditionalColumns:a,calendarPeriod:i,dateRange:l,selectedOrderBy:p,dataAvailable:m,defaultOptions:u,selectedFileType:c,bookCloseDate:y,onDateRangeChange:$,onSelectedTimeframeChange:j,onNewOrderBySelection:w,onAdditionalColumnsSelectionChanged:f}=e,k=b=>F.getLocalizedStrings().timeframe[b],d=b=>F.getLocalizedStrings().downloadReport.orderBy[b],g=F.getLocalizedStrings().downloadReport.displayColumns,{fromDateRange:O,toDateRange:x}=_r(o,l,r),v=b=>{const Y=ie(o,b,m,u.balancesFilter.numberOfPeriods);i.timeframe=b,i.maxNumberOfPeriods=A[c]-u.additionalBalances.length,i.updatePeriod(J(m.endDate,o,Y-1,b),m.endDate),$(i.value.dateRange),j(i.value.timeframe),f(u.additionalBalances)},Q=h.useCallback((b,Y,I)=>{I==="to"?i.updateEndDate(Y.endDate):i.updateStartDate(Y.startDate),$(i.value.dateRange)},[i,$]),T=()=>{let b=sr;return r==="quarter"?b=mr:r==="year"&&(b=$r),t.jsxs(h.Fragment,{children:[t.jsx(b,{firstMonthOfFY:o,onNewPeriodSelection:(Y,I)=>Q(Y,I,"from"),dataAvailable:m,selectedPeriod:O,label:"From",validPeriod:{startDate:m.startDate,endDate:m.endDate},bookCloseDate:y}),t.jsx(z,{space:s.sp3}),t.jsx(b,{firstMonthOfFY:o,onNewPeriodSelection:(Y,I)=>Q(Y,I,"to"),dataAvailable:m,selectedPeriod:x,label:"To",validPeriod:i.getValidCalendarPeriod(),bookCloseDate:y})]})};return t.jsxs(h.Fragment,{children:[t.jsx(Dr,{children:g.title}),t.jsx(z,{space:s.sp2}),t.jsx(Yr,{numberOfPeriods:i.numberOfPeriods,numberOfAdditionalColumns:a,selectedFileType:c}),t.jsx(z,{space:s.sp5}),t.jsx(ce,{children:g.displayOrderBy}),t.jsx(z,{space:s.sp2}),t.jsx(_e,{pickerValues:["ascending_date","descending_date"],valueToLabel:d,selectedValue:p,onPickerSelectionChanged:b=>w(b),optionTextStyle:te.standardRegular,titleTextStyle:te.standardRegular,outlined:!0}),t.jsx(z,{space:s.sp5}),t.jsx(kr,{}),t.jsx(z,{space:s.sp4}),t.jsx(ce,{children:"Period"}),t.jsx(z,{space:s.sp2}),t.jsx(_e,{pickerValues:["month","quarter","year"],valueToLabel:k,selectedValue:r,onPickerSelectionChanged:b=>v(b),titleTextStyle:te.standardRegular,optionTextStyle:te.standardRegular,outlined:!0}),t.jsx(z,{space:s.sp4}),t.jsx(ce,{children:g.periodRange}),t.jsx(z,{space:s.sp2}),T()]})},Pr=h.memo(Cr),H=n.div`
|
|
164
164
|
padding-top: ${e=>e.top??0};
|
|
165
165
|
padding-left: ${e=>e.left??0};
|
|
166
166
|
`,Sr=n.div`
|
|
@@ -179,20 +179,20 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
179
179
|
padding: ${s.sp7} ${s.sp11};
|
|
180
180
|
`,Tr=n(xt)`
|
|
181
181
|
color: ${e=>e.theme.colors.primary};
|
|
182
|
-
`,Ir=n(
|
|
182
|
+
`,Ir=n(L)`
|
|
183
183
|
white-space: pre-line;
|
|
184
|
-
`,
|
|
184
|
+
`,Lr=n.div`
|
|
185
185
|
width: 1px;
|
|
186
186
|
height: ${s.sp7};
|
|
187
187
|
background: ${e=>e.theme.colors.grey2};
|
|
188
|
-
`,Ee=n.div``,
|
|
188
|
+
`,Ee=n.div``,Rr=e=>{const{onContinueWithPDFClick:o,onSwitchToExcelClick:r}=e,a=F.getLocalizedStrings().downloadReport.fileSwitchDialogue;return t.jsx(bt,{open:!0,children:t.jsxs(Ar,{children:[t.jsxs(Sr,{children:[t.jsx(xe,{width:s.sp10,height:s.sp10}),t.jsx(H,{left:s.sp6}),t.jsx(Lr,{}),t.jsx(H,{left:s.sp6}),t.jsx(ge,{width:s.sp10,height:s.sp10})]}),t.jsx(H,{top:s.sp6}),t.jsx(Tr,{children:a.pdfLimitation}),t.jsx(H,{top:s.sp3}),t.jsx(Ir,{children:a.excelNoLimitation}),t.jsx(H,{top:s.sp4}),t.jsxs(Mr,{children:[t.jsxs(Ee,{children:[t.jsx(ae,{label:a.switchToExcel,onClick:r,style:{width:"195px"}}),t.jsx(H,{top:s.sp1})]}),t.jsx(H,{left:s.sp4}),t.jsx(Ee,{children:t.jsx(ae,{variant:"primary",label:a.continueWithPDF,onClick:o,style:{width:"195px"}})})]})]})})},Xe=h.memo(Rr),ne=F.getLocalizedStrings().downloadReport.footer,Nr=n.div`
|
|
189
189
|
display: flex;
|
|
190
190
|
justify-content: center;
|
|
191
191
|
background: ${e=>e.theme.colors.background};
|
|
192
192
|
padding: ${s.sp3} ${s.sp3} ${s.sp4} 148px;
|
|
193
193
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
194
194
|
gap: ${s.sp4};
|
|
195
|
-
`,
|
|
195
|
+
`,zr=n.div`
|
|
196
196
|
margin-right: ${e=>e.space};
|
|
197
197
|
`,Br=n.div`
|
|
198
198
|
padding: ${s.sp3};
|
|
@@ -225,9 +225,9 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
225
225
|
box-sizing: border-box;
|
|
226
226
|
align-items: center;
|
|
227
227
|
color: ${e=>e.isResetDisabled?e.theme.colors.primary:e.theme.colors.grey1};
|
|
228
|
-
`,Er=n(
|
|
228
|
+
`,Er=n(L)`
|
|
229
229
|
color: inherit;
|
|
230
|
-
`,Qr=n(
|
|
230
|
+
`,Qr=n(L)``,Hr=n.div`
|
|
231
231
|
display: flex;
|
|
232
232
|
flex: 1;
|
|
233
233
|
align-items: center;
|
|
@@ -247,7 +247,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
247
247
|
`,Gr=n(xe)`
|
|
248
248
|
width: ${s.sp4};
|
|
249
249
|
height: ${s.sp4};
|
|
250
|
-
`,Zr=[{id:"excel",label:ne.downloadExcel,Icon:Gr},{id:"pdf",label:ne.downloadPdf,Icon:Wr}],
|
|
250
|
+
`,Zr=[{id:"excel",label:ne.downloadExcel,Icon:Gr},{id:"pdf",label:ne.downloadPdf,Icon:Wr}],Jr=e=>{const{label:o,id:r,onClick:a,checked:i,Icon:l,isLoading:p}=e;return t.jsx(Br,{checked:i,onClick:a,id:r,children:p&&i?t.jsx(qr,{offset:`${Ze("Standard")/2}px`,children:t.jsx(Ge,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(Qr,{children:o}),t.jsx(l,{})]})})},Kr=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:a,downloadTypeProps:i,onResetClick:l,isResetDisabled:p}=e,{calendarPeriod:m,onNewFileTypeSelection:u,numberOfAdditionalColumns:c,selectedFileType:y,resetToDefaultOption:$}=i,[j,w]=h.useState(!1),f=d=>{d.stopPropagation(),o()},k=d=>{d==="pdf"&&m.numberOfPeriods+c>A.pdf?w(!0):(m.maxNumberOfPeriods=A[d]-c,u(d))};return t.jsxs(Nr,{onClick:d=>d.stopPropagation(),children:[t.jsxs(Vr,{isResetDisabled:p,onClick:l,children:[t.jsx(Ue,{width:s.sp4,height:s.sp4}),t.jsx(Er,{children:ne.resetLabel})]}),t.jsxs(Hr,{children:[t.jsx(Ur,{children:Zr.map(d=>t.jsx(Jr,{...d,onClick:()=>{a||k(d.id)},checked:y===d.id,isLoading:r},d.id))}),t.jsx(zr,{space:s.sp0,style:{display:"flex",alignItems:"center",height:B[7]},children:ne.orLabel}),t.jsx(ae,{variant:"primary",label:F.getLocalizedStrings().downloadReport.viewReport,onClick:f,style:{width:"160px"}})]}),j?t.jsx(Xe,{onSwitchToExcelClick:()=>w(!1),onContinueWithPDFClick:()=>{w(!1),u("pdf"),$()}}):""]})},Xr=h.memo(Kr),fe=F.getLocalizedStrings().downloadReport.footer,es=n.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
justify-content: center;
|
|
253
253
|
background: ${e=>e.theme.colors.background};
|
|
@@ -276,7 +276,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
276
276
|
align-items: center;
|
|
277
277
|
position: relative;
|
|
278
278
|
width: 50%;
|
|
279
|
-
`,ss=n(
|
|
279
|
+
`,ss=n(L)``,os=n.div`
|
|
280
280
|
display: flex;
|
|
281
281
|
flex: 1;
|
|
282
282
|
align-items: center;
|
|
@@ -297,7 +297,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
297
297
|
`,ls=n(xe)`
|
|
298
298
|
width: ${s.sp4};
|
|
299
299
|
height: ${s.sp4};
|
|
300
|
-
`,ds=[{id:"excel",label:fe.downloadExcel,Icon:ls},{id:"pdf",label:fe.downloadPdf,Icon:ns}],cs=e=>{const{label:o,id:r,onClick:a,checked:i,Icon:l,isLoading:p}=e;return t.jsx(rs,{checked:i,onClick:a,id:r,children:p&&i?t.jsx(is,{offset:`${Ze("Standard")/2}px`,children:t.jsx(Ge,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(ss,{children:o}),t.jsx(l,{})]})})},ps=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:a,downloadTypeProps:i}=e,{calendarPeriod:l,onNewFileTypeSelection:p,numberOfAdditionalColumns:m,selectedFileType:u,resetToDefaultOption:c}=i,[y,$]=h.useState(!1),
|
|
300
|
+
`,ds=[{id:"excel",label:fe.downloadExcel,Icon:ls},{id:"pdf",label:fe.downloadPdf,Icon:ns}],cs=e=>{const{label:o,id:r,onClick:a,checked:i,Icon:l,isLoading:p}=e;return t.jsx(rs,{checked:i,onClick:a,id:r,children:p&&i?t.jsx(is,{offset:`${Ze("Standard")/2}px`,children:t.jsx(Ge,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(ss,{children:o}),t.jsx(l,{})]})})},ps=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:a,downloadTypeProps:i}=e,{calendarPeriod:l,onNewFileTypeSelection:p,numberOfAdditionalColumns:m,selectedFileType:u,resetToDefaultOption:c}=i,[y,$]=h.useState(!1),j=f=>{f.stopPropagation(),o()},w=f=>{f==="pdf"&&l.numberOfPeriods+m>A.pdf?$(!0):(l.maxNumberOfPeriods=A[f]-m,p(f))};return t.jsxs(es,{onClick:f=>f.stopPropagation(),children:[t.jsxs(os,{children:[t.jsx(as,{children:ds.map(f=>t.jsx(cs,{...f,onClick:()=>{a||w(f.id)},checked:u===f.id,isLoading:r},f.id))}),t.jsx(ts,{space:s.sp0,style:{display:"flex",alignItems:"center",height:s.sp4},children:fe.orLabel}),t.jsx(ae,{variant:"primary",label:F.getLocalizedStrings().downloadReport.viewReport,onClick:j,style:{width:"100%"}})]}),y?t.jsx(Xe,{onSwitchToExcelClick:()=>$(!1),onContinueWithPDFClick:()=>{$(!1),p("pdf"),c()}}):""]})},ms=h.memo(ps),fs=e=>he()==="small"?t.jsx(ms,{...e}):t.jsx(Xr,{...e}),hs=e=>h.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M20.5447 1.65002C21.0182 1.65002 21.4723 1.83811 21.807 2.1729C22.1418 2.5077 22.3299 2.96177 22.3299 3.43524V16.8467C22.3299 18.2612 21.768 19.6177 20.7678 20.6179C19.7676 21.6181 18.4111 22.18 16.9966 22.18H3.58514C3.11168 22.18 2.6576 21.9919 2.3228 21.6571C1.98801 21.3224 1.79993 20.8683 1.79993 20.3948V3.43524C1.79993 2.96177 1.98801 2.5077 2.3228 2.1729C2.6576 1.83811 3.11168 1.65002 3.58514 1.65002H20.5447Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.8671 22.1086V18.6095C17.8671 18.3728 17.9611 18.1458 18.1285 17.9784C18.2959 17.811 18.5229 17.7169 18.7597 17.7169H22.2587",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M5.97803 6.3999H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M5.97803 9.97034H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M5.97803 13.5406H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M5.97803 17.1112H11.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),us=n.div`
|
|
301
301
|
padding: ${s.sp3};
|
|
302
302
|
border: 1px solid
|
|
303
303
|
${e=>e.disabled?e.theme.colors.grey3:e.checked?e.theme.colors.primary:e.theme.colors.grey2};
|
|
@@ -317,7 +317,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
317
317
|
color: inherit;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
`,bs=n(
|
|
320
|
+
`,bs=n(L)`
|
|
321
321
|
margin-left: ${s.sp3};
|
|
322
322
|
`,xs=n(be)`
|
|
323
323
|
margin-left: ${s.sp3};
|
|
@@ -328,7 +328,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
328
328
|
`,gs=n.div`
|
|
329
329
|
position: relative;
|
|
330
330
|
z-index: 2;
|
|
331
|
-
`,ys=n(
|
|
331
|
+
`,ys=n(L)`
|
|
332
332
|
color: ${e=>e.theme.colors.primary};
|
|
333
333
|
`,$s=n.div`
|
|
334
334
|
max-height: ${s.sp8};
|
|
@@ -344,13 +344,13 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
344
344
|
box-sizing: border-box;
|
|
345
345
|
align-items: center;
|
|
346
346
|
color: ${e=>e.isResetDisabled?e.theme.colors.primary:e.theme.colors.grey1};
|
|
347
|
-
`,
|
|
347
|
+
`,js=n(L)`
|
|
348
348
|
color: inherit;
|
|
349
|
-
`,
|
|
349
|
+
`,vs=n.div`
|
|
350
350
|
display: flex;
|
|
351
351
|
align-items: center;
|
|
352
352
|
justify-content: space-between;
|
|
353
|
-
`,Os=e=>{const{label:o,id:r,subLabel:a,onClick:i,checked:l,Icon:p,disabled:m}=e;return t.jsxs(us,{checked:l,disabled:m,onClick:i,id:r,children:[t.jsx(p,{className:"report-format-icon",width:B[7],height:B[7]}),t.jsxs("div",{children:[t.jsx(bs,{children:o}),t.jsx(xs,{children:a})]})]})},Ys=e=>{const{reportId:o,firstMonthOfFY:r,selectedFormat:a,disabledFormat:i,selectedView:l,nestedClasses:p,classesToFilterOut:m,classesFetchState:u,showClassAccountNumber:c,showAccountGroups:y,onOpenAccountViewMode:$,onNewFormatSelection:
|
|
353
|
+
`,Os=e=>{const{label:o,id:r,subLabel:a,onClick:i,checked:l,Icon:p,disabled:m}=e;return t.jsxs(us,{checked:l,disabled:m,onClick:i,id:r,children:[t.jsx(p,{className:"report-format-icon",width:B[7],height:B[7]}),t.jsxs("div",{children:[t.jsx(bs,{children:o}),t.jsx(xs,{children:a})]})]})},Ys=e=>{const{reportId:o,firstMonthOfFY:r,selectedFormat:a,disabledFormat:i,selectedView:l,nestedClasses:p,classesToFilterOut:m,classesFetchState:u,showClassAccountNumber:c,showAccountGroups:y,onOpenAccountViewMode:$,onNewFormatSelection:j,onNewViewSelection:w,onResetClick:f,isResetDisabled:k}=e,d=F.getLocalizedStrings().downloadReport.reportFormats,g=he(),O=[{id:d.summary.id,label:d.summary.label,subLabel:d.summary.subLabel,Icon:dt},{id:d.detailed.id,label:d.detailed.label,subLabel:l==="account_group"?y===!0?d.detailed.subLabelAccountGroups:d.detailed.subLabelAccounts:d.detailed.subLabelClasses,Icon:Ct},{id:d.moreDetailed.id,label:d.moreDetailed.label,subLabel:l==="account_group"?y===!0?d.moreDetailed.subLabelAccountGroups:d.moreDetailed.subLabelAccounts:d.moreDetailed.subLabelClasses,Icon:hs}],x=()=>t.jsx(h.Fragment,{children:t.jsx(_t,{reportId:o,firstMonthOfFY:r,nodes:p,classesListFetchState:u,selectedView:l,showAccountGroups:y,downloadPage:!0,onSaveClick:w,classesToBeFilteredOut:m,showClassAccountNumber:c,onOpenAccountViewMode:$})});return t.jsxs(h.Fragment,{children:[g==="small"?t.jsxs(vs,{children:[t.jsx(Qe,{children:F.getLocalizedStrings().downloadReport.reportFormat}),t.jsxs(Fs,{isResetDisabled:k,onClick:f,children:[t.jsx(Ue,{width:s.sp4,height:s.sp4}),t.jsx(js,{children:d.resetLabel})]})]}):t.jsx(Qe,{children:F.getLocalizedStrings().downloadReport.reportFormat}),t.jsx(G,{space:s.sp4}),t.jsxs(gs,{children:[t.jsx(ys,{children:"View by"}),t.jsx(G,{space:s.sp2}),t.jsx($s,{children:x()})]}),t.jsx(G,{space:s.sp5}),t.jsx(ws,{}),t.jsx(G,{space:s.sp5}),O.map(v=>t.jsxs(h.Fragment,{children:[t.jsx(Os,{...v,onClick:()=>{i.includes(v.id)||j(v.id)},checked:a===v.id,disabled:i.includes(v.id)}),t.jsx(G,{space:s.sp4})]},v.id))]})},V={width:new W(B[11],B[11],33),maxWidth:new W(550,550,425),containerPadding:new W(B[3],B[6]),rowItemPadding:new W(0,B[6]),footerHeight:new W(211,133)},Ds=n.div`
|
|
354
354
|
position: relative;
|
|
355
355
|
display: flex;
|
|
356
356
|
width: ${s.sp4};
|
|
@@ -363,14 +363,14 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
363
363
|
border-color: ${e=>e.theme.colors.primary};
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
`,
|
|
366
|
+
`,ks=Je`
|
|
367
367
|
0% {
|
|
368
368
|
transform: translateY(100%)
|
|
369
369
|
}
|
|
370
370
|
100% {
|
|
371
371
|
transform: translateY(0)
|
|
372
372
|
}
|
|
373
|
-
`,
|
|
373
|
+
`,_s=Je`
|
|
374
374
|
0% {
|
|
375
375
|
opacity: 0
|
|
376
376
|
}
|
|
@@ -402,7 +402,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
402
402
|
&:hover {
|
|
403
403
|
color: ${ue.primaryDark};
|
|
404
404
|
}
|
|
405
|
-
animation: ${
|
|
405
|
+
animation: ${_s} 0.4s;
|
|
406
406
|
`,Ms=n.div`
|
|
407
407
|
display: flex;
|
|
408
408
|
flex-wrap: wrap;
|
|
@@ -414,7 +414,7 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
414
414
|
padding: ${e=>`${V.containerPadding.valuePx(e.windowSize)} ${V.containerPadding.valuePx(e.windowSize)} ${s.sp0} ${V.containerPadding.valuePx(e.windowSize)} `};
|
|
415
415
|
background: ${e=>e.theme.colors.grey4};
|
|
416
416
|
border-radius: ${s.sp2} ${s.sp2} ${s.sp0} ${s.sp0};
|
|
417
|
-
animation: ${
|
|
417
|
+
animation: ${ks} 0.4s;
|
|
418
418
|
`,pe=n.div`
|
|
419
419
|
padding: ${e=>`${s.sp0} ${V.rowItemPadding.valuePx(e.windowSize)}`};
|
|
420
420
|
width: ${e=>V.width.value(e.windowSize)}%;
|
|
@@ -436,4 +436,4 @@ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,_ as lt,F
|
|
|
436
436
|
justify-content: center;
|
|
437
437
|
color: ${e=>e.theme.colors.hero};
|
|
438
438
|
cursor: pointer;
|
|
439
|
-
`,Is=e=>({localeId:F.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:e.statementFileType,statements:e.statements,firstMonthOfFY:e.firstMonthOfFY,bookCloseDate:e.defaultOptions.bookCloseDate,timeframe:e.timeframe,additionalBalances:e.additionalBalances,format:e.format,balancesFilter:{thisPeriod:{startDate:e.balancesFilter.thisPeriod.startDate,endDate:e.balancesFilter.thisPeriod.endDate},numberOfPeriods:e.balancesFilter.numberOfPeriods,orderBy:e.balancesFilter.orderBy},accountViewMode:e.accountViewMode,nestedClassHierarchy:e.nestedClassHierarchy,classesToFilterOut:e.classesToFilterOut,dataAvailable:e.dataAvailable,isZeniCOAUsed:e.isZeniCOAUsed}),
|
|
439
|
+
`,Is=e=>({localeId:F.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:e.statementFileType,statements:e.statements,firstMonthOfFY:e.firstMonthOfFY,bookCloseDate:e.defaultOptions.bookCloseDate,timeframe:e.timeframe,additionalBalances:e.additionalBalances,format:e.format,balancesFilter:{thisPeriod:{startDate:e.balancesFilter.thisPeriod.startDate,endDate:e.balancesFilter.thisPeriod.endDate},numberOfPeriods:e.balancesFilter.numberOfPeriods,orderBy:e.balancesFilter.orderBy},accountViewMode:e.accountViewMode,nestedClassHierarchy:e.nestedClassHierarchy,classesToFilterOut:e.classesToFilterOut,dataAvailable:e.dataAvailable,isZeniCOAUsed:e.isZeniCOAUsed}),Ls=e=>{const o=Is(e);if(o!=null)return kt(e.statementEndPoint,e.authParams,o)},Rs=e=>{const{onClose:o,defaultOptions:r,dataAvailable:a,analytics:i,onSaveClickHandler:l,onThisPeriodChanged:p,onAdditionalBalanceSelectionChanged:m,onTimeframeSelectionChanged:u}=e,c=he();nt();const[y,$]=h.useState(!1),[j,w]=h.useState(!1),[f,k]=h.useState(new Ce(r.firstMonthOfFY,r.timeframe,a,r.balancesFilter.numberOfPeriods,A.excel,r.balancesFilter.thisPeriod.endDate)),[d,g]=h.useState(r.statements),[O,x]=h.useState(r.timeframe),[v,Q]=h.useState("excel"),[T,b]=h.useState(r.additionalBalances),[Y,I]=h.useState(oe(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),[X,et]=h.useState(e.defaultOptions.accountViewMode),[ee,tt]=h.useState(e.defaultOptions.classesToFilterOut),[q,Oe]=h.useState(e.defaultOptions.balancesFilter.orderBy),[Ye,De]=h.useState(!1),rt=()=>{const D=ie(r.firstMonthOfFY,O,Y),{startOfTimeframeFY:R,endOfTimeframeFY:S}=C(Y.endDate,r.firstMonthOfFY,O),N=P(new Date(S.year(),S.month(),S.date()).toISOString());p?.({endDate:N,startDate:R},D,!0)};h.useEffect(()=>{const D=async()=>{const R=f.endDate,{startOfTimeframeFY:S}=C(f.endDate,r.firstMonthOfFY,f.timeframe);await Ls({...e,statements:Pt.filter(N=>d.includes(N)),firstMonthOfFY:e.defaultOptions.firstMonthOfFY,timeframe:f.timeframe,additionalBalances:Ke[f.timeframe].filter(N=>T.includes(N)),format:e.reportFormatProps.selectedFormat,statementFileType:v,accountViewMode:X,classesToFilterOut:ee,balancesFilter:{thisPeriod:{startDate:S,endDate:R},orderBy:q,numberOfPeriods:f.numberOfPeriods},dataAvailable:a,isZeniCOAUsed:e.defaultOptions.isZeniCOAUsed}),e.updateDownloadStateHandler("Completed")};Ye&&e.downloadState!=="In-Progress"&&(De(!1),e.updateDownloadStateHandler("In-Progress"),D(),i?.trackDownload(e.referrer,Dt(f.timeframe),v,!1))},[i,f.endDate,f.numberOfPeriods,f.timeframe,Ye,e,a,T,v,e.reportFormatProps.selectedFormat,q,d,X,ee,r.firstMonthOfFY]),h.useEffect(()=>{j?y||$(D=>!D):w(D=>!D)},[T,q,Y,e.reportFormatProps.selectedFormat]);const st=()=>{b(r.additionalBalances),f.maxNumberOfPeriods=A.pdf-r.additionalBalances.length;const D=ie(r.firstMonthOfFY,f.timeframe,a,r.balancesFilter.numberOfPeriods),R=oe(r.firstMonthOfFY,f.timeframe,f.endDate,D).dateRange;I(R),f.updatePeriod(R.startDate,R.endDate)},ot=D=>{D.stopPropagation(),o()},at=(D,R)=>{et(D),e.showAccountGroups===!1&&D==="account_group"?e.reportFormatProps.disabledFormatForRole.push("detailed"):D==="classes"&&e.showAccountGroups===!1&&e.reportFormatProps.disabledFormatForRole.splice(e.reportFormatProps.disabledFormatForRole.indexOf("detailed"),1),D==="classes"?d.includes("profit_and_loss")&&(g(S=>S.filter(N=>N!=="profit_and_loss")),g(S=>[...S,"profit_and_loss_by_classes"])):d.includes("profit_and_loss_by_classes")&&(g(S=>S.filter(N=>N!=="profit_and_loss_by_classes")),g(S=>[...S,"profit_and_loss"])),R!==void 0&&tt(R)},ke=()=>{k(new Ce(r.firstMonthOfFY,r.timeframe,a,r.balancesFilter.numberOfPeriods,A.excel,r.balancesFilter.thisPeriod.endDate)),b(r.additionalBalances),e.reportFormatProps.setSelectedFormat(r.accountViewMode==="classes"?e.reportFormatProps.roleBasedClassesSelectedFormat:e.showAccountGroups===!1?"more_detailed":"detailed"),Oe("ascending_date"),g(r.statements),x(r.timeframe),I(oe(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),$(!1),w(!1)};return t.jsxs(Cs,{children:[t.jsx(Ps,{role:"presentation",onClick:D=>ot(D),windowSize:c,children:t.jsx(Ss,{})}),t.jsxs(Ms,{windowSize:c,children:[t.jsxs(pe,{windowSize:c,children:[t.jsx(Ys,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,reportId:"profit_and_loss_by_classes",selectedFormat:e.reportFormatProps.selectedFormat,disabledFormat:e.reportFormatProps.disabledFormatForRole,selectedView:X,nestedClasses:e.defaultOptions.nestedClassHierarchy??[],classesToFilterOut:ee,classesFetchState:e.classesFetchState,showClassAccountNumber:e.defaultOptions.showClassAccountNumber??!1,showAccountGroups:e.showAccountGroups,onNewFormatSelection:e.reportFormatProps.setSelectedFormat,onNewViewSelection:at,onOpenAccountViewMode:e.onOpenAccountViewMode,onResetClick:ke,isResetDisabled:y}),t.jsx(As,{}),c==="small"||c==="medium-compact"?t.jsx(se,{space:s.sp5}):t.jsx(se,{space:s.sp8})]}),t.jsxs(pe,{windowSize:c,children:[t.jsx(Pr,{firstMonthOfFY:r.firstMonthOfFY,calendarPeriod:f,numberOfAdditionalColumns:T.length,selectedOrderBy:q,dataAvailable:a,dateRange:Y,defaultOptions:r,selectedTimeframe:O,bookCloseDate:r.bookCloseDate,onDateRangeChange:I,onSelectedTimeframeChange:x,onNewOrderBySelection:Oe,selectedFileType:v,onAdditionalColumnsSelectionChanged:b}),t.jsx(se,{space:s.sp5})]}),t.jsxs(pe,{windowSize:c,children:[t.jsx(Et,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,disabledAdditionalColumns:r.disabledAdditionalColumns,selectedTimeframe:O,dateRange:Y,calendarPeriod:f,selectedAdditionalColumns:T,onAdditionalColumnsSelectionChanged:b,dataAvailable:a,selectedFileType:v}),t.jsx(se,{space:s.sp8})]})]}),t.jsx(fs,{onCancelClick:()=>o(),onViewReportClick:()=>{e.onUpdateDisplayOrder(q),e.onUpdateReportFormat(e.reportFormatProps.selectedFormat),l(X,ee),m?.(T,f.numberOfPeriods,!0),u?.(O,!1,!0),rt(),o()},downloadingStatement:e.downloadState==="In-Progress",disabledDownloadButton:d.length===0,downloadTypeProps:{selectedFileType:v,calendarPeriod:f,numberOfAdditionalColumns:T.length,onNewFileTypeSelection:D=>{Q(D),De(!0)},resetToDefaultOption:st},onResetClick:ke,isResetDisabled:y})]})},to=e=>{const{defaultOptions:o}=e,[r,a]=h.useState(!1),i=o.additionalBalances;return t.jsxs(Ds,{onClick:()=>{a(!0)},children:[t.jsx(it,{visibility:r?"hidden":"visible",style:{cursor:"pointer",width:s.sp4,height:s.sp4}}),r?null:t.jsx(Ts,{className:"download-badge",children:o.balancesFilter.numberOfPeriods+i.length}),r?t.jsx(Rs,{...e,onClose:()=>a(!1)}):null]})};export{to as DownloadOverlayButton,Rs as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as a,V as i,
|
|
1
|
+
import{q as a,V as i,bQ as y,o as r,y as s,F as h,b$ as P,a as c,B as g,L as b,c as t,aK as L,jT as k,jU as D,jV as C}from"./index-BqVFY7NZ.js";import{n as o}from"./mui-BdKs9UwT.js";import"./sentry-DfYwagp9.js";import"./liveblocks-DBgNWxtT.js";import"./core-DbjebHB2.js";import"./recharts-CU0wfbyQ.js";import"./zeni-epic-state-DcbIZGFH.js";import"./lottie-DbNQVAcx.js";import"./analytics-DHoFVrJa.js";import"./lexical-B-aBuW2Y.js";import"./utils-DTmuLq6q.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ba5f1078-dc3f-413b-8fef-66ef3c7b989a",e._sentryDebugIdIdentifier="sentry-dbid-ba5f1078-dc3f-413b-8fef-66ef3c7b989a")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},j={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),B({rewardsPlan:e})],d=a();return i.jsx(q,{children:n.map((v,S)=>i.jsxs(V,{children:[i.jsx(E,{children:v}),S<n.length-1?i.jsx(A,{windowSize:d}):null]},`step_${S}`))})},I=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},B=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(T,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},x=o.div`
|
|
2
2
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
3
3
|
border-radius: ${r.sp2};
|
|
4
4
|
box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
|
|
@@ -15,15 +15,15 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,M as c,a as g,_ as b,d
|
|
|
15
15
|
justify-content: flex-start;
|
|
16
16
|
`,$=o.div`
|
|
17
17
|
margin-left: ${e=>l.styledDivMarginLeft.valuePx(e.windowSize)};
|
|
18
|
-
`,
|
|
18
|
+
`,M=o(k)`
|
|
19
19
|
height: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
20
20
|
width: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
21
21
|
color: ${e=>e.theme.colors.graphColor12Dark};
|
|
22
|
-
`,N=o(
|
|
22
|
+
`,N=o(D)`
|
|
23
23
|
height: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
24
24
|
width: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
25
25
|
color: ${e=>e.theme.colors.graphColor06Dark};
|
|
26
|
-
`,
|
|
26
|
+
`,T=o(C)`
|
|
27
27
|
height: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
28
28
|
width: ${e=>l.iconSize.valuePx(e.windowSize)};
|
|
29
29
|
color: ${e=>e.theme.colors.success};
|
|
@@ -36,20 +36,20 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,M as c,a as g,_ as b,d
|
|
|
36
36
|
justify-content: center;
|
|
37
37
|
align-items: center;
|
|
38
38
|
margin-right: ${r.sp2};
|
|
39
|
-
`,
|
|
39
|
+
`,f=o(g)`
|
|
40
40
|
color: ${e=>e.theme.colors.primary};
|
|
41
41
|
${e=>`${j.title.style(e.windowSize)}`};
|
|
42
|
-
`,
|
|
42
|
+
`,z=o(g)`
|
|
43
43
|
color: ${e=>e.theme.colors.hero};
|
|
44
44
|
${e=>`${j.content.style(e.windowSize)}`};
|
|
45
|
-
`,
|
|
45
|
+
`,V=o.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
flex-direction: row;
|
|
48
48
|
position: relative;
|
|
49
49
|
z-index: 1;
|
|
50
|
-
`,X=o.div`
|
|
51
|
-
margin-top: ${r.sp4};
|
|
52
50
|
`,q=o.div`
|
|
51
|
+
margin-top: ${r.sp4};
|
|
52
|
+
`,A=o.div`
|
|
53
53
|
top: ${r.sp0};
|
|
54
54
|
width: 1px;
|
|
55
55
|
height: 100%;
|
|
@@ -58,9 +58,9 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,M as c,a as g,_ as b,d
|
|
|
58
58
|
width: 2px;
|
|
59
59
|
background: ${e=>e.theme.colors.grey2};
|
|
60
60
|
z-index: -1;
|
|
61
|
-
`,
|
|
61
|
+
`,E=o.div`
|
|
62
62
|
padding-bottom: ${r.sp4};
|
|
63
|
-
`,{common:{navBar:{back:
|
|
63
|
+
`,{common:{navBar:{back:F}}}=h.getLocalizedStrings(),w={navBarContainerPaddingXaxis:new s(10,t[3]),containerPaddingLeft:new s(t[3],t[6],t[8]),containerPaddingRight:new s(t[3],t[6],t[8])},H={title:new c("standardRegular","largeRegular")},{referAndEarn:W}=h.getLocalizedStrings().rewardsPage;function ce({rewardsPlan:e,onDismissClick:n}){const d=a();return i.jsxs(X,{windowSize:d,children:[i.jsx(U,{windowSize:d,children:i.jsxs(J,{windowSize:d,children:[d==="small"&&i.jsx(O,{children:i.jsx(y,{enterDelay:600,title:F,placement:"bottom",style:{padding:`${r.sp1} ${r.sp2}`},children:i.jsx(Z,{onClick:n})})}),i.jsx(K,{windowSize:d,children:W}),d!=="small"&&i.jsx(G,{onClick:n})]})}),i.jsx(Q,{windowSize:d,children:i.jsx(_,{rewardsPlan:e})})]})}const X=o.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
66
66
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -68,21 +68,21 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,M as c,a as g,_ as b,d
|
|
|
68
68
|
width: 100%;
|
|
69
69
|
height: 100vh;
|
|
70
70
|
position: relative;
|
|
71
|
-
`,
|
|
71
|
+
`,J=o.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
align-items: center;
|
|
74
74
|
justify-content: space-between;
|
|
75
75
|
height: 100%;
|
|
76
76
|
width: ${e=>e.windowSize==="small"?"100%":"76%"};
|
|
77
|
-
`,
|
|
77
|
+
`,K=o(g)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
width: 96%;
|
|
80
80
|
text-align: center;
|
|
81
|
-
${e=>`${
|
|
82
|
-
`,
|
|
81
|
+
${e=>`${H.title.style(e.windowSize)}`};
|
|
82
|
+
`,Q=o.div`
|
|
83
83
|
padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
|
|
84
84
|
padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
|
|
85
|
-
`,
|
|
85
|
+
`,U=o.div`
|
|
86
86
|
display: flex;
|
|
87
87
|
flex-direction: row;
|
|
88
88
|
justify-content: center;
|
|
@@ -92,7 +92,7 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,M as c,a as g,_ as b,d
|
|
|
92
92
|
padding: ${e=>`${w.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${r.sp0}`};
|
|
93
93
|
z-index: 2;
|
|
94
94
|
background-color: ${e=>e.theme.colors.grey4};
|
|
95
|
-
`,
|
|
95
|
+
`,G=o(b)`
|
|
96
96
|
cursor: pointer;
|
|
97
97
|
color: ${e=>e.theme.colors.hero};
|
|
98
98
|
width: ${r.sp4};
|
|
@@ -101,7 +101,7 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,M as c,a as g,_ as b,d
|
|
|
101
101
|
&:hover {
|
|
102
102
|
color: ${e=>e.theme.colors.primary};
|
|
103
103
|
}
|
|
104
|
-
`,
|
|
104
|
+
`,O=o.div`
|
|
105
105
|
height: ${r.sp4};
|
|
106
106
|
width: ${r.sp4};
|
|
107
107
|
display: flex;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import{q as ie,fO as ae,d as de,a8 as pe,aN as ce,V as t,cm as ue,ao as me,cn as ge,co as fe,gJ as he,cs as ye,o as n,bQ as be,aM as U,ab as ve,aO as xe,y as k,F as $e,cx as we,fR as Re,fS as Ce,fT as Ie,b7 as Oe,p as M,cV as je,c as u}from"./index-BqVFY7NZ.js";import{a as w}from"./sentry-DfYwagp9.js";import{n as l}from"./mui-BdKs9UwT.js";import{Fv as _e,bg as Te}from"./zeni-epic-state-DcbIZGFH.js";import{f as ke}from"./AllUserItems-BsvKEVcx-lxn8aic0.js";import"./liveblocks-DBgNWxtT.js";import"./core-DbjebHB2.js";import"./recharts-CU0wfbyQ.js";import"./lottie-DbNQVAcx.js";import"./analytics-DHoFVrJa.js";import"./lexical-B-aBuW2Y.js";import"./utils-DTmuLq6q.js";import"./LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-DC0r0kWN.js";import"./RoleWithToolTip-aW95rpRe-BSqBI82l.js";import"./LabeledZeniRolesDropDownField-DGkU72cd-ub025LyJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="51f72577-2528-468b-a021-115cc36d6a72",e._sentryDebugIdIdentifier="sentry-dbid-51f72577-2528-468b-a021-115cc36d6a72")}catch{}})();const I={containerPaddingTop:new k(u[3],u[3]),containerPaddingLeft:new k(u[3],u[6],u[6]),containerPaddingRight:new k(u[3],u[6],u[8]),buttonWidth:new k(85,85)},Q="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:O,mode:p,isZeniTenant:P,onCloseClick:j,onResetClick:_,onSaveClick:m,onDeleteUser:J,onPeopleLocalDataUpdated:X,analytics:z,isReimbursementDisabled:B,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:V})=>{const C=ie(),[Y,S]=w.useState(!1),[K,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(B,N,Z,b,v,V,q),[B,N,Z,b,v,V,q]),A=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:W(e.people,o,y,p,D,b,v),values:W(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{G()&&m()},()=>{G(),console.warn("Edit Profile form error")}),G=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:E,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=E.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,E=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(E!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(L=>_e(L.selectedOption?.value)).filter(L=>L!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=Te(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),X(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{S(!0)},re={onOkClick:()=>{const g=e.person;z?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),J?.(e.person)},onCancelClick:()=>{S(!1)}},F=ce(e.person?.update),T=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{T==null&&F==="removeUsers"&&(S(!1),_?.())},[T,F]),t.jsxs(t.Fragment,{children:[Y===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:T==="removeUsers",isDisabled:T==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(Ue,{children:t.jsx(ze,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:j,isTitleAlignLeft:C==="small"}),t.jsxs(Pe,{"data-testid":U("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Le,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Se,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Ee,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Q}_form`,onSubmit:se,children:t.jsx(ke,{control:i.control,sectionId:R,deleteConfirmationIndex:K,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:P,classList:y,managersList:o,controllersList:O,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),t.jsx(xe,{formId:`${Q}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:j},separatorStyle:{marginRight:n.sp4}})]})},W=(e,o,y,O,p,P,j)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(P,j)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Pe=l.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
5
|
+
padding-left: ${e=>`${I.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
6
|
+
padding-right: ${e=>`${I.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
7
|
+
overflow-x: hidden;
|
|
8
|
+
height: 100%;
|
|
9
|
+
padding-top: ${e=>`${I.containerPaddingTop.valuePx(e.windowSize)}`};
|
|
10
|
+
gap: ${n.sp2};
|
|
11
|
+
`,Se=l.div`
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: 5px;
|
|
17
|
+
flex: 1;
|
|
18
|
+
`,De=l.div``,Ee=l(Oe)`
|
|
19
|
+
color: ${e=>e.theme.colors.primary};
|
|
20
|
+
`,Le=l.div`
|
|
21
|
+
display: flex;
|
|
22
|
+
gap: ${n.sp2};
|
|
23
|
+
align-items: center;
|
|
24
|
+
margin: ${n.sp0} ${n.sp1};
|
|
25
|
+
`,Ue=l.div`
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: -26px;
|
|
28
|
+
`,ze=l.img`
|
|
29
|
+
height: 60px;
|
|
30
|
+
width: 60px;
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
color: ${e=>e.theme.colors.hero};
|
|
33
|
+
`,Be=l.div`
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 1%;
|
|
36
|
+
left: 50%;
|
|
37
|
+
transform: translate(-50%, -50%);
|
|
38
|
+
height: 62px;
|
|
39
|
+
width: ${n.sp9};
|
|
40
|
+
border-radius: 50% 50% 0 0;
|
|
41
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
42
|
+
`,Ne=l(je)`
|
|
43
|
+
width: ${n.sp3};
|
|
44
|
+
height: ${n.sp3};
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
color: ${e=>e.windowsize==="small"?M.important:e.theme.colors.hero};
|
|
47
|
+
&:hover {
|
|
48
|
+
color: ${M.important};
|
|
49
|
+
}
|
|
50
|
+
`,Ze=l.div`
|
|
51
|
+
width: ${n.sp3};
|
|
52
|
+
height: ${n.sp3};
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
position: relative;
|
|
55
|
+
`;export{st as default,nt as uniqueName};
|