@zeniai/web-cockpit-ui 1.13.85-qa → 1.13.86-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-CRqyoYEz-BOyw7D7v.js → ACHDetailsPage-DGGeHZnW-CRRXdkuL.js} +3 -3
- package/dist/assets/{AIPerformancePage-DAkvkXSA-DR1Rn68p.js → AIPerformancePage-BnFh61HC-DG1jrKEt.js} +24 -24
- package/dist/assets/AccountInfoPage-BoCzcaQW-DXC6zcEv.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BWZbyIYz-BwEofkT3.js → AccountInfoPageContent-C4VpFgc_-DvP6xZz-.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-DLd_igXD-D-07Ys_g.js → AccountReconDetailsDrawerPage-DJmFBJve-DvtbeSb_.js} +18 -18
- package/dist/assets/AccountRow-vtPa0PJn-DyxPucxT.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DIly1lFF-C63cClOI.js → AccountsPromoCardStack-D5elLwcD-DFP5ej-L.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-C90j4Cwr-BT9i1kr2.js → AddAddressForCardDrawer-D9uW1sU2-CyIurqG5.js} +1 -1
- package/dist/assets/{AddToWalletPage-Bo2KesYz-B6pn-wDw.js → AddToWalletPage-D3yOWwc3-Dt5WZtr8.js} +30 -30
- package/dist/assets/{AgingReportsPage-DuoKsSkU-D2pt3N1l.js → AgingReportsPage-DlB02nzb-DT1hA1_s.js} +4 -4
- package/dist/assets/{AllUserItems-C0U1Brjm-DLoP83Sx.js → AllUserItems-Bwbb5_fm-BcHqhbO0.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-dNwAZULr-Dh1nmwAG.js → ApAgingDetailPage-Bhf_ygxm-DDVphjYY.js} +3 -3
- package/dist/assets/{AppBasePage-CfkaWEbJ-Bv3CGV1I.js → AppBasePage-DyGLpjZ0-DttRVXyT.js} +4 -4
- package/dist/assets/{AppDrawerContent-DlHQEgOZ-CDNjVPxb.js → AppDrawerContent-D_dlUPFp-BL5bhrHC.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-Pl7HoLmk-O1hX1O5a.js → ApprovalRulesSettingsPage-DLvGE0ND-DjcwfHKU.js} +6 -6
- package/dist/assets/{ArAgingChart-xI9TRvfS-CYApUAH7.js → ArAgingChart-CR7dx7XY-Cx6fMjBH.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-BMGCnP5d-DgYDd0kk.js → ArAgingDetailPage-kU_SEimL-B5vhsKkP.js} +2 -2
- package/dist/assets/{AttachmentView-C8AgUAnY-D38bw4nL.js → AttachmentView-ClQPirg--D1d3_Uda.js} +8 -8
- package/dist/assets/{BankAccountSection-DB4PEf_X--XKoeQkb.js → BankAccountSection-DLB1oftk-DEn9rP2e.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-BNO8Gl59-C7lGSojx.js → BankAccountWarningSection-ClrNHLqo-NpMhaSfC.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-BOreBo5b-5l_djXua.js → BankConnectionsSettingsPage-D1w10U35-B0hA0qGz.js} +22 -22
- package/dist/assets/{BillDetailPage-Bv86SywV-jkHBDmPc.js → BillDetailPage-Bfrn4oa6-D2E_Tt5J.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-CDXxmD-3-tKogNh_O.js → BillPayApprovalRuleDetailPage-DIzv3Xu9-yMWl3cpx.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Ci5Ok7Zj-BRD-ODg8.js → BillPayApprovalRulesPage-CPBknTMQ-BwSnwQg8.js} +3 -3
- package/dist/assets/{BillPayPromoPage-Co2j2krO-B-Hi3v0R.js → BillPayPromoPage-CKETeVet-WnOIT8cc.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-DjpCUZaT-BImJiA0N.js → BillPaySetUpPage-DIz-RZih-CC05m-y7.js} +2 -2
- package/dist/assets/BillingSettingsPage-Bm-IF_p7-8u0bw5ku.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-CVAG78EK-BwPRAmgg.js +1 -0
- package/dist/assets/{BoxItem-BqLhtWoJ-dHjwNV6l.js → BoxItem-B8KF3Skh-TmzJmYZc.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CZGOzc9Z-BxBWKK3p.js → BusinessVerificationPage-Ctqy7ZwA-J8d6V6lT.js} +8 -8
- package/dist/assets/{CardNumberSubText-23sLjCVt-p-FcxRyz.js → CardNumberSubText-CNiPWVeO-OlxmvVJt.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DY0n94jz-B2flhYaR.js → CashbackDetailPage-BNWBGKHa-bIlWYuwv.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-NWTPnGtM-GzsfA6im.js → ChargeCardDetailPage-BuCwlpLH-7rCG_cYb.js} +58 -58
- package/dist/assets/{ChargeCardListPage-D42dfnET-Dw_Gnic_.js → ChargeCardListPage-CXbTalVQ-D381djUW.js} +35 -35
- package/dist/assets/{ChargeCardListTable-B7uRDVzb-PjQ3L9G6.js → ChargeCardListTable-D4-Br785-DpvUrE9e.js} +25 -25
- package/dist/assets/ChargeCardPromoPage-BTfg7L28-D2O1yFJS.js +175 -0
- package/dist/assets/{ChargeCardSetupPage-Ccc8PoCm-DGeNkrzB.js → ChargeCardSetupPage-fy0EpA-m-DvURpcVh.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-JEslDm3r-DZPmPw5i.js → ChargeCardStatementsPage-B_rdiq_Y-BAKafx8N.js} +4 -4
- package/dist/assets/{ChargeCardUtils-B3JEziD7-Dyg77jk5.js → ChargeCardUtils-CtoTn6DQ-C3z4uZjJ.js} +1 -1
- package/dist/assets/{ChaseOverlay-KLet3F9X-D9O--vXG.js → ChaseOverlay-DfjQ73Ie-BOsM74a7.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-yUzhTMSu-DalHOQf6.js +206 -0
- package/dist/assets/{CollapsableReportTable-DshWn4Fc-CJTqtHsL.js → CollapsableReportTable-CHsJ-93l-CZG5w07A.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-DWqEolPc-CtOYg9is.js → CompanyOfficerDetailsSection-BlUCDRW6-r-0kIc8i.js} +26 -26
- package/dist/assets/{CompanyPassportCard-fyolEQTs-HThTUw8Q.js → CompanyPassportCard-DSRRu6RZ-D8WUh8RF.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CrgsRRVr-D-W-kZ0u.js → CompanyPassportPage-DpeoVbLk-CGE5gjRB.js} +140 -140
- package/dist/assets/{CompleteProfile-D_zq0Bxi-DzmMJrCa.js → CompleteProfile-BaTEooSW-C9pQ1jcL.js} +10 -10
- package/dist/assets/ConfettiBurst-C2engbkN-OYjDPreK.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Ct4Kfowi-EJwIqng4.js → CreateOrEditVendorPage-CaIc3Tib-CiLHzKjL.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-Cpu-7pGN-CFUmfUnI.js → CreditCardPaymentDrawerPage-DEFrzmkG-BYyXj2cB.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-DoMaCnIZ-DEDF2Bw6.js → CreditCardPaymentPlgSection-IeRxDnG7-iIog9fs2.js} +10 -10
- package/dist/assets/{CurrencySelectField-CCOtXLC7-WWI_x70H.js → CurrencySelectField-DDiCwLn7-OV5xt8fQ.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Cgzif1ji-KDPEI4Nw.js → CustomerOnboardingActivationPage-976y8y35-B5nrrrGQ.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-BL-GBLoz.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BOMwRZEO-DhpvGzW9.js → CustomerOnboardingDetailPageSkeleton-DYfidx87-rFt8SrGg.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-DDloVGvk-DfWdnJkn.js → CustomerOnboardingNoStepsPage-DrLZ3k77-DwEaFPCU.js} +8 -8
- package/dist/assets/CustomerOnboardingPage-BiUXryld-DwfZXjsS.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-BA3GAX42-CH_YxX7C.js → CustomerOnboardingProductSuitePage-CmHltdpN-Cb45Wbg-.js} +4 -4
- package/dist/assets/Dashboard-B1UeMAoF-D-P-pMiu.js +778 -0
- package/dist/assets/{DashboardReportPage-paPVk_v2-rdCWEh1c.js → DashboardReportPage-DULpVd6J-B_d0ak7a.js} +67 -67
- package/dist/assets/{DepositAccTransactionItem-BXRfgUfE-Bi5kB8pj.js → DepositAccTransactionItem-BEs_Al_8-DryszVsJ.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage--7TRlqKj-CGLWI77-.js → DepositAccTransactionListPage-CL8Rr3I4-3mitujdt.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-B0Qt1FLC-BPGORTR1.js → DocumentSecurityBanner-BgKXBGg3-gTBQRSLd.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-CVKheLW6-Cp0cNoH9.js +21 -0
- package/dist/assets/{DownloadOverlay-Cl_EXjiu-ayFegofe.js → DownloadOverlay-cne9_fIV-BGdaHI5P.js} +20 -20
- package/dist/assets/{DrawerPage-wXwAaYEB-ckpkQyBr.js → DrawerPage-B0mgBHB5-CQtDXw_Q.js} +8 -8
- package/dist/assets/EditPeoplePage-DgVDgYlm-Cq7SpjxR.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BUpJPJNu-CuY2Ig7F.js → EditReimbursementDetailPage-DWhSkrJ7-DXfnlGXX.js} +74 -74
- package/dist/assets/{EntityDetailPage-BNXqSwVL-2_wdQBQJ.js → EntityDetailPage-wnOA1SH7-aYV-tRku.js} +2 -2
- package/dist/assets/{EntitySummarySection-MZ57i-bY-wyCkXFzg.js → EntitySummarySection-Q_UUVBaU-B-zx_bhC.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-Y3IHs4dG-b03QKzrb.js → ExpenseAutomationOverviewPage-BumrdlGf-BlGx5F5V.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-C0hvPLo7-DWrp_4v0.js → ExpenseAutomationPage-DKjInf-x-DBua7HMI.js} +84 -84
- package/dist/assets/{ExpressPayPage-Bncb54-Q-SeUIlqfm.js → ExpressPayPage-wwfao-Tr-Cll3aRZR.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-BnGBEF9H-BZb3CLM5.js → FeaturePreviewPage-DriDr9id-IfgJ91nt.js} +2 -2
- package/dist/assets/{FollowStepsSection-laCvnETV-BQUar6s-.js → FollowStepsSection-5025urr9-BhQV5Gxg.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-CskEuHc5-Cjbio4XA.js → GlobalReviewListPage-BFjOsp4u-dTOZQfQK.js} +10 -10
- package/dist/assets/HelpButton-CzonsAOi-CLT44ucP.js +28 -0
- package/dist/assets/{InformationCardStack-BFJqdH9n-DFvbLLLn.js → InformationCardStack-DrD-sWV8-D-viV3aR.js} +5 -5
- package/dist/assets/{InsightsCardStack-CcoMWMiA-Cc7jKdY5.js → InsightsCardStack-CFqfiCOY-DSgzQkhY.js} +9 -9
- package/dist/assets/{InsightsSection-D9PiJagu-SWEZg4pL.js → InsightsSection-CN1BVvSr-DiHzw0Zr.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-CVmDobJ8-DDDi0Jh4.js → IntegrationsSettingsPage-BBlKuJxA-Ax55qhbj.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqW88v9N-BZw_syi-.js → InternationalWireSwiftDetailsPage-f4DZUYIx-CPv4IcAC.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-X90z_30k-dNJC2sY7.js → InternationalWireVerificationPage-5WpkXxPC-B_ootlBy.js} +17 -17
- package/dist/assets/{InviteFormPage-BK-PRmeH-C_kHyZpq.js → InviteFormPage-Bw2ykerx-B8sj-JFN.js} +23 -23
- package/dist/assets/{InvitePageListView-6-iCc4BK-Clzv1DBo.js → InvitePageListView-BHp1m02Z-DMdwrgsX.js} +31 -31
- package/dist/assets/InvitePeoplePage-BnlUrpPG-D5Pb0NSX.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D5aF4auL-B3QucxAN.js → InvoiceUploadSection-B8Xsz6dM-CaDnzQOR.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-C_xt7hKZ-BRUTBeLa.js → IssueChargeCardPage-DYrMWSZg-BXFdUqlA.js} +22 -22
- package/dist/assets/{LabeledAddressValue-DpSK0MqC-DVc8X4Rj.js → LabeledAddressValue-kKgzA0is-V3nWJqwH.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-_LY7c-ZC-5iSo6J-J.js → LabeledAddressValueField-Bey_bvyv-WhcVyZpQ.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-FB40Z8J7-BETZbc8X.js → LabeledControlledCheckBoxField-CKrD5nfN-BLAx8CgU.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-paSeI8_R-CAnP3CMF.js → LabeledCreatableSingleSelectField-B3x1MZJr-CT42c88y.js} +7 -7
- package/dist/assets/LabeledDocumentField-BKPP0tRe-BoY3MkE4.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-NsCaPjuf-BLoARtnk.js +59 -0
- package/dist/assets/{LabeledText-CyXj8QWV-5OBSwFKi.js → LabeledText-BUZXeSSr-BNwrdOLI.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-Dv7itvOd.js → LabeledUserSingleSelectWithSubtitlesField--jmAGQy--CMARKL0a.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-D0cQlbhO-CKi5TGdS.js → LabeledZeniRolesDropDownField-Dt5MOz8L-BzDt2F5s.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-DaXjiQRp-BRavGLje.js → LinkJETransactionPage-DZZORFZw-hfr5eK-6.js} +8 -8
- package/dist/assets/{LowBalancePopup-CdftTvLb-B5AXSsr_.js → LowBalancePopup-BQYkTR6v-Dpy5Y7Om.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-C25i1T4c-cz3f0GSS.js → MagicLinkACHDetailsPage-B2TCqv5k-BD7w19c6.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B0r3WStl-CqjJtubA.js → MagicLinkDomesticWireDetailsPage-D0Fcshtr-WPQ-07p1.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-ev-6xJ-AHa24jnu.js → MagicLinkInternationalWireDetailsPage-BfschSvJ-Dd4Vn3ER.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-7JG3V4Qt-DW5o0jbT.js → MagicLinkSuccessPage-CLkxou_Q-BueLZWGy.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-DEe0hhml-B9tHITem.js → MagicLinkTitleSection-BcnZtmCV-D3vo1-CC.js} +3 -3
- package/dist/assets/{MailingDetailsSection-Qc65E0w3-Cq67NP7Z.js → MailingDetailsSection-B5PAttoo-Ia41UfJq.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Dh8meV6d-CsUXa-J0.js → MeetingCalenderPopup-DM1wkT0M-XWyjGw5S.js} +1 -1
- package/dist/assets/{Menu-DyfXBl_1-CnbVh3BI.js → Menu-teOpHszN-B4_aUeNn.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-CCFcVgyX-DYBcczrm.js → MyBankConnectionsSettingsPage-M74Mv2-V-BHyX40MK.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-DS966wTB-BSQg2TFQ.js → MyPendingActivationChargeCardListPage-jv9dbM48-BfFprZCr.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BRRzMoQL-C-gTgbbX.js → MyProfileSettingsPage-CrhE1vfc-DJYn2Oif.js} +8 -8
- package/dist/assets/{NavBarWithPicker-BvWih0k0-C-lpuG0Q.js → NavBarWithPicker-w36OQzVq-8jrXgC9i.js} +2 -2
- package/dist/assets/{NavigationArrow-DYSL2aDL-Dac2EKy8.js → NavigationArrow-CUVjQXS6-1gU6OEpd.js} +6 -9
- package/dist/assets/{NavigationDots-DyyCcIih-CqG31XCf.js → NavigationDots-Dt6TkUQ7-IyWw7xzb.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DjEvzM4M-BNSK64RX.js → NewGlobalMerchantPage-BAq_UQw1-op2GScme.js} +33 -33
- package/dist/assets/NoDataChart-CydgbaO2-w_aLFoRL.js +26 -0
- package/dist/assets/{NoDataTable-CXNsBBVP-D2Te1bWz.js → NoDataTable-Akc9VjuK-D6ZoPHVC.js} +1 -1
- package/dist/assets/{NotFoundPage-CuuO2Mia-C8-O26Vv.js → NotFoundPage-3pCYWZU4-D50jnl0_.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-C7ilxUAV-DnV_ELoj.js → NotificationSettingsPage-BX5y9Bhs-COL29uYH.js} +16 -16
- package/dist/assets/NotificationsListConfig-BrTtuTMy-BDNvMhiy.js +1 -0
- package/dist/assets/{NotificationsPage-BjaKD99B-CUvKfjPk.js → NotificationsPage-tre5LIJg-BF-9mVwv.js} +32 -32
- package/dist/assets/{OpExByVendorPage-IuDiHnIW-BlDS0zS0.js → OpExByVendorPage-Dagfjaza-DDld7cbG.js} +5 -5
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-FBay7pFs.js → OverlayContainerPage-nhe7xtoR-DaSs4sBz.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DLvgYpF8-DxqLd7A_.js → PandLWithForecastPage-B6BwG3ZF-_AvyqFlZ.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DGZrFamS.js → PaymentAccountSetupBillingAddressSection-w6QwL-c4-K3uFRIlc.js} +8 -8
- package/dist/assets/{PeoplePage-DyqY-rIV-BF8pm7Ll.js → PeoplePage-EFDCrYUk-T7-wlZTX.js} +19 -19
- package/dist/assets/{PortfolioAllocationFormPage-DTuKtkwr-BG4VtYhF.js → PortfolioAllocationFormPage-DbGLXM2D-BjP-OUR_.js} +3 -3
- package/dist/assets/{PortfolioDetails-DJFeMG4U-DRLekQB_.js → PortfolioDetails-D2RWl4uo-6RAVkUY_.js} +11 -11
- package/dist/assets/{ProductsCarousel-CS4_yc80-CBit-Mko.js → ProductsCarousel-o-YsHwnV-CGoV5eH1.js} +7 -7
- package/dist/assets/{PromoBaseCards-BZ2m6LfO-Devee57m.js → PromoBaseCards-D21UZaz1-BXsaJgOl.js} +25 -25
- package/dist/assets/{QBOConnectionDialog-2vJQuslh-CZnp93ZN.js → QBOConnectionDialog-DOpuFcsk-C6MlbM5w.js} +6 -6
- package/dist/assets/{QBOSetupSection-Yv3Xw-yn-BJZtDk-1.js → QBOSetupSection-Dcf_Afvz-DJunnSBU.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-tvJ2APRB-CUV7Xc-G.js → ReimbursementApprovalRuleDetailPage-DcDdM_Ss-CbDe9uVe.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-_nXCDa2A-C9-pEbKH.js → ReimbursementApprovalRulesPage-BhdyXjR--DBfuKFGn.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-CtEAsq7u-C73aER4h.js → ReimbursementDetailPage-BSWNsboq-4J24vWsJ.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-BaEX5Ej4-ZDR3rm2j.js → ReimbursementPromoPage-DJTuXxOX-CzJgodWR.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-DXOqEJL4-giukqjO0.js → ReimbursementSetUpPage-DaIc03J9-CjkHrlyV.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HQg1y1K--D5iUnsw9.js → ReimbursementsBulkReviewDrawerPage-BW6yGqNG-BnVlwyav.js} +1 -1
- package/dist/assets/{ReloadCard-stfG9ekP-tZWYlf-X.js → ReloadCard-D3-WJk3W-D2s29SSN.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-_RTCd2td-CH9Qen2G.js → ReportTableViewSelector-ZI_K0-D2-By-m2UD1.js} +7 -7
- package/dist/assets/{ReportsPage-BIzz5Dt_-D1Q_FIJG.js → ReportsPage-DsILNosH-D0tYLjKu.js} +9 -9
- package/dist/assets/{RevenueChart-DeDVVUge-B-qX3axP.js → RevenueChart-CKKeqpBi-UyvcWDiv.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DZqPpiln-Dx1cGbrV.js → ReviewDetailsPage-BTag8Rn9-DTmho_bj.js} +19 -19
- package/dist/assets/{ReviewOverlay-DcBe94Sd-Dvf9-bRZ.js → ReviewOverlay-CmbxFXT5-Bn6N1v3T.js} +14 -14
- package/dist/assets/{RoleWithToolTip-DZO2tooH--n3Ca0Pd.js → RoleWithToolTip-D25NUL6y-DukVAPbK.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cl8iBII0--TTuFPFw.js → ScheduleDetailsFixedAssetsPage-svqtgWEw-BvVYPrVO.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-D6ZxZ2uU-CW4c5WjB.js → ScheduleDetailsPage-ClifB2yP-CiC5Yaiv.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-eRImHbZn-CPGQ3vC3.js → ScheduleSequenceTable-Bzz4WFsb-D7hD25Ij.js} +50 -50
- package/dist/assets/{ScreenRoutes-BOMAdjV3.js → ScreenRoutes-BxQ22zq-.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BBZNI1Xl-eWhde88L.js → SetUpAccountSection-DHHAhE7n-C6ADn3Xk.js} +103 -103
- package/dist/assets/{SetUpDefaultSection--9Qh-utY-BI5o5mIW.js → SetUpDefaultSection-DkoRgSyp-BG63EHcf.js} +16 -16
- package/dist/assets/{SignIn-CI0Ik2va-BODAZJP8.js → SignIn-DSJylxLB-TGzVh-Ox.js} +19 -19
- package/dist/assets/{SignInScreen-DiCimdAv.js → SignInScreen-2ETG_qty.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-NWkSnIdD-nax5e-Qq.js → SpendManagementListViewPage-NfjbjBOy-CNnp9KH1.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-CdWwn_b8-DGTjz-D8.js → SpendManagementPerTabPage-CJqqj2pl-vgdrFHgv.js} +47 -47
- package/dist/assets/{SpendManagementSection-DGhD95sz-D9wtCyoV.js → SpendManagementSection-C8jUu71n-DVI61rJT.js} +9 -9
- package/dist/assets/{SpendMgmtSetupAccountSection-DG4ozkeT-C_tGQMWD.js → SpendMgmtSetupAccountSection-CNcWLqIc-Bk6Q5WZ8.js} +14 -14
- package/dist/assets/{StatementItem-BlfBohft-CacjOgZD.js → StatementItem-CV3b0pVj-CWdkAyq6.js} +8 -8
- package/dist/assets/StatementsPage-ly5aBK2M-CeJNv0Uj.js +58 -0
- package/dist/assets/{StatusSwitcher-C6703BAG-DiX_YNpB.js → StatusSwitcher-CxzYEzIO-Dl4oZKu3.js} +4 -4
- package/dist/assets/{SubTabSwitcher-lf9S7Ubj-BbNRnQm4.js → SubTabSwitcher-_XBeoyd8-ky9GU4WA.js} +1 -1
- package/dist/assets/{SummaryCard-yghz4PLR-BaTl5JZP.js → SummaryCard-egXz66_a-CFL2HKlw.js} +1 -1
- package/dist/assets/TaskManagementPage-CQL5Q6wr-B8c2_TIF.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-BoPrOhKX-C7fzpFUc.js → TimeRangeSwitcher-DETvaZov-Jche-37U.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-DufweySH-BPYQJKjS.js → TimeframeSwitcher-DRQZAZ8X-B_V6wn8a.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-CuU7mRU9-lO7EaRwM.js +31 -0
- package/dist/assets/{TopExCard-DrOjlLiv-BFqCltN9.js → TopExCard-CtEulaIf-Brs7tS7N.js} +6 -6
- package/dist/assets/{TopExDetailPage-Ds4zlxKD-D3rgX0xF.js → TopExDetailPage-O4MMssGR-CSX4CqC4.js} +11 -11
- package/dist/assets/{TransactionDetailPage-Csl-Qjxp-ecrNVJsv.js → TransactionDetailPage-CfY8i6QF-Bt2lSSKs.js} +47 -47
- package/dist/assets/{TransactionList-2HeLZVn9-CruTSDil.js → TransactionList-BABUQprb-zMQcRTpf.js} +13 -13
- package/dist/assets/{TransactionListBig-p6iVof9y--08fAwJF.js → TransactionListBig-qJc1PM0U-P62ir1cv.js} +18 -18
- package/dist/assets/{TransactionListPage-tnL66tOu-BU3FmX6i.js → TransactionListPage-DuAk6fJT-Bu8_Pd-_.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-DzkUYyCr-Ce0yEwZl.js → TransactionVendorDetailPage-nHnLQdj7-C3egMB1p.js} +6 -6
- package/dist/assets/{TransferDrawerPage-B9MGSdS9-CiTYk0vi.js → TransferDrawerPage-CkbHu9oQ-Bxv-yJF0.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-BEzBuOWn-520FWVXK.js → TreasuryOverviewPage-D9qxqZOy-ZtRAjO03.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-C8X4X7iN-B9Joxl5R.js → TreasuryPromoPage-Bn_4ae7Q-q8C2bbYn.js} +15 -15
- package/dist/assets/{TreasurySetupPage-Cb_GW75l-BLuBh2kN.js → TreasurySetupPage-CpZDjXwu-BUhJXpTK.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-sOiD2QYm-YS7ms5lR.js → TreasuryStatementsPage-BXDwbrcC-37YEWdU6.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-DYzqfHym-B5Ykio8i.js → TreasuryTaxLetterPage-Cwf-e3Jz-BL-Rfzdl.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-CesaUuNp-D5h1-bi7.js → TreasuryTransferOrReviewPage-BSiDVjnO-CB9llwyL.js} +20 -20
- package/dist/assets/{TrendChart-kwGU0d90-DJx5YTVj.js → TrendChart-Dp3QrDED-8QXEOf_A.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CUlTYGIm-DTg4Mp-P.js → TrendWithTransactions-D8xzYG_f-De6kCbSg.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-D76VPNEd-CU_WfE2_.js → UncategorizedAccountsMappingPage-CteEKVJk-pzEnrChq.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-BsZCe-lq-DjFjTx_N.js → UnitIntegrationPage-BBAq4_81-C7oc8SpE.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-B3tUNhKj-D8M4A5h0.js → UploadAdditionalDocumentOverlay-Drs2Czkg-B7FMUcdL.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Bk-WKgMh-BXO2PrEq.js → Vendor2FAPopup-DKe-eMoF-BYQMXttT.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-u8a3XF33-Dgqikeaw.js → VendorACHDetailsPage-CTeRlLgu-O3tAwPNR.js} +1 -1
- package/dist/assets/{VendorDetailPage-B-RdB79n-3BQeJtFl.js → VendorDetailPage-Cw7Qe1rv-DwV1uxYo.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-Bhb1Dmge-Boz6LLe-.js → VendorDomesticWireDetailsPage-CYkst1D5-CxFVsRJR.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DHRivhBg-w7XOZ0uI.js → VendorFiling1099EditablePage-CXQx0jJQ-Dym5ZEfd.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-Cn2GBsyl--vpeGBWE.js → VendorFirstReviewPage-C1yTYtW6-D8Hy4Plk.js} +29 -29
- package/dist/assets/{VendorInternationalWireDetailsPage-Cjx1hvUL-CmrfzDq8.js → VendorInternationalWireDetailsPage-CfbGRN9B-DYM9JMPH.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BszRCCDh-BPJeVwlb.js → VendorInternationalWireSwiftDetailsPage-DTxy0byj-B-9bRZPN.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D6VSJUo1-CA-pEbLq.js → VendorsAccountsSection-B_nDMJSn-DKF52Cpa.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DReVGPEj-BAxdAGxT.js → WarningsDrawerPage-Dz3EM7AW-K261X__w.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-CFTB_WYX-TYUlxYM2.js → ZeniAccountDetailPage-C01gqJIN-5uHVG2CB.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-BmYgbIuC-D6Hh2q8q.js → ZeniAccountListViewPage-3DEdKuaM-BOxFOXWV.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-bthmMpbV-dLoPCb9S.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-AfRVTc8V-Bir6gIQQ.js → ZeniAccountPromoPage-ClgIxS0H-CzsHHXnv.js} +10 -10
- package/dist/assets/{ZeniAccountSetupPage-YXJmpz_d-D9Ab9IdN.js → ZeniAccountSetupPage-C-vwyHUJ-Dtwoz0CP.js} +1 -1
- package/dist/assets/{ZeniCopyright-CqpcrgAZ-I-SkGlS5.js → ZeniCopyright-CqFabZnN-CJTGK5CO.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DGkzRyMW-C75Na6ou.js → ZeniTransferAmountSlider-BwHzq-qG-BAnmmq0F.js} +1 -1
- package/dist/assets/analytics-BSSiLa6f.js +7 -0
- package/dist/assets/{analyticsHelper-BQq2FFmn.js → analyticsHelper-CA1CL3Na.js} +1 -1
- package/dist/assets/{analyticsHelper-sgo3pabT-BgFfQOSf.js → analyticsHelper-CvW7m-EV-BpaeVAL0.js} +1 -1
- package/dist/assets/{chartTypes-Dj-_K0Gi-mEh3KBw2.js → chartTypes-0tTBFzPe-DXv2oVtL.js} +1 -1
- package/dist/assets/{commonDimensions-CKgBEMhT-A8tfCxCO.js → commonDimensions-B68wSFi9-M2W23m0D.js} +1 -1
- package/dist/assets/{detailCommon-vtB2ffbe-CA5QwE7k.js → detailCommon-D2RAJL6g-DxVTL_IM.js} +6 -6
- package/dist/assets/{downloadPdf-CiC0AXNH-C1RfGDdO.js → downloadPdf-IPGZ8YB9-DocjrP8U.js} +1 -1
- package/dist/assets/{index-BJ9YQ2PG.js → index-GMJ2nuUF.js} +3324 -3364
- package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-0MIZwF_y-B8QHYU1y.js → mapLoadingInProgressToTreeNode-DhjVTksX-B_UltjeI.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWaIGa37-JiNMuYJO.js → mapSectionWithAcOnlyToTreeNode-DtR1UNND-CApTkkfy.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-1Bdqp9WS-xNXAZC8a.js → mapSpacerToTreeNode-oskKbJKo-DLY0eOf4.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-MPZhFWqo-DU6r59rW.js → mapTimeframeBalancesToTreeNode-BkUJJy_y-CDFowGsv.js} +1 -1
- package/dist/assets/mui-BgvZYSo0.js +22 -0
- package/dist/assets/{play-icon-CF-Mkuir-98sXfI_P.js → play-icon-C_pnFd6Q-CegFata8.js} +1 -1
- package/dist/assets/{redux-ByjIRbhZ.js → redux-DmDqXYej.js} +1 -1
- package/dist/assets/{routing-Cpaypegg.js → routing-BNz5gZgX.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-D1BwrImS-DjsYQqtW.js → toCOABalancesWithID-e2ImXwdp-1SnM9fzu.js} +1 -1
- package/dist/assets/{toChartData-DVTo0PPD-F-3VWOVb.js → toChartData-Dh91kb97-BMfM5MG4.js} +1 -1
- package/dist/assets/{treasuryColorHelper-QzSX5YTe-Cuy1aR8q.js → treasuryColorHelper-D9SYrM7P-BaWaAPGH.js} +1 -1
- package/dist/assets/{uploadAttachment-BxwOR3I5-C41XXv1y.js → uploadAttachment-BZTALP74-ypSfSLhV.js} +29 -29
- package/dist/assets/{uploadReceipts-Buvz7DfG-BARgbESN.js → uploadReceipts-BH9fi3Vt-D-CW0ltI.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPage-6EVpo7mW-ElHlRk7W.js +0 -18
- package/dist/assets/AccountRow-D4iz2vCr-D4oo3rJs.js +0 -298
- package/dist/assets/BillingSettingsPage-CAs7DZQz-DXA3xiXV.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-_aeqHHW3.js +0 -1
- package/dist/assets/ChargeCardPromoPage-CXiXee-8-CGyqb2Oz.js +0 -190
- package/dist/assets/CheckDepositDrawerPage-JYHyo9Hw-DRy8aFIM.js +0 -206
- package/dist/assets/ConfettiBurst-CZuMHGP8-ZppyCJ6x.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-CUgi5vEF.js +0 -1
- package/dist/assets/CustomerOnboardingPage-DHji4ZmF-GtaXVNpu.js +0 -107
- package/dist/assets/Dashboard-Cr5ugENA-CyGF57xT.js +0 -1251
- package/dist/assets/DomesticWireDetailsPage-RoRpMC50-DJdEDgfd.js +0 -21
- package/dist/assets/EditPeoplePage-xDL6VA_r-OmIXflPf.js +0 -55
- package/dist/assets/HelpButton-D5ZYyQMh-BseLBuet.js +0 -28
- package/dist/assets/InvitePeoplePage-C9AwNqIx-B6fBsOYg.js +0 -12
- package/dist/assets/LabeledDocumentField-DiMgPKtR-ebLHKkFT.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-DsjpTL6X-DASClPUP.js +0 -59
- package/dist/assets/NoDataChart-DE6NV823-DEswUAk2.js +0 -26
- package/dist/assets/NotificationsListConfig-TBQMobJ5-qBR1Ircr.js +0 -1
- package/dist/assets/StatementsPage-CUpjL5u7-IsFwOPwt.js +0 -58
- package/dist/assets/TaskManagementPage-Cf523C5f-CbUDqHnB.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-DKc91Lnx.js +0 -31
- package/dist/assets/ZeniAccountNavBarPieces-gzy5T7nu-CI0fy98a.js +0 -14
- package/dist/assets/analytics-DThoELaW.js +0 -7
- package/dist/assets/mui-C5LQ0bMa.js +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as B,
|
|
1
|
+
import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as q,Q as G,o as i,u as Q,M as Y,eO as A,eP as K,dh as X,bS as J,b3 as I,cq as U,dH as Z,q as V,b0 as ee,a6 as le}from"./index-GMJ2nuUF.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:S,style:c})=>{const w=Q(),y=Ie(e,b),C=Y.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?R(r,b):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,border:`1px solid ${w.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(xe,{children:[t.jsx(be,{children:t.jsx(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${C.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:k,selectProps:N}=l,{value:W}=N;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:k,selectedValue:W,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(I.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(I.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&x!=null&&x.isTagShownForOption(l.data.value)===!0&&t.jsx($e,{children:t.jsx(we,{style:x.style,children:x.tagName})}),l.children]})}),H=l=>{const{selectProps:p}=l,{placeholder:L,value:k}=p;return t.jsx(I.Input,{...l,autoComplete:"new-password",placeholder:k==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(A,{isMulti:!1,onCreateOption:l=>{const p=K(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?E(l):`${C.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":j("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:M,Option:ae,Input:H,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Se,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},X())},ie=e=>t.jsx(I.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=r.indexOf(h)*40;return t.jsx(J,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:$,children:({index:m,style:b})=>t.jsx(pe,{style:b,children:o[m]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(I.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":j("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(me,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey5};
|
|
4
4
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -34,7 +34,7 @@ import{X as B,cf as F,cn as R,j as t,Y as j,cl as _,C as f,g as u,p as s,co as G
|
|
|
34
34
|
border-radius: ${i.sp0};
|
|
35
35
|
margin: ${i.sp0};
|
|
36
36
|
color: ${e=>e.hasError===!0?u.important:e.theme.colors.primary};
|
|
37
|
-
${
|
|
37
|
+
${V.standardRegular.css};
|
|
38
38
|
box-sizing: border-box;
|
|
39
39
|
overflow: hidden;
|
|
40
40
|
text-overflow: ellipsis;
|
|
@@ -45,7 +45,7 @@ import{X as B,cf as F,cn as R,j as t,Y as j,cl as _,C as f,g as u,p as s,co as G
|
|
|
45
45
|
display: flex;
|
|
46
46
|
width: ${e=>e.menuIsOpen===!1&&e.selectedValue!=null?i.sp0:"100%"};
|
|
47
47
|
position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
|
|
48
|
-
${
|
|
48
|
+
${V.standardRegular.css};
|
|
49
49
|
color: ${e=>e.hasError===!0?u.important:e.theme.colors.primary};
|
|
50
50
|
margin: ${i.sp0};
|
|
51
51
|
cursor: inherit;
|
|
@@ -67,7 +67,7 @@ import{X as B,cf as F,cn as R,j as t,Y as j,cl as _,C as f,g as u,p as s,co as G
|
|
|
67
67
|
`,ne=a.div`
|
|
68
68
|
border-radius: inherit;
|
|
69
69
|
.select-option {
|
|
70
|
-
${
|
|
70
|
+
${V.smallRegular.css};
|
|
71
71
|
height: ${i.sp6};
|
|
72
72
|
padding: 9px ${i.sp3};
|
|
73
73
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
|
|
@@ -153,7 +153,7 @@ import{X as B,cf as F,cn as R,j as t,Y as j,cl as _,C as f,g as u,p as s,co as G
|
|
|
153
153
|
justify-content: inherit;
|
|
154
154
|
align-items: center;
|
|
155
155
|
width: 100%;
|
|
156
|
-
`,ve=()=>null,je=()=>null,Se=()=>null,Ie=(e,r)=>e.map(o=>
|
|
156
|
+
`,ve=()=>null,je=()=>null,Se=()=>null,Ie=(e,r)=>e.map(o=>R(o,r)),R=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Ce=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:$,isOptionRemovable:m,tagProperties:b,onSelectChange:x,getLabelForId:S})=>{const{control:c,formState:{errors:w}}=F(),y=z(w,e??"");return t.jsx(q,{name:e,control:c,defaultValue:o,"data-testid":j("creatable-single-select-field",e),rules:r,render:({field:{value:C,onChange:O}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{x?.(v??""),O({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:C.selectedOption,allValues:o.allOptions,addIconInCreateLabel:$,isOptionRemovable:m,getLabelForId:S,tagProperties:b,hasError:y,name:e})})})},g={width:new f(343,580,726),height:new f(s[6],s[6]),controlHeight:new f(s[6],s[6]),paddingTopBottom:new f(s[2],s[2]),marginRight:new f(s[2],s[2]),labelMarginLeft:new f(s[3],s[4]),labelMarginRight:new f(s[3],s[4]),labelMarginTop:new f(s[2],s[2])},Oe={infoLabel:new G("extraSmallRegular","smallRegular")};function Fe({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:$,addIconInCreateLabel:m,additionalInfoTextColor:b,onSelectChange:x,getLabelForId:S}){const c=B(),{formState:{errors:w}}=F(),y=z(w,o.name??"");return t.jsxs(Le,{size:c,style:n,isDisabled:e!=null,hasError:y,"data-testid":j("labeled-creatable-single-select-field",o.name),children:[t.jsx(_,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(ke,{labelWidth:r.width,children:[t.jsx(Ce,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&m===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:x,isOptionRemovable:$,addIconInCreateLabel:m,getLabelForId:S}),t.jsx(D,{size:c,additionalInfoTextColor:b,children:d}),y&&t.jsx(D,{size:c,hasError:y,children:h})]})]})}const Le=a.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: row;
|
|
159
159
|
align-items: flex-start;
|
|
@@ -195,10 +195,10 @@ import{X as B,cf as F,cn as R,j as t,Y as j,cl as _,C as f,g as u,p as s,co as G
|
|
|
195
195
|
justify-content: flex-end;
|
|
196
196
|
flex-direction: column;
|
|
197
197
|
position: relative;
|
|
198
|
-
`,
|
|
198
|
+
`,D=a.label`
|
|
199
199
|
color: ${e=>e.hasError===!0?u.important:e.additionalInfoTextColor!=null?e.additionalInfoTextColor:e.theme.colors.grey1};
|
|
200
200
|
width: auto;
|
|
201
|
-
${e=>`${
|
|
201
|
+
${e=>`${Oe.infoLabel.style(e.size)}`};
|
|
202
202
|
padding-right: ${i.sp3};
|
|
203
203
|
text-align: right;
|
|
204
204
|
`;export{Fe as I};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import{X as I,cg as U,co as g,j as s,Y as W,cm as N,C as l,eQ as O,M as k,p as i,o,g as A,Q}from"./index-GMJ2nuUF.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},K={infoLabel:new Q("extraSmallRegular","smallRegular")};function X({label:e,isDisabled:r,isOptional:u,style:c,file:m,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:M,updateFilesEntity:R,onDeleteFile:B,onEditFileName:C,onFileSizeError:j}){const a=I(),{formState:{errors:p}}=U(),h=g(p,n),D=g(p,`${n}.fileName`);return s.jsxs(Y,{size:a,style:c,isDisabled:r!=null,"data-testid":W("document-field",n),children:[s.jsx(N,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),s.jsxs(q,{labelWidth:e.width,size:a,children:[s.jsx(O,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:m,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:R,onFileSizeError:j,onDeleteFile:B,onEditFileName:C,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showWebCamPopUpCloseIcon:M,showUploadSuccessAnimation:T}),h&&s.jsx(G,{size:a,isError:h,children:D&&m!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const Y=d.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: ${e=>e.size==="small"?"column":"row"};
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
+
width: ${e=>t.width.valuePx(e.size)};
|
|
7
|
+
min-height: ${e=>t.height.valuePx(e.size)};
|
|
8
|
+
padding-right: ${e=>t.marginRight.valuePx(e.size)};
|
|
9
|
+
padding-top: ${e=>t.paddingTopBottom.valuePx(e.size)};
|
|
10
|
+
padding-bottom: ${e=>t.paddingTopBottom.valuePx(e.size)};
|
|
11
|
+
|
|
12
|
+
:first-of-type {
|
|
13
|
+
border-top-left-radius: inherit;
|
|
14
|
+
border-top-right-radius: inherit;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:last-of-type {
|
|
18
|
+
border-bottom-left-radius: inherit;
|
|
19
|
+
border-bottom-right-radius: inherit;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:hover {
|
|
23
|
+
z-index: 1;
|
|
24
|
+
outline: 1px solid
|
|
25
|
+
${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
26
|
+
}
|
|
27
|
+
`,q=d.div`
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
31
|
+
padding: ${e=>e.size==="small"?`${o.sp1} ${o.sp2} ${o.sp0} ${o.sp3}`:o.sp0};
|
|
32
|
+
box-sizing: ${e=>e.size==="small"?"border-box":"inherit"};
|
|
33
|
+
align-items: flex-end;
|
|
34
|
+
flex-grow: 1;
|
|
35
|
+
`,G=d.label`
|
|
36
|
+
display: flex;
|
|
37
|
+
color: ${e=>e.isError?A.important:e.theme.colors.grey1};
|
|
38
|
+
${e=>`${K.infoLabel.style(e.size)}`};
|
|
39
|
+
padding-right: ${o.sp3};
|
|
40
|
+
text-align: right;
|
|
41
|
+
`;export{X as Y};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import{X as R,u as T,cg as h,co as V,j as r,o,cp as O,bn as P,q,fK as A,g as l,Q as F,b0 as K}from"./index-GMJ2nuUF.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const M={infoLabel:new F("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:m,formattedText:s,dropdownStyle:b,style:f,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:S}){const a=R(),u=T(),{formState:{errors:D}}=h(),d=V(D,s.name),{control:z}=h(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(Q,{size:a,style:f,isDisabled:e!=null,isError:d||n,children:[r.jsx(J,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(X,{style:{width:"auto",...b},children:r.jsx(O,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:p.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:c=>{I(c)},menuPlacement:v,titleTextStyle:q.standardRegular,titleColor:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(U,{children:[r.jsx(A,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(B,{children:r.jsx(G,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const Q=i.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
align-items: center;
|
|
5
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
+
min-height: ${o.sp6};
|
|
7
|
+
padding-top: ${o.sp2};
|
|
8
|
+
padding-bottom: ${o.sp2};
|
|
9
|
+
padding-right: ${o.sp2};
|
|
10
|
+
|
|
11
|
+
:first-of-type {
|
|
12
|
+
border-top-left-radius: inherit;
|
|
13
|
+
border-top-right-radius: inherit;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:last-of-type {
|
|
17
|
+
border-bottom-left-radius: inherit;
|
|
18
|
+
border-bottom-right-radius: inherit;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:focus-within {
|
|
22
|
+
z-index: 1;
|
|
23
|
+
|
|
24
|
+
input {
|
|
25
|
+
background-color: ${e=>e.isError?l.importantLight:e.theme.colors.background};
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
input {
|
|
29
|
+
background-color: ${e=>e.isError?l.importantLight:e.theme.colors.grey5};
|
|
30
|
+
}
|
|
31
|
+
&:hover {
|
|
32
|
+
input {
|
|
33
|
+
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?l.importantLight:e.theme.colors.background};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
`,U=i.div`
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
align-items: flex-end;
|
|
40
|
+
flex-grow: 1;
|
|
41
|
+
`,g=i.label`
|
|
42
|
+
display: flex;
|
|
43
|
+
color: ${e=>e.isError?l.important:e.theme.colors.grey1};
|
|
44
|
+
${e=>`${M.infoLabel.style(e.size)}`};
|
|
45
|
+
padding-right: ${o.sp3};
|
|
46
|
+
text-align: right;
|
|
47
|
+
`,B=i.div`
|
|
48
|
+
display: flex;
|
|
49
|
+
margin-right: ${o.sp1};
|
|
50
|
+
align-items: center;
|
|
51
|
+
`,G=i(K)`
|
|
52
|
+
width: ${o.sp3};
|
|
53
|
+
height: ${o.sp3};
|
|
54
|
+
color: ${l.successDark};
|
|
55
|
+
`,J=i.div`
|
|
56
|
+
display: flex;
|
|
57
|
+
width: 100%;
|
|
58
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
59
|
+
`,X=i.div``;export{N as Y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as b,j as r,Y as s,
|
|
1
|
+
import{X as b,j as r,Y as s,cm as m,C as l,p as t,o as a,s as u,Q as x}from"./index-GMJ2nuUF.js";import{n}from"./vendor-CnQcJ2Lu.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(f,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(m,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const f=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -16,7 +16,7 @@ import{X as b,j as r,Y as s,cl as u,C as l,p as t,o as a,q as m,Q as x}from"./in
|
|
|
16
16
|
border-bottom-left-radius: inherit;
|
|
17
17
|
border-bottom-right-radius: inherit;
|
|
18
18
|
}
|
|
19
|
-
`,w=n(
|
|
19
|
+
`,w=n(u)`
|
|
20
20
|
display: flex;
|
|
21
21
|
border-width: ${a.sp0};
|
|
22
22
|
outline-width: ${a.sp0};
|
|
@@ -36,7 +36,7 @@ import{X as b,j as r,Y as s,cl as u,C as l,p as t,o as a,q as m,Q as x}from"./in
|
|
|
36
36
|
display: flex;
|
|
37
37
|
justify-content: flex-end;
|
|
38
38
|
color: ${e=>e.theme.colors.hero};
|
|
39
|
-
${e=>`${
|
|
39
|
+
${e=>`${c.infoLabel.style(e.size)}`};
|
|
40
40
|
padding-right: ${a.sp3};
|
|
41
41
|
text-align: right;
|
|
42
42
|
`;export{z as S};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as
|
|
1
|
+
import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u as fe,fu as be,M as E,Q as we,b3 as H,fv as Y,bO as _,fw as X,b0 as q,g as R,q as G,s as Z,fx as $e,f as ye,v as ve}from"./index-GMJ2nuUF.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-D25NUL6y-DukVAPbK.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${s.sp2};
|
|
4
4
|
align-items: center;
|
|
@@ -96,7 +96,7 @@ import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn as fe,u
|
|
|
96
96
|
overflow: hidden;
|
|
97
97
|
text-overflow: ellipsis;
|
|
98
98
|
white-space: nowrap;
|
|
99
|
-
`,Q=r.div``,
|
|
99
|
+
`,Q=r.div``,Me=r.div`
|
|
100
100
|
width: 100%;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
102
102
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -164,7 +164,7 @@ import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn as fe,u
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
`,
|
|
167
|
+
`,Ne=r.div`
|
|
168
168
|
width: ${e=>e.windowSize==="small"?"max-content":"100%"};
|
|
169
169
|
display: flex;
|
|
170
170
|
flex-direction: column;
|
|
@@ -180,21 +180,21 @@ import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn as fe,u
|
|
|
180
180
|
border-radius: ${s.sp1};
|
|
181
181
|
margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
|
|
182
182
|
width: fit-content;
|
|
183
|
-
`;function
|
|
183
|
+
`;function We({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:x,optionStyles:T,isValuePlacedAtEnd:I=!0,isDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:V}}=K(),L=xe(V,j??""),c=N(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Ee,{menuIsOpen:i,isError:L,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Fe,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Ue,{}),l.jsx(Q,{children:l.jsx(F,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(U,{children:[S||D?l.jsx(Y,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Ve,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],f=b(o.value);return l.jsxs(ke,{children:[l.jsxs(Pe,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(X,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(F,{children:i})]}),S?l.jsx(W,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!z?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(A=>A.userId===i.value),f=e[p],y=b(i.value);return l.jsxs(Ie,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:f?.user?.photo!=null?l.jsx(Ae,{src:f?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(X,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Q,{children:[l.jsx(F,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Me,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:P,children:l.jsx(H.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(H.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ne,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=fe();return l.jsx(be,{placeholder:g??E.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:x,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:k,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const He={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:x,isDisabled:T,additionalLabelInfo:I,isOptionDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=K(),V=N();return l.jsx(ge,{name:e,control:P,defaultValue:g,rules:n,render:({field:{value:L,onChange:c}})=>l.jsxs(Xe,{width:w?.width,"data-testid":J("user-single-select",e),children:[l.jsx(We,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:L.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:w,isValuePlacedAtEnd:x,isDisabled:T,isOptionDisabled:k,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(qe,{size:V,children:I})]})})},Xe=r.div`
|
|
184
184
|
display: flex;
|
|
185
185
|
flex-direction: column;
|
|
186
186
|
width: ${e=>e.width!=null?e.width:"auto"};
|
|
187
187
|
`,qe=r.label`
|
|
188
188
|
color: ${e=>e.theme.colors.hero};
|
|
189
|
-
${e=>`${
|
|
189
|
+
${e=>`${He.infoLabel.style(e.size)}`};
|
|
190
190
|
text-align: right;
|
|
191
191
|
padding-right: ${s.sp3};
|
|
192
|
-
`,
|
|
192
|
+
`,M={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ke({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const x=N();return l.jsxs(Ge,{size:x,style:g,isDisabled:e!=null,opacity:j,"data-testid":J("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:M.labelMarginLeft.value(x),marginRight:M.labelMarginRight.value(x),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Ge=r.div`
|
|
193
193
|
display: flex;
|
|
194
194
|
flex-direction: row;
|
|
195
195
|
align-items: flex-start;
|
|
196
196
|
background-color: ${e=>e.theme.colors.grey5};
|
|
197
|
-
width: ${e=>
|
|
197
|
+
width: ${e=>M.width.valuePx(e.size)};
|
|
198
198
|
min-height: ${s.sp6};
|
|
199
199
|
padding-right: ${s.sp2};
|
|
200
200
|
padding-top: ${s.sp2};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{X as B,j as l,Y as
|
|
1
|
+
import{X as B,j as l,Y as H,cm as K,C as g,o,p as n,cg as U,cp as G,co as X,u as q,q as V,b2 as ie,l as I,M as te,fr as se,fy as ae,U as ne,am as de,g as k,b3 as M,av as ce,b0 as pe,b$ as ue,fz as F,ah as Q,K as he,v as Y,s as me,f as ge,fj as be,f5 as fe,aQ as xe,fk as ye,cZ as ve,fA as we}from"./index-GMJ2nuUF.js";import{n as d,j as $e,b as z}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-D25NUL6y-DukVAPbK.js";const A={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
margin-top: ${e=>
|
|
4
|
-
margin-bottom: ${e=>
|
|
5
|
-
margin-left: ${e=>
|
|
3
|
+
margin-top: ${e=>A.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
4
|
+
margin-bottom: ${e=>A.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
5
|
+
margin-left: ${e=>A.grpBtnMarginLeftRight.valuePx(e.windowSize)};
|
|
6
6
|
cursor: pointer;
|
|
7
7
|
height: 29px;
|
|
8
8
|
&:hover {
|
|
@@ -22,7 +22,7 @@ import{X as B,j as l,Y as A,cl as G,C as m,o,p as n,cf as _,co as J,cn as K,u as
|
|
|
22
22
|
}
|
|
23
23
|
`,Ce=d.div`
|
|
24
24
|
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
25
|
-
`,
|
|
25
|
+
`,Z=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=B(),a=q(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(je,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Se,{"data-testid":H("grouped-button-container",u.value),className:"grpBtn",isDisabled:y||!u.enabled,children:[l.jsx(he,{label:u.label,size:"small",variant:f(u),"data-testid":H("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(Ce,{className:"verticalLine"}):null]},u.value))})},E={allRolesMarginLeftRight:new g(n[3],n[4])},ze=d.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -31,7 +31,7 @@ import{X as B,j as l,Y as A,cl as G,C as m,o,p as n,cf as _,co as J,cn as K,u as
|
|
|
31
31
|
&:hover {
|
|
32
32
|
color: ${e=>e.theme.colors.primary};
|
|
33
33
|
}
|
|
34
|
-
`,
|
|
34
|
+
`,ke=d.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
width: 100%;
|
|
@@ -51,16 +51,16 @@ import{X as B,j as l,Y as A,cl as G,C as m,o,p as n,cf as _,co as J,cn as K,u as
|
|
|
51
51
|
flex-direction: row;
|
|
52
52
|
margin-bottom: ${o.sp3};
|
|
53
53
|
justify-content: space-between;
|
|
54
|
-
`,Oe=d(
|
|
54
|
+
`,Oe=d(Q)`
|
|
55
55
|
display: flex;
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
57
|
-
`,
|
|
57
|
+
`,W=d(Y)`
|
|
58
58
|
display: flex;
|
|
59
59
|
color: ${e=>e.theme.colors.hero};
|
|
60
60
|
`,Te=d.div`
|
|
61
61
|
display: flex;
|
|
62
62
|
.roleTitle {
|
|
63
|
-
color: ${e=>e.isError?
|
|
63
|
+
color: ${e=>e.isError?k.important:e.theme.colors.hero};
|
|
64
64
|
}
|
|
65
65
|
.roleSubTitle {
|
|
66
66
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -87,12 +87,12 @@ import{X as B,j as l,Y as A,cl as G,C as m,o,p as n,cf as _,co as J,cn as K,u as
|
|
|
87
87
|
`,Me=d.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-direction: column;
|
|
90
|
-
`,Be=d(
|
|
90
|
+
`,Be=d(Q)`
|
|
91
91
|
display: flex;
|
|
92
92
|
`,Le=d(Y)`
|
|
93
93
|
display: flex;
|
|
94
94
|
margin-bottom: ${o.sp1};
|
|
95
|
-
`,Ve=d(
|
|
95
|
+
`,Ve=d(ge)`
|
|
96
96
|
display: flex;
|
|
97
97
|
padding: 1px 6px 1px 6px;
|
|
98
98
|
border: 1px solid;
|
|
@@ -101,41 +101,41 @@ import{X as B,j as l,Y as A,cl as G,C as m,o,p as n,cf as _,co as J,cn as K,u as
|
|
|
101
101
|
`,Ie=d.div`
|
|
102
102
|
display: flex;
|
|
103
103
|
flex-direction: row;
|
|
104
|
-
`,Ee=d.div``,
|
|
104
|
+
`,Ee=d.div``,Ue=d.div`
|
|
105
105
|
display: flex;
|
|
106
106
|
flex-direction: column;
|
|
107
107
|
padding-left: ${o.sp3};
|
|
108
|
-
`,
|
|
108
|
+
`,_e=d(we)`
|
|
109
109
|
width: ${o.sp4};
|
|
110
110
|
height: ${o.sp4};
|
|
111
111
|
color: ${e=>e.theme.colors.hero};
|
|
112
|
-
`,
|
|
112
|
+
`,Ne=d(ve)`
|
|
113
113
|
width: ${o.sp4};
|
|
114
114
|
height: ${o.sp4};
|
|
115
115
|
color: ${e=>e.theme.colors.hero};
|
|
116
|
-
`,
|
|
116
|
+
`,Fe=d(ye)`
|
|
117
117
|
width: ${o.sp4};
|
|
118
118
|
height: ${o.sp4};
|
|
119
119
|
color: ${e=>e.theme.colors.hero};
|
|
120
|
-
`,
|
|
120
|
+
`,Ae=d(xe)`
|
|
121
121
|
width: ${o.sp4};
|
|
122
122
|
height: ${o.sp4};
|
|
123
123
|
color: ${e=>e.theme.colors.hero};
|
|
124
|
-
`,
|
|
124
|
+
`,He=d(fe)`
|
|
125
125
|
width: ${o.sp4};
|
|
126
126
|
height: ${o.sp4};
|
|
127
127
|
color: ${e=>e.theme.colors.hero};
|
|
128
|
-
`,
|
|
128
|
+
`,Ze=d(be)`
|
|
129
129
|
width: ${o.sp4};
|
|
130
130
|
height: ${o.sp4};
|
|
131
131
|
color: ${e=>e.theme.colors.hero};
|
|
132
|
-
`,
|
|
132
|
+
`,We=d.div`
|
|
133
133
|
display: flex;
|
|
134
134
|
flex-direction: column;
|
|
135
135
|
margin-right: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
136
136
|
margin-left: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
137
|
-
color: ${e=>e.theme.mode==="light"?
|
|
138
|
-
`,
|
|
137
|
+
color: ${e=>e.theme.mode==="light"?k.brandColorOnyx:k.brandColorPearl};
|
|
138
|
+
`,Je=e=>{switch(e){case"bookkeeping":return l.jsx(_e,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(Fe,{});case"zeni_checking":return l.jsx(Ae,{});case"zeni_cards":return l.jsx(He,{});case"zeni_treasury":return l.jsx(Ze,{});default:return null}},Ke=e=>l.jsxs(Me,{children:[l.jsx(Be,{className:"roleTitle",children:F[e].label}),l.jsx(Le,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Ge=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=U(),a=X(p,`${e}.userRole.selectedRole`),f=B(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=z.useCallback(h=>{const t=se([h]),C=ae(h),w=ne(i.productsByUserRole[t]),R=w.findIndex(P=>P.productType===C),L=w[R].selectedOption?.value===h;R>-1&&(w[R]={...w[R],selectedOption:L?void 0:w[R].options.filter(P=>P.value===h)[0]});const _={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...w]}};c(_)},[c,i]),y=i.userRole.selectedRole,u=z.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);z.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,D=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(We,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(ke,{children:x.map(h=>l.jsxs(ze,{windowSize:f,children:[l.jsx(Te,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ke(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(De,{windowSize:f,isCollapsed:D(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Pe,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&Je(t.productType)}),l.jsxs(Ue,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(Z,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(W,{children:t.subTitleUser}),l.jsx(W,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(Z,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Xe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=U();return l.jsx(G,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Ge,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new g(343,580,726),height:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),labelPaddingLeft:new g(n[3],n[4]),labelPaddingRight:new g(n[3],n[4]),labelPaddingTop:new g(n[2],n[2]),labelPaddingBottom:new g(n[2],n[3])};function bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=B();return l.jsxs(qe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(K,{isDisabled:e,label:s.label,htmlFor:i.name,style:{paddingLeft:S.labelPaddingLeft.value(p),paddingRight:S.labelPaddingRight.value(p),paddingTop:S.labelPaddingTop.value(p),paddingBottom:S.labelPaddingBottom.value(p)}}),l.jsx(Xe,{...i,isDisabled:e})]})}const qe=d.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-direction: ${e=>e.isDisabled?"row":"column"};
|
|
141
141
|
align-items: ${e=>e.isDisabled?"center":"flex-start"};
|
|
@@ -169,7 +169,7 @@ import{X as B,j as l,Y as A,cl as G,C as m,o,p as n,cf as _,co as J,cn as K,u as
|
|
|
169
169
|
border-color: inherit;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
`;function
|
|
172
|
+
`;function Qe({onSelectionChanged:e,forZeniUser:s,selectedRoles:i,allRoles:c,disable:p=!1,isMulti:a=!1,clearSelectedRole:f,style:$,name:b,isValuePlacedAtEnd:y=!0}){const[u,x]=z.useState(),{formState:{errors:D}}=U(),h=X(D,b??"");z.useEffect(()=>{const r=c.filter(m=>i!=null&&i.includes(m.value));x(a?r:r[0])},[i]),z.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=q(),C=B(),w=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=w.findIndex(m=>m.value==="admin");w.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=w.findIndex(m=>m.value==="bookkeeping_admin");w.splice(r,1)}}const R=t.colors.grey5,L=V.smallRegular.cssObject,_=L,P=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:P?"wrap":"nowrap",width:C==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",..._,overflow:"visible",minWidth:"auto",paddingLeft:o.sp0,paddingRight:o.sp0,display:"flex",justifyContent:"flex-start",fill:t.colors.hero,":hover":{">div>div":{fill:t.colors.primary,color:t.colors.primary}},">div:last-of-type":{span:{display:"none"}}}),singleValue:(r,m)=>({...r,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,maxWidth:"auto",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:o.sp0,position:"inherit",transform:"none",top:o.sp0,marginRight:o.sp0,padding:o.sp0,...V.standardRegular.cssObject}),multiValue:(r,m)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:m.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,":hover":{color:t.colors.primary},">div":{borderRadius:o.sp0,padding:o.sp0,borderLeftStyle:"solid",borderWidth:o.sp0,borderColor:t.colors.grey1,color:"unset"}}),menu:r=>({...r,backgroundColor:R,boxShadow:`${o.sp0} 2px ${o.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",width:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:m,isDisabled:T,data:O})=>{const v=I.isNonZeniRole(O.value)&&s===!0,N=J(m,v,O.value,t);return{...r,height:v?44:40,padding:v?o.sp0:`${o.sp2} 12px`,marginTop:v?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...L,color:N,cursor:T?"not-allowed":"pointer",backgroundColor:m&&!v?t.colors.background:"transparent",">div":{backgroundColor:m?t.colors.background:"transparent"},borderTop:v||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:J(!0,v,O.value,t),backgroundColor:m&&!v?t.colors.background:v?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:v||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:v?"none":"inline-block"}},">div>div>div:first-of-type":{display:"flex"}}},indicatorsContainer:r=>({...r,alignItems:a?"flex-start":"center",paddingTop:P||!a?"unset":"5px"}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({paddingTop:a?o.sp1:"2px",svg:{marginLeft:a&&u?.length>0?"unset":"6px"}})},oe=r=>{const{isSelected:m}=r;return z.createElement(M.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!m&&l.jsxs("div",{children:[l.jsx(pe,{width:o.sp3,height:o.sp3}),s===!0?l.jsx(ue,{width:o.sp3,height:o.sp3}):null]})]}))},le=r=>{const m=[];a&&r.forEach(T=>{m.push(T.value)}),e(a?m:r.value)},re=r=>{const{menuIsOpen:m,isFocused:T,isDisabled:O,selectProps:v}=r,{value:N}=v;return l.jsx(co,{menuIsOpen:m,isFocused:T,isDisabled:O,selectedValue:N,isError:h,isValuePlacedAtEnd:y,windowSize:C,children:l.jsx(M.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:w,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:oo,Option:oe,MultiValueRemove:lo,IndicatorSeparator:ro,MultiValueLabel:io,ValueContainer:to,Placeholder:eo,Input:Ye},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&I.isNonZeniRole(r.value),classNamePrefix:"zeniRolesDropDown"})}const Ye=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(M.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},eo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?k.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(M.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(M.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(me)`
|
|
173
173
|
padding: ${o.sp0} 2px;
|
|
174
174
|
max-width: 104px;
|
|
175
175
|
white-space: nowrap;
|
|
@@ -189,7 +189,7 @@ import{X as B,j as l,Y as A,cl as G,C as m,o,p as n,cf as _,co as J,cn as K,u as
|
|
|
189
189
|
.select-control {
|
|
190
190
|
border: none;
|
|
191
191
|
height: ${e=>e.windowSize==="small"?"auto":o.sp6};
|
|
192
|
-
background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?
|
|
192
|
+
background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?k.importantLight:e.theme.colors.grey5};
|
|
193
193
|
box-shadow: none;
|
|
194
194
|
&:hover {
|
|
195
195
|
fill: ${e=>e.theme.colors.primary};
|
|
@@ -247,18 +247,18 @@ import{X as B,j as l,Y as A,cl as G,C as m,o,p as n,cf as _,co as J,cn as K,u as
|
|
|
247
247
|
visibility: visible;
|
|
248
248
|
}
|
|
249
249
|
::placeholder {
|
|
250
|
-
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?
|
|
250
|
+
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?k.important:e.theme.colors.grey1};
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
.placeholder-container {
|
|
255
|
-
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?
|
|
255
|
+
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?k.important:e.theme.colors.grey1};
|
|
256
256
|
}
|
|
257
257
|
> div:nth-last-of-type(2) .seperator {
|
|
258
258
|
visibility: hidden;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
`,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=
|
|
261
|
+
`,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=U();return l.jsx(G,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Qe,{onSelectionChanged:D=>{x({allOptions:c.allOptions,selectedOptions:D}),$?.(D)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new g(343,580,726),height:new g(n[6],n[6]),controlHeight:new g(n[6],n[6]),paddingTopBottom:new g(n[2],n[2]),marginRight:new g(n[2],n[2]),labelMarginLeft:new g(n[3],n[4]),labelMarginRight:new g(n[3],n[4]),labelMarginTop:new g(n[2],n[2])};function fo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=B();return l.jsxs(uo,{size:p,style:c,isDisabled:e!=null,"data-testid":H("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(K,{isDisabled:e,label:s.label,htmlFor:i.name,style:{marginLeft:j.labelMarginLeft.value(p),marginRight:j.labelMarginRight.value(p),marginTop:j.labelMarginTop.value(p),width:s.width??"auto"}}),l.jsx(po,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const uo=d.div`
|
|
262
262
|
display: flex;
|
|
263
263
|
flex-direction: row;
|
|
264
264
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as H,
|
|
1
|
+
import{X as H,a5 as ue,l as y,a as pe,c3 as me,i7 as P,hU as L,M as Q,c4 as he,j as a,F as ge,fB as xe,a7 as fe,o as t,C as m,k as be,a6 as je,c6 as R,i8 as Ce,g as ye,q as I,hF as we,p as r}from"./index-GMJ2nuUF.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-CfY8i6QF-Bt2lSSKs.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-CKrD5nfN-BLAx8CgU.js";import"./TrendWithTransactions-D8xzYG_f-De6kCbSg.js";import"./TrendChart-Dp3QrDED-8QXEOf_A.js";import"./chartTypes-0tTBFzPe-DXv2oVtL.js";import"./toCOABalancesWithID-e2ImXwdp-1SnM9fzu.js";import"./toChartData-Dh91kb97-BMfM5MG4.js";import"./NoDataChart-CydgbaO2-w_aLFoRL.js";import"./InsightsSection-CN1BVvSr-DiHzw0Zr.js";import"./NavigationDots-Dt6TkUQ7-IyWw7xzb.js";import"./TransactionList-BABUQprb-zMQcRTpf.js";import"./BoxItem-B8KF3Skh-TmzJmYZc.js";import"./commonDimensions-B68wSFi9-M2W23m0D.js";import"./uploadAttachment-BZTALP74-ypSfSLhV.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const V={labelWidth:new m(120,145,160)},$e=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -19,7 +19,7 @@ import{X as H,a1 as ue,l as C,a as pe,c2 as me,i3 as P,hQ as L,M as W,c3 as he,j
|
|
|
19
19
|
background-color: ${e=>e.theme.colors.grey3};
|
|
20
20
|
min-height: 1px;
|
|
21
21
|
max-height: 1px;
|
|
22
|
-
`,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:
|
|
22
|
+
`,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=Q.getLocalizedStrings(),{dateFormat:w,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(w.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(R,{label:{label:o.jePostingDate,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(R,{label:{label:o.jeLink,width:V.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:ye.link},options:{pattern:Ce}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},M="linkJETransactionPage",G="linkJETransaction",X=Q.getLocalizedStrings(),{common:{footer:Y},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:U,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),T=ue(u),j=y.getQBOUrlForLink(h.toString(),s.jeLink),$=y.getFirstControllerEmail(A.controllers),v=y.getFirstControllerId(A.controllerUserIds),F=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),U()}},[u,T,U]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",B=he(x.formState.dirtyFields),k=x.formState.isValid,C=D&&B&&k||D&&z&&k,E=B&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(ze,{windowSize:p,children:f.linkJE}),a.jsx(Fe,{children:a.jsx(Ne,{onClick:F})})]}),a.jsxs(Ie,{children:[a.jsx(Ue,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(M),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Re,{windowSize:p,children:[a.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Te,{children:a.jsx(Se,{isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Be,{children:[re?a.jsx(W,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(W,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),C||E?a.jsx(fe,{formId:C?q(M):void 0,primaryBtn:{onClick:E&&!C?le:void 0,label:E&&!C?f.fetchJE:Y.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:F}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:y.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
flex: 1 1 auto;
|
|
25
25
|
width: 100%;
|
|
@@ -48,7 +48,7 @@ import{X as H,a1 as ue,l as C,a as pe,c2 as me,i3 as P,hQ as L,M as W,c3 as he,j
|
|
|
48
48
|
flex: 1;
|
|
49
49
|
margin-bottom: ${t.sp12};
|
|
50
50
|
background-color: inherit;
|
|
51
|
-
`,
|
|
51
|
+
`,Fe=i.div`
|
|
52
52
|
display: flex;
|
|
53
53
|
justify-content: flex-end;
|
|
54
54
|
align-items: center;
|
|
@@ -61,14 +61,14 @@ import{X as H,a1 as ue,l as C,a as pe,c2 as me,i3 as P,hQ as L,M as W,c3 as he,j
|
|
|
61
61
|
&:hover {
|
|
62
62
|
color: ${e=>e.theme.colors.primary};
|
|
63
63
|
}
|
|
64
|
-
`,
|
|
64
|
+
`,ze=i(be)`
|
|
65
65
|
display: flex;
|
|
66
66
|
width: 100%;
|
|
67
67
|
flex-grow: 1;
|
|
68
68
|
color: ${e=>e.theme.colors.primary};
|
|
69
69
|
margin: auto;
|
|
70
70
|
justify-content: center;
|
|
71
|
-
`,
|
|
71
|
+
`,W=i.div`
|
|
72
72
|
height: ${e=>b.emptyScheduleHeight.valuePx(e.windowSize)};
|
|
73
73
|
display: flex;
|
|
74
74
|
align-items: center;
|
|
@@ -79,10 +79,10 @@ import{X as H,a1 as ue,l as C,a as pe,c2 as me,i3 as P,hQ as L,M as W,c3 as he,j
|
|
|
79
79
|
color: ${e=>e.theme.colors.hero};
|
|
80
80
|
margin: ${t.sp3} ${t.sp1};
|
|
81
81
|
${I.standardRegular.css};
|
|
82
|
-
`,
|
|
82
|
+
`,Be=i.div`
|
|
83
83
|
flex-grow: 1;
|
|
84
84
|
width: 100%;
|
|
85
|
-
`,
|
|
85
|
+
`,Re=i.div`
|
|
86
86
|
display: flex;
|
|
87
87
|
align-items: center;
|
|
88
88
|
gap: ${t.sp1};
|
|
@@ -92,7 +92,7 @@ import{X as H,a1 as ue,l as C,a as pe,c2 as me,i3 as P,hQ as L,M as W,c3 as he,j
|
|
|
92
92
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
93
93
|
margin: ${t.sp3} ${t.sp1};
|
|
94
94
|
${I.standardRegular.css};
|
|
95
|
-
`,
|
|
95
|
+
`,Oe=i(we)`
|
|
96
96
|
width: ${t.sp3};
|
|
97
97
|
height: ${t.sp3};
|
|
98
98
|
`;export{ut as default,q as uniqueFormName};
|