highsoft-ui 1.0.139 → 1.0.141
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/README.md +56 -3
- package/dist/{Button-Dc8NFRWQ.js → Button-awCDIEXQ.js} +1 -1
- package/dist/{ButtonGroup-CYmrw7gQ.js → ButtonGroup-Cwn0djAz.js} +1 -1
- package/dist/{Checkbox-CErz7eBz.js → Checkbox-CrF45NBl.js} +1 -1
- package/dist/CodeBlock-BIdeK3gz.js +241 -0
- package/dist/{CookiePolicyModal-DdXZ2d36.js → CookiePolicyModal-CTA02JGV.js} +2 -2
- package/dist/{CopyCode-DH9Jh7PD.js → CopyCode-QiPNPCQN.js} +3 -3
- package/dist/{Dropdown-DbXr3sb-.js → Dropdown-0Vn7yro7.js} +1 -1
- package/dist/{Footer-DtFs2Sgb.js → Footer-BlCmsIDd.js} +9 -9
- package/dist/{FooterBottom-Dtttgp4F.js → FooterBottom-CF5ctutk.js} +1 -1
- package/dist/{FooterHelp-COjjt6h7.js → FooterHelp-BthIJ2ye.js} +1 -1
- package/dist/{FooterLinks-DZ0uH7HO.js → FooterLinks-BBOOTdRf.js} +2 -2
- package/dist/{Header-C7MCiwiz.js → Header-DY4mJxHm.js} +26 -26
- package/dist/{InputGrouped-CIokpRn5.js → InputGrouped-DyxraUpb.js} +12 -12
- package/dist/InputSolo-DUdKtZjX.js +126 -0
- package/dist/{Label-BM4vL0vA.js → Label-DdXaM1Bo.js} +1 -1
- package/dist/{Logo-DTfFHBgU.js → Logo-Bz0G2G-k.js} +69 -92
- package/dist/{NewsletterSignup-Dw9YbhEh.js → NewsletterSignup-BMRnrbw8.js} +5 -5
- package/dist/{Notification-BgmhEw6w.js → Notification-DM31Uzfz.js} +3 -3
- package/dist/{PrefPanel-BG4jW8wc.js → PrefPanel-DDD8R_-o.js} +5 -5
- package/dist/{RoadmapDetails-DXxJNZh9.js → RoadmapDetails-DsLtsnqg.js} +6 -6
- package/dist/{Search-CpJ2XTLG.js → Search-CDOpNByw.js} +12 -12
- package/dist/SearchDropdown-D65lySm_.js +176 -0
- package/dist/{YoutubeModal-DGj2INF0.js → YoutubeModal-CZgbaRB6.js} +1 -1
- package/dist/bash-kQhoNpCD.js +181 -0
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CodeBlock/index.js +1 -1
- package/dist/components/CopyCode/index.js +1 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/Footer/CookiePolicyModal.js +1 -1
- package/dist/components/Footer/FooterBottom.js +1 -1
- package/dist/components/Footer/FooterHelp.js +1 -1
- package/dist/components/Footer/FooterLinks.js +1 -1
- package/dist/components/Footer/YoutubeModal.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/components/InputGrouped/index.js +1 -1
- package/dist/components/InputSolo/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Logo/index.js +1 -1
- package/dist/components/Modal/ModalContactFooter.js +2 -2
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/NewsletterSignup/index.js +1 -1
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +1 -1
- package/dist/components/RoadmapDetails/index.js +1 -1
- package/dist/components/Search/index.js +1 -1
- package/dist/components/SearchDropdown/index.js +2 -0
- package/dist/create-element-CWTzyETe.js +217 -0
- package/dist/css-FhcewZZo.js +61 -0
- package/dist/{esm-CDDjSK4f.js → esm-VMwHsplm.js} +26 -12
- package/dist/highsoft-ui.css +1 -1
- package/dist/json-Bfzk2Msc.js +32 -0
- package/dist/jsx-B57trbk8.js +5 -0
- package/dist/jsx-hpSEtOci.js +182 -0
- package/dist/lib/components/CodeBlock/index.d.ts +7 -1
- package/dist/lib/components/InputSolo/index.d.ts +11 -0
- package/dist/lib/components/Logo/index.d.ts +6 -1
- package/dist/lib/components/SearchDropdown/index.d.ts +69 -0
- package/dist/lib/main.d.ts +3 -1
- package/dist/main.js +29 -28
- package/dist/markup-BC51nDBv.js +5 -0
- package/dist/markup-BhBs-nbv.js +128 -0
- package/dist/prism-light-B3yrtgki.js +1954 -0
- package/dist/python-Bt2XI9DF.js +66 -0
- package/dist/tsx-CJFgwLf7.js +54 -0
- package/package.json +13 -2
- package/dist/CodeBlock-DtYddgyU.js +0 -3044
- package/dist/InputSolo-2RPRX0wM.js +0 -123
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, i as t, n, o as r, r as i, t as a } from "./chunk-jwUa06l-.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as v } from "./Button-
|
|
2
|
+
import { A as o, B as s, D as c, G as l, H as u, N as d, U as f, _ as p, h as m, l as h, m as g, u as _ } from "./esm-VMwHsplm.js";
|
|
3
|
+
import { t as v } from "./Button-awCDIEXQ.js";
|
|
4
4
|
import { d as y, h as b, l as x, m as S, p as C, u as w } from "./es2015-DWa0ZZ7A.js";
|
|
5
5
|
import { t as ee } from "./dist-J9cXmrDi.js";
|
|
6
6
|
import { i as T, n as E, r as D, t as O } from "./dist-CE9LFbij.js";
|
|
@@ -4501,13 +4501,13 @@ function Wt() {
|
|
|
4501
4501
|
}, le = (e) => {
|
|
4502
4502
|
n(e.target.value);
|
|
4503
4503
|
}, ue = {
|
|
4504
|
-
products: /* @__PURE__ */ F(
|
|
4505
|
-
demo: /* @__PURE__ */ F(
|
|
4506
|
-
docs: /* @__PURE__ */ F(
|
|
4507
|
-
blog: /* @__PURE__ */ F(
|
|
4508
|
-
misc: /* @__PURE__ */ F(
|
|
4509
|
-
shop: /* @__PURE__ */ F(
|
|
4510
|
-
file: /* @__PURE__ */ F(
|
|
4504
|
+
products: /* @__PURE__ */ F(_, {}),
|
|
4505
|
+
demo: /* @__PURE__ */ F(p, {}),
|
|
4506
|
+
docs: /* @__PURE__ */ F(s, {}),
|
|
4507
|
+
blog: /* @__PURE__ */ F(l, {}),
|
|
4508
|
+
misc: /* @__PURE__ */ F(c, {}),
|
|
4509
|
+
shop: /* @__PURE__ */ F(h, {}),
|
|
4510
|
+
file: /* @__PURE__ */ F(o, {})
|
|
4511
4511
|
};
|
|
4512
4512
|
return /* @__PURE__ */ I(ie, {
|
|
4513
4513
|
open: a,
|
|
@@ -4517,7 +4517,7 @@ function Wt() {
|
|
|
4517
4517
|
children: /* @__PURE__ */ F(v, {
|
|
4518
4518
|
variant: "transparent",
|
|
4519
4519
|
"aria-label": "Search",
|
|
4520
|
-
children: /* @__PURE__ */ F(
|
|
4520
|
+
children: /* @__PURE__ */ F(g, {})
|
|
4521
4521
|
})
|
|
4522
4522
|
}), /* @__PURE__ */ I(k, { children: [/* @__PURE__ */ F(A, { className: Z.overlay }), /* @__PURE__ */ I(ne, {
|
|
4523
4523
|
className: Z.search,
|
|
@@ -4601,14 +4601,14 @@ function Wt() {
|
|
|
4601
4601
|
className: Z.bottomGroup,
|
|
4602
4602
|
children: [/* @__PURE__ */ I("div", {
|
|
4603
4603
|
className: Z.bottomIcons,
|
|
4604
|
-
children: [/* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(
|
|
4604
|
+
children: [/* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(f, {}) }), /* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(u, {}) })]
|
|
4605
4605
|
}), "Navigate"]
|
|
4606
4606
|
}),
|
|
4607
4607
|
/* @__PURE__ */ I("div", {
|
|
4608
4608
|
className: Z.bottomGroup,
|
|
4609
4609
|
children: [/* @__PURE__ */ F("div", {
|
|
4610
4610
|
className: Z.bottomIcons,
|
|
4611
|
-
children: /* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(
|
|
4611
|
+
children: /* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(d, {}) })
|
|
4612
4612
|
}), "Select"]
|
|
4613
4613
|
}),
|
|
4614
4614
|
/* @__PURE__ */ I("div", {
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
+
import { p as t } from "./esm-VMwHsplm.js";
|
|
3
|
+
import { t as n } from "./Icon-VeXJMj8Q.js";
|
|
4
|
+
import { t as r } from "./InputSolo-DUdKtZjX.js";
|
|
5
|
+
import { useCallback as i, useEffect as a, useId as o, useMemo as s, useRef as c, useState as l } from "react";
|
|
6
|
+
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
7
|
+
var p = {
|
|
8
|
+
active: "KduBBq_active",
|
|
9
|
+
disabled: "KduBBq_disabled",
|
|
10
|
+
empty: "KduBBq_empty",
|
|
11
|
+
"hsui-search-dropdown-in": "KduBBq_hsui-search-dropdown-in",
|
|
12
|
+
kind: "KduBBq_kind",
|
|
13
|
+
list: "KduBBq_list",
|
|
14
|
+
mark: "KduBBq_mark",
|
|
15
|
+
mono: "KduBBq_mono",
|
|
16
|
+
option: "KduBBq_option",
|
|
17
|
+
optionIcon: "KduBBq_optionIcon",
|
|
18
|
+
optionLabel: "KduBBq_optionLabel",
|
|
19
|
+
popover: "KduBBq_popover",
|
|
20
|
+
root: "KduBBq_root"
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region lib/components/SearchDropdown/index.tsx
|
|
24
|
+
function m(e, t, n) {
|
|
25
|
+
let r = t.trim();
|
|
26
|
+
if (!r) return e;
|
|
27
|
+
let i = e.toLowerCase().indexOf(r.toLowerCase(), n);
|
|
28
|
+
return i < 0 ? e : /* @__PURE__ */ f(u, { children: [
|
|
29
|
+
e.slice(0, i),
|
|
30
|
+
/* @__PURE__ */ d("mark", {
|
|
31
|
+
className: p.mark,
|
|
32
|
+
children: e.slice(i, i + r.length)
|
|
33
|
+
}),
|
|
34
|
+
e.slice(i + r.length)
|
|
35
|
+
] });
|
|
36
|
+
}
|
|
37
|
+
function h({ items: u, value: h, defaultValue: g, onQueryChange: _, onSelect: v, filter: y = !0, placeholder: b, label: x, "aria-label": S, size: C = 200, variant: w, iconLeft: T, mono: E = !1, minChars: D = 1, emptyState: O = "No results", maxHeight: k = 320, className: A }) {
|
|
38
|
+
let j = o(), M = `${j}-listbox`, N = h !== void 0, [P, F] = l(g ?? ""), I = N ? h : P, [L, R] = l(!1), [z, B] = l(0), V = c(null), H = c(null), U = c([]), W = I.trim(), G = W.length >= D, K = s(() => {
|
|
39
|
+
if (!G) return [];
|
|
40
|
+
if (y === !1) return u;
|
|
41
|
+
if (typeof y == "function") return u.filter((e) => y(e, W));
|
|
42
|
+
let e = W.toLowerCase();
|
|
43
|
+
return u.filter((t) => t.label.toLowerCase().includes(e));
|
|
44
|
+
}, [
|
|
45
|
+
u,
|
|
46
|
+
y,
|
|
47
|
+
W,
|
|
48
|
+
G
|
|
49
|
+
]), q = K.length ? Math.min(z, K.length - 1) : 0, J = L && G && (K.length > 0 || O != null);
|
|
50
|
+
a(() => {
|
|
51
|
+
function e(e) {
|
|
52
|
+
V.current && !V.current.contains(e.target) && R(!1);
|
|
53
|
+
}
|
|
54
|
+
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
55
|
+
}, []), a(() => {
|
|
56
|
+
J && U.current[q]?.scrollIntoView({ block: "nearest" });
|
|
57
|
+
}, [q, J]);
|
|
58
|
+
let Y = i((e) => {
|
|
59
|
+
e.disabled || (R(!1), v?.(e));
|
|
60
|
+
}, [v]), X = i((e) => {
|
|
61
|
+
let t = e.target.value;
|
|
62
|
+
N || F(t), B(0), R(t.trim().length >= D), _?.(t);
|
|
63
|
+
}, [
|
|
64
|
+
N,
|
|
65
|
+
D,
|
|
66
|
+
_
|
|
67
|
+
]), Z = i(() => {
|
|
68
|
+
G && R(!0);
|
|
69
|
+
}, [G]), Q = i((e) => {
|
|
70
|
+
if (!J) {
|
|
71
|
+
e.key === "ArrowDown" && K.length && (e.preventDefault(), R(!0));
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
switch (e.key) {
|
|
75
|
+
case "ArrowDown":
|
|
76
|
+
e.preventDefault(), B((e) => Math.min(e + 1, K.length - 1));
|
|
77
|
+
break;
|
|
78
|
+
case "ArrowUp":
|
|
79
|
+
e.preventDefault(), B((e) => Math.max(e - 1, 0));
|
|
80
|
+
break;
|
|
81
|
+
case "Home":
|
|
82
|
+
e.preventDefault(), B(0);
|
|
83
|
+
break;
|
|
84
|
+
case "End":
|
|
85
|
+
e.preventDefault(), B(K.length - 1);
|
|
86
|
+
break;
|
|
87
|
+
case "Enter": {
|
|
88
|
+
let t = K[q];
|
|
89
|
+
t && (e.preventDefault(), Y(t));
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
case "Escape":
|
|
93
|
+
e.preventDefault(), R(!1);
|
|
94
|
+
break;
|
|
95
|
+
default: break;
|
|
96
|
+
}
|
|
97
|
+
}, [
|
|
98
|
+
J,
|
|
99
|
+
K,
|
|
100
|
+
q,
|
|
101
|
+
Y
|
|
102
|
+
]), $ = S ?? x ?? b, ee = typeof k == "number" ? `${k}px` : k;
|
|
103
|
+
return /* @__PURE__ */ f("div", {
|
|
104
|
+
className: e("hsui-search-dropdown", p.root, A),
|
|
105
|
+
ref: V,
|
|
106
|
+
children: [/* @__PURE__ */ d(r, {
|
|
107
|
+
size: C,
|
|
108
|
+
variant: w,
|
|
109
|
+
label: x,
|
|
110
|
+
placeholder: b,
|
|
111
|
+
iconLeft: T ?? /* @__PURE__ */ d(n, {
|
|
112
|
+
name: t,
|
|
113
|
+
size: 16
|
|
114
|
+
}),
|
|
115
|
+
value: I,
|
|
116
|
+
onChange: X,
|
|
117
|
+
onFocus: Z,
|
|
118
|
+
onKeyDown: Q,
|
|
119
|
+
role: "combobox",
|
|
120
|
+
"aria-expanded": J,
|
|
121
|
+
"aria-controls": J ? M : void 0,
|
|
122
|
+
"aria-activedescendant": J && K.length ? `${j}-opt-${q}` : void 0,
|
|
123
|
+
"aria-autocomplete": "list",
|
|
124
|
+
"aria-label": $,
|
|
125
|
+
autoComplete: "off",
|
|
126
|
+
spellCheck: !1
|
|
127
|
+
}), J && /* @__PURE__ */ d("div", {
|
|
128
|
+
className: p.popover,
|
|
129
|
+
children: K.length > 0 ? /* @__PURE__ */ d("ul", {
|
|
130
|
+
ref: H,
|
|
131
|
+
id: M,
|
|
132
|
+
role: "listbox",
|
|
133
|
+
"aria-label": $,
|
|
134
|
+
className: p.list,
|
|
135
|
+
style: { maxHeight: ee },
|
|
136
|
+
children: K.map((t, n) => /* @__PURE__ */ f("li", {
|
|
137
|
+
id: `${j}-opt-${n}`,
|
|
138
|
+
ref: (e) => {
|
|
139
|
+
U.current[n] = e;
|
|
140
|
+
},
|
|
141
|
+
role: "option",
|
|
142
|
+
"aria-selected": n === q,
|
|
143
|
+
"aria-disabled": t.disabled || void 0,
|
|
144
|
+
className: e(p.option, {
|
|
145
|
+
[p.active]: n === q,
|
|
146
|
+
[p.disabled]: t.disabled
|
|
147
|
+
}),
|
|
148
|
+
onMouseEnter: () => B(n),
|
|
149
|
+
onMouseDown: (e) => {
|
|
150
|
+
e.preventDefault(), Y(t);
|
|
151
|
+
},
|
|
152
|
+
children: [
|
|
153
|
+
t.iconLeft && /* @__PURE__ */ d("span", {
|
|
154
|
+
className: p.optionIcon,
|
|
155
|
+
children: t.iconLeft
|
|
156
|
+
}),
|
|
157
|
+
/* @__PURE__ */ d("span", {
|
|
158
|
+
className: e(p.optionLabel, { [p.mono]: E }),
|
|
159
|
+
children: m(t.label, W, t.highlightFrom ?? 0)
|
|
160
|
+
}),
|
|
161
|
+
t.kind != null && /* @__PURE__ */ d("span", {
|
|
162
|
+
className: p.kind,
|
|
163
|
+
children: t.kind
|
|
164
|
+
})
|
|
165
|
+
]
|
|
166
|
+
}, t.id))
|
|
167
|
+
}) : /* @__PURE__ */ d("div", {
|
|
168
|
+
className: p.empty,
|
|
169
|
+
children: O
|
|
170
|
+
})
|
|
171
|
+
})]
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
h.displayName = "SearchDropdown";
|
|
175
|
+
//#endregion
|
|
176
|
+
export { h as t };
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
e.displayName = "bash", e.aliases = ["sh", "shell"];
|
|
2
|
+
function e(e) {
|
|
3
|
+
(function(e) {
|
|
4
|
+
var t = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", n = {
|
|
5
|
+
pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
|
|
6
|
+
lookbehind: !0,
|
|
7
|
+
alias: "punctuation",
|
|
8
|
+
inside: null
|
|
9
|
+
}, r = {
|
|
10
|
+
bash: n,
|
|
11
|
+
environment: {
|
|
12
|
+
pattern: RegExp("\\$" + t),
|
|
13
|
+
alias: "constant"
|
|
14
|
+
},
|
|
15
|
+
variable: [
|
|
16
|
+
{
|
|
17
|
+
pattern: /\$?\(\([\s\S]+?\)\)/,
|
|
18
|
+
greedy: !0,
|
|
19
|
+
inside: {
|
|
20
|
+
variable: [{
|
|
21
|
+
pattern: /(^\$\(\([\s\S]+)\)\)/,
|
|
22
|
+
lookbehind: !0
|
|
23
|
+
}, /^\$\(\(/],
|
|
24
|
+
number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
|
|
25
|
+
operator: /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
|
|
26
|
+
punctuation: /\(\(?|\)\)?|,|;/
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
|
|
31
|
+
greedy: !0,
|
|
32
|
+
inside: { variable: /^\$\(|^`|\)$|`$/ }
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
pattern: /\$\{[^}]+\}/,
|
|
36
|
+
greedy: !0,
|
|
37
|
+
inside: {
|
|
38
|
+
operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
|
|
39
|
+
punctuation: /[\[\]]/,
|
|
40
|
+
environment: {
|
|
41
|
+
pattern: RegExp("(\\{)" + t),
|
|
42
|
+
lookbehind: !0,
|
|
43
|
+
alias: "constant"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
/\$(?:\w+|[#?*!@$])/
|
|
48
|
+
],
|
|
49
|
+
entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
|
|
50
|
+
};
|
|
51
|
+
e.languages.bash = {
|
|
52
|
+
shebang: {
|
|
53
|
+
pattern: /^#!\s*\/.*/,
|
|
54
|
+
alias: "important"
|
|
55
|
+
},
|
|
56
|
+
comment: {
|
|
57
|
+
pattern: /(^|[^"{\\$])#.*/,
|
|
58
|
+
lookbehind: !0
|
|
59
|
+
},
|
|
60
|
+
"function-name": [{
|
|
61
|
+
pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
|
|
62
|
+
lookbehind: !0,
|
|
63
|
+
alias: "function"
|
|
64
|
+
}, {
|
|
65
|
+
pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
|
|
66
|
+
alias: "function"
|
|
67
|
+
}],
|
|
68
|
+
"for-or-select": {
|
|
69
|
+
pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
|
|
70
|
+
alias: "variable",
|
|
71
|
+
lookbehind: !0
|
|
72
|
+
},
|
|
73
|
+
"assign-left": {
|
|
74
|
+
pattern: /(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,
|
|
75
|
+
inside: { environment: {
|
|
76
|
+
pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + t),
|
|
77
|
+
lookbehind: !0,
|
|
78
|
+
alias: "constant"
|
|
79
|
+
} },
|
|
80
|
+
alias: "variable",
|
|
81
|
+
lookbehind: !0
|
|
82
|
+
},
|
|
83
|
+
parameter: {
|
|
84
|
+
pattern: /(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,
|
|
85
|
+
alias: "variable",
|
|
86
|
+
lookbehind: !0
|
|
87
|
+
},
|
|
88
|
+
string: [
|
|
89
|
+
{
|
|
90
|
+
pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
|
|
91
|
+
lookbehind: !0,
|
|
92
|
+
greedy: !0,
|
|
93
|
+
inside: r
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
|
|
97
|
+
lookbehind: !0,
|
|
98
|
+
greedy: !0,
|
|
99
|
+
inside: { bash: n }
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
|
|
103
|
+
lookbehind: !0,
|
|
104
|
+
greedy: !0,
|
|
105
|
+
inside: r
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
pattern: /(^|[^$\\])'[^']*'/,
|
|
109
|
+
lookbehind: !0,
|
|
110
|
+
greedy: !0
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
|
|
114
|
+
greedy: !0,
|
|
115
|
+
inside: { entity: r.entity }
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
environment: {
|
|
119
|
+
pattern: RegExp("\\$?" + t),
|
|
120
|
+
alias: "constant"
|
|
121
|
+
},
|
|
122
|
+
variable: r.variable,
|
|
123
|
+
function: {
|
|
124
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
|
|
125
|
+
lookbehind: !0
|
|
126
|
+
},
|
|
127
|
+
keyword: {
|
|
128
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
|
|
129
|
+
lookbehind: !0
|
|
130
|
+
},
|
|
131
|
+
builtin: {
|
|
132
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
|
|
133
|
+
lookbehind: !0,
|
|
134
|
+
alias: "class-name"
|
|
135
|
+
},
|
|
136
|
+
boolean: {
|
|
137
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
|
|
138
|
+
lookbehind: !0
|
|
139
|
+
},
|
|
140
|
+
"file-descriptor": {
|
|
141
|
+
pattern: /\B&\d\b/,
|
|
142
|
+
alias: "important"
|
|
143
|
+
},
|
|
144
|
+
operator: {
|
|
145
|
+
pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
|
|
146
|
+
inside: { "file-descriptor": {
|
|
147
|
+
pattern: /^\d/,
|
|
148
|
+
alias: "important"
|
|
149
|
+
} }
|
|
150
|
+
},
|
|
151
|
+
punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
|
|
152
|
+
number: {
|
|
153
|
+
pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
|
|
154
|
+
lookbehind: !0
|
|
155
|
+
}
|
|
156
|
+
}, n.inside = e.languages.bash;
|
|
157
|
+
for (var i = [
|
|
158
|
+
"comment",
|
|
159
|
+
"function-name",
|
|
160
|
+
"for-or-select",
|
|
161
|
+
"assign-left",
|
|
162
|
+
"parameter",
|
|
163
|
+
"string",
|
|
164
|
+
"environment",
|
|
165
|
+
"function",
|
|
166
|
+
"keyword",
|
|
167
|
+
"builtin",
|
|
168
|
+
"boolean",
|
|
169
|
+
"file-descriptor",
|
|
170
|
+
"operator",
|
|
171
|
+
"punctuation",
|
|
172
|
+
"number"
|
|
173
|
+
], a = r.variable[1].inside, o = 0; o < i.length; o++) a[i[o]] = e.languages.bash[i[o]];
|
|
174
|
+
e.languages.sh = e.languages.bash, e.languages.shell = e.languages.bash;
|
|
175
|
+
})(e);
|
|
176
|
+
}
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js
|
|
179
|
+
var t = e;
|
|
180
|
+
//#endregion
|
|
181
|
+
export { t as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Button-
|
|
1
|
+
import { t as e } from "../../Button-awCDIEXQ.js";
|
|
2
2
|
export { e as Button };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../ButtonGroup-
|
|
1
|
+
import { t as e } from "../../ButtonGroup-Cwn0djAz.js";
|
|
2
2
|
export { e as ButtonGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Checkbox-
|
|
1
|
+
import { n as e, t } from "../../Checkbox-CrF45NBl.js";
|
|
2
2
|
export { t as Checkbox, e as CheckboxGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../CodeBlock-
|
|
1
|
+
import { t as e } from "../../CodeBlock-BIdeK3gz.js";
|
|
2
2
|
export { e as CodeBlock };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../CopyCode-
|
|
1
|
+
import { t as e } from "../../CopyCode-QiPNPCQN.js";
|
|
2
2
|
export { e as CopyCode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../Dropdown-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../Dropdown-0Vn7yro7.js";
|
|
2
2
|
export { n as Dropdown, e as DropdownItem, t as DropdownSeparator };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../CookiePolicyModal-
|
|
1
|
+
import { t as e } from "../../CookiePolicyModal-CTA02JGV.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../FooterBottom-
|
|
1
|
+
import { t as e } from "../../FooterBottom-CF5ctutk.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../FooterHelp-
|
|
1
|
+
import { t as e } from "../../FooterHelp-BthIJ2ye.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../FooterLinks-
|
|
1
|
+
import { t as e } from "../../FooterLinks-BBOOTdRf.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../YoutubeModal-
|
|
1
|
+
import { t as e } from "../../YoutubeModal-CZgbaRB6.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Footer-
|
|
1
|
+
import { t as e } from "../../Footer-BlCmsIDd.js";
|
|
2
2
|
export { e as Footer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Header-
|
|
1
|
+
import { n as e, t } from "../../Header-DY4mJxHm.js";
|
|
2
2
|
export { t as Header, e as SubHeader };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../../InputGrouped-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../../InputGrouped-DyxraUpb.js";
|
|
2
2
|
export { r as FormGroup, t as FormRow, n as InputGrouped, e as SelectGrouped };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../InputSolo-
|
|
1
|
+
import { t as e } from "../../InputSolo-DUdKtZjX.js";
|
|
2
2
|
export { e as InputSolo };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Label-
|
|
1
|
+
import { n as e, t } from "../../Label-DdXaM1Bo.js";
|
|
2
2
|
export { t as Label, e as NewTag };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Logo-
|
|
1
|
+
import { t as e } from "../../Logo-Bz0G2G-k.js";
|
|
2
2
|
export { e as Logo };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "../../Button-
|
|
1
|
+
import { S as e } from "../../esm-VMwHsplm.js";
|
|
2
|
+
import { t } from "../../Button-awCDIEXQ.js";
|
|
3
3
|
import { t as n } from "../../Typography-AvvBRu-u.js";
|
|
4
4
|
import { t as r } from "../../styles.module-BDcr8Smc.js";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../../clsx-BWCAbrjV.js";
|
|
2
|
-
import { t } from "../../esm-
|
|
3
|
-
import { t as n } from "../../Button-
|
|
2
|
+
import { t } from "../../esm-VMwHsplm.js";
|
|
3
|
+
import { t as n } from "../../Button-awCDIEXQ.js";
|
|
4
4
|
import { t as r } from "../../Typography-AvvBRu-u.js";
|
|
5
5
|
import { t as i } from "../../styles.module-BDcr8Smc.js";
|
|
6
6
|
import { useEffect as a, useRef as o } from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../NewsletterSignup-
|
|
1
|
+
import { t as e } from "../../NewsletterSignup-BMRnrbw8.js";
|
|
2
2
|
export { e as NewsletterSignup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Notification-
|
|
1
|
+
import { t as e } from "../../Notification-DM31Uzfz.js";
|
|
2
2
|
export { e as Notification };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../PrefPanel-
|
|
1
|
+
import { n as e, t } from "../../PrefPanel-DDD8R_-o.js";
|
|
2
2
|
export { t as PrefPanel, e as PrefRadio };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../RoadmapDetails-
|
|
1
|
+
import { t as e } from "../../RoadmapDetails-DsLtsnqg.js";
|
|
2
2
|
export { e as RoadmapDetails };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Search-
|
|
1
|
+
import { t as e } from "../../Search-CDOpNByw.js";
|
|
2
2
|
export { e as Search };
|