highsoft-ui 1.0.68 → 1.0.70
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/Footer/index.js +4 -4
- package/dist/components/Header/index.js +112 -124
- package/dist/components/PrefPanel/index.js +3 -3
- package/dist/highsoft-ui.css +1 -1
- package/dist/php-client.js +6 -34
- package/dist/php.js +9 -9711
- package/package.json +7 -7
|
@@ -98,7 +98,7 @@ var Ht = function(e) {
|
|
|
98
98
|
)
|
|
99
99
|
);
|
|
100
100
|
Q.displayName = qt;
|
|
101
|
-
var Zt = Q, k = "Dialog", [X
|
|
101
|
+
var Zt = Q, k = "Dialog", [X] = Et(k), [Kt, w] = X(k), tt = (t) => {
|
|
102
102
|
const {
|
|
103
103
|
__scopeDialog: e,
|
|
104
104
|
children: o,
|
|
@@ -300,7 +300,7 @@ ne.displayName = ht;
|
|
|
300
300
|
function B(t) {
|
|
301
301
|
return t ? "open" : "closed";
|
|
302
302
|
}
|
|
303
|
-
var dt = "DialogTitleWarning", [
|
|
303
|
+
var dt = "DialogTitleWarning", [yr, ut] = Tt(dt, {
|
|
304
304
|
contentName: _,
|
|
305
305
|
titleName: W,
|
|
306
306
|
docsSlug: "dialog"
|
|
@@ -782,7 +782,7 @@ function ar() {
|
|
|
782
782
|
e ? /* @__PURE__ */ r(jt, {}) : /* @__PURE__ */ r(Ht, {})
|
|
783
783
|
] });
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function Cr({
|
|
786
786
|
link: t = "a",
|
|
787
787
|
host: e = "https://www.highcharts.com"
|
|
788
788
|
}) {
|
|
@@ -1067,5 +1067,5 @@ function _r({
|
|
|
1067
1067
|
] });
|
|
1068
1068
|
}
|
|
1069
1069
|
export {
|
|
1070
|
-
|
|
1070
|
+
Cr as Footer
|
|
1071
1071
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { a as
|
|
4
|
-
import { A } from "../../Announcement03-obPaH4LK.js";
|
|
1
|
+
import { jsx as e, jsxs as o, Fragment as V } from "react/jsx-runtime";
|
|
2
|
+
import { useState as q, useEffect as z } from "react";
|
|
3
|
+
import { a as N, J as A } from "../../utils-C7rfowvr.js";
|
|
4
|
+
import { A as E } from "../../Announcement03-obPaH4LK.js";
|
|
5
5
|
import { _ as m } from "../../extends-hS2Bh-Yp.js";
|
|
6
|
-
import { N as
|
|
7
|
-
import { c as
|
|
6
|
+
import { N as J, X as U } from "../../index-pnL-sAld.js";
|
|
7
|
+
import { c as v } from "../../clsx-OuTLNxxd.js";
|
|
8
8
|
import { Button as h } from "../Button/index.js";
|
|
9
9
|
import { Container as W } from "../Container/index.js";
|
|
10
|
-
import { ThemedLogo as
|
|
11
|
-
import {
|
|
12
|
-
|
|
10
|
+
import { ThemedLogo as M } from "../Logo/index.js";
|
|
11
|
+
import { NewTag as G } from "../NewTag/index.js";
|
|
12
|
+
import { PrefPanel as Q } from "../PrefPanel/index.js";
|
|
13
|
+
var F = function(n) {
|
|
13
14
|
return /* @__PURE__ */ e("svg", m({
|
|
14
15
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
16
|
width: 24,
|
|
@@ -25,7 +26,7 @@ var G = function(n) {
|
|
|
25
26
|
d: "M6 11v4m12-6v4m-1-9c2.4487 0 3.7731.3748 4.4321.6654.0878.0388.1317.0581.2583.179.0759.0724.2145.285.2501.3837.0595.1646.0595.2546.0595.4346v10.7484c0 .9088 0 1.3632-.1363 1.5968-.1386.2375-.2723.348-.5318.4393-.255.0897-.7699-.0092-1.7997-.2071A13.45 13.45 0 0 0 17 18c-3 0-6 2-10 2-2.4487 0-3.7731-.3748-4.4321-.6654-.0878-.0388-.1317-.0581-.2583-.179-.076-.0724-.2145-.285-.2501-.3837C2 18.6073 2 18.5173 2 18.3373V7.5889c0-.9088 0-1.3632.1363-1.5968.1386-.2375.2723-.348.5318-.4393.255-.0898.77.0092 1.7997.207A13.44 13.44 0 0 0 7 6c3 0 6-2 10-2m-2.5 8c0 1.3807-1.1193 2.5-2.5 2.5S9.5 13.3807 9.5 12s1.1193-2.5 2.5-2.5 2.5 1.1193 2.5 2.5"
|
|
26
27
|
})
|
|
27
28
|
}));
|
|
28
|
-
},
|
|
29
|
+
}, D = function(n) {
|
|
29
30
|
return /* @__PURE__ */ e("svg", m({
|
|
30
31
|
xmlns: "http://www.w3.org/2000/svg",
|
|
31
32
|
width: 24,
|
|
@@ -41,7 +42,7 @@ var G = function(n) {
|
|
|
41
42
|
d: "M11 3H7.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.2798 3 6.1198 3 7.8v8.4c0 1.6802 0 2.5202.327 3.162a3 3 0 0 0 1.311 1.311C5.2798 21 6.1198 21 7.8 21h8.4c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.7202 21 17.8802 21 16.2V13m-9-5h4v4m-.5-8.5V2m3.9393 2.5607L20.5 3.5m.0103 5h1.5M3 13.3471c.652.1007 1.3199.1529 2 .1529 4.3864 0 8.2653-2.1724 10.6197-5.5"
|
|
42
43
|
})
|
|
43
44
|
}));
|
|
44
|
-
},
|
|
45
|
+
}, K = function(n) {
|
|
45
46
|
return /* @__PURE__ */ e("svg", m({
|
|
46
47
|
xmlns: "http://www.w3.org/2000/svg",
|
|
47
48
|
width: 24,
|
|
@@ -57,7 +58,7 @@ var G = function(n) {
|
|
|
57
58
|
d: "M14 2.2695v4.1306c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.7599 8 15.0399 8 15.6 8h4.1305M16 13H8m8 4H8m2-8H8m6-7H8.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.2798 4 5.1198 4 6.8v10.4c0 1.6802 0 2.5202.327 3.162a3 3 0 0 0 1.311 1.311C6.2798 22 7.1198 22 8.8 22h6.4c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 19.7202 20 18.8802 20 17.2V8z"
|
|
58
59
|
})
|
|
59
60
|
}));
|
|
60
|
-
},
|
|
61
|
+
}, R = function(n) {
|
|
61
62
|
return /* @__PURE__ */ e("svg", m({
|
|
62
63
|
xmlns: "http://www.w3.org/2000/svg",
|
|
63
64
|
width: 24,
|
|
@@ -73,7 +74,7 @@ var G = function(n) {
|
|
|
73
74
|
d: "M3 12h12M3 6h18M3 18h18"
|
|
74
75
|
})
|
|
75
76
|
}));
|
|
76
|
-
},
|
|
77
|
+
}, X = function(n) {
|
|
77
78
|
return /* @__PURE__ */ e("svg", m({
|
|
78
79
|
xmlns: "http://www.w3.org/2000/svg",
|
|
79
80
|
width: 24,
|
|
@@ -89,7 +90,7 @@ var G = function(n) {
|
|
|
89
90
|
d: "M10 8.0022a2.2485 2.2485 0 0 1 2.501-1.4698 2.248 2.248 0 0 1 1.8682 2.2193c0 1.4989-2.2483 2.2483-2.2483 2.2483m.029 3h.01M7 18v2.3355c0 .5329 0 .7993.1092.9361a.5.5 0 0 0 .3913.1881c.1751-.0002.3832-.1666.7993-.4995l2.3854-1.9084c.4873-.3898.731-.5847 1.0023-.7233a3 3 0 0 1 .7617-.2672C12.7477 18 13.0597 18 13.6837 18H16.2c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 15.7202 21 14.8802 21 13.2V7.8c0-1.6802 0-2.5202-.327-3.162a3 3 0 0 0-1.311-1.311C18.7202 3 17.8802 3 16.2 3H7.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.2798 3 6.1198 3 7.8V14c0 .93 0 1.395.1022 1.7765a3 3 0 0 0 2.1213 2.1213C5.605 18 6.07 18 7 18"
|
|
90
91
|
})
|
|
91
92
|
}));
|
|
92
|
-
},
|
|
93
|
+
}, $ = function(n) {
|
|
93
94
|
return /* @__PURE__ */ e("svg", m({
|
|
94
95
|
xmlns: "http://www.w3.org/2000/svg",
|
|
95
96
|
width: 24,
|
|
@@ -121,7 +122,7 @@ var G = function(n) {
|
|
|
121
122
|
d: "m21 21-4.35-4.35M19 11c0 4.4183-3.5817 8-8 8s-8-3.5817-8-8 3.5817-8 8-8 8 3.5817 8 8"
|
|
122
123
|
})
|
|
123
124
|
}));
|
|
124
|
-
},
|
|
125
|
+
}, y = function(n) {
|
|
125
126
|
return /* @__PURE__ */ e("svg", m({
|
|
126
127
|
xmlns: "http://www.w3.org/2000/svg",
|
|
127
128
|
width: 24,
|
|
@@ -137,7 +138,7 @@ var G = function(n) {
|
|
|
137
138
|
d: "M4.5 22v-5m0-10V2M2 4.5h5m-5 15h5M13 3l-1.7342 4.5089c-.282.7332-.423 1.0998-.6423 1.4082a3 3 0 0 1-.7064.7064c-.3084.2193-.675.3603-1.4082.6423L4 12l4.5089 1.7342c.7332.282 1.0998.423 1.4082.6423.2733.1943.5121.4331.7064.7064.2193.3084.3603.675.6423 1.4082L13 21l1.7342-4.5089c.282-.7332.423-1.0998.6423-1.4082a3 3 0 0 1 .7064-.7064c.3084-.2193.675-.3603 1.4082-.6423L22 12l-4.5089-1.7342c-.7332-.282-1.0998-.423-1.4082-.6423a3 3 0 0 1-.7064-.7064c-.2193-.3084-.3603-.675-.6423-1.4082z"
|
|
138
139
|
})
|
|
139
140
|
}));
|
|
140
|
-
},
|
|
141
|
+
}, T = function(n) {
|
|
141
142
|
return /* @__PURE__ */ e("svg", m({
|
|
142
143
|
xmlns: "http://www.w3.org/2000/svg",
|
|
143
144
|
width: 24,
|
|
@@ -170,109 +171,96 @@ var G = function(n) {
|
|
|
170
171
|
})
|
|
171
172
|
}));
|
|
172
173
|
};
|
|
173
|
-
const
|
|
174
|
-
buttons:
|
|
175
|
-
container:
|
|
176
|
-
gpt:
|
|
177
|
-
header:
|
|
178
|
-
icon:
|
|
179
|
-
icons:
|
|
174
|
+
const Y = "m_QBtq_buttons", Z = "m_QBtq_container", ee = "m_QBtq_gpt", te = "m_QBtq_header", ne = "m_QBtq_icon", re = "m_QBtq_icons", oe = "m_QBtq_links", se = "m_QBtq_logo", ie = "m_QBtq_main", ae = "m_QBtq_menu", ce = "m_QBtq_mobile", le = "m_QBtq_mobileOverlay", he = "m_QBtq_open", de = "m_QBtq_outer", me = "m_QBtq_selectableIcon", ue = "m_QBtq_selected", pe = "m_QBtq_selectedIcon", we = "m_QBtq_skip", ge = "m_QBtq_sub", ve = "m_QBtq_subContainer", fe = "m_QBtq_subTitle", t = {
|
|
175
|
+
buttons: Y,
|
|
176
|
+
container: Z,
|
|
177
|
+
gpt: ee,
|
|
178
|
+
header: te,
|
|
179
|
+
icon: ne,
|
|
180
|
+
icons: re,
|
|
180
181
|
links: oe,
|
|
181
|
-
logo:
|
|
182
|
-
main:
|
|
183
|
-
menu:
|
|
184
|
-
mobile:
|
|
185
|
-
mobileOverlay:
|
|
186
|
-
open:
|
|
187
|
-
outer:
|
|
188
|
-
selectableIcon:
|
|
189
|
-
selected:
|
|
190
|
-
selectedIcon:
|
|
191
|
-
show: pe,
|
|
182
|
+
logo: se,
|
|
183
|
+
main: ie,
|
|
184
|
+
menu: ae,
|
|
185
|
+
mobile: ce,
|
|
186
|
+
mobileOverlay: le,
|
|
187
|
+
open: he,
|
|
188
|
+
outer: de,
|
|
189
|
+
selectableIcon: me,
|
|
190
|
+
selected: ue,
|
|
191
|
+
selectedIcon: pe,
|
|
192
192
|
skip: we,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
subTag: ke,
|
|
197
|
-
"subTag-brand": "m_QBtq_subTag-brand",
|
|
198
|
-
"subTag-success": "m_QBtq_subTag-success"
|
|
193
|
+
sub: ge,
|
|
194
|
+
subContainer: ve,
|
|
195
|
+
subTitle: fe
|
|
199
196
|
}, I = [
|
|
200
197
|
{
|
|
201
198
|
title: "Products",
|
|
202
199
|
url: "https://www.highcharts.com/products/",
|
|
203
|
-
icon: /* @__PURE__ */ e(
|
|
200
|
+
icon: /* @__PURE__ */ e(D, {})
|
|
204
201
|
},
|
|
205
202
|
{
|
|
206
203
|
title: "Demos",
|
|
207
204
|
url: "https://www.highcharts.com/demo",
|
|
208
|
-
icon: /* @__PURE__ */ e(
|
|
205
|
+
icon: /* @__PURE__ */ e($, {})
|
|
209
206
|
},
|
|
210
207
|
{
|
|
211
208
|
title: "Support",
|
|
212
209
|
url: "https://www.highcharts.com/support/",
|
|
213
|
-
icon: /* @__PURE__ */ e(
|
|
210
|
+
icon: /* @__PURE__ */ e(X, {})
|
|
214
211
|
},
|
|
215
212
|
{
|
|
216
213
|
title: "Resources",
|
|
217
214
|
url: "https://www.highcharts.com/resources/",
|
|
218
|
-
icon: /* @__PURE__ */ e(
|
|
215
|
+
icon: /* @__PURE__ */ e(K, {})
|
|
219
216
|
},
|
|
220
217
|
{
|
|
221
218
|
title: "Pricing",
|
|
222
219
|
url: "https://shop.highcharts.com/",
|
|
223
|
-
icon: /* @__PURE__ */ e(
|
|
220
|
+
icon: /* @__PURE__ */ e(F, {})
|
|
224
221
|
},
|
|
225
222
|
{
|
|
226
223
|
title: "Blog",
|
|
227
224
|
url: "https://www.highcharts.com/blog/",
|
|
228
|
-
icon: /* @__PURE__ */ e(
|
|
225
|
+
icon: /* @__PURE__ */ e(E, {})
|
|
229
226
|
}
|
|
230
227
|
];
|
|
231
228
|
function d(s, n) {
|
|
232
229
|
return n ? s.replace(n, "") : s;
|
|
233
230
|
}
|
|
234
|
-
function
|
|
231
|
+
function ke({
|
|
235
232
|
items: s,
|
|
236
233
|
link: n = "a",
|
|
237
234
|
host: p = "https://www.highcharts.com",
|
|
238
235
|
pathname: c = typeof window < "u" ? window.location.pathname : ""
|
|
239
236
|
}) {
|
|
240
|
-
return /* @__PURE__ */ e("div", { className:
|
|
241
|
-
({ title: l, url: f, icon: k, selectedIcon:
|
|
242
|
-
const
|
|
243
|
-
return /* @__PURE__ */ e("li", { children: /* @__PURE__ */
|
|
237
|
+
return /* @__PURE__ */ e("div", { className: v(t.sub, t.outer), children: /* @__PURE__ */ e(W, { className: t.subContainer, as: "ul", children: s.map(
|
|
238
|
+
({ title: l, url: f, icon: k, selectedIcon: C, tag: _, tagVariant: u = "success" }, x) => {
|
|
239
|
+
const g = typeof window < "u" && window.location.origin || "http://example.com", w = new URL(f, g), b = w.origin === g && w.pathname === c;
|
|
240
|
+
return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ o(
|
|
244
241
|
n,
|
|
245
242
|
{
|
|
246
243
|
href: d(f, p),
|
|
247
|
-
className:
|
|
248
|
-
[t.selectableIcon]:
|
|
249
|
-
[t.selected]:
|
|
244
|
+
className: v({
|
|
245
|
+
[t.selectableIcon]: C,
|
|
246
|
+
[t.selected]: b
|
|
250
247
|
}),
|
|
251
248
|
children: [
|
|
252
|
-
/* @__PURE__ */
|
|
253
|
-
/* @__PURE__ */ e("span", { className: t.selectedIcon, children:
|
|
249
|
+
/* @__PURE__ */ o("span", { className: t.icons, children: [
|
|
250
|
+
/* @__PURE__ */ e("span", { className: t.selectedIcon, children: C }),
|
|
254
251
|
/* @__PURE__ */ e("span", { className: t.icon, children: k })
|
|
255
252
|
] }),
|
|
256
|
-
/* @__PURE__ */
|
|
253
|
+
/* @__PURE__ */ o("span", { className: t.subTitle, children: [
|
|
257
254
|
l,
|
|
258
|
-
|
|
259
|
-
"span",
|
|
260
|
-
{
|
|
261
|
-
className: g(
|
|
262
|
-
t.subTag,
|
|
263
|
-
t[`subTag-${u}`]
|
|
264
|
-
),
|
|
265
|
-
children: b
|
|
266
|
-
}
|
|
267
|
-
)
|
|
255
|
+
_ && /* @__PURE__ */ e(G, { variant: u, icon: !1 })
|
|
268
256
|
] })
|
|
269
257
|
]
|
|
270
258
|
}
|
|
271
|
-
) },
|
|
259
|
+
) }, x);
|
|
272
260
|
}
|
|
273
261
|
) }) });
|
|
274
262
|
}
|
|
275
|
-
function
|
|
263
|
+
function Te({
|
|
276
264
|
subItems: s,
|
|
277
265
|
children: n,
|
|
278
266
|
notifications: p = [],
|
|
@@ -281,12 +269,12 @@ function ye({
|
|
|
281
269
|
host: l = "https://www.highcharts.com",
|
|
282
270
|
pathname: f = typeof window < "u" ? window.location.pathname : ""
|
|
283
271
|
}) {
|
|
284
|
-
const k =
|
|
285
|
-
|
|
272
|
+
const k = N("(max-width: 374px)"), C = N("(max-width: 849px)"), _ = N("(min-width: 850px) and (max-width: 999px)"), [u, x] = q(!1), [g, w] = q([]);
|
|
273
|
+
z(() => {
|
|
286
274
|
if (p.length) {
|
|
287
|
-
const
|
|
288
|
-
if (
|
|
289
|
-
const i = JSON.parse(
|
|
275
|
+
const r = localStorage.getItem("notifications");
|
|
276
|
+
if (r) {
|
|
277
|
+
const i = JSON.parse(r);
|
|
290
278
|
w(
|
|
291
279
|
p.filter(
|
|
292
280
|
(a) => !a.id || !i.closed.includes(a.id)
|
|
@@ -296,42 +284,42 @@ function ye({
|
|
|
296
284
|
w(p);
|
|
297
285
|
}
|
|
298
286
|
}, [p]);
|
|
299
|
-
const
|
|
300
|
-
if (
|
|
287
|
+
const b = (r) => {
|
|
288
|
+
if (r.preventDefault(), !(r.nativeEvent instanceof KeyboardEvent) || r.nativeEvent.code === "Enter" || r.nativeEvent.code === "Space") {
|
|
301
289
|
const i = document.querySelector("main");
|
|
302
290
|
i && (i.scrollIntoView(), i.getAttribute("tabindex") !== "-1" && i.setAttribute("tabindex", "-1"), i.focus());
|
|
303
291
|
}
|
|
304
|
-
},
|
|
305
|
-
|
|
306
|
-
}, j = (
|
|
307
|
-
w(
|
|
292
|
+
}, S = () => {
|
|
293
|
+
x(!u);
|
|
294
|
+
}, j = (r) => {
|
|
295
|
+
w(g.filter((a) => !a.id || a.id !== r));
|
|
308
296
|
const i = localStorage.getItem("notifications");
|
|
309
297
|
if (i) {
|
|
310
298
|
const a = JSON.parse(i);
|
|
311
|
-
a.closed.includes(
|
|
299
|
+
a.closed.includes(r) || (a.closed.push(r), localStorage.setItem("notifications", JSON.stringify(a)));
|
|
312
300
|
} else
|
|
313
301
|
localStorage.setItem(
|
|
314
302
|
"notifications",
|
|
315
303
|
JSON.stringify({
|
|
316
|
-
closed: [
|
|
304
|
+
closed: [r]
|
|
317
305
|
})
|
|
318
306
|
);
|
|
319
307
|
};
|
|
320
|
-
return /* @__PURE__ */ e(
|
|
321
|
-
|
|
322
|
-
({ id:
|
|
323
|
-
|
|
308
|
+
return /* @__PURE__ */ e(A, { children: /* @__PURE__ */ o("header", { className: t.header, children: [
|
|
309
|
+
g?.map(
|
|
310
|
+
({ id: r, title: i, description: a, variant: B, closable: O }, P) => /* @__PURE__ */ e(
|
|
311
|
+
J,
|
|
324
312
|
{
|
|
325
313
|
description: a,
|
|
326
|
-
variant:
|
|
314
|
+
variant: B,
|
|
327
315
|
closable: O,
|
|
328
|
-
onClose: () => j(
|
|
316
|
+
onClose: () => j(r),
|
|
329
317
|
children: i
|
|
330
318
|
},
|
|
331
319
|
P
|
|
332
320
|
)
|
|
333
321
|
),
|
|
334
|
-
/* @__PURE__ */ e("div", { className:
|
|
322
|
+
/* @__PURE__ */ e("div", { className: v(t.main, t.outer), children: /* @__PURE__ */ o(W, { as: "nav", className: t.container, children: [
|
|
335
323
|
/* @__PURE__ */ e(
|
|
336
324
|
h,
|
|
337
325
|
{
|
|
@@ -339,8 +327,8 @@ function ye({
|
|
|
339
327
|
className: t.skip,
|
|
340
328
|
size: 500,
|
|
341
329
|
tabIndex: "0",
|
|
342
|
-
onClick:
|
|
343
|
-
onKeyPress:
|
|
330
|
+
onClick: b,
|
|
331
|
+
onKeyPress: b,
|
|
344
332
|
children: "Skip to content"
|
|
345
333
|
}
|
|
346
334
|
),
|
|
@@ -349,21 +337,21 @@ function ye({
|
|
|
349
337
|
{
|
|
350
338
|
className: t.logo,
|
|
351
339
|
href: d("https://www.highcharts.com/", l),
|
|
352
|
-
children: /* @__PURE__ */ e(
|
|
340
|
+
children: /* @__PURE__ */ e(M, { showText: !_ && !k })
|
|
353
341
|
}
|
|
354
342
|
),
|
|
355
|
-
/* @__PURE__ */ e("ul", { className: t.links, children: I.map(({ title:
|
|
343
|
+
/* @__PURE__ */ e("ul", { className: t.links, children: I.map(({ title: r, url: i }, a) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
356
344
|
h,
|
|
357
345
|
{
|
|
358
346
|
variant: "plain",
|
|
359
347
|
size: 300,
|
|
360
348
|
as: c,
|
|
361
349
|
href: d(i, l),
|
|
362
|
-
children:
|
|
350
|
+
children: r
|
|
363
351
|
}
|
|
364
352
|
) }, a)) }),
|
|
365
|
-
/* @__PURE__ */
|
|
366
|
-
/* @__PURE__ */
|
|
353
|
+
/* @__PURE__ */ o("div", { className: t.buttons, children: [
|
|
354
|
+
/* @__PURE__ */ o(
|
|
367
355
|
h,
|
|
368
356
|
{
|
|
369
357
|
variant: "transparent",
|
|
@@ -374,12 +362,12 @@ function ye({
|
|
|
374
362
|
),
|
|
375
363
|
children: [
|
|
376
364
|
/* @__PURE__ */ e("span", { className: t.gpt, children: "Highcharts GPT" }),
|
|
377
|
-
/* @__PURE__ */ e(
|
|
365
|
+
/* @__PURE__ */ e(y, {})
|
|
378
366
|
]
|
|
379
367
|
}
|
|
380
368
|
),
|
|
381
369
|
/* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(L, {}) }),
|
|
382
|
-
/* @__PURE__ */ e(
|
|
370
|
+
/* @__PURE__ */ e(Q, {}),
|
|
383
371
|
/* @__PURE__ */ e(
|
|
384
372
|
h,
|
|
385
373
|
{
|
|
@@ -390,7 +378,7 @@ function ye({
|
|
|
390
378
|
children: /* @__PURE__ */ e(H, {})
|
|
391
379
|
}
|
|
392
380
|
),
|
|
393
|
-
/* @__PURE__ */
|
|
381
|
+
/* @__PURE__ */ o(
|
|
394
382
|
h,
|
|
395
383
|
{
|
|
396
384
|
variant: "success",
|
|
@@ -400,27 +388,27 @@ function ye({
|
|
|
400
388
|
l
|
|
401
389
|
),
|
|
402
390
|
children: [
|
|
403
|
-
/* @__PURE__ */ e(
|
|
391
|
+
/* @__PURE__ */ e(T, {}),
|
|
404
392
|
"Get started"
|
|
405
393
|
]
|
|
406
394
|
}
|
|
407
395
|
),
|
|
408
|
-
/* @__PURE__ */
|
|
396
|
+
/* @__PURE__ */ o(
|
|
409
397
|
h,
|
|
410
398
|
{
|
|
411
399
|
variant: u ? "white" : "transparent",
|
|
412
400
|
className: t.menu,
|
|
413
|
-
onClick:
|
|
401
|
+
onClick: S,
|
|
414
402
|
children: [
|
|
415
403
|
u ? "Close" : "Menu",
|
|
416
|
-
u ? /* @__PURE__ */ e(
|
|
404
|
+
u ? /* @__PURE__ */ e(U, {}) : /* @__PURE__ */ e(R, {})
|
|
417
405
|
]
|
|
418
406
|
}
|
|
419
407
|
)
|
|
420
408
|
] })
|
|
421
409
|
] }) }),
|
|
422
410
|
!!s?.length && /* @__PURE__ */ e(
|
|
423
|
-
|
|
411
|
+
ke,
|
|
424
412
|
{
|
|
425
413
|
items: s,
|
|
426
414
|
link: c,
|
|
@@ -429,32 +417,32 @@ function ye({
|
|
|
429
417
|
}
|
|
430
418
|
),
|
|
431
419
|
n,
|
|
432
|
-
|
|
420
|
+
C && /* @__PURE__ */ o(V, { children: [
|
|
433
421
|
/* @__PURE__ */ e(
|
|
434
422
|
"div",
|
|
435
423
|
{
|
|
436
|
-
className:
|
|
437
|
-
onClick:
|
|
424
|
+
className: v(t.mobileOverlay, { [t.open]: u }),
|
|
425
|
+
onClick: S
|
|
438
426
|
}
|
|
439
427
|
),
|
|
440
|
-
/* @__PURE__ */
|
|
428
|
+
/* @__PURE__ */ o(
|
|
441
429
|
"nav",
|
|
442
430
|
{
|
|
443
|
-
className:
|
|
431
|
+
className: v(t.mobile, {
|
|
444
432
|
[t.open]: u
|
|
445
433
|
}),
|
|
446
434
|
children: [
|
|
447
|
-
/* @__PURE__ */
|
|
435
|
+
/* @__PURE__ */ o("div", { className: t.container, children: [
|
|
448
436
|
/* @__PURE__ */ e(
|
|
449
437
|
c,
|
|
450
438
|
{
|
|
451
439
|
className: t.logo,
|
|
452
440
|
href: d("https://www.highcharts.com/", l),
|
|
453
|
-
children: /* @__PURE__ */ e(
|
|
441
|
+
children: /* @__PURE__ */ e(M, { showText: !k })
|
|
454
442
|
}
|
|
455
443
|
),
|
|
456
|
-
/* @__PURE__ */
|
|
457
|
-
/* @__PURE__ */
|
|
444
|
+
/* @__PURE__ */ o("div", { className: t.buttons, children: [
|
|
445
|
+
/* @__PURE__ */ o(
|
|
458
446
|
h,
|
|
459
447
|
{
|
|
460
448
|
variant: "transparent",
|
|
@@ -465,16 +453,16 @@ function ye({
|
|
|
465
453
|
),
|
|
466
454
|
children: [
|
|
467
455
|
/* @__PURE__ */ e("span", { className: t.gpt, children: "Highcharts GPT" }),
|
|
468
|
-
/* @__PURE__ */ e(
|
|
456
|
+
/* @__PURE__ */ e(y, {})
|
|
469
457
|
]
|
|
470
458
|
}
|
|
471
459
|
),
|
|
472
460
|
/* @__PURE__ */ e(h, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(L, {}) }),
|
|
473
|
-
/* @__PURE__ */ e(
|
|
461
|
+
/* @__PURE__ */ e(Q, {})
|
|
474
462
|
] })
|
|
475
463
|
] }),
|
|
476
|
-
/* @__PURE__ */
|
|
477
|
-
/* @__PURE__ */
|
|
464
|
+
/* @__PURE__ */ o("div", { className: t.buttons, children: [
|
|
465
|
+
/* @__PURE__ */ o(
|
|
478
466
|
h,
|
|
479
467
|
{
|
|
480
468
|
variant: "brand",
|
|
@@ -490,7 +478,7 @@ function ye({
|
|
|
490
478
|
]
|
|
491
479
|
}
|
|
492
480
|
),
|
|
493
|
-
/* @__PURE__ */
|
|
481
|
+
/* @__PURE__ */ o(
|
|
494
482
|
h,
|
|
495
483
|
{
|
|
496
484
|
variant: "success",
|
|
@@ -501,13 +489,13 @@ function ye({
|
|
|
501
489
|
l
|
|
502
490
|
),
|
|
503
491
|
children: [
|
|
504
|
-
/* @__PURE__ */ e(
|
|
492
|
+
/* @__PURE__ */ e(T, {}),
|
|
505
493
|
"Get started"
|
|
506
494
|
]
|
|
507
495
|
}
|
|
508
496
|
)
|
|
509
497
|
] }),
|
|
510
|
-
/* @__PURE__ */ e("ul", { className: t.links, children: I.map(({ title:
|
|
498
|
+
/* @__PURE__ */ e("ul", { className: t.links, children: I.map(({ title: r, url: i, icon: a }, B) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ o(
|
|
511
499
|
h,
|
|
512
500
|
{
|
|
513
501
|
variant: "plain",
|
|
@@ -517,10 +505,10 @@ function ye({
|
|
|
517
505
|
href: d(i, l),
|
|
518
506
|
children: [
|
|
519
507
|
a,
|
|
520
|
-
|
|
508
|
+
r
|
|
521
509
|
]
|
|
522
510
|
}
|
|
523
|
-
) },
|
|
511
|
+
) }, B)) })
|
|
524
512
|
]
|
|
525
513
|
}
|
|
526
514
|
)
|
|
@@ -528,6 +516,6 @@ function ye({
|
|
|
528
516
|
] }) });
|
|
529
517
|
}
|
|
530
518
|
export {
|
|
531
|
-
|
|
532
|
-
|
|
519
|
+
Te as Header,
|
|
520
|
+
ke as SubHeader
|
|
533
521
|
};
|
|
@@ -1616,7 +1616,7 @@ function Oe(t) {
|
|
|
1616
1616
|
const [e, n = "center"] = t.split("-");
|
|
1617
1617
|
return [e, n];
|
|
1618
1618
|
}
|
|
1619
|
-
var Fo = ye, Se = Ae, $o = Pe, Wo = Re, Ot = "Popover", [Ee
|
|
1619
|
+
var Fo = ye, Se = Ae, $o = Pe, Wo = Re, Ot = "Popover", [Ee] = oe(Ot, [
|
|
1620
1620
|
ve
|
|
1621
1621
|
]), dt = ve(), [Ho, Z] = Ee(Ot), ke = (t) => {
|
|
1622
1622
|
const {
|
|
@@ -1849,7 +1849,7 @@ function kt({ children: t, id: e, ...n }) {
|
|
|
1849
1849
|
] })
|
|
1850
1850
|
] });
|
|
1851
1851
|
}
|
|
1852
|
-
function
|
|
1852
|
+
function ur() {
|
|
1853
1853
|
const { theme: t, systemTheme: e, setTheme: n } = Qe(), o = qe();
|
|
1854
1854
|
return /* @__PURE__ */ q(Qo, { children: [
|
|
1855
1855
|
/* @__PURE__ */ w(Go, { asChild: !0, children: /* @__PURE__ */ q(fn, { variant: "transparent", "aria-label": "Preferences", children: [
|
|
@@ -1911,6 +1911,6 @@ function dr() {
|
|
|
1911
1911
|
] });
|
|
1912
1912
|
}
|
|
1913
1913
|
export {
|
|
1914
|
-
|
|
1914
|
+
ur as PrefPanel,
|
|
1915
1915
|
kt as PrefRadio
|
|
1916
1916
|
};
|