highsoft-ui 1.0.17 → 1.0.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.
- package/dist/components/Button/index.js +25 -25
- package/dist/components/Container/index.d.ts +1 -1
- package/dist/components/Container/index.js +9 -14
- package/dist/components/GPTInput/index.js +38 -38
- package/dist/components/Header/index.d.ts +2 -2
- package/dist/components/Header/index.js +107 -108
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +602 -599
- package/dist/highsoft-ui.css +1 -1
- package/dist/index-ChurKizy.js +68 -0
- package/dist/main.js +1 -1
- package/dist/scss/variables.scss +27 -18
- package/package.json +1 -1
- package/dist/index-xicPMd2c.js +0 -67
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as r } from "react";
|
|
3
3
|
import { c } from "../../clsx-OuTLNxxd.js";
|
|
4
|
-
const
|
|
5
|
-
button:
|
|
6
|
-
neutral:
|
|
7
|
-
white:
|
|
8
|
-
transparent:
|
|
9
|
-
plain:
|
|
10
|
-
brand:
|
|
11
|
-
success:
|
|
12
|
-
attention:
|
|
13
|
-
danger:
|
|
14
|
-
"size-50": "_size-
|
|
15
|
-
"size-100": "_size-
|
|
16
|
-
"size-200": "_size-
|
|
17
|
-
"size-300": "_size-
|
|
18
|
-
"size-400": "_size-
|
|
19
|
-
"size-500": "_size-
|
|
20
|
-
full:
|
|
21
|
-
},
|
|
4
|
+
const g = "_button_lp38g_270", u = "_neutral_lp38g_312", z = "_white_lp38g_336", f = "_transparent_lp38g_360", b = "_plain_lp38g_384", d = "_brand_lp38g_408", m = "_success_lp38g_432", w = "_attention_lp38g_456", h = "_danger_lp38g_480", x = "_full_lp38g_606", t = {
|
|
5
|
+
button: g,
|
|
6
|
+
neutral: u,
|
|
7
|
+
white: z,
|
|
8
|
+
transparent: f,
|
|
9
|
+
plain: b,
|
|
10
|
+
brand: d,
|
|
11
|
+
success: m,
|
|
12
|
+
attention: w,
|
|
13
|
+
danger: h,
|
|
14
|
+
"size-50": "_size-50_lp38g_504",
|
|
15
|
+
"size-100": "_size-100_lp38g_521",
|
|
16
|
+
"size-200": "_size-200_lp38g_538",
|
|
17
|
+
"size-300": "_size-300_lp38g_555",
|
|
18
|
+
"size-400": "_size-400_lp38g_572",
|
|
19
|
+
"size-500": "_size-500_lp38g_589",
|
|
20
|
+
full: x
|
|
21
|
+
}, N = r(
|
|
22
22
|
({
|
|
23
23
|
children: _,
|
|
24
24
|
variant: s = "neutral",
|
|
25
25
|
size: n = 200,
|
|
26
26
|
fullWidth: e = !1,
|
|
27
|
-
as:
|
|
27
|
+
as: l = "button",
|
|
28
28
|
className: o,
|
|
29
29
|
...a
|
|
30
|
-
},
|
|
31
|
-
|
|
30
|
+
}, p) => /* @__PURE__ */ i(
|
|
31
|
+
l,
|
|
32
32
|
{
|
|
33
33
|
className: c(
|
|
34
34
|
o,
|
|
@@ -39,12 +39,12 @@ const h = "_button_hf7ku_286", l = "_neutral_hf7ku_328", k = "_white_hf7ku_352",
|
|
|
39
39
|
[t.full]: e
|
|
40
40
|
}
|
|
41
41
|
),
|
|
42
|
-
ref:
|
|
42
|
+
ref: p,
|
|
43
43
|
...a,
|
|
44
44
|
children: _
|
|
45
45
|
}
|
|
46
46
|
)
|
|
47
47
|
);
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
N as Button
|
|
50
50
|
};
|
|
@@ -2,4 +2,4 @@ import { ElementType, HTMLAttributes } from 'react';
|
|
|
2
2
|
export interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
as?: ElementType;
|
|
4
4
|
}
|
|
5
|
-
export declare
|
|
5
|
+
export declare const Container: import('react').ForwardRefExoticComponent<ContainerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
children: n,
|
|
8
|
-
|
|
9
|
-
as: t = "div",
|
|
10
|
-
...r
|
|
11
|
-
}) {
|
|
12
|
-
return /* @__PURE__ */ c(t, { className: s(o, e.container), ...r, children: n });
|
|
13
|
-
}
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as c } from "react";
|
|
3
|
+
import { c as e } from "../../clsx-OuTLNxxd.js";
|
|
4
|
+
const i = "_container_mh6y2_1", m = {
|
|
5
|
+
container: i
|
|
6
|
+
}, x = c(
|
|
7
|
+
({ children: o, className: r, as: n = "div", ...t }, s) => /* @__PURE__ */ a(n, { className: e(r, m.container), ref: s, ...t, children: o })
|
|
8
|
+
);
|
|
14
9
|
export {
|
|
15
|
-
|
|
10
|
+
x as Container
|
|
16
11
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as h, useState as b, useLayoutEffect as x } from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
const v = "
|
|
7
|
-
inputContainer:
|
|
8
|
-
bottomFade:
|
|
9
|
-
inputWrap:
|
|
10
|
-
textarea:
|
|
11
|
-
button:
|
|
12
|
-
primary:
|
|
13
|
-
secondary:
|
|
14
|
-
disclaimer:
|
|
3
|
+
import { c as y } from "../../clsx-OuTLNxxd.js";
|
|
4
|
+
import j from "../icons/Bubble.js";
|
|
5
|
+
import g from "../icons/Plane.js";
|
|
6
|
+
const C = "_inputContainer_4jy94_270", v = "_bottomFade_4jy94_273", S = "_inputWrap_4jy94_276", K = "_textarea_4jy94_279", P = "_button_4jy94_345", N = "_primary_4jy94_380", W = "_secondary_4jy94_389", k = "_disclaimer_4jy94_395", r = {
|
|
7
|
+
inputContainer: C,
|
|
8
|
+
bottomFade: v,
|
|
9
|
+
inputWrap: S,
|
|
10
|
+
textarea: K,
|
|
11
|
+
button: P,
|
|
12
|
+
primary: N,
|
|
13
|
+
secondary: W,
|
|
14
|
+
disclaimer: k
|
|
15
15
|
};
|
|
16
|
-
function
|
|
16
|
+
function D({
|
|
17
17
|
variant: a = "primary",
|
|
18
18
|
className: s,
|
|
19
|
-
children:
|
|
19
|
+
children: e,
|
|
20
20
|
...o
|
|
21
21
|
}) {
|
|
22
|
-
return /* @__PURE__ */
|
|
22
|
+
return /* @__PURE__ */ n(
|
|
23
23
|
"button",
|
|
24
24
|
{
|
|
25
|
-
className:
|
|
25
|
+
className: y(r.button, r[a], s),
|
|
26
26
|
...o,
|
|
27
|
-
children: /* @__PURE__ */
|
|
27
|
+
children: /* @__PURE__ */ n("span", { children: e })
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
30
|
}
|
|
@@ -32,49 +32,49 @@ function I({
|
|
|
32
32
|
autoFocus: a,
|
|
33
33
|
onSubmit: s
|
|
34
34
|
}) {
|
|
35
|
-
const
|
|
35
|
+
const e = h(null), [o, i] = b(""), c = o.trim(), u = !!c;
|
|
36
36
|
x(() => {
|
|
37
37
|
var t;
|
|
38
|
-
a && ((t =
|
|
38
|
+
a && ((t = e.current) == null || t.focus());
|
|
39
39
|
}, [a]);
|
|
40
|
-
const
|
|
41
|
-
const t =
|
|
40
|
+
const p = () => {
|
|
41
|
+
const t = e.current;
|
|
42
42
|
t && (t.style.height = "64px", t.style.height = `${t.scrollHeight + 4}px`);
|
|
43
|
-
}, y = (t) => {
|
|
44
|
-
i(t.target.value), u();
|
|
45
|
-
}, m = (t) => {
|
|
46
|
-
t.preventDefault(), s(c), i(""), requestAnimationFrame(u);
|
|
47
43
|
}, _ = (t) => {
|
|
44
|
+
i(t.target.value), p();
|
|
45
|
+
}, m = (t) => {
|
|
46
|
+
t.preventDefault(), s(c), i(""), requestAnimationFrame(p);
|
|
47
|
+
}, d = (t) => {
|
|
48
48
|
t.key === "Enter" && !t.shiftKey && !t.ctrlKey && !t.metaKey && m(t);
|
|
49
49
|
}, f = () => {
|
|
50
50
|
var t;
|
|
51
|
-
(t =
|
|
51
|
+
(t = e.current) == null || t.focus();
|
|
52
52
|
};
|
|
53
53
|
return /* @__PURE__ */ l(
|
|
54
54
|
"form",
|
|
55
55
|
{
|
|
56
|
-
className:
|
|
57
|
-
onKeyDown:
|
|
56
|
+
className: y(r.inputWrap, { [r.active]: u }),
|
|
57
|
+
onKeyDown: d,
|
|
58
58
|
onSubmit: m,
|
|
59
59
|
children: [
|
|
60
|
-
/* @__PURE__ */
|
|
61
|
-
/* @__PURE__ */
|
|
60
|
+
/* @__PURE__ */ n(j, {}),
|
|
61
|
+
/* @__PURE__ */ n(
|
|
62
62
|
"textarea",
|
|
63
63
|
{
|
|
64
64
|
className: r.textarea,
|
|
65
|
-
ref:
|
|
65
|
+
ref: e,
|
|
66
66
|
value: o,
|
|
67
|
-
onChange:
|
|
67
|
+
onChange: _
|
|
68
68
|
}
|
|
69
69
|
),
|
|
70
70
|
/* @__PURE__ */ l(
|
|
71
|
-
|
|
71
|
+
D,
|
|
72
72
|
{
|
|
73
|
-
variant:
|
|
73
|
+
variant: u ? "primary" : "secondary",
|
|
74
74
|
onClick: f,
|
|
75
75
|
children: [
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ n(g, {}),
|
|
77
|
+
/* @__PURE__ */ n("span", { className: "sr-only", children: "Send message" })
|
|
78
78
|
]
|
|
79
79
|
}
|
|
80
80
|
)
|
|
@@ -84,5 +84,5 @@ function I({
|
|
|
84
84
|
}
|
|
85
85
|
export {
|
|
86
86
|
I as GPTInput,
|
|
87
|
-
|
|
87
|
+
D as default
|
|
88
88
|
};
|
|
@@ -6,10 +6,10 @@ export interface SubHeaderItem {
|
|
|
6
6
|
icon?: ReactNode;
|
|
7
7
|
tag?: ReactNode;
|
|
8
8
|
tagVariant?: 'success' | 'brand';
|
|
9
|
-
link?: ElementType;
|
|
10
9
|
}
|
|
11
|
-
export declare function SubHeader({ items, host }: {
|
|
10
|
+
export declare function SubHeader({ items, link: Link, host }: {
|
|
12
11
|
items: Array<SubHeaderItem>;
|
|
12
|
+
link?: ElementType;
|
|
13
13
|
host?: string;
|
|
14
14
|
}): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export interface Notification {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { useState as M, useEffect as
|
|
3
|
-
import { J as
|
|
1
|
+
import { jsx as e, jsxs as s, Fragment as V } from "react/jsx-runtime";
|
|
2
|
+
import { useState as M, useEffect as q } from "react";
|
|
3
|
+
import { J as U } from "../../index-CMegByeX.js";
|
|
4
4
|
import { _ as d } from "../../extends-hS2Bh-Yp.js";
|
|
5
|
-
import { N as J, X as A } from "../../index-
|
|
6
|
-
import { c as
|
|
5
|
+
import { N as J, X as A } from "../../index-ChurKizy.js";
|
|
6
|
+
import { c as p } from "../../clsx-OuTLNxxd.js";
|
|
7
7
|
import { Button as h } from "../Button/index.js";
|
|
8
8
|
import { Container as W } from "../Container/index.js";
|
|
9
|
-
import { ThemedLogo as
|
|
10
|
-
import { PrefPanel as
|
|
11
|
-
import { useMediaQuery as
|
|
9
|
+
import { ThemedLogo as N } from "../Logo/index.js";
|
|
10
|
+
import { PrefPanel as z } from "../PrefPanel/index.js";
|
|
11
|
+
import { useMediaQuery as C } from "../../utils.js";
|
|
12
12
|
var G = function(t) {
|
|
13
13
|
return /* @__PURE__ */ e("svg", d({
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -186,7 +186,7 @@ var G = function(t) {
|
|
|
186
186
|
})
|
|
187
187
|
}));
|
|
188
188
|
};
|
|
189
|
-
const R = "
|
|
189
|
+
const R = "_header_1vxsz_270", I = "_outer_1vxsz_281", K = "_main_1vxsz_290", Y = "_container_1vxsz_294", Z = "_links_1vxsz_300", e1 = "_buttons_1vxsz_301", t1 = "_menu_1vxsz_309", r1 = "_logo_1vxsz_314", n1 = "_subContainer_1vxsz_326", s1 = "_selected_1vxsz_354", o1 = "_subTag_1vxsz_366", i1 = "_mobileOverlay_1vxsz_384", a1 = "_show_1vxsz_1", c1 = "_open_1vxsz_396", h1 = "_mobile_1vxsz_384", l1 = "_slideUp_1vxsz_1", d1 = "_sub_1vxsz_326", u1 = "_gpt_1vxsz_462", r = {
|
|
190
190
|
header: R,
|
|
191
191
|
outer: I,
|
|
192
192
|
main: K,
|
|
@@ -196,10 +196,10 @@ const R = "_header_1qm4u_286", I = "_outer_1qm4u_297", K = "_main_1qm4u_306", Y
|
|
|
196
196
|
menu: t1,
|
|
197
197
|
logo: r1,
|
|
198
198
|
subContainer: n1,
|
|
199
|
-
selected:
|
|
200
|
-
subTag:
|
|
201
|
-
"subTag-success": "_subTag-
|
|
202
|
-
"subTag-brand": "_subTag-
|
|
199
|
+
selected: s1,
|
|
200
|
+
subTag: o1,
|
|
201
|
+
"subTag-success": "_subTag-success_1vxsz_371",
|
|
202
|
+
"subTag-brand": "_subTag-brand_1vxsz_375",
|
|
203
203
|
mobileOverlay: i1,
|
|
204
204
|
show: a1,
|
|
205
205
|
open: c1,
|
|
@@ -244,108 +244,107 @@ function l(n, t) {
|
|
|
244
244
|
}
|
|
245
245
|
function m1({
|
|
246
246
|
items: n,
|
|
247
|
-
|
|
247
|
+
link: t = "a",
|
|
248
|
+
host: w = "https://www.highcharts.com"
|
|
248
249
|
}) {
|
|
249
|
-
return /* @__PURE__ */ e("div", { className:
|
|
250
|
-
|
|
250
|
+
return /* @__PURE__ */ e("div", { className: p(r.sub, r.outer), children: /* @__PURE__ */ e(W, { className: r.subContainer, as: "ul", children: n.map(({ title: i, url: a, icon: g, tag: v, tagVariant: _ = "success" }, m) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ s(t, { href: l(a, w), children: [
|
|
251
|
+
g,
|
|
252
|
+
/* @__PURE__ */ s("span", { children: [
|
|
251
253
|
i,
|
|
252
|
-
/* @__PURE__ */
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
] })
|
|
265
|
-
] }) }, m)
|
|
266
|
-
) }) });
|
|
254
|
+
v && /* @__PURE__ */ e(
|
|
255
|
+
"span",
|
|
256
|
+
{
|
|
257
|
+
className: p(
|
|
258
|
+
r.subTag,
|
|
259
|
+
r[`subTag-${_}`]
|
|
260
|
+
),
|
|
261
|
+
children: v
|
|
262
|
+
}
|
|
263
|
+
)
|
|
264
|
+
] })
|
|
265
|
+
] }) }, m)) }) });
|
|
267
266
|
}
|
|
268
|
-
function
|
|
267
|
+
function N1({
|
|
269
268
|
subItems: n,
|
|
270
269
|
children: t,
|
|
271
|
-
notifications:
|
|
270
|
+
notifications: w = [],
|
|
272
271
|
// TODO: Fetch these from the internets
|
|
273
|
-
link:
|
|
274
|
-
host:
|
|
272
|
+
link: i = "a",
|
|
273
|
+
host: a = "https://www.highcharts.com"
|
|
275
274
|
}) {
|
|
276
|
-
const
|
|
277
|
-
|
|
278
|
-
if (
|
|
279
|
-
const
|
|
280
|
-
if (
|
|
281
|
-
const u = JSON.parse(
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
(
|
|
275
|
+
const g = C("(max-width: 374px)"), v = C("(max-width: 849px)"), _ = C("(min-width: 850px) and (max-width: 999px)"), [m, j] = M(!1), [f, x] = M([]);
|
|
276
|
+
q(() => {
|
|
277
|
+
if (w.length) {
|
|
278
|
+
const c = localStorage.getItem("notifications");
|
|
279
|
+
if (c) {
|
|
280
|
+
const u = JSON.parse(c);
|
|
281
|
+
x(
|
|
282
|
+
w.filter(
|
|
283
|
+
(o) => !o.id || !u.closed.includes(o.id)
|
|
285
284
|
)
|
|
286
285
|
);
|
|
287
286
|
} else
|
|
288
|
-
|
|
287
|
+
x(w);
|
|
289
288
|
}
|
|
290
|
-
}, [
|
|
291
|
-
const
|
|
289
|
+
}, [w]);
|
|
290
|
+
const b = () => {
|
|
292
291
|
j(!m);
|
|
293
|
-
}, O = (
|
|
294
|
-
|
|
292
|
+
}, O = (c) => {
|
|
293
|
+
x(f.filter((o) => !o.id || o.id !== c));
|
|
295
294
|
const u = localStorage.getItem("notifications");
|
|
296
295
|
if (u) {
|
|
297
|
-
const
|
|
298
|
-
|
|
296
|
+
const o = JSON.parse(u);
|
|
297
|
+
o.closed.includes(c) || (o.closed.push(c), localStorage.setItem("notifications", JSON.stringify(o)));
|
|
299
298
|
} else
|
|
300
299
|
localStorage.setItem(
|
|
301
300
|
"notifications",
|
|
302
301
|
JSON.stringify({
|
|
303
|
-
closed: [
|
|
302
|
+
closed: [c]
|
|
304
303
|
})
|
|
305
304
|
);
|
|
306
305
|
};
|
|
307
|
-
return /* @__PURE__ */ e(
|
|
308
|
-
|
|
309
|
-
({ id:
|
|
306
|
+
return /* @__PURE__ */ e(U, { children: /* @__PURE__ */ s("header", { className: r.header, children: [
|
|
307
|
+
f == null ? void 0 : f.map(
|
|
308
|
+
({ id: c, title: u, description: o, variant: k, closable: y }, P) => /* @__PURE__ */ e(
|
|
310
309
|
J,
|
|
311
310
|
{
|
|
312
|
-
description:
|
|
313
|
-
variant:
|
|
311
|
+
description: o,
|
|
312
|
+
variant: k,
|
|
314
313
|
closable: y,
|
|
315
|
-
onClose: () => O(
|
|
314
|
+
onClose: () => O(c),
|
|
316
315
|
children: u
|
|
317
316
|
},
|
|
318
317
|
P
|
|
319
318
|
)
|
|
320
319
|
),
|
|
321
|
-
/* @__PURE__ */ e("div", { className:
|
|
320
|
+
/* @__PURE__ */ e("div", { className: p(r.main, r.outer), children: /* @__PURE__ */ s(W, { as: "nav", className: r.container, children: [
|
|
322
321
|
/* @__PURE__ */ e(
|
|
323
|
-
|
|
322
|
+
i,
|
|
324
323
|
{
|
|
325
324
|
className: r.logo,
|
|
326
|
-
href: l("https://www.highcharts.com/",
|
|
327
|
-
children: /* @__PURE__ */ e(
|
|
325
|
+
href: l("https://www.highcharts.com/", a),
|
|
326
|
+
children: /* @__PURE__ */ e(N, { showText: !_ && !g })
|
|
328
327
|
}
|
|
329
328
|
),
|
|
330
|
-
/* @__PURE__ */ e("ul", { className: r.links, children: H.map(({ title:
|
|
329
|
+
/* @__PURE__ */ e("ul", { className: r.links, children: H.map(({ title: c, url: u }, o) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
331
330
|
h,
|
|
332
331
|
{
|
|
333
332
|
variant: "plain",
|
|
334
333
|
size: 300,
|
|
335
|
-
as:
|
|
336
|
-
href: l(u,
|
|
337
|
-
children:
|
|
334
|
+
as: i,
|
|
335
|
+
href: l(u, a),
|
|
336
|
+
children: c
|
|
338
337
|
}
|
|
339
|
-
) },
|
|
340
|
-
/* @__PURE__ */
|
|
341
|
-
/* @__PURE__ */
|
|
338
|
+
) }, o)) }),
|
|
339
|
+
/* @__PURE__ */ s("div", { className: r.buttons, children: [
|
|
340
|
+
/* @__PURE__ */ s(
|
|
342
341
|
h,
|
|
343
342
|
{
|
|
344
343
|
variant: "transparent",
|
|
345
|
-
as:
|
|
344
|
+
as: i,
|
|
346
345
|
href: l(
|
|
347
346
|
"https://www.highcharts.com/chat/gpt/",
|
|
348
|
-
|
|
347
|
+
a
|
|
349
348
|
),
|
|
350
349
|
children: [
|
|
351
350
|
/* @__PURE__ */ e("span", { className: r.gpt, children: "Highcharts GPT" }),
|
|
@@ -354,25 +353,25 @@ function q1({
|
|
|
354
353
|
}
|
|
355
354
|
),
|
|
356
355
|
/* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(S, {}) }),
|
|
357
|
-
/* @__PURE__ */ e(
|
|
356
|
+
/* @__PURE__ */ e(z, {}),
|
|
358
357
|
/* @__PURE__ */ e(
|
|
359
358
|
h,
|
|
360
359
|
{
|
|
361
360
|
variant: "brand",
|
|
362
|
-
as:
|
|
363
|
-
href: l("https://shop.highcharts.com/account",
|
|
361
|
+
as: i,
|
|
362
|
+
href: l("https://shop.highcharts.com/account", a),
|
|
364
363
|
"aria-label": "Login",
|
|
365
364
|
children: /* @__PURE__ */ e(B, {})
|
|
366
365
|
}
|
|
367
366
|
),
|
|
368
|
-
/* @__PURE__ */
|
|
367
|
+
/* @__PURE__ */ s(
|
|
369
368
|
h,
|
|
370
369
|
{
|
|
371
370
|
variant: "success",
|
|
372
|
-
as:
|
|
371
|
+
as: i,
|
|
373
372
|
href: l(
|
|
374
373
|
"https://www.highcharts.com/download/",
|
|
375
|
-
|
|
374
|
+
a
|
|
376
375
|
),
|
|
377
376
|
children: [
|
|
378
377
|
/* @__PURE__ */ e(T, {}),
|
|
@@ -380,12 +379,12 @@ function q1({
|
|
|
380
379
|
]
|
|
381
380
|
}
|
|
382
381
|
),
|
|
383
|
-
/* @__PURE__ */
|
|
382
|
+
/* @__PURE__ */ s(
|
|
384
383
|
h,
|
|
385
384
|
{
|
|
386
385
|
variant: m ? "white" : "transparent",
|
|
387
386
|
className: r.menu,
|
|
388
|
-
onClick:
|
|
387
|
+
onClick: b,
|
|
389
388
|
children: [
|
|
390
389
|
m ? "Close" : "Menu",
|
|
391
390
|
m ? /* @__PURE__ */ e(A, {}) : /* @__PURE__ */ e($, {})
|
|
@@ -394,41 +393,41 @@ function q1({
|
|
|
394
393
|
)
|
|
395
394
|
] })
|
|
396
395
|
] }) }),
|
|
397
|
-
!!(n != null && n.length) && /* @__PURE__ */ e(m1, { items: n,
|
|
396
|
+
!!(n != null && n.length) && /* @__PURE__ */ e(m1, { items: n, link: i, host: a }),
|
|
398
397
|
t,
|
|
399
|
-
|
|
398
|
+
v && /* @__PURE__ */ s(V, { children: [
|
|
400
399
|
/* @__PURE__ */ e(
|
|
401
400
|
"div",
|
|
402
401
|
{
|
|
403
|
-
className:
|
|
404
|
-
onClick:
|
|
402
|
+
className: p(r.mobileOverlay, { [r.open]: m }),
|
|
403
|
+
onClick: b
|
|
405
404
|
}
|
|
406
405
|
),
|
|
407
|
-
/* @__PURE__ */
|
|
406
|
+
/* @__PURE__ */ s(
|
|
408
407
|
"nav",
|
|
409
408
|
{
|
|
410
|
-
className:
|
|
409
|
+
className: p(r.mobile, {
|
|
411
410
|
[r.open]: m
|
|
412
411
|
}),
|
|
413
412
|
children: [
|
|
414
|
-
/* @__PURE__ */
|
|
413
|
+
/* @__PURE__ */ s("div", { className: r.container, children: [
|
|
415
414
|
/* @__PURE__ */ e(
|
|
416
|
-
|
|
415
|
+
i,
|
|
417
416
|
{
|
|
418
417
|
className: r.logo,
|
|
419
|
-
href: l("https://www.highcharts.com/",
|
|
420
|
-
children: /* @__PURE__ */ e(
|
|
418
|
+
href: l("https://www.highcharts.com/", a),
|
|
419
|
+
children: /* @__PURE__ */ e(N, { showText: !g })
|
|
421
420
|
}
|
|
422
421
|
),
|
|
423
|
-
/* @__PURE__ */
|
|
424
|
-
/* @__PURE__ */
|
|
422
|
+
/* @__PURE__ */ s("div", { className: r.buttons, children: [
|
|
423
|
+
/* @__PURE__ */ s(
|
|
425
424
|
h,
|
|
426
425
|
{
|
|
427
426
|
variant: "transparent",
|
|
428
|
-
as:
|
|
427
|
+
as: i,
|
|
429
428
|
href: l(
|
|
430
429
|
"https://www.highcharts.com/chat/gpt/",
|
|
431
|
-
|
|
430
|
+
a
|
|
432
431
|
),
|
|
433
432
|
children: [
|
|
434
433
|
/* @__PURE__ */ e("span", { className: r.gpt, children: "Highcharts GPT" }),
|
|
@@ -437,19 +436,19 @@ function q1({
|
|
|
437
436
|
}
|
|
438
437
|
),
|
|
439
438
|
/* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(S, {}) }),
|
|
440
|
-
/* @__PURE__ */ e(
|
|
439
|
+
/* @__PURE__ */ e(z, {})
|
|
441
440
|
] })
|
|
442
441
|
] }),
|
|
443
|
-
/* @__PURE__ */
|
|
444
|
-
/* @__PURE__ */
|
|
442
|
+
/* @__PURE__ */ s("div", { className: r.buttons, children: [
|
|
443
|
+
/* @__PURE__ */ s(
|
|
445
444
|
h,
|
|
446
445
|
{
|
|
447
446
|
variant: "brand",
|
|
448
447
|
fullWidth: !0,
|
|
449
|
-
as:
|
|
448
|
+
as: i,
|
|
450
449
|
href: l(
|
|
451
450
|
"https://shop.highcharts.com/account",
|
|
452
|
-
|
|
451
|
+
a
|
|
453
452
|
),
|
|
454
453
|
children: [
|
|
455
454
|
/* @__PURE__ */ e(B, {}),
|
|
@@ -457,15 +456,15 @@ function q1({
|
|
|
457
456
|
]
|
|
458
457
|
}
|
|
459
458
|
),
|
|
460
|
-
/* @__PURE__ */
|
|
459
|
+
/* @__PURE__ */ s(
|
|
461
460
|
h,
|
|
462
461
|
{
|
|
463
462
|
variant: "success",
|
|
464
463
|
fullWidth: !0,
|
|
465
|
-
as:
|
|
464
|
+
as: i,
|
|
466
465
|
href: l(
|
|
467
466
|
"https://www.highcharts.com/download/",
|
|
468
|
-
|
|
467
|
+
a
|
|
469
468
|
),
|
|
470
469
|
children: [
|
|
471
470
|
/* @__PURE__ */ e(T, {}),
|
|
@@ -474,20 +473,20 @@ function q1({
|
|
|
474
473
|
}
|
|
475
474
|
)
|
|
476
475
|
] }),
|
|
477
|
-
/* @__PURE__ */ e("ul", { className: r.links, children: H.map(({ title:
|
|
476
|
+
/* @__PURE__ */ e("ul", { className: r.links, children: H.map(({ title: c, url: u, icon: o }, k) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ s(
|
|
478
477
|
h,
|
|
479
478
|
{
|
|
480
479
|
variant: "plain",
|
|
481
480
|
size: 500,
|
|
482
481
|
fullWidth: !0,
|
|
483
|
-
as:
|
|
484
|
-
href: l(u,
|
|
482
|
+
as: i,
|
|
483
|
+
href: l(u, a),
|
|
485
484
|
children: [
|
|
486
|
-
|
|
487
|
-
|
|
485
|
+
o,
|
|
486
|
+
c
|
|
488
487
|
]
|
|
489
488
|
}
|
|
490
|
-
) },
|
|
489
|
+
) }, k)) })
|
|
491
490
|
]
|
|
492
491
|
}
|
|
493
492
|
)
|
|
@@ -495,6 +494,6 @@ function q1({
|
|
|
495
494
|
] }) });
|
|
496
495
|
}
|
|
497
496
|
export {
|
|
498
|
-
|
|
497
|
+
N1 as Header,
|
|
499
498
|
m1 as SubHeader
|
|
500
499
|
};
|