@zeniai/web-components 3.16.42 → 3.16.44
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-DV6lZDqc.cjs +21 -0
- package/dist/ACHDetailsPage-Fs_YGrDD.js +160 -0
- package/dist/AIPerformancePage-BDZ1v7vG.js +1333 -0
- package/dist/AIPerformancePage-CTBaX_Iq.cjs +530 -0
- package/dist/AccountInfoPage-COIJcMFb.cjs +18 -0
- package/dist/AccountInfoPage-gzQGXWPG.js +78 -0
- package/dist/AccountInfoPageContent-D-WDeER5.js +428 -0
- package/dist/AccountInfoPageContent-DCprzBTY.cjs +149 -0
- package/dist/AccountLockedInfoModal-DSlJQQPZ.cjs +59 -0
- package/dist/AccountLockedInfoModal-DSx34JYI.js +125 -0
- package/dist/AccountReconDetailsDrawerPage-_Je4xQqv.cjs +239 -0
- package/dist/AccountReconDetailsDrawerPage-jiLtYXII.js +686 -0
- package/dist/AccountRow-B9z4VRkf.cjs +298 -0
- package/dist/AccountRow-CsapXUb4.js +1009 -0
- package/dist/AccountsPromoCardStack-ShWLGjmh.js +664 -0
- package/dist/AccountsPromoCardStack-wWfFOsNt.cjs +207 -0
- package/dist/AddAddressForCardDrawer-CpS_TYjo.js +82 -0
- package/dist/AddAddressForCardDrawer-Db1zOCqx.cjs +6 -0
- package/dist/AddToWalletPage-Cd__qGmm.js +643 -0
- package/dist/AddToWalletPage-ChsR4x16.cjs +344 -0
- package/dist/AgingReportsPage-9HDSI9a2.js +827 -0
- package/dist/AgingReportsPage-DpPgU1gg.cjs +79 -0
- package/dist/AllUserItems-BTTBIN8o.cjs +192 -0
- package/dist/AllUserItems-D2Ku9jkh.js +979 -0
- package/dist/ApAgingDetailPage-BxxKzkBl.js +239 -0
- package/dist/ApAgingDetailPage-DlEZxnJS.cjs +46 -0
- package/dist/AppBasePage-DmxggPHg.js +120 -0
- package/dist/AppBasePage-DtyIAZdE.cjs +71 -0
- package/dist/AppDrawerContent-CNCZ30kA.js +375 -0
- package/dist/AppDrawerContent-Q_LC4yIQ.cjs +91 -0
- package/dist/ApprovalRulesSettingsPage-CEpShv-9.cjs +47 -0
- package/dist/ApprovalRulesSettingsPage-GsHpPaMv.js +146 -0
- package/dist/ArAgingChart-CpLBFKyM.cjs +24 -0
- package/dist/ArAgingChart-nUMqI8l0.js +529 -0
- package/dist/ArAgingDetailPage-C4rcTJXY.js +243 -0
- package/dist/ArAgingDetailPage-W_ZvfMcz.cjs +46 -0
- package/dist/AttachmentView-DrmDXpf1.js +260 -0
- package/dist/AttachmentView-IJy_8STH.cjs +101 -0
- package/dist/BankAccountSection-CfSx-eGt.js +398 -0
- package/dist/BankAccountSection-DN4WGnkg.cjs +79 -0
- package/dist/BankAccountWarningSection-CAemD2V6.js +110 -0
- package/dist/BankAccountWarningSection-DmGq2r0w.cjs +51 -0
- package/dist/BankConnectionsSettingsPage-COUnnHS0.cjs +425 -0
- package/dist/BankConnectionsSettingsPage-D6gFtkLl.js +1695 -0
- package/dist/BillDetailPage-0YT14tR3.cjs +266 -0
- package/dist/BillDetailPage-B8rnxuQH.js +1798 -0
- package/dist/BillPayApprovalRuleDetailPage-AqoJNn0_.js +247 -0
- package/dist/BillPayApprovalRuleDetailPage-DA-YidQy.cjs +27 -0
- package/dist/BillPayApprovalRulesPage-BHmxKaeV.cjs +235 -0
- package/dist/BillPayApprovalRulesPage-BzoMKLMl.js +415 -0
- package/dist/BillPayPromoPage-D3X2RVT5.cjs +84 -0
- package/dist/BillPayPromoPage-DlWVWLQD.js +293 -0
- package/dist/BillPaySetUpPage-B__lOlWX.cjs +42 -0
- package/dist/BillPaySetUpPage-CSEPKNxS.js +412 -0
- package/dist/BillingSettingsPage-Be1Lhifd.js +336 -0
- package/dist/BillingSettingsPage-ChA20hrN.cjs +44 -0
- package/dist/BillsBulkReviewDrawerPage-BhZnX-6P.js +216 -0
- package/dist/BillsBulkReviewDrawerPage-e-Rw07su.cjs +1 -0
- package/dist/BoxItem-3bqCNONS.cjs +53 -0
- package/dist/BoxItem-BtkJxmen.js +118 -0
- package/dist/BusinessVerificationPage-B877OFdc.cjs +138 -0
- package/dist/BusinessVerificationPage-Ct01HPCm.js +717 -0
- package/dist/BusyIndication-BQabU_I8.cjs +9 -0
- package/dist/BusyIndication-ozy3ruPL.js +18 -0
- package/dist/CardNumberSubText-BgWyi2xy.cjs +21 -0
- package/dist/CardNumberSubText-Bikz1K0Q.js +59 -0
- package/dist/CashbackDetailPage-BCAR4Mir.js +824 -0
- package/dist/CashbackDetailPage-DC1acczZ.cjs +285 -0
- package/dist/ChargeCardDetailPage-Cy940kJy.js +5762 -0
- package/dist/ChargeCardDetailPage-DAJ_PhgV.cjs +1813 -0
- package/dist/ChargeCardListPage-CqtXskKE.js +1775 -0
- package/dist/ChargeCardListPage-Srh5C1Fp.cjs +406 -0
- package/dist/ChargeCardListTable-CdrJvEmJ.js +2872 -0
- package/dist/ChargeCardListTable-TPDFBZop.cjs +711 -0
- package/dist/ChargeCardPromoPage-Bg8O8yuc.js +806 -0
- package/dist/ChargeCardPromoPage-Cr7GMKfp.cjs +222 -0
- package/dist/ChargeCardSetupPage-CscTQgZB.js +362 -0
- package/dist/ChargeCardSetupPage-O00oCisT.cjs +36 -0
- package/dist/ChargeCardStatementsPage-Cfhn0HFO.js +243 -0
- package/dist/ChargeCardStatementsPage-ag2V9J5J.cjs +60 -0
- package/dist/ChargeCardUtils-0bKtGlJP.js +102 -0
- package/dist/ChargeCardUtils-za5l1p5p.cjs +1 -0
- package/dist/ChaseOverlay-CKwPi1pP.cjs +170 -0
- package/dist/ChaseOverlay-DgPrfsfQ.js +402 -0
- package/dist/CheckDepositDrawerPage-BJE63KXZ.cjs +206 -0
- package/dist/CheckDepositDrawerPage-DvHysFqi.js +726 -0
- package/dist/CollapsableReportTable-Cga_RwAi.cjs +2932 -0
- package/dist/CollapsableReportTable-DrQ1-umG.js +11743 -0
- package/dist/CompanyOfficerDetailsSection-CR5M4gyy.js +1633 -0
- package/dist/CompanyOfficerDetailsSection-_YJrlU-3.cjs +260 -0
- package/dist/CompanyPassportCard-Catea71n.cjs +42 -0
- package/dist/CompanyPassportCard-GgKdULdl.js +146 -0
- package/dist/CompanyPassportPage-BRBJ3H1H.js +2160 -0
- package/dist/CompanyPassportPage-SprxoPjn.cjs +574 -0
- package/dist/CompleteProfile-4c6OU3un.js +301 -0
- package/dist/CompleteProfile-DV1ZNbk_.cjs +52 -0
- package/dist/ConfettiBurst-CNAoNFa7.cjs +1 -0
- package/dist/ConfettiBurst-DPcNBmS1.js +37 -0
- package/dist/CreateOrEditVendorPage-BaJM9u7u.js +755 -0
- package/dist/CreateOrEditVendorPage-CK1LGxZc.cjs +281 -0
- package/dist/CreditCardPaymentDrawerPage-CKWy961i.js +1171 -0
- package/dist/CreditCardPaymentDrawerPage-fWMrAOOX.cjs +224 -0
- package/dist/CreditCardPaymentPlgSection-B7Udt16m.js +196 -0
- package/dist/CreditCardPaymentPlgSection-BOguaMfW.cjs +78 -0
- package/dist/CurrencySelectField-D1nk7zlh.cjs +139 -0
- package/dist/CurrencySelectField-DXB5uGYK.js +348 -0
- package/dist/CustomerOnboardingActivationPage-Cf6E5CXA.js +143 -0
- package/dist/CustomerOnboardingActivationPage-vtKA56WA.cjs +88 -0
- package/dist/CustomerOnboardingContainerPage-BJJsyVmp.js +7 -0
- package/dist/CustomerOnboardingContainerPage-Hdw4HSKF.cjs +1 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-B-fztMt7.js +434 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-TgIWoxLe.cjs +162 -0
- package/dist/CustomerOnboardingNoStepsPage-CqnEWmhx.cjs +66 -0
- package/dist/CustomerOnboardingNoStepsPage-DoGh6VIw.js +425 -0
- package/dist/CustomerOnboardingPage-Ba-37X7l.js +1060 -0
- package/dist/CustomerOnboardingPage-DpOJyc1J.cjs +107 -0
- package/dist/CustomerOnboardingProductSuitePage-Di9gseW9.js +349 -0
- package/dist/CustomerOnboardingProductSuitePage-glASK9h9.cjs +202 -0
- package/dist/Dashboard-B9VkjivO.js +5531 -0
- package/dist/Dashboard-C3Gsuw6M.cjs +1551 -0
- package/dist/DashboardReportPage-D1QuXQ1d.js +2536 -0
- package/dist/DashboardReportPage-T0mBD9ET.cjs +371 -0
- package/dist/DashboardSidebarBackgroundAnimation-2Zn_Lw0E.cjs +12 -0
- package/dist/DashboardSidebarBackgroundAnimation-KQei01iZ.js +50 -0
- package/dist/DepositAccTransactionItem-BYk9CPJn.cjs +76 -0
- package/dist/DepositAccTransactionItem-BtTyIlGw.js +112 -0
- package/dist/DepositAccTransactionListPage-5eYhvD_N.cjs +66 -0
- package/dist/DepositAccTransactionListPage-Cx9cFA2T.js +152 -0
- package/dist/DomesticWireDetailsPage-BM_xZsXP.cjs +21 -0
- package/dist/DomesticWireDetailsPage-boBZ6DBx.js +189 -0
- package/dist/DownloadOverlay-CMqK9sXu.cjs +439 -0
- package/dist/DownloadOverlay-Crc1Rn6C.js +2148 -0
- package/dist/DrawerPage-CG7maNeg.cjs +118 -0
- package/dist/DrawerPage-DDRI-uE7.js +208 -0
- package/dist/EditPeoplePage-CB-camyB.cjs +55 -0
- package/dist/EditPeoplePage-D15YPcro.js +392 -0
- package/dist/EditReimbursementDetailPage-BMC_6B7F.js +4461 -0
- package/dist/EditReimbursementDetailPage-CGsy1USh.cjs +865 -0
- package/dist/EmptySearchResults-B2Ok68Pg.cjs +46 -0
- package/dist/EmptySearchResults-Z8SwHjoR.js +70 -0
- package/dist/EntityDetailPage-Cv_gM0Ou.js +82 -0
- package/dist/EntityDetailPage-DKIhLows.cjs +18 -0
- package/dist/EntitySummarySection-D6ZZQkDQ.js +530 -0
- package/dist/EntitySummarySection-DT53BkbQ.cjs +149 -0
- package/dist/ExpenseAutomationOverviewPage-4Cs2Zg35.cjs +241 -0
- package/dist/ExpenseAutomationOverviewPage-mNUdY9pT.js +735 -0
- package/dist/ExpenseAutomationPage-BFheMpqT.cjs +1650 -0
- package/dist/ExpenseAutomationPage-wfmeXluN.js +11496 -0
- package/dist/ExpressPayPage-DSDtkZ71.cjs +168 -0
- package/dist/ExpressPayPage-Ds9CRUeZ.js +1136 -0
- package/dist/FeaturePreviewPage-BGixUCYk.js +114 -0
- package/dist/FeaturePreviewPage-xSmiNTWa.cjs +11 -0
- package/dist/FollowStepsSection-BNC-_Sl8.cjs +390 -0
- package/dist/FollowStepsSection-Dsk3iWgV.js +1313 -0
- package/dist/GlobalReviewListPage-CmK7OMS2.cjs +291 -0
- package/dist/GlobalReviewListPage-DLmIrmuP.js +1674 -0
- package/dist/HelpButton-BgyWixA5.cjs +28 -0
- package/dist/HelpButton-DY5Fs9rK.js +81 -0
- package/dist/InformationCardStack-C9MT4F5S.cjs +31 -0
- package/dist/InformationCardStack-CSQxgsOz.js +219 -0
- package/dist/InsightsCardStack-CV7ROl4o.js +305 -0
- package/dist/InsightsCardStack-DZZH80F3.cjs +79 -0
- package/dist/InsightsSection-B-9dsU74.cjs +27 -0
- package/dist/InsightsSection-BfXUADzQ.js +97 -0
- package/dist/IntegrationsSettingsPage-C33bX6XE.js +137 -0
- package/dist/IntegrationsSettingsPage-CcCk3ATK.cjs +57 -0
- package/dist/InternationalWireSwiftDetailsPage-BDnGPq-Z.cjs +171 -0
- package/dist/InternationalWireSwiftDetailsPage-CGgy4M35.js +753 -0
- package/dist/InternationalWireVerificationPage-CC521HRv.cjs +292 -0
- package/dist/InternationalWireVerificationPage-DV3pJFz4.js +877 -0
- package/dist/InviteFormPage-CufH0tQM.cjs +312 -0
- package/dist/InviteFormPage-iDaNgzSq.js +873 -0
- package/dist/InvitePageListView-D7p8VF7Q.cjs +739 -0
- package/dist/InvitePageListView-Dafwd6P9.js +1764 -0
- package/dist/InvitePeoplePage-4QhS7Au3.js +286 -0
- package/dist/InvitePeoplePage-x_WRdOmk.cjs +12 -0
- package/dist/InvoiceUploadSection-C8BaMEmN.js +465 -0
- package/dist/InvoiceUploadSection-jjdh7RFI.cjs +140 -0
- package/dist/IssueChargeCardPage-BzhH8euy.cjs +532 -0
- package/dist/IssueChargeCardPage-C25NZyhI.js +2875 -0
- package/dist/LabeledAddressValue-B1qKf-AZ.cjs +49 -0
- package/dist/LabeledAddressValue-QV9sK2iz.js +115 -0
- package/dist/LabeledAddressValueField-BEOltoN9.js +130 -0
- package/dist/LabeledAddressValueField-Re1qbMqb.cjs +45 -0
- package/dist/LabeledControlledCheckBoxField-B_GGfxNy.cjs +16 -0
- package/dist/LabeledControlledCheckBoxField-D7ACDOSQ.js +73 -0
- package/dist/LabeledCreatableSingleSelectField-Bhw-0k9_.js +515 -0
- package/dist/LabeledCreatableSingleSelectField-D758lUTB.cjs +204 -0
- package/dist/LabeledDocumentField-CC4jztCn.cjs +41 -0
- package/dist/LabeledDocumentField-CfcR0iM_.js +147 -0
- package/dist/LabeledDropDownFormattedTextField-Bmn6DU28.js +163 -0
- package/dist/LabeledDropDownFormattedTextField-CFxMOVRz.cjs +59 -0
- package/dist/LabeledEmailInputField-BE0gopGd.cjs +182 -0
- package/dist/LabeledEmailInputField-KNpd_PkL.js +425 -0
- package/dist/LabeledItemWithButton-Ck-oEh_2.js +74 -0
- package/dist/LabeledItemWithButton-D0ubpOca.cjs +21 -0
- package/dist/LabeledNameField-DkfZsHfc.js +293 -0
- package/dist/LabeledNameField-yhTP5GPO.cjs +141 -0
- package/dist/LabeledSingleSelectField-VwL_Zh7T.js +372 -0
- package/dist/LabeledSingleSelectField-zkVQe__B.cjs +136 -0
- package/dist/LabeledSingleSelectWithoutClearableField-D0xshN1-.js +103 -0
- package/dist/LabeledSingleSelectWithoutClearableField-DbNYrgs1.cjs +38 -0
- package/dist/LabeledText-CoDZZ-PQ.cjs +42 -0
- package/dist/LabeledText-oQJmiJRB.js +103 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-BrO5NTMY.js +572 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-JCnnSViW.cjs +229 -0
- package/dist/LabeledZeniRolesDropDownField-D6KPeCf6.cjs +297 -0
- package/dist/LabeledZeniRolesDropDownField-GMf_yNVi.js +975 -0
- package/dist/LinkJETransactionPage-B8-Rz1F2.cjs +98 -0
- package/dist/LinkJETransactionPage-BE6KChNh.js +406 -0
- package/dist/LockCardPage-BzOflZKk.cjs +623 -0
- package/dist/LockCardPage-k_Ov4sL8.js +2033 -0
- package/dist/LowBalancePopup-C8Ek3dtH.js +219 -0
- package/dist/LowBalancePopup-Cx5ibqEU.cjs +34 -0
- package/dist/MagicLinkACHDetailsPage-CR-peFTb.js +39 -0
- package/dist/MagicLinkACHDetailsPage-D_G_-aYQ.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-CdFn5lm7.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-Dvo5nor4.js +44 -0
- package/dist/MagicLinkInternationalWireDetailsPage-DNIYjlIu.js +43 -0
- package/dist/MagicLinkInternationalWireDetailsPage-v62STWWd.cjs +1 -0
- package/dist/MagicLinkSuccessPage-CBe_D8s-.cjs +31 -0
- package/dist/MagicLinkSuccessPage-CP4k-RAI.js +59 -0
- package/dist/MagicLinkTitleSection-B-IrzZtt.cjs +17 -0
- package/dist/MagicLinkTitleSection-_k9FSbv2.js +40 -0
- package/dist/MailingDetailsSection-BIwLoemN.cjs +21 -0
- package/dist/MailingDetailsSection-o5Q10ts2.js +74 -0
- package/dist/MatchingOperatorDropdown-BPe1GtH1.js +572 -0
- package/dist/MatchingOperatorDropdown-Bup2HsX_.cjs +130 -0
- package/dist/MeetingCalenderPopup-B3RomQHy.cjs +26 -0
- package/dist/MeetingCalenderPopup-BSpVJwmx.js +60 -0
- package/dist/Menu-Bq0M1faI.js +110 -0
- package/dist/Menu-D-aKGDzb.cjs +17 -0
- package/dist/MoreMenuButton-C4b3VBO4.js +569 -0
- package/dist/MoreMenuButton-EZw_R6qx.cjs +167 -0
- package/dist/MyBankConnectionsSettingsPage-C3oBFUZP.cjs +110 -0
- package/dist/MyBankConnectionsSettingsPage-Ci_qBlfP.js +297 -0
- package/dist/MyPendingActivationChargeCardListPage-2WwOW6zb.cjs +6 -0
- package/dist/MyPendingActivationChargeCardListPage-BhUkw3Ae.js +168 -0
- package/dist/MyProfileSettingsPage-Clxl0nep.js +641 -0
- package/dist/MyProfileSettingsPage-Divn25NW.cjs +85 -0
- package/dist/NavBarWithPicker-CQKwYPN8.cjs +30 -0
- package/dist/NavBarWithPicker-K-3atRgT.js +106 -0
- package/dist/NavigationArrow-BHm-ishW.cjs +47 -0
- package/dist/NavigationArrow-DEFVlR33.js +88 -0
- package/dist/NavigationDots-BgRAQfbY.js +44 -0
- package/dist/NavigationDots-wUofPNtL.cjs +15 -0
- package/dist/NewGlobalMerchantPage-BF8atXH1.js +543 -0
- package/dist/NewGlobalMerchantPage-C3R42pIe.cjs +160 -0
- package/dist/NoDataChart-2INzmOwZ.js +58 -0
- package/dist/NoDataChart-E353lEYm.cjs +26 -0
- package/dist/NoDataTable-CjUPlpwQ.js +27 -0
- package/dist/NoDataTable-JG__Hcnn.cjs +8 -0
- package/dist/NotFoundPage-BpUMfwma.js +71 -0
- package/dist/NotFoundPage-Cuo1v1QW.cjs +46 -0
- package/dist/NotificationSettingsPage-BKAWTOzE.js +541 -0
- package/dist/NotificationSettingsPage-MXUkkg3R.cjs +163 -0
- package/dist/NotificationsListConfig-CXYBcB3m.cjs +1 -0
- package/dist/NotificationsListConfig-ClMB3d6h.js +10 -0
- package/dist/NotificationsPage-jEqtpiZG.cjs +685 -0
- package/dist/NotificationsPage-k8J-SXzX.js +2664 -0
- package/dist/OpExByVendorPage-7IVmj73W.cjs +100 -0
- package/dist/OpExByVendorPage-BcAlTbwF.js +1057 -0
- package/dist/PandLWithForecastPage-D42m0XK2.js +563 -0
- package/dist/PandLWithForecastPage-SVS5vBS5.cjs +107 -0
- package/dist/PaymentAccountSetupBillingAddressSection-Bontd74L.js +623 -0
- package/dist/PaymentAccountSetupBillingAddressSection-BxW8ykT9.cjs +106 -0
- package/dist/PeoplePage-CzAg92X3.js +1994 -0
- package/dist/PeoplePage-DAHuloz_.cjs +675 -0
- package/dist/PortfolioAllocationFormPage-DDlpEiGN.cjs +207 -0
- package/dist/PortfolioAllocationFormPage-K3oukUP6.js +440 -0
- package/dist/PortfolioDetails-CAAqNSOZ.cjs +218 -0
- package/dist/PortfolioDetails-DZt--a7R.js +653 -0
- package/dist/ProductsCarousel-Ce0KpBPV.js +309 -0
- package/dist/ProductsCarousel-Csf_a0XQ.cjs +142 -0
- package/dist/PromoBaseCards-7Yr8HpIs.js +356 -0
- package/dist/PromoBaseCards-CNIi5O_g.cjs +218 -0
- package/dist/QBOConnectionDialog-BMX_v0zb.js +115 -0
- package/dist/QBOConnectionDialog-BZaox4Sf.cjs +51 -0
- package/dist/QBOSetupSection-C8WqJlTk.js +167 -0
- package/dist/QBOSetupSection-mB4g9zF-.cjs +79 -0
- package/dist/ReimbursementApprovalRuleDetailPage-BFcuPNi6.js +247 -0
- package/dist/ReimbursementApprovalRuleDetailPage-t_n43pMT.cjs +26 -0
- package/dist/ReimbursementApprovalRulesPage-3-drJusz.js +410 -0
- package/dist/ReimbursementApprovalRulesPage-CgZXBRiy.cjs +237 -0
- package/dist/ReimbursementDetailPage-B8iEO1V4.js +1511 -0
- package/dist/ReimbursementDetailPage-rqW697sB.cjs +314 -0
- package/dist/ReimbursementPromoPage-9katGoKa.cjs +84 -0
- package/dist/ReimbursementPromoPage-CxZddM5C.js +364 -0
- package/dist/ReimbursementSetUpPage-2c5TOkG3.cjs +140 -0
- package/dist/ReimbursementSetUpPage-iD7H3bDz.js +666 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-DDdDGpIK.cjs +1 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-DDz9Ij5Y.js +204 -0
- package/dist/ReloadCard-CB6gq_PU.cjs +26 -0
- package/dist/ReloadCard-DPNnBQhk.js +137 -0
- package/dist/ReloadContainer-C5zaiG2C.js +2144 -0
- package/dist/ReloadContainer-tO0QPrJ_.cjs +596 -0
- package/dist/ReportTableViewSelector-CgsWDg9I.js +679 -0
- package/dist/ReportTableViewSelector-n90q5YQ_.cjs +150 -0
- package/dist/ReportsPage-Czjl6B9x.js +1315 -0
- package/dist/ReportsPage-DAt0HSSS.cjs +121 -0
- package/dist/RevenueChart-CQLQ6iLy.js +2239 -0
- package/dist/RevenueChart-DhB-I6Rd.cjs +280 -0
- package/dist/ReviewDetailsPage-C-Y5-NCf.cjs +290 -0
- package/dist/ReviewDetailsPage-DuvM_ppj.js +1073 -0
- package/dist/ReviewOverlay-BAPw4qJV.cjs +152 -0
- package/dist/ReviewOverlay-CswIlZu2.js +299 -0
- package/dist/RoleWithToolTip-CLW5ija_.cjs +22 -0
- package/dist/RoleWithToolTip-Ds_o0ZW5.js +72 -0
- package/dist/ScheduleDetailsFixedAssetsPage-DBoNZcLO.cjs +37 -0
- package/dist/ScheduleDetailsFixedAssetsPage-LP7Bm8b0.js +806 -0
- package/dist/ScheduleDetailsPage-CFV3zZqt.js +726 -0
- package/dist/ScheduleDetailsPage-oW9wm-Tw.cjs +37 -0
- package/dist/ScheduleSequenceTable-CYuzl3rD.js +1261 -0
- package/dist/ScheduleSequenceTable-CyLM7aca.cjs +324 -0
- package/dist/SetUpAccountSection-BHRkvT2j.js +1470 -0
- package/dist/SetUpAccountSection-DrQFfqc-.cjs +378 -0
- package/dist/SetUpDefaultSection-DNYSLPCG.cjs +187 -0
- package/dist/SetUpDefaultSection-DV4juwz2.js +537 -0
- package/dist/SignIn-BV8t1UVc.cjs +448 -0
- package/dist/SignIn-DZ8Rxp3r.js +1075 -0
- package/dist/SpendManagementListViewPage-CR1W7nIj.js +627 -0
- package/dist/SpendManagementListViewPage-D12P6q2s.cjs +122 -0
- package/dist/SpendManagementPerTabPage-BHowSXdy.js +2735 -0
- package/dist/SpendManagementPerTabPage-Bwt8lhAG.cjs +754 -0
- package/dist/SpendManagementSection-BqYPOlhi.cjs +230 -0
- package/dist/SpendManagementSection-DKoZ8jPg.js +1043 -0
- package/dist/SpendMgmtSetupAccountSection-9tpXTSDa.js +875 -0
- package/dist/SpendMgmtSetupAccountSection-K1aZxHfG.cjs +206 -0
- package/dist/StatementItem-Bp8MOio0.cjs +31 -0
- package/dist/StatementItem-BsMcQ2jK.js +81 -0
- package/dist/StatementsPage-XfHFpdYf.js +130 -0
- package/dist/StatementsPage-u318J62X.cjs +58 -0
- package/dist/StatusSwitcher-CgQGUYse.js +319 -0
- package/dist/StatusSwitcher-DisQCtwk.cjs +120 -0
- package/dist/SubTabSwitcher-DPD8zj2J.js +113 -0
- package/dist/SubTabSwitcher-DXfaB6Ze.cjs +58 -0
- package/dist/SuccessAnimation-C1kEB7x7.cjs +13 -0
- package/dist/SuccessAnimation-CKBrh4Xi.js +52 -0
- package/dist/SummaryCard-BIIVpcrO.cjs +1 -0
- package/dist/SummaryCard-C2kTgRsb.js +25 -0
- package/dist/TaskDetailPage-PSjX7KUs.cjs +775 -0
- package/dist/TaskDetailPage-v1KNBBrr.js +2533 -0
- package/dist/TaskListRow-CLzOf8Y3.cjs +556 -0
- package/dist/TaskListRow-DY3Rb-Mu.js +1950 -0
- package/dist/TaskManagementPage-BT0lOrSY.js +1935 -0
- package/dist/TaskManagementPage-lrhMszD2.cjs +508 -0
- package/dist/TimeRangeSwitcher--UM72tuA.js +265 -0
- package/dist/TimeRangeSwitcher-B4YjNeJs.cjs +64 -0
- package/dist/TimeframeSwitcher-CC2mQYvj.cjs +31 -0
- package/dist/TimeframeSwitcher-CrVmrXym.js +103 -0
- package/dist/TimeframeSwitcherWithToggle-BYC_0LTN.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-BkjqNGTB.js +157 -0
- package/dist/TopExCard-BiGAD8f5.cjs +38 -0
- package/dist/TopExCard-C4BNntyV.js +568 -0
- package/dist/TopExDetailPage-BJqKyCWk.js +318 -0
- package/dist/TopExDetailPage-y6WCOTyq.cjs +132 -0
- package/dist/TransactionDetailPage-CGRsdbjm.cjs +912 -0
- package/dist/TransactionDetailPage-DfIqG3bN.js +5238 -0
- package/dist/TransactionList-CVH4yZTq.cjs +147 -0
- package/dist/TransactionList-aq5FYZFS.js +558 -0
- package/dist/TransactionListBig-B243Kv8z.cjs +284 -0
- package/dist/TransactionListBig-CrxmjwyM.js +658 -0
- package/dist/TransactionListPage-BkD2P5WA.cjs +35 -0
- package/dist/TransactionListPage-Cjj885zX.js +144 -0
- package/dist/TransactionVendorDetailPage-CbRnR7iy.cjs +80 -0
- package/dist/TransactionVendorDetailPage-Z52qggCY.js +425 -0
- package/dist/TransferDrawerPage-CuUIjeFy.cjs +362 -0
- package/dist/TransferDrawerPage-JvSYliAD.js +1435 -0
- package/dist/TreasuryOverviewPage-DLBlt3KI.cjs +708 -0
- package/dist/TreasuryOverviewPage-nGmLvuP-.js +1890 -0
- package/dist/TreasuryPromoPage-BedatNdY.cjs +505 -0
- package/dist/TreasuryPromoPage-CMgGfxJB.js +1122 -0
- package/dist/TreasurySetupPage-BVH1j71X.js +683 -0
- package/dist/TreasurySetupPage-qn0PsXtg.cjs +144 -0
- package/dist/TreasuryStatementsPage-B1ApiZzF.js +131 -0
- package/dist/TreasuryStatementsPage-CfAMLGg3.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-DDCxYEaf.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-Dno3r4qa.js +131 -0
- package/dist/TreasuryTransferOrReviewPage-ZO8K9bvh.cjs +576 -0
- package/dist/TreasuryTransferOrReviewPage-r1p_Nqxk.js +1938 -0
- package/dist/TrendChart-CbqDS0Dm.js +333 -0
- package/dist/TrendChart-CtpwPumf.cjs +16 -0
- package/dist/TrendWithTransactions-C42-eZ4_.js +346 -0
- package/dist/TrendWithTransactions-bCHnUwJd.cjs +116 -0
- package/dist/UncategorizedAccountsMappingPage-DG-TG1NT.js +1160 -0
- package/dist/UncategorizedAccountsMappingPage-hVMieVBz.cjs +244 -0
- package/dist/UnitIntegrationPage-B8ovDozi.cjs +67 -0
- package/dist/UnitIntegrationPage-C-XkvRnb.js +405 -0
- package/dist/UploadAdditionalDocumentOverlay-BB-yqqIc.js +211 -0
- package/dist/UploadAdditionalDocumentOverlay-BdSS1WwY.cjs +38 -0
- package/dist/Vendor2FAPopup-C35sJuoY.js +69 -0
- package/dist/Vendor2FAPopup-CFw9YN5f.cjs +1 -0
- package/dist/VendorACHDetailsPage-DEGxugRt.cjs +1 -0
- package/dist/VendorACHDetailsPage-DLnZnWLZ.js +43 -0
- package/dist/VendorDetailPage-C2I6NxKn.cjs +257 -0
- package/dist/VendorDetailPage-D4s5G8T2.js +1236 -0
- package/dist/VendorDomesticWireDetailsPage-BLzV35wb.cjs +1 -0
- package/dist/VendorDomesticWireDetailsPage-gR8XXk50.js +53 -0
- package/dist/VendorFiling1099EditablePage-BnJYsLyG.js +842 -0
- package/dist/VendorFiling1099EditablePage-CsfL6hcm.cjs +175 -0
- package/dist/VendorFirstReviewPage-C0YDVB3g.js +2748 -0
- package/dist/VendorFirstReviewPage-UCV_O8Xl.cjs +730 -0
- package/dist/VendorInternationalWireDetailsPage-D0E5Yn88.js +968 -0
- package/dist/VendorInternationalWireDetailsPage-JTThI9JQ.cjs +152 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-CgWfRYMn.js +52 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-fj5NmElP.cjs +1 -0
- package/dist/VendorsAccountsSection-6tg4p8cC.cjs +68 -0
- package/dist/VendorsAccountsSection-oxrBi671.js +279 -0
- package/dist/VerifyDevice-DdQifVmj.js +298 -0
- package/dist/VerifyDevice-Den1VxQV.cjs +112 -0
- package/dist/VideoPlayer-DcM8fNbz.cjs +77 -0
- package/dist/VideoPlayer-DiTmhBxW.js +169 -0
- package/dist/VideoPopup-D-d4lN5l.js +60 -0
- package/dist/VideoPopup-DUvD9vBg.cjs +31 -0
- package/dist/WarningsDrawerPage-B9x1SdTt.js +228 -0
- package/dist/WarningsDrawerPage-CCjcXTrp.cjs +92 -0
- package/dist/ZeniAccountDetailPage-BdZKe0JE.cjs +300 -0
- package/dist/ZeniAccountDetailPage-C8jx6bcX.js +907 -0
- package/dist/ZeniAccountListViewPage-BVRyHaZz.js +1078 -0
- package/dist/ZeniAccountListViewPage-DHlQW1Yj.cjs +441 -0
- package/dist/ZeniAccountNavBarPieces-BQYMuk2X.js +89 -0
- package/dist/ZeniAccountNavBarPieces-Bby3TMvX.cjs +14 -0
- package/dist/ZeniAccountPromoPage-BUnEx5IN.cjs +184 -0
- package/dist/ZeniAccountPromoPage-DVHD6TuP.js +523 -0
- package/dist/ZeniAccountSetupPage-B2m38BpC.js +312 -0
- package/dist/ZeniAccountSetupPage-BdQ3hkPx.cjs +36 -0
- package/dist/ZeniAvatar-2bD5CXgc.cjs +13 -0
- package/dist/ZeniAvatar-rjC_WB1t.js +34 -0
- package/dist/ZeniCopyright-CFQdJwsw.js +9 -0
- package/dist/ZeniCopyright-Dw1Nk_Kj.cjs +1 -0
- package/dist/ZeniDatePicker-Cixwzhlj.js +386 -0
- package/dist/ZeniDatePicker-gjR7DmEx.cjs +187 -0
- package/dist/ZeniTransferAmountSlider-CApDAmSl.cjs +63 -0
- package/dist/ZeniTransferAmountSlider-CRKsKZmM.js +215 -0
- package/dist/analyticsHelper-BBwLMbuQ.js +65 -0
- package/dist/analyticsHelper-ClXmDCPm.cjs +1 -0
- package/dist/calculateSize-BwCz5tdv.js +22 -0
- package/dist/calculateSize-C1yB-ddP.cjs +1 -0
- package/dist/chartTypes-Ce69__cR.js +47 -0
- package/dist/chartTypes-lmA4t2Ly.cjs +1 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-CHTcdxAE.cjs +1 -0
- package/dist/common-DB4i3AvN.js +22 -0
- package/dist/commonDimensions-BCyEYnMb.js +13 -0
- package/dist/commonDimensions-BQHdbHm-.cjs +1 -0
- package/dist/detailCommon-B9DF4ySZ.cjs +38 -0
- package/dist/detailCommon-CPDsNdSh.js +124 -0
- package/dist/downloadPdf-BaSLVg3L.cjs +1 -0
- package/dist/downloadPdf-CbT6FtoU.js +32 -0
- package/dist/index-DccWx-ku.cjs +19250 -0
- package/dist/index-oyJQP6ol.js +85975 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-Dd9Ot98u.js +25 -0
- package/dist/mapLoadingInProgressToTreeNode-DtktE5hk.cjs +1 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-B5oruLCp.js +388 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-ByMAZ22i.cjs +1 -0
- package/dist/mapSpacerToTreeNode-BKhbkjXL.cjs +1 -0
- package/dist/mapSpacerToTreeNode-DS8ZkmJq.js +25 -0
- package/dist/mapTimeframeBalancesToTreeNode-CbA87JY1.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-ClVfE33e.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-cBCU9B2z.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-p4TUD8QR.js +24 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-CRWykR6Q.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-c6HIp_cZ.js +32 -0
- package/dist/sectionColor-BhnangWq.cjs +1 -0
- package/dist/sectionColor-DEZuZzDE.js +32 -0
- package/dist/toCOABalancesWithID-BS8U3LKl.cjs +1 -0
- package/dist/toCOABalancesWithID-D5JgW7Up.js +8 -0
- package/dist/toChartData-BWQkGkPM.cjs +1 -0
- package/dist/toChartData-C1wxrPhU.js +76 -0
- package/dist/treasuryColorHelper-BvW88zGp.js +60 -0
- package/dist/treasuryColorHelper-NTb1q-sO.cjs +1 -0
- package/dist/uploadAttachment-BoKuHy3e.js +952 -0
- package/dist/uploadAttachment-Dxbac8JL.cjs +286 -0
- package/dist/zeniDatePicker.helpers-DIZwtlyi.cjs +1 -0
- package/dist/zeniDatePicker.helpers-XqpCDvQO.js +14 -0
- package/package.json +3 -3
- package/dist/ACHDetailsPage-QzxTN_TE.js +0 -160
- package/dist/ACHDetailsPage-WdQ5EZ6A.cjs +0 -21
- package/dist/AIPerformancePage-DACU4gw_.js +0 -1333
- package/dist/AIPerformancePage-hS9xDN_w.cjs +0 -530
- package/dist/AccountInfoPage-Br0r2m7w.js +0 -78
- package/dist/AccountInfoPage-CSe8bE7-.cjs +0 -18
- package/dist/AccountInfoPageContent-CfL4wGzP.js +0 -428
- package/dist/AccountInfoPageContent-xIZMiTBN.cjs +0 -149
- package/dist/AccountLockedInfoModal-Cu0ThR20.js +0 -125
- package/dist/AccountLockedInfoModal-D5IAQ0oH.cjs +0 -59
- package/dist/AccountReconDetailsDrawerPage-DQh1OEI8.cjs +0 -239
- package/dist/AccountReconDetailsDrawerPage-Day4cDtl.js +0 -686
- package/dist/AccountRow-DA_OWiCV.js +0 -1009
- package/dist/AccountRow-So9FzzTO.cjs +0 -298
- package/dist/AccountsPromoCardStack-CM75CHyD.js +0 -664
- package/dist/AccountsPromoCardStack-D_Qh8nXf.cjs +0 -207
- package/dist/AddAddressForCardDrawer-CxqoVXCH.js +0 -82
- package/dist/AddAddressForCardDrawer-Dr3cXxzg.cjs +0 -6
- package/dist/AddToWalletPage-BB8cNL9U.cjs +0 -344
- package/dist/AddToWalletPage-C0a2HQAn.js +0 -643
- package/dist/AgingReportsPage-CkygiM6A.cjs +0 -79
- package/dist/AgingReportsPage-mwLS41Iv.js +0 -827
- package/dist/AllUserItems-PiyGcZO5.js +0 -979
- package/dist/AllUserItems-hxpdMXDr.cjs +0 -192
- package/dist/ApAgingDetailPage-B3LvS2GL.js +0 -239
- package/dist/ApAgingDetailPage-DPW15Sk6.cjs +0 -46
- package/dist/AppBasePage-CgjI4lNr.js +0 -120
- package/dist/AppBasePage-g1MsN1xD.cjs +0 -71
- package/dist/AppDrawerContent-BZWvI1S-.js +0 -375
- package/dist/AppDrawerContent-Cg6BgdUV.cjs +0 -91
- package/dist/ApprovalRulesSettingsPage-CpTL3N7r.js +0 -146
- package/dist/ApprovalRulesSettingsPage-Do-mfIbe.cjs +0 -47
- package/dist/ArAgingChart-B6i3VWh1.js +0 -529
- package/dist/ArAgingChart-F84IFHYg.cjs +0 -24
- package/dist/ArAgingDetailPage-CJSY44ns.cjs +0 -46
- package/dist/ArAgingDetailPage-twIZO1ol.js +0 -243
- package/dist/AttachmentView-BvkH65pq.cjs +0 -101
- package/dist/AttachmentView-Cx0P-F61.js +0 -260
- package/dist/BankAccountSection-B8O80fTR.cjs +0 -79
- package/dist/BankAccountSection-_MI1Qf3T.js +0 -398
- package/dist/BankAccountWarningSection-BPf-Jxpw.js +0 -110
- package/dist/BankAccountWarningSection-DqkfSvNV.cjs +0 -51
- package/dist/BankConnectionsSettingsPage-D7YqSHho.js +0 -1695
- package/dist/BankConnectionsSettingsPage-Dcf-2J5J.cjs +0 -425
- package/dist/BillDetailPage-3citBgrC.js +0 -1798
- package/dist/BillDetailPage-BFaZYuUS.cjs +0 -266
- package/dist/BillPayApprovalRuleDetailPage-BE6mdPoX.cjs +0 -27
- package/dist/BillPayApprovalRuleDetailPage-CsBN5HC8.js +0 -247
- package/dist/BillPayApprovalRulesPage-S8gLFfK5.js +0 -415
- package/dist/BillPayApprovalRulesPage-gsfQDeyR.cjs +0 -235
- package/dist/BillPayPromoPage-DZwxUZMF.cjs +0 -84
- package/dist/BillPayPromoPage-TVT1p1bl.js +0 -293
- package/dist/BillPaySetUpPage-B1-MviHC.cjs +0 -42
- package/dist/BillPaySetUpPage-BCEi2Lbo.js +0 -412
- package/dist/BillingSettingsPage-C4Eqx6SN.js +0 -336
- package/dist/BillingSettingsPage-CTr7RC_P.cjs +0 -44
- package/dist/BillsBulkReviewDrawerPage-DTEaN6gT.js +0 -216
- package/dist/BillsBulkReviewDrawerPage-WNdLeeXb.cjs +0 -1
- package/dist/BoxItem-BWJS7DxB.js +0 -118
- package/dist/BoxItem-ByErCqAY.cjs +0 -53
- package/dist/BusinessVerificationPage-_SWimpDE.js +0 -717
- package/dist/BusinessVerificationPage-g52pWaVw.cjs +0 -138
- package/dist/BusyIndication-CqCOehQ5.js +0 -18
- package/dist/BusyIndication-DmFg_XmX.cjs +0 -9
- package/dist/CardNumberSubText-DX6eN1Aa.cjs +0 -21
- package/dist/CardNumberSubText-v3ZjHzIq.js +0 -59
- package/dist/CashbackDetailPage-B3vievD1.cjs +0 -285
- package/dist/CashbackDetailPage-CVC0BOCQ.js +0 -824
- package/dist/ChargeCardDetailPage-R4WZIQvH.js +0 -5762
- package/dist/ChargeCardDetailPage-VJoAVu6o.cjs +0 -1813
- package/dist/ChargeCardListPage-9tFMNDw1.js +0 -1775
- package/dist/ChargeCardListPage-DVlIhsTL.cjs +0 -406
- package/dist/ChargeCardListTable-ExB0si-M.cjs +0 -711
- package/dist/ChargeCardListTable-H_h6Y5zM.js +0 -2872
- package/dist/ChargeCardPromoPage-CghAs7DR.cjs +0 -222
- package/dist/ChargeCardPromoPage-DaGGOcya.js +0 -806
- package/dist/ChargeCardSetupPage-IBIVqkqy.cjs +0 -36
- package/dist/ChargeCardSetupPage-NfvsJP5r.js +0 -362
- package/dist/ChargeCardStatementsPage-Bt6NvGMZ.cjs +0 -60
- package/dist/ChargeCardStatementsPage-DDdrCP6v.js +0 -243
- package/dist/ChargeCardUtils-6KMnkYyc.js +0 -102
- package/dist/ChargeCardUtils-D3ZOUeEU.cjs +0 -1
- package/dist/ChaseOverlay-DEcjXst3.cjs +0 -170
- package/dist/ChaseOverlay-DLEvxv0T.js +0 -402
- package/dist/CheckDepositDrawerPage-CNsgdTO4.js +0 -726
- package/dist/CheckDepositDrawerPage-PA8AUdme.cjs +0 -206
- package/dist/CollapsableReportTable-DW4iW-RA.js +0 -11743
- package/dist/CollapsableReportTable-PxDziybF.cjs +0 -2932
- package/dist/CompanyOfficerDetailsSection-wNEemzp4.js +0 -1633
- package/dist/CompanyOfficerDetailsSection-ycumPKJi.cjs +0 -260
- package/dist/CompanyPassportCard-D203mCY4.cjs +0 -42
- package/dist/CompanyPassportCard-DG764D6P.js +0 -146
- package/dist/CompanyPassportPage-BMx0qpBe.cjs +0 -574
- package/dist/CompanyPassportPage-D-XO8Ogg.js +0 -2160
- package/dist/CompleteProfile-DfSzaKoY.js +0 -301
- package/dist/CompleteProfile-WvUTUopb.cjs +0 -52
- package/dist/ConfettiBurst-D99IoRkH.js +0 -37
- package/dist/ConfettiBurst-QI99B5th.cjs +0 -1
- package/dist/CreateOrEditVendorPage-CfItoo3p.cjs +0 -281
- package/dist/CreateOrEditVendorPage-ClmDBqP8.js +0 -755
- package/dist/CreditCardPaymentDrawerPage-CHVIdkEu.js +0 -1171
- package/dist/CreditCardPaymentDrawerPage-Drwbxcc6.cjs +0 -224
- package/dist/CreditCardPaymentPlgSection-B8lliPFn.js +0 -196
- package/dist/CreditCardPaymentPlgSection-FZpri54q.cjs +0 -78
- package/dist/CurrencySelectField-BdKS-taa.cjs +0 -139
- package/dist/CurrencySelectField-CMAbGAxY.js +0 -348
- package/dist/CustomerOnboardingActivationPage-Cj27BHXn.js +0 -143
- package/dist/CustomerOnboardingActivationPage-DaUIlNyX.cjs +0 -88
- package/dist/CustomerOnboardingContainerPage-B1xn3qgr.cjs +0 -1
- package/dist/CustomerOnboardingContainerPage-C-GnxSJB.js +0 -7
- package/dist/CustomerOnboardingDetailPageSkeleton-BIl5UmZ7.cjs +0 -162
- package/dist/CustomerOnboardingDetailPageSkeleton-BhgNEon8.js +0 -434
- package/dist/CustomerOnboardingNoStepsPage-D7nSQtb9.cjs +0 -66
- package/dist/CustomerOnboardingNoStepsPage-DfwX0q9W.js +0 -425
- package/dist/CustomerOnboardingPage-Bn-xr2mm.cjs +0 -107
- package/dist/CustomerOnboardingPage-CrsIBDMV.js +0 -1060
- package/dist/CustomerOnboardingProductSuitePage-1POjgcn_.js +0 -349
- package/dist/CustomerOnboardingProductSuitePage-Olasb6Xp.cjs +0 -202
- package/dist/Dashboard-BS30dqTO.cjs +0 -1551
- package/dist/Dashboard-CRdS_rDf.js +0 -5531
- package/dist/DashboardReportPage-Bs_5N2rv.cjs +0 -371
- package/dist/DashboardReportPage-BxnWU3ow.js +0 -2536
- package/dist/DashboardSidebarBackgroundAnimation-CsHKqigf.js +0 -50
- package/dist/DashboardSidebarBackgroundAnimation-DLErpt6R.cjs +0 -12
- package/dist/DepositAccTransactionItem-BqT_SIFN.js +0 -112
- package/dist/DepositAccTransactionItem-CtcthLVa.cjs +0 -76
- package/dist/DepositAccTransactionListPage-CqeR0UQ_.js +0 -152
- package/dist/DepositAccTransactionListPage-xlOBXJtT.cjs +0 -66
- package/dist/DomesticWireDetailsPage-BDXJ3I7n.cjs +0 -21
- package/dist/DomesticWireDetailsPage-CDUmZHSc.js +0 -189
- package/dist/DownloadOverlay-BDjE95uN.js +0 -2148
- package/dist/DownloadOverlay-BHhOyXjo.cjs +0 -439
- package/dist/DrawerPage-A-EK0wDp.cjs +0 -118
- package/dist/DrawerPage-CcFte3DD.js +0 -208
- package/dist/EditPeoplePage-CaSpuIAG.cjs +0 -55
- package/dist/EditPeoplePage-CacjDkPy.js +0 -392
- package/dist/EditReimbursementDetailPage-et21oFYh.js +0 -4461
- package/dist/EditReimbursementDetailPage-hzTJYj78.cjs +0 -865
- package/dist/EmptySearchResults-BKu7ADmG.cjs +0 -46
- package/dist/EmptySearchResults-BlXk9MEL.js +0 -70
- package/dist/EntityDetailPage-CjGEhlEq.js +0 -82
- package/dist/EntityDetailPage-SbkB9H_L.cjs +0 -18
- package/dist/EntitySummarySection-BE83VGe8.js +0 -530
- package/dist/EntitySummarySection-CGD9XpMK.cjs +0 -149
- package/dist/ExpenseAutomationOverviewPage-BtoQvEmJ.cjs +0 -241
- package/dist/ExpenseAutomationOverviewPage-DOr6I9HK.js +0 -735
- package/dist/ExpenseAutomationPage-5iJJLcqc.cjs +0 -1650
- package/dist/ExpenseAutomationPage-Dj3Tuss_.js +0 -11496
- package/dist/ExpressPayPage-DipF0kXW.js +0 -1136
- package/dist/ExpressPayPage-t12yKS2d.cjs +0 -168
- package/dist/FeaturePreviewPage-BhrFU57-.cjs +0 -11
- package/dist/FeaturePreviewPage-Dw6VZX1l.js +0 -114
- package/dist/FollowStepsSection-BRSdCQPI.cjs +0 -390
- package/dist/FollowStepsSection-ByJLiMAn.js +0 -1313
- package/dist/GlobalReviewListPage-DjAYXdaA.cjs +0 -291
- package/dist/GlobalReviewListPage-j_Krh_zZ.js +0 -1674
- package/dist/HelpButton-CRkrgKJ5.cjs +0 -28
- package/dist/HelpButton-Cbigq-C9.js +0 -81
- package/dist/InformationCardStack-BWW2YNIF.cjs +0 -31
- package/dist/InformationCardStack-jL6UUkSJ.js +0 -219
- package/dist/InsightsCardStack-BPiTBXx3.cjs +0 -79
- package/dist/InsightsCardStack-Gch03S0_.js +0 -305
- package/dist/InsightsSection-BrM1ApnM.cjs +0 -27
- package/dist/InsightsSection-DaCJ2gS6.js +0 -97
- package/dist/IntegrationsSettingsPage-BQaHlebB.js +0 -137
- package/dist/IntegrationsSettingsPage-DhWDGNuM.cjs +0 -57
- package/dist/InternationalWireSwiftDetailsPage-C4bP4UQw.js +0 -753
- package/dist/InternationalWireSwiftDetailsPage-CKfIa4UO.cjs +0 -171
- package/dist/InternationalWireVerificationPage-D4Ubu8NU.js +0 -877
- package/dist/InternationalWireVerificationPage-DmY0ZzSX.cjs +0 -292
- package/dist/InviteFormPage-C2-XF1oL.js +0 -873
- package/dist/InviteFormPage-CxQJPMXz.cjs +0 -312
- package/dist/InvitePageListView-2q2o8ta3.cjs +0 -739
- package/dist/InvitePageListView-D9V4eAwb.js +0 -1764
- package/dist/InvitePeoplePage-BRTaJbrL.cjs +0 -12
- package/dist/InvitePeoplePage-nHlEQUXS.js +0 -286
- package/dist/InvoiceUploadSection-BGGEg3Ju.js +0 -465
- package/dist/InvoiceUploadSection-CsI5c4jH.cjs +0 -140
- package/dist/IssueChargeCardPage-DfRNZ28f.cjs +0 -532
- package/dist/IssueChargeCardPage-Hkh9-SO1.js +0 -2875
- package/dist/LabeledAddressValue-B_WIFQZx.cjs +0 -49
- package/dist/LabeledAddressValue-Bu53hsGY.js +0 -115
- package/dist/LabeledAddressValueField-6q15ryjh.js +0 -130
- package/dist/LabeledAddressValueField-dv3J2JhO.cjs +0 -45
- package/dist/LabeledControlledCheckBoxField-130C0ANW.cjs +0 -16
- package/dist/LabeledControlledCheckBoxField-rY-_Iwo6.js +0 -73
- package/dist/LabeledCreatableSingleSelectField-D2s8Psjr.cjs +0 -204
- package/dist/LabeledCreatableSingleSelectField-Dl1lt-EX.js +0 -515
- package/dist/LabeledDocumentField-B7nAdJc_.js +0 -147
- package/dist/LabeledDocumentField-DJ9bmk_8.cjs +0 -41
- package/dist/LabeledDropDownFormattedTextField-1mwntDuk.js +0 -163
- package/dist/LabeledDropDownFormattedTextField-BPp64S6V.cjs +0 -59
- package/dist/LabeledEmailInputField-BltJ9ZJY.cjs +0 -182
- package/dist/LabeledEmailInputField-BuQM2p82.js +0 -425
- package/dist/LabeledItemWithButton-CPL6xUqk.js +0 -74
- package/dist/LabeledItemWithButton-K7eNpeOj.cjs +0 -21
- package/dist/LabeledNameField-BRPkwIXo.cjs +0 -141
- package/dist/LabeledNameField-zUcYvydw.js +0 -293
- package/dist/LabeledSingleSelectField-CCIfQBPQ.cjs +0 -136
- package/dist/LabeledSingleSelectField-zNqbAxoS.js +0 -372
- package/dist/LabeledSingleSelectWithoutClearableField-CJe5NbJI.js +0 -103
- package/dist/LabeledSingleSelectWithoutClearableField-DzlfH5lw.cjs +0 -38
- package/dist/LabeledText-CKTT_6Xa.js +0 -103
- package/dist/LabeledText-DPjjV7JA.cjs +0 -42
- package/dist/LabeledUserSingleSelectWithSubtitlesField-DrldfcFO.js +0 -572
- package/dist/LabeledUserSingleSelectWithSubtitlesField-ijc5JXYe.cjs +0 -229
- package/dist/LabeledZeniRolesDropDownField-BGABkm8J.js +0 -975
- package/dist/LabeledZeniRolesDropDownField-CumNuiTc.cjs +0 -297
- package/dist/LinkJETransactionPage-CaOlJRQB.cjs +0 -98
- package/dist/LinkJETransactionPage-Df-b46NZ.js +0 -406
- package/dist/LockCardPage-C2AD_1pL.cjs +0 -623
- package/dist/LockCardPage-DTgW2OH7.js +0 -2033
- package/dist/LowBalancePopup-CfTN8BDI.js +0 -219
- package/dist/LowBalancePopup-X8Z1jSlh.cjs +0 -34
- package/dist/MagicLinkACHDetailsPage-BBvINO6J.cjs +0 -1
- package/dist/MagicLinkACHDetailsPage-CPXoFt7X.js +0 -39
- package/dist/MagicLinkDomesticWireDetailsPage-CAxYtF09.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-dzaHL-h5.js +0 -44
- package/dist/MagicLinkInternationalWireDetailsPage-C3IZ9JKK.js +0 -43
- package/dist/MagicLinkInternationalWireDetailsPage-DuKyfQgS.cjs +0 -1
- package/dist/MagicLinkSuccessPage-C_xPzh8c.cjs +0 -31
- package/dist/MagicLinkSuccessPage-DBeq2OJe.js +0 -59
- package/dist/MagicLinkTitleSection-B9gR8wAq.js +0 -40
- package/dist/MagicLinkTitleSection-Dlyt0c_5.cjs +0 -17
- package/dist/MailingDetailsSection-DhFw2SmW.js +0 -74
- package/dist/MailingDetailsSection-xsRLXCk8.cjs +0 -21
- package/dist/MatchingOperatorDropdown-BJITRyt1.cjs +0 -130
- package/dist/MatchingOperatorDropdown-yOosmIgd.js +0 -572
- package/dist/MeetingCalenderPopup-24-5N69F.cjs +0 -26
- package/dist/MeetingCalenderPopup-DnQNvH5S.js +0 -60
- package/dist/Menu-CVSXxiyZ.js +0 -110
- package/dist/Menu-CveskftW.cjs +0 -17
- package/dist/MoreMenuButton-B-0O0jhH.js +0 -569
- package/dist/MoreMenuButton-Di6Dx3-N.cjs +0 -167
- package/dist/MyBankConnectionsSettingsPage-CFNPL5up.cjs +0 -110
- package/dist/MyBankConnectionsSettingsPage-QufPdNvV.js +0 -297
- package/dist/MyPendingActivationChargeCardListPage-CvkCXVzu.js +0 -168
- package/dist/MyPendingActivationChargeCardListPage-CvqMzLTC.cjs +0 -6
- package/dist/MyProfileSettingsPage-CYjKysZw.cjs +0 -85
- package/dist/MyProfileSettingsPage-HFIKBZJp.js +0 -641
- package/dist/NavBarWithPicker-B5qfJsFi.js +0 -106
- package/dist/NavBarWithPicker-DL3K6BXw.cjs +0 -30
- package/dist/NavigationArrow-C-8XBjRE.cjs +0 -47
- package/dist/NavigationArrow-rA9_LA1P.js +0 -88
- package/dist/NavigationDots-BhAn9Fc2.cjs +0 -15
- package/dist/NavigationDots-BtUTaRkQ.js +0 -44
- package/dist/NewGlobalMerchantPage-DncLIbja.js +0 -543
- package/dist/NewGlobalMerchantPage-DzMdDRSX.cjs +0 -160
- package/dist/NoDataChart-BqToQ0GP.js +0 -58
- package/dist/NoDataChart-C0lvgIMt.cjs +0 -26
- package/dist/NoDataTable-Cu90-FFV.cjs +0 -8
- package/dist/NoDataTable-Qcgfi7XM.js +0 -27
- package/dist/NotFoundPage-CJtWqj6r.cjs +0 -46
- package/dist/NotFoundPage-DQ-rIraU.js +0 -71
- package/dist/NotificationSettingsPage-BFaTQiF0.cjs +0 -163
- package/dist/NotificationSettingsPage-BN2WnrN8.js +0 -541
- package/dist/NotificationsListConfig-5YabxMVH.js +0 -10
- package/dist/NotificationsListConfig-7JJ7Y83f.cjs +0 -1
- package/dist/NotificationsPage-5krT2kLK.cjs +0 -685
- package/dist/NotificationsPage-B-ZCTCKx.js +0 -2664
- package/dist/OpExByVendorPage-B81ocWns.cjs +0 -100
- package/dist/OpExByVendorPage-DEOG1TdE.js +0 -1057
- package/dist/PandLWithForecastPage-C23wTgUD.cjs +0 -107
- package/dist/PandLWithForecastPage-Cn_dJIA4.js +0 -563
- package/dist/PaymentAccountSetupBillingAddressSection-BY-PKNgv.js +0 -623
- package/dist/PaymentAccountSetupBillingAddressSection-CVu_zLWv.cjs +0 -106
- package/dist/PeoplePage-BXat5ESL.js +0 -1994
- package/dist/PeoplePage-JeQwxd2M.cjs +0 -675
- package/dist/PortfolioAllocationFormPage--p5JRyDy.cjs +0 -207
- package/dist/PortfolioAllocationFormPage-DpuEuUNW.js +0 -440
- package/dist/PortfolioDetails-CvPrYuXt.cjs +0 -218
- package/dist/PortfolioDetails-CyYoBg-o.js +0 -653
- package/dist/ProductsCarousel-BnUaXv0-.js +0 -309
- package/dist/ProductsCarousel-DM0kNWBB.cjs +0 -142
- package/dist/PromoBaseCards-YAzXtPOm.cjs +0 -218
- package/dist/PromoBaseCards-yEhl28IX.js +0 -356
- package/dist/QBOConnectionDialog-BK7Em8qJ.js +0 -115
- package/dist/QBOConnectionDialog-Mo67Fezk.cjs +0 -51
- package/dist/QBOSetupSection-CsNesPeB.js +0 -167
- package/dist/QBOSetupSection-D_wPpBj2.cjs +0 -79
- package/dist/ReimbursementApprovalRuleDetailPage-Cpj19m61.js +0 -247
- package/dist/ReimbursementApprovalRuleDetailPage-Da1GZzm8.cjs +0 -26
- package/dist/ReimbursementApprovalRulesPage-4z8FdfGN.cjs +0 -237
- package/dist/ReimbursementApprovalRulesPage-m3QwylJP.js +0 -410
- package/dist/ReimbursementDetailPage-CH3lgfJ5.cjs +0 -314
- package/dist/ReimbursementDetailPage-XWN2Qqd9.js +0 -1511
- package/dist/ReimbursementPromoPage-ueol3xit.cjs +0 -84
- package/dist/ReimbursementPromoPage-z1kH2FiO.js +0 -364
- package/dist/ReimbursementSetUpPage-EKClV_nF.js +0 -666
- package/dist/ReimbursementSetUpPage-XjCxgsFe.cjs +0 -140
- package/dist/ReimbursementsBulkReviewDrawerPage-B0HHPvf9.cjs +0 -1
- package/dist/ReimbursementsBulkReviewDrawerPage-J_CL50id.js +0 -204
- package/dist/ReloadCard-CUPLqya0.cjs +0 -26
- package/dist/ReloadCard-oQIDH1Sn.js +0 -137
- package/dist/ReloadContainer-CqnyjfPQ.cjs +0 -596
- package/dist/ReloadContainer-T62hYIh-.js +0 -2144
- package/dist/ReportTableViewSelector-Dp4CCW8E.cjs +0 -150
- package/dist/ReportTableViewSelector-IMydxLmG.js +0 -679
- package/dist/ReportsPage-B_4moRL4.cjs +0 -121
- package/dist/ReportsPage-D08b56jp.js +0 -1315
- package/dist/RevenueChart-BUJOFz6y.js +0 -2239
- package/dist/RevenueChart-gLRSz_2B.cjs +0 -280
- package/dist/ReviewDetailsPage-B8q5FY13.js +0 -1073
- package/dist/ReviewDetailsPage-CqaaLGaP.cjs +0 -290
- package/dist/ReviewOverlay-BEw3Oqgp.js +0 -299
- package/dist/ReviewOverlay-BreNkk9K.cjs +0 -152
- package/dist/RoleWithToolTip-CCBCWlPj.js +0 -72
- package/dist/RoleWithToolTip-CnRISNR1.cjs +0 -22
- package/dist/ScheduleDetailsFixedAssetsPage-BPXL1Cw8.cjs +0 -37
- package/dist/ScheduleDetailsFixedAssetsPage-DlRtUYJZ.js +0 -806
- package/dist/ScheduleDetailsPage-D1FrVgXu.cjs +0 -37
- package/dist/ScheduleDetailsPage-D7ynw5dC.js +0 -726
- package/dist/ScheduleSequenceTable-C17Ys0ao.cjs +0 -324
- package/dist/ScheduleSequenceTable-oR51xbDW.js +0 -1261
- package/dist/SetUpAccountSection-CacoTGHF.js +0 -1470
- package/dist/SetUpAccountSection-DmdDcFgf.cjs +0 -378
- package/dist/SetUpDefaultSection-BClnx7oB.js +0 -537
- package/dist/SetUpDefaultSection-DroGMurH.cjs +0 -187
- package/dist/SignIn-DeEb4j3U.js +0 -1075
- package/dist/SignIn-DvDY2q5j.cjs +0 -448
- package/dist/SpendManagementListViewPage-BGofXuga.js +0 -627
- package/dist/SpendManagementListViewPage-CiDymEkk.cjs +0 -122
- package/dist/SpendManagementPerTabPage-K0kkDyOF.js +0 -2735
- package/dist/SpendManagementPerTabPage-SGhxIPfw.cjs +0 -754
- package/dist/SpendManagementSection-CmWHOOzK.js +0 -1043
- package/dist/SpendManagementSection-CrYwvrz0.cjs +0 -230
- package/dist/SpendMgmtSetupAccountSection-BKgm3_ti.cjs +0 -206
- package/dist/SpendMgmtSetupAccountSection-DmW2zLI3.js +0 -875
- package/dist/StatementItem-CBtDeTKS.cjs +0 -31
- package/dist/StatementItem-DJrBgTC0.js +0 -81
- package/dist/StatementsPage-DkraKqrY.cjs +0 -58
- package/dist/StatementsPage-V7Pv2mHg.js +0 -130
- package/dist/StatusSwitcher-B1YdluY0.js +0 -319
- package/dist/StatusSwitcher-CoSc8U_0.cjs +0 -120
- package/dist/SubTabSwitcher-B1RdNt4b.cjs +0 -58
- package/dist/SubTabSwitcher-CXjOSI4c.js +0 -113
- package/dist/SuccessAnimation-DNeNF6T-.js +0 -52
- package/dist/SuccessAnimation-DZev4lrJ.cjs +0 -13
- package/dist/SummaryCard-TVITghc-.js +0 -25
- package/dist/SummaryCard-TgfBsMeO.cjs +0 -1
- package/dist/TaskDetailPage-1RucpYYa.js +0 -2533
- package/dist/TaskDetailPage-_vXoMGEk.cjs +0 -775
- package/dist/TaskListRow-BivE6ipF.js +0 -1950
- package/dist/TaskListRow-ByXO-fYE.cjs +0 -556
- package/dist/TaskManagementPage-BI73DjN0.cjs +0 -508
- package/dist/TaskManagementPage-BjUIoGXs.js +0 -1935
- package/dist/TimeRangeSwitcher-CYTVdQFn.js +0 -265
- package/dist/TimeRangeSwitcher-CzRjznnK.cjs +0 -64
- package/dist/TimeframeSwitcher-DaGui_IW.cjs +0 -31
- package/dist/TimeframeSwitcher-u6ILRfTb.js +0 -103
- package/dist/TimeframeSwitcherWithToggle-BqTYPq6p.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-QOQ0rjWt.js +0 -157
- package/dist/TopExCard-B48H-Y9c.js +0 -568
- package/dist/TopExCard-CHu3DtSY.cjs +0 -38
- package/dist/TopExDetailPage-Ck3XfeEs.js +0 -318
- package/dist/TopExDetailPage-L8eQwR8o.cjs +0 -132
- package/dist/TransactionDetailPage-DM9-q22O.cjs +0 -912
- package/dist/TransactionDetailPage-DQOa1Wg5.js +0 -5238
- package/dist/TransactionList-81Aj7itD.cjs +0 -147
- package/dist/TransactionList-x-hBDdJH.js +0 -558
- package/dist/TransactionListBig-AhCVTd5r.js +0 -658
- package/dist/TransactionListBig-D9_NVevf.cjs +0 -284
- package/dist/TransactionListPage-Bo99o_N6.cjs +0 -35
- package/dist/TransactionListPage-DuTJrlf7.js +0 -144
- package/dist/TransactionVendorDetailPage-Bm5RT_Rm.js +0 -425
- package/dist/TransactionVendorDetailPage-CkH6SgpR.cjs +0 -80
- package/dist/TransferDrawerPage-BxUJrn7Y.cjs +0 -362
- package/dist/TransferDrawerPage-N6PKCJkv.js +0 -1435
- package/dist/TreasuryOverviewPage-Cpp7mkXw.js +0 -1890
- package/dist/TreasuryOverviewPage-YPVJXEgb.cjs +0 -708
- package/dist/TreasuryPromoPage-CjKLSWfT.cjs +0 -505
- package/dist/TreasuryPromoPage-DYFGbeZ1.js +0 -1122
- package/dist/TreasurySetupPage-BeL-798s.cjs +0 -144
- package/dist/TreasurySetupPage-_tDqwTCp.js +0 -683
- package/dist/TreasuryStatementsPage-DAwWR5BH.cjs +0 -58
- package/dist/TreasuryStatementsPage-soKwA1Rk.js +0 -131
- package/dist/TreasuryTaxLetterPage-DGALS_AD.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-Dovbfpl0.js +0 -131
- package/dist/TreasuryTransferOrReviewPage-Bq6l7MLv.js +0 -1938
- package/dist/TreasuryTransferOrReviewPage-DFuj2Zri.cjs +0 -576
- package/dist/TrendChart-B-ikTEyt.js +0 -333
- package/dist/TrendChart-DhCB5hp6.cjs +0 -16
- package/dist/TrendWithTransactions-CCKdYJsU.cjs +0 -116
- package/dist/TrendWithTransactions-CfwDYiqF.js +0 -346
- package/dist/UncategorizedAccountsMappingPage-7-MVUc-t.js +0 -1160
- package/dist/UncategorizedAccountsMappingPage-C5g7jBT8.cjs +0 -244
- package/dist/UnitIntegrationPage-B-hISC_N.cjs +0 -67
- package/dist/UnitIntegrationPage-Djz6aJcU.js +0 -405
- package/dist/UploadAdditionalDocumentOverlay-CTTHgUZo.js +0 -211
- package/dist/UploadAdditionalDocumentOverlay-KDtkeW_1.cjs +0 -38
- package/dist/Vendor2FAPopup-Cycoi3Y5.cjs +0 -1
- package/dist/Vendor2FAPopup-DN6f9HXe.js +0 -69
- package/dist/VendorACHDetailsPage-B3934-8A.cjs +0 -1
- package/dist/VendorACHDetailsPage-CncbP5w3.js +0 -43
- package/dist/VendorDetailPage-CKney0LZ.js +0 -1236
- package/dist/VendorDetailPage-DemfSqD_.cjs +0 -257
- package/dist/VendorDomesticWireDetailsPage-BBoB3f0U.js +0 -53
- package/dist/VendorDomesticWireDetailsPage-BE_sn7In.cjs +0 -1
- package/dist/VendorFiling1099EditablePage-D0GMb3Lv.js +0 -842
- package/dist/VendorFiling1099EditablePage-DbA5M_TZ.cjs +0 -175
- package/dist/VendorFirstReviewPage-BKUkAOZG.cjs +0 -730
- package/dist/VendorFirstReviewPage-_BlIZJ-K.js +0 -2748
- package/dist/VendorInternationalWireDetailsPage-C-quxESn.cjs +0 -152
- package/dist/VendorInternationalWireDetailsPage-DOEWiJYJ.js +0 -968
- package/dist/VendorInternationalWireSwiftDetailsPage-D-28jK8T.cjs +0 -1
- package/dist/VendorInternationalWireSwiftDetailsPage-FLgTuW9x.js +0 -52
- package/dist/VendorsAccountsSection-BgqdzyZw.js +0 -279
- package/dist/VendorsAccountsSection-DcPicTjt.cjs +0 -68
- package/dist/VerifyDevice-DUdPs4v5.cjs +0 -112
- package/dist/VerifyDevice-DgX3tQkp.js +0 -298
- package/dist/VideoPlayer-BeGa_D_A.js +0 -169
- package/dist/VideoPlayer-BiyzFFTu.cjs +0 -77
- package/dist/VideoPopup-r3MtSZnp.js +0 -60
- package/dist/VideoPopup-zaFGsjsY.cjs +0 -31
- package/dist/WarningsDrawerPage-BJ9ZjAR6.cjs +0 -92
- package/dist/WarningsDrawerPage-NMZrQd3T.js +0 -228
- package/dist/ZeniAccountDetailPage-BXMRKTwZ.cjs +0 -300
- package/dist/ZeniAccountDetailPage-gMt2H7Sr.js +0 -907
- package/dist/ZeniAccountListViewPage-Bqu8lQOj.js +0 -1078
- package/dist/ZeniAccountListViewPage-DupYqH7o.cjs +0 -441
- package/dist/ZeniAccountNavBarPieces-BcA7_hmt.cjs +0 -14
- package/dist/ZeniAccountNavBarPieces-CLSl8ATB.js +0 -89
- package/dist/ZeniAccountPromoPage-Brc0FOUA.cjs +0 -184
- package/dist/ZeniAccountPromoPage-g83oSKAv.js +0 -523
- package/dist/ZeniAccountSetupPage-CmaEGGub.js +0 -312
- package/dist/ZeniAccountSetupPage-Qbu5umQU.cjs +0 -36
- package/dist/ZeniAvatar-CLlkdsEk.js +0 -34
- package/dist/ZeniAvatar-EEbiUdsR.cjs +0 -13
- package/dist/ZeniCopyright-DTxMylla.cjs +0 -1
- package/dist/ZeniCopyright-iltE9YJw.js +0 -9
- package/dist/ZeniDatePicker-DMaEo-8p.cjs +0 -187
- package/dist/ZeniDatePicker-DXFekDGa.js +0 -386
- package/dist/ZeniTransferAmountSlider-BtXV9Qdz.js +0 -215
- package/dist/ZeniTransferAmountSlider-DfMMgz76.cjs +0 -63
- package/dist/analyticsHelper-BE5qR24X.cjs +0 -1
- package/dist/analyticsHelper-CqT5XAc-.js +0 -65
- package/dist/calculateSize-BU8Cyt9Q.js +0 -22
- package/dist/calculateSize-DRyQk6tx.cjs +0 -1
- package/dist/chartTypes-DMcDRQGo.js +0 -47
- package/dist/chartTypes-H0uyLtP6.cjs +0 -1
- package/dist/common-BOjFPLQf.js +0 -22
- package/dist/common-onkSQlPG.cjs +0 -1
- package/dist/commonDimensions-C-HCDbNb.cjs +0 -1
- package/dist/commonDimensions-j4cEbvP5.js +0 -13
- package/dist/detailCommon-CtaGLswC.js +0 -124
- package/dist/detailCommon-DvjsPVuW.cjs +0 -38
- package/dist/downloadPdf-C7pnzUGD.js +0 -32
- package/dist/downloadPdf-CtgfjEc0.cjs +0 -1
- package/dist/index-BP5gPMlL.cjs +0 -19239
- package/dist/index-Dig6AEZA.js +0 -85950
- package/dist/mapLoadingInProgressToTreeNode-CCE5Nq9a.cjs +0 -1
- package/dist/mapLoadingInProgressToTreeNode-U1TjxY9d.js +0 -25
- package/dist/mapSectionWithAcOnlyToTreeNode-CeratUr4.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-spo47zHK.js +0 -388
- package/dist/mapSpacerToTreeNode-CHUs1LIY.js +0 -25
- package/dist/mapSpacerToTreeNode-xXGrTwqX.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-BOTA9zP3.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-CYS-ya6C.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-Dtp8HFTb.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-HV6oQ3Xx.js +0 -24
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-9-nDJnpz.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-JW_mIvwM.js +0 -32
- package/dist/sectionColor-CnERiavD.cjs +0 -1
- package/dist/sectionColor-CrS4fwA_.js +0 -32
- package/dist/toCOABalancesWithID-82VEIOmB.js +0 -8
- package/dist/toCOABalancesWithID-DELzvz7o.cjs +0 -1
- package/dist/toChartData-BdGgdRAM.js +0 -76
- package/dist/toChartData-Bw2P44oH.cjs +0 -1
- package/dist/treasuryColorHelper-B7aadlaG.js +0 -60
- package/dist/treasuryColorHelper-BWvBtJGY.cjs +0 -1
- package/dist/uploadAttachment-BVDfWo5Q.cjs +0 -286
- package/dist/uploadAttachment-RAwMCp2p.js +0 -952
- package/dist/zeniDatePicker.helpers-BQG2RA_W.cjs +0 -1
- package/dist/zeniDatePicker.helpers-DAlZ3KXq.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-BZbZ6JJC.js";
|
|
4
|
-
import d from "@emotion/styled";
|
|
5
|
-
import { S as r, a as J, ft as Tt, G as De, A as nt, C as H, ai as wt, v as $t, s as vt, p as ke, E as jt, u as rt, R as Le, av as Mt, aj as St, P as _t, J as At, D as ee, aQ as Ot, b as Rt, T as Ie, fu as st, a4 as Dt, N as xe, fv as me, fw as It, fx as Ht, fy as je, fz as Pt, t as Me, M as Wt, fA as Ft, fB as Bt, ep as zt, Z as Y, a3 as Ut, aq as Vt, j as Yt, x as Gt } from "./index-Dig6AEZA.js";
|
|
6
|
-
import { S as Xt } from "./SuccessAnimation-DNeNF6T-.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-BuQM2p82.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-DAlZ3KXq.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
|
-
};
|