@zeniai/web-components 3.16.39 → 3.16.40
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/ACHDetailsPage-BuyU6iEz.cjs +21 -0
- package/dist/ACHDetailsPage-Ct5-WoAK.js +160 -0
- package/dist/AIPerformancePage-BVaxMag-.js +1333 -0
- package/dist/AIPerformancePage-DfRdjE9Y.cjs +530 -0
- package/dist/AccountInfoPage-C7MBKdL0.cjs +18 -0
- package/dist/AccountInfoPage-DdplczOB.js +78 -0
- package/dist/AccountInfoPageContent-5-bIBAlZ.cjs +149 -0
- package/dist/AccountInfoPageContent-DhklLdth.js +428 -0
- package/dist/AccountLockedInfoModal-C3zWBbT2.js +125 -0
- package/dist/AccountLockedInfoModal-zGANjVl6.cjs +59 -0
- package/dist/AccountReconDetailsDrawerPage-BOegyVid.js +686 -0
- package/dist/AccountReconDetailsDrawerPage-DTeKX7Vf.cjs +239 -0
- package/dist/AccountRow-6qyktMtX.cjs +298 -0
- package/dist/AccountRow-CQBgLMRQ.js +1009 -0
- package/dist/AccountsPromoCardStack-DpLbtGpK.cjs +207 -0
- package/dist/AccountsPromoCardStack-DwRNadms.js +664 -0
- package/dist/AddAddressForCardDrawer-BWv0ixAO.js +82 -0
- package/dist/AddAddressForCardDrawer-BfyjkCzH.cjs +6 -0
- package/dist/AddToWalletPage-3HIVUj1f.js +643 -0
- package/dist/AddToWalletPage-DtDd07sn.cjs +344 -0
- package/dist/AgingReportsPage-CeyV-SFk.js +827 -0
- package/dist/AgingReportsPage-MHwVeOkF.cjs +79 -0
- package/dist/AllUserItems-C7SnHJiq.js +979 -0
- package/dist/AllUserItems-DI3pPciy.cjs +192 -0
- package/dist/ApAgingDetailPage-D6ESwMyv.cjs +46 -0
- package/dist/ApAgingDetailPage-Ik0ixCna.js +239 -0
- package/dist/AppBasePage-CJD3vbNR.js +120 -0
- package/dist/AppBasePage-CJKWt52S.cjs +71 -0
- package/dist/AppDrawerContent-BhKNNQXi.cjs +91 -0
- package/dist/AppDrawerContent-DVkNCTtS.js +375 -0
- package/dist/ApprovalRulesSettingsPage-DRrl7GL_.cjs +47 -0
- package/dist/ApprovalRulesSettingsPage-DlI-NO2v.js +146 -0
- package/dist/ArAgingChart-BpwWmIr9.js +529 -0
- package/dist/ArAgingChart-CaFYAiLa.cjs +24 -0
- package/dist/ArAgingDetailPage-CROGma9U.cjs +46 -0
- package/dist/ArAgingDetailPage-DreXZLg_.js +243 -0
- package/dist/AttachmentView-BEvEkEcS.js +260 -0
- package/dist/AttachmentView-Bv_KiOPH.cjs +101 -0
- package/dist/BankAccountSection-CG9CacCu.cjs +79 -0
- package/dist/BankAccountSection-IbaiAHdo.js +398 -0
- package/dist/BankAccountWarningSection-BLp__xLv.js +110 -0
- package/dist/BankAccountWarningSection-CY0ZeBCE.cjs +51 -0
- package/dist/BankConnectionsSettingsPage-BSFsh7Cd.cjs +425 -0
- package/dist/BankConnectionsSettingsPage-CUYGEArQ.js +1695 -0
- package/dist/BillDetailPage-waiffzo6.cjs +266 -0
- package/dist/BillDetailPage-zRogxiKa.js +1798 -0
- package/dist/BillPayApprovalRuleDetailPage-DELxaP90.js +247 -0
- package/dist/BillPayApprovalRuleDetailPage-TOcFF-_T.cjs +27 -0
- package/dist/BillPayApprovalRulesPage-BxmpKfco.cjs +235 -0
- package/dist/BillPayApprovalRulesPage-DrWxkzSC.js +415 -0
- package/dist/BillPayPromoPage-BegcNR38.js +293 -0
- package/dist/BillPayPromoPage-UDapfy8J.cjs +84 -0
- package/dist/BillPaySetUpPage-Bon7bm4C.js +412 -0
- package/dist/BillPaySetUpPage-itdc_KJB.cjs +42 -0
- package/dist/BillingSettingsPage-B-6_UnaJ.cjs +44 -0
- package/dist/BillingSettingsPage-BTeurFew.js +336 -0
- package/dist/BillsBulkReviewDrawerPage-B6bZ1XZe.js +216 -0
- package/dist/BillsBulkReviewDrawerPage-By8HXcWX.cjs +1 -0
- package/dist/BoxItem-F0KOr97L.js +118 -0
- package/dist/BoxItem-Fs6Lglx1.cjs +53 -0
- package/dist/BusinessVerificationPage-Bj3I_Trb.cjs +138 -0
- package/dist/BusinessVerificationPage-DcX06VbW.js +717 -0
- package/dist/BusyIndication-BgMTrFEc.js +18 -0
- package/dist/BusyIndication-oEXavOiI.cjs +9 -0
- package/dist/CardNumberSubText-Bm4jz0mw.js +57 -0
- package/dist/CardNumberSubText-UwCYZzSb.cjs +21 -0
- package/dist/CashbackDetailPage-BPU3cf8Y.js +824 -0
- package/dist/CashbackDetailPage-cTfRCuvi.cjs +285 -0
- package/dist/ChargeCardDetailPage-CuecZabw.js +5762 -0
- package/dist/ChargeCardDetailPage-DwuxWMa1.cjs +1813 -0
- package/dist/ChargeCardListPage-NKH3uYCM.cjs +406 -0
- package/dist/ChargeCardListPage-yy_iIjyo.js +1775 -0
- package/dist/ChargeCardListTable-CH8WughE.js +2849 -0
- package/dist/ChargeCardListTable-O5SXNbTR.cjs +711 -0
- package/dist/ChargeCardPromoPage-Cck7QH7d.js +806 -0
- package/dist/ChargeCardPromoPage-DOOtx1OG.cjs +222 -0
- package/dist/ChargeCardSetupPage-CijVkgc5.js +362 -0
- package/dist/ChargeCardSetupPage-DJBOkljU.cjs +36 -0
- package/dist/ChargeCardStatementsPage-D5xK4u3H.js +243 -0
- package/dist/ChargeCardStatementsPage-XG5PEVHr.cjs +60 -0
- package/dist/ChargeCardUtils-B7ldAe9o.js +102 -0
- package/dist/ChargeCardUtils-CxXtoOIy.cjs +1 -0
- package/dist/ChaseOverlay-0GOxKqW0.cjs +170 -0
- package/dist/ChaseOverlay-TweXskdx.js +402 -0
- package/dist/CheckDepositDrawerPage-BZ3X_Lix.js +726 -0
- package/dist/CheckDepositDrawerPage-BqY7mK6g.cjs +206 -0
- package/dist/CollapsableReportTable-4z3NZPAe.cjs +2932 -0
- package/dist/CollapsableReportTable-DfogYZH-.js +11743 -0
- package/dist/CompanyOfficerDetailsSection-De-euidt.js +1633 -0
- package/dist/CompanyOfficerDetailsSection-GdzFPyiI.cjs +260 -0
- package/dist/CompanyPassportCard-CjM85jLv.cjs +42 -0
- package/dist/CompanyPassportCard-D0nTW-X4.js +146 -0
- package/dist/CompanyPassportPage-BsQZvnYb.js +2160 -0
- package/dist/CompanyPassportPage-oaQc_5E5.cjs +574 -0
- package/dist/CompleteProfile-B3psSTNO.cjs +52 -0
- package/dist/CompleteProfile-DIPF4P0L.js +301 -0
- package/dist/ConfettiBurst-DcW-EmKh.cjs +1 -0
- package/dist/ConfettiBurst-OcYZ4SJA.js +37 -0
- package/dist/CreateOrEditVendorPage-Cxf0NQd5.js +755 -0
- package/dist/CreateOrEditVendorPage-Dd4kb4Rd.cjs +281 -0
- package/dist/CreditCardPaymentDrawerPage-Bye-3vMx.js +1171 -0
- package/dist/CreditCardPaymentDrawerPage-COwGq5tj.cjs +224 -0
- package/dist/CreditCardPaymentPlgSection-CXym2vxB.js +196 -0
- package/dist/CreditCardPaymentPlgSection-DEOQjE66.cjs +78 -0
- package/dist/CurrencySelectField-BUdJQbZL.cjs +139 -0
- package/dist/CurrencySelectField-BYmmIwcR.js +348 -0
- package/dist/CustomerOnboardingActivationPage-91XhzwSp.cjs +88 -0
- package/dist/CustomerOnboardingActivationPage-ChoztYoE.js +143 -0
- package/dist/CustomerOnboardingContainerPage-D9LXNWCM.js +7 -0
- package/dist/CustomerOnboardingContainerPage-mZdCGiH9.cjs +1 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-Bo5hs8Pp.js +434 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-CLFT9i-U.cjs +162 -0
- package/dist/CustomerOnboardingNoStepsPage-BkvAan59.cjs +66 -0
- package/dist/CustomerOnboardingNoStepsPage-CnA2qKHQ.js +425 -0
- package/dist/CustomerOnboardingPage-CQoIB32r.cjs +107 -0
- package/dist/CustomerOnboardingPage-DwPqUKDV.js +1060 -0
- package/dist/CustomerOnboardingProductSuitePage-D4uIRarg.js +349 -0
- package/dist/CustomerOnboardingProductSuitePage-frMDfQ2r.cjs +202 -0
- package/dist/Dashboard-Cal_467r.cjs +1551 -0
- package/dist/Dashboard-D7SZNoMp.js +5531 -0
- package/dist/DashboardReportPage-CddzCQCz.js +2536 -0
- package/dist/DashboardReportPage-Sq5HWDCW.cjs +371 -0
- package/dist/DashboardSidebarBackgroundAnimation-BuErnQdn.cjs +12 -0
- package/dist/DashboardSidebarBackgroundAnimation-bFC40zc2.js +50 -0
- package/dist/DepositAccTransactionItem-C4qoDnns.js +112 -0
- package/dist/DepositAccTransactionItem-CnL9cWW1.cjs +76 -0
- package/dist/DepositAccTransactionListPage-bouy9xde.cjs +66 -0
- package/dist/DepositAccTransactionListPage-oYT-_nWU.js +152 -0
- package/dist/DomesticWireDetailsPage-B9YjzCjB.cjs +21 -0
- package/dist/DomesticWireDetailsPage-BYH3PR_o.js +189 -0
- package/dist/DownloadOverlay-C8aqYK8o.cjs +439 -0
- package/dist/DownloadOverlay-Qx87ixVF.js +2148 -0
- package/dist/DrawerPage-ecLd2JyS.js +208 -0
- package/dist/DrawerPage-q1ZXjzl9.cjs +118 -0
- package/dist/EditPeoplePage-BfuLiVBW.cjs +55 -0
- package/dist/EditPeoplePage-C7rWpaD2.js +392 -0
- package/dist/EditReimbursementDetailPage-C_ks_faJ.js +4461 -0
- package/dist/EditReimbursementDetailPage-CxypbQH0.cjs +865 -0
- package/dist/EmptySearchResults-BlmQ7d2B.js +70 -0
- package/dist/EmptySearchResults-Da-c3f14.cjs +46 -0
- package/dist/EntityDetailPage-iPy6ezXH.js +82 -0
- package/dist/EntityDetailPage-rlRqb4pf.cjs +18 -0
- package/dist/EntitySummarySection-BCaKdVxb.cjs +149 -0
- package/dist/EntitySummarySection-BoqJImmB.js +530 -0
- package/dist/ExpenseAutomationOverviewPage-B1OYpzY7.cjs +241 -0
- package/dist/ExpenseAutomationOverviewPage-BPewOpI3.js +735 -0
- package/dist/ExpenseAutomationPage-BLHnlyV2.js +11496 -0
- package/dist/ExpenseAutomationPage-DTEhNF1A.cjs +1650 -0
- package/dist/ExpressPayPage-BJ5T-38h.js +1136 -0
- package/dist/ExpressPayPage-EGcN4OmO.cjs +168 -0
- package/dist/FeaturePreviewPage-DKd18ogL.js +114 -0
- package/dist/FeaturePreviewPage-HoUXRLZr.cjs +11 -0
- package/dist/FollowStepsSection-AY-suSQO.cjs +390 -0
- package/dist/FollowStepsSection-Bbllt6WO.js +1313 -0
- package/dist/GlobalReviewListPage-DTiC_4mV.js +1674 -0
- package/dist/GlobalReviewListPage-RnRNAH95.cjs +291 -0
- package/dist/HelpButton-C-b2eT2i.cjs +28 -0
- package/dist/HelpButton-ClJElDJA.js +81 -0
- package/dist/InformationCardStack-B3I0qZUF.js +219 -0
- package/dist/InformationCardStack-Dt5a-XPn.cjs +31 -0
- package/dist/InsightsCardStack-CVsLW213.js +305 -0
- package/dist/InsightsCardStack-rreGlnk5.cjs +79 -0
- package/dist/InsightsSection-R-03Cf8d.js +97 -0
- package/dist/InsightsSection-WxhrcnGc.cjs +27 -0
- package/dist/IntegrationsSettingsPage-Bkh-zyo7.cjs +57 -0
- package/dist/IntegrationsSettingsPage-f6ogmSrg.js +137 -0
- package/dist/InternationalWireSwiftDetailsPage-CDDL4rbS.cjs +171 -0
- package/dist/InternationalWireSwiftDetailsPage-FYZN26zS.js +753 -0
- package/dist/InternationalWireVerificationPage-B9XqLIqk.js +877 -0
- package/dist/InternationalWireVerificationPage-goNgxbch.cjs +292 -0
- package/dist/InviteFormPage-CLQD2jpu.js +873 -0
- package/dist/InviteFormPage-Dr4ENJuC.cjs +312 -0
- package/dist/InvitePageListView-Dx4AxgSo.cjs +739 -0
- package/dist/InvitePageListView-X_Fo0MdM.js +1764 -0
- package/dist/InvitePeoplePage-C0f3G2PD.js +286 -0
- package/dist/InvitePeoplePage-V76fT9kF.cjs +12 -0
- package/dist/InvoiceUploadSection-CW4c26gu.js +465 -0
- package/dist/InvoiceUploadSection-DAB_VhzO.cjs +140 -0
- package/dist/IssueChargeCardPage-CECzDMjH.cjs +532 -0
- package/dist/IssueChargeCardPage-DM-mzpvJ.js +2875 -0
- package/dist/LabeledAddressValue-CO2Whhy6.js +115 -0
- package/dist/LabeledAddressValue-Ck1cnGhm.cjs +49 -0
- package/dist/LabeledAddressValueField-BhoJ1V6s.js +130 -0
- package/dist/LabeledAddressValueField-C7KK99Gt.cjs +45 -0
- package/dist/LabeledControlledCheckBoxField-CsMN2ZsD.js +73 -0
- package/dist/LabeledControlledCheckBoxField-Dm7g9JIZ.cjs +16 -0
- package/dist/LabeledCreatableSingleSelectField-AG0St7mA.cjs +204 -0
- package/dist/LabeledCreatableSingleSelectField-cwNchJ6H.js +515 -0
- package/dist/LabeledDocumentField-DzileBnI.js +147 -0
- package/dist/LabeledDocumentField-smZ3A_6Q.cjs +41 -0
- package/dist/LabeledDropDownFormattedTextField-B4d1us8-.cjs +59 -0
- package/dist/LabeledDropDownFormattedTextField-BB2sLc7u.js +163 -0
- package/dist/LabeledEmailInputField-DjqipTA3.js +425 -0
- package/dist/LabeledEmailInputField-DzpP-VPa.cjs +182 -0
- package/dist/LabeledItemWithButton-DBNiVMlv.js +74 -0
- package/dist/LabeledItemWithButton-d1BqLq6U.cjs +21 -0
- package/dist/LabeledNameField-5qm02Mj0.js +293 -0
- package/dist/LabeledNameField-B5xdGBu2.cjs +141 -0
- package/dist/LabeledSingleSelectField-BRwGz6CX.js +372 -0
- package/dist/LabeledSingleSelectField-Cieet4X1.cjs +136 -0
- package/dist/LabeledSingleSelectWithoutClearableField-BQ0xdMSy.js +103 -0
- package/dist/LabeledSingleSelectWithoutClearableField-YEQr5SSA.cjs +38 -0
- package/dist/LabeledText-BCFdu4GK.cjs +42 -0
- package/dist/LabeledText-DKVgKnFt.js +103 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-B6A5kSoh.cjs +229 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-Dc6DHwjA.js +572 -0
- package/dist/LabeledZeniRolesDropDownField-ChRMn9AT.js +975 -0
- package/dist/LabeledZeniRolesDropDownField-l5XZR19p.cjs +297 -0
- package/dist/LinkJETransactionPage-1K7azPFt.cjs +98 -0
- package/dist/LinkJETransactionPage-Dz_BLuOI.js +406 -0
- package/dist/LockCardPage-CaWSHNJz.js +1894 -0
- package/dist/LockCardPage-DdIjnuak.cjs +574 -0
- package/dist/LowBalancePopup-DKrbQ-LP.cjs +34 -0
- package/dist/LowBalancePopup-DUMp0PeB.js +219 -0
- package/dist/MagicLinkACHDetailsPage-BQYH-2uB.js +39 -0
- package/dist/MagicLinkACHDetailsPage-D1S86wYN.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-BQZs2U4e.js +44 -0
- package/dist/MagicLinkDomesticWireDetailsPage-BoKNHgxz.cjs +1 -0
- package/dist/MagicLinkInternationalWireDetailsPage-D2J_ZafS.cjs +1 -0
- package/dist/MagicLinkInternationalWireDetailsPage-xjUw_Mrv.js +43 -0
- package/dist/MagicLinkSuccessPage-CA5YiSs5.js +59 -0
- package/dist/MagicLinkSuccessPage-CMGizr7U.cjs +31 -0
- package/dist/MagicLinkTitleSection-B09IFQSa.cjs +17 -0
- package/dist/MagicLinkTitleSection-Bx_yXCpB.js +40 -0
- package/dist/MailingDetailsSection-mue8hKwm.cjs +21 -0
- package/dist/MailingDetailsSection-yoJumjk_.js +74 -0
- package/dist/MatchingOperatorDropdown-CS2DQYX2.js +572 -0
- package/dist/MatchingOperatorDropdown-Crewo-w1.cjs +130 -0
- package/dist/MeetingCalenderPopup-BR8Y5-_Y.cjs +26 -0
- package/dist/MeetingCalenderPopup-BsJhQ5or.js +60 -0
- package/dist/Menu-B2v2YMUc.js +110 -0
- package/dist/Menu-BePewOz-.cjs +17 -0
- package/dist/MoreMenuButton-BMIbUcOc.js +569 -0
- package/dist/MoreMenuButton-D3NlL0Bd.cjs +167 -0
- package/dist/MyBankConnectionsSettingsPage-BOvR8KTa.js +297 -0
- package/dist/MyBankConnectionsSettingsPage-DFww-5SU.cjs +110 -0
- package/dist/MyPendingActivationChargeCardListPage-DmQ6JnI0.js +168 -0
- package/dist/MyPendingActivationChargeCardListPage-RiPPTzqU.cjs +6 -0
- package/dist/MyProfileSettingsPage-6amnCapg.js +641 -0
- package/dist/MyProfileSettingsPage-BJwemoZ8.cjs +85 -0
- package/dist/NavBarWithPicker-CN1Ys9DY.cjs +30 -0
- package/dist/NavBarWithPicker-CX7x_lt2.js +106 -0
- package/dist/NavigationArrow-B7f2rdDx.js +88 -0
- package/dist/NavigationArrow-C78zOj7t.cjs +47 -0
- package/dist/NavigationDots-Bya5VlpL.cjs +15 -0
- package/dist/NavigationDots-CxaOHq97.js +44 -0
- package/dist/NewGlobalMerchantPage-B1vPSWOv.js +543 -0
- package/dist/NewGlobalMerchantPage-C-dVKgTu.cjs +160 -0
- package/dist/NoDataChart-CPk9D-Ke.js +58 -0
- package/dist/NoDataChart-DogAugM-.cjs +26 -0
- package/dist/NoDataTable-B6hgdvZp.js +27 -0
- package/dist/NoDataTable-DhORx-er.cjs +8 -0
- package/dist/NotFoundPage-C71f8L2b.js +71 -0
- package/dist/NotFoundPage-jU7_BM02.cjs +46 -0
- package/dist/NotificationSettingsPage-8rUDFukk.js +541 -0
- package/dist/NotificationSettingsPage-_aMMmvPs.cjs +163 -0
- package/dist/NotificationsListConfig-ZN6eG4nj.js +10 -0
- package/dist/NotificationsListConfig-oR3DmiL8.cjs +1 -0
- package/dist/NotificationsPage-DFwkHOgP.cjs +685 -0
- package/dist/NotificationsPage-DdqHtk6X.js +2664 -0
- package/dist/OpExByVendorPage-Cu3gwevh.cjs +100 -0
- package/dist/OpExByVendorPage-DlD_cLpL.js +1057 -0
- package/dist/PandLWithForecastPage-BmRi4-IT.js +563 -0
- package/dist/PandLWithForecastPage-CMi_uEm4.cjs +107 -0
- package/dist/PaymentAccountSetupBillingAddressSection-BowS9RbN.cjs +106 -0
- package/dist/PaymentAccountSetupBillingAddressSection-_BcMoPZE.js +623 -0
- package/dist/PeoplePage-B5bGfAwJ.js +1994 -0
- package/dist/PeoplePage-DNYlVcp7.cjs +675 -0
- package/dist/PortfolioAllocationFormPage-B2eqiLH7.js +440 -0
- package/dist/PortfolioAllocationFormPage-DbYj665z.cjs +207 -0
- package/dist/PortfolioDetails-CD3PgBap.js +653 -0
- package/dist/PortfolioDetails-Nt_aJEpZ.cjs +218 -0
- package/dist/ProductsCarousel-2P6_hs62.js +309 -0
- package/dist/ProductsCarousel-CJEwFTY_.cjs +142 -0
- package/dist/PromoBaseCards-ByToaAiv.js +356 -0
- package/dist/PromoBaseCards-CBajy7Qh.cjs +218 -0
- package/dist/QBOConnectionDialog-Ci2TqUw3.cjs +51 -0
- package/dist/QBOConnectionDialog-CkKgmv5k.js +115 -0
- package/dist/QBOSetupSection-BNp3JAZ-.cjs +79 -0
- package/dist/QBOSetupSection-Dkp7fd6G.js +167 -0
- package/dist/ReimbursementApprovalRuleDetailPage-BHOTwZRD.cjs +26 -0
- package/dist/ReimbursementApprovalRuleDetailPage-C3GV4joc.js +247 -0
- package/dist/ReimbursementApprovalRulesPage-CGhlng5C.js +410 -0
- package/dist/ReimbursementApprovalRulesPage-ClcjqS8N.cjs +237 -0
- package/dist/ReimbursementDetailPage-Bs5dFFNQ.js +1511 -0
- package/dist/ReimbursementDetailPage-CH3kDvgN.cjs +314 -0
- package/dist/ReimbursementPromoPage-C1bkbEQ4.js +364 -0
- package/dist/ReimbursementPromoPage-D5_pT2VK.cjs +84 -0
- package/dist/ReimbursementSetUpPage-Ch1OG5TE.cjs +140 -0
- package/dist/ReimbursementSetUpPage-wU3mAcAs.js +666 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-CDSp05zr.js +204 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-D4YRYL_2.cjs +1 -0
- package/dist/ReloadCard-CU92RBtW.js +137 -0
- package/dist/ReloadCard-LHG6PzS_.cjs +26 -0
- package/dist/ReloadContainer-B9JtpJEN.cjs +596 -0
- package/dist/ReloadContainer-q5iLh503.js +2144 -0
- package/dist/ReportTableViewSelector-9FwQz4HU.js +679 -0
- package/dist/ReportTableViewSelector-DwV-P5Ny.cjs +150 -0
- package/dist/ReportsPage-CoILNbTA.js +1315 -0
- package/dist/ReportsPage-DkojLE2Q.cjs +121 -0
- package/dist/RevenueChart-Bt5GyRRZ.js +2239 -0
- package/dist/RevenueChart-PtI6xVfZ.cjs +280 -0
- package/dist/ReviewDetailsPage-Bt-TM1MQ.js +1073 -0
- package/dist/ReviewDetailsPage-CE2QD0fW.cjs +290 -0
- package/dist/ReviewOverlay-BulfEI4l.js +299 -0
- package/dist/ReviewOverlay-TaGscRCF.cjs +152 -0
- package/dist/RoleWithToolTip-CxSZI2zj.cjs +22 -0
- package/dist/RoleWithToolTip-CzoMYPtl.js +72 -0
- package/dist/ScheduleDetailsFixedAssetsPage-CXur6QTu.cjs +37 -0
- package/dist/ScheduleDetailsFixedAssetsPage-kLC3aKFl.js +806 -0
- package/dist/ScheduleDetailsPage-B2dWm2LZ.js +726 -0
- package/dist/ScheduleDetailsPage-CsDwRQDa.cjs +37 -0
- package/dist/ScheduleSequenceTable-Cxly5KiS.cjs +324 -0
- package/dist/ScheduleSequenceTable-qSk-rn8y.js +1261 -0
- package/dist/SetUpAccountSection-BMN-vRnv.js +1470 -0
- package/dist/SetUpAccountSection-BdvrSCbE.cjs +378 -0
- package/dist/SetUpDefaultSection-DDZ8ONLb.js +537 -0
- package/dist/SetUpDefaultSection-DzxLi-VE.cjs +187 -0
- package/dist/SignIn-BHNLT0qA.js +1075 -0
- package/dist/SignIn-Cbr_6_UA.cjs +448 -0
- package/dist/SpendManagementListViewPage-Ckefvub1.js +627 -0
- package/dist/SpendManagementListViewPage-DH5mofiJ.cjs +122 -0
- package/dist/SpendManagementPerTabPage-C39TVuBp.cjs +754 -0
- package/dist/SpendManagementPerTabPage-TBb-I5tu.js +2735 -0
- package/dist/SpendManagementSection-B0C4tQ8W.cjs +230 -0
- package/dist/SpendManagementSection-Dr8BR9Jk.js +1043 -0
- package/dist/SpendMgmtSetupAccountSection-D2XtVRok.cjs +206 -0
- package/dist/SpendMgmtSetupAccountSection-DQ1xajyl.js +875 -0
- package/dist/StatementItem-BD2Z11GQ.js +81 -0
- package/dist/StatementItem-DL8ujs-m.cjs +31 -0
- package/dist/StatementsPage-CPVb1E2H.cjs +58 -0
- package/dist/StatementsPage-CyTpWS2V.js +130 -0
- package/dist/StatusSwitcher-CK4EHYaT.js +319 -0
- package/dist/StatusSwitcher-CtDYKfG6.cjs +120 -0
- package/dist/SubTabSwitcher-BxYpbnXf.cjs +58 -0
- package/dist/SubTabSwitcher-Cg9Om7Rz.js +113 -0
- package/dist/SuccessAnimation-Cpvi_EKK.js +52 -0
- package/dist/SuccessAnimation-O12_xleb.cjs +13 -0
- package/dist/SummaryCard-Dj-CG0HL.cjs +1 -0
- package/dist/SummaryCard-kYo7obVe.js +25 -0
- package/dist/TaskDetailPage-CNHhvovG.cjs +775 -0
- package/dist/TaskDetailPage-DiH5pxHu.js +2533 -0
- package/dist/TaskListRow-BngYsFDs.cjs +556 -0
- package/dist/TaskListRow-CjxiDmb7.js +1950 -0
- package/dist/TaskManagementPage-DHVX61t1.cjs +508 -0
- package/dist/TaskManagementPage-WJXKYMGa.js +1935 -0
- package/dist/TimeRangeSwitcher-BrOydOhE.cjs +64 -0
- package/dist/TimeRangeSwitcher-CWItlOkP.js +265 -0
- package/dist/TimeframeSwitcher-Dx0OFpfO.cjs +31 -0
- package/dist/TimeframeSwitcher-DyymROQ3.js +103 -0
- package/dist/TimeframeSwitcherWithToggle-B66AxXnA.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-CLJROV-M.js +157 -0
- package/dist/TopExCard-QZWKkb5h.cjs +38 -0
- package/dist/TopExCard-pth8JBrB.js +568 -0
- package/dist/TopExDetailPage-BxFlS-np.cjs +132 -0
- package/dist/TopExDetailPage-CXyQ5zdf.js +318 -0
- package/dist/TransactionDetailPage-BQuRMqqK.cjs +912 -0
- package/dist/TransactionDetailPage-BRdUEvDb.js +5238 -0
- package/dist/TransactionList-BAW-a6bl.cjs +147 -0
- package/dist/TransactionList-BkvKH115.js +558 -0
- package/dist/TransactionListBig-DNtZdBg9.cjs +284 -0
- package/dist/TransactionListBig-b-vDRfes.js +658 -0
- package/dist/TransactionListPage-94VX3Gqt.cjs +35 -0
- package/dist/TransactionListPage-ChnRnP-I.js +144 -0
- package/dist/TransactionVendorDetailPage-BI-zSTuo.cjs +80 -0
- package/dist/TransactionVendorDetailPage-tzYG-Kog.js +425 -0
- package/dist/TransferDrawerPage-B0HNAGQC.js +1435 -0
- package/dist/TransferDrawerPage-z9Yaickj.cjs +362 -0
- package/dist/TreasuryOverviewPage-CH2EKDNY.js +1890 -0
- package/dist/TreasuryOverviewPage-m5cgZxnR.cjs +708 -0
- package/dist/TreasuryPromoPage-Csn6dSvK.js +1122 -0
- package/dist/TreasuryPromoPage-DQNNUV_H.cjs +505 -0
- package/dist/TreasurySetupPage-26frypq2.js +683 -0
- package/dist/TreasurySetupPage-BD9bFSlU.cjs +144 -0
- package/dist/TreasuryStatementsPage-BMBJ9v7N.js +131 -0
- package/dist/TreasuryStatementsPage-D-4qB1hJ.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-RcPkmavx.js +131 -0
- package/dist/TreasuryTaxLetterPage-kA2YiBIl.cjs +58 -0
- package/dist/TreasuryTransferOrReviewPage-CoWEQCdf.cjs +576 -0
- package/dist/TreasuryTransferOrReviewPage-gMSSRTCk.js +1938 -0
- package/dist/TrendChart-ChmKe2Fp.js +333 -0
- package/dist/TrendChart-Dhnw82A6.cjs +16 -0
- package/dist/TrendWithTransactions-B3B_eDUt.js +346 -0
- package/dist/TrendWithTransactions-leZghp80.cjs +116 -0
- package/dist/UncategorizedAccountsMappingPage-BWczhaOh.js +1160 -0
- package/dist/UncategorizedAccountsMappingPage-CwmEzKX6.cjs +244 -0
- package/dist/UnitIntegrationPage-Kc_5mNzw.cjs +67 -0
- package/dist/UnitIntegrationPage-M4kHuGSH.js +405 -0
- package/dist/UploadAdditionalDocumentOverlay-2uoTgADE.js +211 -0
- package/dist/UploadAdditionalDocumentOverlay-B6gKn2kD.cjs +38 -0
- package/dist/Vendor2FAPopup-NCEz2T_a.js +69 -0
- package/dist/Vendor2FAPopup-YFGQSE1I.cjs +1 -0
- package/dist/VendorACHDetailsPage-CG_WD6Wr.js +43 -0
- package/dist/VendorACHDetailsPage-RLzBL72-.cjs +1 -0
- package/dist/VendorDetailPage-DhO-aBMf.cjs +257 -0
- package/dist/VendorDetailPage-_7-tkeNh.js +1236 -0
- package/dist/VendorDomesticWireDetailsPage-BXYjMTrZ.js +53 -0
- package/dist/VendorDomesticWireDetailsPage-C35cHwMo.cjs +1 -0
- package/dist/VendorFiling1099EditablePage-BxEDLwZT.js +842 -0
- package/dist/VendorFiling1099EditablePage-C93nbZCn.cjs +175 -0
- package/dist/VendorFirstReviewPage-BuvRAFu9.cjs +730 -0
- package/dist/VendorFirstReviewPage-LTyO3vzu.js +2748 -0
- package/dist/VendorInternationalWireDetailsPage-DiemzCFP.cjs +152 -0
- package/dist/VendorInternationalWireDetailsPage-ibfkNbKt.js +968 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-BK37dGR_.js +52 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-CsKTp2QG.cjs +1 -0
- package/dist/VendorsAccountsSection-D5NZABRE.js +279 -0
- package/dist/VendorsAccountsSection-ncl8yojX.cjs +68 -0
- package/dist/VerifyDevice-BB8epZF9.js +298 -0
- package/dist/VerifyDevice-CxZIkNUh.cjs +112 -0
- package/dist/VideoPlayer-BhhGFkQy.cjs +77 -0
- package/dist/VideoPlayer-CkjhWG7O.js +169 -0
- package/dist/VideoPopup-C8uSuwl5.js +60 -0
- package/dist/VideoPopup-NuhTUIGZ.cjs +31 -0
- package/dist/WarningsDrawerPage-C2hft8DH.js +228 -0
- package/dist/WarningsDrawerPage-COYKV1Ug.cjs +92 -0
- package/dist/ZeniAccountDetailPage-B_rK1Wp5.js +907 -0
- package/dist/ZeniAccountDetailPage-xvo0zYPV.cjs +300 -0
- package/dist/ZeniAccountListViewPage-B0Xlhzfr.cjs +441 -0
- package/dist/ZeniAccountListViewPage-Du7vYtQB.js +1078 -0
- package/dist/ZeniAccountNavBarPieces-DcW6WtPy.cjs +14 -0
- package/dist/ZeniAccountNavBarPieces-fxx1McpI.js +89 -0
- package/dist/ZeniAccountPromoPage-BXfQGIcj.js +523 -0
- package/dist/ZeniAccountPromoPage-Cm-GmpuB.cjs +184 -0
- package/dist/ZeniAccountSetupPage-CeUExEMH.js +312 -0
- package/dist/ZeniAccountSetupPage-Dnr9a9Yu.cjs +36 -0
- package/dist/ZeniAvatar-3jNeOB9H.cjs +13 -0
- package/dist/ZeniAvatar-jam-I3Ng.js +34 -0
- package/dist/ZeniCopyright-Bp7W5xxE.cjs +1 -0
- package/dist/ZeniCopyright-bbS23XIr.js +9 -0
- package/dist/ZeniDatePicker-DcKBPwg8.cjs +187 -0
- package/dist/ZeniDatePicker-Dw5tQytS.js +386 -0
- package/dist/ZeniTransferAmountSlider-BdwhMN4m.js +215 -0
- package/dist/ZeniTransferAmountSlider-Bput3yg7.cjs +63 -0
- package/dist/analyticsHelper-B3YoCJXa.cjs +1 -0
- package/dist/analyticsHelper-DQXr_0N3.js +65 -0
- package/dist/appLocale.d.ts +2 -0
- package/dist/calculateSize-VAChmt-T.js +22 -0
- package/dist/calculateSize-noA2g7kO.cjs +1 -0
- package/dist/chartTypes-BHFhETDi.js +47 -0
- package/dist/chartTypes-zKHv-TnX.cjs +1 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-C_-ucD6S.cjs +1 -0
- package/dist/common-DlMquC5r.js +22 -0
- package/dist/commonDimensions-BJ4Cka81.cjs +1 -0
- package/dist/commonDimensions-XntDJCoa.js +13 -0
- package/dist/detailCommon-pEIKIa_l.js +124 -0
- package/dist/detailCommon-v7SJ_ZOV.cjs +38 -0
- package/dist/downloadPdf-CbOTo5Lc.js +32 -0
- package/dist/downloadPdf-Dow84b8r.cjs +1 -0
- package/dist/index-D4PXma22.cjs +19239 -0
- package/dist/index-oeut1pIL.js +85948 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-CXI41pov.cjs +1 -0
- package/dist/mapLoadingInProgressToTreeNode-D6877c76.js +25 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-B0IMbpHK.js +388 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-CljJuOKo.cjs +1 -0
- package/dist/mapSpacerToTreeNode-BGyQBtrT.cjs +1 -0
- package/dist/mapSpacerToTreeNode-uHEw-f6A.js +25 -0
- package/dist/mapTimeframeBalancesToTreeNode-B119U8CN.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-CqgMxgbC.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-D6Ky7vGN.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-DoLu9zgD.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BQGJEM9N.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-Dgj5Xl6i.js +32 -0
- package/dist/sectionColor-BWV5mTz-.cjs +1 -0
- package/dist/sectionColor-D5OibLm0.js +32 -0
- package/dist/strings/strings-en-in.d.ts +2 -0
- package/dist/strings/strings.d.ts +2 -0
- package/dist/toCOABalancesWithID-7dhwT5Wq.js +8 -0
- package/dist/toCOABalancesWithID-DdN_K6pD.cjs +1 -0
- package/dist/toChartData-CKnrMCPb.js +76 -0
- package/dist/toChartData-D1Nchmtk.cjs +1 -0
- package/dist/treasuryColorHelper-AuK0MhX9.js +60 -0
- package/dist/treasuryColorHelper-dWB4LxUX.cjs +1 -0
- package/dist/uploadAttachment-COYoBDpI.cjs +286 -0
- package/dist/uploadAttachment-Df6yugWD.js +952 -0
- package/dist/zeniDatePicker.helpers-BsCB9n5f.cjs +1 -0
- package/dist/zeniDatePicker.helpers-C5bwMIGa.js +14 -0
- package/package.json +1 -1
- package/dist/ACHDetailsPage-DRTKGZRg.js +0 -160
- package/dist/ACHDetailsPage-x2GsUB6i.cjs +0 -21
- package/dist/AIPerformancePage-BiJJjrhT.js +0 -1333
- package/dist/AIPerformancePage-bsGX4Fta.cjs +0 -530
- package/dist/AccountInfoPage-Dv6BwsYO.cjs +0 -18
- package/dist/AccountInfoPage-vGRLLjSJ.js +0 -78
- package/dist/AccountInfoPageContent-97TAUxBk.js +0 -428
- package/dist/AccountInfoPageContent-Bu8wBE63.cjs +0 -149
- package/dist/AccountLockedInfoModal-CkxVn3nI.js +0 -125
- package/dist/AccountLockedInfoModal-DIGqW1tZ.cjs +0 -59
- package/dist/AccountReconDetailsDrawerPage-CTU_OscW.js +0 -686
- package/dist/AccountReconDetailsDrawerPage-DuceYU-v.cjs +0 -239
- package/dist/AccountRow-B2VWoEkH.js +0 -1009
- package/dist/AccountRow-CdlSr6QU.cjs +0 -298
- package/dist/AccountsPromoCardStack-D08wmO3g.cjs +0 -207
- package/dist/AccountsPromoCardStack-D8NIRk_P.js +0 -664
- package/dist/AddAddressForCardDrawer-B8m8AQA9.cjs +0 -6
- package/dist/AddAddressForCardDrawer-C6N0d3LK.js +0 -82
- package/dist/AddToWalletPage-SSr5sRrt.js +0 -643
- package/dist/AddToWalletPage-fggcDU22.cjs +0 -344
- package/dist/AgingReportsPage-fTLucZvY.js +0 -827
- package/dist/AgingReportsPage-n2uogKI8.cjs +0 -79
- package/dist/AllUserItems-BBtoXNrS.js +0 -979
- package/dist/AllUserItems-D5sP4phg.cjs +0 -192
- package/dist/ApAgingDetailPage-De7fdEYM.js +0 -239
- package/dist/ApAgingDetailPage-wdvRuBkL.cjs +0 -46
- package/dist/AppBasePage-COIvXPv-.js +0 -120
- package/dist/AppBasePage-pkiJuwSD.cjs +0 -71
- package/dist/AppDrawerContent-DPN9fgfF.js +0 -375
- package/dist/AppDrawerContent-NxLmg5NI.cjs +0 -91
- package/dist/ApprovalRulesSettingsPage-Dcozr1Rv.cjs +0 -47
- package/dist/ApprovalRulesSettingsPage-DouiWyKl.js +0 -146
- package/dist/ArAgingChart-DRNid67E.cjs +0 -24
- package/dist/ArAgingChart-DmgIO4SI.js +0 -529
- package/dist/ArAgingDetailPage-BcRw1SMk.js +0 -243
- package/dist/ArAgingDetailPage-CJsDosXw.cjs +0 -46
- package/dist/AttachmentView-1EWAhMUQ.cjs +0 -101
- package/dist/AttachmentView-Dvac1N-l.js +0 -260
- package/dist/BankAccountSection-BsXTBaXq.js +0 -398
- package/dist/BankAccountSection-DIObNxCK.cjs +0 -79
- package/dist/BankAccountWarningSection-1-6WtT61.cjs +0 -51
- package/dist/BankAccountWarningSection-D-HBbAL2.js +0 -110
- package/dist/BankConnectionsSettingsPage-CY2U1yaZ.cjs +0 -425
- package/dist/BankConnectionsSettingsPage-D0Y6qZ_2.js +0 -1695
- package/dist/BillDetailPage-BHS3oE-T.cjs +0 -266
- package/dist/BillDetailPage-dx30mbdz.js +0 -1798
- package/dist/BillPayApprovalRuleDetailPage-C__2Q0h4.cjs +0 -27
- package/dist/BillPayApprovalRuleDetailPage-Dw8W_Luw.js +0 -247
- package/dist/BillPayApprovalRulesPage-DNo4soZj.cjs +0 -235
- package/dist/BillPayApprovalRulesPage-D_4JPSqH.js +0 -415
- package/dist/BillPayPromoPage-C9GnqQma.js +0 -293
- package/dist/BillPayPromoPage-VpXTSUMB.cjs +0 -84
- package/dist/BillPaySetUpPage-BFbDYBNO.cjs +0 -42
- package/dist/BillPaySetUpPage-DcOcEzGu.js +0 -412
- package/dist/BillingSettingsPage-1DO-gpJ3.js +0 -336
- package/dist/BillingSettingsPage-DS29URxa.cjs +0 -44
- package/dist/BillsBulkReviewDrawerPage-CU2BlGRM.cjs +0 -1
- package/dist/BillsBulkReviewDrawerPage-D2_xZy5W.js +0 -216
- package/dist/BoxItem-CqPG9w-F.cjs +0 -53
- package/dist/BoxItem-DCpL-Qsv.js +0 -118
- package/dist/BusinessVerificationPage-BbF4Vnda.js +0 -717
- package/dist/BusinessVerificationPage-CdcGNI7l.cjs +0 -138
- package/dist/BusyIndication-CbiDEq0g.js +0 -18
- package/dist/BusyIndication-FUyW2d2Y.cjs +0 -9
- package/dist/CardNumberSubText-CPjMRY-i.js +0 -57
- package/dist/CardNumberSubText-DT3hPqGR.cjs +0 -21
- package/dist/CashbackDetailPage-CWZdG_2L.cjs +0 -285
- package/dist/CashbackDetailPage-DRs48lki.js +0 -824
- package/dist/ChargeCardDetailPage-DyukbgmU.js +0 -5762
- package/dist/ChargeCardDetailPage-y-CAQkcp.cjs +0 -1813
- package/dist/ChargeCardListPage-B8TNuNmN.cjs +0 -406
- package/dist/ChargeCardListPage-FW6iIwGV.js +0 -1775
- package/dist/ChargeCardListTable-BWUgqVpC.cjs +0 -711
- package/dist/ChargeCardListTable-Di_JUGvM.js +0 -2849
- package/dist/ChargeCardPromoPage-B0wyhL7T.cjs +0 -222
- package/dist/ChargeCardPromoPage-V5I32kB7.js +0 -806
- package/dist/ChargeCardSetupPage-BDOymqEh.cjs +0 -36
- package/dist/ChargeCardSetupPage-bCTtavZY.js +0 -362
- package/dist/ChargeCardStatementsPage-CY6JAmGo.cjs +0 -60
- package/dist/ChargeCardStatementsPage-taKmW351.js +0 -243
- package/dist/ChargeCardUtils-CuCE8WUR.js +0 -102
- package/dist/ChargeCardUtils-HvEWuBU9.cjs +0 -1
- package/dist/ChaseOverlay-BZ5XTEQ4.cjs +0 -170
- package/dist/ChaseOverlay-CxZiC1U_.js +0 -402
- package/dist/CheckDepositDrawerPage-Dahv_Htm.cjs +0 -206
- package/dist/CheckDepositDrawerPage-apQH1q1L.js +0 -726
- package/dist/CollapsableReportTable-DBbtedVp.js +0 -11743
- package/dist/CollapsableReportTable-VlxiGEJb.cjs +0 -2932
- package/dist/CompanyOfficerDetailsSection-CP5NbL9_.cjs +0 -260
- package/dist/CompanyOfficerDetailsSection-DlrJ7APF.js +0 -1633
- package/dist/CompanyPassportCard-CSXq3o27.js +0 -146
- package/dist/CompanyPassportCard-Cifl8MW8.cjs +0 -42
- package/dist/CompanyPassportPage-Do_5vOYt.js +0 -2160
- package/dist/CompanyPassportPage-Drk_ePGs.cjs +0 -574
- package/dist/CompleteProfile-EcsZv2yu.cjs +0 -52
- package/dist/CompleteProfile-Obmdzvii.js +0 -301
- package/dist/ConfettiBurst-BbOnYxGF.cjs +0 -1
- package/dist/ConfettiBurst-DJ042kFU.js +0 -37
- package/dist/CreateOrEditVendorPage-BFvLEKuD.js +0 -755
- package/dist/CreateOrEditVendorPage-tNiqeA0G.cjs +0 -281
- package/dist/CreditCardPaymentDrawerPage-BdeSppz2.cjs +0 -224
- package/dist/CreditCardPaymentDrawerPage-DjUsTinZ.js +0 -1171
- package/dist/CreditCardPaymentPlgSection-aSz8bfzl.js +0 -196
- package/dist/CreditCardPaymentPlgSection-hGcxzaAs.cjs +0 -78
- package/dist/CurrencySelectField-Bwc9lmJi.js +0 -348
- package/dist/CurrencySelectField-DDS5adnZ.cjs +0 -139
- package/dist/CustomerOnboardingActivationPage-DRV0g2L1.js +0 -143
- package/dist/CustomerOnboardingActivationPage-P1e7xNVR.cjs +0 -88
- package/dist/CustomerOnboardingContainerPage-BYR2xHSk.js +0 -7
- package/dist/CustomerOnboardingContainerPage-DqmYtYcG.cjs +0 -1
- package/dist/CustomerOnboardingDetailPageSkeleton-BMRKxzsK.cjs +0 -162
- package/dist/CustomerOnboardingDetailPageSkeleton-CE_5Hnb9.js +0 -434
- package/dist/CustomerOnboardingNoStepsPage-CXtEfJVc.js +0 -425
- package/dist/CustomerOnboardingNoStepsPage-Cea0O2xQ.cjs +0 -66
- package/dist/CustomerOnboardingPage-BzBZ9Qpg.js +0 -1060
- package/dist/CustomerOnboardingPage-DowuLdHi.cjs +0 -107
- package/dist/CustomerOnboardingProductSuitePage-B07wnsTN.js +0 -349
- package/dist/CustomerOnboardingProductSuitePage-CvA8goY4.cjs +0 -202
- package/dist/Dashboard-Dj1cTLEk.js +0 -5531
- package/dist/Dashboard-Oa52L-KD.cjs +0 -1551
- package/dist/DashboardReportPage-BfwvkaoD.cjs +0 -371
- package/dist/DashboardReportPage-DyVFKDvv.js +0 -2536
- package/dist/DashboardSidebarBackgroundAnimation-D5BZins_.cjs +0 -12
- package/dist/DashboardSidebarBackgroundAnimation-DNj32SjF.js +0 -50
- package/dist/DepositAccTransactionItem-Ce_UlmI_.cjs +0 -76
- package/dist/DepositAccTransactionItem-XKpj9eEZ.js +0 -112
- package/dist/DepositAccTransactionListPage-BFTtix6Q.js +0 -152
- package/dist/DepositAccTransactionListPage-QAb226my.cjs +0 -66
- package/dist/DomesticWireDetailsPage-Bs8WVy9P.cjs +0 -21
- package/dist/DomesticWireDetailsPage-CLKK8sNe.js +0 -189
- package/dist/DownloadOverlay-B4GX4TFb.js +0 -2148
- package/dist/DownloadOverlay-BwuzrE8e.cjs +0 -439
- package/dist/DrawerPage-DNTVH3KW.cjs +0 -118
- package/dist/DrawerPage-DgPyM_vI.js +0 -208
- package/dist/EditPeoplePage-BdHL0mIK.cjs +0 -55
- package/dist/EditPeoplePage-DSjAt1nK.js +0 -392
- package/dist/EditReimbursementDetailPage-C1qqm3m-.cjs +0 -865
- package/dist/EditReimbursementDetailPage-Cs1Au5CN.js +0 -4461
- package/dist/EmptySearchResults-BOOL9gNM.cjs +0 -46
- package/dist/EmptySearchResults-DlV3p0wJ.js +0 -70
- package/dist/EntityDetailPage-CaqI8inQ.cjs +0 -18
- package/dist/EntityDetailPage-D-4lZ0Qr.js +0 -82
- package/dist/EntitySummarySection-BH7oSZE2.cjs +0 -149
- package/dist/EntitySummarySection-Q7GVe951.js +0 -530
- package/dist/ExpenseAutomationOverviewPage-BmCkHHAt.js +0 -689
- package/dist/ExpenseAutomationOverviewPage-D-sXpUs1.cjs +0 -228
- package/dist/ExpenseAutomationPage-CefPPbut.js +0 -11496
- package/dist/ExpenseAutomationPage-Nqw-QYXt.cjs +0 -1650
- package/dist/ExpressPayPage-B-CNNasY.cjs +0 -168
- package/dist/ExpressPayPage-DFg_BAq9.js +0 -1136
- package/dist/FeaturePreviewPage-C0wh9-Zf.cjs +0 -11
- package/dist/FeaturePreviewPage-C9cuVphN.js +0 -114
- package/dist/FollowStepsSection-DYyRp5PN.js +0 -1313
- package/dist/FollowStepsSection-DdjJGqk2.cjs +0 -390
- package/dist/GlobalReviewListPage-BeHSST5R.js +0 -1674
- package/dist/GlobalReviewListPage-DwZtRNfA.cjs +0 -291
- package/dist/HelpButton-D15CWyoU.js +0 -81
- package/dist/HelpButton-DEUF2cV8.cjs +0 -28
- package/dist/InformationCardStack-CpepKNDf.cjs +0 -31
- package/dist/InformationCardStack-rUHWngrM.js +0 -219
- package/dist/InsightsCardStack-BrkeIVbT.cjs +0 -79
- package/dist/InsightsCardStack-CFJ4Jvat.js +0 -305
- package/dist/InsightsSection-DID-lCow.js +0 -97
- package/dist/InsightsSection-NV2da8LQ.cjs +0 -27
- package/dist/IntegrationsSettingsPage-DLsOZnlK.cjs +0 -57
- package/dist/IntegrationsSettingsPage-Dr-ydIs2.js +0 -137
- package/dist/InternationalWireSwiftDetailsPage-CaPXbVZ8.js +0 -753
- package/dist/InternationalWireSwiftDetailsPage-Cx1YWELs.cjs +0 -171
- package/dist/InternationalWireVerificationPage-s6Zgl1Hf.js +0 -877
- package/dist/InternationalWireVerificationPage-tEXhVA5g.cjs +0 -292
- package/dist/InviteFormPage-s9WZzeC2.cjs +0 -312
- package/dist/InviteFormPage-usETKZTN.js +0 -873
- package/dist/InvitePageListView-B1cv1VUM.js +0 -1764
- package/dist/InvitePageListView-cC8S3_81.cjs +0 -739
- package/dist/InvitePeoplePage-Bd35FUiF.js +0 -286
- package/dist/InvitePeoplePage-CVYAOM6L.cjs +0 -12
- package/dist/InvoiceUploadSection-CEZ4nNnj.js +0 -465
- package/dist/InvoiceUploadSection-CQ-I0s7O.cjs +0 -140
- package/dist/IssueChargeCardPage-BFdbMIkR.js +0 -2875
- package/dist/IssueChargeCardPage-DOB2SWOZ.cjs +0 -532
- package/dist/LabeledAddressValue-BBFgWhG5.js +0 -115
- package/dist/LabeledAddressValue-CAntKaf4.cjs +0 -49
- package/dist/LabeledAddressValueField-Bpdu_9zx.cjs +0 -45
- package/dist/LabeledAddressValueField-IiXXbZHV.js +0 -130
- package/dist/LabeledControlledCheckBoxField-B4Jzs1P3.js +0 -73
- package/dist/LabeledControlledCheckBoxField-Ch3tCvMA.cjs +0 -16
- package/dist/LabeledCreatableSingleSelectField-CnJ8vVAs.cjs +0 -204
- package/dist/LabeledCreatableSingleSelectField-DSYo_hqM.js +0 -515
- package/dist/LabeledDocumentField-BL3SiwZn.js +0 -147
- package/dist/LabeledDocumentField-BiWZdB90.cjs +0 -41
- package/dist/LabeledDropDownFormattedTextField-D0-BQcsg.js +0 -163
- package/dist/LabeledDropDownFormattedTextField-g7zE2kCA.cjs +0 -59
- package/dist/LabeledEmailInputField-BOtM_N2l.js +0 -425
- package/dist/LabeledEmailInputField-dvbJ5cDy.cjs +0 -182
- package/dist/LabeledItemWithButton-7l1kEIcV.cjs +0 -21
- package/dist/LabeledItemWithButton-HWATdX1G.js +0 -74
- package/dist/LabeledNameField-BrXWv-nb.js +0 -293
- package/dist/LabeledNameField-DOWqu7YG.cjs +0 -141
- package/dist/LabeledSingleSelectField-BUbX2gtv.cjs +0 -136
- package/dist/LabeledSingleSelectField-mohKkYUu.js +0 -372
- package/dist/LabeledSingleSelectWithoutClearableField-CVTZA57K.cjs +0 -38
- package/dist/LabeledSingleSelectWithoutClearableField-Cj5MybS1.js +0 -103
- package/dist/LabeledText-BnxMOmt2.js +0 -103
- package/dist/LabeledText-CEvvGpyz.cjs +0 -42
- package/dist/LabeledUserSingleSelectWithSubtitlesField-Cam-U7V6.js +0 -572
- package/dist/LabeledUserSingleSelectWithSubtitlesField-DZr98CgN.cjs +0 -229
- package/dist/LabeledZeniRolesDropDownField-D1DZB0p_.cjs +0 -297
- package/dist/LabeledZeniRolesDropDownField-D6qcibh_.js +0 -975
- package/dist/LinkJETransactionPage-Db6gueZ5.cjs +0 -98
- package/dist/LinkJETransactionPage-DbgShBVx.js +0 -406
- package/dist/LockCardPage-Cxo2om5_.js +0 -1894
- package/dist/LockCardPage-bvuMcwv5.cjs +0 -574
- package/dist/LowBalancePopup-BkgfL9m6.js +0 -219
- package/dist/LowBalancePopup-DX5eFl_F.cjs +0 -34
- package/dist/MagicLinkACHDetailsPage-B8wcch8z.js +0 -39
- package/dist/MagicLinkACHDetailsPage-N8EE__st.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-CHAb9ZFh.js +0 -44
- package/dist/MagicLinkDomesticWireDetailsPage-DwqoCs8j.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-C3nMzps1.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-Nq-r1QYD.js +0 -43
- package/dist/MagicLinkSuccessPage-CpIJq4vB.cjs +0 -31
- package/dist/MagicLinkSuccessPage-D44nl1gY.js +0 -59
- package/dist/MagicLinkTitleSection-C2v2uxKO.js +0 -40
- package/dist/MagicLinkTitleSection-CA1pOxlZ.cjs +0 -17
- package/dist/MailingDetailsSection-B65R6xJD.cjs +0 -21
- package/dist/MailingDetailsSection-BwvXwj_0.js +0 -74
- package/dist/MatchingOperatorDropdown-9Jvk2IYA.js +0 -572
- package/dist/MatchingOperatorDropdown-DzbV27kr.cjs +0 -130
- package/dist/MeetingCalenderPopup-B2BtdHWQ.js +0 -60
- package/dist/MeetingCalenderPopup-Dm_Sm_EV.cjs +0 -26
- package/dist/Menu-BTNO1N-S.js +0 -110
- package/dist/Menu-DXJOus2k.cjs +0 -17
- package/dist/MoreMenuButton-DAoQYNYG.js +0 -569
- package/dist/MoreMenuButton-DGpoBn_z.cjs +0 -167
- package/dist/MyBankConnectionsSettingsPage-48i0NfNf.cjs +0 -110
- package/dist/MyBankConnectionsSettingsPage-j_LG9Fpe.js +0 -297
- package/dist/MyPendingActivationChargeCardListPage-C_80cLWW.cjs +0 -6
- package/dist/MyPendingActivationChargeCardListPage-WZ3ppUZo.js +0 -168
- package/dist/MyProfileSettingsPage-BJ3rkZ9p.cjs +0 -85
- package/dist/MyProfileSettingsPage-DI9uhnIs.js +0 -641
- package/dist/NavBarWithPicker-C5fjaG1x.js +0 -106
- package/dist/NavBarWithPicker-Df02mrNC.cjs +0 -30
- package/dist/NavigationArrow-BkZsLL_7.cjs +0 -47
- package/dist/NavigationArrow-DDTODvpX.js +0 -88
- package/dist/NavigationDots-BzsOb3Jn.cjs +0 -15
- package/dist/NavigationDots-tnEUZ7xP.js +0 -44
- package/dist/NewGlobalMerchantPage-BPQYmWJ-.js +0 -543
- package/dist/NewGlobalMerchantPage-DLKGrkWO.cjs +0 -160
- package/dist/NoDataChart-DBTNZsVI.js +0 -58
- package/dist/NoDataChart-DTPC_8gy.cjs +0 -26
- package/dist/NoDataTable-BFlVzpML.js +0 -27
- package/dist/NoDataTable-CYT92yBR.cjs +0 -8
- package/dist/NotFoundPage-BasDE0gN.js +0 -71
- package/dist/NotFoundPage-CzFHrWvw.cjs +0 -46
- package/dist/NotificationSettingsPage-7axENLlk.js +0 -541
- package/dist/NotificationSettingsPage-CYkZwk75.cjs +0 -163
- package/dist/NotificationsListConfig-Dw-HElRu.cjs +0 -1
- package/dist/NotificationsListConfig-y7FmH6TQ.js +0 -10
- package/dist/NotificationsPage-RI6hGPlC.js +0 -2664
- package/dist/NotificationsPage-Vs3T1n8f.cjs +0 -685
- package/dist/OpExByVendorPage-CGue0TWc.js +0 -1057
- package/dist/OpExByVendorPage-DMlWPU82.cjs +0 -100
- package/dist/PandLWithForecastPage-CkIMsxoi.cjs +0 -107
- package/dist/PandLWithForecastPage-DnATiuw8.js +0 -563
- package/dist/PaymentAccountSetupBillingAddressSection-CUGDNaP6.cjs +0 -106
- package/dist/PaymentAccountSetupBillingAddressSection-Cr96MmoG.js +0 -623
- package/dist/PeoplePage-8AcvEzig.js +0 -1994
- package/dist/PeoplePage-CAfH_KDP.cjs +0 -675
- package/dist/PortfolioAllocationFormPage-Cz8BzeZO.js +0 -440
- package/dist/PortfolioAllocationFormPage-Dw2p1P3v.cjs +0 -207
- package/dist/PortfolioDetails-Bz6ikI-l.cjs +0 -218
- package/dist/PortfolioDetails-NRVc1Lc9.js +0 -653
- package/dist/ProductsCarousel-BeCd-6cX.cjs +0 -142
- package/dist/ProductsCarousel-CRrVr2Rv.js +0 -309
- package/dist/PromoBaseCards-BMKAIK7i.cjs +0 -218
- package/dist/PromoBaseCards-D-C0emey.js +0 -356
- package/dist/QBOConnectionDialog-9YDCkzlw.js +0 -115
- package/dist/QBOConnectionDialog-CqOsdj-_.cjs +0 -51
- package/dist/QBOSetupSection-CmKoL_Pz.cjs +0 -79
- package/dist/QBOSetupSection-rgJXipJM.js +0 -167
- package/dist/ReimbursementApprovalRuleDetailPage-BCX1rmDQ.cjs +0 -26
- package/dist/ReimbursementApprovalRuleDetailPage-oBzjhPEJ.js +0 -247
- package/dist/ReimbursementApprovalRulesPage-C5IO5W4m.js +0 -410
- package/dist/ReimbursementApprovalRulesPage-CDv6zrpo.cjs +0 -237
- package/dist/ReimbursementDetailPage-C69MkEDv.cjs +0 -314
- package/dist/ReimbursementDetailPage-C8DQeaua.js +0 -1511
- package/dist/ReimbursementPromoPage-CtRsX6Dw.cjs +0 -84
- package/dist/ReimbursementPromoPage-cWdwGvJb.js +0 -364
- package/dist/ReimbursementSetUpPage-BCjSUzkH.cjs +0 -140
- package/dist/ReimbursementSetUpPage-CjPLHA2M.js +0 -666
- package/dist/ReimbursementsBulkReviewDrawerPage-CwnJAIis.js +0 -204
- package/dist/ReimbursementsBulkReviewDrawerPage-DL1Fs60T.cjs +0 -1
- package/dist/ReloadCard-B1uGjQ77.cjs +0 -26
- package/dist/ReloadCard-Bo_mLUCB.js +0 -137
- package/dist/ReloadContainer-BVfH0qI4.cjs +0 -596
- package/dist/ReloadContainer-CNPJLFhs.js +0 -2144
- package/dist/ReportTableViewSelector-4F3OMJXz.cjs +0 -150
- package/dist/ReportTableViewSelector-CcLxXexl.js +0 -679
- package/dist/ReportsPage-BRqtxAbM.js +0 -1315
- package/dist/ReportsPage-BflH60Ps.cjs +0 -121
- package/dist/RevenueChart-9RLz-ID4.cjs +0 -280
- package/dist/RevenueChart-BMqM38-O.js +0 -2239
- package/dist/ReviewDetailsPage-BeXgVGy_.js +0 -1073
- package/dist/ReviewDetailsPage-DjsGgajY.cjs +0 -290
- package/dist/ReviewOverlay-CQpxXMfh.cjs +0 -152
- package/dist/ReviewOverlay-DBaDP1Pp.js +0 -299
- package/dist/RoleWithToolTip-CBBWeNSt.js +0 -72
- package/dist/RoleWithToolTip-CKxQna5S.cjs +0 -22
- package/dist/ScheduleDetailsFixedAssetsPage-Dqwapygl.cjs +0 -37
- package/dist/ScheduleDetailsFixedAssetsPage-w5m2s-gk.js +0 -806
- package/dist/ScheduleDetailsPage-BjCcNbAn.js +0 -726
- package/dist/ScheduleDetailsPage-oTsc2m2B.cjs +0 -37
- package/dist/ScheduleSequenceTable-BJg_2pl7.cjs +0 -324
- package/dist/ScheduleSequenceTable-DwBjIGGI.js +0 -1261
- package/dist/SetUpAccountSection-B5SNk0uE.js +0 -1470
- package/dist/SetUpAccountSection-nEbPchU5.cjs +0 -378
- package/dist/SetUpDefaultSection-BnPulEBm.cjs +0 -187
- package/dist/SetUpDefaultSection-CEdPofhe.js +0 -537
- package/dist/SignIn-CDL-ObqR.js +0 -1075
- package/dist/SignIn-RC49VkUZ.cjs +0 -448
- package/dist/SpendManagementListViewPage-CA8k5wTt.js +0 -627
- package/dist/SpendManagementListViewPage-CSzgpaiw.cjs +0 -122
- package/dist/SpendManagementPerTabPage-BuDeB-05.js +0 -2735
- package/dist/SpendManagementPerTabPage-f5o0GeZ5.cjs +0 -754
- package/dist/SpendManagementSection-BiERXt9F.js +0 -1043
- package/dist/SpendManagementSection-CzwUfFWO.cjs +0 -230
- package/dist/SpendMgmtSetupAccountSection-Baz3sHbZ.js +0 -875
- package/dist/SpendMgmtSetupAccountSection-CxHxQ7pM.cjs +0 -206
- package/dist/StatementItem-BQs62QbA.js +0 -81
- package/dist/StatementItem-BaavcClp.cjs +0 -31
- package/dist/StatementsPage-Begsfsr7.cjs +0 -58
- package/dist/StatementsPage-C_hWVaO6.js +0 -130
- package/dist/StatusSwitcher-BJFf2Nkh.js +0 -319
- package/dist/StatusSwitcher-DnZi-iKS.cjs +0 -120
- package/dist/SubTabSwitcher-BjhIngs3.js +0 -113
- package/dist/SubTabSwitcher-Cheiv0tG.cjs +0 -58
- package/dist/SuccessAnimation-Bbi9vbSU.js +0 -52
- package/dist/SuccessAnimation-DcVd_L32.cjs +0 -13
- package/dist/SummaryCard-BkRL0ye6.js +0 -25
- package/dist/SummaryCard-DTdAHxmQ.cjs +0 -1
- package/dist/TaskDetailPage-CERot2LS.js +0 -2533
- package/dist/TaskDetailPage-p6qRTNiU.cjs +0 -775
- package/dist/TaskListRow-DEo7ed5_.cjs +0 -556
- package/dist/TaskListRow-NWZwl8eK.js +0 -1950
- package/dist/TaskManagementPage-BaIric_w.cjs +0 -508
- package/dist/TaskManagementPage-LiP5i_NP.js +0 -1935
- package/dist/TimeRangeSwitcher-DUj6iFnl.js +0 -265
- package/dist/TimeRangeSwitcher-vyS9YwvM.cjs +0 -64
- package/dist/TimeframeSwitcher-DcIsXNOv.cjs +0 -31
- package/dist/TimeframeSwitcher-DjhuUk0r.js +0 -103
- package/dist/TimeframeSwitcherWithToggle-11xkzWa9.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-qS-VH4U7.js +0 -157
- package/dist/TopExCard-CLSn_l4b.cjs +0 -38
- package/dist/TopExCard-Ds0ub5YB.js +0 -568
- package/dist/TopExDetailPage-C1NZZ2fo.js +0 -318
- package/dist/TopExDetailPage-Wa811K1x.cjs +0 -132
- package/dist/TransactionDetailPage-JBI0ByL2.cjs +0 -912
- package/dist/TransactionDetailPage-ScbXmUz9.js +0 -5238
- package/dist/TransactionList-uCQJm816.js +0 -558
- package/dist/TransactionList-z0t_8Mf2.cjs +0 -147
- package/dist/TransactionListBig-9_HEm5CO.js +0 -658
- package/dist/TransactionListBig-BN0chbjP.cjs +0 -284
- package/dist/TransactionListPage-1Zkephm9.js +0 -144
- package/dist/TransactionListPage-C7KSsG7e.cjs +0 -35
- package/dist/TransactionVendorDetailPage-BGwbznZy.cjs +0 -80
- package/dist/TransactionVendorDetailPage-Bl1XCZGJ.js +0 -425
- package/dist/TransferDrawerPage-BmPVaAmQ.cjs +0 -362
- package/dist/TransferDrawerPage-DPA8KVO6.js +0 -1435
- package/dist/TreasuryOverviewPage-C38sIhEr.cjs +0 -708
- package/dist/TreasuryOverviewPage-mPpfPA7Z.js +0 -1890
- package/dist/TreasuryPromoPage-4l7di9sm.cjs +0 -505
- package/dist/TreasuryPromoPage-PiF6acWi.js +0 -1122
- package/dist/TreasurySetupPage-BfDJ9DSl.cjs +0 -144
- package/dist/TreasurySetupPage-ta9rUN1_.js +0 -683
- package/dist/TreasuryStatementsPage-BRE6jD-v.js +0 -131
- package/dist/TreasuryStatementsPage-Cm5UciDy.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-5oC3f6qJ.js +0 -131
- package/dist/TreasuryTaxLetterPage-C21ubR1L.cjs +0 -58
- package/dist/TreasuryTransferOrReviewPage-419wqnsW.cjs +0 -576
- package/dist/TreasuryTransferOrReviewPage-DEo3yKVs.js +0 -1938
- package/dist/TrendChart-B0NeWV-Q.js +0 -333
- package/dist/TrendChart-CFUkcpXo.cjs +0 -16
- package/dist/TrendWithTransactions-cjSmNRV7.cjs +0 -116
- package/dist/TrendWithTransactions-gjzB97Tt.js +0 -346
- package/dist/UncategorizedAccountsMappingPage-D8fnhxYc.cjs +0 -244
- package/dist/UncategorizedAccountsMappingPage-DnYGTz8z.js +0 -1160
- package/dist/UnitIntegrationPage-CvxupJIq.js +0 -405
- package/dist/UnitIntegrationPage-DAKlWmCM.cjs +0 -67
- package/dist/UploadAdditionalDocumentOverlay-DUmoex5M.js +0 -211
- package/dist/UploadAdditionalDocumentOverlay-rC7S1ZdU.cjs +0 -38
- package/dist/Vendor2FAPopup-CebhGkPb.js +0 -69
- package/dist/Vendor2FAPopup-Cz92jWrG.cjs +0 -1
- package/dist/VendorACHDetailsPage-4YGo6l5M.js +0 -43
- package/dist/VendorACHDetailsPage-l4XLoraq.cjs +0 -1
- package/dist/VendorDetailPage-D06byQE2.js +0 -1236
- package/dist/VendorDetailPage-JyU2QoBA.cjs +0 -257
- package/dist/VendorDomesticWireDetailsPage-ZTqYthNm.cjs +0 -1
- package/dist/VendorDomesticWireDetailsPage-jRbIT9Kr.js +0 -53
- package/dist/VendorFiling1099EditablePage-DqqsinhP.cjs +0 -175
- package/dist/VendorFiling1099EditablePage-DxnN_R-C.js +0 -842
- package/dist/VendorFirstReviewPage-CYDa3rKf.cjs +0 -730
- package/dist/VendorFirstReviewPage-aZ5f1AbI.js +0 -2748
- package/dist/VendorInternationalWireDetailsPage-DyFkJUEt.js +0 -968
- package/dist/VendorInternationalWireDetailsPage-f6dQySn4.cjs +0 -152
- package/dist/VendorInternationalWireSwiftDetailsPage-BJLjmJTG.js +0 -52
- package/dist/VendorInternationalWireSwiftDetailsPage-CtG9bzHg.cjs +0 -1
- package/dist/VendorsAccountsSection-CrjEjuBq.js +0 -279
- package/dist/VendorsAccountsSection-DoxoUYWE.cjs +0 -68
- package/dist/VerifyDevice-BzYrDLyF.js +0 -298
- package/dist/VerifyDevice-CyKTSa7g.cjs +0 -112
- package/dist/VideoPlayer-D6fiBssa.cjs +0 -77
- package/dist/VideoPlayer-DlAz8P4k.js +0 -169
- package/dist/VideoPopup-1jecjRVb.js +0 -60
- package/dist/VideoPopup-C1b77ypq.cjs +0 -31
- package/dist/WarningsDrawerPage-DGLEGLCW.cjs +0 -92
- package/dist/WarningsDrawerPage-t0t6HBEt.js +0 -228
- package/dist/ZeniAccountDetailPage-DRMYlE37.js +0 -907
- package/dist/ZeniAccountDetailPage-V5Q7MgRO.cjs +0 -300
- package/dist/ZeniAccountListViewPage-DhYgrHPh.js +0 -1078
- package/dist/ZeniAccountListViewPage-l9OlfcPI.cjs +0 -441
- package/dist/ZeniAccountNavBarPieces--uqyWGWx.cjs +0 -14
- package/dist/ZeniAccountNavBarPieces-CXK-KO3W.js +0 -89
- package/dist/ZeniAccountPromoPage-BV8TRezW.cjs +0 -184
- package/dist/ZeniAccountPromoPage-CoxXYrbJ.js +0 -523
- package/dist/ZeniAccountSetupPage-B4G8vJle.js +0 -312
- package/dist/ZeniAccountSetupPage-DF-KnBag.cjs +0 -36
- package/dist/ZeniAvatar-B-ypO2fw.cjs +0 -13
- package/dist/ZeniAvatar-Ye6EyvI4.js +0 -34
- package/dist/ZeniCopyright-B3pSkJCw.cjs +0 -1
- package/dist/ZeniCopyright-BurjfYg0.js +0 -9
- package/dist/ZeniDatePicker-DNKKVAyx.cjs +0 -187
- package/dist/ZeniDatePicker-DknY1vT6.js +0 -386
- package/dist/ZeniTransferAmountSlider--Ygv3Lhx.js +0 -215
- package/dist/ZeniTransferAmountSlider-Db0vv1oh.cjs +0 -63
- package/dist/analyticsHelper-B44wCnpQ.cjs +0 -1
- package/dist/analyticsHelper-C3CI4FAW.js +0 -65
- package/dist/calculateSize-0iFS7h32.cjs +0 -1
- package/dist/calculateSize-BqQyUFVw.js +0 -22
- package/dist/chartTypes-DwBc5o5D.cjs +0 -1
- package/dist/chartTypes-WMAN0IBH.js +0 -47
- package/dist/common-BOmplg9n.js +0 -22
- package/dist/common-CnOtZojZ.cjs +0 -1
- package/dist/commonDimensions-BfnsVyFP.cjs +0 -1
- package/dist/commonDimensions-hj9DIV8r.js +0 -13
- package/dist/detailCommon-CsEvc8RF.cjs +0 -38
- package/dist/detailCommon-DGcQj4tn.js +0 -124
- package/dist/downloadPdf-3PUDRYjd.cjs +0 -1
- package/dist/downloadPdf-B5Oarutk.js +0 -32
- package/dist/index-BOnRXllM.cjs +0 -19239
- package/dist/index-tqMNQjSm.js +0 -85944
- package/dist/mapLoadingInProgressToTreeNode-CaGCmV81.cjs +0 -1
- package/dist/mapLoadingInProgressToTreeNode-dXbGenu-.js +0 -25
- package/dist/mapSectionWithAcOnlyToTreeNode-BhMuMA7u.js +0 -388
- package/dist/mapSectionWithAcOnlyToTreeNode-DmZd2pmE.cjs +0 -1
- package/dist/mapSpacerToTreeNode-BetfRxYq.js +0 -25
- package/dist/mapSpacerToTreeNode-BfPcmHrg.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode--OD05GHy.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-C4HoGcMZ.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-DUCM_-vY.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-tSFoZ7PC.js +0 -24
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-CSYTwkbz.js +0 -32
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-Cvoj9G5V.cjs +0 -1
- package/dist/sectionColor-CsnxC9Xz.js +0 -32
- package/dist/sectionColor-D9XrjOWG.cjs +0 -1
- package/dist/toCOABalancesWithID-D4-TzjBp.js +0 -8
- package/dist/toCOABalancesWithID-raMi-Pv1.cjs +0 -1
- package/dist/toChartData-Bp_yJ7Xu.js +0 -76
- package/dist/toChartData-kOJoV9bK.cjs +0 -1
- package/dist/treasuryColorHelper-BQIfK835.cjs +0 -1
- package/dist/treasuryColorHelper-D6dEtjUK.js +0 -60
- package/dist/uploadAttachment-Bh4WYdCP.cjs +0 -286
- package/dist/uploadAttachment-DTxp6Nd5.js +0 -952
- package/dist/zeniDatePicker.helpers-Crtwa8pE.cjs +0 -1
- package/dist/zeniDatePicker.helpers-DK7DmEd9.js +0 -14
|
@@ -0,0 +1,2144 @@
|
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import ut, { useState as L, useEffect as T, useRef as K, useContext as Oe, useMemo as Ne, useCallback as V } from "react";
|
|
3
|
+
import { j as t, u as Re, b as Pe, k as pt, C as mt, b6 as g, b7 as ht, b8 as ue, b9 as we, ba as P, bb as pe, bc as ge, bd as $e, be as ve, bf as X, bg as gt, bh as ye, bi as xt, bj as ft, bk as Ct, bl as kt, bm as Et, bn as bt, bo as Nt, bp as yt, bq as Lt } from "./vendor-.pnpm-BZbZ6JJC.js";
|
|
4
|
+
import d from "@emotion/styled";
|
|
5
|
+
import { S as r, a as J, ft as Tt, G as De, A as nt, C as H, ai as wt, v as $t, s as vt, p as ke, E as jt, u as rt, R as Le, av as Mt, aj as St, P as _t, J as At, D as ee, aQ as Ot, b as Rt, T as Ie, fu as st, a4 as Dt, N as xe, fv as me, fw as It, fx as Ht, fy as je, fz as Pt, t as Me, M as Wt, fA as Ft, fB as Bt, ep as zt, Z as Y, a3 as Ut, aq as Vt, j as Yt, x as Gt } from "./index-oeut1pIL.js";
|
|
6
|
+
import { S as Xt } from "./SuccessAnimation-Cpvi_EKK.js";
|
|
7
|
+
import { zeniDate as We, dateNow as it } from "@zeniai/client-epic-state";
|
|
8
|
+
import { S as qt } from "./clock-CJkylEKt.js";
|
|
9
|
+
import { L as Kt } from "./LabeledEmailInputField-DjqipTA3.js";
|
|
10
|
+
import { useCreateThread as Jt } from "@liveblocks/react";
|
|
11
|
+
import { Composer as Qt } from "@liveblocks/react-ui";
|
|
12
|
+
import { Global as Zt, css as eo, keyframes as to } from "@emotion/react";
|
|
13
|
+
import { createPortal as oo } from "react-dom";
|
|
14
|
+
import { S as no } from "./undo-b_3XZ5CX.js";
|
|
15
|
+
import { g as ro } from "./zeniDatePicker.helpers-C5bwMIGa.js";
|
|
16
|
+
const lr = (e, n) => {
|
|
17
|
+
const [o, s] = L(!1);
|
|
18
|
+
return T(() => {
|
|
19
|
+
let a;
|
|
20
|
+
return e && !o ? s(!0) : !e && o && (a = setTimeout(() => s(!1), n)), () => clearTimeout(a);
|
|
21
|
+
}, [e, n, o]), o;
|
|
22
|
+
}, {
|
|
23
|
+
common: { texts: so }
|
|
24
|
+
} = J.getLocalizedStrings();
|
|
25
|
+
function ar({
|
|
26
|
+
coords: e,
|
|
27
|
+
alignment: n = "top",
|
|
28
|
+
style: o,
|
|
29
|
+
onClick: s
|
|
30
|
+
}) {
|
|
31
|
+
return /* @__PURE__ */ t.jsx(
|
|
32
|
+
io,
|
|
33
|
+
{
|
|
34
|
+
style: {
|
|
35
|
+
top: e.top,
|
|
36
|
+
left: e.left,
|
|
37
|
+
...n === "top" ? { transform: `translateY(calc(-100% - ${r.sp1}))` } : { transform: `translateX(calc(-100% - ${r.sp1}))` },
|
|
38
|
+
userSelect: "none",
|
|
39
|
+
...o
|
|
40
|
+
},
|
|
41
|
+
onClick: (a) => {
|
|
42
|
+
a.stopPropagation(), s();
|
|
43
|
+
},
|
|
44
|
+
children: /* @__PURE__ */ t.jsxs(lo, { children: [
|
|
45
|
+
/* @__PURE__ */ t.jsx(ao, {}),
|
|
46
|
+
/* @__PURE__ */ t.jsx(co, { children: so.addComment })
|
|
47
|
+
] })
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
const io = d.div`
|
|
52
|
+
position: absolute;
|
|
53
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
54
|
+
border: 1px solid ${(e) => e.theme.colors.grey3};
|
|
55
|
+
padding: ${r.sp1} ${r.sp0};
|
|
56
|
+
border-radius: ${r.sp2};
|
|
57
|
+
z-index: 5;
|
|
58
|
+
width: max-content;
|
|
59
|
+
top: ${r.sp7};
|
|
60
|
+
box-shadow: ${(e) => `${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.grey1}3D`};
|
|
61
|
+
`, lo = d.div`
|
|
62
|
+
color: ${(e) => e.theme.colors.hero};
|
|
63
|
+
height: ${r.sp6};
|
|
64
|
+
padding: ${r.sp0} ${r.sp3};
|
|
65
|
+
&:hover {
|
|
66
|
+
color: ${(e) => e.theme.colors.primary};
|
|
67
|
+
background-color: ${(e) => e.theme.colors.background};
|
|
68
|
+
}
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
`, ao = d(Tt)`
|
|
73
|
+
color: inherit;
|
|
74
|
+
margin-right: ${r.sp2};
|
|
75
|
+
height: ${r.sp3};
|
|
76
|
+
width: ${r.sp3};
|
|
77
|
+
`, co = d(De)`
|
|
78
|
+
color: inherit;
|
|
79
|
+
`, lt = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M9.95093 16.1016V9.94922C9.95093 8.59078 10.6425 7.48828 12.0017 7.48828C13.361 7.48828 14.0525 8.59078 14.0525 9.94922V17.7422C14.0525 19.7815 12.8097 21.4336 10.7712 21.4336C8.73276 21.4336 7.48999 19.7815 7.48999 17.7422V7.48828C7.48999 4.76977 9.28401 2.56641 12.0017 2.56641C14.7194 2.56641 16.5134 4.76977 16.5134 7.48828V14.8711", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), uo = d.div`
|
|
80
|
+
display: flex;
|
|
81
|
+
min-width: ${r.sp5};
|
|
82
|
+
width: ${r.sp5};
|
|
83
|
+
height: ${r.sp5};
|
|
84
|
+
position: relative;
|
|
85
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
86
|
+
border: ${(e) => `1px solid ${e.theme.colors.grey2}`};
|
|
87
|
+
border-radius: ${r.sp3};
|
|
88
|
+
box-shadow: ${(e) => `${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
89
|
+
align-items: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
color: ${(e) => e.color ?? H.neutralGrey2Light};
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
`, po = d(lt)`
|
|
94
|
+
width: ${r.sp4};
|
|
95
|
+
height: ${r.sp4};
|
|
96
|
+
color: ${(e) => e.theme.colors.primary};
|
|
97
|
+
`, mo = d(wt)`
|
|
98
|
+
width: ${r.sp3};
|
|
99
|
+
height: ${r.sp3};
|
|
100
|
+
color: ${H.important};
|
|
101
|
+
`, Fe = d.div`
|
|
102
|
+
position: absolute;
|
|
103
|
+
top: -${r.sp1};
|
|
104
|
+
right: -${r.sp2};
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
`;
|
|
109
|
+
function cr({
|
|
110
|
+
fileSizeError: e,
|
|
111
|
+
loading: n,
|
|
112
|
+
showAnimation: o = !1,
|
|
113
|
+
setFileSizeError: s
|
|
114
|
+
}) {
|
|
115
|
+
const [a, c] = L(!1);
|
|
116
|
+
return T(() => {
|
|
117
|
+
if (!n && o) {
|
|
118
|
+
c(!0);
|
|
119
|
+
const u = setTimeout(() => c(!1), 2e3);
|
|
120
|
+
return () => clearTimeout(u);
|
|
121
|
+
}
|
|
122
|
+
if (e) {
|
|
123
|
+
const u = setTimeout(() => s(!1), 2e3);
|
|
124
|
+
return () => clearTimeout(u);
|
|
125
|
+
}
|
|
126
|
+
}, [e, n, s, o]), /* @__PURE__ */ t.jsx(uo, { children: n ? /* @__PURE__ */ t.jsx(
|
|
127
|
+
nt,
|
|
128
|
+
{
|
|
129
|
+
size: "Small",
|
|
130
|
+
start: n,
|
|
131
|
+
style: {
|
|
132
|
+
alignItems: "center",
|
|
133
|
+
display: "flex"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
137
|
+
a && o && /* @__PURE__ */ t.jsx(Fe, { children: /* @__PURE__ */ t.jsx(
|
|
138
|
+
Xt,
|
|
139
|
+
{
|
|
140
|
+
shouldDisplay: a,
|
|
141
|
+
width: 20,
|
|
142
|
+
height: 20,
|
|
143
|
+
animationInLoop: !1,
|
|
144
|
+
onAnimationComplete: () => c(!1)
|
|
145
|
+
}
|
|
146
|
+
) }),
|
|
147
|
+
e && /* @__PURE__ */ t.jsx(Fe, { children: /* @__PURE__ */ t.jsx(mo, {}) }),
|
|
148
|
+
/* @__PURE__ */ t.jsx(po, {})
|
|
149
|
+
] }) });
|
|
150
|
+
}
|
|
151
|
+
const ho = d.div`
|
|
152
|
+
flex: none;
|
|
153
|
+
order: 0;
|
|
154
|
+
flex-grow: 0;
|
|
155
|
+
margin-right: 6px;
|
|
156
|
+
`, go = d.div`
|
|
157
|
+
flex: none;
|
|
158
|
+
order: 1;
|
|
159
|
+
flex-grow: 0;
|
|
160
|
+
display: flex;
|
|
161
|
+
align-items: center;
|
|
162
|
+
column-gap: 6px;
|
|
163
|
+
`, xo = d.div`
|
|
164
|
+
flex: none;
|
|
165
|
+
order: 3;
|
|
166
|
+
flex-grow: 0;
|
|
167
|
+
`, fo = d.div`
|
|
168
|
+
margin-right: ${r.sp2};
|
|
169
|
+
`, Co = d(jt)`
|
|
170
|
+
display: flex;
|
|
171
|
+
color: ${(e) => e.theme.colors.hero};
|
|
172
|
+
`, ko = d(ke)`
|
|
173
|
+
color: ${(e) => e.theme.colors.primary};
|
|
174
|
+
`, Eo = d.div`
|
|
175
|
+
display: flex;
|
|
176
|
+
flex-direction: column;
|
|
177
|
+
`, bo = d.div`
|
|
178
|
+
display: flex;
|
|
179
|
+
flex-direction: row;
|
|
180
|
+
`, No = d.img`
|
|
181
|
+
height: ${r.sp4};
|
|
182
|
+
width: ${r.sp4};
|
|
183
|
+
border-radius: 50%;
|
|
184
|
+
justify-content: center;
|
|
185
|
+
color: ${(e) => e.theme.colors.hero};
|
|
186
|
+
`, yo = d.div`
|
|
187
|
+
margin: ${r.sp2} 5px 6px;
|
|
188
|
+
border-radius: 50%;
|
|
189
|
+
width: ${r.sp1};
|
|
190
|
+
height: ${r.sp1};
|
|
191
|
+
background-color: ${(e) => e.theme.colors.grey1};
|
|
192
|
+
order: 2;
|
|
193
|
+
`, dr = ({
|
|
194
|
+
time: e,
|
|
195
|
+
user: n,
|
|
196
|
+
timeStampLabel: o
|
|
197
|
+
}) => {
|
|
198
|
+
const {
|
|
199
|
+
cockpit: s,
|
|
200
|
+
dateFormat: { visual: a },
|
|
201
|
+
timeFormat: c
|
|
202
|
+
} = J.getLocalizedStrings();
|
|
203
|
+
return /* @__PURE__ */ t.jsxs(bo, { children: [
|
|
204
|
+
!!n && /* @__PURE__ */ t.jsx(fo, { children: n?.photo !== void 0 ? /* @__PURE__ */ t.jsx(
|
|
205
|
+
No,
|
|
206
|
+
{
|
|
207
|
+
src: n?.photo.href,
|
|
208
|
+
alt: s.userProfileAltText,
|
|
209
|
+
onError: ({ currentTarget: u }) => {
|
|
210
|
+
u.onerror = null, u.src = $t;
|
|
211
|
+
},
|
|
212
|
+
loading: "lazy"
|
|
213
|
+
}
|
|
214
|
+
) : /* @__PURE__ */ t.jsx(
|
|
215
|
+
vt,
|
|
216
|
+
{
|
|
217
|
+
firstName: n?.firstName ?? "",
|
|
218
|
+
lastName: n?.lastName ?? "",
|
|
219
|
+
size: `${r.sp4}`
|
|
220
|
+
}
|
|
221
|
+
) }),
|
|
222
|
+
/* @__PURE__ */ t.jsxs(Eo, { children: [
|
|
223
|
+
n && /* @__PURE__ */ t.jsx(ko, { children: `${n.firstName} ${n.lastName}` }),
|
|
224
|
+
!!e && /* @__PURE__ */ t.jsxs(Co, { children: [
|
|
225
|
+
o != null ? /* @__PURE__ */ t.jsx(ho, { children: o }) : null,
|
|
226
|
+
e != null && /* @__PURE__ */ t.jsxs(go, { children: [
|
|
227
|
+
/* @__PURE__ */ t.jsx(qt, { width: r.sp3, height: r.sp3 }),
|
|
228
|
+
We(e.toISOString()).format(
|
|
229
|
+
e.year() === it().year() ? a.MMMDFormat : a.MMMDCommaYYYYformat
|
|
230
|
+
)
|
|
231
|
+
] }),
|
|
232
|
+
/* @__PURE__ */ t.jsx(yo, {}),
|
|
233
|
+
e != null && /* @__PURE__ */ t.jsx(xo, { children: We(e.toISOString()).format(c.hhmmAFormat) })
|
|
234
|
+
] })
|
|
235
|
+
] })
|
|
236
|
+
] });
|
|
237
|
+
}, Lo = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M5.20129 8.55841H8.85011", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.20129 11.6004H11.7072", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M16.1623 13.6136V7.20566L16.1668 6.05666C16.1668 5.95589 16.1483 5.85611 16.1123 5.76303C16.0763 5.66994 16.0235 5.58537 15.957 5.51416L12.0839 1.36303C12.0172 1.29154 11.9381 1.23487 11.851 1.19629C11.7638 1.1577 11.6705 1.13796 11.5762 1.13819H2.47558C2.2859 1.13819 2.10398 1.21895 1.96986 1.3627C1.83573 1.50645 1.76038 1.70142 1.76038 1.90472V18.0076C1.76038 18.2109 1.83573 18.4058 1.96986 18.5496C2.10398 18.6934 2.2859 18.7741 2.47558 18.7741H7.60821H15.3642", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M11.2159 1.20715V5.02387C11.2159 5.12591 11.236 5.22694 11.2751 5.32121C11.3141 5.41547 11.3714 5.50113 11.4435 5.57327C11.5157 5.64542 11.6013 5.70265 11.6956 5.7417C11.7898 5.78075 11.8909 5.80084 11.9929 5.80084H15.8088", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.20129 5.5174H8.3145", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.20129 14.6414H8.69612", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M19.4695 22.8615L16.2797 20.9737C15.9998 20.7731 15.7818 20.4979 15.6507 20.1795C15.5196 19.8611 15.4806 19.5123 15.5381 19.1727V17.2044L14.3421 16.0115C14.0743 15.7436 13.9239 15.3803 13.9239 15.0014C13.9239 14.6226 14.0743 14.2593 14.3421 13.9913C14.4085 13.9248 14.4812 13.8648 14.5592 13.8123C14.8341 13.6301 15.1634 13.5484 15.4916 13.581C15.8197 13.6136 16.1266 13.7586 16.3602 13.9913L18.0404 15.6725", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M16.341 8.40369L20.2861 11.8996C20.874 12.7217 21.1899 13.707 21.1898 14.7176V17.0673C21.1888 17.7421 21.4555 18.3898 21.9314 18.8682L22.2396 19.1755", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), he = {
|
|
238
|
+
iconContainerMaxWidthHeight: new Le(ee[6], ee[7]),
|
|
239
|
+
iconContainerMarginRight: new Le(12, ee[3]),
|
|
240
|
+
iconPadding: new Le(10, 12)
|
|
241
|
+
}, To = {
|
|
242
|
+
title: new Mt("standardMedium", "largeMedium")
|
|
243
|
+
}, wo = d.div`
|
|
244
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
245
|
+
border: ${(e) => `1px solid ${e.theme.colors.background}`};
|
|
246
|
+
border-radius: ${r.sp2};
|
|
247
|
+
box-shadow: ${(e) => `${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
248
|
+
padding: ${r.sp3} ${r.sp4};
|
|
249
|
+
display: flex;
|
|
250
|
+
align-items: center;
|
|
251
|
+
cursor: ${(e) => e.disabled ? "not-allowed" : "pointer"};
|
|
252
|
+
pointer-events: ${(e) => e.disabled ? "none" : "auto"};
|
|
253
|
+
&:hover {
|
|
254
|
+
outline: ${(e) => e.disabled ? "none" : `1px solid ${e.theme.colors.primary}`};
|
|
255
|
+
}
|
|
256
|
+
`, $o = d.div`
|
|
257
|
+
display: flex;
|
|
258
|
+
align-items: center;
|
|
259
|
+
column-gap: ${r.sp2};
|
|
260
|
+
justify-content: space-between;
|
|
261
|
+
width: 100%;
|
|
262
|
+
`, vo = d.div`
|
|
263
|
+
display: flex;
|
|
264
|
+
flex-direction: row;
|
|
265
|
+
align-items: center;
|
|
266
|
+
`, jo = d.div`
|
|
267
|
+
display: flex;
|
|
268
|
+
flex-direction: row;
|
|
269
|
+
align-items: flex-start;
|
|
270
|
+
padding: ${(e) => he.iconPadding.valuePx(e.windowSize)};
|
|
271
|
+
background: ${(e) => e.iconColor.toString()};
|
|
272
|
+
border-radius: ${r.sp11};
|
|
273
|
+
width: fit-content;
|
|
274
|
+
height: fit-content;
|
|
275
|
+
color: ${(e) => e.isDarkMode ? H.neutralGrey5Light : e.theme.colors.brandColorOnyx}; // As per design
|
|
276
|
+
max-width: ${(e) => he.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
277
|
+
max-height: ${(e) => he.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
278
|
+
margin-right: ${(e) => he.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
279
|
+
`, Mo = d(Lo)`
|
|
280
|
+
width: ${r.sp4};
|
|
281
|
+
height: ${r.sp4};
|
|
282
|
+
`, So = d.div`
|
|
283
|
+
display: flex;
|
|
284
|
+
flex-direction: row;
|
|
285
|
+
align-items: center;
|
|
286
|
+
justify-content: space-between;
|
|
287
|
+
`, _o = d.div``, Ao = d.div`
|
|
288
|
+
display: flex;
|
|
289
|
+
align-items: center;
|
|
290
|
+
column-gap: ${r.sp2};
|
|
291
|
+
`, Oo = d.div`
|
|
292
|
+
${(e) => `${To.title.style(e.windowSize)}`};
|
|
293
|
+
color: ${(e) => e.theme.colors.primary};
|
|
294
|
+
`, Ro = d(St)`
|
|
295
|
+
color: ${H.brandColorGoldDark};
|
|
296
|
+
`, Do = d.div`
|
|
297
|
+
display: flex;
|
|
298
|
+
align-items: center;
|
|
299
|
+
justify-content: flex-start;
|
|
300
|
+
`, Io = d(_t)`
|
|
301
|
+
color: ${(e) => e.theme.colors.hero};
|
|
302
|
+
`, Ho = d.div`
|
|
303
|
+
display: flex;
|
|
304
|
+
color: ${(e) => e.theme.colors.hero};
|
|
305
|
+
justify-content: flex-end;
|
|
306
|
+
`, Po = d(At)`
|
|
307
|
+
width: ${r.sp4};
|
|
308
|
+
height: ${r.sp4};
|
|
309
|
+
`;
|
|
310
|
+
function ur({
|
|
311
|
+
totalItems: e,
|
|
312
|
+
onClickCustomerRequest: n
|
|
313
|
+
}) {
|
|
314
|
+
const o = J.getLocalizedStrings(), s = Re(), a = rt(), c = s.mode === "light" ? new Pe(s.colors.brandColorJadeLight) : new Pe(s.colors.brandColorJadeDark);
|
|
315
|
+
return /* @__PURE__ */ t.jsx(
|
|
316
|
+
wo,
|
|
317
|
+
{
|
|
318
|
+
disabled: e === 0,
|
|
319
|
+
onClick: e > 0 ? n : void 0,
|
|
320
|
+
children: /* @__PURE__ */ t.jsxs($o, { children: [
|
|
321
|
+
/* @__PURE__ */ t.jsxs(vo, { children: [
|
|
322
|
+
/* @__PURE__ */ t.jsx(
|
|
323
|
+
jo,
|
|
324
|
+
{
|
|
325
|
+
iconColor: c,
|
|
326
|
+
windowSize: a,
|
|
327
|
+
isDarkMode: s.mode === "dark",
|
|
328
|
+
children: /* @__PURE__ */ t.jsx(Mo, { width: r.sp4, height: r.sp4 })
|
|
329
|
+
}
|
|
330
|
+
),
|
|
331
|
+
/* @__PURE__ */ t.jsx(So, { children: /* @__PURE__ */ t.jsxs(_o, { children: [
|
|
332
|
+
/* @__PURE__ */ t.jsxs(Ao, { children: [
|
|
333
|
+
/* @__PURE__ */ t.jsx(Oo, { windowSize: a, children: o.cockpit.monthEndReport.customerRequestSectionTitle }),
|
|
334
|
+
/* @__PURE__ */ t.jsx(Ro, { children: e >= 0 ? `${o.common.strings.openingBrace}${e} ${e > 1 ? o.common.texts.items : o.common.texts.item}${o.common.strings.closingBrace}` : o.common.strings.empty })
|
|
335
|
+
] }),
|
|
336
|
+
/* @__PURE__ */ t.jsx(Do, { children: /* @__PURE__ */ t.jsx(Io, { children: o.cockpit.monthEndReport.customerRequestSectionSubtitle }) })
|
|
337
|
+
] }) })
|
|
338
|
+
] }),
|
|
339
|
+
/* @__PURE__ */ t.jsx(Ho, { windowSize: a, children: /* @__PURE__ */ t.jsx(Po, { width: r.sp4, height: r.sp4 }) })
|
|
340
|
+
] })
|
|
341
|
+
}
|
|
342
|
+
);
|
|
343
|
+
}
|
|
344
|
+
const Wo = d.div`
|
|
345
|
+
display: flex;
|
|
346
|
+
flex-direction: column;
|
|
347
|
+
`, Fo = d.div`
|
|
348
|
+
display: flex;
|
|
349
|
+
flex-direction: column;
|
|
350
|
+
`, Bo = d.div`
|
|
351
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
352
|
+
border: ${(e) => `1px solid ${e.theme.colors.background}`};
|
|
353
|
+
border-top-left-radius: ${r.sp2};
|
|
354
|
+
border-top-right-radius: ${r.sp2};
|
|
355
|
+
box-shadow: ${(e) => `${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
356
|
+
display: flex;
|
|
357
|
+
align-items: center;
|
|
358
|
+
`, zo = d.div`
|
|
359
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
360
|
+
border: ${(e) => `1px solid ${e.theme.colors.background}`};
|
|
361
|
+
border-bottom-left-radius: ${r.sp2};
|
|
362
|
+
border-bottom-right-radius: ${r.sp2};
|
|
363
|
+
box-shadow: ${(e) => `${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
364
|
+
padding: 0;
|
|
365
|
+
display: flex;
|
|
366
|
+
align-items: center;
|
|
367
|
+
`;
|
|
368
|
+
function pr({
|
|
369
|
+
previewMode: e,
|
|
370
|
+
sectionId: n,
|
|
371
|
+
subject: o
|
|
372
|
+
}) {
|
|
373
|
+
const s = J.getLocalizedStrings();
|
|
374
|
+
return /* @__PURE__ */ t.jsx(Wo, { children: /* @__PURE__ */ t.jsxs(Fo, { children: [
|
|
375
|
+
/* @__PURE__ */ t.jsx(Bo, { children: /* @__PURE__ */ t.jsx(
|
|
376
|
+
Kt,
|
|
377
|
+
{
|
|
378
|
+
label: `${s.cockpit.monthEndReport.sendEmailTo}${s.common.strings.colon}`,
|
|
379
|
+
name: Be(n, "recipientEmailList"),
|
|
380
|
+
registerOptions: {
|
|
381
|
+
required: !0,
|
|
382
|
+
disabled: e === !0
|
|
383
|
+
},
|
|
384
|
+
style: {
|
|
385
|
+
paddingTop: r.sp2,
|
|
386
|
+
paddingBottom: r.sp2,
|
|
387
|
+
paddingRight: r.sp2
|
|
388
|
+
},
|
|
389
|
+
description: s.cockpit.monthEndReport.addUserForInsights,
|
|
390
|
+
placeholder: s.cockpit.monthEndReport.addEmailAddress
|
|
391
|
+
}
|
|
392
|
+
) }),
|
|
393
|
+
/* @__PURE__ */ t.jsx(zo, { children: /* @__PURE__ */ t.jsx(
|
|
394
|
+
Ot,
|
|
395
|
+
{
|
|
396
|
+
text: {
|
|
397
|
+
type: "text",
|
|
398
|
+
name: Be(n, "subject"),
|
|
399
|
+
placeholder: s.cockpit.monthEndReport.addSubject,
|
|
400
|
+
defaultValue: o,
|
|
401
|
+
options: {
|
|
402
|
+
required: !0,
|
|
403
|
+
disabled: e === !0
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
label: {
|
|
407
|
+
label: s.common.labels.subject,
|
|
408
|
+
width: 150
|
|
409
|
+
},
|
|
410
|
+
style: { flex: 1 }
|
|
411
|
+
}
|
|
412
|
+
) })
|
|
413
|
+
] }) });
|
|
414
|
+
}
|
|
415
|
+
const Be = (e, n) => `${e}.${n}`, Uo = d.div`
|
|
416
|
+
background-color: ${(e) => e.theme.colors.grey3};
|
|
417
|
+
&:hover {
|
|
418
|
+
background-color: ${(e) => e.theme.colors.primary};
|
|
419
|
+
}
|
|
420
|
+
width: fit-content;
|
|
421
|
+
border-radius: ${r.sp1};
|
|
422
|
+
border-color: ${(e) => e.theme.colors.primary};
|
|
423
|
+
display: flex;
|
|
424
|
+
align-items: center;
|
|
425
|
+
padding: 6px 12px;
|
|
426
|
+
margin-top: ${r.sp3};
|
|
427
|
+
`, Vo = d(ke)`
|
|
428
|
+
margin-right: ${r.sp2};
|
|
429
|
+
overflow: visible;
|
|
430
|
+
text-overflow: ellipsis;
|
|
431
|
+
white-space: nowrap;
|
|
432
|
+
color: ${(e) => e.theme.colors.hero};
|
|
433
|
+
`, Yo = d(ke)`
|
|
434
|
+
color: ${(e) => e.theme.colors.grey1};
|
|
435
|
+
margin-right: ${r.sp2};
|
|
436
|
+
`, Go = d(Rt)`
|
|
437
|
+
width: ${r.sp3};
|
|
438
|
+
height: ${r.sp3};
|
|
439
|
+
background-color: transparent;
|
|
440
|
+
color: ${(e) => e.theme.colors.champion};
|
|
441
|
+
&:hover {
|
|
442
|
+
color: ${(e) => e.theme.colors.grey5};
|
|
443
|
+
}
|
|
444
|
+
border: none;
|
|
445
|
+
cursor: pointer;
|
|
446
|
+
margin-left: auto;
|
|
447
|
+
`, mr = ut.forwardRef(
|
|
448
|
+
({ fileName: e, fileSize: n, onRemove: o, isRemovable: s }, a) => {
|
|
449
|
+
const c = rt();
|
|
450
|
+
return /* @__PURE__ */ t.jsxs(Uo, { className: "attachFileSeparator", ref: a, children: [
|
|
451
|
+
/* @__PURE__ */ t.jsx(Vo, { windowSize: c, children: e }),
|
|
452
|
+
/* @__PURE__ */ t.jsx(Yo, { windowSize: c, children: n }),
|
|
453
|
+
s && /* @__PURE__ */ t.jsx(Go, { onClick: o })
|
|
454
|
+
] });
|
|
455
|
+
}
|
|
456
|
+
), Se = "data-highlight-id";
|
|
457
|
+
function ze({
|
|
458
|
+
rect: e,
|
|
459
|
+
isOpenThread: n,
|
|
460
|
+
threadId: o
|
|
461
|
+
}) {
|
|
462
|
+
return /* @__PURE__ */ t.jsx(
|
|
463
|
+
Xo,
|
|
464
|
+
{
|
|
465
|
+
[Se]: o,
|
|
466
|
+
rect: e,
|
|
467
|
+
isOpenThread: n
|
|
468
|
+
}
|
|
469
|
+
);
|
|
470
|
+
}
|
|
471
|
+
const Xo = d.div`
|
|
472
|
+
position: absolute;
|
|
473
|
+
background: ${(e) => e.isOpenThread ? e.theme.mode === "dark" ? H.alertDark : H.alertLight : e.theme.mode === "dark" ? `${H.alertDark}80` : `${H.alertLight}80`};
|
|
474
|
+
width: ${(e) => e.rect.width}px;
|
|
475
|
+
height: ${(e) => e.rect.height}px;
|
|
476
|
+
top: ${(e) => e.rect.top}px;
|
|
477
|
+
left: ${(e) => e.rect.left}px;
|
|
478
|
+
`, hr = 726, gr = 450, xr = 360, Te = "<!--editorComesHere-->", He = "editor-input", Ue = "month-end-email-header-section", Ee = "month-end-email-editor-section", Ve = "month-end-email-body-section", fr = "monthEndReportCanvas", Ye = ee[3], _e = ee[3], qo = ee[4], Ge = 3, Ko = 2e3, {
|
|
479
|
+
dateFormat: Ce,
|
|
480
|
+
common: {
|
|
481
|
+
strings: { hash: fe, empty: q }
|
|
482
|
+
}
|
|
483
|
+
} = J.getLocalizedStrings(), Jo = (e, n, o) => o.findIndex(
|
|
484
|
+
(s) => s.format(Ce.visual.MMMMFormat) === e && s.format(Ce.visual.YYYYformat) === n
|
|
485
|
+
) > -1, Cr = (e, n) => {
|
|
486
|
+
const o = [];
|
|
487
|
+
for (let s = 11; s >= 0; s--) {
|
|
488
|
+
const a = it().subtract(s, "month"), c = a.format(Ce.visual.MMMMFormat), u = a.format(Ce.visual.YYYYformat), p = ro(c);
|
|
489
|
+
o.push({
|
|
490
|
+
month: p,
|
|
491
|
+
year: e > p ? Number(u) - 1 : Number(u),
|
|
492
|
+
disabled: Jo(c, u, n) === !1
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
return o;
|
|
496
|
+
}, ie = (e, n) => {
|
|
497
|
+
const { startNodeId: o, startPath: s, endPath: a, startOffset: c, endOffset: u } = e;
|
|
498
|
+
if (o == null || s == null || a == null || c == null || u == null)
|
|
499
|
+
return null;
|
|
500
|
+
const i = n && o === Ee ? document.getElementsByClassName(He)[0] : document.getElementById(o);
|
|
501
|
+
if (!(i instanceof HTMLElement))
|
|
502
|
+
return null;
|
|
503
|
+
const h = Qe(
|
|
504
|
+
s.split(",").map((x) => parseInt(x, 10)),
|
|
505
|
+
i
|
|
506
|
+
), E = Qe(
|
|
507
|
+
a.split(",").map((x) => parseInt(x, 10)),
|
|
508
|
+
i
|
|
509
|
+
);
|
|
510
|
+
if (!h || !E)
|
|
511
|
+
return null;
|
|
512
|
+
const f = document.createRange();
|
|
513
|
+
try {
|
|
514
|
+
f.setStart(
|
|
515
|
+
h,
|
|
516
|
+
Math.min(c, h.textContent?.trim().length ?? 0)
|
|
517
|
+
), f.setEnd(
|
|
518
|
+
E,
|
|
519
|
+
Math.min(u, E.textContent?.trim().length ?? 0)
|
|
520
|
+
);
|
|
521
|
+
} catch (x) {
|
|
522
|
+
return console.warn("Failed to set range:", x), null;
|
|
523
|
+
}
|
|
524
|
+
return f;
|
|
525
|
+
}, Ae = (e, n) => ie(e, n)?.getBoundingClientRect().top ?? 0, Xe = (e) => {
|
|
526
|
+
for (; e != null; ) {
|
|
527
|
+
if (e instanceof HTMLElement && (e.id || e.className === He))
|
|
528
|
+
return e;
|
|
529
|
+
e = e.parentElement;
|
|
530
|
+
}
|
|
531
|
+
return null;
|
|
532
|
+
}, kr = () => {
|
|
533
|
+
const e = window.getSelection();
|
|
534
|
+
if (!e || e.rangeCount === 0)
|
|
535
|
+
return null;
|
|
536
|
+
const n = e.getRangeAt(0), { startContainer: o, endContainer: s } = n, a = e.anchorNode?.parentElement?.closest(
|
|
537
|
+
fe + Ee
|
|
538
|
+
), c = Xe(o), u = Xe(s);
|
|
539
|
+
if (!c || !u)
|
|
540
|
+
return null;
|
|
541
|
+
const p = Je(o, c), i = Je(s, u), h = qe(o, n.startOffset), E = qe(s, n.endOffset);
|
|
542
|
+
return {
|
|
543
|
+
startPath: p,
|
|
544
|
+
startOffset: h,
|
|
545
|
+
endPath: i,
|
|
546
|
+
endOffset: E,
|
|
547
|
+
startNodeId: a != null ? a.id : c.id,
|
|
548
|
+
endNodeId: a != null ? a.id : u.id
|
|
549
|
+
};
|
|
550
|
+
}, qe = (e, n) => {
|
|
551
|
+
if (e.nodeType === Node.TEXT_NODE) {
|
|
552
|
+
const o = e.textContent ?? q, s = o.match(/^\s*/)?.[0], a = s?.length != null ? s.length : 0, c = n - a;
|
|
553
|
+
return Math.max(0, Math.min(c, o.trim().length));
|
|
554
|
+
}
|
|
555
|
+
return n;
|
|
556
|
+
}, Ke = (e) => {
|
|
557
|
+
if (e) {
|
|
558
|
+
let n = e;
|
|
559
|
+
for (; n; ) {
|
|
560
|
+
if (n.nodeType === Node.ELEMENT_NODE) {
|
|
561
|
+
const o = n;
|
|
562
|
+
if (o.id)
|
|
563
|
+
return o;
|
|
564
|
+
}
|
|
565
|
+
n = n.parentNode;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
return null;
|
|
569
|
+
}, Je = (e, n) => {
|
|
570
|
+
const o = [];
|
|
571
|
+
let s = e;
|
|
572
|
+
for (; s != null && s !== n; ) {
|
|
573
|
+
const a = s.parentNode;
|
|
574
|
+
if (!a)
|
|
575
|
+
break;
|
|
576
|
+
const u = Array.from(
|
|
577
|
+
a.childNodes
|
|
578
|
+
).filter((p) => !(p.nodeType === Node.ELEMENT_NODE && p.tagName === "BR") && !(p.nodeType === Node.TEXT_NODE && !p.nodeValue?.trim()) && !(p.nodeType === Node.ELEMENT_NODE && window.getComputedStyle(p).display === "none") && !(p.nodeType === Node.ELEMENT_NODE && p.getAttribute("contenteditable") === "false" && p.getAttribute("data-lexical-cursor") === "true") && !(p.nodeType === Node.ELEMENT_NODE && p.tagName === "P" && Array.from(p.childNodes).every(
|
|
579
|
+
(i) => i.nodeType === Node.ELEMENT_NODE && i.tagName === "BR" || i.nodeType === Node.TEXT_NODE && i.nodeValue?.trim() === ""
|
|
580
|
+
)) && // Exclude self-closing or empty <p> tags
|
|
581
|
+
!(p.nodeType === Node.ELEMENT_NODE && p.tagName === "P" && p.childNodes.length === 0) && p.nodeType !== Node.COMMENT_NODE).indexOf(s);
|
|
582
|
+
o.unshift(u), s = a;
|
|
583
|
+
}
|
|
584
|
+
return o;
|
|
585
|
+
}, Qe = (e, n) => {
|
|
586
|
+
let o = n;
|
|
587
|
+
for (const s of e) {
|
|
588
|
+
if (o == null)
|
|
589
|
+
return null;
|
|
590
|
+
o = Array.from(
|
|
591
|
+
o.childNodes
|
|
592
|
+
).filter((c) => !(c.nodeType === Node.ELEMENT_NODE && c.tagName === "BR") && !(c.nodeType === Node.TEXT_NODE && !c.nodeValue?.trim()) && !(c.nodeType === Node.ELEMENT_NODE && window.getComputedStyle(c).display === "none") && !(c.nodeType === Node.ELEMENT_NODE && c.getAttribute("contenteditable") === "false" && c.getAttribute("data-lexical-cursor") === "true") && !(c.nodeType === Node.ELEMENT_NODE && c.tagName === "P" && Array.from(c.childNodes).every(
|
|
593
|
+
(u) => u.nodeType === Node.ELEMENT_NODE && u.tagName === "BR" || u.nodeType === Node.TEXT_NODE && u.nodeValue?.trim() === ""
|
|
594
|
+
)) && // Exclude self-closing or empty <p> tags
|
|
595
|
+
!(c.nodeType === Node.ELEMENT_NODE && c.tagName === "P" && c.childNodes.length === 0) && c.nodeType !== Node.COMMENT_NODE)[s] ?? null;
|
|
596
|
+
}
|
|
597
|
+
return o;
|
|
598
|
+
}, Er = (e, n, o, s, a = !0) => {
|
|
599
|
+
const [c, u] = L([]), [p, i] = L(/* @__PURE__ */ new Set()), h = K([]), E = K(/* @__PURE__ */ new Set()), [f, x] = L(0), j = K(), _ = a ? Ie : st, { threads: z, openThread: b, removeThread: w, setOpenThread: A } = Oe(_), v = Dt(z, e, !1), U = Array.from(v), G = U.map((C) => C[0]).join(","), le = Ne(() => U.map((C) => C[0]), [G]);
|
|
600
|
+
T(() => {
|
|
601
|
+
n.current != null && i(/* @__PURE__ */ new Set([...le]));
|
|
602
|
+
}, [n, le]);
|
|
603
|
+
const [D, ae] = L(!1), [O, te] = L(!1);
|
|
604
|
+
T(() => {
|
|
605
|
+
ae(s);
|
|
606
|
+
}, [s]), T(() => {
|
|
607
|
+
let C = null;
|
|
608
|
+
const m = U.filter(([k]) => E.current.has(k)).filter(([k, { metadata: N }]) => ie(N, o)?.getClientRects()[0] != null).map(([k]) => k);
|
|
609
|
+
return s === !1 && f < Ge ? E.current.size > 0 ? (E.current.size === m.length && m.every(
|
|
610
|
+
(k) => E.current.has(k)
|
|
611
|
+
) && te(!0), C = setInterval(() => {
|
|
612
|
+
x((k) => k + 1);
|
|
613
|
+
}, Ko)) : (te(!1), x(0), C != null && clearInterval(C)) : f >= Ge && C != null && clearInterval(C), () => {
|
|
614
|
+
C && clearInterval(C);
|
|
615
|
+
};
|
|
616
|
+
}, [f, s]);
|
|
617
|
+
const W = Ne(() => U.sort(
|
|
618
|
+
([C, { metadata: m }], [k, { metadata: N }]) => {
|
|
619
|
+
if (s && !D)
|
|
620
|
+
return 0;
|
|
621
|
+
const M = ie(m, o)?.getClientRects()[0], S = ie(N, o)?.getClientRects()[0];
|
|
622
|
+
if (M == null && (E.current = /* @__PURE__ */ new Set([
|
|
623
|
+
...E.current,
|
|
624
|
+
C
|
|
625
|
+
])), S == null && (E.current = /* @__PURE__ */ new Set([
|
|
626
|
+
...E.current,
|
|
627
|
+
k
|
|
628
|
+
])), M) {
|
|
629
|
+
const $ = /* @__PURE__ */ new Set([...E.current]);
|
|
630
|
+
$.delete(C), E.current = /* @__PURE__ */ new Set([...$]);
|
|
631
|
+
}
|
|
632
|
+
if (S) {
|
|
633
|
+
const $ = /* @__PURE__ */ new Set([...E.current]);
|
|
634
|
+
$.delete(k), E.current = /* @__PURE__ */ new Set([...$]);
|
|
635
|
+
}
|
|
636
|
+
if (!M || !S)
|
|
637
|
+
return M ? -1 : S ? 1 : 0;
|
|
638
|
+
const y = M.top - S.top, R = M.left - S.left;
|
|
639
|
+
return y === 0 ? R : y;
|
|
640
|
+
}
|
|
641
|
+
), [
|
|
642
|
+
G,
|
|
643
|
+
p,
|
|
644
|
+
s,
|
|
645
|
+
D,
|
|
646
|
+
O,
|
|
647
|
+
o
|
|
648
|
+
]), oe = V(
|
|
649
|
+
(C, m) => {
|
|
650
|
+
if (b == null)
|
|
651
|
+
return;
|
|
652
|
+
const k = W.findIndex(
|
|
653
|
+
([N]) => N === b
|
|
654
|
+
);
|
|
655
|
+
if (k >= 0) {
|
|
656
|
+
const N = Ae(
|
|
657
|
+
W[k][1].metadata,
|
|
658
|
+
o
|
|
659
|
+
) - m, M = C[k].top;
|
|
660
|
+
if (N - M < 0) {
|
|
661
|
+
const S = N - M;
|
|
662
|
+
b.includes(xe) === !1 && h.current?.[k]?.scrollIntoView({
|
|
663
|
+
behavior: "smooth",
|
|
664
|
+
block: "center",
|
|
665
|
+
inline: "center"
|
|
666
|
+
});
|
|
667
|
+
for (const y of C)
|
|
668
|
+
y.top += S;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
[b, W, o]
|
|
673
|
+
), ne = V(() => {
|
|
674
|
+
if (h.current?.length == null || h.current.length === 0 || !W.length || !n.current?.getBoundingClientRect())
|
|
675
|
+
return;
|
|
676
|
+
j.current = n.current?.getBoundingClientRect();
|
|
677
|
+
const m = j.current?.top ?? 0, k = (y) => Ae(y, o) - m, N = (y, R, $) => y + R + Ye > $, [, { metadata: M }] = W[0], S = [
|
|
678
|
+
{ top: k(M), left: _e }
|
|
679
|
+
];
|
|
680
|
+
for (let y = 1; y < W.length; y++) {
|
|
681
|
+
const R = y - 1, $ = S[R].top, se = h.current[R]?.getBoundingClientRect().height ?? 0, [, { metadata: be }] = W[y], ce = k(be);
|
|
682
|
+
S[y] = {
|
|
683
|
+
top: N($, se, ce) ? $ + se + Ye : ce,
|
|
684
|
+
left: _e
|
|
685
|
+
};
|
|
686
|
+
}
|
|
687
|
+
return oe(S, m), S;
|
|
688
|
+
}, [n, o, W, oe]), Q = V(() => {
|
|
689
|
+
u((C) => {
|
|
690
|
+
const m = ne();
|
|
691
|
+
return m && !pt(C, m) ? m : C;
|
|
692
|
+
});
|
|
693
|
+
}, [ne]), F = Ne(() => new ResizeObserver(Q), [Q]);
|
|
694
|
+
T(() => {
|
|
695
|
+
const C = ne();
|
|
696
|
+
return C && u(C), () => {
|
|
697
|
+
F.disconnect();
|
|
698
|
+
};
|
|
699
|
+
}, [ne, F, W, p, s]), T(() => (window.addEventListener("resize", Q), () => {
|
|
700
|
+
window.removeEventListener("resize", Q);
|
|
701
|
+
}), [Q]);
|
|
702
|
+
const re = V(
|
|
703
|
+
(C) => {
|
|
704
|
+
i((m) => {
|
|
705
|
+
const k = /* @__PURE__ */ new Set([...m]);
|
|
706
|
+
return k.delete(C), k;
|
|
707
|
+
}), w(C), A(null);
|
|
708
|
+
},
|
|
709
|
+
[w, A]
|
|
710
|
+
), Z = V(
|
|
711
|
+
(C) => {
|
|
712
|
+
b == null || C.key !== "Escape" || (b && v.get(b)?.comments.length === 0 ? re(b) : A(null));
|
|
713
|
+
},
|
|
714
|
+
[
|
|
715
|
+
re,
|
|
716
|
+
b,
|
|
717
|
+
A,
|
|
718
|
+
v
|
|
719
|
+
]
|
|
720
|
+
);
|
|
721
|
+
return T(() => (document.addEventListener("keydown", Z), () => {
|
|
722
|
+
document.removeEventListener("keydown", Z);
|
|
723
|
+
}), [Z]), T(() => {
|
|
724
|
+
const C = (m) => {
|
|
725
|
+
if (window.getSelection()?.isCollapsed !== !0)
|
|
726
|
+
return;
|
|
727
|
+
const k = document.elementsFromPoint(m.clientX, m.clientY).find((N) => N.matches(`[${Se}]`))?.getAttribute(Se);
|
|
728
|
+
k != null && A(k);
|
|
729
|
+
};
|
|
730
|
+
return document.addEventListener("click", C), () => document.removeEventListener("click", C);
|
|
731
|
+
}), {
|
|
732
|
+
observer: F,
|
|
733
|
+
sortedThreads: W,
|
|
734
|
+
threadsPositions: c,
|
|
735
|
+
threadsRefs: h,
|
|
736
|
+
sheetContainerBoundingClientRect: j,
|
|
737
|
+
threadsReady: p,
|
|
738
|
+
unresolvedThreadsMap: v,
|
|
739
|
+
setThreadsPositions: u,
|
|
740
|
+
handleRemoveFloatingThread: re
|
|
741
|
+
};
|
|
742
|
+
}, br = (e, n, o) => {
|
|
743
|
+
const [s, a] = L(), [c, u] = L("top"), p = V(() => {
|
|
744
|
+
const i = document.getSelection(), h = i?.anchorNode?.parentElement?.closest(fe + e) != null && i?.focusNode?.parentElement?.closest(fe + e) != null;
|
|
745
|
+
if (!i || i.isCollapsed || h !== !0) {
|
|
746
|
+
a(void 0);
|
|
747
|
+
return;
|
|
748
|
+
}
|
|
749
|
+
if (i.rangeCount > 0) {
|
|
750
|
+
const f = i.getRangeAt(0), x = Ke(f.startContainer), j = Ke(f.endContainer);
|
|
751
|
+
x && j && x.id !== j.id && (f.setEnd(f.startContainer, f.startOffset), i.removeAllRanges(), i.addRange(f));
|
|
752
|
+
}
|
|
753
|
+
if (i.toString().trim().length > 0) {
|
|
754
|
+
const f = i.getRangeAt(0), { top: x, left: j } = f.getClientRects()[0], _ = i.anchorNode?.parentElement?.closest(
|
|
755
|
+
fe + Ee
|
|
756
|
+
);
|
|
757
|
+
u(o && _ ? "left" : "top"), a({
|
|
758
|
+
top: o && _ ? x - 10 : x,
|
|
759
|
+
left: j
|
|
760
|
+
});
|
|
761
|
+
}
|
|
762
|
+
}, [e, o, n]);
|
|
763
|
+
return T(() => (document.addEventListener("selectionchange", p), () => {
|
|
764
|
+
document.removeEventListener("selectionchange", p);
|
|
765
|
+
}), [p]), { coords: s, alignment: c };
|
|
766
|
+
}, Nr = (e) => {
|
|
767
|
+
let n = q;
|
|
768
|
+
const o = Qo(e);
|
|
769
|
+
if (o == null || !o)
|
|
770
|
+
return n;
|
|
771
|
+
if (me.test(o)) {
|
|
772
|
+
const s = me.lastIndex, a = o.substring(0, s).replace("<style>", "<div><style>").replace(
|
|
773
|
+
Te,
|
|
774
|
+
`</div>${Te}`
|
|
775
|
+
).replace(
|
|
776
|
+
o.match(me)?.[0] ?? q,
|
|
777
|
+
"<div>".concat(
|
|
778
|
+
o.match(me)?.[0] ?? q,
|
|
779
|
+
"</div>"
|
|
780
|
+
)
|
|
781
|
+
), c = o.substring(s), u = It.exec(c)?.index, p = `<div id="${Ue}">`.concat(a).concat("</div>");
|
|
782
|
+
let i = q, h = q;
|
|
783
|
+
if (u != null) {
|
|
784
|
+
const E = c.substring(0, u - 1), f = c.substring(u);
|
|
785
|
+
i = `<div id="${Ee}">`.concat(E).concat("</div>"), h = `<div id="${Ve}">`.concat(f).concat("</div>"), n = p.concat(
|
|
786
|
+
i.concat(h)
|
|
787
|
+
);
|
|
788
|
+
} else
|
|
789
|
+
n = p.concat(c);
|
|
790
|
+
} else {
|
|
791
|
+
const s = o.split(
|
|
792
|
+
Te
|
|
793
|
+
), a = s[1] != null ? `<div id="${Ve}">`.concat(s[1]).concat("</div>") : q;
|
|
794
|
+
n = `<div id="${Ue}">`.concat(s[0]).concat("</div>").concat(
|
|
795
|
+
a
|
|
796
|
+
);
|
|
797
|
+
}
|
|
798
|
+
return n;
|
|
799
|
+
}, Qo = (e) => {
|
|
800
|
+
if (e == null)
|
|
801
|
+
return q;
|
|
802
|
+
let n = e.replace(
|
|
803
|
+
Ht,
|
|
804
|
+
`<span class=${je}>`
|
|
805
|
+
);
|
|
806
|
+
const o = /<\/p>/g;
|
|
807
|
+
return n = n.replace(o, "</span>"), n;
|
|
808
|
+
}, Zo = d.div`
|
|
809
|
+
position: relative;
|
|
810
|
+
`, en = d.div``, tn = d.div`
|
|
811
|
+
align-items: center;
|
|
812
|
+
justify-content: center;
|
|
813
|
+
display: flex;
|
|
814
|
+
width: 300px;
|
|
815
|
+
box-sizing: border-box;
|
|
816
|
+
cursor: pointer;
|
|
817
|
+
flex-direction: column;
|
|
818
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
819
|
+
border-radius: ${r.sp2};
|
|
820
|
+
${Me.standardRegular.css};
|
|
821
|
+
`;
|
|
822
|
+
function yr({
|
|
823
|
+
observer: e,
|
|
824
|
+
editorMode: n,
|
|
825
|
+
threadsPositions: o,
|
|
826
|
+
canvasContainerRef: s,
|
|
827
|
+
threadsRefs: a,
|
|
828
|
+
sortedThreads: c,
|
|
829
|
+
unresolvedThreadsMap: u,
|
|
830
|
+
style: p,
|
|
831
|
+
handleRemoveFloatingThread: i
|
|
832
|
+
}) {
|
|
833
|
+
const { openThread: h, removeThread: E, setOpenThread: f } = Oe(Ie), [x, j] = L(h != null), [_, z] = L(
|
|
834
|
+
s.current != null
|
|
835
|
+
);
|
|
836
|
+
T(() => {
|
|
837
|
+
z(s.current != null);
|
|
838
|
+
}, [s.current]);
|
|
839
|
+
const b = s.current?.getBoundingClientRect()?.top ?? 0;
|
|
840
|
+
T(() => {
|
|
841
|
+
h != null && x === !1 && j(!0);
|
|
842
|
+
}, [h]);
|
|
843
|
+
const w = Jt(), A = V(
|
|
844
|
+
({ body: v }, U, G) => {
|
|
845
|
+
U.preventDefault(), U.stopPropagation(), w({
|
|
846
|
+
body: v,
|
|
847
|
+
metadata: G
|
|
848
|
+
}), h != null && (E(h), f(null));
|
|
849
|
+
},
|
|
850
|
+
[w, h, E, f]
|
|
851
|
+
);
|
|
852
|
+
return /* @__PURE__ */ t.jsx(Zo, { style: p, children: c.map(([v, { metadata: U }], G) => {
|
|
853
|
+
if (!ie(U, n) || _ === !1)
|
|
854
|
+
return null;
|
|
855
|
+
const D = u.get(v), ae = h === v;
|
|
856
|
+
return /* @__PURE__ */ t.jsx(
|
|
857
|
+
mt,
|
|
858
|
+
{
|
|
859
|
+
onClickAway: () => {
|
|
860
|
+
h != null && (j(!1), i(h));
|
|
861
|
+
},
|
|
862
|
+
children: /* @__PURE__ */ t.jsx(
|
|
863
|
+
en,
|
|
864
|
+
{
|
|
865
|
+
ref: (O) => {
|
|
866
|
+
a.current && O instanceof Element && (a.current[G] = O, e.observe(O));
|
|
867
|
+
},
|
|
868
|
+
className: "floating-thread-container " + (h === v ? "open " : "") + (v.includes(xe) === !0 ? "new-thread" : ""),
|
|
869
|
+
onClick: (O) => {
|
|
870
|
+
O.stopPropagation(), O.preventDefault();
|
|
871
|
+
},
|
|
872
|
+
style: {
|
|
873
|
+
position: "absolute",
|
|
874
|
+
left: (o[G]?.left ?? 0) + +(ae ? -qo * 2 : _e),
|
|
875
|
+
top: (o[G]?.top ?? Ae(U, n) - b) - ee[6],
|
|
876
|
+
transition: "all 0.8s ease 0.1s",
|
|
877
|
+
transitionProperty: h != null && h.includes(xe) === !1 ? "left, left" : "top, left",
|
|
878
|
+
// The first time the thread gets rendered it's `hidden`, but
|
|
879
|
+
// it has the right height. Once we know its height, we mark it
|
|
880
|
+
// as ready, and we can correctly compute the position of the thread
|
|
881
|
+
// below it.
|
|
882
|
+
visibility: u.has(v) ? "visible" : "hidden"
|
|
883
|
+
},
|
|
884
|
+
children: D != null ? D.id.includes(xe) === !0 ? /* @__PURE__ */ t.jsx(tn, { children: /* @__PURE__ */ t.jsx(
|
|
885
|
+
Qt,
|
|
886
|
+
{
|
|
887
|
+
onComposerSubmit: (O, te) => A(
|
|
888
|
+
O,
|
|
889
|
+
te,
|
|
890
|
+
D.metadata
|
|
891
|
+
),
|
|
892
|
+
onCollapsedChange: (O) => {
|
|
893
|
+
h !== D.id && O === !1 && f(D.id);
|
|
894
|
+
},
|
|
895
|
+
showAttachments: !1,
|
|
896
|
+
defaultCollapsed: !1,
|
|
897
|
+
autoFocus: !0,
|
|
898
|
+
style: { userSelect: "none" }
|
|
899
|
+
}
|
|
900
|
+
) }) : /* @__PURE__ */ t.jsx(
|
|
901
|
+
Pt,
|
|
902
|
+
{
|
|
903
|
+
thread: D,
|
|
904
|
+
showDeleted: !1,
|
|
905
|
+
showActions: !0,
|
|
906
|
+
showReactions: !0,
|
|
907
|
+
indentContent: !0,
|
|
908
|
+
showAttachments: !1,
|
|
909
|
+
autoExpand: h === D.id,
|
|
910
|
+
autoFocus: x,
|
|
911
|
+
style: { width: "300px" },
|
|
912
|
+
textOverrides: {},
|
|
913
|
+
onThreadClick: (O) => f(D.id),
|
|
914
|
+
onReplyElementClick: (O) => {
|
|
915
|
+
O && f(D.id);
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
D.id
|
|
919
|
+
) : null
|
|
920
|
+
}
|
|
921
|
+
)
|
|
922
|
+
},
|
|
923
|
+
v
|
|
924
|
+
);
|
|
925
|
+
}) });
|
|
926
|
+
}
|
|
927
|
+
class at extends g.ParagraphNode {
|
|
928
|
+
__customClass;
|
|
929
|
+
static getType() {
|
|
930
|
+
return "custom-paragraph";
|
|
931
|
+
}
|
|
932
|
+
constructor(n, o) {
|
|
933
|
+
super(o), this.__customClass = n;
|
|
934
|
+
}
|
|
935
|
+
createDOM(n) {
|
|
936
|
+
const o = super.createDOM(n);
|
|
937
|
+
return o.classList.add(this.__customClass), o;
|
|
938
|
+
}
|
|
939
|
+
updateDOM(n, o, s) {
|
|
940
|
+
const a = super.updateDOM(n, o, s);
|
|
941
|
+
return this.__customClass !== n.__customClass && (o.classList.remove(n.__customClass), o.classList.add(this.__customClass)), a;
|
|
942
|
+
}
|
|
943
|
+
exportJSON() {
|
|
944
|
+
return {
|
|
945
|
+
...super.exportJSON(),
|
|
946
|
+
type: "custom-paragraph",
|
|
947
|
+
customClass: this.__customClass
|
|
948
|
+
};
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
function Ze(e) {
|
|
952
|
+
return g.$applyNodeReplacement(new at(e));
|
|
953
|
+
}
|
|
954
|
+
const on = to`
|
|
955
|
+
from {
|
|
956
|
+
background-color: ${H.brandColorGoldLight};
|
|
957
|
+
}
|
|
958
|
+
to {
|
|
959
|
+
background-color: transparent;
|
|
960
|
+
}
|
|
961
|
+
`, nn = () => /* @__PURE__ */ t.jsx(
|
|
962
|
+
Zt,
|
|
963
|
+
{
|
|
964
|
+
styles: eo`
|
|
965
|
+
.lexicalEditor__textBold {
|
|
966
|
+
font-weight: ${Wt.bold};
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
.lexicalEditor__textItalic {
|
|
970
|
+
font-style: ${Ft.italic};
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.lexicalEditor__textUnderline {
|
|
974
|
+
text-decoration: underline;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.lexicalEditor__ol1 {
|
|
978
|
+
padding: 0;
|
|
979
|
+
margin: 0;
|
|
980
|
+
list-style-position: inside;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
.lexicalEditor__ol2 {
|
|
984
|
+
padding: 0;
|
|
985
|
+
margin: 0;
|
|
986
|
+
list-style-type: upper-alpha;
|
|
987
|
+
list-style-position: inside;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.lexicalEditor__ol3 {
|
|
991
|
+
padding: 0;
|
|
992
|
+
margin: 0;
|
|
993
|
+
list-style-type: lower-alpha;
|
|
994
|
+
list-style-position: inside;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.lexicalEditor__ol4 {
|
|
998
|
+
padding: 0;
|
|
999
|
+
margin: 0;
|
|
1000
|
+
list-style-type: upper-roman;
|
|
1001
|
+
list-style-position: inside;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
.lexicalEditor__ol5 {
|
|
1005
|
+
padding: 0;
|
|
1006
|
+
margin: 0;
|
|
1007
|
+
list-style-type: lower-roman;
|
|
1008
|
+
list-style-position: inside;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.lexicalEditor__ul {
|
|
1012
|
+
padding: 0;
|
|
1013
|
+
margin: 0;
|
|
1014
|
+
list-style-position: inside;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
.lexicalEditor__listItem {
|
|
1018
|
+
margin: 0 ${r.sp5};
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
.lexicalEditor__nestedListItem {
|
|
1022
|
+
list-style-type: none;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
.lexicalEditor__nestedListItem:before,
|
|
1026
|
+
.lexicalEditor__nestedListItem:after {
|
|
1027
|
+
display: none;
|
|
1028
|
+
}
|
|
1029
|
+
.highlighted {
|
|
1030
|
+
animation: ${on} 2s ease-in-out;
|
|
1031
|
+
}
|
|
1032
|
+
`
|
|
1033
|
+
}
|
|
1034
|
+
), rn = {
|
|
1035
|
+
link: "editor__link",
|
|
1036
|
+
list: {
|
|
1037
|
+
listitem: "lexicalEditor__listItem",
|
|
1038
|
+
nested: {
|
|
1039
|
+
listitem: "lexicalEditor__nestedListItem"
|
|
1040
|
+
},
|
|
1041
|
+
olDepth: [
|
|
1042
|
+
"lexicalEditor__ol1",
|
|
1043
|
+
"lexicalEditor__ol2",
|
|
1044
|
+
"lexicalEditor__ol3",
|
|
1045
|
+
"lexicalEditor__ol4",
|
|
1046
|
+
"lexicalEditor__ol5"
|
|
1047
|
+
],
|
|
1048
|
+
ul: "lexicalEditor__ul"
|
|
1049
|
+
},
|
|
1050
|
+
text: {
|
|
1051
|
+
bold: "lexicalEditor__textBold",
|
|
1052
|
+
code: "lexicalEditor__textCode",
|
|
1053
|
+
italic: "lexicalEditor__textItalic",
|
|
1054
|
+
underline: "lexicalEditor__textUnderline"
|
|
1055
|
+
}
|
|
1056
|
+
}, sn = [
|
|
1057
|
+
(e) => {
|
|
1058
|
+
const n = Bt.exec(e);
|
|
1059
|
+
return n && {
|
|
1060
|
+
index: n.index,
|
|
1061
|
+
length: n[0].length,
|
|
1062
|
+
text: n[0],
|
|
1063
|
+
url: n[0]
|
|
1064
|
+
};
|
|
1065
|
+
},
|
|
1066
|
+
(e) => {
|
|
1067
|
+
const n = zt.exec(e);
|
|
1068
|
+
return n && {
|
|
1069
|
+
index: n.index,
|
|
1070
|
+
length: n[0].length,
|
|
1071
|
+
text: n[0],
|
|
1072
|
+
url: `mailto:${n[0]}`
|
|
1073
|
+
};
|
|
1074
|
+
}
|
|
1075
|
+
];
|
|
1076
|
+
function ln() {
|
|
1077
|
+
return /* @__PURE__ */ t.jsx(ht.AutoLinkPlugin, { matchers: sn });
|
|
1078
|
+
}
|
|
1079
|
+
function an() {
|
|
1080
|
+
const [e] = ue.useLexicalComposerContext();
|
|
1081
|
+
return T(() => we.registerCodeHighlighting(e), [e]), null;
|
|
1082
|
+
}
|
|
1083
|
+
const cn = () => {
|
|
1084
|
+
const [e] = ue.useLexicalComposerContext();
|
|
1085
|
+
return e.registerCommand(
|
|
1086
|
+
g.PASTE_COMMAND,
|
|
1087
|
+
(n, o) => (o.update(() => {
|
|
1088
|
+
const s = g.$getSelection();
|
|
1089
|
+
if (g.$isRangeSelection(s) && n.type === "beforeinput") {
|
|
1090
|
+
const u = n.dataTransfer?.getData("text/plain");
|
|
1091
|
+
u != null && s.insertText(u);
|
|
1092
|
+
}
|
|
1093
|
+
return !0;
|
|
1094
|
+
}), !0),
|
|
1095
|
+
g.COMMAND_PRIORITY_LOW
|
|
1096
|
+
), null;
|
|
1097
|
+
}, dn = () => {
|
|
1098
|
+
const [e] = ue.useLexicalComposerContext();
|
|
1099
|
+
return e.registerCommand(
|
|
1100
|
+
g.KEY_TAB_COMMAND,
|
|
1101
|
+
(n) => {
|
|
1102
|
+
const o = n;
|
|
1103
|
+
return o.preventDefault(), e.dispatchCommand(
|
|
1104
|
+
o.shiftKey ? g.OUTDENT_CONTENT_COMMAND : g.INDENT_CONTENT_COMMAND,
|
|
1105
|
+
void 0
|
|
1106
|
+
);
|
|
1107
|
+
},
|
|
1108
|
+
g.COMMAND_PRIORITY_EDITOR
|
|
1109
|
+
), null;
|
|
1110
|
+
};
|
|
1111
|
+
function un(e) {
|
|
1112
|
+
const n = e?.getNodes();
|
|
1113
|
+
return n?.length === 0 ? /* @__PURE__ */ new Set([
|
|
1114
|
+
e.anchor.getNode().getParentOrThrow(),
|
|
1115
|
+
e.focus.getNode().getParentOrThrow()
|
|
1116
|
+
]) : new Set(
|
|
1117
|
+
n.map(
|
|
1118
|
+
(o) => g.$isElementNode(o) ? o : o.getParentOrThrow()
|
|
1119
|
+
)
|
|
1120
|
+
);
|
|
1121
|
+
}
|
|
1122
|
+
function pn(e) {
|
|
1123
|
+
const n = g.$getSelection();
|
|
1124
|
+
if (!g.$isRangeSelection(n))
|
|
1125
|
+
return !1;
|
|
1126
|
+
const o = un(n);
|
|
1127
|
+
let s = 0;
|
|
1128
|
+
for (const a of o)
|
|
1129
|
+
if (P.$isListNode(a))
|
|
1130
|
+
s = Math.max(P.$getListDepth(a) + 1, s);
|
|
1131
|
+
else if (P.$isListItemNode(a)) {
|
|
1132
|
+
const c = a.getParent();
|
|
1133
|
+
if (!P.$isListNode(c))
|
|
1134
|
+
throw new Error(
|
|
1135
|
+
"ListMaxIndentLevelPlugin: A ListItemNode must have a ListNode for a parent."
|
|
1136
|
+
);
|
|
1137
|
+
s = Math.max(P.$getListDepth(c) + 1, s);
|
|
1138
|
+
}
|
|
1139
|
+
return s <= e;
|
|
1140
|
+
}
|
|
1141
|
+
function mn({
|
|
1142
|
+
maxDepth: e
|
|
1143
|
+
}) {
|
|
1144
|
+
const [n] = ue.useLexicalComposerContext();
|
|
1145
|
+
return T(() => n.registerCommand(
|
|
1146
|
+
g.INDENT_CONTENT_COMMAND,
|
|
1147
|
+
() => !pn(e ?? 7),
|
|
1148
|
+
g.COMMAND_PRIORITY_HIGH
|
|
1149
|
+
), [n, e]), null;
|
|
1150
|
+
}
|
|
1151
|
+
const hn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M9.74707 6.07052L11.2433 2.02682C11.5032 1.32439 12.4968 1.32439 12.7567 2.02683L14.2529 6.07052C14.8833 7.77389 16.2261 9.1167 17.9295 9.74707L21.9732 11.2433C22.6756 11.5032 22.6756 12.4968 21.9732 12.7567L17.9295 14.2529C16.2261 14.8833 14.8833 16.2261 14.2529 17.9295L12.7567 21.9732C12.4968 22.6756 11.5032 22.6756 11.2433 21.9732L9.74707 17.9295C9.1167 16.2261 7.77389 14.8833 6.07052 14.2529L2.02682 12.7567C1.32439 12.4968 1.32439 11.5032 2.02683 11.2433L6.07052 9.74707C7.77389 9.1167 9.1167 7.77389 9.74707 6.07052Z", fill: "currentColor", stroke: "currentColor", strokeWidth: 1.5 })), gn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M7.60846 2V21.9982", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M7.60847 11.5664H13.2601C14.5285 11.5664 15.7448 11.0626 16.6417 10.1657C17.5385 9.26889 18.0423 8.05252 18.0423 6.7842C18.0423 5.51589 17.5385 4.29952 16.6417 3.40269C15.7448 2.50585 14.5285 2.00201 13.2601 2.00201H5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M13.2601 11.5661H14.5644C15.948 11.5661 17.2749 12.1157 18.2533 13.0941C19.2317 14.0725 19.7813 15.3994 19.7813 16.783C19.7813 18.1667 19.2317 19.4936 18.2533 20.472C17.2749 21.4503 15.948 22 14.5644 22H5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), xn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M3.78525 5H20.7448", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M4.67783 9.46301H19.8522", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 13.9261H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.57047 18.3891H18.9596", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), fn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M22.375 3H13", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M22.375 9H13", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M22.375 15H13", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M18.1562 21H13", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M3.48409 8L7.7924 11.8119C7.81051 11.8279 7.82501 11.8477 7.83494 11.8698C7.84487 11.8918 7.85001 11.9158 7.85001 11.94C7.85001 11.9642 7.84487 11.9882 7.83494 12.0102C7.82501 12.0323 7.81051 12.0521 7.7924 12.0681L3.48409 15.88", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Cn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M18.9595 1.5L5.57042 22.03", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 22.03H9.14086", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M15.3891 1.5H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), kn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M0.979614 5H23.0204", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M0.979614 9.31012H23.0204", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M0.979614 13.8163H23.0204", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M0.979614 18.1265H23.0204", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" })), En = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M2 5H19.8522", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 9.46301H16.2817", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 13.9261H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 18.3891H18.9596", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), bn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M13.6039 13.8557C13.6039 14.3291 13.792 14.7832 14.1268 15.118C14.4616 15.4528 14.9157 15.6409 15.3891 15.6409H19.8522C20.5618 15.639 21.2418 15.3563 21.7436 14.8545C22.2454 14.3527 22.5281 13.6727 22.53 12.963V11.1778C22.5279 10.4683 22.2451 9.78839 21.7433 9.28666C21.2416 8.78493 20.5617 8.50212 19.8522 8.5H15.3891C14.9157 8.5 14.4616 8.68809 14.1268 9.02288C13.792 9.35767 13.6039 9.81175 13.6039 10.2852", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M10.9261 13.8557C10.9261 14.3291 10.738 14.7832 10.4032 15.118C10.0684 15.4528 9.61434 15.6409 9.14087 15.6409H4.67783C3.9682 15.639 3.28818 15.3563 2.7864 14.8545C2.28462 14.3527 2.00188 13.6727 2 12.963V11.1778C2.00212 10.4683 2.28493 9.78839 2.78666 9.28666C3.28839 8.78493 3.96827 8.50212 4.67783 8.5H9.14087C9.61434 8.5 10.0684 8.68809 10.4032 9.02288C10.738 9.35767 10.9261 9.81175 10.9261 10.2852", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M7.35565 12.0696H17.1743", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Nn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M2 4.78522C2 5.25869 2.18808 5.71276 2.52288 6.04756C2.85767 6.38235 3.31175 6.57044 3.78522 6.57044C4.25869 6.57044 4.71276 6.38235 5.04756 6.04756C5.38235 5.71276 5.57044 5.25869 5.57044 4.78522C5.57044 4.31175 5.38235 3.85767 5.04756 3.52288C4.71276 3.18809 4.25869 3 3.78522 3C3.31175 3 2.85767 3.18809 2.52288 3.52288C2.18808 3.85767 2 4.31175 2 4.78522Z", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M9.14087 4.78522H22.53", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 11.9261C2 12.3996 2.18808 12.8536 2.52288 13.1884C2.85767 13.5232 3.31175 13.7113 3.78522 13.7113C4.25869 13.7113 4.71276 13.5232 5.04756 13.1884C5.38235 12.8536 5.57044 12.3996 5.57044 11.9261C5.57044 11.4526 5.38235 10.9985 5.04756 10.6637C4.71276 10.329 4.25869 10.1409 3.78522 10.1409C3.31175 10.1409 2.85767 10.329 2.52288 10.6637C2.18808 10.9985 2 11.4526 2 11.9261Z", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M9.14087 11.9261H22.53", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 19.067C2 19.5404 2.18808 19.9945 2.52288 20.3293C2.85767 20.6641 3.31175 20.8522 3.78522 20.8522C4.25869 20.8522 4.71276 20.6641 5.04756 20.3293C5.38235 19.9945 5.57044 19.5404 5.57044 19.067C5.57044 18.5935 5.38235 18.1394 5.04756 17.8046C4.71276 17.4698 4.25869 17.2817 3.78522 17.2817C3.31175 17.2817 2.85767 17.4698 2.52288 17.8046C2.18808 18.1394 2 18.5935 2 19.067Z", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M9.14087 19.067H22.53", stroke: "currentColor", strokeWidth: 1.46939, strokeLinecap: "round", strokeLinejoin: "round" })), yn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M1.625 3H11", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M1.625 9H11", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M1.625 15H11", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.84375 21H11", stroke: "currentColor", strokeWidth: 1.5, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M20.5159 8L16.2076 11.8119C16.1895 11.8279 16.175 11.8477 16.1651 11.8698C16.1551 11.8918 16.15 11.9158 16.15 11.94C16.15 11.9642 16.1551 11.9882 16.1651 12.0102C16.175 12.0323 16.1895 12.0521 16.2076 12.0681L20.5159 15.88", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Ln = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M21.74 2V8.24772H15.4923", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M21.74 8.2496C20.129 6.03385 17.709 4.54298 15.0054 4.10065C12.3019 3.65833 9.53293 4.30026 7.29977 5.88707C5.97812 6.83145 4.8993 8.07583 4.15188 9.51804C3.40446 10.9602 3.00976 12.5592 3.00018 14.1835C2.9906 15.8079 3.36641 17.4113 4.09676 18.8623C4.82711 20.3132 5.89117 21.5702 7.20159 22.5301", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Tn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M5.57047 5H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M8.24826 9.46307H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M2 13.9261H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M5.57047 18.3892H22.53", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), wn = (e) => /* @__PURE__ */ l.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M3 21.2H21.7", stroke: "currentColor", strokeWidth: 1.35, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M6.25217 2.50165V11.8516C6.25217 13.4689 6.89462 15.0199 8.03819 16.1635C9.18175 17.307 10.7328 17.9495 12.35 17.9495C13.9672 17.9495 15.5183 17.307 16.6618 16.1635C17.8054 15.0199 18.4478 13.4689 18.4478 11.8516V2.50165", stroke: "currentColor", strokeWidth: 1.35, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M3.81304 2.5H8.6913", stroke: "currentColor", strokeWidth: 1.35, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ l.createElement("path", { d: "M16.0087 2.5H20.887", stroke: "currentColor", strokeWidth: 1.35, strokeLinecap: "round", strokeLinejoin: "round" })), de = 1;
|
|
1152
|
+
function et() {
|
|
1153
|
+
return /* @__PURE__ */ t.jsx("div", { className: "divider" });
|
|
1154
|
+
}
|
|
1155
|
+
function tt(e, n) {
|
|
1156
|
+
n === null ? (e.style.opacity = "0", e.style.top = "-1000px", e.style.left = "-1000px") : (e.style.opacity = "1", e.style.top = `${n.top + n.height + window.pageYOffset + 10}px`, e.style.left = `${n.left + window.pageXOffset - e.offsetWidth / 2 + n.width / 2}px`);
|
|
1157
|
+
}
|
|
1158
|
+
function $n({ editor: e }) {
|
|
1159
|
+
const n = Re(), o = K(null), s = K(null), a = K(!1), [c, u] = L(""), [p, i] = L(!1), [h, E] = L(null), f = V(() => {
|
|
1160
|
+
const x = g.$getSelection();
|
|
1161
|
+
if (g.$isRangeSelection(x)) {
|
|
1162
|
+
const w = ct(x), A = w.getParent();
|
|
1163
|
+
X.$isLinkNode(A) ? u(A.getURL()) : X.$isLinkNode(w) ? u(w.getURL()) : u("");
|
|
1164
|
+
}
|
|
1165
|
+
const j = o.current, _ = window.getSelection(), z = document.activeElement;
|
|
1166
|
+
if (j === null)
|
|
1167
|
+
return;
|
|
1168
|
+
const b = e.getRootElement();
|
|
1169
|
+
if (x !== null && _ != null && !_.isCollapsed && b !== null && b.contains(_.anchorNode)) {
|
|
1170
|
+
const w = _.getRangeAt(0);
|
|
1171
|
+
let A;
|
|
1172
|
+
if (_.anchorNode === b) {
|
|
1173
|
+
let v = b;
|
|
1174
|
+
for (; v.firstElementChild != null; )
|
|
1175
|
+
v = v.firstElementChild;
|
|
1176
|
+
A = v.getBoundingClientRect();
|
|
1177
|
+
} else
|
|
1178
|
+
A = w.getBoundingClientRect();
|
|
1179
|
+
a.current || tt(j, A), E(x);
|
|
1180
|
+
} else (!z || z.className !== "link-input") && (tt(j, null), E(null), i(!1), u(""));
|
|
1181
|
+
return !0;
|
|
1182
|
+
}, [e]);
|
|
1183
|
+
return T(() => ge.mergeRegister(
|
|
1184
|
+
e.registerUpdateListener(({ editorState: x }) => {
|
|
1185
|
+
x.read(() => {
|
|
1186
|
+
f();
|
|
1187
|
+
});
|
|
1188
|
+
}),
|
|
1189
|
+
e.registerCommand(
|
|
1190
|
+
g.SELECTION_CHANGE_COMMAND,
|
|
1191
|
+
() => (f(), !0),
|
|
1192
|
+
de
|
|
1193
|
+
)
|
|
1194
|
+
), [e, f]), T(() => {
|
|
1195
|
+
e.getEditorState().read(() => {
|
|
1196
|
+
f();
|
|
1197
|
+
});
|
|
1198
|
+
}, [e, f]), T(() => {
|
|
1199
|
+
p && s.current != null && s.current?.focus();
|
|
1200
|
+
}, [p]), /* @__PURE__ */ t.jsx(_n, { ref: o, children: p ? /* @__PURE__ */ t.jsx(
|
|
1201
|
+
"input",
|
|
1202
|
+
{
|
|
1203
|
+
ref: s,
|
|
1204
|
+
className: "link-input",
|
|
1205
|
+
value: c,
|
|
1206
|
+
onChange: (x) => {
|
|
1207
|
+
u(x.target.value);
|
|
1208
|
+
},
|
|
1209
|
+
onKeyDown: (x) => {
|
|
1210
|
+
x.key === "Enter" ? (x.preventDefault(), h !== null && (c !== "" && e.dispatchCommand(X.TOGGLE_LINK_COMMAND, c), i(!1))) : x.key === "Escape" && (x.preventDefault(), i(!1));
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
) : /* @__PURE__ */ t.jsxs(An, { className: "link-input", children: [
|
|
1214
|
+
/* @__PURE__ */ t.jsx(On, { href: c, target: "_blank", rel: "noopener noreferrer", children: c }),
|
|
1215
|
+
/* @__PURE__ */ t.jsx(
|
|
1216
|
+
I,
|
|
1217
|
+
{
|
|
1218
|
+
className: "link-edit",
|
|
1219
|
+
type: "button",
|
|
1220
|
+
tabIndex: 0,
|
|
1221
|
+
onMouseDown: (x) => x.preventDefault(),
|
|
1222
|
+
onClick: () => {
|
|
1223
|
+
i(!0);
|
|
1224
|
+
},
|
|
1225
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1226
|
+
Ut,
|
|
1227
|
+
{
|
|
1228
|
+
style: {
|
|
1229
|
+
width: r.sp3,
|
|
1230
|
+
height: r.sp3,
|
|
1231
|
+
color: n.colors.primary
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
)
|
|
1235
|
+
}
|
|
1236
|
+
)
|
|
1237
|
+
] }) });
|
|
1238
|
+
}
|
|
1239
|
+
function ct(e) {
|
|
1240
|
+
const n = e.anchor, o = e.focus, s = e.anchor.getNode(), a = e.focus.getNode();
|
|
1241
|
+
return s === a ? s : e?.isBackward() ? ve.$isAtNodeEnd(o) ? s : a : ve.$isAtNodeEnd(n) ? a : s;
|
|
1242
|
+
}
|
|
1243
|
+
function vn({
|
|
1244
|
+
fileAttached: e,
|
|
1245
|
+
enableZeniGPTFeature: n,
|
|
1246
|
+
isZeniGPTResponseLoading: o,
|
|
1247
|
+
customerRequestData: s,
|
|
1248
|
+
initialHtmlString: a,
|
|
1249
|
+
handleFileInputClick: c,
|
|
1250
|
+
improveUsingZeniGPTClick: u,
|
|
1251
|
+
setZeniRequestsHtml: p
|
|
1252
|
+
}) {
|
|
1253
|
+
const [i] = ue.useLexicalComposerContext(), h = K(null), [E, f] = L(!1), [x, j] = L(!1), [_, z] = L("paragraph"), [, b] = L(!1), [w, A] = L(!1), [v, U] = L(!1), [G, le] = L(!1), [D, ae] = L(!1), O = V(
|
|
1254
|
+
(m) => {
|
|
1255
|
+
const N = new DOMParser().parseFromString(m, "text/html"), M = N.getElementsByTagName("p");
|
|
1256
|
+
for (let R = M.length - 1; R >= 0; R--) {
|
|
1257
|
+
const $ = M[R];
|
|
1258
|
+
$.textContent?.trim() === "" && ($.innerHTML = "");
|
|
1259
|
+
}
|
|
1260
|
+
const S = pe.$generateNodesFromDOM(i, N), y = g.$getRoot();
|
|
1261
|
+
y.clear(), y.append(...S);
|
|
1262
|
+
},
|
|
1263
|
+
[i]
|
|
1264
|
+
);
|
|
1265
|
+
T(() => {
|
|
1266
|
+
i.update(() => {
|
|
1267
|
+
a != null && a.length > 0 && O(a);
|
|
1268
|
+
});
|
|
1269
|
+
}, [i, a, O]), T(() => {
|
|
1270
|
+
i.update(() => {
|
|
1271
|
+
o === !0 ? i.setEditable(!1) : i.setEditable(!0);
|
|
1272
|
+
});
|
|
1273
|
+
}, [i, o]), T(() => ge.mergeRegister(
|
|
1274
|
+
i.registerCommand(
|
|
1275
|
+
g.BLUR_COMMAND,
|
|
1276
|
+
() => {
|
|
1277
|
+
const m = pe.$generateHtmlFromNodes(i, null);
|
|
1278
|
+
return p?.(m), !0;
|
|
1279
|
+
},
|
|
1280
|
+
de
|
|
1281
|
+
)
|
|
1282
|
+
), [i, p]);
|
|
1283
|
+
const te = () => {
|
|
1284
|
+
i.update(() => {
|
|
1285
|
+
const m = pe.$generateHtmlFromNodes(i, null);
|
|
1286
|
+
u?.(m);
|
|
1287
|
+
});
|
|
1288
|
+
}, W = V(
|
|
1289
|
+
(m) => {
|
|
1290
|
+
i.update(() => {
|
|
1291
|
+
const k = new DOMParser(), N = Ze(je), M = P.$createListNode("bullet");
|
|
1292
|
+
m.forEach(($) => {
|
|
1293
|
+
const se = k.parseFromString($, "text/html"), be = pe.$generateNodesFromDOM(i, se), ce = P.$createListItemNode();
|
|
1294
|
+
be.forEach((dt) => {
|
|
1295
|
+
ce.append(dt);
|
|
1296
|
+
}), M.append(ce);
|
|
1297
|
+
}), N.append(M);
|
|
1298
|
+
const S = Ze(je);
|
|
1299
|
+
S.append(g.$createTextNode(""));
|
|
1300
|
+
const y = g.$getRoot(), R = y.getFirstChild();
|
|
1301
|
+
R ? R.insertBefore(N) : y.append(N), R ? R.insertBefore(S) : y.append(S), y.getFirstChild() === null && y.append(
|
|
1302
|
+
g.$createParagraphNode().append(
|
|
1303
|
+
g.$createTextNode(
|
|
1304
|
+
J.getLocalizedStrings().common.strings.empty
|
|
1305
|
+
)
|
|
1306
|
+
)
|
|
1307
|
+
), setTimeout(() => {
|
|
1308
|
+
i.update(() => {
|
|
1309
|
+
const $ = P.ListNode.clone(M);
|
|
1310
|
+
N.replace($);
|
|
1311
|
+
});
|
|
1312
|
+
}, 1e3);
|
|
1313
|
+
});
|
|
1314
|
+
},
|
|
1315
|
+
[i]
|
|
1316
|
+
);
|
|
1317
|
+
T(() => {
|
|
1318
|
+
s.length > 0 && W(s);
|
|
1319
|
+
}, [s, W]);
|
|
1320
|
+
const oe = V(() => {
|
|
1321
|
+
const m = g.$getSelection();
|
|
1322
|
+
if (g.$isRangeSelection(m)) {
|
|
1323
|
+
const k = m.anchor.getNode(), N = k.getKey() === "root" ? k : k.getTopLevelElementOrThrow(), M = N.getKey();
|
|
1324
|
+
if (i.getElementByKey(M) !== null)
|
|
1325
|
+
if (P.$isListNode(N)) {
|
|
1326
|
+
const $ = ge.$getNearestNodeOfType(k, P.ListNode), se = $ ? $.getTag() : N.getTag();
|
|
1327
|
+
z(se);
|
|
1328
|
+
} else {
|
|
1329
|
+
const $ = $e.$isHeadingNode(N) ? N.getTag() : N.getType();
|
|
1330
|
+
z($);
|
|
1331
|
+
}
|
|
1332
|
+
ae(m.hasFormat("bold")), U(m.hasFormat("italic")), le(m.hasFormat("underline")), b(ve.$isParentElementRTL(m));
|
|
1333
|
+
const y = ct(m), R = y.getParent();
|
|
1334
|
+
X.$isLinkNode(R) || X.$isLinkNode(y) ? A(!0) : A(!1);
|
|
1335
|
+
}
|
|
1336
|
+
}, [i]);
|
|
1337
|
+
T(() => ge.mergeRegister(
|
|
1338
|
+
i.registerUpdateListener(({ editorState: m }) => {
|
|
1339
|
+
m.read(() => {
|
|
1340
|
+
oe();
|
|
1341
|
+
});
|
|
1342
|
+
}),
|
|
1343
|
+
i.registerCommand(
|
|
1344
|
+
g.SELECTION_CHANGE_COMMAND,
|
|
1345
|
+
(m) => (oe(), !1),
|
|
1346
|
+
de
|
|
1347
|
+
),
|
|
1348
|
+
i.registerCommand(
|
|
1349
|
+
g.CAN_UNDO_COMMAND,
|
|
1350
|
+
(m) => (f(m), !1),
|
|
1351
|
+
de
|
|
1352
|
+
),
|
|
1353
|
+
i.registerCommand(
|
|
1354
|
+
g.CAN_REDO_COMMAND,
|
|
1355
|
+
(m) => (j(m), !1),
|
|
1356
|
+
de
|
|
1357
|
+
)
|
|
1358
|
+
), [i, oe]);
|
|
1359
|
+
const ne = V(() => {
|
|
1360
|
+
w ? i.dispatchCommand(X.TOGGLE_LINK_COMMAND, null) : i.dispatchCommand(X.TOGGLE_LINK_COMMAND, "https://");
|
|
1361
|
+
}, [i, w]), Q = () => {
|
|
1362
|
+
_ !== "ul" ? i.dispatchCommand(P.INSERT_UNORDERED_LIST_COMMAND, void 0) : i.dispatchCommand(P.REMOVE_LIST_COMMAND, void 0);
|
|
1363
|
+
}, {
|
|
1364
|
+
cockpit: {
|
|
1365
|
+
monthEndReport: { toolbarPluginTooltip: F, editorZeniGPTButton: re }
|
|
1366
|
+
},
|
|
1367
|
+
common: { documents: Z, strings: C }
|
|
1368
|
+
} = J.getLocalizedStrings();
|
|
1369
|
+
return /* @__PURE__ */ t.jsxs("div", { className: "toolbar", ref: h, children: [
|
|
1370
|
+
/* @__PURE__ */ t.jsxs(ot, { children: [
|
|
1371
|
+
/* @__PURE__ */ t.jsx(
|
|
1372
|
+
Y,
|
|
1373
|
+
{
|
|
1374
|
+
placement: "bottom",
|
|
1375
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.bold }),
|
|
1376
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1377
|
+
I,
|
|
1378
|
+
{
|
|
1379
|
+
type: "button",
|
|
1380
|
+
onClick: () => {
|
|
1381
|
+
i.dispatchCommand(g.FORMAT_TEXT_COMMAND, "bold");
|
|
1382
|
+
},
|
|
1383
|
+
className: "toolbar-item spaced " + (D ? "active" : ""),
|
|
1384
|
+
style: { padding: r.sp1 },
|
|
1385
|
+
disabled: o,
|
|
1386
|
+
"aria-label": "Format Bold",
|
|
1387
|
+
children: /* @__PURE__ */ t.jsx(gn, { className: "format" })
|
|
1388
|
+
}
|
|
1389
|
+
)
|
|
1390
|
+
}
|
|
1391
|
+
),
|
|
1392
|
+
/* @__PURE__ */ t.jsx(
|
|
1393
|
+
Y,
|
|
1394
|
+
{
|
|
1395
|
+
placement: "bottom",
|
|
1396
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.italic }),
|
|
1397
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1398
|
+
I,
|
|
1399
|
+
{
|
|
1400
|
+
type: "button",
|
|
1401
|
+
onClick: () => {
|
|
1402
|
+
i.dispatchCommand(g.FORMAT_TEXT_COMMAND, "italic");
|
|
1403
|
+
},
|
|
1404
|
+
className: "toolbar-item spaced " + (v ? "active" : ""),
|
|
1405
|
+
style: { padding: r.sp1 },
|
|
1406
|
+
disabled: o,
|
|
1407
|
+
"aria-label": "Format Italics",
|
|
1408
|
+
children: /* @__PURE__ */ t.jsx(Cn, { className: "format" })
|
|
1409
|
+
}
|
|
1410
|
+
)
|
|
1411
|
+
}
|
|
1412
|
+
),
|
|
1413
|
+
/* @__PURE__ */ t.jsx(
|
|
1414
|
+
Y,
|
|
1415
|
+
{
|
|
1416
|
+
placement: "bottom",
|
|
1417
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.underline }),
|
|
1418
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1419
|
+
I,
|
|
1420
|
+
{
|
|
1421
|
+
type: "button",
|
|
1422
|
+
onClick: () => {
|
|
1423
|
+
i.dispatchCommand(g.FORMAT_TEXT_COMMAND, "underline");
|
|
1424
|
+
},
|
|
1425
|
+
className: "toolbar-item spaced " + (G ? "active" : ""),
|
|
1426
|
+
style: { padding: r.sp1 },
|
|
1427
|
+
disabled: o,
|
|
1428
|
+
"aria-label": "Format Underline",
|
|
1429
|
+
children: /* @__PURE__ */ t.jsx(wn, { className: "format" })
|
|
1430
|
+
}
|
|
1431
|
+
)
|
|
1432
|
+
}
|
|
1433
|
+
),
|
|
1434
|
+
/* @__PURE__ */ t.jsx(
|
|
1435
|
+
Y,
|
|
1436
|
+
{
|
|
1437
|
+
placement: "bottom",
|
|
1438
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.link }),
|
|
1439
|
+
children: /* @__PURE__ */ t.jsxs(
|
|
1440
|
+
I,
|
|
1441
|
+
{
|
|
1442
|
+
type: "button",
|
|
1443
|
+
onClick: ne,
|
|
1444
|
+
className: "toolbar-item spaced " + (w ? "active" : ""),
|
|
1445
|
+
style: { padding: r.sp1 },
|
|
1446
|
+
disabled: o,
|
|
1447
|
+
"aria-label": "Insert Link",
|
|
1448
|
+
children: [
|
|
1449
|
+
/* @__PURE__ */ t.jsx(Rn, { className: "format link" }),
|
|
1450
|
+
/* @__PURE__ */ t.jsx(bn, { className: "format" })
|
|
1451
|
+
]
|
|
1452
|
+
}
|
|
1453
|
+
)
|
|
1454
|
+
}
|
|
1455
|
+
),
|
|
1456
|
+
w && oo(/* @__PURE__ */ t.jsx($n, { editor: i }), document.body),
|
|
1457
|
+
/* @__PURE__ */ t.jsx(et, {}),
|
|
1458
|
+
/* @__PURE__ */ t.jsx(
|
|
1459
|
+
Y,
|
|
1460
|
+
{
|
|
1461
|
+
placement: "bottom",
|
|
1462
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.list }),
|
|
1463
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1464
|
+
I,
|
|
1465
|
+
{
|
|
1466
|
+
type: "button",
|
|
1467
|
+
onClick: Q,
|
|
1468
|
+
className: "toolbar-item spaced " + (_ === "ul" ? "active" : ""),
|
|
1469
|
+
style: { padding: r.sp1 },
|
|
1470
|
+
disabled: o,
|
|
1471
|
+
"aria-label": "Format Underline",
|
|
1472
|
+
children: /* @__PURE__ */ t.jsx(Nn, { className: "format" })
|
|
1473
|
+
}
|
|
1474
|
+
)
|
|
1475
|
+
}
|
|
1476
|
+
),
|
|
1477
|
+
/* @__PURE__ */ t.jsx(et, {}),
|
|
1478
|
+
/* @__PURE__ */ t.jsx(
|
|
1479
|
+
I,
|
|
1480
|
+
{
|
|
1481
|
+
type: "button",
|
|
1482
|
+
onClick: () => {
|
|
1483
|
+
i.dispatchCommand(g.FORMAT_ELEMENT_COMMAND, "left");
|
|
1484
|
+
},
|
|
1485
|
+
className: "toolbar-item spaced",
|
|
1486
|
+
style: { padding: r.sp1 },
|
|
1487
|
+
disabled: o,
|
|
1488
|
+
"aria-label": "Left Align",
|
|
1489
|
+
children: /* @__PURE__ */ t.jsx(En, { className: "format" })
|
|
1490
|
+
}
|
|
1491
|
+
),
|
|
1492
|
+
/* @__PURE__ */ t.jsx(
|
|
1493
|
+
I,
|
|
1494
|
+
{
|
|
1495
|
+
type: "button",
|
|
1496
|
+
onClick: () => {
|
|
1497
|
+
i.dispatchCommand(g.FORMAT_ELEMENT_COMMAND, "center");
|
|
1498
|
+
},
|
|
1499
|
+
className: "toolbar-item spaced",
|
|
1500
|
+
style: { padding: r.sp1 },
|
|
1501
|
+
disabled: o,
|
|
1502
|
+
"aria-label": "Center Align",
|
|
1503
|
+
children: /* @__PURE__ */ t.jsx(xn, { className: "format" })
|
|
1504
|
+
}
|
|
1505
|
+
),
|
|
1506
|
+
/* @__PURE__ */ t.jsx(
|
|
1507
|
+
I,
|
|
1508
|
+
{
|
|
1509
|
+
type: "button",
|
|
1510
|
+
onClick: () => {
|
|
1511
|
+
i.dispatchCommand(g.FORMAT_ELEMENT_COMMAND, "right");
|
|
1512
|
+
},
|
|
1513
|
+
className: "toolbar-item spaced",
|
|
1514
|
+
style: { padding: r.sp1 },
|
|
1515
|
+
disabled: o,
|
|
1516
|
+
"aria-label": "Right Align",
|
|
1517
|
+
children: /* @__PURE__ */ t.jsx(Tn, { className: "format" })
|
|
1518
|
+
}
|
|
1519
|
+
),
|
|
1520
|
+
/* @__PURE__ */ t.jsx(
|
|
1521
|
+
I,
|
|
1522
|
+
{
|
|
1523
|
+
type: "button",
|
|
1524
|
+
onClick: () => {
|
|
1525
|
+
i.dispatchCommand(g.FORMAT_ELEMENT_COMMAND, "justify");
|
|
1526
|
+
},
|
|
1527
|
+
className: "toolbar-item",
|
|
1528
|
+
style: { padding: r.sp1 },
|
|
1529
|
+
disabled: o,
|
|
1530
|
+
"aria-label": "Justify Align",
|
|
1531
|
+
children: /* @__PURE__ */ t.jsx(kn, { className: "format" })
|
|
1532
|
+
}
|
|
1533
|
+
),
|
|
1534
|
+
/* @__PURE__ */ t.jsx(
|
|
1535
|
+
Y,
|
|
1536
|
+
{
|
|
1537
|
+
placement: "bottom",
|
|
1538
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.indent }),
|
|
1539
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1540
|
+
I,
|
|
1541
|
+
{
|
|
1542
|
+
type: "button",
|
|
1543
|
+
onClick: () => {
|
|
1544
|
+
i.dispatchCommand(g.INDENT_CONTENT_COMMAND, void 0);
|
|
1545
|
+
},
|
|
1546
|
+
className: "toolbar-item",
|
|
1547
|
+
style: { padding: r.sp1 },
|
|
1548
|
+
disabled: o,
|
|
1549
|
+
"aria-label": "Indent",
|
|
1550
|
+
children: /* @__PURE__ */ t.jsx(fn, { className: "format" })
|
|
1551
|
+
}
|
|
1552
|
+
)
|
|
1553
|
+
}
|
|
1554
|
+
),
|
|
1555
|
+
/* @__PURE__ */ t.jsx(
|
|
1556
|
+
Y,
|
|
1557
|
+
{
|
|
1558
|
+
placement: "bottom",
|
|
1559
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.outdent }),
|
|
1560
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1561
|
+
I,
|
|
1562
|
+
{
|
|
1563
|
+
type: "button",
|
|
1564
|
+
onClick: () => {
|
|
1565
|
+
i.dispatchCommand(g.OUTDENT_CONTENT_COMMAND, void 0);
|
|
1566
|
+
},
|
|
1567
|
+
className: "toolbar-item",
|
|
1568
|
+
style: { padding: r.sp1 },
|
|
1569
|
+
disabled: o,
|
|
1570
|
+
"aria-label": "Outdent",
|
|
1571
|
+
children: /* @__PURE__ */ t.jsx(yn, { className: "format" })
|
|
1572
|
+
}
|
|
1573
|
+
)
|
|
1574
|
+
}
|
|
1575
|
+
),
|
|
1576
|
+
/* @__PURE__ */ t.jsx(
|
|
1577
|
+
Y,
|
|
1578
|
+
{
|
|
1579
|
+
placement: "bottom",
|
|
1580
|
+
style: { padding: `2px ${r.sp2}` },
|
|
1581
|
+
title: /* @__PURE__ */ t.jsxs(Dn, { children: [
|
|
1582
|
+
/* @__PURE__ */ t.jsxs(B, { children: [
|
|
1583
|
+
Z.attachFile,
|
|
1584
|
+
C.space
|
|
1585
|
+
] }),
|
|
1586
|
+
/* @__PURE__ */ t.jsx(B, { children: Z.formatImageAndDocumentAttachments }),
|
|
1587
|
+
/* @__PURE__ */ t.jsxs(B, { children: [
|
|
1588
|
+
C.space,
|
|
1589
|
+
Z.attachmentFileSize700KB
|
|
1590
|
+
] })
|
|
1591
|
+
] }),
|
|
1592
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1593
|
+
I,
|
|
1594
|
+
{
|
|
1595
|
+
type: "button",
|
|
1596
|
+
onClick: c,
|
|
1597
|
+
className: "toolbar-item",
|
|
1598
|
+
style: { padding: r.sp1 },
|
|
1599
|
+
disabled: o || e,
|
|
1600
|
+
"aria-label": "Attachment",
|
|
1601
|
+
children: /* @__PURE__ */ t.jsx(lt, { className: "format" })
|
|
1602
|
+
}
|
|
1603
|
+
)
|
|
1604
|
+
}
|
|
1605
|
+
)
|
|
1606
|
+
] }),
|
|
1607
|
+
/* @__PURE__ */ t.jsxs(ot, { children: [
|
|
1608
|
+
n ? /* @__PURE__ */ t.jsx(
|
|
1609
|
+
Y,
|
|
1610
|
+
{
|
|
1611
|
+
placement: "top",
|
|
1612
|
+
title: /* @__PURE__ */ t.jsx(B, { children: re.tooltip }),
|
|
1613
|
+
children: /* @__PURE__ */ t.jsxs(
|
|
1614
|
+
Mn,
|
|
1615
|
+
{
|
|
1616
|
+
isZeniGPTResponseLoading: o,
|
|
1617
|
+
type: "button",
|
|
1618
|
+
onClick: te,
|
|
1619
|
+
disabled: o,
|
|
1620
|
+
children: [
|
|
1621
|
+
/* @__PURE__ */ t.jsx(Sn, {}),
|
|
1622
|
+
/* @__PURE__ */ t.jsx(jn, { children: re.label })
|
|
1623
|
+
]
|
|
1624
|
+
}
|
|
1625
|
+
)
|
|
1626
|
+
}
|
|
1627
|
+
) : null,
|
|
1628
|
+
/* @__PURE__ */ t.jsx(
|
|
1629
|
+
Y,
|
|
1630
|
+
{
|
|
1631
|
+
placement: "bottom",
|
|
1632
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.undo }),
|
|
1633
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1634
|
+
I,
|
|
1635
|
+
{
|
|
1636
|
+
type: "button",
|
|
1637
|
+
disabled: !E || o,
|
|
1638
|
+
onClick: () => {
|
|
1639
|
+
i.dispatchCommand(g.UNDO_COMMAND, void 0);
|
|
1640
|
+
},
|
|
1641
|
+
className: "toolbar-item spaced",
|
|
1642
|
+
style: { padding: r.sp1 },
|
|
1643
|
+
"aria-label": "Undo",
|
|
1644
|
+
children: /* @__PURE__ */ t.jsx(no, { className: "format" })
|
|
1645
|
+
}
|
|
1646
|
+
)
|
|
1647
|
+
}
|
|
1648
|
+
),
|
|
1649
|
+
/* @__PURE__ */ t.jsx(
|
|
1650
|
+
Y,
|
|
1651
|
+
{
|
|
1652
|
+
placement: "bottom",
|
|
1653
|
+
title: /* @__PURE__ */ t.jsx(B, { children: F.redo }),
|
|
1654
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1655
|
+
I,
|
|
1656
|
+
{
|
|
1657
|
+
type: "button",
|
|
1658
|
+
disabled: !x || o,
|
|
1659
|
+
onClick: () => {
|
|
1660
|
+
i.dispatchCommand(g.REDO_COMMAND, void 0);
|
|
1661
|
+
},
|
|
1662
|
+
className: "toolbar-item",
|
|
1663
|
+
style: { padding: r.sp1 },
|
|
1664
|
+
"aria-label": "Redo",
|
|
1665
|
+
children: /* @__PURE__ */ t.jsx(Ln, { className: "format" })
|
|
1666
|
+
}
|
|
1667
|
+
)
|
|
1668
|
+
}
|
|
1669
|
+
)
|
|
1670
|
+
] })
|
|
1671
|
+
] });
|
|
1672
|
+
}
|
|
1673
|
+
const I = d.button``, ot = d.div`
|
|
1674
|
+
display: flex;
|
|
1675
|
+
align-items: center;
|
|
1676
|
+
gap: ${r.sp1};
|
|
1677
|
+
`, B = d.div`
|
|
1678
|
+
padding: 2px ${r.sp2};
|
|
1679
|
+
color: ${H.neutralGrey4Light};
|
|
1680
|
+
`, jn = d(Vt)`
|
|
1681
|
+
color: ${H.neutralGrey5Light};
|
|
1682
|
+
`, Mn = d.button`
|
|
1683
|
+
display: flex;
|
|
1684
|
+
align-items: center;
|
|
1685
|
+
justify-content: center;
|
|
1686
|
+
min-width: 165px;
|
|
1687
|
+
background-color: ${(e) => e.isZeniGPTResponseLoading ? e.theme.colors.brandColorSapphireLight : e.theme.colors.brandColorSapphire};
|
|
1688
|
+
color: ${H.neutralGrey5Light};
|
|
1689
|
+
border-radius: ${r.sp1};
|
|
1690
|
+
border: none;
|
|
1691
|
+
height: 26px;
|
|
1692
|
+
&:hover {
|
|
1693
|
+
background-color: ${H.brandColorSapphireDark};
|
|
1694
|
+
}
|
|
1695
|
+
`, Sn = d(hn)`
|
|
1696
|
+
height: ${r.sp3};
|
|
1697
|
+
width: ${r.sp3};
|
|
1698
|
+
margin-right: ${r.sp1};
|
|
1699
|
+
color: ${H.brandColorPearl};
|
|
1700
|
+
`, _n = d.div`
|
|
1701
|
+
position: absolute;
|
|
1702
|
+
z-index: 100;
|
|
1703
|
+
top: -10000px;
|
|
1704
|
+
left: -10000px;
|
|
1705
|
+
margin-top: -6px;
|
|
1706
|
+
max-width: 300px;
|
|
1707
|
+
width: 100%;
|
|
1708
|
+
opacity: 0;
|
|
1709
|
+
border: 1px solid ${(e) => e.theme.colors.grey3};
|
|
1710
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
1711
|
+
box-shadow: ${r.sp0} 5px 10px ${H.overlayLight};
|
|
1712
|
+
border-radius: ${r.sp2};
|
|
1713
|
+
transition: opacity 0.5s;
|
|
1714
|
+
z-index: 10000;
|
|
1715
|
+
|
|
1716
|
+
.link-input {
|
|
1717
|
+
display: block;
|
|
1718
|
+
box-sizing: border-box;
|
|
1719
|
+
padding: ${r.sp3};
|
|
1720
|
+
border-radius: ${r.sp3};
|
|
1721
|
+
background-color: ${(e) => e.theme.colors.grey5};
|
|
1722
|
+
font-size: 15px;
|
|
1723
|
+
color: ${(e) => e.theme.colors.primary};
|
|
1724
|
+
border: 0;
|
|
1725
|
+
outline: 0;
|
|
1726
|
+
position: relative;
|
|
1727
|
+
font-family: inherit;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
button.link-edit {
|
|
1731
|
+
display: flex;
|
|
1732
|
+
align-items: center;
|
|
1733
|
+
width: 35px;
|
|
1734
|
+
position: absolute;
|
|
1735
|
+
right: ${r.sp0};
|
|
1736
|
+
top: ${r.sp0};
|
|
1737
|
+
bottom: ${r.sp0};
|
|
1738
|
+
cursor: pointer;
|
|
1739
|
+
background: none;
|
|
1740
|
+
border: none;
|
|
1741
|
+
padding: 0;
|
|
1742
|
+
margin: 0;
|
|
1743
|
+
|
|
1744
|
+
&:focus {
|
|
1745
|
+
outline: none;
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
.link-input a {
|
|
1750
|
+
color: ${(e) => e.theme.colors.link};
|
|
1751
|
+
text-decoration: none;
|
|
1752
|
+
display: block;
|
|
1753
|
+
white-space: nowrap;
|
|
1754
|
+
overflow: hidden;
|
|
1755
|
+
margin-right: 30px;
|
|
1756
|
+
text-overflow: ellipsis;
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
.link-input a:hover {
|
|
1760
|
+
text-decoration: underline;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
.button {
|
|
1764
|
+
width: 20px;
|
|
1765
|
+
height: 20px;
|
|
1766
|
+
display: inline-block;
|
|
1767
|
+
padding: 6px;
|
|
1768
|
+
border-radius: ${r.sp2};
|
|
1769
|
+
cursor: pointer;
|
|
1770
|
+
margin: 0 2px;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
.button.hovered {
|
|
1774
|
+
width: 20px;
|
|
1775
|
+
height: 20px;
|
|
1776
|
+
display: inline-block;
|
|
1777
|
+
background-color: ${(e) => e.theme.colors.background};
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
.button i,
|
|
1781
|
+
.actions i {
|
|
1782
|
+
background-size: contain;
|
|
1783
|
+
display: inline-block;
|
|
1784
|
+
height: 20px;
|
|
1785
|
+
width: 20px;
|
|
1786
|
+
vertical-align: -0.25em;
|
|
1787
|
+
}
|
|
1788
|
+
`, An = d.div``, On = d.a``, Rn = d.i``, Dn = d.div`
|
|
1789
|
+
display: flex;
|
|
1790
|
+
flex-direction: column; /* Align children vertically */
|
|
1791
|
+
align-items: center; /* Center children horizontally */
|
|
1792
|
+
justify-content: center; /* Center children vertically */
|
|
1793
|
+
height: 100%; /* Adjust to your desired height */
|
|
1794
|
+
width: 100%; /* Adjust to your desired width */
|
|
1795
|
+
`, In = d(ke)`
|
|
1796
|
+
color: ${(e) => e.theme.colors.grey2};
|
|
1797
|
+
overflow: hidden;
|
|
1798
|
+
position: absolute;
|
|
1799
|
+
text-overflow: ellipsis;
|
|
1800
|
+
top: ${r.sp3};
|
|
1801
|
+
left: 12px;
|
|
1802
|
+
user-select: none;
|
|
1803
|
+
display: inline-block;
|
|
1804
|
+
pointer-events: none;
|
|
1805
|
+
`, Hn = d(De)`
|
|
1806
|
+
position: relative;
|
|
1807
|
+
margin: ${r.sp0};
|
|
1808
|
+
border-radius: ${r.sp2};
|
|
1809
|
+
color: ${(e) => e.theme.colors.primary};
|
|
1810
|
+
text-align: left;
|
|
1811
|
+
border: 1px solid ${(e) => e.theme.colors.grey2};
|
|
1812
|
+
overflow: hidden;
|
|
1813
|
+
|
|
1814
|
+
&:hover {
|
|
1815
|
+
border: ${(e) => `1px solid ${e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.primary}`};
|
|
1816
|
+
|
|
1817
|
+
.toolbar {
|
|
1818
|
+
border-bottom: ${(e) => `1px solid ${e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.primary}`};
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
&:focus-within {
|
|
1823
|
+
border: ${(e) => `1px solid ${e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.primary}`};
|
|
1824
|
+
|
|
1825
|
+
.toolbar {
|
|
1826
|
+
border-bottom: ${(e) => `1px solid ${e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.primary}`};
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
.editor-input {
|
|
1831
|
+
min-height: 120px;
|
|
1832
|
+
max-height: 360px;
|
|
1833
|
+
overflow: auto;
|
|
1834
|
+
resize: none;
|
|
1835
|
+
${Me.standardRegular.css};
|
|
1836
|
+
color: ${(e) => e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.primary};
|
|
1837
|
+
position: relative;
|
|
1838
|
+
tab-size: 1;
|
|
1839
|
+
outline: 0;
|
|
1840
|
+
padding: ${r.sp3} 12px;
|
|
1841
|
+
|
|
1842
|
+
.editor__link {
|
|
1843
|
+
color: ${(e) => e.isZeniGPTResponseLoading ? e.theme.colors.grey2 : e.theme.colors.link};
|
|
1844
|
+
text-decoration: none;
|
|
1845
|
+
}
|
|
1846
|
+
.editor__link:hover {
|
|
1847
|
+
text-decoration: underline;
|
|
1848
|
+
cursor: pointer;
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
.editor-input p {
|
|
1853
|
+
margin: 0;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
.toolbar {
|
|
1857
|
+
display: flex;
|
|
1858
|
+
margin-bottom: 1px;
|
|
1859
|
+
background: ${(e) => e.theme.colors.grey5};
|
|
1860
|
+
padding: ${r.sp1};
|
|
1861
|
+
border-top-left-radius: 10px;
|
|
1862
|
+
border-top-right-radius: 10px;
|
|
1863
|
+
vertical-align: middle;
|
|
1864
|
+
border-bottom: 1px solid ${(e) => e.theme.colors.grey2};
|
|
1865
|
+
justify-content: space-between;
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
.toolbar button.toolbar-item {
|
|
1869
|
+
border: 0;
|
|
1870
|
+
display: flex;
|
|
1871
|
+
background: none;
|
|
1872
|
+
border-radius: ${r.sp2};
|
|
1873
|
+
padding: ${r.sp2};
|
|
1874
|
+
cursor: pointer;
|
|
1875
|
+
vertical-align: middle;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
.toolbar button.toolbar-item:disabled {
|
|
1879
|
+
cursor: not-allowed;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
.toolbar button.toolbar-item.spaced {
|
|
1883
|
+
margin-right: 2px;
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
.toolbar button.toolbar-item svg.format {
|
|
1887
|
+
background-size: contain;
|
|
1888
|
+
display: inline-block;
|
|
1889
|
+
height: ${r.sp3};
|
|
1890
|
+
width: ${r.sp3};
|
|
1891
|
+
vertical-align: -0.25em;
|
|
1892
|
+
display: flex;
|
|
1893
|
+
color: ${(e) => e.theme.colors.grey1};
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
.toolbar button.toolbar-item:disabled svg.format {
|
|
1897
|
+
opacity: 0.2;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
.toolbar button.toolbar-item.active {
|
|
1901
|
+
svg.format {
|
|
1902
|
+
color: ${(e) => e.theme.colors.primary};
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
.toolbar .toolbar-item:hover:not([disabled]) {
|
|
1907
|
+
svg.format {
|
|
1908
|
+
color: ${(e) => e.theme.colors.primary};
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
.toolbar .divider {
|
|
1913
|
+
width: 1px;
|
|
1914
|
+
background-color: ${(e) => e.theme.colors.background};
|
|
1915
|
+
margin: ${r.sp0} ${r.sp1};
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
.toolbar .toolbar-item .text {
|
|
1919
|
+
display: flex;
|
|
1920
|
+
width: 200px;
|
|
1921
|
+
vertical-align: middle;
|
|
1922
|
+
${Me.smallRegular.css};
|
|
1923
|
+
color: ${(e) => e.theme.colors.primary};
|
|
1924
|
+
text-overflow: ellipsis;
|
|
1925
|
+
width: 70px;
|
|
1926
|
+
overflow: hidden;
|
|
1927
|
+
height: 20px;
|
|
1928
|
+
text-align: left;
|
|
1929
|
+
}
|
|
1930
|
+
`, Pn = d.div`
|
|
1931
|
+
position: absolute;
|
|
1932
|
+
display: flex;
|
|
1933
|
+
justify-content: center;
|
|
1934
|
+
align-items: center;
|
|
1935
|
+
height: 100%;
|
|
1936
|
+
width: 100%;
|
|
1937
|
+
z-index: 1;
|
|
1938
|
+
`, Wn = d.div`
|
|
1939
|
+
background-color: transparent;
|
|
1940
|
+
position: relative;
|
|
1941
|
+
`;
|
|
1942
|
+
function Fn() {
|
|
1943
|
+
return /* @__PURE__ */ t.jsx(In, { children: J.getLocalizedStrings().cockpit.monthEndReport.editorPlaceholder });
|
|
1944
|
+
}
|
|
1945
|
+
const Bn = {
|
|
1946
|
+
namespace: "",
|
|
1947
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1948
|
+
onError(e) {
|
|
1949
|
+
throw e;
|
|
1950
|
+
},
|
|
1951
|
+
nodes: [
|
|
1952
|
+
$e.HeadingNode,
|
|
1953
|
+
P.ListNode,
|
|
1954
|
+
P.ListItemNode,
|
|
1955
|
+
$e.QuoteNode,
|
|
1956
|
+
we.CodeNode,
|
|
1957
|
+
we.CodeHighlightNode,
|
|
1958
|
+
ye.TableNode,
|
|
1959
|
+
ye.TableCellNode,
|
|
1960
|
+
ye.TableRowNode,
|
|
1961
|
+
X.AutoLinkNode,
|
|
1962
|
+
X.LinkNode,
|
|
1963
|
+
at
|
|
1964
|
+
],
|
|
1965
|
+
theme: rn
|
|
1966
|
+
};
|
|
1967
|
+
function Lr({
|
|
1968
|
+
fileAttached: e,
|
|
1969
|
+
enableZeniGPTFeature: n,
|
|
1970
|
+
isZeniGPTResponseLoading: o,
|
|
1971
|
+
initialHtmlString: s,
|
|
1972
|
+
customerRequestData: a,
|
|
1973
|
+
handleFileInputClick: c,
|
|
1974
|
+
improveUsingZeniGPTClick: u,
|
|
1975
|
+
setZeniRequestsHtml: p
|
|
1976
|
+
}) {
|
|
1977
|
+
const i = Re();
|
|
1978
|
+
return /* @__PURE__ */ t.jsxs(gt.LexicalComposer, { initialConfig: Bn, children: [
|
|
1979
|
+
/* @__PURE__ */ t.jsx(nn, {}),
|
|
1980
|
+
/* @__PURE__ */ t.jsxs(Hn, { isZeniGPTResponseLoading: o, children: [
|
|
1981
|
+
o ? /* @__PURE__ */ t.jsx(Pn, { children: /* @__PURE__ */ t.jsx(
|
|
1982
|
+
nt,
|
|
1983
|
+
{
|
|
1984
|
+
size: "Standard",
|
|
1985
|
+
start: !0,
|
|
1986
|
+
style: {
|
|
1987
|
+
display: "flex",
|
|
1988
|
+
padding: r.sp4,
|
|
1989
|
+
borderRadius: "100%",
|
|
1990
|
+
backgroundColor: i.colors.grey5,
|
|
1991
|
+
border: `2px solid ${i.colors.grey3}`,
|
|
1992
|
+
boxShadow: `${r.sp0} 2px ${r.sp1} ${i.colors.dropShadowNormal}`
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
) }) : null,
|
|
1996
|
+
/* @__PURE__ */ t.jsx(
|
|
1997
|
+
vn,
|
|
1998
|
+
{
|
|
1999
|
+
handleFileInputClick: c,
|
|
2000
|
+
fileAttached: e,
|
|
2001
|
+
customerRequestData: a,
|
|
2002
|
+
enableZeniGPTFeature: n,
|
|
2003
|
+
isZeniGPTResponseLoading: o,
|
|
2004
|
+
initialHtmlString: s,
|
|
2005
|
+
improveUsingZeniGPTClick: u,
|
|
2006
|
+
setZeniRequestsHtml: p
|
|
2007
|
+
}
|
|
2008
|
+
),
|
|
2009
|
+
/* @__PURE__ */ t.jsxs(Wn, { children: [
|
|
2010
|
+
/* @__PURE__ */ t.jsx(
|
|
2011
|
+
xt.RichTextPlugin,
|
|
2012
|
+
{
|
|
2013
|
+
contentEditable: /* @__PURE__ */ t.jsx(Ct.ContentEditable, { className: He }),
|
|
2014
|
+
placeholder: /* @__PURE__ */ t.jsx(Fn, {}),
|
|
2015
|
+
ErrorBoundary: ft
|
|
2016
|
+
}
|
|
2017
|
+
),
|
|
2018
|
+
/* @__PURE__ */ t.jsx(cn, {}),
|
|
2019
|
+
/* @__PURE__ */ t.jsx(dn, {}),
|
|
2020
|
+
/* @__PURE__ */ t.jsx(kt.HistoryPlugin, {}),
|
|
2021
|
+
/* @__PURE__ */ t.jsx(Et.AutoFocusPlugin, {}),
|
|
2022
|
+
/* @__PURE__ */ t.jsx(an, {}),
|
|
2023
|
+
/* @__PURE__ */ t.jsx(bt.ListPlugin, {}),
|
|
2024
|
+
/* @__PURE__ */ t.jsx(Nt.LinkPlugin, {}),
|
|
2025
|
+
/* @__PURE__ */ t.jsx(ln, {}),
|
|
2026
|
+
/* @__PURE__ */ t.jsx(mn, { maxDepth: 7 }),
|
|
2027
|
+
/* @__PURE__ */ t.jsx(yt.MarkdownShortcutPlugin, { transformers: Lt.TRANSFORMERS })
|
|
2028
|
+
] })
|
|
2029
|
+
] })
|
|
2030
|
+
] });
|
|
2031
|
+
}
|
|
2032
|
+
const zn = d.div``;
|
|
2033
|
+
function Tr({
|
|
2034
|
+
canvasContainerRef: e,
|
|
2035
|
+
sortedThreads: n,
|
|
2036
|
+
editorMode: o,
|
|
2037
|
+
isZeniUser: s = !0
|
|
2038
|
+
}) {
|
|
2039
|
+
const a = s ? Ie : st, { openThread: c } = Oe(a), [u, p] = L(
|
|
2040
|
+
e.current != null
|
|
2041
|
+
);
|
|
2042
|
+
T(() => {
|
|
2043
|
+
p(e.current != null);
|
|
2044
|
+
}, [e.current]);
|
|
2045
|
+
const i = K();
|
|
2046
|
+
return /* @__PURE__ */ t.jsx(zn, { children: n.map(([h, { metadata: E }]) => {
|
|
2047
|
+
const f = ie(E, o);
|
|
2048
|
+
if (!f || u === !1)
|
|
2049
|
+
return null;
|
|
2050
|
+
i.current = e.current?.getBoundingClientRect();
|
|
2051
|
+
const x = i.current?.top ?? 0, j = i.current?.left ?? 0, _ = c === h, z = Array.from(
|
|
2052
|
+
f.getClientRects()
|
|
2053
|
+
).filter((b) => b.width > 0);
|
|
2054
|
+
if (z.length === 0) {
|
|
2055
|
+
const b = f.getBoundingClientRect();
|
|
2056
|
+
let w = b.width;
|
|
2057
|
+
return w === 0 && (w = f.toString().length * 6), /* @__PURE__ */ t.jsx(
|
|
2058
|
+
ze,
|
|
2059
|
+
{
|
|
2060
|
+
rect: {
|
|
2061
|
+
...b.toJSON(),
|
|
2062
|
+
top: b.top - x,
|
|
2063
|
+
left: b.left - j,
|
|
2064
|
+
width: w
|
|
2065
|
+
// Use calculated width
|
|
2066
|
+
},
|
|
2067
|
+
isOpenThread: _,
|
|
2068
|
+
threadId: h
|
|
2069
|
+
},
|
|
2070
|
+
h
|
|
2071
|
+
);
|
|
2072
|
+
}
|
|
2073
|
+
return z.map((b, w) => /* @__PURE__ */ t.jsx(
|
|
2074
|
+
ze,
|
|
2075
|
+
{
|
|
2076
|
+
rect: {
|
|
2077
|
+
// Getting the DOMRect object as a JSON so
|
|
2078
|
+
// we can spread its properties and easily
|
|
2079
|
+
// modify the top and left properties with
|
|
2080
|
+
// the values we just calculated a few lines
|
|
2081
|
+
// above.
|
|
2082
|
+
...b.toJSON(),
|
|
2083
|
+
top: b.top - x,
|
|
2084
|
+
left: b.left - j
|
|
2085
|
+
},
|
|
2086
|
+
isOpenThread: _,
|
|
2087
|
+
threadId: h
|
|
2088
|
+
},
|
|
2089
|
+
w
|
|
2090
|
+
));
|
|
2091
|
+
}) });
|
|
2092
|
+
}
|
|
2093
|
+
const Un = d(De)`
|
|
2094
|
+
color: ${(e) => e.theme.colors.hero};
|
|
2095
|
+
`, Vn = d.div`
|
|
2096
|
+
justify-content: center;
|
|
2097
|
+
align-items: center;
|
|
2098
|
+
display: flex;
|
|
2099
|
+
flex-direction: column;
|
|
2100
|
+
cursor: pointer;
|
|
2101
|
+
`, Yn = d(Gt)`
|
|
2102
|
+
width: ${r.sp10};
|
|
2103
|
+
height: ${r.sp10};
|
|
2104
|
+
color: ${(e) => e.theme.colors.primary};
|
|
2105
|
+
`, wr = ({
|
|
2106
|
+
message: e,
|
|
2107
|
+
onReload: n
|
|
2108
|
+
}) => /* @__PURE__ */ t.jsxs(
|
|
2109
|
+
Vn,
|
|
2110
|
+
{
|
|
2111
|
+
onClick: n,
|
|
2112
|
+
"data-testid": Yt("reload-container"),
|
|
2113
|
+
children: [
|
|
2114
|
+
/* @__PURE__ */ t.jsx(Yn, {}),
|
|
2115
|
+
/* @__PURE__ */ t.jsx(Un, { children: e })
|
|
2116
|
+
]
|
|
2117
|
+
}
|
|
2118
|
+
);
|
|
2119
|
+
export {
|
|
2120
|
+
ar as A,
|
|
2121
|
+
xr as C,
|
|
2122
|
+
Lr as E,
|
|
2123
|
+
hr as F,
|
|
2124
|
+
Ve as M,
|
|
2125
|
+
wr as R,
|
|
2126
|
+
Tr as T,
|
|
2127
|
+
dr as U,
|
|
2128
|
+
gr as a,
|
|
2129
|
+
Er as b,
|
|
2130
|
+
br as c,
|
|
2131
|
+
fr as d,
|
|
2132
|
+
Te as e,
|
|
2133
|
+
pr as f,
|
|
2134
|
+
kr as g,
|
|
2135
|
+
ur as h,
|
|
2136
|
+
cr as i,
|
|
2137
|
+
Ue as j,
|
|
2138
|
+
Ee as k,
|
|
2139
|
+
Nr as l,
|
|
2140
|
+
mr as m,
|
|
2141
|
+
yr as n,
|
|
2142
|
+
Cr as o,
|
|
2143
|
+
lr as u
|
|
2144
|
+
};
|