@cfx-dev/ui-components 4.5.18 → 4.5.19
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.
|
@@ -15,11 +15,13 @@ export interface AccordionTriggerProps {
|
|
|
15
15
|
iconRightClassName?: string;
|
|
16
16
|
className?: string;
|
|
17
17
|
textClassName?: string;
|
|
18
|
+
preopen?: boolean;
|
|
18
19
|
}
|
|
19
20
|
export declare const AccordionTrigger: React.FC<AccordionTriggerProps>;
|
|
20
21
|
export interface AccordionContentProps extends React.PropsWithChildren {
|
|
21
22
|
className?: string;
|
|
22
23
|
innerClassName?: string;
|
|
23
24
|
contentDisplay?: BoxDisplayType;
|
|
25
|
+
preopen?: boolean;
|
|
24
26
|
}
|
|
25
27
|
export declare const AccordionContent: React.FC<AccordionContentProps>;
|
|
@@ -1,156 +1,174 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as i, jsxs as D } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { Icon as
|
|
4
|
-
import { Text as
|
|
5
|
-
import { ui as
|
|
6
|
-
import { clsx as
|
|
7
|
-
import { debounce as
|
|
8
|
-
import { minmax as
|
|
9
|
-
const
|
|
10
|
-
iconFlip:
|
|
11
|
-
triggerContainer:
|
|
12
|
-
iconUp:
|
|
13
|
-
iconDown:
|
|
14
|
-
text:
|
|
15
|
-
iconLeft:
|
|
16
|
-
iconRight:
|
|
17
|
-
content:
|
|
18
|
-
contentText:
|
|
19
|
-
open:
|
|
20
|
-
closed:
|
|
21
|
-
},
|
|
3
|
+
import { Icon as y } from "../Icon/Icon.js";
|
|
4
|
+
import { Text as N } from "../Text/Text.js";
|
|
5
|
+
import { ui as E } from "../../utils/ui/ui.js";
|
|
6
|
+
import { clsx as g } from "../../utils/clsx.js";
|
|
7
|
+
import { debounce as L } from "../../utils/execution.js";
|
|
8
|
+
import { minmax as U } from "../../utils/math.js";
|
|
9
|
+
const F = "cfxui__Accordion__iconFlip__367de", $ = "cfxui__Accordion__triggerContainer__b92c1", S = "cfxui__Accordion__iconUp__28d27", W = "cfxui__Accordion__iconDown__b9e95", z = "cfxui__Accordion__text__03dc4", H = "cfxui__Accordion__iconLeft__e348b", M = "cfxui__Accordion__iconRight__bbf0c", O = "cfxui__Accordion__content__5ecaf", j = "cfxui__Accordion__contentText__1384b", B = "cfxui__Accordion__open__ed604", K = "cfxui__Accordion__closed__be897", o = {
|
|
10
|
+
iconFlip: F,
|
|
11
|
+
triggerContainer: $,
|
|
12
|
+
iconUp: S,
|
|
13
|
+
iconDown: W,
|
|
14
|
+
text: z,
|
|
15
|
+
iconLeft: H,
|
|
16
|
+
iconRight: M,
|
|
17
|
+
content: O,
|
|
18
|
+
contentText: j,
|
|
19
|
+
open: B,
|
|
20
|
+
closed: K
|
|
21
|
+
}, I = e.createContext(void 0), Z = function(r) {
|
|
22
22
|
const {
|
|
23
|
-
children:
|
|
24
|
-
className:
|
|
25
|
-
} =
|
|
26
|
-
|
|
23
|
+
children: s,
|
|
24
|
+
className: h
|
|
25
|
+
} = r, [p, x] = e.useState({}), [_, l] = e.useState(null), c = e.useRef(null), d = e.useCallback((t) => {
|
|
26
|
+
x((u) => ({
|
|
27
27
|
...u,
|
|
28
|
-
[
|
|
28
|
+
[t]: !u[t]
|
|
29
29
|
}));
|
|
30
|
-
}, []),
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
30
|
+
}, []), n = e.useCallback((t) => {
|
|
31
|
+
x((u) => ({
|
|
32
|
+
...u,
|
|
33
|
+
[t]: !1
|
|
34
|
+
}));
|
|
35
|
+
}, []), f = e.useMemo(() => ({
|
|
36
|
+
openItems: p,
|
|
37
|
+
toggleItem: d,
|
|
38
|
+
closeItem: n,
|
|
39
|
+
rootWidth: _
|
|
40
|
+
}), [
|
|
41
|
+
p,
|
|
42
|
+
d,
|
|
43
|
+
n,
|
|
44
|
+
_
|
|
45
|
+
]), m = e.useCallback(() => {
|
|
46
|
+
c.current && l(c.current.getBoundingClientRect().width);
|
|
47
|
+
}, []), a = e.useMemo(() => L(m, 250), [m]);
|
|
48
|
+
return e.useEffect(() => (window.addEventListener("resize", a), () => {
|
|
49
|
+
window.removeEventListener("resize", a);
|
|
50
|
+
}), [a]), /* @__PURE__ */ i(I.Provider, { value: f, children: /* @__PURE__ */ i("div", { ref: c, className: h, role: "presentation", children: s }) });
|
|
51
|
+
}, v = e.createContext(""), ee = function({
|
|
52
|
+
children: r
|
|
42
53
|
}) {
|
|
43
|
-
const
|
|
44
|
-
return /* @__PURE__ */
|
|
45
|
-
},
|
|
46
|
-
children:
|
|
54
|
+
const s = e.useId();
|
|
55
|
+
return /* @__PURE__ */ i(v.Provider, { value: s, children: /* @__PURE__ */ i("div", { className: o.item, id: s, role: "region", "aria-labelledby": `${s}-header`, children: r }) });
|
|
56
|
+
}, ne = function({
|
|
57
|
+
children: r
|
|
47
58
|
}) {
|
|
48
|
-
return /* @__PURE__ */
|
|
49
|
-
},
|
|
59
|
+
return /* @__PURE__ */ i("div", { className: o.header, children: r });
|
|
60
|
+
}, te = function(r) {
|
|
50
61
|
const {
|
|
51
|
-
text:
|
|
52
|
-
iconLeft:
|
|
53
|
-
iconRightClassName:
|
|
54
|
-
iconLeftClassName:
|
|
55
|
-
className:
|
|
56
|
-
textClassName:
|
|
57
|
-
|
|
58
|
-
|
|
62
|
+
text: s,
|
|
63
|
+
iconLeft: h,
|
|
64
|
+
iconRightClassName: p,
|
|
65
|
+
iconLeftClassName: x,
|
|
66
|
+
className: _,
|
|
67
|
+
textClassName: l,
|
|
68
|
+
preopen: c = !1
|
|
69
|
+
} = r, d = e.useContext(I), n = e.useContext(v);
|
|
70
|
+
if (!d)
|
|
59
71
|
throw new Error("AccordionTrigger must be used within an Accordion");
|
|
60
72
|
const {
|
|
61
|
-
toggleItem:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
73
|
+
toggleItem: f,
|
|
74
|
+
closeItem: m,
|
|
75
|
+
openItems: a
|
|
76
|
+
} = d, t = typeof a[n] > "u" ? c : a[n], [u, R] = e.useState(!1), [b, T] = e.useState(t ? "UpChevron" : "DownChevron"), w = e.useCallback(() => {
|
|
77
|
+
if (t) {
|
|
78
|
+
m(n);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
f(n);
|
|
82
|
+
}, [t, f, n, m]), k = e.useCallback((A) => {
|
|
83
|
+
(A.key === "Enter" || A.key === " ") && w();
|
|
84
|
+
}, [w]);
|
|
68
85
|
return e.useEffect(() => {
|
|
69
|
-
const
|
|
70
|
-
|
|
86
|
+
const A = setTimeout(() => {
|
|
87
|
+
T(t ? "UpChevron" : "DownChevron"), R(!1);
|
|
71
88
|
}, 300);
|
|
72
|
-
return
|
|
73
|
-
}, [
|
|
89
|
+
return R(!0), () => clearTimeout(A);
|
|
90
|
+
}, [t]), /* @__PURE__ */ D(
|
|
74
91
|
"div",
|
|
75
92
|
{
|
|
76
|
-
className:
|
|
77
|
-
onClick:
|
|
78
|
-
onKeyDown:
|
|
93
|
+
className: g(o.triggerContainer, _),
|
|
94
|
+
onClick: w,
|
|
95
|
+
onKeyDown: k,
|
|
79
96
|
role: "button",
|
|
80
97
|
tabIndex: 0,
|
|
81
|
-
"aria-expanded":
|
|
98
|
+
"aria-expanded": t,
|
|
82
99
|
"aria-controls": `${n}-content`,
|
|
83
100
|
id: `${n}-header`,
|
|
84
101
|
children: [
|
|
85
|
-
|
|
86
|
-
/* @__PURE__ */
|
|
87
|
-
/* @__PURE__ */
|
|
88
|
-
|
|
102
|
+
h && /* @__PURE__ */ i(y, { name: h, className: g(o.iconLeft, x) }),
|
|
103
|
+
/* @__PURE__ */ i(N, { size: "normal", className: g(o.text, l), children: s }),
|
|
104
|
+
/* @__PURE__ */ i(
|
|
105
|
+
y,
|
|
89
106
|
{
|
|
90
|
-
className:
|
|
91
|
-
[
|
|
92
|
-
[
|
|
93
|
-
[
|
|
107
|
+
className: g(o.iconRight, p, {
|
|
108
|
+
[o.iconFlip]: u,
|
|
109
|
+
[o.iconUp]: b === "UpChevron",
|
|
110
|
+
[o.iconDown]: b === "DownChevron"
|
|
94
111
|
}),
|
|
95
|
-
name:
|
|
112
|
+
name: b
|
|
96
113
|
}
|
|
97
114
|
)
|
|
98
115
|
]
|
|
99
116
|
}
|
|
100
117
|
);
|
|
101
|
-
},
|
|
102
|
-
children:
|
|
103
|
-
className:
|
|
104
|
-
innerClassName:
|
|
105
|
-
contentDisplay:
|
|
118
|
+
}, oe = function({
|
|
119
|
+
children: r,
|
|
120
|
+
className: s,
|
|
121
|
+
innerClassName: h,
|
|
122
|
+
contentDisplay: p = "inline-block",
|
|
123
|
+
preopen: x = !1
|
|
106
124
|
}) {
|
|
107
|
-
const
|
|
108
|
-
if (!
|
|
125
|
+
const _ = e.useContext(I), l = e.useContext(v), [c, d] = e.useState(null), n = e.useRef(null);
|
|
126
|
+
if (!_)
|
|
109
127
|
throw new Error("AccordionContent must be used within an Accordion");
|
|
110
128
|
const {
|
|
111
|
-
openItems:
|
|
112
|
-
rootWidth:
|
|
113
|
-
} =
|
|
129
|
+
openItems: f,
|
|
130
|
+
rootWidth: m
|
|
131
|
+
} = _, a = typeof f[l] > "u" ? x : f[l], t = e.useMemo(() => c === null ? 250 : U(c / 150 * 250, 350, 500), [c]);
|
|
114
132
|
return e.useEffect(() => {
|
|
115
|
-
|
|
116
|
-
}, [
|
|
117
|
-
if (
|
|
133
|
+
d(null);
|
|
134
|
+
}, [m]), e.useEffect(() => {
|
|
135
|
+
if (c === null && n.current) {
|
|
118
136
|
const u = n.current.getBoundingClientRect().height;
|
|
119
|
-
|
|
137
|
+
d(u);
|
|
120
138
|
}
|
|
121
|
-
}, [
|
|
139
|
+
}, [c]), /* @__PURE__ */ i(
|
|
122
140
|
"div",
|
|
123
141
|
{
|
|
124
|
-
id: `${
|
|
142
|
+
id: `${l}-content`,
|
|
125
143
|
role: "region",
|
|
126
|
-
"aria-labelledby": `${
|
|
127
|
-
className:
|
|
128
|
-
[
|
|
129
|
-
[
|
|
144
|
+
"aria-labelledby": `${l}-header`,
|
|
145
|
+
className: g(o.content, s, {
|
|
146
|
+
[o.open]: a,
|
|
147
|
+
[o.closed]: !a
|
|
130
148
|
}),
|
|
131
149
|
style: {
|
|
132
|
-
"--content-display":
|
|
133
|
-
"--content-height":
|
|
134
|
-
"--content-animation-time": `${
|
|
150
|
+
"--content-display": p,
|
|
151
|
+
"--content-height": E.q(100),
|
|
152
|
+
"--content-animation-time": `${t}ms`
|
|
135
153
|
},
|
|
136
|
-
children: /* @__PURE__ */
|
|
137
|
-
|
|
154
|
+
children: /* @__PURE__ */ i(
|
|
155
|
+
N,
|
|
138
156
|
{
|
|
139
157
|
color: "secondary",
|
|
140
158
|
size: "normal",
|
|
141
159
|
typographic: !0,
|
|
142
|
-
className:
|
|
160
|
+
className: g(o.contentText, h),
|
|
143
161
|
ref: n,
|
|
144
|
-
children:
|
|
162
|
+
children: r
|
|
145
163
|
}
|
|
146
164
|
)
|
|
147
165
|
}
|
|
148
166
|
);
|
|
149
167
|
};
|
|
150
168
|
export {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
169
|
+
Z as Accordion,
|
|
170
|
+
oe as AccordionContent,
|
|
171
|
+
ne as AccordionHeader,
|
|
172
|
+
ee as AccordionItem,
|
|
173
|
+
te as AccordionTrigger
|
|
156
174
|
};
|
|
@@ -1,141 +1,154 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import s from "react";
|
|
3
3
|
import a from "../Flex/Flex.js";
|
|
4
4
|
import { Text as h } from "../Text/Text.js";
|
|
5
5
|
import "../../utils/ui/ui.js";
|
|
6
|
-
import { Accordion as
|
|
7
|
-
const u = "cfxui__AccordionShowcase__customTrigger__50550", d = "cfxui__AccordionShowcase__customTriggerIconRight__29b74", g = "cfxui__AccordionShowcase__customTriggerText__6f61c",
|
|
6
|
+
import { Accordion as l, AccordionItem as o, AccordionHeader as r, AccordionTrigger as i, AccordionContent as n } from "./Accordion.js";
|
|
7
|
+
const u = "cfxui__AccordionShowcase__customTrigger__50550", d = "cfxui__AccordionShowcase__customTriggerIconRight__29b74", g = "cfxui__AccordionShowcase__customTriggerText__6f61c", y = "cfxui__AccordionShowcase__customContent__f7c2f", m = "cfxui__AccordionShowcase__customContentInner__f3d0e", c = {
|
|
8
8
|
customTrigger: u,
|
|
9
9
|
customTriggerIconRight: d,
|
|
10
10
|
customTriggerText: g,
|
|
11
|
-
customContent:
|
|
12
|
-
customContentInner:
|
|
11
|
+
customContent: y,
|
|
12
|
+
customContentInner: m
|
|
13
13
|
};
|
|
14
14
|
function v() {
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
15
|
+
return /* @__PURE__ */ t(a, { fullWidth: !0, vertical: !0, p: 2, gap: "large", children: [
|
|
16
|
+
/* @__PURE__ */ t(a, { fullWidth: !0, vertical: !0, children: [
|
|
17
|
+
/* @__PURE__ */ e(h, { size: "large", children: "Accordion" }),
|
|
18
|
+
/* @__PURE__ */ t(l, { children: [
|
|
19
|
+
/* @__PURE__ */ t(o, { children: [
|
|
20
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(
|
|
21
21
|
i,
|
|
22
22
|
{
|
|
23
23
|
text: "Will I get banned from GTA:O?"
|
|
24
24
|
}
|
|
25
25
|
) }),
|
|
26
|
-
/* @__PURE__ */
|
|
26
|
+
/* @__PURE__ */ t(n, { children: [
|
|
27
27
|
"Nope!",
|
|
28
28
|
" ",
|
|
29
|
-
/* @__PURE__ */
|
|
29
|
+
/* @__PURE__ */ e("a", { href: "https://cfx.re", children: "FiveM" }),
|
|
30
30
|
" ",
|
|
31
31
|
"does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it."
|
|
32
32
|
] })
|
|
33
33
|
] }),
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
/* @__PURE__ */
|
|
34
|
+
/* @__PURE__ */ t(o, { children: [
|
|
35
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(
|
|
36
36
|
i,
|
|
37
37
|
{
|
|
38
38
|
text: "Can I cheat on FiveM?",
|
|
39
39
|
iconLeft: "Heart"
|
|
40
40
|
}
|
|
41
41
|
) }),
|
|
42
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ e(n, { children: "Dont be a cheater, you will get banned! Dont be a cheater, you will get banned! Dont be a cheater, you will get banned! Dont be a cheater, you will get banned! Dont be a cheater, you will get banned! Dont be a cheater, you will get banned! Dont be a cheater, you will get banned!" })
|
|
43
43
|
] }),
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
44
|
+
/* @__PURE__ */ t(o, { children: [
|
|
45
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(
|
|
46
46
|
i,
|
|
47
47
|
{
|
|
48
48
|
text: "Is this accordion any good?",
|
|
49
49
|
iconLeft: "Pencil"
|
|
50
50
|
}
|
|
51
51
|
) }),
|
|
52
|
-
/* @__PURE__ */
|
|
52
|
+
/* @__PURE__ */ e(n, { children: "Obviously!" })
|
|
53
53
|
] }),
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ t(o, { children: [
|
|
55
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(
|
|
56
56
|
i,
|
|
57
57
|
{
|
|
58
58
|
text: "Who said?"
|
|
59
59
|
}
|
|
60
60
|
) }),
|
|
61
|
-
/* @__PURE__ */
|
|
61
|
+
/* @__PURE__ */ e(n, { children: "Me!" })
|
|
62
62
|
] }),
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ t(o, { children: [
|
|
64
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(
|
|
65
65
|
i,
|
|
66
66
|
{
|
|
67
67
|
text: "Long long text, Long long text, Long long text, Long long text, Long long text, Long long text to test the overflow, will it work? Let's see!",
|
|
68
68
|
iconLeft: "MoreInfo"
|
|
69
69
|
}
|
|
70
70
|
) }),
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ t(n, { children: [
|
|
72
72
|
"Nope!",
|
|
73
73
|
" ",
|
|
74
|
-
/* @__PURE__ */
|
|
74
|
+
/* @__PURE__ */ e("a", { href: "https://cfx.re", children: "FiveM" }),
|
|
75
75
|
" ",
|
|
76
76
|
"does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it."
|
|
77
77
|
] })
|
|
78
78
|
] }),
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ t(o, { children: [
|
|
80
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(
|
|
81
81
|
i,
|
|
82
82
|
{
|
|
83
83
|
text: "Long long text, Long long text, Long long text, Long long text, Long long text, Long long text to test the overflow, will it work? Let's see!"
|
|
84
84
|
}
|
|
85
85
|
) }),
|
|
86
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ t(n, { children: [
|
|
87
87
|
"Nope!",
|
|
88
88
|
" ",
|
|
89
|
-
/* @__PURE__ */
|
|
89
|
+
/* @__PURE__ */ e("a", { href: "https://cfx.re", children: "FiveM" }),
|
|
90
90
|
" ",
|
|
91
91
|
"does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope!",
|
|
92
92
|
" ",
|
|
93
|
-
/* @__PURE__ */
|
|
93
|
+
/* @__PURE__ */ e("a", { href: "https://cfx.re", children: "FiveM" }),
|
|
94
94
|
" ",
|
|
95
95
|
"does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope!",
|
|
96
96
|
" ",
|
|
97
|
-
/* @__PURE__ */
|
|
97
|
+
/* @__PURE__ */ e("a", { href: "https://cfx.re", children: "FiveM" }),
|
|
98
98
|
" ",
|
|
99
99
|
"does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope!",
|
|
100
100
|
" ",
|
|
101
|
-
/* @__PURE__ */
|
|
101
|
+
/* @__PURE__ */ e("a", { href: "https://cfx.re", children: "FiveM" }),
|
|
102
102
|
" ",
|
|
103
103
|
"does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it. Nope! FiveM does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it."
|
|
104
104
|
] })
|
|
105
105
|
] })
|
|
106
106
|
] })
|
|
107
107
|
] }),
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
-
/* @__PURE__ */
|
|
110
|
-
/* @__PURE__ */ t(
|
|
111
|
-
/* @__PURE__ */ t(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
108
|
+
/* @__PURE__ */ t(a, { fullWidth: !0, vertical: !0, gap: "large", children: [
|
|
109
|
+
/* @__PURE__ */ e(h, { size: "large", children: "Accordion with custom styles" }),
|
|
110
|
+
/* @__PURE__ */ t(l, { children: [
|
|
111
|
+
/* @__PURE__ */ t(o, { children: [
|
|
112
|
+
/* @__PURE__ */ e(
|
|
113
|
+
i,
|
|
114
|
+
{
|
|
115
|
+
text: "Will I get banned from GTA:O?",
|
|
116
|
+
className: c.customTrigger,
|
|
117
|
+
textClassName: c.customTriggerText,
|
|
118
|
+
iconRightClassName: c.customTriggerIconRight
|
|
119
|
+
}
|
|
120
|
+
),
|
|
121
|
+
/* @__PURE__ */ t(
|
|
122
|
+
n,
|
|
123
|
+
{
|
|
124
|
+
className: c.customContent,
|
|
125
|
+
innerClassName: c.customContentInner,
|
|
126
|
+
children: [
|
|
127
|
+
"Nope!",
|
|
128
|
+
" ",
|
|
129
|
+
/* @__PURE__ */ e("a", { href: "https://cfx.re", children: "FiveM" }),
|
|
130
|
+
" ",
|
|
131
|
+
"does not interact with the Rockstar Online Services other than to validate your game copy the first time you launch it."
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
)
|
|
135
|
+
] }),
|
|
136
|
+
/* @__PURE__ */ t(o, { children: [
|
|
137
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(
|
|
138
|
+
i,
|
|
139
|
+
{
|
|
140
|
+
text: "Can I cheat on FiveM?",
|
|
141
|
+
iconLeft: "Heart",
|
|
142
|
+
preopen: !0
|
|
143
|
+
}
|
|
144
|
+
) }),
|
|
145
|
+
/* @__PURE__ */ e(n, { preopen: !0, children: "Dont be a cheater, you will get banned! Dont be a cheater, you will get banned! Dont be a cheater, you will get banned! Dont be a cheater, you will get banned! Dont be a cheater, you will get banned! Dont be a cheater, you will get banned! Dont be a cheater, you will get banned!" })
|
|
146
|
+
] })
|
|
147
|
+
] })
|
|
135
148
|
] })
|
|
136
149
|
] });
|
|
137
150
|
}
|
|
138
|
-
const
|
|
151
|
+
const _ = s.memo(v);
|
|
139
152
|
export {
|
|
140
|
-
|
|
153
|
+
_ as default
|
|
141
154
|
};
|