@logora/debate 0.4.41 → 0.4.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/components/action/back_link/BackLink.module-nMAM5nvb.css +1 -0
- package/dist/assets/components/action/button/Button.module-BXkLuURK.css +1 -0
- package/dist/assets/components/action/icon_text_link/IconTextLink.module-B5PF-MMK.css +1 -0
- package/dist/assets/components/argument/argument/Argument.module-QZdPjj_i.css +1 -0
- package/dist/assets/components/argument/argument/ReplyFooter.module-x9Xlkt3Z.css +1 -0
- package/dist/assets/components/auth/sso_form/SSOForm.module-D5v2TrOv.css +1 -0
- package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-DjNiVt-p.css +1 -0
- package/dist/assets/components/debate/debate_box/DebateBox.module-DTLafpl4.css +1 -0
- package/dist/assets/components/dialog/dialog_box/DialogBox.module-DKztqqmb.css +1 -0
- package/dist/assets/components/dialog/dropdown/Dropdown.module-FG2Sqrqs.css +1 -0
- package/dist/assets/components/dialog/modal/Modal.module-CIj-xCzY.css +1 -0
- package/dist/assets/components/dialog/toast/Toast.module-DJ2wSlJT.css +1 -0
- package/dist/assets/components/dialog/tooltip/Tooltip.module-zMXumgnX.css +1 -0
- package/dist/assets/components/embed/embed_header/EmbedHeader.module-CoyRY_jw.css +1 -0
- package/dist/assets/components/follow/follow_button/FollowButton.module-C9YXM8AM.css +1 -0
- package/dist/assets/components/gamification/badge_box/BadgeBox.module-BnskGH9b.css +1 -0
- package/dist/assets/components/gamification/point_box/{PointBox.module-Dj6cCgSB.css → PointBox.module-BlHdQyht.css} +1 -1
- package/dist/assets/components/information/information_box/InformationBox.module-B_MiEPn7.css +1 -0
- package/dist/assets/components/input/text_editor/TextEditor.module-CxuSL3l3.css +1 -0
- package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-CbPmMciY.css +1 -0
- package/dist/assets/components/input/toggle_position/TogglePosition.module-DDIigbfA.css +1 -0
- package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-DvwCbS9k.css +1 -0
- package/dist/assets/components/navigation/tabs/Tabs.module-CtDi0tAd.css +1 -0
- package/dist/assets/components/notification/notification_item/NotificationItem.module-BWdhgSy4.css +1 -0
- package/dist/assets/components/notification/notification_menu/NotificationMenu.module-BQwbvRIV.css +1 -0
- package/dist/assets/components/progress/progress_bar/ProgressBar.module-Dy-27Wf9.css +1 -0
- package/dist/assets/components/proposal/proposal_box/ProposalBox.module-Dm8XDnr1.css +1 -0
- package/dist/assets/components/section/section_box/SectionBox.module-qQs4B6bf.css +1 -0
- package/dist/assets/components/share/share_button/{ShareButton.module-BnVEYTzr.css → ShareButton.module-BS6STEUD.css} +1 -1
- package/dist/assets/components/skeleton/user_content_skeleton/UserContentSkeleton.module-DhZm1xTr.css +1 -0
- package/dist/assets/components/source/context_source_box/ContextSourceBox.module-78Gxjx0w.css +1 -0
- package/dist/assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css +1 -0
- package/dist/assets/components/source/source_box/SourceBox.module-Cu_m3E85.css +1 -0
- package/dist/assets/components/source/source_list_item/SourceListItem.module-fm_uHuY4.css +1 -0
- package/dist/assets/components/suggestion/suggestion_banner/SuggestionBanner.module-D37NVZLS.css +1 -0
- package/dist/assets/components/suggestion/suggestion_box/SuggestionBox.module-DHxoF0oe.css +1 -0
- package/dist/assets/components/suggestion/suggestion_input/SuggestionInput.module-BsEj7sF3.css +1 -0
- package/dist/assets/components/summary/argument_summary_box/ArgumentSummaryBox.module-DLcsyMSD.css +1 -0
- package/dist/assets/components/summary/keyword_box/KeywordBox.module-DHkYfW0l.css +1 -0
- package/dist/assets/components/summary/summary_box/SummaryBox.module-Dr9PevSJ.css +1 -0
- package/dist/assets/components/text/read_more/ReadMore.module-Ni_Mm8o8.css +1 -0
- package/dist/assets/components/user/author_box/AuthorBox.module-CbH2S-MT.css +1 -0
- package/dist/assets/components/user/update_user_info_modal/UpdateUserInfoModal.module-DJym6u4r.css +1 -0
- package/dist/assets/components/user/user_box/UserBox.module-DGKK1afI.css +1 -0
- package/dist/assets/components/user/user_box_small/UserBoxSmall.module-ibAw9gGE.css +1 -0
- package/dist/assets/components/user_content/content_footer/ContentFooter.module-ax3j7VNT.css +1 -0
- package/dist/assets/components/user_content/content_header/ContentHeader.module-B0VwpU-R.css +1 -0
- package/dist/assets/components/user_content/summary_content_box/SummaryContentBox.module-DdzWnPjq.css +1 -0
- package/dist/assets/components/user_content/use_report_content/ReportModal.module-BxF-D5C5.css +1 -0
- package/dist/assets/components/vote/suggestion_vote_box/SuggestionVoteBox.module-CZeQKWIw.css +1 -0
- package/dist/assets/components/vote/vote_box/VoteBox.module-D5sSSHpi.css +1 -0
- package/dist/assets/components/vote/vote_button/VoteButton.module-aP9ZrGSd.css +1 -0
- package/dist/components/action/back_link/BackLink.module.scss.js +1 -1
- package/dist/components/action/button/Button.module.scss.js +9 -9
- package/dist/components/action/icon_text_link/IconTextLink.module.scss.js +2 -2
- package/dist/components/argument/argument/Argument.js +112 -120
- package/dist/components/argument/argument/Argument.module.scss.js +40 -40
- package/dist/components/argument/argument/ReplyFooter.module.scss.js +8 -8
- package/dist/components/auth/auth_initializer/AuthInitializer.js +41 -59
- package/dist/components/auth/providers/FormAuth.js +3 -6
- package/dist/components/auth/providers/PasswordAuth.js +6 -6
- package/dist/components/auth/sso_form/SSOForm.module.scss.js +20 -20
- package/dist/components/auth/use_auth/useAuthActions.js +24 -24
- package/dist/components/consultation/consultation_box/ConsultationBox.js +3 -4
- package/dist/components/consultation/consultation_box/ConsultationBox.module.scss.js +25 -25
- package/dist/components/debate/debate_box/DebateBox.module.scss.js +20 -20
- package/dist/components/dialog/dialog_box/DialogBox.module.scss.js +14 -14
- package/dist/components/dialog/dropdown/Dropdown.js +17 -19
- package/dist/components/dialog/dropdown/Dropdown.module.scss.js +13 -17
- package/dist/components/dialog/modal/Modal.module.scss.js +9 -9
- package/dist/components/dialog/toast/Toast.module.scss.js +18 -18
- package/dist/components/dialog/tooltip/Tooltip.module.scss.js +8 -8
- package/dist/components/embed/embed_header/EmbedHeader.module.scss.js +18 -18
- package/dist/components/follow/follow_button/FollowButton.module.scss.js +1 -1
- package/dist/components/forms/use_form_validation/useFormValidation.js +1 -1
- package/dist/components/gamification/badge_box/BadgeBox.module.scss.js +18 -18
- package/dist/components/gamification/point_box/PointBox.module.scss.js +1 -1
- package/dist/components/information/information_box/InformationBox.module.scss.js +4 -4
- package/dist/components/input/argument_input/ArgumentInput.js +167 -172
- package/dist/components/input/text_editor/TextEditor.js +47 -49
- package/dist/components/input/text_editor/TextEditor.module.scss.js +28 -28
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +94 -143
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.scss.js +19 -19
- package/dist/components/input/toggle_position/TogglePosition.module.scss.js +4 -4
- package/dist/components/list/paginated_list/PaginatedList.js +124 -134
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.scss.js +12 -12
- package/dist/components/navbar/navbar_modal/NavbarModal.js +14 -14
- package/dist/components/navigation/tabs/Tabs.js +24 -85
- package/dist/components/navigation/tabs/Tabs.module.scss.js +9 -19
- package/dist/components/notification/notification_item/NotificationItem.module.scss.js +5 -5
- package/dist/components/notification/notification_menu/NotificationMenu.module.scss.js +2 -2
- package/dist/components/progress/progress_bar/ProgressBar.module.scss.js +10 -10
- package/dist/components/proposal/proposal_box/ProposalBox.js +56 -58
- package/dist/components/proposal/proposal_box/ProposalBox.module.scss.js +1 -1
- package/dist/components/section/section_box/SectionBox.module.scss.js +12 -12
- package/dist/components/share/share_button/ShareButton.js +24 -26
- package/dist/components/share/share_button/ShareButton.module.scss.js +3 -5
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.scss.js +4 -4
- package/dist/components/source/context_source_box/ContextSourceBox.module.scss.js +4 -4
- package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +5 -5
- package/dist/components/source/source_box/SourceBox.module.scss.js +8 -8
- package/dist/components/source/source_list_item/SourceListItem.module.scss.js +5 -7
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.scss.js +5 -5
- package/dist/components/suggestion/suggestion_box/SuggestionBox.module.scss.js +1 -1
- package/dist/components/suggestion/suggestion_input/SuggestionInput.module.scss.js +9 -9
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.scss.js +10 -10
- package/dist/components/summary/keyword_box/KeywordBox.module.scss.js +1 -1
- package/dist/components/summary/summary_box/SummaryBox.module.scss.js +8 -8
- package/dist/components/text/read_more/ReadMore.module.scss.js +4 -4
- package/dist/components/user/author_box/AuthorBox.js +17 -18
- package/dist/components/user/author_box/AuthorBox.module.scss.js +24 -24
- package/dist/components/user/{onboarding_modal/OnboardingModal.js → update_user_info_modal/UpdateUserInfoModal.js} +110 -115
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss.js +29 -0
- package/dist/components/user/update_user_info_modal/useUpdateUserInfo.js +27 -0
- package/dist/components/user/user_box/UserBox.js +38 -48
- package/dist/components/user/user_box/UserBox.module.scss.js +9 -9
- package/dist/components/user/user_box_small/UserBoxSmall.js +18 -19
- package/dist/components/user/user_box_small/UserBoxSmall.module.scss.js +6 -6
- package/dist/components/user_content/content_footer/ContentFooter.js +92 -95
- package/dist/components/user_content/content_footer/ContentFooter.module.scss.js +11 -11
- package/dist/components/user_content/content_header/ContentHeader.module.scss.js +22 -22
- package/dist/components/user_content/summary_content_box/SummaryContentBox.module.scss.js +1 -1
- package/dist/components/user_content/use_report_content/ReportModal.module.scss.js +8 -8
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.scss.js +1 -1
- package/dist/components/vote/vote_box/VoteBox.module.scss.js +42 -42
- package/dist/components/vote/vote_button/VoteButton.module.scss.js +5 -5
- package/dist/index.js +320 -324
- package/package.json +1 -1
- package/dist/assets/components/action/back_link/BackLink.module-B9Ok2t4H.css +0 -1
- package/dist/assets/components/action/button/Button.module-D7nbgOES.css +0 -1
- package/dist/assets/components/action/icon_text_link/IconTextLink.module-CZKufK9Y.css +0 -1
- package/dist/assets/components/argument/argument/Argument.module-CC40BY1L.css +0 -1
- package/dist/assets/components/argument/argument/ReplyFooter.module-CoC9dY8T.css +0 -1
- package/dist/assets/components/auth/sso_form/SSOForm.module-DOw9cmCF.css +0 -1
- package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-97r47y_e.css +0 -1
- package/dist/assets/components/debate/debate_box/DebateBox.module-emnqIGNF.css +0 -1
- package/dist/assets/components/dialog/dialog_box/DialogBox.module-ZoM8d2Ly.css +0 -1
- package/dist/assets/components/dialog/dropdown/Dropdown.module-BmT3rAwz.css +0 -1
- package/dist/assets/components/dialog/modal/Modal.module-Dt4SWx6U.css +0 -1
- package/dist/assets/components/dialog/toast/Toast.module-CW6j5xe7.css +0 -1
- package/dist/assets/components/dialog/tooltip/Tooltip.module-bQbmPiMf.css +0 -1
- package/dist/assets/components/embed/embed_header/EmbedHeader.module-C8RPiVBp.css +0 -1
- package/dist/assets/components/follow/follow_button/FollowButton.module-BjwLVTeb.css +0 -1
- package/dist/assets/components/gamification/badge_box/BadgeBox.module-DWqqtICw.css +0 -1
- package/dist/assets/components/information/information_box/InformationBox.module-DJLT957y.css +0 -1
- package/dist/assets/components/input/text_editor/TextEditor.module-KPtqT1Y6.css +0 -1
- package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-C3yG2biv.css +0 -1
- package/dist/assets/components/input/toggle_position/TogglePosition.module-H4gGmJ0V.css +0 -1
- package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-BDMBrj2Y.css +0 -1
- package/dist/assets/components/navigation/tabs/Tabs.module-50P6bk0B.css +0 -1
- package/dist/assets/components/notification/notification_item/NotificationItem.module-BQcDopYB.css +0 -1
- package/dist/assets/components/notification/notification_menu/NotificationMenu.module-DrCrfzVk.css +0 -1
- package/dist/assets/components/progress/progress_bar/ProgressBar.module-DoCH9Qoo.css +0 -1
- package/dist/assets/components/proposal/proposal_box/ProposalBox.module-D1ccjSLm.css +0 -1
- package/dist/assets/components/section/section_box/SectionBox.module-DF7k7Vxq.css +0 -1
- package/dist/assets/components/skeleton/user_content_skeleton/UserContentSkeleton.module-d4r3QpYe.css +0 -1
- package/dist/assets/components/source/context_source_box/ContextSourceBox.module-doiSb_NR.css +0 -1
- package/dist/assets/components/source/context_source_list/ContextSourceList.module-Df4z4DN-.css +0 -1
- package/dist/assets/components/source/source_box/SourceBox.module-CQOBgJ5n.css +0 -1
- package/dist/assets/components/source/source_list_item/SourceListItem.module-C5YDjksb.css +0 -1
- package/dist/assets/components/suggestion/suggestion_banner/SuggestionBanner.module-P95xqaUA.css +0 -1
- package/dist/assets/components/suggestion/suggestion_box/SuggestionBox.module-CE_Wvk-K.css +0 -1
- package/dist/assets/components/suggestion/suggestion_input/SuggestionInput.module-r5N57bDp.css +0 -1
- package/dist/assets/components/summary/argument_summary_box/ArgumentSummaryBox.module-EDxcqwRa.css +0 -1
- package/dist/assets/components/summary/keyword_box/KeywordBox.module-yNHAvcRh.css +0 -1
- package/dist/assets/components/summary/summary_box/SummaryBox.module-Bu-AnMIG.css +0 -1
- package/dist/assets/components/text/read_more/ReadMore.module-Bs-YaspR.css +0 -1
- package/dist/assets/components/user/author_box/AuthorBox.module-B8Sl2v33.css +0 -1
- package/dist/assets/components/user/onboarding_modal/OnboardingModal.module-CTpt3xSh.css +0 -1
- package/dist/assets/components/user/user_box/UserBox.module-DMFhZDAH.css +0 -1
- package/dist/assets/components/user/user_box_small/UserBoxSmall.module-D4Ut5xmS.css +0 -1
- package/dist/assets/components/user_content/content_footer/ContentFooter.module-9A9E8k5l.css +0 -1
- package/dist/assets/components/user_content/content_header/ContentHeader.module-CXO2IRui.css +0 -1
- package/dist/assets/components/user_content/summary_content_box/SummaryContentBox.module-CBlL2Xii.css +0 -1
- package/dist/assets/components/user_content/use_report_content/ReportModal.module-mjFuOdmL.css +0 -1
- package/dist/assets/components/vote/suggestion_vote_box/SuggestionVoteBox.module-CKFriPV5.css +0 -1
- package/dist/assets/components/vote/vote_box/VoteBox.module-Bv7WY_vr.css +0 -1
- package/dist/assets/components/vote/vote_button/VoteButton.module-DqD79xv_.css +0 -1
- package/dist/components/auth/use_auth/base64.js +0 -4
- package/dist/components/icons/clarin_icons/Alarm.js +0 -6
- package/dist/components/icons/clarin_icons/Announcement.js +0 -6
- package/dist/components/icons/clarin_icons/Chat.js +0 -6
- package/dist/components/icons/clarin_icons/CheckCircle.js +0 -9
- package/dist/components/icons/clarin_icons/Clock.js +0 -6
- package/dist/components/icons/clarin_icons/Follow.js +0 -6
- package/dist/components/icons/clarin_icons/MobileClose.js +0 -9
- package/dist/components/icons/clarin_icons/Question.js +0 -6
- package/dist/components/icons/clarin_icons/Search.js +0 -6
- package/dist/components/icons/clarin_icons/Send.js +0 -6
- package/dist/components/icons/clarin_icons/Share.js +0 -6
- package/dist/components/icons/clarin_icons/Upvote.js +0 -9
- package/dist/components/icons/clarin_icons/User.js +0 -9
- package/dist/components/icons/clarin_icons/index.js +0 -106
- package/dist/components/input/text_editor/plugins/IOSInsertParagraphFallbackPlugin.js +0 -34
- package/dist/components/user/onboarding_modal/OnboardingModal.module.scss.js +0 -29
- package/dist/components/user/onboarding_modal/useOnboarding.js +0 -27
|
@@ -1,230 +1,225 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { useIntl as
|
|
4
|
-
import t from "./
|
|
5
|
-
import { useAuth as
|
|
6
|
-
import { useDataProvider as
|
|
7
|
-
import { useConfig as
|
|
8
|
-
import { useResponsive as
|
|
9
|
-
import { useFormValidation as
|
|
10
|
-
import { useModal as
|
|
1
|
+
import { jsx as a, jsxs as o, Fragment as w } from "react/jsx-runtime";
|
|
2
|
+
import { useState as n } from "react";
|
|
3
|
+
import { useIntl as Y, FormattedMessage as Z } from "react-intl";
|
|
4
|
+
import t from "./UpdateUserInfoModal.module.scss.js";
|
|
5
|
+
import { useAuth as ee } from "../../auth/use_auth/useAuth.js";
|
|
6
|
+
import { useDataProvider as ae } from "../../data/data_provider/useDataProvider.js";
|
|
7
|
+
import { useConfig as te } from "../../data/config_provider/useConfig.js";
|
|
8
|
+
import { useResponsive as se } from "../../hooks/use_responsive/useResponsive.js";
|
|
9
|
+
import { useFormValidation as re } from "../../forms/use_form_validation/useFormValidation.js";
|
|
10
|
+
import { useModal as ie } from "../../dialog/modal/useModal.js";
|
|
11
11
|
import { Modal as ne } from "../../dialog/modal/Modal.js";
|
|
12
|
-
import { Loader as
|
|
12
|
+
import { Loader as le } from "../../progress/loader/Loader.js";
|
|
13
|
+
import { Icon as oe } from "../../icons/icon/Icon.js";
|
|
14
|
+
import { Button as I } from "../../action/button/Button.js";
|
|
15
|
+
import { TextInput as A } from "../../input/text_input/TextInput.js";
|
|
16
|
+
import { Select as de } from "../../input/select/Select.js";
|
|
17
|
+
import { Toggle as S } from "../../input/toggle/Toggle.js";
|
|
13
18
|
import { AvatarSelector as ce } from "../avatar_selector/AvatarSelector.js";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const Se = ({
|
|
20
|
-
termsUrl: L,
|
|
21
|
-
privacyUrl: B,
|
|
22
|
-
showEmailConsent: U = !1,
|
|
23
|
-
showTerms: f = !1,
|
|
24
|
-
pendingAuth: n = !1,
|
|
25
|
-
onConsentConfirmed: y = null
|
|
19
|
+
const Ie = ({
|
|
20
|
+
termsUrl: O,
|
|
21
|
+
privacyUrl: F,
|
|
22
|
+
showEmailConsent: M = !1,
|
|
23
|
+
showTerms: u = !1
|
|
26
24
|
}) => {
|
|
27
|
-
const
|
|
28
|
-
(e) => `${
|
|
29
|
-
), [
|
|
30
|
-
|
|
31
|
-
), [
|
|
32
|
-
|
|
33
|
-
), [
|
|
25
|
+
const l = ee(), D = ae(), i = Y(), r = te(), L = [...Array(r.avatars?.maxFileName || 0).keys()].map(
|
|
26
|
+
(e) => `${r.avatars?.baseUrl}/${e + 1}.${r.avatars?.fileExtension}`
|
|
27
|
+
), [f, B] = n(l.currentUser.first_name || ""), [p, $] = n(
|
|
28
|
+
l.currentUser.description || ""
|
|
29
|
+
), [g, j] = n(l.currentUser.last_name || ""), [_, R] = n(l.currentUser.language), [q, h] = n(!1), [N, U] = n(
|
|
30
|
+
l.currentUser.image_url
|
|
31
|
+
), [c, E] = n(null), [C, x] = n(!1), [z, T] = n(!1), { isMobile: y } = se(), { errors: d, validate: V } = re(), { hideModal: k } = ie(), [v, W] = n(!1), [b, G] = n(!1), H = (e) => {
|
|
34
32
|
const s = new FileReader();
|
|
35
33
|
s.onloadend = () => {
|
|
36
|
-
|
|
34
|
+
U(s.result);
|
|
37
35
|
}, s.readAsDataURL(e);
|
|
38
|
-
},
|
|
36
|
+
}, J = [
|
|
39
37
|
{ first_name: ["required", null] },
|
|
40
38
|
{ first_name: ["minChar", 2] },
|
|
41
39
|
{ last_name: ["required", null] },
|
|
42
40
|
{ last_name: ["minChar", 2] },
|
|
43
|
-
|
|
44
|
-
...
|
|
45
|
-
],
|
|
41
|
+
{ language: ["required", null] },
|
|
42
|
+
...u ? [{ accepts_terms: ["enforceValue", !0] }] : []
|
|
43
|
+
], K = (e) => {
|
|
46
44
|
e.preventDefault();
|
|
47
45
|
const s = {};
|
|
48
|
-
if (
|
|
49
|
-
|
|
50
|
-
const
|
|
51
|
-
Object.entries(s).forEach(([
|
|
52
|
-
|
|
53
|
-
}),
|
|
54
|
-
|
|
46
|
+
if (f && (s.first_name = f), g && (s.last_name = g), _ && (s.language = _), c && C && (s.image = c), c && !C && (s.origin_image_url = c), p && (s.description = p), M && (s.accepts_provider_email = b), u && (s.accepts_terms = v), s.is_onboarded = !0, V(s, J)) {
|
|
47
|
+
T(!0);
|
|
48
|
+
const P = new FormData();
|
|
49
|
+
Object.entries(s).forEach(([m, X]) => {
|
|
50
|
+
P.append(m, X);
|
|
51
|
+
}), D.update("users", l.currentUser.slug, P).then((m) => {
|
|
52
|
+
m.data.success && l.setCurrentUser(m.data.data.resource), k();
|
|
55
53
|
});
|
|
56
54
|
}
|
|
57
|
-
},
|
|
55
|
+
}, Q = (e) => {
|
|
58
56
|
const s = /^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$/i;
|
|
59
|
-
|
|
57
|
+
E(e), h(!1), s.test(e) ? (U(e), x(!1)) : (x(!0), H(e));
|
|
60
58
|
};
|
|
61
59
|
return /* @__PURE__ */ a(
|
|
62
60
|
ne,
|
|
63
61
|
{
|
|
64
62
|
"data-vid": "update_user_info_modal",
|
|
65
|
-
title:
|
|
66
|
-
id: "modal.update_user_info_modal.complete_registration",
|
|
67
|
-
defaultMessage: "Complete your registration"
|
|
68
|
-
}) : r.formatMessage({
|
|
63
|
+
title: i.formatMessage({
|
|
69
64
|
id: "modal.update_user_info_modal.modal_title",
|
|
70
65
|
defaultMessage: "Update your profile"
|
|
71
66
|
}),
|
|
72
67
|
style: {
|
|
73
|
-
width:
|
|
74
|
-
minWidth:
|
|
68
|
+
width: y ? "unset" : "max-content",
|
|
69
|
+
minWidth: y ? "unset" : "500px",
|
|
75
70
|
maxWidth: "800px"
|
|
76
71
|
},
|
|
77
72
|
showCloseButton: !1,
|
|
78
73
|
disableClickOutside: !0,
|
|
79
|
-
children:
|
|
74
|
+
children: z ? /* @__PURE__ */ a(le, {}) : q ? /* @__PURE__ */ o(w, { children: [
|
|
80
75
|
/* @__PURE__ */ a(
|
|
81
76
|
ce,
|
|
82
77
|
{
|
|
83
|
-
onChooseAvatar:
|
|
84
|
-
avatarUrlList:
|
|
85
|
-
userName:
|
|
86
|
-
allowUserImage:
|
|
78
|
+
onChooseAvatar: Q,
|
|
79
|
+
avatarUrlList: L,
|
|
80
|
+
userName: l.currentUser.full_name,
|
|
81
|
+
allowUserImage: r.avatars?.allowUserImage
|
|
87
82
|
}
|
|
88
83
|
),
|
|
89
84
|
/* @__PURE__ */ a(
|
|
90
85
|
"div",
|
|
91
86
|
{
|
|
92
87
|
className: t.backButton,
|
|
93
|
-
onClick: () =>
|
|
94
|
-
children:
|
|
88
|
+
onClick: () => h(!1),
|
|
89
|
+
children: i.formatMessage({
|
|
95
90
|
id: "user.user_edit.back",
|
|
96
91
|
defaultMessage: "Back"
|
|
97
92
|
})
|
|
98
93
|
}
|
|
99
94
|
)
|
|
100
|
-
] }) : /* @__PURE__ */
|
|
101
|
-
/* @__PURE__ */
|
|
102
|
-
/* @__PURE__ */
|
|
103
|
-
|
|
95
|
+
] }) : /* @__PURE__ */ o(w, { children: [
|
|
96
|
+
/* @__PURE__ */ o("div", { className: t.container, children: [
|
|
97
|
+
/* @__PURE__ */ o("div", { className: t.userImageContainer, children: [
|
|
98
|
+
N ? /* @__PURE__ */ a(
|
|
104
99
|
"img",
|
|
105
100
|
{
|
|
106
101
|
className: t.userPictureUpload,
|
|
107
|
-
src:
|
|
108
|
-
alt:
|
|
102
|
+
src: N,
|
|
103
|
+
alt: i.formatMessage({
|
|
109
104
|
id: "alt.my_profile_picture",
|
|
110
105
|
defaultMessage: "Ma photo de profil"
|
|
111
106
|
})
|
|
112
107
|
}
|
|
113
108
|
) : /* @__PURE__ */ a("div", { className: t.userPictureUpload, children: /* @__PURE__ */ a(
|
|
114
|
-
|
|
109
|
+
oe,
|
|
115
110
|
{
|
|
116
111
|
name: "camera",
|
|
117
112
|
height: 20,
|
|
118
113
|
width: 20,
|
|
119
|
-
alt:
|
|
114
|
+
alt: i.formatMessage({
|
|
120
115
|
id: "user.user_edit.profile_picture",
|
|
121
116
|
defaultMessage: "Profile picture"
|
|
122
117
|
})
|
|
123
118
|
}
|
|
124
119
|
) }),
|
|
125
|
-
|
|
126
|
-
|
|
120
|
+
/* @__PURE__ */ a(
|
|
121
|
+
I,
|
|
127
122
|
{
|
|
128
123
|
"data-testid": "avatar-button",
|
|
129
124
|
"data-tid": "action_save_profile",
|
|
130
|
-
onClick: () =>
|
|
125
|
+
onClick: () => h(!0),
|
|
131
126
|
style: { whiteSpace: "nowrap" },
|
|
132
|
-
children:
|
|
127
|
+
children: i.formatMessage({
|
|
133
128
|
id: "user.user_edit.avatar",
|
|
134
129
|
defaultMessage: "Select an avatar"
|
|
135
130
|
})
|
|
136
131
|
}
|
|
137
132
|
)
|
|
138
133
|
] }),
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
-
/* @__PURE__ */
|
|
134
|
+
/* @__PURE__ */ o("div", { className: t.inputsContainer, children: [
|
|
135
|
+
/* @__PURE__ */ o("div", { className: t.nameContainer, children: [
|
|
141
136
|
/* @__PURE__ */ a("div", { className: t.updateProfileInput, children: /* @__PURE__ */ a(
|
|
142
|
-
|
|
137
|
+
A,
|
|
143
138
|
{
|
|
144
139
|
type: "text",
|
|
145
140
|
name: "first_name",
|
|
146
|
-
"aria-label":
|
|
141
|
+
"aria-label": i.formatMessage({
|
|
147
142
|
id: "auth.signup_form.first_name.aria_label",
|
|
148
143
|
defaultMessage: "First name"
|
|
149
144
|
}),
|
|
150
|
-
placeholder:
|
|
145
|
+
placeholder: i.formatMessage({
|
|
151
146
|
id: "auth_signup_form_first_name_placeholder",
|
|
152
147
|
defaultMessage: "First name"
|
|
153
148
|
}),
|
|
154
|
-
onChange: (e) =>
|
|
155
|
-
value:
|
|
156
|
-
error: !!
|
|
157
|
-
message:
|
|
149
|
+
onChange: (e) => r.actions?.disableOnboardingNameUpdate === !0 ? null : B(e.target.value),
|
|
150
|
+
value: f,
|
|
151
|
+
error: !!d.first_name,
|
|
152
|
+
message: d.first_name,
|
|
158
153
|
"data-testid": "first-name",
|
|
159
|
-
disabled:
|
|
154
|
+
disabled: r.actions?.disableOnboardingNameUpdate === !0
|
|
160
155
|
}
|
|
161
156
|
) }),
|
|
162
157
|
/* @__PURE__ */ a("div", { className: t.updateProfileInput, children: /* @__PURE__ */ a(
|
|
163
|
-
|
|
158
|
+
A,
|
|
164
159
|
{
|
|
165
160
|
type: "text",
|
|
166
161
|
name: "last_name",
|
|
167
|
-
"aria-label":
|
|
162
|
+
"aria-label": i.formatMessage({
|
|
168
163
|
id: "auth.signup_form.last_name.aria_label",
|
|
169
164
|
defaultMessage: "Last name"
|
|
170
165
|
}),
|
|
171
|
-
placeholder:
|
|
166
|
+
placeholder: i.formatMessage({
|
|
172
167
|
id: "auth_signup_form_last_name_placeholder",
|
|
173
168
|
defaultMessage: "Last name"
|
|
174
169
|
}),
|
|
175
|
-
onChange: (e) =>
|
|
176
|
-
value:
|
|
177
|
-
error: !!
|
|
178
|
-
message:
|
|
170
|
+
onChange: (e) => r.actions?.disableOnboardingNameUpdate === !0 ? null : j(e.target.value),
|
|
171
|
+
value: g,
|
|
172
|
+
error: !!d.last_name,
|
|
173
|
+
message: d.last_name,
|
|
179
174
|
"data-testid": "last-name",
|
|
180
|
-
disabled:
|
|
175
|
+
disabled: r.actions?.disableOnboardingNameUpdate === !0
|
|
181
176
|
}
|
|
182
177
|
) })
|
|
183
178
|
] }),
|
|
184
|
-
|
|
179
|
+
r.actions?.disableNameUpdate == !0 && r.actions?.disableOnboardingNameUpdate != !0 && /* @__PURE__ */ a("div", { className: t.hint, children: i.formatMessage({
|
|
185
180
|
id: "user.user_edit.user_name_hint",
|
|
186
181
|
defaultMessage: "last name"
|
|
187
182
|
}) }),
|
|
188
|
-
|
|
189
|
-
|
|
183
|
+
r.translation?.translationMethods && Object.keys(r.translation.translationMethods).length > 0 && /* @__PURE__ */ a(
|
|
184
|
+
de,
|
|
190
185
|
{
|
|
191
186
|
selectClassName: t.langSelect,
|
|
192
187
|
options: Object.keys(
|
|
193
|
-
|
|
188
|
+
r.translation.translationMethods
|
|
194
189
|
).map((e) => ({
|
|
195
190
|
name: e,
|
|
196
191
|
value: e,
|
|
197
192
|
text: `${e.toUpperCase()}`
|
|
198
193
|
})),
|
|
199
|
-
defaultOption:
|
|
200
|
-
onChange: (e) =>
|
|
194
|
+
defaultOption: _,
|
|
195
|
+
onChange: (e) => R(e.value)
|
|
201
196
|
}
|
|
202
197
|
),
|
|
203
|
-
|
|
198
|
+
/* @__PURE__ */ a("div", { className: t.userDescription, children: /* @__PURE__ */ a(
|
|
204
199
|
"textarea",
|
|
205
200
|
{
|
|
206
201
|
className: t.textArea,
|
|
207
|
-
placeholder:
|
|
202
|
+
placeholder: i.formatMessage({
|
|
208
203
|
id: "user.user_edit.user_description",
|
|
209
204
|
defaultMessage: "Describe yourself in a few words"
|
|
210
205
|
}),
|
|
211
|
-
value:
|
|
212
|
-
onChange: (e) =>
|
|
206
|
+
value: p,
|
|
207
|
+
onChange: (e) => $(e.target.value),
|
|
213
208
|
maxLength: 500,
|
|
214
209
|
"data-testid": "description"
|
|
215
210
|
}
|
|
216
211
|
) })
|
|
217
212
|
] })
|
|
218
213
|
] }),
|
|
219
|
-
|
|
220
|
-
|
|
214
|
+
u && /* @__PURE__ */ a("div", { className: t.toggle, children: /* @__PURE__ */ a(
|
|
215
|
+
S,
|
|
221
216
|
{
|
|
222
217
|
type: "checkbox",
|
|
223
218
|
name: "accepts_terms",
|
|
224
219
|
style: { fontSize: 18 },
|
|
225
|
-
checked:
|
|
220
|
+
checked: v,
|
|
226
221
|
label: /* @__PURE__ */ a(
|
|
227
|
-
|
|
222
|
+
Z,
|
|
228
223
|
{
|
|
229
224
|
id: "modal.update_user_info_modal.accepts_terms",
|
|
230
225
|
defaultMessage: "I declare I have read the <var1>General Conditions of Use</var1> and the <var2>Privacy policy</var2> of the debate space and accept them.",
|
|
@@ -234,7 +229,7 @@ const Se = ({
|
|
|
234
229
|
{
|
|
235
230
|
className: t.cgu,
|
|
236
231
|
target: "_blank",
|
|
237
|
-
href:
|
|
232
|
+
href: O,
|
|
238
233
|
rel: "noreferrer",
|
|
239
234
|
children: e
|
|
240
235
|
}
|
|
@@ -244,7 +239,7 @@ const Se = ({
|
|
|
244
239
|
{
|
|
245
240
|
className: t.cgu,
|
|
246
241
|
target: "_blank",
|
|
247
|
-
href:
|
|
242
|
+
href: F,
|
|
248
243
|
rel: "noreferrer",
|
|
249
244
|
children: e
|
|
250
245
|
}
|
|
@@ -252,36 +247,36 @@ const Se = ({
|
|
|
252
247
|
}
|
|
253
248
|
}
|
|
254
249
|
),
|
|
255
|
-
onInputChanged: (e) =>
|
|
256
|
-
message:
|
|
250
|
+
onInputChanged: (e) => W(!v),
|
|
251
|
+
message: d.accepts_terms,
|
|
257
252
|
"data-testid": "accepts-terms-input"
|
|
258
253
|
}
|
|
259
254
|
) }),
|
|
260
|
-
|
|
261
|
-
|
|
255
|
+
M && /* @__PURE__ */ a("div", { className: t.toggle, children: /* @__PURE__ */ a(
|
|
256
|
+
S,
|
|
262
257
|
{
|
|
263
258
|
type: "checkbox",
|
|
264
259
|
name: "accepts_provider_email",
|
|
265
260
|
style: { fontSize: 18 },
|
|
266
|
-
checked:
|
|
267
|
-
label:
|
|
261
|
+
checked: b,
|
|
262
|
+
label: i.formatMessage(
|
|
268
263
|
{
|
|
269
264
|
id: "modal.update_user_info_modal.consent_label",
|
|
270
265
|
defaultMessage: "I agree to receive emails from the editor"
|
|
271
266
|
},
|
|
272
|
-
{ provider:
|
|
267
|
+
{ provider: r.provider?.companyName }
|
|
273
268
|
),
|
|
274
|
-
onInputChanged: (e) =>
|
|
269
|
+
onInputChanged: (e) => G(!b),
|
|
275
270
|
"data-testid": "accepts-email-input"
|
|
276
271
|
}
|
|
277
272
|
) }),
|
|
278
273
|
/* @__PURE__ */ a("div", { className: t.userSaveBox, children: /* @__PURE__ */ a(
|
|
279
|
-
|
|
274
|
+
I,
|
|
280
275
|
{
|
|
281
276
|
"data-testid": "save-button",
|
|
282
277
|
"data-tid": "action_save_profile",
|
|
283
|
-
onClick: (e) =>
|
|
284
|
-
children:
|
|
278
|
+
onClick: (e) => K(e),
|
|
279
|
+
children: i.formatMessage({
|
|
285
280
|
id: "user.user_edit.save",
|
|
286
281
|
defaultMessage: "Save"
|
|
287
282
|
})
|
|
@@ -292,5 +287,5 @@ const Se = ({
|
|
|
292
287
|
);
|
|
293
288
|
};
|
|
294
289
|
export {
|
|
295
|
-
|
|
290
|
+
Ie as UpdateUserInfoModal
|
|
296
291
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import '../../../assets/components/user/update_user_info_modal/UpdateUserInfoModal.module-DJym6u4r.css';const t = "_container_6t85s_3", n = "_nameContainer_6t85s_22", e = "_inputsContainer_6t85s_48", s = "_hint_6t85s_61", o = "_langSelect_6t85s_67", _ = "_textArea_6t85s_71", a = "_userSaveBox_6t85s_129", c = "_userPictureUpload_6t85s_138", r = "_userImageContainer_6t85s_156", u = "_backButton_6t85s_172", i = "_toggle_6t85s_179", g = "_cgu_6t85s_184", l = {
|
|
2
|
+
container: t,
|
|
3
|
+
nameContainer: n,
|
|
4
|
+
inputsContainer: e,
|
|
5
|
+
hint: s,
|
|
6
|
+
langSelect: o,
|
|
7
|
+
textArea: _,
|
|
8
|
+
userSaveBox: a,
|
|
9
|
+
userPictureUpload: c,
|
|
10
|
+
userImageContainer: r,
|
|
11
|
+
backButton: u,
|
|
12
|
+
toggle: i,
|
|
13
|
+
cgu: g
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
u as backButton,
|
|
17
|
+
g as cgu,
|
|
18
|
+
t as container,
|
|
19
|
+
l as default,
|
|
20
|
+
s as hint,
|
|
21
|
+
e as inputsContainer,
|
|
22
|
+
o as langSelect,
|
|
23
|
+
n as nameContainer,
|
|
24
|
+
_ as textArea,
|
|
25
|
+
i as toggle,
|
|
26
|
+
r as userImageContainer,
|
|
27
|
+
c as userPictureUpload,
|
|
28
|
+
a as userSaveBox
|
|
29
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect as i } from "react";
|
|
3
|
+
import { UpdateUserInfoModal as p } from "./UpdateUserInfoModal.js";
|
|
4
|
+
import { useAuth as l } from "../../auth/use_auth/useAuth.js";
|
|
5
|
+
import { useModal as m } from "../../dialog/modal/useModal.js";
|
|
6
|
+
import { useConfig as u } from "../../data/config_provider/useConfig.js";
|
|
7
|
+
const U = () => {
|
|
8
|
+
const { currentUser: t, isLoggedIn: r } = l(), { showModal: e, isModalPresent: s } = m(), o = u(), n = () => {
|
|
9
|
+
e(
|
|
10
|
+
/* @__PURE__ */ a(
|
|
11
|
+
p,
|
|
12
|
+
{
|
|
13
|
+
showEmailConsent: o.auth?.showEmailConsent,
|
|
14
|
+
showTerms: o.auth?.hideCgu !== !0,
|
|
15
|
+
termsUrl: o.provider?.cguUrl || "https://www.logora.com/blog-posts/cgu",
|
|
16
|
+
privacyUrl: o.provider?.privacyUrl || "https://www.logora.com/blog-posts/privacy-policy"
|
|
17
|
+
}
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
};
|
|
21
|
+
return i(() => {
|
|
22
|
+
!s && r && t.is_onboarded === !1 && o.auth?.showOnboarding === !0 && n();
|
|
23
|
+
}, [s, r, o.auth?.showOnboarding]), null;
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
U as useUpdateUserInfo
|
|
27
|
+
};
|
|
@@ -1,83 +1,73 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import n from "classnames";
|
|
3
3
|
import "react";
|
|
4
|
-
import { useIntl as
|
|
5
|
-
import
|
|
6
|
-
import { useRoutes as
|
|
7
|
-
import {
|
|
8
|
-
import { Avatar as
|
|
9
|
-
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
l,
|
|
4
|
+
import { useIntl as u, FormattedMessage as i } from "react-intl";
|
|
5
|
+
import o from "./UserBox.module.scss.js";
|
|
6
|
+
import { useRoutes as c } from "../../data/config_provider/useRoutes.js";
|
|
7
|
+
import { Link as t } from "../../action/link/Link.js";
|
|
8
|
+
import { Avatar as d } from "../avatar/Avatar.js";
|
|
9
|
+
const N = ({ user: s }) => {
|
|
10
|
+
const l = u(), a = c();
|
|
11
|
+
return /* @__PURE__ */ r("div", { className: n(o.userBox, "author-box"), children: [
|
|
12
|
+
/* @__PURE__ */ e("div", { className: o.userBoxHeader, children: /* @__PURE__ */ e(
|
|
13
|
+
t,
|
|
15
14
|
{
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
avatarUrl: e.image_url,
|
|
19
|
-
isOnline: new Date(e.last_activity) > Date.now(),
|
|
20
|
-
size: 60
|
|
21
|
-
}
|
|
22
|
-
) : /* @__PURE__ */ a(
|
|
23
|
-
o,
|
|
24
|
-
{
|
|
25
|
-
to: t.userShowLocation.toUrl({ userSlug: e.hash_id }),
|
|
26
|
-
"aria-label": n.formatMessage({
|
|
15
|
+
to: a.userShowLocation.toUrl({ userSlug: s.hash_id }),
|
|
16
|
+
"aria-label": l.formatMessage({
|
|
27
17
|
id: "user.user_box.author_link.aria_label",
|
|
28
18
|
defaultMessage: "View profile"
|
|
29
19
|
}),
|
|
30
|
-
children: /* @__PURE__ */
|
|
31
|
-
|
|
20
|
+
children: /* @__PURE__ */ e(
|
|
21
|
+
d,
|
|
32
22
|
{
|
|
33
23
|
"data-tid": "action_view_user_image",
|
|
34
|
-
userName:
|
|
35
|
-
avatarUrl:
|
|
36
|
-
isOnline: new Date(
|
|
24
|
+
userName: s.full_name,
|
|
25
|
+
avatarUrl: s.image_url,
|
|
26
|
+
isOnline: new Date(s.last_activity) > Date.now(),
|
|
37
27
|
size: 60
|
|
38
28
|
}
|
|
39
29
|
)
|
|
40
30
|
}
|
|
41
31
|
) }),
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ r("div", { className: o.userBoxDescription, children: [
|
|
33
|
+
/* @__PURE__ */ e(t, { to: a.userShowLocation.toUrl({ userSlug: s.hash_id }), children: /* @__PURE__ */ e(
|
|
44
34
|
"div",
|
|
45
35
|
{
|
|
46
36
|
"data-tid": "action_view_user_name",
|
|
47
|
-
className:
|
|
48
|
-
title:
|
|
49
|
-
children:
|
|
37
|
+
className: o.userBoxName,
|
|
38
|
+
title: s.full_name,
|
|
39
|
+
children: s.full_name
|
|
50
40
|
}
|
|
51
41
|
) }),
|
|
52
|
-
|
|
53
|
-
|
|
42
|
+
s.role === "contributor" && /* @__PURE__ */ e(
|
|
43
|
+
t,
|
|
54
44
|
{
|
|
55
|
-
to:
|
|
45
|
+
to: a.userShowLocation.toUrl({ userSlug: s.hash_id }),
|
|
56
46
|
hash: "activity",
|
|
57
|
-
children: /* @__PURE__ */
|
|
58
|
-
|
|
47
|
+
children: /* @__PURE__ */ e("div", { className: o.userBoxPoints, children: /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
|
|
48
|
+
i,
|
|
59
49
|
{
|
|
60
50
|
id: "user.user_box.points",
|
|
61
|
-
values: { count:
|
|
51
|
+
values: { count: s.points },
|
|
62
52
|
defaultMessage: "{count} points"
|
|
63
53
|
}
|
|
64
54
|
) }) })
|
|
65
55
|
}
|
|
66
56
|
),
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
-
/* @__PURE__ */
|
|
69
|
-
|
|
57
|
+
/* @__PURE__ */ e(t, { to: a.userShowLocation.toUrl({ userSlug: s.hash_id }), children: /* @__PURE__ */ r("div", { className: o.userBoxStats, children: [
|
|
58
|
+
/* @__PURE__ */ e("div", { className: o.userDebates, children: /* @__PURE__ */ e(
|
|
59
|
+
i,
|
|
70
60
|
{
|
|
71
61
|
id: "user.user_box.user_arguments",
|
|
72
|
-
values: { count:
|
|
62
|
+
values: { count: s.messages_count },
|
|
73
63
|
defaultMessage: "{count} arguments"
|
|
74
64
|
}
|
|
75
65
|
) }),
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
-
|
|
66
|
+
/* @__PURE__ */ e("div", { className: o.userVotes, children: /* @__PURE__ */ e(
|
|
67
|
+
i,
|
|
78
68
|
{
|
|
79
69
|
id: "user.user_box.user_votes",
|
|
80
|
-
values: { count:
|
|
70
|
+
values: { count: s.upvotes },
|
|
81
71
|
defaultMessage: "{count} votes"
|
|
82
72
|
}
|
|
83
73
|
) })
|
|
@@ -86,5 +76,5 @@ const B = ({ user: e }) => {
|
|
|
86
76
|
] });
|
|
87
77
|
};
|
|
88
78
|
export {
|
|
89
|
-
|
|
79
|
+
N as UserBox
|
|
90
80
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import '../../../assets/components/user/user_box/UserBox.module-
|
|
2
|
-
userBox:
|
|
1
|
+
import '../../../assets/components/user/user_box/UserBox.module-DGKK1afI.css';const o = "_userBox_1hkol_3", s = "_userBoxHeader_1hkol_20", e = "_userBoxDescription_1hkol_44", r = "_userBoxName_1hkol_53", t = "_userBoxPoints_1hkol_70", u = "_userBoxStats_1hkol_81", x = {
|
|
2
|
+
userBox: o,
|
|
3
3
|
userBoxHeader: s,
|
|
4
|
-
userBoxDescription:
|
|
5
|
-
userBoxName:
|
|
6
|
-
userBoxPoints:
|
|
4
|
+
userBoxDescription: e,
|
|
5
|
+
userBoxName: r,
|
|
6
|
+
userBoxPoints: t,
|
|
7
7
|
userBoxStats: u
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
x as default,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
o as userBox,
|
|
12
|
+
e as userBoxDescription,
|
|
13
13
|
s as userBoxHeader,
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
r as userBoxName,
|
|
15
|
+
t as userBoxPoints,
|
|
16
16
|
u as userBoxStats
|
|
17
17
|
};
|