@logora/debate 0.4.42 → 0.4.43
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-B9Ok2t4H.css +1 -0
- package/dist/assets/components/action/button/Button.module-D7nbgOES.css +1 -0
- package/dist/assets/components/action/icon_text_link/IconTextLink.module-CZKufK9Y.css +1 -0
- package/dist/assets/components/argument/argument/Argument.module-CC40BY1L.css +1 -0
- package/dist/assets/components/argument/argument/ReplyFooter.module-CoC9dY8T.css +1 -0
- package/dist/assets/components/auth/sso_form/SSOForm.module-DOw9cmCF.css +1 -0
- package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-97r47y_e.css +1 -0
- package/dist/assets/components/debate/debate_box/DebateBox.module-emnqIGNF.css +1 -0
- package/dist/assets/components/dialog/dialog_box/DialogBox.module-ZoM8d2Ly.css +1 -0
- package/dist/assets/components/dialog/dropdown/Dropdown.module-BmT3rAwz.css +1 -0
- package/dist/assets/components/dialog/modal/Modal.module-Dt4SWx6U.css +1 -0
- package/dist/assets/components/dialog/toast/Toast.module-CW6j5xe7.css +1 -0
- package/dist/assets/components/dialog/tooltip/Tooltip.module-bQbmPiMf.css +1 -0
- package/dist/assets/components/embed/embed_header/EmbedHeader.module-C8RPiVBp.css +1 -0
- package/dist/assets/components/follow/follow_button/FollowButton.module-BjwLVTeb.css +1 -0
- package/dist/assets/components/gamification/badge_box/BadgeBox.module-DWqqtICw.css +1 -0
- package/dist/assets/components/gamification/point_box/{PointBox.module-BlHdQyht.css → PointBox.module-Dj6cCgSB.css} +1 -1
- package/dist/assets/components/information/information_box/InformationBox.module-DJLT957y.css +1 -0
- package/dist/assets/components/input/text_editor/TextEditor.module-KPtqT1Y6.css +1 -0
- package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-C3yG2biv.css +1 -0
- package/dist/assets/components/input/toggle_position/TogglePosition.module-H4gGmJ0V.css +1 -0
- package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-BDMBrj2Y.css +1 -0
- package/dist/assets/components/navigation/tabs/Tabs.module-50P6bk0B.css +1 -0
- package/dist/assets/components/notification/notification_item/NotificationItem.module-BQcDopYB.css +1 -0
- package/dist/assets/components/notification/notification_menu/NotificationMenu.module-DrCrfzVk.css +1 -0
- package/dist/assets/components/progress/progress_bar/ProgressBar.module-DoCH9Qoo.css +1 -0
- package/dist/assets/components/proposal/proposal_box/ProposalBox.module-D1ccjSLm.css +1 -0
- package/dist/assets/components/section/section_box/SectionBox.module-DF7k7Vxq.css +1 -0
- package/dist/assets/components/share/share_button/{ShareButton.module-BS6STEUD.css → ShareButton.module-BnVEYTzr.css} +1 -1
- package/dist/assets/components/skeleton/user_content_skeleton/UserContentSkeleton.module-d4r3QpYe.css +1 -0
- package/dist/assets/components/source/context_source_box/ContextSourceBox.module-doiSb_NR.css +1 -0
- package/dist/assets/components/source/context_source_list/ContextSourceList.module-Df4z4DN-.css +1 -0
- package/dist/assets/components/source/source_box/SourceBox.module-CQOBgJ5n.css +1 -0
- package/dist/assets/components/source/source_list_item/SourceListItem.module-C5YDjksb.css +1 -0
- package/dist/assets/components/suggestion/suggestion_banner/SuggestionBanner.module-P95xqaUA.css +1 -0
- package/dist/assets/components/suggestion/suggestion_box/SuggestionBox.module-CE_Wvk-K.css +1 -0
- package/dist/assets/components/suggestion/suggestion_input/SuggestionInput.module-r5N57bDp.css +1 -0
- package/dist/assets/components/summary/argument_summary_box/ArgumentSummaryBox.module-EDxcqwRa.css +1 -0
- package/dist/assets/components/summary/keyword_box/KeywordBox.module-yNHAvcRh.css +1 -0
- package/dist/assets/components/summary/summary_box/SummaryBox.module-Bu-AnMIG.css +1 -0
- package/dist/assets/components/text/read_more/ReadMore.module-Bs-YaspR.css +1 -0
- package/dist/assets/components/user/author_box/AuthorBox.module-B8Sl2v33.css +1 -0
- package/dist/assets/components/user/onboarding_modal/OnboardingModal.module-CTpt3xSh.css +1 -0
- package/dist/assets/components/user/user_box/UserBox.module-DMFhZDAH.css +1 -0
- package/dist/assets/components/user/user_box_small/UserBoxSmall.module-D4Ut5xmS.css +1 -0
- package/dist/assets/components/user_content/content_footer/ContentFooter.module-9A9E8k5l.css +1 -0
- package/dist/assets/components/user_content/content_header/ContentHeader.module-CXO2IRui.css +1 -0
- package/dist/assets/components/user_content/summary_content_box/SummaryContentBox.module-CBlL2Xii.css +1 -0
- package/dist/assets/components/user_content/use_report_content/ReportModal.module-mjFuOdmL.css +1 -0
- package/dist/assets/components/vote/suggestion_vote_box/SuggestionVoteBox.module-CKFriPV5.css +1 -0
- package/dist/assets/components/vote/vote_box/VoteBox.module-Bv7WY_vr.css +1 -0
- package/dist/assets/components/vote/vote_button/VoteButton.module-DqD79xv_.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 +120 -112
- 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 +58 -41
- package/dist/components/auth/providers/FormAuth.js +6 -3
- 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/base64.js +4 -0
- package/dist/components/auth/use_auth/useAuthActions.js +24 -24
- package/dist/components/consultation/consultation_box/ConsultationBox.js +4 -3
- 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 +19 -17
- package/dist/components/dialog/dropdown/Dropdown.module.scss.js +17 -13
- 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/icons/clarin_icons/Alarm.js +6 -0
- package/dist/components/icons/clarin_icons/Announcement.js +6 -0
- package/dist/components/icons/clarin_icons/Chat.js +6 -0
- package/dist/components/icons/clarin_icons/CheckCircle.js +9 -0
- package/dist/components/icons/clarin_icons/Clock.js +6 -0
- package/dist/components/icons/clarin_icons/Follow.js +6 -0
- package/dist/components/icons/clarin_icons/MobileClose.js +9 -0
- package/dist/components/icons/clarin_icons/Question.js +6 -0
- package/dist/components/icons/clarin_icons/Search.js +6 -0
- package/dist/components/icons/clarin_icons/Send.js +6 -0
- package/dist/components/icons/clarin_icons/Share.js +6 -0
- package/dist/components/icons/clarin_icons/Upvote.js +9 -0
- package/dist/components/icons/clarin_icons/User.js +9 -0
- package/dist/components/icons/clarin_icons/index.js +106 -0
- package/dist/components/information/information_box/InformationBox.module.scss.js +4 -4
- package/dist/components/input/argument_input/ArgumentInput.js +172 -167
- package/dist/components/input/text_editor/TextEditor.js +49 -47
- package/dist/components/input/text_editor/TextEditor.module.scss.js +28 -28
- package/dist/components/input/text_editor/plugins/IOSInsertParagraphFallbackPlugin.js +34 -0
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +143 -94
- 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 +134 -124
- 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 +85 -24
- package/dist/components/navigation/tabs/Tabs.module.scss.js +19 -9
- 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 +58 -56
- 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 +26 -24
- package/dist/components/share/share_button/ShareButton.module.scss.js +5 -3
- 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 +7 -5
- 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 +18 -17
- package/dist/components/user/author_box/AuthorBox.module.scss.js +24 -24
- package/dist/components/user/onboarding_modal/OnboardingModal.js +296 -0
- package/dist/components/user/onboarding_modal/OnboardingModal.module.scss.js +29 -0
- package/dist/components/user/onboarding_modal/useOnboarding.js +80 -0
- package/dist/components/user/user_box/UserBox.js +48 -38
- package/dist/components/user/user_box/UserBox.module.scss.js +9 -9
- package/dist/components/user/user_box_small/UserBoxSmall.js +19 -18
- package/dist/components/user/user_box_small/UserBoxSmall.module.scss.js +6 -6
- package/dist/components/user_content/content_footer/ContentFooter.js +95 -92
- 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 +319 -312
- package/package.json +3 -2
- package/dist/assets/components/action/back_link/BackLink.module-nMAM5nvb.css +0 -1
- package/dist/assets/components/action/button/Button.module-BXkLuURK.css +0 -1
- package/dist/assets/components/action/icon_text_link/IconTextLink.module-B5PF-MMK.css +0 -1
- package/dist/assets/components/argument/argument/Argument.module-QZdPjj_i.css +0 -1
- package/dist/assets/components/argument/argument/ReplyFooter.module-x9Xlkt3Z.css +0 -1
- package/dist/assets/components/auth/sso_form/SSOForm.module-D5v2TrOv.css +0 -1
- package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-DjNiVt-p.css +0 -1
- package/dist/assets/components/debate/debate_box/DebateBox.module-DTLafpl4.css +0 -1
- package/dist/assets/components/dialog/dialog_box/DialogBox.module-DKztqqmb.css +0 -1
- package/dist/assets/components/dialog/dropdown/Dropdown.module-FG2Sqrqs.css +0 -1
- package/dist/assets/components/dialog/modal/Modal.module-CIj-xCzY.css +0 -1
- package/dist/assets/components/dialog/toast/Toast.module-DJ2wSlJT.css +0 -1
- package/dist/assets/components/dialog/tooltip/Tooltip.module-zMXumgnX.css +0 -1
- package/dist/assets/components/embed/embed_header/EmbedHeader.module-CoyRY_jw.css +0 -1
- package/dist/assets/components/follow/follow_button/FollowButton.module-C9YXM8AM.css +0 -1
- package/dist/assets/components/gamification/badge_box/BadgeBox.module-BnskGH9b.css +0 -1
- package/dist/assets/components/information/information_box/InformationBox.module-B_MiEPn7.css +0 -1
- package/dist/assets/components/input/text_editor/TextEditor.module-CxuSL3l3.css +0 -1
- package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-CbPmMciY.css +0 -1
- package/dist/assets/components/input/toggle_position/TogglePosition.module-DDIigbfA.css +0 -1
- package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-DvwCbS9k.css +0 -1
- package/dist/assets/components/navigation/tabs/Tabs.module-CtDi0tAd.css +0 -1
- package/dist/assets/components/notification/notification_item/NotificationItem.module-BWdhgSy4.css +0 -1
- package/dist/assets/components/notification/notification_menu/NotificationMenu.module-BQwbvRIV.css +0 -1
- package/dist/assets/components/progress/progress_bar/ProgressBar.module-Dy-27Wf9.css +0 -1
- package/dist/assets/components/proposal/proposal_box/ProposalBox.module-Dm8XDnr1.css +0 -1
- package/dist/assets/components/section/section_box/SectionBox.module-qQs4B6bf.css +0 -1
- package/dist/assets/components/skeleton/user_content_skeleton/UserContentSkeleton.module-DhZm1xTr.css +0 -1
- package/dist/assets/components/source/context_source_box/ContextSourceBox.module-78Gxjx0w.css +0 -1
- package/dist/assets/components/source/context_source_list/ContextSourceList.module-DUPbI-wb.css +0 -1
- package/dist/assets/components/source/source_box/SourceBox.module-Cu_m3E85.css +0 -1
- package/dist/assets/components/source/source_list_item/SourceListItem.module-fm_uHuY4.css +0 -1
- package/dist/assets/components/suggestion/suggestion_banner/SuggestionBanner.module-D37NVZLS.css +0 -1
- package/dist/assets/components/suggestion/suggestion_box/SuggestionBox.module-DHxoF0oe.css +0 -1
- package/dist/assets/components/suggestion/suggestion_input/SuggestionInput.module-BsEj7sF3.css +0 -1
- package/dist/assets/components/summary/argument_summary_box/ArgumentSummaryBox.module-DLcsyMSD.css +0 -1
- package/dist/assets/components/summary/keyword_box/KeywordBox.module-DHkYfW0l.css +0 -1
- package/dist/assets/components/summary/summary_box/SummaryBox.module-Dr9PevSJ.css +0 -1
- package/dist/assets/components/text/read_more/ReadMore.module-Ni_Mm8o8.css +0 -1
- package/dist/assets/components/user/author_box/AuthorBox.module-CbH2S-MT.css +0 -1
- package/dist/assets/components/user/update_user_info_modal/UpdateUserInfoModal.module-DJym6u4r.css +0 -1
- package/dist/assets/components/user/user_box/UserBox.module-DGKK1afI.css +0 -1
- package/dist/assets/components/user/user_box_small/UserBoxSmall.module-ibAw9gGE.css +0 -1
- package/dist/assets/components/user_content/content_footer/ContentFooter.module-ax3j7VNT.css +0 -1
- package/dist/assets/components/user_content/content_header/ContentHeader.module-B0VwpU-R.css +0 -1
- package/dist/assets/components/user_content/summary_content_box/SummaryContentBox.module-DdzWnPjq.css +0 -1
- package/dist/assets/components/user_content/use_report_content/ReportModal.module-BxF-D5C5.css +0 -1
- package/dist/assets/components/vote/suggestion_vote_box/SuggestionVoteBox.module-CZeQKWIw.css +0 -1
- package/dist/assets/components/vote/vote_box/VoteBox.module-D5sSSHpi.css +0 -1
- package/dist/assets/components/vote/vote_button/VoteButton.module-aP9ZrGSd.css +0 -1
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.js +0 -291
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss.js +0 -29
- package/dist/components/user/update_user_info_modal/useUpdateUserInfo.js +0 -27
|
@@ -1,52 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { jsx as l, Fragment as L } from "react/jsx-runtime";
|
|
2
|
+
import { useState as O, useEffect as g } from "react";
|
|
3
|
+
import { useConfig as U } from "../../data/config_provider/useConfig.js";
|
|
4
|
+
import { useAuthInterceptor as y } from "../use_auth/useAuthInterceptor.js";
|
|
5
|
+
import { authTokenHandler as _ } from "../use_auth/authTokenHandler.js";
|
|
4
6
|
import { useAuthActions as q } from "../use_auth/useAuthActions.js";
|
|
5
7
|
import { useAuthRequired as I } from "../../hooks/use_auth_required/useAuthRequired.js";
|
|
6
|
-
import { AuthProviderFactory as
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
8
|
+
import { AuthProviderFactory as S } from "../providers/AuthProviderFactory.js";
|
|
9
|
+
import { OnboardingModal as T } from "../../user/onboarding_modal/OnboardingModal.js";
|
|
10
|
+
import { saveOnboardingBeforeLogin as z } from "../../user/onboarding_modal/useOnboarding.js";
|
|
11
|
+
import { httpClient as u } from "../../data/axios_client/httpClient.js";
|
|
12
|
+
const G = ({ authUrl: r, authType: n, provider: p, assertion: w }) => {
|
|
13
|
+
const i = "logora_user_token", e = U();
|
|
14
|
+
y(u, r, i);
|
|
15
|
+
const [v, c] = O(!1), { getToken: A, removeToken: C } = _(
|
|
16
|
+
u,
|
|
17
|
+
r,
|
|
18
|
+
i
|
|
19
|
+
), { loginUser: m, logoutUser: b, fetchUser: P } = q(
|
|
20
|
+
u,
|
|
21
|
+
r,
|
|
22
|
+
i
|
|
23
|
+
), h = I();
|
|
24
|
+
g(() => {
|
|
25
|
+
s();
|
|
26
|
+
}, []), g(() => {
|
|
23
27
|
if (typeof window < "u")
|
|
24
|
-
return window.addEventListener(
|
|
25
|
-
"logora:authentication:require",
|
|
26
|
-
i
|
|
27
|
-
), () => {
|
|
28
|
-
window.removeEventListener(
|
|
29
|
-
"logora:authentication:require",
|
|
30
|
-
i
|
|
31
|
-
);
|
|
28
|
+
return window.addEventListener("logora:authentication:require", h), window.addEventListener("logora:authentication:refresh", s), () => {
|
|
29
|
+
window.removeEventListener("logora:authentication:require", h), window.removeEventListener("logora:authentication:refresh", s);
|
|
32
30
|
};
|
|
33
31
|
}, []);
|
|
34
|
-
const
|
|
35
|
-
const
|
|
32
|
+
const s = () => {
|
|
33
|
+
const o = f(), t = A();
|
|
36
34
|
if (t) {
|
|
37
|
-
const
|
|
38
|
-
|
|
35
|
+
const a = t.session_id;
|
|
36
|
+
o.isSameUser(a) ? P() : (C(), d(o));
|
|
39
37
|
} else
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
if (
|
|
43
|
-
const t =
|
|
44
|
-
|
|
38
|
+
d(o);
|
|
39
|
+
}, d = (o) => {
|
|
40
|
+
if (o.shouldInitAuth()) {
|
|
41
|
+
const t = o.getAuthorizationParams();
|
|
42
|
+
if (t) {
|
|
43
|
+
if (n !== "social" && n !== "oauth2_server" && e.auth?.showOnboardingBeforeLogin === !0) {
|
|
44
|
+
c(!0);
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
m(t);
|
|
48
|
+
}
|
|
45
49
|
} else
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
|
|
50
|
+
b();
|
|
51
|
+
}, k = (o, t) => {
|
|
52
|
+
const E = f().getAuthorizationParams();
|
|
53
|
+
z(e.shortname, t), c(!1), m(E);
|
|
54
|
+
}, f = () => S.create(n, p, w);
|
|
55
|
+
return /* @__PURE__ */ l(L, { children: v && /* @__PURE__ */ l(
|
|
56
|
+
T,
|
|
57
|
+
{
|
|
58
|
+
pendingAuth: !0,
|
|
59
|
+
onConsentConfirmed: k,
|
|
60
|
+
showTerms: e.auth?.hideCgu !== !0,
|
|
61
|
+
showEmailConsent: e.auth?.showEmailConsent,
|
|
62
|
+
termsUrl: e.provider?.cguUrl || "https://www.logora.com/blog-posts/cgu",
|
|
63
|
+
privacyUrl: e.provider?.privacyUrl || "https://www.logora.com/blog-posts/privacy-policy"
|
|
64
|
+
}
|
|
65
|
+
) });
|
|
49
66
|
};
|
|
50
67
|
export {
|
|
51
|
-
|
|
68
|
+
G as AuthInitializer
|
|
52
69
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AuthProvider as s } from "./AuthProvider.js";
|
|
2
|
-
|
|
2
|
+
import { utf8ToBase64url as e } from "../use_auth/base64.js";
|
|
3
|
+
class u extends s {
|
|
3
4
|
constructor(t, r) {
|
|
4
5
|
super(), this.providerName = t, this.userData = r;
|
|
5
6
|
}
|
|
@@ -11,8 +12,10 @@ class o extends s {
|
|
|
11
12
|
return !0;
|
|
12
13
|
}
|
|
13
14
|
getAssertion() {
|
|
15
|
+
if (!this.userData || typeof this.userData != "object")
|
|
16
|
+
return null;
|
|
14
17
|
const t = JSON.stringify(this.userData);
|
|
15
|
-
return
|
|
18
|
+
return e(t);
|
|
16
19
|
}
|
|
17
20
|
getAuthorizationParams() {
|
|
18
21
|
return {
|
|
@@ -25,5 +28,5 @@ class o extends s {
|
|
|
25
28
|
}
|
|
26
29
|
}
|
|
27
30
|
export {
|
|
28
|
-
|
|
31
|
+
u as FormAuth
|
|
29
32
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { AuthProvider as
|
|
2
|
-
class i extends
|
|
3
|
-
constructor(
|
|
4
|
-
super(), this.providerName =
|
|
1
|
+
import { AuthProvider as t } from "./AuthProvider.js";
|
|
2
|
+
class i extends t {
|
|
3
|
+
constructor(s, r) {
|
|
4
|
+
super(), this.providerName = s, this.userData = r;
|
|
5
5
|
}
|
|
6
6
|
shouldInitAuth() {
|
|
7
7
|
return !!this.userData;
|
|
8
8
|
}
|
|
9
9
|
getSessionId = () => null;
|
|
10
|
-
isSameUser(
|
|
10
|
+
isSameUser(s) {
|
|
11
11
|
return !0;
|
|
12
12
|
}
|
|
13
13
|
getAuthorizationParams() {
|
|
14
|
-
return {
|
|
14
|
+
return !this.userData?.email || !this.userData?.password ? null : {
|
|
15
15
|
grant_type: "password",
|
|
16
16
|
username: this.userData.email,
|
|
17
17
|
password: this.userData.password,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import '../../../assets/components/auth/sso_form/SSOForm.module-
|
|
1
|
+
import '../../../assets/components/auth/sso_form/SSOForm.module-DOw9cmCF.css';const o = "_ssoForm_idw02_3", t = "_logo_idw02_9", _ = "_logoImage_idw02_21", n = "_loginIcon_idw02_27", s = "_mainText_idw02_41", i = "_title_idw02_66", g = "_loginButton_idw02_72", c = "_cgu_idw02_77", e = "_signupButton_idw02_102", r = "_cguButton_idw02_109", u = "_switchBox_idw02_122", l = "_error_idw02_127", w = "_termsTarget_idw02_132", d = {
|
|
2
2
|
ssoForm: o,
|
|
3
3
|
logo: t,
|
|
4
|
-
logoImage:
|
|
5
|
-
loginIcon:
|
|
6
|
-
mainText:
|
|
7
|
-
title:
|
|
4
|
+
logoImage: _,
|
|
5
|
+
loginIcon: n,
|
|
6
|
+
mainText: s,
|
|
7
|
+
title: i,
|
|
8
8
|
loginButton: g,
|
|
9
|
-
cgu:
|
|
10
|
-
signupButton:
|
|
11
|
-
cguButton:
|
|
12
|
-
switchBox:
|
|
9
|
+
cgu: c,
|
|
10
|
+
signupButton: e,
|
|
11
|
+
cguButton: r,
|
|
12
|
+
switchBox: u,
|
|
13
13
|
error: l,
|
|
14
|
-
termsTarget:
|
|
14
|
+
termsTarget: w
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
c as cgu,
|
|
18
|
+
r as cguButton,
|
|
19
|
+
d as default,
|
|
20
20
|
l as error,
|
|
21
21
|
g as loginButton,
|
|
22
|
-
|
|
22
|
+
n as loginIcon,
|
|
23
23
|
t as logo,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
_ as logoImage,
|
|
25
|
+
s as mainText,
|
|
26
|
+
e as signupButton,
|
|
27
27
|
o as ssoForm,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
u as switchBox,
|
|
29
|
+
w as termsTarget,
|
|
30
|
+
i as title
|
|
31
31
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { authTokenHandler as E } from "./authTokenHandler.js";
|
|
2
2
|
import { useAuth as w } from "./useAuth.js";
|
|
3
3
|
import { useDataProvider as v } from "../../data/data_provider/useDataProvider.js";
|
|
4
|
-
const
|
|
5
|
-
const { removeToken:
|
|
6
|
-
|
|
4
|
+
const A = "logora:emailConsent", L = (c, u, f) => {
|
|
5
|
+
const { removeToken: a, fetchToken: d } = E(
|
|
6
|
+
c,
|
|
7
7
|
u,
|
|
8
|
-
|
|
9
|
-
), { setCurrentUser:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
f
|
|
9
|
+
), { setCurrentUser: n, setIsLoggedIn: s, setIsLoggingIn: t, setAuthError: r } = w(), l = v(), h = (e) => {
|
|
10
|
+
if (!e) {
|
|
11
|
+
r(!0), t(!1);
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
return d(e).then((o) => i()).catch((o) => {
|
|
15
|
+
r(o);
|
|
14
16
|
});
|
|
15
17
|
}, g = () => {
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
});
|
|
27
|
-
}, m = (e) => {
|
|
18
|
+
s(!1), t(!1), n({}), a(), sessionStorage.removeItem(A), p();
|
|
19
|
+
}, i = () => l.getOneWithToken("me", "").then((e) => {
|
|
20
|
+
if (e.data.success) {
|
|
21
|
+
const o = e.data.data.resource;
|
|
22
|
+
n(o), s(!0), t(!1), m(o);
|
|
23
|
+
} else
|
|
24
|
+
r(!0), s(!1), t(!1), n({}), a();
|
|
25
|
+
}).catch((e) => {
|
|
26
|
+
r(!0), s(!1), t(!1), n({}), a();
|
|
27
|
+
}), m = (e) => {
|
|
28
28
|
typeof window < "u" && window.dispatchEvent(
|
|
29
29
|
new CustomEvent("logora:authentication:success", {
|
|
30
30
|
detail: {
|
|
@@ -36,12 +36,12 @@ const I = "logora:emailConsent", L = (i, u, d) => {
|
|
|
36
36
|
typeof window < "u" && window.dispatchEvent(new CustomEvent("logora:authentication:logout"));
|
|
37
37
|
};
|
|
38
38
|
return {
|
|
39
|
-
loginUser:
|
|
39
|
+
loginUser: h,
|
|
40
40
|
logoutUser: g,
|
|
41
|
-
fetchUser:
|
|
41
|
+
fetchUser: i
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
A as EMAIL_CONSENT_STORAGE_KEY,
|
|
46
46
|
L as useAuthActions
|
|
47
47
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, Fragment as g, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import { useMemo as p } from "react";
|
|
4
|
-
import { useIntl as
|
|
4
|
+
import { useIntl as h, FormattedMessage as f } from "react-intl";
|
|
5
5
|
import o from "./ConsultationBox.module.scss.js";
|
|
6
6
|
import { useRoutes as v } from "../../data/config_provider/useRoutes.js";
|
|
7
7
|
import { useResponsive as N } from "../../hooks/use_responsive/useResponsive.js";
|
|
@@ -11,7 +11,7 @@ import { Tooltip as m } from "../../dialog/tooltip/Tooltip.js";
|
|
|
11
11
|
import { Icon as d } from "../../icons/icon/Icon.js";
|
|
12
12
|
import { ProgressBar as x } from "../../progress/progress_bar/ProgressBar.js";
|
|
13
13
|
const P = ({ consultation: e, showVoteProgress: u = !0 }) => {
|
|
14
|
-
const a =
|
|
14
|
+
const a = h(), l = p(() => /* @__PURE__ */ new Date()), c = new Date(e.ends_at), n = v(), { isMobile: I } = N();
|
|
15
15
|
return /* @__PURE__ */ t(g, { children: /* @__PURE__ */ s("div", { className: o.container, children: [
|
|
16
16
|
/* @__PURE__ */ s("div", { className: o.consultationImageBox, children: [
|
|
17
17
|
/* @__PURE__ */ t(
|
|
@@ -26,6 +26,7 @@ const P = ({ consultation: e, showVoteProgress: u = !0 }) => {
|
|
|
26
26
|
loading: "lazy",
|
|
27
27
|
className: o.consultationImage,
|
|
28
28
|
src: e.image_url,
|
|
29
|
+
height: 200,
|
|
29
30
|
alt: a.formatMessage({
|
|
30
31
|
id: "consultation.consultation_box.alt",
|
|
31
32
|
defaultMessage: "Presentation image for the consultation"
|
|
@@ -35,7 +36,7 @@ const P = ({ consultation: e, showVoteProgress: u = !0 }) => {
|
|
|
35
36
|
}
|
|
36
37
|
),
|
|
37
38
|
e.ends_at && c < l && /* @__PURE__ */ t("div", { className: i(o.consultationTime, o.ended), children: /* @__PURE__ */ t("span", { children: /* @__PURE__ */ t(
|
|
38
|
-
|
|
39
|
+
f,
|
|
39
40
|
{
|
|
40
41
|
id: "consultation.consultation_box.consultation_ended",
|
|
41
42
|
defaultMessage: "Consultation ended"
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import '../../../assets/components/consultation/consultation_box/ConsultationBox.module-
|
|
2
|
-
container:
|
|
3
|
-
consultationImageBox:
|
|
4
|
-
consultationImage:
|
|
1
|
+
import '../../../assets/components/consultation/consultation_box/ConsultationBox.module-97r47y_e.css';const o = "_container_1hled_3", n = "_consultationImageBox_1hled_19", t = "_consultationImage_1hled_19", s = "_consultationTime_1hled_33", a = "_ended_1hled_55", e = "_consultationTitle_1hled_59", i = "_iconVote_1hled_71", c = "_iconChat_1hled_75", l = "_consultationInformations_1hled_99", _ = "_consultationLeft_1hled_109", r = "_consultationGroupInformation_1hled_112", u = "_consultationGroupRight_1hled_116", d = "_progressBarContainer_1hled_119", h = "_progress_1hled_119", m = "_bar_1hled_133", g = "_consultationTextInformation_1hled_142", I = {
|
|
2
|
+
container: o,
|
|
3
|
+
consultationImageBox: n,
|
|
4
|
+
consultationImage: t,
|
|
5
5
|
consultationTime: s,
|
|
6
6
|
ended: a,
|
|
7
|
-
consultationTitle:
|
|
8
|
-
iconVote:
|
|
9
|
-
iconChat:
|
|
10
|
-
consultationInformations:
|
|
11
|
-
consultationLeft:
|
|
7
|
+
consultationTitle: e,
|
|
8
|
+
iconVote: i,
|
|
9
|
+
iconChat: c,
|
|
10
|
+
consultationInformations: l,
|
|
11
|
+
consultationLeft: _,
|
|
12
12
|
consultationGroupInformation: r,
|
|
13
|
-
consultationGroupRight:
|
|
14
|
-
progressBarContainer:
|
|
15
|
-
progress:
|
|
16
|
-
bar:
|
|
13
|
+
consultationGroupRight: u,
|
|
14
|
+
progressBarContainer: d,
|
|
15
|
+
progress: h,
|
|
16
|
+
bar: m,
|
|
17
17
|
consultationTextInformation: g
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
m as bar,
|
|
21
21
|
r as consultationGroupInformation,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
u as consultationGroupRight,
|
|
23
|
+
t as consultationImage,
|
|
24
|
+
n as consultationImageBox,
|
|
25
|
+
l as consultationInformations,
|
|
26
|
+
_ as consultationLeft,
|
|
27
27
|
g as consultationTextInformation,
|
|
28
28
|
s as consultationTime,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
e as consultationTitle,
|
|
30
|
+
o as container,
|
|
31
31
|
I as default,
|
|
32
32
|
a as ended,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
c as iconChat,
|
|
34
|
+
i as iconVote,
|
|
35
|
+
h as progress,
|
|
36
|
+
d as progressBarContainer
|
|
37
37
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import '../../../assets/components/debate/debate_box/DebateBox.module-
|
|
1
|
+
import '../../../assets/components/debate/debate_box/DebateBox.module-emnqIGNF.css';const e = "_debateBox_159yf_3", t = "_imageLink_159yf_14", a = "_debateBoxImage_159yf_18", o = "_debateBoxImageBox_159yf_27", i = "_debateSuggestion_159yf_31", _ = "_inactiveDebate_159yf_31", b = "_authorSuggestion_159yf_53", n = "_authorName_159yf_59", s = "_debateBoxBody_159yf_83", d = "_subApplication_159yf_90", c = "_debateBoxTitle_159yf_102", x = "_debateTitle_159yf_121", B = "_debateTitleMobile_159yf_132", r = "_debateBoxFooter_159yf_136", y = "_debateParticipantsBox_159yf_151", m = "_debateParticipantsEmpty_159yf_157", p = "_debateParticipantItem_159yf_162", u = "_debateBoxNumbers_159yf_174", g = "_debateBoxNumbersText_159yf_186", f = "_debateBoxPercentage_159yf_195", l = "_debateBoxPositionName_159yf_201", P = "_participantsCountBox_159yf_208", N = {
|
|
2
2
|
debateBox: e,
|
|
3
3
|
imageLink: t,
|
|
4
4
|
debateBoxImage: a,
|
|
5
5
|
debateBoxImageBox: o,
|
|
6
|
-
debateSuggestion:
|
|
7
|
-
inactiveDebate:
|
|
8
|
-
authorSuggestion:
|
|
9
|
-
authorName:
|
|
10
|
-
debateBoxBody:
|
|
6
|
+
debateSuggestion: i,
|
|
7
|
+
inactiveDebate: _,
|
|
8
|
+
authorSuggestion: b,
|
|
9
|
+
authorName: n,
|
|
10
|
+
debateBoxBody: s,
|
|
11
11
|
subApplication: d,
|
|
12
12
|
debateBoxTitle: c,
|
|
13
13
|
debateTitle: x,
|
|
@@ -17,33 +17,33 @@ import '../../../assets/components/debate/debate_box/DebateBox.module-DTLafpl4.c
|
|
|
17
17
|
debateParticipantsEmpty: m,
|
|
18
18
|
debateParticipantItem: p,
|
|
19
19
|
debateBoxNumbers: u,
|
|
20
|
-
debateBoxNumbersText:
|
|
21
|
-
debateBoxPercentage:
|
|
22
|
-
debateBoxPositionName:
|
|
23
|
-
participantsCountBox:
|
|
20
|
+
debateBoxNumbersText: g,
|
|
21
|
+
debateBoxPercentage: f,
|
|
22
|
+
debateBoxPositionName: l,
|
|
23
|
+
participantsCountBox: P
|
|
24
24
|
};
|
|
25
25
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
n as authorName,
|
|
27
|
+
b as authorSuggestion,
|
|
28
28
|
e as debateBox,
|
|
29
|
-
|
|
29
|
+
s as debateBoxBody,
|
|
30
30
|
r as debateBoxFooter,
|
|
31
31
|
a as debateBoxImage,
|
|
32
32
|
o as debateBoxImageBox,
|
|
33
33
|
u as debateBoxNumbers,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
g as debateBoxNumbersText,
|
|
35
|
+
f as debateBoxPercentage,
|
|
36
|
+
l as debateBoxPositionName,
|
|
37
37
|
c as debateBoxTitle,
|
|
38
38
|
p as debateParticipantItem,
|
|
39
39
|
y as debateParticipantsBox,
|
|
40
40
|
m as debateParticipantsEmpty,
|
|
41
|
-
|
|
41
|
+
i as debateSuggestion,
|
|
42
42
|
x as debateTitle,
|
|
43
43
|
B as debateTitleMobile,
|
|
44
|
-
|
|
44
|
+
N as default,
|
|
45
45
|
t as imageLink,
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
_ as inactiveDebate,
|
|
47
|
+
P as participantsCountBox,
|
|
48
48
|
d as subApplication
|
|
49
49
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import '../../../assets/components/dialog/dialog_box/DialogBox.module-
|
|
1
|
+
import '../../../assets/components/dialog/dialog_box/DialogBox.module-ZoM8d2Ly.css';const t = "_childContainer_srudm_3", o = "_textContainer_srudm_7", e = "_hidden_srudm_29", n = "_top_srudm_41", _ = "_bottom_srudm_57", s = "_left_srudm_73", c = "_right_srudm_89", d = "_title_srudm_106", r = "_textContent_srudm_119", i = "_close_srudm_133", l = "_closeText_srudm_140", m = {
|
|
2
2
|
childContainer: t,
|
|
3
3
|
textContainer: o,
|
|
4
4
|
hidden: e,
|
|
5
5
|
top: n,
|
|
6
6
|
bottom: _,
|
|
7
|
-
left:
|
|
8
|
-
right:
|
|
9
|
-
title:
|
|
10
|
-
textContent:
|
|
11
|
-
close:
|
|
12
|
-
closeText:
|
|
7
|
+
left: s,
|
|
8
|
+
right: c,
|
|
9
|
+
title: d,
|
|
10
|
+
textContent: r,
|
|
11
|
+
close: i,
|
|
12
|
+
closeText: l
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
15
15
|
_ as bottom,
|
|
16
16
|
t as childContainer,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
i as close,
|
|
18
|
+
l as closeText,
|
|
19
|
+
m as default,
|
|
20
20
|
e as hidden,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
s as left,
|
|
22
|
+
c as right,
|
|
23
23
|
o as textContainer,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
r as textContent,
|
|
25
|
+
d as title,
|
|
26
26
|
n as top
|
|
27
27
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { useState as
|
|
1
|
+
import { jsxs as g, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import m from "classnames";
|
|
3
|
+
import { useState as x, useRef as b, useEffect as E } from "react";
|
|
4
4
|
import t from "./Dropdown.module.scss.js";
|
|
5
|
-
const
|
|
5
|
+
const y = ({
|
|
6
6
|
onClick: s,
|
|
7
|
-
horizontalPosition:
|
|
7
|
+
horizontalPosition: d = "left",
|
|
8
|
+
verticalPosition: c = "bottom",
|
|
8
9
|
disabled: l = !1,
|
|
9
|
-
closeOnContentClick:
|
|
10
|
-
className:
|
|
10
|
+
closeOnContentClick: p = !1,
|
|
11
|
+
className: f,
|
|
11
12
|
dropdownClassName: a,
|
|
12
|
-
children:
|
|
13
|
+
children: u
|
|
13
14
|
}) => {
|
|
14
|
-
const [r, o] =
|
|
15
|
+
const [r, o] = x(!1), n = b(null), w = () => {
|
|
15
16
|
l || (s && s(), o(!r));
|
|
16
17
|
};
|
|
17
18
|
return E(() => {
|
|
@@ -19,11 +20,11 @@ const k = ({
|
|
|
19
20
|
n.current && !n.current.contains(v.target) && o(!1);
|
|
20
21
|
};
|
|
21
22
|
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
22
|
-
}, []), /* @__PURE__ */
|
|
23
|
+
}, []), /* @__PURE__ */ g(
|
|
23
24
|
"div",
|
|
24
25
|
{
|
|
25
26
|
ref: n,
|
|
26
|
-
className:
|
|
27
|
+
className: m(t.dropdownWrapper, { [f]: f }),
|
|
27
28
|
children: [
|
|
28
29
|
/* @__PURE__ */ i(
|
|
29
30
|
"button",
|
|
@@ -31,20 +32,21 @@ const k = ({
|
|
|
31
32
|
type: "button",
|
|
32
33
|
"aria-expanded": r,
|
|
33
34
|
className: t.dropdownHeader,
|
|
34
|
-
onClick:
|
|
35
|
-
children:
|
|
35
|
+
onClick: w,
|
|
36
|
+
children: u[0]
|
|
36
37
|
}
|
|
37
38
|
),
|
|
38
39
|
r && /* @__PURE__ */ i(
|
|
39
40
|
"div",
|
|
40
41
|
{
|
|
41
|
-
className: a ||
|
|
42
|
+
className: a || m(t.dropdownList, {
|
|
43
|
+
[t[d]]: d,
|
|
42
44
|
[t[c]]: c
|
|
43
45
|
}),
|
|
44
46
|
onClick: (e) => {
|
|
45
|
-
(
|
|
47
|
+
(p || e.target === e.currentTarget) && o(!1);
|
|
46
48
|
},
|
|
47
|
-
children:
|
|
49
|
+
children: u[1]
|
|
48
50
|
}
|
|
49
51
|
)
|
|
50
52
|
]
|
|
@@ -52,5 +54,5 @@ const k = ({
|
|
|
52
54
|
);
|
|
53
55
|
};
|
|
54
56
|
export {
|
|
55
|
-
|
|
57
|
+
y as Dropdown
|
|
56
58
|
};
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import '../../../assets/components/dialog/dropdown/Dropdown.module-
|
|
2
|
-
dropdownWrapper:
|
|
3
|
-
dropdownHeader:
|
|
4
|
-
dropdownList:
|
|
5
|
-
|
|
1
|
+
import '../../../assets/components/dialog/dropdown/Dropdown.module-BmT3rAwz.css';const o = "_dropdownWrapper_7839n_3", t = "_dropdownHeader_7839n_8", n = "_dropdownList_7839n_19", r = "_bottom_7839n_30", _ = "_top_7839n_34", d = "_left_7839n_38", e = "_right_7839n_42", p = "_center_7839n_46", s = {
|
|
2
|
+
dropdownWrapper: o,
|
|
3
|
+
dropdownHeader: t,
|
|
4
|
+
dropdownList: n,
|
|
5
|
+
bottom: r,
|
|
6
|
+
top: _,
|
|
7
|
+
left: d,
|
|
6
8
|
right: e,
|
|
7
|
-
center:
|
|
9
|
+
center: p
|
|
8
10
|
};
|
|
9
11
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
r as bottom,
|
|
13
|
+
p as center,
|
|
14
|
+
s as default,
|
|
15
|
+
t as dropdownHeader,
|
|
16
|
+
n as dropdownList,
|
|
17
|
+
o as dropdownWrapper,
|
|
18
|
+
d as left,
|
|
19
|
+
e as right,
|
|
20
|
+
_ as top
|
|
17
21
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import '../../../assets/components/dialog/modal/Modal.module-
|
|
2
|
-
modalDialog:
|
|
3
|
-
modalDialogFullScreen:
|
|
4
|
-
modalContainer:
|
|
5
|
-
modalHeader:
|
|
1
|
+
import '../../../assets/components/dialog/modal/Modal.module-Dt4SWx6U.css';const o = "_modalDialog_10xpb_3", a = "_modalDialogFullScreen_10xpb_24", l = "_modalContainer_10xpb_34", t = "_modalHeader_10xpb_50", e = "_modalExitButton_10xpb_62", d = "_modalHeaderWithTitle_10xpb_83", n = "_modalContent_10xpb_87", m = {
|
|
2
|
+
modalDialog: o,
|
|
3
|
+
modalDialogFullScreen: a,
|
|
4
|
+
modalContainer: l,
|
|
5
|
+
modalHeader: t,
|
|
6
6
|
modalExitButton: e,
|
|
7
7
|
modalHeaderWithTitle: d,
|
|
8
8
|
modalContent: n
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
11
|
m as default,
|
|
12
|
-
|
|
12
|
+
l as modalContainer,
|
|
13
13
|
n as modalContent,
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
o as modalDialog,
|
|
15
|
+
a as modalDialogFullScreen,
|
|
16
16
|
e as modalExitButton,
|
|
17
|
-
|
|
17
|
+
t as modalHeader,
|
|
18
18
|
d as modalHeaderWithTitle
|
|
19
19
|
};
|