@zeniai/web-cockpit-ui 1.13.93-qa → 1.13.94-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-B7Osqlyb-B_Z7r9BP.js → ACHDetailsPage-C77hriAS-Bp9UERQr.js} +1 -1
- package/dist/assets/{AIPerformancePage-CEGqk2vj-DPbJQcO4.js → AIPerformancePage-DWLZz5fl-xe6YeuvR.js} +23 -23
- package/dist/assets/{AccountInfoPage-Dsi_xY1U-57CoJCvB.js → AccountInfoPage-CHH8xpX7-OTuTPmWc.js} +5 -5
- package/dist/assets/AccountInfoPageContent-CslCCxyA-CKIHtSb5.js +149 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-Bwc-VZmp-9tNR08JA.js → AccountReconDetailsDrawerPage-Bg65723V-z_C0MUXO.js} +15 -15
- package/dist/assets/{AccountRow-DMeCdEPJ-BTasbb-7.js → AccountRow-CBhTc-CO-BhHbolQV.js} +24 -24
- package/dist/assets/{AccountsPromoCardStack-NYQHh0uE-KwuGDIiT.js → AccountsPromoCardStack-C1FN6ldb-CTHlY162.js} +28 -28
- package/dist/assets/{AddAddressForCardDrawer-3WPrDfNL-fOwdSnNu.js → AddAddressForCardDrawer-DKbwVrFG-IuCuUpQj.js} +2 -2
- package/dist/assets/{AddToWalletPage-IjvBXyuu-KvZO3w5z.js → AddToWalletPage-BLH7hMIs-p7f4w_jj.js} +11 -11
- package/dist/assets/{AgingReportsPage-CIJTKbrN-Brsc1odM.js → AgingReportsPage-iXp5N9xa-BuwByTSa.js} +6 -6
- package/dist/assets/{AllUserItems-BuX43aPo-DioQ0mzE.js → AllUserItems-SiwAGR6X-CB3qDmMz.js} +12 -12
- package/dist/assets/{ApAgingDetailPage-02ejdrQy-BvI-rm07.js → ApAgingDetailPage-CSv-Yx3u-CQfdnkLR.js} +3 -3
- package/dist/assets/{AppBasePage-CC3bbnnu-DsRrQjex.js → AppBasePage-BVhJh2iM-DhwgHBUl.js} +1 -1
- package/dist/assets/{AppDrawerContent-B_EAPC9w-Dvsq28k3.js → AppDrawerContent-TBHNokFo-a7xFQjLd.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-DmPsbDZd-DdnQZTKs.js +47 -0
- package/dist/assets/ArAgingChart-CPyAljB5-C1xslsyT.js +24 -0
- package/dist/assets/{ArAgingDetailPage-CMUpR-2N-BRTN7gMO.js → ArAgingDetailPage-BLc5FDm2-BOdfR_tV.js} +1 -1
- package/dist/assets/{AttachmentView-sbbFtu9R-Izzia16X.js → AttachmentView-sMKTopf8-CQuqGqLW.js} +5 -5
- package/dist/assets/{BankAccountSection-BJPkV-qV-CzS6kxRW.js → BankAccountSection-DoGfRREZ-B2ezqzYk.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-D9R1VhzE-V6Y4aUEl.js → BankAccountWarningSection-BhSSRCzK-DNfJcwlK.js} +8 -8
- package/dist/assets/BankConnectionsSettingsPage-DIKMwQoQ-OeAXgZvH.js +425 -0
- package/dist/assets/{BillDetailPage-C_JDjRL0-B8Sa9pQS.js → BillDetailPage-DSYeib0o-BwJVgfN9.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-B_XMuvzZ-gu71vbc9.js → BillPayApprovalRuleDetailPage-DDFr9CL_-CYlqmWUc.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CyZjNIsQ-DKZ0FGH6.js → BillPayApprovalRulesPage-3Yak-MB--CaAqhGEn.js} +1 -1
- package/dist/assets/{BillPayPromoPage-ByDsqYfw-iMNoM9Kg.js → BillPayPromoPage-nRvSJMZU-aGHL9LIB.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-yTO-xwRJ-DiUozoOu.js → BillPaySetUpPage-BWrp4v6b-DQFkIYKy.js} +1 -1
- package/dist/assets/{BillingSettingsPage-BIAy1QHr-C5IDBl0Y.js → BillingSettingsPage-DtBZmdxq-BCytA-g_.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-Cw1XCs0q-C5g5voDh.js → BillsBulkReviewDrawerPage-DCz41OgH-BEoVAqH0.js} +1 -1
- package/dist/assets/{BoxItem-UCX7eqiN-CxXWJqhl.js → BoxItem-DBi8kqn3-BDAOAuEh.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CSsout2C-zWzxb-1t.js → BusinessVerificationPage-BfPqcCH3-Dr7d8VRo.js} +9 -9
- package/dist/assets/{CardNumberSubText-DuTv0ip1-BnZjxVHu.js → CardNumberSubText-CkmaTF_l-Kwic4R2k.js} +1 -1
- package/dist/assets/{CashbackDetailPage-KdHf-_ZF-DZ-5eozY.js → CashbackDetailPage-BlcEXdet-B9yAfRkP.js} +19 -19
- package/dist/assets/ChargeCardDetailPage-BARovLsv-j69HZx4R.js +1447 -0
- package/dist/assets/ChargeCardListPage-C1XbbZJ2-BE2YBCij.js +355 -0
- package/dist/assets/{ChargeCardListTable-B1a9-RYl-C_trAFfC.js → ChargeCardListTable-HXAc8Lqx-wKEbgM6d.js} +21 -21
- package/dist/assets/ChargeCardPromoPage-B8aTlJ8l-5K-z8G1R.js +219 -0
- package/dist/assets/{ChargeCardSetupPage-DOrs_Bw8-DvKjxZsP.js → ChargeCardSetupPage-XI-WplXI-vUgUcPsh.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-xvq2HeEr-DIPvFYAp.js → ChargeCardStatementsPage-CYopWAg4-fr_o5tML.js} +4 -4
- package/dist/assets/{ChargeCardUtils-Dt303NN_-BJthP303.js → ChargeCardUtils-BEtXxds6-iY4L_brM.js} +1 -1
- package/dist/assets/{ChaseOverlay-BK2ISNjj-DZnlqtpO.js → ChaseOverlay-BySoceqB-DYKQzq4d.js} +6 -6
- package/dist/assets/CheckDepositDrawerPage-DOyXGzFg-BAQPRuRk.js +206 -0
- package/dist/assets/{CollapsableReportTable-D5D0ufUn-ghspgAwM.js → CollapsableReportTable-FShSCFEn-62FniBRb.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-C7fuDGQk-gQYRZKRE.js → CompanyOfficerDetailsSection-QQIIHW41-xH4MKkl5.js} +25 -25
- package/dist/assets/{CompanyPassportCard-DwUqLcAr-BFBYLv_8.js → CompanyPassportCard-D2b6Ztes-ot6tMI66.js} +2 -2
- package/dist/assets/{CompanyPassportPage-ClToBIAw-BeY6Jzwo.js → CompanyPassportPage-Bkd2l8Xj-psAfEsoz.js} +10 -10
- package/dist/assets/{CompleteProfile-CLDWG3QK-TwaY_UV5.js → CompleteProfile-DYv1reCa-3AIo6bvw.js} +1 -1
- package/dist/assets/{ConfettiBurst-DoZB9Us7-DkYeJgKW.js → ConfettiBurst-CDUVssuw-hjqW22eh.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-B837xw8A-D4X9dHl7.js → CreateOrEditVendorPage-mlx8B4Jv-DUHw5PtN.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-zGaAOnnB-B0aHCgrm.js → CreditCardPaymentDrawerPage-DBTT4Ptu-Dc8GvYzf.js} +6 -6
- package/dist/assets/{CreditCardPaymentPlgSection-BLbZFCcL-BKv30VTO.js → CreditCardPaymentPlgSection-CH8Ic2sK-CXQECn24.js} +7 -7
- package/dist/assets/{CurrencySelectField-DS3dOR3F-DfDyF-bz.js → CurrencySelectField-BpuAi_Wp-COgh-Qif.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-WWVaQenb-CqYIrAsU.js → CustomerOnboardingActivationPage-CJn_cLk6-D6OFbgAy.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dln-_Yb0-BjXolAob.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BSXKMQ77-5cFdc0uI.js → CustomerOnboardingDetailPageSkeleton-Cr10sdrX-B55KDkTQ.js} +10 -10
- package/dist/assets/{CustomerOnboardingNoStepsPage-Dd5kCuRE-B1UHu9bc.js → CustomerOnboardingNoStepsPage-9Jl0VpUx-BiS5ICyP.js} +5 -5
- package/dist/assets/{CustomerOnboardingPage-CGJpD875-Dw-iXvXQ.js → CustomerOnboardingPage-OCG7AjuD-DJnYkmg8.js} +5 -5
- package/dist/assets/{CustomerOnboardingProductSuitePage-BFmVLk0l-BJFTzvmu.js → CustomerOnboardingProductSuitePage-vXKRghjP-hldhfPSg.js} +2 -2
- package/dist/assets/Dashboard-BOJNXopc-byUhih3W.js +1253 -0
- package/dist/assets/{DashboardReportPage-BbYtKYEH-Bu7QpJ1d.js → DashboardReportPage-Cuiynx8W-ac_35yhz.js} +8 -8
- package/dist/assets/{DepositAccTransactionItem-BMXQpKVB-CkyUtSxG.js → DepositAccTransactionItem-BVGKoyyZ-CtkDwopW.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-bwEdSihi-CohU_Y5O.js → DepositAccTransactionListPage-kkdrU5Mo-3snjZA89.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-DV9HE3MK-DHA392ey.js → DocumentSecurityBanner-C_LxmFZ8-Bt6Lz_p3.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-OI-gqVNE-FukCXOQC.js → DomesticWireDetailsPage-BhE0GcbL-CklyzXqp.js} +1 -1
- package/dist/assets/{DownloadOverlay-De5uIGOt-fe6EK_62.js → DownloadOverlay-LH6MXphu-kt8sJEjY.js} +16 -16
- package/dist/assets/{DrawerPage-n421ewDm-V0Ldc4CU.js → DrawerPage-C3wbST4Q-CLJNN7bG.js} +8 -8
- package/dist/assets/{EditPeoplePage-sO1qN6Uw-ChlFb2l3.js → EditPeoplePage-C53vRVhe-BSK-mQZ3.js} +15 -15
- package/dist/assets/{EditReimbursementDetailPage-D5iKVGl3-D6axPaby.js → EditReimbursementDetailPage-BBQIYJrj-a2qRFgyX.js} +60 -60
- package/dist/assets/{EntityDetailPage-CDk-oyYB-DUNhaeNM.js → EntityDetailPage-Ba0fzVNR-DpkKGCO_.js} +1 -1
- package/dist/assets/{EntitySummarySection-C4cC9rOJ-BbOIRL3t.js → EntitySummarySection-DA6Vsjwj-DPw5fEaJ.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-BojhuW5i-DndVOG_2.js → ExpenseAutomationOverviewPage-glEgQT6c-Dj_Wb6rt.js} +19 -19
- package/dist/assets/{ExpenseAutomationPage-D0BViJ7J-CVjlySFW.js → ExpenseAutomationPage-CsJiE1ap-BnkOrNDa.js} +73 -73
- package/dist/assets/{ExpressPayPage-DdgtFYep-rsUEwVea.js → ExpressPayPage-i9LGeqy_-wmqq-4AX.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-CW0YmOgl-CZs71GTx.js → FeaturePreviewPage-Bl2C_tQd-DJQ0amFl.js} +2 -2
- package/dist/assets/{FollowStepsSection-BfnTsu_D-JwuskYSG.js → FollowStepsSection-KcgZahKS-BPKITv3B.js} +12 -12
- package/dist/assets/{GlobalReviewListPage-C0U7Y6dI-hBZ0JIdn.js → GlobalReviewListPage-D2NH1omi-CTNsB5Nb.js} +11 -11
- package/dist/assets/HelpButton-YqQNv-UM-CruBHlAV.js +28 -0
- package/dist/assets/{InformationCardStack-6BD3n76T-C6n7H91r.js → InformationCardStack-OhjUoNBj-DBwYrPQy.js} +5 -5
- package/dist/assets/{InsightsCardStack-CwxJP-ic-HgjLIYZH.js → InsightsCardStack-CDrOBeoJ-DTHqugyU.js} +10 -10
- package/dist/assets/{InsightsSection-DYyHpcUE-CVS4D7Rl.js → InsightsSection-CBaItqYN-Dz4Ilz30.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-ZkvKZqwD-Dh9_Y5r9.js → IntegrationsSettingsPage-CuPS5otW-BirDKZz3.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-D3nyRM06-Bvm0rISQ.js → InternationalWireSwiftDetailsPage-DQsW7Uzb-CUGMa7hJ.js} +6 -6
- package/dist/assets/{InternationalWireVerificationPage-BOdAP6dN-BRgvAPQo.js → InternationalWireVerificationPage-BE1xcmQo-s1fsXNah.js} +15 -15
- package/dist/assets/{InviteFormPage-HJMhfa_f-7mLTKV2K.js → InviteFormPage-CUDsc0Y3-BT3er91i.js} +21 -21
- package/dist/assets/{InvitePageListView-CjneWRfJ-Do8_-Wzf.js → InvitePageListView-DJildrs1-BRenHpuK.js} +31 -31
- package/dist/assets/InvitePeoplePage-6upCRZjT-Cy37Dy58.js +12 -0
- package/dist/assets/{InvoiceUploadSection-CfAnZsV9-CXlIUrR5.js → InvoiceUploadSection-CyacFv78-bjw3W0fU.js} +3 -3
- package/dist/assets/{IssueChargeCardPage-pKF4dRNw-BtTzBIAW.js → IssueChargeCardPage-6iTrYJEM-BjNouHGB.js} +25 -25
- package/dist/assets/{LabeledAddressValue-UYEy_1W0-BrLnlk5a.js → LabeledAddressValue-CDy1Q4J--CkXQxeFy.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BmSVDTMx-Jv07dYGB.js → LabeledAddressValueField-DbR_ehJJ-kXFBzBc8.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-BFnLx9E0-DltjlqGq.js → LabeledControlledCheckBoxField-CXNDX5oe-Cc00saAR.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Bh-cfR9F-BSOcL1XZ.js → LabeledCreatableSingleSelectField-B_TreAUT-DzJBfD6q.js} +3 -3
- package/dist/assets/{LabeledDocumentField-YBoeNDoD-CyLWW2Xq.js → LabeledDocumentField-CUTXDuQL-CB7-inDg.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-jrOUW9Ig-Cb_hd6Cs.js → LabeledDropDownFormattedTextField-yPu_zrn8-f9OAJ2TU.js} +2 -2
- package/dist/assets/{LabeledText-BqO1wHro-yEfY3Vib.js → LabeledText-gvxUV2ku-Cf06N418.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DiWgp4aE-GkGK06mY.js → LabeledUserSingleSelectWithSubtitlesField-Bh1Ts3Yn-DTgSGsxS.js} +3 -3
- package/dist/assets/{LabeledZeniRolesDropDownField-Cgy0v5oD-CE6fgMqo.js → LabeledZeniRolesDropDownField-xA0_8wFb-Dd3nBqBN.js} +24 -24
- package/dist/assets/{LinkJETransactionPage-PZAQ79zW-Be0NFT0x.js → LinkJETransactionPage-f4-YwvQe-D8ooeWsr.js} +10 -10
- package/dist/assets/{LowBalancePopup-BYeSnxBp-CWB9fGay.js → LowBalancePopup-C7oCDqcx-2Rje4uhG.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-D_FaPCmn-C524CU_C.js → MagicLinkACHDetailsPage-Bqe3RDsV-CZa4p9hj.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-rnZdulCr-BIvVFjqJ.js → MagicLinkDomesticWireDetailsPage-DPU-8FAH-CSBTwaek.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-B7ScwCJc-CedT3IVK.js → MagicLinkInternationalWireDetailsPage-DeXZfP0h-D3k-uGEY.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DVhVWuCR-C6_bXRZW.js → MagicLinkSuccessPage-CArToNjz-DqyiFP-T.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-CjV-_WEQ-DLRFZKyQ.js → MagicLinkTitleSection-CP0OhLNZ-BeBei-_2.js} +3 -3
- package/dist/assets/{MailingDetailsSection-CW6ShqHJ-D8V4HzFw.js → MailingDetailsSection-TgN7VRhK-CYe74YT_.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-BhC8pSjM-Dwxk7RjP.js → MeetingCalenderPopup-vr7DE2aj-DAZs4R6M.js} +3 -3
- package/dist/assets/{Menu-LDwLOgxI-DlYH_4Kt.js → Menu-DNn9-W-C-DaYpba-h.js} +4 -4
- package/dist/assets/{MyBankConnectionsSettingsPage-BzxtuXEu-CJN51V3R.js → MyBankConnectionsSettingsPage-TawXQ1Zb-BllmvVI4.js} +14 -14
- package/dist/assets/{MyPendingActivationChargeCardListPage-9jGJWmds-D9P1jnqV.js → MyPendingActivationChargeCardListPage-CPgV9E8n-BAkl0Cop.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-9yk4H_yu-G514pPEm.js → MyProfileSettingsPage-DuXTV0pM-5CplCRBg.js} +7 -7
- package/dist/assets/{NavBarWithPicker-DUpJ0EXp-DsJc75Xr.js → NavBarWithPicker-Cdali7jG-B142_aE-.js} +4 -4
- package/dist/assets/{NavigationArrow-lL3Ug8Mk-CFERmT7S.js → NavigationArrow-DaoZtCA8-BHc3euQ9.js} +9 -6
- package/dist/assets/{NavigationDots-6Q5ZVqKl-Bii0GTV2.js → NavigationDots-BhF2AV0Y-DUHF5KEe.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-nrWvsRy4-B2bsxNA0.js → NewGlobalMerchantPage-BaoJ7yB8-BF04eMSd.js} +8 -8
- package/dist/assets/{NoDataChart-DGbfWo33-lORHrY9i.js → NoDataChart-IPJ1xGPZ-BKJQDDL9.js} +1 -1
- package/dist/assets/{NoDataTable-CsvWc_ok-Bsp9MWne.js → NoDataTable-D5U81gbD-BirLBEpp.js} +1 -1
- package/dist/assets/{NotFoundPage-CzfiPkml-B4WoheH3.js → NotFoundPage-C7BswX2A-DQWUyCMU.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Dmfqzy1H-7Yghyu9r.js → NotificationSettingsPage-BQyqFWby-GjMlWRuD.js} +13 -13
- package/dist/assets/NotificationsListConfig-kLqWFg2Q-DecPdYAb.js +1 -0
- package/dist/assets/{NotificationsPage-BAj5p1zx-DVMRgL-y.js → NotificationsPage-DjRkTZVT-udgcPcnZ.js} +12 -12
- package/dist/assets/{OpExByVendorPage-CRt-VUTi-Co9wh_XC.js → OpExByVendorPage-CSasi7Uo-CoBJ4a1U.js} +7 -7
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-ARc4wBU5.js → OverlayContainerPage-C0rUb6-5-CokciX1J.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-lT9GgcG2-Dup1SAcO.js → PandLWithForecastPage-D8YwSYiz-BlQ8i7AP.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DY4eeS5C-BT81M9QN.js → PaymentAccountSetupBillingAddressSection-BWwcQZfk-DK-YnIzr.js} +7 -7
- package/dist/assets/{PeoplePage-CDQl7HVr-BcsR0YPU.js → PeoplePage-mrXiZ4VG-Cp2NcBr2.js} +14 -14
- package/dist/assets/PortfolioAllocationFormPage-DAFisXnQ-DjoPfEuL.js +207 -0
- package/dist/assets/{PortfolioDetails-Dk_IIRuG-By4sZlSG.js → PortfolioDetails-BBOVIetI-BvRwtbCV.js} +12 -12
- package/dist/assets/{ProductsCarousel-0-ksFQos-Cboqtj5A.js → ProductsCarousel-DpevGHyq-M7sMCRPA.js} +6 -6
- package/dist/assets/{PromoBaseCards-DNSnqS61-RNj48nzF.js → PromoBaseCards-BreO0rHq-CmneT-LE.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-BmIUfW_i-BTfGqMCC.js → QBOConnectionDialog-BCWc6AK--ExlTvgR6.js} +7 -7
- package/dist/assets/{QBOSetupSection-BaNFiEPB-Dd4E79Yb.js → QBOSetupSection-D_doa7hh-C2_irMwi.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CtTk4HV2-B_OXotse.js → ReimbursementApprovalRuleDetailPage-BSFxsbcx-5oswA6u0.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-IhKSiGK_-CJ28iUD0.js → ReimbursementApprovalRulesPage-X9bJFM6L-DS04bVT9.js} +29 -29
- package/dist/assets/{ReimbursementDetailPage-B2rT1dKM-B4mKbjVG.js → ReimbursementDetailPage-BJmSB65P-B9Io-y6T.js} +11 -11
- package/dist/assets/{ReimbursementPromoPage-d7XBUzip-BPhyjPfw.js → ReimbursementPromoPage-DO7dI9S7-IIxWWc2q.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-DWCUtN5c-B9oGu4ct.js → ReimbursementSetUpPage-Wjj6aNpc-BXv92xHK.js} +9 -9
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-ByNvcTCn-CrVDh7-F.js → ReimbursementsBulkReviewDrawerPage-GPuEjGqi-qY4F19Li.js} +1 -1
- package/dist/assets/{ReloadCard-DZy28iWR-jty26kIg.js → ReloadCard-cApojDpl-BTIiWZRj.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-DdZm4cOJ-2EdstowW.js → ReportTableViewSelector-BVUqQ9hl-WfosyobX.js} +5 -5
- package/dist/assets/{ReportsPage-CJDkY9FT-9nMZ-tT_.js → ReportsPage-CdiHHtXH-B1iwxprE.js} +1 -1
- package/dist/assets/{RevenueChart-B_jdFFPm-DtuAQXDC.js → RevenueChart-xoOc_3W3-Dzhhcd2T.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DjPVGzeL-xNY3UvCJ.js → ReviewDetailsPage-CF-R6wwN-BMnS8ktk.js} +10 -10
- package/dist/assets/{ReviewOverlay-DGYnF07r-DCUh9U9_.js → ReviewOverlay-Bora7h_H-BkZGLYKt.js} +10 -10
- package/dist/assets/{RoleWithToolTip-VlYG_GPv-teaAu_UP.js → RoleWithToolTip-k62RaqAZ-Bav1TewG.js} +7 -7
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-oPFQEE8g-5R4xRxD7.js → ScheduleDetailsFixedAssetsPage-Bd6qfpob-BxOEwKtI.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BdBgJEAl-DzgQbYnG.js → ScheduleDetailsPage-scOS36lS-CAMrRW5Y.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-Ncft3mZN-B-_JYZVo.js → ScheduleSequenceTable-BIhbFnjb-DCpkIU0H.js} +51 -51
- package/dist/assets/{ScreenRoutes-D25ajt3P.js → ScreenRoutes-C1ZbXccz.js} +35 -35
- package/dist/assets/{SetUpAccountSection-BrYiljyO-CSo_3my8.js → SetUpAccountSection-ehZfUFEf-BgFNCBNu.js} +17 -17
- package/dist/assets/{SetUpDefaultSection-B361ojb9-NxiVWfIP.js → SetUpDefaultSection-DnYtx3XN-CNoT73Ow.js} +16 -16
- package/dist/assets/{SignIn-B_-FUZwZ-CHisArfT.js → SignIn-k9MFplB1-eud7vdJb.js} +14 -14
- package/dist/assets/{SignInScreen-Uf5HkVEL.js → SignInScreen-CqP6hQef.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-XbjqwHXx-D5vMfDvw.js → SpendManagementListViewPage-B11exjM8-CE2MaiYn.js} +12 -12
- package/dist/assets/{SpendManagementPerTabPage-D-4W-Ru9-Bl38LM1S.js → SpendManagementPerTabPage-ByXU-omE-DWwC2JuF.js} +34 -34
- package/dist/assets/{SpendManagementSection-B7pMvj7Z-nyvHm07T.js → SpendManagementSection-CAewVL0Z-GsJe1fhq.js} +8 -8
- package/dist/assets/{SpendMgmtSetupAccountSection-DdUs96r9-IQ5cFujk.js → SpendMgmtSetupAccountSection-BY2LT0qv-CgVflLnR.js} +11 -11
- package/dist/assets/StatementItem-BJoMxmJY-BVhb_2i3.js +31 -0
- package/dist/assets/StatementsPage-C_O76V3t-DoehdMaa.js +58 -0
- package/dist/assets/{StatusSwitcher-DGOwA8qO-CCwch543.js → StatusSwitcher-39NGxygM-8g3Kr8Ie.js} +5 -5
- package/dist/assets/{SubTabSwitcher-Be-6o_mE-DpR4kDa2.js → SubTabSwitcher-BcL8UKX8-CtPS6-C1.js} +1 -1
- package/dist/assets/{SummaryCard-CD1amg78-D7-gBvS2.js → SummaryCard-VT7YJ6jy-DeCNM95f.js} +1 -1
- package/dist/assets/{TaskManagementPage-C2UYhTtL-BS6ZhKAX.js → TaskManagementPage-p-3BLn0_-TCdTn4Be.js} +30 -30
- package/dist/assets/{TimeRangeSwitcher-DxAmlHGP-DP9j4Y0h.js → TimeRangeSwitcher-Cjs5znYy-Dn_2XKTn.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-ndYSpUa6-JIaAkiT0.js → TimeframeSwitcher-BJrFD5A7-CapG6nwB.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-CrWRqA_S-Bvp4VoyC.js +31 -0
- package/dist/assets/{TopExCard-CcpyunQ3-D5X1AP2D.js → TopExCard-DAwlJbbc-Ch08mChi.js} +5 -5
- package/dist/assets/{TopExDetailPage-C_B0c8iP-DT-CcqaQ.js → TopExDetailPage-BgUJytuV-V8CGIoou.js} +1 -1
- package/dist/assets/{TransactionDetailPage-DVPGLobu-Cg4nJAIA.js → TransactionDetailPage-C8yIuCvF-lo-j_-eB.js} +20 -20
- package/dist/assets/{TransactionList-CvGyadHZ-CzScKnWB.js → TransactionList-DG-KZUjZ-CV9wox71.js} +12 -12
- package/dist/assets/{TransactionListBig-BeZjYsO0-BowcwIlG.js → TransactionListBig-iGiOjwVK-Dc9vBqnr.js} +16 -16
- package/dist/assets/{TransactionListPage-C8h-sa3V-BI2zdvtJ.js → TransactionListPage-C9Z_z4mC-UBhyOHuK.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-BcV8h3xR-Br1j6Ll5.js → TransactionVendorDetailPage-5uo1FPul-BOddX9Sk.js} +5 -5
- package/dist/assets/{TransferDrawerPage-B_AJgZWp-Yyh6CuZY.js → TransferDrawerPage-BKzo-4Wj-D-t2nTop.js} +32 -32
- package/dist/assets/{TreasuryOverviewPage-kG1jZF28-DHtmQ0RS.js → TreasuryOverviewPage-C6kTg0L3-DDk4OCh2.js} +32 -32
- package/dist/assets/{TreasuryPromoPage-Dy3ExIiy-gkUV5xBf.js → TreasuryPromoPage-CAS0pdES-D8v7EASC.js} +11 -11
- package/dist/assets/{TreasurySetupPage-Cjr-dp6O-BEQP_lhU.js → TreasurySetupPage-CcLiQWOT-B7yrMsSh.js} +2 -2
- package/dist/assets/TreasuryStatementsPage-Dm-3SPtA-C2bOR_YK.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-CWLf1Zxq-DbsCHDsw.js → TreasuryTaxLetterPage-0RsINpqA-DJWdIr-H.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-C5F3fmoI-DNtPmYKq.js → TreasuryTransferOrReviewPage-C_4CQVIe-BOkn6wNn.js} +21 -21
- package/dist/assets/{TrendChart-CtjfgQ9g-DPYHbjBV.js → TrendChart-CkPRxjLa-ClAmXRdb.js} +3 -3
- package/dist/assets/{TrendWithTransactions-SmcM2UIp-DTMdisoH.js → TrendWithTransactions-DJYMqIOI-wnxxIB4C.js} +2 -2
- package/dist/assets/{UncategorizedAccountsMappingPage-CXoadwja-BcH1WDHa.js → UncategorizedAccountsMappingPage-BapLceo--CgdItlB5.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-wYQVQqP7-xfmP0ZaV.js → UnitIntegrationPage-C9zNzH3B-gVQYcxZB.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-8_c7UpvB-CAx-wuMo.js → UploadAdditionalDocumentOverlay-BNaV6i2S-BuH4CmLJ.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DtNSOXbK-CcK6Drxw.js → Vendor2FAPopup-_Cn9FJ7D-cKAPYes9.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-zNbGGe4q--raVyiyg.js → VendorACHDetailsPage-B1vHY6rG-VScnw-FL.js} +1 -1
- package/dist/assets/{VendorDetailPage-Cv-MG9iR-YJohQISw.js → VendorDetailPage-Dkl7AlIZ-5XPeaOqt.js} +9 -9
- package/dist/assets/{VendorDomesticWireDetailsPage-BkqtoYAw-CueaVPRI.js → VendorDomesticWireDetailsPage-Co8Uc_OS-I5CTiy_-.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DYJudj3c-DtjWMkp6.js → VendorFiling1099EditablePage-M0gQJLkE-DzG8EXIY.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-BNFIAB9n-CRV8hhmi.js → VendorFirstReviewPage-Bte87pqn-DeG8_h9I.js} +46 -46
- package/dist/assets/{VendorInternationalWireDetailsPage-DHa8JoNl-CB0R2wQi.js → VendorInternationalWireDetailsPage-DdfkKEFx-sHwHhQTJ.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-a5nSOMXK-ZmWLuE7C.js → VendorInternationalWireSwiftDetailsPage-CtQifsRT-BsMO6lfl.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DwDGbjey-BapIbdiL.js → VendorsAccountsSection-CxyObm3T-BgRsSYOY.js} +13 -13
- package/dist/assets/{WarningsDrawerPage-CaSTx_8h-06WKhZXP.js → WarningsDrawerPage-D5nPLGJh-5sMWIR75.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-BSOpxKiJ-By7m3S08.js → ZeniAccountDetailPage-CKS9mcn3-BBMilYy5.js} +34 -34
- package/dist/assets/{ZeniAccountListViewPage-CZM1ODEE-Cc-U9qmc.js → ZeniAccountListViewPage-CORl7azj-By_13T1c.js} +18 -18
- package/dist/assets/{ZeniAccountNavBarPieces-CjNAr1N9-RsiaZAh1.js → ZeniAccountNavBarPieces-88z7CFPI-kEgSzIRo.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-PcyNGe7A-D6DBVv8X.js → ZeniAccountPromoPage-Car62P8Q-Bdd82q-1.js} +11 -11
- package/dist/assets/{ZeniAccountSetupPage-DhJ2zm6A-DdBOSG23.js → ZeniAccountSetupPage-B5uOzSDL-B_JyTC9y.js} +5 -5
- package/dist/assets/{ZeniCopyright-CSUSID-7-D956iA9P.js → ZeniCopyright-BcMyDAdQ-B3RH4DR7.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DPl7porw-DozHMrHt.js → ZeniTransferAmountSlider-Css3_ojA-DueYRoaC.js} +1 -1
- package/dist/assets/analytics-CBL_L82S.js +7 -0
- package/dist/assets/{analyticsHelper-D6tpOug6.js → analyticsHelper-DsBQxHgn.js} +1 -1
- package/dist/assets/{analyticsHelper-Cex5LOMD-C4BwPSdy.js → analyticsHelper-X-GRY9hH-MGNhQKMp.js} +1 -1
- package/dist/assets/{chartTypes-Df8u7la0-Brzx7O5o.js → chartTypes-C5XZr0AA-C8J0rp67.js} +1 -1
- package/dist/assets/{commonDimensions-OJhakpB_-DiUt9j4S.js → commonDimensions-DBedC6J7-SSiZbAOc.js} +1 -1
- package/dist/assets/{detailCommon-4wAnHr6n-Bingj457.js → detailCommon-CIjWXBC2-K-4pS5u-.js} +6 -6
- package/dist/assets/{downloadPdf-D02UNVHu-C-bMa4LF.js → downloadPdf-B21yi0DO-ZMTPTkC7.js} +1 -1
- package/dist/assets/{index-CKO1Ko85.js → index-ji6aa7AC.js} +3296 -3257
- package/dist/assets/{mapLoadingInProgressToTreeNode-HsZI6Bdg-p8sExms0.js → mapLoadingInProgressToTreeNode-CPDYMovk-DjQU3oZy.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B9KMXCTi-Cj1lgpjj.js → mapSectionWithAcOnlyToTreeNode-XPbCtxen-DAUQseD_.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BIZ_jwXi-CLKBLO3f.js → mapSpacerToTreeNode-CJ13HyFX-D7QAWDUL.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BOFrVlzJ-F8pebh8y.js → mapTimeframeBalancesToTreeNode-D8UCPznF-C5zbYkry.js} +1 -1
- package/dist/assets/{play-icon-BDRoJBSV-BPJEHfZz.js → play-icon-D7s0M2vV-zKqEqpdy.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-RJhTPgAt-CfuoDOsP.js → toCOABalancesWithID-CWk-QcRU-Db3b2mU1.js} +1 -1
- package/dist/assets/{toChartData-K68FB3Iy-Ds_boAOT.js → toChartData-BMMsnVqz-Cij6F0sj.js} +1 -1
- package/dist/assets/{treasuryColorHelper-DjASf5JB-Clmu45xq.js → treasuryColorHelper-CDRG_Dxk-BbsHEkM1.js} +1 -1
- package/dist/assets/{uploadAttachment-D7Rju7jS-BbgF_xIh.js → uploadAttachment-5FffgOcW-DgFFpcCF.js} +25 -25
- package/dist/assets/{uploadReceipts-Buvz7DfG-BpsqF6VB.js → uploadReceipts-Buvz7DfG-Dl3fgjOi.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPageContent-CmRpq4eF-DDfUCfgt.js +0 -149
- package/dist/assets/ApprovalRulesSettingsPage-1AQm08qF-DSSyDlgY.js +0 -47
- package/dist/assets/ArAgingChart-UnY648RV-BOEQqhql.js +0 -24
- package/dist/assets/BankConnectionsSettingsPage-BG99PtV_-CepU1gQp.js +0 -379
- package/dist/assets/ChargeCardDetailPage-DYGcQs0M-NBwd05Wz.js +0 -1447
- package/dist/assets/ChargeCardListPage-CNrRrNbd-Db66aANm.js +0 -355
- package/dist/assets/ChargeCardPromoPage-DZ1f8Sus-CBXiRWXX.js +0 -175
- package/dist/assets/CheckDepositDrawerPage-CbsRUWnx-CNd5wiU_.js +0 -206
- package/dist/assets/CustomerOnboardingContainerPage-BmFfAaO1-B6jyQS1g.js +0 -1
- package/dist/assets/Dashboard-BLIK_ZsD-DLzG8p7Y.js +0 -778
- package/dist/assets/HelpButton-DXFYhUL5-DrvcpPIO.js +0 -28
- package/dist/assets/InvitePeoplePage-By6TWsVZ-DAOsQYGZ.js +0 -12
- package/dist/assets/NotificationsListConfig-Cc3hEei0-CMelH0ma.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-StMDGc2G-CenaxepD.js +0 -207
- package/dist/assets/StatementItem-B4DJRmwy-NoG4m8iV.js +0 -31
- package/dist/assets/StatementsPage-DzFEOmFA-oaH9OYzs.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-B3bxr-_s-28Eu1Q5j.js +0 -31
- package/dist/assets/TreasuryStatementsPage-CzOSIKGQ-BjAps3jh.js +0 -58
- package/dist/assets/analytics-DThoELaW.js +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a}from"./CollapsableReportTable-
|
|
1
|
+
import{r as a}from"./CollapsableReportTable-FShSCFEn-62FniBRb.js";function l({balances:e,config:n,nodeId:t}){return{children:[],id:t??a("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:n}}}function d({title:e,balances:n,config:t,nodeId:i}){return{children:[],id:i??a("loading_in_progress",[],e),isLastNode:!1,reportElementData:{element:{kind:"loading_in_progress",title:"",data:n,numOfBalances:n.length},config:t}}}export{l as d,d as l};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,b as N}from"./CollapsableReportTable-
|
|
1
|
+
import{r as m,b as N}from"./CollapsableReportTable-FShSCFEn-62FniBRb.js";import"./index-ji6aa7AC.js";function D({calculatedSection:t,numOfBalances:c,title:n,isLastNode:i,config:r}){return{children:[],id:m("calculated_section",[],n),isLastNode:i,reportElementData:{element:{kind:"calculated_section",title:n,data:t,numOfBalances:c},config:r}}}function B({account:t,numOfBalances:c,title:n,config:i,parentNodeIDs:r,ancestorMetadata:e}){return{children:[],id:m("ac_subentity_total",r,t.account.accountId),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:n,data:t,numOfBalances:c,metadata:e},config:i}}}function g({account:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o={children:[],id:m("ac_subaccount",l,t.account.accountId),isLastNode:r,reportElementData:{element:{kind:"ac_subaccount",title:i,sectionType:c,metadata:s,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.children),d=a.map((u,p)=>g({account:u,sectionType:c,numOfBalances:n,title:u.account.accountName,config:e,isLastNode:p===a.length-1,parentNodeIDs:l,ancestorMetadata:{subAccountAncestorMetadata:[...s.subAccountAncestorMetadata,{depth:u.id.length-1,hasSibling:a.length>1,hasChildren:u.children.length>0,isLastNode:p===a.length-1,name:u.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return o.children.push(...d),a.length>0&&o.children.push(B({config:e,account:t,numOfBalances:n,title:t.account.accountDescription,parentNodeIDs:l,ancestorMetadata:s})),o}function L({acGroup:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l}){const s=m("ac_group_subaccount",l,t.accountGroupId),o={children:[],id:s,isLastNode:r,reportElementData:{element:{kind:"ac_group_subaccount",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},a=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts);return o.children=a.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountDescription,config:e,isLastNode:u===a.length-1,parentNodeIDs:[...l,s],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:a.length>1,hasChildren:d.children.length>0,isLastNode:u===a.length-1,name:d.account.accountName}]}})),o}function A({classNode:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e,parentNodeIDs:l,ancestorMetadata:s}){const o=m("class",l,i),a={children:[],id:o,isLastNode:r,reportElementData:{element:{kind:"class",title:i,data:t,metadata:s,numOfBalances:n},config:e}},d=s.classAncestorMetadata!=null?s.classAncestorMetadata:[],u=t.children.map((h,f)=>A({classNode:h,sectionType:c,numOfBalances:n,title:h.class.className,isLastNode:f===t.children.length-1,config:e,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[...d,{depth:h.id.length-1,hasSibling:t.children.length>1,hasChildren:h.children.length>0,isLastNode:f===t.children.length-1,name:h.class.className}]}})),p=t.class.accounts.map((h,f)=>g({account:h,sectionType:c,numOfBalances:n,title:h.account.accountName,config:e,isLastNode:f===t.class.accounts.length-1,parentNodeIDs:[...l,o],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:t.class.accounts.length>1,hasChildren:h.children.length>0,isLastNode:f===t.class.accounts.length-1,name:h.account.accountName}],classAncestorMetadata:s.classAncestorMetadata}}));return a.children.push(...p),a.children.push(...u),a}function b({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=t.classes.map((a,d)=>A({classNode:a,sectionType:c,numOfBalances:n,title:a.class.className,isLastNode:a.isLeafClass,config:e,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:a.id.length-1,hasSibling:!1,hasChildren:a.children.length>0,isLastNode:d===t.classes.length-1,name:a.class.className}]}}));return s.children.push(...o),s}function y({section:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(t.accountGroups),a=o.map((d,u)=>L({acGroup:d,sectionType:c,numOfBalances:n,title:d.accountGroupName,isLastNode:u===o.length-1,config:e,parentNodeIDs:[l]}));return s.children.push(...a),s}function T({sectionWithAcOnly:t,sectionType:c,numOfBalances:n,title:i,isLastNode:r,config:e}){const l=m("section",[],i),s={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"section",title:i,sectionType:c,data:t,numOfBalances:n},config:e}},o=N("no_filter",e.filterAccountsWithNilBalances,e.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.accounts),a=o.map((d,u)=>g({account:d,sectionType:c,numOfBalances:n,title:d.account.accountName,config:e,isLastNode:u===o.length-1,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:o.length>1,hasChildren:d.children.length>0,isLastNode:u===o.length-1,name:d.account.accountName}]}}));return s.children.push(...a),s}export{b as D,T as I,D as L,L as M,A as S,y as T,g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a}from"./CollapsableReportTable-
|
|
1
|
+
import{r as a}from"./CollapsableReportTable-FShSCFEn-62FniBRb.js";function i({title:t,balances:e=[],config:n,nodeId:r}){return{children:[],id:r??a("spacer_row",[],t),isLastNode:!1,reportElementData:{element:{kind:"spacer_row",title:"",data:e,numOfBalances:e.length},config:n}}}export{i as l};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./CollapsableReportTable-
|
|
1
|
+
import{r}from"./CollapsableReportTable-FShSCFEn-62FniBRb.js";function i({balances:e,config:a,nodeId:t}){return{children:[],id:t??r("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}export{i as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as s,j as i,
|
|
1
|
+
import{X as s,j as i,m as c,Y as d,g as p,o as n,C as o}from"./index-ji6aa7AC.js";import{b as l,n as t}from"./vendor-CnQcJ2Lu.js";const a={width:new o(300,770,770),height:new o(195,500,500)},h=t.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -24,8 +24,8 @@ import{X as s,j as i,p as c,Y as d,g as p,o as n,C as o}from"./index-CKO1Ko85.js
|
|
|
24
24
|
height: ${e=>a.height.valuePx(e.windowSize)};
|
|
25
25
|
padding: ${n.sp3};
|
|
26
26
|
background: ${e=>e.theme.colors.grey3};
|
|
27
|
-
`,
|
|
27
|
+
`,m=t.div`
|
|
28
28
|
position: relative;
|
|
29
29
|
width: 100%;
|
|
30
30
|
height: 100%;
|
|
31
|
-
`;function g(e){const r=s();return i.jsx(h,{windowSize:r,role:"presentation",children:i.jsx(c,{onClickAway:()=>e.onCancelClick(),children:i.jsx(w,{windowSize:r,"data-testid":d("video-popup"),children:i.jsxs(
|
|
31
|
+
`;function g(e){const r=s();return i.jsx(h,{windowSize:r,role:"presentation",children:i.jsx(c,{onClickAway:()=>e.onCancelClick(),children:i.jsx(w,{windowSize:r,"data-testid":d("video-popup"),children:i.jsxs(m,{children:[i.jsx("iframe",{src:e.videoUrl,frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,style:{width:"100%",height:"100%"},title:"Zeni - Modern Finance Team For Startups - 9 January 2023.mp4"}),i.jsx("script",{src:"https://player.vimeo.com/api/player.js"})]})})})})}const f=e=>l.createElement("svg",{width:23,height:26,viewBox:"0 0 23 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M21.6517 14.0115L2.53051 25.0499C1.56792 25.6054 0.78125 25.1505 0.78125 24.0396V1.9602C0.78125 0.849324 1.56792 0.394416 2.53051 0.949856L12.0911 6.46907L21.6517 11.9883C22.6143 12.5462 22.6143 13.4561 21.6517 14.0115Z",fill:"currentColor"}));export{f as C,g as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as m}from"./chartTypes-
|
|
1
|
+
import{p as m}from"./chartTypes-C5XZr0AA-C8J0rp67.js";const e=(a,o,c)=>n(a,o,c.balances),t=(a,o,c)=>e(a,o,c),b=(a,o,c)=>e(a,o,c),n=(a,o,c)=>c.map(p=>({key:m(a,o),balance:p}));export{e as c,b as h,t as i,n as o};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as h,l as u}from"./index-
|
|
1
|
+
import{M as h,l as u}from"./index-ji6aa7AC.js";function E(o,t,c,s,D){const l=D??!1,i=[];let f=[];if(t.forEach(r=>{const n=s[r];n!=null&&(i.push(n),r===c&&(f=n))}),i.length>0&&f.length>0){const r=f.map(a=>({startDate:a.balance.startDate,endDate:a.balance.endDate,label:y(o,a.balance,a.balance.balanceTimeFrame)})),n=[];for(let a=0;a<r.length;a++){const m={};i.forEach(b=>{if(b.length>0){const e=b[a];if(e!=null){const Y=l?e.balance.totalBalance:e.balance.balance,g=l?e.balance.totalForecast:e.balance.forecast,p=l?e.balance.totalPercentValue:e.balance.percentValue,k=e.balance.forecastPercentValue,d=e.key.endsWith("_forecast")?g:Y;if(d!=null){const w=e.key.endsWith("_forecast")?k:p;m[e.key]={amount:d,percentValue:w}}}}}),n.push({timeLabel:r[a],record:m})}return{timeseries:r,recordByTimeseries:n,orderedKeys:t}}else return}const y=(o,t,c)=>{const{dateFormat:{visual:s}}=h.getLocalizedStrings();switch(c){case"month":return`${u.formatZeniDate(t.startDate,s.MMMYYFormat,o)}`;case"quarter":return`${h.getLocalizedStrings().quarterPrefix}${u.formatZeniDate(t.startDate,s.QYYYYformat,o)}`;case"year":return`${u.formatZeniDate(t.startDate,s.YYYYformat,o)}`;case"free_range":case"week":throw new Error("free_range/week dates are not supported!")}};export{E as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as r}from"./index-
|
|
1
|
+
import{g as r}from"./index-ji6aa7AC.js";const g=(e,h)=>`${e}${h}`,o=[{light:r.graphColor34Dark,dark:r.graphColor34Dark,headerBackgroundLight:g(r.graphColor34Light,"99"),headerBackgroundDark:g(r.graphColor34Light,""),highlightsBackgroundLight:g(r.graphColor34,"14"),highlightsBackgroundDark:g(r.graphColor34,"1F")},{light:r.graphColor16Dark,dark:r.graphColor16Dark,headerBackgroundLight:g(r.graphColor16Light,"99"),headerBackgroundDark:g(r.graphColor16Light,""),highlightsBackgroundLight:g(r.graphColor16Light,"29"),highlightsBackgroundDark:g(r.graphColor16Light,"29")}],d=(e,h)=>{const a=o[e%o.length];return{headerBackground:h.mode==="light"?a.headerBackgroundLight:a.headerBackgroundDark,fundNameColor:h.mode==="light"?a.light:a.dark,fundSubNameColor:h.mode==="light"?a.light:a.dark,highlightsBackground:h.mode==="light"?a.highlightsBackgroundLight:a.highlightsBackgroundDark}},l=e=>{if(e!=null){const{code:h,name:a}=e;return{value:a,color:t(h),code:h}}},t=e=>{switch(e){case"initiated":case"scheduled":return r.neutralGrey1Light;case"canceled":case"delayed":case"failed":case"problem":return r.important;case"completed":return r.success;case"mfa_required":case"consent_required":default:return r.neutralGrey1Light}};export{l as d,d as l};
|
package/dist/assets/{uploadAttachment-D7Rju7jS-BbgF_xIh.js → uploadAttachment-5FffgOcW-DgFFpcCF.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{eg as Se,cg as Le,co as ee,X as re,u as Re,M as de,j as t,eC as ke,cp as Pe,Y as S,b1 as Ne,o as n,C as De,dg as Ie,b2 as L,bs as ce,em as te,a$ as ne,a2 as Ee,d2 as Me,el as Fe,Q as oe,w as pe,v as k,aB as Ve,eD as Te,g,cq as _e,q as me,eu as ze,f as ue,ad as Be,ae as Ae,a8 as Q,ds as se,dt as Ge,du as We,eE as He,dB as Ze,dC as ie,dD as le,dE as qe,dF as Je}from"./index-ji6aa7AC.js";import{b as f,n as i,j as Qe}from"./vendor-CnQcJ2Lu.js";const Ue=i(me)`
|
|
2
2
|
margin-left: ${e=>!e.hasChildren&&e.depth!==0?n.sp3:n.sp2};
|
|
3
|
-
`,
|
|
3
|
+
`,Xe=i(He)``,Ke=i.div`
|
|
4
4
|
display: flex;
|
|
5
5
|
height: ${e=>e.isRecommended?"auto":n.sp6};
|
|
6
6
|
align-items: center;
|
|
@@ -13,7 +13,7 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
|
|
|
13
13
|
width: ${n.sp3};
|
|
14
14
|
`,tt=i.div`
|
|
15
15
|
display: flex;
|
|
16
|
-
`,nt=({ancestorMetadata:e,depth:s,name:a})=>t.jsx(t.Fragment,{children:s>0&&e!=null?[...Array(s).keys()].map(d=>{const l=e[d];return l==null?null:t.jsxs(tt,{children:[l.depth===0?t.jsx(se,{depth:l.depth}):null,l.depth>=1?l.hasSibling&&!l.isLastNode?t.jsx(Ae,{},d):t.jsx(We,{}):null,l.depth>=1?t.jsx(se,{depth:l.depth}):null]},a+d)}):null}),ot=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>{let u=t.jsx(et,{});return h===!0||(e===0&&l&&(u=t.jsx(Ze,{collapsed:p})),e>0&&(l&&!d&&s&&(u=t.jsx(ie,{collapsed:p})),a&&d&&s&&(u=t.jsx(le,{})),!l&&a&&!d&&!s&&(u=t.jsx(Qe,{})),l&&d&&s&&(u=t.jsx(ie,{collapsed:p})),l&&!s&&(u=t.jsx(Ue,{collapsed:p})),s&&a&&(u=t.jsx(le,{})))),u},st=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>t.jsx(Ye,{children:t.jsx(ot,{depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})});function it(e){const{displayName:s}=e;return e.depth>4&&console.warn("cannot handle depth more than 4"),t.jsxs(Xe,{isRecommended:e.isOptionRecommended??!1,children:[e.isOptionRecommended===!0?null:t.jsx(nt,{ancestorMetadata:e.subAccountAncestorMetadata,depth:e.depth,name:e.displayName}),e.isOptionRecommended===!0?null:t.jsx(st,{...e}),e.isOptionRecommended===!0?t.jsx(Ke,{children:s}):t.jsx(Je,{hasChildren:e.hasChildren,depth:e.depth,children:s})]})}const he={infoLabel:new oe("extraSmallRegular","smallRegular"),selectFieldInput:new oe("smallRegular","standardRegular")},lt={menuMinWidth:new Ie(343,400,428)},{common:{texts:{confidence:at},strings:{empty:T}},expenseAutomation:{accountRecon:{review:{zeniGptRecommendation:rt}}}}=de.getLocalizedStrings(),dt=(e,s,a,d,l,p,h)=>e.isOptionRecommended!==!0||!e.chainOfThought||e.chainOfThought.length===0?null:{recommendations:[{id:e.id??e.value,name:e.label??e.displayName??e.value,reason:e.recommendationReason??e.additionalNote??rt,cot:e.chainOfThought,isSelected:s,source:e.source,type:p,confidencePercentage:e.confidencePercentage}],isThoughtProcessOnly:!0,existingOption:{label:void 0,value:void 0},pageSource:d,transactionStatus:l,isCOTEnabled:a,onPrimaryRecommendationConfirmationClick:()=>{},onAlternateRecommendationConfirmationClick:()=>{},onAlternateRecommendationExpandClick:()=>{},width:h},tn=({name:e,registerOptions:s,defaultValue:a,isDisabled:d,style:l,placeholder:p,autoFocus:h=!1,menuIsOpen:u,pageSource:x,type:r,transactionStatus:m,showEmptyState:w,additionalLabelInfo:O,customStyleConfig:b,customPlaceholderString:C,allowEmpty:D=!0,tooltip:_,noOptionsMessage:z,customPlaceholderColor:G,menuPortal:B,showCOT:A=!0,tooltipPosition:W="right-start",tooltipWidth:H,disableCurrentOption:P,valueToInfo:k,valueToId:v,onMenuClose:E,getStyles:M,menuPlacement:Z="auto",onCOTView:Q})=>{const{control:U,formState:{dirtyFields:$,errors:F}}=Le(),ge=ee(F,e??""),J=re(),V=ke(),[fe,xe]=f.useState(!1),ye=ee($,e),{dropDowns:K,common:{strings:{empty:N}}}=de.getLocalizedStrings(),X=f.useCallback(o=>({value:o.value,label:o.label??o.displayName,info:k?.(o.value)??N,id:v?.(o.value)??null,isDisabled:o.isDisabled,additionalNote:o?.additionalNote,isOptionRecommended:o.isOptionRecommended,recommendedOptionIndex:o.recommendedOptionIndex,displayName:o.displayName,depth:o.depth,isLeaf:o.isLeaf,isLastNode:o.isLastNode,hasSiblings:o.isLastNode,hasChildren:o.hasChildren,collapsed:o.collapsed,numberOfLines:o.numberOfLines,coaId:o.coaId,ancestorMetadata:o.ancestorMetadata,chainOfThought:o.chainOfThought,confidencePercentage:o.confidencePercentage,recommendationReason:o.recommendationReason,source:o.source}),[k,v,N]),be=f.useCallback(o=>o.map(c=>({label:c.label,options:c.options.map(j=>X(j))})),[X]),$e=f.useCallback(o=>{if(o==null||!o)return;let c=[];return a.allOptions.forEach(j=>{c=c.concat(j.options)}),{value:o,label:c.find(j=>j.value===o)?.label??o,info:k?.(o)??N}},[a.allOptions,k,N]);if(w===!0&&fe===!1&&ye===!1&&!a.selectedOption&&d==null)return t.jsx(Re,{style:l,buttonTitle:K.add,onClick:()=>xe(!0),name:e});const we=a.allOptions.some(o=>o.options.some(c=>c.isOptionRecommended===!0)),Oe={...b,container:(o,c)=>({...o,width:"100%",...l,...M?.(c.selectProps.menuIsOpen)||{}}),menu:(o,c)=>({...o,backgroundColor:V.colors.grey5,borderRadius:n.sp1,boxShadow:`${n.sp0} 2px ${n.sp2} ${V.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",minWidth:we?lt.menuMinWidth.valuePx(J):"300px",margin:0,...b?.menu?.(o,c)}),control:(o,c)=>({...o,height:n.sp6,...b?.control?.(o,c)}),valueContainer:(o,c)=>({...o,padding:0,paddingLeft:10,justifyContent:c.selectProps.menuIsOpen===!1?"flex-end":"flex-start",...b?.valueContainer?.(o,c)}),singleValue:(o,c)=>({...o,color:V.colors.primary,...b?.singleValue?.(o,c)}),menuList:(o,c)=>({...o,borderRadius:4,...b?.menuList?.(o,c)}),group:o=>({...o,paddingBottom:0,"&:first-of-type":{paddingTop:n.sp0},"&:not(:first-of-type)":{paddingTop:n.sp1},"&:not(:last-of-type)":{paddingBottom:n.sp1,borderBottom:`1px solid ${V.colors.grey3}`}}),menuPortal:(o,c)=>({...o,...b?.menuPortal?.(o,c)})},Ce=z??{line1:K.noOptions.standard,line2:N},ve={hasError:ge,noOptions:Ce,customPlaceholderColor:G,customPlaceholderString:C};return t.jsx(Pe,{name:e,control:U,defaultValue:a,rules:s,"data-testid":S("grouped-single-select-field",e),render:({field:{onChange:o,onBlur:c,value:j,name:Y,ref:je}})=>{const I=j;return t.jsxs(t.Fragment,{children:[f.createElement(Ne,{...ve,menuPortalTarget:B,ref:je,name:Y,isMulti:!1,isSearchable:!0,isClearable:!0,defaultValue:$e(a.selectedOption??I.selectedOption),autoFocus:h,controlShouldRenderValue:!0,placeholder:p,options:be(a?.allOptions??I.allOptions),onChange:y=>{y==null||y?.value!=null&&I?.selectedOption===y.value?D===!0&&o({selectedOption:void 0,allOptions:I.allOptions}):o({selectedOption:y.value,allOptions:I.allOptions})},key:De(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"grouped-single-select-field",onBlur:c,menuPlacement:Z,menuIsOpen:u,maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,onMenuClose:E,closeMenuOnScroll:!1,components:{Control:pt,Option:y=>yt(y,A,D,x,r,m,W,H,Q),Input:ut,Group:ht,GroupHeading:gt,NoOptionsMessage:ct,SingleValue:y=>ft(y,_),ValueContainer:y=>mt(y),DropdownIndicator:Gt,IndicatorSeparator:Bt,Placeholder:xt,ClearIndicator:At},hideSelectedOptions:!1,styles:Oe,isDisabled:d!=null,isOptionDisabled:y=>P?.(y.value)??!1,"data-testid":S("grouped-single-select",Y)}),O!=null?t.jsx(Et,{size:J,children:O}):null]})}})},ct=e=>{const s=e.selectProps.noOptions;return t.jsxs($t,{children:[t.jsx(ae,{children:s?.line1}),t.jsx(ae,{children:s?.line2})]})},pt=e=>{const{menuIsOpen:s,isFocused:a,isDisabled:d,selectProps:l,data:p,options:h}=e,{value:u,hasError:x,customPlaceholderColor:r,customPlaceholderString:m}=l;let w=[];h.forEach(C=>{w=w.concat(C.options)});const O=w.find(C=>C.value===p?.value),b=re();return t.jsx(St,{title:m!=null&&u!=null?u.label:void 0,windowSize:b,menuIsOpen:s,isFocused:a,customPlaceholderColor:r,isDisabled:d,selectedValue:u,hasError:x,customPlaceholderString:m,isRecommended:O?.isOptionRecommended,"data-testid":S("grouped-single-select-field-control",h[0]?.label),children:t.jsx(L.Control,{...e,className:"select-control",children:e.children})})},mt=e=>t.jsx(L.ValueContainer,{...e,className:"select-value-container",children:e.children}),ut=e=>{const{selectProps:s,innerRef:a,innerProps:d}=e,{placeholder:l,value:p,customPlaceholderString:h,menuIsOpen:u,onMenuOpen:x,hasError:r}=s;return h!=null&&p==null&&u===!1?t.jsx(Qt,{ref:a,...d,onClick:x,style:{display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"flex-start",cursor:"pointer"},className:"custom-placeholder","data-testid":S("grouped-single-select-field-input",s.name),children:t.jsxs(Wt,{children:[t.jsx(Ht,{hasError:r}),t.jsx(Zt,{hasError:r,children:h})]})}):t.jsx(L.Input,{...e,autoComplete:"new-password",autoFocus:u,placeholder:p==null?l:void 0,children:e.children})},ht=e=>t.jsx(L.Group,{...e,children:e.children}),gt=e=>{const[s,a]=f.useState(!0);return t.jsx(Mt,{className:"group-heading-container",isGroupOpen:s,onClick:()=>a(!s),"data-testid":S("group-heading",e.data.label),children:t.jsxs(L.GroupHeading,{...e,children:[t.jsx(Ft,{isGroupOpen:s,children:t.jsx(wt,{})}),e.children]})})},ft=({children:e,...s},a)=>{const d=a==null||s.selectProps.menuIsOpen===!0?e:a.sticky===!0?t.jsx(bt,{title:a.text,children:e}):t.jsx(ce,{style:{padding:`12px ${n.sp3}`},title:a.text,placement:"top",children:e});return t.jsx(L.SingleValue,{...s,children:t.jsx(Ot,{children:d})})},xt=()=>null,yt=(e,s,a,d,l,p,h,u,x)=>{const{data:r,isSelected:m,isDisabled:w,isFocused:O,selectProps:b}=e,{customPlaceholderString:C}=b,{depth:D,isLeaf:_,isLastNode:z,hasSiblings:G,hasChildren:B,collapsed:A,displayName:W,ancestorMetadata:H,label:P}=r,k=H,v=dt(r,m,s,d,p,l,u),E=t.jsx(kt,{title:C!=null?e.label:void 0,className:"select-option-wrapper",isFocused:O,isSelected:m,isDisabled:w,isOptionRecommended:!!r?.isOptionRecommended,showBottomBorder:r?.additionalNote==null||r?.isOptionRecommended!==!0,allowEmpty:a,"data-testid":S("grouped-single-select-option",P),children:t.jsx(L.Option,{...e,className:"select-option",children:t.jsxs(Rt,{isOptionRecommended:r?.isOptionRecommended,children:[!!r?.isOptionRecommended&&t.jsx(Tt,{children:t.jsx(_t,{})}),t.jsxs(It,{children:[t.jsxs(Dt,{isSelected:m,isOptionRecommended:r?.isOptionRecommended,children:[t.jsx(Pt,{isSelected:m,isDisabled:w,children:t.jsx(it,{displayName:W??P,depth:D,isLastNode:z,isLeaf:_,hasSiblings:G,collapsed:A,hasChildren:B,isOptionRecommended:r?.isOptionRecommended,subAccountAncestorMetadata:k})}),O===!0&&r.coaId!=null&&r?.info!=null&&t.jsx(zt,{children:r.coaId??r?.info})]}),r?.isOptionRecommended&&r.additionalNote?t.jsx(Nt,{isSelected:m,isDisabled:w,children:r.additionalNote}):null]}),t.jsxs(Ut,{children:[r?.isOptionRecommended?t.jsxs(qt,{children:[t.jsx(Jt,{confidence:r.confidencePercentage,children:te(r.confidencePercentage)}),t.jsx(Kt,{className:"confidence-label",children:at})]}):null,m===!0&&r?.additionalNote==null?t.jsxs(Vt,{children:[t.jsx(ne,{className:"right-tick-icon",height:n.sp3,width:n.sp3}),t.jsx(Ee,{className:"close-tick-icon",height:n.sp3,width:n.sp3,"data-testid":S("grouped-single-select-option-cancel",P)})]}):r?.isOptionRecommended===!0?m===!0?t.jsx(Xt,{children:t.jsx(ne,{height:n.sp3,width:n.sp3,style:{transform:"rotate(0deg)"}})}):t.jsx(Lt,{}):null]})]})})}),M=Me().analytics,Z=f.useCallback(()=>{const Q=(e.value!=null&&e.value!==T?e?.getValue(e.value):null)?.[0]?.label??T,U=r.recommendedOptionIndex===1?"alternative":"primary",$=v?.recommendations[0],F=$?.cot??[];M.trackTransactionCotDropdownView({recommendationType:U,recommendationFor:l,currentValue:Q,recommendation:$?.name??T,recommendationCot:F,isRecommendationCotAvailable:F.length>0,recommendationReason:$?.reason??T,recommendationConfidenceLevel:Fe(te($?.confidencePercentage).toLocaleLowerCase()),transactionPage:d,transactionCurrentStatus:p,recommendationConfidencePercentage:$?.confidencePercentage??null}),x!=null&&$!=null&&$.cot.length>0&&x(l,$.source)},[M,v,d,p,l,e,r.recommendedOptionIndex]);return v!=null&&r?.isOptionRecommended&&s?t.jsx(ce,{variant:"chain-of-thought",data:v,placement:h??"right-start",enterDelay:300,leaveDelay:100,offset:[0,0],position:"static",display:"block",style:{width:"100%",height:"100%",marginLeft:"0px",marginRight:"0px"},onOpen:Z,children:E}):E},bt=({children:e,title:s})=>t.jsxs(Ct,{children:[t.jsxs(vt,{children:[s,t.jsx(jt,{})]}),e]}),$t=i.div`
|
|
16
|
+
`,nt=({ancestorMetadata:e,depth:s,name:a})=>t.jsx(t.Fragment,{children:s>0&&e!=null?[...Array(s).keys()].map(d=>{const l=e[d];return l==null?null:t.jsxs(tt,{children:[l.depth===0?t.jsx(se,{depth:l.depth}):null,l.depth>=1?l.hasSibling&&!l.isLastNode?t.jsx(Ge,{},d):t.jsx(We,{}):null,l.depth>=1?t.jsx(se,{depth:l.depth}):null]},a+d)}):null}),ot=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>{let u=t.jsx(et,{});return h===!0||(e===0&&l&&(u=t.jsx(Ze,{collapsed:p})),e>0&&(l&&!d&&s&&(u=t.jsx(ie,{collapsed:p})),a&&d&&s&&(u=t.jsx(le,{})),!l&&a&&!d&&!s&&(u=t.jsx(qe,{})),l&&d&&s&&(u=t.jsx(ie,{collapsed:p})),l&&!s&&(u=t.jsx(Je,{collapsed:p})),s&&a&&(u=t.jsx(le,{})))),u},st=({depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})=>t.jsx(Ye,{children:t.jsx(ot,{depth:e,isLastNode:s,isLeaf:a,hasSiblings:d,hasChildren:l,collapsed:p,isOptionRecommended:h})});function it(e){const{displayName:s}=e;return e.depth>4&&console.warn("cannot handle depth more than 4"),t.jsxs(Ke,{isRecommended:e.isOptionRecommended??!1,children:[e.isOptionRecommended===!0?null:t.jsx(nt,{ancestorMetadata:e.subAccountAncestorMetadata,depth:e.depth,name:e.displayName}),e.isOptionRecommended===!0?null:t.jsx(st,{...e}),e.isOptionRecommended===!0?t.jsx(Xe,{children:s}):t.jsx(Ue,{hasChildren:e.hasChildren,depth:e.depth,children:s})]})}const he={infoLabel:new oe("extraSmallRegular","smallRegular"),selectFieldInput:new oe("smallRegular","standardRegular")},lt={menuMinWidth:new De(343,400,428)},{common:{texts:{confidence:at},strings:{empty:T}},expenseAutomation:{accountRecon:{review:{zeniGptRecommendation:rt}}}}=de.getLocalizedStrings(),dt=(e,s,a,d,l,p,h)=>e.isOptionRecommended!==!0||!e.chainOfThought||e.chainOfThought.length===0?null:{recommendations:[{id:e.id??e.value,name:e.label??e.displayName??e.value,reason:e.recommendationReason??e.additionalNote??rt,cot:e.chainOfThought,isSelected:s,source:e.source,type:p,confidencePercentage:e.confidencePercentage}],isThoughtProcessOnly:!0,existingOption:{label:void 0,value:void 0},pageSource:d,transactionStatus:l,isCOTEnabled:a,onPrimaryRecommendationConfirmationClick:()=>{},onAlternateRecommendationConfirmationClick:()=>{},onAlternateRecommendationExpandClick:()=>{},width:h},tn=({name:e,registerOptions:s,defaultValue:a,isDisabled:d,style:l,placeholder:p,autoFocus:h=!1,menuIsOpen:u,pageSource:x,type:r,transactionStatus:m,showEmptyState:w,additionalLabelInfo:O,customStyleConfig:$,customPlaceholderString:C,allowEmpty:I=!0,tooltip:_,noOptionsMessage:z,customPlaceholderColor:B,menuPortal:A,showCOT:G=!0,tooltipPosition:W="right-start",tooltipWidth:H,disableCurrentOption:P,valueToInfo:R,valueToId:j,onMenuClose:E,getStyles:M,menuPlacement:Z="auto",onCOTView:q})=>{const{control:J,formState:{dirtyFields:b,errors:F}}=Le(),ge=ee(F,e??""),U=re(),V=Re(),[fe,xe]=f.useState(!1),ye=ee(b,e),{dropDowns:X,common:{strings:{empty:N}}}=de.getLocalizedStrings(),K=f.useCallback(o=>({value:o.value,label:o.label??o.displayName,info:R?.(o.value)??N,id:j?.(o.value)??null,isDisabled:o.isDisabled,additionalNote:o?.additionalNote,isOptionRecommended:o.isOptionRecommended,recommendedOptionIndex:o.recommendedOptionIndex,displayName:o.displayName,depth:o.depth,isLeaf:o.isLeaf,isLastNode:o.isLastNode,hasSiblings:o.isLastNode,hasChildren:o.hasChildren,collapsed:o.collapsed,numberOfLines:o.numberOfLines,coaId:o.coaId,ancestorMetadata:o.ancestorMetadata,chainOfThought:o.chainOfThought,confidencePercentage:o.confidencePercentage,recommendationReason:o.recommendationReason,source:o.source}),[R,j,N]),$e=f.useCallback(o=>o.map(c=>({label:c.label,options:c.options.map(v=>K(v))})),[K]),be=f.useCallback(o=>{if(o==null||!o)return;let c=[];return a.allOptions.forEach(v=>{c=c.concat(v.options)}),{value:o,label:c.find(v=>v.value===o)?.label??o,info:R?.(o)??N}},[a.allOptions,R,N]);if(w===!0&&fe===!1&&ye===!1&&!a.selectedOption&&d==null)return t.jsx(ke,{style:l,buttonTitle:X.add,onClick:()=>xe(!0),name:e});const we=a.allOptions.some(o=>o.options.some(c=>c.isOptionRecommended===!0)),Oe={...$,container:(o,c)=>({...o,width:"100%",...l,...M?.(c.selectProps.menuIsOpen)||{}}),menu:(o,c)=>({...o,backgroundColor:V.colors.grey5,borderRadius:n.sp1,boxShadow:`${n.sp0} 2px ${n.sp2} ${V.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",minWidth:we?lt.menuMinWidth.valuePx(U):"300px",margin:0,...$?.menu?.(o,c)}),control:(o,c)=>({...o,height:n.sp6,...$?.control?.(o,c)}),valueContainer:(o,c)=>({...o,padding:0,paddingLeft:10,justifyContent:c.selectProps.menuIsOpen===!1?"flex-end":"flex-start",...$?.valueContainer?.(o,c)}),singleValue:(o,c)=>({...o,color:V.colors.primary,...$?.singleValue?.(o,c)}),menuList:(o,c)=>({...o,borderRadius:4,...$?.menuList?.(o,c)}),group:o=>({...o,paddingBottom:0,"&:first-of-type":{paddingTop:n.sp0},"&:not(:first-of-type)":{paddingTop:n.sp1},"&:not(:last-of-type)":{paddingBottom:n.sp1,borderBottom:`1px solid ${V.colors.grey3}`}}),menuPortal:(o,c)=>({...o,...$?.menuPortal?.(o,c)})},Ce=z??{line1:X.noOptions.standard,line2:N},je={hasError:ge,noOptions:Ce,customPlaceholderColor:B,customPlaceholderString:C};return t.jsx(Pe,{name:e,control:J,defaultValue:a,rules:s,"data-testid":S("grouped-single-select-field",e),render:({field:{onChange:o,onBlur:c,value:v,name:Y,ref:ve}})=>{const D=v;return t.jsxs(t.Fragment,{children:[f.createElement(Ne,{...je,menuPortalTarget:A,ref:ve,name:Y,isMulti:!1,isSearchable:!0,isClearable:!0,defaultValue:be(a.selectedOption??D.selectedOption),autoFocus:h,controlShouldRenderValue:!0,placeholder:p,options:$e(a?.allOptions??D.allOptions),onChange:y=>{y==null||y?.value!=null&&D?.selectedOption===y.value?I===!0&&o({selectedOption:void 0,allOptions:D.allOptions}):o({selectedOption:y.value,allOptions:D.allOptions})},key:Ie(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"grouped-single-select-field",onBlur:c,menuPlacement:Z,menuIsOpen:u,maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,onMenuClose:E,closeMenuOnScroll:!1,components:{Control:pt,Option:y=>yt(y,G,I,x,r,m,W,H,q),Input:ut,Group:ht,GroupHeading:gt,NoOptionsMessage:ct,SingleValue:y=>ft(y,_),ValueContainer:y=>mt(y),DropdownIndicator:Bt,IndicatorSeparator:At,Placeholder:xt,ClearIndicator:Gt},hideSelectedOptions:!1,styles:Oe,isDisabled:d!=null,isOptionDisabled:y=>P?.(y.value)??!1,"data-testid":S("grouped-single-select",Y)}),O!=null?t.jsx(Et,{size:U,children:O}):null]})}})},ct=e=>{const s=e.selectProps.noOptions;return t.jsxs(bt,{children:[t.jsx(ae,{children:s?.line1}),t.jsx(ae,{children:s?.line2})]})},pt=e=>{const{menuIsOpen:s,isFocused:a,isDisabled:d,selectProps:l,data:p,options:h}=e,{value:u,hasError:x,customPlaceholderColor:r,customPlaceholderString:m}=l;let w=[];h.forEach(C=>{w=w.concat(C.options)});const O=w.find(C=>C.value===p?.value),$=re();return t.jsx(St,{title:m!=null&&u!=null?u.label:void 0,windowSize:$,menuIsOpen:s,isFocused:a,customPlaceholderColor:r,isDisabled:d,selectedValue:u,hasError:x,customPlaceholderString:m,isRecommended:O?.isOptionRecommended,"data-testid":S("grouped-single-select-field-control",h[0]?.label),children:t.jsx(L.Control,{...e,className:"select-control",children:e.children})})},mt=e=>t.jsx(L.ValueContainer,{...e,className:"select-value-container",children:e.children}),ut=e=>{const{selectProps:s,innerRef:a,innerProps:d}=e,{placeholder:l,value:p,customPlaceholderString:h,menuIsOpen:u,onMenuOpen:x,hasError:r}=s;return h!=null&&p==null&&u===!1?t.jsx(qt,{ref:a,...d,onClick:x,style:{display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"flex-start",cursor:"pointer"},className:"custom-placeholder","data-testid":S("grouped-single-select-field-input",s.name),children:t.jsxs(Wt,{children:[t.jsx(Ht,{hasError:r}),t.jsx(Zt,{hasError:r,children:h})]})}):t.jsx(L.Input,{...e,autoComplete:"new-password",autoFocus:u,placeholder:p==null?l:void 0,children:e.children})},ht=e=>t.jsx(L.Group,{...e,children:e.children}),gt=e=>{const[s,a]=f.useState(!0);return t.jsx(Mt,{className:"group-heading-container",isGroupOpen:s,onClick:()=>a(!s),"data-testid":S("group-heading",e.data.label),children:t.jsxs(L.GroupHeading,{...e,children:[t.jsx(Ft,{isGroupOpen:s,children:t.jsx(wt,{})}),e.children]})})},ft=({children:e,...s},a)=>{const d=a==null||s.selectProps.menuIsOpen===!0?e:a.sticky===!0?t.jsx($t,{title:a.text,children:e}):t.jsx(ce,{style:{padding:`12px ${n.sp3}`},title:a.text,placement:"top",children:e});return t.jsx(L.SingleValue,{...s,children:t.jsx(Ot,{children:d})})},xt=()=>null,yt=(e,s,a,d,l,p,h,u,x)=>{const{data:r,isSelected:m,isDisabled:w,isFocused:O,selectProps:$}=e,{customPlaceholderString:C}=$,{depth:I,isLeaf:_,isLastNode:z,hasSiblings:B,hasChildren:A,collapsed:G,displayName:W,ancestorMetadata:H,label:P}=r,R=H,j=dt(r,m,s,d,p,l,u),E=t.jsx(Rt,{title:C!=null?e.label:void 0,className:"select-option-wrapper",isFocused:O,isSelected:m,isDisabled:w,isOptionRecommended:!!r?.isOptionRecommended,showBottomBorder:r?.additionalNote==null||r?.isOptionRecommended!==!0,allowEmpty:a,"data-testid":S("grouped-single-select-option",P),children:t.jsx(L.Option,{...e,className:"select-option",children:t.jsxs(kt,{isOptionRecommended:r?.isOptionRecommended,children:[!!r?.isOptionRecommended&&t.jsx(Tt,{children:t.jsx(_t,{})}),t.jsxs(Dt,{children:[t.jsxs(It,{isSelected:m,isOptionRecommended:r?.isOptionRecommended,children:[t.jsx(Pt,{isSelected:m,isDisabled:w,children:t.jsx(it,{displayName:W??P,depth:I,isLastNode:z,isLeaf:_,hasSiblings:B,collapsed:G,hasChildren:A,isOptionRecommended:r?.isOptionRecommended,subAccountAncestorMetadata:R})}),O===!0&&r.coaId!=null&&r?.info!=null&&t.jsx(zt,{children:r.coaId??r?.info})]}),r?.isOptionRecommended&&r.additionalNote?t.jsx(Nt,{isSelected:m,isDisabled:w,children:r.additionalNote}):null]}),t.jsxs(Jt,{children:[r?.isOptionRecommended?t.jsxs(Qt,{children:[t.jsx(Ut,{confidence:r.confidencePercentage,children:te(r.confidencePercentage)}),t.jsx(Xt,{className:"confidence-label",children:at})]}):null,m===!0&&r?.additionalNote==null?t.jsxs(Vt,{children:[t.jsx(ne,{className:"right-tick-icon",height:n.sp3,width:n.sp3}),t.jsx(Ee,{className:"close-tick-icon",height:n.sp3,width:n.sp3,"data-testid":S("grouped-single-select-option-cancel",P)})]}):r?.isOptionRecommended===!0?m===!0?t.jsx(Kt,{children:t.jsx(ne,{height:n.sp3,width:n.sp3,style:{transform:"rotate(0deg)"}})}):t.jsx(Lt,{}):null]})]})})}),M=Me().analytics,Z=f.useCallback(()=>{const q=(e.value!=null&&e.value!==T?e?.getValue(e.value):null)?.[0]?.label??T,J=r.recommendedOptionIndex===1?"alternative":"primary",b=j?.recommendations[0],F=b?.cot??[];M.trackTransactionCotDropdownView({recommendationType:J,recommendationFor:l,currentValue:q,recommendation:b?.name??T,recommendationCot:F,isRecommendationCotAvailable:F.length>0,recommendationReason:b?.reason??T,recommendationConfidenceLevel:Fe(te(b?.confidencePercentage).toLocaleLowerCase()),transactionPage:d,transactionCurrentStatus:p,recommendationConfidencePercentage:b?.confidencePercentage??null}),x!=null&&b!=null&&b.cot.length>0&&x(l,b.source)},[M,j,d,p,l,e,r.recommendedOptionIndex]);return j!=null&&r?.isOptionRecommended&&s?t.jsx(ce,{variant:"chain-of-thought",data:j,placement:h??"right-start",enterDelay:300,leaveDelay:100,offset:[0,0],position:"static",display:"block",style:{width:"100%",height:"100%",marginLeft:"0px",marginRight:"0px"},onOpen:Z,children:E}):E},$t=({children:e,title:s})=>t.jsxs(Ct,{children:[t.jsxs(jt,{children:[s,t.jsx(vt,{})]}),e]}),bt=i.div`
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
align-items: center;
|
|
@@ -34,23 +34,23 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
|
|
|
34
34
|
`,Ct=i.div`
|
|
35
35
|
position: relative;
|
|
36
36
|
display: contents;
|
|
37
|
-
`,
|
|
37
|
+
`,jt=i.div`
|
|
38
38
|
position: absolute;
|
|
39
|
-
background: ${
|
|
40
|
-
color: ${
|
|
39
|
+
background: ${Q.primary};
|
|
40
|
+
color: ${Q.grey5};
|
|
41
41
|
padding: ${n.sp3};
|
|
42
42
|
border-radius: ${n.sp1};
|
|
43
43
|
top: -${n.sp2};
|
|
44
44
|
right: 225px;
|
|
45
45
|
opacity: 0.85;
|
|
46
46
|
pointer-events: none;
|
|
47
|
-
`,
|
|
47
|
+
`,vt=i.span`
|
|
48
48
|
position: absolute;
|
|
49
49
|
top: 30%;
|
|
50
50
|
right: -8%;
|
|
51
51
|
border-width: 10px;
|
|
52
52
|
border-style: solid;
|
|
53
|
-
border-color: transparent transparent transparent ${
|
|
53
|
+
border-color: transparent transparent transparent ${Q.primary};
|
|
54
54
|
`,St=i.span`
|
|
55
55
|
width: 100%;
|
|
56
56
|
background-color: ${e=>e.menuIsOpen?e.theme.colors.background:e.theme.colors.grey5};
|
|
@@ -93,7 +93,7 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
|
|
|
93
93
|
display: flex;
|
|
94
94
|
width: ${e=>e.menuIsOpen===!1&&e.selectedValue!=null?n.sp0:"100%"};
|
|
95
95
|
position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
|
|
96
|
-
${
|
|
96
|
+
${k.standardRegular.css};
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
98
|
margin: ${n.sp0};
|
|
99
99
|
cursor: inherit;
|
|
@@ -112,14 +112,14 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
`,Lt=i(
|
|
115
|
+
`,Lt=i(Ae)`
|
|
116
116
|
width: ${n.sp3};
|
|
117
117
|
height: ${n.sp3};
|
|
118
|
-
`,
|
|
118
|
+
`,Rt=i.div`
|
|
119
119
|
border-bottom: ${e=>e.showBottomBorder===!0?"inherit":"none"} !important;
|
|
120
120
|
.select-option {
|
|
121
121
|
padding: ${n.sp0} ${n.sp3};
|
|
122
|
-
${
|
|
122
|
+
${k.smallRegular.css};
|
|
123
123
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
124
124
|
|
|
125
125
|
.confidence-label {
|
|
@@ -144,7 +144,7 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
|
|
|
144
144
|
color: ${e=>e.theme.colors.primary};
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
${({allowEmpty:e})=>e&&
|
|
147
|
+
${({allowEmpty:e})=>e&&Qe`
|
|
148
148
|
.right-tick-icon {
|
|
149
149
|
display: none;
|
|
150
150
|
}
|
|
@@ -154,7 +154,7 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
|
|
|
154
154
|
`}
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
`,
|
|
157
|
+
`,kt=i.div`
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: row;
|
|
160
160
|
justify-content: space-between;
|
|
@@ -174,12 +174,12 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
|
|
|
174
174
|
text-overflow: ellipsis;
|
|
175
175
|
white-space: nowrap;
|
|
176
176
|
color: inherit;
|
|
177
|
-
`,
|
|
177
|
+
`,Dt=i.div`
|
|
178
178
|
display: flex;
|
|
179
179
|
flex-direction: column;
|
|
180
180
|
width: 100%;
|
|
181
181
|
overflow: hidden;
|
|
182
|
-
`,
|
|
182
|
+
`,It=i.div`
|
|
183
183
|
flex: 1;
|
|
184
184
|
display: flex;
|
|
185
185
|
align-items: center;
|
|
@@ -208,10 +208,10 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
|
|
|
208
208
|
|
|
209
209
|
.grouped-single-select-field__group-heading {
|
|
210
210
|
display: flex;
|
|
211
|
-
font-size: ${
|
|
212
|
-
font-weight: ${
|
|
213
|
-
line-height: ${
|
|
214
|
-
font-family: ${
|
|
211
|
+
font-size: ${k.standardMedium.fontSize};
|
|
212
|
+
font-weight: ${k.standardMedium.fontWeight};
|
|
213
|
+
line-height: ${k.standardMedium.lineHeight};
|
|
214
|
+
font-family: ${k.standardMedium.fontFamily};
|
|
215
215
|
color: inherit;
|
|
216
216
|
text-transform: capitalize;
|
|
217
217
|
cursor: pointer;
|
|
@@ -250,7 +250,7 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
|
|
|
250
250
|
padding: ${n.sp0} 6px;
|
|
251
251
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
252
252
|
border-radius: ${n.sp1};
|
|
253
|
-
`,
|
|
253
|
+
`,Bt=()=>null,At=()=>null,Gt=()=>null,Wt=i.div`
|
|
254
254
|
display: flex;
|
|
255
255
|
align-items: center;
|
|
256
256
|
justify-content: center;
|
|
@@ -262,23 +262,23 @@ import{ei as Se,cg as Le,co as ee,X as re,u as ke,M as de,j as t,eE as Re,cp as
|
|
|
262
262
|
color: ${e=>e.hasError?g.important:e.theme.colors.grey1};
|
|
263
263
|
`,Zt=i(me)`
|
|
264
264
|
color: ${e=>e.hasError?g.important:e.theme.colors.grey1};
|
|
265
|
-
`,
|
|
265
|
+
`,qt=i.div``,Jt=i.div`
|
|
266
266
|
display: flex;
|
|
267
267
|
align-items: center;
|
|
268
268
|
gap: ${n.sp4};
|
|
269
269
|
margin-left: ${n.sp2};
|
|
270
|
-
`,
|
|
270
|
+
`,Qt=i.div`
|
|
271
271
|
display: flex;
|
|
272
272
|
flex-direction: column;
|
|
273
273
|
align-items: center;
|
|
274
274
|
text-align: center;
|
|
275
|
-
`,
|
|
275
|
+
`,Ut=i(Be)`
|
|
276
276
|
display: flex;
|
|
277
277
|
width: 100%;
|
|
278
278
|
align-items: center;
|
|
279
279
|
justify-content: center;
|
|
280
280
|
color: ${e=>e.confidence==null?e.theme.mode==="dark"?g.alert:g.alertDark:e.confidence>=90?e.theme.mode==="dark"?g.success:g.successDark:e.confidence>=70?e.theme.mode==="dark"?g.alert:g.alertDark:e.theme.mode==="dark"?g.important:g.importantDark};
|
|
281
|
-
`,
|
|
281
|
+
`,Xt=i(ue)``,Kt=i.div`
|
|
282
282
|
display: flex;
|
|
283
283
|
align-items: center;
|
|
284
284
|
justify-content: center;
|
package/dist/assets/{uploadReceipts-Buvz7DfG-BpsqF6VB.js → uploadReceipts-Buvz7DfG-Dl3fgjOi.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{eg as h}from"./index-ji6aa7AC.js";async function f(i,e,o,r,d){let s;const a=new FormData;o.forEach((t,n)=>{a.append(`attachment_file_${n}`,t);const c=JSON.stringify({file_name:r[n],content_type:t.type,size:t.size});a.append(`attachment_json_${n}`,c)});try{await h(i,{method:"POST",body:a,headers:{"zeni-user-id":e.userId,"zeni-tenant-id":e.tenantId,"zeni-session-id":e.sessionId}}).then(t=>t.json()).then(t=>{if(t.status.code>=200&&t.status.code<300)s=t.data;else throw console.error(`Upload attachment failed with ${t.statusText}`),d?.(t.status.message),new Error(`Upload attachment failed with ${t.statusText}`)})}catch(t){throw console.error(`Upload attachment failed with ${JSON.stringify(t)}`),new Error(`Upload attachment failed with ${JSON.stringify(t)}`)}return s}export{f as l};
|
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="stylesheet preconnect dns-prefetch" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap" rel="stylesheet preconnect dns-prefetch"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><link rel="stylesheet preconnect dns-prefetch" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"><link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap" rel="stylesheet preconnect dns-prefetch"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Zeni - Modern Finance Team For Startups</title><script type="module" crossorigin src="/assets/index-ji6aa7AC.js"></script><link rel="modulepreload" crossorigin href="/assets/vendor-CnQcJ2Lu.js"><link rel="modulepreload" crossorigin href="/assets/mui-C5LQ0bMa.js"><link rel="modulepreload" crossorigin href="/assets/analytics-CBL_L82S.js"><link rel="modulepreload" crossorigin href="/assets/routing-Cpaypegg.js"><link rel="modulepreload" crossorigin href="/assets/sentry-HDxG13yk.js"><link rel="modulepreload" crossorigin href="/assets/redux-ByjIRbhZ.js"><link rel="modulepreload" crossorigin href="/assets/liveblocks-sSQ9JElv.js"><link rel="modulepreload" crossorigin href="/assets/crypto-BURQLTgV.js"><link rel="stylesheet" crossorigin href="/assets/index-BAKoUD4u.css"></head><body><div id="root"></div></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/web-cockpit-ui",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.94-dev",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/**/*"
|
|
6
6
|
],
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"@sentry/react": "^9.42.1",
|
|
17
17
|
"@types/crypto-js": "^4.1.0",
|
|
18
18
|
"@types/lodash": "^4.17.16",
|
|
19
|
-
"@zeniai/client-analytics": "1.6.
|
|
20
|
-
"@zeniai/client-epic-state": "4.18.
|
|
21
|
-
"@zeniai/web-components": "3.14.
|
|
19
|
+
"@zeniai/client-analytics": "1.6.45",
|
|
20
|
+
"@zeniai/client-epic-state": "4.18.26",
|
|
21
|
+
"@zeniai/web-components": "3.14.95",
|
|
22
22
|
"color": "3.1.3",
|
|
23
23
|
"cross-fetch": "^4.0.0",
|
|
24
24
|
"crypto-js": "4.2.0",
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import{X as we,fe as Ae,gY as H,j as r,M as Se,bt as C,e as Te,Y as z,o as a,aq as ve,bq as De,g as R,v as ee,ee as Ce,fg as ze,t as re}from"./index-CKO1Ko85.js";import{b as s,n as o}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-D02UNVHu-C-bMa4LF.js";import{o as _e}from"./commonDimensions-OJhakpB_-DiUt9j4S.js";const{common:{strings:Re,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:t}},downloads:Q}}=Se.getLocalizedStrings(),Ze=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const te=we(),[,M]=Ae(),[k,oe]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[p,q]=s.useState(!1),[N,I]=s.useState(!1),[j,P]=s.useState(!1),[w,F]=s.useState(!1),[A,J]=s.useState(!1),[S,O]=s.useState(!1),[T,U]=s.useState(!1),[$,X]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=H(u.zeniAccountsConfigDetail.mailingAddress).text2,m=H(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{q(!1),O(!1),U(!1),X(!1),J(!1),F(!1),P(!1),I(!1)},1200)},[p,S,T,$,A,w,j,N]);const Y=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${t.bankRoutingNumber} ${n.routingNumberAch}
|
|
2
|
-
|
|
3
|
-
${t.accountTypeLabel} ${n.accountSubType.name??""}
|
|
4
|
-
|
|
5
|
-
${t.bankAccountNumber} ${n.accountNumber}
|
|
6
|
-
|
|
7
|
-
${t.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
8
|
-
|
|
9
|
-
${t.bankAddress} ${m}`:c=`${t.bankRoutingNumber} ${n.routingNumberAch}
|
|
10
|
-
|
|
11
|
-
${t.accountTypeLabel} ${n.accountSubType.name??""}
|
|
12
|
-
|
|
13
|
-
${t.bankAccountNumber} ${n.accountNumber}
|
|
14
|
-
|
|
15
|
-
${t.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
16
|
-
|
|
17
|
-
${t.beneficiaryName} ${v}
|
|
18
|
-
|
|
19
|
-
${t.bankAddress} ${m}
|
|
20
|
-
|
|
21
|
-
${t.beneficiaryAddress} ${D}`,M(c),q(!0)},i=(h,c,x,B)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=me,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":O(!0);break;case"acccountNumber":U(!0);break;case"routingNumber":X(!0);break;case"bankName":J(!0);break;case"beneficiaryName":I(!0);break;case"beneficiaryAddress":F(!0);break;case"bankAddress":P(!0);break}};return r.jsxs(Je,{onMouseEnter:()=>Y(x,!0),onMouseLeave:()=>Y(x,!1),children:[r.jsx(Oe,{children:h}),r.jsx(Xe,{children:r.jsxs(Ye,{children:[r.jsxs(Ue,{children:[d||te==="small"?r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(Z,{}):r.jsx(G,{"data-testid":z("account-info-copy",x),onClick:()=>{M(c),je()}})})}):null,c]}),B!=null?r.jsx(Be,{children:B}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Me,{children:[r.jsxs(qe,{children:[r.jsx(Pe,{children:f==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Ie,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?Q.downloading:Q.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Fe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Re.empty,e,oe,!0)}})})}),r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:p,children:p?y.copied:y.copy}),enterDelay:600,children:p===!0?r.jsx(Z,{}):r.jsx(G,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(He,{children:[r.jsx(V,{children:i(t.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(t.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(t.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(t.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(W,{children:i(t.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ke,{children:[r.jsx(V,{children:i(t.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(t.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(t.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(t.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(t.bankAddress,m,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(t.beneficiaryName,v,"beneficiaryName",t.beneficiaryNameSubLabel)}):null,D!=null?r.jsx(W,{children:i(t.beneficiaryAddress,D,"beneficiaryAddress",t.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=o.div``,Me=o.div`
|
|
22
|
-
margin: ${a.sp4};
|
|
23
|
-
margin-left: ${a.sp0};
|
|
24
|
-
`,qe=o.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: space-between;
|
|
28
|
-
margin-bottom: ${a.sp3};
|
|
29
|
-
`,Ie=o.div`
|
|
30
|
-
display: flex;
|
|
31
|
-
gap: ${a.sp4};
|
|
32
|
-
`,Pe=o(ve)`
|
|
33
|
-
color: ${e=>e.theme.colors.primary};
|
|
34
|
-
margin-right: ${a.sp2};
|
|
35
|
-
`,Fe=o(De)`
|
|
36
|
-
height: ${a.sp3};
|
|
37
|
-
width: ${a.sp3};
|
|
38
|
-
color: ${e=>e.theme.colors.hero};
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
&:hover {
|
|
41
|
-
color: ${e=>e.theme.colors.primary};
|
|
42
|
-
}
|
|
43
|
-
`,E=o.div`
|
|
44
|
-
box-sizing: border-box;
|
|
45
|
-
min-height: ${_e.transactionItemHeight}px;
|
|
46
|
-
display: flex;
|
|
47
|
-
border: 1px solid;
|
|
48
|
-
border-radius: ${a.sp2};
|
|
49
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
50
|
-
border-color: ${e=>e.theme.colors.grey3};
|
|
51
|
-
color: ${e=>e.theme.colors.hero};
|
|
52
|
-
&:hover {
|
|
53
|
-
border-color: ${e=>e.theme.colors.primary};
|
|
54
|
-
color: ${e=>e.theme.colors.primary};
|
|
55
|
-
.tag {
|
|
56
|
-
border-color: ${e=>e.theme.colors.grey2};
|
|
57
|
-
color: ${e=>e.theme.colors.grey1};
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
`,V=o(E)`
|
|
61
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
62
|
-
display: flex;
|
|
63
|
-
border-top-width: 1px;
|
|
64
|
-
border-right-width: 1px;
|
|
65
|
-
border-bottom-width: 0.5px;
|
|
66
|
-
border-left-width: 1px;
|
|
67
|
-
|
|
68
|
-
border-top-left-radius: ${a.sp2};
|
|
69
|
-
border-top-right-radius: ${a.sp2};
|
|
70
|
-
border-bottom-left-radius: ${a.sp0};
|
|
71
|
-
border-bottom-right-radius: ${a.sp0};
|
|
72
|
-
&:hover {
|
|
73
|
-
border-bottom-width: 1px;
|
|
74
|
-
}
|
|
75
|
-
`,W=o(E)`
|
|
76
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
77
|
-
display: flex;
|
|
78
|
-
border-top-width: 0.5px;
|
|
79
|
-
border-right-width: 1px;
|
|
80
|
-
border-bottom-width: 1px;
|
|
81
|
-
border-left-width: 1px;
|
|
82
|
-
border-top-left-radius: ${a.sp0};
|
|
83
|
-
border-top-right-radius: ${a.sp0};
|
|
84
|
-
border-bottom-left-radius: ${a.sp2};
|
|
85
|
-
border-bottom-right-radius: ${a.sp2};
|
|
86
|
-
&:hover {
|
|
87
|
-
border-top-width: 1px;
|
|
88
|
-
}
|
|
89
|
-
`,L=o.div`
|
|
90
|
-
display: flex;
|
|
91
|
-
color: ${e=>e.theme.colors.grey1};
|
|
92
|
-
&:hover {
|
|
93
|
-
color: ${e=>e.theme.colors.primary};
|
|
94
|
-
svg {
|
|
95
|
-
color: ${e=>e.theme.colors.primary};
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
`,G=o(ze)`
|
|
99
|
-
height: ${a.sp3};
|
|
100
|
-
width: ${a.sp3};
|
|
101
|
-
color: ${e=>e.theme.colors.hero};
|
|
102
|
-
cursor: pointer;
|
|
103
|
-
&:hover {
|
|
104
|
-
color: ${e=>e.theme.colors.primary};
|
|
105
|
-
}
|
|
106
|
-
`,Z=o(Ce)`
|
|
107
|
-
height: ${a.sp3};
|
|
108
|
-
width: ${a.sp3};
|
|
109
|
-
color: ${R.success};
|
|
110
|
-
`,Je=o.div`
|
|
111
|
-
display: flex;
|
|
112
|
-
flex-direction: row;
|
|
113
|
-
padding: ${a.sp3} ${a.sp4};
|
|
114
|
-
justify-content: space-between;
|
|
115
|
-
width: 100%;
|
|
116
|
-
gap: ${a.sp4};
|
|
117
|
-
`,Oe=o(re)`
|
|
118
|
-
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,Ue=o(re)`
|
|
120
|
-
display: flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
color: ${e=>e.theme.colors.primary};
|
|
123
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
124
|
-
justify-content: flex-end;
|
|
125
|
-
text-align: end;
|
|
126
|
-
`,Xe=o.div`
|
|
127
|
-
display: flex;
|
|
128
|
-
`,Ye=o.div`
|
|
129
|
-
display: flex;
|
|
130
|
-
flex-direction: column;
|
|
131
|
-
align-items: flex-end;
|
|
132
|
-
`,Be=o(ee)`
|
|
133
|
-
color: ${e=>e.theme.colors.grey1};
|
|
134
|
-
text-align: end;
|
|
135
|
-
`,_=o(ee)`
|
|
136
|
-
color: ${e=>e.isTextCopied?R.primaryDark:R.neutralGrey1Light};
|
|
137
|
-
`,b=o(E)`
|
|
138
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
139
|
-
display: flex;
|
|
140
|
-
border-radius: ${a.sp0};
|
|
141
|
-
border-top-width: 0.5px;
|
|
142
|
-
border-right-width: 1px;
|
|
143
|
-
border-bottom-width: 0.5px;
|
|
144
|
-
border-left-width: 1px;
|
|
145
|
-
&:hover {
|
|
146
|
-
border-top-width: 1px;
|
|
147
|
-
border-bottom-width: 1px;
|
|
148
|
-
}
|
|
149
|
-
`,He=o.div``,Ke=o.div``;export{Ze as r};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import{u as E,X,V as D,M as c,ab as S,l as f,j as e,aW as G,e as N,d0 as y,C as s,o as R,m as O,r as b,q as i}from"./index-CKO1Ko85.js";import{n as l}from"./vendor-CnQcJ2Lu.js";import{J as j}from"./SetUpDefaultSection-B361ojb9-NxiVWfIP.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const a={sectionRowGap:new s(i[4],i[8],i[8]),lastSectionPaddingBottom:new s(i[7],i[10],i[10]),iconWidthHeight:new s(20,i[4]),subtitleSectionWidth:new s(343,580,1200)},de=({billpayApprovalView:t,remiApproverView:k,currentTenant:d,onBackClick:P,onClickMenuIcon:C,onSetupApprovalRulesBillPaySectionClick:$,onSetupApprovalRulesRemiSectionClick:z})=>{const n=E(),o=X(),p=D(),{fetchState:u,allApprovalRules:m,approvalRulesStatus:T}=t,{fetchState:h,allApprovalRules:g,approvalRulesStatus:A}=k,{commonSetUp:M,spendManagement:B}=c.getLocalizedStrings(),x=c.getLocalizedStrings().common.settings,v=c.getLocalizedStrings().common.headers,{billPay:I,reimbursement:W}=B,{billPaySetup:L}=I,{reimbursementSetup:H}=W,{setUp:r}=M,U=u==="In-Progress"||h==="In-Progress"||u==="Not-Started"||h==="Not-Started",w=n.mode==="light"?new S(n.colors.brandColorJadeLight):new S(n.colors.brandColorJadeDark),J=f.hasBillPayAccessible(d,p.loggedInUserRoleMap),V=f.hasReimbursementAccessible(d,p.loggedInUserRoleMap);return e.jsxs(F,{children:[e.jsx(G,{source:"ApprovalRulesSettingsPage",title:x.title.approvalRules,backgroundColor:n.colors.grey4,style:{zIndex:3},onBackClick:P,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:C}),e.jsx(K,{windowSize:o,children:U?e.jsx(Q,{children:e.jsx(N,{size:"ExtraLarge",start:!0})}):e.jsxs(q,{children:[e.jsx(_,{windowSize:o,children:e.jsx(Y,{windowSize:o,children:x.infoText.approvalRules})}),e.jsxs(Z,{windowSize:o,children:[J===!0&&e.jsx(j,{title:m.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:L.approvalSubTitle,header:v.bills,icon:{element:e.jsx(y,{width:a.iconWidthHeight.valuePx(o),height:a.iconWidthHeight.valuePx(o)}),color:w},onClick:$,status:m.length>0?T:void 0}),V===!0&&e.jsx(j,{title:g.length>0?r.approvalTitle:r.createApprovalTitle,subTitle:H.approvalSubTitle,header:v.reimbursements,icon:{element:e.jsx(y,{height:a.iconWidthHeight.valuePx(o)}),color:w},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(o)},onClick:z,status:g.length>0?A:void 0})]})]})})]})},q=l.div`
|
|
2
|
-
width: 100%;
|
|
3
|
-
margin: auto;
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: flex-start;
|
|
6
|
-
height: 100%;
|
|
7
|
-
overflow-y: auto;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
align-items: center;
|
|
10
|
-
`,F=l.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
min-height: 100%;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
row-gap: ${R.sp3};
|
|
15
|
-
width: 100%;
|
|
16
|
-
background-color: ${t=>t.theme.colors.grey4};
|
|
17
|
-
`,K=l.div`
|
|
18
|
-
display: flex;
|
|
19
|
-
height: 100%;
|
|
20
|
-
overflow-y: auto;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
`,Q=l.div`
|
|
23
|
-
display: flex;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: calc(100vh - 110px);
|
|
26
|
-
flex-direction: row;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
align-items: center;
|
|
29
|
-
background-color: ${t=>t.theme.colors.grey4};
|
|
30
|
-
`,Z=l.div`
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
row-gap: ${t=>a.sectionRowGap.valuePx(t.windowSize)};
|
|
34
|
-
`,_=l(O)`
|
|
35
|
-
display: flex;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
align-items: center;
|
|
38
|
-
width: ${t=>a.subtitleSectionWidth.valuePx(t.windowSize)};
|
|
39
|
-
margin-bottom: ${R.sp5};
|
|
40
|
-
`,Y=l.div`
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
|
|
44
|
-
color: ${t=>t.theme.colors.hero};
|
|
45
|
-
font-family: ${b.largeMedium.fontFamily};
|
|
46
|
-
${b.standardRegular.css};
|
|
47
|
-
`;export{de as default};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{j as u,M as f,d6 as k,l as S,u as E,ao as z,bc as N,q as v,b7 as P,aB as T,r as w,aA as A,aJ as K,b8 as R,d7 as V,ba as W,d8 as G,g as m,o as b,t as J}from"./index-CKO1Ko85.js";import{b as C,f as X,n as j}from"./vendor-CnQcJ2Lu.js";import{l as L,_ as M,h as I,m as Y,u as B}from"./chartTypes-Df8u7la0-Brzx7O5o.js";const _=j.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
`,Q=j.div`
|
|
4
|
-
flex: display;
|
|
5
|
-
opacity: 0.85;
|
|
6
|
-
border-radius: ${b.sp1};
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
padding: ${b.sp3};
|
|
9
|
-
background-color: ${r=>r.theme.colors.black};
|
|
10
|
-
`,D=j(J)`
|
|
11
|
-
color: ${r=>r.color??m.neutralGrey2Light};
|
|
12
|
-
text-align: left;
|
|
13
|
-
`,U=j.div`
|
|
14
|
-
margin: ${b.sp2} ${b.sp0} ${b.sp2} ${b.sp0};
|
|
15
|
-
width: 100%;
|
|
16
|
-
height: 1px;
|
|
17
|
-
background-color: ${m.neutralGrey3Dark};
|
|
18
|
-
`,Z=({active:r,payload:o,barName:e})=>{const t=[];if(o!=null&&r===!0){const n=o.filter(h=>h.name==e)[0],c=n.payload,i=n.color,s=e!=null&&c.record[e]!=null?c.record[e].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const h=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=h!=null?h.currencyCode:d.currencyCode,d.currencySymbol=h!=null?h.currencySymbol:d.currencySymbol}const a=Y(e);t.push({barName:a,actual:s,color:i}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:m.brandColorPearl})}return t},rr=({barLabelsWithValues:r})=>u.jsx(_,{children:u.jsxs(Q,{children:[u.jsx(D,{color:r[0].color,children:`${r[0].barName}: ${B(r[0].actual)}`}),u.jsx(U,{}),u.jsx(D,{children:`${f.getLocalizedStrings().chartCard.total}: ${B(r[1].actual)}`})]})}),er=r=>{const o=Z({...r});return o.length===0?null:u.jsx(rr,{barLabelsWithValues:o})},q=X.memo(er),F=5;function tr(r){const o=V(r,(e,t)=>[e.amount?.amount??0,t]);return o.sort((e,t)=>t[0]-e[0]),o.slice(0,F-1).reduce((e,t)=>({...e,[t[1]]:!0}),{})}function O(r){const o=[];for(const e in r)o.push(e);return o.sort((e,t)=>(r[t].amount?.amount??0)-(r[e].amount?.amount??0)),o}const or=r=>{const o=r.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),e=[];return{recordByDurations:r.agingPeriods.map(t=>{const n={};r.agingBalances.forEach(s=>{const d=L(s.vendor?.name??"",t);n[d]={amount:s.apAgingBalances.find(l=>l.period===t)?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>F){const s=tr(n),d=k(n,(x,y)=>s[y]===!0),l=k(n,(x,y)=>s[y]!==!0),a=Object.keys(l).reduce((x,y)=>x+(l[y].amount?.amount??0),0),h=Object.keys(l)[0],g=L("Other",t);d[g]={...l[h],amount:{amount:a,currencyCode:l[h].amount?.currencyCode??S.defaultVendorCurrency.currencyCode,currencySymbol:l[h].amount?.currencySymbol??S.defaultVendorCurrency.currencySymbol}};const p=O(d);return e.push(...p),{label:c,record:d}}const i=O(n);return e.push(...i),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(e)}},ar=j.div`
|
|
19
|
-
width: ${r=>r.width}px;
|
|
20
|
-
height: ${r=>r.height}px;
|
|
21
|
-
`,nr=({active:r,payload:o,mouseOverBarName:e})=>o?.find(t=>t.name===e)!=null&&e!=null&&r===!0?u.jsx(q,{active:r,payload:o,barName:e}):null;function fr({report:r,width:o,height:e,isDetailPage:t}){const n=C.useRef(!1),[c,i]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=or(r),d=()=>{const a=[];return s?.orderedKeys.forEach(h=>{const g=t===!0&&!n.current;a.push(l(h,g))}),a},l=(a,h)=>u.jsx(W,{name:a,animationDuration:h?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:cr(a,s),onMouseEnter:()=>{c!==a&&i(a)},onMouseLeave:()=>{c!=null&&i(void 0)}},a);return s==null?null:u.jsx(sr,{chartData:s,barElements:d(),width:o,height:e,isDetailPage:t===!0,customToolTipContent:u.jsx(nr,{mouseOverBarName:c})})}const sr=({chartData:r,barElements:o,customToolTipContent:e,width:t,height:n,isDetailPage:c})=>{const i=E(),s=M(r);return u.jsx(ar,{width:t,height:n,children:u.jsx(z,{children:({height:d,width:l})=>u.jsxs(N,{width:l,height:d,stackOffset:"sign",data:r.recordByDurations,barCategoryGap:"25%",maxBarSize:c?v[8]:v[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[u.jsx(P,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:i.colors.grey3}),u.jsx(T,{dataKey:a=>a.label,type:"category",axisLine:{stroke:i.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject}}),u.jsx(A,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>K("0,0.[00]a",a,s)}),u.jsx(R,{wrapperStyle:{zIndex:2},cursor:!1,content:e,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function cr(r,o){const e=I(r),t=f.getLocalizedStrings().reports.aging.duration[e],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[r]!=null){const c=n[r].amount?.amount??0;let i=1;switch(G(n,s=>{(s.amount?.amount??0)>c&&i++}),i){case 1:return m.graphColor24;case 2:return m.graphColor33;case 3:return m.graphColor18;case 4:return m.graphColor12;case 5:return m.graphColor01;default:return m.graphColor01}}return m.graphColor01}const H=5;function lr(r){const o=V(r,(e,t)=>[e.amount?.amount??0,t]);return o.sort((e,t)=>t[0]-e[0]),o.slice(0,H-1).reduce((e,t)=>({...e,[t[1]]:!0}),{})}function $(r){const o=[];for(const e in r)o.push(e);return o.sort((e,t)=>(r[t].amount?.amount??0)-(r[e].amount?.amount??0)),o}const ur=r=>{const o=r.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),e=[];return{recordByDurations:r.agingPeriods.map(t=>{const n={};r.agingBalances.forEach(s=>{const d=L(s.customer?.name??"",t),l=s.arAgingBalances.find(a=>a.period===t);n[d]={amount:s.children.length>0?l?.totalBalance:l?.balance}});const c=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>H){const s=lr(n),d=k(n,(x,y)=>s[y]===!0),l=k(n,(x,y)=>s[y]!==!0),a=Object.keys(l).reduce((x,y)=>x+(l[y].amount?.amount??0),0),h=Object.keys(l)[0],g=L("Other",t);d[g]={...l[h],amount:{amount:a,currencyCode:l[h].amount?.currencyCode??S.defaultCustomerCurrency.currencyCode,currencySymbol:l[h].amount?.currencySymbol??S.defaultCustomerCurrency.currencySymbol}};const p=$(d);return e.push(...p),{label:c,record:d}}const i=$(n);return e.push(...i),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(e)}},ir=j.div`
|
|
22
|
-
width: ${r=>r.width}px;
|
|
23
|
-
height: ${r=>r.height}px;
|
|
24
|
-
`,dr=({active:r,payload:o,mouseOverBarName:e})=>o?.find(t=>t.name===e)!=null&&e!=null&&r===!0?u.jsx(q,{active:r,payload:o,barName:e}):null;function xr({report:r,width:o,height:e,isDetailPage:t}){const n=C.useRef(!1),[c,i]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ur(r),d=()=>{const a=[];return s?.orderedKeys.forEach(h=>{const g=t===!0&&!n.current;a.push(l(h,g))}),a},l=(a,h)=>u.jsx(W,{name:a,animationDuration:h?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const p=g.record;return(p[a]?.amount!=null?p[a].amount:void 0)?.amount??0},stackId:"a",fill:mr(a,s),onMouseEnter:()=>{c!==a&&i(a)},onMouseLeave:()=>{c!=null&&i(void 0)}},a);return s==null?null:u.jsx(hr,{chartData:s,barElements:d(),width:o,height:e,isDetailPage:t===!0,customToolTipContent:u.jsx(dr,{mouseOverBarName:c})})}const hr=({chartData:r,barElements:o,customToolTipContent:e,width:t,height:n,isDetailPage:c})=>{const i=E(),s=M(r);return u.jsx(ir,{width:t,height:n,children:u.jsx(z,{children:({height:d,width:l})=>u.jsxs(N,{width:l,height:d,stackOffset:"sign",data:r.recordByDurations,barCategoryGap:"25%",maxBarSize:c?v[8]:v[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[u.jsx(P,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:i.colors.grey3}),u.jsx(T,{dataKey:a=>a.label,type:"category",axisLine:{stroke:i.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject}}),u.jsx(A,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>K("0,0.[00]a",a,s)}),u.jsx(R,{wrapperStyle:{zIndex:2},cursor:!1,content:e,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function mr(r,o){const e=I(r),t=f.getLocalizedStrings().reports.aging.duration[e],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[r]!=null){const c=n[r].amount?.amount??0;let i=1;switch(G(n,s=>{(s.amount?.amount??0)>c&&i++}),i){case 1:return m.graphColor24;case 2:return m.graphColor33;case 3:return m.graphColor18;case 4:return m.graphColor12;case 5:return m.graphColor01;default:return m.graphColor01}}return m.graphColor01}export{xr as L,fr as k};
|