@zeniai/web-cockpit-ui 1.13.96-dev → 1.13.96-qa
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-C_NL9J0X-DQ3wv9Rt.js → ACHDetailsPage-Cwc2nmvY-DQ16IU5r.js} +1 -1
- package/dist/assets/{AIPerformancePage-DyiOQxOC-Deykua_G.js → AIPerformancePage-CK4ZdUEb-fJZXFPPa.js} +21 -21
- package/dist/assets/{AccountInfoPage-xglon85A-yRVQMsLQ.js → AccountInfoPage-LiZYkJMA-D7v8XtXB.js} +5 -5
- package/dist/assets/AccountInfoPageContent-BTk2gRyM-D5sd4ymJ.js +149 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js → AccountReconDetailsDrawerPage-CBOR2m1X-itmjhcPW.js} +17 -17
- package/dist/assets/{AccountRow-CP7Tu1pO-VLQJgkE6.js → AccountRow--5DnpNqk-C6gOEeWO.js} +23 -23
- package/dist/assets/{AccountsPromoCardStack-1elvD1M0-GOX35w9m.js → AccountsPromoCardStack-DCI8_ihc-CZreK5jG.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js → AddAddressForCardDrawer-C_RALUZ7-C2wla-3g.js} +2 -2
- package/dist/assets/{AddToWalletPage-DsqplF5y-BOnzBTtb.js → AddToWalletPage-7sC3Q2Pb-TioJ0o_r.js} +19 -19
- package/dist/assets/{AgingReportsPage-DClcRhxg-CS8rEKD_.js → AgingReportsPage-PrvYryW8-ClQ8Euxf.js} +6 -6
- package/dist/assets/{AllUserItems-BOwAIYTQ-ikKyJOZ6.js → AllUserItems-DlTukPhY-377gtzJq.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js → ApAgingDetailPage-BVciGQma-NVEgOPKU.js} +4 -4
- package/dist/assets/{AppBasePage-C7kCz0qg-gwqzuxWV.js → AppBasePage-uJGLWCbr-B_okH7tb.js} +2 -2
- package/dist/assets/{AppDrawerContent-B63CbHT7-CTgXtY-R.js → AppDrawerContent-SD57OqHe-DBC1ZQdx.js} +7 -7
- package/dist/assets/ApprovalRulesSettingsPage-CXh9tY6X-DzKaycYf.js +47 -0
- package/dist/assets/ArAgingChart-GL4vkypx-BDoyqmzK.js +24 -0
- package/dist/assets/{ArAgingDetailPage-AiwyJUwp-CLdUA32y.js → ArAgingDetailPage-CoFL0N3--Dnd2wPCh.js} +1 -1
- package/dist/assets/{AttachmentView-wIV1i6gf-__2UovKF.js → AttachmentView-C3xQE0te-BFkbocnS.js} +5 -5
- package/dist/assets/{BankAccountSection-cVBEl5IN-DpEdLEP3.js → BankAccountSection-Bi3uoDPa-DlE9WCjC.js} +2 -2
- package/dist/assets/{BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js → BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js → BankConnectionsSettingsPage-1zM9RKRI-BKlHDYsy.js} +33 -33
- package/dist/assets/{BillDetailPage-C9NC9kTK-BYRIHiN2.js → BillDetailPage-BoxJCC9n-dUgWZp0T.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js → BillPayApprovalRuleDetailPage-BW3sj5ug-F8EHl6ns.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js → BillPayApprovalRulesPage-DLA6R7dC-CNDK6deM.js} +6 -6
- package/dist/assets/{BillPayPromoPage-CWGX6uCi--607mHc3.js → BillPayPromoPage--BGTNJhm-DrmzLzpj.js} +4 -4
- package/dist/assets/BillPaySetUpPage-_s4R537_-DvISkevy.js +42 -0
- package/dist/assets/{BillingSettingsPage-Bx7lHgIy-CyArwb3F.js → BillingSettingsPage-DgbRhg-m-CRqpdOiy.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js → BillsBulkReviewDrawerPage-CKspyZz7-DFQ7kKFj.js} +1 -1
- package/dist/assets/{BoxItem-DX1sag1G-C0OcCbod.js → BoxItem-BHtgE0KL-BJPg4xAk.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DXh-11f9-BWywYgcT.js → BusinessVerificationPage-CpfsllRZ-CnaBfa3b.js} +14 -14
- package/dist/assets/{CardNumberSubText-iYF6MLsf-BnbFJt1d.js → CardNumberSubText-BHe1nqr7-BRmm9g1p.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DVsCU69u-iWc1QiKl.js → CashbackDetailPage-C9RhIR0R-CyQle5Hi.js} +24 -24
- package/dist/assets/ChargeCardDetailPage-Kygr13jR-CNZ8Sj5E.js +1447 -0
- package/dist/assets/ChargeCardListPage-BnzdzSXW-C9n9iaEp.js +355 -0
- package/dist/assets/{ChargeCardListTable-PTRaj9T6-GxUnY44G.js → ChargeCardListTable-C2nnAxo5-Bk77oToU.js} +18 -18
- package/dist/assets/ChargeCardPromoPage-CSNn9X5i-Ca7vMfka.js +175 -0
- package/dist/assets/ChargeCardSetupPage-DE1pK_7F-BNJjwg-b.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js → ChargeCardStatementsPage-DK-pEljz-CxNbElz7.js} +3 -3
- package/dist/assets/{ChargeCardUtils-BvVm2SMq-B6pl3c2F.js → ChargeCardUtils-BxyMuU6--CHwiPaoq.js} +1 -1
- package/dist/assets/{ChaseOverlay-CI8lEzod-DNTlxx9v.js → ChaseOverlay-CRiYxWuZ-BZR-S0kG.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js → CheckDepositDrawerPage-WYiirlL8-DMNFGunZ.js} +16 -16
- package/dist/assets/CollapsableReportTable-BGT77T9W-DWoWj-VL.js +2860 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js → CompanyOfficerDetailsSection-BPZU90Im-ClsfMHMl.js} +35 -35
- package/dist/assets/{CompanyPassportCard-P0g_DRwA-XRQTRVQK.js → CompanyPassportCard-PXdmJC_B-SLgfN-m9.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js → CompanyPassportPage-MxIwsh3W-CUmwVoPG.js} +37 -37
- package/dist/assets/{CompleteProfile-DTSAIKgF-WX_HRfP5.js → CompleteProfile-Bd9xEPVl-Cy044ZoG.js} +4 -4
- package/dist/assets/{ConfettiBurst-CjONFCxD-BbasMJ1h.js → ConfettiBurst-CMpZ2feY-D-Nq3IFV.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js → CreateOrEditVendorPage-DgHvZfWv-Bm6layyi.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js → CreditCardPaymentDrawerPage-C2ikLG7P-DestrVrL.js} +15 -15
- package/dist/assets/{CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js → CreditCardPaymentPlgSection-M69ECpN9-CGQ3HY5T.js} +8 -8
- package/dist/assets/{CurrencySelectField-BRkdK9Tx-DZlSSgUd.js → CurrencySelectField-B3AvTbkp-CwUBnsMJ.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js → CustomerOnboardingActivationPage-C7eddGoB-DW4jRuae.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-DmivhYy_.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js → CustomerOnboardingDetailPageSkeleton-BIAeoXCV-DB7HhB_G.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js → CustomerOnboardingNoStepsPage-BzO6XZ0H-1xoJMSMy.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js → CustomerOnboardingPage-7yWIaJvU-C3VBP6CL.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js → CustomerOnboardingProductSuitePage-Tvyrs9Cm-B0r6GvUF.js} +5 -5
- package/dist/assets/Dashboard-CA9685lJ-B_5dmcrq.js +778 -0
- package/dist/assets/DashboardReportPage-DQoFWd5C-D6uulgOO.js +349 -0
- package/dist/assets/{DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js → DepositAccTransactionItem-CiRcbfmm-ChlbIcLT.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js → DepositAccTransactionListPage-DsNLDlHv-MYnNFw-s.js} +7 -7
- package/dist/assets/{DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js → DocumentSecurityBanner-CIWoR_yI-Dhftz0pA.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js → DomesticWireDetailsPage-C6x8Gz4g-DwUa3Xkf.js} +1 -1
- package/dist/assets/{DownloadOverlay-CVay7PEO-C-BIaHoh.js → DownloadOverlay-D1kGkMFo-DOkMNDuh.js} +12 -12
- package/dist/assets/{DrawerPage-BtsjUVWT-DKZ4-9Rc.js → DrawerPage-CQkJW5hg-DkryY6SR.js} +3 -3
- package/dist/assets/{EditPeoplePage-q8Se6bGZ-Cx2X58jF.js → EditPeoplePage-m2qls8hv-BZd-DWw-.js} +17 -17
- package/dist/assets/{EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js → EditReimbursementDetailPage-IlSyu79B-jE0h2JRZ.js} +72 -72
- package/dist/assets/{EntityDetailPage-Bux6DlIw-CDR-iDms.js → EntityDetailPage-CcJJwGo7-DCvr4KdD.js} +1 -1
- package/dist/assets/{EntitySummarySection-D8dz1hFt-Bakc19a1.js → EntitySummarySection-JxKHehL1-CtvARgSu.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js → ExpenseAutomationOverviewPage-iAUtjSnw-C1CSJZ5E.js} +26 -26
- package/dist/assets/{ExpenseAutomationPage-aNc126hN-DZa4KtXO.js → ExpenseAutomationPage-B0f86olm-wJehtW2E.js} +74 -74
- package/dist/assets/{ExpressPayPage-CWVGXvfN-Bzdld5fx.js → ExpressPayPage-B-at6uDS-BEaELiUG.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-C0nvVXP--BF6s18r5.js → FeaturePreviewPage-gSb_rct_-C-KQutKv.js} +2 -2
- package/dist/assets/{FollowStepsSection-Cf0s1DGX-BFVvc78r.js → FollowStepsSection-eedORgku-FnBhDPYP.js} +12 -12
- package/dist/assets/{GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js → GlobalReviewListPage-BfPwveCc-ftKEGRYk.js} +10 -10
- package/dist/assets/HelpButton-DvD6UJq--aZr7WRfd.js +28 -0
- package/dist/assets/{InformationCardStack-BALkGk48-BWmXScs3.js → InformationCardStack-DPaZz4XW-BZPDjtdj.js} +5 -5
- package/dist/assets/{InsightsCardStack-D52CCSVO-CezeuABJ.js → InsightsCardStack-sKUFRR0H-BiHLZWGW.js} +10 -10
- package/dist/assets/{InsightsSection-D_wtVtVg-5rPDOiJT.js → InsightsSection-Corx5iDh-fVbgdM2i.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js → IntegrationsSettingsPage-DTWoUi2e-YCv3GRpa.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js → InternationalWireSwiftDetailsPage-B441GUkh-D_QVeJ7p.js} +14 -14
- package/dist/assets/{InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js → InternationalWireVerificationPage-DjpWjFSe-CaUlPKN_.js} +18 -18
- package/dist/assets/{InviteFormPage-C9fNxGsi-CRksfDku.js → InviteFormPage-BRb4jyp_-BuUalkW4.js} +19 -19
- package/dist/assets/{InvitePageListView-DSWZ2SPi-B4SFh7Xp.js → InvitePageListView-Bb_Q_xqJ-BhN72Smm.js} +49 -49
- package/dist/assets/InvitePeoplePage-BKEDAnQ4-ByvIsC8W.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js → InvoiceUploadSection-BE4ZqriT-CfpM2_BI.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js → IssueChargeCardPage-BIFpAcrl-DZwnseyQ.js} +22 -22
- package/dist/assets/{LabeledAddressValue-DtmZ5htg-OjX3rrF7.js → LabeledAddressValue-D2vDF5sP-BZfqDHMl.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js → LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js → LabeledControlledCheckBoxField-CHRGFyHl-T4ZnES5i.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js → LabeledCreatableSingleSelectField-qwQPyqDC-D7x9KNC-.js} +8 -8
- package/dist/assets/{LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js → LabeledDocumentField-Cdd8oj5z-BoWCxP7J.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js → LabeledDropDownFormattedTextField-CSEioH8A-DiLPLUt5.js} +5 -5
- package/dist/assets/{LabeledText-bruKdeAH-E98_Q-Ht.js → LabeledText-CqZ-udSP-CWd8HtpU.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js → LabeledUserSingleSelectWithSubtitlesField-DTmijO10-D909IgWp.js} +5 -5
- package/dist/assets/{LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js → LabeledZeniRolesDropDownField-DSIWuFix-CIXw0_yv.js} +22 -22
- package/dist/assets/{LinkJETransactionPage-DjNutEvf-sKN4Are7.js → LinkJETransactionPage-C5V1HfGb-BEAJlnvQ.js} +10 -10
- package/dist/assets/{LowBalancePopup-CwcYMtuk-B-vSGd6a.js → LowBalancePopup-BLfeh0xm-C28uSa7K.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js → MagicLinkACHDetailsPage-DGR7VcHs-D2IBl0qY.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js → MagicLinkDomesticWireDetailsPage-BOu5verB-Bhh7qXWp.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js → MagicLinkInternationalWireDetailsPage-elijVpdq-Cq0leSr_.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js → MagicLinkSuccessPage-C6-JVGAQ-DQTEmgea.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js → MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js} +3 -3
- package/dist/assets/{MailingDetailsSection-BycONjR9-Dhu_6L_d.js → MailingDetailsSection-CJhcwaGu-BAyX38PR.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js → MeetingCalenderPopup-DKBH6wSs-Cn-ByIyB.js} +3 -3
- package/dist/assets/{Menu-B6Fh2Mf9-B_ofMkAs.js → Menu-D-Gk-Xfo-DBDtrJ_2.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js → MyBankConnectionsSettingsPage-CBxa9AUT-BCb7NWFw.js} +18 -18
- package/dist/assets/{MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js → MyPendingActivationChargeCardListPage-DBr5htlO-CKJew--2.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js → MyProfileSettingsPage-DKUX_nTz-BI1Cjccg.js} +8 -8
- package/dist/assets/{NavBarWithPicker-D4jJGXZB-BJWr2BT1.js → NavBarWithPicker-CXyMHDUO-FwAGF1cV.js} +4 -4
- package/dist/assets/{NavigationArrow-DlUdvmV7-iugv9ZVE.js → NavigationArrow-Bv-PvnhZ-BqeVWU8r.js} +7 -10
- package/dist/assets/{NavigationDots-CFJt-T5J-B9PAzC5S.js → NavigationDots-DJkiFidH-5V7knboW.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DhYni-in-Diwu92Go.js → NewGlobalMerchantPage-CmJjl9S1-k-LUtUto.js} +8 -8
- package/dist/assets/{NoDataChart-CvGbQO4j-B5z4vqWb.js → NoDataChart-Bsj1HEPq-CTuuS1jm.js} +1 -1
- package/dist/assets/{NoDataTable-EKtYZwcL-XyHu2gAL.js → NoDataTable-6vR2vOMI-C3_Xw78i.js} +1 -1
- package/dist/assets/{NotFoundPage-D5SHSQLS-0U7pTJ8G.js → NotFoundPage-SRxATfaW-y-aOb1MC.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js → NotificationSettingsPage-Bko3CBmW-_bWFzZ7l.js} +33 -33
- package/dist/assets/NotificationsListConfig-ChVd_Bek-CKniSs8p.js +1 -0
- package/dist/assets/{NotificationsPage-bGvx2yV6-C4p8pfzZ.js → NotificationsPage-DMfBgh2w-1OVVoKkc.js} +12 -12
- package/dist/assets/{OpExByVendorPage-BE_NnQzd-DQnxoqWx.js → OpExByVendorPage-DOkwCGkr-DKAYXBt6.js} +7 -7
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-D2VSw_RI.js → OverlayContainerPage-C0rUb6-5-BEYdjpiV.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D-000kuR-BW5fUkac.js → PandLWithForecastPage-DCJ3QTuj-SrjsP3F-.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js → PaymentAccountSetupBillingAddressSection-CaZETrGz-De6JzHBj.js} +8 -8
- package/dist/assets/{PeoplePage-MwM0lFB9-B0wgHwI1.js → PeoplePage-PvOhX-gy-bUl8LV-N.js} +14 -14
- package/dist/assets/PortfolioAllocationFormPage-DsCeagnu-DFOtswbp.js +207 -0
- package/dist/assets/PortfolioDetails-BEa4kwk8-CITW78cn.js +218 -0
- package/dist/assets/{ProductsCarousel-D2wC3sC--BKh2AE5P.js → ProductsCarousel-qzlVuyK5-BlxLSS9s.js} +9 -9
- package/dist/assets/{PromoBaseCards-Ddumul2a-BrEDd739.js → PromoBaseCards-26GOEn3a-DaZDnJ-z.js} +23 -23
- package/dist/assets/{QBOConnectionDialog-DszSpNdI-DwqHmKSk.js → QBOConnectionDialog-CZQE3Tjs-Da8BEmHP.js} +7 -7
- package/dist/assets/{QBOSetupSection-BNF-BUu5-B_yCc7Df.js → QBOSetupSection-u1sJhV67-3guqHTYH.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js → ReimbursementApprovalRuleDetailPage-vRiO7G_7-BtkXAaTL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js → ReimbursementApprovalRulesPage-kEmFNXtg-tWOcEiR-.js} +35 -35
- package/dist/assets/{ReimbursementDetailPage-BAEddssC-DcJfByf4.js → ReimbursementDetailPage-ChyRg0eX-Claybyvt.js} +10 -10
- package/dist/assets/{ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js → ReimbursementPromoPage-BWsOD49o-D82HFW_4.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-DO_dBP9N-CDR1Iktq.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js → ReimbursementsBulkReviewDrawerPage-CgRo7VeI-w-iFb9QJ.js} +1 -1
- package/dist/assets/{ReloadCard-BA_JCHcV-DL7NGQyj.js → ReloadCard-CpauR6-c-3e4dg5U2.js} +5 -5
- package/dist/assets/ReportTableViewSelector-D6DHFt_R-CzdBaV93.js +150 -0
- package/dist/assets/ReportsPage-D4mI3T0w-DX_lYTCz.js +120 -0
- package/dist/assets/{RevenueChart-D33p-PFq-CGRJwc_N.js → RevenueChart-JdtvK4L6-CpCUlh1v.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js → ReviewDetailsPage-BwQoOV2Q-BSoqdtJl.js} +15 -15
- package/dist/assets/{ReviewOverlay-BYJdokfW-C97jtxei.js → ReviewOverlay-BLxhto7d-Ote-FEid.js} +10 -10
- package/dist/assets/{RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js → RoleWithToolTip-BRSx6yqP-Dj7TwZqE.js} +7 -7
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js → ScheduleDetailsFixedAssetsPage-CH84DI7F-DS2nwC6-.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js → ScheduleDetailsPage-CMunoow5-Kl0jdvn6.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js → ScheduleSequenceTable-CQVHkQ0e-Dw2nQmil.js} +49 -49
- package/dist/assets/{ScreenRoutes-iE9-v0dJ.js → ScreenRoutes-C5pHLsYO.js} +35 -35
- package/dist/assets/{SetUpAccountSection-BEJy78G6-Do1X3vVo.js → SetUpAccountSection-CyyxtFvK-Bjoxqucl.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js → SetUpDefaultSection-Bdw_aWMY-C7l-ATBb.js} +16 -16
- package/dist/assets/{SignIn-BC8yop4g-CznicFTu.js → SignIn-Gw75P03k-B_X_KXq6.js} +17 -17
- package/dist/assets/{SignInScreen-k0dvslKE.js → SignInScreen-CU1N7put.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-aZljA388--EEskYb2.js → SpendManagementListViewPage-BccaMtyd-shshvd9r.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js → SpendManagementPerTabPage-D-YqqUsz-DyRQAFsg.js} +33 -33
- package/dist/assets/{SpendManagementSection-DMw8NFvN-Cpy4Blf3.js → SpendManagementSection-CdH1r1Vw-C3epoUbW.js} +8 -8
- package/dist/assets/SpendMgmtSetupAccountSection-nryeZQ0T-2tO4d4y_.js +206 -0
- package/dist/assets/{StatementItem-CKTGWEW_-d6SqxmfH.js → StatementItem-BW9HKaf9-CsEdfyzn.js} +3 -3
- package/dist/assets/{StatementsPage-CjR4AlPy-BQRlcz37.js → StatementsPage-CXawS1th-D6ifdlgD.js} +6 -6
- package/dist/assets/{StatusSwitcher-5CZzUYJE-qZVSFmES.js → StatusSwitcher-oC-AP25Z-D-8kVIuC.js} +5 -5
- package/dist/assets/{SubTabSwitcher-a38_U4dN-BfyQ4BdY.js → SubTabSwitcher-DXWQMf7B-D5NgssDf.js} +1 -1
- package/dist/assets/{SummaryCard-XbFHvHx9-CTqdwSSS.js → SummaryCard-C3zjN-kT-DVcdP-G4.js} +1 -1
- package/dist/assets/{TaskManagementPage-Oct77yO--igT2quo0.js → TaskManagementPage-BGDJNpe_-BGexoSAd.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js → TimeRangeSwitcher-BJfy3akS-o2HcwGW6.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js → TimeframeSwitcher-M9tK6u0Y-C6JeMzJ1.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-L1nNDGOE-jeHox6-x.js +31 -0
- package/dist/assets/{TopExCard-CaR8tsug-DnQ2eFWB.js → TopExCard-BD9Ehuw_-BEZAD6RQ.js} +5 -5
- package/dist/assets/{TopExDetailPage-C4QeWe92-vjJ7ZG8N.js → TopExDetailPage-3HoXp_6D-C4AntCB3.js} +10 -10
- package/dist/assets/{TransactionDetailPage-BoxnNYXX-2QwooFWS.js → TransactionDetailPage-CbnGQ8bn-D1kf6rih.js} +26 -26
- package/dist/assets/TransactionList-BBjiP2Nf-CVZYe7YT.js +147 -0
- package/dist/assets/{TransactionListBig-B0FG0-BM-Br0wUjP3.js → TransactionListBig-5aenxEn4-DbuGNI6-.js} +18 -18
- package/dist/assets/TransactionListPage-BeVkiwkg-BwC4l02u.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js → TransactionVendorDetailPage-Yi7SmsyK-pIrKO6zm.js} +5 -5
- package/dist/assets/{TransferDrawerPage-BJVanLzC-BZZsX7dv.js → TransferDrawerPage-2P1mhp1M-DQ83dYHD.js} +11 -11
- package/dist/assets/{TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js → TreasuryOverviewPage-CkCBcBQK-CKBjtsts.js} +34 -34
- package/dist/assets/{TreasuryPromoPage-CblUabA3-CO5CaCN_.js → TreasuryPromoPage-v-g4ZAdk-BPgVXnPP.js} +14 -14
- package/dist/assets/{TreasurySetupPage-CuROk6il-7kJUNajN.js → TreasurySetupPage-B7va2-fJ-CAJ9u8aR.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-DfB0yrzC-osurk-aq.js → TreasuryStatementsPage-BEJsQ-Oz-DHPONp68.js} +10 -10
- package/dist/assets/{TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js → TreasuryTaxLetterPage-CpTpM1mx-Ba1IA2xd.js} +4 -4
- package/dist/assets/{TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js → TreasuryTransferOrReviewPage-BRPFympA-6Ds9mHlo.js} +77 -77
- package/dist/assets/{TrendChart-D3_4i3qH-wYUerKRk.js → TrendChart-DRNocU0p-B5zGJHBv.js} +3 -3
- package/dist/assets/{TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js → TrendWithTransactions-CldwGpXX-C-miaXCt.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js → UncategorizedAccountsMappingPage-2C5qEhte-D_ahOlGs.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js → UnitIntegrationPage--cDHqgXs-CzBp1mNW.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js → UploadAdditionalDocumentOverlay-D85ML8-_-p_x3eEON.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-wnVnkHOg-DABVEKDS.js → Vendor2FAPopup-vdFWf98b-D5sSolYh.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js → VendorACHDetailsPage-D7ImMabh-ChqR1RaR.js} +1 -1
- package/dist/assets/{VendorDetailPage-ClmL_1FB-Cz0Favu8.js → VendorDetailPage-BOeEd9pX-C40iOslI.js} +14 -14
- package/dist/assets/{VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js → VendorDomesticWireDetailsPage-CXFrYPn8-o64Pt2o2.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js → VendorFiling1099EditablePage-CZFErJ91-Dq9to1zv.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js → VendorFirstReviewPage-BHzDUMKu-DpG7tqKb.js} +75 -75
- package/dist/assets/{VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js → VendorInternationalWireDetailsPage-j4j5irzH-CT3rN25J.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js → VendorInternationalWireSwiftDetailsPage-DM4jC7wD-0NWOAHYt.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-fcURK7tv-BOScGj67.js → VendorsAccountsSection-BTRiZlIa-D2xftT7n.js} +13 -13
- package/dist/assets/{WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js → WarningsDrawerPage-ZgfQEBme-BogIku8q.js} +10 -10
- package/dist/assets/{ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js → ZeniAccountDetailPage-xrq0Ez6S-5Y9wWxKq.js} +40 -40
- package/dist/assets/{ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js → ZeniAccountListViewPage-BwXfELGd-CMYKhLC-.js} +5 -5
- package/dist/assets/{ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js → ZeniAccountNavBarPieces-xpHuuPSD-CQw7XfH0.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js → ZeniAccountPromoPage-BvSwPEk7-sx8wuksr.js} +18 -18
- package/dist/assets/{ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js → ZeniAccountSetupPage-yCkiopeU-oXKMyUZt.js} +3 -3
- package/dist/assets/{ZeniCopyright-DoA2I5zj-CPBH_zf-.js → ZeniCopyright-BAbOOFg9-CEbrOROr.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js → ZeniTransferAmountSlider-C1sl8ZNj-C6racrVi.js} +1 -1
- package/dist/assets/{analyticsHelper-DPbbQVAO-ChPUlKK7.js → analyticsHelper-CkzpobMi-DnjY1jLw.js} +1 -1
- package/dist/assets/{analyticsHelper-BbcCIpO1.js → analyticsHelper-j8smtjIR.js} +1 -1
- package/dist/assets/{chartTypes-qpvW4LwC-4Ag0mdD1.js → chartTypes-JD2mR9iq-B-Dqgpc8.js} +1 -1
- package/dist/assets/{commonDimensions-DAvj4Il1-Chc9ZQai.js → commonDimensions-DRfDJ_wQ-DeEC_LLv.js} +1 -1
- package/dist/assets/{detailCommon-jP1ggD3g-CQiTz4E7.js → detailCommon-BbKkY_46-DwHUZLAg.js} +5 -5
- package/dist/assets/{downloadPdf-LAHtgcHF-B9uNpNRf.js → downloadPdf-D7ANJLK4-BVhr8pTH.js} +1 -1
- package/dist/assets/{index-DyBH5SZv.js → index-Dr7k10Ge.js} +3520 -3543
- package/dist/assets/mapLoadingInProgressToTreeNode-e8JhfflK-BBSz2yuD.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js → mapSectionWithAcOnlyToTreeNode-caUW45t5-Cd4Vndkt.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-C692pbYW-BJLTFMw5.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKrYq4x5-CLuyCBzc.js +1 -0
- package/dist/assets/{play-icon-D3OSczih-8eMagn70.js → play-icon-BbWpG2oG-CGqef6-e.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DeWKaovX-C_3xC96w.js → toCOABalancesWithID-DOgHiMwn-C3l_klRD.js} +1 -1
- package/dist/assets/{toChartData-Dkp488IJ-Cg1gF7al.js → toChartData-CNfdaXyM-Cc0Cbk9b.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BibNNRS5-DCmyWsB-.js → treasuryColorHelper-JBMxqa9X-CRkfUPI_.js} +1 -1
- package/dist/assets/{uploadAttachment-BjJ8_wDA-22p019X4.js → uploadAttachment-BGZjtYkJ-DDuM3kuv.js} +25 -25
- package/dist/assets/{uploadReceipts-D80JLNY4-sjevKwVl.js → uploadReceipts-Buvz7DfG-CEx_e_oz.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js +0 -149
- package/dist/assets/ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js +0 -47
- package/dist/assets/ArAgingChart-D-Z3jfGt-DS-oqmcQ.js +0 -24
- package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +0 -42
- package/dist/assets/ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js +0 -1447
- package/dist/assets/ChargeCardListPage-rY7_MoJ5-CzPbszY2.js +0 -355
- package/dist/assets/ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js +0 -219
- package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +0 -36
- package/dist/assets/CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js +0 -2932
- package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +0 -1
- package/dist/assets/Dashboard-CsuzQbH0-B5Hgiilv.js +0 -1254
- package/dist/assets/DashboardReportPage-BCkrfj3P-CIFdRg6l.js +0 -370
- package/dist/assets/HelpButton-Dv3nbc1Z-CHaoZd0g.js +0 -28
- package/dist/assets/InvitePeoplePage-DaN4NSHW-CydccedW.js +0 -12
- package/dist/assets/NotificationsListConfig-BL_MxKXF-CvqrsVs-.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +0 -207
- package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +0 -218
- package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +0 -140
- package/dist/assets/ReportTableViewSelector-D7B88kS6-BrGIUsj4.js +0 -150
- package/dist/assets/ReportsPage-BzMzH-I3-BKZoRCt6.js +0 -121
- package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +0 -206
- package/dist/assets/TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js +0 -31
- package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +0 -147
- package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +0 -35
- package/dist/assets/mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a}from"./CollapsableReportTable-BGT77T9W-DWoWj-VL.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{
|
|
1
|
+
import{r as m,b as N}from"./CollapsableReportTable-BGT77T9W-DWoWj-VL.js";import"./index-Dr7k10Ge.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a}from"./CollapsableReportTable-BGT77T9W-DWoWj-VL.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r}from"./CollapsableReportTable-BGT77T9W-DWoWj-VL.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,p as c,Y as d,g as p,o as n,C as o}from"./index-Dr7k10Ge.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,m as c,Y as d,g as p,o as n,C as o}from"./index-DyBH5SZv.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
|
+
`,u=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(u,{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-JD2mR9iq-B-Dqgpc8.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-Dr7k10Ge.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-Dr7k10Ge.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-BjJ8_wDA-22p019X4.js → uploadAttachment-BGZjtYkJ-DDuM3kuv.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{
|
|
1
|
+
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 Pe,Y as S,b1 as Ne,o as n,C as Ie,dh as De,b2 as L,bt as ce,eo as te,a$ as ne,a6 as Ee,d3 as Me,en as Fe,Q as oe,v as pe,r as R,b4 as Ve,eF as Te,g,cq as _e,t as me,ew as ze,m as ue,aj as Ge,ak as Be,ac as q,dt as se,du as Ae,dv as We,eG as He,dC as Ze,dD as ie,dE as le,dF as Qe,dG as Ue}from"./index-Dr7k10Ge.js";import{b as f,n as i,j as qe}from"./vendor-CnQcJ2Lu.js";const Je=i(me)`
|
|
2
2
|
margin-left: ${e=>!e.hasChildren&&e.depth!==0?n.sp3:n.sp2};
|
|
3
|
-
`,
|
|
3
|
+
`,Ke=i(He)``,Xe=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{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
|
|
|
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(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`
|
|
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`
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
align-items: center;
|
|
@@ -34,23 +34,23 @@ 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
|
|
|
34
34
|
`,Ct=i.div`
|
|
35
35
|
position: relative;
|
|
36
36
|
display: contents;
|
|
37
|
-
`,
|
|
37
|
+
`,vt=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
|
+
`,jt=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{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
|
|
|
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
|
+
${R.standardRegular.css};
|
|
97
97
|
color: ${e=>e.theme.colors.primary};
|
|
98
98
|
margin: ${n.sp0};
|
|
99
99
|
cursor: inherit;
|
|
@@ -112,14 +112,14 @@ 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
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
`,Lt=i(
|
|
115
|
+
`,Lt=i(Be)`
|
|
116
116
|
width: ${n.sp3};
|
|
117
117
|
height: ${n.sp3};
|
|
118
|
-
`,
|
|
118
|
+
`,kt=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
|
+
${R.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{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
|
|
|
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{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
|
|
|
154
154
|
`}
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
`,
|
|
157
|
+
`,Rt=i.div`
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: row;
|
|
160
160
|
justify-content: space-between;
|
|
@@ -174,12 +174,12 @@ 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
|
|
|
174
174
|
text-overflow: ellipsis;
|
|
175
175
|
white-space: nowrap;
|
|
176
176
|
color: inherit;
|
|
177
|
-
`,
|
|
177
|
+
`,It=i.div`
|
|
178
178
|
display: flex;
|
|
179
179
|
flex-direction: column;
|
|
180
180
|
width: 100%;
|
|
181
181
|
overflow: hidden;
|
|
182
|
-
`,
|
|
182
|
+
`,Dt=i.div`
|
|
183
183
|
flex: 1;
|
|
184
184
|
display: flex;
|
|
185
185
|
align-items: center;
|
|
@@ -208,10 +208,10 @@ 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
|
|
|
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: ${R.standardMedium.fontSize};
|
|
212
|
+
font-weight: ${R.standardMedium.fontWeight};
|
|
213
|
+
line-height: ${R.standardMedium.lineHeight};
|
|
214
|
+
font-family: ${R.standardMedium.fontFamily};
|
|
215
215
|
color: inherit;
|
|
216
216
|
text-transform: capitalize;
|
|
217
217
|
cursor: pointer;
|
|
@@ -250,7 +250,7 @@ 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
|
|
|
250
250
|
padding: ${n.sp0} 6px;
|
|
251
251
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
252
252
|
border-radius: ${n.sp1};
|
|
253
|
-
`,
|
|
253
|
+
`,Gt=()=>null,Bt=()=>null,At=()=>null,Wt=i.div`
|
|
254
254
|
display: flex;
|
|
255
255
|
align-items: center;
|
|
256
256
|
justify-content: center;
|
|
@@ -262,23 +262,23 @@ 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
|
|
|
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``,Ut=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
|
+
`,Jt=i(Ge)`
|
|
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
|
+
`,Kt=i(ue)``,Xt=i.div`
|
|
282
282
|
display: flex;
|
|
283
283
|
align-items: center;
|
|
284
284
|
justify-content: center;
|
package/dist/assets/{uploadReceipts-D80JLNY4-sjevKwVl.js → uploadReceipts-Buvz7DfG-CEx_e_oz.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ei as h}from"./index-Dr7k10Ge.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-Dr7k10Ge.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.96-
|
|
3
|
+
"version": "1.13.96-qa",
|
|
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.15.
|
|
19
|
+
"@zeniai/client-analytics": "1.6.46",
|
|
20
|
+
"@zeniai/client-epic-state": "4.18.28",
|
|
21
|
+
"@zeniai/web-components": "3.15.0",
|
|
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,fc as Ae,gW as H,j as r,M as Se,bs as C,c as Te,Y as z,o as a,al as ve,bp as De,g as E,w as ee,ax as Ce,fe as ze,q as re}from"./index-DyBH5SZv.js";import{b as s,n as t}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-LAHtgcHF-B9uNpNRf.js";import{o as _e}from"./commonDimensions-DAvj4Il1-Chc9ZQai.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:o}},downloads:Q}}=Se.getLocalizedStrings(),Fe=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,R]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[pe,me]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[m,I]=s.useState(!1),[N,P]=s.useState(!1),[j,q]=s.useState(!1),[w,J]=s.useState(!1),[A,O]=s.useState(!1),[S,U]=s.useState(!1),[T,W]=s.useState(!1),[$,X]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=H(u.zeniAccountsConfigDetail.mailingAddress).text2,p=H(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(m||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),U(!1),W(!1),X(!1),O(!1),J(!1),q(!1),P(!1)},1200)},[m,S,T,$,A,w,j,N]);const B=(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":me(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
2
|
-
|
|
3
|
-
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
4
|
-
|
|
5
|
-
${o.bankAccountNumber} ${n.accountNumber}
|
|
6
|
-
|
|
7
|
-
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
8
|
-
|
|
9
|
-
${o.bankAddress} ${p}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
10
|
-
|
|
11
|
-
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
12
|
-
|
|
13
|
-
${o.bankAccountNumber} ${n.accountNumber}
|
|
14
|
-
|
|
15
|
-
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
16
|
-
|
|
17
|
-
${o.beneficiaryName} ${v}
|
|
18
|
-
|
|
19
|
-
${o.bankAddress} ${p}
|
|
20
|
-
|
|
21
|
-
${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,G)=>{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=pe,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":U(!0);break;case"acccountNumber":W(!0);break;case"routingNumber":X(!0);break;case"bankName":O(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":J(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Oe,{onMouseEnter:()=>B(x,!0),onMouseLeave:()=>B(x,!1),children:[r.jsx(Ue,{children:h}),r.jsx(Xe,{children:r.jsxs(Be,{children:[r.jsxs(We,{children:[d||oe==="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(F,{}):r.jsx(Z,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),G!=null?r.jsx(Ge,{children:G}):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(Me,{children:r.jsxs(Re,{children:[r.jsxs(Ie,{children:[r.jsx(qe,{children:f==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Pe,{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(Je,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Ee.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:m,children:m?y.copied:y.copy}),enterDelay:600,children:m===!0?r.jsx(F,{}):r.jsx(Z,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(He,{children:[r.jsx(V,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(Y,{children:i(o.bankAddress,p,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ke,{children:[r.jsx(V,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:i(o.bankAddress,p,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,D!=null?r.jsx(Y,{children:i(o.beneficiaryAddress,D,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
|
|
22
|
-
margin: ${a.sp4};
|
|
23
|
-
margin-left: ${a.sp0};
|
|
24
|
-
`,Ie=t.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: space-between;
|
|
28
|
-
margin-bottom: ${a.sp3};
|
|
29
|
-
`,Pe=t.div`
|
|
30
|
-
display: flex;
|
|
31
|
-
gap: ${a.sp4};
|
|
32
|
-
`,qe=t(ve)`
|
|
33
|
-
color: ${e=>e.theme.colors.primary};
|
|
34
|
-
margin-right: ${a.sp2};
|
|
35
|
-
`,Je=t(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
|
-
`,M=t.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=t(M)`
|
|
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
|
-
`,Y=t(M)`
|
|
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=t.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
|
-
`,Z=t(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
|
-
`,F=t(Ce)`
|
|
107
|
-
height: ${a.sp3};
|
|
108
|
-
width: ${a.sp3};
|
|
109
|
-
color: ${E.success};
|
|
110
|
-
`,Oe=t.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
|
-
`,Ue=t(re)`
|
|
118
|
-
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,We=t(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=t.div`
|
|
127
|
-
display: flex;
|
|
128
|
-
`,Be=t.div`
|
|
129
|
-
display: flex;
|
|
130
|
-
flex-direction: column;
|
|
131
|
-
align-items: flex-end;
|
|
132
|
-
`,Ge=t(ee)`
|
|
133
|
-
color: ${e=>e.theme.colors.grey1};
|
|
134
|
-
text-align: end;
|
|
135
|
-
`,_=t(ee)`
|
|
136
|
-
color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
|
|
137
|
-
`,b=t(M)`
|
|
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=t.div``,Ke=t.div``;export{Fe as r};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import{u as X,X as D,t as G,M as c,a7 as S,l as f,j as e,aV as J,c as K,c$ as y,C as s,o as R,f as N,v as b,n as i}from"./index-DyBH5SZv.js";import{n as l}from"./vendor-CnQcJ2Lu.js";import{K as j}from"./SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.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:$,onSetupApprovalRulesBillPaySectionClick:C,onSetupApprovalRulesRemiSectionClick:z})=>{const n=X(),o=D(),p=G(),{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),V=f.hasBillPayAccessible(d,p.loggedInUserRoleMap),E=f.hasReimbursementAccessible(d,p.loggedInUserRoleMap);return e.jsxs(F,{children:[e.jsx(J,{source:"ApprovalRulesSettingsPage",title:x.title.approvalRules,backgroundColor:n.colors.grey4,style:{zIndex:3},onBackClick:P,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:$}),e.jsx(Q,{windowSize:o,children:U?e.jsx(Y,{children:e.jsx(K,{size:"ExtraLarge",start:!0})}):e.jsxs(O,{children:[e.jsx(_,{windowSize:o,children:e.jsx(q,{windowSize:o,children:x.infoText.approvalRules})}),e.jsxs(Z,{windowSize:o,children:[V===!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:C,status:m.length>0?T:void 0}),E===!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})]})]})})]})},O=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
|
-
`,Q=l.div`
|
|
18
|
-
display: flex;
|
|
19
|
-
height: 100%;
|
|
20
|
-
overflow-y: auto;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
`,Y=l.div`
|
|
23
|
-
display: flex;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: calc(100vh - 110px);
|
|
26
|
-
flex-direction: row;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
align-items: center;
|
|
29
|
-
background-color: ${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(N)`
|
|
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
|
-
`,q=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,d5 as k,l as S,u as E,ai as z,bb as N,n as v,b6 as P,au as T,v as w,at as K,aa as R,b7 as A,d6 as V,b9 as W,d7 as G,g as m,o as x,q as X}from"./index-DyBH5SZv.js";import{b as C,f as Y,n as j}from"./vendor-CnQcJ2Lu.js";import{l as L,_ as M,h as I,m as _,u as B}from"./chartTypes-qpvW4LwC-4Ag0mdD1.js";const J=j.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
`,Q=j.div`
|
|
4
|
-
flex: display;
|
|
5
|
-
opacity: 0.85;
|
|
6
|
-
border-radius: ${x.sp1};
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
padding: ${x.sp3};
|
|
9
|
-
background-color: ${e=>e.theme.colors.black};
|
|
10
|
-
`,D=j(X)`
|
|
11
|
-
color: ${e=>e.color??m.neutralGrey2Light};
|
|
12
|
-
text-align: left;
|
|
13
|
-
`,U=j.div`
|
|
14
|
-
margin: ${x.sp2} ${x.sp0} ${x.sp2} ${x.sp0};
|
|
15
|
-
width: 100%;
|
|
16
|
-
height: 1px;
|
|
17
|
-
background-color: ${m.neutralGrey3Dark};
|
|
18
|
-
`,Z=({active:e,payload:o,barName:r})=>{const t=[];if(o!=null&&e===!0){const n=o.filter(h=>h.name==r)[0],c=n.payload,i=n.color,s=r!=null&&c.record[r]!=null?c.record[r].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=_(r);t.push({barName:a,actual:s,color:i}),t.push({barName:f.getLocalizedStrings().chartCard.total,actual:d,color:m.brandColorPearl})}return t},ee=({barLabelsWithValues:e})=>u.jsx(J,{children:u.jsxs(Q,{children:[u.jsx(D,{color:e[0].color,children:`${e[0].barName}: ${B(e[0].actual)}`}),u.jsx(U,{}),u.jsx(D,{children:`${f.getLocalizedStrings().chartCard.total}: ${B(e[1].actual)}`})]})}),re=e=>{const o=Z({...e});return o.length===0?null:u.jsx(ee,{barLabelsWithValues:o})},q=Y.memo(re),F=5;function te(e){const o=V(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,F-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function O(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const oe=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.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=te(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(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 r.push(...p),{label:c,record:d}}const i=O(n);return r.push(...i),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},ae=j.div`
|
|
19
|
-
width: ${e=>e.width}px;
|
|
20
|
-
height: ${e=>e.height}px;
|
|
21
|
-
`,ne=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?u.jsx(q,{active:e,payload:o,barName:r}):null;function fe({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,i]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=oe(e),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:ce(a,s),onMouseEnter:()=>{c!==a&&i(a)},onMouseLeave:()=>{c!=null&&i(void 0)}},a);return s==null?null:u.jsx(se,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:u.jsx(ne,{mouseOverBarName:c})})}const se=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const i=E(),s=M(e);return u.jsx(ae,{width:t,height:n,children:u.jsx(z,{children:({height:d,width:l})=>u.jsxs(N,{width:l,height:d,stackOffset:"sign",data:e.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(K,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>R("0,0.[00]a",a,s)}),u.jsx(A,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function ce(e,o){const r=I(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].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 le(e){const o=V(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,H-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function $(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ue=e=>{const o=e.agingPeriods.map(t=>f.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.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=le(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(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 r.push(...p),{label:c,record:d}}const i=$(n);return r.push(...i),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},ie=j.div`
|
|
22
|
-
width: ${e=>e.width}px;
|
|
23
|
-
height: ${e=>e.height}px;
|
|
24
|
-
`,de=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?u.jsx(q,{active:e,payload:o,barName:r}):null;function be({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,i]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ue(e),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:me(a,s),onMouseEnter:()=>{c!==a&&i(a)},onMouseLeave:()=>{c!=null&&i(void 0)}},a);return s==null?null:u.jsx(he,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:u.jsx(de,{mouseOverBarName:c})})}const he=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const i=E(),s=M(e);return u.jsx(ie,{width:t,height:n,children:u.jsx(z,{children:({height:d,width:l})=>u.jsxs(N,{width:l,height:d,stackOffset:"sign",data:e.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(K,{type:"number",axisLine:!1,tickLine:!1,tick:{color:i.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>R("0,0.[00]a",a,s)}),u.jsx(A,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function me(e,o){const r=I(e),t=f.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].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{fe as L,be as k};
|