@logora/debate 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/components/action/back_link/BackLink.module-nMAM5nvb.css +1 -0
- package/dist/assets/components/action/button/Button.module-BDXB-NbU.css +1 -0
- package/dist/assets/components/action/icon_text_link/IconTextLink.module-B5PF-MMK.css +1 -0
- package/dist/assets/components/ad/ad_unit/AdUnit.module-C_5JFle_.css +1 -0
- package/dist/assets/components/argument/argument/Argument.module-ynS4ZRdG.css +1 -0
- package/dist/assets/components/argument/argument/ReplyFooter.module-DQL2iGS0.css +1 -0
- package/dist/assets/components/argument/top_arguments/TopArguments.module-BwLPbpJ0.css +1 -0
- package/dist/assets/components/auth/auth_modal/AuthModal.module-RhX-zUfZ.css +1 -0
- package/dist/assets/components/auth/facebook_login_button/FacebookLoginButton.module-DwTlkJ7n.css +1 -0
- package/dist/assets/components/auth/google_login_button/GoogleLoginButton.module-C9XnfW0J.css +1 -0
- package/dist/assets/components/auth/login_form/LoginForm.module-uN7oeX8e.css +1 -0
- package/dist/assets/components/auth/oauth2_button/OAuth2Button.module-BDxwikoC.css +1 -0
- package/dist/assets/components/auth/signup_form/SignupForm.module-BEj4tidE.css +1 -0
- package/dist/assets/components/auth/social_auth_form/SocialAuthForm.module-DYgKVEK4.css +1 -0
- package/dist/assets/components/auth/sso_form/SSOForm.module-D5v2TrOv.css +1 -0
- package/dist/assets/components/chart/line_chart/LineChart.module-DTKqDhLv.css +1 -0
- package/dist/assets/components/chart/pie_chart/PieChart.module-bTKTwTOZ.css +1 -0
- package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-BnTr5IaF.css +1 -0
- package/dist/assets/components/debate/debate_box/DebateBox.module-ek6ldCNI.css +1 -0
- package/dist/assets/components/dialog/announcement_dialog/AnnouncementDialog.module-X5I5xt5N.css +1 -0
- package/dist/assets/components/dialog/confirm_modal/ConfirmModal.module-CWzzKcm5.css +1 -0
- package/dist/assets/components/dialog/dialog_box/DialogBox.module-DKztqqmb.css +1 -0
- package/dist/assets/components/dialog/drawer/Drawer.module-DlSpsEkA.css +1 -0
- package/dist/assets/components/dialog/dropdown/Dropdown.module-BL67cFpj.css +1 -0
- package/dist/assets/components/dialog/modal/Modal.module-CIj-xCzY.css +1 -0
- package/dist/assets/components/dialog/toast/Toast.module-DJ2wSlJT.css +1 -0
- package/dist/assets/components/dialog/toast_provider/ToastProvider.module-Dg1lvYKc.css +1 -0
- package/dist/assets/components/dialog/tooltip/Tooltip.module-zMXumgnX.css +1 -0
- package/dist/assets/components/embed/embed_header/EmbedHeader.module-DajJz2CY.css +1 -0
- package/dist/assets/components/error/standard_error_boundary/StandardErrorBoundary.module-nVUIMoUd.css +1 -0
- package/dist/assets/components/follow/follow_button/FollowButton.module-Da-cPgwT.css +1 -0
- package/dist/assets/components/gamification/badge_box/BadgeBox.module-BnskGH9b.css +1 -0
- package/dist/assets/components/gamification/point_box/PointBox.module-BzKRidYf.css +1 -0
- package/dist/assets/components/input/argument_input/ArgumentInput.module-CDv7j77K.css +1 -0
- package/dist/assets/components/input/checkbox/hidden/hidden-checkbox.module-BfKmji_8.css +1 -0
- package/dist/assets/components/input/checkbox/indicator/checkbox-indicator.module-4cSB11ys.css +1 -0
- package/dist/assets/components/input/search_input/SearchInput.module-C_q8rryY.css +1 -0
- package/dist/assets/components/input/select/Select.module-Bf-5XrJ1.css +1 -0
- package/dist/assets/components/input/text_editor/TextEditor.module-DePSfOvG.css +1 -0
- package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-CbPmMciY.css +1 -0
- package/dist/assets/components/input/text_input/TextInput.module-BBojTQEu.css +1 -0
- package/dist/assets/components/input/toggle/Toggle.module-B_g0Uxy3.css +1 -0
- package/dist/assets/components/input/toggle_position/TogglePosition.module-DDIigbfA.css +1 -0
- package/dist/assets/components/list/paginated_list/PaginatedList.module-DI1wH2Na.css +1 -0
- package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-pxwFC_Y2.css +1 -0
- package/dist/assets/components/list/pagination/Pagination.module-L9-ykJZ2.css +1 -0
- package/dist/assets/components/modal/side_modal/SideModal.module-57E9_p4y.css +1 -0
- package/dist/assets/components/navbar/navbar_button/NavbarButton.module-lKeBjoEX.css +1 -0
- package/dist/assets/components/navbar/navbar_modal/NavbarModal.module-B02ZOEuE.css +1 -0
- package/dist/assets/components/notification/notification_item/NotificationItem.module-BWdhgSy4.css +1 -0
- package/dist/assets/components/notification/notification_menu/NotificationMenu.module-BQwbvRIV.css +1 -0
- package/dist/assets/components/progress/loader/Loader.module-BK-wXEtx.css +1 -0
- package/dist/assets/components/progress/progress_bar/ProgressBar.module-Dy-27Wf9.css +1 -0
- package/dist/assets/components/proposal/proposal_box/ProposalBox.module-T4ms_LQ7.css +1 -0
- package/dist/assets/components/report/report_box/ReportBox.module-B-_0iQqX.css +1 -0
- package/dist/assets/components/section/section_box/SectionBox.module-DUeUtdWr.css +1 -0
- package/dist/assets/components/share/share_box/ShareBox.module-AIRPhwtg.css +1 -0
- package/dist/assets/components/share/share_button/ShareButton.module-BS6STEUD.css +1 -0
- package/dist/assets/components/share/share_modal/ShareModal.module-CczX4YRd.css +1 -0
- package/dist/assets/components/skeleton/user_content_skeleton/UserContentSkeleton.module-DhZm1xTr.css +1 -0
- package/dist/assets/components/source/context_source_box/ContextSourceBox.module-78Gxjx0w.css +1 -0
- package/dist/assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css +1 -0
- package/dist/assets/components/source/source_box/SourceBox.module-Cu_m3E85.css +1 -0
- package/dist/assets/components/source/source_list_item/SourceListItem.module-mTxHhXPV.css +1 -0
- package/dist/assets/components/source/source_modal/SourceModal.module-DfEHopJo.css +1 -0
- package/dist/assets/components/suggestion/suggestion_banner/SuggestionBanner.module-D37NVZLS.css +1 -0
- package/dist/assets/components/suggestion/suggestion_box/SuggestionBox.module-fwf3pCuJ.css +1 -0
- package/dist/assets/components/suggestion/suggestion_input/SuggestionInput.module-BsEj7sF3.css +1 -0
- package/dist/assets/components/summary/argument_summary_box/ArgumentSummaryBox.module-DLcsyMSD.css +1 -0
- package/dist/assets/components/summary/keyword_box/KeywordBox.module-DHkYfW0l.css +1 -0
- package/dist/assets/components/summary/summary/Summary.module-DjfmUlkW.css +1 -0
- package/dist/assets/components/summary/summary_box/SummaryBox.module-DQVkA8l7.css +1 -0
- package/dist/assets/components/tag/tag/Tag.module-DSSGWMKh.css +1 -0
- package/dist/assets/components/text/expandable_text/ExpandableText.module-C9NQVGvu.css +1 -0
- package/dist/assets/components/text/read_more/ReadMore.module-Ni_Mm8o8.css +1 -0
- package/dist/assets/components/translation/translation_button/TranslationButton.module-DZv7Csu4.css +1 -0
- package/dist/assets/components/user/author_box/AuthorBox.module-CbH2S-MT.css +1 -0
- package/dist/assets/components/user/avatar/Avatar.module-DmWuUR8K.css +1 -0
- package/dist/assets/components/user/avatar_selector/AvatarSelector.module-C2_Sfb_6.css +1 -0
- package/dist/assets/components/user/update_user_info_modal/UpdateUserInfoModal.module-DJym6u4r.css +1 -0
- package/dist/assets/components/user/user_box/UserBox.module-DGKK1afI.css +1 -0
- package/dist/assets/components/user/user_box_small/UserBoxSmall.module-ibAw9gGE.css +1 -0
- package/dist/assets/components/user_content/content_footer/ContentFooter.module-B9R3dZFl.css +1 -0
- package/dist/assets/components/user_content/content_header/ContentHeader.module-B0VwpU-R.css +1 -0
- package/dist/assets/components/user_content/summary_content_box/SummaryContentBox.module-DdzWnPjq.css +1 -0
- package/dist/assets/components/user_content/use_report_content/ReportModal.module-BxF-D5C5.css +1 -0
- package/dist/assets/components/vote/suggestion_vote_box/SuggestionVoteBox.module-CZeQKWIw.css +1 -0
- package/dist/assets/components/vote/up_down_vote_box/UpDownVoteBox.module-Bk_s4Ph0.css +1 -0
- package/dist/assets/components/vote/vote_box/VoteBox.module-BhTSjU8w.css +1 -0
- package/dist/assets/components/vote/vote_button/VoteButton.module-mxq12D3_.css +1 -0
- package/dist/components/action/back_link/BackLink.js +21 -23
- package/dist/components/action/back_link/BackLink.module.scss.js +9 -0
- package/dist/components/action/button/Button.js +74 -33
- package/dist/components/action/button/Button.module.scss.js +17 -0
- package/dist/components/action/icon_text_link/IconTextLink.js +51 -35
- package/dist/components/action/icon_text_link/IconTextLink.module.scss.js +19 -0
- package/dist/components/action/link/Link.js +36 -22
- package/dist/components/ad/ad_unit/AdUnit.js +41 -41
- package/dist/components/ad/ad_unit/AdUnit.module.scss.js +7 -0
- package/dist/components/ad/use_google_ad_manager/useGoogleAdManager.js +21 -21
- package/dist/components/ad/with_ad/WithAd.js +29 -13
- package/dist/components/argument/argument/Argument.js +327 -266
- package/dist/components/argument/argument/Argument.module.scss.js +50 -0
- package/dist/components/argument/argument/ReplyFooter.js +52 -38
- package/dist/components/argument/argument/ReplyFooter.module.scss.js +15 -0
- package/dist/components/argument/argument/useRichContent.js +16 -13
- package/dist/components/argument/top_arguments/TopArguments.js +93 -61
- package/dist/components/argument/top_arguments/TopArguments.module.scss.js +13 -0
- package/dist/components/auth/auth_initializer/AuthInitializer.js +51 -34
- package/dist/components/auth/auth_modal/AuthModal.js +77 -67
- package/dist/components/auth/auth_modal/AuthModal.module.scss.js +7 -0
- package/dist/components/auth/auth_modal/index.js +4 -2
- package/dist/components/auth/facebook_login_button/FacebookIcon.js +19 -13
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.js +30 -28
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.module.scss.js +9 -0
- package/dist/components/auth/google_login_button/GoogleIcon.js +43 -28
- package/dist/components/auth/google_login_button/GoogleLoginButton.js +33 -30
- package/dist/components/auth/google_login_button/GoogleLoginButton.module.scss.js +9 -0
- package/dist/components/auth/login_form/LoginForm.js +86 -83
- package/dist/components/auth/login_form/LoginForm.module.scss.js +15 -0
- package/dist/components/auth/oauth2_button/OAuth2Button.js +52 -35
- package/dist/components/auth/oauth2_button/OAuth2Button.module.scss.js +9 -0
- package/dist/components/auth/providers/AuthProvider.js +20 -19
- package/dist/components/auth/providers/AuthProviderFactory.js +9 -9
- package/dist/components/auth/providers/FormAuth.js +28 -28
- package/dist/components/auth/providers/JWTAuth.js +26 -26
- package/dist/components/auth/providers/OAuth2ServerAuth.js +35 -34
- package/dist/components/auth/providers/PasswordAuth.js +23 -23
- package/dist/components/auth/signup_form/SignupForm.js +164 -154
- package/dist/components/auth/signup_form/SignupForm.module.scss.js +11 -0
- package/dist/components/auth/social_auth_form/SocialAuthForm.js +225 -198
- package/dist/components/auth/social_auth_form/SocialAuthForm.module.scss.js +39 -0
- package/dist/components/auth/sso_form/SSOForm.js +191 -145
- package/dist/components/auth/sso_form/SSOForm.module.scss.js +31 -0
- package/dist/components/auth/use_auth/AuthContext.js +5 -5
- package/dist/components/auth/use_auth/AuthProvider.js +26 -25
- package/dist/components/auth/use_auth/AuthStorage.js +28 -28
- package/dist/components/auth/use_auth/authTokenHandler.js +46 -44
- package/dist/components/auth/use_auth/useAuth.js +5 -5
- package/dist/components/auth/use_auth/useAuthActions.js +46 -34
- package/dist/components/auth/use_auth/useAuthInterceptor.js +34 -26
- package/dist/components/chart/line_chart/LineChart.js +99 -100
- package/dist/components/chart/line_chart/LineChart.module.scss.js +15 -0
- package/dist/components/chart/pie_chart/PieChart.js +83 -68
- package/dist/components/chart/pie_chart/PieChart.module.scss.js +7 -0
- package/dist/components/consultation/consultation_box/ConsultationBox.js +164 -121
- package/dist/components/consultation/consultation_box/ConsultationBox.module.scss.js +35 -0
- package/dist/components/data/axios_client/httpClient.js +7 -7
- package/dist/components/data/config_provider/ConfigProvider.js +7 -12
- package/dist/components/data/config_provider/useConfig.js +7 -7
- package/dist/components/data/config_provider/useRoutes.js +7 -7
- package/dist/components/data/config_provider/withConfig.js +6 -9
- package/dist/components/data/data_provider/DataProvider.js +106 -99
- package/dist/components/data/data_provider/DataProviderContext.js +5 -5
- package/dist/components/data/data_provider/useData.js +10 -8
- package/dist/components/data/data_provider/useDataProvider.js +7 -7
- package/dist/components/debate/debate_box/DebateBox.js +185 -154
- package/dist/components/debate/debate_box/DebateBox.module.scss.js +49 -0
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.js +36 -29
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.module.scss.js +13 -0
- package/dist/components/dialog/confirm_modal/ConfirmModal.js +47 -36
- package/dist/components/dialog/confirm_modal/ConfirmModal.module.scss.js +13 -0
- package/dist/components/dialog/countdown/Countdown.js +22 -22
- package/dist/components/dialog/dialog_box/DialogBox.js +51 -50
- package/dist/components/dialog/dialog_box/DialogBox.module.scss.js +27 -0
- package/dist/components/dialog/drawer/Drawer.js +140 -126
- package/dist/components/dialog/drawer/Drawer.module.scss.js +31 -0
- package/dist/components/dialog/dropdown/Dropdown.js +48 -28
- package/dist/components/dialog/dropdown/Dropdown.module.scss.js +17 -0
- package/dist/components/dialog/modal/Modal.js +83 -64
- package/dist/components/dialog/modal/Modal.module.scss.js +19 -0
- package/dist/components/dialog/modal/ModalProvider.js +16 -19
- package/dist/components/dialog/modal/useModal.js +6 -6
- package/dist/components/dialog/toast/Toast.js +35 -39
- package/dist/components/dialog/toast/Toast.module.scss.js +25 -0
- package/dist/components/dialog/toast_provider/ToastContext.js +5 -5
- package/dist/components/dialog/toast_provider/ToastProvider.js +32 -27
- package/dist/components/dialog/toast_provider/ToastProvider.module.scss.js +7 -0
- package/dist/components/dialog/toast_provider/useToast.js +8 -11
- package/dist/components/dialog/tooltip/Tooltip.js +43 -31
- package/dist/components/dialog/tooltip/Tooltip.module.scss.js +21 -0
- package/dist/components/embed/embed_header/EmbedHeader.js +97 -71
- package/dist/components/embed/embed_header/EmbedHeader.module.scss.js +29 -0
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.js +16 -17
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.module.scss.js +7 -0
- package/dist/components/follow/follow_button/FollowButton.js +45 -47
- package/dist/components/follow/follow_button/FollowButton.module.scss.js +9 -0
- package/dist/components/follow/use_follow/useFollow.js +41 -35
- package/dist/components/forms/form/extract-form-data.js +10 -10
- package/dist/components/forms/form/form-context.js +5 -5
- package/dist/components/forms/form/form.js +22 -26
- package/dist/components/forms/form/use-form-context.js +28 -31
- package/dist/components/forms/form/use-form.js +6 -6
- package/dist/components/forms/use_form_validation/useFormValidation.js +50 -44
- package/dist/components/gamification/badge_box/BadgeBox.js +102 -92
- package/dist/components/gamification/badge_box/BadgeBox.module.scss.js +32 -0
- package/dist/components/gamification/point_box/PointBox.js +12 -18
- package/dist/components/gamification/point_box/PointBox.module.scss.js +11 -0
- package/dist/components/hooks/use_auth_required/useAuthRequired.js +22 -15
- package/dist/components/hooks/use_css_theme/useCssTheme.js +16 -15
- package/dist/components/hooks/use_font_loader/useFontLoader.js +12 -8
- package/dist/components/hooks/use_matomo/useMatomo.js +9 -9
- package/dist/components/hooks/use_relative_time/useRelativeTime.js +32 -52
- package/dist/components/hooks/use_responsive/ResponsiveContext.js +5 -5
- package/dist/components/hooks/use_responsive/ResponsiveProvider.js +41 -32
- package/dist/components/hooks/use_responsive/useResponsive.js +8 -13
- package/dist/components/icons/bild_icons/Alarm.js +12 -14
- package/dist/components/icons/bild_icons/Announcement.js +14 -19
- package/dist/components/icons/bild_icons/Arrow.js +5 -10
- package/dist/components/icons/bild_icons/Blockquote.js +5 -10
- package/dist/components/icons/bild_icons/Bold.js +5 -10
- package/dist/components/icons/bild_icons/Camera.js +8 -10
- package/dist/components/icons/bild_icons/Chat.js +37 -43
- package/dist/components/icons/bild_icons/Check.js +14 -11
- package/dist/components/icons/bild_icons/CheckCircle.js +21 -19
- package/dist/components/icons/bild_icons/Checkbox.js +8 -10
- package/dist/components/icons/bild_icons/Clap.js +32 -20
- package/dist/components/icons/bild_icons/Clock.js +5 -10
- package/dist/components/icons/bild_icons/Close.js +5 -10
- package/dist/components/icons/bild_icons/Code.js +35 -31
- package/dist/components/icons/bild_icons/Community.js +5 -10
- package/dist/components/icons/bild_icons/Crown.js +14 -11
- package/dist/components/icons/bild_icons/Document.js +5 -10
- package/dist/components/icons/bild_icons/Downvote.js +5 -10
- package/dist/components/icons/bild_icons/Ellipsis.js +14 -11
- package/dist/components/icons/bild_icons/ExpertBadge.js +50 -32
- package/dist/components/icons/bild_icons/Facebook.js +5 -10
- package/dist/components/icons/bild_icons/Flag.js +5 -10
- package/dist/components/icons/bild_icons/Home.js +5 -10
- package/dist/components/icons/bild_icons/Italic.js +5 -10
- package/dist/components/icons/bild_icons/LightArrow.js +14 -11
- package/dist/components/icons/bild_icons/Link.js +8 -10
- package/dist/components/icons/bild_icons/Login.js +30 -18
- package/dist/components/icons/bild_icons/Logora.js +55 -24
- package/dist/components/icons/bild_icons/Mail.js +5 -10
- package/dist/components/icons/bild_icons/MinusCircle.js +20 -23
- package/dist/components/icons/bild_icons/MobileClose.js +23 -18
- package/dist/components/icons/bild_icons/MobileMenu.js +28 -28
- package/dist/components/icons/bild_icons/Next.js +22 -21
- package/dist/components/icons/bild_icons/OpenBlank.js +20 -14
- package/dist/components/icons/bild_icons/OrderedList.js +5 -10
- package/dist/components/icons/bild_icons/PauseCircle.js +22 -33
- package/dist/components/icons/bild_icons/Point.js +24 -20
- package/dist/components/icons/bild_icons/Question.js +14 -17
- package/dist/components/icons/bild_icons/Refresh.js +8 -10
- package/dist/components/icons/bild_icons/Reply.js +8 -10
- package/dist/components/icons/bild_icons/Search.js +5 -10
- package/dist/components/icons/bild_icons/Send.js +5 -10
- package/dist/components/icons/bild_icons/Share.js +14 -11
- package/dist/components/icons/bild_icons/SmallArrow.js +5 -10
- package/dist/components/icons/bild_icons/Source.js +5 -10
- package/dist/components/icons/bild_icons/Suggestion.js +24 -18
- package/dist/components/icons/bild_icons/Twitter.js +43 -28
- package/dist/components/icons/bild_icons/Underline.js +5 -10
- package/dist/components/icons/bild_icons/Upvote.js +5 -10
- package/dist/components/icons/bild_icons/User.js +5 -10
- package/dist/components/icons/bild_icons/Versus.js +11 -13
- package/dist/components/icons/bild_icons/Votebox.js +14 -11
- package/dist/components/icons/bild_icons/index.js +105 -109
- package/dist/components/icons/hero_icons/Alarm.js +23 -17
- package/dist/components/icons/hero_icons/Announcement.js +23 -17
- package/dist/components/icons/hero_icons/Arrow.js +23 -17
- package/dist/components/icons/hero_icons/Blockquote.js +25 -26
- package/dist/components/icons/hero_icons/Bold.js +22 -16
- package/dist/components/icons/hero_icons/Camera.js +33 -21
- package/dist/components/icons/hero_icons/Chat.js +23 -17
- package/dist/components/icons/hero_icons/Check.js +23 -17
- package/dist/components/icons/hero_icons/CheckCircle.js +21 -19
- package/dist/components/icons/hero_icons/Checkbox.js +23 -17
- package/dist/components/icons/hero_icons/Clap.js +23 -17
- package/dist/components/icons/hero_icons/Clock.js +23 -17
- package/dist/components/icons/hero_icons/Close.js +23 -17
- package/dist/components/icons/hero_icons/Code.js +23 -17
- package/dist/components/icons/hero_icons/Community.js +23 -17
- package/dist/components/icons/hero_icons/Crown.js +23 -17
- package/dist/components/icons/hero_icons/Downvote.js +23 -17
- package/dist/components/icons/hero_icons/Ellipsis.js +23 -17
- package/dist/components/icons/hero_icons/ExpertBadge.js +23 -17
- package/dist/components/icons/hero_icons/Facebook.js +5 -10
- package/dist/components/icons/hero_icons/Flag.js +5 -10
- package/dist/components/icons/hero_icons/Home.js +23 -17
- package/dist/components/icons/hero_icons/Italic.js +22 -16
- package/dist/components/icons/hero_icons/LightArrow.js +14 -11
- package/dist/components/icons/hero_icons/Link.js +23 -17
- package/dist/components/icons/hero_icons/Login.js +24 -18
- package/dist/components/icons/hero_icons/Logora.js +55 -24
- package/dist/components/icons/hero_icons/Mail.js +23 -17
- package/dist/components/icons/hero_icons/MinusCircle.js +20 -23
- package/dist/components/icons/hero_icons/MobileClose.js +23 -17
- package/dist/components/icons/hero_icons/MobileMenu.js +23 -17
- package/dist/components/icons/hero_icons/Next.js +23 -17
- package/dist/components/icons/hero_icons/OpenBlank.js +23 -17
- package/dist/components/icons/hero_icons/OrderedList.js +60 -46
- package/dist/components/icons/hero_icons/PauseCircle.js +22 -33
- package/dist/components/icons/hero_icons/Point.js +24 -20
- package/dist/components/icons/hero_icons/Question.js +23 -17
- package/dist/components/icons/hero_icons/Refresh.js +23 -17
- package/dist/components/icons/hero_icons/Reply.js +23 -17
- package/dist/components/icons/hero_icons/Search.js +23 -17
- package/dist/components/icons/hero_icons/Send.js +23 -17
- package/dist/components/icons/hero_icons/Share.js +23 -17
- package/dist/components/icons/hero_icons/SmallArrow.js +23 -17
- package/dist/components/icons/hero_icons/Source.js +23 -17
- package/dist/components/icons/hero_icons/Suggestion.js +23 -17
- package/dist/components/icons/hero_icons/Twitter.js +43 -28
- package/dist/components/icons/hero_icons/Underline.js +25 -26
- package/dist/components/icons/hero_icons/Upvote.js +23 -17
- package/dist/components/icons/hero_icons/User.js +23 -17
- package/dist/components/icons/hero_icons/Versus.js +23 -17
- package/dist/components/icons/hero_icons/Votebox.js +23 -17
- package/dist/components/icons/hero_icons/index.js +103 -107
- package/dist/components/icons/icon/Icon.js +23 -19
- package/dist/components/icons/icon_provider/IconProvider.js +7 -9
- package/dist/components/icons/krone_icons/Alarm.js +29 -27
- package/dist/components/icons/krone_icons/Announcement.js +21 -15
- package/dist/components/icons/krone_icons/Arrow.js +5 -10
- package/dist/components/icons/krone_icons/Blockquote.js +5 -10
- package/dist/components/icons/krone_icons/Bold.js +5 -10
- package/dist/components/icons/krone_icons/Camera.js +8 -10
- package/dist/components/icons/krone_icons/Chat.js +31 -29
- package/dist/components/icons/krone_icons/Check.js +5 -10
- package/dist/components/icons/krone_icons/CheckBox.js +22 -16
- package/dist/components/icons/krone_icons/CheckCircle.js +21 -19
- package/dist/components/icons/krone_icons/Clap.js +31 -29
- package/dist/components/icons/krone_icons/Clock.js +5 -10
- package/dist/components/icons/krone_icons/Close.js +5 -10
- package/dist/components/icons/krone_icons/Code.js +35 -31
- package/dist/components/icons/krone_icons/Community.js +5 -10
- package/dist/components/icons/krone_icons/Crown.js +5 -10
- package/dist/components/icons/krone_icons/Document.js +5 -10
- package/dist/components/icons/krone_icons/Downvote.js +5 -10
- package/dist/components/icons/krone_icons/Ellipsis.js +23 -17
- package/dist/components/icons/krone_icons/ExpertBadge.js +31 -29
- package/dist/components/icons/krone_icons/Facebook.js +5 -10
- package/dist/components/icons/krone_icons/Flag.js +5 -10
- package/dist/components/icons/krone_icons/Home.js +31 -29
- package/dist/components/icons/krone_icons/Italic.js +5 -10
- package/dist/components/icons/krone_icons/LightArrow.js +5 -10
- package/dist/components/icons/krone_icons/Link.js +8 -10
- package/dist/components/icons/krone_icons/Login.js +29 -17
- package/dist/components/icons/krone_icons/Logora.js +55 -24
- package/dist/components/icons/krone_icons/Mail.js +5 -10
- package/dist/components/icons/krone_icons/MinusCircle.js +20 -23
- package/dist/components/icons/krone_icons/MobileClose.js +14 -17
- package/dist/components/icons/krone_icons/MobileMenu.js +28 -28
- package/dist/components/icons/krone_icons/Next.js +22 -21
- package/dist/components/icons/krone_icons/OpenBlank.js +20 -14
- package/dist/components/icons/krone_icons/OrderedList.js +5 -10
- package/dist/components/icons/krone_icons/PauseCircle.js +21 -32
- package/dist/components/icons/krone_icons/Point.js +24 -20
- package/dist/components/icons/krone_icons/Question.js +31 -29
- package/dist/components/icons/krone_icons/Refresh.js +8 -10
- package/dist/components/icons/krone_icons/Reply.js +23 -17
- package/dist/components/icons/krone_icons/Search.js +5 -10
- package/dist/components/icons/krone_icons/Send.js +30 -25
- package/dist/components/icons/krone_icons/Share.js +16 -13
- package/dist/components/icons/krone_icons/SmallArrow.js +5 -10
- package/dist/components/icons/krone_icons/Source.js +5 -10
- package/dist/components/icons/krone_icons/Suggestion.js +31 -29
- package/dist/components/icons/krone_icons/Twitter.js +43 -28
- package/dist/components/icons/krone_icons/Underline.js +5 -10
- package/dist/components/icons/krone_icons/Upvote.js +31 -29
- package/dist/components/icons/krone_icons/User.js +37 -32
- package/dist/components/icons/krone_icons/Versus.js +5 -10
- package/dist/components/icons/krone_icons/Votebox.js +31 -29
- package/dist/components/icons/krone_icons/index.js +105 -109
- package/dist/components/icons/regular_icons/Alarm.js +12 -14
- package/dist/components/icons/regular_icons/Announcement.js +14 -19
- package/dist/components/icons/regular_icons/Arrow.js +5 -10
- package/dist/components/icons/regular_icons/Blockquote.js +5 -10
- package/dist/components/icons/regular_icons/Bold.js +5 -10
- package/dist/components/icons/regular_icons/Camera.js +8 -10
- package/dist/components/icons/regular_icons/Chat.js +10 -15
- package/dist/components/icons/regular_icons/Check.js +5 -10
- package/dist/components/icons/regular_icons/CheckCircle.js +21 -19
- package/dist/components/icons/regular_icons/Checkbox.js +8 -10
- package/dist/components/icons/regular_icons/Clap.js +12 -14
- package/dist/components/icons/regular_icons/Clock.js +5 -10
- package/dist/components/icons/regular_icons/Close.js +5 -10
- package/dist/components/icons/regular_icons/Code.js +35 -31
- package/dist/components/icons/regular_icons/Community.js +5 -10
- package/dist/components/icons/regular_icons/Crown.js +5 -10
- package/dist/components/icons/regular_icons/Document.js +5 -10
- package/dist/components/icons/regular_icons/Downvote.js +5 -10
- package/dist/components/icons/regular_icons/Ellipsis.js +5 -10
- package/dist/components/icons/regular_icons/ExpertBadge.js +41 -31
- package/dist/components/icons/regular_icons/Facebook.js +5 -10
- package/dist/components/icons/regular_icons/Flag.js +5 -10
- package/dist/components/icons/regular_icons/Home.js +5 -10
- package/dist/components/icons/regular_icons/Italic.js +5 -10
- package/dist/components/icons/regular_icons/LightArrow.js +5 -10
- package/dist/components/icons/regular_icons/Link.js +8 -10
- package/dist/components/icons/regular_icons/Login.js +29 -17
- package/dist/components/icons/regular_icons/Logora.js +55 -24
- package/dist/components/icons/regular_icons/Mail.js +5 -10
- package/dist/components/icons/regular_icons/MinusCircle.js +20 -23
- package/dist/components/icons/regular_icons/MobileClose.js +14 -17
- package/dist/components/icons/regular_icons/MobileMenu.js +28 -28
- package/dist/components/icons/regular_icons/Next.js +22 -21
- package/dist/components/icons/regular_icons/OpenBlank.js +20 -14
- package/dist/components/icons/regular_icons/OrderedList.js +5 -10
- package/dist/components/icons/regular_icons/PauseCircle.js +21 -32
- package/dist/components/icons/regular_icons/Point.js +24 -20
- package/dist/components/icons/regular_icons/Question.js +14 -17
- package/dist/components/icons/regular_icons/Refresh.js +8 -10
- package/dist/components/icons/regular_icons/Reply.js +8 -10
- package/dist/components/icons/regular_icons/Search.js +5 -10
- package/dist/components/icons/regular_icons/Send.js +5 -10
- package/dist/components/icons/regular_icons/Share.js +14 -11
- package/dist/components/icons/regular_icons/SmallArrow.js +5 -10
- package/dist/components/icons/regular_icons/Source.js +5 -10
- package/dist/components/icons/regular_icons/Suggestion.js +24 -18
- package/dist/components/icons/regular_icons/Twitter.js +43 -28
- package/dist/components/icons/regular_icons/Underline.js +5 -10
- package/dist/components/icons/regular_icons/Upvote.js +5 -10
- package/dist/components/icons/regular_icons/User.js +5 -10
- package/dist/components/icons/regular_icons/Versus.js +5 -10
- package/dist/components/icons/regular_icons/Votebox.js +14 -11
- package/dist/components/icons/regular_icons/index.js +105 -109
- package/dist/components/icons/spiegel_icons/Alarm.js +12 -14
- package/dist/components/icons/spiegel_icons/Announcement.js +14 -19
- package/dist/components/icons/spiegel_icons/Arrow.js +5 -10
- package/dist/components/icons/spiegel_icons/Blockquote.js +24 -25
- package/dist/components/icons/spiegel_icons/Bold.js +21 -15
- package/dist/components/icons/spiegel_icons/Camera.js +8 -10
- package/dist/components/icons/spiegel_icons/Chat.js +14 -11
- package/dist/components/icons/spiegel_icons/Check.js +5 -10
- package/dist/components/icons/spiegel_icons/CheckCircle.js +31 -19
- package/dist/components/icons/spiegel_icons/Checkbox.js +24 -25
- package/dist/components/icons/spiegel_icons/Clap.js +24 -25
- package/dist/components/icons/spiegel_icons/Clock.js +27 -25
- package/dist/components/icons/spiegel_icons/Close.js +12 -14
- package/dist/components/icons/spiegel_icons/Code.js +35 -31
- package/dist/components/icons/spiegel_icons/Community.js +5 -10
- package/dist/components/icons/spiegel_icons/Crown.js +14 -11
- package/dist/components/icons/spiegel_icons/Downvote.js +5 -10
- package/dist/components/icons/spiegel_icons/Ellipsis.js +14 -11
- package/dist/components/icons/spiegel_icons/ExpertBadge.js +32 -27
- package/dist/components/icons/spiegel_icons/Facebook.js +21 -15
- package/dist/components/icons/spiegel_icons/Flag.js +31 -19
- package/dist/components/icons/spiegel_icons/Home.js +5 -10
- package/dist/components/icons/spiegel_icons/Italic.js +21 -15
- package/dist/components/icons/spiegel_icons/LightArrow.js +14 -11
- package/dist/components/icons/spiegel_icons/Link.js +21 -25
- package/dist/components/icons/spiegel_icons/Login.js +24 -18
- package/dist/components/icons/spiegel_icons/Logora.js +55 -24
- package/dist/components/icons/spiegel_icons/Mail.js +21 -15
- package/dist/components/icons/spiegel_icons/MinusCircle.js +31 -19
- package/dist/components/icons/spiegel_icons/MobileClose.js +23 -18
- package/dist/components/icons/spiegel_icons/MobileMenu.js +28 -28
- package/dist/components/icons/spiegel_icons/Next.js +22 -21
- package/dist/components/icons/spiegel_icons/OpenBlank.js +20 -14
- package/dist/components/icons/spiegel_icons/OrderedList.js +24 -28
- package/dist/components/icons/spiegel_icons/PauseCircle.js +31 -19
- package/dist/components/icons/spiegel_icons/Point.js +24 -20
- package/dist/components/icons/spiegel_icons/Question.js +28 -29
- package/dist/components/icons/spiegel_icons/Refresh.js +8 -10
- package/dist/components/icons/spiegel_icons/Reply.js +14 -11
- package/dist/components/icons/spiegel_icons/Search.js +5 -10
- package/dist/components/icons/spiegel_icons/Send.js +5 -10
- package/dist/components/icons/spiegel_icons/Share.js +24 -25
- package/dist/components/icons/spiegel_icons/SmallArrow.js +14 -11
- package/dist/components/icons/spiegel_icons/Source.js +5 -10
- package/dist/components/icons/spiegel_icons/Suggestion.js +21 -15
- package/dist/components/icons/spiegel_icons/Twitter.js +43 -28
- package/dist/components/icons/spiegel_icons/Underline.js +24 -25
- package/dist/components/icons/spiegel_icons/Upvote.js +5 -10
- package/dist/components/icons/spiegel_icons/User.js +5 -10
- package/dist/components/icons/spiegel_icons/Versus.js +11 -13
- package/dist/components/icons/spiegel_icons/Votebox.js +24 -25
- package/dist/components/icons/spiegel_icons/index.js +103 -107
- package/dist/components/input/argument_input/ArgumentInput.js +387 -285
- package/dist/components/input/argument_input/ArgumentInput.module.scss.js +43 -0
- package/dist/components/input/argument_input/index.js +4 -2
- package/dist/components/input/checkbox/hidden/hidden-checkbox.js +15 -14
- package/dist/components/input/checkbox/hidden/hidden-checkbox.module.scss.js +7 -0
- package/dist/components/input/checkbox/indicator/checkbox-indicator.js +19 -16
- package/dist/components/input/checkbox/indicator/checkbox-indicator.module.scss.js +9 -0
- package/dist/components/input/checkbox/label/checkbox-label.js +38 -25
- package/dist/components/input/input_provider/InputProvider.js +24 -20
- package/dist/components/input/input_provider/useInput.js +5 -5
- package/dist/components/input/search_input/SearchInput.js +99 -73
- package/dist/components/input/search_input/SearchInput.module.scss.js +11 -0
- package/dist/components/input/select/Select.js +85 -75
- package/dist/components/input/select/Select.module.scss.js +19 -0
- package/dist/components/input/text_editor/EditorTheme.js +70 -68
- package/dist/components/input/text_editor/TextEditor.js +170 -146
- package/dist/components/input/text_editor/TextEditor.module.scss.js +45 -0
- package/dist/components/input/text_editor/lexicalToHtml.js +19 -21
- package/dist/components/input/text_editor/plugins/AutoSavePlugin.js +33 -24
- package/dist/components/input/text_editor/plugins/FocusPlugin.js +13 -13
- package/dist/components/input/text_editor/plugins/MaxLengthPlugin.js +25 -22
- package/dist/components/input/text_editor/plugins/ResetPlugin.js +20 -17
- package/dist/components/input/text_editor/plugins/SetContentPlugin.js +17 -17
- package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +14 -14
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +229 -169
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.scss.js +25 -0
- package/dist/components/input/text_input/TextInput.js +61 -35
- package/dist/components/input/text_input/TextInput.module.scss.js +21 -0
- package/dist/components/input/text_input/color-accent.js +11 -11
- package/dist/components/input/text_input/message.js +8 -14
- package/dist/components/input/toggle/Toggle.js +23 -26
- package/dist/components/input/toggle/Toggle.module.scss.js +15 -0
- package/dist/components/input/toggle_position/TogglePosition.js +65 -47
- package/dist/components/input/toggle_position/TogglePosition.module.scss.js +15 -0
- package/dist/components/intl/intl_provider/IntlContext.js +5 -5
- package/dist/components/intl/intl_provider/IntlProvider.js +46 -37
- package/dist/components/intl/intl_provider/useLocale.js +8 -11
- package/dist/components/list/list_provider/ListProvider.js +45 -44
- package/dist/components/list/list_provider/useList.js +34 -21
- package/dist/components/list/paginated_list/PaginatedList.js +244 -177
- package/dist/components/list/paginated_list/PaginatedList.module.scss.js +33 -0
- package/dist/components/list/paginated_list/VotePaginatedList.js +22 -18
- package/dist/components/list/paginated_list/action_bar/ActionBar.js +109 -74
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.scss.js +23 -0
- package/dist/components/list/pagination/Pagination.js +33 -26
- package/dist/components/list/pagination/Pagination.module.scss.js +7 -0
- package/dist/components/modal/side_modal/SideModal.js +72 -58
- package/dist/components/modal/side_modal/SideModal.module.scss.js +19 -0
- package/dist/components/modal/side_modal/index.js +3 -1
- package/dist/components/navbar/navbar_button/NavbarButton.js +32 -28
- package/dist/components/navbar/navbar_button/NavbarButton.module.scss.js +9 -0
- package/dist/components/navbar/navbar_modal/NavbarModal.js +182 -155
- package/dist/components/navbar/navbar_modal/NavbarModal.module.scss.js +25 -0
- package/dist/components/notification/notification_item/NotificationItem.js +77 -48
- package/dist/components/notification/notification_item/NotificationItem.module.scss.js +17 -0
- package/dist/components/notification/notification_menu/NotificationMenu.js +59 -52
- package/dist/components/notification/notification_menu/NotificationMenu.module.scss.js +13 -0
- package/dist/components/progress/loader/Loader.js +6 -12
- package/dist/components/progress/loader/Loader.module.scss.js +9 -0
- package/dist/components/progress/progress_bar/ProgressBar.js +48 -57
- package/dist/components/progress/progress_bar/ProgressBar.module.scss.js +23 -0
- package/dist/components/proposal/proposal_box/ProposalBox.js +139 -107
- package/dist/components/proposal/proposal_box/ProposalBox.module.scss.js +19 -0
- package/dist/components/report/report_box/ReportBox.js +103 -101
- package/dist/components/report/report_box/ReportBox.module.scss.js +19 -0
- package/dist/components/section/section_box/SectionBox.js +56 -39
- package/dist/components/section/section_box/SectionBox.module.scss.js +25 -0
- package/dist/components/share/share_box/ShareBox.js +182 -130
- package/dist/components/share/share_box/ShareBox.module.scss.js +17 -0
- package/dist/components/share/share_button/ShareButton.js +91 -72
- package/dist/components/share/share_button/ShareButton.module.scss.js +15 -0
- package/dist/components/share/share_modal/ShareModal.js +30 -26
- package/dist/components/share/share_modal/ShareModal.module.scss.js +7 -0
- package/dist/components/share/share_modal/index.js +4 -2
- package/dist/components/skeleton/box_skeleton/BoxSkeleton.js +84 -62
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.js +49 -56
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.scss.js +23 -0
- package/dist/components/source/context_source_box/ContextSourceBox.js +39 -43
- package/dist/components/source/context_source_box/ContextSourceBox.module.scss.js +17 -0
- package/dist/components/source/context_source_list/ContextSourceList.js +53 -41
- package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +15 -0
- package/dist/components/source/source_box/SourceBox.js +31 -38
- package/dist/components/source/source_box/SourceBox.module.scss.js +19 -0
- package/dist/components/source/source_list_item/SourceListItem.js +33 -31
- package/dist/components/source/source_list_item/SourceListItem.module.scss.js +9 -0
- package/dist/components/source/source_modal/SourceModal.js +138 -109
- package/dist/components/source/source_modal/SourceModal.module.scss.js +19 -0
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.js +122 -98
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.scss.js +23 -0
- package/dist/components/suggestion/suggestion_box/SuggestionBox.js +117 -96
- package/dist/components/suggestion/suggestion_box/SuggestionBox.module.scss.js +23 -0
- package/dist/components/suggestion/suggestion_input/SuggestionInput.js +182 -156
- package/dist/components/suggestion/suggestion_input/SuggestionInput.module.scss.js +19 -0
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.js +64 -61
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.scss.js +23 -0
- package/dist/components/summary/keyword_box/KeywordBox.js +34 -36
- package/dist/components/summary/keyword_box/KeywordBox.module.scss.js +13 -0
- package/dist/components/summary/summary/Summary.js +87 -72
- package/dist/components/summary/summary/Summary.module.scss.js +9 -0
- package/dist/components/summary/summary_box/SummaryBox.js +17 -21
- package/dist/components/summary/summary_box/SummaryBox.module.scss.js +17 -0
- package/dist/components/tag/tag/Tag.js +34 -18
- package/dist/components/tag/tag/Tag.module.scss.js +9 -0
- package/dist/components/text/expandable_text/ArrowIcon.js +5 -10
- package/dist/components/text/expandable_text/ExpandableText.js +71 -52
- package/dist/components/text/expandable_text/ExpandableText.module.scss.js +17 -0
- package/dist/components/text/read_more/ReadMore.js +79 -62
- package/dist/components/text/read_more/ReadMore.module.scss.js +19 -0
- package/dist/components/tools/hash_scroll/HashScroll.js +17 -17
- package/dist/components/tools/scroll_to_top/ScrollToTop.js +16 -14
- package/dist/components/translation/translated_content/TranslatedContent.js +19 -6
- package/dist/components/translation/translated_content/useTranslatedContent.js +53 -25
- package/dist/components/translation/translation_button/TranslationButton.js +50 -34
- package/dist/components/translation/translation_button/TranslationButton.module.scss.js +7 -0
- package/dist/components/user/author_box/AuthorBox.js +116 -112
- package/dist/components/user/author_box/AuthorBox.module.scss.js +33 -0
- package/dist/components/user/avatar/Avatar.js +75 -53
- package/dist/components/user/avatar/Avatar.module.scss.js +13 -0
- package/dist/components/user/avatar/DefaultAvatar.js +11 -16
- package/dist/components/user/avatar_selector/AvatarSelector.js +127 -107
- package/dist/components/user/avatar_selector/AvatarSelector.module.scss.js +33 -0
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.js +290 -250
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss.js +29 -0
- package/dist/components/user/update_user_info_modal/useUpdateUserInfo.js +26 -25
- package/dist/components/user/user_box/UserBox.js +78 -80
- package/dist/components/user/user_box/UserBox.module.scss.js +17 -0
- package/dist/components/user/user_box_small/UserBoxSmall.js +40 -42
- package/dist/components/user/user_box_small/UserBoxSmall.module.scss.js +9 -0
- package/dist/components/user_content/content_footer/ContentFooter.js +245 -171
- package/dist/components/user_content/content_footer/ContentFooter.module.scss.js +19 -0
- package/dist/components/user_content/content_header/ContentHeader.js +126 -119
- package/dist/components/user_content/content_header/ContentHeader.module.scss.js +29 -0
- package/dist/components/user_content/summary_content_box/SummaryContentBox.js +102 -70
- package/dist/components/user_content/summary_content_box/SummaryContentBox.module.scss.js +17 -0
- package/dist/components/user_content/use_delete_content/useDeleteContent.js +52 -44
- package/dist/components/user_content/use_report_content/ReportModal.js +267 -265
- package/dist/components/user_content/use_report_content/ReportModal.module.scss.js +27 -0
- package/dist/components/user_content/use_report_content/useReportContent.js +25 -23
- package/dist/components/util/lang_emojis/langEmojis.js +59 -57
- package/dist/components/util/location/Location.js +49 -40
- package/dist/components/util/unique_by/uniqueBy.js +8 -6
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.js +93 -80
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.scss.js +9 -0
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.js +71 -54
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.module.scss.js +17 -0
- package/dist/components/vote/use_vote/useVote.js +74 -61
- package/dist/components/vote/vote_box/VoteBox.js +423 -296
- package/dist/components/vote/vote_box/VoteBox.module.scss.js +59 -0
- package/dist/components/vote/vote_button/VoteButton.js +55 -38
- package/dist/components/vote/vote_button/VoteButton.module.scss.js +11 -0
- package/dist/components/vote/vote_provider/VoteProvider.js +36 -39
- package/dist/index.js +310 -202
- package/package.json +23 -17
- package/dist/_virtual/_rolldown/runtime.js +0 -23
- package/dist/assets/debate-Bv79XlHp.css +0 -2
- package/dist/components/action/back_link/BackLink.module.js +0 -6
- package/dist/components/action/button/Button.module.js +0 -10
- package/dist/components/action/icon_text_link/IconTextLink.module.js +0 -11
- package/dist/components/ad/ad_unit/AdUnit.module.js +0 -3
- package/dist/components/argument/argument/Argument.module.js +0 -34
- package/dist/components/argument/argument/ReplyFooter.module.js +0 -10
- package/dist/components/argument/top_arguments/TopArguments.module.js +0 -9
- package/dist/components/auth/auth_modal/AuthModal.module.js +0 -3
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.module.js +0 -6
- package/dist/components/auth/google_login_button/GoogleLoginButton.module.js +0 -6
- package/dist/components/auth/login_form/LoginForm.module.js +0 -9
- package/dist/components/auth/oauth2_button/OAuth2Button.module.js +0 -6
- package/dist/components/auth/signup_form/SignupForm.module.js +0 -7
- package/dist/components/auth/social_auth_form/SocialAuthForm.module.js +0 -21
- package/dist/components/auth/sso_form/SSOForm.module.js +0 -17
- package/dist/components/chart/line_chart/LineChart.module.js +0 -9
- package/dist/components/chart/pie_chart/PieChart.module.js +0 -3
- package/dist/components/consultation/consultation_box/ConsultationBox.module.js +0 -21
- package/dist/components/debate/debate_box/DebateBox.module.js +0 -26
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.module.js +0 -8
- package/dist/components/dialog/confirm_modal/ConfirmModal.module.js +0 -8
- package/dist/components/dialog/dialog_box/DialogBox.module.js +0 -16
- package/dist/components/dialog/drawer/Drawer.module.js +0 -17
- package/dist/components/dialog/dropdown/Dropdown.module.js +0 -10
- package/dist/components/dialog/modal/Modal.module.js +0 -12
- package/dist/components/dialog/toast/Toast.module.js +0 -14
- package/dist/components/dialog/toast_provider/ToastProvider.module.js +0 -3
- package/dist/components/dialog/tooltip/Tooltip.module.js +0 -12
- package/dist/components/embed/embed_header/EmbedHeader.module.js +0 -18
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.module.js +0 -3
- package/dist/components/follow/follow_button/FollowButton.module.js +0 -6
- package/dist/components/gamification/badge_box/BadgeBox.module.js +0 -19
- package/dist/components/gamification/point_box/PointBox.module.js +0 -7
- package/dist/components/input/argument_input/ArgumentInput.module.js +0 -23
- package/dist/components/input/checkbox/hidden/hidden-checkbox.module.js +0 -3
- package/dist/components/input/checkbox/indicator/checkbox-indicator.module.js +0 -6
- package/dist/components/input/search_input/SearchInput.module.js +0 -8
- package/dist/components/input/select/Select.module.js +0 -12
- package/dist/components/input/text_editor/TextEditor.module.js +0 -24
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.js +0 -17
- package/dist/components/input/text_input/TextInput.module.js +0 -12
- package/dist/components/input/toggle/Toggle.module.js +0 -9
- package/dist/components/input/toggle_position/TogglePosition.module.js +0 -10
- package/dist/components/list/paginated_list/PaginatedList.module.js +0 -18
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.js +0 -13
- package/dist/components/list/pagination/Pagination.module.js +0 -3
- package/dist/components/modal/side_modal/SideModal.module.js +0 -11
- package/dist/components/navbar/navbar_button/NavbarButton.module.js +0 -6
- package/dist/components/navbar/navbar_modal/NavbarModal.module.js +0 -16
- package/dist/components/notification/notification_item/NotificationItem.module.js +0 -10
- package/dist/components/notification/notification_menu/NotificationMenu.module.js +0 -8
- package/dist/components/progress/loader/Loader.module.js +0 -7
- package/dist/components/progress/progress_bar/ProgressBar.module.js +0 -14
- package/dist/components/proposal/proposal_box/ProposalBox.module.js +0 -11
- package/dist/components/report/report_box/ReportBox.module.js +0 -11
- package/dist/components/section/section_box/SectionBox.module.js +0 -14
- package/dist/components/share/share_box/ShareBox.module.js +0 -10
- package/dist/components/share/share_button/ShareButton.module.js +0 -9
- package/dist/components/share/share_modal/ShareModal.module.js +0 -3
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.js +0 -13
- package/dist/components/source/context_source_box/ContextSourceBox.module.js +0 -10
- package/dist/components/source/context_source_list/ContextSourceList.module.js +0 -10
- package/dist/components/source/source_box/SourceBox.module.js +0 -11
- package/dist/components/source/source_list_item/SourceListItem.module.js +0 -6
- package/dist/components/source/source_modal/SourceModal.module.js +0 -11
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.js +0 -13
- package/dist/components/suggestion/suggestion_box/SuggestionBox.module.js +0 -13
- package/dist/components/suggestion/suggestion_input/SuggestionInput.module.js +0 -11
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.js +0 -13
- package/dist/components/summary/keyword_box/KeywordBox.module.js +0 -11
- package/dist/components/summary/summary/Summary.module.js +0 -6
- package/dist/components/summary/summary_box/SummaryBox.module.js +0 -10
- package/dist/components/tag/tag/Tag.module.js +0 -6
- package/dist/components/text/expandable_text/ExpandableText.module.js +0 -10
- package/dist/components/text/read_more/ReadMore.module.js +0 -11
- package/dist/components/translation/translation_button/TranslationButton.module.js +0 -3
- package/dist/components/user/author_box/AuthorBox.module.js +0 -18
- package/dist/components/user/avatar/Avatar.module.js +0 -8
- package/dist/components/user/avatar_selector/AvatarSelector.module.js +0 -18
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.js +0 -23
- package/dist/components/user/user_box/UserBox.module.js +0 -13
- package/dist/components/user/user_box_small/UserBoxSmall.module.js +0 -6
- package/dist/components/user_content/content_footer/ContentFooter.module.js +0 -11
- package/dist/components/user_content/content_header/ContentHeader.module.js +0 -16
- package/dist/components/user_content/summary_content_box/SummaryContentBox.module.js +0 -10
- package/dist/components/user_content/use_report_content/ReportModal.module.js +0 -15
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.js +0 -6
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.module.js +0 -10
- package/dist/components/vote/vote_box/VoteBox.module.js +0 -31
- package/dist/components/vote/vote_button/VoteButton.module.js +0 -7
- package/dist/node_modules/.pnpm/@formatjs_fast-memoize@2.2.7/node_modules/@formatjs/fast-memoize/lib/index.js +0 -51
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js +0 -28
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/error.js +0 -7
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/index.js +0 -26
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/manipulator.js +0 -1
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js +0 -499
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js +0 -4
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js +0 -1159
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/types.js +0 -44
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js +0 -101
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/number.js +0 -182
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js +0 -4
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/create-intl.js +0 -39
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/dateTime.js +0 -80
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/displayName.js +0 -22
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/error.js +0 -66
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/list.js +0 -39
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/message.js +0 -59
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/number.js +0 -53
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/plural.js +0 -18
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/relativeTime.js +0 -22
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/utils.js +0 -115
- package/dist/node_modules/.pnpm/@kurkle_color@0.3.4/node_modules/@kurkle/color/dist/color.esm.js +0 -470
- package/dist/node_modules/.pnpm/@lexical_clipboard@0.38.2/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +0 -163
- package/dist/node_modules/.pnpm/@lexical_dragon@0.38.2/node_modules/@lexical/dragon/LexicalDragon.prod.js +0 -51
- package/dist/node_modules/.pnpm/@lexical_extension@0.38.2/node_modules/@lexical/extension/LexicalExtension.prod.js +0 -796
- package/dist/node_modules/.pnpm/@lexical_headless@0.38.2/node_modules/@lexical/headless/LexicalHeadless.prod.js +0 -21
- package/dist/node_modules/.pnpm/@lexical_history@0.38.2/node_modules/@lexical/history/LexicalHistory.prod.js +0 -132
- package/dist/node_modules/.pnpm/@lexical_html@0.38.2/node_modules/@lexical/html/LexicalHtml.prod.js +0 -88
- package/dist/node_modules/.pnpm/@lexical_list@0.38.2/node_modules/@lexical/list/LexicalList.prod.js +0 -737
- package/dist/node_modules/.pnpm/@lexical_overflow@0.38.2/node_modules/@lexical/overflow/LexicalOverflow.prod.js +0 -37
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalCharacterLimitPlugin.prod.js +0 -136
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalComposer.prod.js +0 -53
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalComposerContext.prod.js +0 -20
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalContentEditable.prod.js +0 -85
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalEditorRefPlugin.prod.js +0 -11
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalErrorBoundary.prod.js +0 -20
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalHistoryPlugin.prod.js +0 -17
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalListPlugin.prod.js +0 -16
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalOnChangePlugin.prod.js +0 -20
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalReactProviderExtension.prod.js +0 -5
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalRichTextPlugin.prod.js +0 -96
- package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/useLexicalEditable.prod.js +0 -23
- package/dist/node_modules/.pnpm/@lexical_rich-text@0.38.2/node_modules/@lexical/rich-text/LexicalRichText.prod.js +0 -418
- package/dist/node_modules/.pnpm/@lexical_selection@0.38.2/node_modules/@lexical/selection/LexicalSelection.prod.js +0 -170
- package/dist/node_modules/.pnpm/@lexical_text@0.38.2/node_modules/@lexical/text/LexicalText.prod.js +0 -33
- package/dist/node_modules/.pnpm/@lexical_utils@0.38.2/node_modules/@lexical/utils/LexicalUtils.prod.js +0 -112
- package/dist/node_modules/.pnpm/@rooks_use-localstorage-state@4.11.2_react@18.3.1/node_modules/@rooks/use-localstorage-state/lib/index.esm.js +0 -50
- package/dist/node_modules/.pnpm/@rooks_use-previous@4.11.2/node_modules/@rooks/use-previous/lib/index.esm.js +0 -10
- package/dist/node_modules/.pnpm/@rooks_use-sessionstorage-state@4.11.2_react@18.3.1/node_modules/@rooks/use-sessionstorage-state/lib/index.esm.js +0 -50
- package/dist/node_modules/.pnpm/are-passive-events-supported@1.1.1/node_modules/are-passive-events-supported/dist/are-passive-events-supported.esm.browser.js +0 -11
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js +0 -41
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js +0 -128
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js +0 -59
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js +0 -30
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js +0 -59
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js +0 -6
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js +0 -131
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js +0 -34
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js +0 -171
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js +0 -28
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js +0 -23
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js +0 -67
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js +0 -8
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js +0 -12
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js +0 -81
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -32
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js +0 -8
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js +0 -17
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js +0 -6
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js +0 -27
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js +0 -26
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js +0 -27
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -5
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js +0 -28
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js +0 -30
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js +0 -28
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js +0 -16
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js +0 -8
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js +0 -14
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js +0 -67
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -14
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js +0 -51
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js +0 -47
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/index.js +0 -22
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js +0 -15
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js +0 -235
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/auto/auto.js +0 -5
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chart.js +0 -6301
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chunks/helpers.dataset.js +0 -1381
- package/dist/node_modules/.pnpm/chartjs-plugin-datalabels@2.2.0_chart.js@4.5.1/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +0 -354
- package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +0 -32
- package/dist/node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js +0 -43
- package/dist/node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.js +0 -549
- package/dist/node_modules/.pnpm/flat@5.0.2/node_modules/flat/index.js +0 -59
- package/dist/node_modules/.pnpm/goober@2.1.18_csstype@3.2.3/node_modules/goober/dist/goober.modern.js +0 -75
- package/dist/node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -68
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/core.js +0 -154
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/error.js +0 -36
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/formatters.js +0 -107
- package/dist/node_modules/.pnpm/lexical@0.38.2/node_modules/lexical/Lexical.prod.js +0 -5093
- package/dist/node_modules/.pnpm/path-to-regexp@6.3.0/node_modules/path-to-regexp/dist.es2015/index.js +0 -198
- package/dist/node_modules/.pnpm/react-chartjs-2@5.3.1_chart.js@4.5.1_react@18.3.1/node_modules/react-chartjs-2/dist/index.js +0 -76
- package/dist/node_modules/.pnpm/react-copy-to-clipboard@5.1.1_react@18.3.1/node_modules/react-copy-to-clipboard/lib/Component.js +0 -160
- package/dist/node_modules/.pnpm/react-copy-to-clipboard@5.1.1_react@18.3.1/node_modules/react-copy-to-clipboard/lib/index.js +0 -10
- package/dist/node_modules/.pnpm/react-error-boundary@6.1.1_react@18.3.1/node_modules/react-error-boundary/dist/react-error-boundary.js +0 -58
- package/dist/node_modules/.pnpm/react-hot-toast@2.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-hot-toast/dist/index.js +0 -494
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/index.js +0 -13
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/createFormattedComponent.js +0 -35
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/createIntl.js +0 -39
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/injectIntl.js +0 -9
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/message.js +0 -22
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/provider.js +0 -45
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/useIntl.js +0 -10
- package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/utils.js +0 -33
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -82
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -62
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -10
- package/dist/node_modules/.pnpm/react-loading-skeleton@3.5.0_react@18.3.1/node_modules/react-loading-skeleton/dist/index.js +0 -49
- package/dist/node_modules/.pnpm/react-modern-drawer@1.4.0_react@18.3.1/node_modules/react-modern-drawer/dist/index.modern.js +0 -84
- package/dist/node_modules/.pnpm/react-oauth-popup@1.0.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-oauth-popup/dist/index.js +0 -106
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +0 -453
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -27
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +0 -10
- package/dist/node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js +0 -26
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -34
- package/dist/node_modules/.pnpm/use-debounce@10.1.1_react@18.3.1/node_modules/use-debounce/dist/index.module.js +0 -70
- package/dist/node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types_react@19.2.14_react@18.3.1/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -5
- package/dist/node_modules/.pnpm/use-latest@1.3.0_@types_react@19.2.14_react@18.3.1/node_modules/use-latest/dist/use-latest.esm.js +0 -11
- package/dist/node_modules/.pnpm/use-onclickoutside@0.4.1_@types_react@19.2.14_react@18.3.1/node_modules/use-onclickoutside/dist/use-onclickoutside.browser.esm.js +0 -26
- package/dist/node_modules/.pnpm/webfontloader@1.6.28/node_modules/webfontloader/webfontloader.js +0 -482
package/dist/node_modules/.pnpm/@lexical_list@0.38.2/node_modules/@lexical/list/LexicalList.prod.js
DELETED
|
@@ -1,737 +0,0 @@
|
|
|
1
|
-
import { Bl as e, Ci as t, Cl as n, Cs as r, Ee as i, El as a, Ii as o, Kl as s, Li as c, Lr as l, Se as u, Si as d, Te as ee, Xn as te, ae as ne, as as f, be as re, fs as p, ho as m, il as h, ke as ie, lr as ae, re as g, ro as oe, sr as se, vo as _, wn as v, xo as ce, yr as y, zs as b } from "../../../../lexical@0.38.2/node_modules/lexical/Lexical.prod.js";
|
|
2
|
-
import { b as x } from "../../../../@lexical_selection@0.38.2/node_modules/@lexical/selection/LexicalSelection.prod.js";
|
|
3
|
-
import { Rt as le, U as S, lt as C, ut as w, wt as ue } from "../../../../@lexical_utils@0.38.2/node_modules/@lexical/utils/LexicalUtils.prod.js";
|
|
4
|
-
import { at as de, dt as fe } from "../../../../@lexical_extension@0.38.2/node_modules/@lexical/extension/LexicalExtension.prod.js";
|
|
5
|
-
//#region node_modules/.pnpm/@lexical+list@0.38.2/node_modules/@lexical/list/LexicalList.prod.mjs
|
|
6
|
-
function T(e, ...t) {
|
|
7
|
-
let n = new URL("https://lexical.dev/docs/error"), r = new URLSearchParams();
|
|
8
|
-
r.append("code", e);
|
|
9
|
-
for (let e of t) r.append("v", e);
|
|
10
|
-
throw n.search = r.toString(), Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`);
|
|
11
|
-
}
|
|
12
|
-
function E(e) {
|
|
13
|
-
let t = 1, n = e.getParent();
|
|
14
|
-
for (; n != null;) {
|
|
15
|
-
if (V(n)) {
|
|
16
|
-
let e = n.getParent();
|
|
17
|
-
if (K(e)) {
|
|
18
|
-
t++, n = e.getParent();
|
|
19
|
-
continue;
|
|
20
|
-
}
|
|
21
|
-
T(40);
|
|
22
|
-
}
|
|
23
|
-
return t;
|
|
24
|
-
}
|
|
25
|
-
return t;
|
|
26
|
-
}
|
|
27
|
-
function D(e) {
|
|
28
|
-
let t = e.getParent();
|
|
29
|
-
K(t) || T(40);
|
|
30
|
-
let n = t;
|
|
31
|
-
for (; n !== null;) n = n.getParent(), K(n) && (t = n);
|
|
32
|
-
return t;
|
|
33
|
-
}
|
|
34
|
-
function O(e) {
|
|
35
|
-
let t = [], n = e.getChildren().filter(V);
|
|
36
|
-
for (let e = 0; e < n.length; e++) {
|
|
37
|
-
let r = n[e], i = r.getFirstChild();
|
|
38
|
-
K(i) ? t = t.concat(O(i)) : t.push(r);
|
|
39
|
-
}
|
|
40
|
-
return t;
|
|
41
|
-
}
|
|
42
|
-
function k(e) {
|
|
43
|
-
return V(e) && K(e.getFirstChild());
|
|
44
|
-
}
|
|
45
|
-
function A(e) {
|
|
46
|
-
return B().append(e);
|
|
47
|
-
}
|
|
48
|
-
function j(e, t) {
|
|
49
|
-
return V(e) && (t.length === 0 || t.length === 1 && e.is(t[0]) && e.getChildrenSize() === 0);
|
|
50
|
-
}
|
|
51
|
-
function M(e) {
|
|
52
|
-
let t = l();
|
|
53
|
-
if (t !== null) {
|
|
54
|
-
let n = t.getNodes();
|
|
55
|
-
if (y(t)) {
|
|
56
|
-
let r = t.getStartEndPoints();
|
|
57
|
-
r === null && T(143);
|
|
58
|
-
let [i] = r, a = i.getNode(), o = a.getParent();
|
|
59
|
-
if (f(a)) {
|
|
60
|
-
let e = a.getFirstChild();
|
|
61
|
-
if (e) n = e.selectStart().getNodes();
|
|
62
|
-
else {
|
|
63
|
-
let e = c();
|
|
64
|
-
a.append(e), n = e.select().getNodes();
|
|
65
|
-
}
|
|
66
|
-
} else if (j(a, n)) {
|
|
67
|
-
let t = G(e);
|
|
68
|
-
if (f(o)) {
|
|
69
|
-
a.replace(t);
|
|
70
|
-
let e = B();
|
|
71
|
-
d(a) && (e.setFormat(a.getFormatType()), e.setIndent(a.getIndent())), t.append(e);
|
|
72
|
-
} else if (V(a)) {
|
|
73
|
-
let e = a.getParentOrThrow();
|
|
74
|
-
N(t, e.getChildren()), e.replace(t);
|
|
75
|
-
}
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
let r = /* @__PURE__ */ new Set();
|
|
80
|
-
for (let t = 0; t < n.length; t++) {
|
|
81
|
-
let i = n[t];
|
|
82
|
-
if (d(i) && i.isEmpty() && !V(i) && !r.has(i.getKey())) {
|
|
83
|
-
P(i, e);
|
|
84
|
-
continue;
|
|
85
|
-
}
|
|
86
|
-
let a = m(i) ? i.getParent() : V(i) && i.isEmpty() ? i : null;
|
|
87
|
-
for (; a != null;) {
|
|
88
|
-
let t = a.getKey();
|
|
89
|
-
if (K(a)) {
|
|
90
|
-
if (!r.has(t)) {
|
|
91
|
-
let n = G(e);
|
|
92
|
-
N(n, a.getChildren()), a.replace(n), r.add(t);
|
|
93
|
-
}
|
|
94
|
-
break;
|
|
95
|
-
}
|
|
96
|
-
{
|
|
97
|
-
let n = a.getParent();
|
|
98
|
-
if (f(n) && !r.has(t)) {
|
|
99
|
-
r.add(t), P(a, e);
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
a = n;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
function N(e, t) {
|
|
109
|
-
e.splice(e.getChildrenSize(), 0, t);
|
|
110
|
-
}
|
|
111
|
-
function P(e, t) {
|
|
112
|
-
if (K(e)) return e;
|
|
113
|
-
let n = e.getPreviousSibling(), r = e.getNextSibling(), i = B(), a;
|
|
114
|
-
if (N(i, e.getChildren()), K(n) && t === n.getListType()) n.append(i), K(r) && t === r.getListType() && (N(n, r.getChildren()), r.remove()), a = n;
|
|
115
|
-
else if (K(r) && t === r.getListType()) r.getFirstChildOrThrow().insertBefore(i), a = r;
|
|
116
|
-
else {
|
|
117
|
-
let n = G(t);
|
|
118
|
-
n.append(i), e.replace(n), a = n;
|
|
119
|
-
}
|
|
120
|
-
return i.setFormat(e.getFormatType()), i.setIndent(e.getIndent()), e.remove(), a;
|
|
121
|
-
}
|
|
122
|
-
function F(e, t) {
|
|
123
|
-
let n = e.getLastChild(), r = t.getFirstChild();
|
|
124
|
-
n && r && k(n) && k(r) && (F(n.getFirstChild(), r.getFirstChild()), r.remove());
|
|
125
|
-
let i = t.getChildren();
|
|
126
|
-
i.length > 0 && e.append(...i), t.remove();
|
|
127
|
-
}
|
|
128
|
-
function pe() {
|
|
129
|
-
let e = l();
|
|
130
|
-
if (y(e)) {
|
|
131
|
-
let t = /* @__PURE__ */ new Set(), r = e.getNodes(), i = e.anchor.getNode();
|
|
132
|
-
if (j(i, r)) t.add(D(i));
|
|
133
|
-
else for (let e = 0; e < r.length; e++) {
|
|
134
|
-
let n = r[e];
|
|
135
|
-
if (m(n)) {
|
|
136
|
-
let e = ue(n, R);
|
|
137
|
-
e != null && t.add(D(e));
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
for (let r of t) {
|
|
141
|
-
let t = r, i = O(r);
|
|
142
|
-
for (let r of i) {
|
|
143
|
-
let i = c().setTextStyle(e.style).setTextFormat(e.format);
|
|
144
|
-
N(i, r.getChildren()), t.insertAfter(i), t = i, r.__key === e.anchor.key && n(e.anchor, a(h(i, "next"))), r.__key === e.focus.key && n(e.focus, a(h(i, "next"))), r.remove();
|
|
145
|
-
}
|
|
146
|
-
r.remove();
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
function I(e) {
|
|
151
|
-
let t = e.getListType() !== "check", n = e.getStart();
|
|
152
|
-
for (let r of e.getChildren()) V(r) && (r.getValue() !== n && r.setValue(n), t && r.getLatest().__checked != null && r.setChecked(void 0), K(r.getFirstChild()) || n++);
|
|
153
|
-
}
|
|
154
|
-
function me(e) {
|
|
155
|
-
let t = /* @__PURE__ */ new Set();
|
|
156
|
-
if (k(e) || t.has(e.getKey())) return;
|
|
157
|
-
let n = e.getParent(), r = e.getNextSibling(), i = e.getPreviousSibling();
|
|
158
|
-
if (k(r) && k(i)) {
|
|
159
|
-
let n = i.getFirstChild();
|
|
160
|
-
if (K(n)) {
|
|
161
|
-
n.append(e);
|
|
162
|
-
let i = r.getFirstChild();
|
|
163
|
-
K(i) && (N(n, i.getChildren()), r.remove(), t.add(r.getKey()));
|
|
164
|
-
}
|
|
165
|
-
} else if (k(r)) {
|
|
166
|
-
let t = r.getFirstChild();
|
|
167
|
-
if (K(t)) {
|
|
168
|
-
let n = t.getFirstChild();
|
|
169
|
-
n !== null && n.insertBefore(e);
|
|
170
|
-
}
|
|
171
|
-
} else if (k(i)) {
|
|
172
|
-
let t = i.getFirstChild();
|
|
173
|
-
K(t) && t.append(e);
|
|
174
|
-
} else if (K(n)) {
|
|
175
|
-
let t = B().setTextFormat(e.getTextFormat()).setTextStyle(e.getTextStyle()), a = G(n.getListType()).setTextFormat(n.getTextFormat()).setTextStyle(n.getTextStyle());
|
|
176
|
-
t.append(a), a.append(e), i ? i.insertAfter(t) : r ? r.insertBefore(t) : n.append(t);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
function he(e) {
|
|
180
|
-
if (k(e)) return;
|
|
181
|
-
let t = e.getParent(), n = t ? t.getParent() : void 0;
|
|
182
|
-
if (K(n ? n.getParent() : void 0) && V(n) && K(t)) {
|
|
183
|
-
let r = t ? t.getFirstChild() : void 0, i = t ? t.getLastChild() : void 0;
|
|
184
|
-
if (e.is(r)) n.insertBefore(e), t.isEmpty() && n.remove();
|
|
185
|
-
else if (e.is(i)) n.insertAfter(e), t.isEmpty() && n.remove();
|
|
186
|
-
else {
|
|
187
|
-
let r = t.getListType(), i = B(), a = G(r);
|
|
188
|
-
i.append(a), e.getPreviousSiblings().forEach((e) => a.append(e));
|
|
189
|
-
let o = B(), s = G(r);
|
|
190
|
-
o.append(s), N(s, e.getNextSiblings()), n.insertBefore(i), n.insertAfter(o), n.replace(e);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
function ge() {
|
|
195
|
-
let e = l();
|
|
196
|
-
if (!y(e) || !e.isCollapsed()) return !1;
|
|
197
|
-
let t = e.anchor.getNode();
|
|
198
|
-
if (!V(t) || t.getChildrenSize() !== 0) return !1;
|
|
199
|
-
let n = D(t), r = t.getParent();
|
|
200
|
-
K(r) || T(40);
|
|
201
|
-
let i = r.getParent(), a;
|
|
202
|
-
if (f(i)) a = c(), n.insertAfter(a);
|
|
203
|
-
else {
|
|
204
|
-
if (!V(i)) return !1;
|
|
205
|
-
a = B(), i.insertAfter(a);
|
|
206
|
-
}
|
|
207
|
-
a.setTextStyle(e.style).setTextFormat(e.format).select();
|
|
208
|
-
let o = t.getNextSiblings();
|
|
209
|
-
if (o.length > 0) {
|
|
210
|
-
let e = G(r.getListType());
|
|
211
|
-
if (V(a)) {
|
|
212
|
-
let t = B();
|
|
213
|
-
t.append(e), a.insertAfter(t);
|
|
214
|
-
} else a.insertAfter(e);
|
|
215
|
-
e.append(...o);
|
|
216
|
-
}
|
|
217
|
-
return function(e) {
|
|
218
|
-
let t = e;
|
|
219
|
-
for (; t.getNextSibling() == null && t.getPreviousSibling() == null;) {
|
|
220
|
-
let e = t.getParent();
|
|
221
|
-
if (e == null || !V(e) && !K(e)) break;
|
|
222
|
-
t = e;
|
|
223
|
-
}
|
|
224
|
-
t.remove();
|
|
225
|
-
}(t), !0;
|
|
226
|
-
}
|
|
227
|
-
function L(...e) {
|
|
228
|
-
let t = [];
|
|
229
|
-
for (let n of e) if (n && typeof n == "string") for (let [e] of n.matchAll(/\S+/g)) t.push(e);
|
|
230
|
-
return t;
|
|
231
|
-
}
|
|
232
|
-
var R = class extends t {
|
|
233
|
-
__value;
|
|
234
|
-
__checked;
|
|
235
|
-
$config() {
|
|
236
|
-
return this.config("listitem", {
|
|
237
|
-
$transform: (e) => {
|
|
238
|
-
if (e.__checked == null) return;
|
|
239
|
-
let t = e.getParent();
|
|
240
|
-
K(t) && t.getListType() !== "check" && e.getChecked() != null && e.setChecked(void 0);
|
|
241
|
-
},
|
|
242
|
-
extends: t,
|
|
243
|
-
importDOM: v({ li: () => ({
|
|
244
|
-
conversion: _e,
|
|
245
|
-
priority: 0
|
|
246
|
-
}) })
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
constructor(e = 1, t = void 0, n) {
|
|
250
|
-
super(n), this.__value = e === void 0 ? 1 : e, this.__checked = t;
|
|
251
|
-
}
|
|
252
|
-
afterCloneFrom(e) {
|
|
253
|
-
super.afterCloneFrom(e), this.__value = e.__value, this.__checked = e.__checked;
|
|
254
|
-
}
|
|
255
|
-
createDOM(e) {
|
|
256
|
-
let t = document.createElement("li");
|
|
257
|
-
return this.updateListItemDOM(null, t, e), t;
|
|
258
|
-
}
|
|
259
|
-
updateListItemDOM(e, t, n) {
|
|
260
|
-
(function(e, t, n) {
|
|
261
|
-
let r = t.getParent();
|
|
262
|
-
!K(r) || r.getListType() !== "check" || K(t.getFirstChild()) ? (e.removeAttribute("role"), e.removeAttribute("tabIndex"), e.removeAttribute("aria-checked")) : (e.setAttribute("role", "checkbox"), e.setAttribute("tabIndex", "-1"), n && t.__checked === n.__checked || e.setAttribute("aria-checked", t.getChecked() ? "true" : "false"));
|
|
263
|
-
})(t, this, e), t.value = this.__value, function(e, t, n) {
|
|
264
|
-
let r = [], i = [], a = t.list, o = a ? a.listitem : void 0, s;
|
|
265
|
-
if (a && a.nested && (s = a.nested.listitem), o !== void 0 && r.push(...L(o)), a) {
|
|
266
|
-
let e = n.getParent(), t = K(e) && e.getListType() === "check", o = n.getChecked();
|
|
267
|
-
t && !o || i.push(a.listitemUnchecked), t && o || i.push(a.listitemChecked), t && r.push(o ? a.listitemChecked : a.listitemUnchecked);
|
|
268
|
-
}
|
|
269
|
-
if (s !== void 0) {
|
|
270
|
-
let e = L(s);
|
|
271
|
-
n.getChildren().some((e) => K(e)) ? r.push(...e) : i.push(...e);
|
|
272
|
-
}
|
|
273
|
-
i.length > 0 && w(e, ...i), r.length > 0 && C(e, ...r);
|
|
274
|
-
}(t, n.theme, this);
|
|
275
|
-
let r = e ? e.__style : "", i = this.__style;
|
|
276
|
-
r !== i && (i === "" ? t.removeAttribute("style") : t.style.cssText = i), function(e, t, n) {
|
|
277
|
-
let r = x(t.__textStyle);
|
|
278
|
-
for (let t in r) e.style.setProperty(`--listitem-marker-${t}`, r[t]);
|
|
279
|
-
if (n) for (let t in x(n.__textStyle)) t in r || e.style.removeProperty(`--listitem-marker-${t}`);
|
|
280
|
-
}(t, this, e);
|
|
281
|
-
}
|
|
282
|
-
updateDOM(e, t, n) {
|
|
283
|
-
let r = t;
|
|
284
|
-
return this.updateListItemDOM(e, r, n), !1;
|
|
285
|
-
}
|
|
286
|
-
updateFromJSON(e) {
|
|
287
|
-
return super.updateFromJSON(e).setValue(e.value).setChecked(e.checked);
|
|
288
|
-
}
|
|
289
|
-
exportDOM(e) {
|
|
290
|
-
let t = this.createDOM(e._config), n = this.getFormatType();
|
|
291
|
-
n && (t.style.textAlign = n);
|
|
292
|
-
let r = this.getDirection();
|
|
293
|
-
return r && (t.dir = r), { element: t };
|
|
294
|
-
}
|
|
295
|
-
exportJSON() {
|
|
296
|
-
return {
|
|
297
|
-
...super.exportJSON(),
|
|
298
|
-
checked: this.getChecked(),
|
|
299
|
-
value: this.getValue()
|
|
300
|
-
};
|
|
301
|
-
}
|
|
302
|
-
append(...e) {
|
|
303
|
-
for (let t = 0; t < e.length; t++) {
|
|
304
|
-
let n = e[t];
|
|
305
|
-
if (d(n) && this.canMergeWith(n)) {
|
|
306
|
-
let e = n.getChildren();
|
|
307
|
-
this.append(...e), n.remove();
|
|
308
|
-
} else super.append(n);
|
|
309
|
-
}
|
|
310
|
-
return this;
|
|
311
|
-
}
|
|
312
|
-
replace(e, t) {
|
|
313
|
-
if (V(e)) return super.replace(e);
|
|
314
|
-
this.setIndent(0);
|
|
315
|
-
let n = this.getParentOrThrow();
|
|
316
|
-
if (!K(n)) return e;
|
|
317
|
-
if (n.__first === this.getKey()) n.insertBefore(e);
|
|
318
|
-
else if (n.__last === this.getKey()) n.insertAfter(e);
|
|
319
|
-
else {
|
|
320
|
-
let t = G(n.getListType()), r = this.getNextSibling();
|
|
321
|
-
for (; r;) {
|
|
322
|
-
let e = r;
|
|
323
|
-
r = r.getNextSibling(), t.append(e);
|
|
324
|
-
}
|
|
325
|
-
n.insertAfter(e), e.insertAfter(t);
|
|
326
|
-
}
|
|
327
|
-
return t && (d(e) || T(139), this.getChildren().forEach((t) => {
|
|
328
|
-
e.append(t);
|
|
329
|
-
})), this.remove(), n.getChildrenSize() === 0 && n.remove(), e;
|
|
330
|
-
}
|
|
331
|
-
insertAfter(e, t = !0) {
|
|
332
|
-
let n = this.getParentOrThrow();
|
|
333
|
-
if (K(n) || T(39), V(e)) return super.insertAfter(e, t);
|
|
334
|
-
let r = this.getNextSiblings();
|
|
335
|
-
if (n.insertAfter(e, t), r.length !== 0) {
|
|
336
|
-
let i = G(n.getListType());
|
|
337
|
-
r.forEach((e) => i.append(e)), e.insertAfter(i, t);
|
|
338
|
-
}
|
|
339
|
-
return e;
|
|
340
|
-
}
|
|
341
|
-
remove(e) {
|
|
342
|
-
let t = this.getPreviousSibling(), n = this.getNextSibling();
|
|
343
|
-
super.remove(e), t && n && k(t) && k(n) && (F(t.getFirstChild(), n.getFirstChild()), n.remove());
|
|
344
|
-
}
|
|
345
|
-
insertNewAfter(e, t = !0) {
|
|
346
|
-
let n = B().updateFromJSON(this.exportJSON()).setChecked(!this.getChecked() && void 0);
|
|
347
|
-
return this.insertAfter(n, t), n;
|
|
348
|
-
}
|
|
349
|
-
collapseAtStart(e) {
|
|
350
|
-
let t = c();
|
|
351
|
-
this.getChildren().forEach((e) => t.append(e));
|
|
352
|
-
let n = this.getParentOrThrow(), r = n.getParentOrThrow(), i = V(r);
|
|
353
|
-
if (n.getChildrenSize() === 1) if (i) n.remove(), r.select();
|
|
354
|
-
else {
|
|
355
|
-
n.insertBefore(t), n.remove();
|
|
356
|
-
let r = e.anchor, i = e.focus, a = t.getKey();
|
|
357
|
-
r.type === "element" && r.getNode().is(this) && r.set(a, r.offset, "element"), i.type === "element" && i.getNode().is(this) && i.set(a, i.offset, "element");
|
|
358
|
-
}
|
|
359
|
-
else n.insertBefore(t), this.remove();
|
|
360
|
-
return !0;
|
|
361
|
-
}
|
|
362
|
-
getValue() {
|
|
363
|
-
return this.getLatest().__value;
|
|
364
|
-
}
|
|
365
|
-
setValue(e) {
|
|
366
|
-
let t = this.getWritable();
|
|
367
|
-
return t.__value = e, t;
|
|
368
|
-
}
|
|
369
|
-
getChecked() {
|
|
370
|
-
let e = this.getLatest(), t, n = this.getParent();
|
|
371
|
-
return K(n) && (t = n.getListType()), t === "check" ? !!e.__checked : void 0;
|
|
372
|
-
}
|
|
373
|
-
setChecked(e) {
|
|
374
|
-
let t = this.getWritable();
|
|
375
|
-
return t.__checked = e, t;
|
|
376
|
-
}
|
|
377
|
-
toggleChecked() {
|
|
378
|
-
let e = this.getWritable();
|
|
379
|
-
return e.setChecked(!e.__checked);
|
|
380
|
-
}
|
|
381
|
-
getIndent() {
|
|
382
|
-
let e = this.getParent();
|
|
383
|
-
if (e === null || !this.isAttached()) return this.getLatest().__indent;
|
|
384
|
-
let t = e.getParentOrThrow(), n = 0;
|
|
385
|
-
for (; V(t);) t = t.getParentOrThrow().getParentOrThrow(), n++;
|
|
386
|
-
return n;
|
|
387
|
-
}
|
|
388
|
-
setIndent(e) {
|
|
389
|
-
typeof e != "number" && T(117), (e = Math.floor(e)) >= 0 || T(199);
|
|
390
|
-
let t = this.getIndent();
|
|
391
|
-
for (; t !== e;) t < e ? (me(this), t++) : (he(this), t--);
|
|
392
|
-
return this;
|
|
393
|
-
}
|
|
394
|
-
canInsertAfter(e) {
|
|
395
|
-
return V(e);
|
|
396
|
-
}
|
|
397
|
-
canReplaceWith(e) {
|
|
398
|
-
return V(e);
|
|
399
|
-
}
|
|
400
|
-
canMergeWith(e) {
|
|
401
|
-
return V(e) || o(e);
|
|
402
|
-
}
|
|
403
|
-
extractWithChild(e, t) {
|
|
404
|
-
if (!y(t)) return !1;
|
|
405
|
-
let n = t.anchor.getNode(), r = t.focus.getNode();
|
|
406
|
-
return this.isParentOf(n) && this.isParentOf(r) && this.getTextContent().length === t.getTextContent().length;
|
|
407
|
-
}
|
|
408
|
-
isParentRequired() {
|
|
409
|
-
return !0;
|
|
410
|
-
}
|
|
411
|
-
createParentElementNode() {
|
|
412
|
-
return G("bullet");
|
|
413
|
-
}
|
|
414
|
-
canMergeWhenEmpty() {
|
|
415
|
-
return !0;
|
|
416
|
-
}
|
|
417
|
-
};
|
|
418
|
-
function _e(e) {
|
|
419
|
-
if (e.classList.contains("task-list-item")) {
|
|
420
|
-
for (let t of e.children) if (t.tagName === "INPUT") return z(t);
|
|
421
|
-
}
|
|
422
|
-
if (e.classList.contains("joplin-checkbox")) {
|
|
423
|
-
for (let t of e.children) if (t.classList.contains("checkbox-wrapper") && t.children.length > 0 && t.children[0].tagName === "INPUT") return z(t.children[0]);
|
|
424
|
-
}
|
|
425
|
-
let t = e.getAttribute("aria-checked");
|
|
426
|
-
return { node: B(t === "true" || t !== "false" && void 0) };
|
|
427
|
-
}
|
|
428
|
-
function z(e) {
|
|
429
|
-
return e.getAttribute("type") === "checkbox" ? { node: B(e.hasAttribute("checked")) } : { node: null };
|
|
430
|
-
}
|
|
431
|
-
function B(e) {
|
|
432
|
-
return p(new R(void 0, e));
|
|
433
|
-
}
|
|
434
|
-
function V(e) {
|
|
435
|
-
return e instanceof R;
|
|
436
|
-
}
|
|
437
|
-
var H = class extends t {
|
|
438
|
-
__tag;
|
|
439
|
-
__start;
|
|
440
|
-
__listType;
|
|
441
|
-
$config() {
|
|
442
|
-
return this.config("list", {
|
|
443
|
-
$transform: (e) => {
|
|
444
|
-
(function(e) {
|
|
445
|
-
let t = e.getNextSibling();
|
|
446
|
-
K(t) && e.getListType() === t.getListType() && F(e, t);
|
|
447
|
-
})(e), I(e);
|
|
448
|
-
},
|
|
449
|
-
extends: t,
|
|
450
|
-
importDOM: v({
|
|
451
|
-
ol: () => ({
|
|
452
|
-
conversion: W,
|
|
453
|
-
priority: 0
|
|
454
|
-
}),
|
|
455
|
-
ul: () => ({
|
|
456
|
-
conversion: W,
|
|
457
|
-
priority: 0
|
|
458
|
-
})
|
|
459
|
-
})
|
|
460
|
-
});
|
|
461
|
-
}
|
|
462
|
-
constructor(e = "number", t = 1, n) {
|
|
463
|
-
super(n);
|
|
464
|
-
let r = ye[e] || e;
|
|
465
|
-
this.__listType = r, this.__tag = r === "number" ? "ol" : "ul", this.__start = t;
|
|
466
|
-
}
|
|
467
|
-
afterCloneFrom(e) {
|
|
468
|
-
super.afterCloneFrom(e), this.__listType = e.__listType, this.__tag = e.__tag, this.__start = e.__start;
|
|
469
|
-
}
|
|
470
|
-
getTag() {
|
|
471
|
-
return this.getLatest().__tag;
|
|
472
|
-
}
|
|
473
|
-
setListType(e) {
|
|
474
|
-
let t = this.getWritable();
|
|
475
|
-
return t.__listType = e, t.__tag = e === "number" ? "ol" : "ul", t;
|
|
476
|
-
}
|
|
477
|
-
getListType() {
|
|
478
|
-
return this.getLatest().__listType;
|
|
479
|
-
}
|
|
480
|
-
getStart() {
|
|
481
|
-
return this.getLatest().__start;
|
|
482
|
-
}
|
|
483
|
-
setStart(e) {
|
|
484
|
-
let t = this.getWritable();
|
|
485
|
-
return t.__start = e, t;
|
|
486
|
-
}
|
|
487
|
-
createDOM(e, t) {
|
|
488
|
-
let n = this.__tag, r = document.createElement(n);
|
|
489
|
-
return this.__start !== 1 && r.setAttribute("start", String(this.__start)), r.__lexicalListType = this.__listType, U(r, e.theme, this), r;
|
|
490
|
-
}
|
|
491
|
-
updateDOM(e, t, n) {
|
|
492
|
-
return e.__tag !== this.__tag || e.__listType !== this.__listType || (U(t, n.theme, this), !1);
|
|
493
|
-
}
|
|
494
|
-
updateFromJSON(e) {
|
|
495
|
-
return super.updateFromJSON(e).setListType(e.listType).setStart(e.start);
|
|
496
|
-
}
|
|
497
|
-
exportDOM(e) {
|
|
498
|
-
let t = this.createDOM(e._config, e);
|
|
499
|
-
return r(t) && (this.__start !== 1 && t.setAttribute("start", String(this.__start)), this.__listType === "check" && t.setAttribute("__lexicalListType", "check")), { element: t };
|
|
500
|
-
}
|
|
501
|
-
exportJSON() {
|
|
502
|
-
return {
|
|
503
|
-
...super.exportJSON(),
|
|
504
|
-
listType: this.getListType(),
|
|
505
|
-
start: this.getStart(),
|
|
506
|
-
tag: this.getTag()
|
|
507
|
-
};
|
|
508
|
-
}
|
|
509
|
-
canBeEmpty() {
|
|
510
|
-
return !1;
|
|
511
|
-
}
|
|
512
|
-
canIndent() {
|
|
513
|
-
return !1;
|
|
514
|
-
}
|
|
515
|
-
splice(e, t, n) {
|
|
516
|
-
let r = n;
|
|
517
|
-
for (let e = 0; e < n.length; e++) {
|
|
518
|
-
let t = n[e];
|
|
519
|
-
V(t) || (r === n && (r = [...n]), r[e] = B().append(!d(t) || K(t) || t.isInline() ? t : se(t.getTextContent())));
|
|
520
|
-
}
|
|
521
|
-
return super.splice(e, t, r);
|
|
522
|
-
}
|
|
523
|
-
extractWithChild(e) {
|
|
524
|
-
return V(e);
|
|
525
|
-
}
|
|
526
|
-
};
|
|
527
|
-
function U(e, t, n) {
|
|
528
|
-
let r = [], i = [], a = t.list;
|
|
529
|
-
if (a !== void 0) {
|
|
530
|
-
let e = a[`${n.__tag}Depth`] || [], t = E(n) - 1, o = t % e.length, s = e[o], c = a[n.__tag], l, u = a.nested, d = a.checklist;
|
|
531
|
-
if (u !== void 0 && u.list && (l = u.list), c !== void 0 && r.push(c), d !== void 0 && n.__listType === "check" && r.push(d), s !== void 0) {
|
|
532
|
-
r.push(...L(s));
|
|
533
|
-
for (let t = 0; t < e.length; t++) t !== o && i.push(n.__tag + t);
|
|
534
|
-
}
|
|
535
|
-
if (l !== void 0) {
|
|
536
|
-
let e = L(l);
|
|
537
|
-
t > 1 ? r.push(...e) : i.push(...e);
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
i.length > 0 && w(e, ...i), r.length > 0 && C(e, ...r);
|
|
541
|
-
}
|
|
542
|
-
function ve(e) {
|
|
543
|
-
let t = [];
|
|
544
|
-
for (let n = 0; n < e.length; n++) {
|
|
545
|
-
let r = e[n];
|
|
546
|
-
if (V(r)) {
|
|
547
|
-
t.push(r);
|
|
548
|
-
let e = r.getChildren();
|
|
549
|
-
e.length > 1 && e.forEach((e) => {
|
|
550
|
-
K(e) && t.push(A(e));
|
|
551
|
-
});
|
|
552
|
-
} else t.push(A(r));
|
|
553
|
-
}
|
|
554
|
-
return t;
|
|
555
|
-
}
|
|
556
|
-
function W(e) {
|
|
557
|
-
let t = e.nodeName.toLowerCase(), n = null;
|
|
558
|
-
return t === "ol" ? n = G("number", e.start) : t === "ul" && (n = function(e) {
|
|
559
|
-
if (e.getAttribute("__lexicallisttype") === "check" || e.classList.contains("contains-task-list") || e.getAttribute("data-is-checklist") === "1") return !0;
|
|
560
|
-
for (let t of e.childNodes) if (r(t) && t.hasAttribute("aria-checked")) return !0;
|
|
561
|
-
return !1;
|
|
562
|
-
}(e) ? G("check") : G("bullet")), {
|
|
563
|
-
after: ve,
|
|
564
|
-
node: n
|
|
565
|
-
};
|
|
566
|
-
}
|
|
567
|
-
var ye = {
|
|
568
|
-
ol: "number",
|
|
569
|
-
ul: "bullet"
|
|
570
|
-
};
|
|
571
|
-
function G(e = "number", t = 1) {
|
|
572
|
-
return p(new H(e, t));
|
|
573
|
-
}
|
|
574
|
-
function K(e) {
|
|
575
|
-
return e instanceof H;
|
|
576
|
-
}
|
|
577
|
-
var be = g("INSERT_CHECK_LIST_COMMAND");
|
|
578
|
-
function xe(e) {
|
|
579
|
-
return S(e.registerCommand(be, () => (M("check"), !0), 1), e.registerCommand(ee, (t) => Z(t, e, !1), 1), e.registerCommand(ie, (t) => Z(t, e, !0), 1), e.registerCommand(i, () => X() == null ? !1 : (e.getRootElement()?.focus(), !0), 1), e.registerCommand(re, (t) => {
|
|
580
|
-
let n = X();
|
|
581
|
-
return !(n == null || !e.isEditable()) && (e.update(() => {
|
|
582
|
-
let e = _(n);
|
|
583
|
-
V(e) && (t.preventDefault(), e.toggleChecked());
|
|
584
|
-
}), !0);
|
|
585
|
-
}, 1), e.registerCommand(u, (t) => e.getEditorState().read(() => {
|
|
586
|
-
let n = l();
|
|
587
|
-
if (y(n) && n.isCollapsed()) {
|
|
588
|
-
let { anchor: r } = n, i = r.type === "element";
|
|
589
|
-
if (i || r.offset === 0) {
|
|
590
|
-
let n = r.getNode(), a = b(n, (e) => d(e) && !e.isInline());
|
|
591
|
-
if (V(a)) {
|
|
592
|
-
let r = a.getParent();
|
|
593
|
-
if (K(r) && r.getListType() === "check" && (i || a.getFirstDescendant() === n)) {
|
|
594
|
-
let n = e.getElementByKey(a.__key);
|
|
595
|
-
if (n != null && document.activeElement !== n) return n.focus(), t.preventDefault(), !0;
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
return !1;
|
|
601
|
-
}), 1), e.registerRootListener((e, t) => {
|
|
602
|
-
e !== null && (e.addEventListener("click", J), e.addEventListener("pointerdown", Y)), t !== null && (t.removeEventListener("click", J), t.removeEventListener("pointerdown", Y));
|
|
603
|
-
}));
|
|
604
|
-
}
|
|
605
|
-
function q(e, t) {
|
|
606
|
-
let n = e.target;
|
|
607
|
-
if (!r(n)) return;
|
|
608
|
-
let i = n.firstChild;
|
|
609
|
-
if (r(i) && (i.tagName === "UL" || i.tagName === "OL")) return;
|
|
610
|
-
let a = n.parentNode;
|
|
611
|
-
if (!a || a.__lexicalListType !== "check") return;
|
|
612
|
-
let o = n.getBoundingClientRect(), s = le(n), c = e.clientX / s, l = window.getComputedStyle ? window.getComputedStyle(n, "::before") : { width: "0px" }, u = parseFloat(l.width), d = e.pointerType === "touch" ? 32 : 0;
|
|
613
|
-
(n.dir === "rtl" ? c < o.right + d && c > o.right - u - d : c > o.left - d && c < o.left + u + d) && t();
|
|
614
|
-
}
|
|
615
|
-
function J(e) {
|
|
616
|
-
q(e, () => {
|
|
617
|
-
if (r(e.target)) {
|
|
618
|
-
let t = e.target, n = oe(t);
|
|
619
|
-
n != null && n.isEditable() && n.update(() => {
|
|
620
|
-
let e = _(t);
|
|
621
|
-
V(e) && (t.focus(), e.toggleChecked());
|
|
622
|
-
});
|
|
623
|
-
}
|
|
624
|
-
});
|
|
625
|
-
}
|
|
626
|
-
function Y(e) {
|
|
627
|
-
q(e, () => {
|
|
628
|
-
e.preventDefault();
|
|
629
|
-
});
|
|
630
|
-
}
|
|
631
|
-
function X() {
|
|
632
|
-
let e = document.activeElement;
|
|
633
|
-
return r(e) && e.tagName === "LI" && e.parentNode != null && e.parentNode.__lexicalListType === "check" ? e : null;
|
|
634
|
-
}
|
|
635
|
-
function Z(e, t, n) {
|
|
636
|
-
let r = X();
|
|
637
|
-
return r != null && t.update(() => {
|
|
638
|
-
let i = _(r);
|
|
639
|
-
if (!V(i)) return;
|
|
640
|
-
let a = function(e, t) {
|
|
641
|
-
let n = t ? e.getPreviousSibling() : e.getNextSibling(), r = e;
|
|
642
|
-
for (; n == null && V(r);) r = r.getParentOrThrow().getParent(), r != null && (n = t ? r.getPreviousSibling() : r.getNextSibling());
|
|
643
|
-
for (; V(n);) {
|
|
644
|
-
let e = t ? n.getLastChild() : n.getFirstChild();
|
|
645
|
-
if (!K(e)) return n;
|
|
646
|
-
n = t ? e.getLastChild() : e.getFirstChild();
|
|
647
|
-
}
|
|
648
|
-
return null;
|
|
649
|
-
}(i, n);
|
|
650
|
-
if (a != null) {
|
|
651
|
-
a.selectStart();
|
|
652
|
-
let n = t.getElementByKey(a.__key);
|
|
653
|
-
n != null && (e.preventDefault(), setTimeout(() => {
|
|
654
|
-
n.focus();
|
|
655
|
-
}, 0));
|
|
656
|
-
}
|
|
657
|
-
}), !1;
|
|
658
|
-
}
|
|
659
|
-
var Se = g("UPDATE_LIST_START_COMMAND"), Ce = g("INSERT_UNORDERED_LIST_COMMAND"), Q = g("INSERT_ORDERED_LIST_COMMAND"), we = g("REMOVE_LIST_COMMAND");
|
|
660
|
-
function $(e) {
|
|
661
|
-
return S(e.registerCommand(Q, () => (M("number"), !0), 1), e.registerCommand(Se, (e) => {
|
|
662
|
-
let { listNodeKey: t, newStart: n } = e, r = ce(t);
|
|
663
|
-
return !!K(r) && (r.getListType() === "number" && (r.setStart(n), I(r)), !0);
|
|
664
|
-
}, 1), e.registerCommand(Ce, () => (M("bullet"), !0), 1), e.registerCommand(we, () => (pe(), !0), 1), e.registerCommand(ne, () => ge(), 1), e.registerNodeTransform(R, (e) => {
|
|
665
|
-
let t = e.getFirstChild();
|
|
666
|
-
if (t) {
|
|
667
|
-
if (ae(t)) {
|
|
668
|
-
let n = t.getStyle(), r = t.getFormat();
|
|
669
|
-
e.getTextStyle() !== n && e.setTextStyle(n), e.getTextFormat() !== r && e.setTextFormat(r);
|
|
670
|
-
}
|
|
671
|
-
} else {
|
|
672
|
-
let t = l();
|
|
673
|
-
y(t) && (t.style !== e.getTextStyle() || t.format !== e.getTextFormat()) && t.isCollapsed() && e.is(t.anchor.getNode()) && e.setTextStyle(t.style).setTextFormat(t.format);
|
|
674
|
-
}
|
|
675
|
-
}), e.registerNodeTransform(te, (e) => {
|
|
676
|
-
let t = e.getParent();
|
|
677
|
-
if (V(t) && e.is(t.getFirstChild())) {
|
|
678
|
-
let n = e.getStyle(), r = e.getFormat();
|
|
679
|
-
n === t.getTextStyle() && r === t.getTextFormat() || t.setTextStyle(n).setTextFormat(r);
|
|
680
|
-
}
|
|
681
|
-
}));
|
|
682
|
-
}
|
|
683
|
-
function Te(e) {
|
|
684
|
-
let t = (e) => {
|
|
685
|
-
let t = e.getParent();
|
|
686
|
-
if (K(e.getFirstChild()) || !K(t)) return;
|
|
687
|
-
let n = b(e, (e) => V(e) && K(e.getParent()) && V(e.getPreviousSibling()));
|
|
688
|
-
if (n === null && e.getIndent() > 0) e.setIndent(0);
|
|
689
|
-
else if (V(n)) {
|
|
690
|
-
let r = n.getPreviousSibling();
|
|
691
|
-
if (V(r)) {
|
|
692
|
-
let n = function(e) {
|
|
693
|
-
let t = e, n = t.getFirstChild();
|
|
694
|
-
for (; K(n);) {
|
|
695
|
-
let e = n.getLastChild();
|
|
696
|
-
if (!V(e)) break;
|
|
697
|
-
t = e, n = t.getFirstChild();
|
|
698
|
-
}
|
|
699
|
-
return t;
|
|
700
|
-
}(r).getParent();
|
|
701
|
-
if (K(n)) {
|
|
702
|
-
let r = E(n);
|
|
703
|
-
r + 1 < E(t) && e.setIndent(r);
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
};
|
|
708
|
-
return e.registerNodeTransform(H, (e) => {
|
|
709
|
-
let n = [e];
|
|
710
|
-
for (; n.length > 0;) {
|
|
711
|
-
let e = n.shift();
|
|
712
|
-
if (K(e)) {
|
|
713
|
-
for (let r of e.getChildren()) if (V(r)) {
|
|
714
|
-
t(r);
|
|
715
|
-
let e = r.getFirstChild();
|
|
716
|
-
K(e) && n.push(e);
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
});
|
|
721
|
-
}
|
|
722
|
-
s({
|
|
723
|
-
dependencies: [s({
|
|
724
|
-
build: (e, t, n) => de(t),
|
|
725
|
-
config: e({ hasStrictIndent: !1 }),
|
|
726
|
-
name: "@lexical/list/List",
|
|
727
|
-
nodes: [H, R],
|
|
728
|
-
register(e, t, n) {
|
|
729
|
-
let r = n.getOutput();
|
|
730
|
-
return S($(e), fe(() => r.hasStrictIndent.value ? Te(e) : void 0));
|
|
731
|
-
}
|
|
732
|
-
})],
|
|
733
|
-
name: "@lexical/list/CheckList",
|
|
734
|
-
register: xe
|
|
735
|
-
});
|
|
736
|
-
//#endregion
|
|
737
|
-
export { Te as Lt, $ as bt, K as dt, H as lt, R as nt, Q as xt };
|