@logora/debate 0.1.0 → 0.2.0
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/README.md +14 -23
- package/dist/_virtual/_rolldown/runtime.js +23 -0
- package/dist/assets/debate-Bv79XlHp.css +2 -0
- package/dist/components/action/back_link/BackLink.js +24 -0
- package/dist/components/action/back_link/BackLink.module.js +6 -0
- package/dist/components/action/button/Button.js +34 -0
- package/dist/components/action/button/Button.module.js +10 -0
- package/dist/components/action/icon_text_link/IconTextLink.js +37 -0
- package/dist/components/action/icon_text_link/IconTextLink.module.js +11 -0
- package/dist/components/action/link/Link.js +23 -0
- package/dist/components/ad/ad_unit/AdUnit.js +42 -0
- package/dist/components/ad/ad_unit/AdUnit.module.js +3 -0
- package/dist/components/ad/use_google_ad_manager/useGoogleAdManager.js +22 -0
- package/dist/components/ad/with_ad/WithAd.js +13 -0
- package/dist/components/argument/argument/Argument.js +266 -0
- package/dist/components/argument/argument/Argument.module.js +34 -0
- package/dist/components/argument/argument/ReplyFooter.js +39 -0
- package/dist/components/argument/argument/ReplyFooter.module.js +10 -0
- package/dist/components/argument/argument/useRichContent.js +14 -0
- package/dist/components/argument/top_arguments/TopArguments.js +63 -0
- package/dist/components/argument/top_arguments/TopArguments.module.js +9 -0
- package/dist/components/auth/auth_initializer/AuthInitializer.js +35 -0
- package/dist/components/auth/auth_modal/AuthModal.js +68 -0
- package/dist/components/auth/auth_modal/AuthModal.module.js +3 -0
- package/dist/components/auth/auth_modal/index.js +2 -0
- package/dist/components/auth/facebook_login_button/FacebookIcon.js +14 -0
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.js +29 -0
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.module.js +6 -0
- package/dist/components/auth/google_login_button/GoogleIcon.js +29 -0
- package/dist/components/auth/google_login_button/GoogleLoginButton.js +31 -0
- package/dist/components/auth/google_login_button/GoogleLoginButton.module.js +6 -0
- package/dist/components/auth/login_form/LoginForm.js +84 -0
- package/dist/components/auth/login_form/LoginForm.module.js +9 -0
- package/dist/components/auth/oauth2_button/OAuth2Button.js +37 -0
- package/dist/components/auth/oauth2_button/OAuth2Button.module.js +6 -0
- package/dist/components/auth/providers/AuthProvider.js +20 -0
- package/dist/components/auth/providers/AuthProviderFactory.js +10 -0
- package/dist/components/auth/providers/FormAuth.js +29 -0
- package/dist/components/auth/providers/JWTAuth.js +27 -0
- package/dist/components/auth/providers/OAuth2ServerAuth.js +35 -0
- package/dist/components/auth/providers/PasswordAuth.js +25 -0
- package/dist/components/auth/signup_form/SignupForm.js +155 -0
- package/dist/components/auth/signup_form/SignupForm.module.js +7 -0
- package/dist/components/auth/social_auth_form/SocialAuthForm.js +199 -0
- package/dist/components/auth/social_auth_form/SocialAuthForm.module.js +21 -0
- package/dist/components/auth/sso_form/SSOForm.js +147 -0
- package/dist/components/auth/sso_form/SSOForm.module.js +17 -0
- package/dist/components/auth/use_auth/AuthContext.js +5 -0
- package/dist/components/auth/use_auth/AuthProvider.js +25 -0
- package/dist/components/auth/use_auth/AuthStorage.js +29 -0
- package/dist/components/auth/use_auth/authTokenHandler.js +45 -0
- package/dist/components/auth/use_auth/useAuth.js +6 -0
- package/dist/components/auth/use_auth/useAuthActions.js +35 -0
- package/dist/components/auth/use_auth/useAuthInterceptor.js +27 -0
- package/dist/components/chart/line_chart/LineChart.js +101 -0
- package/dist/components/chart/line_chart/LineChart.module.js +9 -0
- package/dist/components/chart/pie_chart/PieChart.js +69 -0
- package/dist/components/chart/pie_chart/PieChart.module.js +3 -0
- package/dist/components/consultation/consultation_box/ConsultationBox.js +123 -0
- package/dist/components/consultation/consultation_box/ConsultationBox.module.js +21 -0
- package/dist/components/data/axios_client/httpClient.js +8 -0
- package/dist/components/data/config_provider/ConfigProvider.js +12 -0
- package/dist/components/data/config_provider/useConfig.js +9 -0
- package/dist/components/data/config_provider/useRoutes.js +9 -0
- package/dist/components/data/config_provider/withConfig.js +10 -0
- package/dist/components/data/data_provider/DataProvider.js +101 -0
- package/dist/components/data/data_provider/DataProviderContext.js +5 -0
- package/dist/components/data/data_provider/useData.js +9 -0
- package/dist/components/data/data_provider/useDataProvider.js +9 -0
- package/dist/components/debate/debate_box/DebateBox.js +156 -0
- package/dist/components/debate/debate_box/DebateBox.module.js +26 -0
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.js +30 -0
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.module.js +8 -0
- package/dist/components/dialog/confirm_modal/ConfirmModal.js +38 -0
- package/dist/components/dialog/confirm_modal/ConfirmModal.module.js +8 -0
- package/dist/components/dialog/countdown/Countdown.js +23 -0
- package/dist/components/dialog/dialog_box/DialogBox.js +51 -0
- package/dist/components/dialog/dialog_box/DialogBox.module.js +16 -0
- package/dist/components/dialog/drawer/Drawer.js +127 -0
- package/dist/components/dialog/drawer/Drawer.module.js +17 -0
- package/dist/components/dialog/dropdown/Dropdown.js +29 -0
- package/dist/components/dialog/dropdown/Dropdown.module.js +10 -0
- package/dist/components/dialog/modal/Modal.js +65 -0
- package/dist/components/dialog/modal/Modal.module.js +12 -0
- package/dist/components/dialog/modal/ModalProvider.js +20 -0
- package/dist/components/dialog/modal/useModal.js +6 -0
- package/dist/components/dialog/toast/Toast.js +41 -0
- package/dist/components/dialog/toast/Toast.module.js +14 -0
- package/dist/components/dialog/toast_provider/ToastContext.js +5 -0
- package/dist/components/dialog/toast_provider/ToastProvider.js +29 -0
- package/dist/components/dialog/toast_provider/ToastProvider.module.js +3 -0
- package/dist/components/dialog/toast_provider/useToast.js +12 -0
- package/dist/components/dialog/tooltip/Tooltip.js +32 -0
- package/dist/components/dialog/tooltip/Tooltip.module.js +12 -0
- package/dist/components/embed/embed_header/EmbedHeader.js +72 -0
- package/dist/components/embed/embed_header/EmbedHeader.module.js +18 -0
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.js +18 -0
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.module.js +3 -0
- package/dist/components/follow/follow_button/FollowButton.js +49 -0
- package/dist/components/follow/follow_button/FollowButton.module.js +6 -0
- package/dist/components/follow/use_follow/useFollow.js +36 -0
- package/dist/components/forms/form/extract-form-data.js +12 -0
- package/dist/components/forms/form/form-context.js +5 -0
- package/dist/components/forms/form/form.js +28 -0
- package/dist/components/forms/form/use-form-context.js +32 -0
- package/dist/components/forms/form/use-form.js +6 -0
- package/dist/components/forms/use_form_validation/useFormValidation.js +45 -0
- package/dist/components/gamification/badge_box/BadgeBox.js +94 -0
- package/dist/components/gamification/badge_box/BadgeBox.module.js +19 -0
- package/dist/components/gamification/point_box/PointBox.js +19 -0
- package/dist/components/gamification/point_box/PointBox.module.js +7 -0
- package/dist/components/hooks/use_auth_required/useAuthRequired.js +16 -0
- package/dist/components/hooks/use_css_theme/useCssTheme.js +16 -0
- package/dist/components/hooks/use_font_loader/useFontLoader.js +8 -0
- package/dist/components/hooks/use_matomo/useMatomo.js +10 -0
- package/dist/components/hooks/use_relative_time/useRelativeTime.js +53 -0
- package/dist/components/hooks/use_responsive/ResponsiveContext.js +5 -0
- package/dist/components/hooks/use_responsive/ResponsiveProvider.js +33 -0
- package/dist/components/hooks/use_responsive/useResponsive.js +14 -0
- package/dist/components/icons/icon/Icon.js +20 -0
- package/dist/components/icons/icon_provider/IconProvider.js +9 -0
- package/dist/components/icons/krone_icons/CheckBox.js +17 -0
- package/dist/components/input/argument_input/ArgumentInput.js +286 -0
- package/dist/components/input/argument_input/ArgumentInput.module.js +23 -0
- package/dist/components/input/argument_input/index.js +2 -0
- package/dist/components/input/checkbox/hidden/hidden-checkbox.js +16 -0
- package/dist/components/input/checkbox/hidden/hidden-checkbox.module.js +3 -0
- package/dist/components/input/checkbox/indicator/checkbox-indicator.js +19 -0
- package/dist/components/input/checkbox/indicator/checkbox-indicator.module.js +6 -0
- package/dist/components/input/checkbox/label/checkbox-label.js +27 -0
- package/dist/components/input/input_provider/InputProvider.js +21 -0
- package/dist/components/input/input_provider/useInput.js +6 -0
- package/dist/components/input/search_input/SearchInput.js +74 -0
- package/dist/components/input/search_input/SearchInput.module.js +8 -0
- package/dist/components/input/select/Select.js +76 -0
- package/dist/components/input/select/Select.module.js +12 -0
- package/dist/components/input/text_editor/EditorTheme.js +69 -0
- package/dist/components/input/text_editor/TextEditor.js +147 -0
- package/dist/components/input/text_editor/TextEditor.module.js +24 -0
- package/dist/components/input/text_editor/lexicalToHtml.js +22 -0
- package/dist/components/input/text_editor/plugins/AutoSavePlugin.js +25 -0
- package/dist/components/input/text_editor/plugins/FocusPlugin.js +14 -0
- package/dist/components/input/text_editor/plugins/MaxLengthPlugin.js +23 -0
- package/dist/components/input/text_editor/plugins/ResetPlugin.js +18 -0
- package/dist/components/input/text_editor/plugins/SetContentPlugin.js +18 -0
- package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +15 -0
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +170 -0
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.js +17 -0
- package/dist/components/input/text_input/TextInput.js +36 -0
- package/dist/components/input/text_input/TextInput.module.js +12 -0
- package/dist/components/input/text_input/color-accent.js +12 -0
- package/dist/components/input/text_input/message.js +16 -0
- package/dist/components/input/toggle/Toggle.js +28 -0
- package/dist/components/input/toggle/Toggle.module.js +9 -0
- package/dist/components/input/toggle_position/TogglePosition.js +48 -0
- package/dist/components/input/toggle_position/TogglePosition.module.js +10 -0
- package/dist/components/intl/intl_provider/IntlContext.js +5 -0
- package/dist/components/intl/intl_provider/IntlProvider.js +38 -0
- package/dist/components/intl/intl_provider/useLocale.js +12 -0
- package/dist/components/list/list_provider/ListProvider.js +45 -0
- package/dist/components/list/list_provider/useList.js +22 -0
- package/dist/components/list/paginated_list/PaginatedList.js +178 -0
- package/dist/components/list/paginated_list/PaginatedList.module.js +18 -0
- package/dist/components/list/paginated_list/VotePaginatedList.js +20 -0
- package/dist/components/list/paginated_list/action_bar/ActionBar.js +75 -0
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.js +13 -0
- package/dist/components/list/pagination/Pagination.js +27 -0
- package/dist/components/list/pagination/Pagination.module.js +3 -0
- package/dist/components/modal/side_modal/SideModal.js +60 -0
- package/dist/components/modal/side_modal/SideModal.module.js +11 -0
- package/dist/components/modal/side_modal/index.js +2 -0
- package/dist/components/navbar/navbar_button/NavbarButton.js +29 -0
- package/dist/components/navbar/navbar_button/NavbarButton.module.js +6 -0
- package/dist/components/navbar/navbar_modal/NavbarModal.js +157 -0
- package/dist/components/navbar/navbar_modal/NavbarModal.module.js +16 -0
- package/dist/components/notification/notification_item/NotificationItem.js +50 -0
- package/dist/components/notification/notification_item/NotificationItem.module.js +10 -0
- package/dist/components/notification/notification_menu/NotificationMenu.js +53 -0
- package/dist/components/notification/notification_menu/NotificationMenu.module.js +8 -0
- package/dist/components/progress/loader/Loader.js +13 -0
- package/dist/components/progress/loader/Loader.module.js +7 -0
- package/dist/components/progress/progress_bar/ProgressBar.js +59 -0
- package/dist/components/progress/progress_bar/ProgressBar.module.js +14 -0
- package/dist/components/proposal/proposal_box/ProposalBox.js +108 -0
- package/dist/components/proposal/proposal_box/ProposalBox.module.js +11 -0
- package/dist/components/report/report_box/ReportBox.js +102 -0
- package/dist/components/report/report_box/ReportBox.module.js +11 -0
- package/dist/components/section/section_box/SectionBox.js +40 -0
- package/dist/components/section/section_box/SectionBox.module.js +14 -0
- package/dist/components/share/share_box/ShareBox.js +132 -0
- package/dist/components/share/share_box/ShareBox.module.js +10 -0
- package/dist/components/share/share_button/ShareButton.js +73 -0
- package/dist/components/share/share_button/ShareButton.module.js +9 -0
- package/dist/components/share/share_modal/ShareModal.js +28 -0
- package/dist/components/share/share_modal/ShareModal.module.js +3 -0
- package/dist/components/share/share_modal/index.js +2 -0
- package/dist/components/skeleton/box_skeleton/BoxSkeleton.js +63 -0
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.js +57 -0
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.js +13 -0
- package/dist/components/source/context_source_box/ContextSourceBox.js +45 -0
- package/dist/components/source/context_source_box/ContextSourceBox.module.js +10 -0
- package/dist/components/source/context_source_list/ContextSourceList.js +43 -0
- package/dist/components/source/context_source_list/ContextSourceList.module.js +10 -0
- package/dist/components/source/source_box/SourceBox.js +39 -0
- package/dist/components/source/source_box/SourceBox.module.js +11 -0
- package/dist/components/source/source_list_item/SourceListItem.js +32 -0
- package/dist/components/source/source_list_item/SourceListItem.module.js +6 -0
- package/dist/components/source/source_modal/SourceModal.js +110 -0
- package/dist/components/source/source_modal/SourceModal.module.js +11 -0
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.js +99 -0
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.js +13 -0
- package/dist/components/suggestion/suggestion_box/SuggestionBox.js +97 -0
- package/dist/components/suggestion/suggestion_box/SuggestionBox.module.js +13 -0
- package/dist/components/suggestion/suggestion_input/SuggestionInput.js +157 -0
- package/dist/components/suggestion/suggestion_input/SuggestionInput.module.js +11 -0
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.js +62 -0
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.js +13 -0
- package/dist/components/summary/keyword_box/KeywordBox.js +38 -0
- package/dist/components/summary/keyword_box/KeywordBox.module.js +11 -0
- package/dist/components/summary/summary/Summary.js +73 -0
- package/dist/components/summary/summary/Summary.module.js +6 -0
- package/dist/components/summary/summary_box/SummaryBox.js +22 -0
- package/dist/components/summary/summary_box/SummaryBox.module.js +10 -0
- package/dist/components/tag/tag/Tag.js +19 -0
- package/dist/components/tag/tag/Tag.module.js +6 -0
- package/dist/components/text/expandable_text/ArrowIcon.js +11 -0
- package/dist/components/text/expandable_text/ExpandableText.js +53 -0
- package/dist/components/text/expandable_text/ExpandableText.module.js +10 -0
- package/dist/components/text/read_more/ReadMore.js +63 -0
- package/dist/components/text/read_more/ReadMore.module.js +11 -0
- package/dist/components/tools/hash_scroll/HashScroll.js +18 -0
- package/dist/components/tools/scroll_to_top/ScrollToTop.js +15 -0
- package/dist/components/translation/translated_content/TranslatedContent.js +7 -0
- package/dist/components/translation/translated_content/useTranslatedContent.js +26 -0
- package/dist/components/translation/translation_button/TranslationButton.js +35 -0
- package/dist/components/translation/translation_button/TranslationButton.module.js +3 -0
- package/dist/components/user/author_box/AuthorBox.js +114 -0
- package/dist/components/user/author_box/AuthorBox.module.js +18 -0
- package/dist/components/user/avatar/Avatar.js +54 -0
- package/dist/components/user/avatar/Avatar.module.js +8 -0
- package/dist/components/user/avatar/DefaultAvatar.js +17 -0
- package/dist/components/user/avatar_selector/AvatarSelector.js +108 -0
- package/dist/components/user/avatar_selector/AvatarSelector.module.js +18 -0
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.js +251 -0
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.js +23 -0
- package/dist/components/user/update_user_info_modal/useUpdateUserInfo.js +26 -0
- package/dist/components/user/user_box/UserBox.js +82 -0
- package/dist/components/user/user_box/UserBox.module.js +13 -0
- package/dist/components/user/user_box_small/UserBoxSmall.js +44 -0
- package/dist/components/user/user_box_small/UserBoxSmall.module.js +6 -0
- package/dist/components/user_content/content_footer/ContentFooter.js +172 -0
- package/dist/components/user_content/content_footer/ContentFooter.module.js +11 -0
- package/dist/components/user_content/content_header/ContentHeader.js +121 -0
- package/dist/components/user_content/content_header/ContentHeader.module.js +16 -0
- package/dist/components/user_content/summary_content_box/SummaryContentBox.js +72 -0
- package/dist/components/user_content/summary_content_box/SummaryContentBox.module.js +10 -0
- package/dist/components/user_content/use_delete_content/useDeleteContent.js +46 -0
- package/dist/components/user_content/use_report_content/ReportModal.js +266 -0
- package/dist/components/user_content/use_report_content/ReportModal.module.js +15 -0
- package/dist/components/user_content/use_report_content/useReportContent.js +24 -0
- package/dist/components/util/lang_emojis/langEmojis.js +57 -0
- package/dist/components/util/location/Location.js +41 -0
- package/dist/components/util/unique_by/uniqueBy.js +7 -0
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.js +81 -0
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.js +6 -0
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.js +56 -0
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.module.js +10 -0
- package/dist/components/vote/use_vote/useVote.js +62 -0
- package/dist/components/vote/vote_box/VoteBox.js +297 -0
- package/dist/components/vote/vote_box/VoteBox.module.js +31 -0
- package/dist/components/vote/vote_button/VoteButton.js +40 -0
- package/dist/components/vote/vote_button/VoteButton.module.js +7 -0
- package/dist/components/vote/vote_provider/VoteProvider.js +40 -0
- package/dist/index.js +146 -0
- package/dist/node_modules/.pnpm/@formatjs_fast-memoize@2.2.7/node_modules/@formatjs/fast-memoize/lib/index.js +51 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js +28 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/error.js +7 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/index.js +26 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/manipulator.js +1 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js +499 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js +4 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js +1159 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/types.js +44 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js +101 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/number.js +182 -0
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js +4 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/create-intl.js +39 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/dateTime.js +80 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/displayName.js +22 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/error.js +66 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/list.js +39 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/message.js +59 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/number.js +53 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/plural.js +18 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/relativeTime.js +22 -0
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/utils.js +115 -0
- package/dist/node_modules/.pnpm/@kurkle_color@0.3.4/node_modules/@kurkle/color/dist/color.esm.js +470 -0
- package/dist/node_modules/.pnpm/@lexical_clipboard@0.38.2/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +163 -0
- package/dist/node_modules/.pnpm/@lexical_dragon@0.38.2/node_modules/@lexical/dragon/LexicalDragon.prod.js +51 -0
- package/dist/node_modules/.pnpm/@lexical_extension@0.38.2/node_modules/@lexical/extension/LexicalExtension.prod.js +796 -0
- package/dist/node_modules/.pnpm/@lexical_headless@0.38.2/node_modules/@lexical/headless/LexicalHeadless.prod.js +21 -0
- package/dist/node_modules/.pnpm/@lexical_history@0.38.2/node_modules/@lexical/history/LexicalHistory.prod.js +132 -0
- package/dist/node_modules/.pnpm/@lexical_html@0.38.2/node_modules/@lexical/html/LexicalHtml.prod.js +88 -0
- package/dist/node_modules/.pnpm/@lexical_list@0.38.2/node_modules/@lexical/list/LexicalList.prod.js +737 -0
- package/dist/node_modules/.pnpm/@lexical_overflow@0.38.2/node_modules/@lexical/overflow/LexicalOverflow.prod.js +37 -0
- 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 +136 -0
- 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 +53 -0
- 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 +20 -0
- 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 +85 -0
- 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 +11 -0
- 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 +20 -0
- 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 +17 -0
- 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 +16 -0
- 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 +20 -0
- 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 +5 -0
- 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 +96 -0
- 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 +23 -0
- package/dist/node_modules/.pnpm/@lexical_rich-text@0.38.2/node_modules/@lexical/rich-text/LexicalRichText.prod.js +418 -0
- package/dist/node_modules/.pnpm/@lexical_selection@0.38.2/node_modules/@lexical/selection/LexicalSelection.prod.js +170 -0
- package/dist/node_modules/.pnpm/@lexical_text@0.38.2/node_modules/@lexical/text/LexicalText.prod.js +33 -0
- package/dist/node_modules/.pnpm/@lexical_utils@0.38.2/node_modules/@lexical/utils/LexicalUtils.prod.js +112 -0
- 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 +50 -0
- package/dist/node_modules/.pnpm/@rooks_use-previous@4.11.2/node_modules/@rooks/use-previous/lib/index.esm.js +10 -0
- 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 +50 -0
- 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 +11 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js +41 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js +128 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js +59 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js +30 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js +59 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js +131 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js +34 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js +171 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js +28 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js +23 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js +67 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js +8 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js +12 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js +81 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js +4 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +32 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js +77 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js +8 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js +17 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js +27 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js +26 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js +27 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +5 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js +28 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js +30 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js +28 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js +16 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js +8 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js +14 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js +67 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +14 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js +51 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js +47 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/index.js +22 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js +15 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js +235 -0
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/auto/auto.js +5 -0
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chart.js +6301 -0
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chunks/helpers.dataset.js +1381 -0
- 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 +354 -0
- package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +32 -0
- package/dist/node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js +43 -0
- package/dist/node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.js +549 -0
- package/dist/node_modules/.pnpm/flat@5.0.2/node_modules/flat/index.js +59 -0
- package/dist/node_modules/.pnpm/goober@2.1.18_csstype@3.2.3/node_modules/goober/dist/goober.modern.js +75 -0
- 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 +68 -0
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/core.js +154 -0
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/error.js +36 -0
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/formatters.js +107 -0
- package/dist/node_modules/.pnpm/lexical@0.38.2/node_modules/lexical/Lexical.prod.js +5093 -0
- package/dist/node_modules/.pnpm/path-to-regexp@6.3.0/node_modules/path-to-regexp/dist.es2015/index.js +198 -0
- 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 +76 -0
- 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 +160 -0
- 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 +10 -0
- 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 +58 -0
- 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 +494 -0
- 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 +13 -0
- 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 +35 -0
- 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 +39 -0
- 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 +9 -0
- 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 +22 -0
- 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 +45 -0
- 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 +10 -0
- 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 +33 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +82 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +62 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/.pnpm/react-loading-skeleton@3.5.0_react@18.3.1/node_modules/react-loading-skeleton/dist/index.js +49 -0
- package/dist/node_modules/.pnpm/react-modern-drawer@1.4.0_react@18.3.1/node_modules/react-modern-drawer/dist/index.modern.js +84 -0
- 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 +106 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +453 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +27 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +10 -0
- package/dist/node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js +26 -0
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +34 -0
- package/dist/node_modules/.pnpm/use-debounce@10.1.1_react@18.3.1/node_modules/use-debounce/dist/index.module.js +70 -0
- 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 +5 -0
- 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 +11 -0
- 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 +26 -0
- package/dist/node_modules/.pnpm/webfontloader@1.6.28/node_modules/webfontloader/webfontloader.js +482 -0
- package/package.json +13 -7
- package/.changeset/config.json +0 -11
- package/.eslintrc.js +0 -12
- package/.github/dependabot.yml +0 -7
- package/.github/workflows/master.yml +0 -121
- package/.storybook/main.mjs +0 -47
- package/.storybook/preview.js +0 -11
- package/src/components/action/back_link/BackLink.docs.mdx +0 -25
- package/src/components/action/back_link/BackLink.jsx +0 -30
- package/src/components/action/back_link/BackLink.module.scss +0 -34
- package/src/components/action/back_link/BackLink.stories.jsx +0 -28
- package/src/components/action/back_link/BackLink.test.jsx +0 -105
- package/src/components/action/back_link/index.js +0 -1
- package/src/components/action/button/Button.docs.mdx +0 -43
- package/src/components/action/button/Button.examples.jsx +0 -60
- package/src/components/action/button/Button.jsx +0 -88
- package/src/components/action/button/Button.module.scss +0 -133
- package/src/components/action/button/Button.stories.jsx +0 -54
- package/src/components/action/button/Button.test.jsx +0 -54
- package/src/components/action/button/index.js +0 -1
- package/src/components/action/icon_text_link/HomeIcon.dev.jsx +0 -9
- package/src/components/action/icon_text_link/IconTextLink.docs.mdx +0 -37
- package/src/components/action/icon_text_link/IconTextLink.jsx +0 -57
- package/src/components/action/icon_text_link/IconTextLink.module.scss +0 -67
- package/src/components/action/icon_text_link/IconTextLink.stories.jsx +0 -44
- package/src/components/action/icon_text_link/IconTextLink.test.jsx +0 -134
- package/src/components/action/icon_text_link/index.js +0 -1
- package/src/components/action/link/Link.docs.mdx +0 -23
- package/src/components/action/link/Link.jsx +0 -50
- package/src/components/action/link/Link.stories.jsx +0 -43
- package/src/components/action/link/Link.test.jsx +0 -91
- package/src/components/action/link/index.js +0 -1
- package/src/components/ad/ad_unit/AdUnit.docs.mdx +0 -23
- package/src/components/ad/ad_unit/AdUnit.jsx +0 -75
- package/src/components/ad/ad_unit/AdUnit.module.scss +0 -9
- package/src/components/ad/ad_unit/AdUnit.stories.jsx +0 -30
- package/src/components/ad/ad_unit/AdUnit.test.jsx +0 -63
- package/src/components/ad/ad_unit/index.js +0 -1
- package/src/components/ad/use_google_ad_manager/index.js +0 -1
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.docs.mdx +0 -27
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.jsx +0 -37
- package/src/components/ad/use_google_ad_manager/useGoogleAdManager.test.jsx +0 -47
- package/src/components/ad/with_ad/WithAd.docs.mdx +0 -30
- package/src/components/ad/with_ad/WithAd.jsx +0 -51
- package/src/components/ad/with_ad/WithAd.test.jsx +0 -104
- package/src/components/ad/with_ad/index.js +0 -1
- package/src/components/argument/argument/Argument.docs.mdx +0 -60
- package/src/components/argument/argument/Argument.jsx +0 -358
- package/src/components/argument/argument/Argument.module.scss +0 -233
- package/src/components/argument/argument/Argument.stories.jsx +0 -232
- package/src/components/argument/argument/Argument.test.jsx +0 -303
- package/src/components/argument/argument/ReplyFooter.jsx +0 -47
- package/src/components/argument/argument/ReplyFooter.module.scss +0 -77
- package/src/components/argument/argument/index.js +0 -2
- package/src/components/argument/argument/useRichContent.jsx +0 -18
- package/src/components/argument/top_arguments/TopArguments.docs.mdx +0 -22
- package/src/components/argument/top_arguments/TopArguments.jsx +0 -90
- package/src/components/argument/top_arguments/TopArguments.module.scss +0 -37
- package/src/components/argument/top_arguments/TopArguments.stories.jsx +0 -156
- package/src/components/argument/top_arguments/TopArguments.test.jsx +0 -67
- package/src/components/argument/top_arguments/index.js +0 -1
- package/src/components/auth/auth_initializer/AuthInitializer.alltest.js +0 -21
- package/src/components/auth/auth_initializer/AuthInitializer.docs.mdx +0 -34
- package/src/components/auth/auth_initializer/AuthInitializer.jsx +0 -61
- package/src/components/auth/auth_initializer/index.js +0 -1
- package/src/components/auth/auth_modal/AuthModal.alltest.js +0 -30
- package/src/components/auth/auth_modal/AuthModal.docs.mdx +0 -26
- package/src/components/auth/auth_modal/AuthModal.jsx +0 -99
- package/src/components/auth/auth_modal/AuthModal.module.scss +0 -9
- package/src/components/auth/auth_modal/AuthModal.stories.jsx +0 -90
- package/src/components/auth/auth_modal/index.js +0 -1
- package/src/components/auth/facebook_login_button/FacebookIcon.jsx +0 -7
- package/src/components/auth/facebook_login_button/FacebookLoginButton.docs.mdx +0 -34
- package/src/components/auth/facebook_login_button/FacebookLoginButton.jsx +0 -25
- package/src/components/auth/facebook_login_button/FacebookLoginButton.module.scss +0 -32
- package/src/components/auth/facebook_login_button/FacebookLoginButton.stories.jsx +0 -35
- package/src/components/auth/facebook_login_button/FacebookLoginButton.test.jsx +0 -68
- package/src/components/auth/facebook_login_button/index.js +0 -1
- package/src/components/auth/google_login_button/GoogleIcon.jsx +0 -10
- package/src/components/auth/google_login_button/GoogleLoginButton.docs.mdx +0 -43
- package/src/components/auth/google_login_button/GoogleLoginButton.jsx +0 -27
- package/src/components/auth/google_login_button/GoogleLoginButton.module.scss +0 -28
- package/src/components/auth/google_login_button/GoogleLoginButton.stories.jsx +0 -35
- package/src/components/auth/google_login_button/GoogleLoginButton.test.jsx +0 -69
- package/src/components/auth/google_login_button/index.js +0 -1
- package/src/components/auth/login_form/LoginForm.docs.mdx +0 -24
- package/src/components/auth/login_form/LoginForm.jsx +0 -65
- package/src/components/auth/login_form/LoginForm.module.scss +0 -36
- package/src/components/auth/login_form/LoginForm.stories.jsx +0 -42
- package/src/components/auth/login_form/LoginForm.test.jsx +0 -94
- package/src/components/auth/login_form/index.js +0 -1
- package/src/components/auth/oauth2_button/OAuth2Button.docs.mdx +0 -32
- package/src/components/auth/oauth2_button/OAuth2Button.jsx +0 -79
- package/src/components/auth/oauth2_button/OAuth2Button.module.scss +0 -10
- package/src/components/auth/oauth2_button/OAuth2Button.stories.jsx +0 -48
- package/src/components/auth/oauth2_button/OAuth2Button.test.jsx +0 -306
- package/src/components/auth/oauth2_button/index.js +0 -1
- package/src/components/auth/providers/AuthProvider.docs.mdx +0 -35
- package/src/components/auth/providers/AuthProvider.js +0 -23
- package/src/components/auth/providers/AuthProviderFactory.js +0 -20
- package/src/components/auth/providers/FormAuth.js +0 -36
- package/src/components/auth/providers/JWTAuth.js +0 -35
- package/src/components/auth/providers/OAuth2ServerAuth.js +0 -47
- package/src/components/auth/providers/PasswordAuth.js +0 -31
- package/src/components/auth/providers/index.js +0 -1
- package/src/components/auth/providers/tests/AuthProviderFactory.test.jsx +0 -53
- package/src/components/auth/providers/tests/FormAuth.test.jsx +0 -45
- package/src/components/auth/providers/tests/JWTAuth.test.jsx +0 -57
- package/src/components/auth/providers/tests/OAuth2ServerAuth.test.jsx +0 -78
- package/src/components/auth/providers/tests/PasswordAuth.test.jsx +0 -43
- package/src/components/auth/signup_form/SignupForm.docs.mdx +0 -29
- package/src/components/auth/signup_form/SignupForm.jsx +0 -125
- package/src/components/auth/signup_form/SignupForm.module.scss +0 -21
- package/src/components/auth/signup_form/SignupForm.stories.jsx +0 -40
- package/src/components/auth/signup_form/SignupForm.test.jsx +0 -144
- package/src/components/auth/signup_form/index.js +0 -1
- package/src/components/auth/social_auth_form/SocialAuthForm.docs.mdx +0 -33
- package/src/components/auth/social_auth_form/SocialAuthForm.jsx +0 -170
- package/src/components/auth/social_auth_form/SocialAuthForm.module.scss +0 -141
- package/src/components/auth/social_auth_form/SocialAuthForm.stories.jsx +0 -82
- package/src/components/auth/social_auth_form/SocialAuthForm.test.jsx +0 -201
- package/src/components/auth/social_auth_form/index.js +0 -1
- package/src/components/auth/sso_form/SSOForm.docs.mdx +0 -39
- package/src/components/auth/sso_form/SSOForm.jsx +0 -243
- package/src/components/auth/sso_form/SSOForm.module.scss +0 -99
- package/src/components/auth/sso_form/SSOForm.stories.jsx +0 -117
- package/src/components/auth/sso_form/SSOForm.test.jsx +0 -83
- package/src/components/auth/sso_form/index.js +0 -1
- package/src/components/auth/use_auth/AuthContext.js +0 -3
- package/src/components/auth/use_auth/AuthProvider.jsx +0 -21
- package/src/components/auth/use_auth/AuthProvider.test.jsx +0 -26
- package/src/components/auth/use_auth/AuthStorage.js +0 -33
- package/src/components/auth/use_auth/AuthStorage.test.jsx +0 -165
- package/src/components/auth/use_auth/authTokenHandler.js +0 -67
- package/src/components/auth/use_auth/authTokenHandler.test.jsx +0 -117
- package/src/components/auth/use_auth/index.js +0 -7
- package/src/components/auth/use_auth/useAuth.docs.mdx +0 -34
- package/src/components/auth/use_auth/useAuth.js +0 -8
- package/src/components/auth/use_auth/useAuthActions.js +0 -77
- package/src/components/auth/use_auth/useAuthInterceptor.jsx +0 -42
- package/src/components/chart/line_chart/LineChart.docs.mdx +0 -34
- package/src/components/chart/line_chart/LineChart.jsx +0 -107
- package/src/components/chart/line_chart/LineChart.module.scss +0 -54
- package/src/components/chart/line_chart/LineChart.stories.jsx +0 -49
- package/src/components/chart/line_chart/LineChart.test.jsx +0 -12
- package/src/components/chart/line_chart/index.js +0 -1
- package/src/components/chart/pie_chart/PieChart.docs.mdx +0 -26
- package/src/components/chart/pie_chart/PieChart.jsx +0 -102
- package/src/components/chart/pie_chart/PieChart.module.scss +0 -17
- package/src/components/chart/pie_chart/PieChart.stories.jsx +0 -36
- package/src/components/chart/pie_chart/PieChart.test.jsx +0 -12
- package/src/components/chart/pie_chart/index.js +0 -1
- package/src/components/consultation/consultation_box/ConsultationBox.docs.mdx +0 -21
- package/src/components/consultation/consultation_box/ConsultationBox.jsx +0 -101
- package/src/components/consultation/consultation_box/ConsultationBox.module.scss +0 -105
- package/src/components/consultation/consultation_box/ConsultationBox.stories.jsx +0 -96
- package/src/components/consultation/consultation_box/ConsultationBox.test.jsx +0 -58
- package/src/components/consultation/consultation_box/index.js +0 -1
- package/src/components/data/axios_client/httpClient.docs.mdx +0 -4
- package/src/components/data/axios_client/httpClient.js +0 -11
- package/src/components/data/axios_client/index.js +0 -1
- package/src/components/data/config_provider/ConfigProvider.docs.mdx +0 -26
- package/src/components/data/config_provider/ConfigProvider.jsx +0 -21
- package/src/components/data/config_provider/ConfigProvider.test.jsx +0 -39
- package/src/components/data/config_provider/index.js +0 -4
- package/src/components/data/config_provider/useConfig.jsx +0 -8
- package/src/components/data/config_provider/useRoutes.jsx +0 -8
- package/src/components/data/config_provider/withConfig.jsx +0 -8
- package/src/components/data/data_provider/DataProvider.docs.mdx +0 -52
- package/src/components/data/data_provider/DataProvider.jsx +0 -165
- package/src/components/data/data_provider/DataProvider.test.jsx +0 -419
- package/src/components/data/data_provider/DataProviderContext.jsx +0 -3
- package/src/components/data/data_provider/index.js +0 -4
- package/src/components/data/data_provider/useData.jsx +0 -9
- package/src/components/data/data_provider/useDataProvider.jsx +0 -8
- package/src/components/data/data_provider/useDataProvider.test.jsx +0 -38
- package/src/components/debate/debate_box/DebateBox.docs.mdx +0 -23
- package/src/components/debate/debate_box/DebateBox.jsx +0 -136
- package/src/components/debate/debate_box/DebateBox.module.scss +0 -209
- package/src/components/debate/debate_box/DebateBox.stories.jsx +0 -157
- package/src/components/debate/debate_box/DebateBox.test.jsx +0 -117
- package/src/components/debate/debate_box/index.js +0 -1
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.docs.mdx +0 -24
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.jsx +0 -37
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.module.scss +0 -35
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.stories.jsx +0 -44
- package/src/components/dialog/announcement_dialog/AnnouncementDialog.test.jsx +0 -35
- package/src/components/dialog/announcement_dialog/HomeIcon.dev.jsx +0 -9
- package/src/components/dialog/announcement_dialog/index.js +0 -1
- package/src/components/dialog/confirm_modal/ConfirmModal.docs.mdx +0 -25
- package/src/components/dialog/confirm_modal/ConfirmModal.jsx +0 -53
- package/src/components/dialog/confirm_modal/ConfirmModal.module.scss +0 -30
- package/src/components/dialog/confirm_modal/ConfirmModal.stories.jsx +0 -36
- package/src/components/dialog/confirm_modal/ConfirmModal.test.jsx +0 -176
- package/src/components/dialog/confirm_modal/index.js +0 -1
- package/src/components/dialog/countdown/Countdown.docs.mdx +0 -23
- package/src/components/dialog/countdown/Countdown.jsx +0 -36
- package/src/components/dialog/countdown/Countdown.stories.jsx +0 -33
- package/src/components/dialog/countdown/Countdown.test.jsx +0 -51
- package/src/components/dialog/countdown/index.js +0 -1
- package/src/components/dialog/dialog_box/DialogBox.docs.mdx +0 -25
- package/src/components/dialog/dialog_box/DialogBox.jsx +0 -53
- package/src/components/dialog/dialog_box/DialogBox.module.scss +0 -145
- package/src/components/dialog/dialog_box/DialogBox.stories.jsx +0 -45
- package/src/components/dialog/dialog_box/DialogBox.test.jsx +0 -40
- package/src/components/dialog/dialog_box/index.js +0 -1
- package/src/components/dialog/drawer/Drawer.docs.mdx +0 -31
- package/src/components/dialog/drawer/Drawer.jsx +0 -159
- package/src/components/dialog/drawer/Drawer.module.scss +0 -136
- package/src/components/dialog/drawer/Drawer.stories.jsx +0 -194
- package/src/components/dialog/drawer/Drawer.test.jsx +0 -15
- package/src/components/dialog/drawer/index.js +0 -1
- package/src/components/dialog/dropdown/Dropdown.docs.mdx +0 -28
- package/src/components/dialog/dropdown/Dropdown.jsx +0 -59
- package/src/components/dialog/dropdown/Dropdown.module.scss +0 -41
- package/src/components/dialog/dropdown/Dropdown.stories.jsx +0 -42
- package/src/components/dialog/dropdown/Dropdown.test.jsx +0 -126
- package/src/components/dialog/dropdown/index.js +0 -1
- package/src/components/dialog/modal/Modal.docs.mdx +0 -39
- package/src/components/dialog/modal/Modal.jsx +0 -101
- package/src/components/dialog/modal/Modal.module.scss +0 -99
- package/src/components/dialog/modal/Modal.stories.jsx +0 -53
- package/src/components/dialog/modal/Modal.test.jsx +0 -115
- package/src/components/dialog/modal/ModalProvider.jsx +0 -26
- package/src/components/dialog/modal/ModalProvider.test.jsx +0 -39
- package/src/components/dialog/modal/index.js +0 -3
- package/src/components/dialog/modal/useModal.jsx +0 -6
- package/src/components/dialog/toast/Toast.docs.mdx +0 -21
- package/src/components/dialog/toast/Toast.jsx +0 -44
- package/src/components/dialog/toast/Toast.module.scss +0 -66
- package/src/components/dialog/toast/Toast.stories.jsx +0 -42
- package/src/components/dialog/toast/Toast.test.jsx +0 -21
- package/src/components/dialog/toast/index.js +0 -1
- package/src/components/dialog/toast_provider/ToastContext.js +0 -3
- package/src/components/dialog/toast_provider/ToastProvider.docs.mdx +0 -36
- package/src/components/dialog/toast_provider/ToastProvider.jsx +0 -35
- package/src/components/dialog/toast_provider/ToastProvider.module.scss +0 -14
- package/src/components/dialog/toast_provider/ToastProvider.test.jsx +0 -64
- package/src/components/dialog/toast_provider/index.js +0 -2
- package/src/components/dialog/toast_provider/useToast.jsx +0 -8
- package/src/components/dialog/tooltip/Tooltip.docs.mdx +0 -20
- package/src/components/dialog/tooltip/Tooltip.jsx +0 -53
- package/src/components/dialog/tooltip/Tooltip.module.scss +0 -92
- package/src/components/dialog/tooltip/Tooltip.stories.jsx +0 -76
- package/src/components/dialog/tooltip/Tooltip.test.jsx +0 -67
- package/src/components/dialog/tooltip/index.js +0 -3
- package/src/components/embed/embed_header/EmbedHeader.docs.mdx +0 -25
- package/src/components/embed/embed_header/EmbedHeader.jsx +0 -61
- package/src/components/embed/embed_header/EmbedHeader.module.scss +0 -148
- package/src/components/embed/embed_header/EmbedHeader.stories.jsx +0 -54
- package/src/components/embed/embed_header/EmbedHeader.test.jsx +0 -70
- package/src/components/embed/embed_header/index.js +0 -1
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.docs.mdx +0 -26
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.jsx +0 -27
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.module.scss +0 -8
- package/src/components/error/standard_error_boundary/StandardErrorBoundary.test.jsx +0 -56
- package/src/components/error/standard_error_boundary/index.js +0 -1
- package/src/components/follow/follow_button/FollowButton.docs.mdx +0 -41
- package/src/components/follow/follow_button/FollowButton.jsx +0 -40
- package/src/components/follow/follow_button/FollowButton.module.scss +0 -17
- package/src/components/follow/follow_button/FollowButton.stories.jsx +0 -58
- package/src/components/follow/follow_button/FollowButton.test.jsx +0 -45
- package/src/components/follow/follow_button/index.js +0 -1
- package/src/components/follow/use_follow/index.js +0 -1
- package/src/components/follow/use_follow/useFollow.docs.mdx +0 -24
- package/src/components/follow/use_follow/useFollow.jsx +0 -60
- package/src/components/follow/use_follow/useFollow.test.jsx +0 -94
- package/src/components/forms/form/extract-form-data.js +0 -14
- package/src/components/forms/form/form-context.js +0 -3
- package/src/components/forms/form/form.docs.mdx +0 -232
- package/src/components/forms/form/form.jsx +0 -26
- package/src/components/forms/form/form.stories.jsx +0 -119
- package/src/components/forms/form/form.test.jsx +0 -3
- package/src/components/forms/form/index.js +0 -6
- package/src/components/forms/form/use-form-context.js +0 -43
- package/src/components/forms/form/use-form.js +0 -4
- package/src/components/forms/use_form_validation/index.js +0 -1
- package/src/components/forms/use_form_validation/useFormValidation.docs.mdx +0 -40
- package/src/components/forms/use_form_validation/useFormValidation.jsx +0 -114
- package/src/components/forms/use_form_validation/useFormValidation.test.jsx +0 -91
- package/src/components/gamification/badge_box/BadgeBox.docs.mdx +0 -25
- package/src/components/gamification/badge_box/BadgeBox.jsx +0 -74
- package/src/components/gamification/badge_box/BadgeBox.module.scss +0 -103
- package/src/components/gamification/badge_box/BadgeBox.stories.jsx +0 -64
- package/src/components/gamification/badge_box/BadgeBox.test.jsx +0 -113
- package/src/components/gamification/badge_box/index.js +0 -1
- package/src/components/gamification/point_box/PointBox.docs.mdx +0 -19
- package/src/components/gamification/point_box/PointBox.jsx +0 -28
- package/src/components/gamification/point_box/PointBox.module.scss +0 -38
- package/src/components/gamification/point_box/PointBox.stories.jsx +0 -32
- package/src/components/gamification/point_box/PointBox.test.jsx +0 -21
- package/src/components/gamification/point_box/index.js +0 -1
- package/src/components/hooks/use_auth_required/index.js +0 -1
- package/src/components/hooks/use_auth_required/useAuthRequired.docs.mdx +0 -22
- package/src/components/hooks/use_auth_required/useAuthRequired.jsx +0 -28
- package/src/components/hooks/use_auth_required/useAuthRequired.test.jsx +0 -85
- package/src/components/hooks/use_css_theme/index.js +0 -1
- package/src/components/hooks/use_css_theme/useCssTheme.docs.mdx +0 -34
- package/src/components/hooks/use_css_theme/useCssTheme.js +0 -27
- package/src/components/hooks/use_css_theme/useCssTheme.stories.jsx +0 -41
- package/src/components/hooks/use_css_theme/useCssTheme.test.jsx +0 -31
- package/src/components/hooks/use_font_loader/index.js +0 -1
- package/src/components/hooks/use_font_loader/useFontLoader.docs.mdx +0 -24
- package/src/components/hooks/use_font_loader/useFontLoader.js +0 -16
- package/src/components/hooks/use_font_loader/useFontLoader.test.jsx +0 -64
- package/src/components/hooks/use_matomo/index.js +0 -1
- package/src/components/hooks/use_matomo/useMatomo.docs.mdx +0 -28
- package/src/components/hooks/use_matomo/useMatomo.js +0 -17
- package/src/components/hooks/use_matomo/useMatomo.test.jsx +0 -24
- package/src/components/hooks/use_relative_time/index.js +0 -1
- package/src/components/hooks/use_relative_time/useRelativeTime.docs.mdx +0 -35
- package/src/components/hooks/use_relative_time/useRelativeTime.jsx +0 -40
- package/src/components/hooks/use_relative_time/useRelativeTime.test.jsx +0 -82
- package/src/components/hooks/use_responsive/ResponsiveContext.jsx +0 -3
- package/src/components/hooks/use_responsive/ResponsiveProvider.jsx +0 -52
- package/src/components/hooks/use_responsive/index.js +0 -2
- package/src/components/hooks/use_responsive/useResponsive.docs.mdx +0 -46
- package/src/components/hooks/use_responsive/useResponsive.jsx +0 -8
- package/src/components/hooks/use_responsive/useResponsive.stories.jsx +0 -49
- package/src/components/hooks/use_responsive/useResponsive.test.jsx +0 -54
- package/src/components/icons/bild_icons/Alarm.jsx +0 -7
- package/src/components/icons/bild_icons/Announcement.jsx +0 -16
- package/src/components/icons/bild_icons/Arrow.jsx +0 -7
- package/src/components/icons/bild_icons/BildIcons.docs.mdx +0 -21
- package/src/components/icons/bild_icons/BildIcons.stories.jsx +0 -123
- package/src/components/icons/bild_icons/BildIcons.test.jsx +0 -15
- package/src/components/icons/bild_icons/Blockquote.jsx +0 -7
- package/src/components/icons/bild_icons/Bold.jsx +0 -7
- package/src/components/icons/bild_icons/Camera.jsx +0 -8
- package/src/components/icons/bild_icons/Chat.jsx +0 -16
- package/src/components/icons/bild_icons/Check.jsx +0 -7
- package/src/components/icons/bild_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/bild_icons/Checkbox.jsx +0 -8
- package/src/components/icons/bild_icons/Clap.jsx +0 -9
- package/src/components/icons/bild_icons/Clock.jsx +0 -7
- package/src/components/icons/bild_icons/Close.jsx +0 -7
- package/src/components/icons/bild_icons/Code.jsx +0 -18
- package/src/components/icons/bild_icons/Community.jsx +0 -7
- package/src/components/icons/bild_icons/Crown.jsx +0 -7
- package/src/components/icons/bild_icons/Document.jsx +0 -7
- package/src/components/icons/bild_icons/Downvote.jsx +0 -7
- package/src/components/icons/bild_icons/Ellipsis.jsx +0 -8
- package/src/components/icons/bild_icons/ExpertBadge.jsx +0 -11
- package/src/components/icons/bild_icons/Facebook.jsx +0 -7
- package/src/components/icons/bild_icons/Flag.jsx +0 -7
- package/src/components/icons/bild_icons/Home.jsx +0 -7
- package/src/components/icons/bild_icons/Italic.jsx +0 -7
- package/src/components/icons/bild_icons/LightArrow.jsx +0 -7
- package/src/components/icons/bild_icons/Link.jsx +0 -8
- package/src/components/icons/bild_icons/Login.jsx +0 -11
- package/src/components/icons/bild_icons/Logora.jsx +0 -24
- package/src/components/icons/bild_icons/Mail.jsx +0 -7
- package/src/components/icons/bild_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/bild_icons/MobileClose.jsx +0 -8
- package/src/components/icons/bild_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/bild_icons/Next.jsx +0 -10
- package/src/components/icons/bild_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/bild_icons/OrderedList.jsx +0 -7
- package/src/components/icons/bild_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/bild_icons/Point.jsx +0 -8
- package/src/components/icons/bild_icons/Question.jsx +0 -8
- package/src/components/icons/bild_icons/Refresh.jsx +0 -7
- package/src/components/icons/bild_icons/Reply.jsx +0 -7
- package/src/components/icons/bild_icons/Search.jsx +0 -7
- package/src/components/icons/bild_icons/Send.jsx +0 -7
- package/src/components/icons/bild_icons/Share.jsx +0 -14
- package/src/components/icons/bild_icons/SmallArrow.jsx +0 -11
- package/src/components/icons/bild_icons/Source.jsx +0 -7
- package/src/components/icons/bild_icons/Suggestion.jsx +0 -7
- package/src/components/icons/bild_icons/Twitter.jsx +0 -10
- package/src/components/icons/bild_icons/Underline.jsx +0 -7
- package/src/components/icons/bild_icons/Upvote.jsx +0 -7
- package/src/components/icons/bild_icons/User.jsx +0 -7
- package/src/components/icons/bild_icons/Versus.jsx +0 -11
- package/src/components/icons/bild_icons/Votebox.jsx +0 -7
- package/src/components/icons/bild_icons/index.js +0 -52
- package/src/components/icons/hero_icons/Alarm.jsx +0 -7
- package/src/components/icons/hero_icons/Announcement.jsx +0 -7
- package/src/components/icons/hero_icons/Arrow.jsx +0 -7
- package/src/components/icons/hero_icons/Blockquote.jsx +0 -14
- package/src/components/icons/hero_icons/Bold.jsx +0 -7
- package/src/components/icons/hero_icons/Camera.jsx +0 -8
- package/src/components/icons/hero_icons/Chat.jsx +0 -7
- package/src/components/icons/hero_icons/Check.jsx +0 -8
- package/src/components/icons/hero_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/hero_icons/Checkbox.jsx +0 -7
- package/src/components/icons/hero_icons/Clap.jsx +0 -7
- package/src/components/icons/hero_icons/Clock.jsx +0 -7
- package/src/components/icons/hero_icons/Close.jsx +0 -8
- package/src/components/icons/hero_icons/Code.jsx +0 -7
- package/src/components/icons/hero_icons/Community.jsx +0 -7
- package/src/components/icons/hero_icons/Crown.jsx +0 -7
- package/src/components/icons/hero_icons/Downvote.jsx +0 -8
- package/src/components/icons/hero_icons/Ellipsis.jsx +0 -7
- package/src/components/icons/hero_icons/ExpertBadge.jsx +0 -7
- package/src/components/icons/hero_icons/Facebook.jsx +0 -7
- package/src/components/icons/hero_icons/Flag.jsx +0 -7
- package/src/components/icons/hero_icons/HeroIcons.docs.mdx +0 -19
- package/src/components/icons/hero_icons/HeroIcons.stories.jsx +0 -121
- package/src/components/icons/hero_icons/HeroIcons.test.jsx +0 -15
- package/src/components/icons/hero_icons/Home.jsx +0 -7
- package/src/components/icons/hero_icons/Italic.jsx +0 -7
- package/src/components/icons/hero_icons/LightArrow.jsx +0 -7
- package/src/components/icons/hero_icons/Link.jsx +0 -7
- package/src/components/icons/hero_icons/Login.jsx +0 -7
- package/src/components/icons/hero_icons/Logora.jsx +0 -24
- package/src/components/icons/hero_icons/Mail.jsx +0 -7
- package/src/components/icons/hero_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/hero_icons/MobileClose.jsx +0 -7
- package/src/components/icons/hero_icons/MobileMenu.jsx +0 -7
- package/src/components/icons/hero_icons/Next.jsx +0 -8
- package/src/components/icons/hero_icons/OpenBlank.jsx +0 -7
- package/src/components/icons/hero_icons/OrderedList.jsx +0 -19
- package/src/components/icons/hero_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/hero_icons/Point.jsx +0 -8
- package/src/components/icons/hero_icons/Question.jsx +0 -7
- package/src/components/icons/hero_icons/Refresh.jsx +0 -7
- package/src/components/icons/hero_icons/Reply.jsx +0 -7
- package/src/components/icons/hero_icons/Search.jsx +0 -7
- package/src/components/icons/hero_icons/Send.jsx +0 -7
- package/src/components/icons/hero_icons/Share.jsx +0 -8
- package/src/components/icons/hero_icons/SmallArrow.jsx +0 -7
- package/src/components/icons/hero_icons/Source.jsx +0 -8
- package/src/components/icons/hero_icons/Suggestion.jsx +0 -9
- package/src/components/icons/hero_icons/Twitter.jsx +0 -10
- package/src/components/icons/hero_icons/Underline.jsx +0 -14
- package/src/components/icons/hero_icons/Upvote.jsx +0 -7
- package/src/components/icons/hero_icons/User.jsx +0 -7
- package/src/components/icons/hero_icons/Versus.jsx +0 -7
- package/src/components/icons/hero_icons/Votebox.jsx +0 -7
- package/src/components/icons/hero_icons/index.js +0 -51
- package/src/components/icons/icon/Icon.docs.mdx +0 -20
- package/src/components/icons/icon/Icon.jsx +0 -32
- package/src/components/icons/icon/Icon.test.jsx +0 -33
- package/src/components/icons/icon/index.js +0 -1
- package/src/components/icons/icon_provider/IconProvider.docs.mdx +0 -28
- package/src/components/icons/icon_provider/IconProvider.jsx +0 -19
- package/src/components/icons/icon_provider/IconProvider.test.jsx +0 -24
- package/src/components/icons/icon_provider/index.js +0 -1
- package/src/components/icons/krone_icons/Alarm.jsx +0 -27
- package/src/components/icons/krone_icons/Announcement.jsx +0 -16
- package/src/components/icons/krone_icons/Arrow.jsx +0 -7
- package/src/components/icons/krone_icons/Blockquote.jsx +0 -7
- package/src/components/icons/krone_icons/Bold.jsx +0 -7
- package/src/components/icons/krone_icons/Camera.jsx +0 -8
- package/src/components/icons/krone_icons/Chat.jsx +0 -29
- package/src/components/icons/krone_icons/Check.jsx +0 -7
- package/src/components/icons/krone_icons/CheckBox.jsx +0 -7
- package/src/components/icons/krone_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/krone_icons/Clap.jsx +0 -29
- package/src/components/icons/krone_icons/Clock.jsx +0 -7
- package/src/components/icons/krone_icons/Close.jsx +0 -7
- package/src/components/icons/krone_icons/Code.jsx +0 -18
- package/src/components/icons/krone_icons/Community.jsx +0 -7
- package/src/components/icons/krone_icons/Crown.jsx +0 -7
- package/src/components/icons/krone_icons/Document.jsx +0 -7
- package/src/components/icons/krone_icons/Downvote.jsx +0 -7
- package/src/components/icons/krone_icons/Ellipsis.jsx +0 -18
- package/src/components/icons/krone_icons/ExpertBadge.jsx +0 -29
- package/src/components/icons/krone_icons/Facebook.jsx +0 -7
- package/src/components/icons/krone_icons/Flag.jsx +0 -7
- package/src/components/icons/krone_icons/Home.jsx +0 -29
- package/src/components/icons/krone_icons/Italic.jsx +0 -7
- package/src/components/icons/krone_icons/KroneIcons.docs.mdx +0 -21
- package/src/components/icons/krone_icons/KroneIcons.stories.jsx +0 -124
- package/src/components/icons/krone_icons/KroneIcons.test.jsx +0 -15
- package/src/components/icons/krone_icons/LightArrow.jsx +0 -7
- package/src/components/icons/krone_icons/Link.jsx +0 -8
- package/src/components/icons/krone_icons/Login.jsx +0 -11
- package/src/components/icons/krone_icons/Logora.jsx +0 -24
- package/src/components/icons/krone_icons/Mail.jsx +0 -7
- package/src/components/icons/krone_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/krone_icons/MobileClose.jsx +0 -8
- package/src/components/icons/krone_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/krone_icons/Next.jsx +0 -10
- package/src/components/icons/krone_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/krone_icons/OrderedList.jsx +0 -7
- package/src/components/icons/krone_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/krone_icons/Point.jsx +0 -8
- package/src/components/icons/krone_icons/Question.jsx +0 -29
- package/src/components/icons/krone_icons/Refresh.jsx +0 -7
- package/src/components/icons/krone_icons/Reply.jsx +0 -18
- package/src/components/icons/krone_icons/Search.jsx +0 -7
- package/src/components/icons/krone_icons/Send.jsx +0 -19
- package/src/components/icons/krone_icons/Share.jsx +0 -16
- package/src/components/icons/krone_icons/SmallArrow.jsx +0 -11
- package/src/components/icons/krone_icons/Source.jsx +0 -7
- package/src/components/icons/krone_icons/Suggestion.jsx +0 -29
- package/src/components/icons/krone_icons/Twitter.jsx +0 -10
- package/src/components/icons/krone_icons/Underline.jsx +0 -7
- package/src/components/icons/krone_icons/Upvote.jsx +0 -29
- package/src/components/icons/krone_icons/User.jsx +0 -30
- package/src/components/icons/krone_icons/Versus.jsx +0 -9
- package/src/components/icons/krone_icons/Votebox.jsx +0 -29
- package/src/components/icons/krone_icons/index.js +0 -52
- package/src/components/icons/regular_icons/Alarm.jsx +0 -7
- package/src/components/icons/regular_icons/Announcement.jsx +0 -16
- package/src/components/icons/regular_icons/Arrow.jsx +0 -7
- package/src/components/icons/regular_icons/Blockquote.jsx +0 -7
- package/src/components/icons/regular_icons/Bold.jsx +0 -7
- package/src/components/icons/regular_icons/Camera.jsx +0 -8
- package/src/components/icons/regular_icons/Chat.jsx +0 -10
- package/src/components/icons/regular_icons/Check.jsx +0 -7
- package/src/components/icons/regular_icons/CheckCircle.jsx +0 -17
- package/src/components/icons/regular_icons/Checkbox.jsx +0 -8
- package/src/components/icons/regular_icons/Clap.jsx +0 -7
- package/src/components/icons/regular_icons/Clock.jsx +0 -7
- package/src/components/icons/regular_icons/Close.jsx +0 -7
- package/src/components/icons/regular_icons/Code.jsx +0 -18
- package/src/components/icons/regular_icons/Community.jsx +0 -7
- package/src/components/icons/regular_icons/Crown.jsx +0 -7
- package/src/components/icons/regular_icons/Document.jsx +0 -7
- package/src/components/icons/regular_icons/Downvote.jsx +0 -7
- package/src/components/icons/regular_icons/Ellipsis.jsx +0 -8
- package/src/components/icons/regular_icons/ExpertBadge.jsx +0 -11
- package/src/components/icons/regular_icons/Facebook.jsx +0 -7
- package/src/components/icons/regular_icons/Flag.jsx +0 -7
- package/src/components/icons/regular_icons/Home.jsx +0 -7
- package/src/components/icons/regular_icons/Italic.jsx +0 -7
- package/src/components/icons/regular_icons/LightArrow.jsx +0 -7
- package/src/components/icons/regular_icons/Link.jsx +0 -8
- package/src/components/icons/regular_icons/Login.jsx +0 -11
- package/src/components/icons/regular_icons/Logora.jsx +0 -24
- package/src/components/icons/regular_icons/Mail.jsx +0 -7
- package/src/components/icons/regular_icons/MinusCircle.jsx +0 -16
- package/src/components/icons/regular_icons/MobileClose.jsx +0 -8
- package/src/components/icons/regular_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/regular_icons/Next.jsx +0 -10
- package/src/components/icons/regular_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/regular_icons/OrderedList.jsx +0 -7
- package/src/components/icons/regular_icons/PauseCircle.jsx +0 -10
- package/src/components/icons/regular_icons/Point.jsx +0 -8
- package/src/components/icons/regular_icons/Question.jsx +0 -8
- package/src/components/icons/regular_icons/Refresh.jsx +0 -7
- package/src/components/icons/regular_icons/RegularIcons.docs.mdx +0 -21
- package/src/components/icons/regular_icons/RegularIcons.stories.jsx +0 -123
- package/src/components/icons/regular_icons/RegularIcons.test.jsx +0 -15
- package/src/components/icons/regular_icons/Reply.jsx +0 -7
- package/src/components/icons/regular_icons/Search.jsx +0 -7
- package/src/components/icons/regular_icons/Send.jsx +0 -7
- package/src/components/icons/regular_icons/Share.jsx +0 -14
- package/src/components/icons/regular_icons/SmallArrow.jsx +0 -11
- package/src/components/icons/regular_icons/Source.jsx +0 -7
- package/src/components/icons/regular_icons/Suggestion.jsx +0 -7
- package/src/components/icons/regular_icons/Twitter.jsx +0 -10
- package/src/components/icons/regular_icons/Underline.jsx +0 -7
- package/src/components/icons/regular_icons/Upvote.jsx +0 -7
- package/src/components/icons/regular_icons/User.jsx +0 -7
- package/src/components/icons/regular_icons/Versus.jsx +0 -9
- package/src/components/icons/regular_icons/Votebox.jsx +0 -7
- package/src/components/icons/regular_icons/index.js +0 -52
- package/src/components/icons/spiegel_icons/Alarm.jsx +0 -7
- package/src/components/icons/spiegel_icons/Announcement.jsx +0 -16
- package/src/components/icons/spiegel_icons/Arrow.jsx +0 -7
- package/src/components/icons/spiegel_icons/Blockquote.jsx +0 -14
- package/src/components/icons/spiegel_icons/Bold.jsx +0 -7
- package/src/components/icons/spiegel_icons/Camera.jsx +0 -8
- package/src/components/icons/spiegel_icons/Chat.jsx +0 -7
- package/src/components/icons/spiegel_icons/Check.jsx +0 -11
- package/src/components/icons/spiegel_icons/CheckCircle.jsx +0 -8
- package/src/components/icons/spiegel_icons/Checkbox.jsx +0 -14
- package/src/components/icons/spiegel_icons/Clap.jsx +0 -15
- package/src/components/icons/spiegel_icons/Clock.jsx +0 -15
- package/src/components/icons/spiegel_icons/Close.jsx +0 -7
- package/src/components/icons/spiegel_icons/Code.jsx +0 -18
- package/src/components/icons/spiegel_icons/Community.jsx +0 -7
- package/src/components/icons/spiegel_icons/Crown.jsx +0 -7
- package/src/components/icons/spiegel_icons/Downvote.jsx +0 -7
- package/src/components/icons/spiegel_icons/Ellipsis.jsx +0 -8
- package/src/components/icons/spiegel_icons/ExpertBadge.jsx +0 -16
- package/src/components/icons/spiegel_icons/Facebook.jsx +0 -7
- package/src/components/icons/spiegel_icons/Flag.jsx +0 -8
- package/src/components/icons/spiegel_icons/Home.jsx +0 -7
- package/src/components/icons/spiegel_icons/Italic.jsx +0 -7
- package/src/components/icons/spiegel_icons/LightArrow.jsx +0 -7
- package/src/components/icons/spiegel_icons/Link.jsx +0 -17
- package/src/components/icons/spiegel_icons/Login.jsx +0 -7
- package/src/components/icons/spiegel_icons/Logora.jsx +0 -24
- package/src/components/icons/spiegel_icons/Mail.jsx +0 -7
- package/src/components/icons/spiegel_icons/MinusCircle.jsx +0 -8
- package/src/components/icons/spiegel_icons/MobileClose.jsx +0 -8
- package/src/components/icons/spiegel_icons/MobileMenu.jsx +0 -10
- package/src/components/icons/spiegel_icons/Next.jsx +0 -10
- package/src/components/icons/spiegel_icons/OpenBlank.jsx +0 -15
- package/src/components/icons/spiegel_icons/OrderedList.jsx +0 -20
- package/src/components/icons/spiegel_icons/PauseCircle.jsx +0 -8
- package/src/components/icons/spiegel_icons/Point.jsx +0 -8
- package/src/components/icons/spiegel_icons/Question.jsx +0 -17
- package/src/components/icons/spiegel_icons/Refresh.jsx +0 -7
- package/src/components/icons/spiegel_icons/Reply.jsx +0 -7
- package/src/components/icons/spiegel_icons/Search.jsx +0 -7
- package/src/components/icons/spiegel_icons/Send.jsx +0 -7
- package/src/components/icons/spiegel_icons/Share.jsx +0 -14
- package/src/components/icons/spiegel_icons/SmallArrow.jsx +0 -7
- package/src/components/icons/spiegel_icons/Source.jsx +0 -7
- package/src/components/icons/spiegel_icons/SpiegelIcons.docs.mdx +0 -21
- package/src/components/icons/spiegel_icons/SpiegelIcons.stories.jsx +0 -121
- package/src/components/icons/spiegel_icons/SpiegelIcons.test.jsx +0 -15
- package/src/components/icons/spiegel_icons/Suggestion.jsx +0 -7
- package/src/components/icons/spiegel_icons/Twitter.jsx +0 -10
- package/src/components/icons/spiegel_icons/Underline.jsx +0 -14
- package/src/components/icons/spiegel_icons/Upvote.jsx +0 -7
- package/src/components/icons/spiegel_icons/User.jsx +0 -7
- package/src/components/icons/spiegel_icons/Versus.jsx +0 -11
- package/src/components/icons/spiegel_icons/Votebox.jsx +0 -14
- package/src/components/icons/spiegel_icons/index.js +0 -51
- package/src/components/information/information_box/InformationBox.docs.mdx +0 -28
- package/src/components/information/information_box/InformationBox.jsx +0 -54
- package/src/components/information/information_box/InformationBox.module.scss +0 -92
- package/src/components/information/information_box/InformationBox.stories.jsx +0 -50
- package/src/components/information/information_box/InformationBox.test.jsx +0 -94
- package/src/components/information/information_box/index.js +0 -1
- package/src/components/input/argument_input/ArgumentInput.docs.mdx +0 -29
- package/src/components/input/argument_input/ArgumentInput.jsx +0 -420
- package/src/components/input/argument_input/ArgumentInput.module.scss +0 -166
- package/src/components/input/argument_input/ArgumentInput.stories.jsx +0 -181
- package/src/components/input/argument_input/ArgumentInput.test.jsx +0 -482
- package/src/components/input/argument_input/index.js +0 -1
- package/src/components/input/checkbox/hidden/hidden-checkbox.docs.mdx +0 -4
- package/src/components/input/checkbox/hidden/hidden-checkbox.jsx +0 -8
- package/src/components/input/checkbox/hidden/hidden-checkbox.module.scss +0 -28
- package/src/components/input/checkbox/hidden/hidden-checkbox.stories.jsx +0 -73
- package/src/components/input/checkbox/hidden/index.js +0 -1
- package/src/components/input/checkbox/indicator/checkbox-indicator.docs.mdx +0 -9
- package/src/components/input/checkbox/indicator/checkbox-indicator.jsx +0 -17
- package/src/components/input/checkbox/indicator/checkbox-indicator.module.scss +0 -26
- package/src/components/input/checkbox/indicator/checkbox-indicator.stories.jsx +0 -51
- package/src/components/input/checkbox/indicator/index.js +0 -1
- package/src/components/input/checkbox/label/checkbox-label.docs.mdx +0 -39
- package/src/components/input/checkbox/label/checkbox-label.jsx +0 -40
- package/src/components/input/checkbox/label/checkbox.stories.jsx +0 -57
- package/src/components/input/checkbox/label/index.js +0 -1
- package/src/components/input/input_provider/InputProvider.docs.mdx +0 -38
- package/src/components/input/input_provider/InputProvider.jsx +0 -16
- package/src/components/input/input_provider/InputProvider.test.jsx +0 -102
- package/src/components/input/input_provider/index.js +0 -2
- package/src/components/input/input_provider/useInput.jsx +0 -8
- package/src/components/input/search_input/SearchInput.docs.mdx +0 -25
- package/src/components/input/search_input/SearchInput.jsx +0 -71
- package/src/components/input/search_input/SearchInput.module.scss +0 -18
- package/src/components/input/search_input/SearchInput.stories.jsx +0 -45
- package/src/components/input/search_input/SearchInput.test.jsx +0 -95
- package/src/components/input/search_input/index.js +0 -1
- package/src/components/input/select/Select.docs.mdx +0 -37
- package/src/components/input/select/Select.jsx +0 -102
- package/src/components/input/select/Select.module.scss +0 -72
- package/src/components/input/select/Select.stories.jsx +0 -75
- package/src/components/input/select/Select.test.jsx +0 -136
- package/src/components/input/select/index.js +0 -1
- package/src/components/input/text_editor/EditorTheme.js +0 -71
- package/src/components/input/text_editor/TextEditor.docs.mdx +0 -31
- package/src/components/input/text_editor/TextEditor.jsx +0 -205
- package/src/components/input/text_editor/TextEditor.module.scss +0 -140
- package/src/components/input/text_editor/TextEditor.stories.jsx +0 -227
- package/src/components/input/text_editor/TextEditor.test.jsx +0 -654
- package/src/components/input/text_editor/index.js +0 -2
- package/src/components/input/text_editor/lexicalToHtml.js +0 -23
- package/src/components/input/text_editor/plugins/AutoSavePlugin.jsx +0 -37
- package/src/components/input/text_editor/plugins/FocusPlugin.jsx +0 -19
- package/src/components/input/text_editor/plugins/MaxLengthPlugin.jsx +0 -44
- package/src/components/input/text_editor/plugins/ResetPlugin.jsx +0 -35
- package/src/components/input/text_editor/plugins/SetContentPlugin.jsx +0 -24
- package/src/components/input/text_editor/plugins/SetRichContentPlugin.jsx +0 -20
- package/src/components/input/text_editor/plugins/ToolbarPlugin.jsx +0 -233
- package/src/components/input/text_editor/plugins/ToolbarPlugin.module.scss +0 -77
- package/src/components/input/text_input/TextInput.docs.mdx +0 -73
- package/src/components/input/text_input/TextInput.jsx +0 -46
- package/src/components/input/text_input/TextInput.module.scss +0 -146
- package/src/components/input/text_input/TextInput.stories.jsx +0 -101
- package/src/components/input/text_input/TextInput.test.jsx +0 -64
- package/src/components/input/text_input/color-accent.js +0 -16
- package/src/components/input/text_input/index.js +0 -3
- package/src/components/input/text_input/message.jsx +0 -12
- package/src/components/input/toggle/Toggle.docs.mdx +0 -23
- package/src/components/input/toggle/Toggle.jsx +0 -25
- package/src/components/input/toggle/Toggle.module.scss +0 -73
- package/src/components/input/toggle/Toggle.stories.jsx +0 -42
- package/src/components/input/toggle/Toggle.test.jsx +0 -39
- package/src/components/input/toggle/index.js +0 -1
- package/src/components/input/toggle_position/TogglePosition.docs.mdx +0 -20
- package/src/components/input/toggle_position/TogglePosition.jsx +0 -55
- package/src/components/input/toggle_position/TogglePosition.module.scss +0 -46
- package/src/components/input/toggle_position/TogglePosition.stories.jsx +0 -96
- package/src/components/input/toggle_position/TogglePosition.test.jsx +0 -66
- package/src/components/input/toggle_position/index.js +0 -1
- package/src/components/intl/intl_provider/IntlContext.jsx +0 -3
- package/src/components/intl/intl_provider/IntlProvider.docs.mdx +0 -37
- package/src/components/intl/intl_provider/IntlProvider.jsx +0 -92
- package/src/components/intl/intl_provider/IntlProvider.test.jsx +0 -153
- package/src/components/intl/intl_provider/index.js +0 -3
- package/src/components/intl/intl_provider/locales/en.json +0 -4
- package/src/components/intl/intl_provider/locales/es.json +0 -4
- package/src/components/intl/intl_provider/locales/fr.json +0 -6
- package/src/components/intl/intl_provider/locales/index.js +0 -11
- package/src/components/intl/intl_provider/useLocale.jsx +0 -8
- package/src/components/list/list_provider/ListProvider.docs.mdx +0 -51
- package/src/components/list/list_provider/ListProvider.jsx +0 -32
- package/src/components/list/list_provider/ListProvider.stories.jsx +0 -92
- package/src/components/list/list_provider/ListProvider.test.jsx +0 -137
- package/src/components/list/list_provider/index.js +0 -2
- package/src/components/list/list_provider/useList.jsx +0 -8
- package/src/components/list/paginated_list/PaginatedList.docs.mdx +0 -68
- package/src/components/list/paginated_list/PaginatedList.jsx +0 -397
- package/src/components/list/paginated_list/PaginatedList.module.scss +0 -88
- package/src/components/list/paginated_list/PaginatedList.stories.jsx +0 -301
- package/src/components/list/paginated_list/PaginatedList.test.jsx +0 -1335
- package/src/components/list/paginated_list/VotePaginatedList.jsx +0 -26
- package/src/components/list/paginated_list/VotePaginatedList.test.jsx +0 -1518
- package/src/components/list/paginated_list/action_bar/ActionBar.jsx +0 -132
- package/src/components/list/paginated_list/action_bar/ActionBar.module.scss +0 -81
- package/src/components/list/paginated_list/index.js +0 -3
- package/src/components/list/pagination/Pagination.docs.mdx +0 -32
- package/src/components/list/pagination/Pagination.jsx +0 -58
- package/src/components/list/pagination/Pagination.module.scss +0 -10
- package/src/components/list/pagination/Pagination.stories.jsx +0 -44
- package/src/components/list/pagination/Pagination.test.jsx +0 -80
- package/src/components/list/pagination/index.js +0 -1
- package/src/components/modal/side_modal/SideModal.docs.mdx +0 -31
- package/src/components/modal/side_modal/SideModal.jsx +0 -85
- package/src/components/modal/side_modal/SideModal.module.scss +0 -83
- package/src/components/modal/side_modal/SideModal.stories.jsx +0 -112
- package/src/components/modal/side_modal/SideModal.test.jsx +0 -36
- package/src/components/modal/side_modal/index.js +0 -1
- package/src/components/navbar/navbar_button/NavbarButton.docs.mdx +0 -37
- package/src/components/navbar/navbar_button/NavbarButton.jsx +0 -43
- package/src/components/navbar/navbar_button/NavbarButton.module.scss +0 -45
- package/src/components/navbar/navbar_button/NavbarButton.stories.jsx +0 -93
- package/src/components/navbar/navbar_button/NavbarButton.test.jsx +0 -67
- package/src/components/navbar/navbar_button/index.js +0 -1
- package/src/components/navbar/navbar_modal/NavbarModal.docs.mdx +0 -24
- package/src/components/navbar/navbar_modal/NavbarModal.jsx +0 -175
- package/src/components/navbar/navbar_modal/NavbarModal.module.scss +0 -132
- package/src/components/navbar/navbar_modal/NavbarModal.stories.jsx +0 -96
- package/src/components/navbar/navbar_modal/NavbarModal.test.jsx +0 -155
- package/src/components/navbar/navbar_modal/index.js +0 -1
- package/src/components/notification/notification_item/NotificationItem.docs.mdx +0 -35
- package/src/components/notification/notification_item/NotificationItem.jsx +0 -71
- package/src/components/notification/notification_item/NotificationItem.module.scss +0 -56
- package/src/components/notification/notification_item/NotificationItem.stories.jsx +0 -121
- package/src/components/notification/notification_item/NotificationItem.test.jsx +0 -97
- package/src/components/notification/notification_item/index.js +0 -1
- package/src/components/notification/notification_menu/NotificationMenu.docs.mdx +0 -25
- package/src/components/notification/notification_menu/NotificationMenu.jsx +0 -61
- package/src/components/notification/notification_menu/NotificationMenu.module.scss +0 -49
- package/src/components/notification/notification_menu/NotificationMenu.stories.jsx +0 -94
- package/src/components/notification/notification_menu/NotificationMenu.test.jsx +0 -131
- package/src/components/notification/notification_menu/index.js +0 -1
- package/src/components/progress/loader/Loader.docs.mdx +0 -13
- package/src/components/progress/loader/Loader.jsx +0 -9
- package/src/components/progress/loader/Loader.module.scss +0 -26
- package/src/components/progress/loader/Loader.stories.jsx +0 -11
- package/src/components/progress/loader/Loader.test.jsx +0 -11
- package/src/components/progress/loader/index.js +0 -3
- package/src/components/progress/progress_bar/ProgressBar.docs.mdx +0 -29
- package/src/components/progress/progress_bar/ProgressBar.jsx +0 -75
- package/src/components/progress/progress_bar/ProgressBar.module.scss +0 -87
- package/src/components/progress/progress_bar/ProgressBar.stories.jsx +0 -43
- package/src/components/progress/progress_bar/ProgressBar.test.jsx +0 -126
- package/src/components/progress/progress_bar/index.js +0 -1
- package/src/components/proposal/proposal_box/ProposalBox.docs.mdx +0 -39
- package/src/components/proposal/proposal_box/ProposalBox.jsx +0 -108
- package/src/components/proposal/proposal_box/ProposalBox.module.scss +0 -80
- package/src/components/proposal/proposal_box/ProposalBox.stories.jsx +0 -161
- package/src/components/proposal/proposal_box/ProposalBox.test.jsx +0 -137
- package/src/components/proposal/proposal_box/index.js +0 -1
- package/src/components/report/report_box/ReportBox.docs.mdx +0 -35
- package/src/components/report/report_box/ReportBox.jsx +0 -120
- package/src/components/report/report_box/ReportBox.module.scss +0 -54
- package/src/components/report/report_box/ReportBox.stories.jsx +0 -247
- package/src/components/report/report_box/ReportBox.test.jsx +0 -232
- package/src/components/report/report_box/index.js +0 -1
- package/src/components/section/section_box/SectionBox.docs.mdx +0 -19
- package/src/components/section/section_box/SectionBox.jsx +0 -32
- package/src/components/section/section_box/SectionBox.module.scss +0 -57
- package/src/components/section/section_box/SectionBox.stories.jsx +0 -39
- package/src/components/section/section_box/SectionBox.test.jsx +0 -44
- package/src/components/section/section_box/index.js +0 -1
- package/src/components/share/share_box/ShareBox.docs.mdx +0 -27
- package/src/components/share/share_box/ShareBox.jsx +0 -71
- package/src/components/share/share_box/ShareBox.module.scss +0 -38
- package/src/components/share/share_box/ShareBox.stories.jsx +0 -42
- package/src/components/share/share_box/ShareBox.test.jsx +0 -142
- package/src/components/share/share_box/index.js +0 -1
- package/src/components/share/share_button/ShareButton.docs.mdx +0 -26
- package/src/components/share/share_button/ShareButton.jsx +0 -102
- package/src/components/share/share_button/ShareButton.module.scss +0 -68
- package/src/components/share/share_button/ShareButton.stories.jsx +0 -51
- package/src/components/share/share_button/ShareButton.test.jsx +0 -117
- package/src/components/share/share_button/index.js +0 -1
- package/src/components/share/share_modal/ShareModal.docs.mdx +0 -29
- package/src/components/share/share_modal/ShareModal.jsx +0 -49
- package/src/components/share/share_modal/ShareModal.module.scss +0 -21
- package/src/components/share/share_modal/ShareModal.stories.jsx +0 -48
- package/src/components/share/share_modal/ShareModal.test.jsx +0 -70
- package/src/components/share/share_modal/index.js +0 -1
- package/src/components/skeleton/box_skeleton/BoxSkeleton.docs.mdx +0 -14
- package/src/components/skeleton/box_skeleton/BoxSkeleton.jsx +0 -38
- package/src/components/skeleton/box_skeleton/BoxSkeleton.stories.jsx +0 -46
- package/src/components/skeleton/box_skeleton/BoxSkeleton.test.jsx +0 -39
- package/src/components/skeleton/box_skeleton/index.js +0 -1
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.docs.mdx +0 -15
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.jsx +0 -56
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.module.scss +0 -78
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.stories.jsx +0 -44
- package/src/components/skeleton/user_content_skeleton/UserContentSkeleton.test.jsx +0 -55
- package/src/components/skeleton/user_content_skeleton/index.js +0 -1
- package/src/components/source/context_source_box/ContextSourceBox.docs.mdx +0 -27
- package/src/components/source/context_source_box/ContextSourceBox.jsx +0 -38
- package/src/components/source/context_source_box/ContextSourceBox.module.scss +0 -50
- package/src/components/source/context_source_box/ContextSourceBox.stories.jsx +0 -36
- package/src/components/source/context_source_box/ContextSourceBox.test.jsx +0 -46
- package/src/components/source/context_source_box/index.js +0 -1
- package/src/components/source/context_source_list/ContextSourceList.docs.mdx +0 -37
- package/src/components/source/context_source_list/ContextSourceList.jsx +0 -42
- package/src/components/source/context_source_list/ContextSourceList.module.scss +0 -38
- package/src/components/source/context_source_list/ContextSourceList.stories.jsx +0 -39
- package/src/components/source/context_source_list/ContextSourceList.test.jsx +0 -47
- package/src/components/source/context_source_list/index.js +0 -1
- package/src/components/source/source_box/SourceBox.docs.mdx +0 -23
- package/src/components/source/source_box/SourceBox.jsx +0 -43
- package/src/components/source/source_box/SourceBox.module.scss +0 -43
- package/src/components/source/source_box/SourceBox.stories.jsx +0 -26
- package/src/components/source/source_box/SourceBox.test.jsx +0 -30
- package/src/components/source/source_box/index.js +0 -1
- package/src/components/source/source_list_item/SourceListItem.docs.mdx +0 -23
- package/src/components/source/source_list_item/SourceListItem.jsx +0 -28
- package/src/components/source/source_list_item/SourceListItem.module.scss +0 -33
- package/src/components/source/source_list_item/SourceListItem.stories.jsx +0 -40
- package/src/components/source/source_list_item/SourceListItem.test.jsx +0 -41
- package/src/components/source/source_list_item/index.js +0 -1
- package/src/components/source/source_modal/SourceModal.docs.mdx +0 -29
- package/src/components/source/source_modal/SourceModal.jsx +0 -157
- package/src/components/source/source_modal/SourceModal.module.scss +0 -45
- package/src/components/source/source_modal/SourceModal.stories.jsx +0 -82
- package/src/components/source/source_modal/SourceModal.test.jsx +0 -180
- package/src/components/source/source_modal/index.js +0 -1
- package/src/components/styles/display/_display.scss +0 -127
- package/src/components/styles/display/display.docs.mdx +0 -8
- package/src/components/styles/display/index.scss +0 -1
- package/src/components/styles/flex/_flex.scss +0 -55
- package/src/components/styles/flex/flex.docs.mdx +0 -8
- package/src/components/styles/flex/index.scss +0 -1
- package/src/components/styles/spacing/_spacing.scss +0 -107
- package/src/components/styles/spacing/index.scss +0 -1
- package/src/components/styles/spacing/spacing.docs.mdx +0 -8
- package/src/components/styles/tabs/_tabs.scss +0 -159
- package/src/components/styles/tabs/index.scss +0 -1
- package/src/components/styles/tabs/tabs.docs.mdx +0 -8
- package/src/components/styles/theme/_theme.scss +0 -51
- package/src/components/styles/theme/index.scss +0 -1
- package/src/components/styles/theme/theme.docs.mdx +0 -89
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.docs.mdx +0 -35
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.jsx +0 -86
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.module.scss +0 -93
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.stories.jsx +0 -128
- package/src/components/suggestion/suggestion_banner/SuggestionBanner.test.jsx +0 -237
- package/src/components/suggestion/suggestion_banner/index.js +0 -1
- package/src/components/suggestion/suggestion_box/SuggestionBox.docs.mdx +0 -39
- package/src/components/suggestion/suggestion_box/SuggestionBox.jsx +0 -112
- package/src/components/suggestion/suggestion_box/SuggestionBox.module.scss +0 -55
- package/src/components/suggestion/suggestion_box/SuggestionBox.stories.jsx +0 -147
- package/src/components/suggestion/suggestion_box/SuggestionBox.test.jsx +0 -184
- package/src/components/suggestion/suggestion_box/index.js +0 -1
- package/src/components/suggestion/suggestion_input/SuggestionInput.docs.mdx +0 -19
- package/src/components/suggestion/suggestion_input/SuggestionInput.jsx +0 -212
- package/src/components/suggestion/suggestion_input/SuggestionInput.module.scss +0 -50
- package/src/components/suggestion/suggestion_input/SuggestionInput.stories.jsx +0 -87
- package/src/components/suggestion/suggestion_input/SuggestionInput.test.jsx +0 -77
- package/src/components/suggestion/suggestion_input/index.js +0 -1
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.docs.mdx +0 -19
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.jsx +0 -40
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.module.scss +0 -67
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.stories.jsx +0 -57
- package/src/components/summary/argument_summary_box/ArgumentSummaryBox.test.jsx +0 -18
- package/src/components/summary/argument_summary_box/index.js +0 -1
- package/src/components/summary/keyword_box/KeywordBox.docs.mdx +0 -21
- package/src/components/summary/keyword_box/KeywordBox.jsx +0 -43
- package/src/components/summary/keyword_box/KeywordBox.module.scss +0 -54
- package/src/components/summary/keyword_box/KeywordBox.stories.jsx +0 -49
- package/src/components/summary/keyword_box/KeywordBox.test.jsx +0 -47
- package/src/components/summary/keyword_box/index.js +0 -1
- package/src/components/summary/summary/Summary.docs.mdx +0 -23
- package/src/components/summary/summary/Summary.jsx +0 -93
- package/src/components/summary/summary/Summary.module.scss +0 -26
- package/src/components/summary/summary/Summary.stories.jsx +0 -95
- package/src/components/summary/summary/Summary.test.jsx +0 -116
- package/src/components/summary/summary/index.js +0 -1
- package/src/components/summary/summary_box/SummaryBox.docs.mdx +0 -19
- package/src/components/summary/summary_box/SummaryBox.jsx +0 -39
- package/src/components/summary/summary_box/SummaryBox.module.scss +0 -56
- package/src/components/summary/summary_box/SummaryBox.stories.jsx +0 -83
- package/src/components/summary/summary_box/SummaryBox.test.jsx +0 -47
- package/src/components/summary/summary_box/SummaryBoxComposition.module.scss +0 -3
- package/src/components/summary/summary_box/index.js +0 -1
- package/src/components/tag/tag/Tag.docs.mdx +0 -19
- package/src/components/tag/tag/Tag.jsx +0 -35
- package/src/components/tag/tag/Tag.module.scss +0 -34
- package/src/components/tag/tag/Tag.stories.jsx +0 -70
- package/src/components/tag/tag/Tag.test.jsx +0 -29
- package/src/components/tag/tag/index.js +0 -1
- package/src/components/text/expandable_text/ArrowIcon.jsx +0 -7
- package/src/components/text/expandable_text/ExpandableText.docs.mdx +0 -42
- package/src/components/text/expandable_text/ExpandableText.jsx +0 -81
- package/src/components/text/expandable_text/ExpandableText.module.scss +0 -76
- package/src/components/text/expandable_text/ExpandableText.stories.jsx +0 -63
- package/src/components/text/expandable_text/ExpandableText.test.jsx +0 -23
- package/src/components/text/expandable_text/index.js +0 -1
- package/src/components/text/read_more/ReadMore.docs.mdx +0 -23
- package/src/components/text/read_more/ReadMore.jsx +0 -104
- package/src/components/text/read_more/ReadMore.module.scss +0 -51
- package/src/components/text/read_more/ReadMore.stories.jsx +0 -141
- package/src/components/text/read_more/ReadMore.test.jsx +0 -87
- package/src/components/text/read_more/index.js +0 -1
- package/src/components/tools/hash_scroll/HashScroll.docs.mdx +0 -27
- package/src/components/tools/hash_scroll/HashScroll.jsx +0 -36
- package/src/components/tools/hash_scroll/HashScroll.test.jsx +0 -66
- package/src/components/tools/hash_scroll/index.js +0 -1
- package/src/components/tools/scroll_to_top/ScrollToTop.docs.mdx +0 -28
- package/src/components/tools/scroll_to_top/ScrollToTop.jsx +0 -22
- package/src/components/tools/scroll_to_top/ScrollToTop.stories.jsx +0 -40
- package/src/components/tools/scroll_to_top/ScrollToTop.test.jsx +0 -36
- package/src/components/tools/scroll_to_top/index.js +0 -1
- package/src/components/translation/translated_content/TranslatedContent.jsx +0 -24
- package/src/components/translation/translated_content/TranslatedContent.test.jsx +0 -30
- package/src/components/translation/translated_content/index.js +0 -3
- package/src/components/translation/translated_content/useTranslatedContent.docs.mdx +0 -80
- package/src/components/translation/translated_content/useTranslatedContent.jsx +0 -57
- package/src/components/translation/translated_content/useTranslatedContent.test.jsx +0 -118
- package/src/components/translation/translation_button/TranslationButton.docs.mdx +0 -18
- package/src/components/translation/translation_button/TranslationButton.jsx +0 -46
- package/src/components/translation/translation_button/TranslationButton.module.scss +0 -10
- package/src/components/translation/translation_button/TranslationButton.stories.jsx +0 -30
- package/src/components/translation/translation_button/TranslationButton.test.jsx +0 -35
- package/src/components/translation/translation_button/index.js +0 -1
- package/src/components/user/author_box/AuthorBox.docs.mdx +0 -35
- package/src/components/user/author_box/AuthorBox.jsx +0 -128
- package/src/components/user/author_box/AuthorBox.module.scss +0 -110
- package/src/components/user/author_box/AuthorBox.stories.jsx +0 -193
- package/src/components/user/author_box/AuthorBox.test.jsx +0 -171
- package/src/components/user/author_box/index.js +0 -1
- package/src/components/user/avatar/Avatar.docs.mdx +0 -31
- package/src/components/user/avatar/Avatar.jsx +0 -63
- package/src/components/user/avatar/Avatar.module.scss +0 -30
- package/src/components/user/avatar/Avatar.stories.jsx +0 -79
- package/src/components/user/avatar/Avatar.test.jsx +0 -114
- package/src/components/user/avatar/DefaultAvatar.jsx +0 -13
- package/src/components/user/avatar/index.js +0 -1
- package/src/components/user/avatar_selector/AvatarSelector.docs.mdx +0 -25
- package/src/components/user/avatar_selector/AvatarSelector.jsx +0 -65
- package/src/components/user/avatar_selector/AvatarSelector.module.scss +0 -105
- package/src/components/user/avatar_selector/AvatarSelector.stories.jsx +0 -46
- package/src/components/user/avatar_selector/AvatarSelector.test.jsx +0 -98
- package/src/components/user/avatar_selector/index.js +0 -1
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.docs.mdx +0 -22
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.jsx +0 -254
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss +0 -176
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.stories.jsx +0 -113
- package/src/components/user/update_user_info_modal/UpdateUserInfoModal.test.jsx +0 -213
- package/src/components/user/update_user_info_modal/index.js +0 -2
- package/src/components/user/update_user_info_modal/useUpdateUserInfo.jsx +0 -40
- package/src/components/user/user_box/UserBox.docs.mdx +0 -21
- package/src/components/user/user_box/UserBox.jsx +0 -59
- package/src/components/user/user_box/UserBox.module.scss +0 -86
- package/src/components/user/user_box/UserBox.stories.jsx +0 -82
- package/src/components/user/user_box/UserBox.test.jsx +0 -95
- package/src/components/user/user_box/index.js +0 -1
- package/src/components/user/user_box_small/UserBoxSmall.docs.mdx +0 -20
- package/src/components/user/user_box_small/UserBoxSmall.jsx +0 -36
- package/src/components/user/user_box_small/UserBoxSmall.module.scss +0 -21
- package/src/components/user/user_box_small/UserBoxSmall.stories.jsx +0 -38
- package/src/components/user/user_box_small/UserBoxSmall.test.jsx +0 -49
- package/src/components/user/user_box_small/index.js +0 -1
- package/src/components/user_content/content_footer/ContentFooter.docs.mdx +0 -36
- package/src/components/user_content/content_footer/ContentFooter.jsx +0 -234
- package/src/components/user_content/content_footer/ContentFooter.module.scss +0 -79
- package/src/components/user_content/content_footer/ContentFooter.stories.jsx +0 -438
- package/src/components/user_content/content_footer/ContentFooter.test.jsx +0 -246
- package/src/components/user_content/content_footer/index.js +0 -1
- package/src/components/user_content/content_header/ContentHeader.docs.mdx +0 -27
- package/src/components/user_content/content_header/ContentHeader.jsx +0 -131
- package/src/components/user_content/content_header/ContentHeader.module.scss +0 -111
- package/src/components/user_content/content_header/ContentHeader.stories.jsx +0 -221
- package/src/components/user_content/content_header/ContentHeader.test.jsx +0 -98
- package/src/components/user_content/content_header/index.js +0 -1
- package/src/components/user_content/summary_content_box/SummaryContentBox.docs.mdx +0 -25
- package/src/components/user_content/summary_content_box/SummaryContentBox.jsx +0 -89
- package/src/components/user_content/summary_content_box/SummaryContentBox.module.scss +0 -65
- package/src/components/user_content/summary_content_box/SummaryContentBox.stories.jsx +0 -130
- package/src/components/user_content/summary_content_box/SummaryContentBox.test.jsx +0 -169
- package/src/components/user_content/summary_content_box/index.js +0 -1
- package/src/components/user_content/use_delete_content/index.js +0 -1
- package/src/components/user_content/use_delete_content/useDeleteContent.docs.mdx +0 -34
- package/src/components/user_content/use_delete_content/useDeleteContent.jsx +0 -55
- package/src/components/user_content/use_delete_content/useDeleteContent.test.jsx +0 -78
- package/src/components/user_content/use_report_content/ReportModal.docs.mdx +0 -54
- package/src/components/user_content/use_report_content/ReportModal.jsx +0 -187
- package/src/components/user_content/use_report_content/ReportModal.module.scss +0 -121
- package/src/components/user_content/use_report_content/ReportModal.stories.jsx +0 -61
- package/src/components/user_content/use_report_content/ReportModal.test.jsx +0 -51
- package/src/components/user_content/use_report_content/index.js +0 -2
- package/src/components/user_content/use_report_content/useReportContent.docs.mdx +0 -24
- package/src/components/user_content/use_report_content/useReportContent.jsx +0 -32
- package/src/components/user_content/use_report_content/useReportContent.test.jsx +0 -138
- package/src/components/util/lang_emojis/index.js +0 -1
- package/src/components/util/lang_emojis/langEmojis.docs.mdx +0 -10
- package/src/components/util/lang_emojis/langEmojis.js +0 -72
- package/src/components/util/lang_emojis/langEmojis.test.jsx +0 -63
- package/src/components/util/location/Location.docs.mdx +0 -18
- package/src/components/util/location/Location.js +0 -84
- package/src/components/util/location/Location.test.jsx +0 -24
- package/src/components/util/location/index.js +0 -1
- package/src/components/util/unique_by/index.js +0 -1
- package/src/components/util/unique_by/uniqueBy.docs.mdx +0 -24
- package/src/components/util/unique_by/uniqueBy.js +0 -9
- package/src/components/util/unique_by/uniqueBy.test.jsx +0 -29
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.docs.mdx +0 -24
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.jsx +0 -87
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.module.scss +0 -17
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.stories.jsx +0 -97
- package/src/components/vote/suggestion_vote_box/SuggestionVoteBox.test.jsx +0 -182
- package/src/components/vote/suggestion_vote_box/index.js +0 -1
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.docs.mdx +0 -24
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.jsx +0 -64
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.module.scss +0 -35
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.stories.jsx +0 -97
- package/src/components/vote/up_down_vote_box/UpDownVoteBox.test.jsx +0 -173
- package/src/components/vote/up_down_vote_box/index.js +0 -1
- package/src/components/vote/use_vote/index.js +0 -1
- package/src/components/vote/use_vote/useVote.docs.mdx +0 -42
- package/src/components/vote/use_vote/useVote.jsx +0 -165
- package/src/components/vote/use_vote/useVote.test.jsx +0 -294
- package/src/components/vote/vote_box/VoteBox.docs.mdx +0 -45
- package/src/components/vote/vote_box/VoteBox.jsx +0 -420
- package/src/components/vote/vote_box/VoteBox.module.scss +0 -254
- package/src/components/vote/vote_box/VoteBox.stories.jsx +0 -319
- package/src/components/vote/vote_box/VoteBox.test.jsx +0 -256
- package/src/components/vote/vote_box/index.js +0 -1
- package/src/components/vote/vote_button/VoteButton.docs.mdx +0 -24
- package/src/components/vote/vote_button/VoteButton.jsx +0 -59
- package/src/components/vote/vote_button/VoteButton.module.scss +0 -35
- package/src/components/vote/vote_button/VoteButton.stories.jsx +0 -97
- package/src/components/vote/vote_button/VoteButton.test.jsx +0 -167
- package/src/components/vote/vote_button/index.js +0 -1
- package/src/components/vote/vote_provider/VoteProvider.docs.mdx +0 -68
- package/src/components/vote/vote_provider/VoteProvider.jsx +0 -63
- package/src/components/vote/vote_provider/VoteProvider.stories.jsx +0 -99
- package/src/components/vote/vote_provider/VoteProvider.test.jsx +0 -137
- package/src/components/vote/vote_provider/index.js +0 -2
- package/src/index.js +0 -127
- package/vitest.config.mjs +0 -52
- package/vitest.setup.js +0 -4
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@formatjs+icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/error.js
|
|
2
|
+
var e;
|
|
3
|
+
(function(e) {
|
|
4
|
+
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
5
|
+
})(e ||= {});
|
|
6
|
+
//#endregion
|
|
7
|
+
export { e as ErrorKind };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __assign as e } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { ErrorKind as t } from "./error.js";
|
|
3
|
+
import { isDateElement as n, isDateTimeSkeleton as r, isNumberElement as i, isNumberSkeleton as a, isPluralElement as o, isSelectElement as s, isTagElement as c, isTimeElement as l } from "./types.js";
|
|
4
|
+
import { Parser as u } from "./parser.js";
|
|
5
|
+
import "./manipulator.js";
|
|
6
|
+
//#region node_modules/.pnpm/@formatjs+icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/index.js
|
|
7
|
+
function d(e) {
|
|
8
|
+
e.forEach(function(e) {
|
|
9
|
+
if (delete e.location, s(e) || o(e)) for (var t in e.options) delete e.options[t].location, d(e.options[t].value);
|
|
10
|
+
else i(e) && a(e.style) || (n(e) || l(e)) && r(e.style) ? delete e.style.location : c(e) && d(e.children);
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function f(n, r) {
|
|
14
|
+
r === void 0 && (r = {}), r = e({
|
|
15
|
+
shouldParseSkeletons: !0,
|
|
16
|
+
requiresOtherClause: !0
|
|
17
|
+
}, r);
|
|
18
|
+
var i = new u(n, r).parse();
|
|
19
|
+
if (i.err) {
|
|
20
|
+
var a = SyntaxError(t[i.err.kind]);
|
|
21
|
+
throw a.location = i.err.location, a.originalMessage = i.err.message, a;
|
|
22
|
+
}
|
|
23
|
+
return r?.captureLocation || d(i.val), i.val;
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { f as parse };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./types.js";
|
|
@@ -0,0 +1,499 @@
|
|
|
1
|
+
import { __assign as e } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { ErrorKind as t } from "./error.js";
|
|
3
|
+
import { SKELETON_TYPE as n, TYPE as r } from "./types.js";
|
|
4
|
+
import { SPACE_SEPARATOR_REGEX as i } from "./regex.generated.js";
|
|
5
|
+
import { parseDateTimeSkeleton as a } from "../../../../../@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js";
|
|
6
|
+
import { parseNumberSkeleton as o, parseNumberSkeletonFromString as s } from "../../../../../@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/number.js";
|
|
7
|
+
import { getBestPattern as c } from "./date-time-pattern-generator.js";
|
|
8
|
+
//#region node_modules/.pnpm/@formatjs+icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js
|
|
9
|
+
var l = RegExp(`^${i.source}*`), u = RegExp(`${i.source}*\$`);
|
|
10
|
+
function d(e, t) {
|
|
11
|
+
return {
|
|
12
|
+
start: e,
|
|
13
|
+
end: t
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
var f = !!String.prototype.startsWith && "_a".startsWith("a", 1), p = !!String.fromCodePoint, m = !!Object.fromEntries, h = !!String.prototype.codePointAt, g = !!String.prototype.trimStart, _ = !!String.prototype.trimEnd, v = Number.isSafeInteger ? Number.isSafeInteger : function(e) {
|
|
17
|
+
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
18
|
+
}, y = !0;
|
|
19
|
+
try {
|
|
20
|
+
y = E("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu").exec("a")?.[0] === "a";
|
|
21
|
+
} catch {
|
|
22
|
+
y = !1;
|
|
23
|
+
}
|
|
24
|
+
var b = f ? function(e, t, n) {
|
|
25
|
+
return e.startsWith(t, n);
|
|
26
|
+
} : function(e, t, n) {
|
|
27
|
+
return e.slice(n, n + t.length) === t;
|
|
28
|
+
}, x = p ? String.fromCodePoint : function() {
|
|
29
|
+
for (var e = [...arguments], t = "", n = e.length, r = 0, i; n > r;) {
|
|
30
|
+
if (i = e[r++], i > 1114111) throw RangeError(i + " is not a valid code point");
|
|
31
|
+
t += i < 65536 ? String.fromCharCode(i) : String.fromCharCode(((i -= 65536) >> 10) + 55296, i % 1024 + 56320);
|
|
32
|
+
}
|
|
33
|
+
return t;
|
|
34
|
+
}, S = m ? Object.fromEntries : function(e) {
|
|
35
|
+
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
36
|
+
var i = r[n], a = i[0];
|
|
37
|
+
t[a] = i[1];
|
|
38
|
+
}
|
|
39
|
+
return t;
|
|
40
|
+
}, C = h ? function(e, t) {
|
|
41
|
+
return e.codePointAt(t);
|
|
42
|
+
} : function(e, t) {
|
|
43
|
+
var n = e.length;
|
|
44
|
+
if (!(t < 0 || t >= n)) {
|
|
45
|
+
var r = e.charCodeAt(t), i;
|
|
46
|
+
return r < 55296 || r > 56319 || t + 1 === n || (i = e.charCodeAt(t + 1)) < 56320 || i > 57343 ? r : (r - 55296 << 10) + (i - 56320) + 65536;
|
|
47
|
+
}
|
|
48
|
+
}, w = g ? function(e) {
|
|
49
|
+
return e.trimStart();
|
|
50
|
+
} : function(e) {
|
|
51
|
+
return e.replace(l, "");
|
|
52
|
+
}, T = _ ? function(e) {
|
|
53
|
+
return e.trimEnd();
|
|
54
|
+
} : function(e) {
|
|
55
|
+
return e.replace(u, "");
|
|
56
|
+
};
|
|
57
|
+
function E(e, t) {
|
|
58
|
+
return new RegExp(e, t);
|
|
59
|
+
}
|
|
60
|
+
var D;
|
|
61
|
+
if (y) {
|
|
62
|
+
var O = E("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
63
|
+
D = function(e, t) {
|
|
64
|
+
return O.lastIndex = t, O.exec(e)[1] ?? "";
|
|
65
|
+
};
|
|
66
|
+
} else D = function(e, t) {
|
|
67
|
+
for (var n = [];;) {
|
|
68
|
+
var r = C(e, t);
|
|
69
|
+
if (r === void 0 || N(r) || P(r)) break;
|
|
70
|
+
n.push(r), t += r >= 65536 ? 2 : 1;
|
|
71
|
+
}
|
|
72
|
+
return x.apply(void 0, n);
|
|
73
|
+
};
|
|
74
|
+
var k = function() {
|
|
75
|
+
function i(e, t) {
|
|
76
|
+
t === void 0 && (t = {}), this.message = e, this.position = {
|
|
77
|
+
offset: 0,
|
|
78
|
+
line: 1,
|
|
79
|
+
column: 1
|
|
80
|
+
}, this.ignoreTag = !!t.ignoreTag, this.locale = t.locale, this.requiresOtherClause = !!t.requiresOtherClause, this.shouldParseSkeletons = !!t.shouldParseSkeletons;
|
|
81
|
+
}
|
|
82
|
+
return i.prototype.parse = function() {
|
|
83
|
+
if (this.offset() !== 0) throw Error("parser can only be used once");
|
|
84
|
+
return this.parseMessage(0, "", !1);
|
|
85
|
+
}, i.prototype.parseMessage = function(e, n, i) {
|
|
86
|
+
for (var a = []; !this.isEOF();) {
|
|
87
|
+
var o = this.char();
|
|
88
|
+
if (o === 123) {
|
|
89
|
+
var s = this.parseArgument(e, i);
|
|
90
|
+
if (s.err) return s;
|
|
91
|
+
a.push(s.val);
|
|
92
|
+
} else if (o === 125 && e > 0) break;
|
|
93
|
+
else if (o === 35 && (n === "plural" || n === "selectordinal")) {
|
|
94
|
+
var c = this.clonePosition();
|
|
95
|
+
this.bump(), a.push({
|
|
96
|
+
type: r.pound,
|
|
97
|
+
location: d(c, this.clonePosition())
|
|
98
|
+
});
|
|
99
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
100
|
+
if (i) break;
|
|
101
|
+
return this.error(t.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
|
|
102
|
+
} else if (o === 60 && !this.ignoreTag && A(this.peek() || 0)) {
|
|
103
|
+
var s = this.parseTag(e, n);
|
|
104
|
+
if (s.err) return s;
|
|
105
|
+
a.push(s.val);
|
|
106
|
+
} else {
|
|
107
|
+
var s = this.parseLiteral(e, n);
|
|
108
|
+
if (s.err) return s;
|
|
109
|
+
a.push(s.val);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return {
|
|
113
|
+
val: a,
|
|
114
|
+
err: null
|
|
115
|
+
};
|
|
116
|
+
}, i.prototype.parseTag = function(e, n) {
|
|
117
|
+
var i = this.clonePosition();
|
|
118
|
+
this.bump();
|
|
119
|
+
var a = this.parseTagName();
|
|
120
|
+
if (this.bumpSpace(), this.bumpIf("/>")) return {
|
|
121
|
+
val: {
|
|
122
|
+
type: r.literal,
|
|
123
|
+
value: `<${a}/>`,
|
|
124
|
+
location: d(i, this.clonePosition())
|
|
125
|
+
},
|
|
126
|
+
err: null
|
|
127
|
+
};
|
|
128
|
+
if (this.bumpIf(">")) {
|
|
129
|
+
var o = this.parseMessage(e + 1, n, !0);
|
|
130
|
+
if (o.err) return o;
|
|
131
|
+
var s = o.val, c = this.clonePosition();
|
|
132
|
+
if (this.bumpIf("</")) {
|
|
133
|
+
if (this.isEOF() || !A(this.char())) return this.error(t.INVALID_TAG, d(c, this.clonePosition()));
|
|
134
|
+
var l = this.clonePosition();
|
|
135
|
+
return a === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
|
|
136
|
+
val: {
|
|
137
|
+
type: r.tag,
|
|
138
|
+
value: a,
|
|
139
|
+
children: s,
|
|
140
|
+
location: d(i, this.clonePosition())
|
|
141
|
+
},
|
|
142
|
+
err: null
|
|
143
|
+
} : this.error(t.INVALID_TAG, d(c, this.clonePosition()))) : this.error(t.UNMATCHED_CLOSING_TAG, d(l, this.clonePosition()));
|
|
144
|
+
} else return this.error(t.UNCLOSED_TAG, d(i, this.clonePosition()));
|
|
145
|
+
} else return this.error(t.INVALID_TAG, d(i, this.clonePosition()));
|
|
146
|
+
}, i.prototype.parseTagName = function() {
|
|
147
|
+
var e = this.offset();
|
|
148
|
+
for (this.bump(); !this.isEOF() && M(this.char());) this.bump();
|
|
149
|
+
return this.message.slice(e, this.offset());
|
|
150
|
+
}, i.prototype.parseLiteral = function(e, t) {
|
|
151
|
+
for (var n = this.clonePosition(), i = "";;) {
|
|
152
|
+
var a = this.tryParseQuote(t);
|
|
153
|
+
if (a) {
|
|
154
|
+
i += a;
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
157
|
+
var o = this.tryParseUnquoted(e, t);
|
|
158
|
+
if (o) {
|
|
159
|
+
i += o;
|
|
160
|
+
continue;
|
|
161
|
+
}
|
|
162
|
+
var s = this.tryParseLeftAngleBracket();
|
|
163
|
+
if (s) {
|
|
164
|
+
i += s;
|
|
165
|
+
continue;
|
|
166
|
+
}
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
var c = d(n, this.clonePosition());
|
|
170
|
+
return {
|
|
171
|
+
val: {
|
|
172
|
+
type: r.literal,
|
|
173
|
+
value: i,
|
|
174
|
+
location: c
|
|
175
|
+
},
|
|
176
|
+
err: null
|
|
177
|
+
};
|
|
178
|
+
}, i.prototype.tryParseLeftAngleBracket = function() {
|
|
179
|
+
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !j(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
180
|
+
}, i.prototype.tryParseQuote = function(e) {
|
|
181
|
+
if (this.isEOF() || this.char() !== 39) return null;
|
|
182
|
+
switch (this.peek()) {
|
|
183
|
+
case 39: return this.bump(), this.bump(), "'";
|
|
184
|
+
case 123:
|
|
185
|
+
case 60:
|
|
186
|
+
case 62:
|
|
187
|
+
case 125: break;
|
|
188
|
+
case 35:
|
|
189
|
+
if (e === "plural" || e === "selectordinal") break;
|
|
190
|
+
return null;
|
|
191
|
+
default: return null;
|
|
192
|
+
}
|
|
193
|
+
this.bump();
|
|
194
|
+
var t = [this.char()];
|
|
195
|
+
for (this.bump(); !this.isEOF();) {
|
|
196
|
+
var n = this.char();
|
|
197
|
+
if (n === 39) if (this.peek() === 39) t.push(39), this.bump();
|
|
198
|
+
else {
|
|
199
|
+
this.bump();
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
else t.push(n);
|
|
203
|
+
this.bump();
|
|
204
|
+
}
|
|
205
|
+
return x.apply(void 0, t);
|
|
206
|
+
}, i.prototype.tryParseUnquoted = function(e, t) {
|
|
207
|
+
if (this.isEOF()) return null;
|
|
208
|
+
var n = this.char();
|
|
209
|
+
return n === 60 || n === 123 || n === 35 && (t === "plural" || t === "selectordinal") || n === 125 && e > 0 ? null : (this.bump(), x(n));
|
|
210
|
+
}, i.prototype.parseArgument = function(e, n) {
|
|
211
|
+
var i = this.clonePosition();
|
|
212
|
+
if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(t.EXPECT_ARGUMENT_CLOSING_BRACE, d(i, this.clonePosition()));
|
|
213
|
+
if (this.char() === 125) return this.bump(), this.error(t.EMPTY_ARGUMENT, d(i, this.clonePosition()));
|
|
214
|
+
var a = this.parseIdentifierIfPossible().value;
|
|
215
|
+
if (!a) return this.error(t.MALFORMED_ARGUMENT, d(i, this.clonePosition()));
|
|
216
|
+
if (this.bumpSpace(), this.isEOF()) return this.error(t.EXPECT_ARGUMENT_CLOSING_BRACE, d(i, this.clonePosition()));
|
|
217
|
+
switch (this.char()) {
|
|
218
|
+
case 125: return this.bump(), {
|
|
219
|
+
val: {
|
|
220
|
+
type: r.argument,
|
|
221
|
+
value: a,
|
|
222
|
+
location: d(i, this.clonePosition())
|
|
223
|
+
},
|
|
224
|
+
err: null
|
|
225
|
+
};
|
|
226
|
+
case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(t.EXPECT_ARGUMENT_CLOSING_BRACE, d(i, this.clonePosition())) : this.parseArgumentOptions(e, n, a, i);
|
|
227
|
+
default: return this.error(t.MALFORMED_ARGUMENT, d(i, this.clonePosition()));
|
|
228
|
+
}
|
|
229
|
+
}, i.prototype.parseIdentifierIfPossible = function() {
|
|
230
|
+
var e = this.clonePosition(), t = this.offset(), n = D(this.message, t), r = t + n.length;
|
|
231
|
+
return this.bumpTo(r), {
|
|
232
|
+
value: n,
|
|
233
|
+
location: d(e, this.clonePosition())
|
|
234
|
+
};
|
|
235
|
+
}, i.prototype.parseArgumentOptions = function(i, o, s, l) {
|
|
236
|
+
var u = this.clonePosition(), f = this.parseIdentifierIfPossible().value, p = this.clonePosition();
|
|
237
|
+
switch (f) {
|
|
238
|
+
case "": return this.error(t.EXPECT_ARGUMENT_TYPE, d(u, p));
|
|
239
|
+
case "number":
|
|
240
|
+
case "date":
|
|
241
|
+
case "time":
|
|
242
|
+
this.bumpSpace();
|
|
243
|
+
var m = null;
|
|
244
|
+
if (this.bumpIf(",")) {
|
|
245
|
+
this.bumpSpace();
|
|
246
|
+
var h = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
|
|
247
|
+
if (g.err) return g;
|
|
248
|
+
var _ = T(g.val);
|
|
249
|
+
if (_.length === 0) return this.error(t.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
|
|
250
|
+
m = {
|
|
251
|
+
style: _,
|
|
252
|
+
styleLocation: d(h, this.clonePosition())
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
var v = this.tryParseArgumentClose(l);
|
|
256
|
+
if (v.err) return v;
|
|
257
|
+
var y = d(l, this.clonePosition());
|
|
258
|
+
if (m && b(m?.style, "::", 0)) {
|
|
259
|
+
var x = w(m.style.slice(2));
|
|
260
|
+
if (f === "number") {
|
|
261
|
+
var g = this.parseNumberSkeletonFromString(x, m.styleLocation);
|
|
262
|
+
return g.err ? g : {
|
|
263
|
+
val: {
|
|
264
|
+
type: r.number,
|
|
265
|
+
value: s,
|
|
266
|
+
location: y,
|
|
267
|
+
style: g.val
|
|
268
|
+
},
|
|
269
|
+
err: null
|
|
270
|
+
};
|
|
271
|
+
} else {
|
|
272
|
+
if (x.length === 0) return this.error(t.EXPECT_DATE_TIME_SKELETON, y);
|
|
273
|
+
var C = x;
|
|
274
|
+
this.locale && (C = c(x, this.locale));
|
|
275
|
+
var _ = {
|
|
276
|
+
type: n.dateTime,
|
|
277
|
+
pattern: C,
|
|
278
|
+
location: m.styleLocation,
|
|
279
|
+
parsedOptions: this.shouldParseSkeletons ? a(C) : {}
|
|
280
|
+
};
|
|
281
|
+
return {
|
|
282
|
+
val: {
|
|
283
|
+
type: f === "date" ? r.date : r.time,
|
|
284
|
+
value: s,
|
|
285
|
+
location: y,
|
|
286
|
+
style: _
|
|
287
|
+
},
|
|
288
|
+
err: null
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
return {
|
|
293
|
+
val: {
|
|
294
|
+
type: f === "number" ? r.number : f === "date" ? r.date : r.time,
|
|
295
|
+
value: s,
|
|
296
|
+
location: y,
|
|
297
|
+
style: m?.style ?? null
|
|
298
|
+
},
|
|
299
|
+
err: null
|
|
300
|
+
};
|
|
301
|
+
case "plural":
|
|
302
|
+
case "selectordinal":
|
|
303
|
+
case "select":
|
|
304
|
+
var E = this.clonePosition();
|
|
305
|
+
if (this.bumpSpace(), !this.bumpIf(",")) return this.error(t.EXPECT_SELECT_ARGUMENT_OPTIONS, d(E, e({}, E)));
|
|
306
|
+
this.bumpSpace();
|
|
307
|
+
var D = this.parseIdentifierIfPossible(), O = 0;
|
|
308
|
+
if (f !== "select" && D.value === "offset") {
|
|
309
|
+
if (!this.bumpIf(":")) return this.error(t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
|
|
310
|
+
this.bumpSpace();
|
|
311
|
+
var g = this.tryParseDecimalInteger(t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
312
|
+
if (g.err) return g;
|
|
313
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), O = g.val;
|
|
314
|
+
}
|
|
315
|
+
var k = this.tryParsePluralOrSelectOptions(i, f, o, D);
|
|
316
|
+
if (k.err) return k;
|
|
317
|
+
var v = this.tryParseArgumentClose(l);
|
|
318
|
+
if (v.err) return v;
|
|
319
|
+
var A = d(l, this.clonePosition());
|
|
320
|
+
return f === "select" ? {
|
|
321
|
+
val: {
|
|
322
|
+
type: r.select,
|
|
323
|
+
value: s,
|
|
324
|
+
options: S(k.val),
|
|
325
|
+
location: A
|
|
326
|
+
},
|
|
327
|
+
err: null
|
|
328
|
+
} : {
|
|
329
|
+
val: {
|
|
330
|
+
type: r.plural,
|
|
331
|
+
value: s,
|
|
332
|
+
options: S(k.val),
|
|
333
|
+
offset: O,
|
|
334
|
+
pluralType: f === "plural" ? "cardinal" : "ordinal",
|
|
335
|
+
location: A
|
|
336
|
+
},
|
|
337
|
+
err: null
|
|
338
|
+
};
|
|
339
|
+
default: return this.error(t.INVALID_ARGUMENT_TYPE, d(u, p));
|
|
340
|
+
}
|
|
341
|
+
}, i.prototype.tryParseArgumentClose = function(e) {
|
|
342
|
+
return this.isEOF() || this.char() !== 125 ? this.error(t.EXPECT_ARGUMENT_CLOSING_BRACE, d(e, this.clonePosition())) : (this.bump(), {
|
|
343
|
+
val: !0,
|
|
344
|
+
err: null
|
|
345
|
+
});
|
|
346
|
+
}, i.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
347
|
+
for (var e = 0, n = this.clonePosition(); !this.isEOF();) switch (this.char()) {
|
|
348
|
+
case 39:
|
|
349
|
+
this.bump();
|
|
350
|
+
var r = this.clonePosition();
|
|
351
|
+
if (!this.bumpUntil("'")) return this.error(t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(r, this.clonePosition()));
|
|
352
|
+
this.bump();
|
|
353
|
+
break;
|
|
354
|
+
case 123:
|
|
355
|
+
e += 1, this.bump();
|
|
356
|
+
break;
|
|
357
|
+
case 125:
|
|
358
|
+
if (e > 0) --e;
|
|
359
|
+
else return {
|
|
360
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
361
|
+
err: null
|
|
362
|
+
};
|
|
363
|
+
break;
|
|
364
|
+
default:
|
|
365
|
+
this.bump();
|
|
366
|
+
break;
|
|
367
|
+
}
|
|
368
|
+
return {
|
|
369
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
370
|
+
err: null
|
|
371
|
+
};
|
|
372
|
+
}, i.prototype.parseNumberSkeletonFromString = function(e, r) {
|
|
373
|
+
var i = [];
|
|
374
|
+
try {
|
|
375
|
+
i = s(e);
|
|
376
|
+
} catch {
|
|
377
|
+
return this.error(t.INVALID_NUMBER_SKELETON, r);
|
|
378
|
+
}
|
|
379
|
+
return {
|
|
380
|
+
val: {
|
|
381
|
+
type: n.number,
|
|
382
|
+
tokens: i,
|
|
383
|
+
location: r,
|
|
384
|
+
parsedOptions: this.shouldParseSkeletons ? o(i) : {}
|
|
385
|
+
},
|
|
386
|
+
err: null
|
|
387
|
+
};
|
|
388
|
+
}, i.prototype.tryParsePluralOrSelectOptions = function(e, n, r, i) {
|
|
389
|
+
for (var a, o = !1, s = [], c = /* @__PURE__ */ new Set(), l = i.value, u = i.location;;) {
|
|
390
|
+
if (l.length === 0) {
|
|
391
|
+
var f = this.clonePosition();
|
|
392
|
+
if (n !== "select" && this.bumpIf("=")) {
|
|
393
|
+
var p = this.tryParseDecimalInteger(t.EXPECT_PLURAL_ARGUMENT_SELECTOR, t.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
394
|
+
if (p.err) return p;
|
|
395
|
+
u = d(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
|
|
396
|
+
} else break;
|
|
397
|
+
}
|
|
398
|
+
if (c.has(l)) return this.error(n === "select" ? t.DUPLICATE_SELECT_ARGUMENT_SELECTOR : t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
399
|
+
l === "other" && (o = !0), this.bumpSpace();
|
|
400
|
+
var m = this.clonePosition();
|
|
401
|
+
if (!this.bumpIf("{")) return this.error(n === "select" ? t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
|
|
402
|
+
var h = this.parseMessage(e + 1, n, r);
|
|
403
|
+
if (h.err) return h;
|
|
404
|
+
var g = this.tryParseArgumentClose(m);
|
|
405
|
+
if (g.err) return g;
|
|
406
|
+
s.push([l, {
|
|
407
|
+
value: h.val,
|
|
408
|
+
location: d(m, this.clonePosition())
|
|
409
|
+
}]), c.add(l), this.bumpSpace(), a = this.parseIdentifierIfPossible(), l = a.value, u = a.location;
|
|
410
|
+
}
|
|
411
|
+
return s.length === 0 ? this.error(n === "select" ? t.EXPECT_SELECT_ARGUMENT_SELECTOR : t.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(t.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : {
|
|
412
|
+
val: s,
|
|
413
|
+
err: null
|
|
414
|
+
};
|
|
415
|
+
}, i.prototype.tryParseDecimalInteger = function(e, t) {
|
|
416
|
+
var n = 1, r = this.clonePosition();
|
|
417
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
418
|
+
for (var i = !1, a = 0; !this.isEOF();) {
|
|
419
|
+
var o = this.char();
|
|
420
|
+
if (o >= 48 && o <= 57) i = !0, a = a * 10 + (o - 48), this.bump();
|
|
421
|
+
else break;
|
|
422
|
+
}
|
|
423
|
+
var s = d(r, this.clonePosition());
|
|
424
|
+
return i ? (a *= n, v(a) ? {
|
|
425
|
+
val: a,
|
|
426
|
+
err: null
|
|
427
|
+
} : this.error(t, s)) : this.error(e, s);
|
|
428
|
+
}, i.prototype.offset = function() {
|
|
429
|
+
return this.position.offset;
|
|
430
|
+
}, i.prototype.isEOF = function() {
|
|
431
|
+
return this.offset() === this.message.length;
|
|
432
|
+
}, i.prototype.clonePosition = function() {
|
|
433
|
+
return {
|
|
434
|
+
offset: this.position.offset,
|
|
435
|
+
line: this.position.line,
|
|
436
|
+
column: this.position.column
|
|
437
|
+
};
|
|
438
|
+
}, i.prototype.char = function() {
|
|
439
|
+
var e = this.position.offset;
|
|
440
|
+
if (e >= this.message.length) throw Error("out of bound");
|
|
441
|
+
var t = C(this.message, e);
|
|
442
|
+
if (t === void 0) throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);
|
|
443
|
+
return t;
|
|
444
|
+
}, i.prototype.error = function(e, t) {
|
|
445
|
+
return {
|
|
446
|
+
val: null,
|
|
447
|
+
err: {
|
|
448
|
+
kind: e,
|
|
449
|
+
message: this.message,
|
|
450
|
+
location: t
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
}, i.prototype.bump = function() {
|
|
454
|
+
if (!this.isEOF()) {
|
|
455
|
+
var e = this.char();
|
|
456
|
+
e === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += e < 65536 ? 1 : 2);
|
|
457
|
+
}
|
|
458
|
+
}, i.prototype.bumpIf = function(e) {
|
|
459
|
+
if (b(this.message, e, this.offset())) {
|
|
460
|
+
for (var t = 0; t < e.length; t++) this.bump();
|
|
461
|
+
return !0;
|
|
462
|
+
}
|
|
463
|
+
return !1;
|
|
464
|
+
}, i.prototype.bumpUntil = function(e) {
|
|
465
|
+
var t = this.offset(), n = this.message.indexOf(e, t);
|
|
466
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
467
|
+
}, i.prototype.bumpTo = function(e) {
|
|
468
|
+
if (this.offset() > e) throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);
|
|
469
|
+
for (e = Math.min(e, this.message.length);;) {
|
|
470
|
+
var t = this.offset();
|
|
471
|
+
if (t === e) break;
|
|
472
|
+
if (t > e) throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);
|
|
473
|
+
if (this.bump(), this.isEOF()) break;
|
|
474
|
+
}
|
|
475
|
+
}, i.prototype.bumpSpace = function() {
|
|
476
|
+
for (; !this.isEOF() && N(this.char());) this.bump();
|
|
477
|
+
}, i.prototype.peek = function() {
|
|
478
|
+
if (this.isEOF()) return null;
|
|
479
|
+
var e = this.char(), t = this.offset();
|
|
480
|
+
return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
|
|
481
|
+
}, i;
|
|
482
|
+
}();
|
|
483
|
+
function A(e) {
|
|
484
|
+
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
485
|
+
}
|
|
486
|
+
function j(e) {
|
|
487
|
+
return A(e) || e === 47;
|
|
488
|
+
}
|
|
489
|
+
function M(e) {
|
|
490
|
+
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
491
|
+
}
|
|
492
|
+
function N(e) {
|
|
493
|
+
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
494
|
+
}
|
|
495
|
+
function P(e) {
|
|
496
|
+
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
497
|
+
}
|
|
498
|
+
//#endregion
|
|
499
|
+
export { k as Parser };
|