@zeniai/web-components 3.16.33 → 3.16.34
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-BWkk6RUZ.cjs +21 -0
- package/dist/ACHDetailsPage-Dh-9B-tS.js +160 -0
- package/dist/AIPerformancePage-BXVWoVop.js +1333 -0
- package/dist/AIPerformancePage-cjjZ9J6K.cjs +530 -0
- package/dist/AccountInfoPage-BGOapuOS.cjs +18 -0
- package/dist/AccountInfoPage-DQaAqqov.js +78 -0
- package/dist/AccountInfoPageContent-CpnCTuuB.js +428 -0
- package/dist/AccountInfoPageContent-Da4vssWh.cjs +149 -0
- package/dist/AccountLockedInfoModal-BJ1baLPA.cjs +59 -0
- package/dist/AccountLockedInfoModal-DkfP7Aw7.js +125 -0
- package/dist/AccountReconDetailsDrawerPage-ClvuNS1B.cjs +239 -0
- package/dist/AccountReconDetailsDrawerPage-D4wc6twC.js +686 -0
- package/dist/AccountRow-CrG8EbbJ.js +1009 -0
- package/dist/AccountRow-Dk33E55Q.cjs +298 -0
- package/dist/AccountsPromoCardStack-BJPtx2Pe.js +664 -0
- package/dist/AccountsPromoCardStack-jiIkEket.cjs +207 -0
- package/dist/AddAddressForCardDrawer-BMxak29N.cjs +6 -0
- package/dist/AddAddressForCardDrawer-DdNhdiuv.js +82 -0
- package/dist/AddToWalletPage-BF_Uu7XS.cjs +344 -0
- package/dist/AddToWalletPage-DhYdz5U2.js +643 -0
- package/dist/AgingReportsPage-D42GrcOf.js +827 -0
- package/dist/AgingReportsPage-DtvSH_I0.cjs +79 -0
- package/dist/AllUserItems-CqXeIeeA.cjs +192 -0
- package/dist/AllUserItems-vKh3Mm2X.js +979 -0
- package/dist/ApAgingDetailPage-BZucbLuJ.cjs +46 -0
- package/dist/ApAgingDetailPage-CwPtOern.js +239 -0
- package/dist/AppBasePage-DOG_AFC0.js +120 -0
- package/dist/AppBasePage-x7UgAh4Z.cjs +71 -0
- package/dist/AppDrawerContent-BxOuACFq.js +375 -0
- package/dist/AppDrawerContent-D-On0dLr.cjs +91 -0
- package/dist/ApprovalRulesSettingsPage-C_Op8xKo.js +146 -0
- package/dist/ApprovalRulesSettingsPage-D6TZ8w2u.cjs +47 -0
- package/dist/ArAgingChart-CHpAQxiv.cjs +24 -0
- package/dist/ArAgingChart-DXEYzHyG.js +529 -0
- package/dist/ArAgingDetailPage-Bc-KHlzV.js +243 -0
- package/dist/ArAgingDetailPage-DiCn32ju.cjs +46 -0
- package/dist/AttachmentView-CwwGCrQN.cjs +101 -0
- package/dist/AttachmentView-D7RHXhJ5.js +260 -0
- package/dist/BankAccountSection-DBV6BbI2.cjs +79 -0
- package/dist/BankAccountSection-DC6iSj4R.js +398 -0
- package/dist/BankAccountWarningSection-2lKoI5Zs.js +110 -0
- package/dist/BankAccountWarningSection-OXrkCCpS.cjs +51 -0
- package/dist/BankConnectionsSettingsPage-C8yHSddE.js +1695 -0
- package/dist/BankConnectionsSettingsPage-Dq5EtxwN.cjs +425 -0
- package/dist/BillDetailPage-Bq83faTr.cjs +266 -0
- package/dist/BillDetailPage-JnsrnTiI.js +1798 -0
- package/dist/BillPayApprovalRuleDetailPage-9jX6u7G3.cjs +27 -0
- package/dist/BillPayApprovalRuleDetailPage-BUZRTI5I.js +247 -0
- package/dist/BillPayApprovalRulesPage-C6KyEj81.cjs +235 -0
- package/dist/BillPayApprovalRulesPage-CLTcaidy.js +415 -0
- package/dist/BillPayPromoPage-B0qUmHm9.cjs +84 -0
- package/dist/BillPayPromoPage-CkHwMvaQ.js +293 -0
- package/dist/BillPaySetUpPage-B4HQBzYM.cjs +42 -0
- package/dist/BillPaySetUpPage-zJq3HkEC.js +412 -0
- package/dist/BillingSettingsPage-CrLZjt1Q.cjs +44 -0
- package/dist/BillingSettingsPage-DQKc4f6L.js +336 -0
- package/dist/BillsBulkReviewDrawerPage-CG1nBbTy.cjs +1 -0
- package/dist/BillsBulkReviewDrawerPage-SpuBHxBw.js +216 -0
- package/dist/BoxItem-Boi9l0k6.cjs +53 -0
- package/dist/BoxItem-Di-YXnG-.js +118 -0
- package/dist/BusinessVerificationPage-7EvtWjc2.js +714 -0
- package/dist/BusinessVerificationPage-BL4zxEoq.cjs +138 -0
- package/dist/BusyIndication-Cw9yBgw7.js +18 -0
- package/dist/BusyIndication-D6cPVJv4.cjs +9 -0
- package/dist/CardNumberSubText-BU99XDdA.cjs +21 -0
- package/dist/CardNumberSubText-DzFn3_PZ.js +57 -0
- package/dist/CashbackDetailPage-CjQngqJh.js +824 -0
- package/dist/CashbackDetailPage-L1dJDPmp.cjs +285 -0
- package/dist/ChargeCardDetailPage-RIKW8QpG.js +5762 -0
- package/dist/ChargeCardDetailPage-r6R8b0sb.cjs +1813 -0
- package/dist/ChargeCardListPage-BLscpHh2.js +1775 -0
- package/dist/ChargeCardListPage-C5w1HYEK.cjs +406 -0
- package/dist/ChargeCardListTable-Bomx4jTt.cjs +711 -0
- package/dist/ChargeCardListTable-CWs0yRb7.js +2849 -0
- package/dist/ChargeCardPromoPage-CdXTqAPM.cjs +222 -0
- package/dist/ChargeCardPromoPage-DcSxmF13.js +806 -0
- package/dist/ChargeCardSetupPage-B1kE6gQu.cjs +36 -0
- package/dist/ChargeCardSetupPage-D7KYTRhl.js +362 -0
- package/dist/ChargeCardStatementsPage-CgGr-kmF.cjs +60 -0
- package/dist/ChargeCardStatementsPage-Dcp15xx_.js +243 -0
- package/dist/ChargeCardUtils-CCCxZqkT.js +102 -0
- package/dist/ChargeCardUtils-DC8hHzM3.cjs +1 -0
- package/dist/ChaseOverlay-CjaSRmjm.cjs +170 -0
- package/dist/ChaseOverlay-Nom4V5v9.js +402 -0
- package/dist/CheckDepositDrawerPage-BtZYZsG7.cjs +206 -0
- package/dist/CheckDepositDrawerPage-CtWXEXK-.js +726 -0
- package/dist/CollapsableReportTable-CfzLsUMN.js +11743 -0
- package/dist/CollapsableReportTable-DgdfZ65b.cjs +2932 -0
- package/dist/CompanyOfficerDetailsSection-BQjsf14C.cjs +260 -0
- package/dist/CompanyOfficerDetailsSection-CuRcAM-3.js +1633 -0
- package/dist/CompanyPassportCard-D23lD2Qq.js +146 -0
- package/dist/CompanyPassportCard-Hni3mXeh.cjs +42 -0
- package/dist/CompanyPassportPage-D7L-n4PK.cjs +574 -0
- package/dist/CompanyPassportPage-tteVIvVs.js +2160 -0
- package/dist/CompleteProfile-BkpO098y.js +301 -0
- package/dist/CompleteProfile-D1CROcHZ.cjs +52 -0
- package/dist/ConfettiBurst-DCH6TXJf.cjs +1 -0
- package/dist/ConfettiBurst-xzxQ6c8X.js +37 -0
- package/dist/CreateOrEditVendorPage-C4mH5yOs.cjs +281 -0
- package/dist/CreateOrEditVendorPage-fv_bmvfi.js +755 -0
- package/dist/CreditCardPaymentDrawerPage-7fnYwExb.js +1171 -0
- package/dist/CreditCardPaymentDrawerPage-EC6pBJPB.cjs +224 -0
- package/dist/CreditCardPaymentPlgSection-DB0wdHyW.cjs +78 -0
- package/dist/CreditCardPaymentPlgSection-DthqKiKn.js +196 -0
- package/dist/CurrencySelectField-DEyNfsua.cjs +139 -0
- package/dist/CurrencySelectField-DIdZl5cW.js +348 -0
- package/dist/CustomerOnboardingActivationPage-JhAaD-FC.js +143 -0
- package/dist/CustomerOnboardingActivationPage-PuXbsJol.cjs +88 -0
- package/dist/CustomerOnboardingContainerPage-BOI3JIGP.js +7 -0
- package/dist/CustomerOnboardingContainerPage-C-0u8tKM.cjs +1 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-DRCNFlmb.cjs +162 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-D__ymliT.js +434 -0
- package/dist/CustomerOnboardingNoStepsPage-BOnVc1Cw.cjs +66 -0
- package/dist/CustomerOnboardingNoStepsPage-CVere1yI.js +425 -0
- package/dist/CustomerOnboardingPage-WNQCQJ5n.js +1060 -0
- package/dist/CustomerOnboardingPage-lFVdWPhd.cjs +107 -0
- package/dist/CustomerOnboardingProductSuitePage-CAJfbnLK.js +349 -0
- package/dist/CustomerOnboardingProductSuitePage-DUvTCWng.cjs +202 -0
- package/dist/Dashboard-D0UMJmya.js +5527 -0
- package/dist/Dashboard-n_Nn4gLX.cjs +1551 -0
- package/dist/DashboardReportPage-BCFw6ao6.js +2536 -0
- package/dist/DashboardReportPage-D_COx4mh.cjs +371 -0
- package/dist/DashboardSidebarBackgroundAnimation-DHkCvHUA.js +50 -0
- package/dist/DashboardSidebarBackgroundAnimation-DIBf4hxa.cjs +12 -0
- package/dist/DepositAccTransactionItem-DUvoYEsh.cjs +76 -0
- package/dist/DepositAccTransactionItem-d34JxwvA.js +112 -0
- package/dist/DepositAccTransactionListPage-D7gDhDY8.js +152 -0
- package/dist/DepositAccTransactionListPage-hLpnDqjC.cjs +66 -0
- package/dist/DomesticWireDetailsPage-DzxwWirW.cjs +21 -0
- package/dist/DomesticWireDetailsPage-OrNehTKb.js +189 -0
- package/dist/DownloadOverlay-DaCUudXP.js +2148 -0
- package/dist/DownloadOverlay-DeZS6zya.cjs +439 -0
- package/dist/DrawerPage-CmSHpc-z.js +208 -0
- package/dist/DrawerPage-DTau2h3j.cjs +118 -0
- package/dist/EditPeoplePage-8KV3IPex.js +392 -0
- package/dist/EditPeoplePage-CJkP2dFd.cjs +55 -0
- package/dist/EditReimbursementDetailPage-BIiJxP5z.cjs +865 -0
- package/dist/EditReimbursementDetailPage-CeB1Zddt.js +4461 -0
- package/dist/EmptySearchResults-BEF1fPhr.js +70 -0
- package/dist/EmptySearchResults-Cn92v39R.cjs +46 -0
- package/dist/EntityDetailPage-0gSd2S2a.js +82 -0
- package/dist/EntityDetailPage-bfiTYSwB.cjs +18 -0
- package/dist/EntitySummarySection-CDqJFGbo.js +530 -0
- package/dist/EntitySummarySection-D0sutiMD.cjs +149 -0
- package/dist/ExpenseAutomationOverviewPage-DRn3hqt9.cjs +228 -0
- package/dist/ExpenseAutomationOverviewPage-m3uEsbuA.js +673 -0
- package/dist/ExpenseAutomationPage-41S7xtG5.js +11487 -0
- package/dist/ExpenseAutomationPage-CD9v4Gfb.cjs +1650 -0
- package/dist/ExpressPayPage-Cs_g6535.cjs +168 -0
- package/dist/ExpressPayPage-D-7iK8kb.js +1136 -0
- package/dist/FeaturePreviewPage-C7DVH8Lo.cjs +11 -0
- package/dist/FeaturePreviewPage-CGX75zlc.js +114 -0
- package/dist/FollowStepsSection-OmBMrvQp.cjs +390 -0
- package/dist/FollowStepsSection-SyRYm6Xk.js +1313 -0
- package/dist/GlobalReviewListPage-BRqJ-aMN.cjs +291 -0
- package/dist/GlobalReviewListPage-cFCPjHNY.js +1674 -0
- package/dist/HelpButton-BGB7GelM.cjs +28 -0
- package/dist/HelpButton-BaJhgb0U.js +81 -0
- package/dist/InformationCardStack-CKwUXzzO.js +219 -0
- package/dist/InformationCardStack-VHEoqaum.cjs +31 -0
- package/dist/InsightsCardStack-DgbzOi4U.js +305 -0
- package/dist/InsightsCardStack-TvkIiaPF.cjs +79 -0
- package/dist/InsightsSection-Baicql5I.js +97 -0
- package/dist/InsightsSection-DzR83xCA.cjs +27 -0
- package/dist/IntegrationsSettingsPage-BjJ1GxVh.cjs +57 -0
- package/dist/IntegrationsSettingsPage-F3YIomsV.js +137 -0
- package/dist/InternationalWireSwiftDetailsPage-Bk3_uQsM.js +753 -0
- package/dist/InternationalWireSwiftDetailsPage-Cg4FmIDR.cjs +171 -0
- package/dist/InternationalWireVerificationPage-DChr_HQh.cjs +292 -0
- package/dist/InternationalWireVerificationPage-e30e4EN3.js +877 -0
- package/dist/InviteFormPage--XxaRUk9.js +873 -0
- package/dist/InviteFormPage-D2Wwf4pu.cjs +312 -0
- package/dist/InvitePageListView-BMxYu8cb.cjs +739 -0
- package/dist/InvitePageListView-BxqSNNLQ.js +1764 -0
- package/dist/InvitePeoplePage-B6rPzram.cjs +12 -0
- package/dist/InvitePeoplePage-DH3kZeNR.js +286 -0
- package/dist/InvoiceUploadSection-BDkyRdqd.cjs +140 -0
- package/dist/InvoiceUploadSection-D-8BRSZh.js +465 -0
- package/dist/IssueChargeCardPage-Cx-mINDz.js +2875 -0
- package/dist/IssueChargeCardPage-TDdR19UX.cjs +532 -0
- package/dist/LabeledAddressValue-CBCPqHGX.js +115 -0
- package/dist/LabeledAddressValue-DYTyir5z.cjs +49 -0
- package/dist/LabeledAddressValueField-CMBF_lk1.js +130 -0
- package/dist/LabeledAddressValueField-QTSWVko5.cjs +45 -0
- package/dist/LabeledControlledCheckBoxField-B9oQXHhJ.cjs +16 -0
- package/dist/LabeledControlledCheckBoxField-DaiUqmLm.js +73 -0
- package/dist/LabeledCreatableSingleSelectField-DnywMYhK.js +515 -0
- package/dist/LabeledCreatableSingleSelectField-T3Zmg3Vq.cjs +204 -0
- package/dist/LabeledDocumentField-BYSLbus8.cjs +41 -0
- package/dist/LabeledDocumentField-M2THEAOY.js +147 -0
- package/dist/LabeledDropDownFormattedTextField-3XtnFSSO.js +163 -0
- package/dist/LabeledDropDownFormattedTextField-A6bCwEij.cjs +59 -0
- package/dist/LabeledEmailInputField-9j8n4Y0J.js +425 -0
- package/dist/LabeledEmailInputField-BWoK6MHb.cjs +182 -0
- package/dist/LabeledItemWithButton-DlC5nSEi.js +74 -0
- package/dist/LabeledItemWithButton-EHYrrZWO.cjs +21 -0
- package/dist/LabeledNameField--F0g081x.cjs +141 -0
- package/dist/LabeledNameField-D72z4JOu.js +293 -0
- package/dist/LabeledSingleSelectField-DkvHWjwF.js +372 -0
- package/dist/LabeledSingleSelectField-DyCaOJHI.cjs +136 -0
- package/dist/LabeledSingleSelectWithoutClearableField-XlMXV4GL.js +103 -0
- package/dist/LabeledSingleSelectWithoutClearableField-adJKIiYd.cjs +38 -0
- package/dist/LabeledText-CtzLXkog.cjs +42 -0
- package/dist/LabeledText-imTCum1u.js +103 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CzCtjFr_.cjs +229 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-DlOa-ACw.js +572 -0
- package/dist/LabeledZeniRolesDropDownField-CZJqLE8m.cjs +297 -0
- package/dist/LabeledZeniRolesDropDownField-XfcFfufN.js +975 -0
- package/dist/LinkJETransactionPage-B9eOkkRL.js +406 -0
- package/dist/LinkJETransactionPage-Cf142tUz.cjs +98 -0
- package/dist/LockCardPage-Ct7vGNS4.js +1880 -0
- package/dist/LockCardPage-D7p8rxO4.cjs +574 -0
- package/dist/LowBalancePopup-DDO9XAGB.cjs +34 -0
- package/dist/LowBalancePopup-YZDhdF8c.js +219 -0
- package/dist/MagicLinkACHDetailsPage-BN-A0Efu.js +39 -0
- package/dist/MagicLinkACHDetailsPage-Bii-cTen.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-DPApHz5V.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-dzeckdoJ.js +44 -0
- package/dist/MagicLinkInternationalWireDetailsPage-CKmC92G4.cjs +1 -0
- package/dist/MagicLinkInternationalWireDetailsPage-CYqXDRUn.js +43 -0
- package/dist/MagicLinkSuccessPage-CcRWGb2b.cjs +31 -0
- package/dist/MagicLinkSuccessPage-DC24iw6B.js +59 -0
- package/dist/MagicLinkTitleSection-BU4mKN-V.cjs +17 -0
- package/dist/MagicLinkTitleSection-BccVjN_n.js +40 -0
- package/dist/MailingDetailsSection-BP6jyRvT.cjs +21 -0
- package/dist/MailingDetailsSection-BfdZmdwA.js +74 -0
- package/dist/MatchingOperatorDropdown-BYRzVmJz.cjs +130 -0
- package/dist/MatchingOperatorDropdown-zVUSAsHD.js +572 -0
- package/dist/MeetingCalenderPopup-YzTE9xU9.js +60 -0
- package/dist/MeetingCalenderPopup-eTEOlNS3.cjs +26 -0
- package/dist/Menu-CBlxmZjQ.cjs +17 -0
- package/dist/Menu-EG5GC1HM.js +110 -0
- package/dist/MoreMenuButton-BWaCETAQ.js +569 -0
- package/dist/MoreMenuButton-CmXEMlcg.cjs +167 -0
- package/dist/MyBankConnectionsSettingsPage-7OIyFRXi.cjs +110 -0
- package/dist/MyBankConnectionsSettingsPage-DvbBOAdm.js +297 -0
- package/dist/MyPendingActivationChargeCardListPage-BeNJP6gE.js +168 -0
- package/dist/MyPendingActivationChargeCardListPage-iWdZh3R_.cjs +6 -0
- package/dist/MyProfileSettingsPage-BQ66s9Ne.cjs +85 -0
- package/dist/MyProfileSettingsPage-BRxBJZKl.js +641 -0
- package/dist/NavBarWithPicker-CXbOG33s.cjs +30 -0
- package/dist/NavBarWithPicker-DcoxoePr.js +106 -0
- package/dist/NavigationArrow-B8mAmEJR.js +88 -0
- package/dist/NavigationArrow-vENdbN0g.cjs +47 -0
- package/dist/NavigationDots-BFx4LPfU.cjs +15 -0
- package/dist/NavigationDots-DWLQ8EKT.js +44 -0
- package/dist/NewGlobalMerchantPage-8gyxcrrO.cjs +160 -0
- package/dist/NewGlobalMerchantPage-BB_toJEW.js +543 -0
- package/dist/NoDataChart-BuWkhFal.js +58 -0
- package/dist/NoDataChart-DJ0CA3ly.cjs +26 -0
- package/dist/NoDataTable-BUdL3yV2.js +27 -0
- package/dist/NoDataTable-qDKGiUpw.cjs +8 -0
- package/dist/NotFoundPage-DIKyx0G7.js +71 -0
- package/dist/NotFoundPage-yh2ZNu00.cjs +46 -0
- package/dist/NotificationSettingsPage-BQKqMo0w.js +541 -0
- package/dist/NotificationSettingsPage-CiR6UUtH.cjs +163 -0
- package/dist/NotificationsListConfig-BGwXH_Lq.cjs +1 -0
- package/dist/NotificationsListConfig-DY24LAfq.js +10 -0
- package/dist/NotificationsPage-Acw0AkgY.cjs +685 -0
- package/dist/NotificationsPage-CcSiCmhM.js +2664 -0
- package/dist/OpExByVendorPage-BFAF6ekU.cjs +100 -0
- package/dist/OpExByVendorPage-BOD4I42j.js +1057 -0
- package/dist/PandLWithForecastPage-B6uVGfdU.cjs +107 -0
- package/dist/PandLWithForecastPage-DR0hOvcK.js +563 -0
- package/dist/PaymentAccountSetupBillingAddressSection-BRiWKc9Y.cjs +106 -0
- package/dist/PaymentAccountSetupBillingAddressSection-aY0Kwk1v.js +623 -0
- package/dist/PeoplePage-CgbpQTzF.js +1994 -0
- package/dist/PeoplePage-CyRoSb-C.cjs +675 -0
- package/dist/PortfolioAllocationFormPage-BfSR1q8r.cjs +207 -0
- package/dist/PortfolioAllocationFormPage-DyQS9mGR.js +440 -0
- package/dist/PortfolioDetails-B7qEltGm.cjs +218 -0
- package/dist/PortfolioDetails-YqgY6irK.js +653 -0
- package/dist/ProductsCarousel-D0vNX0Lg.js +309 -0
- package/dist/ProductsCarousel-ebQ27uGo.cjs +142 -0
- package/dist/PromoBaseCards-9AHeVJwp.cjs +218 -0
- package/dist/PromoBaseCards-D7B2WP4y.js +356 -0
- package/dist/QBOConnectionDialog-BM3Ei-Uy.js +115 -0
- package/dist/QBOConnectionDialog-Cr9nLyVO.cjs +51 -0
- package/dist/QBOSetupSection-Bw_jvLen.cjs +79 -0
- package/dist/QBOSetupSection-C1C9oOYp.js +167 -0
- package/dist/ReimbursementApprovalRuleDetailPage-2NCQPRtH.js +247 -0
- package/dist/ReimbursementApprovalRuleDetailPage-DZ4D59T3.cjs +26 -0
- package/dist/ReimbursementApprovalRulesPage-D0pavqdu.cjs +237 -0
- package/dist/ReimbursementApprovalRulesPage-D7M5LyNE.js +410 -0
- package/dist/ReimbursementDetailPage-CFvkeM65.js +1511 -0
- package/dist/ReimbursementDetailPage-Ks_LbPne.cjs +314 -0
- package/dist/ReimbursementPromoPage-B9Bt1DI9.cjs +84 -0
- package/dist/ReimbursementPromoPage-BiajhsSb.js +364 -0
- package/dist/ReimbursementSetUpPage--vFw3Coy.js +666 -0
- package/dist/ReimbursementSetUpPage-XmeHSz5z.cjs +140 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-40sklAAn.js +204 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-R8uQMBtj.cjs +1 -0
- package/dist/ReloadCard-DHXj7tDB.js +137 -0
- package/dist/ReloadCard-Do12F_yd.cjs +26 -0
- package/dist/ReloadContainer-DSGsU3dr.cjs +596 -0
- package/dist/ReloadContainer-cUACN4PL.js +2144 -0
- package/dist/ReportTableViewSelector-BReW2rBY.js +679 -0
- package/dist/ReportTableViewSelector-C9ItZPvP.cjs +150 -0
- package/dist/ReportsPage-8dRHTbBF.js +1315 -0
- package/dist/ReportsPage-DZiyKMZ3.cjs +121 -0
- package/dist/RevenueChart-BrJtZTP6.js +2239 -0
- package/dist/RevenueChart-CBMqu2-M.cjs +280 -0
- package/dist/ReviewDetailsPage-BYKWuqrn.js +1073 -0
- package/dist/ReviewDetailsPage-DBAkFDok.cjs +290 -0
- package/dist/ReviewOverlay-CKrV5TkR.cjs +152 -0
- package/dist/ReviewOverlay-DejTxf0F.js +299 -0
- package/dist/RoleWithToolTip-BBJEUvEA.cjs +22 -0
- package/dist/RoleWithToolTip-SDWCAZAR.js +72 -0
- package/dist/ScheduleDetailsFixedAssetsPage-DmrofLij.js +806 -0
- package/dist/ScheduleDetailsFixedAssetsPage-adNv5uRz.cjs +37 -0
- package/dist/ScheduleDetailsPage-BNTSLmuj.cjs +37 -0
- package/dist/ScheduleDetailsPage-ChMFxnSM.js +726 -0
- package/dist/ScheduleSequenceTable-Bu7Xzs_c.cjs +324 -0
- package/dist/ScheduleSequenceTable-D8Xld3H6.js +1261 -0
- package/dist/SetUpAccountSection-D3cMHFo9.js +1470 -0
- package/dist/SetUpAccountSection-ojhirF_Z.cjs +378 -0
- package/dist/SetUpDefaultSection-CymZOLfl.cjs +187 -0
- package/dist/SetUpDefaultSection-DAYmX0ZV.js +537 -0
- package/dist/SignIn-44novL5w.js +1075 -0
- package/dist/SignIn-Bbq1Ersf.cjs +448 -0
- package/dist/SpendManagementListViewPage-DPbYKXjo.cjs +122 -0
- package/dist/SpendManagementListViewPage-DSoYdq_m.js +627 -0
- package/dist/SpendManagementPerTabPage-B78XKEd3.cjs +754 -0
- package/dist/SpendManagementPerTabPage-xTIW-X7N.js +2735 -0
- package/dist/SpendManagementSection-CJlsHGkm.js +1043 -0
- package/dist/SpendManagementSection-VJfcRxC-.cjs +230 -0
- package/dist/SpendMgmtSetupAccountSection-DqaxCSoP.cjs +206 -0
- package/dist/SpendMgmtSetupAccountSection-S-3M9Tex.js +875 -0
- package/dist/StatementItem-CpLfY99I.cjs +31 -0
- package/dist/StatementItem-DX6-flmJ.js +81 -0
- package/dist/StatementsPage-D91MtJPe.cjs +58 -0
- package/dist/StatementsPage-DCKr_4XZ.js +130 -0
- package/dist/StatusSwitcher-2gXg9BBb.cjs +120 -0
- package/dist/StatusSwitcher-C6SduIx3.js +319 -0
- package/dist/SubTabSwitcher-DxJkEm7Q.cjs +58 -0
- package/dist/SubTabSwitcher-W3Ntabka.js +113 -0
- package/dist/SuccessAnimation-mmgHZ64j.cjs +13 -0
- package/dist/SuccessAnimation-q3kCz3fT.js +52 -0
- package/dist/SummaryCard-CSi_6X0o.cjs +1 -0
- package/dist/SummaryCard-z1Y1Z21L.js +25 -0
- package/dist/TaskDetailPage-3JD4dBEx.cjs +775 -0
- package/dist/TaskDetailPage-D7AoG_Kq.js +2533 -0
- package/dist/TaskListRow-B3dRw53R.cjs +556 -0
- package/dist/TaskListRow-DArVIilM.js +1950 -0
- package/dist/TaskManagementPage-BZ0UnFM8.cjs +508 -0
- package/dist/TaskManagementPage-Dr7_IfHc.js +1935 -0
- package/dist/TimeRangeSwitcher-CrkB8n_m.js +265 -0
- package/dist/TimeRangeSwitcher-D9OsJMJg.cjs +64 -0
- package/dist/TimeframeSwitcher-CMpQebr-.js +103 -0
- package/dist/TimeframeSwitcher-D4pIq6FR.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-DEYUZtYJ.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-MSmSK_yv.js +157 -0
- package/dist/TopExCard-BVPIs-uJ.cjs +38 -0
- package/dist/TopExCard-VQ8z2vI8.js +568 -0
- package/dist/TopExDetailPage-BD4pBlKj.cjs +132 -0
- package/dist/TopExDetailPage-DpnzP9SJ.js +318 -0
- package/dist/TransactionDetailPage-CYUaKiqB.js +5238 -0
- package/dist/TransactionDetailPage-D2RB6CVI.cjs +912 -0
- package/dist/TransactionList-7td4LLik.cjs +147 -0
- package/dist/TransactionList-BingIVb_.js +558 -0
- package/dist/TransactionListBig-DmwmrNvk.cjs +284 -0
- package/dist/TransactionListBig-u-0Ia9Ua.js +658 -0
- package/dist/TransactionListPage-Bm_O4r_M.cjs +35 -0
- package/dist/TransactionListPage-CYnEa2xe.js +144 -0
- package/dist/TransactionVendorDetailPage-BFkUirn2.js +425 -0
- package/dist/TransactionVendorDetailPage-DmEDQmoN.cjs +80 -0
- package/dist/TransferDrawerPage-CX9GJ8vi.js +1435 -0
- package/dist/TransferDrawerPage-CgTz3xsj.cjs +362 -0
- package/dist/TreasuryOverviewPage-BsUrQEzu.cjs +708 -0
- package/dist/TreasuryOverviewPage-C9I-VnRo.js +1890 -0
- package/dist/TreasuryPromoPage-CYS2YGaR.cjs +505 -0
- package/dist/TreasuryPromoPage-DUScnOPQ.js +1122 -0
- package/dist/TreasurySetupPage-DDV1AIyd.cjs +144 -0
- package/dist/TreasurySetupPage-DzkvNyQm.js +682 -0
- package/dist/TreasuryStatementsPage-BipG_ii3.js +131 -0
- package/dist/TreasuryStatementsPage-CWCis-Bh.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-DCrdgOsu.js +131 -0
- package/dist/TreasuryTaxLetterPage-Dr03kjOB.cjs +58 -0
- package/dist/TreasuryTransferOrReviewPage-DO9VVbX6.js +1938 -0
- package/dist/TreasuryTransferOrReviewPage-DkgXCaxv.cjs +576 -0
- package/dist/TrendChart-7zjlYO_K.cjs +16 -0
- package/dist/TrendChart-BpsoQkO0.js +333 -0
- package/dist/TrendWithTransactions-Bva1zM4j.cjs +116 -0
- package/dist/TrendWithTransactions-D61X4lVu.js +346 -0
- package/dist/UncategorizedAccountsMappingPage-CGGKjJaZ.js +1160 -0
- package/dist/UncategorizedAccountsMappingPage-DjxhjifP.cjs +244 -0
- package/dist/UnitIntegrationPage-CtZ777Ph.cjs +67 -0
- package/dist/UnitIntegrationPage-cQpbU9rB.js +405 -0
- package/dist/UploadAdditionalDocumentOverlay-BfB2ULiU.cjs +38 -0
- package/dist/UploadAdditionalDocumentOverlay-jDJV9q65.js +211 -0
- package/dist/Vendor2FAPopup-B3ecYMnd.js +69 -0
- package/dist/Vendor2FAPopup-Cc2YoIuU.cjs +1 -0
- package/dist/VendorACHDetailsPage-CyyzrOmU.cjs +1 -0
- package/dist/VendorACHDetailsPage-DgHf5ptD.js +43 -0
- package/dist/VendorDetailPage-Bi8U23Yu.js +1236 -0
- package/dist/VendorDetailPage-fWPZIEsb.cjs +257 -0
- package/dist/VendorDomesticWireDetailsPage-1NJj7GtJ.js +53 -0
- package/dist/VendorDomesticWireDetailsPage-CF77npv6.cjs +1 -0
- package/dist/VendorFiling1099EditablePage-BRytcxuo.js +842 -0
- package/dist/VendorFiling1099EditablePage-C5IQfdIe.cjs +175 -0
- package/dist/VendorFirstReviewPage-C7AldYSx.cjs +730 -0
- package/dist/VendorFirstReviewPage-wW6F5Vyp.js +2748 -0
- package/dist/VendorInternationalWireDetailsPage-Bc1eFo1x.cjs +152 -0
- package/dist/VendorInternationalWireDetailsPage-BvOCNJjZ.js +968 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-DfyLskrB.js +52 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-zfGZjg3g.cjs +1 -0
- package/dist/VendorsAccountsSection-BgZ0EsGs.js +279 -0
- package/dist/VendorsAccountsSection-C0d0OSGg.cjs +68 -0
- package/dist/VerifyDevice-CQANP69N.cjs +112 -0
- package/dist/VerifyDevice-Djjoi0YZ.js +298 -0
- package/dist/VideoPlayer-BtNb3Nb5.cjs +77 -0
- package/dist/VideoPlayer-DGYFB2YS.js +169 -0
- package/dist/VideoPopup-B0Y5lvba.cjs +31 -0
- package/dist/VideoPopup-DJk2FZWR.js +60 -0
- package/dist/WarningsDrawerPage-CD08YNAB.js +228 -0
- package/dist/WarningsDrawerPage-DijjKlaU.cjs +92 -0
- package/dist/ZeniAccountDetailPage-BbzRooF0.cjs +300 -0
- package/dist/ZeniAccountDetailPage-BymuJnpr.js +907 -0
- package/dist/ZeniAccountListViewPage-CSf3_-PQ.js +1078 -0
- package/dist/ZeniAccountListViewPage-D_gbfpJP.cjs +441 -0
- package/dist/ZeniAccountNavBarPieces-DdAxPEwU.cjs +14 -0
- package/dist/ZeniAccountNavBarPieces-F42ZriYE.js +89 -0
- package/dist/ZeniAccountPromoPage-BtKkiVcd.cjs +184 -0
- package/dist/ZeniAccountPromoPage-VVCQ_UDm.js +523 -0
- package/dist/ZeniAccountSetupPage-8BzSbp-U.cjs +36 -0
- package/dist/ZeniAccountSetupPage-BOwiGnM-.js +312 -0
- package/dist/ZeniAvatar-B8vUwPS7.js +34 -0
- package/dist/ZeniAvatar-BDhKE2jX.cjs +13 -0
- package/dist/ZeniCopyright-DkcWuMgx.js +9 -0
- package/dist/ZeniCopyright-cVQ7cvkM.cjs +1 -0
- package/dist/ZeniDatePicker-BcUByh5Q.cjs +187 -0
- package/dist/ZeniDatePicker-Dq_2fOU8.js +386 -0
- package/dist/ZeniTransferAmountSlider-CSjm9-nW.cjs +63 -0
- package/dist/ZeniTransferAmountSlider-tcmR5JIX.js +215 -0
- package/dist/analyticsHelper-C9rlHFL7.cjs +1 -0
- package/dist/analyticsHelper-DgQ9dYv6.js +65 -0
- package/dist/calculateSize-CwdOtU8h.js +22 -0
- package/dist/calculateSize-stgoG0AM.cjs +1 -0
- package/dist/chartTypes-BkGKZtjd.js +47 -0
- package/dist/chartTypes-COqQ3xfW.cjs +1 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-DmHe0ags.js +22 -0
- package/dist/common-_L90NQkk.cjs +1 -0
- package/dist/commonDimensions-CHbjIfPA.cjs +1 -0
- package/dist/commonDimensions-D-rqQGD_.js +13 -0
- package/dist/detailCommon-CtS6T69Q.cjs +38 -0
- package/dist/detailCommon-GKfk0vsu.js +124 -0
- package/dist/downloadPdf-C-AZ1ViJ.cjs +1 -0
- package/dist/downloadPdf-De1ILdAb.js +32 -0
- package/dist/index-B3YgZKlu.cjs +19213 -0
- package/dist/index-rO5GHlOg.js +85893 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-3D5AXM_2.cjs +1 -0
- package/dist/mapLoadingInProgressToTreeNode-BQLjNvTv.js +25 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-4CORO2Hm.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-C0VNdd8s.js +388 -0
- package/dist/mapSpacerToTreeNode-BU36CqfC.js +25 -0
- package/dist/mapSpacerToTreeNode-e4mUtIt0.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-BVtoixEC.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-C45lf-nZ.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-d_IFWlQx.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-qlVwejg5.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BJqETV-q.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-DeErljHZ.js +32 -0
- package/dist/sectionColor-BYQk36Oi.js +32 -0
- package/dist/sectionColor-DniF57Of.cjs +1 -0
- package/dist/toCOABalancesWithID-BJ6qn0xM.cjs +1 -0
- package/dist/toCOABalancesWithID-jZvgYCO7.js +8 -0
- package/dist/toChartData-WQatTWgk.cjs +1 -0
- package/dist/toChartData-XC5K1jEk.js +76 -0
- package/dist/treasuryColorHelper-Bn8hh2DU.js +60 -0
- package/dist/treasuryColorHelper-C4B-aW0a.cjs +1 -0
- package/dist/uploadAttachment-CAl_Ockc.js +952 -0
- package/dist/uploadAttachment-X2r7yiCU.cjs +286 -0
- package/dist/zeniDatePicker.helpers-BVetIW6x.js +14 -0
- package/dist/zeniDatePicker.helpers-C0nkqnio.cjs +1 -0
- package/package.json +3 -3
- package/dist/ACHDetailsPage-DLhcNoMM.cjs +0 -21
- package/dist/ACHDetailsPage-DM2WEfEM.js +0 -160
- package/dist/AIPerformancePage-B2ksJLat.cjs +0 -530
- package/dist/AIPerformancePage-CcFi2kN8.js +0 -1333
- package/dist/AccountInfoPage-AO1FEUOK.cjs +0 -18
- package/dist/AccountInfoPage-C738y2Z2.js +0 -78
- package/dist/AccountInfoPageContent-CzVb5QUl.cjs +0 -149
- package/dist/AccountInfoPageContent-zCmnpBxP.js +0 -428
- package/dist/AccountLockedInfoModal-C0AUuSZ6.cjs +0 -59
- package/dist/AccountLockedInfoModal-SonrUO27.js +0 -125
- package/dist/AccountReconDetailsDrawerPage-Bj-J-3Ek.cjs +0 -239
- package/dist/AccountReconDetailsDrawerPage-Dgi5frg6.js +0 -686
- package/dist/AccountRow-B7chI4kg.js +0 -1009
- package/dist/AccountRow-CUjlA8rs.cjs +0 -298
- package/dist/AccountsPromoCardStack-CLvceA4Y.cjs +0 -207
- package/dist/AccountsPromoCardStack-DM-SxtLt.js +0 -664
- package/dist/AddAddressForCardDrawer-1fCag29z.cjs +0 -6
- package/dist/AddAddressForCardDrawer-QS9TmR7n.js +0 -82
- package/dist/AddToWalletPage-Dh7fB0Bd.js +0 -643
- package/dist/AddToWalletPage-hdYqbWja.cjs +0 -344
- package/dist/AgingReportsPage-DAK1cnRI.js +0 -827
- package/dist/AgingReportsPage-Dg3y-AiZ.cjs +0 -79
- package/dist/AllUserItems-Dj3jjuLa.cjs +0 -192
- package/dist/AllUserItems-Dnb9dMjX.js +0 -979
- package/dist/ApAgingDetailPage-BOpukeXW.cjs +0 -46
- package/dist/ApAgingDetailPage-XxhoYgue.js +0 -239
- package/dist/AppBasePage-CI1L7X8r.js +0 -120
- package/dist/AppBasePage-t1etb12J.cjs +0 -71
- package/dist/AppDrawerContent-BomLjDDf.js +0 -375
- package/dist/AppDrawerContent-C7odPhXY.cjs +0 -91
- package/dist/ApprovalRulesSettingsPage-CATJjuqR.cjs +0 -47
- package/dist/ApprovalRulesSettingsPage-CIQyuNXv.js +0 -146
- package/dist/ArAgingChart-DSJm_sEe.js +0 -529
- package/dist/ArAgingChart-jM7n6s9i.cjs +0 -24
- package/dist/ArAgingDetailPage-8QBQteCs.cjs +0 -46
- package/dist/ArAgingDetailPage-CaBevC97.js +0 -243
- package/dist/AttachmentView-3UYOOCy6.cjs +0 -101
- package/dist/AttachmentView-Dw7P7iKN.js +0 -260
- package/dist/BankAccountSection-Bn3G1DRc.js +0 -398
- package/dist/BankAccountSection-DZvesnr9.cjs +0 -79
- package/dist/BankAccountWarningSection-BJYGpFed.js +0 -110
- package/dist/BankAccountWarningSection-BJuNh-V2.cjs +0 -51
- package/dist/BankConnectionsSettingsPage-B83vBN_x.cjs +0 -425
- package/dist/BankConnectionsSettingsPage-CnNtElZ9.js +0 -1695
- package/dist/BillDetailPage-BJjkYwSI.cjs +0 -266
- package/dist/BillDetailPage-DZxFEM7G.js +0 -1798
- package/dist/BillPayApprovalRuleDetailPage-B7KDQu68.js +0 -247
- package/dist/BillPayApprovalRuleDetailPage-BzOc_xZ6.cjs +0 -27
- package/dist/BillPayApprovalRulesPage-BBPoLRT9.cjs +0 -235
- package/dist/BillPayApprovalRulesPage-C6R6-jLS.js +0 -415
- package/dist/BillPayPromoPage-BB-3ufAQ.js +0 -293
- package/dist/BillPayPromoPage-CPzOCw6z.cjs +0 -84
- package/dist/BillPaySetUpPage-Dm9syiSb.cjs +0 -42
- package/dist/BillPaySetUpPage-Dv4kIV5C.js +0 -412
- package/dist/BillingSettingsPage-L1pArEei.js +0 -336
- package/dist/BillingSettingsPage-dfcxEwVQ.cjs +0 -44
- package/dist/BillsBulkReviewDrawerPage-BWIqMPTl.js +0 -216
- package/dist/BillsBulkReviewDrawerPage-dh6yaHha.cjs +0 -1
- package/dist/BoxItem-HrU3QgMs.js +0 -118
- package/dist/BoxItem-jQsZhN8S.cjs +0 -53
- package/dist/BusinessVerificationPage-Bmv4MguY.cjs +0 -138
- package/dist/BusinessVerificationPage-CyEjNXhO.js +0 -714
- package/dist/BusyIndication-BOJxhkSE.cjs +0 -9
- package/dist/BusyIndication-CF31W1Yk.js +0 -18
- package/dist/CardNumberSubText-D3eYeZUM.js +0 -57
- package/dist/CardNumberSubText-_5mkBB4Q.cjs +0 -21
- package/dist/CashbackDetailPage-B4SRxRd0.js +0 -824
- package/dist/CashbackDetailPage-BYlJDDWJ.cjs +0 -285
- package/dist/ChargeCardDetailPage-D1zfAAoU.cjs +0 -1813
- package/dist/ChargeCardDetailPage-DO5BNLe3.js +0 -5762
- package/dist/ChargeCardListPage-C_bqgqwt.js +0 -1775
- package/dist/ChargeCardListPage-DduLODib.cjs +0 -406
- package/dist/ChargeCardListTable-BuCeP4J-.js +0 -2849
- package/dist/ChargeCardListTable-_i8YAOjH.cjs +0 -711
- package/dist/ChargeCardPromoPage-CoY8ATBx.cjs +0 -222
- package/dist/ChargeCardPromoPage-E2LkjWh7.js +0 -806
- package/dist/ChargeCardSetupPage-Bn9kTjbF.cjs +0 -36
- package/dist/ChargeCardSetupPage-CGcGyol7.js +0 -362
- package/dist/ChargeCardStatementsPage-B0b_5qum.js +0 -243
- package/dist/ChargeCardStatementsPage-B8OgasHi.cjs +0 -60
- package/dist/ChargeCardUtils-CWwEBbht.cjs +0 -1
- package/dist/ChargeCardUtils-DqAMCs3v.js +0 -102
- package/dist/ChaseOverlay-CUlOVbky.js +0 -402
- package/dist/ChaseOverlay-CvvrLlzA.cjs +0 -170
- package/dist/CheckDepositDrawerPage-CSBwbmdI.cjs +0 -206
- package/dist/CheckDepositDrawerPage-Tm2o5fCN.js +0 -726
- package/dist/CollapsableReportTable-DS_YFRg7.js +0 -11743
- package/dist/CollapsableReportTable-DSjWRNKS.cjs +0 -2932
- package/dist/CompanyOfficerDetailsSection-BbMKBT0q.js +0 -1633
- package/dist/CompanyOfficerDetailsSection-D1rH-GVn.cjs +0 -260
- package/dist/CompanyPassportCard-CcPY28x0.cjs +0 -42
- package/dist/CompanyPassportCard-DwWyrzxA.js +0 -146
- package/dist/CompanyPassportPage-CodJ4gks.js +0 -2160
- package/dist/CompanyPassportPage-CtDVAxKJ.cjs +0 -574
- package/dist/CompleteProfile-BY2o-xcn.js +0 -301
- package/dist/CompleteProfile-CGwjgHrz.cjs +0 -52
- package/dist/ConfettiBurst-DbOrx3BH.js +0 -37
- package/dist/ConfettiBurst-DrFrhfpB.cjs +0 -1
- package/dist/CreateOrEditVendorPage-BBkZjga0.js +0 -755
- package/dist/CreateOrEditVendorPage-DTieSyCk.cjs +0 -281
- package/dist/CreditCardPaymentDrawerPage-244aGtSl.js +0 -1171
- package/dist/CreditCardPaymentDrawerPage-DskTN8wc.cjs +0 -224
- package/dist/CreditCardPaymentPlgSection-CE2FtEAd.js +0 -196
- package/dist/CreditCardPaymentPlgSection-DGKP10i4.cjs +0 -78
- package/dist/CurrencySelectField-Cs1PV4YB.js +0 -348
- package/dist/CurrencySelectField-DbZr_QY0.cjs +0 -139
- package/dist/CustomerOnboardingActivationPage-2nG3UyaJ.cjs +0 -88
- package/dist/CustomerOnboardingActivationPage-Sb46sYOf.js +0 -143
- package/dist/CustomerOnboardingContainerPage-C14v88SN.js +0 -7
- package/dist/CustomerOnboardingContainerPage-DKTuGsX4.cjs +0 -1
- package/dist/CustomerOnboardingDetailPageSkeleton-9lG0sTe0.js +0 -434
- package/dist/CustomerOnboardingDetailPageSkeleton-CAvdyrss.cjs +0 -162
- package/dist/CustomerOnboardingNoStepsPage-D1ODePZ4.cjs +0 -66
- package/dist/CustomerOnboardingNoStepsPage-tKL2PUQL.js +0 -425
- package/dist/CustomerOnboardingPage-D3gux8E6.js +0 -1060
- package/dist/CustomerOnboardingPage-uL1jUM2j.cjs +0 -107
- package/dist/CustomerOnboardingProductSuitePage-CmNHkX3L.cjs +0 -202
- package/dist/CustomerOnboardingProductSuitePage-DbIhvpeC.js +0 -349
- package/dist/Dashboard-3ZPnwjv8.cjs +0 -1551
- package/dist/Dashboard-7FhlGtVp.js +0 -5527
- package/dist/DashboardReportPage-CS_sfcL7.cjs +0 -371
- package/dist/DashboardReportPage-DpiZMnFH.js +0 -2536
- package/dist/DashboardSidebarBackgroundAnimation-DrYSTkvd.js +0 -50
- package/dist/DashboardSidebarBackgroundAnimation-_lI7CbXr.cjs +0 -12
- package/dist/DepositAccTransactionItem-BTlo6BWK.cjs +0 -76
- package/dist/DepositAccTransactionItem-DrAU6HXo.js +0 -112
- package/dist/DepositAccTransactionListPage-B9CzmAKB.cjs +0 -66
- package/dist/DepositAccTransactionListPage-DYy9Tp4N.js +0 -152
- package/dist/DomesticWireDetailsPage-9_KWYbwd.cjs +0 -21
- package/dist/DomesticWireDetailsPage-C8l8_xfX.js +0 -189
- package/dist/DownloadOverlay-BZfw4676.js +0 -2148
- package/dist/DownloadOverlay-jIsJ5Ucf.cjs +0 -439
- package/dist/DrawerPage-Cfae2XFW.js +0 -208
- package/dist/DrawerPage-g8q16J5Z.cjs +0 -118
- package/dist/EditPeoplePage-DeguCxcA.js +0 -392
- package/dist/EditPeoplePage-_y1vUkYv.cjs +0 -55
- package/dist/EditReimbursementDetailPage-4Snrhvfp.cjs +0 -865
- package/dist/EditReimbursementDetailPage-DAWBccxu.js +0 -4461
- package/dist/EmptySearchResults-CmMVtee6.js +0 -70
- package/dist/EmptySearchResults-Dw3bleez.cjs +0 -46
- package/dist/EntityDetailPage-CaVGtPSt.js +0 -82
- package/dist/EntityDetailPage-DrS6KtD-.cjs +0 -18
- package/dist/EntitySummarySection-BzKB6oIk.cjs +0 -149
- package/dist/EntitySummarySection-CKsPeGI5.js +0 -530
- package/dist/ExpenseAutomationOverviewPage-BQ1Fv_0r.js +0 -673
- package/dist/ExpenseAutomationOverviewPage-BkNb2soj.cjs +0 -228
- package/dist/ExpenseAutomationPage-PmnWlTHe.cjs +0 -1650
- package/dist/ExpenseAutomationPage-TR8gcx-e.js +0 -11497
- package/dist/ExpressPayPage-Dkphobwh.cjs +0 -168
- package/dist/ExpressPayPage-VDOQ3JPA.js +0 -1136
- package/dist/FeaturePreviewPage-A33BahTJ.cjs +0 -11
- package/dist/FeaturePreviewPage-CYMq8EVD.js +0 -114
- package/dist/FollowStepsSection-BP_uTi9_.js +0 -1313
- package/dist/FollowStepsSection-Bb33t9cL.cjs +0 -390
- package/dist/GlobalReviewListPage-8LIK7anJ.cjs +0 -291
- package/dist/GlobalReviewListPage-Blv6E63z.js +0 -1674
- package/dist/HelpButton-BX5hjzzO.cjs +0 -28
- package/dist/HelpButton-DbXR-faN.js +0 -81
- package/dist/InformationCardStack-CKEE3GNP.js +0 -219
- package/dist/InformationCardStack-qUNMK2py.cjs +0 -31
- package/dist/InsightsCardStack-ClE-wo5L.cjs +0 -79
- package/dist/InsightsCardStack-DAEpbzB_.js +0 -305
- package/dist/InsightsSection-CN_0TDGI.cjs +0 -27
- package/dist/InsightsSection-DP6XrtOI.js +0 -97
- package/dist/IntegrationsSettingsPage-CHBd3hyp.cjs +0 -57
- package/dist/IntegrationsSettingsPage-CcHIXOHK.js +0 -137
- package/dist/InternationalWireSwiftDetailsPage-BHDeccgK.cjs +0 -171
- package/dist/InternationalWireSwiftDetailsPage-C7Nqjyb_.js +0 -753
- package/dist/InternationalWireVerificationPage-DcDj0BMG.js +0 -877
- package/dist/InternationalWireVerificationPage-OrjFTGV6.cjs +0 -292
- package/dist/InviteFormPage-BHtKYNIc.cjs +0 -312
- package/dist/InviteFormPage-CcHZHcpu.js +0 -873
- package/dist/InvitePageListView-DLMR5iAR.js +0 -1764
- package/dist/InvitePageListView-DMyRJxkw.cjs +0 -739
- package/dist/InvitePeoplePage-DsB7Bknh.js +0 -286
- package/dist/InvitePeoplePage-lxn8x-cF.cjs +0 -12
- package/dist/InvoiceUploadSection-D8MsC5-F.cjs +0 -140
- package/dist/InvoiceUploadSection-DMtxRe_f.js +0 -465
- package/dist/IssueChargeCardPage-BlNqFEOP.cjs +0 -532
- package/dist/IssueChargeCardPage-uBrO-dkP.js +0 -2875
- package/dist/LabeledAddressValue-C56sjqDX.js +0 -115
- package/dist/LabeledAddressValue-PruTk2tO.cjs +0 -49
- package/dist/LabeledAddressValueField--GoTZZvC.js +0 -130
- package/dist/LabeledAddressValueField-D8XUV_03.cjs +0 -45
- package/dist/LabeledControlledCheckBoxField-Bonr2PYW.cjs +0 -16
- package/dist/LabeledControlledCheckBoxField-Ccb0SP-I.js +0 -73
- package/dist/LabeledCreatableSingleSelectField-D3Z9gUqD.cjs +0 -204
- package/dist/LabeledCreatableSingleSelectField-DZiWV9XG.js +0 -515
- package/dist/LabeledDocumentField-Dfcp0nZM.js +0 -147
- package/dist/LabeledDocumentField-X5n6DxjP.cjs +0 -41
- package/dist/LabeledDropDownFormattedTextField-CTLjgS-P.cjs +0 -59
- package/dist/LabeledDropDownFormattedTextField-DHLnKH6o.js +0 -163
- package/dist/LabeledEmailInputField-Dp9MXZr1.cjs +0 -182
- package/dist/LabeledEmailInputField-_kUIZzMV.js +0 -425
- package/dist/LabeledItemWithButton-BNodxgSc.js +0 -74
- package/dist/LabeledItemWithButton-DAEXAMGm.cjs +0 -21
- package/dist/LabeledNameField-CSGuxI1c.cjs +0 -141
- package/dist/LabeledNameField-GFW3XuS9.js +0 -293
- package/dist/LabeledSingleSelectField-CQ7fY1H8.js +0 -372
- package/dist/LabeledSingleSelectField-CZClqqL1.cjs +0 -136
- package/dist/LabeledSingleSelectWithoutClearableField-0h6SQ3_J.cjs +0 -38
- package/dist/LabeledSingleSelectWithoutClearableField-BgrBHU9o.js +0 -103
- package/dist/LabeledText-26SnnngI.cjs +0 -42
- package/dist/LabeledText-B-PVB5L4.js +0 -103
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CKqXrXda.js +0 -572
- package/dist/LabeledUserSingleSelectWithSubtitlesField-PXp5VTqa.cjs +0 -229
- package/dist/LabeledZeniRolesDropDownField-B6nBEdC_.js +0 -975
- package/dist/LabeledZeniRolesDropDownField-DDcSRUbw.cjs +0 -297
- package/dist/LinkJETransactionPage-BrTz6zQX.cjs +0 -98
- package/dist/LinkJETransactionPage-J7izDZbg.js +0 -406
- package/dist/LockCardPage-CPIfXjJ_.cjs +0 -574
- package/dist/LockCardPage-DC-IxQ_T.js +0 -1880
- package/dist/LowBalancePopup-CVZhWBWp.js +0 -219
- package/dist/LowBalancePopup-Di3VF7sL.cjs +0 -34
- package/dist/MagicLinkACHDetailsPage-CRPYKYEP.cjs +0 -1
- package/dist/MagicLinkACHDetailsPage-DKIlD8YX.js +0 -39
- package/dist/MagicLinkDomesticWireDetailsPage-BVMzzDAu.js +0 -44
- package/dist/MagicLinkDomesticWireDetailsPage-BihcoHVG.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-CWOjQqA1.js +0 -43
- package/dist/MagicLinkInternationalWireDetailsPage-DVtncSOa.cjs +0 -1
- package/dist/MagicLinkSuccessPage-C47F-COp.cjs +0 -31
- package/dist/MagicLinkSuccessPage-CP7ZZFyk.js +0 -59
- package/dist/MagicLinkTitleSection-BRJDHFmh.js +0 -40
- package/dist/MagicLinkTitleSection-BqHlK5ZY.cjs +0 -17
- package/dist/MailingDetailsSection-UzVaRE6O.cjs +0 -21
- package/dist/MailingDetailsSection-jL3x0gUz.js +0 -74
- package/dist/MatchingOperatorDropdown-Dqx6BCBB.js +0 -572
- package/dist/MatchingOperatorDropdown-xjmuMB9E.cjs +0 -130
- package/dist/MeetingCalenderPopup-7G8NjTn1.cjs +0 -26
- package/dist/MeetingCalenderPopup-nu8zVS4A.js +0 -60
- package/dist/Menu-D7I3N12M.js +0 -110
- package/dist/Menu-_pHHmR68.cjs +0 -17
- package/dist/MoreMenuButton-D4cWLTZ7.js +0 -569
- package/dist/MoreMenuButton-kJto3pr5.cjs +0 -167
- package/dist/MyBankConnectionsSettingsPage-CCCLDez4.js +0 -297
- package/dist/MyBankConnectionsSettingsPage-Dwkp_ZxC.cjs +0 -110
- package/dist/MyPendingActivationChargeCardListPage-9Qn3aCt2.cjs +0 -6
- package/dist/MyPendingActivationChargeCardListPage-Gk21rDX5.js +0 -168
- package/dist/MyProfileSettingsPage-BDVUm-8Z.cjs +0 -85
- package/dist/MyProfileSettingsPage-mlIFB9dd.js +0 -641
- package/dist/NavBarWithPicker-BNLfv_Sv.cjs +0 -30
- package/dist/NavBarWithPicker-DueyL3dt.js +0 -106
- package/dist/NavigationArrow-rTJciIjZ.js +0 -88
- package/dist/NavigationArrow-vbDN2X34.cjs +0 -47
- package/dist/NavigationDots-B7LNV1sf.js +0 -44
- package/dist/NavigationDots-CDvvkSI3.cjs +0 -15
- package/dist/NewGlobalMerchantPage-B1xnc6W9.js +0 -543
- package/dist/NewGlobalMerchantPage-Z3iY2c3M.cjs +0 -160
- package/dist/NoDataChart-1Zkgcrd_.js +0 -58
- package/dist/NoDataChart-Bkh6u0nK.cjs +0 -26
- package/dist/NoDataTable-CcEPivX9.js +0 -27
- package/dist/NoDataTable-D3GAasjH.cjs +0 -8
- package/dist/NotFoundPage-DTYMLEB0.cjs +0 -46
- package/dist/NotFoundPage-gmM8g0pI.js +0 -71
- package/dist/NotificationSettingsPage-B212sRWs.cjs +0 -163
- package/dist/NotificationSettingsPage-rXUEt110.js +0 -541
- package/dist/NotificationsListConfig-DXYmNKk8.js +0 -10
- package/dist/NotificationsListConfig-DmKcGdhl.cjs +0 -1
- package/dist/NotificationsPage-DDC2xEE2.cjs +0 -685
- package/dist/NotificationsPage-DfIc4JIy.js +0 -2664
- package/dist/OpExByVendorPage-D2hivzkX.cjs +0 -100
- package/dist/OpExByVendorPage-DZ6Dotpp.js +0 -1057
- package/dist/PandLWithForecastPage-C_jGySFU.js +0 -563
- package/dist/PandLWithForecastPage-DWNoOg4N.cjs +0 -107
- package/dist/PaymentAccountSetupBillingAddressSection-BlmlXnUl.js +0 -623
- package/dist/PaymentAccountSetupBillingAddressSection-C0e0-1uD.cjs +0 -106
- package/dist/PeoplePage-DiF-YNlZ.js +0 -1994
- package/dist/PeoplePage-STpF_k02.cjs +0 -675
- package/dist/PortfolioAllocationFormPage-BbUzh-0L.js +0 -440
- package/dist/PortfolioAllocationFormPage-CM4pVTJV.cjs +0 -207
- package/dist/PortfolioDetails-Bd4-LGJp.cjs +0 -218
- package/dist/PortfolioDetails-CS9ggNrp.js +0 -653
- package/dist/ProductsCarousel-B-Fpo1gJ.js +0 -309
- package/dist/ProductsCarousel-DNdm7oke.cjs +0 -142
- package/dist/PromoBaseCards-BnPpUxmj.js +0 -356
- package/dist/PromoBaseCards-dAdfQp12.cjs +0 -218
- package/dist/QBOConnectionDialog-BRA9mvfK.js +0 -115
- package/dist/QBOConnectionDialog-BxkEVa_4.cjs +0 -51
- package/dist/QBOSetupSection-PxD8Y9Ta.js +0 -167
- package/dist/QBOSetupSection-lM1no6wM.cjs +0 -79
- package/dist/ReimbursementApprovalRuleDetailPage-Cm3oHXfW.cjs +0 -26
- package/dist/ReimbursementApprovalRuleDetailPage-D2McdW8F.js +0 -247
- package/dist/ReimbursementApprovalRulesPage-BkOZf5di.cjs +0 -237
- package/dist/ReimbursementApprovalRulesPage-pL7_KYQA.js +0 -410
- package/dist/ReimbursementDetailPage-BHtToQ7l.js +0 -1511
- package/dist/ReimbursementDetailPage-CEpTx7T3.cjs +0 -314
- package/dist/ReimbursementPromoPage-CLx-0VUJ.js +0 -364
- package/dist/ReimbursementPromoPage-YnEVcRej.cjs +0 -84
- package/dist/ReimbursementSetUpPage-CavbtKlM.cjs +0 -140
- package/dist/ReimbursementSetUpPage-DFnSxWgA.js +0 -666
- package/dist/ReimbursementsBulkReviewDrawerPage-BNSBjcSi.js +0 -204
- package/dist/ReimbursementsBulkReviewDrawerPage-Dlr1IMI9.cjs +0 -1
- package/dist/ReloadCard-CiPzVUPr.js +0 -137
- package/dist/ReloadCard-qfHvMs_3.cjs +0 -26
- package/dist/ReloadContainer-CL8AqAoS.js +0 -2144
- package/dist/ReloadContainer-koqw2puj.cjs +0 -596
- package/dist/ReportTableViewSelector-D2sHmNp1.cjs +0 -150
- package/dist/ReportTableViewSelector-vVCYAqty.js +0 -679
- package/dist/ReportsPage-C2cPhSND.cjs +0 -121
- package/dist/ReportsPage-CwDAmkWq.js +0 -1315
- package/dist/RevenueChart-BWP7IOPH.js +0 -2239
- package/dist/RevenueChart-dYQDFKAw.cjs +0 -280
- package/dist/ReviewDetailsPage-CdOmTW6b.cjs +0 -290
- package/dist/ReviewDetailsPage-CvyPDn5-.js +0 -1073
- package/dist/ReviewOverlay-BFK_friP.js +0 -299
- package/dist/ReviewOverlay-ouSIdDss.cjs +0 -152
- package/dist/RoleWithToolTip-C9GUYZcg.cjs +0 -22
- package/dist/RoleWithToolTip-DLlAO7Bp.js +0 -72
- package/dist/ScheduleDetailsFixedAssetsPage-BKkdXTI7.cjs +0 -37
- package/dist/ScheduleDetailsFixedAssetsPage-XMyLdASA.js +0 -806
- package/dist/ScheduleDetailsPage-gDtfrkS_.cjs +0 -37
- package/dist/ScheduleDetailsPage-i2hSXoi_.js +0 -726
- package/dist/ScheduleSequenceTable-DW33H0gg.cjs +0 -324
- package/dist/ScheduleSequenceTable-DrMFhapb.js +0 -1261
- package/dist/SetUpAccountSection-C92gQcEb.js +0 -1470
- package/dist/SetUpAccountSection-Cx_D_zce.cjs +0 -378
- package/dist/SetUpDefaultSection-BuYVVA94.js +0 -537
- package/dist/SetUpDefaultSection-SOA5QdaL.cjs +0 -187
- package/dist/SignIn-BFPiFLHa.cjs +0 -448
- package/dist/SignIn-C_hwpMME.js +0 -1075
- package/dist/SpendManagementListViewPage-B9fL3wc8.cjs +0 -122
- package/dist/SpendManagementListViewPage-CxLkQXTa.js +0 -627
- package/dist/SpendManagementPerTabPage-B-7gDDIE.cjs +0 -754
- package/dist/SpendManagementPerTabPage-TihXRDHv.js +0 -2735
- package/dist/SpendManagementSection-037vPvaE.js +0 -1043
- package/dist/SpendManagementSection-BY56esK6.cjs +0 -230
- package/dist/SpendMgmtSetupAccountSection-Chuh1E3P.cjs +0 -206
- package/dist/SpendMgmtSetupAccountSection-Docv57a2.js +0 -875
- package/dist/StatementItem-C1bGZ0lC.js +0 -81
- package/dist/StatementItem-rX5Rpxo7.cjs +0 -31
- package/dist/StatementsPage-D5iOdfZC.js +0 -130
- package/dist/StatementsPage-aXKGCaDH.cjs +0 -58
- package/dist/StatusSwitcher-8ILAhVng.js +0 -319
- package/dist/StatusSwitcher-BEHog7IP.cjs +0 -120
- package/dist/SubTabSwitcher-CN4GUftq.cjs +0 -58
- package/dist/SubTabSwitcher-Dly8rz0j.js +0 -113
- package/dist/SuccessAnimation-Cb3Jg9HW.js +0 -52
- package/dist/SuccessAnimation-DogKCL-W.cjs +0 -13
- package/dist/SummaryCard-BoKRYKzV.js +0 -25
- package/dist/SummaryCard-HRT4Wp29.cjs +0 -1
- package/dist/TaskDetailPage-BTX0-370.js +0 -2533
- package/dist/TaskDetailPage-BkcTCyPi.cjs +0 -775
- package/dist/TaskListRow-B-CtTQnX.js +0 -1950
- package/dist/TaskListRow-SXAJyA6M.cjs +0 -556
- package/dist/TaskManagementPage-CGoB_1NV.cjs +0 -508
- package/dist/TaskManagementPage-DiweAC_-.js +0 -1935
- package/dist/TimeRangeSwitcher-CvKvQUmi.js +0 -265
- package/dist/TimeRangeSwitcher-bo00XsV-.cjs +0 -64
- package/dist/TimeframeSwitcher-B1xUg64e.js +0 -103
- package/dist/TimeframeSwitcher-ykUzxIzq.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-C9F_zgnw.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-Dt52kytg.js +0 -157
- package/dist/TopExCard-ByooDs2p.cjs +0 -38
- package/dist/TopExCard-D6jz1uPx.js +0 -568
- package/dist/TopExDetailPage-DIBAkzJw.cjs +0 -132
- package/dist/TopExDetailPage-DyQibv30.js +0 -318
- package/dist/TransactionDetailPage-DTeDSky-.cjs +0 -912
- package/dist/TransactionDetailPage-fsF49yQf.js +0 -5217
- package/dist/TransactionList-BN8D-ZpD.cjs +0 -147
- package/dist/TransactionList-DDaYbPxz.js +0 -558
- package/dist/TransactionListBig-D1PxW6wz.js +0 -658
- package/dist/TransactionListBig-SlaRN6xl.cjs +0 -284
- package/dist/TransactionListPage-6876apb3.js +0 -144
- package/dist/TransactionListPage-x81FYIRu.cjs +0 -35
- package/dist/TransactionVendorDetailPage-BNzovAHX.js +0 -425
- package/dist/TransactionVendorDetailPage-D-4kEQVV.cjs +0 -80
- package/dist/TransferDrawerPage-CKNpx5y2.js +0 -1435
- package/dist/TransferDrawerPage-Dl8Am4xh.cjs +0 -362
- package/dist/TreasuryOverviewPage-DX99YTN1.js +0 -1890
- package/dist/TreasuryOverviewPage-S1gWNG63.cjs +0 -708
- package/dist/TreasuryPromoPage-BQMmDj-m.js +0 -1122
- package/dist/TreasuryPromoPage-DIEOvTPo.cjs +0 -505
- package/dist/TreasurySetupPage-CaGzDC9Q.js +0 -682
- package/dist/TreasurySetupPage-Dt8lhrK-.cjs +0 -144
- package/dist/TreasuryStatementsPage-DOboI1D1.cjs +0 -58
- package/dist/TreasuryStatementsPage-JUnPHxf8.js +0 -131
- package/dist/TreasuryTaxLetterPage-BXQCdDV5.js +0 -131
- package/dist/TreasuryTaxLetterPage-GH-rfnT5.cjs +0 -58
- package/dist/TreasuryTransferOrReviewPage-CnptB7C2.cjs +0 -576
- package/dist/TreasuryTransferOrReviewPage-DYFe8Yma.js +0 -1938
- package/dist/TrendChart-BKcdRCR7.js +0 -333
- package/dist/TrendChart-Ckz3aFuE.cjs +0 -16
- package/dist/TrendWithTransactions-BigFTC-h.js +0 -346
- package/dist/TrendWithTransactions-IGqbbO7u.cjs +0 -116
- package/dist/UncategorizedAccountsMappingPage-BU1AjNfX.js +0 -1160
- package/dist/UncategorizedAccountsMappingPage-Bh2waYZC.cjs +0 -244
- package/dist/UnitIntegrationPage-BrFy5SAK.cjs +0 -67
- package/dist/UnitIntegrationPage-v9xMueh7.js +0 -405
- package/dist/UploadAdditionalDocumentOverlay-CXg8A-1F.cjs +0 -38
- package/dist/UploadAdditionalDocumentOverlay-CgEaf_Mh.js +0 -211
- package/dist/Vendor2FAPopup-CVkNIEW6.js +0 -69
- package/dist/Vendor2FAPopup-Wbs5cELa.cjs +0 -1
- package/dist/VendorACHDetailsPage-BOcG_abE.js +0 -43
- package/dist/VendorACHDetailsPage-D1T_vmnX.cjs +0 -1
- package/dist/VendorDetailPage-CG_-t8DQ.js +0 -1236
- package/dist/VendorDetailPage-DFDmp0u5.cjs +0 -257
- package/dist/VendorDomesticWireDetailsPage-CrGjm-AG.cjs +0 -1
- package/dist/VendorDomesticWireDetailsPage-D1U9ef4f.js +0 -53
- package/dist/VendorFiling1099EditablePage-BVXLvG9v.js +0 -842
- package/dist/VendorFiling1099EditablePage-DF6Jgqo6.cjs +0 -175
- package/dist/VendorFirstReviewPage-BC2OL9KB.cjs +0 -730
- package/dist/VendorFirstReviewPage-Byxv7p7D.js +0 -2748
- package/dist/VendorInternationalWireDetailsPage-BYHA2KiV.cjs +0 -152
- package/dist/VendorInternationalWireDetailsPage-CSux_QaS.js +0 -968
- package/dist/VendorInternationalWireSwiftDetailsPage-BCAf583A.js +0 -52
- package/dist/VendorInternationalWireSwiftDetailsPage-bA0gVfOO.cjs +0 -1
- package/dist/VendorsAccountsSection-BSJW848H.js +0 -279
- package/dist/VendorsAccountsSection-CRBZmhxw.cjs +0 -68
- package/dist/VerifyDevice-BU-al4MU.cjs +0 -112
- package/dist/VerifyDevice-C2qaQ5VF.js +0 -298
- package/dist/VideoPlayer-C23ZFX8E.js +0 -169
- package/dist/VideoPlayer-Cu1Xp6hf.cjs +0 -77
- package/dist/VideoPopup-C4GEvNBO.js +0 -60
- package/dist/VideoPopup-D3FDzBlf.cjs +0 -31
- package/dist/WarningsDrawerPage-0_WmM1Ur.js +0 -228
- package/dist/WarningsDrawerPage-Bv2S-aQI.cjs +0 -92
- package/dist/ZeniAccountDetailPage-Buyk-feN.js +0 -907
- package/dist/ZeniAccountDetailPage-DbhWY7xC.cjs +0 -300
- package/dist/ZeniAccountListViewPage-CdYu4Cqn.js +0 -1078
- package/dist/ZeniAccountListViewPage-Dc0-Rdsi.cjs +0 -441
- package/dist/ZeniAccountNavBarPieces-BAiIh00g.cjs +0 -14
- package/dist/ZeniAccountNavBarPieces-DW3mWrsa.js +0 -89
- package/dist/ZeniAccountPromoPage-C6lL8DG7.cjs +0 -184
- package/dist/ZeniAccountPromoPage-DukoBdZO.js +0 -523
- package/dist/ZeniAccountSetupPage-DOQciLbg.js +0 -312
- package/dist/ZeniAccountSetupPage-Dum6h6It.cjs +0 -36
- package/dist/ZeniAvatar-BAeW3G15.js +0 -34
- package/dist/ZeniAvatar-CkQ2iqZ2.cjs +0 -13
- package/dist/ZeniCopyright-D-c6oY91.cjs +0 -1
- package/dist/ZeniCopyright-DSuCs6TP.js +0 -9
- package/dist/ZeniDatePicker-Dazf6Qwr.cjs +0 -187
- package/dist/ZeniDatePicker-Deq4xMIf.js +0 -386
- package/dist/ZeniTransferAmountSlider-C1Hm03d6.cjs +0 -63
- package/dist/ZeniTransferAmountSlider-DEROwunG.js +0 -215
- package/dist/analyticsHelper-DDg9r-jX.js +0 -65
- package/dist/analyticsHelper-Dgl6DWv_.cjs +0 -1
- package/dist/calculateSize-DBkYZHLB.cjs +0 -1
- package/dist/calculateSize-dkZVEDCl.js +0 -22
- package/dist/chartTypes-B11vKIHU.js +0 -47
- package/dist/chartTypes-CYsMn6Qd.cjs +0 -1
- package/dist/common-BerxbruX.cjs +0 -1
- package/dist/common-D8mcvMrP.js +0 -22
- package/dist/commonDimensions-DT7tPwhP.js +0 -13
- package/dist/commonDimensions-Dw03_OWT.cjs +0 -1
- package/dist/detailCommon-Bgr412u7.cjs +0 -38
- package/dist/detailCommon-CLvp4Rjd.js +0 -124
- package/dist/downloadPdf-5HrBJAvZ.js +0 -32
- package/dist/downloadPdf-BFc4cVo1.cjs +0 -1
- package/dist/index-B3sr4TRT.js +0 -85893
- package/dist/index-am18ouAt.cjs +0 -19213
- package/dist/mapLoadingInProgressToTreeNode-CSmeoIQC.cjs +0 -1
- package/dist/mapLoadingInProgressToTreeNode-CZxY8Q9X.js +0 -25
- package/dist/mapSectionWithAcOnlyToTreeNode-CKfW7dgG.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-DPxxFNUi.js +0 -388
- package/dist/mapSpacerToTreeNode-BwFDMgpj.js +0 -25
- package/dist/mapSpacerToTreeNode-Pk_GA_L4.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode--08DPzvH.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-CvpfMhmA.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-D46I1xrD.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-Dnf8Th9p.js +0 -24
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-CJJ1SMdz.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-CNuioBVH.js +0 -32
- package/dist/sectionColor-ClIj55Gu.cjs +0 -1
- package/dist/sectionColor-CwNbZd_W.js +0 -32
- package/dist/toCOABalancesWithID-CWJhOZ0t.cjs +0 -1
- package/dist/toCOABalancesWithID-CxKma1nV.js +0 -8
- package/dist/toChartData-CID17K6U.cjs +0 -1
- package/dist/toChartData-txRRrB7y.js +0 -76
- package/dist/treasuryColorHelper-C7tgyLd8.cjs +0 -1
- package/dist/treasuryColorHelper-DERJHogj.js +0 -60
- package/dist/uploadAttachment-YLYFO96u.js +0 -952
- package/dist/uploadAttachment-rmwaK3Bk.cjs +0 -286
- package/dist/zeniDatePicker.helpers-CKqUJ2ya.cjs +0 -1
- package/dist/zeniDatePicker.helpers-CQX8BYTl.js +0 -14
|
@@ -1,2144 +0,0 @@
|
|
|
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-DxbX2tX4.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-B3sr4TRT.js";
|
|
6
|
-
import { S as Xt } from "./SuccessAnimation-Cb3Jg9HW.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-_kUIZzMV.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-CQX8BYTl.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
|
-
};
|