@zeniai/web-cockpit-ui 1.13.84-qa → 1.13.85-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-Bya_wRcI-D24AQL3_.js → ACHDetailsPage-CRqyoYEz-xYrGFNnE.js} +3 -3
- package/dist/assets/{AIPerformancePage-Bc2kKHSK-vnI3KLwi.js → AIPerformancePage-DAkvkXSA-CGVKmjkJ.js} +24 -24
- package/dist/assets/AccountInfoPage-6EVpo7mW-aLkrvciq.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BhU-TVmh-C-UpNXF8.js → AccountInfoPageContent-BWZbyIYz-Q8Byt1d2.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-Dp2R5isq-6LbQVUfj.js → AccountReconDetailsDrawerPage-DLd_igXD-BoD_5Mp7.js} +18 -18
- package/dist/assets/AccountRow-D4iz2vCr-FZzwmYfW.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DYUyO-ip-Afoar8fj.js → AccountsPromoCardStack-DIly1lFF-BymCGDNy.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-CNSnxc8q-CfZsmSuQ.js → AddAddressForCardDrawer-C90j4Cwr-BKCwJ7c4.js} +1 -1
- package/dist/assets/{AddToWalletPage-Q8uWTckm-C9vK1iqP.js → AddToWalletPage-Bo2KesYz-Cz9shvNb.js} +30 -30
- package/dist/assets/{AgingReportsPage-B-DOb7my-WwOH5_Yn.js → AgingReportsPage-DuoKsSkU-D9JwO5kE.js} +4 -4
- package/dist/assets/{AllUserItems-B86Y2Fmg-DwBM7tfH.js → AllUserItems-C0U1Brjm-bMWZMmau.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-CMYJgTzS-C2HHMQbl.js → ApAgingDetailPage-dNwAZULr-Bgfeeq5D.js} +3 -3
- package/dist/assets/{AppBasePage-DJO-V2ox-C-oIOb39.js → AppBasePage-CfkaWEbJ-DV03x5l2.js} +4 -4
- package/dist/assets/{AppDrawerContent-5_QaBLwS-picTHWhb.js → AppDrawerContent-DlHQEgOZ-CwVua6gS.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-CPbVQ97S-C7Jihchv.js → ApprovalRulesSettingsPage-Pl7HoLmk-7CPgqfk2.js} +6 -6
- package/dist/assets/{ArAgingChart-l020Rk_S-DFeuvhU_.js → ArAgingChart-xI9TRvfS-B-FSsHVj.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-BeUPeHBJ-BkRCdWjT.js → ArAgingDetailPage-BMGCnP5d-Ia6ZCwAD.js} +2 -2
- package/dist/assets/{AttachmentView-Afp_U4fV-8-c7IhJe.js → AttachmentView-C8AgUAnY-CXbbCi9n.js} +8 -8
- package/dist/assets/{BankAccountSection-CNQgxgSJ-Bj0DaA_J.js → BankAccountSection-DB4PEf_X-BThY20p4.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-V0HHzW57-vrqdtD7y.js → BankAccountWarningSection-BNO8Gl59-Cj0YvVYP.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Bk8K0xUn-CeZc6fuw.js → BankConnectionsSettingsPage-BOreBo5b-ClbcS0AA.js} +22 -22
- package/dist/assets/{BillDetailPage-D9d6X0o4-DnbAMdeA.js → BillDetailPage-Bv86SywV-OjQAhExV.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-CSVTc5Mn-zEJJLZMO.js → BillPayApprovalRuleDetailPage-CDXxmD-3-CPsk0oK8.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-DIOOCVKH-ec-IeSJ_.js → BillPayApprovalRulesPage-Ci5Ok7Zj-tof82RhM.js} +3 -3
- package/dist/assets/{BillPayPromoPage-C44YKAlE-CZ8TnOy7.js → BillPayPromoPage-Co2j2krO-DmiPp1nW.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-erTIfKkS-B8D6nffd.js → BillPaySetUpPage-DjpCUZaT-BN2J-t4G.js} +2 -2
- package/dist/assets/BillingSettingsPage-CAs7DZQz-CqK9Ho86.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-BurxqQ7q.js +1 -0
- package/dist/assets/{BoxItem-UFBGpfBB-Hna_3gSj.js → BoxItem-BqLhtWoJ-N1dze3h9.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Cl7jz1DF-P_BUnpPu.js → BusinessVerificationPage-CZGOzc9Z-fjFONiSD.js} +8 -8
- package/dist/assets/{CardNumberSubText-DyFZudV_-B0AxiMNx.js → CardNumberSubText-23sLjCVt-BzieyTnf.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D0_YW2Dy-CJHMwowQ.js → CashbackDetailPage-DY0n94jz-BUYqnV34.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-YkvyvIEk-C3d7vBC0.js → ChargeCardDetailPage-NWTPnGtM-D2U2Irky.js} +58 -58
- package/dist/assets/{ChargeCardListPage-4vg8Q6bl-Btxhg5jy.js → ChargeCardListPage-D42dfnET-QGICTWTK.js} +35 -35
- package/dist/assets/{ChargeCardListTable-Dl-rblE6-D5iGQu5n.js → ChargeCardListTable-B7uRDVzb-T3KA1SlK.js} +25 -25
- package/dist/assets/ChargeCardPromoPage-CXiXee-8-DqF9CwRb.js +190 -0
- package/dist/assets/{ChargeCardSetupPage-BSiJnRP_-y1F_pjxz.js → ChargeCardSetupPage-Ccc8PoCm-BSIg4VNL.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-NkfA1SYG-kW4Au9ab.js → ChargeCardStatementsPage-JEslDm3r-C_RfZvQ8.js} +4 -4
- package/dist/assets/{ChargeCardUtils-CLpd-HDH-dMJ2Q_93.js → ChargeCardUtils-B3JEziD7-CwQE9qIG.js} +1 -1
- package/dist/assets/{ChaseOverlay-B1cuawle-CSkF_51t.js → ChaseOverlay-KLet3F9X-BJh9nem5.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-JYHyo9Hw-BwsvgZ74.js +206 -0
- package/dist/assets/{CollapsableReportTable-iMD5xyGN-DxpM_9bu.js → CollapsableReportTable-DshWn4Fc-1Ky5jq0N.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-BA7etm2I-DTt9FR5w.js → CompanyOfficerDetailsSection-DWqEolPc-C_ETEVFs.js} +26 -26
- package/dist/assets/{CompanyPassportCard-Dks4EQDN-B0Dzj-Sj.js → CompanyPassportCard-fyolEQTs-BpIPYjUj.js} +2 -2
- package/dist/assets/{CompanyPassportPage-Denliwgg-BRN9vOeB.js → CompanyPassportPage-CrgsRRVr-WqqSGX_w.js} +140 -140
- package/dist/assets/{CompleteProfile-CCLq4pNY-CtKBUzOW.js → CompleteProfile-D_zq0Bxi-Bi1YeUNU.js} +10 -10
- package/dist/assets/ConfettiBurst-CZuMHGP8-BTcuXQPa.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-BFejWQMx-C7NqnKds.js → CreateOrEditVendorPage-Ct4Kfowi-Drrod2cP.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-B7Sesq_n-DvfL88dh.js → CreditCardPaymentDrawerPage-Cpu-7pGN-z0mDR9Zy.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-D5CNl0oa-DiWqHLoj.js → CreditCardPaymentPlgSection-DoMaCnIZ-BpT8OJXl.js} +10 -10
- package/dist/assets/{CurrencySelectField-DYvc6rwt-DrMXyXgk.js → CurrencySelectField-CCOtXLC7-DmgJhn-v.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-oUiw--hv-uDxfiRoM.js → CustomerOnboardingActivationPage-Cgzif1ji-CPNUkRDw.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-DwYZZ9jR.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BaDpU--M-Dr2X5vzk.js → CustomerOnboardingDetailPageSkeleton-BOMwRZEO-PNOXFbTm.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-C_cxcuWE-BQPyN4r3.js → CustomerOnboardingNoStepsPage-DDloVGvk-EFD3k0Z1.js} +8 -8
- package/dist/assets/CustomerOnboardingPage-DHji4ZmF-vPwCgWM6.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DEqdhh-2-DNDa-YZB.js → CustomerOnboardingProductSuitePage-BA3GAX42-usBGW0iL.js} +4 -4
- package/dist/assets/Dashboard-Cr5ugENA-_ss7RgaI.js +1251 -0
- package/dist/assets/{DashboardReportPage-Tq4KsQuw-C0NFJvrJ.js → DashboardReportPage-paPVk_v2-7626om2P.js} +67 -67
- package/dist/assets/{DepositAccTransactionItem-DWhVL-kH-HToIlcYx.js → DepositAccTransactionItem-BXRfgUfE-Bcw5EG9I.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-BiaZBvV4-Eo8UgPbX.js → DepositAccTransactionListPage--7TRlqKj-zqnHB4vQ.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-eGDvEOvr-Dfhgnjgy.js → DocumentSecurityBanner-B0Qt1FLC-BKK2GBle.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-RoRpMC50-Dx8FlvWR.js +21 -0
- package/dist/assets/{DownloadOverlay-C0vGOFIR-CLlCJb4E.js → DownloadOverlay-Cl_EXjiu-_W4-6wVr.js} +20 -20
- package/dist/assets/{DrawerPage-keu-rP1c-BE2Fh2qJ.js → DrawerPage-wXwAaYEB-ClkK54Ag.js} +8 -8
- package/dist/assets/EditPeoplePage-xDL6VA_r-DBIETQHy.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-jqf5akyj-a9iq4xwG.js → EditReimbursementDetailPage-BUpJPJNu-BuRQj9KF.js} +74 -74
- package/dist/assets/{EntityDetailPage-D0mZIEcR-Rg_90ffL.js → EntityDetailPage-BNXqSwVL-BtqM-DEW.js} +2 -2
- package/dist/assets/{EntitySummarySection-bL2stKO1-CambP6kY.js → EntitySummarySection-MZ57i-bY-H7IGJvB2.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-Cm00uGHv-BucC69E3.js → ExpenseAutomationOverviewPage-Y3IHs4dG-BCr8LQIN.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-BA8sRxM--BvNgZY1Q.js → ExpenseAutomationPage-C0hvPLo7-CxYhLUjG.js} +84 -84
- package/dist/assets/{ExpressPayPage-DRNbLpuL-BTcYYJnP.js → ExpressPayPage-Bncb54-Q-m2KDux54.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-CeeAOF5C-DHX56uCl.js → FeaturePreviewPage-BnGBEF9H-DIdV1EEF.js} +2 -2
- package/dist/assets/{FollowStepsSection-DuElPK3y-dhjgL0Nu.js → FollowStepsSection-laCvnETV-BKhPlVRt.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-DfjZMTms-DrRjYv7e.js → GlobalReviewListPage-CskEuHc5-BvuvkrWm.js} +10 -10
- package/dist/assets/HelpButton-D5ZYyQMh-D3OqqJNA.js +28 -0
- package/dist/assets/{InformationCardStack-CmquAm7A-Bio4HHzL.js → InformationCardStack-BFJqdH9n-Cbvb8Zyt.js} +5 -5
- package/dist/assets/{InsightsCardStack-D5ahtQWr-B_JxN54j.js → InsightsCardStack-CcoMWMiA-BcmYr1H8.js} +9 -9
- package/dist/assets/{InsightsSection-xgqf4arB-CemPO1xM.js → InsightsSection-D9PiJagu-DOwHVFks.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-Cl6dfKQL-WHKkc-0x.js → IntegrationsSettingsPage-CVmDobJ8-CKVB31Cy.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-D_jWoFli-CGo3Glkw.js → InternationalWireSwiftDetailsPage-DqW88v9N-H1bFtbsa.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-it1U4OPj-CAqG3vli.js → InternationalWireVerificationPage-X90z_30k-xPYg__QG.js} +17 -17
- package/dist/assets/{InviteFormPage-DTMy8xZk-2GrL0qjS.js → InviteFormPage-BK-PRmeH-BAomtB1K.js} +23 -23
- package/dist/assets/{InvitePageListView-X7W1jRxY-DLLNNo8k.js → InvitePageListView-6-iCc4BK-DiUJrTMB.js} +31 -31
- package/dist/assets/InvitePeoplePage-C9AwNqIx-U6OqJmP1.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BhCDvIPX-e244hYqN.js → InvoiceUploadSection-D5aF4auL-D8CZg2Vk.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-CqE8lMsX-CQoXeSdg.js → IssueChargeCardPage-C_xt7hKZ-CgCvIFoE.js} +22 -22
- package/dist/assets/{LabeledAddressValue-CCEVX0ke-Dr-Y2rNd.js → LabeledAddressValue-DpSK0MqC-D58RjKgD.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-B9iirKZj-B-lkILdh.js → LabeledAddressValueField-_LY7c-ZC-EdJfII0E.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-Bl3-Zao6-CHB8td0R.js → LabeledControlledCheckBoxField-FB40Z8J7-CUjOIHO8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-v86g-OZd-NNxB-j11.js → LabeledCreatableSingleSelectField-paSeI8_R-COJp3Y9m.js} +7 -7
- package/dist/assets/LabeledDocumentField-DiMgPKtR-DDw2gK-2.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-DsjpTL6X-BQHdfd5e.js +59 -0
- package/dist/assets/{LabeledText-D9feJraX-o9BoQjAH.js → LabeledText-CyXj8QWV-DunmbzZf.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BKNBvO_C-BxGzxKzb.js → LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-oJIrTzfz.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-AwQaO42N-CKgF9hTJ.js → LabeledZeniRolesDropDownField-D0cQlbhO-Dqs02jMf.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-D3I2NvQw-P3R8MlXe.js → LinkJETransactionPage-DaXjiQRp-CH9vE8pm.js} +8 -8
- package/dist/assets/{LowBalancePopup-OSUi1Alp-BiLt2AdI.js → LowBalancePopup-CdftTvLb-DzgqRFO5.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-r3XSoJ11-Cv-fI0u0.js → MagicLinkACHDetailsPage-C25i1T4c-B_gtZsWu.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DPG9fUzZ-B7fiv6MZ.js → MagicLinkDomesticWireDetailsPage-B0r3WStl-CY0AGP-m.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CmXJXEaN-Tp9z-x5e.js → MagicLinkInternationalWireDetailsPage-C-ev-6xJ-DYlN82pS.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CwszAuW2-Bix3eRV8.js → MagicLinkSuccessPage-7JG3V4Qt-Brf6FY6k.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-CvrbJ-of-B5SXKUsj.js → MagicLinkTitleSection-DEe0hhml-De1g7fYA.js} +3 -3
- package/dist/assets/{MailingDetailsSection-BJHZIZCt-Dq0ArLOp.js → MailingDetailsSection-Qc65E0w3-C6CH0-UP.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-C4r3bJ84-B_7Xob1I.js → MeetingCalenderPopup-Dh8meV6d-BwK6voO1.js} +1 -1
- package/dist/assets/{Menu-MHZ6Ibt0-DsBN8RMC.js → Menu-DyfXBl_1-H_GViJ7L.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-DG1tuqAt-BHEUeVdz.js → MyBankConnectionsSettingsPage-CCFcVgyX-Cj9pmtPo.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-DZyxqqyJ-BhPK50AW.js → MyPendingActivationChargeCardListPage-DS966wTB-DXMBzQKu.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BnNbspx9-D_qqDWXw.js → MyProfileSettingsPage-BRRzMoQL-z-2QKlLv.js} +8 -8
- package/dist/assets/{NavBarWithPicker-3okDhiol-CJJ9BrpE.js → NavBarWithPicker-BvWih0k0-DqsmpQXd.js} +2 -2
- package/dist/assets/{NavigationArrow-iw-yd_9S-DvXlGggY.js → NavigationArrow-DYSL2aDL-BJUiAKpZ.js} +9 -6
- package/dist/assets/{NavigationDots-CB5JLuJi-Bme4BexN.js → NavigationDots-DyyCcIih-C83s6vN7.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CcGws2R2-Coiq6yZx.js → NewGlobalMerchantPage-DjEvzM4M-D2PAZo-X.js} +33 -33
- package/dist/assets/NoDataChart-DE6NV823-DlzVvXWT.js +26 -0
- package/dist/assets/{NoDataTable-BbDo9Kma-CGZ-ZRju.js → NoDataTable-CXNsBBVP-CNpKcnQr.js} +1 -1
- package/dist/assets/{NotFoundPage-gbtwlR8l-C8W_IclM.js → NotFoundPage-CuuO2Mia-DtoiuMBe.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-slkQwvVZ-C6_X1MwL.js → NotificationSettingsPage-C7ilxUAV-DVBhuDeZ.js} +16 -16
- package/dist/assets/NotificationsListConfig-TBQMobJ5-Dg1BFWgp.js +1 -0
- package/dist/assets/{NotificationsPage-BAyRPK64-D9pYswFj.js → NotificationsPage-BjaKD99B-HczC9sOP.js} +32 -32
- package/dist/assets/{OpExByVendorPage-CofD6hKi-_r0JCjwW.js → OpExByVendorPage-IuDiHnIW-DSQhabH4.js} +5 -5
- package/dist/assets/{OverlayContainerPage-nhe7xtoR-BqnlKexX.js → OverlayContainerPage-C0rUb6-5-zCXylyg1.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-_uOEFXiy-uRGPUMun.js → PandLWithForecastPage-DLvgYpF8-BvtUu1nj.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C0zGxU4f-BbIQnivK.js → PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DItr6wpu.js} +8 -8
- package/dist/assets/{PeoplePage-8GExF-Lt-DycjJFii.js → PeoplePage-DyqY-rIV-6wYuIYCy.js} +19 -19
- package/dist/assets/{PortfolioAllocationFormPage-CMKEE7P7-BAgV1W9Q.js → PortfolioAllocationFormPage-DTuKtkwr-BCUD0jpE.js} +3 -3
- package/dist/assets/{PortfolioDetails-A3P3vG57-D-PvzBt-.js → PortfolioDetails-DJFeMG4U-jhRfPjHw.js} +11 -11
- package/dist/assets/{ProductsCarousel-D9H3mUJ--BVzwDfPL.js → ProductsCarousel-CS4_yc80-CJENMC5j.js} +7 -7
- package/dist/assets/{PromoBaseCards-CF0Bv_9G-CPu8OwaX.js → PromoBaseCards-BZ2m6LfO-DtHfjjw4.js} +25 -25
- package/dist/assets/{QBOConnectionDialog-D2zi5wKm-BnMrx2Jb.js → QBOConnectionDialog-2vJQuslh-gswZrMuL.js} +6 -6
- package/dist/assets/{QBOSetupSection-B3Dj2g2k-B6Vh45jl.js → QBOSetupSection-Yv3Xw-yn-CsTlHo9j.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DgpHHy3U-CVsGPnLd.js → ReimbursementApprovalRuleDetailPage-tvJ2APRB-CJktCsdd.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BjFi-uJl-B-1i4jgW.js → ReimbursementApprovalRulesPage-_nXCDa2A-BNgKNHzv.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-BersvjG9-CWQWXTAd.js → ReimbursementDetailPage-CtEAsq7u-DRdTiZKG.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-K8dT-rtu-ejmkM2xl.js → ReimbursementPromoPage-BaEX5Ej4-BuvxoLSr.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-CfBuIpx6-BHJ5mWF-.js → ReimbursementSetUpPage-DXOqEJL4-iJtd4hOD.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-yaSD_tF5-CtbYjDdi.js → ReimbursementsBulkReviewDrawerPage-HQg1y1K--CLvh9oMo.js} +1 -1
- package/dist/assets/{ReloadCard-Do9Znv21-BdHDUomQ.js → ReloadCard-stfG9ekP-E5rZnPxi.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-D1UrK7VQ-B2lv_ic2.js → ReportTableViewSelector-_RTCd2td-Bc2QvO79.js} +7 -7
- package/dist/assets/{ReportsPage-dER5Ukfc-CkbR9-hx.js → ReportsPage-BIzz5Dt_-NFZB2f2n.js} +9 -9
- package/dist/assets/{RevenueChart-CCr_XauF-DE6xvLaq.js → RevenueChart-DeDVVUge-BKnJBaLk.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-ZoXTLGfR-CMQzdLlE.js → ReviewDetailsPage-DZqPpiln-DMAHDtV0.js} +19 -19
- package/dist/assets/{ReviewOverlay-Bywh-8pJ-CohY-7e4.js → ReviewOverlay-DcBe94Sd-COJlSRKh.js} +14 -14
- package/dist/assets/{RoleWithToolTip-CX9tF-BO-CfHGhDZn.js → RoleWithToolTip-DZO2tooH-B0y78jDy.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BEXr2qc0-BzP6cE1T.js → ScheduleDetailsFixedAssetsPage-Cl8iBII0-5-jnemx1.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CR8uJC5O-BvWjtOn1.js → ScheduleDetailsPage-D6ZxZ2uU-CKiYugJn.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-D7kDvImN-BYm5tvmN.js → ScheduleSequenceTable-eRImHbZn-zcCUBGZK.js} +50 -50
- package/dist/assets/{ScreenRoutes-wesefRwS.js → ScreenRoutes-CXwvcn5x.js} +1 -1
- package/dist/assets/{SetUpAccountSection-B0J0zCOF-BgXG5DS8.js → SetUpAccountSection-BBZNI1Xl-C0b9akyJ.js} +103 -103
- package/dist/assets/{SetUpDefaultSection-ES6v0-xw-DftidMnh.js → SetUpDefaultSection--9Qh-utY-3YrGFMUC.js} +16 -16
- package/dist/assets/{SignIn-yQ-8MBRA-CihMyZ7q.js → SignIn-CI0Ik2va-3pWKv9Zj.js} +19 -19
- package/dist/assets/{SignInScreen-DS6fEfuU.js → SignInScreen-CCdAg0VB.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-_rUojA3M-EqvrqWBS.js → SpendManagementListViewPage-NWkSnIdD-CxhuHjHo.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-Bhes-f7M-Cb3eyaQr.js → SpendManagementPerTabPage-CdWwn_b8-liFVp2pd.js} +47 -47
- package/dist/assets/{SpendManagementSection-CQHWqht2-DUZQM13E.js → SpendManagementSection-DGhD95sz-DwpipRyt.js} +9 -9
- package/dist/assets/{SpendMgmtSetupAccountSection-BHZ9nmWy-XOLb3Fur.js → SpendMgmtSetupAccountSection-DG4ozkeT-CwbSJso6.js} +14 -14
- package/dist/assets/{StatementItem-CKnsnb3u-ChM8cclP.js → StatementItem-BlfBohft-EV50IPyl.js} +8 -8
- package/dist/assets/StatementsPage-CUpjL5u7-BCXI4rzX.js +58 -0
- package/dist/assets/{StatusSwitcher-xR-S3KaW-BKRdafwP.js → StatusSwitcher-C6703BAG-BvT29XW2.js} +4 -4
- package/dist/assets/{SubTabSwitcher-DczmDw-I-DARuAs1S.js → SubTabSwitcher-lf9S7Ubj-DJDWAJ0r.js} +1 -1
- package/dist/assets/{SummaryCard-YTxf_JPz-B8RE6XJZ.js → SummaryCard-yghz4PLR-Bjx-2ODn.js} +1 -1
- package/dist/assets/TaskManagementPage-Cf523C5f-IxjfQuXH.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-C5yC8ifv-C8eV7Phr.js → TimeRangeSwitcher-BoPrOhKX-BejCCLXp.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-D1xKpIjp-DZocHPU3.js → TimeframeSwitcher-DufweySH-PZfP9LZt.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-4nzCluDg.js +31 -0
- package/dist/assets/{TopExCard-CJN2nSdQ-Dyx710RI.js → TopExCard-DrOjlLiv-BAcprpz7.js} +6 -6
- package/dist/assets/{TopExDetailPage-ClQK2WDh-vTx0gLy7.js → TopExDetailPage-Ds4zlxKD-CEw3GubR.js} +11 -11
- package/dist/assets/{TransactionDetailPage-CcNUBQmc-Bqi04LL8.js → TransactionDetailPage-Csl-Qjxp-EnZp16li.js} +47 -47
- package/dist/assets/{TransactionList-Dtqr5BZm-2I1pMc5u.js → TransactionList-2HeLZVn9-CrbbPmBE.js} +13 -13
- package/dist/assets/{TransactionListBig-D5_iDOBi-CLtD8kFo.js → TransactionListBig-p6iVof9y-BIk3tMms.js} +18 -18
- package/dist/assets/{TransactionListPage-DUCJRiyi-Bc5rziPm.js → TransactionListPage-tnL66tOu-CH3TLKSv.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-DSpchZAl-CViZ0jmN.js → TransactionVendorDetailPage-DzkUYyCr-CDrpLHNP.js} +6 -6
- package/dist/assets/{TransferDrawerPage-BKWQEojA-CbMkqPsC.js → TransferDrawerPage-B9MGSdS9-CzcQLCyn.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-D1D2WipM-Pwv9-UGk.js → TreasuryOverviewPage-BEzBuOWn-BGywb4hM.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-BKgJHnC1-DyZjT5wh.js → TreasuryPromoPage-C8X4X7iN-D0YArboa.js} +15 -15
- package/dist/assets/TreasurySetupPage-Cb_GW75l-CXuYmMxJ.js +152 -0
- package/dist/assets/{TreasuryStatementsPage-DKHWWnrU-B3Bgyu2R.js → TreasuryStatementsPage-sOiD2QYm-_sZuOKSh.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-ieX9MUQd-FaNLEXUv.js → TreasuryTaxLetterPage-DYzqfHym-58oHHynw.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-DebuIwR3-DyjGtRDG.js → TreasuryTransferOrReviewPage-CesaUuNp-BPIM69Eo.js} +85 -85
- package/dist/assets/{TrendChart-B3VgdtYY-Dy5fluFV.js → TrendChart-kwGU0d90-GuSGL0hJ.js} +3 -3
- package/dist/assets/{TrendWithTransactions-BMorBxWJ-C0G8In8o.js → TrendWithTransactions-CUlTYGIm-CezwwQyi.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BtmfySl9-BN2ZnER4.js → UncategorizedAccountsMappingPage-D76VPNEd-0jriRkP3.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-ByqJQgJ1-BX7a3DQa.js → UnitIntegrationPage-BsZCe-lq-DHXBulD5.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-Dwv3x7HQ-Ct27O0zE.js → UploadAdditionalDocumentOverlay-B3tUNhKj-B-Cnmuf3.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BVCUSOMr-BGHN4Pyc.js → Vendor2FAPopup-Bk-WKgMh-DEL2u-h6.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Cyp1bTJx-DCBHt584.js → VendorACHDetailsPage-u8a3XF33-D560uVGS.js} +1 -1
- package/dist/assets/{VendorDetailPage-1_rVoehK-BobdIlMd.js → VendorDetailPage-B-RdB79n-DCaK7fJL.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-B0wv2GP--DTrjpRQD.js → VendorDomesticWireDetailsPage-Bhb1Dmge-CBaHEUU6.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C5rHkQrV-CdnxzjBF.js → VendorFiling1099EditablePage-DHRivhBg-D2O_5fGv.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-CDlmZHmw-F8vzLeda.js → VendorFirstReviewPage-Cn2GBsyl-Crwyd647.js} +29 -29
- package/dist/assets/{VendorInternationalWireDetailsPage-Cdy000Jx-D5vc2ds4.js → VendorInternationalWireDetailsPage-Cjx1hvUL-CfeyeaMQ.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DRN-5n5Y-BNzUBPow.js → VendorInternationalWireSwiftDetailsPage-BszRCCDh-BwXuAv_8.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Ba7QpWAm-BA29ezpA.js → VendorsAccountsSection-D6VSJUo1-D3zBJygS.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DCUPzxfi-Cw0kcPsl.js → WarningsDrawerPage-DReVGPEj-CByBNeKa.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-DF7Tn3t3-Bb4ItLLQ.js → ZeniAccountDetailPage-CFTB_WYX-BNpX3bjE.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-Cz9v3TCo-DC90elHU.js → ZeniAccountListViewPage-BmYgbIuC-CB7ObKhn.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-gzy5T7nu-3EZY4gW6.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D7veJGZk-CE2g39oZ.js → ZeniAccountPromoPage-AfRVTc8V-Ck8cpTYF.js} +10 -10
- package/dist/assets/{ZeniAccountSetupPage-ftl559Pj-DUN6Xu8R.js → ZeniAccountSetupPage-YXJmpz_d-DVvqqczO.js} +1 -1
- package/dist/assets/{ZeniCopyright-BScA_p2_-3vVWZkac.js → ZeniCopyright-CqpcrgAZ-sq7_yXnA.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Bu23FZCA-L2os7fMa.js → ZeniTransferAmountSlider-DGkzRyMW-Btixfh5b.js} +1 -1
- package/dist/assets/analytics-DThoELaW.js +7 -0
- package/dist/assets/{analyticsHelper-SSZc85h7.js → analyticsHelper-adG_BjY9.js} +1 -1
- package/dist/assets/{analyticsHelper-CGq-fGOi-CdOAgckK.js → analyticsHelper-sgo3pabT-K1toqw66.js} +1 -1
- package/dist/assets/{chartTypes-ChsIdl40-BAMg3Yoy.js → chartTypes-Dj-_K0Gi-BTPAwFj5.js} +1 -1
- package/dist/assets/{commonDimensions-Dk1fkj7r-DiuY44GO.js → commonDimensions-CKgBEMhT-DV1PneSk.js} +1 -1
- package/dist/assets/{detailCommon-BdiFpATU-C4tIDJfX.js → detailCommon-vtB2ffbe-CI1tw59v.js} +6 -6
- package/dist/assets/{downloadPdf-h21F3Bzk-BukvqPr-.js → downloadPdf-CiC0AXNH-BaYefCbJ.js} +1 -1
- package/dist/assets/{index-BU_OFOHO.js → index-nrhSmhQT.js} +3364 -3324
- package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-Bimz-BOL-DbOC86fY.js → mapLoadingInProgressToTreeNode-0MIZwF_y-C-JcxjaL.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dy2RH2lH--F7hkKSm.js → mapSectionWithAcOnlyToTreeNode-CWaIGa37-TStxu4Jm.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CadZGfr8-BC_KRXsY.js → mapSpacerToTreeNode-1Bdqp9WS-BwfPBFlV.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BvXiirfs-BVF2yIEM.js → mapTimeframeBalancesToTreeNode-MPZhFWqo-BaV0QGS3.js} +1 -1
- package/dist/assets/mui-C5LQ0bMa.js +25 -0
- package/dist/assets/{play-icon-DD7TfH-R-DFC4jJ2P.js → play-icon-CF-Mkuir-DlDAGdqf.js} +1 -1
- package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
- package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-Dy9J_UtA-BOr91SlJ.js → toCOABalancesWithID-D1BwrImS-goHqPuef.js} +1 -1
- package/dist/assets/{toChartData-BdomEAJ--DsSFVPa5.js → toChartData-DVTo0PPD-CtviYuE-.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D2LtJllD-vFc_5JFm.js → treasuryColorHelper-QzSX5YTe-9nXuNVNj.js} +1 -1
- package/dist/assets/{uploadAttachment-C5PL0FaC-BEd4sEZo.js → uploadAttachment-BxwOR3I5-CYLMnUD6.js} +29 -29
- package/dist/assets/{uploadReceipts-BH9fi3Vt-Dy17GpvZ.js → uploadReceipts-Buvz7DfG-D9z5xpPz.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPage-d3ST-rTL-C3RGUA9e.js +0 -18
- package/dist/assets/AccountRow-t4I1y-2K-CtaiIm2n.js +0 -298
- package/dist/assets/BillingSettingsPage-CmvoTc8r-DeChOFZr.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-OSbHVAMk-DHypnLOn.js +0 -1
- package/dist/assets/ChargeCardPromoPage-BzcIsHeK-DWt1qpzp.js +0 -175
- package/dist/assets/CheckDepositDrawerPage-BwJ5tAF--BOjUwQ0e.js +0 -206
- package/dist/assets/ConfettiBurst-MKPxinI7-D5PjCF0D.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-D2xC_a0G-Edo-ai-j.js +0 -1
- package/dist/assets/CustomerOnboardingPage-Cuf1lJmu-DJVUg9pf.js +0 -107
- package/dist/assets/Dashboard-DnR1KvYd-qcmjh10k.js +0 -778
- package/dist/assets/DomesticWireDetailsPage-Bvmpk8LN-Cb6zfshw.js +0 -21
- package/dist/assets/EditPeoplePage-BTnhywM--C7FSnENf.js +0 -55
- package/dist/assets/HelpButton-BKCFqzW3-mV3KEyfP.js +0 -28
- package/dist/assets/InvitePeoplePage-fzgtceuE-Ds-gEhhL.js +0 -12
- package/dist/assets/LabeledDocumentField-Dv4qzOY0-B2ZnIaW5.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-BFMEaVfR-Cbq5gKFg.js +0 -59
- package/dist/assets/NoDataChart-BsN_tNbW-DRgn1703.js +0 -26
- package/dist/assets/NotificationsListConfig-DtsQwW2b-D98CVoY-.js +0 -1
- package/dist/assets/StatementsPage-B73U7d9e-DHwgyw8_.js +0 -58
- package/dist/assets/TaskManagementPage-LDFC29Ik-C44JMD6X.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-BiHAqit5-BfVPVHhs.js +0 -31
- package/dist/assets/TreasurySetupPage-C2JtTOhh-C5WOQnSa.js +0 -152
- package/dist/assets/ZeniAccountNavBarPieces-BSObmR0D-Dr6kpot6.js +0 -14
- package/dist/assets/analytics-BSSiLa6f.js +0 -7
- package/dist/assets/mui-BgvZYSo0.js +0 -22
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as B,
|
|
1
|
+
import{X as B,cf as F,cn as R,j as t,Y as j,cl as _,C as f,g as u,p as s,co as G,Q,o as i,u as Y,M as A,eL as K,eM as X,df as q,bR as J,b2 as I,cp as U,dF as Z,v as D,a$ as ee,a2 as le}from"./index-nrhSmhQT.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:S,style:c})=>{const w=Y(),y=Ie(e,b),C=A.getLocalizedStrings().dropDowns,L=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(r,b):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,border:`1px solid ${w.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(xe,{children:[t.jsx(be,{children:t.jsx(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${C.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:O,isDisabled:k,selectProps:H}=l,{value:W}=H;return t.jsx(se,{menuIsOpen:p,isFocused:O,isDisabled:k,selectedValue:W,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(I.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(I.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&x!=null&&x.isTagShownForOption(l.data.value)===!0&&t.jsx($e,{children:t.jsx(we,{style:x.style,children:x.tagName})}),l.children]})}),N=l=>{const{selectProps:p}=l,{placeholder:O,value:k}=p;return t.jsx(I.Input,{...l,autoComplete:"new-password",placeholder:k==null?O:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(K,{isMulti:!1,onCreateOption:l=>{const p=X(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?E(l):`${C.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":j("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:M,Option:ae,Input:N,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Se,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:L,isClearable:!0,isSearchable:!0,isDisabled:d!=null},q())},ie=e=>t.jsx(I.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=r.indexOf(h)*40;return t.jsx(J,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:$,children:({index:m,style:b})=>t.jsx(pe,{style:b,children:o[m]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(I.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":j("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(me,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey5};
|
|
4
4
|
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
@@ -34,7 +34,7 @@ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as q
|
|
|
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
|
+
${D.standardRegular.css};
|
|
38
38
|
box-sizing: border-box;
|
|
39
39
|
overflow: hidden;
|
|
40
40
|
text-overflow: ellipsis;
|
|
@@ -45,7 +45,7 @@ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as q
|
|
|
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
|
+
${D.standardRegular.css};
|
|
49
49
|
color: ${e=>e.hasError===!0?u.important:e.theme.colors.primary};
|
|
50
50
|
margin: ${i.sp0};
|
|
51
51
|
cursor: inherit;
|
|
@@ -67,7 +67,7 @@ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as q
|
|
|
67
67
|
`,ne=a.div`
|
|
68
68
|
border-radius: inherit;
|
|
69
69
|
.select-option {
|
|
70
|
-
${
|
|
70
|
+
${D.smallRegular.css};
|
|
71
71
|
height: ${i.sp6};
|
|
72
72
|
padding: 9px ${i.sp3};
|
|
73
73
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
|
|
@@ -153,7 +153,7 @@ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as q
|
|
|
153
153
|
justify-content: inherit;
|
|
154
154
|
align-items: center;
|
|
155
155
|
width: 100%;
|
|
156
|
-
`,ve=()=>null,je=()=>null,Se=()=>null,Ie=(e,r)=>e.map(o=>
|
|
156
|
+
`,ve=()=>null,je=()=>null,Se=()=>null,Ie=(e,r)=>e.map(o=>z(o,r)),z=(e,r)=>({value:e,label:r!==void 0?r(e):e}),Ce=({name:e,registerOptions:r,defaultValue:o,placeholder:n,isDisabled:d,style:h,addIconInCreateLabel:$,isOptionRemovable:m,tagProperties:b,onSelectChange:x,getLabelForId:S})=>{const{control:c,formState:{errors:w}}=F(),y=R(w,e??"");return t.jsx(G,{name:e,control:c,defaultValue:o,"data-testid":j("creatable-single-select-field",e),rules:r,render:({field:{value:C,onChange:L}})=>t.jsx(t.Fragment,{children:t.jsx(te,{onSelectedValueChanged:v=>{x?.(v??""),L({allOptions:o.allOptions,selectedOption:v})},placeholder:n,style:h,isDisabled:d,selectedValue:C.selectedOption,allValues:o.allOptions,addIconInCreateLabel:$,isOptionRemovable:m,getLabelForId:S,tagProperties:b,hasError:y,name:e})})})},g={width:new f(343,580,726),height:new f(s[6],s[6]),controlHeight:new f(s[6],s[6]),paddingTopBottom:new f(s[2],s[2]),marginRight:new f(s[2],s[2]),labelMarginLeft:new f(s[3],s[4]),labelMarginRight:new f(s[3],s[4]),labelMarginTop:new f(s[2],s[2])},Le={infoLabel:new Q("extraSmallRegular","smallRegular")};function Fe({isDisabled:e,label:r,creatableSingleSelectField:o,style:n,additionalInfoLabel:d,errorInfoLabel:h,isOptionRemovable:$,addIconInCreateLabel:m,additionalInfoTextColor:b,onSelectChange:x,getLabelForId:S}){const c=B(),{formState:{errors:w}}=F(),y=R(w,o.name??"");return t.jsxs(Oe,{size:c,style:n,isDisabled:e!=null,hasError:y,"data-testid":j("labeled-creatable-single-select-field",o.name),children:[t.jsx(_,{isDisabled:e,label:r.label,htmlFor:o.name,style:{marginLeft:g.labelMarginLeft.value(c),marginRight:g.labelMarginRight.value(c),marginTop:g.labelMarginTop.value(c),width:r.width??"auto"}}),t.jsxs(ke,{labelWidth:r.width,children:[t.jsx(Ce,{...o,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:r.width!==null&&m===!1?`calc(100% - ${r.width}px)`:"auto",height:g.controlHeight.value(c)},onSelectChange:x,isOptionRemovable:$,addIconInCreateLabel:m,getLabelForId:S}),t.jsx(V,{size:c,additionalInfoTextColor:b,children:d}),y&&t.jsx(V,{size:c,hasError:y,children:h})]})]})}const Oe=a.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
flex-direction: row;
|
|
159
159
|
align-items: flex-start;
|
|
@@ -195,10 +195,10 @@ import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as q
|
|
|
195
195
|
justify-content: flex-end;
|
|
196
196
|
flex-direction: column;
|
|
197
197
|
position: relative;
|
|
198
|
-
`,
|
|
198
|
+
`,V=a.label`
|
|
199
199
|
color: ${e=>e.hasError===!0?u.important:e.additionalInfoTextColor!=null?e.additionalInfoTextColor:e.theme.colors.grey1};
|
|
200
200
|
width: auto;
|
|
201
|
-
${e=>`${
|
|
201
|
+
${e=>`${Le.infoLabel.style(e.size)}`};
|
|
202
202
|
padding-right: ${i.sp3};
|
|
203
203
|
text-align: right;
|
|
204
204
|
`;export{Fe as I};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import{X as I,cf as U,cn as g,j as o,Y as N,cl as W,C as t,eN as O,M as k,p as i,o as s,g as A,Q as K}from"./index-nrhSmhQT.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const l={width:new t(343,580,726),height:new t(i[6],i[6]),paddingTopBottom:new t(i[2],i[2]),marginRight:new t(i[2],i[2]),labelMarginLeft:new t(i[3],i[4]),labelMarginRight:new t(i[3],i[4]),labelMarginTop:new t(i[2],i[2])},Q={infoLabel:new K("extraSmallRegular","smallRegular")};function G({label:e,isDisabled:r,isOptional:u,style:c,file:p,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:M,updateFilesEntity:R,onDeleteFile:B,onEditFileName:C,onFileSizeError:j}){const a=I(),{formState:{errors:m}}=U(),h=g(m,n),D=g(m,`${n}.fileName`);return o.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":N("document-field",n),children:[o.jsx(W,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:l.labelMarginLeft.value(a),marginRight:l.labelMarginRight.value(a),marginTop:l.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),o.jsxs(Y,{labelWidth:e.width,size:a,children:[o.jsx(O,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:p,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:R,onFileSizeError:j,onDeleteFile:B,onEditFileName:C,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showWebCamPopUpCloseIcon:M,showUploadSuccessAnimation:T}),h&&o.jsx(q,{size:a,isError:h,children:D&&p!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: ${e=>e.size==="small"?"column":"row"};
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
+
width: ${e=>l.width.valuePx(e.size)};
|
|
7
|
+
min-height: ${e=>l.height.valuePx(e.size)};
|
|
8
|
+
padding-right: ${e=>l.marginRight.valuePx(e.size)};
|
|
9
|
+
padding-top: ${e=>l.paddingTopBottom.valuePx(e.size)};
|
|
10
|
+
padding-bottom: ${e=>l.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=d.div`
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
width: ${e=>e.size==="small"?"100%":e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
31
|
+
padding: ${e=>e.size==="small"?`${s.sp1} ${s.sp2} ${s.sp0} ${s.sp3}`:s.sp0};
|
|
32
|
+
box-sizing: ${e=>e.size==="small"?"border-box":"inherit"};
|
|
33
|
+
align-items: flex-end;
|
|
34
|
+
flex-grow: 1;
|
|
35
|
+
`,q=d.label`
|
|
36
|
+
display: flex;
|
|
37
|
+
color: ${e=>e.isError?A.important:e.theme.colors.grey1};
|
|
38
|
+
${e=>`${Q.infoLabel.style(e.size)}`};
|
|
39
|
+
padding-right: ${s.sp3};
|
|
40
|
+
text-align: right;
|
|
41
|
+
`;export{G as Y};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import{X as R,u as T,cf as p,cn as V,j as r,o,co as O,bl as P,v as A,fH as F,g as l,Q as H,a$ as M}from"./index-nrhSmhQT.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const Q={infoLabel:new H("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:u,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:S}){const a=R(),h=T(),{formState:{errors:D}}=p(),d=V(D,s.name),{control:z}=p(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(U,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(X,{style:{width:"auto",...f},children:r.jsx(O,{name:E,control:z,defaultValue:u.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:u.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:c=>{I(c)},menuPlacement:v,titleTextStyle:A.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:S})})})}),r.jsxs(q,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(B,{children:r.jsx(J,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const U=i.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
align-items: center;
|
|
5
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
+
min-height: ${o.sp6};
|
|
7
|
+
padding-top: ${o.sp2};
|
|
8
|
+
padding-bottom: ${o.sp2};
|
|
9
|
+
padding-right: ${o.sp2};
|
|
10
|
+
|
|
11
|
+
:first-of-type {
|
|
12
|
+
border-top-left-radius: inherit;
|
|
13
|
+
border-top-right-radius: inherit;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:last-of-type {
|
|
17
|
+
border-bottom-left-radius: inherit;
|
|
18
|
+
border-bottom-right-radius: inherit;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:focus-within {
|
|
22
|
+
z-index: 1;
|
|
23
|
+
|
|
24
|
+
input {
|
|
25
|
+
background-color: ${e=>e.isError?l.importantLight:e.theme.colors.background};
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
input {
|
|
29
|
+
background-color: ${e=>e.isError?l.importantLight:e.theme.colors.grey5};
|
|
30
|
+
}
|
|
31
|
+
&:hover {
|
|
32
|
+
input {
|
|
33
|
+
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?l.importantLight:e.theme.colors.background};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
`,q=i.div`
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
align-items: flex-end;
|
|
40
|
+
flex-grow: 1;
|
|
41
|
+
`,g=i.label`
|
|
42
|
+
display: flex;
|
|
43
|
+
color: ${e=>e.isError?l.important:e.theme.colors.grey1};
|
|
44
|
+
${e=>`${Q.infoLabel.style(e.size)}`};
|
|
45
|
+
padding-right: ${o.sp3};
|
|
46
|
+
text-align: right;
|
|
47
|
+
`,B=i.div`
|
|
48
|
+
display: flex;
|
|
49
|
+
margin-right: ${o.sp1};
|
|
50
|
+
align-items: center;
|
|
51
|
+
`,J=i(M)`
|
|
52
|
+
width: ${o.sp3};
|
|
53
|
+
height: ${o.sp3};
|
|
54
|
+
color: ${l.successDark};
|
|
55
|
+
`,K=i.div`
|
|
56
|
+
display: flex;
|
|
57
|
+
width: 100%;
|
|
58
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
59
|
+
`,X=i.div``;export{N as Y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as b,j as r,Y as s,
|
|
1
|
+
import{X as b,j as r,Y as s,cl as u,C as l,p as t,o as a,q as m,Q as x}from"./index-nrhSmhQT.js";import{n}from"./vendor-CnQcJ2Lu.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -16,7 +16,7 @@ import{X as b,j as r,Y as s,cm as m,C as l,p as t,o as a,s as u,Q as x}from"./in
|
|
|
16
16
|
border-bottom-left-radius: inherit;
|
|
17
17
|
border-bottom-right-radius: inherit;
|
|
18
18
|
}
|
|
19
|
-
`,w=n(
|
|
19
|
+
`,w=n(m)`
|
|
20
20
|
display: flex;
|
|
21
21
|
border-width: ${a.sp0};
|
|
22
22
|
outline-width: ${a.sp0};
|
|
@@ -36,7 +36,7 @@ import{X as b,j as r,Y as s,cm as m,C as l,p as t,o as a,s as u,Q as x}from"./in
|
|
|
36
36
|
display: flex;
|
|
37
37
|
justify-content: flex-end;
|
|
38
38
|
color: ${e=>e.theme.colors.hero};
|
|
39
|
-
${e=>`${
|
|
39
|
+
${e=>`${f.infoLabel.style(e.size)}`};
|
|
40
40
|
padding-right: ${a.sp3};
|
|
41
41
|
text-align: right;
|
|
42
42
|
`;export{z as S};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as
|
|
1
|
+
import{X as M,j as l,Y as J,cl as me,o as s,C,p as m,cf as K,co as ge,cn as fe,u as xe,fr as be,M as E,Q as we,b2 as W,fs as Y,bN as _,ft as X,a$ as q,g as R,v as G,q as Z,fu as $e,f as ye,w as ve}from"./index-nrhSmhQT.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-DZO2tooH-B0y78jDy.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${s.sp2};
|
|
4
4
|
align-items: center;
|
|
@@ -96,7 +96,7 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u
|
|
|
96
96
|
overflow: hidden;
|
|
97
97
|
text-overflow: ellipsis;
|
|
98
98
|
white-space: nowrap;
|
|
99
|
-
`,Q=r.div``,
|
|
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"};
|
|
@@ -164,7 +164,7 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u
|
|
|
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;
|
|
@@ -180,21 +180,21 @@ import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u
|
|
|
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 He({allUsers:e,selectedValue:a,showOneOffLabel:n,placeholder:g,isOptionRemovable:v,valueToSubtitle:b,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:T,isValuePlacedAtEnd:I=!0,isDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:z,disabledOptionHint:$,bigMarginRightForSmallScreens:P=!1}){const{formState:{errors:V}}=K(),L=fe(V,j??""),c=M(),O=[];n!=null&&O.push(n.value),O.push(...e.map(t=>t.userId));const le=t=>{if(n!=null&&n.value===t)return n.label;const i=e.findIndex(o=>o.userId===t);if(i!==-1){const o=e[i];return o.user?.firstName||o.user?.lastName?`${o.user?.firstName} ${o.user?.lastName}`:`${o.user?.email}`}else return""},se=t=>{const i=e.findIndex(o=>o.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:o}=t;return l.jsx(Ee,{menuIsOpen:i,isError:L,children:l.jsx(De,{children:o})})},re=({labelDetails:t})=>l.jsxs(Fe,{hasSelectedUser:a===t.value,children:[l.jsxs(Re,{children:[l.jsx(Ue,{}),l.jsx(Q,{children:l.jsx(F,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:o,selectProps:u}=t,{menuIsOpen:h}=u;if(n!=null&&o?.value===n.value)return l.jsxs(U,{children:[S||D?l.jsx(Y,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(Ve,{children:n.label})]});const d=e.findIndex(y=>y.userId===o.value),p=e[d],x=b(o.value);return l.jsxs(ke,{children:[l.jsxs(Pe,{menuIsOpen:h,children:[S||D?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Te,{src:p?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=_},loading:"lazy"}):l.jsx(X,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(F,{children:i})]}),S?l.jsx(H,{subtitleList:x,menuIsOpen:u.menuIsOpen,member:p}):null]})},H=({subtitleList:t,member:i,menuIsOpen:o})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:o,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ce,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:o,selectProps:u,value:h}=t,d=!!z?.(h)&&o===!1;if(n!=null&&i?.value===n.value)return l.jsx(re,{labelDetails:n});const p=e.findIndex(A=>A.userId===i.value),x=e[p],y=b(i.value);return l.jsxs(Ie,{style:T,children:[l.jsxs(ze,{isCurrOptionDisabled:d,children:[l.jsx(Le,{children:x?.user?.photo!=null?l.jsx(Ae,{src:x?.user?.photo.href,alt:E.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:A})=>{A.onerror=null,A.src=_},loading:"lazy"}):l.jsx(X,{firstName:x?.user?.firstName??"",lastName:x?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(Q,{children:[l.jsx(F,{children:t.label}),l.jsx(H,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:x}),c==="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})]}),!!o&&l.jsx(l.Fragment,{children:l.jsx(q,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(B,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:o,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:o,isDisabled:u,selectedValue:d,isError:L,isValuePlacedAtEnd:I,windowSize:c,bigMarginRightForSmallScreens:P,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(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=xe();return l.jsx(be,{placeholder:g??E.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:k,isOptionDisabled:t=>z?.(t)===!0&&a!==t,filterOption:he})}const We={infoLabel:new we("smallRegular","smallRegular")},_e=({name:e,placeholderLabel:a,registerOptions:n,value:g,valueToSubtitle:v,showOneOffLabel:b,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:T,additionalLabelInfo:I,isOptionDisabled:k,showOnlyAvatar:D=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:z,bigMarginRightForSmallScreens:$=!1})=>{const{control:P}=K(),V=M();return l.jsx(ge,{name:e,control:P,defaultValue:g,rules:n,render:({field:{value:L,onChange:c}})=>l.jsxs(Xe,{width:w?.width,"data-testid":J("user-single-select",e),children:[l.jsx(He,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:L.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:b,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:T,isOptionDisabled:k,showAvatarAndSubtitles:S,showOnlyAvatar:D,disabledOptionHint:z,bigMarginRightForSmallScreens:$,optionStyles:j}),I!==null&&l.jsx(qe,{size:V,children:I})]})})},Xe=r.div`
|
|
184
184
|
display: flex;
|
|
185
185
|
flex-direction: column;
|
|
186
186
|
width: ${e=>e.width!=null?e.width:"auto"};
|
|
187
187
|
`,qe=r.label`
|
|
188
188
|
color: ${e=>e.theme.colors.hero};
|
|
189
|
-
${e=>`${
|
|
189
|
+
${e=>`${We.infoLabel.style(e.size)}`};
|
|
190
190
|
text-align: right;
|
|
191
191
|
padding-right: ${s.sp3};
|
|
192
|
-
`,
|
|
192
|
+
`,N={width:new C(343,580,726),labelMarginLeft:new C(m[3],m[4]),labelMarginRight:new C(m[3],m[4])};function Ke({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:n,style:g,showTooltip:v=!1,tooltipTitle:b,toolTipWidth:w,opacity:j=1}){const f=M();return l.jsxs(Ge,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":J("labeled-user-single-select",n.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:n.name,style:{marginLeft:N.labelMarginLeft.value(f),marginRight:N.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:b,toolTipWidth:w}),l.jsx(_e,{...n,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...n.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:n.value.selectedUser==null||n.value.selectedUser!=null&&n.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Ge=r.div`
|
|
193
193
|
display: flex;
|
|
194
194
|
flex-direction: row;
|
|
195
195
|
align-items: flex-start;
|
|
196
196
|
background-color: ${e=>e.theme.colors.grey5};
|
|
197
|
-
width: ${e=>
|
|
197
|
+
width: ${e=>N.width.valuePx(e.size)};
|
|
198
198
|
min-height: ${s.sp6};
|
|
199
199
|
padding-right: ${s.sp2};
|
|
200
200
|
padding-top: ${s.sp2};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{X as B,j as l,Y as
|
|
1
|
+
import{X as B,j as l,Y as A,cl as G,C as m,o,p as n,cf as _,co as J,cn as K,u as Q,v as V,b1 as ie,l as I,M as te,fo as se,fv as ae,R as ne,ag as de,g as z,b2 as M,ao as ce,a$ as pe,b_ as ue,fw as N,bF as X,K as he,w as Y,q as ge,f as me,fg as be,f2 as fe,aQ as xe,fh as ye,aA as we,fx as ve}from"./index-nrhSmhQT.js";import{n as d,j as $e,b as k}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-DZO2tooH-B0y78jDy.js";const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},je=d.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
margin-top: ${e=>
|
|
4
|
-
margin-bottom: ${e=>
|
|
5
|
-
margin-left: ${e=>
|
|
3
|
+
margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
4
|
+
margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
|
|
5
|
+
margin-left: ${e=>H.grpBtnMarginLeftRight.valuePx(e.windowSize)};
|
|
6
6
|
cursor: pointer;
|
|
7
7
|
height: 29px;
|
|
8
8
|
&:hover {
|
|
@@ -22,7 +22,7 @@ import{X as B,j as l,Y as H,cm as K,C as g,o,p as n,cg as U,cp as G,co as X,u as
|
|
|
22
22
|
}
|
|
23
23
|
`,Ce=d.div`
|
|
24
24
|
border-left: 1px solid ${e=>e.theme.colors.grey1};
|
|
25
|
-
`,
|
|
25
|
+
`,W=({allBtnOptions:e,isDisabled:s,selectedOption:i,buttonClickHandler:c})=>{const p=B(),a=Q(),f=u=>i?.value===u.value?"primary":"secondary",$=u=>i?.value===u.value?{backgroundColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.hero},borderColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.grey3}}:{backgroundColor:{default:"transparent",hover:a.colors.grey4,disabled:"transparent"},textColor:{default:a.colors.primary,hover:a.colors.primary,disabled:a.colors.hero},borderColor:{default:a.colors.grey1,hover:a.colors.primary,disabled:a.colors.grey3}},b=e.length,y=s==="disabled"||s==="readonly";return l.jsx(je,{windowSize:p,isDisabled:y,children:e.map((u,x)=>l.jsxs(Se,{"data-testid":A("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":A("grouped-button",u.value),onClick:()=>c(u.value),buttonColors:$(u),disabled:y||!u.enabled,style:{borderTopRightRadius:x===b-1?o.sp1:o.sp0,borderBottomRightRadius:x===b-1?o.sp1:o.sp0,borderTopLeftRadius:x===0?o.sp1:o.sp0,borderBottomLeftRadius:x===0?o.sp1:o.sp0,borderRight:x===b-1?"":"none",borderLeft:x===0?"":"none",width:"65px",display:"flex",alignItems:"center",justifyContent:"center"}}),x!==b-1?l.jsx(Ce,{className:"verticalLine"}):null]},u.value))})},E={allRolesMarginLeftRight:new 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};
|
|
@@ -31,7 +31,7 @@ import{X as B,j as l,Y as H,cm as K,C as g,o,p as n,cg as U,cp as G,co as X,u as
|
|
|
31
31
|
&:hover {
|
|
32
32
|
color: ${e=>e.theme.colors.primary};
|
|
33
33
|
}
|
|
34
|
-
`,
|
|
34
|
+
`,ze=d.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
width: 100%;
|
|
@@ -51,16 +51,16 @@ import{X as B,j as l,Y as H,cm as K,C as g,o,p as n,cg as U,cp as G,co as X,u as
|
|
|
51
51
|
flex-direction: row;
|
|
52
52
|
margin-bottom: ${o.sp3};
|
|
53
53
|
justify-content: space-between;
|
|
54
|
-
`,Oe=d(
|
|
54
|
+
`,Oe=d(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
|
`,Te=d.div`
|
|
61
61
|
display: flex;
|
|
62
62
|
.roleTitle {
|
|
63
|
-
color: ${e=>e.isError?
|
|
63
|
+
color: ${e=>e.isError?z.important:e.theme.colors.hero};
|
|
64
64
|
}
|
|
65
65
|
.roleSubTitle {
|
|
66
66
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -87,12 +87,12 @@ import{X as B,j as l,Y as H,cm as K,C as g,o,p as n,cg as U,cp as G,co as X,u as
|
|
|
87
87
|
`,Me=d.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex-direction: column;
|
|
90
|
-
`,Be=d(
|
|
90
|
+
`,Be=d(X)`
|
|
91
91
|
display: flex;
|
|
92
92
|
`,Le=d(Y)`
|
|
93
93
|
display: flex;
|
|
94
94
|
margin-bottom: ${o.sp1};
|
|
95
|
-
`,Ve=d(
|
|
95
|
+
`,Ve=d(me)`
|
|
96
96
|
display: flex;
|
|
97
97
|
padding: 1px 6px 1px 6px;
|
|
98
98
|
border: 1px solid;
|
|
@@ -101,41 +101,41 @@ import{X as B,j as l,Y as H,cm as K,C as g,o,p as n,cg as U,cp as G,co as X,u as
|
|
|
101
101
|
`,Ie=d.div`
|
|
102
102
|
display: flex;
|
|
103
103
|
flex-direction: row;
|
|
104
|
-
`,Ee=d.div``,
|
|
104
|
+
`,Ee=d.div``,_e=d.div`
|
|
105
105
|
display: flex;
|
|
106
106
|
flex-direction: column;
|
|
107
107
|
padding-left: ${o.sp3};
|
|
108
|
-
`,
|
|
108
|
+
`,Ue=d(ve)`
|
|
109
109
|
width: ${o.sp4};
|
|
110
110
|
height: ${o.sp4};
|
|
111
111
|
color: ${e=>e.theme.colors.hero};
|
|
112
|
-
`,
|
|
112
|
+
`,Fe=d(we)`
|
|
113
113
|
width: ${o.sp4};
|
|
114
114
|
height: ${o.sp4};
|
|
115
115
|
color: ${e=>e.theme.colors.hero};
|
|
116
|
-
`,
|
|
116
|
+
`,Ne=d(ye)`
|
|
117
117
|
width: ${o.sp4};
|
|
118
118
|
height: ${o.sp4};
|
|
119
119
|
color: ${e=>e.theme.colors.hero};
|
|
120
|
-
`,
|
|
120
|
+
`,He=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
|
+
`,We=d(be)`
|
|
129
129
|
width: ${o.sp4};
|
|
130
130
|
height: ${o.sp4};
|
|
131
131
|
color: ${e=>e.theme.colors.hero};
|
|
132
|
-
`,
|
|
132
|
+
`,Ze=d.div`
|
|
133
133
|
display: flex;
|
|
134
134
|
flex-direction: column;
|
|
135
135
|
margin-right: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
136
136
|
margin-left: ${e=>E.allRolesMarginLeftRight.valuePx(e.windowSize)};
|
|
137
|
-
color: ${e=>e.theme.mode==="light"?
|
|
138
|
-
`,
|
|
137
|
+
color: ${e=>e.theme.mode==="light"?z.brandColorOnyx:z.brandColorPearl};
|
|
138
|
+
`,qe=e=>{switch(e){case"bookkeeping":return l.jsx(Ue,{});case"zeni_bill_pay":return l.jsx(Fe,{});case"zeni_reimbursements":return l.jsx(Ne,{});case"zeni_checking":return l.jsx(He,{});case"zeni_cards":return l.jsx(Ae,{});case"zeni_treasury":return l.jsx(We,{});default:return null}},Ge=e=>l.jsxs(Me,{children:[l.jsx(Be,{className:"roleTitle",children:N[e].label}),l.jsx(Le,{className:"roleSubTitle",children:N[e].subTitle}),l.jsx(Ve,{className:"roleSuitableFor",children:N[e].roleSuitableFor})]}),Je=({name:e,isDisabled:s,selectedValue:i,onSelectionChanged:c})=>{const{formState:{errors:p}}=_(),a=K(p,`${e}.userRole.selectedRole`),f=B(),$=i.productsByUserRole.employee.findIndex(h=>h.productType==="zeni_reimbursements"),b=k.useCallback(h=>{const t=se([h]),C=ae(h),v=ne(i.productsByUserRole[t]),R=v.findIndex(P=>P.productType===C),L=v[R].selectedOption?.value===h;R>-1&&(v[R]={...v[R],selectedOption:L?void 0:v[R].options.filter(P=>P.value===h)[0]});const U={userRole:{selectedRole:t,allRootRole:i.userRole.allRootRole},productsByUserRole:{...i.productsByUserRole,[t]:[...v]}};c(U)},[c,i]),y=i.userRole.selectedRole,u=k.useMemo(()=>y!=null?(i.productsByUserRole[y]??[]).map(h=>I.toUserRoleTypeStrict(h.selectedOption?.value)).filter(h=>h!=null):[],[y,i.productsByUserRole]);k.useEffect(()=>{y==="employee"&&u.length===0&&$>-1&&b("reimbursements_user")},[y,u,$,b]);const x=i.userRole.allRootRole,D=h=>h==="employee"&&i.userRole.selectedRole==="employee";return s==="readonly"?l.jsx(Ze,{windowSize:f,children:l.jsx(Re,{roles:u})}):l.jsx(ze,{children:x.map(h=>l.jsxs(ke,{windowSize:f,children:[l.jsx(Te,{isError:a,children:l.jsx(de,{isDisabled:s,label:{label:Ge(h)},style:{paddingBottom:o.sp4,alignItems:"flex-start"},radioField:{name:`${e}.userRole.selectedRole`,id:`${e}.${h}`,value:h,radioSize:"small",checked:i.userRole.selectedRole===h,style:{marginTop:o.sp1}}})}),l.jsx(De,{windowSize:f,isCollapsed:D(h),roleCount:i.productsByUserRole[h].length,children:i.productsByUserRole[h].map(t=>l.jsxs(Pe,{children:[l.jsxs(Ie,{children:[l.jsx(Ee,{children:t.productType&&qe(t.productType)}),l.jsxs(_e,{children:[l.jsx(Oe,{children:t.label}),f==="small"?l.jsx(W,{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(W,{allBtnOptions:t.options,selectedOption:t.selectedOption,buttonClickHandler:b,isDisabled:s}):null]},t.productType))})]},h))})},Ke=({name:e,defaultValue:s,isDisabled:i,registerOptions:c})=>{const{control:p}=_();return l.jsx(J,{name:e,control:p,defaultValue:s,rules:c,render:({field:{onChange:a,value:f}})=>{const $=f;return l.jsx(Je,{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 bo({isDisabled:e,label:s,rolesDropDownField:i,style:c}){const p=B();return l.jsxs(Qe,{size:p,style:c,isDisabled:e!=null,children:[l.jsx(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(Ke,{...i,isDisabled:e})]})}const Qe=d.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-direction: ${e=>e.isDisabled?"row":"column"};
|
|
141
141
|
align-items: ${e=>e.isDisabled?"center":"flex-start"};
|
|
@@ -169,7 +169,7 @@ import{X as B,j as l,Y as H,cm as K,C as g,o,p as n,cg as U,cp as G,co as X,u as
|
|
|
169
169
|
border-color: inherit;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
`;function
|
|
172
|
+
`;function Xe({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]=k.useState(),{formState:{errors:D}}=_(),h=K(D,b??"");k.useEffect(()=>{const r=c.filter(g=>i!=null&&i.includes(g.value));x(a?r:r[0])},[i]),k.useEffect(()=>{f===!0&&a===!1&&x(void 0)},[f]);const t=Q(),C=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,L=V.smallRegular.cssObject,U=L,P=u?.length>3,ee={control:r=>({...r,backgroundColor:"inherit",boxShadow:R,border:"none",cursor:"pointer",":hover":{backgroundColor:"inherit"},flexWrap:"nowrap",marginTop:"unset"}),container:r=>({...r,fill:t.colors.hero,":hover":{fill:t.colors.primary},width:"100%",...$}),valueContainer:r=>({...r,flexWrap:P?"wrap":"nowrap",width:C==="small"||!a?"auto":"263px",paddingTop:"unset",cursor:"pointer",...U,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:C==="small"?"230px":"100%",right:C==="small"?o.sp0:"unset",borderRadius:o.sp1,margin:o.sp0,border:C==="small"?`1px solid ${t.colors.grey3}`:"unset"}),menuList:r=>({...r,maxHeight:"240px"}),option:(r,{isSelected:g,isDisabled:T,data:O})=>{const w=I.isNonZeniRole(O.value)&&s===!0,F=q(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,...L,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:q(!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 k.createElement(M.Option,{...r,key:r.data.value},l.jsxs(ao,{role:r.data.value,forZeniUser:s,children:[l.jsx(ce,{children:r.data.label}),!!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(co,{menuIsOpen:g,isFocused:T,isDisabled:O,selectedValue:F,isError:h,isValuePlacedAtEnd:y,windowSize:C,children:l.jsx(M.Control,{...r,className:"select-control",children:r.children})})};return l.jsx(ie,{isMulti:a,menuPlacement:"auto",minMenuHeight:250,menuShouldScrollIntoView:!1,defaultValue:u,value:u,closeMenuOnSelect:!0,options:v,isDisabled:p,hideSelectedOptions:!1,onChange:r=>{le(r)},isClearable:!1,isSearchable:!0,components:{Control:re,DropdownIndicator:oo,Option:oe,MultiValueRemove:lo,IndicatorSeparator:ro,MultiValueLabel:io,ValueContainer:to,Placeholder:eo,Input:Ye},styles:ee,theme:r=>({...r,colors:{...r.colors,primary:R}}),placeholder:te.getLocalizedStrings().peoplePage.dropdownPlaceHolderText,isOptionDisabled:r=>s===!1&&r.enabled===!1||s===!0&&I.isNonZeniRole(r.value),classNamePrefix:"zeniRolesDropDown"})}const Ye=e=>{const{selectProps:s}=e,{placeholder:i,value:c,isMulti:p}=s;return l.jsx(M.Input,{...e,autoComplete:"new-password",placeholder:p===!0&&c?.length===0||c==null?i:void 0,children:e.children})},eo=()=>null,q=(e,s,i,c)=>e&&!s&&i!=="delete"?c.colors.primary:s?c.colors.grey1:i==="delete"?z.important:c.colors.hero,oo=()=>null,lo=()=>null,ro=()=>null,io=({children:e,data:s,...i})=>l.jsx(M.MultiValueLabel,{...i,children:l.jsxs(so,{children:[e,l.jsx(no,{className:"seperator",children:","})]})}),to=({children:e,...s})=>l.jsx(M.ValueContainer,{...s,className:"select-value-container",children:e}),so=d(ge)`
|
|
173
173
|
padding: ${o.sp0} 2px;
|
|
174
174
|
max-width: 104px;
|
|
175
175
|
white-space: nowrap;
|
|
@@ -189,7 +189,7 @@ import{X as B,j as l,Y as H,cm as K,C as g,o,p as n,cg as U,cp as G,co as X,u as
|
|
|
189
189
|
.select-control {
|
|
190
190
|
border: none;
|
|
191
191
|
height: ${e=>e.windowSize==="small"?"auto":o.sp6};
|
|
192
|
-
background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?
|
|
192
|
+
background-color: ${e=>e.menuIsOpen&&e.isValuePlacedAtEnd===!0?e.theme.colors.background:e.isError===!0?z.importantLight:e.theme.colors.grey5};
|
|
193
193
|
box-shadow: none;
|
|
194
194
|
&:hover {
|
|
195
195
|
fill: ${e=>e.theme.colors.primary};
|
|
@@ -247,18 +247,18 @@ import{X as B,j as l,Y as H,cm as K,C as g,o,p as n,cg as U,cp as G,co as X,u as
|
|
|
247
247
|
visibility: visible;
|
|
248
248
|
}
|
|
249
249
|
::placeholder {
|
|
250
|
-
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?
|
|
250
|
+
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?z.important:e.theme.colors.grey1};
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
.placeholder-container {
|
|
255
|
-
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?
|
|
255
|
+
color: ${e=>e.isError===!0&&e.menuIsOpen!==!0?z.important:e.theme.colors.grey1};
|
|
256
256
|
}
|
|
257
257
|
> div:nth-last-of-type(2) .seperator {
|
|
258
258
|
visibility: hidden;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
`,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=
|
|
261
|
+
`,po=({name:e,forZeniUser:s,registerOptions:i,defaultValue:c,isDisabled:p,isMulti:a,style:f,onSelectionChanged:$,isValuePlacedAtEnd:b=!0})=>{const{control:y}=_();return l.jsx(J,{name:e,control:y,defaultValue:c,rules:i,render:({field:{value:u,onChange:x}})=>l.jsx(Xe,{onSelectionChanged:D=>{x({allOptions:c.allOptions,selectedOptions:D}),$?.(D)},forZeniUser:s,selectedRoles:u.selectedOptions,disable:p,isMulti:a,name:e,style:f,allRoles:c.allOptions,isValuePlacedAtEnd:b})})},j={width:new 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 fo({isDisabled:e,label:s,zeniRolesDropDownField:i,style:c}){const p=B();return l.jsxs(uo,{size:p,style:c,isDisabled:e!=null,"data-testid":A("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(po,{...i,isDisabled:e==="disabled"||e==="readonly",style:{display:"flex",flexGrow:1,width:s.width!=null?`calc(100% - ${s.width}px)`:"auto",height:p==="small"?"auto":o.sp6,minHeight:j.controlHeight.value(p)}})]})}const uo=d.div`
|
|
262
262
|
display: flex;
|
|
263
263
|
flex-direction: row;
|
|
264
264
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as H,
|
|
1
|
+
import{X as H,a1 as ue,l as C,a as pe,c2 as me,i3 as P,hQ as L,M as W,c3 as he,j as n,F as ge,fy as xe,a3 as fe,o as t,C as m,k as be,a2 as je,c5 as O,i4 as ye,g as Ce,v as I,az as we,p as r}from"./index-nrhSmhQT.js";import{b as V,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-Csl-Qjxp-EnZp16li.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-FB40Z8J7-CUjOIHO8.js";import"./TrendWithTransactions-CUlTYGIm-CezwwQyi.js";import"./TrendChart-kwGU0d90-GuSGL0hJ.js";import"./chartTypes-Dj-_K0Gi-BTPAwFj5.js";import"./toCOABalancesWithID-D1BwrImS-goHqPuef.js";import"./toChartData-DVTo0PPD-CtviYuE-.js";import"./NoDataChart-DE6NV823-DlzVvXWT.js";import"./InsightsSection-D9PiJagu-DOwHVFks.js";import"./NavigationDots-DyyCcIih-C83s6vN7.js";import"./TransactionList-2HeLZVn9-CrbbPmBE.js";import"./BoxItem-BqLhtWoJ-N1dze3h9.js";import"./commonDimensions-CKgBEMhT-DV1PneSk.js";import"./uploadAttachment-BxwOR3I5-CYLMnUD6.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const B={labelWidth:new m(120,145,160)},$e=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -19,7 +19,7 @@ import{X as H,a5 as ue,l as y,a as pe,c3 as me,i7 as P,hU as L,M as Q,c4 as he,j
|
|
|
19
19
|
background-color: ${e=>e.theme.colors.grey3};
|
|
20
20
|
min-height: 1px;
|
|
21
21
|
max-height: 1px;
|
|
22
|
-
`,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:
|
|
22
|
+
`,J=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:w,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(w.visual.MMMDCommaYYYYformat),g=H();return n.jsxs($e,{children:[n.jsx(De,{windowSize:g,children:S.header}),n.jsxs(ve,{children:[n.jsx(O,{label:{label:o.jePostingDate,width:B.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:J(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(ke,{}),n.jsx(O,{label:{label:o.jeLink,width:B.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:J(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:ye}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},M="linkJETransactionPage",K="linkJETransaction",X=W.getLocalizedStrings(),{common:{footer:Y},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:G,onUpdateLocalData:ee,onBackClick:U,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=H(),T=ue(u),j=C.getQBOUrlForLink(h.toString(),s.jeLink),$=C.getFirstControllerEmail(A.controllers),v=C.getFirstControllerId(A.controllerUserIds),z=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};V.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),V.useEffect(()=>{if(u==="Completed"&&T==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),U()}},[u,T,U]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ae(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",F=s.jeLink.type==="recommended",R=he(x.formState.dirtyFields),k=x.formState.isValid,y=D&&R&&k||D&&F&&k,E=R&&k;return n.jsxs(Le,{children:[n.jsxs(Ae,{windowSize:p,children:[n.jsx(Fe,{windowSize:p,children:f.linkJE}),n.jsx(ze,{children:n.jsx(Ne,{onClick:z})})]}),n.jsxs(Ie,{children:[n.jsx(Ue,{windowSize:p,children:n.jsx(ge,{...x,children:n.jsx("form",{id:q(M),onSubmit:x.handleSubmit(oe),children:n.jsx(Ee,{jePostingDate:s.postingDate,sectionId:K,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),F?n.jsxs(Oe,{windowSize:p,children:[n.jsx(Ve,{})," ",f.zeniRecommendation]}):null,D?n.jsx(Te,{children:n.jsx(Se,{isCOTEnabled:w,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:G,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Re,{children:[re?n.jsx(Q,{windowSize:p,children:f.transactionFetchError}):null,de?n.jsx(Q,{windowSize:p,children:f.jeDetails}):null]}),se?n.jsx(xe,{fetchState:o?.fetchState}):null]}),y||E?n.jsx(fe,{formId:y?q(M):void 0,primaryBtn:{onClick:E&&!y?le:void 0,label:E&&!y?f.fetchJE:Y.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:z}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[K]:{qboURL:C.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
|
|
23
23
|
display: flex;
|
|
24
24
|
flex: 1 1 auto;
|
|
25
25
|
width: 100%;
|
|
@@ -48,7 +48,7 @@ import{X as H,a5 as ue,l as y,a as pe,c3 as me,i7 as P,hU as L,M as Q,c4 as he,j
|
|
|
48
48
|
flex: 1;
|
|
49
49
|
margin-bottom: ${t.sp12};
|
|
50
50
|
background-color: inherit;
|
|
51
|
-
`,
|
|
51
|
+
`,ze=i.div`
|
|
52
52
|
display: flex;
|
|
53
53
|
justify-content: flex-end;
|
|
54
54
|
align-items: center;
|
|
@@ -61,14 +61,14 @@ import{X as H,a5 as ue,l as y,a as pe,c3 as me,i7 as P,hU as L,M as Q,c4 as he,j
|
|
|
61
61
|
&:hover {
|
|
62
62
|
color: ${e=>e.theme.colors.primary};
|
|
63
63
|
}
|
|
64
|
-
`,
|
|
64
|
+
`,Fe=i(be)`
|
|
65
65
|
display: flex;
|
|
66
66
|
width: 100%;
|
|
67
67
|
flex-grow: 1;
|
|
68
68
|
color: ${e=>e.theme.colors.primary};
|
|
69
69
|
margin: auto;
|
|
70
70
|
justify-content: center;
|
|
71
|
-
`,
|
|
71
|
+
`,Q=i.div`
|
|
72
72
|
height: ${e=>b.emptyScheduleHeight.valuePx(e.windowSize)};
|
|
73
73
|
display: flex;
|
|
74
74
|
align-items: center;
|
|
@@ -79,10 +79,10 @@ import{X as H,a5 as ue,l as y,a as pe,c3 as me,i7 as P,hU as L,M as Q,c4 as he,j
|
|
|
79
79
|
color: ${e=>e.theme.colors.hero};
|
|
80
80
|
margin: ${t.sp3} ${t.sp1};
|
|
81
81
|
${I.standardRegular.css};
|
|
82
|
-
`,
|
|
82
|
+
`,Re=i.div`
|
|
83
83
|
flex-grow: 1;
|
|
84
84
|
width: 100%;
|
|
85
|
-
`,
|
|
85
|
+
`,Oe=i.div`
|
|
86
86
|
display: flex;
|
|
87
87
|
align-items: center;
|
|
88
88
|
gap: ${t.sp1};
|
|
@@ -92,7 +92,7 @@ import{X as H,a5 as ue,l as y,a as pe,c3 as me,i7 as P,hU as L,M as Q,c4 as he,j
|
|
|
92
92
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
93
93
|
margin: ${t.sp3} ${t.sp1};
|
|
94
94
|
${I.standardRegular.css};
|
|
95
|
-
`,
|
|
95
|
+
`,Ve=i(we)`
|
|
96
96
|
width: ${t.sp3};
|
|
97
97
|
height: ${t.sp3};
|
|
98
98
|
`;export{ut as default,q as uniqueFormName};
|