@logora/debate 0.4.50 → 0.4.52
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/input/text_editor/plugins/ToolbarPlugin.module-DPrYyi_2.css +1 -0
- package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-DP4kPR9x.css +1 -0
- package/dist/components/auth/sso_form/SSOForm.js +26 -25
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +97 -98
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.scss.js +12 -12
- package/dist/components/list/paginated_list/action_bar/ActionBar.js +126 -74
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.scss.js +28 -18
- package/package.json +1 -1
- package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-C3yG2biv.css +0 -1
- package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-BDMBrj2Y.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._toolbar_1vwec_3{display:flex!important;justify-content:space-between!important;flex-wrap:wrap;background:var(--background-color-primary, white);padding-top:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;vertical-align:middle;align-items:flex-start;gap:var(--space-unit, 1em)}._toolbar_1vwec_3._toolbarIsActive_1vwec_13{border-top:1px solid var(--text-tertiary, #fafafa)}._iconToolbar_1vwec_17{display:flex!important;gap:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))}._iconToolbar_1vwec_17._shortBar_1vwec_21{gap:var(--spacer-md, calc(var(--space-unit, 1em) * .75))}._toolbarItem_1vwec_25{border:0;background:none;padding:0!important;cursor:pointer;vertical-align:middle;touch-action:manipulation;display:flex;align-items:center;justify-content:center;outline:none}@container (max-width: 575.98px){._toolbarItem_1vwec_25{min-width:44px;min-height:44px}}._toolbarItem_1vwec_25._disabled_1vwec_43{cursor:not-allowed}._toolbarItem_1vwec_25:active,._toolbarItem_1vwec_25._active_1vwec_46{background-color:#bababa66;border-radius:50%}._toolbarItem_1vwec_25 ._format_1vwec_50{background-size:contain;display:inline-block;vertical-align:-.25em;display:flex!important}._actionButton_1vwec_57{display:flex!important;gap:var(--space-unit, 1em);margin-left:auto}._inputSubmitActionButton_1vwec_63{width:100%;height:35px;display:flex!important;justify-content:center!important;align-items:center!important;background-color:var(--call-primary-color, #434343)!important}._inputSubmitActionButton_1vwec_63._submitAction_1vwec_71 svg{fill:var(--text-light, white)!important}._inputSubmitActionButton_1vwec_63 ._inputSourceText_1vwec_74{display:none!important;margin-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;font-size:var(--font-size-small, 16px)}@container (min-width: 576px){._inputSubmitActionButton_1vwec_63 ._inputSourceText_1vwec_74{display:block!important}}._tooltip_1vwec_85{width:230px!important;margin-left:-117px!important}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._listHeader_10hfs_3{display:flex;justify-content:space-between;align-items:center;position:relative;flex-wrap:wrap;gap:var(--space-unit, 1em)}@container (max-width: 575.98px){._listHeader_10hfs_3{flex-direction:column;align-items:flex-start}._listHeader_10hfs_3._listHeaderOneItem_10hfs_16{flex-direction:row;align-items:center;flex-wrap:nowrap!important}}._listTitle_10hfs_23{font-size:var(--font-size-extra-large, 22px);line-height:var(--line-height-tight, 1.08em);font-weight:var(--font-weight-bold, 700);font-variation-settings:var(--font-variation-bold, normal);font-family:var(--title-font-family, var(--font-family, "Montserrat"))}._listSubtitle_10hfs_31{color:var(--text-primary, #222222);font-weight:var(--font-weight-normal, 400);font-variation-settings:var(--font-variation-normal, normal);font-size:var(--font-size-normal, 16px);margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._rightBar_10hfs_39{display:flex;gap:var(--space-unit, 1em);flex-wrap:wrap}@container (max-width: 575.98px){._rightBar_10hfs_39{width:100%;justify-content:space-between}._rightBar_10hfs_39._rightBarOneItem_10hfs_49{justify-content:flex-end}}._rightBar_10hfs_39{flex:1 1 auto;justify-content:flex-end;align-items:center;flex-direction:row}._search_10hfs_60{flex:1;max-width:35%}@container (max-width: 575.98px){._search_10hfs_60{max-width:80%}}._tagSection_10hfs_70{position:relative;display:flex;align-items:stretch;width:100%;max-width:100%}._tagList_10hfs_78{display:flex;flex-direction:row;justify-content:flex-start;flex:1;overflow-x:auto;overflow-y:hidden;gap:var(--spacer-md, calc(var(--space-unit, 1em) * .75));padding-bottom:var(--spacer-md, calc(var(--space-unit, 1em) * .75));scrollbar-width:none}@container (max-width: 575.98px){._tagList_10hfs_78{gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}}._tagList_10hfs_78::-webkit-scrollbar{display:none}._arrow_10hfs_98{position:absolute;top:0;bottom:0;z-index:2;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;padding:0;transition:opacity .2s ease;outline:none;background:none;line-height:0}._arrow_10hfs_98 svg{display:block}._arrow_10hfs_98:focus-visible{outline:2px solid var(--call-primary-color, #434343);outline-offset:-2px}._arrowLeft_10hfs_122{left:0;padding-left:var(--spacer-xs, calc(var(--space-unit, 1em) * .325));background:linear-gradient(to right,var(--background-color-container, white) 40%,transparent)}._arrowLeft_10hfs_122 svg{transform:rotate(90deg)}._arrowRight_10hfs_131{right:0;padding-right:var(--spacer-xs, calc(var(--space-unit, 1em) * .325));background:linear-gradient(to left,var(--background-color-container, white) 40%,transparent)}._arrowRight_10hfs_131 svg{transform:rotate(-90deg)}._arrowHidden_10hfs_140{opacity:0;pointer-events:none}._tagItem_10hfs_145{display:flex!important;color:var(--text-secondary, #5F5F5F);cursor:pointer;white-space:nowrap}._select_10hfs_152{max-width:300px}@container (max-width: 575.98px){._select_10hfs_152{max-width:300px}}
|
|
@@ -9,9 +9,10 @@ import { EMAIL_CONSENT_STORAGE_KEY as H } from "../use_auth/useAuthActions.js";
|
|
|
9
9
|
import { Icon as K } from "../../icons/icon/Icon.js";
|
|
10
10
|
import { Button as V } from "../../action/button/Button.js";
|
|
11
11
|
import { Toggle as W } from "../../input/toggle/Toggle.js";
|
|
12
|
-
|
|
12
|
+
import { utf8ToBase64url as $ } from "../use_auth/base64.js";
|
|
13
|
+
const ie = ({
|
|
13
14
|
authType: v,
|
|
14
|
-
providerName:
|
|
15
|
+
providerName: c,
|
|
15
16
|
loginUrl: M,
|
|
16
17
|
signupUrl: b,
|
|
17
18
|
termsUrl: N,
|
|
@@ -20,25 +21,25 @@ const oe = ({
|
|
|
20
21
|
oAuthRedirectUri: y,
|
|
21
22
|
scope: I,
|
|
22
23
|
redirectParameter: f = "logora_redirect",
|
|
23
|
-
trackingParameters:
|
|
24
|
-
hideActions:
|
|
24
|
+
trackingParameters: P = {},
|
|
25
|
+
hideActions: U = !1,
|
|
25
26
|
hideLoginButton: k = !1,
|
|
26
27
|
showEmailConsent: g = !1,
|
|
27
28
|
showTerms: L = !1,
|
|
28
|
-
hideBelowButton:
|
|
29
|
-
error:
|
|
29
|
+
hideBelowButton: x = !1,
|
|
30
|
+
error: R = !1
|
|
30
31
|
}) => {
|
|
31
|
-
const [h,
|
|
32
|
-
}], o = Y(),
|
|
32
|
+
const [h, T] = g ? G(H, !1) : [!1, () => {
|
|
33
|
+
}], o = Y(), d = z(), A = (t) => {
|
|
33
34
|
if (typeof window < "u") {
|
|
34
|
-
const s = t === "CURRENT_LOCATION" ? window.location : t, i = new URL(s, window.location.origin), l = i.searchParams, E = new URLSearchParams(
|
|
35
|
+
const s = t === "CURRENT_LOCATION" ? window.location : t, i = new URL(s, window.location.origin), l = i.searchParams, E = new URLSearchParams(d.search);
|
|
35
36
|
l.has("code") && l.delete("code"), f && l.append(f, window.location.toString());
|
|
36
|
-
for (const [_, F] of Object.entries(
|
|
37
|
+
for (const [_, F] of Object.entries(P)) {
|
|
37
38
|
let r = F;
|
|
38
39
|
if (r) {
|
|
39
|
-
const j =
|
|
40
|
+
const j = d.pathname.slice(
|
|
40
41
|
0,
|
|
41
|
-
|
|
42
|
+
d.pathname.lastIndexOf("/")
|
|
42
43
|
);
|
|
43
44
|
r = r.replace(
|
|
44
45
|
"{{UTM_CAMPAIGN}}",
|
|
@@ -48,19 +49,19 @@ const oe = ({
|
|
|
48
49
|
decodeURIComponent(j)
|
|
49
50
|
);
|
|
50
51
|
}
|
|
51
|
-
_ === "metadata" && r && (r =
|
|
52
|
+
_ === "metadata" && r && (r = $(r)), l.append(_, r);
|
|
52
53
|
}
|
|
53
54
|
return i.search = l.toString(), i.toString();
|
|
54
55
|
}
|
|
55
56
|
return "";
|
|
56
|
-
},
|
|
57
|
+
}, C = (t) => {
|
|
57
58
|
const s = new URL(t);
|
|
58
59
|
if (s.searchParams.delete("code"), s.searchParams.append("client_id", S), s.searchParams.append("redirect_uri", y), s.searchParams.append("scope", I), s.searchParams.append("response_type", "code"), typeof window < "u") {
|
|
59
60
|
const i = new URL(window.location.href);
|
|
60
61
|
i.searchParams.delete("code"), s.searchParams.append("state", window.btoa(i.toString()));
|
|
61
62
|
}
|
|
62
63
|
return s.href;
|
|
63
|
-
}, p = (t) => v === "oauth2_server" ?
|
|
64
|
+
}, p = (t) => v === "oauth2_server" ? C(t) : A(t), B = p(M), O = p(b);
|
|
64
65
|
return /* @__PURE__ */ n("div", { className: a.ssoForm, children: [
|
|
65
66
|
/* @__PURE__ */ e("div", { className: a.logo, children: u ? /* @__PURE__ */ e(
|
|
66
67
|
"img",
|
|
@@ -69,7 +70,7 @@ const oe = ({
|
|
|
69
70
|
width: 100,
|
|
70
71
|
className: a.logoImage,
|
|
71
72
|
src: u,
|
|
72
|
-
alt: `Logo ${
|
|
73
|
+
alt: `Logo ${c}`
|
|
73
74
|
}
|
|
74
75
|
) : /* @__PURE__ */ e(
|
|
75
76
|
K,
|
|
@@ -94,17 +95,17 @@ const oe = ({
|
|
|
94
95
|
id: "auth.sso_form.subtitle",
|
|
95
96
|
defaultMessage: "Sign up right now and receive alerts by email."
|
|
96
97
|
},
|
|
97
|
-
{ provider:
|
|
98
|
+
{ provider: c }
|
|
98
99
|
)
|
|
99
100
|
] }),
|
|
100
|
-
|
|
101
|
+
U ? null : /* @__PURE__ */ n(m, { children: [
|
|
101
102
|
/* @__PURE__ */ e(
|
|
102
103
|
V,
|
|
103
104
|
{
|
|
104
105
|
"data-tid": "link_signup",
|
|
105
106
|
"data-testid": "signup-button",
|
|
106
107
|
className: a.loginButton,
|
|
107
|
-
to:
|
|
108
|
+
to: O,
|
|
108
109
|
external: !0,
|
|
109
110
|
border: !1,
|
|
110
111
|
children: o.formatMessage({
|
|
@@ -113,7 +114,7 @@ const oe = ({
|
|
|
113
114
|
})
|
|
114
115
|
}
|
|
115
116
|
),
|
|
116
|
-
|
|
117
|
+
x ? null : /* @__PURE__ */ n(m, { children: [
|
|
117
118
|
k === !0 ? null : /* @__PURE__ */ n("div", { className: a.cgu, children: [
|
|
118
119
|
o.formatMessage({
|
|
119
120
|
id: "auth.sso_form.already_account",
|
|
@@ -126,7 +127,7 @@ const oe = ({
|
|
|
126
127
|
"data-testid": "signin-link",
|
|
127
128
|
"data-tid": "link_login",
|
|
128
129
|
rel: "nofollow",
|
|
129
|
-
href:
|
|
130
|
+
href: B,
|
|
130
131
|
children: o.formatMessage({
|
|
131
132
|
id: "auth.sso_form.signin",
|
|
132
133
|
defaultMessage: "Sign in"
|
|
@@ -146,13 +147,13 @@ const oe = ({
|
|
|
146
147
|
id: "auth.sso_form.consent_label",
|
|
147
148
|
defaultMessage: "I agree to receive emails from the editor"
|
|
148
149
|
},
|
|
149
|
-
{ variable:
|
|
150
|
+
{ variable: c }
|
|
150
151
|
),
|
|
151
|
-
onInputChanged: (t) =>
|
|
152
|
+
onInputChanged: (t) => T(!h),
|
|
152
153
|
"data-testid": "accepts-email-input"
|
|
153
154
|
}
|
|
154
155
|
) }) : null,
|
|
155
|
-
|
|
156
|
+
R ? /* @__PURE__ */ e("div", { className: a.error, children: o.formatMessage({
|
|
156
157
|
id: "auth.sso_form.error",
|
|
157
158
|
defaultMessage: "An error occurred during sign in. Please try again in a few moments."
|
|
158
159
|
}) }) : null,
|
|
@@ -189,5 +190,5 @@ const oe = ({
|
|
|
189
190
|
] });
|
|
190
191
|
};
|
|
191
192
|
export {
|
|
192
|
-
|
|
193
|
+
ie as SSOForm
|
|
193
194
|
};
|
|
@@ -1,250 +1,249 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { $isListNode as
|
|
1
|
+
import { jsxs as R, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { $isListNode as B, ListNode as Y, INSERT_ORDERED_LIST_COMMAND as Z, $isListItemNode as $, $createListNode as ee } from "@lexical/list";
|
|
3
3
|
import { useLexicalComposerContext as te } from "@lexical/react/LexicalComposerContext";
|
|
4
|
-
import { $isHeadingNode as oe, $createQuoteNode as
|
|
5
|
-
import { $setBlocksType as
|
|
4
|
+
import { $isHeadingNode as oe, $createQuoteNode as q } from "@lexical/rich-text";
|
|
5
|
+
import { $setBlocksType as K } from "@lexical/selection";
|
|
6
6
|
import { $getNearestNodeOfType as ne, mergeRegister as ie } from "@lexical/utils";
|
|
7
|
-
import
|
|
8
|
-
import { $getSelection as M, $isRangeSelection as I, SELECTION_CHANGE_COMMAND as
|
|
9
|
-
import { useRef as x, useState as N, useCallback as re, useEffect as
|
|
7
|
+
import l from "classnames";
|
|
8
|
+
import { $getSelection as M, $isRangeSelection as I, SELECTION_CHANGE_COMMAND as le, FORMAT_TEXT_COMMAND as ae, $createParagraphNode as F } from "lexical";
|
|
9
|
+
import { useRef as x, useState as N, useCallback as re, useEffect as U } from "react";
|
|
10
10
|
import { useIntl as se } from "react-intl";
|
|
11
11
|
import t from "./ToolbarPlugin.module.scss.js";
|
|
12
12
|
import { Icon as f } from "../../../icons/icon/Icon.js";
|
|
13
13
|
import { Button as ce } from "../../../action/button/Button.js";
|
|
14
|
-
const
|
|
15
|
-
const d = se(),
|
|
14
|
+
const Ce = (a) => {
|
|
15
|
+
const d = se(), j = 1, [r] = te(), H = x(null), [T, S] = N("paragraph"), [de, Q] = N(null), [V, L] = N(!1), [z, A] = N(!1), [G, v] = N(!1), D = a.hideSubmit && a.hideSourceAction && a.disableRichText, _ = re(() => {
|
|
16
16
|
const e = M();
|
|
17
17
|
if (I(e)) {
|
|
18
|
-
const
|
|
19
|
-
if (
|
|
20
|
-
if (
|
|
21
|
-
const o = ne(
|
|
18
|
+
const n = e.anchor.getNode(), s = n.getKey() === "root" ? n : n.getTopLevelElementOrThrow(), u = s.getKey();
|
|
19
|
+
if (r.getElementByKey(u) !== null)
|
|
20
|
+
if (Q(u), B(s)) {
|
|
21
|
+
const o = ne(n, Y), p = o ? o.getTag() : s.getTag();
|
|
22
22
|
S(p);
|
|
23
23
|
} else {
|
|
24
|
-
const o = oe(
|
|
24
|
+
const o = oe(s) ? s.getTag() : s.getType();
|
|
25
25
|
S(o);
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
L(e.hasFormat("bold")), A(e.hasFormat("italic")), v(e.hasFormat("underline"));
|
|
28
28
|
}
|
|
29
|
-
}, [
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
}, [r]);
|
|
30
|
+
U(() => ie(
|
|
31
|
+
r.registerUpdateListener(({ editorState: e }) => {
|
|
32
32
|
e.read(() => {
|
|
33
33
|
_();
|
|
34
34
|
});
|
|
35
35
|
}),
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
r.registerCommand(
|
|
37
|
+
le,
|
|
38
38
|
() => (_(), !1),
|
|
39
|
-
|
|
39
|
+
j
|
|
40
40
|
)
|
|
41
|
-
), [
|
|
42
|
-
const y = x(!1),
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
), [r, _]);
|
|
42
|
+
const y = x(!1), c = x(null);
|
|
43
|
+
U(() => () => {
|
|
44
|
+
c.current && clearTimeout(c.current);
|
|
45
45
|
}, []);
|
|
46
|
-
const g = (e,
|
|
47
|
-
|
|
48
|
-
y.current = !1,
|
|
46
|
+
const g = (e, n) => {
|
|
47
|
+
(e.pointerType === "touch" || e.pointerType === "pen") && (e.preventDefault(), y.current = !0, n(), c.current && clearTimeout(c.current), c.current = setTimeout(() => {
|
|
48
|
+
y.current = !1, c.current = null;
|
|
49
49
|
}, 500));
|
|
50
50
|
}, h = (e) => {
|
|
51
51
|
if (y.current) {
|
|
52
|
-
y.current = !1,
|
|
52
|
+
y.current = !1, c.current && (clearTimeout(c.current), c.current = null);
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
55
55
|
e();
|
|
56
|
-
},
|
|
56
|
+
}, C = () => {
|
|
57
57
|
setTimeout(() => {
|
|
58
|
-
|
|
58
|
+
r.getEditorState().read(() => {
|
|
59
59
|
_();
|
|
60
60
|
});
|
|
61
61
|
}, 0);
|
|
62
62
|
}, b = (e) => {
|
|
63
|
-
|
|
63
|
+
r.dispatchCommand(ae, e), e === "bold" ? L((n) => !n) : e === "italic" ? A((n) => !n) : e === "underline" && v((n) => !n), C();
|
|
64
64
|
}, X = () => {
|
|
65
|
-
|
|
65
|
+
r.update(() => {
|
|
66
66
|
const e = M();
|
|
67
67
|
if (!I(e))
|
|
68
68
|
return;
|
|
69
|
-
const
|
|
70
|
-
for (const m of
|
|
69
|
+
const n = e.getNodes(), s = /* @__PURE__ */ new Set();
|
|
70
|
+
for (const m of n) {
|
|
71
71
|
let o = m;
|
|
72
|
-
for (; o !== null &&
|
|
72
|
+
for (; o !== null && !$(o); )
|
|
73
73
|
o = o.getParent();
|
|
74
|
-
|
|
74
|
+
$(o) && s.add(o);
|
|
75
75
|
}
|
|
76
|
-
const u = Array.from(
|
|
76
|
+
const u = Array.from(s).reverse();
|
|
77
77
|
for (const m of u) {
|
|
78
78
|
const o = m.getParent();
|
|
79
|
-
if (!
|
|
79
|
+
if (!B(o))
|
|
80
80
|
continue;
|
|
81
|
-
const p =
|
|
82
|
-
for (const
|
|
83
|
-
p.append(
|
|
84
|
-
const
|
|
85
|
-
if (o.insertAfter(p),
|
|
86
|
-
const
|
|
87
|
-
for (const W of
|
|
88
|
-
|
|
89
|
-
p.insertAfter(
|
|
81
|
+
const p = F(), J = m.getChildren();
|
|
82
|
+
for (const w of J)
|
|
83
|
+
p.append(w);
|
|
84
|
+
const k = m.getNextSiblings();
|
|
85
|
+
if (o.insertAfter(p), k.length > 0) {
|
|
86
|
+
const w = k[0].getValue(), P = ee(o.getListType(), w);
|
|
87
|
+
for (const W of k)
|
|
88
|
+
P.append(W);
|
|
89
|
+
p.insertAfter(P);
|
|
90
90
|
}
|
|
91
91
|
m.remove(), o.getChildrenSize() === 0 && o.remove();
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
|
-
},
|
|
95
|
-
T !== "ol" ?
|
|
96
|
-
},
|
|
97
|
-
T !== "quote" ?
|
|
94
|
+
}, E = () => {
|
|
95
|
+
T !== "ol" ? r.dispatchCommand(Z) : X(), C();
|
|
96
|
+
}, O = () => {
|
|
97
|
+
T !== "quote" ? r.update(() => {
|
|
98
98
|
const e = M();
|
|
99
99
|
if (I(e))
|
|
100
100
|
if (e.isCollapsed()) {
|
|
101
|
-
const
|
|
102
|
-
|
|
101
|
+
const s = e.anchor.getNode().getTopLevelElementOrThrow(), u = q();
|
|
102
|
+
s.insertAfter(u), u.selectEnd();
|
|
103
103
|
} else
|
|
104
|
-
|
|
105
|
-
}) :
|
|
104
|
+
K(e, () => q());
|
|
105
|
+
}) : r.update(() => {
|
|
106
106
|
const e = M();
|
|
107
|
-
I(e) &&
|
|
108
|
-
}),
|
|
107
|
+
I(e) && K(e, () => F());
|
|
108
|
+
}), C();
|
|
109
109
|
};
|
|
110
|
-
return
|
|
110
|
+
return D ? null : /* @__PURE__ */ R(
|
|
111
111
|
"div",
|
|
112
112
|
{
|
|
113
|
-
className:
|
|
114
|
-
[t.toolbarIsActive]:
|
|
113
|
+
className: l(t.toolbar, {
|
|
114
|
+
[t.toolbarIsActive]: D ? !1 : a.isActive
|
|
115
115
|
}),
|
|
116
|
-
ref:
|
|
116
|
+
ref: H,
|
|
117
117
|
children: [
|
|
118
|
-
a.isActive ? !a.disableRichText && /* @__PURE__ */
|
|
118
|
+
a.isActive ? !a.disableRichText && /* @__PURE__ */ R(
|
|
119
119
|
"div",
|
|
120
120
|
{
|
|
121
|
-
className:
|
|
121
|
+
className: l(t.iconToolbar, {
|
|
122
122
|
[t.shortBar]: a.shortBar
|
|
123
123
|
}),
|
|
124
124
|
children: [
|
|
125
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ i(
|
|
126
126
|
"button",
|
|
127
127
|
{
|
|
128
128
|
onPointerDown: (e) => g(e, () => b("bold")),
|
|
129
129
|
onClick: () => h(() => b("bold")),
|
|
130
130
|
type: "button",
|
|
131
|
-
className:
|
|
131
|
+
className: l(t.toolbarItem, { [t.active]: V }),
|
|
132
132
|
"data-testid": "format-bold",
|
|
133
133
|
"aria-label": d.formatMessage({
|
|
134
134
|
id: "input.text_editor.plugins.toolbar_plugin.bold.aria_label",
|
|
135
135
|
defaultMessage: "Make text bold"
|
|
136
136
|
}),
|
|
137
|
-
children: /* @__PURE__ */
|
|
137
|
+
children: /* @__PURE__ */ i(
|
|
138
138
|
f,
|
|
139
139
|
{
|
|
140
140
|
name: "bold",
|
|
141
141
|
width: 24,
|
|
142
142
|
height: 24,
|
|
143
|
-
className:
|
|
143
|
+
className: l(t.format, t.bold)
|
|
144
144
|
}
|
|
145
145
|
)
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ i(
|
|
149
149
|
"button",
|
|
150
150
|
{
|
|
151
151
|
onPointerDown: (e) => g(e, () => b("italic")),
|
|
152
152
|
onClick: () => h(() => b("italic")),
|
|
153
153
|
type: "button",
|
|
154
|
-
className:
|
|
155
|
-
[t.active]:
|
|
154
|
+
className: l(t.toolbarItem, {
|
|
155
|
+
[t.active]: z
|
|
156
156
|
}),
|
|
157
157
|
"aria-label": d.formatMessage({
|
|
158
158
|
id: "input.text_editor.plugins.toolbar_plugin.italic.aria_label",
|
|
159
159
|
defaultMessage: "Make text italic"
|
|
160
160
|
}),
|
|
161
|
-
children: /* @__PURE__ */
|
|
161
|
+
children: /* @__PURE__ */ i(
|
|
162
162
|
f,
|
|
163
163
|
{
|
|
164
164
|
name: "italic",
|
|
165
165
|
width: 24,
|
|
166
166
|
height: 24,
|
|
167
|
-
className:
|
|
167
|
+
className: l(t.format, t.italic)
|
|
168
168
|
}
|
|
169
169
|
)
|
|
170
170
|
}
|
|
171
171
|
),
|
|
172
|
-
/* @__PURE__ */
|
|
172
|
+
/* @__PURE__ */ i(
|
|
173
173
|
"button",
|
|
174
174
|
{
|
|
175
175
|
onPointerDown: (e) => g(e, () => b("underline")),
|
|
176
176
|
onClick: () => h(() => b("underline")),
|
|
177
177
|
type: "button",
|
|
178
|
-
className:
|
|
179
|
-
[t.active]:
|
|
178
|
+
className: l(t.toolbarItem, {
|
|
179
|
+
[t.active]: G
|
|
180
180
|
}),
|
|
181
181
|
"aria-label": d.formatMessage({
|
|
182
182
|
id: "input.text_editor.plugins.toolbar_plugin.underline.aria_label",
|
|
183
183
|
defaultMessage: "Underline text"
|
|
184
184
|
}),
|
|
185
|
-
children: /* @__PURE__ */
|
|
185
|
+
children: /* @__PURE__ */ i(
|
|
186
186
|
f,
|
|
187
187
|
{
|
|
188
188
|
name: "underline",
|
|
189
189
|
width: 24,
|
|
190
190
|
height: 24,
|
|
191
|
-
className:
|
|
191
|
+
className: l(t.format, t.underline)
|
|
192
192
|
}
|
|
193
193
|
)
|
|
194
194
|
}
|
|
195
195
|
),
|
|
196
|
-
/* @__PURE__ */
|
|
196
|
+
/* @__PURE__ */ i(
|
|
197
197
|
"button",
|
|
198
198
|
{
|
|
199
|
-
onPointerDown: (e) => g(e, () =>
|
|
200
|
-
onClick: () => h(() =>
|
|
199
|
+
onPointerDown: (e) => g(e, () => O()),
|
|
200
|
+
onClick: () => h(() => O()),
|
|
201
201
|
type: "button",
|
|
202
|
-
className:
|
|
202
|
+
className: l(t.toolbarItem, {
|
|
203
203
|
[t.active]: T === "quote"
|
|
204
204
|
}),
|
|
205
205
|
"aria-label": d.formatMessage({
|
|
206
206
|
id: "input.text_editor.plugins.toolbar_plugin.blockquote.aria_label",
|
|
207
207
|
defaultMessage: "Add a blockquote"
|
|
208
208
|
}),
|
|
209
|
-
children: /* @__PURE__ */
|
|
209
|
+
children: /* @__PURE__ */ i(
|
|
210
210
|
f,
|
|
211
211
|
{
|
|
212
212
|
name: "blockquote",
|
|
213
213
|
width: 24,
|
|
214
214
|
height: 24,
|
|
215
|
-
className:
|
|
215
|
+
className: l(t.format, t.quote)
|
|
216
216
|
}
|
|
217
217
|
)
|
|
218
218
|
}
|
|
219
219
|
),
|
|
220
|
-
/* @__PURE__ */
|
|
220
|
+
/* @__PURE__ */ i(
|
|
221
221
|
"button",
|
|
222
222
|
{
|
|
223
|
-
onPointerDown: (e) => g(e, () =>
|
|
224
|
-
onClick: () => h(() =>
|
|
223
|
+
onPointerDown: (e) => g(e, () => E()),
|
|
224
|
+
onClick: () => h(() => E()),
|
|
225
225
|
type: "button",
|
|
226
|
-
className:
|
|
226
|
+
className: l(t.toolbarItem, {
|
|
227
227
|
[t.active]: T === "ol"
|
|
228
228
|
}),
|
|
229
229
|
"aria-label": d.formatMessage({
|
|
230
230
|
id: "input.text_editor.plugins.toolbar_plugin.numbered_list.aria_label",
|
|
231
231
|
defaultMessage: "Insert a numbered list"
|
|
232
232
|
}),
|
|
233
|
-
children: /* @__PURE__ */
|
|
233
|
+
children: /* @__PURE__ */ i(
|
|
234
234
|
f,
|
|
235
235
|
{
|
|
236
236
|
name: "orderedList",
|
|
237
237
|
width: 24,
|
|
238
238
|
height: 24,
|
|
239
|
-
className:
|
|
239
|
+
className: l(t.format, t.numberedList)
|
|
240
240
|
}
|
|
241
241
|
)
|
|
242
242
|
}
|
|
243
243
|
),
|
|
244
|
-
!a.hideSourceAction && /* @__PURE__ */
|
|
244
|
+
!a.hideSourceAction && /* @__PURE__ */ i(
|
|
245
245
|
"button",
|
|
246
246
|
{
|
|
247
|
-
onPointerDown: (e) => e.preventDefault(),
|
|
248
247
|
onClick: a.onAddSource,
|
|
249
248
|
type: "button",
|
|
250
249
|
className: t.toolbarItem,
|
|
@@ -252,13 +251,13 @@ const we = (a) => {
|
|
|
252
251
|
id: "input.text_editor.plugins.toolbar_plugin.add_link.aria_label",
|
|
253
252
|
defaultMessage: "Add hyperlink"
|
|
254
253
|
}),
|
|
255
|
-
children: /* @__PURE__ */
|
|
254
|
+
children: /* @__PURE__ */ i(
|
|
256
255
|
f,
|
|
257
256
|
{
|
|
258
257
|
name: "link",
|
|
259
258
|
width: 20,
|
|
260
259
|
height: 20,
|
|
261
|
-
className:
|
|
260
|
+
className: l(t.format, t.link)
|
|
262
261
|
}
|
|
263
262
|
)
|
|
264
263
|
}
|
|
@@ -266,18 +265,18 @@ const we = (a) => {
|
|
|
266
265
|
]
|
|
267
266
|
}
|
|
268
267
|
) : null,
|
|
269
|
-
/* @__PURE__ */
|
|
268
|
+
/* @__PURE__ */ i("div", { className: t.actionButton, children: a.hideSubmit ? null : /* @__PURE__ */ i(
|
|
270
269
|
ce,
|
|
271
270
|
{
|
|
272
271
|
type: "button",
|
|
273
272
|
"data-testid": "submit-button",
|
|
274
273
|
handleClick: a.onSubmit,
|
|
275
|
-
className:
|
|
274
|
+
className: l(t.inputSubmitActionButton, t.submitAction),
|
|
276
275
|
"aria-label": d.formatMessage({
|
|
277
276
|
id: "input.text_editor.plugins.toolbar_plugin.submit_button.aria_label",
|
|
278
277
|
defaultMessage: "Send message"
|
|
279
278
|
}),
|
|
280
|
-
children: /* @__PURE__ */
|
|
279
|
+
children: /* @__PURE__ */ i(f, { name: "send", width: 20, height: 20 })
|
|
281
280
|
}
|
|
282
281
|
) })
|
|
283
282
|
]
|
|
@@ -285,5 +284,5 @@ const we = (a) => {
|
|
|
285
284
|
);
|
|
286
285
|
};
|
|
287
286
|
export {
|
|
288
|
-
|
|
287
|
+
Ce as ToolbarPlugin
|
|
289
288
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import '../../../../assets/components/input/text_editor/plugins/ToolbarPlugin.module-
|
|
1
|
+
import '../../../../assets/components/input/text_editor/plugins/ToolbarPlugin.module-DPrYyi_2.css';const t = "_toolbar_1vwec_3", o = "_toolbarIsActive_1vwec_13", c = "_iconToolbar_1vwec_17", n = "_shortBar_1vwec_21", _ = "_toolbarItem_1vwec_25", i = "_active_1vwec_46", a = "_format_1vwec_50", s = "_actionButton_1vwec_57", e = "_inputSubmitActionButton_1vwec_63", r = "_submitAction_1vwec_71", b = {
|
|
2
2
|
toolbar: t,
|
|
3
3
|
toolbarIsActive: o,
|
|
4
|
-
iconToolbar:
|
|
4
|
+
iconToolbar: c,
|
|
5
5
|
shortBar: n,
|
|
6
6
|
toolbarItem: _,
|
|
7
|
-
active:
|
|
8
|
-
format:
|
|
7
|
+
active: i,
|
|
8
|
+
format: a,
|
|
9
9
|
actionButton: s,
|
|
10
|
-
inputSubmitActionButton:
|
|
11
|
-
submitAction:
|
|
10
|
+
inputSubmitActionButton: e,
|
|
11
|
+
submitAction: r
|
|
12
12
|
};
|
|
13
13
|
export {
|
|
14
14
|
s as actionButton,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
i as active,
|
|
16
|
+
b as default,
|
|
17
|
+
a as format,
|
|
18
|
+
c as iconToolbar,
|
|
19
|
+
e as inputSubmitActionButton,
|
|
20
20
|
n as shortBar,
|
|
21
|
-
|
|
21
|
+
r as submitAction,
|
|
22
22
|
t as toolbar,
|
|
23
23
|
o as toolbarIsActive,
|
|
24
24
|
_ as toolbarItem
|
|
@@ -1,109 +1,129 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { useState as
|
|
4
|
-
import { useIntl as
|
|
5
|
-
import { useLocation as
|
|
6
|
-
import
|
|
7
|
-
import { useResponsive as
|
|
8
|
-
import { SearchInput as
|
|
9
|
-
import { Select as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
const
|
|
13
|
-
title:
|
|
14
|
-
subtitle:
|
|
15
|
-
showDebateConsultationSubtitle:
|
|
16
|
-
sortOptions:
|
|
17
|
-
defaultSelectOption:
|
|
18
|
-
searchBar:
|
|
19
|
-
tagList:
|
|
20
|
-
pinnedTagList:
|
|
21
|
-
activeTagId:
|
|
22
|
-
withUrlParams:
|
|
23
|
-
onSearch:
|
|
24
|
-
onSortChange:
|
|
25
|
-
onTagChange:
|
|
1
|
+
import { jsx as r, Fragment as T, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import R from "classnames";
|
|
3
|
+
import { useState as v, useRef as G, useCallback as J, useEffect as K } from "react";
|
|
4
|
+
import { useIntl as Q } from "react-intl";
|
|
5
|
+
import { useLocation as V } from "react-router";
|
|
6
|
+
import t from "./ActionBar.module.scss.js";
|
|
7
|
+
import { useResponsive as X } from "../../../hooks/use_responsive/useResponsive.js";
|
|
8
|
+
import { SearchInput as Y } from "../../../input/search_input/SearchInput.js";
|
|
9
|
+
import { Select as Z } from "../../../input/select/Select.js";
|
|
10
|
+
import { Icon as b } from "../../../icons/icon/Icon.js";
|
|
11
|
+
import { Tag as U } from "../../../tag/tag/Tag.js";
|
|
12
|
+
const de = ({
|
|
13
|
+
title: f,
|
|
14
|
+
subtitle: w,
|
|
15
|
+
showDebateConsultationSubtitle: k = !1,
|
|
16
|
+
sortOptions: n,
|
|
17
|
+
defaultSelectOption: x,
|
|
18
|
+
searchBar: o = !1,
|
|
19
|
+
tagList: m,
|
|
20
|
+
pinnedTagList: h = [],
|
|
21
|
+
activeTagId: u,
|
|
22
|
+
withUrlParams: g = !1,
|
|
23
|
+
onSearch: $,
|
|
24
|
+
onSortChange: L,
|
|
25
|
+
onTagChange: H
|
|
26
26
|
}) => {
|
|
27
|
-
const
|
|
28
|
-
typeof window < "u" ? window.location.search :
|
|
29
|
-
),
|
|
27
|
+
const B = Q(), M = V(), { isMobile: q } = X(), [j, z] = v(!1), s = G(null), [y, P] = v(!1), [A, W] = v(!1), a = new URLSearchParams(
|
|
28
|
+
typeof window < "u" ? window.location.search : M.search
|
|
29
|
+
), S = Array.isArray(m) ? m : m?.data || [], C = [
|
|
30
30
|
...new Set(
|
|
31
|
-
(Array.isArray(
|
|
31
|
+
(Array.isArray(h) ? h : [h]).filter(Boolean).map(String)
|
|
32
32
|
)
|
|
33
|
-
],
|
|
34
|
-
...
|
|
35
|
-
...
|
|
36
|
-
] : [],
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
], p = S.length > 0 ? [
|
|
34
|
+
...C.map((e) => S.find((l) => String(l.id) === e)).filter(Boolean),
|
|
35
|
+
...S.filter((e) => !C.includes(String(e.id)))
|
|
36
|
+
] : [], i = J(() => {
|
|
37
|
+
const e = s.current;
|
|
38
|
+
e && (P(e.scrollLeft > 1), W(e.scrollLeft + e.clientWidth < e.scrollWidth - 1));
|
|
39
|
+
}, []);
|
|
40
|
+
K(() => {
|
|
41
|
+
i();
|
|
42
|
+
const e = s.current;
|
|
43
|
+
if (!e) return;
|
|
44
|
+
const l = new ResizeObserver(i);
|
|
45
|
+
return l.observe(e), () => l.disconnect();
|
|
46
|
+
}, [p, i]);
|
|
47
|
+
const I = (e, l) => {
|
|
48
|
+
l.stopPropagation();
|
|
49
|
+
const c = s.current;
|
|
50
|
+
if (!c) return;
|
|
51
|
+
const N = 200;
|
|
52
|
+
c.scrollBy({
|
|
53
|
+
left: e === "left" ? -N : N,
|
|
54
|
+
behavior: "smooth"
|
|
55
|
+
}), setTimeout(i, 300);
|
|
56
|
+
}, _ = (e) => {
|
|
57
|
+
if (g) {
|
|
58
|
+
for (const l of a.keys())
|
|
59
|
+
n.map((c) => {
|
|
60
|
+
c.name === l && a.delete(l);
|
|
41
61
|
});
|
|
42
|
-
|
|
62
|
+
a.delete("sort"), a.set(
|
|
43
63
|
e.type === "filter" ? e.name : "sort",
|
|
44
64
|
e.value
|
|
45
65
|
);
|
|
46
66
|
}
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
const
|
|
54
|
-
return /* @__PURE__ */
|
|
67
|
+
L(e);
|
|
68
|
+
}, D = (e) => {
|
|
69
|
+
g && (e.id === u ? a.delete("tagId") : a.set("tagId", e.id)), H(e.id === u ? null : e.id);
|
|
70
|
+
}, E = (e) => {
|
|
71
|
+
g && (e ? a.set("search", e) : a.delete("search")), $(e), z(e !== "");
|
|
72
|
+
}, F = (e) => {
|
|
73
|
+
const l = u === e.id;
|
|
74
|
+
return /* @__PURE__ */ r(
|
|
55
75
|
"div",
|
|
56
76
|
{
|
|
57
|
-
className:
|
|
58
|
-
onClick: () =>
|
|
59
|
-
children: /* @__PURE__ */
|
|
60
|
-
|
|
77
|
+
className: t.tagItem,
|
|
78
|
+
onClick: () => D(e),
|
|
79
|
+
children: /* @__PURE__ */ r(
|
|
80
|
+
U,
|
|
61
81
|
{
|
|
62
82
|
text: e.display_name,
|
|
63
|
-
active:
|
|
64
|
-
rightIcon:
|
|
83
|
+
active: l,
|
|
84
|
+
rightIcon: l && /* @__PURE__ */ r(b, { name: "close", height: 10, width: 10 })
|
|
65
85
|
}
|
|
66
86
|
)
|
|
67
87
|
},
|
|
68
88
|
e.id
|
|
69
89
|
);
|
|
70
90
|
};
|
|
71
|
-
return /* @__PURE__ */
|
|
72
|
-
/* @__PURE__ */
|
|
91
|
+
return /* @__PURE__ */ r(T, { children: (f || n || o) && /* @__PURE__ */ d(T, { children: [
|
|
92
|
+
/* @__PURE__ */ d(
|
|
73
93
|
"div",
|
|
74
94
|
{
|
|
75
|
-
className:
|
|
76
|
-
[
|
|
95
|
+
className: R(t.listHeader, {
|
|
96
|
+
[t.listHeaderOneItem]: !o || !n
|
|
77
97
|
}),
|
|
78
98
|
children: [
|
|
79
|
-
|
|
80
|
-
(
|
|
99
|
+
f && /* @__PURE__ */ r("div", { className: t.listTitle, children: f }),
|
|
100
|
+
(n || o) && /* @__PURE__ */ d(
|
|
81
101
|
"div",
|
|
82
102
|
{
|
|
83
|
-
className:
|
|
84
|
-
[
|
|
103
|
+
className: R(t.rightBar, {
|
|
104
|
+
[t.rightBarOneItem]: !o || !n
|
|
85
105
|
}),
|
|
86
106
|
children: [
|
|
87
|
-
|
|
88
|
-
|
|
107
|
+
o ? /* @__PURE__ */ r("div", { className: t.search, children: /* @__PURE__ */ r(
|
|
108
|
+
Y,
|
|
89
109
|
{
|
|
90
|
-
onSearchSubmit:
|
|
91
|
-
placeholder:
|
|
110
|
+
onSearchSubmit: E,
|
|
111
|
+
placeholder: B.formatMessage({
|
|
92
112
|
id: "info.search_mobile",
|
|
93
113
|
defaultMessage: "Search"
|
|
94
114
|
}),
|
|
95
115
|
reducedByDefault: !1
|
|
96
116
|
}
|
|
97
117
|
) }) : null,
|
|
98
|
-
|
|
99
|
-
|
|
118
|
+
n ? /* @__PURE__ */ r(
|
|
119
|
+
Z,
|
|
100
120
|
{
|
|
101
|
-
onChange:
|
|
102
|
-
options:
|
|
103
|
-
defaultOption:
|
|
121
|
+
onChange: _,
|
|
122
|
+
options: n,
|
|
123
|
+
defaultOption: x,
|
|
104
124
|
horizontalPosition: "right",
|
|
105
|
-
disabled:
|
|
106
|
-
className:
|
|
125
|
+
disabled: j,
|
|
126
|
+
className: t.select
|
|
107
127
|
}
|
|
108
128
|
) : null
|
|
109
129
|
]
|
|
@@ -112,10 +132,42 @@ const O = ({
|
|
|
112
132
|
]
|
|
113
133
|
}
|
|
114
134
|
),
|
|
115
|
-
|
|
116
|
-
|
|
135
|
+
k && w && /* @__PURE__ */ r("div", { className: t.listSubtitle, children: w }),
|
|
136
|
+
p.length > 0 && /* @__PURE__ */ d("div", { className: t.tagSection, children: [
|
|
137
|
+
/* @__PURE__ */ r(
|
|
138
|
+
"button",
|
|
139
|
+
{
|
|
140
|
+
type: "button",
|
|
141
|
+
className: `${t.arrow} ${t.arrowLeft} ${y ? "" : t.arrowHidden}`,
|
|
142
|
+
onClick: (e) => I("left", e),
|
|
143
|
+
"aria-label": "Tag précédent",
|
|
144
|
+
tabIndex: y ? 0 : -1,
|
|
145
|
+
children: /* @__PURE__ */ r(b, { name: "lightArrow", height: 24, width: 24 })
|
|
146
|
+
}
|
|
147
|
+
),
|
|
148
|
+
/* @__PURE__ */ r(
|
|
149
|
+
"div",
|
|
150
|
+
{
|
|
151
|
+
ref: s,
|
|
152
|
+
className: t.tagList,
|
|
153
|
+
onScroll: i,
|
|
154
|
+
children: p.map(F)
|
|
155
|
+
}
|
|
156
|
+
),
|
|
157
|
+
/* @__PURE__ */ r(
|
|
158
|
+
"button",
|
|
159
|
+
{
|
|
160
|
+
type: "button",
|
|
161
|
+
className: `${t.arrow} ${t.arrowRight} ${A ? "" : t.arrowHidden}`,
|
|
162
|
+
onClick: (e) => I("right", e),
|
|
163
|
+
"aria-label": "Tag suivant",
|
|
164
|
+
tabIndex: A ? 0 : -1,
|
|
165
|
+
children: /* @__PURE__ */ r(b, { name: "lightArrow", height: 24, width: 24 })
|
|
166
|
+
}
|
|
167
|
+
)
|
|
168
|
+
] })
|
|
117
169
|
] }) });
|
|
118
170
|
};
|
|
119
171
|
export {
|
|
120
|
-
|
|
172
|
+
de as ActionBar
|
|
121
173
|
};
|
|
@@ -1,25 +1,35 @@
|
|
|
1
|
-
import '../../../../assets/components/list/paginated_list/action_bar/ActionBar.module-
|
|
1
|
+
import '../../../../assets/components/list/paginated_list/action_bar/ActionBar.module-DP4kPR9x.css';const t = "_listHeader_10hfs_3", s = "_listHeaderOneItem_10hfs_16", e = "_listTitle_10hfs_23", r = "_listSubtitle_10hfs_31", _ = "_rightBar_10hfs_39", a = "_rightBarOneItem_10hfs_49", i = "_search_10hfs_60", o = "_tagSection_10hfs_70", n = "_tagList_10hfs_78", h = "_arrow_10hfs_98", c = "_arrowLeft_10hfs_122", l = "_arrowRight_10hfs_131", f = "_arrowHidden_10hfs_140", g = "_tagItem_10hfs_145", d = "_select_10hfs_152", w = {
|
|
2
2
|
listHeader: t,
|
|
3
|
-
listHeaderOneItem:
|
|
4
|
-
listTitle:
|
|
5
|
-
listSubtitle:
|
|
3
|
+
listHeaderOneItem: s,
|
|
4
|
+
listTitle: e,
|
|
5
|
+
listSubtitle: r,
|
|
6
6
|
rightBar: _,
|
|
7
|
-
rightBarOneItem:
|
|
8
|
-
search:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
rightBarOneItem: a,
|
|
8
|
+
search: i,
|
|
9
|
+
tagSection: o,
|
|
10
|
+
tagList: n,
|
|
11
|
+
arrow: h,
|
|
12
|
+
arrowLeft: c,
|
|
13
|
+
arrowRight: l,
|
|
14
|
+
arrowHidden: f,
|
|
15
|
+
tagItem: g,
|
|
16
|
+
select: d
|
|
12
17
|
};
|
|
13
18
|
export {
|
|
14
|
-
|
|
19
|
+
h as arrow,
|
|
20
|
+
f as arrowHidden,
|
|
21
|
+
c as arrowLeft,
|
|
22
|
+
l as arrowRight,
|
|
23
|
+
w as default,
|
|
15
24
|
t as listHeader,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
25
|
+
s as listHeaderOneItem,
|
|
26
|
+
r as listSubtitle,
|
|
27
|
+
e as listTitle,
|
|
19
28
|
_ as rightBar,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
29
|
+
a as rightBarOneItem,
|
|
30
|
+
i as search,
|
|
31
|
+
d as select,
|
|
32
|
+
g as tagItem,
|
|
33
|
+
n as tagList,
|
|
34
|
+
o as tagSection
|
|
25
35
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._toolbar_awaxp_3{display:flex!important;justify-content:space-between!important;flex-wrap:wrap;background:var(--background-color-primary, white);padding-top:var(--spacer-md, calc(var(--space-unit, 1em) * .75))!important;vertical-align:middle;align-items:flex-start;gap:var(--space-unit, 1em)}._toolbar_awaxp_3._toolbarIsActive_awaxp_13{border-top:1px solid var(--text-tertiary, #fafafa)}._iconToolbar_awaxp_17{display:flex!important;gap:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))}._iconToolbar_awaxp_17._shortBar_awaxp_21{gap:var(--spacer-md, calc(var(--space-unit, 1em) * .75))}._toolbarItem_awaxp_25{border:0;background:none;padding:0!important;cursor:pointer;vertical-align:middle;touch-action:manipulation;display:flex;align-items:center;justify-content:center}@container (max-width: 575.98px){._toolbarItem_awaxp_25{min-width:44px;min-height:44px}}._toolbarItem_awaxp_25._disabled_awaxp_42{cursor:not-allowed}._toolbarItem_awaxp_25._active_awaxp_45{background-color:#bababa66;border-radius:50%}._toolbarItem_awaxp_25 ._format_awaxp_49{background-size:contain;display:inline-block;vertical-align:-.25em;display:flex!important}._actionButton_awaxp_56{display:flex!important;gap:var(--space-unit, 1em);margin-left:auto}._inputSubmitActionButton_awaxp_62{width:100%;height:35px;display:flex!important;justify-content:center!important;align-items:center!important;background-color:var(--call-primary-color, #434343)!important}._inputSubmitActionButton_awaxp_62._submitAction_awaxp_70 svg{fill:var(--text-light, white)!important}._inputSubmitActionButton_awaxp_62 ._inputSourceText_awaxp_73{display:none!important;margin-left:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))!important;font-size:var(--font-size-small, 16px)}@container (min-width: 576px){._inputSubmitActionButton_awaxp_62 ._inputSourceText_awaxp_73{display:block!important}}._tooltip_awaxp_84{width:230px!important;margin-left:-117px!important}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._listHeader_fga2s_3{display:flex;justify-content:space-between;align-items:center;position:relative;flex-wrap:wrap;gap:var(--space-unit, 1em)}@container (max-width: 575.98px){._listHeader_fga2s_3{flex-direction:column;align-items:flex-start}._listHeader_fga2s_3._listHeaderOneItem_fga2s_16{flex-direction:row;align-items:center;flex-wrap:nowrap!important}}._listTitle_fga2s_23{font-size:var(--font-size-extra-large, 22px);line-height:var(--line-height-tight, 1.08em);font-weight:var(--font-weight-bold, 700);font-variation-settings:var(--font-variation-bold, normal);font-family:var(--title-font-family, var(--font-family, "Montserrat"))}._listSubtitle_fga2s_31{color:var(--text-primary, #222222);font-weight:var(--font-weight-normal, 400);font-variation-settings:var(--font-variation-normal, normal);font-size:var(--font-size-normal, 16px);margin-top:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._rightBar_fga2s_39{display:flex;gap:var(--space-unit, 1em);flex-wrap:wrap}@container (max-width: 575.98px){._rightBar_fga2s_39{width:100%;justify-content:space-between}._rightBar_fga2s_39._rightBarOneItem_fga2s_49{justify-content:flex-end}}._rightBar_fga2s_39{flex:1 1 auto;justify-content:flex-end;align-items:center;flex-direction:row}._search_fga2s_60{flex:1;max-width:35%}@container (max-width: 575.98px){._search_fga2s_60{max-width:80%}}._tagList_fga2s_70{display:flex;flex-direction:row;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;gap:var(--spacer-md, calc(var(--space-unit, 1em) * .75));padding-bottom:var(--spacer-md, calc(var(--space-unit, 1em) * .75))}@container (max-width: 575.98px){._tagList_fga2s_70{gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}}._tagItem_fga2s_85{display:flex!important;color:var(--text-secondary, #5F5F5F);cursor:pointer;white-space:nowrap}._select_fga2s_92{max-width:300px}@container (max-width: 575.98px){._select_fga2s_92{max-width:300px}}
|