@zeniai/web-cockpit-ui 1.15.37-dev → 1.15.38-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-D2Xav-UW-gmz3eqze.js +21 -0
- package/dist/assets/{AIPerformancePage-ByRPO3mW-V2z53xbR.js → AIPerformancePage-DlTdGosv-DyKbURC2.js} +104 -104
- package/dist/assets/AccountInfoPage-B8-8kUGD-pQMRLxBS.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BAzd-LkX-zhLe5kT9.js → AccountInfoPageContent-BS2TBUSE-DjSw5axw.js} +15 -15
- package/dist/assets/AccountLockedInfoModal-aukulrV7-DW4aghq-.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-Cu_UrL9J-DtVM4SNp.js → AccountReconDetailsDrawerPage-kQJld6_N-B65yMW07.js} +18 -18
- package/dist/assets/AccountRow-BiEYR4Y1-ClTxn5CJ.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Z8O9Tv5P-Ml8cuMMq.js → AccountsPromoCardStack-DBQnDPXQ-Bven8hQt.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BtB56seB.js +6 -0
- package/dist/assets/{AddToWalletPage-CKOnAq6_-DV5MHNnO.js → AddToWalletPage-C4EwdLZJ-BEbcOqOR.js} +22 -22
- package/dist/assets/{AgingReportsPage-CUcu_cHV-BfWkV3LB.js → AgingReportsPage-vAvkUfOS-BtReYcdm.js} +5 -5
- package/dist/assets/{AllUserItems-BbhDuv3Y-Sz0e_jiW.js → AllUserItems-qrYg6Gdx-BwUq_luf.js} +10 -10
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-DVhdxG-Q.js +46 -0
- package/dist/assets/{AppBasePage-Cc3o50Ar-BHOC3Xzc.js → AppBasePage-DrE-W6d7-Kq-aTwFf.js} +12 -12
- package/dist/assets/{AppDrawerContent-moxx3tLo-Dz47vdEl.js → AppDrawerContent-ATbZG_cu-CRi0IC7G.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BzSO-EGU.js +47 -0
- package/dist/assets/{ArAgingChart-DuwEWasX-BuV7tx_p.js → ArAgingChart-CuzG9AZY-CNSUQdmd.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-DGETibBB-CjzKi7D5.js → ArAgingDetailPage-DwRkcLEu-I81vxQpd.js} +6 -6
- package/dist/assets/{AttachmentView-Q7kiwPOS-CHDjMQDr.js → AttachmentView-BrQRChzc-mWFumGJq.js} +5 -5
- package/dist/assets/{BankAccountSection-Ct31GOKt-CVtHTMeV.js → BankAccountSection-hcKEMs80-ujPW3TnU.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-ko9DqAKK-CrxKdVDa.js → BankAccountWarningSection-CpxVDMSZ-BNQxexaw.js} +10 -10
- package/dist/assets/{BankConnectionsSettingsPage-Ds9FSEMV-DEp297UG.js → BankConnectionsSettingsPage-Bdw1K00m-Cl2UYywT.js} +14 -14
- package/dist/assets/{BillDetailPage-DKDNgnqK-BxQnQp30.js → BillDetailPage-D0NLFZXA-DHU3hbq9.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-DUprxSDP-LgEeAw_T.js → BillPayApprovalRuleDetailPage-DkpCvYvo-ufuiC-2k.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DuRefUEE-DMdnYitl.js → BillPayApprovalRulesPage-BEqZD0GU-CWNv7fB2.js} +12 -12
- package/dist/assets/BillPayPromoPage-BMcP4EU5-BBffVCRN.js +84 -0
- package/dist/assets/{BillPaySetUpPage-UfS3JsLW-DLX3_Qs9.js → BillPaySetUpPage-WdEdbf16-DIfXsyw3.js} +2 -2
- package/dist/assets/BillingSettingsPage-GtRUqSZm-CK-50NW2.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-DKGmWv9w-B_26Dnen.js → BillsBulkReviewDrawerPage-DAUoo9pq-BoZGtLPD.js} +1 -1
- package/dist/assets/{BoxItem-Qhw9iPt9-um8RiO3S.js → BoxItem-CACRFWG2-DTCzjEaX.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CVZrCy-t-CUWza1Ml.js → BusinessVerificationPage-9gZbBDL6-D4OeNnpg.js} +9 -9
- package/dist/assets/{CardNumberSubText-r5Tf-P5n-BTfLP1fo.js → CardNumberSubText-C-oVdziK-BTlLGD-l.js} +3 -3
- package/dist/assets/{CashbackDetailPage-Bo_ZMMG7-BHS7DfRM.js → CashbackDetailPage-BhFKSl4p-D1VJ-I5U.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-BlQdk9jC-A10jT6r0.js → ChargeCardDetailPage-D8J6HINu-Djp8X5xt.js} +39 -39
- package/dist/assets/{ChargeCardListPage-CsFYpoaM-DVSse2DT.js → ChargeCardListPage-tdUKyHdz-DA_gAum9.js} +30 -30
- package/dist/assets/{ChargeCardListTable-D8exMgXq-DvkQ54IM.js → ChargeCardListTable-CByk3iqX-Ws-6RJ3y.js} +39 -39
- package/dist/assets/{ChargeCardPaymentHistoryPage-DBc981J5-C_1A5JDO.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BZol_uHa.js} +39 -39
- package/dist/assets/ChargeCardPromoPage-C4cgx2gm-BjrgUKMy.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-Bco5-BZh-D5TeWpHv.js → ChargeCardSetupPage-DtwiTNKA-4J0P5zst.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-uEDAQkC5-DiOWBHn2.js → ChargeCardStatementsPage-B0KPw52e-dCK6B2Ac.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-CNRKyz3v-Bkmn7rye.js → CheckDepositDrawerPage-DKNAXI77-C5AvAeBp.js} +15 -15
- package/dist/assets/{CollapsableReportTable-CoDaSHJN-BTz-2evo.js → CollapsableReportTable-Cq8bhaYC-LGo3rBU5.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-DzleqDta-Be_JBAVv.js → CompanyOfficerDetailsSection-Rk0B5cB5-BHN1U_wu.js} +28 -28
- package/dist/assets/{CompanyPassportCard-CG5saSQ3-CP-F7zg-.js → CompanyPassportCard-CHaKk74P-Din-6OwH.js} +5 -5
- package/dist/assets/{CompanyPassportPage-ZCNGHjZ9-C54hhopH.js → CompanyPassportPage-DXWXFFKM-DEGq9YOd.js} +21 -21
- package/dist/assets/{CompleteProfile-BqPvCgUX-p24q1pVb.js → CompleteProfile-ChaWsK6t-Dm1N-E47.js} +1 -1
- package/dist/assets/ConfettiBurst-CdB5fRMt-BFN6S_bw.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-ChP9tLGZ.js → ConstrainedInnerElement-BeIpAPjB-bG4eDk9o.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CfFzrga_-Dh7VSqmF.js → CreateOrEditVendorPage-C_8Jqubo-BUW_NZ_u.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-Cjnbhvmv-BaSvidwl.js → CreditCardPaymentDrawerPage-lOjOtk28-j0qKs3eR.js} +11 -11
- package/dist/assets/CurrencySelectField-BDqU4HVy-_c0EjyDh.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-hnf-eIo--zPg7mnSU.js → CustomerOnboardingActivationPage-DO6NCakm-BohLreim.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DYDehdNi.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-Dayyky5R.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BugxAqPd.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-CA0h5UTQ-D70jA_5U.js → CustomerOnboardingNoStepsPage-CbG5WshV-N0QAWt53.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-rvO0Stsl-DR9ugrMH.js → CustomerOnboardingPage-DyVyf8oK-lwDo-U4P.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-BIgNTp2U-QUMH346P.js → CustomerOnboardingProductSuitePage-1F3JfCRp-Bb5bbAyM.js} +10 -10
- package/dist/assets/{Dashboard-BFesVYJk-DIJsr9ee.js → Dashboard-Csggwob0-B_kkr9l_.js} +33 -33
- package/dist/assets/{DashboardReportPage-CdNJfWUo-CWT_hUZC.js → DashboardReportPage-DFIdi_I0-CIudpdoQ.js} +23 -23
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-CkHR7e1V.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DJ_V8Mx7-BuWiOxQp.js → DepositAccTransactionItem-CZ7v1T4S-CDGkzdT3.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-DBsJOm1m-Cdo9zknM.js → DepositAccTransactionListPage-FldPGX6K-D4yjo7wN.js} +5 -5
- package/dist/assets/{DomesticWireDetailsPage-B1_C38p0-CuSqBTG5.js → DomesticWireDetailsPage-C--eZ-UG-aeN-j2-T.js} +2 -2
- package/dist/assets/{DownloadOverlay-DYUlDQr8-CcBbvC4p.js → DownloadOverlay-4f9deyJS-BqMoJX-8.js} +26 -26
- package/dist/assets/{DrawerPage-jU38Lq6Q-g2fItPLT.js → DrawerPage-roO3xvRT-PSFK2zzW.js} +13 -13
- package/dist/assets/EditPeoplePage-pi5RclAj-x9yNFzVP.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-PRaUQsZj-BkCY6rdX.js → EditReimbursementDetailPage-CIUcImns-D0KrDI_a.js} +82 -82
- package/dist/assets/EntityDetailPage-OTKTVNMD-13C_FBL6.js +18 -0
- package/dist/assets/{EntitySummarySection-BzzwWXw2-DmNh-Dpm.js → EntitySummarySection-fBL4TZpT-A_Fknt-h.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-CMzFQB6V-BJseINtW.js → ExpenseAutomationOverviewPage-CnhNINCc-KgO80FB-.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-Do8AQ5Tr.js +1703 -0
- package/dist/assets/{ExpressPayPage-B8_m64s9-9dOOupGM.js → ExpressPayPage-c8oTCnBR-29U2DeVu.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-BLWGNRVo-BJ3fn4Te.js → FeaturePreviewPage-DkiAajs2-a11xhmqD.js} +2 -2
- package/dist/assets/{FollowStepsSection-CBVDfZ38-DEg-b5um.js → FollowStepsSection-GaWu1kt9-D7a6AHjG.js} +57 -57
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-DjCNVwYb.js +291 -0
- package/dist/assets/{InformationCardStack-D8hkkUkN-BiZC_QHa.js → InformationCardStack-dMFbHUWM-1K2JUYs5.js} +4 -4
- package/dist/assets/{InsightsCardStack-T3ZL19C0-BZI7t3ec.js → InsightsCardStack-BlXkyuyz-DZ79gvs7.js} +9 -9
- package/dist/assets/InsightsSection-D-oCmrir-CPKrgvm8.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DKqNc7bF-G0FG4Jef.js → IntegrationsSettingsPage-D-hfghuq-CuSnTyw1.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-qzmJ8_r9-B66iPRnG.js → InternationalWireSwiftDetailsPage-DxdKE300-ChF2f0EA.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-NJeApJr8.js +65 -0
- package/dist/assets/{InviteFormPage-Dw-l-O7n-yNG431eF.js → InviteFormPage-BCdalqtP-Dy69iGu4.js} +16 -16
- package/dist/assets/{InvitePageListView-CGjk-eOP-DmnIRpgD.js → InvitePageListView-B88FW48q-BKGuzbRb.js} +48 -48
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-0pdGCXQT.js +12 -0
- package/dist/assets/InvoiceUploadSection-C8hytmay-DFE-YOJW.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BASDviuN-Dl52KtxK.js → IssueChargeCardPage-B6wmvbEr-DO2TfaZv.js} +34 -34
- package/dist/assets/{LabeledAddressValue-IPGwjeYh-BmDI6MSM.js → LabeledAddressValue-CQrDCgNs-C6-5ig2u.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-DYjUauc7-BRnlsecO.js → LabeledAddressValueField-BoHS44YO-2snjxiG6.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-idZ4OPKP.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-CekqwoGI-DN5ndG6t.js → LabeledCountryMultiSelectField-D1fVDYR_-DUR0-azH.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-By3V1BNi-Bq1EDd21.js → LabeledCreatableSingleSelectField-Bhka-Faj-lL2zJ3aA.js} +8 -8
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-CMl01eck.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-CQkl7AeY-CvUsVVaa.js → LabeledDropDownFormattedTextField-ChgtJqPr-JYEhPcSE.js} +4 -4
- package/dist/assets/{LabeledText-D1RmgOs9-CHA_6kjw.js → LabeledText-2EDpuXZ4-BEv7vXSO.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-D0I8R8U3.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-VFejN6_t.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-BiVOlFVe-DHYF2n7I.js → LabeledZeniRolesDropDownField-CpH0eDWO-BxhCmxLu.js} +26 -26
- package/dist/assets/LinkJETransactionPage-BhV2MnCY-X20SxNQt.js +98 -0
- package/dist/assets/{LockCardPage-BVpW2BeO-CYdsQ7YW.js → LockCardPage-CHv1xi2J-DwYrblSV.js} +42 -42
- package/dist/assets/{LowBalancePopup-DTUaytjD-qB659IJo.js → LowBalancePopup-Cb55PGLc-8xdVWK14.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DHCMKKMo.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-DTcLhMoN.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-DPORyIsv.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-DDk2ZACW.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BeTuROc4-DFHTf3Jg.js → MagicLinkTitleSection-BA-i6vzA-BnqIfeCZ.js} +4 -4
- package/dist/assets/{MailingDetailsSection-q49nDsf9-6vdFNevB.js → MailingDetailsSection-EwtoQ2TZ-uOWaBvAh.js} +6 -6
- package/dist/assets/{MyBankConnectionsSettingsPage-B9kH0sVB-aDPh-D-4.js → MyBankConnectionsSettingsPage-Aer6AWxY-C0T9wiMg.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-C1TCKtBk.js +6 -0
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-Cf_llb4W.js +85 -0
- package/dist/assets/NavBarWithPicker-D8WNahg--CB3fxQni.js +30 -0
- package/dist/assets/{NavigationArrow-BvkBQmTR-NQPFGr6S.js → NavigationArrow-kQWS5Pzb-DFRrRIxZ.js} +7 -7
- package/dist/assets/{NavigationDots-DyeJVxnu-C7s9J0lV.js → NavigationDots-BQb_Fodq-C9mSjIjx.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-D15HmpS7-Dpc6_q1o.js → NewGlobalMerchantPage-z86XZorn-CZCyVb5z.js} +34 -34
- package/dist/assets/NoDataChart-CyYJ6icu-C4lbaNyZ.js +26 -0
- package/dist/assets/{NoDataTable-BnwGiTCu-B-XpYLns.js → NoDataTable-DVe7sQhD-Ce3Fn9a-.js} +1 -1
- package/dist/assets/{NotFoundPage-Ds5RxwiG-bIj8_Xni.js → NotFoundPage-B1XCmhSe-BLt3Z8lV.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-CeWmIGY8-BBeB8KaU.js → NotificationSettingsPage-BaN20EGV-DLtV9Q9B.js} +30 -30
- package/dist/assets/NotificationsListConfig-BOW_TmPC-DKP0fKrC.js +1 -0
- package/dist/assets/{NotificationsPage-DYE-ZefG-CAMNzvC5.js → NotificationsPage-C9efAgjo-ObRUiIF4.js} +40 -40
- package/dist/assets/OpExByVendorPage-DXeBU3-z-86liMDWJ.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-BUXmbpLw.js → OverlayContainerPage-D4QU0p4o-UEM2WfCE.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-vAvSbwIq-FxaNAztL.js → PandLWithForecastPage-CXtJhnA_-Cu7UVLJ1.js} +13 -13
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-2cz94sYW-B7-omVIb.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-0-NbLYs1.js} +14 -14
- package/dist/assets/PeoplePage-DXC2CtOt-DKKaYJrR.js +675 -0
- package/dist/assets/{Preview-BdB139Zx.js → Preview-AD2ECgEB.js} +1 -1
- package/dist/assets/{ProductsCarousel-JcjsFk4w-aedK5xPL.js → ProductsCarousel-ufZlh7Rx-BjpRaVjF.js} +7 -7
- package/dist/assets/{PromoBaseCards-D8xPcjkz-CuETeCxs.js → PromoBaseCards-D2UbhBhT-Cp6L2J8-.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-KDwylUf5-C4EhHf0D.js → QBOConnectionDialog-BrQ71F06-DkV9wT_l.js} +6 -6
- package/dist/assets/QBOSetupSection-EOFscEW--QOktkObJ.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-DcQM8wGi.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BcmW2ws5-C_3dLbLj.js → ReimbursementApprovalRulesPage-CMpYn5y_-B8BlhUrJ.js} +11 -11
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-B601rTQ4.js +314 -0
- package/dist/assets/ReimbursementPromoPage-DXTAY8c7-DzozUo-R.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-B6l3L19G-DXyjcVT3.js → ReimbursementSetUpPage-KrGPXTCb-HUiNlfwH.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-Dtgz495A.js → ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DakNrMoa.js} +1 -1
- package/dist/assets/{ReloadCard-pCquFw6w-BnM_2Fi3.js → ReloadCard-vAhL7B8U-B_goAZi9.js} +8 -8
- package/dist/assets/{ReportTableViewSelector-BOA9cxem-CwdIorRF.js → ReportTableViewSelector-Y97ney3W-oj1UWLmj.js} +28 -28
- package/dist/assets/{ReportsPage-BOsLdYhx-BxrDOkjq.js → ReportsPage-DKM0gVzR-DYU9qTPf.js} +4 -4
- package/dist/assets/{RevenueChart-DPse5Wdo-D2kesAkc.js → RevenueChart-BEjDS1u4-DVyCgAK9.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-DTCm09MF-DQqh7n9q.js → ReviewDetailsPage-BlQLrN9z-9-UhGpZC.js} +53 -53
- package/dist/assets/{ReviewOverlay-B2XV0Wf1-Bf28GIPa.js → ReviewOverlay-Bn3TFqfi-B5pVl7FJ.js} +25 -25
- package/dist/assets/RoleWithToolTip-DhBFvJea-D5V_Zl_5.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DLpikyWD-DWhx00_e.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-Dr379Z6t.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DIvnRAi6-BNdcsPPK.js → ScheduleDetailsPage-BP0wdtoP-DQyiKHXe.js} +8 -8
- package/dist/assets/{ScheduleSequenceTable-O93ZenyD-C7msaAQw.js → ScheduleSequenceTable-D-rZ4ftr-fPoJgv62.js} +44 -44
- package/dist/assets/{ScreenRoutes-ceMdhqPA.js → ScreenRoutes-outCs0gE.js} +33 -33
- package/dist/assets/{SetUpAccountSection-Dl68db5l-CQstYRob.js → SetUpAccountSection-CoVrSSYL-CVLKd7cm.js} +5 -5
- package/dist/assets/SignIn-BoAejo7r-BK0KNquT.js +491 -0
- package/dist/assets/SignInScreen-CU3TTapZ.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-DsTTqmEx-BIrI6gfu.js → SpendManagementListViewPage-D3eISFuA-DO4OqdVE.js} +21 -21
- package/dist/assets/{SpendManagementPerTabPage-Dt9HEmXn-QE9XhQeM.js → SpendManagementPerTabPage-BWDjZyLp-DoJN7cmk.js} +13 -13
- package/dist/assets/{SpendManagementSection-DbsdVrJv-DjQ_KcId.js → SpendManagementSection-D8rBpC-y-DyxgHeCH.js} +23 -23
- package/dist/assets/StatementItem-Cu6dlAsl-DonsY76E.js +31 -0
- package/dist/assets/StatementsPage-DiY2BOcu-DylRreEj.js +58 -0
- package/dist/assets/{StatusSwitcher-B4EYXc0F-sKbkMf6Z.js → StatusSwitcher-B9MARTyR-Cy7gefoh.js} +5 -5
- package/dist/assets/{SubTabSwitcher-CM9v4rRl-CV0RCxw7.js → SubTabSwitcher-C3rtSwro-3EHI5jeE.js} +3 -3
- package/dist/assets/{SummaryCard-CF9Nbk_i-Dp6twn4S.js → SummaryCard-CShVbqhj-DB5MFQk3.js} +1 -1
- package/dist/assets/TaskManagementPage-RVS8nv0n-tU9aogRh.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-37ytEy0X-DICNYyQp.js → TimeRangeSwitcher-DFnX6_WT-Bz52dN9I.js} +2 -2
- package/dist/assets/TimeframeSwitcher-CW08yYgo-DVEU43aK.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-CMIQ0MlZ.js +31 -0
- package/dist/assets/{TopExCard-DHDNaLww-D2oLfFZT.js → TopExCard-dI_WEGWb-DmX93RkK.js} +11 -11
- package/dist/assets/{TopExDetailPage-DFzrCiVG-D4NG8JTY.js → TopExDetailPage-BWy5E8Lp-C7PGN6Pe.js} +14 -14
- package/dist/assets/{TransactionActivityLogPage-DcbQgckT-nV4bmi0D.js → TransactionActivityLogPage-DjhEIUYm-BqAAyHkb.js} +23 -23
- package/dist/assets/TransactionDetailPage-CuxqQd8U-BRhGr870.js +903 -0
- package/dist/assets/{TransactionList-DVFUdewa-FBYrpiHH.js → TransactionList-80KjM8Kg-nmpf3GsN.js} +20 -20
- package/dist/assets/{TransactionListBig-Daypmugt-Bw41XJ1U.js → TransactionListBig-DWQXH4ID-gJO5FBwi.js} +20 -20
- package/dist/assets/TransactionListPage-DC08rCC9-DuuK7AK1.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-BsKafcmj-agHNsAP_.js → TransactionVendorDetailPage-CzfJ5b_3-DQ5FHW98.js} +16 -16
- package/dist/assets/{TransferDrawerPage-DyFcSYZt-BgZ4hMcv.js → TransferDrawerPage-6z-MoZZP-Cmyh1SPm.js} +35 -35
- package/dist/assets/{TreasuryOverviewPage-BPkFbqCZ-B2yzLJOT.js → TreasuryOverviewPage-CF_ter0o-BH_5I6Jt.js} +28 -28
- package/dist/assets/{TreasuryPromoPage-pEVzLiB4-BgXmxaHX.js → TreasuryPromoPage-Do-PTcjI-xAPlLXRG.js} +19 -19
- package/dist/assets/{TreasuryStatementsPage-izaxVrJg-hXLoMVEG.js → TreasuryStatementsPage-l_HC4zsb-K7pXAcjZ.js} +1 -1
- package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-QmzTN19X.js +58 -0
- package/dist/assets/{TrendChart--F9P_tcq-CNN4cy-H.js → TrendChart-C6B61CAm-B_B-BplL.js} +3 -3
- package/dist/assets/{TrendWithTransactions-B0R1TMMK-qnWq6pp9.js → TrendWithTransactions-Bp3vhaPa-JockHNv7.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CToVvQYm-BY7gFiXt.js → UncategorizedAccountsMappingPage-cbFqKAv4-MTw76BLV.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-DGmrRY2v-BUMmB0k9.js → UnitIntegrationPage-DZ0ZpE5p-CTZgGLL6.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-DmtqFwFy.js +38 -0
- package/dist/assets/Vendor2FAPopup-DezpDfp8-DyrWw3U0.js +1 -0
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-C5wvgZIc.js +1 -0
- package/dist/assets/{VendorDetailPage-DTQ-KiJz-CtIjOB5J.js → VendorDetailPage-C4g_Gfsl-BuQd-4-F.js} +90 -90
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-Bt4Tg6JP.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-z9q_fohc-WDGxh1y0.js → VendorFiling1099EditablePage-Ckt2MiVN-Cg5nnhxx.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-DDgaRz12.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-DR-BKbDb-DXyAnL2W.js → VendorInternationalWireDetailsPage-Dz8mMD8d-CqGgy0Nm.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Ca8TaPSl.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CWyBBs2G-BxXjMLte.js → VendorsAccountsSection-BT-RADSV-CA631Ry_.js} +3 -3
- package/dist/assets/{VerifyDevice-CG1Qj4Lm-BechSO2t.js → VerifyDevice-Cxc9CVMi-Db3MgQyP.js} +4 -4
- package/dist/assets/{VideoPlayer-BdIPlzSd-s2lXjjny.js → VideoPlayer-9UkKMhGy-Cg6ItP2B.js} +2 -2
- package/dist/assets/{VideoPopup-W2U47mhU-DJCIE9gC.js → VideoPopup-rfiYmtio-6YXU8HYY.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-D0aOjGDf-BCHT8jbw.js → WarningsDrawerPage-DrUA4asI-K-jCsmCl.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-DJyYOR4V-CCoqxbqL.js → ZeniAccountDetailPage-K016HgQt-OnaSURAZ.js} +13 -13
- package/dist/assets/{ZeniAccountListViewPage-BTOIvLCF-BOpHXOTR.js → ZeniAccountListViewPage-1oZZynB1-D25y94LI.js} +21 -21
- package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-CbYM8UHA.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DYxM2WNa-D-BoqGK5.js → ZeniAccountPromoPage-BCgys-YM-C1p6fJYe.js} +23 -23
- package/dist/assets/{ZeniAccountSetupPage-DUq-PiMf-JBX7mxH5.js → ZeniAccountSetupPage-BubBgkoa-DQgkTkoE.js} +3 -3
- package/dist/assets/{ZeniCopyright-Chrw_zb6-DLZXN0I-.js → ZeniCopyright-BxIwmms--B5a_nRJg.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CuZPJv1--BR7xYIli.js → ZeniTransferAmountSlider-DVJ0puXA-Cwv6Kq-B.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-DIo2CZIu.js → add-to-wallet-DgdBD8_G-DvTxkUd9.js} +1 -1
- package/dist/assets/{analytics-Cu6vrn8M.js → analytics-BLsUySon.js} +1 -1
- package/dist/assets/analyticsHelper-B6usOI4v.js +1 -0
- package/dist/assets/{analyticsHelper-BqOb8jb5-CPV99l38.js → analyticsHelper-CT5zOInj-D74VaN9I.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-kBdbhD1P.js → arrow-south-east-round-PEovUgvH-B8oQ40Hs.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DJEKOyyo.js → auto-transfer-rule-mbafm5D3-DHj1aaNg.js} +1 -1
- package/dist/assets/{chartTypes-kba3vib6-B2MR4DOq.js → chartTypes-Ddw_3-6f-DkCZUllf.js} +1 -1
- package/dist/assets/commonDimensions-ClmbdehE-DR4Uvnd8.js +1 -0
- package/dist/assets/{commonTypes-0d0JMX8y-C627GAKQ.js → commonTypes-B-foaEwJ-DVRX5AIJ.js} +1 -1
- package/dist/assets/{constants-CCigks3S.js → constants-HHaH0YWb.js} +1 -1
- package/dist/assets/{core-CBRgKovr.js → core-CTDonMeQ.js} +1 -1
- package/dist/assets/{dash.all.min-DhZ6hnTE.js → dash.all.min-Dj2yo7jC.js} +1 -1
- package/dist/assets/{detailCommon-ttGeF18U-D4qpemR4.js → detailCommon-Cpgf9GLg-CtGm6jLV.js} +4 -4
- package/dist/assets/downloadPdf-DfRYmfsd-DxcMbdS5.js +1 -0
- package/dist/assets/{empty-B2uWh3xi.js → empty-B8XqxOuZ.js} +1 -1
- package/dist/assets/{empty-CMQsz2kl.js → empty-DaBFZ939.js} +1 -1
- package/dist/assets/epic-CEzcY_0B.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-64yvQ1Zt.js → gift-box-Cmt9OgIZ-cqnWvVTs.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-ryfKOvP1.js → graphic-no-data-l-DU4J8fDt-D_lg6RW0.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-mzCnkzDU.js → graphic-no-data-net-burn-l-CzmycA0m-HJBTpevF.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BpuKh2M-.js → handshake-BPg58FML-BshKAJQk.js} +1 -1
- package/dist/assets/{helper-YFgDgQKT-ChTt6pIM.js → helper-DP3YY99s-BmrnBGWk.js} +2 -2
- package/dist/assets/{index-HtwnqlX_.js → index-BUad5I9U.js} +1 -1
- package/dist/assets/{index-cvOajwIa.js → index-BV5JdmRQ.js} +1 -1
- package/dist/assets/{index-41pcAh0S.js → index-B_LiHFQR.js} +1 -1
- package/dist/assets/{index-C96wZ1NP.js → index-CTpNMFsf.js} +1 -1
- package/dist/assets/{index-mpD8Wgjn.js → index-D3GS4S-j.js} +1 -1
- package/dist/assets/{index-k277eteh.js → index-KKEkjzf-.js} +1 -1
- package/dist/assets/{index-DkG4Gq_1.js → index-RSYdG57D.js} +4012 -4036
- package/dist/assets/{lexical-BgntzHWG.js → lexical-CMaEqdkY.js} +1 -1
- package/dist/assets/{liveblocks-CZpRcduP.js → liveblocks-BR4rmGyf.js} +1 -1
- package/dist/assets/{lottie-CvYZqvKo.js → lottie-CZNmnTyG.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-BG5FbkDp.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Co-aYc3j-CWY-DvOX.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DvN2rhw-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-BhCEqPJc.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-T7zKYS9n.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CATud2li-C6pZT3Hb.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-AhkmN2Ki.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-BngulPhC.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-shbs2rsi.js} +1 -1
- package/dist/assets/{mui-jyIGzSd8.js → mui-Bi6zxcZy.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Buq8V_y9.js → page-detail-CWX5S47F-CV7GOcsp.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-C5IVh2u2.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-DMPiIlAL.js → radio-default-CiSgisfh-eXI1n3TG.js} +1 -1
- package/dist/assets/{react-yv96-8fg.js → react-C52_Sjtt.js} +1 -1
- package/dist/assets/{react-lYk0NLUI.js → react-CgvFPXt7.js} +2 -2
- package/dist/assets/{react-ClOFhYh9.js → react-DUZwtObs.js} +1 -1
- package/dist/assets/{react-Gtsr3pXI.js → react-DhjESN1j.js} +3 -3
- package/dist/assets/{react-L5U6pseJ.js → react-DkrXHh1b.js} +1 -1
- package/dist/assets/{react-Cjxj0Nbo.js → react-DlxtP0O5.js} +1 -1
- package/dist/assets/{react-D3Tqpbl7.js → react-ShmrZj8p.js} +1 -1
- package/dist/assets/{react-ClorTrZ0.js → react-j7hSnnLx.js} +1 -1
- package/dist/assets/{recharts-CCz6EACy.js → recharts-B4xbIQqu.js} +1 -1
- package/dist/assets/{sentry-CkqzujGZ.js → sentry-D087_5zX.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-fm6EeKA_.js → shield-DOlUxcFf-CCEGxUtr.js} +1 -1
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B8yD1irx.js +1 -0
- package/dist/assets/{toChartData-CLrjl2HT-BXMfDgC_.js → toChartData-BEjMhb7--B1GasRGV.js} +1 -1
- package/dist/assets/{uploadAttachment-_EPHKVvJ-CmJE2Ng0.js → uploadAttachment-DUpHzqMe-Cc_EdWBC.js} +22 -22
- package/dist/assets/uploadReceipts-Dge0cNF1-B1feT8D_.js +1 -0
- package/dist/assets/{url-8k_1OLIS.js → url-Cf5olbUo.js} +1 -1
- package/dist/assets/{url-DFL85B9k.js → url-Ctqy5RJD.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BWF3kStl.js → useLongPress-GCK2COYQ-Dhr7C1Fb.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BK3NR8-I.js → usp-line-BBd1wKwW-D37A1NrK.js} +1 -1
- package/dist/assets/{utils-CvgqAgFT.js → utils-bkVcg2I6.js} +1 -1
- package/dist/assets/{zeni-epic-state-B9mN2lN3.js → zeni-epic-state-DnYFo_hK.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-DpLTXUS2-C9BOm7cP.js +0 -21
- package/dist/assets/AccountInfoPage-BfVVOaTL-DckjL0IP.js +0 -18
- package/dist/assets/AccountLockedInfoModal-BI8dkiAz-CFZAGVC8.js +0 -59
- package/dist/assets/AccountRow-nSloLUTN-CE3sEYfw.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-GDXK5rJA-C_ZtwjVR.js +0 -6
- package/dist/assets/ApAgingDetailPage-DLvP7G6Q-DDl3IQdp.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-BiL2dANi-C2o5sXxc.js +0 -47
- package/dist/assets/BillPayPromoPage-CszEgRZk-D0P3J_0s.js +0 -84
- package/dist/assets/BillingSettingsPage-9uV4vEJB-DguVozAn.js +0 -44
- package/dist/assets/ChargeCardPromoPage-Dk1xNNTk-miuUHSZp.js +0 -222
- package/dist/assets/ConfettiBurst-B2xVyUMV-DEL89JAQ.js +0 -1
- package/dist/assets/CurrencySelectField-DDmu3bja-BNO-O3TN.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-otS31I_n.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-CJDhi61--BHCIYbNK.js +0 -12
- package/dist/assets/EditPeoplePage-Dw9mMyyp-f1-9G5xl.js +0 -55
- package/dist/assets/EntityDetailPage-C2Ix5fwl-B8StnXXW.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BOOA30kB-N_-Pxify.js +0 -3001
- package/dist/assets/GlobalReviewListPage-DlBZ4OnM-C2fu2hFz.js +0 -291
- package/dist/assets/InsightsSection-CVioRrr2-CQNydDuX.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-8XEibbVK-6A8_MLCQ.js +0 -65
- package/dist/assets/InvitePeoplePage-DSg5Quam-Dq5nqgzJ.js +0 -12
- package/dist/assets/InvoiceUploadSection-D_uWzQW4-CbvqsKX2.js +0 -140
- package/dist/assets/LabeledControlledCheckBoxField-DVf8zpcv-CZ4IjMNU.js +0 -16
- package/dist/assets/LabeledDocumentField-CN-BH7Gq-BZP0wEAT.js +0 -41
- package/dist/assets/LinkJETransactionPage-DbA8sdwa-DBvkIuZ4.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-k34ybVrp-D_CHEFPJ.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9sI0Na-Hemtbz0E.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DI9_mzqN-C7vyw7mL.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-RG1qZ5Kj-U9QUUYso.js +0 -31
- package/dist/assets/MyPendingActivationChargeCardListPage-SRoiz1Qu-V5Slt0oR.js +0 -6
- package/dist/assets/MyProfileSettingsPage-D40mm3Me-AyTrlPtn.js +0 -85
- package/dist/assets/NavBarWithPicker-DuTo0ZPb-DapJT9Ay.js +0 -30
- package/dist/assets/NoDataChart-j3LPkJML-CpC66_KG.js +0 -26
- package/dist/assets/NotificationsListConfig-_L5Loigk-K1ardY_V.js +0 -1
- package/dist/assets/OpExByVendorPage-Br2UmBAk-BjXqMFds.js +0 -100
- package/dist/assets/PeoplePage-DSSY4CbY-CcD5g39L.js +0 -727
- package/dist/assets/QBOSetupSection-Dts3QjOd-DUY-_5aO.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Dz5HZk-8-DvJd2LPe.js +0 -32
- package/dist/assets/ReimbursementDetailPage-BdJYqqCn-NfEyGt7Z.js +0 -314
- package/dist/assets/ReimbursementPromoPage-B7nNFf49-DnICk_J7.js +0 -84
- package/dist/assets/RoleWithToolTip-DpaXFRka-CPtxy--W.js +0 -22
- package/dist/assets/SignIn-D6twztsA-JGZcDlNc.js +0 -491
- package/dist/assets/SignInScreen-B8u1w4-H.js +0 -1
- package/dist/assets/StatementItem-D1vvnzNl-CkkTq-kC.js +0 -31
- package/dist/assets/StatementsPage-XAVpAiKL-CscMPaCJ.js +0 -58
- package/dist/assets/TaskManagementPage-ChTC8Nzf-Br8fyRY0.js +0 -508
- package/dist/assets/TimeframeSwitcher-Ca28fZEt-CWlm5tlu.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-BSWY0nMa-V6kfYTtF.js +0 -31
- package/dist/assets/TransactionDetailPage-BCTtqHfm-CEK6Tla_.js +0 -903
- package/dist/assets/TransactionListPage-CzwkHzb_-C-bQA5UH.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-DIa79RKC-Dr9Za3Kr.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-B3JZwTBb-CY7cdGgp.js +0 -38
- package/dist/assets/Vendor2FAPopup-BRMPwclY-S8zya2uW.js +0 -1
- package/dist/assets/VendorACHDetailsPage-FgtLHn1A-5cfHGlFY.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-yy6bXxb9-BMTlrQlH.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DTOwONia-BcMjDFZM.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DK94_VqZ-Fv-KXlDn.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-vGgpCYIn-BV1hbgIJ.js +0 -14
- package/dist/assets/analyticsHelper-BLDhkF0s.js +0 -1
- package/dist/assets/commonDimensions-D0kIxeo5-kKnpvScR.js +0 -1
- package/dist/assets/downloadPdf-DX8GL4Ja-IWkEYZD_.js +0 -1
- package/dist/assets/epic-C1wbMD8F.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-DuIK129X-DInaQUjS.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-COaFWgJv-C2xmgSDc.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-330OiGav-Czke_85f.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-KwYH41Xf.js +0 -3
- package/dist/assets/toCOABalancesWithID-iCDy3BRW-njMoT7aW.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DeMVLI5_.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-Df05JrMP.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as W,
|
|
1
|
+
import{J as W,cK as F,ew as z,V as t,cP as B,y as x,aQ as I,p as u,u as s,o as i,eF as G,H as J,d as Q,F as K,eV as X,B as q,dm as A,cu as U,bJ as S,d0 as Y,dN as Z,b as V,bH as ee,x as le}from"./index-RSYdG57D.js";import{n as a}from"./mui-Bi6zxcZy.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]="70f2327b-43b6-458d-80f3-9c3f3466c3e4",e._sentryDebugIdIdentifier="sentry-dbid-70f2327b-43b6-458d-80f3-9c3f3466c3e4")}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=Q(),$=Se(e,m),C=K.getLocalizedStrings().dropDowns,O=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?P(r,m):void 0,R={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:`${C.createOption} "${l}"`})]}),T=l=>{const{menuIsOpen:p,isFocused:D,isDisabled:L,selectProps:H}=l,{value:N}=H;return t.jsx(se,{menuIsOpen:p,isFocused:D,isDisabled:L,selectedValue:N,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},M=l=>t.jsx($e,{children:t.jsxs(S.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(S.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(X,{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):`${C.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:T,Option:ae,Input:_,SingleValue:M,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:R,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(S.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(S.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"};
|
|
@@ -34,7 +34,7 @@ import{J as W,cL as z,ex as F,V as t,cQ as B,x,ab as I,p as u,u as s,o as i,eG a
|
|
|
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{J as W,cL as z,ex as F,V as t,cQ as B,x,ab as I,p as u,u as s,o as i,eG a
|
|
|
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{J as W,cL as z,ex as F,V as t,cQ as B,x,ab as I,p as u,u as s,o as i,eG a
|
|
|
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{J as W,cL as z,ex as F,V as t,cQ as B,x,ab as I,p as u,u as s,o as i,eG a
|
|
|
153
153
|
justify-content: inherit;
|
|
154
154
|
align-items: center;
|
|
155
155
|
width: 100%;
|
|
156
|
-
`,ve=()=>null,Ie=()=>null,je=()=>null,Se=(e,r)=>e.map(o=>
|
|
156
|
+
`,ve=()=>null,Ie=()=>null,je=()=>null,Se=(e,r)=>e.map(o=>P(o,r)),P=(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:w,isOptionRemovable:b,tagProperties:m,onSelectChange:f,getLabelForId:j})=>{const{control:c,formState:{errors:y}}=F(),$=z(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:C,onChange:O}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{f?.(v??""),O({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:C.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])},Oe={infoLabel:new J("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=W(),{formState:{errors:y}}=F(),$=z(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(Ce,{...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(k,{size:c,additionalInfoTextColor:m,children:d}),$&&t.jsx(k,{size:c,hasError:$,children:h})]})]})}const De=a.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: row;
|
|
159
159
|
align-items: flex-start;
|
|
@@ -189,7 +189,7 @@ import{J as W,cL as z,ex as F,V as t,cQ as B,x,ab as I,p as u,u as s,o as i,eG a
|
|
|
189
189
|
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.hasError===!0?u.importantLight:e.theme.colors.background};
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
`,
|
|
192
|
+
`,Le=a.div`
|
|
193
193
|
display: flex;
|
|
194
194
|
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
195
195
|
justify-content: flex-end;
|
|
@@ -199,10 +199,10 @@ import{J as W,cL as z,ex as F,V as t,cQ as B,x,ab as I,p as u,u as s,o as i,eG a
|
|
|
199
199
|
.creatable-single-select-field__menu {
|
|
200
200
|
margin-top: ${i.sp1} !important;
|
|
201
201
|
}
|
|
202
|
-
`,
|
|
202
|
+
`,k=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
205
|
${e=>`${Oe.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 C,cK as j,ew as g,V as r,cP as U,y as a,eW as k,F as N,aQ as O,u as i,o,p as _,H as A}from"./index-RSYdG57D.js";import{n}from"./mui-Bi6zxcZy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="9dabab09-f7d4-4494-945e-25498825d695",e._sentryDebugIdIdentifier="sentry-dbid-9dabab09-f7d4-4494-945e-25498825d695")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},J={infoLabel:new A("extraSmallRegular","smallRegular")};function Q({label:e,isDisabled:l,isOptional:p,style:u,file:h,name:d,registerOptions:f,additionalInfoLabel:c,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:D=!1,placeholderText:E,showPhotoPicker:S,useMobileCam:v,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:L,onDeleteFile:B,onEditFileName:M,onFileSizeError:R}){const s=C(),{formState:{errors:m}}=j(),b=g(m,d),W=g(m,`${d}.fileName`);return r.jsxs(V,{size:s,style:u,isDisabled:l!=null,"data-testid":O("document-field",d),children:[r.jsx(U,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(s),marginRight:t.labelMarginRight.value(s),marginTop:t.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(H,{labelWidth:e.width,size:s,children:[r.jsx(k,{name:d,filesEndPoint:P,authParams:F,registerOptions:f,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:D,updateFilesEntity:L,onFileSizeError:R,onDeleteFile:B,onEditFileName:M,placeholderText:E,showPhotoPicker:S,useMobileCam:v,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),b&&r.jsx(K,{size:s,isError:b,children:W&&h!=null?N.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=>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
|
+
`,H=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
|
+
`,K=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{Q as Y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as C,
|
|
1
|
+
import{J as C,d as T,cK as g,ew as R,V as r,o,eF as H,bS as _,b as F,gj as J,p as s,H as M,bH as P}from"./index-RSYdG57D.js";import{n as i}from"./mui-Bi6zxcZy.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]="b937d04b-be34-4186-bdfe-5e1716f432f3",e._sentryDebugIdIdentifier="sentry-dbid-b937d04b-be34-4186-bdfe-5e1716f432f3")}catch{}})();const A={infoLabel:new M("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:a,formattedText:t,dropdownStyle:h,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:j,name:v,placeholderLabel:S}){const n=C(),b=T(),{formState:{errors:E}}=g(),c=R(E,t.name),{control:I}=g(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(K,{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(W,{style:{width:"auto",...h},children:r.jsx(H,{name:v,control:I,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:V}})=>r.jsx(_,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{V(u)},menuPlacement:j,titleTextStyle:F.standardRegular,titleColor:b.colors.hero,valueOpacity:1,backgroundColor:b.colors.grey5,placeholder:S})})})}),r.jsxs(O,{children:[r.jsx(J,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(f,{size:n,isError:c||d,children:[x===!0?r.jsx(U,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(f,{size:n,isError:!0,children:D})]})]})}const K=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -33,12 +33,12 @@ import{J as C,y as T,cL as g,ex as R,V as r,o,eG as _,bS as H,w as J,gk as M,p a
|
|
|
33
33
|
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?s.importantLight:e.theme.colors.background};
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
`,
|
|
36
|
+
`,O=i.div`
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
39
39
|
align-items: flex-end;
|
|
40
40
|
flex-grow: 1;
|
|
41
|
-
`,
|
|
41
|
+
`,f=i.label`
|
|
42
42
|
display: flex;
|
|
43
43
|
color: ${e=>e.isError?s.important:e.theme.colors.grey1};
|
|
44
44
|
${e=>`${A.infoLabel.style(e.size)}`};
|
|
@@ -52,7 +52,7 @@ import{J as C,y as T,cL as g,ex as R,V as r,o,eG as _,bS as H,w as J,gk as M,p 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"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as
|
|
1
|
+
import{J as p,V as d,cP as f,y as l,aQ as g,u as t,o as a,al as u,H as c}from"./index-RSYdG57D.js";import{n as r}from"./mui-Bi6zxcZy.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]="7de8beb6-df2d-4ba3-b006-161aea19c168",e._sentryDebugIdIdentifier="sentry-dbid-7de8beb6-df2d-4ba3-b006-161aea19c168")}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 T({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(f,{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
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -16,7 +16,7 @@ import{J as f,V as o,cQ as p,x as l,ab as g,u as t,o as a,am as u,z as c}from"./
|
|
|
16
16
|
border-bottom-left-radius: inherit;
|
|
17
17
|
border-bottom-right-radius: inherit;
|
|
18
18
|
}
|
|
19
|
-
`,w=
|
|
19
|
+
`,w=r(u)`
|
|
20
20
|
display: flex;
|
|
21
21
|
border-width: ${a.sp0};
|
|
22
22
|
outline-width: ${a.sp0};
|
|
@@ -29,14 +29,14 @@ import{J as f,V as o,cQ as p,x as l,ab as g,u as t,o as a,am as u,z as c}from"./
|
|
|
29
29
|
justify-content: flex-end;
|
|
30
30
|
margin-top: ${a.sp2};
|
|
31
31
|
margin-bottom: ${a.sp2};
|
|
32
|
-
`,x=
|
|
32
|
+
`,x=r.label`
|
|
33
33
|
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"100%"};
|
|
34
|
-
`,$=
|
|
34
|
+
`,$=r.label`
|
|
35
35
|
width: 100%;
|
|
36
36
|
display: flex;
|
|
37
37
|
justify-content: flex-end;
|
|
38
38
|
color: ${e=>e.theme.colors.hero};
|
|
39
|
-
${e=>`${
|
|
39
|
+
${e=>`${y.infoLabel.style(e.size)}`};
|
|
40
40
|
padding-right: ${a.sp3};
|
|
41
41
|
text-align: right;
|
|
42
42
|
`;export{T as S};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as U,V as l,
|
|
1
|
+
import{J as U,V as l,cP as me,o as s,y as I,aQ as B,u as m,cK as K,eF as ge,ew as be,d as fe,g2 as xe,F,H as we,bJ as W,g3 as Z,ap as _,g4 as J,bH as Y,p as E,b as G,al as X,g5 as $e,am as ye,ai as ve}from"./index-RSYdG57D.js";import{n as r}from"./mui-Bi6zxcZy.js";import{T as je}from"./RoleWithToolTip-DhBFvJea-D5V_Zl_5.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]="19edb802-86d8-41fd-91c3-8cf73ba751b6",e._sentryDebugIdIdentifier="sentry-dbid-19edb802-86d8-41fd-91c3-8cf73ba751b6")}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,12 +34,12 @@ import{J as U,V as l,cQ as me,o as s,x as I,ab as Y,u as m,cL as Z,eG as ge,ex 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%;
|
|
@@ -52,10 +52,10 @@ import{J as U,V as l,cQ as me,o as s,x as I,ab as Y,u as m,cL as Z,eG as ge,ex a
|
|
|
52
52
|
align-items: center;
|
|
53
53
|
gap: ${s.sp2};
|
|
54
54
|
height: 100%;
|
|
55
|
-
`,
|
|
55
|
+
`,Pe=r(M)`
|
|
56
56
|
flex-direction: column;
|
|
57
57
|
gap: ${s.sp0};
|
|
58
|
-
`,
|
|
58
|
+
`,Ve=r.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
align-items: center;
|
|
61
61
|
height: ${s.sp6};
|
|
@@ -96,7 +96,7 @@ import{J as U,V as l,cQ as me,o as s,x as I,ab as Y,u as m,cL as Z,eG as ge,ex a
|
|
|
96
96
|
overflow: hidden;
|
|
97
97
|
text-overflow: ellipsis;
|
|
98
98
|
white-space: nowrap;
|
|
99
|
-
`,
|
|
99
|
+
`,Q=r.div``,Ne=r.div`
|
|
100
100
|
width: 100%;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
102
102
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -133,7 +133,7 @@ import{J as U,V as l,cQ as me,o as s,x as I,ab as Y,u as m,cL as Z,eG as ge,ex a
|
|
|
133
133
|
border-radius: ${s.sp0};
|
|
134
134
|
margin: ${s.sp0};
|
|
135
135
|
color: ${e=>e.theme.colors.primary};
|
|
136
|
-
${
|
|
136
|
+
${G.standardRegular.css};
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
overflow: hidden;
|
|
139
139
|
text-overflow: ellipsis;
|
|
@@ -145,7 +145,7 @@ import{J as U,V as l,cQ as me,o as s,x as I,ab as Y,u as m,cL as Z,eG as ge,ex a
|
|
|
145
145
|
display: flex;
|
|
146
146
|
width: ${e=>e.menuIsOpen===!1?s.sp0:"100%"};
|
|
147
147
|
position: ${e=>e.isFocused===!1&&e.selectedValue==null?"initial":"absolute"};
|
|
148
|
-
${
|
|
148
|
+
${G.standardRegular.css};
|
|
149
149
|
color: ${e=>e.theme.colors.primary};
|
|
150
150
|
margin: ${s.sp0};
|
|
151
151
|
cursor: inherit;
|
|
@@ -168,11 +168,11 @@ import{J as U,V as l,cQ as me,o as s,x as I,ab as Y,u as m,cL as Z,eG as ge,ex a
|
|
|
168
168
|
width: ${e=>e.windowSize==="small"?"max-content":"100%"};
|
|
169
169
|
display: flex;
|
|
170
170
|
flex-direction: column;
|
|
171
|
-
`,Me=r(
|
|
171
|
+
`,Me=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,16 +180,16 @@ import{J as U,V as l,cQ as me,o as s,x as I,ab as Y,u as m,cL as Z,eG as ge,ex a
|
|
|
180
180
|
border-radius: ${s.sp1};
|
|
181
181
|
margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
|
|
182
182
|
width: fit-content;
|
|
183
|
-
`;function He({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:b,optionStyles:
|
|
183
|
+
`;function He({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:b,optionStyles:T,isValuePlacedAtEnd:D=!0,isDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:V=!1}){const{formState:{errors:k}}=K(),L=be(k,j??""),c=U(),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(Fe,{menuIsOpen:i,isError:L,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Re,{hasSelectedUser:a===t.value,children:[l.jsxs(Ee,{children:[l.jsx(Me,{}),l.jsx(Q,{children:l.jsx(R,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(Y,{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(M,{children:[S||C?l.jsx(Z,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(ke,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],f=x(n.value);return l.jsxs(Pe,{children:[l.jsxs(Ve,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(J,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(R,{children:i})]}),S?l.jsx(H,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},H=({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),f=e[p],y=x(i.value);return l.jsxs(De,{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:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(J,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Q,{children:[l.jsx(R,{children:t.label}),l.jsx(H,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(Y,{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:V,children:l.jsx(W.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(W.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{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(xe,{placeholder:g??F.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:b,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:P,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const We={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:b,isDisabled:T,additionalLabelInfo:D,isOptionDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:V}=K(),k=U();return l.jsx(ge,{name:e,control:V,defaultValue:g,rules:o,render:({field:{value:L,onChange:c}})=>l.jsxs(Je,{width:w?.width,"data-testid":B("user-single-select",e),children:[l.jsx(He,{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:b,isDisabled:T,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Ye,{size:k,children:D})]})})},Je=r.div`
|
|
184
184
|
display: flex;
|
|
185
185
|
flex-direction: column;
|
|
186
186
|
width: ${e=>e.width!=null?e.width:"auto"};
|
|
187
|
-
`,
|
|
187
|
+
`,Ye=r.label`
|
|
188
188
|
color: ${e=>e.theme.colors.hero};
|
|
189
|
-
${e=>`${
|
|
189
|
+
${e=>`${We.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 Ke({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const b=U();return l.jsxs(Ge,{size:b,style:g,isDisabled:e!=null,opacity:j,"data-testid":B("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:N.labelMarginLeft.value(b),marginRight:N.labelMarginRight.value(b),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(_e,{...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,cQ as me,o as s,x as I,ab as Y,u as m,cL as Z,eG as ge,ex a
|
|
|
226
226
|
background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
`;export{
|
|
229
|
+
`;export{Ke as Y};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{J as
|
|
1
|
+
import{J as M,V as l,cP as K,y as m,o,aQ as H,u as n,cK as E,eF as q,ew as G,d as Q,b as L,bI as ie,F as te,f$ as se,g6 as ae,aK as ne,b2 as de,bJ as B,bb as ce,bH as pe,cD as ue,p as k,g7 as U,cj as X,i as he,ai as Y,al as ge,am as me,fN as be,fM as fe,bx as xe,fO as ye,bj as we,g8 as ve}from"./index-RSYdG57D.js";import{n as d,c as $e}from"./mui-Bi6zxcZy.js";import{a as C}from"./sentry-D087_5zX.js";import{FK as W,FL as Re}from"./zeni-epic-state-DnYFo_hK.js";import{T as je}from"./RoleWithToolTip-DhBFvJea-D5V_Zl_5.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]="490f4333-cdf2-4430-adce-001c6d24ca04",e._sentryDebugIdIdentifier="sentry-dbid-490f4333-cdf2-4430-adce-001c6d24ca04")}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 {
|
|
@@ -11,7 +11,7 @@ import{J as V,V as l,cQ as Z,x as m,o,ab as H,u as n,cL as E,eG as q,ex as K,y a
|
|
|
11
11
|
${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
`,
|
|
14
|
+
`,De=d.div`
|
|
15
15
|
display: flex;
|
|
16
16
|
flex-direction: row;
|
|
17
17
|
&:hover {
|
|
@@ -20,22 +20,22 @@ import{J as V,V as l,cQ as Z,x as m,o,ab as H,u as n,cL as E,eG as q,ex as K,y a
|
|
|
20
20
|
${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
21
21
|
}
|
|
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=M(),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(De,{"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))})},V={allRolesMarginLeftRight:new m(n[3],n[4])},ke=d.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
color: ${e=>e.theme.colors.hero};
|
|
29
|
-
margin-right: ${e=>
|
|
30
|
-
margin-left: ${e=>
|
|
29
|
+
margin-right: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
30
|
+
margin-left: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
31
31
|
&:hover {
|
|
32
32
|
color: ${e=>e.theme.colors.primary};
|
|
33
33
|
}
|
|
34
|
-
`,
|
|
34
|
+
`,Pe=d.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
width: 100%;
|
|
38
|
-
`,
|
|
38
|
+
`,ze=d.div`
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
padding-left: ${o.sp4};
|
|
@@ -54,7 +54,7 @@ import{J as V,V as l,cQ as Z,x as m,o,ab as H,u as n,cL as E,eG as q,ex as K,y a
|
|
|
54
54
|
`,Te=d(X)`
|
|
55
55
|
display: flex;
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
57
|
-
`,
|
|
57
|
+
`,Z=d(Y)`
|
|
58
58
|
display: flex;
|
|
59
59
|
color: ${e=>e.theme.colors.hero};
|
|
60
60
|
`,Be=d.div`
|
|
@@ -84,7 +84,7 @@ import{J as V,V as l,cQ as Z,x as m,o,ab as H,u as n,cL as E,eG as q,ex as K,y a
|
|
|
84
84
|
border-color: ${e=>e.theme.colors.primary};
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
`,
|
|
87
|
+
`,Me=d.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-direction: column;
|
|
90
90
|
`,Ie=d(X)`
|
|
@@ -92,7 +92,7 @@ import{J as V,V as l,cQ as Z,x as m,o,ab as H,u as n,cL as E,eG as q,ex as K,y a
|
|
|
92
92
|
`,Le=d(Y)`
|
|
93
93
|
display: flex;
|
|
94
94
|
margin-bottom: ${o.sp1};
|
|
95
|
-
`,
|
|
95
|
+
`,Ve=d(me)`
|
|
96
96
|
display: flex;
|
|
97
97
|
padding: 1px 6px 1px 6px;
|
|
98
98
|
border: 1px solid;
|
|
@@ -101,7 +101,7 @@ import{J as V,V as l,cQ as Z,x as m,o,ab as H,u as n,cL as E,eG as q,ex as K,y a
|
|
|
101
101
|
`,Ee=d.div`
|
|
102
102
|
display: flex;
|
|
103
103
|
flex-direction: row;
|
|
104
|
-
`,_e=d.div``,
|
|
104
|
+
`,_e=d.div``,Fe=d.div`
|
|
105
105
|
display: flex;
|
|
106
106
|
flex-direction: column;
|
|
107
107
|
padding-left: ${o.sp3};
|
|
@@ -109,7 +109,7 @@ import{J as V,V as l,cQ as Z,x as m,o,ab as H,u as n,cL as E,eG as q,ex as K,y a
|
|
|
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};
|
|
@@ -117,25 +117,25 @@ import{J as V,V as l,cQ as Z,x as m,o,ab as H,u as n,cL as E,eG as q,ex as K,y a
|
|
|
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};
|
|
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
|
+
`,Je=d.div`
|
|
133
133
|
display: flex;
|
|
134
134
|
flex-direction: column;
|
|
135
|
-
margin-right: ${e=>
|
|
136
|
-
margin-left: ${e=>
|
|
135
|
+
margin-right: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
136
|
+
margin-left: ${e=>V.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
137
137
|
color: ${e=>e.theme.mode==="light"?k.brandColorOnyx:k.brandColorPearl};
|
|
138
|
-
`,
|
|
138
|
+
`,Ke=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});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(Ze,{});default:return null}},qe=e=>l.jsxs(Me,{children:[l.jsx(Ie,{className:"roleTitle",children:U[e].label}),l.jsx(Le,{className:"roleSubTitle",children:U[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:U[e].roleSuitableFor})]}),Ge=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=E(),a=G(p,`${e}.userRole.selectedRole`),f=M(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=C.useCallback(h=>{const t=se([h]),D=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(z=>z.productType===D),I=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:I?void 0:v[R].options.filter(z=>z.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,P=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Je,{windowSize:f,children:l.jsx(je,{roles:u})}):l.jsx(Pe,{children:x.map(h=>l.jsxs(ke,{windowSize:f,children:[l.jsx(Be,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:qe(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(ze,{windowSize:f,isCollapsed:P(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&&Ke(t.productType)}),l.jsxs(Fe,{children:[l.jsx(Te,{children:t.label}),f==="small"?l.jsx(A,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b}):null,l.jsx(Z,{children:t.subTitleUser}),l.jsx(Z,{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(q,{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 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=M();return l.jsxs(Xe,{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(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 V,V as l,cQ as Z,x as m,o,ab as H,u as n,cL as E,eG as q,ex as K,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]=
|
|
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:P}}=E(),h=G(P,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(),D=M(),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=L.smallRegular.cssObject,_=I,z=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:z?"wrap":"nowrap",width:D==="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,...L.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:D==="small"?"230px":"100%",right:D==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:D==="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,F=J(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:F,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:J(!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:z||!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(B.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:F}=w;return l.jsx(po,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:F,isError:h,isValuePlacedAtEnd:y,windowSize:D,children:l.jsx(B.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(B.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},oo=()=>null,J=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?k.important:c.colors.hero,lo=()=>null,ro=()=>null,io=()=>null,to=({children:e,data:s,...i})=>l.jsx(B.MultiValueLabel,{...i,children:l.jsxs(ao,{children:[e,l.jsx(co,{className:"seperator",children:","})]})}),so=({children:e,...s})=>l.jsx(B.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 V,V as l,cQ as Z,x as m,o,ab as H,u as n,cL as E,eG as q,ex as K,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};
|
|
@@ -258,7 +258,7 @@ import{J as V,V as l,cQ as Z,x as m,o,ab as H,u as n,cL as E,eG as q,ex as K,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(q,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ye,{onSelectionChanged:
|
|
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(q,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Ye,{onSelectionChanged:P=>{x({allOptions:c.allOptions,selectedOptions:P}),$?.(P)},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=M();return l.jsxs(ho,{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(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;
|