@zeniai/web-cockpit-ui 1.15.35-qa → 1.15.36-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-CdyuCPU8-Cc9AcSrc.js → ACHDetailsPage-MTECJ5f2-BdLHfYkw.js} +1 -1
- package/dist/assets/{AIPerformancePage-GW2UlhRu-LCcni55-.js → AIPerformancePage-2DnUDrYW-DNI5xeF8.js} +21 -21
- package/dist/assets/AccountInfoPage-BDjC13Ii-CDV-bwh1.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Dn6yodzf-CnavH9Km.js → AccountInfoPageContent-Uf69Ma0g-4oOZ211N.js} +7 -7
- package/dist/assets/{AccountLockedInfoModal-7MLTBsWb-D0R-VIax.js → AccountLockedInfoModal-BXcJh14l-Cm1Sq52s.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CUvBGVmt-BU4gFlYH.js → AccountReconDetailsDrawerPage-Cswyt1rh-8EGrj1WM.js} +6 -6
- package/dist/assets/{AccountRow-t-WESYF_-CAxThHrd.js → AccountRow-CwQ210NA-5WmGHDfQ.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-C0Ht_d_M-AWi1njok.js → AccountsPromoCardStack-DdAZdIl7-B1nFN92E.js} +15 -15
- package/dist/assets/{AddAddressForCardDrawer-CpDfjROc-NuYhekBS.js → AddAddressForCardDrawer-B2tfTCJl-DqVInXyI.js} +1 -1
- package/dist/assets/{AddToWalletPage-CPYp6JZP-4pViGsS0.js → AddToWalletPage-CYheOozR-CDrN1v1e.js} +6 -6
- package/dist/assets/{AgingReportsPage-BRChA3Xv-C_Zgtox3.js → AgingReportsPage-DzKHZ2gU-D4NK3bB8.js} +13 -13
- package/dist/assets/{AllUserItems-CUlWgl79-CPuh3MLd.js → AllUserItems-M13M7Dn--CMRF0XPg.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-D7u_ghQp-BO50wskp.js → ApAgingDetailPage-CeCfzyaW-xN1KSuw8.js} +6 -6
- package/dist/assets/{AppBasePage-bvoaHTtg-BZ9G1r1W.js → AppBasePage-lNsHzKPV-BUTBPJJ7.js} +1 -1
- package/dist/assets/{AppDrawerContent-DYDi-djG-CB6Hm-0Q.js → AppDrawerContent-D7S-TGMT-BmwuU2JQ.js} +1 -1
- package/dist/assets/ApprovalRulesSettingsPage-CEb5R3Um-BCMBYXPC.js +47 -0
- package/dist/assets/{ArAgingChart-DBuqIeaR-bg4RQvn8.js → ArAgingChart-BtWnAFp_-C5Q_9k5d.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-ALGyVMJV-BZSF2nd3.js → ArAgingDetailPage-b4XNEmrz-DygKBFbD.js} +2 -2
- package/dist/assets/{AttachmentView-BIeDapyc-Dy-ghSP2.js → AttachmentView-BNh7psmU-Bbw5Dndi.js} +1 -1
- package/dist/assets/{BankAccountSection-BQKaKFnm-DXAkbQt8.js → BankAccountSection-DvxISEWF-B3bfDW0E.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-DeUkht1G-Dr6bgRCP.js → BankAccountWarningSection-BigSAlOf-giEPP_Qk.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-qldLiM1M-B7n052An.js → BankConnectionsSettingsPage-BmV84xpM-hAhHGA_U.js} +1 -1
- package/dist/assets/{BillDetailPage-BPqPHZcD-BLaS3lNQ.js → BillDetailPage-bGScpKo1-C8_DAvpa.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-FW3E7XSE-BuOLvGKr.js → BillPayApprovalRuleDetailPage-WL_3iqlY-CEGOsAwB.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-BGotlrLK-Dnlxb0ei.js → BillPayApprovalRulesPage-DzXO3OA3-CuNf74rj.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DvoccD5_-BbvDxZBM.js → BillPayPromoPage-CWXg38Zn-QLqd2JeT.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-DhjIDy8h-DjCT2F-Q.js → BillPaySetUpPage-S29c7luv-BjKkNycA.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CmO4DZ-a-DfLL-3xJ.js → BillingSettingsPage-B4UuM5oI-CnNIbUJQ.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-4vzF3bG9-CYnUuRpA.js → BillsBulkReviewDrawerPage-DnU8hO98-C1ox6sAt.js} +1 -1
- package/dist/assets/{BoxItem-B6i9yx2h-BXmANcI9.js → BoxItem-BuOARLA6-BfKpH1iW.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DuEh8MkZ-C6NEKtFI.js → BusinessVerificationPage-C-2WkF1k-BNJjkTCX.js} +8 -8
- package/dist/assets/{CardNumberSubText-BEVRq2PI-DDGQHtM7.js → CardNumberSubText-B5F6n20g-B4j-P-Yo.js} +1 -1
- package/dist/assets/{CashbackDetailPage--SHtNWGE-B7q_3WKk.js → CashbackDetailPage-B8BWFurd-CEzxQv9t.js} +11 -11
- package/dist/assets/{ChargeCardDetailPage-EFRUpv7y-CRSyItBH.js → ChargeCardDetailPage-CUwelhv9-_Qmyewum.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CFB5EHCZ-Q_LF4khU.js → ChargeCardListPage-OM6V0_w4-DmRwOrEA.js} +7 -7
- package/dist/assets/{ChargeCardListTable-DM_h-dzr-JfLZMhMV.js → ChargeCardListTable-BLQucs67-dVRRo8zw.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CPZj9te2-D70Jr31B.js → ChargeCardPaymentHistoryPage-Ctli7jP9-Dv4R4N7Z.js} +7 -7
- package/dist/assets/{ChargeCardPromoPage-BWwBfycu-Dr4jE1df.js → ChargeCardPromoPage-87W_Pmcc-CL32Gm8l.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-Epn4xe2x-CtGXIQfR.js → ChargeCardSetupPage-C2ut28_d-oEr-F107.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-Bu7OdYhw-DLIqhr4K.js → ChargeCardStatementsPage-B0pW9c8L-BOQfbOjy.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DQnqizMV-Das21vqy.js → CheckDepositDrawerPage-B6amchCs-DmayI2eG.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CSVzLWq_-CEaOtd9D.js → CollapsableReportTable-CKZMra2N-DVHlppQA.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Pwtunf36-wXG4kPwP.js → CompanyOfficerDetailsSection-BaDN_HWQ-Df10Iqha.js} +13 -13
- package/dist/assets/{CompanyPassportCard-DfPPft95-DYon-nbO.js → CompanyPassportCard-CVmFwsYx-YUIsTO7p.js} +4 -4
- package/dist/assets/{CompanyPassportPage-aNL_m3a2-BNzT9aja.js → CompanyPassportPage-Bo-fHKTg-pFmh0JY_.js} +15 -15
- package/dist/assets/{CompleteProfile-DmeE0Xjt-Bu6rPbEQ.js → CompleteProfile-D8_3QPfk-Cc_sI1mw.js} +1 -1
- package/dist/assets/{ConfettiBurst-s04ELXDS-BR_CtkF9.js → ConfettiBurst-BxK3gOov-DRtasWE2.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-TJzIXuNi.js → ConstrainedInnerElement-BeIpAPjB-BSv5CT9e.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D3oCIz1P-3fRPViQO.js → CreateOrEditVendorPage-Cx-QXXom-B8MFa7Ua.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-DPXaPj4B-CIxVZ_ux.js → CreditCardPaymentDrawerPage-D_VntONF-BdSVEQJx.js} +1 -1
- package/dist/assets/{CurrencySelectField-CtKQBmBI-_7Z7zjF5.js → CurrencySelectField-CvMIDpOa-D4F-_rjZ.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DCQvUK8d-CwcuXdB6.js → CustomerOnboardingActivationPage-BNx_JIsl-C1rccu3S.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dbz1NTUm-D53gumsw.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BVJ6jsqR-BkC7DbU8.js → CustomerOnboardingDetailPageSkeleton-CDkqTFSM-Be1MlRsD.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-DQcf1Pyg-DmFCTQmR.js → CustomerOnboardingNoStepsPage-B7nn9pa6-kAh8a-Yt.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-CLNt38t0-CISsxaNz.js → CustomerOnboardingPage-B0UsbJ1P-CYm4CD54.js} +5 -5
- package/dist/assets/{CustomerOnboardingProductSuitePage-SyWJAHJ5-BLo87ZGI.js → CustomerOnboardingProductSuitePage-CTHXj545-fzvlTLym.js} +2 -2
- package/dist/assets/{Dashboard-DW6P3oLC-JmOZT2AT.js → Dashboard-mxMZYpEW-DiLuYwxX.js} +1 -1
- package/dist/assets/{DashboardReportPage-Cp04-QUV-iSoe8_J3.js → DashboardReportPage-Dy9QVA7Z-Cz6343vo.js} +25 -25
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CKoyjUHm-wsCB2Mj1.js → DashboardSidebarBackgroundAnimation-Bp7cCBwN-DxhEIL5n.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-kZL4La9A-px-IlxCa.js → DepositAccTransactionItem-qG9GvyAi-Cn-YxRbF.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-C_GPoFDS-C20Qv67v.js → DepositAccTransactionListPage-DY6ckLcN-BoxQBeYY.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CL-gGug5-CFzt84md.js → DomesticWireDetailsPage-DQDdpsym-DorJ__Th.js} +1 -1
- package/dist/assets/{DownloadOverlay-JdIA_Qvk-C3WZFyzU.js → DownloadOverlay-Calb-h8P-CpaxI-5F.js} +29 -29
- package/dist/assets/{DrawerPage-_F2zRGIo-Bbd9X4eR.js → DrawerPage-CtJFKuFL-CYYKg7Ek.js} +1 -1
- package/dist/assets/{EditPeoplePage-Cqd73zkA-Ch9gkw4G.js → EditPeoplePage-D6AHuPcm-7B9Bydt9.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage--T5T_fJG-DCRo-lmo.js → EditReimbursementDetailPage-D6_fdX7E-DuCCCgtB.js} +3 -3
- package/dist/assets/{EntityDetailPage-CAu9l8_o-BuX4TBGi.js → EntityDetailPage-8XBPRJ2z-Blkh-rZa.js} +4 -4
- package/dist/assets/{EntitySummarySection-D1QM7cY6-CCQcM2Q7.js → EntitySummarySection-CRobZFdA-5ICB6kMK.js} +6 -6
- package/dist/assets/{ExpenseAutomationOverviewPage-pciCiajG-Bavician.js → ExpenseAutomationOverviewPage-BJAWD2jM-D1xeNN02.js} +46 -46
- package/dist/assets/ExpenseAutomationPage-CUMFF1DE-qGZ-fhdP.js +3001 -0
- package/dist/assets/{ExpressPayPage-BCMf-60G-Baid2jkl.js → ExpressPayPage-nqBKZ3fl-GqF5wwC1.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-Dj5OXPVN-C18ni9NB.js → FeaturePreviewPage-C_IsnbRF-CRsggv2B.js} +1 -1
- package/dist/assets/{FollowStepsSection-ZwhfJWnC-DJAXwgDf.js → FollowStepsSection-3Pp2we-C-BklcQOfQ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-AZtnVYVQ-DMam3PuI.js → GlobalReviewListPage-BmXesyUc-Bz2HEI-M.js} +1 -1
- package/dist/assets/{InformationCardStack-D8cmcS4k-bRtRxft3.js → InformationCardStack-DNpn0-gM-GyRbPKpL.js} +5 -5
- package/dist/assets/{InsightsCardStack-CRbYGyti-BvZbD4Jj.js → InsightsCardStack-B2WhxVyz-B8IW9DSU.js} +1 -1
- package/dist/assets/{InsightsSection-B7cEUOjq-C4wpk5vd.js → InsightsSection-C2CwZPel-DBGYdL2D.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-Cu70a3gO-C_bOu9Zi.js → IntegrationsSettingsPage-DIaqGx79-DcwRlZ2W.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-D_RuMP2E-BR38wYj0.js → InternationalWireSwiftDetailsPage-COOKMFsG-CgyBiXO1.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CqpE7nR5-Cxc90JyU.js → InternationalWireVerificationPage-DmEbE8mB-y7aFV84D.js} +1 -1
- package/dist/assets/{InviteFormPage-BU3bkjN3-GXBF_TIM.js → InviteFormPage-B25ubjDZ-rc60wJWK.js} +1 -1
- package/dist/assets/{InvitePageListView-BfRPKPse-CRF5Iqdy.js → InvitePageListView-VsLAIeB2-sN4Mjomj.js} +25 -25
- package/dist/assets/{InvitePeoplePage-DFfZPbsO-CxUypzJ8.js → InvitePeoplePage-CtsAK9qA-Cy85-R6z.js} +2 -2
- package/dist/assets/InvoiceUploadSection-CTWcHIik-Ch45PmQD.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BB83Aeyd-DU83Twkc.js → IssueChargeCardPage-BjFDSjnT-B6eRPv5Y.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CK-YJ1cO-C4LJb4Ec.js → LabeledAddressValue-DTtkpbQD-CqjAk_yZ.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BppwMtJ1-T6lPuNrW.js → LabeledAddressValueField-CGnp-ruv-DcIYlcxL.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-zpbzob1x-De_sFAdL.js → LabeledControlledCheckBoxField-D59MWScK-u0D-4rtN.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-DrZ69tWB-CbkU60Cq.js → LabeledCountryMultiSelectField-H2s6dgDh-Bk8gsi9y.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-D-rSPg1Y-BEoWM6os.js → LabeledCreatableSingleSelectField-DcMbc854-D5zvfJ8D.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CBQeAeRc-CsNYjjwd.js → LabeledDocumentField-sF7Zoa0k-CZ654oCL.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-5t5k_pgq-3N767TYR.js → LabeledDropDownFormattedTextField-CQV1Uzgm-NA-GZk2j.js} +1 -1
- package/dist/assets/{LabeledText-tLPpd4Wp-Dn15jABZ.js → LabeledText-BacKeQ9P-B1Cd96zY.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D5zZUAVV-Uprdm1T5.js → LabeledUserSingleSelectWithSubtitlesField-BwgY-iwq-BfcihsXM.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DZ9boJMt-Ddaj0gyJ.js → LabeledZeniRolesDropDownField-DckQcAsv-jt45kZxB.js} +18 -18
- package/dist/assets/{LinkJETransactionPage-C99UMrwp-DGyiLhz2.js → LinkJETransactionPage-CJh4FFpC-BBBjUecH.js} +5 -5
- package/dist/assets/{LockCardPage-DE5Zw1p--DDhMx2Zw.js → LockCardPage-CPcRTCZE-D_H0owTv.js} +8 -8
- package/dist/assets/{LowBalancePopup-BD9saCcf-Bd0FezoJ.js → LowBalancePopup-D8GK2H9h-hjWBZs2C.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-D25qjc2G-9NeAFmog.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D8_ky1S0-jwkJvUEx.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CvLwoWmx-CZ38-i1G.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BxXyF-Sp-BLAQ6Wfq.js → MagicLinkSuccessPage-B_BENTTd-DbqViuOL.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DajyP-ys-DhZ3lo9u.js → MagicLinkTitleSection-QKzoOrdi-Bpjf7BPR.js} +1 -1
- package/dist/assets/MailingDetailsSection-CAqhq5HH-B7PPRTQj.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BE1pUnaR-rY5WmdmI.js → MyBankConnectionsSettingsPage-CLyQgTUj-BbnMCn1U.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CviCM09N-TrpArtHh.js → MyPendingActivationChargeCardListPage-_Fkdh2qv-Sopb8zUc.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-iREvm7LK-aaE3zkBS.js → MyProfileSettingsPage-DxmJa0cf-DxXUJqnD.js} +1 -1
- package/dist/assets/{NavBarWithPicker-r-K_Pjsb-BM59aAtt.js → NavBarWithPicker-CV8HLA6I-BUWTCujT.js} +1 -1
- package/dist/assets/{NavigationArrow-CKhWji3v-DrK7JvGJ.js → NavigationArrow-C0hMKZ32-hISa84Ue.js} +1 -1
- package/dist/assets/{NavigationDots-OShASt5i-BCPaSs2y.js → NavigationDots-CjCXOKoW-CbK19jrp.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-2-kYqTDF-ClE9Trkz.js → NewGlobalMerchantPage-DbL_f9K3-BJU60EMT.js} +1 -1
- package/dist/assets/{NoDataChart-BN3zyJkX-d_10V5tE.js → NoDataChart-gYvI6yr8-viHJ3bQ-.js} +1 -1
- package/dist/assets/{NoDataTable-D0cyK_1j-CRU7hu0R.js → NoDataTable-BKZwVTXZ-T0eI1Zo0.js} +1 -1
- package/dist/assets/{NotFoundPage-yrt6kuPH-CTx1x3zQ.js → NotFoundPage-BYY5isHm-DDhBeJOV.js} +2 -2
- package/dist/assets/{NotificationSettingsPage-CX3Hkg6o-Bee4no-2.js → NotificationSettingsPage-DjW6to0g-1y2D4DgT.js} +16 -16
- package/dist/assets/{NotificationsListConfig-Cyzhla-8-29lmg0oi.js → NotificationsListConfig-CVq2sl6h-Bw-0i4Ig.js} +1 -1
- package/dist/assets/{NotificationsPage-O7M0pMnc-daR4laOH.js → NotificationsPage-CRP4cafk-C5rQyA0T.js} +21 -21
- package/dist/assets/{OpExByVendorPage-DpMGBmkQ-BofNUHsQ.js → OpExByVendorPage-DFhGNQND-Dk5383RE.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-BNxbiugm.js → OverlayContainerPage-D4QU0p4o-DKdfSoPP.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Cbt0YlVL-CIaTrEzj.js → PandLWithForecastPage-C7HbHAwT-jbJyIaCy.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-B2xEqKKc-CBFbBa1P.js → PaymentAccountSetupBillingAddressSection-CrOLi3CM-uLcqJFNN.js} +7 -7
- package/dist/assets/{PeoplePage-CUr5cz1w-_V-Q3GTv.js → PeoplePage-C70ShoQt-BQS3GQ43.js} +13 -13
- package/dist/assets/{Preview-CEK51ZCO.js → Preview-CIzSWHQo.js} +1 -1
- package/dist/assets/{ProductsCarousel-t8HIs4J6-BEITBT2Y.js → ProductsCarousel-CWjvhORp-CeSyV6gs.js} +1 -1
- package/dist/assets/{PromoBaseCards-6Uh8eokP-CcA7wxXm.js → PromoBaseCards-C_MPWCdo-BQaVgUEA.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BbmqcpYW-BQKok7bH.js → QBOConnectionDialog-DG8GBxXu-BOORcaKP.js} +1 -1
- package/dist/assets/{QBOSetupSection-u5dKqaH8-HpPTyv_J.js → QBOSetupSection-D0xw7uYo-BIeky-6i.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DxSrYBkv-B54Dk5Is.js → ReimbursementApprovalRuleDetailPage-D7Nssw7C-DE7B3Va0.js} +6 -6
- package/dist/assets/{ReimbursementApprovalRulesPage-BL2GpJIG-DcDYMr7J.js → ReimbursementApprovalRulesPage-ALLu5Bn2-CwTr897n.js} +1 -1
- package/dist/assets/ReimbursementDetailPage-DtUem4gd-DWGZKWlX.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DuwxKGGm-CHsOOSFl.js → ReimbursementPromoPage-BMJx4mIG-DJbTDfJr.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-Du4kRXbO-B-5X8hsi.js → ReimbursementSetUpPage-yEKRYNla-CFFoHhA6.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BmlYoVy4-B6mT_3wC.js → ReimbursementsBulkReviewDrawerPage-DuG_oVRd-DNVGALUa.js} +1 -1
- package/dist/assets/{ReloadCard-BSiXuJWg-BqlPHpin.js → ReloadCard-B1sDYISv-yIhOaL2x.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-KgvX6wt6-BZ_fbetO.js → ReportTableViewSelector-D0_bxxr3-CG8SHCRk.js} +1 -1
- package/dist/assets/{ReportsPage-Bt24BITW-DCtuAB8s.js → ReportsPage-8KbmzE10-CGdeSxTj.js} +4 -4
- package/dist/assets/{RevenueChart-iH_Xl63n-Drddpf_5.js → RevenueChart-DHaN9dID-BBTu7at-.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CwPsM3uL-Dh04puOa.js → ReviewDetailsPage-CU1pEUH6-CJzA5XWq.js} +53 -53
- package/dist/assets/{ReviewOverlay-DOqgOSnM-uwLvPYee.js → ReviewOverlay-abE-6rKm-CJgH1hlM.js} +1 -1
- package/dist/assets/{RoleWithToolTip-D6q4Wd6X-Ba41qnE5.js → RoleWithToolTip-XCmNsd2N-DcGnYG_x.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-_bJob_HD-CAcW1WNd.js → ScheduleDetailsFixedAssetsPage-DdQ7n2jO-CJpvIQmk.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BDZm6We--DqachKin.js → ScheduleDetailsPage-BT7nc-SK-BkKOCQn5.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DgG11IBi-DHvVMS0K.js → ScheduleSequenceTable-DmNi0a_t-BRPd9MD_.js} +1 -1
- package/dist/assets/{ScreenRoutes-DP1vvIFq.js → ScreenRoutes-ReV8hS5d.js} +33 -33
- package/dist/assets/{SetUpAccountSection-n5OCUAL3-BCPO4UYh.js → SetUpAccountSection-CF5-adzX-dA8yacgy.js} +1 -1
- package/dist/assets/{SignIn-uBHaDram-DeaAUvTZ.js → SignIn-BlqHQp_i-DiVgvIz3.js} +12 -12
- package/dist/assets/SignInScreen-DPbt8pK5.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-ErBiPjGh-ZxpEEpcQ.js → SpendManagementListViewPage-Bw49YHTs-B7x-SLHw.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-BIxGrbmz-iaE28oxr.js → SpendManagementPerTabPage-BBxTKG7D-DmW59dEk.js} +1 -1
- package/dist/assets/{SpendManagementSection-B01H6LCd-dV21F-9A.js → SpendManagementSection-C0tVpDka-7XRgMTMj.js} +19 -19
- package/dist/assets/{StatementItem-BJJHaw9s-29L7-ckn.js → StatementItem-CX-Vb6Yv-CQSzimr4.js} +5 -5
- package/dist/assets/{StatementsPage-rFpr0w_W-DNXmI_WC.js → StatementsPage-DIhLk0I0-CJFVRHXq.js} +2 -2
- package/dist/assets/{StatusSwitcher-DnuyzbQo-zsneBA5e.js → StatusSwitcher-2x-HpawS-rvUjyTH4.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Bk10VIFM-CrNC5Y_x.js → SubTabSwitcher-3gCHG_2e-kbyMAwsf.js} +1 -1
- package/dist/assets/{SummaryCard-CHqc9QHC-Yq25xivx.js → SummaryCard-DDFWzeCH-DDL0LPzG.js} +1 -1
- package/dist/assets/{TaskManagementPage-Cr_KAM2z-B2jYjFSR.js → TaskManagementPage-D4PHLunD-tt5TJWu-.js} +7 -7
- package/dist/assets/{TimeRangeSwitcher-DkNMcmBm-BKKiSxbO.js → TimeRangeSwitcher-CY0nV1h--J209OFZR.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-CULpyCRj-B4sMqB1t.js → TimeframeSwitcher-ncxeqCrX-BswygR8z.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BSx_ynUp-C4foPuxp.js → TimeframeSwitcherWithToggle-Ct5BEs_Q-BzganDVC.js} +4 -4
- package/dist/assets/{TopExCard-B29o-5e0-C1Xb1edv.js → TopExCard-COqnH-4I-BVvqNRP9.js} +3 -3
- package/dist/assets/{TopExDetailPage-TVxgKbn8-h1-M6BqE.js → TopExDetailPage-qgHjp5oB-CbVU9bNn.js} +15 -15
- package/dist/assets/{TransactionActivityLogPage-0wmqwFMQ-DpxBoViM.js → TransactionActivityLogPage-BcYHnlFq-GhckwPRW.js} +1 -1
- package/dist/assets/{TransactionDetailPage-B9pzvWO8-C4lfGaqD.js → TransactionDetailPage-BZU1QN3O-C4mwlffy.js} +1 -1
- package/dist/assets/TransactionList-AmUI5s8r-DfvxSOnm.js +153 -0
- package/dist/assets/{TransactionListBig-DMnQfRkS-20CPxACF.js → TransactionListBig-ByYlobcF-BhG5fg3c.js} +1 -1
- package/dist/assets/{TransactionListPage-BB452Nj4-Dgs9EM0f.js → TransactionListPage-BZtT0JVM-CMhzYu3G.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BCkXd3P2-Bl6s22Tw.js → TransactionVendorDetailPage-DVPBTIK5-B0IzCC6Z.js} +1 -1
- package/dist/assets/{TransferDrawerPage-6Rt1ZlJA-I2Skd8-A.js → TransferDrawerPage-CSHGPlKO-B6ir6T3C.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CuSfgvcS-m6L9Jvdu.js → TreasuryOverviewPage-CWtloEcx-BI7fuqEe.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-DUi2uBW8-B47B8ibo.js → TreasuryPromoPage-BkxayclQ-BD05BSZg.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DNhwcfdJ-BaprS6U4.js → TreasuryStatementsPage-Bdo7eYMN-DYhvNV6I.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-BLIGs8oG-rs4DWgsu.js → TreasuryTaxLetterPage-C8ejdAk5-DByu-1LU.js} +2 -2
- package/dist/assets/{TrendChart-KoCvlYmC-C-jk3kXT.js → TrendChart-ZDj-xpm1-Jp3bnOcp.js} +1 -1
- package/dist/assets/{TrendWithTransactions-Vqr8x7E_-B9kpqnaG.js → TrendWithTransactions-qTLVjOfV-1Qq4W0Vf.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BKdvN3Lh-DXsxrj_5.js → UncategorizedAccountsMappingPage-8Bzfc9-f-DSTdymGe.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-CQ7270p--CQ6r0MVa.js → UnitIntegrationPage-B1S92bhM-YW7CpieK.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CcH5BomT-DSbThaHM.js → UploadAdditionalDocumentOverlay-CBFoai8Q-D24u1z1-.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DtT11B4h-CT6Xi_aF.js → Vendor2FAPopup-DAvl-0wR-CMmLV0gh.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-kezd7VIg-_33VYhc_.js +1 -0
- package/dist/assets/{VendorDetailPage-2rTQcqZl-BvHWS2Gn.js → VendorDetailPage-Cq0ifHHj-X3Tmeucn.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DYCckZ0--2FN3v_yv.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Cgkipd6r-DlLW9ftw.js → VendorFiling1099EditablePage-DZ7w4hG9-0R5SyRKT.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-Va76j7QY-C_o-6JAB.js → VendorFirstReviewPage-DeTtH_3q-JOPrtxvQ.js} +16 -16
- package/dist/assets/{VendorInternationalWireDetailsPage-D0IeqYQZ-yCoXRdA4.js → VendorInternationalWireDetailsPage-oLPgqqXG-Cu-XiY9k.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-C25-dQzU-CfUQEHr0.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CTmdfJi_-CxsrtQCW.js → VendorsAccountsSection-CjtV6vnA-EPohtHXT.js} +1 -1
- package/dist/assets/{VerifyDevice-DFCNFtDD-B2l_EHpD.js → VerifyDevice-BKlM_EIQ-eKiK1Vh6.js} +8 -8
- package/dist/assets/{VideoPlayer-CIr6pCWx-BlGxtEbt.js → VideoPlayer-Cd6Z-m3O-CXV5kTHF.js} +2 -2
- package/dist/assets/{VideoPopup-CoeVMP5D-CkEoZJPU.js → VideoPopup-hzeQU5PD-DzEhicyc.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-CNBphx6e-uyGjzkS6.js → WarningsDrawerPage-Bj1rv5Lm-DhSYjNx8.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-ysMCIpFe-B_7tw6sp.js → ZeniAccountDetailPage-XEP8Ax1n-Bk0f_d4B.js} +9 -9
- package/dist/assets/{ZeniAccountListViewPage-DUalD7AP-5wUXGfcR.js → ZeniAccountListViewPage-BFBLw9LX-YV6uT0to.js} +15 -15
- package/dist/assets/{ZeniAccountNavBarPieces-B8jILUl8-BBizFg1k.js → ZeniAccountNavBarPieces-DeAJa-tc-B5jGlBA5.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CUJm-42a-BQnYMroZ.js → ZeniAccountPromoPage-tOAp0Gpx-BKu4Kphu.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-BTurLFPN-ter0-uCW.js → ZeniAccountSetupPage-DMcEkRkC-C4uo8IPg.js} +1 -1
- package/dist/assets/{ZeniCopyright-BTFZ48gh-w15_W74f.js → ZeniCopyright-DzbxtiXr-hH0_8XoH.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-f0nRZPzG-BLDyrypP.js → ZeniTransferAmountSlider-CjlubUnE-cQiE2SkE.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-D1teIsf6.js → add-to-wallet-DgdBD8_G-C2wVoVNZ.js} +1 -1
- package/dist/assets/{analytics-DvsRx7_o.js → analytics-6ukc1Do4.js} +1 -1
- package/dist/assets/{analyticsHelper-lunHUd8g-T6u0613Q.js → analyticsHelper--FI5ZNkP-C6nfDH6L.js} +1 -1
- package/dist/assets/{analyticsHelper-DeD9LR3c.js → analyticsHelper-Diz2KIDT.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CIyEcJYf.js → arrow-south-east-round-PEovUgvH-BzdHTtYI.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CtO92HdQ.js → auto-transfer-rule-mbafm5D3-DiSmmrWv.js} +1 -1
- package/dist/assets/{chartTypes-DESZubWD-J95DqIha.js → chartTypes-OhAs1JKI-bzHdDgZb.js} +1 -1
- package/dist/assets/{commonDimensions-Cpv8YIix-BXt5gzTm.js → commonDimensions-B2iVuJD5-CcSv5ZyJ.js} +1 -1
- package/dist/assets/{commonTypes-B1gKMzJK-DXXYZylr.js → commonTypes-cRbeH9rJ-Bb0mwy34.js} +1 -1
- package/dist/assets/{constants-B-YZmhKw.js → constants-DIDmrHxx.js} +1 -1
- package/dist/assets/{core-HDqpewC7.js → core-IgaX3lD-.js} +1 -1
- package/dist/assets/{dash.all.min-kOXiIFTN.js → dash.all.min-BZobhYiu.js} +1 -1
- package/dist/assets/{detailCommon-DyrMcL2E-Dkj1Ro3D.js → detailCommon-DHznXAh3-CiYpsfiB.js} +6 -6
- package/dist/assets/{downloadPdf-D2sIdMDR-CfGqGROi.js → downloadPdf-DCU64Gug-DSJFt5WV.js} +1 -1
- package/dist/assets/{empty-DfoIHPwJ.js → empty-7DTjA2wf.js} +1 -1
- package/dist/assets/{empty-Dx0imdfu.js → empty-C9jNhFru.js} +1 -1
- package/dist/assets/epic-CKkwCmL7.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-xM5zrgW4.js → gift-box-Cmt9OgIZ-CBOUr4XW.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js → graphic-no-data-l-DU4J8fDt-DMvuiJwA.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DYb8EeBA.js → graphic-no-data-net-burn-l-CzmycA0m-CSiSDw7r.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B6X0918N.js → handshake-BPg58FML-DarHJSr3.js} +1 -1
- package/dist/assets/{helper-i78O9ew8-C81IjMdE.js → helper-CCCOsTBK-Dcm9G4A9.js} +1 -1
- package/dist/assets/{index-DAitESaL.js → index-B4YQ83K3.js} +1 -1
- package/dist/assets/{index-BmIGxAWd.js → index-BGxoQ0u8.js} +1 -1
- package/dist/assets/{index-Depa7Syu.js → index-Btm2GEQg.js} +1 -1
- package/dist/assets/{index-Bdy6x472.js → index-CN1ccabn.js} +1 -1
- package/dist/assets/{index-BPv2nRQb.js → index-D-BANbLd.js} +1308 -1308
- package/dist/assets/{index-B7uDjLxh.js → index-Dmn-uHPz.js} +1 -1
- package/dist/assets/{index-D0CQgP0w.js → index-tky71xjr.js} +1 -1
- package/dist/assets/{lexical-CWcQ8pGO.js → lexical-BOeaRQ5K.js} +1 -1
- package/dist/assets/{liveblocks-Dv7Vdu8a.js → liveblocks-Db4nLOvA.js} +1 -1
- package/dist/assets/{lottie-V1lTNkDB.js → lottie-D0yKu2h3.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-COG82OfJ-CSZlHYMI.js → mapLoadingInProgressToTreeNode-CDOEagKG-Bt_n3HLB.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CjVZw324-gPmnB93g.js → mapSectionWithAcOnlyToTreeNode-Bacgq6px-DuzaQwsM.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Cq9WPd-3-BYJOxkkl.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bj3oqvNg-DZI1LYnG.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-C23h7gVe-DUIYJGbT.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-40rewm2_-B5RLxn7A.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DoDPxRuC-BPkv0D6R.js} +1 -1
- package/dist/assets/{mui-DdxImnN0.js → mui-AW-QpJ2k.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-5PyHJMJh.js → page-detail-CWX5S47F-BA6JwERa.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-gr9HWaHB.js → panelSelectedMixin-Cddsb26L-DJsIAZn1.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-LTUMKU8Y.js → radio-default-CiSgisfh-CDrk92vz.js} +1 -1
- package/dist/assets/{react-DbLm8gms.js → react-B8x_i0jF.js} +1 -1
- package/dist/assets/{react-BNr0aXGm.js → react-BvaHfgqq.js} +1 -1
- package/dist/assets/{react-OxQ1eBeR.js → react-CLqhqUbJ.js} +1 -1
- package/dist/assets/{react-Cjks14mZ.js → react-CXJKef1G.js} +1 -1
- package/dist/assets/{react-omDkrKl-.js → react-D-FX3Miy.js} +2 -2
- package/dist/assets/{react-CUY5EDxC.js → react-DZazVKdi.js} +1 -1
- package/dist/assets/{react-DYqwvMeX.js → react-DfDeDzYP.js} +3 -3
- package/dist/assets/{react-pyJg34N2.js → react-DhnYk-ZG.js} +1 -1
- package/dist/assets/{recharts-Djp9a38d.js → recharts-DPPWeTqd.js} +1 -1
- package/dist/assets/{sentry-DBSEoG3b.js → sentry-OhwUF_66.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BOPfGBnx.js → shield-DOlUxcFf-BUF5YtAM.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BpgPOYod-D7bBPsum.js +1 -0
- package/dist/assets/toChartData-JpJ956nX-BgylJdL0.js +1 -0
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-Dfva9HF2.js +1 -0
- package/dist/assets/{uploadAttachment-C3cElL9m-DY215Q-d.js → uploadAttachment-DicjfBYA-DrkICKBo.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-C8hVDRbs.js → uploadReceipts-Dge0cNF1-DlcReZJ-.js} +1 -1
- package/dist/assets/{url-DITb-guK.js → url-B-9pHqAG.js} +1 -1
- package/dist/assets/{url-BmxmWAZl.js → url-BnMPYMYO.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CaFh8omD.js → useLongPress-GCK2COYQ-CP00SKp4.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CpqqX4MO.js → usp-line-BBd1wKwW-F_fmAFtY.js} +1 -1
- package/dist/assets/{utils-rIQAYtge.js → utils-Cv-cXrhn.js} +1 -1
- package/dist/assets/{zeni-epic-state-1oOVJQJ4.js → zeni-epic-state-DR0XRPUQ.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-BQksD-qN-B6B4Peyk.js +0 -18
- package/dist/assets/ApprovalRulesSettingsPage-CGO_GK8B-BhyryZtC.js +0 -47
- package/dist/assets/CustomerOnboardingContainerPage-Dm4ySQZZ-BHJNR9KJ.js +0 -1
- package/dist/assets/ExpenseAutomationPage-CYKu1ufk-BzTo68eE.js +0 -1803
- package/dist/assets/InvoiceUploadSection-BwqSfbYC-DSYQ6WXZ.js +0 -140
- package/dist/assets/MagicLinkACHDetailsPage-pyI_8fZk-3BHiRs6S.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-leEpcwab-O5PQVsff.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CJRYlkvp-Ch9Obw_s.js +0 -1
- package/dist/assets/MailingDetailsSection-F1i0rBkv-84yBXYZi.js +0 -21
- package/dist/assets/ReimbursementDetailPage-D3qTbpPg-DWqpvN4c.js +0 -314
- package/dist/assets/SignInScreen-B6DcJ3oU.js +0 -1
- package/dist/assets/TransactionList-dUcT29oF-CywtUBOF.js +0 -153
- package/dist/assets/VendorACHDetailsPage-Cvek1Tr4-CzzV3ORJ.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-j-06hvAA-DPFaoVLs.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZusODVt-DtzcvocF.js +0 -1
- package/dist/assets/epic-BE_WS1px.js +0 -2
- package/dist/assets/mapSpacerToTreeNode-DZFRqtKk-CsPnOowL.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cm_MiRXt-CmRF5ht9.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DnvhN4Go-qLT8aEp1.js +0 -1
- package/dist/assets/toCOABalancesWithID-DxETcMNK-Bj7EoGl7.js +0 -1
- package/dist/assets/toChartData-BQYX2C7n-Cm6krZ2M.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as ft,F as oe,o as s,jz as qe,cj as Ie,cn as Ct,ga as Tt,ba as $t,bP as Je,aU as
|
|
1
|
+
import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as ft,F as oe,o as s,jz as qe,cj as Ie,cn as Ct,ga as Tt,ba as $t,bP as Je,aU as yt,ce as bt,J as le,a9 as jt,x as Qe,cH as vt,ad as St,b4 as Gt,cv as Lt,iV as Nt,iW as It,jA as ze,aS as Et,i as Me,bU as Ee,eQ as et,jB as Dt,d1 as tt,jC as pe,jD as xe,jE as we,jF as st,jG as Mt,jH as ot,jI as nt,jJ as at,jK as rt,jL as it,jM as U,u as ke,jN as re,aj as ie,jO as zt,jP as Bt,b as At,ao as Rt,jQ as Wt,dc as Ot,jR as Pt,cL as lt,es as Ft,w as Ht,jS as _t,jT as Ut,gb as Vt,gC as Kt,jU as Xt,jV as J,jW as Be,cx as Yt,jX as Zt,jY as qt,jZ as Jt,j_ as Ae,p as Re,gz as Qt,an as es}from"./index-D-BANbLd.js";import{a as n}from"./sentry-OhwUF_66.js";import{n as o,c as fe}from"./mui-AW-QpJ2k.js";import{GZ as ts,G_ as We,cd as dt,ce as ct,cf as ss}from"./zeni-epic-state-DR0XRPUQ.js";import{J as os,t as ns}from"./SpendManagementSection-C0tVpDka-7XRgMTMj.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-CVq2sl6h-Bw-0i4Ig.js";import{a as ds}from"./SpendManagementListViewPage-Bw49YHTs-B7x-SLHw.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./StatusSwitcher-2x-HpawS-rvUjyTH4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="95b0c030-a3d0-4e07-8fb0-3ec351e7a5fa",e._sentryDebugIdIdentifier="sentry-dbid-95b0c030-a3d0-4e07-8fb0-3ec351e7a5fa")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:h=ps,minScrollAmount:g=us,scrollCurveExponent:u=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),T=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>j(m),E=m=>{const G=Math.max(m,0)/c,y=Math.pow(G,u)*h;return Math.max(g,y)},k=(m,G,y)=>{const I=y==="up"?-G:G;m===window?window.scrollBy({top:I,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=I)},C=()=>e.current??window,w=()=>{if(!a)return;const m=C(),G=window.innerHeight,y=p;if(y<c&&y>0){const I=c-y,M=E(I);k(m,M,"up")}else if(y>G-c){const I=y-(G-c),M=E(I);k(m,M,"down")}i=requestAnimationFrame(w)},z=m=>{N(m)?a=!0:(a=!1,T())},B=()=>{a=!1,T()},A=m=>{a&&(p=m.clientY)},D=m=>{A(m),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",z),document.addEventListener("dragend",B),document.addEventListener("dragover",D),()=>{document.removeEventListener("dragstart",z),document.removeEventListener("dragend",B),document.removeEventListener("dragover",D),T()}},[r,d,g,e,u,h])},Se=oe.getLocalizedStrings(),pt=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),gs=o.div`
|
|
2
2
|
${e=>e.isCircular?fe`
|
|
3
3
|
height: 18px;
|
|
4
4
|
width: 18px;
|
|
@@ -44,7 +44,7 @@ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as f
|
|
|
44
44
|
`,$s=o(Je)`
|
|
45
45
|
width: ${s.sp3};
|
|
46
46
|
height: ${s.sp3};
|
|
47
|
-
`,
|
|
47
|
+
`,ys=oe.getLocalizedStrings().taskManagement.taskList.footer;function bs({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:g,onClose:u}){const a=()=>{u(),h()};return t.jsx(qe,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(js,{children:[t.jsx(vs,{children:e.map(p=>{const i=()=>{u(),g(p.id)};return t.jsx(Pe,{onClick:i,children:t.jsx(ie,{children:p.groupName})},p.id)})}),t.jsx(_,{controller:r==="groupName",children:t.jsxs(Pe,{onClick:a,children:[t.jsx(Ss,{}),t.jsx(ie,{children:ys.createGroup})]})})]})})}const js=o.div`
|
|
48
48
|
background-color: ${e=>e.theme.colors.grey5};
|
|
49
49
|
`,Pe=o.div`
|
|
50
50
|
padding: ${s.sp2} ${s.sp3};
|
|
@@ -243,7 +243,7 @@ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as f
|
|
|
243
243
|
text-overflow: ellipsis;
|
|
244
244
|
white-space: nowrap;
|
|
245
245
|
max-width: 336px;
|
|
246
|
-
`,{common:Le,dateFormat:uo,taskManagement:De}=oe.getLocalizedStrings(),ut={taskNameMaxWidth:new Qe(125,170,170,250,300)},ho=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:g,onShowToast:u})=>{const a=le(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Le.strings.empty,{getValues:T,resetField:j,getFieldState:N}=lt(),E=(k,C)=>{const w=Ae(k,C,we);N(w).invalid?j(w):g(e,{timeSpent:T(w)})};return t.jsxs(ko,{children:[t.jsxs(Go,{windowSize:a,onClick:h,responsiveWidth:J[0].width,children:[t.jsxs(Lo,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Do,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(No,{windowSize:a,responsiveWidth:J[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ve,{windowSize:a,responsiveWidth:J[1].width,children:Be(e.status.code)}),t.jsx(Ao,{windowSize:a,responsiveWidth:J[2].width,children:Be(e.priority.code)}),t.jsx(Ro,{windowSize:a,responsiveWidth:J[3].width,children:e.dueDate!=null?e.dueDate.format(uo.visual.MMMDCommaYYYYformat):t.jsx(xo,{children:Le.strings.hyphen})}),t.jsx(Ve,{windowSize:a,responsiveWidth:J[4].width,children:p>0?t.jsxs(wo,{children:[t.jsx(Yt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Mo,{children:t.jsx(zo,{children:c})}),p>1?t.jsx(fo,{children:`${Le.strings.plus}${p-1}`}):null]}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:J[5].width,children:e.tagIds.length>0?t.jsx(Bo,{children:Zt(e.tagIds,d)}):null}),t.jsx(Po,{windowSize:a,responsiveWidth:J[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Fo,{className:"timeSpentField",children:t.jsx(qt,{name:Ae(r,e.id,we),placeholder:De.common.timeSpentPlaceholder,timeSpentFormat:De.common.timeSpentFormat,registerOptions:{validate:k=>ss(k)>Jt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{E(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},mo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:g,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:T,onAddNewTaskToTaskGroup:j,onCollapseToggle:N,onTaskManagementRowClick:E,onDragStart:k,onTimeSpentUpdate:C,onShowToast:w})=>{const[z,B]=n.useState(null),A=le(),{setFocus:D}=lt(),m=n.useCallback(()=>{N(e.id)},[N,e.id]),G=n.useCallback(f=>{B(f.currentTarget)},[]),
|
|
246
|
+
`,{common:Le,dateFormat:uo,taskManagement:De}=oe.getLocalizedStrings(),ut={taskNameMaxWidth:new Qe(125,170,170,250,300)},ho=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:g,onShowToast:u})=>{const a=le(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Le.strings.empty,{getValues:T,resetField:j,getFieldState:N}=lt(),E=(k,C)=>{const w=Ae(k,C,we);N(w).invalid?j(w):g(e,{timeSpent:T(w)})};return t.jsxs(ko,{children:[t.jsxs(Go,{windowSize:a,onClick:h,responsiveWidth:J[0].width,children:[t.jsxs(Lo,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Do,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ee,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(No,{windowSize:a,responsiveWidth:J[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ve,{windowSize:a,responsiveWidth:J[1].width,children:Be(e.status.code)}),t.jsx(Ao,{windowSize:a,responsiveWidth:J[2].width,children:Be(e.priority.code)}),t.jsx(Ro,{windowSize:a,responsiveWidth:J[3].width,children:e.dueDate!=null?e.dueDate.format(uo.visual.MMMDCommaYYYYformat):t.jsx(xo,{children:Le.strings.hyphen})}),t.jsx(Ve,{windowSize:a,responsiveWidth:J[4].width,children:p>0?t.jsxs(wo,{children:[t.jsx(Yt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Mo,{children:t.jsx(zo,{children:c})}),p>1?t.jsx(fo,{children:`${Le.strings.plus}${p-1}`}):null]}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:J[5].width,children:e.tagIds.length>0?t.jsx(Bo,{children:Zt(e.tagIds,d)}):null}),t.jsx(Po,{windowSize:a,responsiveWidth:J[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Fo,{className:"timeSpentField",children:t.jsx(qt,{name:Ae(r,e.id,we),placeholder:De.common.timeSpentPlaceholder,timeSpentFormat:De.common.timeSpentFormat,registerOptions:{validate:k=>ss(k)>Jt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{E(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},mo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:g,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:T,onAddNewTaskToTaskGroup:j,onCollapseToggle:N,onTaskManagementRowClick:E,onDragStart:k,onTimeSpentUpdate:C,onShowToast:w})=>{const[z,B]=n.useState(null),A=le(),{setFocus:D}=lt(),m=n.useCallback(()=>{N(e.id)},[N,e.id]),G=n.useCallback(f=>{B(f.currentTarget)},[]),y=n.useCallback(()=>{B(null)},[]),I=n.useCallback(()=>{j(e.id)},[j,e.id]),M=n.useCallback(()=>{B(null),i(e.id)},[i,e.id]),x=n.useCallback(()=>{D(`${r}.groupName`),y()},[y,r,D]);return t.jsxs(go,{windowSize:A,children:[t.jsx(_,{controller:h,children:t.jsxs(Co,{children:[t.jsxs(To,{children:[t.jsx($o,{isOpen:a===!1,onClick:m,children:t.jsx(yo,{})}),t.jsx(Ft,{style:{textAlign:"start",width:"100%",background:"unset",...Ht.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:De.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:f=>_t(f,e.id,p)===!1},isDisabled:g&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(bo,{onClick:G,children:t.jsx(jo,{})}),t.jsx(Ut,{onClose:y,onAddTask:I,onCollapseAll:T,onDelete:M,onExpandAll:c,onRename:x,isDefault:e.isDefault,anchorEl:z})]})}),t.jsx(_,{controller:a===!1,children:t.jsx(Vt,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(f=>{const Y=()=>{E(f.id)};return{label:t.jsx(ho,{taskDetail:f,onRowClick:Y,tagList:d,onTimeSpentUpdate:C,onShowToast:w,sectionId:r}),prefix:A==="small"?null:t.jsx(vo,{children:t.jsx(So,{})}),value:f.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},go=o.div`
|
|
247
247
|
box-sizing: border-box;
|
|
248
248
|
display: flex;
|
|
249
249
|
flex-direction: column;
|
|
@@ -305,11 +305,11 @@ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as f
|
|
|
305
305
|
`,$o=o.div`
|
|
306
306
|
cursor: pointer;
|
|
307
307
|
transform: ${e=>e.isOpen?"rotate(0deg)":"rotate(-90deg)"};
|
|
308
|
-
`,
|
|
308
|
+
`,yo=o(et)`
|
|
309
309
|
width: ${s.sp3};
|
|
310
310
|
height: ${s.sp3};
|
|
311
311
|
color: ${e=>e.theme.colors.primary};
|
|
312
|
-
`,
|
|
312
|
+
`,bo=o.div`
|
|
313
313
|
cursor: pointer;
|
|
314
314
|
`,jo=o(Kt)`
|
|
315
315
|
width: ${s.sp3};
|
|
@@ -430,7 +430,7 @@ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as f
|
|
|
430
430
|
column-gap: ${s.sp2};
|
|
431
431
|
`,Fo=o.div`
|
|
432
432
|
max-width: ${s.sp11};
|
|
433
|
-
`,Ho=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=oe.getLocalizedStrings(),Ke=e=>`${e}_form`,_o={rowGap:new Qe(ke[0],ke[5],ke[5])},{common:{footer:Xe},taskManagement:Ne}=oe.getLocalizedStrings(),jn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:g,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:T,onSearchTextChanged:j,onBackClick:N,onNewTaskClick:E,onFiltersChange:k,resetLocalData:C,handleCreateGroup:w,assignGroupToTasks:z,onAddNewTaskToTaskGroup:B,onGroupByFilterChange:A,onTaskGroupRename:D,analytics:m,onTimeSpentUpdate:G,onShowToast:b,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:M,handleNewTaskInitialization:x,onTaskGroupNameClick:f})=>{const[Y,X]=n.useState(!1),[ee,P]=n.useState(null),[F,ne]=n.useState(null),[Z,ue]=n.useState(null),[Ce,de]=n.useState(null),[he,ae]=n.useState(!1),Te=kt(),{fetchState:te,uiState:q,filters:$e,userList:ce,taskGroupsWithTasksList:be}=e,{tagList:ye}=d,je=Ze(),ve=W=>{ae(W)},me=n.useCallback(W=>{de(W.currentTarget)},[]),ge=n.useCallback(W=>{A(W)},[A]),l=n.useCallback(()=>{A("groupName")},[A]),v=n.useCallback(W=>{x(W)},[x]),O=ce.users.map(W=>W.user).filter(W=>W!=null),S={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:he,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:q.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:me,onSearchOpen:ve,onSearchTextChanged:j,onFiltersChange:k,analytics:m,downloadState:"Not-Started",createdByUserListLoaded:ce.fetchState==="Completed"||ce.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(xs,{value:q.groupByKey,resetDisabled:q.groupByKey==="groupName",onChange:ge,onReset:l}),height:90},getFilterOptions:()=>ds("task_management",O,Te.loggedInUserRole??[],d.tagList)},L=n.useCallback(W=>{de(null),P(K),p({...e.localData,newTaskGroupName:W})},[e.localData,p]),R=n.useCallback(()=>{de(null)},[]),y=n.useCallback(()=>{F!=null&&a(F)},[F,a]),$=n.useCallback(()=>{P(K)},[]),se=n.useCallback(W=>{ue(gt=>gt===W?null:W)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&X(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&ue(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ht=()=>te==="Error"?t.jsxs(qo,{children:[t.jsx(Jo,{onClick:c,children:t.jsx(Qo,{})}),t.jsx(en,{children:H.common.reloadPage.label})]}):te==="Completed"&&be.length===0?t.jsx(Ct,{message:H.taskManagement.taskList.noDataText}):te==="Not-Started"||te==="In-Progress"?t.jsx(Tt,{fetchState:te}):t.jsx(Uo,{taskListView:e,tagList:ye,renameActiveField:ee,updateTask:g,onDragNDrop:u,onAddNewTaskToTaskGroup:B,onColumnSortConfigChanged:T,onTaskManagementRowClick:i,assignGroupToTasks:z,handleCreateGroup:w,resetLocalData:C,setGroupCreationInProgress:$,setShowDeleteModal:X,updateLocalData:p,setActiveTaskGroupId:ne,setRenameActiveField:P,onTaskGroupRename:D,onTimeSpentUpdate:G,onShowToast:b,onCreateTagClick:h,onTaskGroupNameClick:f}),mt=t.jsx(ns,{spendManagementSectionProps:S});return t.jsxs(Zo,{children:[t.jsx(xt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:je.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:mt,isSearchOpen:he,source:"TaskManagementPage"}),t.jsx(Ws,{anchorEl:Ce,groupByKey:q.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:R,onNewTaskClick:E,onNewGroupClick:L,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:M,onNewTaskInitialization:v,onExpandTemplate:se,expandedTemplate:Z}),t.jsx(Yo,{children:ht()}),t.jsx(_,{controller:Y===!0,children:t.jsx(wt,{action:{onOkClick:y,onCancelClick:()=>{X(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(an,{children:t.jsx(ft,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(rn,{children:t.jsx(V,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Uo=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:g,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:T,assignGroupToTasks:j,setGroupCreationInProgress:N,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,setActiveTaskGroupId:w,onTimeSpentUpdate:z,onShowToast:B,onCreateTagClick:A,onTaskGroupNameClick:D})=>{const m=n.useRef(null);yt({componentName:"task.management.list"});const[G,b]=n.useState(null),I=n.useRef({}),M=le(),{localData:x,taskGroupsWithTasksList:f,uiState:Y}=e,[X,ee]=n.useState([]),P=n.useRef(null);ms({scrollContainerRef:P,isEnabled:M!=="small"});const F=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),ne=jt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d])}),Z=n.useMemo(()=>{if(r!==K)return f;const l=[],v=f.map(O=>{const S=O.tasks.filter(L=>{const R=x.selectedTaskIds.includes(L.id)===!0;return R&&l.push(L),R===!1});return{...O,tasks:S}});return v.unshift({groupName:"",isDefault:!1,id:K,tasks:l}),v},[r,f,x.selectedTaskIds]),ue=n.useCallback(l=>X.includes(Z[l].id)||Z[l].tasks.length===0?100:I.current?.[l]!=null?I.current[l]+_o.rowGap.value(M):(as*1+rs)*3+is+ls,[X,Z,M]),Ce=n.useCallback(l=>{b(l.currentTarget)},[]),de=n.useCallback((l,v)=>{I.current={...I.current,[l]:v},m.current?.resetAfterIndex(0,!0)},[M,m,f]),he=n.useCallback(l=>{ee(v=>v.includes(l)?v.filter(O=>l!==O):[...v,l]),m.current?.resetAfterIndex(0,!0)},[]),ae=n.useCallback(()=>{b(null)},[]),Te=n.useCallback(()=>{ee(f.map(l=>l.id)),m.current?.resetAfterIndex(0,!0)},[f]),te=n.useCallback(()=>{ee([]),m.current?.resetAfterIndex(0,!0)},[]),q=n.useCallback(()=>{N(),m.current?.scrollTo(0),ae()},[ae,N]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),ce=n.useCallback(()=>{x.selectedTaskIds.length>0?r!==K?q():c(!0):r===K?c(!1):r!=null&&g(r,x.existingTaskGroupNamesByGroupId[r])},[x.selectedTaskIds.length,x.existingTaskGroupNamesByGroupId,r,q,c,g]),be=n.useCallback(()=>{u(null),T()},[T,u]),ye=n.useCallback(l=>{T(),u(l)},[T,u]),je=n.useCallback(()=>{x.defaultTaskGroupId!=null&&j(x.defaultTaskGroupId)},[j,x.defaultTaskGroupId]),ve=async(l,v)=>{if(l.includes(at)){const S=l.split(".")[2],L=f.flatMap(y=>y.tasks).find(y=>y.id===S),R=v[U][re][S].priority.selectedOption;if(L!=null&&R!=null){const y=dt.find($=>$.code===R);y!=null&&h(L,{priority:y})}return}if(l.includes(rt)){const S=l.split(".")[2],L=f.flatMap(y=>y.tasks).find(y=>y.id===S),R=v[U][re][S].status.selectedOption;if(L!=null&&R!=null){const y=ct.find($=>$.code===R);L!=null&&y!=null&&h(L,{status:y})}return}if(l.includes(ot)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,y=v[U][re][S].assignees.selectedUsers.map($=>$.userId);R!=null&&y!=null&&L!=null&&h(L,{assignees:y});return}if(l.includes(nt)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,y=v[U][re][S].dueDate.date;R!=null&&y!=null&&L!=null&&h(L,{dueDate:y});return}if(l.includes(st)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,y=v[U][re][S].tags.selectedOptions;R!=null&&y!=null&&L!=null&&h(L,{tagIds:y});return}l.includes(we)&&ne.trigger(l);const O=Xo(l,v,x);p(O)};n.useEffect(()=>{const l=ne.watch((v,{name:O})=>{O!=null&&v!=null&&vt(()=>ve(O,v))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const me=f.length>1&&x.selectedTaskIds.length>0&&r!==K,ge=x.newTaskGroupName.length>0||x.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(St,{...ne,children:t.jsx("form",{id:Ke(ze),onSubmit:ne.handleSubmit(ce),style:{width:"100%"},children:t.jsx(tn,{isFooterVisible:ge,windowSize:M,children:t.jsx(Gt,{children:({height:l,width:v})=>t.jsx(Lt,{ref:m,outerRef:P,height:l,itemCount:Z.length,itemSize:ue,estimatedItemSize:It,itemKey:O=>Z[O].id,width:v,overscanCount:Nt,itemData:{tagList:d,taskGroupsWithTasksList:Z,uiState:Y,collapsedGroups:X,userList:e.userList,renameActiveField:r,selectedRowIds:x.selectedTaskIds,existingTaskGroupNamesByGroupId:x.existingTaskGroupNamesByGroupId,onRenameClick:ye,handleOnDragNDrop:a,onCollapseToggle:he,setRowHeight:de,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,onCollapseAll:Te,onDeleteTaskGroup:$e,onExpandAll:te,onTimeSpentUpdate:z,onShowToast:B,onCreateTagClick:A,onTaskGroupNameClick:D},initialScrollOffset:0,children:Vo})})})})}),ge?t.jsx(Et,{formId:Ke(ze),primaryBtn:{label:f.length===1&&x.selectedTaskIds.length>0&&r!==K?Ne.taskList.footer.createGroup:Xe.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Xe.cancel,style:{width:"135px"},onClick:be},helperContainerStyle:M==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:M!=="small"&&x.selectedTaskIds.length>0,children:t.jsxs(on,{children:[t.jsx(pt,{count:x.selectedTaskIds.length}),t.jsx(nn,{children:x.selectedTaskIds.length>1?Ne.taskList.footer.tasksSelected:Ne.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:M!=="small"&&x.selectedTaskIds.length>0,children:t.jsx(dn,{children:t.jsx(Ee,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(ln,{onClick:je})})})}),showPrimaryButton:me===!1,customPrimaryButton:me?t.jsxs(t.Fragment,{children:[t.jsx(Me,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:Ce,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(ys,{taskGroupsList:f,anchorEl:G,groupByKey:Y.groupByKey,onCreateNewGroup:q,onExistingGroupSelection:l=>{ae(),j(l)},onClose:ae})]}):void 0}):null]})},Vo=({index:e,style:d,data:r})=>{const h=n.useRef(null),g=le(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:T,onTaskManagementRowClick:j,setRowHeight:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:z,handleOnDragNDrop:B,onRenameClick:A,userList:D,selectedRowIds:m,existingTaskGroupNamesByGroupId:G,onTimeSpentUpdate:b,onShowToast:I,onCreateTagClick:M,onTaskGroupNameClick:x}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&N(e,h.current.firstElementChild.clientHeight)},[e,h,g,a[e]?.tasks]);const f=n.useCallback(P=>{const F=P.dataTransfer.getData("row");B(F,a[e].id)},[B,e,a]),Y=n.useCallback(P=>{P.preventDefault()},[]),X=(P,F)=>{P.dataTransfer.setData("row",F)},ee=()=>{A(a[e].id)};return t.jsx(sn,{style:{...d,width:"100%"},ref:h,onDrop:f,onDragOver:Y,children:t.jsx(Ko,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:T,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:z,onExpandAll:C,selectedRowIds:m,userList:D,existingTaskGroupNamesByGroupId:G,onDragStart:X,onRenameClick:ee,onTimeSpentUpdate:b,onShowToast:I,onCreateTagClick:M,onTaskGroupNameClick:x},a[e].id)})},Ko=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:T,onTaskManagementRowClick:j,onCollapseToggle:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:z,onDragStart:B,onTimeSpentUpdate:A,onShowToast:D,onCreateTagClick:m,onTaskGroupNameClick:G})=>{const b=le(),I=b==="medium-regular"||b==="medium-compact"||b==="small"?mo:Pt;return t.jsx(I,{taskGroup:e,tagList:d,userList:i,sectionId:U,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:z,onExpandAll:C,onCollapseToggle:N,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onDragStart:B,onRenameClick:T,onTimeSpentUpdate:A,onShowToast:D,onCreateTagClick:m,onTaskGroupNameClick:G})},Ye=(e,d,r,h)=>{const g={},u={};e.forEach(p=>{u[p.id]={[xe]:[],[pe]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),g[i.id]={[rt]:{selectedOption:i.status.code,allOptions:ct.map(c=>({label:c.name,value:c.code}))},[at]:{selectedOption:i.priority.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{date:i.dueDate,showBusinessDay:!1},[ot]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[st]:{allOptions:Mt(h),selectedOptions:i.tagIds},[we]:i.timeSpent}})});const a={[it]:{[K]:{[pe]:d.newTaskGroupName,[xe]:[]},...u},[re]:g};return{[U]:a}},Xo=(e,d,r)=>{if(e.includes(U)){const h=e.split(".")[2];if(e.includes(pe))return e.includes(K)?{...r,newTaskGroupName:d[U].groupData[h][pe]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[U].groupData[h][pe]}};if(e.includes(xe)){const g=Wt(Ot(Object.values(d[U][it]),xe)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:g}}}return r},Yo=o.div`
|
|
433
|
+
`,Ho=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=oe.getLocalizedStrings(),Ke=e=>`${e}_form`,_o={rowGap:new Qe(ke[0],ke[5],ke[5])},{common:{footer:Xe},taskManagement:Ne}=oe.getLocalizedStrings(),jn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:g,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:T,onSearchTextChanged:j,onBackClick:N,onNewTaskClick:E,onFiltersChange:k,resetLocalData:C,handleCreateGroup:w,assignGroupToTasks:z,onAddNewTaskToTaskGroup:B,onGroupByFilterChange:A,onTaskGroupRename:D,analytics:m,onTimeSpentUpdate:G,onShowToast:y,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:M,handleNewTaskInitialization:x,onTaskGroupNameClick:f})=>{const[Y,X]=n.useState(!1),[ee,P]=n.useState(null),[F,ne]=n.useState(null),[Z,ue]=n.useState(null),[Ce,de]=n.useState(null),[he,ae]=n.useState(!1),Te=kt(),{fetchState:te,uiState:q,filters:$e,userList:ce,taskGroupsWithTasksList:ye}=e,{tagList:be}=d,je=Ze(),ve=W=>{ae(W)},me=n.useCallback(W=>{de(W.currentTarget)},[]),ge=n.useCallback(W=>{A(W)},[A]),l=n.useCallback(()=>{A("groupName")},[A]),v=n.useCallback(W=>{x(W)},[x]),O=ce.users.map(W=>W.user).filter(W=>W!=null),S={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:he,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:q.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:me,onSearchOpen:ve,onSearchTextChanged:j,onFiltersChange:k,analytics:m,downloadState:"Not-Started",createdByUserListLoaded:ce.fetchState==="Completed"||ce.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(xs,{value:q.groupByKey,resetDisabled:q.groupByKey==="groupName",onChange:ge,onReset:l}),height:90},getFilterOptions:()=>ds("task_management",O,Te.loggedInUserRole??[],d.tagList)},L=n.useCallback(W=>{de(null),P(K),p({...e.localData,newTaskGroupName:W})},[e.localData,p]),R=n.useCallback(()=>{de(null)},[]),b=n.useCallback(()=>{F!=null&&a(F)},[F,a]),$=n.useCallback(()=>{P(K)},[]),se=n.useCallback(W=>{ue(gt=>gt===W?null:W)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&X(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&ue(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ht=()=>te==="Error"?t.jsxs(qo,{children:[t.jsx(Jo,{onClick:c,children:t.jsx(Qo,{})}),t.jsx(en,{children:H.common.reloadPage.label})]}):te==="Completed"&&ye.length===0?t.jsx(Ct,{message:H.taskManagement.taskList.noDataText}):te==="Not-Started"||te==="In-Progress"?t.jsx(Tt,{fetchState:te}):t.jsx(Uo,{taskListView:e,tagList:be,renameActiveField:ee,updateTask:g,onDragNDrop:u,onAddNewTaskToTaskGroup:B,onColumnSortConfigChanged:T,onTaskManagementRowClick:i,assignGroupToTasks:z,handleCreateGroup:w,resetLocalData:C,setGroupCreationInProgress:$,setShowDeleteModal:X,updateLocalData:p,setActiveTaskGroupId:ne,setRenameActiveField:P,onTaskGroupRename:D,onTimeSpentUpdate:G,onShowToast:y,onCreateTagClick:h,onTaskGroupNameClick:f}),mt=t.jsx(ns,{spendManagementSectionProps:S});return t.jsxs(Zo,{children:[t.jsx(xt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:je.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:mt,isSearchOpen:he,source:"TaskManagementPage"}),t.jsx(Ws,{anchorEl:Ce,groupByKey:q.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:R,onNewTaskClick:E,onNewGroupClick:L,handleGroupTemplateClick:I,handleGroupTemplateTaskClick:M,onNewTaskInitialization:v,onExpandTemplate:se,expandedTemplate:Z}),t.jsx(Yo,{children:ht()}),t.jsx(_,{controller:Y===!0,children:t.jsx(wt,{action:{onOkClick:b,onCancelClick:()=>{X(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(an,{children:t.jsx(ft,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(rn,{children:t.jsx(V,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Uo=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:g,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:T,assignGroupToTasks:j,setGroupCreationInProgress:N,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,setActiveTaskGroupId:w,onTimeSpentUpdate:z,onShowToast:B,onCreateTagClick:A,onTaskGroupNameClick:D})=>{const m=n.useRef(null);bt({componentName:"task.management.list"});const[G,y]=n.useState(null),I=n.useRef({}),M=le(),{localData:x,taskGroupsWithTasksList:f,uiState:Y}=e,[X,ee]=n.useState([]),P=n.useRef(null);ms({scrollContainerRef:P,isEnabled:M!=="small"});const F=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),ne=jt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,x,F,d),[x,e.taskGroupsWithTasksList,F,d])}),Z=n.useMemo(()=>{if(r!==K)return f;const l=[],v=f.map(O=>{const S=O.tasks.filter(L=>{const R=x.selectedTaskIds.includes(L.id)===!0;return R&&l.push(L),R===!1});return{...O,tasks:S}});return v.unshift({groupName:"",isDefault:!1,id:K,tasks:l}),v},[r,f,x.selectedTaskIds]),ue=n.useCallback(l=>X.includes(Z[l].id)||Z[l].tasks.length===0?100:I.current?.[l]!=null?I.current[l]+_o.rowGap.value(M):(as*1+rs)*3+is+ls,[X,Z,M]),Ce=n.useCallback(l=>{y(l.currentTarget)},[]),de=n.useCallback((l,v)=>{I.current={...I.current,[l]:v},m.current?.resetAfterIndex(0,!0)},[M,m,f]),he=n.useCallback(l=>{ee(v=>v.includes(l)?v.filter(O=>l!==O):[...v,l]),m.current?.resetAfterIndex(0,!0)},[]),ae=n.useCallback(()=>{y(null)},[]),Te=n.useCallback(()=>{ee(f.map(l=>l.id)),m.current?.resetAfterIndex(0,!0)},[f]),te=n.useCallback(()=>{ee([]),m.current?.resetAfterIndex(0,!0)},[]),q=n.useCallback(()=>{N(),m.current?.scrollTo(0),ae()},[ae,N]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),ce=n.useCallback(()=>{x.selectedTaskIds.length>0?r!==K?q():c(!0):r===K?c(!1):r!=null&&g(r,x.existingTaskGroupNamesByGroupId[r])},[x.selectedTaskIds.length,x.existingTaskGroupNamesByGroupId,r,q,c,g]),ye=n.useCallback(()=>{u(null),T()},[T,u]),be=n.useCallback(l=>{T(),u(l)},[T,u]),je=n.useCallback(()=>{x.defaultTaskGroupId!=null&&j(x.defaultTaskGroupId)},[j,x.defaultTaskGroupId]),ve=async(l,v)=>{if(l.includes(at)){const S=l.split(".")[2],L=f.flatMap(b=>b.tasks).find(b=>b.id===S),R=v[U][re][S].priority.selectedOption;if(L!=null&&R!=null){const b=dt.find($=>$.code===R);b!=null&&h(L,{priority:b})}return}if(l.includes(rt)){const S=l.split(".")[2],L=f.flatMap(b=>b.tasks).find(b=>b.id===S),R=v[U][re][S].status.selectedOption;if(L!=null&&R!=null){const b=ct.find($=>$.code===R);L!=null&&b!=null&&h(L,{status:b})}return}if(l.includes(ot)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,b=v[U][re][S].assignees.selectedUsers.map($=>$.userId);R!=null&&b!=null&&L!=null&&h(L,{assignees:b});return}if(l.includes(nt)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,b=v[U][re][S].dueDate.date;R!=null&&b!=null&&L!=null&&h(L,{dueDate:b});return}if(l.includes(st)){const S=l.split(".")[2],L=f.flatMap($=>$.tasks).find($=>$.id===S),R=f.find($=>$.tasks.find(se=>se.id===S))?.id,b=v[U][re][S].tags.selectedOptions;R!=null&&b!=null&&L!=null&&h(L,{tagIds:b});return}l.includes(we)&&ne.trigger(l);const O=Xo(l,v,x);p(O)};n.useEffect(()=>{const l=ne.watch((v,{name:O})=>{O!=null&&v!=null&&vt(()=>ve(O,v))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const me=f.length>1&&x.selectedTaskIds.length>0&&r!==K,ge=x.newTaskGroupName.length>0||x.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(St,{...ne,children:t.jsx("form",{id:Ke(ze),onSubmit:ne.handleSubmit(ce),style:{width:"100%"},children:t.jsx(tn,{isFooterVisible:ge,windowSize:M,children:t.jsx(Gt,{children:({height:l,width:v})=>t.jsx(Lt,{ref:m,outerRef:P,height:l,itemCount:Z.length,itemSize:ue,estimatedItemSize:It,itemKey:O=>Z[O].id,width:v,overscanCount:Nt,itemData:{tagList:d,taskGroupsWithTasksList:Z,uiState:Y,collapsedGroups:X,userList:e.userList,renameActiveField:r,selectedRowIds:x.selectedTaskIds,existingTaskGroupNamesByGroupId:x.existingTaskGroupNamesByGroupId,onRenameClick:be,handleOnDragNDrop:a,onCollapseToggle:he,setRowHeight:de,onTaskManagementRowClick:E,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:C,onCollapseAll:Te,onDeleteTaskGroup:$e,onExpandAll:te,onTimeSpentUpdate:z,onShowToast:B,onCreateTagClick:A,onTaskGroupNameClick:D},initialScrollOffset:0,children:Vo})})})})}),ge?t.jsx(Et,{formId:Ke(ze),primaryBtn:{label:f.length===1&&x.selectedTaskIds.length>0&&r!==K?Ne.taskList.footer.createGroup:Xe.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Xe.cancel,style:{width:"135px"},onClick:ye},helperContainerStyle:M==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:M!=="small"&&x.selectedTaskIds.length>0,children:t.jsxs(on,{children:[t.jsx(pt,{count:x.selectedTaskIds.length}),t.jsx(nn,{children:x.selectedTaskIds.length>1?Ne.taskList.footer.tasksSelected:Ne.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:M!=="small"&&x.selectedTaskIds.length>0,children:t.jsx(dn,{children:t.jsx(Ee,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(ln,{onClick:je})})})}),showPrimaryButton:me===!1,customPrimaryButton:me?t.jsxs(t.Fragment,{children:[t.jsx(Me,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:Ce,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(bs,{taskGroupsList:f,anchorEl:G,groupByKey:Y.groupByKey,onCreateNewGroup:q,onExistingGroupSelection:l=>{ae(),j(l)},onClose:ae})]}):void 0}):null]})},Vo=({index:e,style:d,data:r})=>{const h=n.useRef(null),g=le(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:T,onTaskManagementRowClick:j,setRowHeight:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:z,handleOnDragNDrop:B,onRenameClick:A,userList:D,selectedRowIds:m,existingTaskGroupNamesByGroupId:G,onTimeSpentUpdate:y,onShowToast:I,onCreateTagClick:M,onTaskGroupNameClick:x}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&N(e,h.current.firstElementChild.clientHeight)},[e,h,g,a[e]?.tasks]);const f=n.useCallback(P=>{const F=P.dataTransfer.getData("row");B(F,a[e].id)},[B,e,a]),Y=n.useCallback(P=>{P.preventDefault()},[]),X=(P,F)=>{P.dataTransfer.setData("row",F)},ee=()=>{A(a[e].id)};return t.jsx(sn,{style:{...d,width:"100%"},ref:h,onDrop:f,onDragOver:Y,children:t.jsx(Ko,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:T,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:z,onExpandAll:C,selectedRowIds:m,userList:D,existingTaskGroupNamesByGroupId:G,onDragStart:X,onRenameClick:ee,onTimeSpentUpdate:y,onShowToast:I,onCreateTagClick:M,onTaskGroupNameClick:x},a[e].id)})},Ko=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:T,onTaskManagementRowClick:j,onCollapseToggle:N,onColumnSortConfigChanged:E,onCollapseAll:k,onExpandAll:C,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:z,onDragStart:B,onTimeSpentUpdate:A,onShowToast:D,onCreateTagClick:m,onTaskGroupNameClick:G})=>{const y=le(),I=y==="medium-regular"||y==="medium-compact"||y==="small"?mo:Pt;return t.jsx(I,{taskGroup:e,tagList:d,userList:i,sectionId:U,showGroupName:r,uiState:h,showRenameTextField:g,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:z,onExpandAll:C,onCollapseToggle:N,onTaskManagementRowClick:j,onColumnSortConfigChanged:E,onDragStart:B,onRenameClick:T,onTimeSpentUpdate:A,onShowToast:D,onCreateTagClick:m,onTaskGroupNameClick:G})},Ye=(e,d,r,h)=>{const g={},u={};e.forEach(p=>{u[p.id]={[xe]:[],[pe]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),g[i.id]={[rt]:{selectedOption:i.status.code,allOptions:ct.map(c=>({label:c.name,value:c.code}))},[at]:{selectedOption:i.priority.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{date:i.dueDate,showBusinessDay:!1},[ot]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[st]:{allOptions:Mt(h),selectedOptions:i.tagIds},[we]:i.timeSpent}})});const a={[it]:{[K]:{[pe]:d.newTaskGroupName,[xe]:[]},...u},[re]:g};return{[U]:a}},Xo=(e,d,r)=>{if(e.includes(U)){const h=e.split(".")[2];if(e.includes(pe))return e.includes(K)?{...r,newTaskGroupName:d[U].groupData[h][pe]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[U].groupData[h][pe]}};if(e.includes(xe)){const g=Wt(Ot(Object.values(d[U][it]),xe)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:g}}}return r},Yo=o.div`
|
|
434
434
|
display: block;
|
|
435
435
|
height: 100%;
|
|
436
436
|
`,Zo=o.div`
|
|
@@ -464,7 +464,7 @@ import{ax as kt,y as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as f
|
|
|
464
464
|
&:hover {
|
|
465
465
|
color: ${e=>e.theme.colors.primary};
|
|
466
466
|
}
|
|
467
|
-
`,en=o(
|
|
467
|
+
`,en=o(yt)`
|
|
468
468
|
margin-top: ${s.sp3};
|
|
469
469
|
color: ${e=>e.theme.colors.hero};
|
|
470
470
|
`,tn=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b4 as B,aF as S,dm as V,bs as H,o as
|
|
1
|
+
import{V as t,b4 as B,aF as S,dm as V,bs as H,o as d,aj as L}from"./index-D-BANbLd.js";import{a as n}from"./sentry-OhwUF_66.js";import{n as g}from"./mui-AW-QpJ2k.js";import{Y as q}from"./core-IgaX3lD-.js";import{O as U}from"./CollapsableReportTable-CKZMra2N-DVHlppQA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="119ad5a7-805f-4ee5-91f3-acb89db49075",e._sentryDebugIdIdentifier="sentry-dbid-119ad5a7-805f-4ee5-91f3-acb89db49075")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: flex-start;
|
|
@@ -25,8 +25,8 @@ import{V as t,b4 as B,aF as S,dm as V,bs as H,o as c,aj as L}from"./index-BPv2nR
|
|
|
25
25
|
position: relative;
|
|
26
26
|
scrollbar-width: none;
|
|
27
27
|
`,J=g(L)``,K=g.div`
|
|
28
|
-
top: ${
|
|
29
|
-
left: ${
|
|
28
|
+
top: ${d.sp0};
|
|
29
|
+
left: ${d.sp0};
|
|
30
30
|
width: calc(${e=>h*e.numberOfTicksSelected}px);
|
|
31
31
|
position: absolute;
|
|
32
32
|
height: ${p}px;
|
|
@@ -34,19 +34,19 @@ import{V as t,b4 as B,aF as S,dm as V,bs as H,o as c,aj as L}from"./index-BPv2nR
|
|
|
34
34
|
.slider-icon {
|
|
35
35
|
fill: ${e=>e.theme.colors.grey1};
|
|
36
36
|
}
|
|
37
|
-
border-radius: ${
|
|
38
|
-
border-left: ${
|
|
39
|
-
border-right: ${
|
|
37
|
+
border-radius: ${d.sp2};
|
|
38
|
+
border-left: ${d.sp0};
|
|
39
|
+
border-right: ${d.sp0};
|
|
40
40
|
&:hover {
|
|
41
41
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
42
|
-
border-radius: ${
|
|
43
|
-
border-left: ${
|
|
44
|
-
border-right: ${
|
|
42
|
+
border-radius: ${d.sp2};
|
|
43
|
+
border-left: ${d.sp0};
|
|
44
|
+
border-right: ${d.sp0};
|
|
45
45
|
.slider-icon {
|
|
46
46
|
fill: ${e=>e.theme.colors.primary};
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
line-height: ${
|
|
49
|
+
line-height: ${d.sp0};
|
|
50
50
|
pointer-events: none;
|
|
51
51
|
box-sizing: border-box;
|
|
52
52
|
`,Q=g.div`
|
|
@@ -61,4 +61,4 @@ import{V as t,b4 as B,aF as S,dm as V,bs as H,o as c,aj as L}from"./index-BPv2nR
|
|
|
61
61
|
cursor: pointer;
|
|
62
62
|
pointer-events: all;
|
|
63
63
|
color: ${e=>e.theme.colors.grey5};
|
|
64
|
-
`;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:l,tick:r,tickIndex:u,isSelected:a,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:a,onClick:()=>{f(r,u,l)},children:t.jsx(J,{children:U(s,r,l)})})}function ne(e,s,l,r,u){const a=s-e,f=Math.floor(e/h)+Math.round(a/h),w=f+l.length-r.length,x=f+l.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:l.length},fromEnd:{offsetFromEnd:b,length:l.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let l={startIndex:0,length:0};if(oe(e))l=e;else{const r=e.length;l={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return l}function le({width:e,firstMonthOfFY:s,timeframe:l,timeframeTicks:r,isEnabled:u,selection:a,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[i,T]=n.useState(I(a.selectedTicks,r)),$=n.useRef(i.startIndex);n.useEffect(()=>{$.current=i.startIndex});const[y,O]=n.useState(a.highlightedOfSelectedTicks),C=(i.startIndex+i.length>r.length?Math.max(r.length-i.length,0):i.startIndex)*h,[E,F]=n.useState({x:C,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(a.selectedTicks,r);if(!S(i,o)){T(o);const
|
|
64
|
+
`;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:l,tick:r,tickIndex:u,isSelected:a,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:a,onClick:()=>{f(r,u,l)},children:t.jsx(J,{children:U(s,r,l)})})}function ne(e,s,l,r,u){const a=s-e,f=Math.floor(e/h)+Math.round(a/h),w=f+l.length-r.length,x=f+l.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:l.length},fromEnd:{offsetFromEnd:b,length:l.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let l={startIndex:0,length:0};if(oe(e))l=e;else{const r=e.length;l={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return l}function le({width:e,firstMonthOfFY:s,timeframe:l,timeframeTicks:r,isEnabled:u,selection:a,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[i,T]=n.useState(I(a.selectedTicks,r)),$=n.useRef(i.startIndex);n.useEffect(()=>{$.current=i.startIndex});const[y,O]=n.useState(a.highlightedOfSelectedTicks),C=(i.startIndex+i.length>r.length?Math.max(r.length-i.length,0):i.startIndex)*h,[E,F]=n.useState({x:C,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(a.selectedTicks,r);if(!S(i,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,a.highlightedOfSelectedTicks)||O(a.highlightedOfSelectedTicks)},[i,y,a,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=i;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,i]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},D=(o,c)=>{const m=ne(E.x,c.x,i,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,l,r)},R=({index:o,style:c})=>{const m=r[o],{startIndex:v,length:Y}=y,_=o>=v&&o<v+Y;return t.jsx("div",{style:{...c},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:l,tick:m,tickIndex:o,isSelected:_,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:R}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(V,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-i.length)*h},grid:[1,0],scale:1,onStop:D,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:i.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(B,{children:({width:s})=>t.jsx(le,{...e,width:s})})})}export{p as a,he as p};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,o as t,aj as p,F as u}from"./index-
|
|
1
|
+
import{V as r,o as t,aj as p,F as u}from"./index-D-BANbLd.js";import{n as d}from"./mui-AW-QpJ2k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7cef7fb4-ab16-4933-badc-5cef595225cd",e._sentryDebugIdIdentifier="sentry-dbid-7cef7fb4-ab16-4933-badc-5cef595225cd")}catch{}})();const g=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as d,V as i,x as
|
|
1
|
+
import{J as d,V as i,x as n,aj as u,bK as w}from"./index-D-BANbLd.js";import{n as a}from"./mui-AW-QpJ2k.js";import{j as l}from"./TimeframeSwitcher-ncxeqCrX-BswygR8z.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6121bddf-063c-4959-bd0b-52656ccafe5f",e._sentryDebugIdIdentifier="sentry-dbid-6121bddf-063c-4959-bd0b-52656ccafe5f")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),x=a(b)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>i.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -11,8 +11,8 @@ import{J as d,V as i,x as c,aj as u,bK as w}from"./index-BPv2nRQb.js";import{n a
|
|
|
11
11
|
flex-direction: row;
|
|
12
12
|
flex: 1 1 auto;
|
|
13
13
|
justify-content: center;
|
|
14
|
-
padding-left: ${e=>
|
|
15
|
-
padding-bottom: ${e=>
|
|
14
|
+
padding-left: ${e=>c.timeframePaddingLeft.valuePx(e.windowSize)};
|
|
15
|
+
padding-bottom: ${e=>c.timeframePaddingBottom.valuePx(e.windowSize)};
|
|
16
16
|
`,k=a.div`
|
|
17
17
|
display: flex;
|
|
18
18
|
width: 100%;
|
|
@@ -28,4 +28,4 @@ import{J as d,V as i,x as c,aj as u,bK as w}from"./index-BPv2nRQb.js";import{n a
|
|
|
28
28
|
`,T=a(u)`
|
|
29
29
|
color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
|
|
30
30
|
opacity: ${e=>e.isDisabled?.5:1};
|
|
31
|
-
`,f=({label:e,isOn:o,isToggleDisabled:r,onValueChanged:g})=>i.jsxs(i.Fragment,{children:[i.jsx(T,{isOn:o,isDisabled:r===!0,children:e}),i.jsx(
|
|
31
|
+
`,f=({label:e,isOn:o,isToggleDisabled:r,onValueChanged:g})=>i.jsxs(i.Fragment,{children:[i.jsx(T,{isOn:o,isDisabled:r===!0,children:e}),i.jsx(p,{checked:o,edge:"end",disabled:r===!0,disableRipple:r===!0,onChange:h=>{g(h.target.checked)}})]}),C=e=>{const o=d();return i.jsxs(y,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{containerDataTestId:e.timeframeSwitcherDataTestId,selectedTimeframe:e.timeframe.selectedTimeframe,timeframes:e.timeframe.allowedTimeframes,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(k,{"data-testid":e.compareToggleDataTestId,children:i.jsx(f,{...e.toggle})})]})},I=e=>{const o=d();return i.jsxs($,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{containerDataTestId:e.timeframeSwitcherDataTestId,selectedTimeframe:e.timeframe.selectedTimeframe,timeframes:e.timeframe.allowedTimeframes,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(j,{"data-testid":e.compareToggleDataTestId,children:i.jsx(f,{...e.toggle})})]})};function D(e){const o=d();return o==="small"||o==="medium-compact"?i.jsx(C,{...e}):i.jsx(I,{...e})}export{D as I};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aF as z,J as M,V as t,y as x,u as f,w as T,aZ as H,aP as R,aN as F,o as p,aj as C,ba as U,am as X,F as S,aO as Y,aT as E,b3 as G,b4 as N,ab as
|
|
1
|
+
import{aF as z,J as M,V as t,y as x,u as f,w as T,aZ as H,aP as R,aN as F,o as p,aj as C,ba as U,am as X,F as S,aO as Y,aT as E,b3 as G,b4 as N,ab as Q,aU as q,bS as J}from"./index-D-BANbLd.js";import{P as w,a as W}from"./sentry-OhwUF_66.js";import{FQ as Z}from"./zeni-epic-state-DR0XRPUQ.js";import{n as g}from"./mui-AW-QpJ2k.js";import{I as ee,T as te}from"./ReloadCard-B1sDYISv-yIhOaL2x.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-DMvuiJwA.js";import{H as k,X as $,Y as L,K,O as P,Q as ne,S as oe}from"./recharts-DPPWeTqd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="aa3cd51a-40fb-4846-889f-3d35297db668",e._sentryDebugIdIdentifier="sentry-dbid-aa3cd51a-40fb-4846-889f-3d35297db668")}catch{}})();const ie=g(E)`
|
|
2
2
|
justify-content: space-between;
|
|
3
3
|
margin: 0;
|
|
4
4
|
height: ${e=>e.height!=null?e.height+"px":"auto"};
|
|
@@ -6,14 +6,14 @@ import{aF as z,J as M,V as t,y as x,u as f,w as T,aZ as H,aP as R,aN as F,o as p
|
|
|
6
6
|
`,se=g.div``,le=g(C)`
|
|
7
7
|
color: ${e=>e.theme.colors.hero};
|
|
8
8
|
margin: ${p.sp2} ${p.sp0} ${p.sp2} ${p.sp0};
|
|
9
|
-
`,ce=({width:e,height:n,label:r})=>{const l=x();return t.jsxs(ie,{height:n,width:e,children:[t.jsx(se,{}),l.mode==="light"?t.jsx(ae,{style:{marginBottom:p.sp4}}):t.jsx(re,{style:{marginBottom:p.sp4}}),t.jsx(le,{children:r})]})},de=g.div``;function he({allowedValues:e,timeframeSelected:n,onTimeframeChanged:r,textStyle:l}){const i=o=>S.getLocalizedStrings().timeframe[o];return t.jsx(de,{onClick:o=>o.stopPropagation(),children:t.jsx(
|
|
9
|
+
`,ce=({width:e,height:n,label:r})=>{const l=x();return t.jsxs(ie,{height:n,width:e,children:[t.jsx(se,{}),l.mode==="light"?t.jsx(ae,{style:{marginBottom:p.sp4}}):t.jsx(re,{style:{marginBottom:p.sp4}}),t.jsx(le,{children:r})]})},de=g.div``;function he({allowedValues:e,timeframeSelected:n,onTimeframeChanged:r,textStyle:l}){const i=o=>S.getLocalizedStrings().timeframe[o];return t.jsx(de,{onClick:o=>o.stopPropagation(),children:t.jsx(J,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(q)`
|
|
10
10
|
color: ${e=>e.theme.colors.champion};
|
|
11
11
|
`,D=g.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex: 0 1 auto;
|
|
14
14
|
flex-direction: row;
|
|
15
15
|
align-items: center;
|
|
16
|
-
`;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(Y,{"data-testid":
|
|
16
|
+
`;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(Y,{"data-testid":Q("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>i(l,r),children:t.jsxs(E,{children:[t.jsxs(D,{style:{marginBottom:f[3]},children:[t.jsx(me,{children:n!=null?n+c:G(r)+c})," ",d.length>0?t.jsx(he,{timeframeSelected:o,onTimeframeChanged:a=>h?.(a??"month"),allowedValues:d}):null]}),t.jsx(D,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(N,{children:({height:a,width:m})=>s(m,a)})})})]})})}function O({card:e,reportTitle:n,actions:r,timeframe:l,allowedValues:i,chartElement:o,onTimeframeChange:d}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(ee,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(te,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:r.onReloadData,reportTitle:n}):t.jsx(ue,{dimension:e.dimension,reportTitle:n,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:r.onCardClick,timeframe:l,allowedValues:i??["month","quarter","year"],chartElement:o,onTimeframeChange:s=>{r.onTimeframeChange?.(e.cardType,s),d?.(e.cardType,s)}})}w.memo(O);const A=(e,n,r)=>{const l=n.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),i=r.total,o=r.accountsOrdered.map(a=>({accountId:a.accountId,accountDescription:a.accountDescription,balance:a.balance,logo:a.logo}))??[],d=Math.min(e,o.length),s=o.length?e-o.length:0,h=i?.amount;if(o.length>0&&s>0&&h!=null&&h!==0){const a=o[d-1].balance,m=a?.available?.amount!=null?Math.min(30,a?.available?.amount/h*100):30;for(let u=0;u<s;u+=1){const y=m*(s-u)/(s+1);o.push({accountId:u.toString(),accountDescription:"",balance:{available:{amount:h*y/100,currencySymbol:a.available.currencySymbol,currencyCode:a.available.currencyCode}}})}}const c=o.map(a=>{const m="top_expenses",u={accountId:a.accountId,accountDescription:a.accountDescription,total:i??void 0,logo:a.logo??"",barKey:m};return u[m]=a.balance.available,u});return{timeframeLabelsInOrder:l,chartItems:c}},b=37,j=2,ge=g.div`
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: row;
|
|
19
19
|
flex: 1 1 auto;
|
package/dist/assets/{TopExDetailPage-TVxgKbn8-h1-M6BqE.js → TopExDetailPage-qgHjp5oB-CbVU9bNn.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as
|
|
1
|
+
import{y as j,J as A,V as t,bD as S,F as f,aP as v,b4 as B,A as P,o as i,x as $,bR as H,bt as D,u as c,p as V,am as b,ab as F,b0 as z}from"./index-D-BANbLd.js";import{n}from"./mui-AW-QpJ2k.js";import{FQ as T}from"./zeni-epic-state-DR0XRPUQ.js";import{E as _,I}from"./TopExCard-COqnH-4I-BVvqNRP9.js";import{j as M}from"./TimeframeSwitcher-ncxeqCrX-BswygR8z.js";import{d as L}from"./NoDataTable-BKZwVTXZ-T0eI1Zo0.js";import{P as Z,a as o}from"./sentry-OhwUF_66.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./ReloadCard-B1sDYISv-yIhOaL2x.js";import"./graphic-no-data-l-DU4J8fDt-DMvuiJwA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="8b54475a-2eb6-43ee-bbb8-3574eba91639",e._sentryDebugIdIdentifier="sentry-dbid-8b54475a-2eb6-43ee-bbb8-3574eba91639")}catch{}})();const E="141px",O=i.sp4,N="123px",R=n(z)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
width: ${i.sp3};
|
|
4
4
|
height: ${i.sp3};
|
|
@@ -18,31 +18,31 @@ import{y as v,J as A,V as t,bD as S,F as x,aP as b,b4 as B,A as P,o as i,x as E,
|
|
|
18
18
|
&:hover {
|
|
19
19
|
color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
|
|
20
20
|
}
|
|
21
|
-
`,
|
|
21
|
+
`,Q=n.div`
|
|
22
22
|
display: flex;
|
|
23
23
|
flex-grow: 1;
|
|
24
24
|
flex-shrink: 0;
|
|
25
25
|
flex-direction: row;
|
|
26
26
|
justify-content: flex-end;
|
|
27
|
-
`,
|
|
27
|
+
`,W=n(b)`
|
|
28
28
|
user-select: none;
|
|
29
|
-
width: ${
|
|
30
|
-
min-width: ${
|
|
29
|
+
width: ${E};
|
|
30
|
+
min-width: ${E};
|
|
31
31
|
text-align: right;
|
|
32
32
|
margin-left: ${O};
|
|
33
|
-
`,
|
|
33
|
+
`,X=n.div`
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: row;
|
|
36
36
|
flex-shrink: 2;
|
|
37
37
|
flex-grow: 1;
|
|
38
38
|
align-items: center;
|
|
39
|
-
`,
|
|
39
|
+
`,q=n(b)`
|
|
40
40
|
user-select: none;
|
|
41
41
|
display: flex;
|
|
42
42
|
min-width: ${N};
|
|
43
43
|
text-align: left;
|
|
44
44
|
margin-left: ${i.sp4};
|
|
45
|
-
`;function
|
|
45
|
+
`;function G({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=R,{common:{strings:{empty:y}}}=f.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,x=l?.accountName?l.accountName:C;return t.jsxs(J,{isClickable:d,children:[t.jsxs(X,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(q,{"data-testid":F("top-ex-account-name",x),style:{marginLeft:h},title:x,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:x})]}),t.jsx(Q,{style:{cursor:g},children:t.jsx(W,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:v("0,0",l?.balance.available)})})]})}const K=n.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
width: 100%;
|
|
48
48
|
flex-direction: column;
|
|
@@ -56,7 +56,7 @@ import{y as v,J as A,V as t,bD as S,F as x,aP as b,b4 as B,A as P,o as i,x as E,
|
|
|
56
56
|
width: 100%;
|
|
57
57
|
height: 1px;
|
|
58
58
|
background-color: ${e=>e.theme.colors.grey3};
|
|
59
|
-
`;function ee({accounts:e,onAccountBalanceClick:l}){const a=(s,r)=>s.length>1&&r<s.length-1;return t.jsx(
|
|
59
|
+
`;function ee({accounts:e,onAccountBalanceClick:l}){const a=(s,r)=>s.length>1&&r<s.length-1;return t.jsx(K,{children:e?.map((s,r)=>t.jsxs(U,{children:[t.jsx(G,{leftChevron:"collapsed",account:s,onAccountBalanceClick:l}),a(e,r)===!0?t.jsx(Y,{}):null]},r))})}const te=Z.memo(ee),ie=n.div`
|
|
60
60
|
margin: ${i.sp0} ${i.sp0} ${i.sp6} ${i.sp0};
|
|
61
61
|
background-color: inherit;
|
|
62
62
|
width: 100%;
|
|
@@ -81,10 +81,10 @@ import{y as v,J as A,V as t,bD as S,F as x,aP as b,b4 as B,A as P,o as i,x as E,
|
|
|
81
81
|
max-width: 100%;
|
|
82
82
|
flex-basis: 100%;
|
|
83
83
|
flex-direction: column;
|
|
84
|
-
`,ce=n(
|
|
84
|
+
`,ce=n(b)`
|
|
85
85
|
color: ${V.alert};
|
|
86
86
|
margin: ${i.sp3} ${i.sp0} ${i.sp5} ${i.sp0};
|
|
87
|
-
`;function de(){switch(
|
|
87
|
+
`;function de(){switch(j().mode){case"light":return t.jsx(oe,{width:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(le,{width:"100%",preserveAspectRatio:"none"})}}function pe({title:e}){return t.jsxs(re,{children:[e!=null?t.jsx(ce,{children:e}):null,t.jsx(ae,{children:t.jsx(se,{children:t.jsx(de,{})})})]})}const u={wrapperPadding:new $(c[3],c[3],c[8]),chartContainerMinHeight:new $(c[12],c[11])},he=n.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex: 1 1 auto;
|
|
90
90
|
min-height: 100%;
|
|
@@ -99,13 +99,13 @@ import{y as v,J as A,V as t,bD as S,F as x,aP as b,b4 as B,A as P,o as i,x as E,
|
|
|
99
99
|
padding-bottom: ${i.sp0};
|
|
100
100
|
padding-left: ${e=>u.wrapperPadding.valuePx(e.windowSize)};
|
|
101
101
|
padding-right: ${e=>u.wrapperPadding.valuePx(e.windowSize)};
|
|
102
|
-
`,
|
|
102
|
+
`,xe=n.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-direction: row;
|
|
105
105
|
flex: 1 1 auto;
|
|
106
106
|
justify-content: center;
|
|
107
107
|
max-width: 100%;
|
|
108
|
-
`,
|
|
108
|
+
`,fe=n.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
padding: ${i.sp2} ${i.sp0} ${i.sp4} ${i.sp0};
|
|
111
111
|
`,ue=n.div`
|
|
@@ -127,6 +127,6 @@ import{y as v,J as A,V as t,bD as S,F as x,aP as b,b4 as B,A as P,o as i,x as E,
|
|
|
127
127
|
flex-direction: column;
|
|
128
128
|
min-height: ${e=>u.chartContainerMinHeight.valuePx(e.windowSize)};
|
|
129
129
|
margin-bottom: ${i.sp5};
|
|
130
|
-
|
|
130
|
+
`,be=n.div`
|
|
131
131
|
display: flex;
|
|
132
|
-
`;function Ie(e){const l=
|
|
132
|
+
`;function Ie(e){const l=j(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=A(),w=[...T],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,x=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(P.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(S,{source:"TopExDetailPage",title:f.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:x}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(fe,{children:t.jsx(xe,{children:t.jsx(M,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:v("0,0",C)}),t.jsx(ye,{children:f.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx(be,{children:t.jsx(pe,{title:`${f.getLocalizedStrings().chartCard.no_data_available_for} ${f.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(B,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(I,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(L,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Ie as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as n,k as F,o,b8 as H,F as z,am as I,b as B,eI as U,an as K,bh as M,h as P,aj as W,dv as q,a_ as J}from"./index-
|
|
1
|
+
import{V as n,k as F,o,b8 as H,F as z,am as I,b as B,eI as U,an as K,bh as M,h as P,aj as W,dv as q,a_ as J}from"./index-D-BANbLd.js";import{a as Q}from"./sentry-OhwUF_66.js";import{n as i}from"./mui-AW-QpJ2k.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./zeni-epic-state-DR0XRPUQ.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="18a102df-88c9-4453-ad5c-3d002b6ce63a",e._sentryDebugIdIdentifier="sentry-dbid-18a102df-88c9-4453-ad5c-3d002b6ce63a")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function O(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=G(s),h=O(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function X(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(F,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Me,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(V,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(V,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(k,{children:d.lineDisplayLabel}),n.jsx(L,{"aria-hidden":!0,children:"#"})]}),n.jsx(ke,{children:d.details.map((c,$)=>n.jsxs(Le,{children:[n.jsxs(Ve,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Ie,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(k,{children:d.lineDisplayLabel})]}),n.jsx(L,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{dS as Hn,dT as Jn,I as Gn,q as Yn,y as _t,a9 as Xn,J as ae,F as M,aR as Yt,dU as Zn,dV as Qn,cH as Kn,aF as ea,dW as an,dX as ta,V as i,ad as ia,bD as na,dY as aa,dZ as oa,d_ as sa,d$ as Ai,aS as la,x as N,ab as F,e0 as on,e1 as Te,e2 as Oe,e3 as Ne,e4 as Qe,e5 as Ke,e6 as kt,e7 as zt,e8 as et,e9 as ht,ea as At,eb as Vt,ec as Xt,ed as ee,ee as ra,ef as Kt,eg as pe,eh as sn,ei as me,ej as ln,aL as ca,ek as Tt,el as Vi,em as da,i as ua,cr as pa,k as Di,o as a,ce as ma,en as ha,u as O,A as vi,p as re,ar as Ti,bb as ai,h as ga,eo as fa,cl as ya,cj as oi,cL as ot,ep as ba,eq as qt,aV as rn,c$ as xa,er as va,ch as wa,ci as Ca,aP as Le,am as ye,b0 as Ia,es as $a,et as cn,eu as Zt,ev as Qt,ew as mi,dh as Da,b4 as Ta,cv as Oa,ex as Oi,a8 as dn,ey as ei,ez as ti,eA as un,cQ as pn,bU as Li,eB as hi,dn as gi,eC as La,bt as ja,eD as Ei,eE as Sa,eF as ka,az as za,eG as Aa,eH as Va,H as mn,eI as hn,bL as Ea,eJ as Ri,eK as gn,eL as fn,eM as yn,bJ as st,au as Ra,at as Pa,dv as _a,w as bn,eN as Na,bH as Ua,b as Ba,an as Wa,l as Ma,aX as wi}from"./index-
|
|
1
|
+
import{dS as Hn,dT as Jn,I as Gn,q as Yn,y as _t,a9 as Xn,J as ae,F as M,aR as Yt,dU as Zn,dV as Qn,cH as Kn,aF as ea,dW as an,dX as ta,V as i,ad as ia,bD as na,dY as aa,dZ as oa,d_ as sa,d$ as Ai,aS as la,x as N,ab as F,e0 as on,e1 as Te,e2 as Oe,e3 as Ne,e4 as Qe,e5 as Ke,e6 as kt,e7 as zt,e8 as et,e9 as ht,ea as At,eb as Vt,ec as Xt,ed as ee,ee as ra,ef as Kt,eg as pe,eh as sn,ei as me,ej as ln,aL as ca,ek as Tt,el as Vi,em as da,i as ua,cr as pa,k as Di,o as a,ce as ma,en as ha,u as O,A as vi,p as re,ar as Ti,bb as ai,h as ga,eo as fa,cl as ya,cj as oi,cL as ot,ep as ba,eq as qt,aV as rn,c$ as xa,er as va,ch as wa,ci as Ca,aP as Le,am as ye,b0 as Ia,es as $a,et as cn,eu as Zt,ev as Qt,ew as mi,dh as Da,b4 as Ta,cv as Oa,ex as Oi,a8 as dn,ey as ei,ez as ti,eA as un,cQ as pn,bU as Li,eB as hi,dn as gi,eC as La,bt as ja,eD as Ei,eE as Sa,eF as ka,az as za,eG as Aa,eH as Va,H as mn,eI as hn,bL as Ea,eJ as Ri,eK as gn,eL as fn,eM as yn,bJ as st,au as Ra,at as Pa,dv as _a,w as bn,eN as Na,bH as Ua,b as Ba,an as Wa,l as Ma,aX as wi}from"./index-D-BANbLd.js";import{a as v,P as Ot}from"./sentry-OhwUF_66.js";import{n as l}from"./mui-AW-QpJ2k.js";import{Gl as Fa,vc as qa,bE as Rt,bD as Pt,bF as Ha,c3 as Ja,lR as Ga,bh as Ya}from"./zeni-epic-state-DR0XRPUQ.js";import{x as Pi}from"./LabeledControlledCheckBoxField-D59MWScK-u0D-4rtN.js";import{R as Xa}from"./TrendWithTransactions-qTLVjOfV-1Qq4W0Vf.js";import{u as Za,c as Qa,d as Ka,m as eo}from"./uploadAttachment-DicjfBYA-DrkICKBo.js";import{o as to}from"./radio-default-CiSgisfh-CDrk92vz.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./TrendChart-ZDj-xpm1-Jp3bnOcp.js";import"./chartTypes-OhAs1JKI-bzHdDgZb.js";import"./toCOABalancesWithID-BpgPOYod-D7bBPsum.js";import"./toChartData-JpJ956nX-BgylJdL0.js";import"./NoDataChart-gYvI6yr8-viHJ3bQ-.js";import"./InsightsSection-C2CwZPel-DBGYdL2D.js";import"./NavigationDots-CjCXOKoW-CbK19jrp.js";import"./TransactionList-AmUI5s8r-DfvxSOnm.js";import"./ConstrainedInnerElement-BeIpAPjB-BSv5CT9e.js";import"./BoxItem-BuOARLA6-BfKpH1iW.js";import"./commonDimensions-B2iVuJD5-CcSv5ZyJ.js";import"./panelSelectedMixin-Cddsb26L-DJsIAZn1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="29545e4e-67d8-4dd6-aef6-d8efbab2249d",e._sentryDebugIdIdentifier="sentry-dbid-29545e4e-67d8-4dd6-aef6-d8efbab2249d")}catch{}})();const io={headerMarginTop:new N(O[7],O[8])},no=l(ye)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,ao=l(ye)`
|
|
4
4
|
margin-right: ${a.sp1};
|