@zeniai/web-cockpit-ui 1.15.41-qa → 1.15.42-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-DF16gWgj-Hpn_gqDU.js +21 -0
- package/dist/assets/{AIPerformancePage-PNdYt7zU-CCfuxILG.js → AIPerformancePage-C4vz8N43-CRGg0PbR.js} +41 -41
- package/dist/assets/AccountInfoPage-BEfWt7FF-DKS41VFv.js +18 -0
- package/dist/assets/{AccountInfoPageContent-ByDC4GDX-Dqc4SPDG.js → AccountInfoPageContent-ChU5cJoQ-D9IyZyne.js} +20 -20
- package/dist/assets/AccountLockedInfoModal-nR2S2Zp3-D-cVlgUn.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-C3eByWLq-C6RBkRVB.js → AccountReconDetailsDrawerPage-CX_r0vhF-C1q9rEkK.js} +49 -49
- package/dist/assets/{AccountRow-H8lG1wjG-BENCFocK.js → AccountRow-sz0SNySJ-PMcRks2g.js} +20 -20
- package/dist/assets/{AccountsPromoCardStack-DACW0OlS-D7dbT3SC.js → AccountsPromoCardStack-B7XZ57f9-CVIKbG9H.js} +26 -26
- package/dist/assets/AddAddressForCardDrawer-BJ-fZGjY-BgqrlNw3.js +6 -0
- package/dist/assets/{AddToWalletPage-CXsdXmY4-DqUKB32H.js → AddToWalletPage-DGRSRVWe-CKFgsCEX.js} +22 -22
- package/dist/assets/{AgingReportsPage-G-3_Pd0O-DSzSGoMU.js → AgingReportsPage-DMExghvs-CycrXnxr.js} +4 -4
- package/dist/assets/{AllUserItems-C87o610O-C4ngO1W2.js → AllUserItems-DryGxINS-Dfji-7g8.js} +9 -9
- package/dist/assets/ApAgingDetailPage-DGx58n1N-BTsjh3-_.js +46 -0
- package/dist/assets/{AppBasePage-CVtUuOcc-D8Jp442P.js → AppBasePage-CNTgjZKQ-wPJItjxh.js} +7 -7
- package/dist/assets/{AppDrawerContent-f9CovWwx-CRmwucEK.js → AppDrawerContent-BWPrhBXi-xs-4ykwH.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-MV9MWn1n-B_Gy9F2m.js → ApprovalRulesSettingsPage-d_j1Of5B-Drv5uoVo.js} +3 -3
- package/dist/assets/{ArAgingChart-Bn1ne5TY-gOLToFjY.js → ArAgingChart-OG8ATXHG-BPTtTowJ.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-LrJ7ab5--DpGQFGj1.js → ArAgingDetailPage-BPgtjmm2-3KI_6Cxg.js} +1 -1
- package/dist/assets/{AttachmentView-40S92NKz-O72HtTZp.js → AttachmentView-DTHxVIEf-OlbTumHp.js} +8 -8
- package/dist/assets/{BankAccountSection-BqHvCCIV-cPbSA8Xj.js → BankAccountSection-CJlVvGHg-BpmPk2BK.js} +3 -3
- package/dist/assets/{BankAccountWarningSection-BhYGVsUP-Bgxn65RB.js → BankAccountWarningSection-DVVX_lU2-YGd3zWAN.js} +4 -4
- package/dist/assets/{BankConnectionsSettingsPage-DXdPI9zA-DT9EhfPP.js → BankConnectionsSettingsPage-tN8-HD1P-CjUFfCmd.js} +25 -25
- package/dist/assets/BillDetailPage-Bm_TJJ2g-zy6sbh4h.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-CfqhwDf0-DCyv7vx2.js → BillPayApprovalRuleDetailPage-DtdRRgcR-CI7_XiGE.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-BYFmAM12-pZa4t15e.js → BillPayApprovalRulesPage-D7pP_-16-BPbHVQJF.js} +13 -13
- package/dist/assets/BillPayPromoPage-BEUu8_p_-CdxN39Ja.js +84 -0
- package/dist/assets/{BillPaySetUpPage-DWl8Zqs1-uZakaQ8Q.js → BillPaySetUpPage-BhUjqdEO-D4O_Ti0B.js} +4 -4
- package/dist/assets/BillingSettingsPage-BPRhivDv-C05om7fp.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-CKS2cRrv-BkJLG09t.js +1 -0
- package/dist/assets/{BoxItem-Ce8JhxRe-M9xWkSbH.js → BoxItem-BeIteKFb-Ib8SQzK0.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DBUiYheW-CjRSQJ04.js → BusinessVerificationPage-Djw-kSvA-C_VqSsA_.js} +6 -6
- package/dist/assets/{CardNumberSubText-1VICaGZC-D3RqCdk-.js → CardNumberSubText-D7w7pNlf-px0UUmwV.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D9MFQhkK-DId8X-0z.js → CashbackDetailPage-DiEz5YX_-8CUn3oj8.js} +18 -18
- package/dist/assets/{ChargeCardDetailPage-DPLktTU0-D-hVAQ2P.js → ChargeCardDetailPage-46d4rGgi-C8VEOYGw.js} +53 -53
- package/dist/assets/{ChargeCardListPage-PJbJVy9B-C7swXn1_.js → ChargeCardListPage-DQgEFDxx-CRF2CXoG.js} +16 -16
- package/dist/assets/{ChargeCardListTable-B7Jltqnn-lu4L-KiX.js → ChargeCardListTable-CAdFvZrg-ZDs6pP1D.js} +30 -30
- package/dist/assets/{ChargeCardPaymentHistoryPage-CY9nng7V-DMOUwpBt.js → ChargeCardPaymentHistoryPage-BVFfqwea-BY1rljaa.js} +36 -36
- package/dist/assets/{ChargeCardPromoPage-CQJ-q6d9-CAZVMp3A.js → ChargeCardPromoPage-N1x7DoZ4-C2G2NFcL.js} +25 -25
- package/dist/assets/{ChargeCardSetupPage-BjYXhI41-1PD6oZTx.js → ChargeCardSetupPage-DjoSNPoV-B95V0M5O.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-BJhMyv01-C4iLvalo.js → ChargeCardStatementsPage-CKWgdycu-Bzkf2xU2.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BDUc5zew-CPIt8X_J.js → CheckDepositDrawerPage-C6eutpsP-BJgM-nd0.js} +8 -8
- package/dist/assets/{CollapsableReportTable-CRZijlLw-DrP1MH6t.js → CollapsableReportTable-DQitA-HH-D-ytul6z.js} +86 -86
- package/dist/assets/{CompanyOfficerDetailsSection-DBN5fsfV-BQ3P2-gb.js → CompanyOfficerDetailsSection-BusB8QML-ByGBO89M.js} +15 -15
- package/dist/assets/{CompanyPassportCard-DY-UpT4X-C4b0dPrE.js → CompanyPassportCard-Dwq6U23E-Dff0N9f5.js} +2 -2
- package/dist/assets/{CompanyPassportPage-B0lEp15Z-1i_bghIC.js → CompanyPassportPage-a7p7-Yf7-BH2Ltdk_.js} +23 -23
- package/dist/assets/{CompleteProfile-DkXUTjrQ-Db_nzBJO.js → CompleteProfile-Be83xc7S-DF09SnKJ.js} +1 -1
- package/dist/assets/ConfettiBurst-BGpaNgtO-BA4--k5u.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CfTvgjDM.js → ConstrainedInnerElement-BeIpAPjB-B_QUqBfd.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-hAG6iJks-lkeljyMv.js → CreateOrEditVendorPage-CNOoNMGf-xbewlduj.js} +19 -19
- package/dist/assets/{CreditCardPaymentDrawerPage-CLche8ye-C_34ZvNa.js → CreditCardPaymentDrawerPage-BJFiaA8N-y9d5BoI2.js} +14 -14
- package/dist/assets/{CurrencySelectField-Cps-E4RZ-d5qF8fSQ.js → CurrencySelectField-QL-EZiuT-_bjNCxiF.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-B8EI1b3X-Dj6Y4Uh4.js → CustomerOnboardingActivationPage-ChFLc-Bh-CMWmLAhY.js} +6 -6
- package/dist/assets/CustomerOnboardingContainerPage-CiWilmvy-BSdTk0pn.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cjdz022F-BQzlWrkT.js → CustomerOnboardingDetailPageSkeleton-ByAYHyM5-BTUKD21M.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-BM3Ty0A--DIbMLpTU.js → CustomerOnboardingNoStepsPage-CJlf2BxW-CHRKjivu.js} +4 -4
- package/dist/assets/{CustomerOnboardingPage-D4cNTYTi-C42KbQXa.js → CustomerOnboardingPage-CZpYM2Um-DmldBx57.js} +14 -14
- package/dist/assets/{CustomerOnboardingProductSuitePage-BRg-6X__-DdNSpQ-6.js → CustomerOnboardingProductSuitePage-Bua-efZZ-DTLtNPox.js} +3 -3
- package/dist/assets/{Dashboard-hAvH2Ujo-B6IP_j2j.js → Dashboard-Bo3YLWim-DCvqfujn.js} +66 -66
- package/dist/assets/{DashboardReportPage-BnsfrJs5-BPhqM0F_.js → DashboardReportPage-DxLBSScH-DzuVjp6S.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CD-912fm-Dh1jPxOd.js → DashboardSidebarBackgroundAnimation-D9jy0E3J-CnJYb7sN.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BSjRIT76-BTmXhvMG.js → DepositAccTransactionItem-BUSuSCOR-65UinRer.js} +4 -4
- package/dist/assets/{DepositAccTransactionListPage-CMHZmCaF-BFddyBE8.js → DepositAccTransactionListPage-CIDmP_Ig-B_Y_F7VT.js} +9 -9
- package/dist/assets/{DomesticWireDetailsPage-B7IcmJ5S-CtbOrFFy.js → DomesticWireDetailsPage-1JafGpxq-uSG1nT_5.js} +1 -1
- package/dist/assets/{DownloadOverlay-DLdu2VQ3-KjQqw4XR.js → DownloadOverlay-DUYftI-h-D71rp7yz.js} +11 -11
- package/dist/assets/{DrawerPage-CVKJUV0d-1VrLf85V.js → DrawerPage-Br7Spm_D-pQ8sZx88.js} +7 -7
- package/dist/assets/EditPeoplePage-CGYR3lrg-DoWF8etD.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage--Sw7PT5v-ByroxrFy.js → EditReimbursementDetailPage-DMMdfkh8-Bucax6Ut.js} +156 -156
- package/dist/assets/EntityDetailPage-DYtL_p8R-GD_XakVz.js +18 -0
- package/dist/assets/{EntitySummarySection-BwfqmMJf-Ck--pC9e.js → EntitySummarySection-BqbaP86G-DpA6l5fM.js} +30 -30
- package/dist/assets/{ExpenseAutomationOverviewPage-EuWSUhAA-S_zuNRXY.js → ExpenseAutomationOverviewPage-CrXiwOR2-YbYbnS7Q.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-CNl1S9Aa-mhJaMF4M.js → ExpenseAutomationPage-Nf_8Kyie-CTvPgCHn.js} +47 -47
- package/dist/assets/{ExpressPayPage-CbWuzpCW-DS_V3c-F.js → ExpressPayPage-UQwsM48P-D7O-_G73.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-HWLnhB9a-DXJxcpnb.js → FeaturePreviewPage-BRPcuukW-BStEym9y.js} +2 -2
- package/dist/assets/{FollowStepsSection-CVX6zX9Q-0JaUuRFv.js → FollowStepsSection-zLVY0Bxj-CS04bdSf.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-HEPGnrBi-D4pu4wAE.js → GlobalReviewListPage-Dm_qc_Yw-DaZA8sHm.js} +13 -13
- package/dist/assets/{InformationCardStack-BC-wYnqn-CDHpu8rR.js → InformationCardStack-C7jQmHes-CWd2nkLz.js} +4 -4
- package/dist/assets/{InsightsCardStack-Buh7Rj7W-B-XFnTbj.js → InsightsCardStack-CBrXK6na-CLYhX1B-.js} +9 -9
- package/dist/assets/{InsightsSection-uT4QX3iw-B1Mb62vw.js → InsightsSection-D_hTz1-h-EcLzFnt2.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-np4iMqIF-BOXlm3x-.js → IntegrationsSettingsPage-B3BcOzu1-DFtNOGVa.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-CRFIo4Oj-CKmgCCwr.js → InternationalWireSwiftDetailsPage-CMrSLhcq-xqjqhVUP.js} +17 -17
- package/dist/assets/InternationalWireVerificationPage-D8lqdsVG-CS33qqLD.js +65 -0
- package/dist/assets/{InviteFormPage-CVVm61Xb-DTfuiXCS.js → InviteFormPage-Cb6yA36Y-j5-QPPFw.js} +30 -30
- package/dist/assets/{InvitePageListView-Bhv5fpSY-BrVz8pRa.js → InvitePageListView-CvAYZn3w-BGjtLryq.js} +52 -52
- package/dist/assets/InvitePeoplePage-B3HP9bgz-C0119Ywd.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DBvyatKK-CJBMM0Za.js → InvoiceUploadSection-BV69g_45-C0jQPqw-.js} +10 -10
- package/dist/assets/{IssueChargeCardPage-DzAyBn8c-mXHywZLA.js → IssueChargeCardPage-DC8gfsh9-C09x3l5G.js} +32 -32
- package/dist/assets/{LabeledAddressValue-BHuN9hmS-xGzDkCtS.js → LabeledAddressValue-DcHYCO3r-yN6DyHDi.js} +2 -2
- package/dist/assets/LabeledAddressValueField-COLiEu2C-u-zbSv3w.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-CRR6Iscv-DujcJdM4.js → LabeledControlledCheckBoxField-B258oHta-DFq5Q_Wk.js} +2 -2
- package/dist/assets/{LabeledCountryMultiSelectField-BWfPhvMM-pDpHMyTS.js → LabeledCountryMultiSelectField-CDN3Cboj-DwWKggpi.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-CbmnDlQX-Bud0UcHP.js → LabeledCreatableSingleSelectField-5NsKlfNx-BEfEdG1_.js} +4 -4
- package/dist/assets/LabeledDocumentField-DNh366no-DrAn5iL2.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-CLHaeBmo-Dbz-uAbc.js → LabeledDropDownFormattedTextField-BEox9eFP-Cs6wSzGo.js} +7 -7
- package/dist/assets/LabeledText-BNEHh2ZI-BfrNdALD.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DYAtBZjB-BW2S_3jE.js → LabeledUserSingleSelectWithSubtitlesField-BoYac4nN-CnfvrnWB.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-B7Z3Kefm-D8ICt4Pk.js → LabeledZeniRolesDropDownField-BL1wek8m-DLuVqXVU.js} +20 -20
- package/dist/assets/LinkJETransactionPage-KkB2mCGz-DD79uSY5.js +98 -0
- package/dist/assets/{LockCardPage-DG1icW3l-BrBrLoqr.js → LockCardPage-BBPoahE6-DjuGLIgr.js} +219 -219
- package/dist/assets/LowBalancePopup-BFU-BVK9-DWsdSBOg.js +34 -0
- package/dist/assets/MagicLinkACHDetailsPage-voSZCbPS-Bu01L_aV.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-evB-Fia6-Ddjk2plz.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-ChjLt6BQ-C6H3R4f0.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DH2RMNDM-2yEu43__.js → MagicLinkSuccessPage-BL0Twa3Z-yp-cCoVI.js} +6 -6
- package/dist/assets/{MagicLinkTitleSection-B_lsWLaB-6l0Q2ZDr.js → MagicLinkTitleSection-C8EEgV19-CiX4xfZT.js} +4 -4
- package/dist/assets/MailingDetailsSection-DT2vh6CT-CCScgjq2.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-D4QR9tUf-AE5_I3cP.js → MyBankConnectionsSettingsPage-BvZhVteo-C2c-74lS.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-D2EL0Jp--BWDRXrvv.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-CSaNSpuq-H-vs8ioV.js → MyProfileSettingsPage-3QGlUKp1-z7Bwqz5C.js} +7 -7
- package/dist/assets/{NavBarWithPicker-Zs67Xuo1-Bwvf2TqD.js → NavBarWithPicker-BXubFmkR-D51S0MSd.js} +3 -3
- package/dist/assets/{NavigationArrow-gJivTrEy-CJYJcp3Q.js → NavigationArrow-DvI-yhxJ-DlVsGta8.js} +1 -1
- package/dist/assets/{NavigationDots-DTQZxPoW-LNb-u25P.js → NavigationDots-CPlwYOx--BPMPlnpv.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BI5z7cVi-Drg8AloH.js → NewGlobalMerchantPage-CXC3nRf0-Bx5yZmxN.js} +12 -12
- package/dist/assets/{NoDataChart-CKYUeTCs-DvkQx1V0.js → NoDataChart-DTVuSEdu-BkUYV-TV.js} +1 -1
- package/dist/assets/{NoDataTable-CwJmhtK3-CCNoQlOZ.js → NoDataTable-Bgt6dZEF-B3972AwQ.js} +1 -1
- package/dist/assets/{NotFoundPage-Bxs-YzV4-CpCxTN11.js → NotFoundPage-B2B4aoo2-BW-s5AV5.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-DMYs6gdm-BlfmU3ul.js → NotificationSettingsPage-B5kEZN6p-CIJZlZ4H.js} +33 -33
- package/dist/assets/{NotificationsListConfig-BHt9OVz6-BKDTXb1o.js → NotificationsListConfig-lOoxcslt-BhnQjQWG.js} +1 -1
- package/dist/assets/NotificationsPage-CTHg82VM-CwBM4vUS.js +685 -0
- package/dist/assets/{OpExByVendorPage-D-0--y-d-DMlLcW9P.js → OpExByVendorPage-CXmqL8sH-BK8_o8ls.js} +5 -5
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-E92SHML4.js → OverlayContainerPage-D4QU0p4o-CSiWE48U.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BgBplnz_-ChEt9BF6.js → PandLWithForecastPage-DbZpKElK-Dy4zdedl.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C6JM3mQz-CgsGFkzx.js → PaymentAccountSetupBillingAddressSection-CJRhGAtG-D2ukn4NZ.js} +6 -6
- package/dist/assets/{PeoplePage-1Aa0j1Br-D63RAfrN.js → PeoplePage-CJri4xlX-CEfPFRxE.js} +15 -15
- package/dist/assets/{Preview-CfPlLM4U.js → Preview-0sAWcABs.js} +1 -1
- package/dist/assets/{ProductsCarousel-BR9igDN--4qcjyVm7.js → ProductsCarousel-DtmKoNz3-BSbpVJVt.js} +2 -2
- package/dist/assets/{PromoBaseCards-B-dCLfsi-omMrAFa4.js → PromoBaseCards-g6j_z80f-C2Bai70y.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-Dc2r7Qhk-9XcCUrWN.js → QBOConnectionDialog-BwKmOICb-D3Jo-Vlf.js} +4 -4
- package/dist/assets/{QBOSetupSection-Bhvg13n4-BS4MZWmI.js → QBOSetupSection-BN8o3dwu-DHQTxOlT.js} +12 -12
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C5s_8IJ8-CPJIVNh1.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BtaFR_-R-DT_IS0Mc.js → ReimbursementApprovalRulesPage-BvvOob8U-DEiVU8X7.js} +2 -2
- package/dist/assets/ReimbursementDetailPage-BVFGrEhN-B7_bgdSj.js +314 -0
- package/dist/assets/ReimbursementPromoPage-dsgbajZ6-CWCF7N7b.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-CesV38Tv-CAsx1rGC.js → ReimbursementSetUpPage-0AMBarqS-CiwiIoY4.js} +9 -9
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BuK15ipi-jsvxMTC-.js → ReimbursementsBulkReviewDrawerPage-L0YmO2qY-DQjnniUJ.js} +1 -1
- package/dist/assets/{ReloadCard-DCA58Z6d-lxJyT6Aq.js → ReloadCard-Dketoj2r-tAJXPFMi.js} +2 -2
- package/dist/assets/{ReportTableViewSelector-Bcxl71KP-GS5y6Ng3.js → ReportTableViewSelector-DmDzw4yW-D1HeX13c.js} +5 -5
- package/dist/assets/{ReportsPage-DrxIUX8S-BX-Ugn1O.js → ReportsPage-DPrhnmvb-D0g4apvT.js} +6 -6
- package/dist/assets/{RevenueChart-BIWVGs6F-HTYxOFNe.js → RevenueChart-CDrGsGOU-CIlC5CYF.js} +8 -8
- package/dist/assets/{ReviewDetailsPage-C3dqUSg--Cpk2HBlF.js → ReviewDetailsPage-DjbAwLAN-B0q2mTzL.js} +18 -18
- package/dist/assets/{ReviewOverlay-Cag-4B4Y-D1ezdBpL.js → ReviewOverlay-Ws6-5o0Z-DJX77Zrm.js} +9 -9
- package/dist/assets/RoleWithToolTip-vxNCa6FT-LxVETf1F.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-ikCFA0w0-2eZV-mSh.js → ScheduleDetailsFixedAssetsPage-B2Y0ri0_-D9zabCxc.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-DzYUkz8B-BASiQOiG.js → ScheduleDetailsPage-D4fdm16B-KuG3aRA0.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Cg5WKyIj-CgT_tp3-.js → ScheduleSequenceTable-BuOwBQPa-idhR1Z_Q.js} +16 -16
- package/dist/assets/{ScreenRoutes-BA3Mh7pl.js → ScreenRoutes-BIVA2nRG.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CczJQz98-BSMGTELr.js → SetUpAccountSection-DJz8iGRu-BIE7oU3u.js} +9 -9
- package/dist/assets/{SignIn-IIuCvpoR-11uX7W5f.js → SignIn-BltllFmN-lRCl2w8R.js} +15 -15
- package/dist/assets/{SignInScreen-2miLFysH.js → SignInScreen-CvDooCt5.js} +1 -1
- package/dist/assets/SpendManagementListViewPage-BQwyNWPt-CFFiSy1U.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-D3DxhXvr-B6sZ7QiP.js → SpendManagementPerTabPage-CkH_5fl0-DiDtAytK.js} +39 -39
- package/dist/assets/{SpendManagementSection-DSN3bvLE-BkMacKAC.js → SpendManagementSection-BhbK0q1x-DEzibqGa.js} +15 -15
- package/dist/assets/StatementItem-D8E_FAe4-BYv882Fo.js +31 -0
- package/dist/assets/StatementsPage-Wiw8T04d-DTKPWrtc.js +58 -0
- package/dist/assets/{StatusSwitcher-C35eTt_u-VQn5S24k.js → StatusSwitcher-DPs1Vq5X-D6dENE_K.js} +2 -2
- package/dist/assets/{SubTabSwitcher-B8hXbnSB-cmYgrs9Q.js → SubTabSwitcher-BvqpLoBx-n7blk4-b.js} +2 -2
- package/dist/assets/{SummaryCard-dhNbqi0b-YwOnQ2xO.js → SummaryCard-CYZZ0q6A-Bue0ya2z.js} +1 -1
- package/dist/assets/{TaskManagementPage-QHzSJ5AM-Dhc53xoT.js → TaskManagementPage-lc9Mw2Sm-CSBSTCNw.js} +34 -34
- package/dist/assets/{TimeRangeSwitcher-By1NizbD-D56RmIGq.js → TimeRangeSwitcher-Dm0lFXOD-CN2hUUX6.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-CnIziozQ-1cQ19qL3.js → TimeframeSwitcher-CFrCNOFC-CCLnJVYT.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-BxwsH8cn-DW9lfWz3.js → TimeframeSwitcherWithToggle-Cu0mWh8Z-Dnw607ZH.js} +1 -1
- package/dist/assets/{TopExCard-BXYnSJ_3-BrLh6FBV.js → TopExCard-IMbcUkNt-D4ymrCrP.js} +6 -6
- package/dist/assets/{TopExDetailPage-C9pGvGMt-BM8au-2T.js → TopExDetailPage-IEJSc_e7-BtOs5ZNd.js} +8 -8
- package/dist/assets/TransactionActivityLogPage-CztxkZSm-8f7Qpuaa.js +195 -0
- package/dist/assets/{TransactionDetailPage-CZQnRzsm-DgcUcv00.js → TransactionDetailPage-C5khWZWO-BeDT0w8u.js} +20 -20
- package/dist/assets/{TransactionList-Bdf5Bgsu-BJckNy4D.js → TransactionList-BH11aGhG-4R_e7lBY.js} +15 -15
- package/dist/assets/{TransactionListBig-DcbkwmaY-lPbTtFsv.js → TransactionListBig-CdJV8TeD-DMYaee9L.js} +11 -11
- package/dist/assets/TransactionListPage-CjzTPYr7-BDdk1Iba.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-B-FwW8my-CWEbgotx.js → TransactionVendorDetailPage-Dv7hRa0N-BwsLBxd1.js} +4 -4
- package/dist/assets/{TransferDrawerPage-DqxZzNHb-JyC0LuW4.js → TransferDrawerPage-r48o2lxO-CN66Pp8k.js} +40 -40
- package/dist/assets/{TreasuryOverviewPage-BFDU5aeU-CkjRA3dQ.js → TreasuryOverviewPage-DKCxYrPQ-HyhZNbuE.js} +32 -32
- package/dist/assets/{TreasuryPromoPage-HD1G38a1-ZbC8VXaw.js → TreasuryPromoPage-CNpZ_SIL-DNBqegZ8.js} +21 -21
- package/dist/assets/TreasuryStatementsPage-DKRIOtY3-DpdYXRvQ.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-Bwg7y3DU-CPkWwrCH.js +58 -0
- package/dist/assets/{TrendChart-DVlTUYry-BQhZ0XSE.js → TrendChart-C1hhS0ef-CM_jfK9c.js} +3 -3
- package/dist/assets/{TrendWithTransactions-DXYNZfvE-CEOC8UFU.js → TrendWithTransactions-CbJdyyGK-8bD7HA0C.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-BgQsB5_3-COI438r2.js → UncategorizedAccountsMappingPage-BTAJNCzF-IB-Tcf9I.js} +30 -30
- package/dist/assets/{UnitIntegrationPage-Dm62VB7y-B0M_A7fc.js → UnitIntegrationPage-B7xYyx0u-Dfb-qM03.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-DG7NwQOq-PHFjEw3H.js → UploadAdditionalDocumentOverlay-BxSUijP--B8mSbR2d.js} +1 -1
- package/dist/assets/Vendor2FAPopup-Ctn_yjc8-D0FF2AtH.js +1 -0
- package/dist/assets/VendorACHDetailsPage-Bvj35jGs-H5j6K7x_.js +1 -0
- package/dist/assets/{VendorDetailPage-B8qtHlez-CDeCcma-.js → VendorDetailPage-CTbWD0xL-DOodc43o.js} +87 -87
- package/dist/assets/VendorDomesticWireDetailsPage-YMt9zC7E-4y578jYA.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-B5GzsaIt-CrkaSKWH.js → VendorFiling1099EditablePage-CC17aZpp-CUEXtxxF.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-B1c74yx7-XWeMR4A4.js → VendorFirstReviewPage-C2Rj4ujS-D3XLk6SM.js} +30 -30
- package/dist/assets/{VendorInternationalWireDetailsPage-DPucgS6n-BUwm5cf5.js → VendorInternationalWireDetailsPage-CXgBfF0b-AFVguI8X.js} +7 -7
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CPdA16m4-BUiNKc-B.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BBnG4jo9-CE1HsZr7.js → VendorsAccountsSection-CKKsK4iR-Brg3gtnO.js} +4 -4
- package/dist/assets/{VerifyDevice-CFPLWsQ9-CqtmGFWn.js → VerifyDevice-Ds1Nxr5P-Blm9OKwi.js} +1 -1
- package/dist/assets/{VideoPlayer-C0Oxc4vz-Eo76fnas.js → VideoPlayer-Ba8AW1R7-i9G7JJm5.js} +2 -2
- package/dist/assets/VideoPopup-CXIa9PAJ-BZihnaAR.js +31 -0
- package/dist/assets/{WarningsDrawerPage-D1_kAgnS-wVv9eNUW.js → WarningsDrawerPage-h7qsrtcB-CE6gyvKk.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-CvuREnNX-Daaz-pOC.js → ZeniAccountDetailPage-aNllmjZp-DFLxBj0c.js} +32 -32
- package/dist/assets/{ZeniAccountListViewPage-Cl0LGnEs-BnEYM2Fk.js → ZeniAccountListViewPage-DrKQ2DXb-CJJJ25qT.js} +8 -8
- package/dist/assets/ZeniAccountNavBarPieces-BTP0V662-nTGXbCtY.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CfqyTao--CSmJBLGG.js → ZeniAccountPromoPage-CPL4y-FS-Bjur8xmF.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-DjhaRuBW-C5pmnKvn.js → ZeniAccountSetupPage-DvlPktUp-B-E9YzwR.js} +2 -2
- package/dist/assets/ZeniCopyright-D37-X5FF-Ak7n7OYz.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-DFm-2Ivu-CQbjc7rM.js → ZeniTransferAmountSlider-CeTiIm-1-DS6r50pT.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-BuLXwUxS.js → add-to-wallet-DgdBD8_G-D62DvooK.js} +1 -1
- package/dist/assets/{analytics-EOspDoDF.js → analytics-BFqwqBQR.js} +1 -1
- package/dist/assets/{analyticsHelper-CkgaDWOW-BtJI0iQX.js → analyticsHelper-Cp5G9I3a-BIC4toJ-.js} +1 -1
- package/dist/assets/analyticsHelper-H7OiEB4T.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-7wUMcNgq.js → arrow-south-east-round-PEovUgvH-eGvQIcmx.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-B7tSfwo7.js → auto-transfer-rule-mbafm5D3-CeHKVWmh.js} +1 -1
- package/dist/assets/{chartTypes-nF8PeaWk-DylRW2Nq.js → chartTypes-_pdOsLu--D8_z5gfz.js} +1 -1
- package/dist/assets/{commonDimensions-bWLlVfVq-DDxX-akL.js → commonDimensions-IxmmCJgv-CC5c3dON.js} +1 -1
- package/dist/assets/{commonTypes-BKD3o785-ClwG0TM4.js → commonTypes-uWTOHqLG-CINOYJ5U.js} +1 -1
- package/dist/assets/{constants-3kjNigIZ.js → constants-DMGg36fI.js} +1 -1
- package/dist/assets/{core-CslRcwFE.js → core-BFf3IFj6.js} +1 -1
- package/dist/assets/{dash.all.min-Dkp1U18T.js → dash.all.min-BxMd-9-a.js} +1 -1
- package/dist/assets/{detailCommon-l7_k1kQ_-CFeAwn6Q.js → detailCommon-1sO_byJf-CD-uyZzV.js} +4 -4
- package/dist/assets/downloadPdf-CjXuMwyY-Bk0Q_jtO.js +1 -0
- package/dist/assets/{empty-Du-vmzTn.js → empty-CTFehcxZ.js} +1 -1
- package/dist/assets/{empty-BhaTlh_E.js → empty-DQRlSI-P.js} +1 -1
- package/dist/assets/{epic-CZdj8-B-.js → epic-DvQ68MZ-.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Dv3d3rOw.js → gift-box-Cmt9OgIZ-CjL00gTh.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CLHrfBy6.js → graphic-no-data-l-DU4J8fDt-CeLdXVsI.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CMlLtriY.js → graphic-no-data-net-burn-l-CzmycA0m-CxW_HqWH.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-COd6iQaS.js → handshake-BPg58FML-DLoQUg7m.js} +1 -1
- package/dist/assets/{helper-qck89ZgJ-CZUGaHU3.js → helper-4lObJrt8-BUT-pULe.js} +3 -3
- package/dist/assets/{index-CwPcEaIJ.js → index-BuGq2Xwa.js} +1 -1
- package/dist/assets/{index-Dc5vYs7y.js → index-Cx7SEn1j.js} +1 -1
- package/dist/assets/{index-B7eWgQzZ.js → index-DGGt5RDJ.js} +4300 -4300
- package/dist/assets/{index-Cn_IOdHd.js → index-DdP-wJle.js} +1 -1
- package/dist/assets/{index-3P-FToEr.js → index-Dl4R1vcE.js} +1 -1
- package/dist/assets/{index-Dk4hNwSR.js → index-IoURZoOk.js} +1 -1
- package/dist/assets/{index-Dde-TLpy.js → index-NMwrUQfi.js} +1 -1
- package/dist/assets/{lexical-DEAOqFKR.js → lexical-BeXs36Y0.js} +1 -1
- package/dist/assets/{liveblocks-DyVXfa5b.js → liveblocks-Dda0tF-O.js} +1 -1
- package/dist/assets/{lottie-DR7Z1uj_.js → lottie-mwve--vc.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-hU4SXSz1-Celvdjmv.js → mapLoadingInProgressToTreeNode-CwSavpEU-Cl_FZFwU.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Mybge2KM-DnyF2DOT.js → mapSectionWithAcOnlyToTreeNode-DfN5c3SA-D4hGCNmF.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-D8gbhEl5-D4qIggfl.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DSlFj-Ph-Btw1CFJ1.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Dj4jp8jG-B4t0Wux0.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DpTpTHX9-DdHAM1Kp.js +1 -0
- package/dist/assets/{mui-Ba0_ROTv.js → mui-BXc79n0P.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DcKx2ySJ.js → page-detail-CWX5S47F-j_J3TTSv.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-Cg3Z-QbC.js → panelSelectedMixin-Cddsb26L-D4G_zfkD.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CGqLZKGc.js → radio-default-CiSgisfh-BDH4uibz.js} +1 -1
- package/dist/assets/{react-CBKzjJ-k.js → react--w8eXOQH.js} +1 -1
- package/dist/assets/{react-Doh-xpgh.js → react-0aRrmHfg.js} +2 -2
- package/dist/assets/{react-BQMyjhDt.js → react-BkfBvvdQ.js} +1 -1
- package/dist/assets/{react-XEytoW-G.js → react-CQhG37C_.js} +1 -1
- package/dist/assets/{react-2aHb0_lL.js → react-CQvtbK9z.js} +1 -1
- package/dist/assets/{react-DqjXj4cD.js → react-CpogsNWB.js} +1 -1
- package/dist/assets/{react-DuH1J8DT.js → react-DNVJuix6.js} +1 -1
- package/dist/assets/{react-biMmKurS.js → react-x9AsEyp-.js} +1 -1
- package/dist/assets/{recharts-Dpk71F6G.js → recharts-vbuE4Jum.js} +1 -1
- package/dist/assets/{sentry-BUYEiWD8.js → sentry-C7LQiKF9.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-C7zSLUUK.js → shield-DOlUxcFf-B-RZDoQM.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DuwOfE1o-DwSLIzEK.js +1 -0
- package/dist/assets/{toChartData-CMvkvks2-CeV5Sw8J.js → toChartData-Cqj00uWV-Bpiruaq9.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BCgskbSS.js → upload-reimbursement-receipt-O2N8vcO7-C4eeJM6-.js} +1 -1
- package/dist/assets/{uploadAttachment-XRvvKLjd-8kORPRMD.js → uploadAttachment-CpuXaDZF-Bu3r96Oj.js} +25 -25
- package/dist/assets/{uploadReceipts-Dge0cNF1-B4zZrtGY.js → uploadReceipts-Dge0cNF1-BighYweo.js} +1 -1
- package/dist/assets/{url-4GiLad5k.js → url-CvO2wIrp.js} +1 -1
- package/dist/assets/{url-_mFxzRvZ.js → url-SWb9fmsI.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ--IIT5mp7.js → useLongPress-GCK2COYQ-BHUpmaFu.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-wx2xXzy4.js → usp-line-BBd1wKwW-BBQ-QruK.js} +1 -1
- package/dist/assets/{utils-van4hLXd.js → utils-CW6UW7VZ.js} +1 -1
- package/dist/assets/{zeni-epic-state-DsDV18R1.js → zeni-epic-state-Cvu6NpVe.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-C0EF1bfJ-CF4B57fP.js +0 -21
- package/dist/assets/AccountInfoPage-1bkRMUmz-Cuxh0N0w.js +0 -18
- package/dist/assets/AccountLockedInfoModal-iHHAglx1-Db8qIiY0.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DQButqpE-4KIKQO78.js +0 -6
- package/dist/assets/ApAgingDetailPage-DFMl8Pg4-C_Is_Pfz.js +0 -46
- package/dist/assets/BillDetailPage-Cv84AWBP-D-5X1cLh.js +0 -266
- package/dist/assets/BillPayPromoPage-BJNiSeAB-dddJyTrd.js +0 -84
- package/dist/assets/BillingSettingsPage-B5p8_TqZ-D-ll1i0A.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-CLUs3-Ci-DFJkbhvF.js +0 -1
- package/dist/assets/ConfettiBurst-BfLV2hbY-D9OCgSrI.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BR0RXw9o-YOK_yGHP.js +0 -1
- package/dist/assets/EditPeoplePage-CZUXKv1r-BxGbjp33.js +0 -55
- package/dist/assets/EntityDetailPage-ZAt7wUEc-CU2oKDLU.js +0 -18
- package/dist/assets/InternationalWireVerificationPage-BLvplUfw-KKAbBfix.js +0 -65
- package/dist/assets/InvitePeoplePage-Chxh0Lmw-BWF47a5q.js +0 -12
- package/dist/assets/LabeledAddressValueField-C5tlrpM8-CZs-qPnX.js +0 -45
- package/dist/assets/LabeledDocumentField-BowgfWLJ-Dfvs4pho.js +0 -41
- package/dist/assets/LabeledText-DglukuaI-CmIe9nSK.js +0 -42
- package/dist/assets/LinkJETransactionPage-Cnu97MMF-4_5-q4C9.js +0 -98
- package/dist/assets/LowBalancePopup-Drqtx1Yk-9ef3MPri.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-B-H4pN-W-BJk44VGL.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DBhFe2sn-ByO14CoO.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-De3w5uAd-DWgjVULc.js +0 -1
- package/dist/assets/MailingDetailsSection-CU0Ur-9k-CV18nP7Y.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-8fIM-AgM-DG0F21hf.js +0 -6
- package/dist/assets/NotificationsPage-BL6QkhxJ-Bq__lIXi.js +0 -685
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DeGZp7he-DwflEFkV.js +0 -32
- package/dist/assets/ReimbursementDetailPage-ChDG7NAL-BwV9bPZE.js +0 -314
- package/dist/assets/ReimbursementPromoPage-Dgx0IYTF-BfINKSQz.js +0 -84
- package/dist/assets/RoleWithToolTip-C8aesF3T-apurffxZ.js +0 -22
- package/dist/assets/SpendManagementListViewPage-DQ9FW-pv-8sW-YX2v.js +0 -134
- package/dist/assets/StatementItem-CfLQ3EiB-BhKoq1Lu.js +0 -31
- package/dist/assets/StatementsPage-DdVszHkC-UTOiPZ-s.js +0 -58
- package/dist/assets/TransactionActivityLogPage-C4Zf-YKV-CyrgE9Vm.js +0 -195
- package/dist/assets/TransactionListPage-CS_TY41O-BS7_HocG.js +0 -35
- package/dist/assets/TreasuryStatementsPage-DVN2bxrt-Csr4Fp1P.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-O5HN57r7-Crb8QwQ9.js +0 -58
- package/dist/assets/Vendor2FAPopup-CxJFovCF-BTqgr2_z.js +0 -1
- package/dist/assets/VendorACHDetailsPage-IvgUMfd9-Dm3RoaNk.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BbLz5_FD--3MjmjN3.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CmeSQAri-TKMDFSzF.js +0 -1
- package/dist/assets/VideoPopup-BmdpW83j-DczpaZjD.js +0 -31
- package/dist/assets/ZeniAccountNavBarPieces-MEaXWOb7-DLC0tAjr.js +0 -14
- package/dist/assets/ZeniCopyright-nggh1t2z-BlAlTJNf.js +0 -1
- package/dist/assets/analyticsHelper-BQyqY8AC.js +0 -1
- package/dist/assets/downloadPdf-DaZCmoYn-D7YxsQSi.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DlewsTfs-Uz_UzZbZ.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-9dkd_G4A-xyFi9Xru.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DE8rPH2X-BbYTtpG2.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BLkTfnct-DgmTQXuW.js +0 -1
- package/dist/assets/toCOABalancesWithID-BfQTo56G-BvXiHVaB.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as E,cM as k,ey as S,V as o,cR as V,x as u,p as g,o as l,u as s,y as C,eH as P,bJ as T,
|
|
1
|
+
import{J as E,cM as k,ey as S,V as o,cR as V,x as u,p as g,o as l,u as s,y as C,eH as P,bJ as T,c as N,bK as p,eZ as B,d as H,an as J,w as $,bI as A}from"./index-DGGt5RDJ.js";import{n}from"./mui-BXc79n0P.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d70d8b01-faf9-49f5-ab48-adf515905a51",e._sentryDebugIdIdentifier="sentry-dbid-d70d8b01-faf9-49f5-ab48-adf515905a51")}catch{}})();const G=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:h,placeholder:b})=>{const{control:f,formState:{errors:d}}=k(),w=C(),x=S(d,e??""),_=i=>({value:i.value,label:i.label}),D=i=>i.map(m=>_(m)),L=i=>{if(!(i==null||!i))return{value:i,label:t.allOptions.find(m=>m.value===i)?.label??i}},I=i=>i.map(m=>L(m)),M={container:i=>({...i,width:"100%",...h}),menu:i=>({...i,backgroundColor:w.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,width:"100%",margin:0}),menuList:i=>({...i,borderRadius:l.sp1})},R={hasError:x};return o.jsx(P,{name:e,control:f,defaultValue:t,rules:r,render:({field:{onChange:i,onBlur:m,value:y,ref:F}})=>o.jsx(T,{...R,ref:F,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:I(y.selectedOptions),options:D(y.allOptions),onChange:O=>{i({selectedOptions:O.map(z=>z?.value),allOptions:y.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:m,menuPlacement:"auto",maxMenuHeight:210,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:K,Option:ee,Input:W,MultiValue:Z,MultiValueLabel:U,MultiValueRemove:X,ValueContainer:Q,DropdownIndicator:de,IndicatorSeparator:ce,Placeholder:q,ClearIndicator:Y},hideSelectedOptions:!1,styles:M,isDisabled:a!=null})})},K=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:h}=e,{value:b,hasError:f}=h;return o.jsx(oe,{menuIsOpen:r,isFocused:t,isDisabled:a,optionsLen:b.length,hasError:f,children:o.jsx(p.Control,{...e,className:"select-control",children:e.children})})},Q=e=>{const{selectProps:r}=e,{value:t}=r;return o.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,o.jsx(le,{className:"selected-options",children:t.map(a=>a.label).join(", ")})]})},W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return o.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:a.length===0?t:void 0,children:e.children})},Z=e=>o.jsx(p.MultiValue,{...e,children:e.children}),U=e=>{const{data:r}=e;return o.jsx(p.MultiValueLabel,{...e,children:r.label})},X=e=>o.jsx(p.MultiValueRemove,{...e,children:o.jsx(v,{style:{marginTop:"2px"}})}),Y=e=>o.jsx(p.ClearIndicator,{...e,children:o.jsx(v,{})}),q=()=>null,ee=e=>{const{isSelected:r,isDisabled:t,isFocused:a}=e;return o.jsx(ie,{isFocused:a,isSelected:r,isDisabled:t,children:o.jsx(p.Option,{...e,className:"select-option",children:o.jsxs(re,{children:[o.jsx(B,{...e.value.length===2?{countryCode2:e.value}:{countryCode3:e.value}}),o.jsx(se,{children:o.jsx(te,{isSelected:r,isDisabled:t,children:e.label})}),r?o.jsxs(ae,{children:[o.jsx(ne,{className:"right-tick-icon"}),o.jsx(v,{className:"close-tick-icon"})]}):null]})})})},oe=n.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey5};
|
|
4
4
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -118,14 +118,14 @@ import{J as E,cM as k,ey as S,V as o,cR as V,x as u,p as g,o as l,u as s,y as C,
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
`,le=
|
|
121
|
+
`,le=n(J)`
|
|
122
122
|
color: ${e=>e.theme.colors.primary};
|
|
123
123
|
width: 100%;
|
|
124
124
|
overflow: hidden;
|
|
125
125
|
text-overflow: ellipsis;
|
|
126
126
|
white-space: nowrap;
|
|
127
127
|
text-align: right;
|
|
128
|
-
`,ie=
|
|
128
|
+
`,ie=n.div`
|
|
129
129
|
.select-option {
|
|
130
130
|
${$.smallRegular.css};
|
|
131
131
|
height: ${l.sp6};
|
|
@@ -152,33 +152,33 @@ import{J as E,cM as k,ey as S,V as o,cR as V,x as u,p as g,o as l,u as s,y as C,
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
`,re=
|
|
155
|
+
`,re=n.div`
|
|
156
156
|
display: flex;
|
|
157
157
|
flex-direction: row;
|
|
158
158
|
align-items: center;
|
|
159
159
|
justify-content: space-between;
|
|
160
|
-
`,te=
|
|
160
|
+
`,te=n.label`
|
|
161
161
|
padding-right: 10px;
|
|
162
162
|
overflow: hidden;
|
|
163
163
|
text-overflow: ellipsis;
|
|
164
164
|
white-space: nowrap;
|
|
165
165
|
cursor: ${e=>e.isDisabled?"not-allowed":e.isSelected?"default":"pointer"};
|
|
166
|
-
`,se=
|
|
166
|
+
`,se=n.div`
|
|
167
167
|
width: 100%;
|
|
168
168
|
display: flex;
|
|
169
169
|
align-items: center;
|
|
170
|
-
`,
|
|
170
|
+
`,ae=n.div`
|
|
171
171
|
display: flex;
|
|
172
|
-
`,
|
|
172
|
+
`,ne=n(A)`
|
|
173
173
|
width: 12px;
|
|
174
174
|
height: 12px;
|
|
175
175
|
margin-right: 2px;
|
|
176
176
|
color: ${e=>e.theme.colors.primary};
|
|
177
|
-
`,v=
|
|
177
|
+
`,v=n(H)`
|
|
178
178
|
width: ${l.sp3};
|
|
179
179
|
height: ${l.sp3};
|
|
180
180
|
color: ${e=>e.theme.colors.primary};
|
|
181
|
-
`,de=()=>null,ce=()=>null,c={width:new u(343,580,726),height:new u(s[6],s[6]),controlHeight:new u(s[6],s[6]),paddingTopBottom:new u(s[2],s[2]),marginRight:new u(s[2],s[2]),labelMarginLeft:new u(s[3],s[4]),labelMarginRight:new u(s[3],s[4]),labelMarginTop:new u(s[2],s[2])},ue={infoLabel:new N("extraSmallRegular","smallRegular")};function be({additionalInfoLabel:e,errorInfoLabel:r,isDisabled:t,label:
|
|
181
|
+
`,de=()=>null,ce=()=>null,c={width:new u(343,580,726),height:new u(s[6],s[6]),controlHeight:new u(s[6],s[6]),paddingTopBottom:new u(s[2],s[2]),marginRight:new u(s[2],s[2]),labelMarginLeft:new u(s[3],s[4]),labelMarginRight:new u(s[3],s[4]),labelMarginTop:new u(s[2],s[2])},ue={infoLabel:new N("extraSmallRegular","smallRegular")};function be({additionalInfoLabel:e,errorInfoLabel:r,isDisabled:t,label:a,multiSelectField:h,showAdditionalInfoOnError:b=!1,style:f}){const d=E(),{formState:{errors:w}}=k(),x=S(w,h.name);return o.jsxs(pe,{size:d,style:f,isDisabled:t!=null,isError:x,children:[o.jsx(V,{isDisabled:t,label:a.label,htmlFor:h.name,style:{marginLeft:c.labelMarginLeft.value(d),marginRight:c.labelMarginRight.value(d),marginTop:c.labelMarginTop.value(d),width:a.width??"auto"}}),o.jsxs(he,{children:[o.jsx(G,{...h,isDisabled:t,style:{display:"flex",flexGrow:1,minHeight:c.controlHeight.value(d)}}),e!=null&&(b===!0||!x)?o.jsx(j,{windowSize:d,isError:!1,children:e}):null,x&&r!=null?o.jsx(j,{windowSize:d,isError:!0,children:r}):null]})]})}const pe=n.div`
|
|
182
182
|
display: flex;
|
|
183
183
|
flex-direction: row;
|
|
184
184
|
align-items: flex-start;
|
|
@@ -224,12 +224,12 @@ import{J as E,cM as k,ey as S,V as o,cR as V,x as u,p as g,o as l,u as s,y as C,
|
|
|
224
224
|
.multi-select-field__menu {
|
|
225
225
|
margin-top: ${l.sp1} !important;
|
|
226
226
|
}
|
|
227
|
-
`,he=
|
|
227
|
+
`,he=n.div`
|
|
228
228
|
display: flex;
|
|
229
229
|
flex-direction: column;
|
|
230
230
|
flex-grow: 1;
|
|
231
231
|
max-width: 100%;
|
|
232
|
-
`,j=
|
|
232
|
+
`,j=n.div`
|
|
233
233
|
${e=>ue.infoLabel.style(e.windowSize)};
|
|
234
234
|
color: ${e=>e.isError===!0?g.important:e.theme.colors.hero};
|
|
235
235
|
text-align: right;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as
|
|
1
|
+
import{J as H,cM as F,ey as R,V as t,cR as B,x,ac as I,p as u,u as s,o as i,eH as G,c as X,y as J,b as K,eX as Q,O as q,dp as A,cw as U,bK as O,d2 as Y,dO as Z,w as k,bI as ee,d as le}from"./index-DGGt5RDJ.js";import{n as a}from"./mui-BXc79n0P.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6f0006a5-9697-4dad-9208-dc1bd819edb5",e._sentryDebugIdIdentifier="sentry-dbid-6f0006a5-9697-4dad-9208-dc1bd819edb5")}catch{}})();const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const y=J(),$=Oe(e,m),S=K.getLocalizedStrings().dropDowns,C=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(r,m):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.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(fe,{children:[t.jsx(me,{children:t.jsx(Y,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${S.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:D,isDisabled:L,selectProps:N}=l,{value:W}=N;return t.jsx(se,{menuIsOpen:p,isFocused:D,isDisabled:L,selectedValue:W,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(O.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx($e,{children:t.jsxs(O.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(l.data.value)===!0&&t.jsx(we,{children:t.jsx(ye,{style:f.style,children:f.tagName})}),l.children]})}),_=l=>{const{selectProps:p}=l,{placeholder:D,value:L}=p;return t.jsx(O.Input,{...l,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(Q,{isMulti:!1,onCreateOption:l=>{const p=q(l);n(p)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${S.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("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:_,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:C,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(O.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),w=r.indexOf(h)*40;return t.jsx(U,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(pe,{style:m,children:o[b]})})},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(O.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("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(be,{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"};
|
|
@@ -153,7 +153,7 @@ import{J as W,cM as R,ey as z,V as t,cR as B,x,ac as I,p as u,u as s,o as i,eH a
|
|
|
153
153
|
justify-content: inherit;
|
|
154
154
|
align-items: center;
|
|
155
155
|
width: 100%;
|
|
156
|
-
`,ve=()=>null,Ie=()=>null,je=()=>null,
|
|
156
|
+
`,ve=()=>null,Ie=()=>null,je=()=>null,Oe=(e,r)=>e.map(o=>z(o,r)),z=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Se=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:w,isOptionRemovable:b,tagProperties:m,onSelectChange:f,getLabelForId:j})=>{const{control:c,formState:{errors:y}}=F(),$=R(y,e??"");return t.jsx(G,{name:e,control:c,defaultValue:o,"data-testid":I("creatable-single-select-field",e),rules:r,render:({field:{value:S,onChange:C}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{f?.(v??""),C({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:S.selectedOption,allValues:o.allOptions,addIconInCreateLabel:w,isOptionRemovable:b,getLabelForId:j,tagProperties:m,hasError:$,name:e})})})},g={width:new x(343,580,726),height:new x(s[6],s[6]),controlHeight:new x(s[6],s[6]),paddingTopBottom:new x(s[2],s[2]),marginRight:new x(s[2],s[2]),labelMarginLeft:new x(s[3],s[4]),labelMarginRight:new x(s[3],s[4]),labelMarginTop:new x(s[2],s[2])},Ce={infoLabel:new X("extraSmallRegular","smallRegular")};function Fe({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:w,addIconInCreateLabel:b,additionalInfoTextColor:m,onSelectChange:f,getLabelForId:j}){const c=H(),{formState:{errors:y}}=F(),$=R(y,o.name??"");return t.jsxs(De,{size:c,style:n,isDisabled:e!=null,hasError:$,"data-testid":I("labeled-creatable-single-select-field",o.name),children:[t.jsx(B,{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(Le,{labelWidth:r.width,children:[t.jsx(Se,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&b===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:f,isOptionRemovable:w,addIconInCreateLabel:b,getLabelForId:j}),t.jsx(V,{size:c,additionalInfoTextColor:m,children:d}),$&&t.jsx(V,{size:c,hasError:$,children:h})]})]})}const De=a.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: row;
|
|
159
159
|
align-items: flex-start;
|
|
@@ -202,7 +202,7 @@ import{J as W,cM as R,ey as z,V as t,cR as B,x,ac as I,p as u,u as s,o as i,eH a
|
|
|
202
202
|
`,V=a.label`
|
|
203
203
|
color: ${e=>e.hasError===!0?u.important:e.additionalInfoTextColor!=null?e.additionalInfoTextColor:e.theme.colors.grey1};
|
|
204
204
|
width: auto;
|
|
205
|
-
${e=>`${
|
|
205
|
+
${e=>`${Ce.infoLabel.style(e.size)}`};
|
|
206
206
|
padding-right: ${i.sp3};
|
|
207
207
|
text-align: right;
|
|
208
|
-
`;export{
|
|
208
|
+
`;export{Fe as I};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import{J as O,cM as W,ey as g,V as r,cR as j,x as l,eY as k,b as U,ac as N,u as i,o,p as _,c as A}from"./index-DGGt5RDJ.js";import{n}from"./mui-BXc79n0P.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]="a07d6a18-2315-45bb-9626-fa571d95248a",e._sentryDebugIdIdentifier="sentry-dbid-a07d6a18-2315-45bb-9626-fa571d95248a")}catch{}})();const a={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])},J={infoLabel:new A("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:t,isOptional:p,style:u,file:h,name:d,registerOptions:f,additionalInfoLabel:c,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:D,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:L,onDeleteFile:M,onEditFileName:R,onFileSizeError:B}){const s=O(),{formState:{errors:b}}=W(),m=g(b,d),C=g(b,`${d}.fileName`);return r.jsxs(V,{size:s,style:u,isDisabled:t!=null,"data-testid":N("document-field",d),children:[r.jsx(j,{isDisabled:t,label:e.label,isOptional:p,style:{marginLeft:a.labelMarginLeft.value(s),marginRight:a.labelMarginRight.value(s),marginTop:a.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(Y,{labelWidth:e.width,size:s,children:[r.jsx(k,{name:d,filesEndPoint:P,authParams:E,registerOptions:f,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:t==="disabled"||t==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:L,onFileSizeError:B,onDeleteFile:M,onEditFileName:R,placeholderText:S,showPhotoPicker:v,useMobileCam:D,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),m&&r.jsx(q,{size:s,isError:m,children:C&&h!=null?U.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:c})]})]})}const V=n.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=>a.width.valuePx(e.size)};
|
|
7
|
+
min-height: ${e=>a.height.valuePx(e.size)};
|
|
8
|
+
padding-right: ${e=>a.marginRight.valuePx(e.size)};
|
|
9
|
+
padding-top: ${e=>a.paddingTopBottom.valuePx(e.size)};
|
|
10
|
+
padding-bottom: ${e=>a.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
|
+
`,Y=n.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
|
+
`,q=n.label`
|
|
36
|
+
display: flex;
|
|
37
|
+
color: ${e=>e.isError?_.important:e.theme.colors.grey1};
|
|
38
|
+
${e=>`${J.infoLabel.style(e.size)}`};
|
|
39
|
+
padding-right: ${o.sp3};
|
|
40
|
+
text-align: right;
|
|
41
|
+
`;export{H as Y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as V,y as C,cM as
|
|
1
|
+
import{J as V,y as C,cM as g,ey as M,V as r,o,eH as R,bT as _,w as J,gl as O,p as s,c as P,bI as A}from"./index-DGGt5RDJ.js";import{n as i}from"./mui-BXc79n0P.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2f4c0db8-a84b-4653-9b5f-ad8a30cdb4e6",e._sentryDebugIdIdentifier="sentry-dbid-2f4c0db8-a84b-4653-9b5f-ad8a30cdb4e6")}catch{}})();const F={infoLabel:new P("extraSmallRegular","smallRegular")};function q({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:j,placeholderLabel:E}){const n=V(),b=C(),{formState:{errors:I}}=g(),c=M(I,t.name),{control:S}=g(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(H,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(G,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(K,{style:{width:"auto",...f},children:r.jsx(R,{name:j,control:S,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:T}})=>r.jsx(_,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{T(u)},menuPlacement:v,titleTextStyle:J.standardRegular,titleColor:b.colors.hero,valueOpacity:1,backgroundColor:b.colors.grey5,placeholder:E})})})}),r.jsxs(U,{children:[r.jsx(O,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(h,{size:n,isError:c||d,children:[x===!0?r.jsx(W,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(h,{size:n,isError:!0,children:D})]})]})}const H=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -38,22 +38,22 @@ import{J as V,y as C,cM as h,ey as M,V as r,o,eH as R,bT as _,w as H,gl as J,p a
|
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
align-items: flex-end;
|
|
40
40
|
flex-grow: 1;
|
|
41
|
-
`,
|
|
41
|
+
`,h=i.label`
|
|
42
42
|
display: flex;
|
|
43
43
|
color: ${e=>e.isError?s.important:e.theme.colors.grey1};
|
|
44
|
-
${e=>`${
|
|
44
|
+
${e=>`${F.infoLabel.style(e.size)}`};
|
|
45
45
|
padding-right: ${o.sp3};
|
|
46
46
|
text-align: right;
|
|
47
|
-
`,
|
|
47
|
+
`,W=i.div`
|
|
48
48
|
display: flex;
|
|
49
49
|
margin-right: ${o.sp1};
|
|
50
50
|
align-items: center;
|
|
51
|
-
`,
|
|
51
|
+
`,B=i(A)`
|
|
52
52
|
width: ${o.sp3};
|
|
53
53
|
height: ${o.sp3};
|
|
54
54
|
color: ${s.successDark};
|
|
55
|
-
`,
|
|
55
|
+
`,G=i.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
width: 100%;
|
|
58
58
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
59
|
-
`,
|
|
59
|
+
`,K=i.div``;export{q as Y};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import{J as p,V as d,cR as u,x as l,ac as g,u as t,o as a,an as f,c}from"./index-DGGt5RDJ.js";import{n as r}from"./mui-BXc79n0P.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]="8e30be9d-2dbc-4e7b-9ae3-7ed1a33c7247",e._sentryDebugIdIdentifier="sentry-dbid-8e30be9d-2dbc-4e7b-9ae3-7ed1a33c7247")}catch{}})();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])},y={infoLabel:new c("extraSmallRegular","smallRegular")};function R({label:e,value:o,additionalInfoLabel:s,style:b,infoLabelStyle:h}){const n=p();return d.jsxs(m,{size:n,style:b,"data-testid":g("labeled-text",e.label),children:[d.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(n),marginRight:i.labelMarginRight.value(n),marginTop:i.labelMarginTop.value(n),width:e.width??"auto"}}),d.jsxs(x,{labelWidth:e.width,children:[d.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:o}),s!=null?d.jsx($,{size:n,style:h,children:s}):null]})]})}const m=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
+
width: ${e=>i.width.valuePx(e.size)};
|
|
7
|
+
min-height: ${e=>i.height.valuePx(e.size)};
|
|
8
|
+
padding-right: ${e=>i.marginRight.valuePx(e.size)};
|
|
9
|
+
padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
|
|
10
|
+
padding-bottom: ${e=>i.paddingTopBottom.valuePx(e.size)};
|
|
11
|
+
:first-of-type {
|
|
12
|
+
border-top-left-radius: inherit;
|
|
13
|
+
border-top-right-radius: inherit;
|
|
14
|
+
}
|
|
15
|
+
:last-of-type {
|
|
16
|
+
border-bottom-left-radius: inherit;
|
|
17
|
+
border-bottom-right-radius: inherit;
|
|
18
|
+
}
|
|
19
|
+
`,w=r(f)`
|
|
20
|
+
display: flex;
|
|
21
|
+
border-width: ${a.sp0};
|
|
22
|
+
outline-width: ${a.sp0};
|
|
23
|
+
color: ${e=>e.theme.colors.primary};
|
|
24
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
25
|
+
border-radius: ${a.sp1};
|
|
26
|
+
text-align: right;
|
|
27
|
+
padding: 0 ${a.sp3};
|
|
28
|
+
width: 100%;
|
|
29
|
+
justify-content: flex-end;
|
|
30
|
+
margin-top: ${a.sp2};
|
|
31
|
+
margin-bottom: ${a.sp2};
|
|
32
|
+
`,x=r.label`
|
|
33
|
+
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"100%"};
|
|
34
|
+
`,$=r.label`
|
|
35
|
+
width: 100%;
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: flex-end;
|
|
38
|
+
color: ${e=>e.theme.colors.hero};
|
|
39
|
+
${e=>`${y.infoLabel.style(e.size)}`};
|
|
40
|
+
padding-right: ${a.sp3};
|
|
41
|
+
text-align: right;
|
|
42
|
+
`;export{R as S};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as
|
|
1
|
+
import{J as M,V as l,cR as me,o as s,x as I,ac as K,u as m,cM as Q,eH as ge,ey as fe,y as be,g4 as xe,b as R,c as we,bK as _,g5 as Z,ar as H,g6 as J,bI as B,p as F,w as G,an as X,g7 as $e,ao as ye,ak as ve}from"./index-DGGt5RDJ.js";import{n as r}from"./mui-BXc79n0P.js";import{T as je}from"./RoleWithToolTip-vxNCa6FT-LxVETf1F.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="5874809c-a9d6-495f-aa1b-c05d408fe42f",e._sentryDebugIdIdentifier="sentry-dbid-5874809c-a9d6-495f-aa1b-c05d408fe42f")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${s.sp2};
|
|
4
4
|
align-items: center;
|
|
@@ -34,25 +34,25 @@ import{J as U,V as l,cR as me,o as s,x as I,ac as q,u as m,cM as K,eH as ge,ey a
|
|
|
34
34
|
display: flex;
|
|
35
35
|
align-items: center;
|
|
36
36
|
margin-right: ${s.sp2};
|
|
37
|
-
`,
|
|
37
|
+
`,Ae=r.img`
|
|
38
38
|
height: ${s.sp5};
|
|
39
39
|
width: ${s.sp5};
|
|
40
40
|
border-radius: 50%;
|
|
41
41
|
justify-content: center;
|
|
42
|
-
`,
|
|
42
|
+
`,Te=r.img`
|
|
43
43
|
height: ${s.sp4};
|
|
44
44
|
width: ${s.sp4};
|
|
45
45
|
border-radius: 50%;
|
|
46
46
|
justify-content: center;
|
|
47
47
|
color: ${e=>e.theme.colors.hero};
|
|
48
|
-
`,
|
|
48
|
+
`,U=r.div`
|
|
49
49
|
display: flex;
|
|
50
50
|
flex-direction: row;
|
|
51
51
|
cursor: pointer;
|
|
52
52
|
align-items: center;
|
|
53
53
|
gap: ${s.sp2};
|
|
54
54
|
height: 100%;
|
|
55
|
-
`,Ve=r(
|
|
55
|
+
`,Ve=r(U)`
|
|
56
56
|
flex-direction: column;
|
|
57
57
|
gap: ${s.sp0};
|
|
58
58
|
`,ke=r.div`
|
|
@@ -66,12 +66,12 @@ import{J as U,V as l,cR as me,o as s,x as I,ac as q,u as m,cM as K,eH as ge,ey a
|
|
|
66
66
|
white-space: nowrap;
|
|
67
67
|
overflow: hidden;
|
|
68
68
|
text-overflow: ellipsis;
|
|
69
|
-
`,
|
|
69
|
+
`,Re=r.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
align-items: center;
|
|
72
|
-
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?
|
|
72
|
+
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?F.important:e.theme.colors.grey1};
|
|
73
73
|
fill: ${e=>e.theme.colors.grey1};
|
|
74
|
-
`,
|
|
74
|
+
`,Ee=r(ve)`
|
|
75
75
|
color: ${e=>e.hasSelectedUser?e.theme.colors.primary:e.theme.colors.hero};
|
|
76
76
|
margin-left: -10px;
|
|
77
77
|
margin-right: -10px;
|
|
@@ -89,10 +89,10 @@ import{J as U,V as l,cR as me,o as s,x as I,ac as q,u as m,cM as K,eH as ge,ey a
|
|
|
89
89
|
box-sizing: border-box;
|
|
90
90
|
align-items: center;
|
|
91
91
|
justify-content: space-between;
|
|
92
|
-
`,
|
|
92
|
+
`,Fe=r(U)`
|
|
93
93
|
align-items: center;
|
|
94
94
|
gap: ${s.sp2};
|
|
95
|
-
`,
|
|
95
|
+
`,E=r.div`
|
|
96
96
|
overflow: hidden;
|
|
97
97
|
text-overflow: ellipsis;
|
|
98
98
|
white-space: nowrap;
|
|
@@ -103,7 +103,7 @@ import{J as U,V as l,cR as me,o as s,x as I,ac as q,u as m,cM as K,eH as ge,ey a
|
|
|
103
103
|
.select-control {
|
|
104
104
|
border: none;
|
|
105
105
|
height: 100%;
|
|
106
|
-
background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?
|
|
106
|
+
background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?F.importantLight:e.theme.colors.grey5};
|
|
107
107
|
box-shadow: none;
|
|
108
108
|
border-radius: ${s.sp1};
|
|
109
109
|
&:hover {
|
|
@@ -159,20 +159,20 @@ import{J as U,V as l,cR as me,o as s,x as I,ac as q,u as m,cM as K,eH as ge,ey a
|
|
|
159
159
|
visibility: visible;
|
|
160
160
|
}
|
|
161
161
|
::placeholder {
|
|
162
|
-
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?
|
|
162
|
+
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?F.important:e.theme.colors.grey1};
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
`,
|
|
167
|
+
`,Me=r.div`
|
|
168
168
|
width: ${e=>e.windowSize==="small"?"max-content":"100%"};
|
|
169
169
|
display: flex;
|
|
170
170
|
flex-direction: column;
|
|
171
|
-
`,
|
|
171
|
+
`,Ue=r(Z)`
|
|
172
172
|
width: ${s.sp5};
|
|
173
173
|
height: ${s.sp5};
|
|
174
174
|
color: ${e=>e.theme.colors.hero};
|
|
175
|
-
`,
|
|
175
|
+
`,q=r($e)`
|
|
176
176
|
color: ${e=>e.theme.colors.alert};
|
|
177
177
|
text-transform: none;
|
|
178
178
|
border: 1px solid ${e=>e.theme.colors.alert};
|
|
@@ -180,7 +180,7 @@ import{J as U,V as l,cR as me,o as s,x as I,ac as q,u as m,cM as K,eH as ge,ey a
|
|
|
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:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:T,isValuePlacedAtEnd:D=!0,isDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:k=!1}){const{formState:{errors:P}}=Q(),L=fe(P,j??""),c=M(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(Re,{menuIsOpen:i,isError:L,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Ee,{hasSelectedUser:a===t.value,children:[l.jsxs(Fe,{children:[l.jsx(Ue,{}),l.jsx(Y,{children:l.jsx(E,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(U,{children:[S||C?l.jsx(Z,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Pe,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],b=x(n.value);return l.jsxs(Ve,{children:[l.jsxs(ke,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(J,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(E,{children:i})]}),S?l.jsx(W,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},W=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!z?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(A=>A.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(De,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:b?.user?.photo!=null?l.jsx(Ae,{src:b?.user?.photo.href,alt:R.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=H},loading:"lazy"}):l.jsx(J,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Y,{children:[l.jsx(E,{children:t.label}),l.jsx(W,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(B,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:k,children:l.jsx(_.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(_.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Me,{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=be();return l.jsx(xe,{placeholder:g??R.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:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:V,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const _e={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:T,additionalLabelInfo:D,isOptionDisabled:V,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:k}=Q(),P=M();return l.jsx(ge,{name:e,control:k,defaultValue:g,rules:o,render:({field:{value:L,onChange:c}})=>l.jsxs(Je,{width:w?.width,"data-testid":K("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:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:T,isOptionDisabled:V,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Be,{size:P,children:D})]})})},Je=r.div`
|
|
184
184
|
display: flex;
|
|
185
185
|
flex-direction: column;
|
|
186
186
|
width: ${e=>e.width!=null?e.width:"auto"};
|
|
@@ -189,7 +189,7 @@ import{J as U,V as l,cR as me,o as s,x as I,ac as q,u as m,cM as K,eH as ge,ey a
|
|
|
189
189
|
${e=>`${_e.infoLabel.style(e.size)}`};
|
|
190
190
|
text-align: right;
|
|
191
191
|
padding-right: ${s.sp3};
|
|
192
|
-
`,N={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function
|
|
192
|
+
`,N={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Qe({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=M();return l.jsxs(Ge,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":K("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:N.labelMarginLeft.value(f),marginRight:N.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(He,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.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;
|
|
@@ -226,4 +226,4 @@ import{J as U,V as l,cR as me,o as s,x as I,ac as q,u as m,cM as K,eH as ge,ey a
|
|
|
226
226
|
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
`;export{
|
|
229
|
+
`;export{Qe as Y};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{J as B,V as l,cR as G,x as m,o,ac as
|
|
1
|
+
import{J as B,V as l,cR as G,x as m,o,ac as H,u as n,cM as E,eH as K,ey as Q,y as q,w as V,bJ as ie,b as te,g1 as se,g8 as ae,aM as ne,b3 as de,bK as M,bc as ce,bI as pe,cF as ue,p as D,g9 as F,ck as X,a as he,ak as Y,an as ge,ao as me,fP as be,fO as fe,by as xe,fQ as ye,bk as we,ga as ve}from"./index-DGGt5RDJ.js";import{n as d,c as $e}from"./mui-BXc79n0P.js";import{a as C}from"./sentry-C7LQiKF9.js";import{Gr as W,Gs as Re}from"./zeni-epic-state-Cvu6NpVe.js";import{T as je}from"./RoleWithToolTip-vxNCa6FT-LxVETf1F.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]="50f9d0b2-25d1-41a7-b222-39c1b7125ef9",e._sentryDebugIdIdentifier="sentry-dbid-50f9d0b2-25d1-41a7-b222-39c1b7125ef9")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
margin-top: ${e=>
|
|
4
|
-
margin-bottom: ${e=>
|
|
5
|
-
margin-left: ${e=>
|
|
3
|
+
margin-top: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
4
|
+
margin-bottom: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
5
|
+
margin-left: ${e=>N.grpBtnMarginLeftRight.valuePx(e.windowSize)};
|
|
6
6
|
cursor: pointer;
|
|
7
7
|
height: 29px;
|
|
8
8
|
&:hover {
|
|
@@ -22,7 +22,7 @@ import{J as B,V as l,cR as G,x as m,o,ac as N,u as n,cM as E,eH as K,ey as Q,y a
|
|
|
22
22
|
}
|
|
23
23
|
`,Ce=d.div`
|
|
24
24
|
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
25
|
-
`,
|
|
25
|
+
`,A=({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(Se,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(ke,{"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))})},L={allRolesMarginLeftRight:new m(n[3],n[4])},De=d.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -51,7 +51,7 @@ import{J as B,V as l,cR as G,x as m,o,ac as N,u as n,cM as E,eH as K,ey as Q,y a
|
|
|
51
51
|
flex-direction: row;
|
|
52
52
|
margin-bottom: ${o.sp3};
|
|
53
53
|
justify-content: space-between;
|
|
54
|
-
`,Te=d(
|
|
54
|
+
`,Te=d(X)`
|
|
55
55
|
display: flex;
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
57
57
|
`,J=d(Y)`
|
|
@@ -87,9 +87,9 @@ import{J as B,V as l,cR as G,x as m,o,ac as N,u as n,cM as E,eH as K,ey as Q,y a
|
|
|
87
87
|
`,Be=d.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-direction: column;
|
|
90
|
-
`,
|
|
90
|
+
`,Ie=d(X)`
|
|
91
91
|
display: flex;
|
|
92
|
-
`,
|
|
92
|
+
`,Ve=d(Y)`
|
|
93
93
|
display: flex;
|
|
94
94
|
margin-bottom: ${o.sp1};
|
|
95
95
|
`,Le=d(me)`
|
|
@@ -101,27 +101,27 @@ import{J as B,V as l,cR as G,x as m,o,ac as N,u as n,cM as E,eH as K,ey as Q,y a
|
|
|
101
101
|
`,Ee=d.div`
|
|
102
102
|
display: flex;
|
|
103
103
|
flex-direction: row;
|
|
104
|
-
`,_e=d.div``,
|
|
104
|
+
`,_e=d.div``,Ue=d.div`
|
|
105
105
|
display: flex;
|
|
106
106
|
flex-direction: column;
|
|
107
107
|
padding-left: ${o.sp3};
|
|
108
|
-
`,
|
|
108
|
+
`,Fe=d(ve)`
|
|
109
109
|
width: ${o.sp4};
|
|
110
110
|
height: ${o.sp4};
|
|
111
111
|
color: ${e=>e.theme.colors.hero};
|
|
112
|
-
`,
|
|
112
|
+
`,Ne=d(we)`
|
|
113
113
|
width: ${o.sp4};
|
|
114
114
|
height: ${o.sp4};
|
|
115
115
|
color: ${e=>e.theme.colors.hero};
|
|
116
|
-
`,
|
|
116
|
+
`,He=d(ye)`
|
|
117
117
|
width: ${o.sp4};
|
|
118
118
|
height: ${o.sp4};
|
|
119
119
|
color: ${e=>e.theme.colors.hero};
|
|
120
|
-
`,
|
|
120
|
+
`,We=d(xe)`
|
|
121
121
|
width: ${o.sp4};
|
|
122
122
|
height: ${o.sp4};
|
|
123
123
|
color: ${e=>e.theme.colors.hero};
|
|
124
|
-
`,
|
|
124
|
+
`,Ae=d(fe)`
|
|
125
125
|
width: ${o.sp4};
|
|
126
126
|
height: ${o.sp4};
|
|
127
127
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -135,7 +135,7 @@ import{J as B,V as l,cR as G,x as m,o,ac as N,u as n,cM as E,eH as K,ey as Q,y a
|
|
|
135
135
|
margin-right: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
136
136
|
margin-left: ${e=>L.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
137
137
|
color: ${e=>e.theme.mode==="light"?D.brandColorOnyx:D.brandColorPearl};
|
|
138
|
-
`,Ge=e=>{switch(e){case"bookkeeping":return l.jsx(
|
|
138
|
+
`,Ge=e=>{switch(e){case"bookkeeping":return l.jsx(Fe,{});case"zeni_bill_pay":return l.jsx(Ne,{});case"zeni_reimbursements":return l.jsx(He,{});case"zeni_checking":return l.jsx(We,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(Je,{});default:return null}},Ke=e=>l.jsxs(Be,{children:[l.jsx(Ie,{className:"roleTitle",children:F[e].label}),l.jsx(Ve,{className:"roleSubTitle",children:F[e].subTitle}),l.jsx(Le,{className:"roleSuitableFor",children:F[e].roleSuitableFor})]}),Qe=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=Q(p,`${e}.userRole.selectedRole`),f=B(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=C.useCallback(h=>{const t=se([h]),k=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===k),I=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:I?void 0:v[R].options.filter(P=>P.value===h)[0]});const _={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(_)},[c,i]),y=i.userRole.selectedRole,u=C.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>Re(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);C.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,z=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(ze,{children:x.map(h=>l.jsxs(De,{windowSize:f,children:[l.jsx(Me,{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(Pe,{windowSize:f,isCollapsed:z(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Oe,{children:[l.jsxs(Ee,{children:[l.jsx(_e,{children:t.productType&&Ge(t.productType)}),l.jsxs(Ue,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(A,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(J,{children:t.subTitleUser}),l.jsx(J,{children:t.subTitleAdmin})]})]}),f!=="small"?l.jsx(A,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},qe=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=E();return l.jsx(K,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Qe,{onSelectionChanged:b=>{a(b)},selectedValue:$,name:e,isDisabled:i})}})},S={width:new m(343,580,726),height:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),labelPaddingLeft:new m(n[3],n[4]),labelPaddingRight:new m(n[3],n[4]),labelPaddingTop:new m(n[2],n[2]),labelPaddingBottom:new m(n[2],n[3])};function yo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=B();return l.jsxs(Xe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(G,{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(qe,{...i,isDisabled:e})]})}const Xe=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{J as B,V as l,cR as G,x as m,o,ac as N,u as n,cM as E,eH as K,ey as Q,y a
|
|
|
169
169
|
border-color: inherit;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
`;function Ye({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]=C.useState(),{formState:{errors:z}}=E(),h=Q(z,b??"");C.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),C.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=
|
|
172
|
+
`;function Ye({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]=C.useState(),{formState:{errors:z}}=E(),h=Q(z,b??"");C.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),C.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=q(),k=B(),v=JSON.parse(JSON.stringify(c));if(i!=null&&s){if(!i.includes("admin")){const r=v.findIndex(g=>g.value==="admin");v.splice(r,1)}if(!i.includes("bookkeeping_admin")){const r=v.findIndex(g=>g.value==="bookkeeping_admin");v.splice(r,1)}}const R=t.colors.grey5,I=V.smallRegular.cssObject,_=I,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:k==="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,g)=>({...r,color:g.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,g)=>({...r,margin:0,minWidth:void 0,backgroundColor:void 0,color:g.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:k==="small"?"230px":"100%",right:k==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:k==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:T,data:O})=>{const w=W(O.value)&&s===!0,U=Z(g,w,O.value,t);return{...r,height:w?44:40,padding:w?o.sp0:`${o.sp2} 12px`,marginTop:w?o.sp1:"unset",whiteSpace:"unset",display:"flex",alignItems:"center",opacity:1,...I,color:U,cursor:T?"not-allowed":"pointer",backgroundColor:g&&!w?t.colors.background:"transparent",">div":{backgroundColor:g?t.colors.background:"transparent"},borderTop:w||O.value==="delete"?`1px solid ${t.colors.background}`:"none","& label":{paddingRight:"10px"},"svg:nth-of-type(2)":{display:"none"},":hover":{color:Z(!0,w,O.value,t),backgroundColor:g&&!w?t.colors.background:w?"transparent":t.colors.background,">div":{backgroundColor:t.colors.background},"svg:nth-of-type(1)":{display:w||s===!1?"inline-block":"none"},"svg:nth-of-type(2)":{display:w?"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:g}=r;return C.createElement(M.Option,{...r,key:r.data.value},l.jsxs(no,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!g&&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 g=[];a&&r.forEach(T=>{g.push(T.value)}),e(a?g:r.value)},re=r=>{const{menuIsOpen:g,isFocused:T,isDisabled:O,selectProps:w}=r,{value:U}=w;return l.jsx(po,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:U,isError:h,isValuePlacedAtEnd:y,windowSize:k,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:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:lo,Option:oe,MultiValueRemove:ro,IndicatorSeparator:io,MultiValueLabel:to,ValueContainer:so,Placeholder:oo,Input:eo},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&W(r.value),classNamePrefix:"zeniRolesDropDown"})}const eo=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})},oo=()=>null,Z=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?D.important:c.colors.hero,lo=()=>null,ro=()=>null,io=()=>null,to=({children:e,data:s,...i})=>l.jsx(M.MultiValueLabel,{...i,children:l.jsxs(ao,{children:[e,l.jsx(co,{className:"seperator",children:","})]})}),so=({children:e,...s})=>l.jsx(M.ValueContainer,{...s,className:"select-value-container",children:e}),ao=d(ge)`
|
|
173
173
|
padding: ${o.sp0} 2px;
|
|
174
174
|
max-width: 104px;
|
|
175
175
|
white-space: nowrap;
|
|
@@ -181,7 +181,7 @@ import{J as B,V as l,cR as G,x as m,o,ac as N,u as n,cM as E,eH as K,ey as Q,y a
|
|
|
181
181
|
display: flex;
|
|
182
182
|
justify-content: space-between;
|
|
183
183
|
align-items: center;
|
|
184
|
-
${e=>
|
|
184
|
+
${e=>W(e.role)&&e.forZeniUser===!0?`padding: ${o.sp0} 12px; height: ${o.sp6};margin-top: ${o.sp1};width: 100%`:""}
|
|
185
185
|
`,co=d.span``,po=d.div`
|
|
186
186
|
width: 100%;
|
|
187
187
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -218,7 +218,7 @@ import{J as B,V as l,cR as G,x as m,o,ac as N,u as n,cM as E,eH as K,ey as Q,y a
|
|
|
218
218
|
border-radius: ${o.sp0};
|
|
219
219
|
margin: ${o.sp0};
|
|
220
220
|
color: ${e=>e.theme.colors.primary};
|
|
221
|
-
${
|
|
221
|
+
${V.standardRegular.css};
|
|
222
222
|
box-sizing: border-box;
|
|
223
223
|
overflow: hidden;
|
|
224
224
|
text-overflow: ellipsis;
|
|
@@ -229,7 +229,7 @@ import{J as B,V as l,cR as G,x as m,o,ac as N,u as n,cM as E,eH as K,ey as Q,y a
|
|
|
229
229
|
display: flex;
|
|
230
230
|
width: ${e=>e.menuIsOpen===!1&&e.selectedValue==null?o.sp0:"100%"};
|
|
231
231
|
position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
|
|
232
|
-
${
|
|
232
|
+
${V.standardRegular.css};
|
|
233
233
|
color: ${e=>e.theme.colors.primary};
|
|
234
234
|
margin: ${o.sp0};
|
|
235
235
|
cursor: inherit;
|
|
@@ -258,7 +258,7 @@ import{J as B,V as l,cR as G,x as m,o,ac as N,u as n,cM as E,eH as K,ey as Q,y a
|
|
|
258
258
|
visibility: hidden;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
`,uo=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=E();return l.jsx(K,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ye,{onSelectionChanged:z=>{x({allOptions:c.allOptions,selectedOptions:z}),$?.(z)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function wo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=B();return l.jsxs(ho,{size:p,style:c,isDisabled:e!=null,"data-testid":
|
|
261
|
+
`,uo=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=E();return l.jsx(K,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ye,{onSelectionChanged:z=>{x({allOptions:c.allOptions,selectedOptions:z}),$?.(z)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new m(343,580,726),height:new m(n[6],n[6]),controlHeight:new m(n[6],n[6]),paddingTopBottom:new m(n[2],n[2]),marginRight:new m(n[2],n[2]),labelMarginLeft:new m(n[3],n[4]),labelMarginRight:new m(n[3],n[4]),labelMarginTop:new m(n[2],n[2])};function wo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=B();return l.jsxs(ho,{size:p,style:c,isDisabled:e!=null,"data-testid":H("labeled-zeni-roles-dropdown-field",i.name),children:[l.jsx(G,{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(uo,{...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 ho=d.div`
|
|
262
262
|
display: flex;
|
|
263
263
|
flex-direction: row;
|
|
264
264
|
align-items: flex-start;
|