eidotter 0.45.1 → 0.46.0
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 +4 -4
- package/dist/components/Alert/components/Alert.js +1 -1
- package/dist/components/Badge/components/Badge.js +5 -5
- package/dist/components/Button/components/Button.js +8 -8
- package/dist/components/Chat/components/ChatHistory.js +1 -1
- package/dist/components/Chat/components/ChatInput.js +1 -1
- package/dist/components/Chat/components/ChatMessage.js +1 -1
- package/dist/components/Checkbox/components/Checkbox.js +1 -1
- package/dist/components/ChecklistRow/components/ChecklistRow.js +1 -1
- package/dist/components/CopyButton/components/CopyButton.js +1 -1
- package/dist/components/DecayStrip/components/DecayStrip.js +3 -3
- package/dist/components/DisplayMenu/components/DisplayMenu.d.ts +1 -1
- package/dist/components/DisplayMenu/components/DisplayMenu.js +4 -4
- package/dist/components/EmptyState/components/EmptyState.js +1 -1
- package/dist/components/Gauge/components/Gauge.js +4 -4
- package/dist/components/Header/components/Header.d.ts +8 -4
- package/dist/components/Header/components/Header.js +1 -1
- package/dist/components/Header/components/HeaderContextRow.js +1 -1
- package/dist/components/HeaderButton/components/HeaderButton.d.ts +38 -0
- package/dist/components/HeaderButton/components/HeaderButton.js +25 -0
- package/dist/components/HeaderButton/components/index.d.ts +2 -0
- package/dist/components/HeaderButton/components/index.js +1 -0
- package/dist/components/HeaderButton/index.d.ts +2 -0
- package/dist/components/HeaderButton/index.js +1 -0
- package/dist/components/LabeledProgress/components/LabeledProgress.js +1 -1
- package/dist/components/LedgerRow/components/LedgerRow.js +1 -1
- package/dist/components/Meter/components/Meter.js +3 -3
- package/dist/components/Notification/components/Notification.js +1 -1
- package/dist/components/PageShell/components/PageShell.d.ts +12 -6
- package/dist/components/PageShell/components/PageShell.js +7 -4
- package/dist/components/Progress/components/Progress.js +6 -5
- package/dist/components/RangeBar/components/RangeBar.js +3 -3
- package/dist/components/Select/components/Select.js +6 -6
- package/dist/components/SeriesBars/components/SeriesBars.js +3 -3
- package/dist/components/Stat/components/Stat.js +6 -6
- package/dist/components/Tag/components/Tag.js +5 -5
- package/dist/components/VitalsStrip/components/VitalsStrip.js +4 -4
- package/dist/components/registry.js +17 -0
- package/dist/eidotter.css +2 -2
- package/dist/index.d.ts +5 -1
- package/dist/index.es.js +416 -299
- package/dist/index.umd.js +1 -1
- package/dist/utils/displayTheme.d.ts +53 -0
- package/dist/utils/displayTheme.js +76 -0
- package/guidelines/README.md +8 -0
- package/llms.txt +3 -3
- package/migrations/0.45.0.md +9 -5
- package/migrations/0.46.0.md +120 -0
- package/migrations/README.md +2 -0
- package/package.json +1 -1
- package/src/styles/shadcn.css +1 -1
- package/src/styles/theme.amber-paper.css +3 -3
package/dist/index.es.js
CHANGED
|
@@ -11538,7 +11538,7 @@ var ch = a(({ color: e, size: t = "floating", type: n, title: r, children: i, ac
|
|
|
11538
11538
|
}] : []];
|
|
11539
11539
|
return /* @__PURE__ */ C("div", {
|
|
11540
11540
|
ref: l,
|
|
11541
|
-
className: $("relative w-full flex flex-col gap-4 p-4", "font-dos text-dos-text-
|
|
11541
|
+
className: $("relative w-full flex flex-col gap-4 p-4", "font-dos text-dos-text-base", "border border-dos-border-default", "eidotter-alert", `eidotter-alert--${u}`, d === "floating" && "max-w-[1216px]", d === "full-width" && "eidotter-alert--full-width max-w-none", f && "eidotter-alert--closing", c),
|
|
11542
11542
|
onAnimationEnd: m,
|
|
11543
11543
|
role: "alert",
|
|
11544
11544
|
"data-color": u,
|
|
@@ -11629,14 +11629,14 @@ var lh = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
|
|
|
11629
11629
|
}, n))
|
|
11630
11630
|
});
|
|
11631
11631
|
}, dh = {
|
|
11632
|
-
xs: "text-dos-text-
|
|
11633
|
-
sm: "text-dos-text-
|
|
11634
|
-
md: "text-dos-text-
|
|
11635
|
-
lg: "text-dos-text-
|
|
11636
|
-
xl: "text-dos-text-
|
|
11637
|
-
small: "text-dos-text-
|
|
11638
|
-
medium: "text-dos-text-
|
|
11639
|
-
large: "text-dos-text-
|
|
11632
|
+
xs: "text-dos-text-base px-2 py-1 min-h-6 gap-1",
|
|
11633
|
+
sm: "text-dos-text-base px-2.5 py-1 min-h-7 gap-1",
|
|
11634
|
+
md: "text-dos-text-base px-3 py-2 min-h-8 gap-1.5",
|
|
11635
|
+
lg: "text-dos-text-base px-4 py-2.5 min-h-10 gap-2",
|
|
11636
|
+
xl: "text-dos-text-base px-5 py-3 min-h-11 gap-2",
|
|
11637
|
+
small: "text-dos-text-base px-2.5 py-1 min-h-7 gap-1",
|
|
11638
|
+
medium: "text-dos-text-base px-3 py-2 min-h-8 gap-1.5",
|
|
11639
|
+
large: "text-dos-text-base px-4 py-2.5 min-h-10 gap-2"
|
|
11640
11640
|
}, fh = {
|
|
11641
11641
|
primary: "eidotter-btn--primary",
|
|
11642
11642
|
secondary: "eidotter-btn--secondary",
|
|
@@ -11742,7 +11742,7 @@ var _h = a(({ checked: e, defaultChecked: t, onChange: n, indeterminate: r = !1,
|
|
|
11742
11742
|
name: s,
|
|
11743
11743
|
value: c,
|
|
11744
11744
|
"aria-label": u || i,
|
|
11745
|
-
className: $("inline-flex items-center gap-2 cursor-pointer select-none group", "font-dos",
|
|
11745
|
+
className: $("inline-flex items-center gap-2 cursor-pointer select-none group", "font-dos", "text-dos-text-base", "eidotter-checkbox", a && "opacity-60 cursor-not-allowed", l),
|
|
11746
11746
|
"data-size": o,
|
|
11747
11747
|
...d,
|
|
11748
11748
|
children: ({ isSelected: e, isIndeterminate: t }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("span", {
|
|
@@ -11796,11 +11796,11 @@ var vh = ({ prompt: e = "C:\\>", onCommand: t, autoFocus: n = !1, className: r =
|
|
|
11796
11796
|
});
|
|
11797
11797
|
}, yh = "█", bh = "░", xh = "▓", Sh = "▒", Ch = {
|
|
11798
11798
|
sm: "text-dos-text-base",
|
|
11799
|
-
md: "text-dos-text-
|
|
11800
|
-
lg: "text-dos-text-
|
|
11799
|
+
md: "text-dos-text-base",
|
|
11800
|
+
lg: "text-dos-text-base",
|
|
11801
11801
|
small: "text-dos-text-base",
|
|
11802
|
-
medium: "text-dos-text-
|
|
11803
|
-
large: "text-dos-text-
|
|
11802
|
+
medium: "text-dos-text-base",
|
|
11803
|
+
large: "text-dos-text-base"
|
|
11804
11804
|
}, wh = {
|
|
11805
11805
|
default: "eidotter-progress--default",
|
|
11806
11806
|
success: "eidotter-progress--success",
|
|
@@ -12081,9 +12081,9 @@ function qh(e, t, n) {
|
|
|
12081
12081
|
}
|
|
12082
12082
|
// src/components/Gauge/components/Gauge.tsx
|
|
12083
12083
|
var Jh = {
|
|
12084
|
-
sm: "eidotter-gauge--sm text-dos-text-
|
|
12085
|
-
md: "eidotter-gauge--md text-dos-text-
|
|
12086
|
-
lg: "eidotter-gauge--lg text-dos-text-
|
|
12084
|
+
sm: "eidotter-gauge--sm text-dos-text-base",
|
|
12085
|
+
md: "eidotter-gauge--md text-dos-text-base",
|
|
12086
|
+
lg: "eidotter-gauge--lg text-dos-text-base"
|
|
12087
12087
|
}, Yh = {
|
|
12088
12088
|
sm: "text-dos-text-sm",
|
|
12089
12089
|
md: "text-dos-display-xs",
|
|
@@ -12120,7 +12120,7 @@ var Qh = {
|
|
|
12120
12120
|
locale: d,
|
|
12121
12121
|
percent: !0
|
|
12122
12122
|
}).text, k = c === "stale" && !b, A = [b || y ? v.unknown : O, k && v.stale].filter(Boolean).join(", "), j = `${h ?? e}: ${A}`, M = o in Xh ? o : "md", N = Xh[M], P = Math.round(N / 8), F = M === "sm", [I, L] = Zh(a ?? ""), R = a && !b && !y ? /* @__PURE__ */ C("span", {
|
|
12123
|
-
className: "eidotter-gauge__secondary text-dos-text-brand text-dos-text-
|
|
12123
|
+
className: "eidotter-gauge__secondary text-dos-text-brand text-dos-text-base tabular-nums leading-none",
|
|
12124
12124
|
children: [/* @__PURE__ */ S("span", {
|
|
12125
12125
|
className: "eidotter-gauge__secondary-head",
|
|
12126
12126
|
children: I
|
|
@@ -12221,9 +12221,9 @@ var ng = {
|
|
|
12221
12221
|
vertical: "eidotter-meter--vertical flex-col items-center gap-1",
|
|
12222
12222
|
horizontal: "eidotter-meter--horizontal flex-row items-center gap-2"
|
|
12223
12223
|
}, rg = {
|
|
12224
|
-
xs: "eidotter-meter--xs text-dos-text-
|
|
12225
|
-
sm: "eidotter-meter--sm text-dos-text-
|
|
12226
|
-
md: "eidotter-meter--md text-dos-text-
|
|
12224
|
+
xs: "eidotter-meter--xs text-dos-text-base",
|
|
12225
|
+
sm: "eidotter-meter--sm text-dos-text-base",
|
|
12226
|
+
md: "eidotter-meter--md text-dos-text-base"
|
|
12227
12227
|
}, ig = {
|
|
12228
12228
|
neutral: "eidotter-tone--neutral",
|
|
12229
12229
|
info: "eidotter-tone--info",
|
|
@@ -12347,11 +12347,11 @@ var dg = {
|
|
|
12347
12347
|
role: "status",
|
|
12348
12348
|
children: [
|
|
12349
12349
|
/* @__PURE__ */ S("p", {
|
|
12350
|
-
className: $("font-dos text-dos-text-
|
|
12350
|
+
className: $("font-dos text-dos-text-base", dg[n]),
|
|
12351
12351
|
children: e
|
|
12352
12352
|
}),
|
|
12353
12353
|
t && /* @__PURE__ */ S("p", {
|
|
12354
|
-
className: "font-dos text-dos-text-
|
|
12354
|
+
className: "font-dos text-dos-text-base text-dos-text-muted",
|
|
12355
12355
|
children: t
|
|
12356
12356
|
}),
|
|
12357
12357
|
r && /* @__PURE__ */ S("div", {
|
|
@@ -12393,9 +12393,9 @@ var hg = {
|
|
|
12393
12393
|
vertical: "eidotter-range-bar--vertical",
|
|
12394
12394
|
horizontal: "eidotter-range-bar--horizontal"
|
|
12395
12395
|
}, gg = {
|
|
12396
|
-
sm: "eidotter-range-bar--sm text-dos-text-
|
|
12397
|
-
md: "eidotter-range-bar--md text-dos-text-
|
|
12398
|
-
lg: "eidotter-range-bar--lg text-dos-text-
|
|
12396
|
+
sm: "eidotter-range-bar--sm text-dos-text-base",
|
|
12397
|
+
md: "eidotter-range-bar--md text-dos-text-base",
|
|
12398
|
+
lg: "eidotter-range-bar--lg text-dos-text-base"
|
|
12399
12399
|
}, _g = {
|
|
12400
12400
|
"vertical-sm": "w-[1rem] h-[8rem]",
|
|
12401
12401
|
"vertical-md": "w-[1.5rem] h-[12rem]",
|
|
@@ -12524,9 +12524,9 @@ var hg = {
|
|
|
12524
12524
|
Tg.displayName = "RangeBar";
|
|
12525
12525
|
// src/components/SeriesBars/components/SeriesBars.tsx
|
|
12526
12526
|
var Eg = {
|
|
12527
|
-
sm: "eidotter-series-bars--sm text-dos-text-
|
|
12528
|
-
md: "eidotter-series-bars--md text-dos-text-
|
|
12529
|
-
lg: "eidotter-series-bars--lg text-dos-text-
|
|
12527
|
+
sm: "eidotter-series-bars--sm text-dos-text-base",
|
|
12528
|
+
md: "eidotter-series-bars--md text-dos-text-base",
|
|
12529
|
+
lg: "eidotter-series-bars--lg text-dos-text-base"
|
|
12530
12530
|
}, Dg = {
|
|
12531
12531
|
sm: "h-[6rem]",
|
|
12532
12532
|
md: "h-[10rem]",
|
|
@@ -12618,9 +12618,9 @@ var Eg = {
|
|
|
12618
12618
|
jg.displayName = "SeriesBars";
|
|
12619
12619
|
// src/components/VitalsStrip/components/VitalsStrip.tsx
|
|
12620
12620
|
var Mg = {
|
|
12621
|
-
sm: "eidotter-vitals-strip--sm gap-1 text-dos-text-
|
|
12622
|
-
md: "eidotter-vitals-strip--md gap-2 text-dos-text-
|
|
12623
|
-
lg: "eidotter-vitals-strip--lg gap-2 text-dos-text-
|
|
12621
|
+
sm: "eidotter-vitals-strip--sm gap-1 text-dos-text-base",
|
|
12622
|
+
md: "eidotter-vitals-strip--md gap-2 text-dos-text-base",
|
|
12623
|
+
lg: "eidotter-vitals-strip--lg gap-2 text-dos-text-base"
|
|
12624
12624
|
}, Ng = {
|
|
12625
12625
|
neutral: "eidotter-tone--neutral",
|
|
12626
12626
|
info: "eidotter-tone--info",
|
|
@@ -12686,7 +12686,7 @@ var Ig = a(({ tiles: e, size: t = "md", locale: n = "en", labels: r, className:
|
|
|
12686
12686
|
className: "opacity-60",
|
|
12687
12687
|
children: f
|
|
12688
12688
|
}) : p === null ? f : /* @__PURE__ */ S("span", {
|
|
12689
|
-
className: "eidotter-vitals-strip__state text-dos-text-
|
|
12689
|
+
className: "eidotter-vitals-strip__state text-dos-text-base",
|
|
12690
12690
|
children: p
|
|
12691
12691
|
})
|
|
12692
12692
|
}), f && e.unit && /* @__PURE__ */ C(x, { children: [" ", /* @__PURE__ */ S("span", {
|
|
@@ -12739,9 +12739,9 @@ function zg(e, t, n) {
|
|
|
12739
12739
|
}
|
|
12740
12740
|
// src/components/DecayStrip/components/DecayStrip.tsx
|
|
12741
12741
|
var Bg = {
|
|
12742
|
-
sm: "eidotter-decay-strip--sm text-dos-text-
|
|
12743
|
-
md: "eidotter-decay-strip--md text-dos-text-
|
|
12744
|
-
lg: "eidotter-decay-strip--lg text-dos-text-
|
|
12742
|
+
sm: "eidotter-decay-strip--sm text-dos-text-base",
|
|
12743
|
+
md: "eidotter-decay-strip--md text-dos-text-base",
|
|
12744
|
+
lg: "eidotter-decay-strip--lg text-dos-text-base"
|
|
12745
12745
|
}, Vg = {
|
|
12746
12746
|
neutral: "eidotter-tone--neutral",
|
|
12747
12747
|
info: "eidotter-tone--info",
|
|
@@ -13271,11 +13271,11 @@ var l_ = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
|
|
|
13271
13271
|
f_.displayName = "Tabs";
|
|
13272
13272
|
// src/components/Badge/components/Badge.tsx
|
|
13273
13273
|
var p_ = {
|
|
13274
|
-
sm: "text-dos-text-
|
|
13275
|
-
md: "text-dos-text-
|
|
13276
|
-
lg: "text-dos-text-
|
|
13277
|
-
small: "text-dos-text-
|
|
13278
|
-
medium: "text-dos-text-
|
|
13274
|
+
sm: "text-dos-text-base px-2 py-0.5 min-h-6 gap-1",
|
|
13275
|
+
md: "text-dos-text-base px-2.5 py-1 min-h-7 gap-1.5",
|
|
13276
|
+
lg: "text-dos-text-base px-3 py-1.5 min-h-8 gap-1.5",
|
|
13277
|
+
small: "text-dos-text-base px-2 py-0.5 min-h-6 gap-1",
|
|
13278
|
+
medium: "text-dos-text-base px-2.5 py-1 min-h-7 gap-1.5"
|
|
13279
13279
|
}, m_ = {
|
|
13280
13280
|
default: "eidotter-badge--default",
|
|
13281
13281
|
success: "eidotter-badge--success",
|
|
@@ -14402,11 +14402,11 @@ var wv = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
14402
14402
|
Tv.displayName = "MonthView";
|
|
14403
14403
|
// src/components/Tag/components/Tag.tsx
|
|
14404
14404
|
var Ev = {
|
|
14405
|
-
sm: "text-dos-text-
|
|
14406
|
-
md: "text-dos-text-
|
|
14407
|
-
lg: "text-dos-text-
|
|
14408
|
-
small: "text-dos-text-
|
|
14409
|
-
medium: "text-dos-text-
|
|
14405
|
+
sm: "text-dos-text-base px-2 py-0.5 min-h-6 gap-1",
|
|
14406
|
+
md: "text-dos-text-base px-2.5 py-1 min-h-7 gap-1.5",
|
|
14407
|
+
lg: "text-dos-text-base px-3 py-1.5 min-h-8 gap-1.5",
|
|
14408
|
+
small: "text-dos-text-base px-2 py-0.5 min-h-6 gap-1",
|
|
14409
|
+
medium: "text-dos-text-base px-2.5 py-1 min-h-7 gap-1.5"
|
|
14410
14410
|
}, Dv = ({ children: e, variant: t = "default", size: n = "md", color: r, selected: i = !1, closeable: a = !1, disabled: o = !1, onClick: s, onClose: c, className: l, "aria-label": u, ...d }) => {
|
|
14411
14411
|
let f = !!s && !o, { isClosing: p, triggerClose: m, handleAnimationEnd: h } = rh("eidotter-pop-out", c), g = (e) => {
|
|
14412
14412
|
o || ((e.key === "Enter" || e.key === " ") && s && (e.preventDefault(), s(e)), (e.key === "Delete" || e.key === "Backspace") && a && c && (e.preventDefault(), m()));
|
|
@@ -15332,31 +15332,49 @@ var Zv = (e) => i("svg", Object.assign({
|
|
|
15332
15332
|
height: "24",
|
|
15333
15333
|
fill: "currentColor",
|
|
15334
15334
|
xmlns: "http://www.w3.org/2000/svg"
|
|
15335
|
-
}, e), i("path", { d: "M4 2h16v2H4zm0 14h16v2H4zM2 4h2v12H2zm18 0h2v12h-2zm-9 14h2v2h-2zm-3 2h8v2H8z" })), Qv = a(({
|
|
15335
|
+
}, e), i("path", { d: "M4 2h16v2H4zm0 14h16v2H4zM2 4h2v12H2zm18 0h2v12h-2zm-9 14h2v2h-2zm-3 2h8v2H8z" })), Qv = a(({ icon: e, children: t, labelDisplay: n = "label", chevron: r = !1, className: i, "aria-label": a, ...o }, s) => {
|
|
15336
|
+
let c = t != null && t !== !1 && t !== "", l = a ?? (typeof t == "string" ? t : void 0);
|
|
15337
|
+
return /* @__PURE__ */ C(Wi, {
|
|
15338
|
+
ref: s,
|
|
15339
|
+
"aria-label": l,
|
|
15340
|
+
className: $("eidotter-header-button", `eidotter-header-button--${n}`, !e && "eidotter-header-button--text-only", i),
|
|
15341
|
+
...o,
|
|
15342
|
+
children: [
|
|
15343
|
+
e && /* @__PURE__ */ S("span", {
|
|
15344
|
+
className: "eidotter-header-button__icon",
|
|
15345
|
+
"aria-hidden": "true",
|
|
15346
|
+
children: e
|
|
15347
|
+
}),
|
|
15348
|
+
c && /* @__PURE__ */ S("span", {
|
|
15349
|
+
className: "eidotter-header-button__label",
|
|
15350
|
+
"aria-hidden": l ? !0 : void 0,
|
|
15351
|
+
children: t
|
|
15352
|
+
}),
|
|
15353
|
+
r && /* @__PURE__ */ S(Xm, {
|
|
15354
|
+
className: "eidotter-header-button__chevron",
|
|
15355
|
+
"aria-hidden": "true",
|
|
15356
|
+
focusable: "false"
|
|
15357
|
+
})
|
|
15358
|
+
]
|
|
15359
|
+
});
|
|
15360
|
+
});
|
|
15361
|
+
Qv.displayName = "HeaderButton";
|
|
15362
|
+
// src/components/DisplayMenu/components/DisplayMenu.tsx
|
|
15363
|
+
var $v = a(({ items: e, label: t = "Display", labelDisplay: n = "responsive", placement: r = "bottom end", defaultOpen: i, className: a }, o) => {
|
|
15336
15364
|
let s = u(), c = e.findIndex((e) => !e.disabled);
|
|
15337
15365
|
return /* @__PURE__ */ C(md, {
|
|
15338
15366
|
defaultOpen: i,
|
|
15339
|
-
children: [/* @__PURE__ */
|
|
15367
|
+
children: [/* @__PURE__ */ S(Qv, {
|
|
15340
15368
|
ref: o,
|
|
15341
15369
|
"aria-label": t,
|
|
15370
|
+
icon: /* @__PURE__ */ S(Zv, {
|
|
15371
|
+
className: "eidotter-display-menu__icon",
|
|
15372
|
+
focusable: "false"
|
|
15373
|
+
}),
|
|
15374
|
+
chevron: !0,
|
|
15375
|
+
labelDisplay: n,
|
|
15342
15376
|
className: $("eidotter-display-menu", `eidotter-display-menu--${n}`, a),
|
|
15343
|
-
children:
|
|
15344
|
-
/* @__PURE__ */ S(Zv, {
|
|
15345
|
-
className: "eidotter-display-menu__icon",
|
|
15346
|
-
"aria-hidden": "true",
|
|
15347
|
-
focusable: "false"
|
|
15348
|
-
}),
|
|
15349
|
-
/* @__PURE__ */ S("span", {
|
|
15350
|
-
className: "eidotter-display-menu__label",
|
|
15351
|
-
"aria-hidden": "true",
|
|
15352
|
-
children: t
|
|
15353
|
-
}),
|
|
15354
|
-
/* @__PURE__ */ S(Xm, {
|
|
15355
|
-
className: "eidotter-display-menu__chevron",
|
|
15356
|
-
"aria-hidden": "true",
|
|
15357
|
-
focusable: "false"
|
|
15358
|
-
})
|
|
15359
|
-
]
|
|
15377
|
+
children: t
|
|
15360
15378
|
}), /* @__PURE__ */ S(xu, {
|
|
15361
15379
|
placement: r,
|
|
15362
15380
|
offset: 6,
|
|
@@ -15390,9 +15408,66 @@ var Zv = (e) => i("svg", Object.assign({
|
|
|
15390
15408
|
})]
|
|
15391
15409
|
});
|
|
15392
15410
|
});
|
|
15393
|
-
|
|
15411
|
+
$v.displayName = "DisplayMenu";
|
|
15412
|
+
// src/utils/displayTheme.ts
|
|
15413
|
+
var ey = {
|
|
15414
|
+
dosDark: "amber-mono",
|
|
15415
|
+
dosLight: "amber-paper"
|
|
15416
|
+
}, ty = {
|
|
15417
|
+
dos: "DOS",
|
|
15418
|
+
light: "Light"
|
|
15419
|
+
};
|
|
15420
|
+
function ny(e) {
|
|
15421
|
+
return {
|
|
15422
|
+
dosDark: e.dosDark ?? ey.dosDark,
|
|
15423
|
+
dosLight: e.dosLight === void 0 ? ey.dosLight : e.dosLight,
|
|
15424
|
+
modernLight: e.modernLight ?? null,
|
|
15425
|
+
modernDark: e.modernDark ?? null
|
|
15426
|
+
};
|
|
15427
|
+
}
|
|
15428
|
+
function ry(e, t = {}) {
|
|
15429
|
+
let n = ny(t);
|
|
15430
|
+
return !(n.modernLight || n.modernDark) || e.dos ? e.light && n.dosLight ? n.dosLight : n.dosDark : n.modernLight && n.modernDark ? e.light ? n.modernLight : n.modernDark : n.modernLight ?? n.modernDark;
|
|
15431
|
+
}
|
|
15432
|
+
function iy(e, t, n = {}, r = {}) {
|
|
15433
|
+
let i = ny(n), a = {
|
|
15434
|
+
...ty,
|
|
15435
|
+
...r
|
|
15436
|
+
}, o = !!(i.modernLight || i.modernDark), s = [];
|
|
15437
|
+
o && s.push({
|
|
15438
|
+
id: "dos",
|
|
15439
|
+
label: a.dos,
|
|
15440
|
+
checked: e.dos,
|
|
15441
|
+
onChange: (n) => t({
|
|
15442
|
+
...e,
|
|
15443
|
+
dos: n
|
|
15444
|
+
})
|
|
15445
|
+
});
|
|
15446
|
+
let c = !o || e.dos, l = (n) => t({
|
|
15447
|
+
...e,
|
|
15448
|
+
light: n
|
|
15449
|
+
});
|
|
15450
|
+
return c ? i.dosLight && s.push({
|
|
15451
|
+
id: "light",
|
|
15452
|
+
label: a.light,
|
|
15453
|
+
checked: e.light,
|
|
15454
|
+
onChange: l
|
|
15455
|
+
}) : i.modernLight && i.modernDark && s.push({
|
|
15456
|
+
id: "light",
|
|
15457
|
+
label: a.light,
|
|
15458
|
+
checked: e.light,
|
|
15459
|
+
onChange: l
|
|
15460
|
+
}), s;
|
|
15461
|
+
}
|
|
15462
|
+
function ay(e) {
|
|
15463
|
+
if (typeof document > "u") return;
|
|
15464
|
+
let t = e ?? document.documentElement, n = getComputedStyle(t).getPropertyValue("--color-semantic-background-primary").trim();
|
|
15465
|
+
if (!n) return;
|
|
15466
|
+
let r = document.querySelector("meta[name=\"theme-color\"]");
|
|
15467
|
+
r || (r = document.createElement("meta"), r.name = "theme-color", document.head.appendChild(r)), r.content = n;
|
|
15468
|
+
}
|
|
15394
15469
|
// src/components/Modal/components/Modal.tsx
|
|
15395
|
-
var
|
|
15470
|
+
var oy = a(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, footer: a, size: o = "md", isDismissable: s = !0, className: c }, u) => {
|
|
15396
15471
|
let d = m(e), f = m(!1);
|
|
15397
15472
|
l(() => {
|
|
15398
15473
|
e !== d.current && (d.current = e, f.current || (t?.(e), e || n?.()), f.current = !1);
|
|
@@ -15431,34 +15506,34 @@ var $v = a(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, foo
|
|
|
15431
15506
|
})
|
|
15432
15507
|
});
|
|
15433
15508
|
});
|
|
15434
|
-
|
|
15509
|
+
oy.displayName = "Modal";
|
|
15435
15510
|
// src/hooks/useTextScramble.ts
|
|
15436
|
-
var
|
|
15437
|
-
function
|
|
15511
|
+
var sy = "░▒▓█│┤┐└┴┬├─┼", cy = 4, ly = typeof window < "u" ? d : l;
|
|
15512
|
+
function uy(e, t, n) {
|
|
15438
15513
|
let r = "";
|
|
15439
15514
|
for (let i = 0; i < e.length; i++) i < n || e[i] === " " ? r += e[i] : r += t[Math.floor(Math.random() * t.length)];
|
|
15440
15515
|
return r;
|
|
15441
15516
|
}
|
|
15442
|
-
function
|
|
15443
|
-
let { speed: n = 40, characters: r =
|
|
15444
|
-
return
|
|
15517
|
+
function dy(e, t) {
|
|
15518
|
+
let { speed: n = 40, characters: r = sy, enabled: i = !0, delay: a = 0 } = t ?? {}, [o, s] = h(e), [c, l] = h(!1), u = m(0);
|
|
15519
|
+
return ly(() => {
|
|
15445
15520
|
if (!i || nh()) {
|
|
15446
15521
|
s(e), l(!1);
|
|
15447
15522
|
return;
|
|
15448
15523
|
}
|
|
15449
15524
|
let t = 0, o = 0, c = 0, d = a;
|
|
15450
|
-
s(
|
|
15525
|
+
s(uy(e, r, 0)), l(!0);
|
|
15451
15526
|
let f = (i) => {
|
|
15452
15527
|
c ||= i;
|
|
15453
15528
|
let a = i - c;
|
|
15454
15529
|
if (d > 0) d -= a, c = i, u.current = requestAnimationFrame(f);
|
|
15455
15530
|
else {
|
|
15456
15531
|
if (a >= n) {
|
|
15457
|
-
if (c = i, o++, o >=
|
|
15532
|
+
if (c = i, o++, o >= cy && (t++, o = 0), t >= e.length) {
|
|
15458
15533
|
s(e), l(!1);
|
|
15459
15534
|
return;
|
|
15460
15535
|
}
|
|
15461
|
-
s(
|
|
15536
|
+
s(uy(e, r, t));
|
|
15462
15537
|
}
|
|
15463
15538
|
u.current = requestAnimationFrame(f);
|
|
15464
15539
|
}
|
|
@@ -15478,60 +15553,60 @@ function iy(e, t) {
|
|
|
15478
15553
|
};
|
|
15479
15554
|
}
|
|
15480
15555
|
// src/components/Stat/components/Stat.tsx
|
|
15481
|
-
var
|
|
15556
|
+
var fy = {
|
|
15482
15557
|
sm: {
|
|
15483
15558
|
root: "gap-0.5",
|
|
15484
|
-
label: "text-dos-text-
|
|
15559
|
+
label: "text-dos-text-base",
|
|
15485
15560
|
value: "text-dos-display-xs",
|
|
15486
|
-
trend: "text-dos-text-
|
|
15561
|
+
trend: "text-dos-text-base"
|
|
15487
15562
|
},
|
|
15488
15563
|
md: {
|
|
15489
15564
|
root: "gap-1",
|
|
15490
|
-
label: "text-dos-text-
|
|
15565
|
+
label: "text-dos-text-base",
|
|
15491
15566
|
value: "text-dos-display-sm",
|
|
15492
|
-
trend: "text-dos-text-
|
|
15567
|
+
trend: "text-dos-text-base"
|
|
15493
15568
|
},
|
|
15494
15569
|
lg: {
|
|
15495
15570
|
root: "gap-1.5",
|
|
15496
|
-
label: "text-dos-text-
|
|
15571
|
+
label: "text-dos-text-base",
|
|
15497
15572
|
value: "text-dos-display-md",
|
|
15498
|
-
trend: "text-dos-text-
|
|
15573
|
+
trend: "text-dos-text-base"
|
|
15499
15574
|
},
|
|
15500
15575
|
small: {
|
|
15501
15576
|
root: "gap-0.5",
|
|
15502
|
-
label: "text-dos-text-
|
|
15577
|
+
label: "text-dos-text-base",
|
|
15503
15578
|
value: "text-dos-display-xs",
|
|
15504
|
-
trend: "text-dos-text-
|
|
15579
|
+
trend: "text-dos-text-base"
|
|
15505
15580
|
},
|
|
15506
15581
|
medium: {
|
|
15507
15582
|
root: "gap-1",
|
|
15508
|
-
label: "text-dos-text-
|
|
15583
|
+
label: "text-dos-text-base",
|
|
15509
15584
|
value: "text-dos-display-sm",
|
|
15510
|
-
trend: "text-dos-text-
|
|
15585
|
+
trend: "text-dos-text-base"
|
|
15511
15586
|
},
|
|
15512
15587
|
large: {
|
|
15513
15588
|
root: "gap-1.5",
|
|
15514
|
-
label: "text-dos-text-
|
|
15589
|
+
label: "text-dos-text-base",
|
|
15515
15590
|
value: "text-dos-display-md",
|
|
15516
|
-
trend: "text-dos-text-
|
|
15591
|
+
trend: "text-dos-text-base"
|
|
15517
15592
|
}
|
|
15518
|
-
},
|
|
15593
|
+
}, py = {
|
|
15519
15594
|
up: "text-dos-text-success",
|
|
15520
15595
|
down: "text-dos-text-error",
|
|
15521
15596
|
neutral: "text-dos-text-brand"
|
|
15522
|
-
},
|
|
15597
|
+
}, my = {
|
|
15523
15598
|
up: "▲",
|
|
15524
15599
|
down: "▼",
|
|
15525
15600
|
neutral: "►"
|
|
15526
|
-
},
|
|
15601
|
+
}, hy = {
|
|
15527
15602
|
up: "increasing",
|
|
15528
15603
|
down: "decreasing",
|
|
15529
15604
|
neutral: "unchanged"
|
|
15530
|
-
},
|
|
15531
|
-
let { text: f } =
|
|
15605
|
+
}, gy = a(({ label: e, value: t, trend: n, trendValue: r, size: i = "md", scramble: a = !1, unit: o, note: s, target: c, className: l, ...u }, d) => {
|
|
15606
|
+
let { text: f } = dy(String(t), {
|
|
15532
15607
|
speed: 30,
|
|
15533
15608
|
enabled: a
|
|
15534
|
-
}), p = a ? f : String(t), m =
|
|
15609
|
+
}), p = a ? f : String(t), m = fy[i] || fy.md;
|
|
15535
15610
|
return /* @__PURE__ */ C("div", {
|
|
15536
15611
|
ref: d,
|
|
15537
15612
|
className: $("flex flex-col font-dos", "eidotter-stat", m.root, l),
|
|
@@ -15557,12 +15632,12 @@ var ay = {
|
|
|
15557
15632
|
children: c
|
|
15558
15633
|
}),
|
|
15559
15634
|
n && /* @__PURE__ */ C("span", {
|
|
15560
|
-
className: $("inline-flex items-center gap-1 leading-none",
|
|
15561
|
-
"aria-label": `Trend: ${
|
|
15635
|
+
className: $("inline-flex items-center gap-1 leading-none", py[n], m.trend),
|
|
15636
|
+
"aria-label": `Trend: ${hy[n]}${r ? `, ${r}` : ""}`,
|
|
15562
15637
|
children: [/* @__PURE__ */ S("span", {
|
|
15563
15638
|
className: "text-[0.8em]",
|
|
15564
15639
|
"aria-hidden": "true",
|
|
15565
|
-
children:
|
|
15640
|
+
children: my[n]
|
|
15566
15641
|
}), r && /* @__PURE__ */ S("span", {
|
|
15567
15642
|
className: "tabular-nums",
|
|
15568
15643
|
children: r
|
|
@@ -15571,16 +15646,16 @@ var ay = {
|
|
|
15571
15646
|
]
|
|
15572
15647
|
});
|
|
15573
15648
|
});
|
|
15574
|
-
|
|
15649
|
+
gy.displayName = "Stat";
|
|
15575
15650
|
// src/components/FilterBar/components/FilterBar.tsx
|
|
15576
|
-
var
|
|
15651
|
+
var _y = {
|
|
15577
15652
|
sm: "eidotter-filter-bar--sm",
|
|
15578
15653
|
md: "eidotter-filter-bar--md",
|
|
15579
15654
|
lg: "eidotter-filter-bar--lg",
|
|
15580
15655
|
small: "eidotter-filter-bar--sm",
|
|
15581
15656
|
medium: "eidotter-filter-bar--md",
|
|
15582
15657
|
large: "eidotter-filter-bar--lg"
|
|
15583
|
-
},
|
|
15658
|
+
}, vy = ({ items: e, activeIds: t, defaultActiveIds: n = [], mode: r = "multi", showAll: i = !1, allLabel: a = "All", size: o = "md", onChange: c, className: l, ...u }) => {
|
|
15584
15659
|
let [d, f] = h(n), p = m(null), g = t !== void 0, _ = g ? t : d, v = e.filter((e) => !e.disabled).map((e) => e.id), y = _.length === 0, b = s((e) => {
|
|
15585
15660
|
g || f(e), c?.(e);
|
|
15586
15661
|
}, [g, c]), x = s((e) => {
|
|
@@ -15619,7 +15694,7 @@ var uy = {
|
|
|
15619
15694
|
}, [T]), D = i && y ? "__all__" : _.length > 0 ? _[0] : i ? "__all__" : v[0] || null;
|
|
15620
15695
|
return /* @__PURE__ */ C("div", {
|
|
15621
15696
|
ref: p,
|
|
15622
|
-
className: $("inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full", "bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm", "eidotter-filter-bar",
|
|
15697
|
+
className: $("inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full", "bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm", "eidotter-filter-bar", _y[o] || _y.md, l),
|
|
15623
15698
|
role: "toolbar",
|
|
15624
15699
|
onKeyDown: E,
|
|
15625
15700
|
...u,
|
|
@@ -15652,7 +15727,7 @@ var uy = {
|
|
|
15652
15727
|
}, e.id);
|
|
15653
15728
|
})]
|
|
15654
15729
|
});
|
|
15655
|
-
},
|
|
15730
|
+
}, yy = (e) => {
|
|
15656
15731
|
if (!e) return !1;
|
|
15657
15732
|
try {
|
|
15658
15733
|
let t = new URL(e);
|
|
@@ -15666,7 +15741,7 @@ var uy = {
|
|
|
15666
15741
|
}
|
|
15667
15742
|
};
|
|
15668
15743
|
// src/components/InlineExpand/components/InlineExpand.tsx
|
|
15669
|
-
function
|
|
15744
|
+
function by(e) {
|
|
15670
15745
|
try {
|
|
15671
15746
|
let { hostname: t } = new URL(e);
|
|
15672
15747
|
return `https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=32`;
|
|
@@ -15674,7 +15749,7 @@ function py(e) {
|
|
|
15674
15749
|
return null;
|
|
15675
15750
|
}
|
|
15676
15751
|
}
|
|
15677
|
-
var
|
|
15752
|
+
var xy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
|
|
15678
15753
|
let [c, l] = h(n), [d, f] = h({}), p = u(), g = m(null), _ = r !== void 0, v = _ ? r : c, y = () => {
|
|
15679
15754
|
let e = !v;
|
|
15680
15755
|
_ || l(e), i?.(e);
|
|
@@ -15720,7 +15795,7 @@ var my = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15720
15795
|
className: "eidotter-inline-expand__source-item",
|
|
15721
15796
|
role: "listitem",
|
|
15722
15797
|
children: /* @__PURE__ */ S("a", {
|
|
15723
|
-
href:
|
|
15798
|
+
href: yy(e.url) ? e.url : void 0,
|
|
15724
15799
|
className: "eidotter-inline-expand__source-link",
|
|
15725
15800
|
target: "_blank",
|
|
15726
15801
|
rel: "noopener noreferrer",
|
|
@@ -15733,7 +15808,7 @@ var my = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15733
15808
|
"aria-hidden": "true",
|
|
15734
15809
|
children: "[→]"
|
|
15735
15810
|
});
|
|
15736
|
-
let n = !!e.favicon &&
|
|
15811
|
+
let n = !!e.favicon && yy(e.favicon);
|
|
15737
15812
|
if (!t && n) return /* @__PURE__ */ S("img", {
|
|
15738
15813
|
className: "eidotter-inline-expand__source-favicon",
|
|
15739
15814
|
src: e.favicon,
|
|
@@ -15746,7 +15821,7 @@ var my = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15746
15821
|
[e.url]: "google"
|
|
15747
15822
|
}))
|
|
15748
15823
|
});
|
|
15749
|
-
let r =
|
|
15824
|
+
let r = by(e.url);
|
|
15750
15825
|
return r ? /* @__PURE__ */ S("img", {
|
|
15751
15826
|
className: "eidotter-inline-expand__source-favicon",
|
|
15752
15827
|
src: r,
|
|
@@ -15770,33 +15845,33 @@ var my = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15770
15845
|
]
|
|
15771
15846
|
})] })]
|
|
15772
15847
|
});
|
|
15773
|
-
},
|
|
15848
|
+
}, Sy = {
|
|
15774
15849
|
horizontal: "h-px w-full",
|
|
15775
15850
|
vertical: "w-px h-full"
|
|
15776
|
-
},
|
|
15851
|
+
}, Cy = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ S("div", {
|
|
15777
15852
|
role: "separator",
|
|
15778
15853
|
"aria-orientation": e,
|
|
15779
|
-
className: $("shrink-0 bg-dos-border-default", "eidotter-separator",
|
|
15780
|
-
}),
|
|
15854
|
+
className: $("shrink-0 bg-dos-border-default", "eidotter-separator", Sy[e], t)
|
|
15855
|
+
}), wy = {
|
|
15781
15856
|
default: "text-dos-text-primary",
|
|
15782
15857
|
error: "text-dos-error",
|
|
15783
15858
|
warning: "text-dos-warning",
|
|
15784
15859
|
info: "text-dos-info"
|
|
15785
|
-
},
|
|
15786
|
-
className: $("eidotter-section-heading", "font-dos uppercase tracking-wider mb-2 text-dos-text-sm",
|
|
15860
|
+
}, Ty = ({ title: e, count: t, tone: n = "default", children: r, className: i }) => /* @__PURE__ */ C("h3", {
|
|
15861
|
+
className: $("eidotter-section-heading", "font-dos uppercase tracking-wider mb-2 text-dos-text-sm", wy[n], i),
|
|
15787
15862
|
children: [
|
|
15788
15863
|
e,
|
|
15789
15864
|
t !== void 0 && ` (${t})`,
|
|
15790
15865
|
r
|
|
15791
15866
|
]
|
|
15792
15867
|
});
|
|
15793
|
-
|
|
15868
|
+
Ty.displayName = "SectionHeading";
|
|
15794
15869
|
// src/components/ChecklistRow/components/ChecklistRow.tsx
|
|
15795
|
-
var
|
|
15870
|
+
var Ey = {
|
|
15796
15871
|
default: "text-dos-text-primary",
|
|
15797
15872
|
muted: "text-dos-text-muted line-through",
|
|
15798
15873
|
error: "text-dos-error"
|
|
15799
|
-
},
|
|
15874
|
+
}, Dy = ({ checked: e, onToggle: t, disabled: n, pending: r, ariaLabel: i, labelTone: a = "default", label: o, children: s, note: c, leading: l, trailing: u, className: d }) => /* @__PURE__ */ C("div", {
|
|
15800
15875
|
className: $("eidotter-checklist-row", "flex items-start gap-3 py-2 border-b border-dos-border-disabled", r && "opacity-50", d),
|
|
15801
15876
|
children: [
|
|
15802
15877
|
/* @__PURE__ */ S("button", {
|
|
@@ -15806,7 +15881,7 @@ var yy = {
|
|
|
15806
15881
|
onClick: t,
|
|
15807
15882
|
disabled: n,
|
|
15808
15883
|
"aria-label": i ?? (e ? "Mark as incomplete" : "Mark as complete"),
|
|
15809
|
-
className: $("shrink-0 pt-0.5 font-dos text-dos-text-
|
|
15884
|
+
className: $("shrink-0 pt-0.5 font-dos text-dos-text-base", "text-dos-text-primary hover:text-dos-text-accent", "cursor-pointer disabled:cursor-not-allowed"),
|
|
15810
15885
|
children: e ? "[x]" : "[ ]"
|
|
15811
15886
|
}),
|
|
15812
15887
|
/* @__PURE__ */ C("div", {
|
|
@@ -15817,12 +15892,12 @@ var yy = {
|
|
|
15817
15892
|
children: l
|
|
15818
15893
|
}),
|
|
15819
15894
|
o !== void 0 && /* @__PURE__ */ S("div", {
|
|
15820
|
-
className: $("font-dos text-dos-text-
|
|
15895
|
+
className: $("font-dos text-dos-text-base", Ey[a]),
|
|
15821
15896
|
children: o
|
|
15822
15897
|
}),
|
|
15823
15898
|
s,
|
|
15824
15899
|
c && /* @__PURE__ */ S("p", {
|
|
15825
|
-
className: "font-dos text-dos-text-
|
|
15900
|
+
className: "font-dos text-dos-text-base text-dos-text-muted mt-0.5",
|
|
15826
15901
|
children: c
|
|
15827
15902
|
})
|
|
15828
15903
|
]
|
|
@@ -15833,9 +15908,9 @@ var yy = {
|
|
|
15833
15908
|
})
|
|
15834
15909
|
]
|
|
15835
15910
|
});
|
|
15836
|
-
|
|
15911
|
+
Dy.displayName = "ChecklistRow";
|
|
15837
15912
|
// src/components/CopyButton/components/CopyButton.tsx
|
|
15838
|
-
var
|
|
15913
|
+
var Oy = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Copy to clipboard", copiedTitle: i = "Copied!", className: a }) => {
|
|
15839
15914
|
let [o, c] = h(!1), l = m(null), u = s(() => {
|
|
15840
15915
|
c(!0), l.current && clearTimeout(l.current), l.current = setTimeout(() => c(!1), 1500);
|
|
15841
15916
|
}, []), d = s(() => {
|
|
@@ -15861,25 +15936,25 @@ var xy = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Co
|
|
|
15861
15936
|
onClick: f,
|
|
15862
15937
|
title: o ? i : r,
|
|
15863
15938
|
"aria-label": o ? i : r,
|
|
15864
|
-
className: $("eidotter-copy-button", "font-dos text-dos-text-
|
|
15939
|
+
className: $("eidotter-copy-button", "font-dos text-dos-text-base px-1", "text-dos-link hover:text-dos-link-hover cursor-pointer", a),
|
|
15865
15940
|
children: o ? n : t
|
|
15866
15941
|
});
|
|
15867
15942
|
};
|
|
15868
|
-
|
|
15943
|
+
Oy.displayName = "CopyButton";
|
|
15869
15944
|
// src/components/Select/components/Select.tsx
|
|
15870
|
-
var
|
|
15871
|
-
sm: "text-dos-text-
|
|
15872
|
-
md: "text-dos-text-
|
|
15873
|
-
lg: "text-dos-text-
|
|
15874
|
-
},
|
|
15945
|
+
var ky = {
|
|
15946
|
+
sm: "text-dos-text-base px-2.5 py-1 min-h-7 gap-2",
|
|
15947
|
+
md: "text-dos-text-base px-3 py-2 min-h-8 gap-2",
|
|
15948
|
+
lg: "text-dos-text-base px-4 py-2.5 min-h-10 gap-2"
|
|
15949
|
+
}, Ay = (e = "md") => ({
|
|
15875
15950
|
small: "sm",
|
|
15876
15951
|
medium: "md",
|
|
15877
15952
|
large: "lg"
|
|
15878
|
-
})[e] ?? e,
|
|
15879
|
-
let g = a === "error", _ = s !== void 0, v =
|
|
15953
|
+
})[e] ?? e, jy = "eidotter-select__label text-dos-text-brand font-dos text-dos-text-base uppercase tracking-wider", My = "eidotter-select__description text-dos-text-muted font-dos text-dos-text-base", Ny = "eidotter-select__error text-dos-text-error font-dos text-dos-text-base", Py = "eidotter-select__trigger flex items-center w-full bg-transparent text-dos-text-brand font-dos border-2 border-dos-border-default outline-none box-border", Fy = "eidotter-select__option font-dos", Iy = "NO MATCHES", Ly = (e) => e == null || e === "" ? null : e, Ry = ({ options: e, label: t, placeholder: n, description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: l, disabled: u, isRequired: d, name: f, id: p, className: m, "aria-label": h }) => {
|
|
15954
|
+
let g = a === "error", _ = s !== void 0, v = Ay(o);
|
|
15880
15955
|
return /* @__PURE__ */ C(If, {
|
|
15881
15956
|
"aria-label": t ? void 0 : h,
|
|
15882
|
-
selectedKey: _ ?
|
|
15957
|
+
selectedKey: _ ? Ly(s) : void 0,
|
|
15883
15958
|
defaultSelectedKey: _ ? void 0 : c,
|
|
15884
15959
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
15885
15960
|
isDisabled: u,
|
|
@@ -15890,12 +15965,12 @@ var Sy = {
|
|
|
15890
15965
|
className: $("eidotter-select flex flex-col gap-1", m),
|
|
15891
15966
|
children: [
|
|
15892
15967
|
t && /* @__PURE__ */ S(Pi, {
|
|
15893
|
-
className:
|
|
15968
|
+
className: jy,
|
|
15894
15969
|
children: t
|
|
15895
15970
|
}),
|
|
15896
15971
|
/* @__PURE__ */ C(Wi, {
|
|
15897
15972
|
id: p,
|
|
15898
|
-
className: $(
|
|
15973
|
+
className: $(Py, ky[v]),
|
|
15899
15974
|
children: [/* @__PURE__ */ S(Bf, { className: "eidotter-select__value flex-1 text-left truncate" }), /* @__PURE__ */ S("span", {
|
|
15900
15975
|
"aria-hidden": "true",
|
|
15901
15976
|
className: "eidotter-select__arrow",
|
|
@@ -15904,12 +15979,12 @@ var Sy = {
|
|
|
15904
15979
|
}),
|
|
15905
15980
|
r && !g && /* @__PURE__ */ S(Yi, {
|
|
15906
15981
|
slot: "description",
|
|
15907
|
-
className:
|
|
15982
|
+
className: My,
|
|
15908
15983
|
children: r
|
|
15909
15984
|
}),
|
|
15910
15985
|
i && g && /* @__PURE__ */ S(Yi, {
|
|
15911
15986
|
slot: "errorMessage",
|
|
15912
|
-
className:
|
|
15987
|
+
className: Ny,
|
|
15913
15988
|
children: i
|
|
15914
15989
|
}),
|
|
15915
15990
|
/* @__PURE__ */ S(xu, {
|
|
@@ -15921,19 +15996,19 @@ var Sy = {
|
|
|
15921
15996
|
id: e.value,
|
|
15922
15997
|
textValue: e.label,
|
|
15923
15998
|
isDisabled: e.disabled,
|
|
15924
|
-
className:
|
|
15999
|
+
className: Fy,
|
|
15925
16000
|
children: e.label
|
|
15926
16001
|
})
|
|
15927
16002
|
})
|
|
15928
16003
|
})
|
|
15929
16004
|
]
|
|
15930
16005
|
});
|
|
15931
|
-
},
|
|
15932
|
-
let _ = a === "error", v = s !== void 0, y =
|
|
16006
|
+
}, zy = ({ options: e, label: t, placeholder: n, description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: l, disabled: u, isRequired: d, name: f, id: p, className: m, emptyMessage: h = Iy, "aria-label": g }) => {
|
|
16007
|
+
let _ = a === "error", v = s !== void 0, y = Ay(o);
|
|
15933
16008
|
return /* @__PURE__ */ C(uf, {
|
|
15934
16009
|
"aria-label": t ? void 0 : g,
|
|
15935
16010
|
defaultItems: e,
|
|
15936
|
-
selectedKey: v ?
|
|
16011
|
+
selectedKey: v ? Ly(s) : void 0,
|
|
15937
16012
|
defaultSelectedKey: v ? void 0 : c,
|
|
15938
16013
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
15939
16014
|
isDisabled: u,
|
|
@@ -15945,11 +16020,11 @@ var Sy = {
|
|
|
15945
16020
|
className: $("eidotter-select eidotter-select--searchable flex flex-col gap-1", m),
|
|
15946
16021
|
children: [
|
|
15947
16022
|
t && /* @__PURE__ */ S(Pi, {
|
|
15948
|
-
className:
|
|
16023
|
+
className: jy,
|
|
15949
16024
|
children: t
|
|
15950
16025
|
}),
|
|
15951
16026
|
/* @__PURE__ */ C("div", {
|
|
15952
|
-
className: $(
|
|
16027
|
+
className: $(Py, ky[y]),
|
|
15953
16028
|
children: [/* @__PURE__ */ S(Wa, {
|
|
15954
16029
|
id: p,
|
|
15955
16030
|
placeholder: n,
|
|
@@ -15966,12 +16041,12 @@ var Sy = {
|
|
|
15966
16041
|
}),
|
|
15967
16042
|
r && !_ && /* @__PURE__ */ S(Yi, {
|
|
15968
16043
|
slot: "description",
|
|
15969
|
-
className:
|
|
16044
|
+
className: My,
|
|
15970
16045
|
children: r
|
|
15971
16046
|
}),
|
|
15972
16047
|
i && _ && /* @__PURE__ */ S(Yi, {
|
|
15973
16048
|
slot: "errorMessage",
|
|
15974
|
-
className:
|
|
16049
|
+
className: Ny,
|
|
15975
16050
|
children: i
|
|
15976
16051
|
}),
|
|
15977
16052
|
/* @__PURE__ */ S(xu, {
|
|
@@ -15986,15 +16061,15 @@ var Sy = {
|
|
|
15986
16061
|
id: e.value,
|
|
15987
16062
|
textValue: e.label,
|
|
15988
16063
|
isDisabled: e.disabled,
|
|
15989
|
-
className:
|
|
16064
|
+
className: Fy,
|
|
15990
16065
|
children: e.label
|
|
15991
16066
|
})
|
|
15992
16067
|
})
|
|
15993
16068
|
})
|
|
15994
16069
|
]
|
|
15995
16070
|
});
|
|
15996
|
-
},
|
|
15997
|
-
let T = a === "error", E = s !== void 0, D =
|
|
16071
|
+
}, By = ({ options: e, label: t, placeholder: n = "Select…", description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: l, disabled: d, name: p, id: g, className: _, searchable: v, searchPlaceholder: y = "FILTER…", emptyMessage: b = Iy, "aria-label": w }) => {
|
|
16072
|
+
let T = a === "error", E = s !== void 0, D = Ay(o), O = m(null), [k, A] = h(!1), [j, M] = h(""), [N, P] = h(c ?? []), F = E ? s ?? [] : N, I = `${u()}-label`, L = f(() => new Set(E ? s ?? [] : N), [
|
|
15998
16073
|
E,
|
|
15999
16074
|
s,
|
|
16000
16075
|
N
|
|
@@ -16017,7 +16092,7 @@ var Sy = {
|
|
|
16017
16092
|
children: [
|
|
16018
16093
|
t && /* @__PURE__ */ S("span", {
|
|
16019
16094
|
id: I,
|
|
16020
|
-
className:
|
|
16095
|
+
className: jy,
|
|
16021
16096
|
children: t
|
|
16022
16097
|
}),
|
|
16023
16098
|
/* @__PURE__ */ C(Wi, {
|
|
@@ -16029,7 +16104,7 @@ var Sy = {
|
|
|
16029
16104
|
"aria-haspopup": "listbox",
|
|
16030
16105
|
"aria-expanded": k,
|
|
16031
16106
|
onPress: () => B(!k),
|
|
16032
|
-
className: $(
|
|
16107
|
+
className: $(Py, ky[D], T && "eidotter-select__trigger--error"),
|
|
16033
16108
|
children: [/* @__PURE__ */ S("span", {
|
|
16034
16109
|
className: $("eidotter-select__value flex-1 text-left truncate", F.length === 0 && "eidotter-select__value--placeholder text-dos-text-muted"),
|
|
16035
16110
|
children: V
|
|
@@ -16040,11 +16115,11 @@ var Sy = {
|
|
|
16040
16115
|
})]
|
|
16041
16116
|
}),
|
|
16042
16117
|
r && !T && /* @__PURE__ */ S("span", {
|
|
16043
|
-
className:
|
|
16118
|
+
className: My,
|
|
16044
16119
|
children: r
|
|
16045
16120
|
}),
|
|
16046
16121
|
i && T && /* @__PURE__ */ S("span", {
|
|
16047
|
-
className:
|
|
16122
|
+
className: Ny,
|
|
16048
16123
|
children: i
|
|
16049
16124
|
}),
|
|
16050
16125
|
p && F.map((e) => /* @__PURE__ */ S("input", {
|
|
@@ -16081,7 +16156,7 @@ var Sy = {
|
|
|
16081
16156
|
id: e.value,
|
|
16082
16157
|
textValue: e.label,
|
|
16083
16158
|
isDisabled: e.disabled,
|
|
16084
|
-
className: $(
|
|
16159
|
+
className: $(Fy, "eidotter-select__option--multi"),
|
|
16085
16160
|
children: ({ isSelected: t }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("span", {
|
|
16086
16161
|
"aria-hidden": "true",
|
|
16087
16162
|
className: "eidotter-select__check",
|
|
@@ -16095,41 +16170,41 @@ var Sy = {
|
|
|
16095
16170
|
})
|
|
16096
16171
|
]
|
|
16097
16172
|
});
|
|
16098
|
-
},
|
|
16099
|
-
|
|
16173
|
+
}, Vy = (e) => e.multiple ? /* @__PURE__ */ S(By, { ...e }) : e.searchable ? /* @__PURE__ */ S(zy, { ...e }) : /* @__PURE__ */ S(Ry, { ...e });
|
|
16174
|
+
Vy.displayName = "Select";
|
|
16100
16175
|
// src/components/LedgerRow/components/LedgerRow.tsx
|
|
16101
|
-
var
|
|
16176
|
+
var Hy = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a, className: o }) => /* @__PURE__ */ C("div", {
|
|
16102
16177
|
className: $("eidotter-ledger-row", "flex items-center gap-3 py-2 border-b border-dos-border-disabled", a && "opacity-50", o),
|
|
16103
16178
|
children: [/* @__PURE__ */ C("div", {
|
|
16104
16179
|
className: "flex-1 min-w-0",
|
|
16105
16180
|
children: [/* @__PURE__ */ S("div", {
|
|
16106
|
-
className: "font-dos text-dos-text-
|
|
16181
|
+
className: "font-dos text-dos-text-base text-dos-text-primary",
|
|
16107
16182
|
children: e
|
|
16108
16183
|
}), t && /* @__PURE__ */ S("p", {
|
|
16109
|
-
className: "font-dos text-dos-text-
|
|
16184
|
+
className: "font-dos text-dos-text-base text-dos-text-muted mt-0.5",
|
|
16110
16185
|
children: t
|
|
16111
16186
|
})]
|
|
16112
16187
|
}), /* @__PURE__ */ C("div", {
|
|
16113
16188
|
className: "flex items-center gap-1 shrink-0",
|
|
16114
16189
|
children: [
|
|
16115
16190
|
/* @__PURE__ */ S("span", {
|
|
16116
|
-
className: "font-dos text-dos-text-
|
|
16191
|
+
className: "font-dos text-dos-text-base text-dos-text-accent tabular-nums",
|
|
16117
16192
|
children: n
|
|
16118
16193
|
}),
|
|
16119
|
-
r !== void 0 && /* @__PURE__ */ S(
|
|
16194
|
+
r !== void 0 && /* @__PURE__ */ S(Oy, { value: r }),
|
|
16120
16195
|
i
|
|
16121
16196
|
]
|
|
16122
16197
|
})]
|
|
16123
16198
|
});
|
|
16124
|
-
|
|
16199
|
+
Hy.displayName = "LedgerRow";
|
|
16125
16200
|
// src/components/LabeledProgress/components/LabeledProgress.tsx
|
|
16126
|
-
var
|
|
16201
|
+
var Uy = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i = !0, className: a, "aria-label": o }) => {
|
|
16127
16202
|
let s = n === 0 ? 0 : Math.min(100, Math.max(0, Math.round(t / n * 100)));
|
|
16128
16203
|
return /* @__PURE__ */ C("div", {
|
|
16129
16204
|
className: $("eidotter-labeled-progress", "flex items-center gap-3", a),
|
|
16130
16205
|
children: [
|
|
16131
16206
|
e && /* @__PURE__ */ S("span", {
|
|
16132
|
-
className: "eidotter-labeled-progress__label font-dos text-dos-text-
|
|
16207
|
+
className: "eidotter-labeled-progress__label font-dos text-dos-text-base text-dos-text-muted shrink-0",
|
|
16133
16208
|
children: e
|
|
16134
16209
|
}),
|
|
16135
16210
|
/* @__PURE__ */ S("div", {
|
|
@@ -16145,16 +16220,16 @@ var Iy = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i
|
|
|
16145
16220
|
})
|
|
16146
16221
|
}),
|
|
16147
16222
|
i && /* @__PURE__ */ C("span", {
|
|
16148
|
-
className: "eidotter-labeled-progress__value font-dos text-dos-text-
|
|
16223
|
+
className: "eidotter-labeled-progress__value font-dos text-dos-text-base text-dos-text-accent tabular-nums shrink-0",
|
|
16149
16224
|
children: [s, r]
|
|
16150
16225
|
})
|
|
16151
16226
|
]
|
|
16152
16227
|
});
|
|
16153
16228
|
};
|
|
16154
|
-
|
|
16229
|
+
Uy.displayName = "LabeledProgress";
|
|
16155
16230
|
// src/components/TextScramble/components/TextScramble.tsx
|
|
16156
|
-
var
|
|
16157
|
-
let { text: s, isScrambling: c } =
|
|
16231
|
+
var Wy = a(({ children: e, speed: t, characters: n, delay: r, className: i, ...a }, o) => {
|
|
16232
|
+
let { text: s, isScrambling: c } = dy(e, {
|
|
16158
16233
|
speed: t,
|
|
16159
16234
|
characters: n,
|
|
16160
16235
|
delay: r
|
|
@@ -16166,15 +16241,15 @@ var Ly = a(({ children: e, speed: t, characters: n, delay: r, className: i, ...a
|
|
|
16166
16241
|
children: s
|
|
16167
16242
|
});
|
|
16168
16243
|
});
|
|
16169
|
-
|
|
16244
|
+
Wy.displayName = "TextScramble";
|
|
16170
16245
|
// src/components/Nav/components/Nav.tsx
|
|
16171
|
-
var
|
|
16246
|
+
var Gy = {
|
|
16172
16247
|
retro: "eidotter-nav--retro",
|
|
16173
16248
|
modern: "eidotter-nav--modern"
|
|
16174
|
-
},
|
|
16249
|
+
}, Ky = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
16175
16250
|
let a = r || "a";
|
|
16176
16251
|
return /* @__PURE__ */ S("nav", {
|
|
16177
|
-
className: $("eidotter-nav eidotter-nav--desktop",
|
|
16252
|
+
className: $("eidotter-nav eidotter-nav--desktop", Gy[n], i),
|
|
16178
16253
|
"aria-label": "Main navigation",
|
|
16179
16254
|
children: /* @__PURE__ */ S("ul", {
|
|
16180
16255
|
className: "eidotter-nav__desktop-list",
|
|
@@ -16195,7 +16270,7 @@ var Ry = {
|
|
|
16195
16270
|
})
|
|
16196
16271
|
})
|
|
16197
16272
|
});
|
|
16198
|
-
},
|
|
16273
|
+
}, qy = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
16199
16274
|
let [a, o] = h(!1), c = r || "a", u = m(null), d = m(null), f = m(null), p = m(!1), g = s(() => o((e) => !e), []), _ = s(() => o(!1), []);
|
|
16200
16275
|
return l(() => {
|
|
16201
16276
|
if (!a) return;
|
|
@@ -16206,7 +16281,7 @@ var Ry = {
|
|
|
16206
16281
|
}, [a, _]), l(() => {
|
|
16207
16282
|
a ? d.current?.focus() : p.current && u.current?.focus(), p.current = a;
|
|
16208
16283
|
}, [a]), /* @__PURE__ */ C("div", {
|
|
16209
|
-
className: $("eidotter-nav eidotter-nav--mobile",
|
|
16284
|
+
className: $("eidotter-nav eidotter-nav--mobile", Gy[n], i),
|
|
16210
16285
|
children: [
|
|
16211
16286
|
/* @__PURE__ */ S("button", {
|
|
16212
16287
|
ref: u,
|
|
@@ -16266,14 +16341,14 @@ var Ry = {
|
|
|
16266
16341
|
})
|
|
16267
16342
|
]
|
|
16268
16343
|
});
|
|
16269
|
-
},
|
|
16344
|
+
}, Jy = (e) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S(qy, { ...e }), /* @__PURE__ */ S(Ky, { ...e })] }), Yy = {
|
|
16270
16345
|
user: "eidotter-chat-message--user",
|
|
16271
16346
|
assistant: "eidotter-chat-message--assistant",
|
|
16272
16347
|
system: "eidotter-chat-message--system"
|
|
16273
|
-
},
|
|
16348
|
+
}, Xy = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
|
|
16274
16349
|
let s = e === "user" ? r : e === "assistant" ? i : "";
|
|
16275
16350
|
return /* @__PURE__ */ C("div", {
|
|
16276
|
-
className: $("flex gap-2 font-dos text-dos-text-
|
|
16351
|
+
className: $("flex gap-2 font-dos text-dos-text-base leading-[1.4] py-1 whitespace-pre-wrap break-words", Yy[e], n && "eidotter-chat-message--streaming", a),
|
|
16277
16352
|
...o,
|
|
16278
16353
|
children: [
|
|
16279
16354
|
s && /* @__PURE__ */ S("span", {
|
|
@@ -16292,7 +16367,7 @@ var Ry = {
|
|
|
16292
16367
|
})
|
|
16293
16368
|
]
|
|
16294
16369
|
});
|
|
16295
|
-
},
|
|
16370
|
+
}, Zy = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
|
|
16296
16371
|
let o = m(null);
|
|
16297
16372
|
l(() => {
|
|
16298
16373
|
o.current?.scrollIntoView?.({ behavior: "smooth" });
|
|
@@ -16307,7 +16382,7 @@ var Ry = {
|
|
|
16307
16382
|
children: /* @__PURE__ */ S("div", {
|
|
16308
16383
|
className: "flex items-center justify-center h-full min-h-16",
|
|
16309
16384
|
children: /* @__PURE__ */ S("span", {
|
|
16310
|
-
className: "text-dos-text-muted font-dos text-dos-text-
|
|
16385
|
+
className: "text-dos-text-muted font-dos text-dos-text-base",
|
|
16311
16386
|
children: "Awaiting input..."
|
|
16312
16387
|
})
|
|
16313
16388
|
})
|
|
@@ -16321,7 +16396,7 @@ var Ry = {
|
|
|
16321
16396
|
className: "flex flex-col",
|
|
16322
16397
|
children: [e.map((i, a) => {
|
|
16323
16398
|
let o = t && i.role === "assistant" && a === e.length - 1;
|
|
16324
|
-
return /* @__PURE__ */ S(
|
|
16399
|
+
return /* @__PURE__ */ S(Xy, {
|
|
16325
16400
|
role: i.role,
|
|
16326
16401
|
content: i.content,
|
|
16327
16402
|
isStreaming: o,
|
|
@@ -16331,7 +16406,7 @@ var Ry = {
|
|
|
16331
16406
|
}), /* @__PURE__ */ S("div", { ref: o })]
|
|
16332
16407
|
})
|
|
16333
16408
|
});
|
|
16334
|
-
},
|
|
16409
|
+
}, Qy = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
|
|
16335
16410
|
let [o, s] = h(""), c = m(null);
|
|
16336
16411
|
d(() => {
|
|
16337
16412
|
let e = c.current;
|
|
@@ -16345,7 +16420,7 @@ var Ry = {
|
|
|
16345
16420
|
}
|
|
16346
16421
|
};
|
|
16347
16422
|
return /* @__PURE__ */ C("div", {
|
|
16348
|
-
className: $("flex items-start font-dos text-dos-text-
|
|
16423
|
+
className: $("flex items-start font-dos text-dos-text-base p-2 cursor-text", "text-dos-text-brand", "eidotter-chat-input", r && "eidotter-chat-input--disabled", i),
|
|
16349
16424
|
onClick: () => {
|
|
16350
16425
|
!r && c.current && c.current.focus();
|
|
16351
16426
|
},
|
|
@@ -16373,30 +16448,30 @@ var Ry = {
|
|
|
16373
16448
|
})]
|
|
16374
16449
|
})]
|
|
16375
16450
|
});
|
|
16376
|
-
},
|
|
16451
|
+
}, $y = ({ messages: e, onSend: t, isStreaming: n = !1, inputPrompt: r, userPrefix: i, assistantPrefix: a, placeholder: o, disabled: s = !1, className: c, ...l }) => /* @__PURE__ */ C("div", {
|
|
16377
16452
|
className: $("flex flex-col h-full min-h-0", c),
|
|
16378
16453
|
...l,
|
|
16379
|
-
children: [/* @__PURE__ */ S(
|
|
16454
|
+
children: [/* @__PURE__ */ S(Zy, {
|
|
16380
16455
|
className: "flex-1 min-h-0",
|
|
16381
16456
|
messages: e,
|
|
16382
16457
|
isStreaming: n,
|
|
16383
16458
|
userPrefix: i,
|
|
16384
16459
|
assistantPrefix: a
|
|
16385
|
-
}), /* @__PURE__ */ S(
|
|
16460
|
+
}), /* @__PURE__ */ S(Qy, {
|
|
16386
16461
|
className: "shrink-0",
|
|
16387
16462
|
onSend: t,
|
|
16388
16463
|
prompt: r,
|
|
16389
16464
|
placeholder: o,
|
|
16390
16465
|
disabled: s
|
|
16391
16466
|
})]
|
|
16392
|
-
}),
|
|
16467
|
+
}), eb = [{
|
|
16393
16468
|
label: "Impressum",
|
|
16394
16469
|
href: "/impressum"
|
|
16395
16470
|
}, {
|
|
16396
16471
|
label: "Datenschutz",
|
|
16397
16472
|
href: "/datenschutz"
|
|
16398
|
-
}],
|
|
16399
|
-
let s = n ??
|
|
16473
|
+
}], tb = ({ copyright: t, links: n, linkComponent: r, children: i, className: a, ...o }) => {
|
|
16474
|
+
let s = n ?? eb, c = r ?? "a", l = "eidotter-footer__link text-dos-text-brand no-underline";
|
|
16400
16475
|
return /* @__PURE__ */ C("footer", {
|
|
16401
16476
|
className: $("font-dos text-dos-text-base py-4 px-2 text-center", "eidotter-footer", a),
|
|
16402
16477
|
...o,
|
|
@@ -16440,9 +16515,9 @@ var Ry = {
|
|
|
16440
16515
|
})
|
|
16441
16516
|
]
|
|
16442
16517
|
});
|
|
16443
|
-
},
|
|
16444
|
-
|
|
16445
|
-
var
|
|
16518
|
+
}, nb = /* @__PURE__ */ "M20.375 9.0625H17.625V9.75H20.375V9.0625Z,M16.9375 9.75H15.5625V10.4375H16.9375V9.75Z,M17.625 9.75H16.9375V10.4375H17.625V9.75Z,M22.4375 9.75H20.375V10.4375H22.4375V9.75Z,M15.5625 10.4375H14.1875V11.125H15.5625V10.4375Z,M23.8125 10.4375H22.4375V11.125H23.8125V10.4375Z,M14.1875 11.125H13.5V11.8125H14.1875V11.125Z,M25.1875 11.125H23.8125V11.8125H25.1875V11.125Z,M13.5 11.8125H12.8125V12.5H13.5V11.8125Z,M25.875 11.8125H25.1875V13.1875H25.875V11.8125Z,M12.8125 12.5H12.125V13.875H12.8125V12.5Z,M12.125 13.875H11.4375V15.9375H12.125V13.875Z,M11.4375 15.9375H10.75V18H11.4375V15.9375Z,M10.75 18H10.0625V19.375H10.75V18Z,M11.4375 19.375H10.75V20.75H11.4375V19.375Z,M12.125 20.75H11.4375V22.125H12.125V20.75Z,M12.8125 22.125H12.125V23.5H12.8125V22.125Z,M26.5625 13.1875H25.875V15.25H26.5625V13.1875Z,M27.25 15.25H26.5625V17.3125H27.25V15.25Z,M27.9375 17.3125H27.25V19.375H27.9375V17.3125Z,M27.25 19.375H26.5625V20.75H27.25V19.375Z,M26.5625 20.75H25.875V22.125H26.5625V20.75Z,M25.875 22.125H25.1875V23.5H25.875V22.125Z,M14.1875 23.5H12.8125V24.1875H14.1875V23.5Z,M16.25 24.1875H14.1875V24.875H16.25V24.1875Z,M18.3125 24.875H16.25V25.5625H18.3125V24.875Z,M20.375 25.5625H18.3125V26.25H20.375V25.5625Z,M22.4375 24.875H20.375V25.5625H22.4375V24.875Z,M24.5 24.1875H22.4375V24.875H24.5V24.1875Z,M25.1875 23.5H24.5V24.1875H25.1875V23.5Z,M10.0625 15.9375H9.375V16.625H10.0625V15.9375Z,M29.3125 16.625H28.625V17.3125H29.3125V16.625Z,M28.625 20.75H27.9375V21.4375H28.625V20.75Z,M10.75 21.4375H10.0625V22.125H10.75V21.4375Z".split(",");
|
|
16519
|
+
nb.length - 4;
|
|
16520
|
+
var rb = "M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7 8 11.9249 8 18C8 24.0751 12.9249 29 19 29Z", ib = "M19 27C23.9706 27 28 22.9706 28 18C28 13.0294 23.9706 9 19 9C14.0294 9 10 13.0294 10 18C10 22.9706 14.0294 27 19 27Z", ab = "M18.4375 21C20.6466 21 22.4375 19.2091 22.4375 17C22.4375 14.7909 20.6466 13 18.4375 13C16.2284 13 14.4375 14.7909 14.4375 17C14.4375 19.2091 16.2284 21 18.4375 21Z", ob = ["M16.25 15.25H15.5625V17.3125H16.25V15.25Z", "M18.3125 13.875H16.25V14.5625H18.3125V13.875Z"], sb = "M17.5 15C17.7761 15 18 14.7761 18 14.5C18 14.2239 17.7761 14 17.5 14C17.2239 14 17 14.2239 17 14.5C17 14.7761 17.2239 15 17.5 15Z", cb = a(({ size: e = 32, title: t = "eiDotter", ...n }, r) => {
|
|
16446
16521
|
let i = u(), a = `eidotter-logo-halo-${i}`, o = `eidotter-logo-core-${i}`, s = `eidotter-logo-yolk-${i}`;
|
|
16447
16522
|
return /* @__PURE__ */ C("svg", {
|
|
16448
16523
|
ref: r,
|
|
@@ -16517,46 +16592,46 @@ var Xy = "M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7
|
|
|
16517
16592
|
})
|
|
16518
16593
|
] }),
|
|
16519
16594
|
/* @__PURE__ */ S("path", {
|
|
16520
|
-
d:
|
|
16595
|
+
d: rb,
|
|
16521
16596
|
fill: `url(#${a})`
|
|
16522
16597
|
}),
|
|
16523
16598
|
/* @__PURE__ */ S("path", {
|
|
16524
|
-
d:
|
|
16599
|
+
d: ib,
|
|
16525
16600
|
fill: `url(#${o})`
|
|
16526
16601
|
}),
|
|
16527
|
-
|
|
16602
|
+
nb.map((e) => /* @__PURE__ */ S("path", {
|
|
16528
16603
|
d: e,
|
|
16529
16604
|
fill: "#FFB000"
|
|
16530
16605
|
}, e)),
|
|
16531
16606
|
/* @__PURE__ */ S("path", {
|
|
16532
|
-
d:
|
|
16607
|
+
d: ab,
|
|
16533
16608
|
fill: `url(#${s})`
|
|
16534
16609
|
}),
|
|
16535
|
-
|
|
16610
|
+
ob.map((e) => /* @__PURE__ */ S("path", {
|
|
16536
16611
|
d: e,
|
|
16537
16612
|
fill: "#FFE8A8",
|
|
16538
16613
|
opacity: "0.8"
|
|
16539
16614
|
}, e)),
|
|
16540
16615
|
/* @__PURE__ */ S("path", {
|
|
16541
|
-
d:
|
|
16616
|
+
d: sb,
|
|
16542
16617
|
fill: "#FFFFFF",
|
|
16543
16618
|
opacity: "0.9"
|
|
16544
16619
|
})
|
|
16545
16620
|
]
|
|
16546
16621
|
});
|
|
16547
16622
|
});
|
|
16548
|
-
|
|
16623
|
+
cb.displayName = "LogoGeometry";
|
|
16549
16624
|
// src/components/Brand/components/Logo.tsx
|
|
16550
|
-
var
|
|
16625
|
+
var lb = a(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => /* @__PURE__ */ S(cb, {
|
|
16551
16626
|
ref: a,
|
|
16552
16627
|
size: e,
|
|
16553
16628
|
title: n,
|
|
16554
16629
|
className: $("eidotter-logo", t && "eidotter-logo--glow", r),
|
|
16555
16630
|
...i
|
|
16556
16631
|
}));
|
|
16557
|
-
|
|
16632
|
+
lb.displayName = "Logo";
|
|
16558
16633
|
// src/components/Brand/components/Wordmark.tsx
|
|
16559
|
-
var
|
|
16634
|
+
var ub = a(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ C("span", {
|
|
16560
16635
|
ref: r,
|
|
16561
16636
|
className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
|
|
16562
16637
|
role: "img",
|
|
@@ -16572,27 +16647,27 @@ var rb = a(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ C("span"
|
|
|
16572
16647
|
children: "Dotter"
|
|
16573
16648
|
})]
|
|
16574
16649
|
}));
|
|
16575
|
-
|
|
16650
|
+
ub.displayName = "Wordmark";
|
|
16576
16651
|
// src/components/Brand/components/BrandLockup.tsx
|
|
16577
|
-
var
|
|
16652
|
+
var db = a(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ C("div", {
|
|
16578
16653
|
ref: o,
|
|
16579
16654
|
className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
|
|
16580
16655
|
role: "img",
|
|
16581
16656
|
"aria-label": "eiDotter",
|
|
16582
16657
|
...a,
|
|
16583
|
-
children: [!n && /* @__PURE__ */ S(
|
|
16658
|
+
children: [!n && /* @__PURE__ */ S(lb, {
|
|
16584
16659
|
size: e,
|
|
16585
16660
|
glow: r,
|
|
16586
16661
|
title: ""
|
|
16587
|
-
}), !t && /* @__PURE__ */ S(
|
|
16662
|
+
}), !t && /* @__PURE__ */ S(ub, {
|
|
16588
16663
|
glow: r,
|
|
16589
16664
|
"aria-hidden": "true"
|
|
16590
16665
|
})]
|
|
16591
16666
|
}));
|
|
16592
|
-
|
|
16667
|
+
db.displayName = "BrandLockup";
|
|
16593
16668
|
// src/components/Brand/components/markGeometry.ts
|
|
16594
|
-
var
|
|
16595
|
-
function
|
|
16669
|
+
var fb = 9.25 / 22, pb = (e) => Math.round(e * 100) / 100;
|
|
16670
|
+
function mb(e, t, n = {}) {
|
|
16596
16671
|
let { curvature: r = 24, startRadius: i = 0 } = n;
|
|
16597
16672
|
if (e.width === 0 || e.height === 0) return [];
|
|
16598
16673
|
let a = t.filter((e) => e.width !== 0 || e.height !== 0);
|
|
@@ -16602,23 +16677,23 @@ function sb(e, t, n = {}) {
|
|
|
16602
16677
|
let a = t.x - e.x, l = t.y - e.y, u = a + t.width / 2 >= o ? a : a + t.width, d = l + t.height / 2, f = u - o, p = d - s, m = Math.hypot(f, p);
|
|
16603
16678
|
if (m - i < 1) return;
|
|
16604
16679
|
let h = o + f / m * i, g = s + p / m * i, _ = u - h, v = d - g, y = Math.hypot(_, v), b = (n % 2 == 0 ? 1 : -1) * Math.min(r, y / 3), x = (h + u) / 2, S = (g + d) / 2, C = x + -v / y * b, w = S + _ / y * b;
|
|
16605
|
-
c.push(`M ${
|
|
16680
|
+
c.push(`M ${pb(h)} ${pb(g)} Q ${pb(C)} ${pb(w)} ${pb(u)} ${pb(d)}`);
|
|
16606
16681
|
}), c;
|
|
16607
16682
|
}
|
|
16608
16683
|
// src/components/Brand/components/Mark.tsx
|
|
16609
|
-
var
|
|
16610
|
-
let d = m(null), [f, p] = h(
|
|
16684
|
+
var hb = [], gb = a(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow: r = !0, arms: i, className: a, style: o, ...c }, u) => {
|
|
16685
|
+
let d = m(null), [f, p] = h(hb), g = s((e) => {
|
|
16611
16686
|
d.current = e, typeof u == "function" ? u(e) : u && (u.current = e);
|
|
16612
16687
|
}, [u]);
|
|
16613
16688
|
return l(() => {
|
|
16614
16689
|
if (!i) {
|
|
16615
|
-
p(
|
|
16690
|
+
p(hb);
|
|
16616
16691
|
return;
|
|
16617
16692
|
}
|
|
16618
16693
|
let e = d.current, t = i.scopeRef.current;
|
|
16619
16694
|
if (!e) return;
|
|
16620
16695
|
let n = [], r = () => {
|
|
16621
|
-
let t = e.getBoundingClientRect(), r =
|
|
16696
|
+
let t = e.getBoundingClientRect(), r = mb(t, n.map((e) => e.getBoundingClientRect()), { startRadius: t.width * fb });
|
|
16622
16697
|
p((e) => e.length === r.length && e.every((e, t) => e === r[t]) ? e : r);
|
|
16623
16698
|
}, a = () => i.targetRefs ? i.targetRefs.map((e) => e.current).filter((e) => !!e) : t ? Array.from(t.querySelectorAll(i.targetSelector ?? ".eidotter-header__category")) : [], o = typeof ResizeObserver < "u" ? new ResizeObserver(r) : void 0, s = () => {
|
|
16624
16699
|
o?.disconnect(), n = a(), o?.observe(e), t && o?.observe(t), n.forEach((e) => o?.observe(e)), r();
|
|
@@ -16659,7 +16734,7 @@ var cb = [], lb = a(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
|
|
|
16659
16734
|
stroke: "currentColor",
|
|
16660
16735
|
strokeWidth: 2
|
|
16661
16736
|
}, t))
|
|
16662
|
-
}), /* @__PURE__ */ S(
|
|
16737
|
+
}), /* @__PURE__ */ S(cb, {
|
|
16663
16738
|
size: "100%",
|
|
16664
16739
|
title: "",
|
|
16665
16740
|
focusable: "false",
|
|
@@ -16667,10 +16742,10 @@ var cb = [], lb = a(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
|
|
|
16667
16742
|
})]
|
|
16668
16743
|
});
|
|
16669
16744
|
});
|
|
16670
|
-
|
|
16745
|
+
gb.displayName = "Mark";
|
|
16671
16746
|
// src/components/Header/components/HeaderContextRow.tsx
|
|
16672
|
-
var
|
|
16673
|
-
function
|
|
16747
|
+
var _b = $("eidotter-header__return", "inline-flex items-center gap-1 no-underline", "border border-dos-border-default rounded-dos-base", "px-2 py-0.5 text-dos-text-base uppercase tracking-wider");
|
|
16748
|
+
function vb({ context: e, linkComponent: t, activeHref: n }) {
|
|
16674
16749
|
let r = t ?? "a", { categories: i, returnTo: a } = e, o = a && y_(a.href) ? a.href : void 0, s = (e, t) => {
|
|
16675
16750
|
if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
|
|
16676
16751
|
let n = window.open(t, "rizomorf-shell");
|
|
@@ -16682,16 +16757,16 @@ function db({ context: e, linkComponent: t, activeHref: n }) {
|
|
|
16682
16757
|
return /* @__PURE__ */ C("div", {
|
|
16683
16758
|
className: $("eidotter-header__context", "flex w-full flex-wrap items-center gap-x-4 gap-y-2"),
|
|
16684
16759
|
children: [a && (o === void 0 ? /* @__PURE__ */ S("span", {
|
|
16685
|
-
className:
|
|
16760
|
+
className: _b,
|
|
16686
16761
|
children: c
|
|
16687
16762
|
}) : a.reuseTab ? /* @__PURE__ */ S("a", {
|
|
16688
16763
|
href: o,
|
|
16689
16764
|
onClick: (e) => s(e, o),
|
|
16690
|
-
className:
|
|
16765
|
+
className: _b,
|
|
16691
16766
|
children: c
|
|
16692
16767
|
}) : /* @__PURE__ */ S(r, {
|
|
16693
16768
|
href: o,
|
|
16694
|
-
className:
|
|
16769
|
+
className: _b,
|
|
16695
16770
|
children: c
|
|
16696
16771
|
})), i.length > 0 && /* @__PURE__ */ S("nav", {
|
|
16697
16772
|
"aria-label": "Categories",
|
|
@@ -16731,23 +16806,23 @@ function db({ context: e, linkComponent: t, activeHref: n }) {
|
|
|
16731
16806
|
});
|
|
16732
16807
|
}
|
|
16733
16808
|
// src/components/Header/components/Header.tsx
|
|
16734
|
-
var
|
|
16809
|
+
var yb = {
|
|
16735
16810
|
retro: "eidotter-header--retro",
|
|
16736
16811
|
modern: "eidotter-header--modern"
|
|
16737
|
-
},
|
|
16812
|
+
}, bb = a(({ brandName: t, brandHref: n = "/", items: r, activeHref: i, variant: a = "retro", sticky: o = !0, linkComponent: s, context: c, brand: l = "lockup", brandCollapse: u = "none", layout: d = "inline", rule: f = !0, contained: p = !1, end: m, skipLinkTarget: h, children: g, className: _, style: v, ...y }, b) => {
|
|
16738
16813
|
let w = s ?? "a", T = y_(n) ? n : "/", E = !!c && (c.categories.length > 0 || !!c.returnTo), D = h && y_(h) ? h : void 0, O = !g && !!t && l !== "text", k = O && u === "mark", A = d === "stacked", j = typeof p == "string" ? p.trim() : "", M = p === !0 || j !== "", N = g || (O ? /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("span", {
|
|
16739
16814
|
className: "eidotter-header__brand-name uppercase tracking-[0.3em]",
|
|
16740
16815
|
children: t
|
|
16741
|
-
}), l === "mark" ? /* @__PURE__ */ S(
|
|
16816
|
+
}), l === "mark" ? /* @__PURE__ */ S(gb, {
|
|
16742
16817
|
size: 28,
|
|
16743
16818
|
label: "",
|
|
16744
16819
|
className: "eidotter-header__brand-icon"
|
|
16745
|
-
}) : /* @__PURE__ */ S(
|
|
16820
|
+
}) : /* @__PURE__ */ S(lb, {
|
|
16746
16821
|
size: 28,
|
|
16747
16822
|
glow: !0,
|
|
16748
16823
|
title: "",
|
|
16749
16824
|
className: "eidotter-header__brand-icon"
|
|
16750
|
-
})] }) : t), P = m != null && m !== !1 && m !== "", F = Array.isArray(r) && r.length > 0, I = P ? "div" : e.Fragment, L = P ? { className: "eidotter-header__actions flex items-center gap-4" } : {}, R = F ? /* @__PURE__ */ S(
|
|
16825
|
+
})] }) : t), P = m != null && m !== !1 && m !== "", F = Array.isArray(r) && r.length > 0, I = P ? "div" : e.Fragment, L = P ? { className: "eidotter-header__actions flex items-center gap-4" } : {}, R = F ? /* @__PURE__ */ S(Ky, {
|
|
16751
16826
|
items: r,
|
|
16752
16827
|
activeHref: i,
|
|
16753
16828
|
variant: a,
|
|
@@ -16765,7 +16840,7 @@ var fb = {
|
|
|
16765
16840
|
className: "eidotter-header__end flex items-center",
|
|
16766
16841
|
children: m
|
|
16767
16842
|
}),
|
|
16768
|
-
F && /* @__PURE__ */ S(
|
|
16843
|
+
F && /* @__PURE__ */ S(qy, {
|
|
16769
16844
|
items: r,
|
|
16770
16845
|
activeHref: i,
|
|
16771
16846
|
variant: a,
|
|
@@ -16782,7 +16857,7 @@ var fb = {
|
|
|
16782
16857
|
children: ee
|
|
16783
16858
|
}),
|
|
16784
16859
|
A && R,
|
|
16785
|
-
E && /* @__PURE__ */ S(
|
|
16860
|
+
E && /* @__PURE__ */ S(vb, {
|
|
16786
16861
|
context: c,
|
|
16787
16862
|
linkComponent: s,
|
|
16788
16863
|
activeHref: i
|
|
@@ -16793,7 +16868,7 @@ var fb = {
|
|
|
16793
16868
|
} : v;
|
|
16794
16869
|
return /* @__PURE__ */ C("header", {
|
|
16795
16870
|
ref: b,
|
|
16796
|
-
className: $(M ? "px-4 py-3 font-dos" : $(V, "px-4 py-3 font-dos"), "eidotter-header",
|
|
16871
|
+
className: $(M ? "px-4 py-3 font-dos" : $(V, "px-4 py-3 font-dos"), "eidotter-header", yb[a], A && "eidotter-header--stacked", M && "eidotter-header--contained", !f && "eidotter-header--no-rule", k && "eidotter-header--collapse-mark", o ? "sticky top-0 z-50 bg-dos-bg-primary" : "eidotter-header--static", _),
|
|
16797
16872
|
style: H,
|
|
16798
16873
|
...y,
|
|
16799
16874
|
children: [z, M ? /* @__PURE__ */ S("div", {
|
|
@@ -16802,9 +16877,9 @@ var fb = {
|
|
|
16802
16877
|
}) : te]
|
|
16803
16878
|
});
|
|
16804
16879
|
});
|
|
16805
|
-
|
|
16880
|
+
bb.displayName = "Header";
|
|
16806
16881
|
// src/components/Connector/components/connectorGeometry.ts
|
|
16807
|
-
var
|
|
16882
|
+
var xb = {
|
|
16808
16883
|
delicate: {
|
|
16809
16884
|
base: 5,
|
|
16810
16885
|
mid: 3.2,
|
|
@@ -16817,11 +16892,11 @@ var mb = {
|
|
|
16817
16892
|
tip: 5,
|
|
16818
16893
|
curvature: 30
|
|
16819
16894
|
}
|
|
16820
|
-
},
|
|
16821
|
-
function
|
|
16822
|
-
return e < .5 ?
|
|
16895
|
+
}, Sb = 28, Cb = (e) => Math.round(e * 100) / 100, wb = (e, t, n) => e + (t - e) * n, Tb = (e) => e < .5 ? 2 * e * e : 1 - (-2 * e + 2) ** 2 / 2;
|
|
16896
|
+
function Eb(e, t) {
|
|
16897
|
+
return e < .5 ? wb(t.base, t.mid, Tb(e / .5)) : wb(t.mid, t.tip, Tb((e - .5) / .5));
|
|
16823
16898
|
}
|
|
16824
|
-
function
|
|
16899
|
+
function Db(e, t, n) {
|
|
16825
16900
|
let r = t.x - e.x, i = t.y - e.y, a = n.width / 2, o = n.height / 2, s = r === 0 ? Infinity : a / Math.abs(r), c = i === 0 ? Infinity : o / Math.abs(i), l = Math.min(s, c);
|
|
16826
16901
|
return Number.isFinite(l) ? {
|
|
16827
16902
|
x: e.x + r * l,
|
|
@@ -16831,21 +16906,21 @@ function bb(e, t, n) {
|
|
|
16831
16906
|
y: e.y
|
|
16832
16907
|
};
|
|
16833
16908
|
}
|
|
16834
|
-
function
|
|
16909
|
+
function Ob(e, t, n, r, i) {
|
|
16835
16910
|
let a = 1 - i, o = a * a * a, s = 3 * a * a * i, c = 3 * a * i * i, l = i * i * i;
|
|
16836
16911
|
return {
|
|
16837
16912
|
x: o * e.x + s * t.x + c * n.x + l * r.x,
|
|
16838
16913
|
y: o * e.y + s * t.y + c * n.y + l * r.y
|
|
16839
16914
|
};
|
|
16840
16915
|
}
|
|
16841
|
-
function
|
|
16916
|
+
function kb(e, t, n, r, i) {
|
|
16842
16917
|
let a = 1 - i, o = 3 * a * a, s = 6 * a * i, c = 3 * i * i;
|
|
16843
16918
|
return {
|
|
16844
16919
|
x: o * (t.x - e.x) + s * (n.x - t.x) + c * (r.x - n.x),
|
|
16845
16920
|
y: o * (t.y - e.y) + s * (n.y - t.y) + c * (r.y - n.y)
|
|
16846
16921
|
};
|
|
16847
16922
|
}
|
|
16848
|
-
function
|
|
16923
|
+
function Ab(e, t, n, r = {}) {
|
|
16849
16924
|
let { sign: i = 1, sway: a = 0 } = r, o = t.x - e.x, s = t.y - e.y, c = Math.hypot(o, s);
|
|
16850
16925
|
if (c < .5) return "";
|
|
16851
16926
|
let l = -s / c, u = o / c, d = Math.min(n.curvature, c / 3), f = (d + a) * i, p = (d * .5 - a * .6) * i, m = {
|
|
@@ -16855,8 +16930,8 @@ function Cb(e, t, n, r = {}) {
|
|
|
16855
16930
|
x: e.x + o * .66 + l * p,
|
|
16856
16931
|
y: e.y + s * .66 + u * p
|
|
16857
16932
|
}, g = [], _ = [];
|
|
16858
|
-
for (let r = 0; r <=
|
|
16859
|
-
let i = r /
|
|
16933
|
+
for (let r = 0; r <= Sb; r++) {
|
|
16934
|
+
let i = r / Sb, a = Ob(e, m, h, t, i), o = kb(e, m, h, t, i), s = Math.hypot(o.x, o.y) || 1, c = -o.y / s, l = o.x / s, u = Eb(i, n);
|
|
16860
16935
|
g.push({
|
|
16861
16936
|
x: a.x + c * u,
|
|
16862
16937
|
y: a.y + l * u
|
|
@@ -16865,13 +16940,13 @@ function Cb(e, t, n, r = {}) {
|
|
|
16865
16940
|
y: a.y - l * u
|
|
16866
16941
|
});
|
|
16867
16942
|
}
|
|
16868
|
-
let v = `M ${
|
|
16869
|
-
for (let e = 1; e <=
|
|
16870
|
-
for (let e =
|
|
16943
|
+
let v = `M ${Cb(g[0].x)} ${Cb(g[0].y)}`;
|
|
16944
|
+
for (let e = 1; e <= Sb; e++) v += ` L ${Cb(g[e].x)} ${Cb(g[e].y)}`;
|
|
16945
|
+
for (let e = Sb; e >= 0; e--) v += ` L ${Cb(_[e].x)} ${Cb(_[e].y)}`;
|
|
16871
16946
|
return v += " Z", v;
|
|
16872
16947
|
}
|
|
16873
16948
|
// src/components/Connector/components/Connector.tsx
|
|
16874
|
-
var
|
|
16949
|
+
var jb = .0011, Mb = 4, Nb = a(({ sourceRef: e, targets: t, weight: n = "delicate", sway: r = !0, refreshKey: i, className: a, ...o }, c) => {
|
|
16875
16950
|
let d = u().replace(/[:]/g, ""), f = m(null), p = m([]), h = m([]), g = m(null), _ = m(t);
|
|
16876
16951
|
_.current = t;
|
|
16877
16952
|
let v = m(n);
|
|
@@ -16888,7 +16963,7 @@ var wb = .0011, Tb = 4, Eb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16888
16963
|
let o = a.getBoundingClientRect(), s = {
|
|
16889
16964
|
x: o.left - i.left + o.width / 2,
|
|
16890
16965
|
y: o.top - i.top + o.height / 2
|
|
16891
|
-
}, c =
|
|
16966
|
+
}, c = xb[v.current] ?? xb.delicate, l = r && !nh();
|
|
16892
16967
|
_.current.forEach((e, t) => {
|
|
16893
16968
|
let r = e.ref.current, a = p.current[t];
|
|
16894
16969
|
if (!a) return;
|
|
@@ -16906,11 +16981,11 @@ var wb = .0011, Tb = 4, Eb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16906
16981
|
y: o.top - i.top,
|
|
16907
16982
|
width: o.width,
|
|
16908
16983
|
height: o.height
|
|
16909
|
-
}, d =
|
|
16984
|
+
}, d = Db({
|
|
16910
16985
|
x: u.x + u.width / 2,
|
|
16911
16986
|
y: u.y + u.height / 2
|
|
16912
|
-
}, s, u), f = t % 2 == 0 ? 1 : -1, m = l ? Math.sin(n *
|
|
16913
|
-
a.setAttribute("d",
|
|
16987
|
+
}, s, u), f = t % 2 == 0 ? 1 : -1, m = l ? Math.sin(n * jb + t * 1.7) * Mb : 0;
|
|
16988
|
+
a.setAttribute("d", Ab(s, d, c, {
|
|
16914
16989
|
sign: f,
|
|
16915
16990
|
sway: m
|
|
16916
16991
|
}));
|
|
@@ -16972,15 +17047,15 @@ var wb = .0011, Tb = 4, Eb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16972
17047
|
}, t))]
|
|
16973
17048
|
});
|
|
16974
17049
|
});
|
|
16975
|
-
|
|
17050
|
+
Nb.displayName = "Connector";
|
|
16976
17051
|
// src/components/Notification/components/Notification.tsx
|
|
16977
|
-
var
|
|
17052
|
+
var Pb = {
|
|
16978
17053
|
primary: "Info",
|
|
16979
17054
|
gray: "Info",
|
|
16980
17055
|
success: "Done",
|
|
16981
17056
|
warning: "Warning",
|
|
16982
17057
|
error: "Error"
|
|
16983
|
-
},
|
|
17058
|
+
}, Fb = ({ type: e = "primary", title: t, children: n, actions: r, onClose: i, avatar: a, image: o, progress: s, progressLabel: c, duration: u, showIcon: d = !0, className: f }) => {
|
|
16984
17059
|
let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = rh("eidotter-pop-out", i);
|
|
16985
17060
|
l(() => {
|
|
16986
17061
|
if (u == null || !i) return;
|
|
@@ -16993,7 +17068,7 @@ var Db = {
|
|
|
16993
17068
|
]);
|
|
16994
17069
|
let g = d && !a, _ = s != null;
|
|
16995
17070
|
return /* @__PURE__ */ C("div", {
|
|
16996
|
-
className: $("w-full max-w-[400px]", "font-dos text-dos-text-
|
|
17071
|
+
className: $("w-full max-w-[400px]", "font-dos text-dos-text-base", "border border-dos-border-default", "eidotter-notification", `eidotter-notification--${e}`, p && "eidotter-notification--closing", f),
|
|
16997
17072
|
onAnimationEnd: h,
|
|
16998
17073
|
role: e === "error" ? "alert" : "status",
|
|
16999
17074
|
"data-type": e,
|
|
@@ -17010,7 +17085,7 @@ var Db = {
|
|
|
17010
17085
|
g && /* @__PURE__ */ S("div", {
|
|
17011
17086
|
className: "eidotter-notification__icon",
|
|
17012
17087
|
children: /* @__PURE__ */ S(eh, {
|
|
17013
|
-
name:
|
|
17088
|
+
name: Pb[e] || "Info",
|
|
17014
17089
|
size: "S",
|
|
17015
17090
|
"aria-label": `${e} notification`
|
|
17016
17091
|
})
|
|
@@ -17037,7 +17112,7 @@ var Db = {
|
|
|
17037
17112
|
fullWidth: !0,
|
|
17038
17113
|
showLabel: !1
|
|
17039
17114
|
}), c && /* @__PURE__ */ S("div", {
|
|
17040
|
-
className: "eidotter-notification__text font-dos text-dos-text-
|
|
17115
|
+
className: "eidotter-notification__text font-dos text-dos-text-base",
|
|
17041
17116
|
children: c
|
|
17042
17117
|
})]
|
|
17043
17118
|
}),
|
|
@@ -17062,7 +17137,7 @@ var Db = {
|
|
|
17062
17137
|
});
|
|
17063
17138
|
};
|
|
17064
17139
|
// src/components/InlineLink/components/InlineLink.tsx
|
|
17065
|
-
function
|
|
17140
|
+
function Ib(e) {
|
|
17066
17141
|
let t = e.trim();
|
|
17067
17142
|
return t === "" || y_(t, { extraSchemes: [
|
|
17068
17143
|
"tel",
|
|
@@ -17070,14 +17145,14 @@ function kb(e) {
|
|
|
17070
17145
|
"sms"
|
|
17071
17146
|
] }) ? t : "#";
|
|
17072
17147
|
}
|
|
17073
|
-
function
|
|
17148
|
+
function Lb(e, t) {
|
|
17074
17149
|
if (t.length === 0) return e;
|
|
17075
17150
|
let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
|
|
17076
17151
|
for (let e of t) n.add(e.toLowerCase());
|
|
17077
17152
|
return Array.from(n).join(" ");
|
|
17078
17153
|
}
|
|
17079
|
-
var
|
|
17080
|
-
let l =
|
|
17154
|
+
var Rb = a(({ children: e, href: t, showGlyph: n = !0, external: r = !1, className: i, target: a, rel: o, ...s }, c) => {
|
|
17155
|
+
let l = Ib(t), u = a ?? (r ? "_blank" : void 0), d = u === "_blank", f = d ? Lb(o, ["noopener", "noreferrer"]) : o, p = r && d ? "↗" : "▸";
|
|
17081
17156
|
return /* @__PURE__ */ C("a", {
|
|
17082
17157
|
ref: c,
|
|
17083
17158
|
href: l,
|
|
@@ -17095,9 +17170,9 @@ var jb = a(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
|
|
|
17095
17170
|
})]
|
|
17096
17171
|
});
|
|
17097
17172
|
});
|
|
17098
|
-
|
|
17173
|
+
Rb.displayName = "InlineLink";
|
|
17099
17174
|
// src/components/DosFigure/components/DosFigure.tsx
|
|
17100
|
-
var
|
|
17175
|
+
var zb = a(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, c) => {
|
|
17101
17176
|
let l = u(), d = r ? l : void 0;
|
|
17102
17177
|
return /* @__PURE__ */ C("figure", {
|
|
17103
17178
|
ref: c,
|
|
@@ -17157,9 +17232,9 @@ var Mb = a(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
|
|
|
17157
17232
|
})]
|
|
17158
17233
|
});
|
|
17159
17234
|
});
|
|
17160
|
-
|
|
17235
|
+
zb.displayName = "DosFigure";
|
|
17161
17236
|
// src/components/CmdPalette/components/CmdPalette.tsx
|
|
17162
|
-
var
|
|
17237
|
+
var Bb = /* @__PURE__ */ C(x, { children: [
|
|
17163
17238
|
/* @__PURE__ */ S("span", {
|
|
17164
17239
|
className: "eidotter-cmdpal__key-hint",
|
|
17165
17240
|
children: "↑/↓ NAVIGATE"
|
|
@@ -17175,7 +17250,7 @@ var Nb = /* @__PURE__ */ C(x, { children: [
|
|
|
17175
17250
|
children: "ESC CLOSE"
|
|
17176
17251
|
})
|
|
17177
17252
|
] });
|
|
17178
|
-
function
|
|
17253
|
+
function Vb(e) {
|
|
17179
17254
|
let t = e.toLowerCase().split("+").map((e) => e.trim()), n = t[t.length - 1], r = t.includes("mod"), i = t.includes("shift"), a = t.includes("alt");
|
|
17180
17255
|
return (e) => {
|
|
17181
17256
|
if (e.key.toLowerCase() !== n) return !1;
|
|
@@ -17183,15 +17258,15 @@ function Pb(e) {
|
|
|
17183
17258
|
return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
|
|
17184
17259
|
};
|
|
17185
17260
|
}
|
|
17186
|
-
function
|
|
17261
|
+
function Hb(e, t) {
|
|
17187
17262
|
if (!t) return 0;
|
|
17188
17263
|
let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
|
|
17189
17264
|
return r.startsWith(n) ? 100 : i.some((e) => e.startsWith(n)) ? 80 : r.includes(n) ? 50 : i.some((e) => e.includes(n)) ? 30 : (e.type || "").toLowerCase().includes(n) ? 10 : -1;
|
|
17190
17265
|
}
|
|
17191
|
-
var
|
|
17266
|
+
var Ub = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TYPE · ▸", hotkey: i = "mod+k", emptyMessage: a = "NO MATCHES", footerHint: o = Bb, renderItem: c, maxResults: d = 20, className: p, "aria-label": g = "Command palette" }, _) => {
|
|
17192
17267
|
let v = u(), y = `${v}-listbox`, [b, w] = h(""), [T, E] = h(0), D = m(null), O = m(null), k = m(!1), A = f(() => b.trim() ? n.map((e) => ({
|
|
17193
17268
|
item: e,
|
|
17194
|
-
score:
|
|
17269
|
+
score: Hb(e, b.trim())
|
|
17195
17270
|
})).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, d).map((e) => e.item) : n.slice(0, d), [
|
|
17196
17271
|
n,
|
|
17197
17272
|
b,
|
|
@@ -17216,7 +17291,7 @@ var Ib = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
17216
17291
|
M.current = t;
|
|
17217
17292
|
}, [t]), l(() => {
|
|
17218
17293
|
if (i === !1) return;
|
|
17219
|
-
let e =
|
|
17294
|
+
let e = Vb(i), t = (t) => {
|
|
17220
17295
|
e(t) && (t.preventDefault(), M.current(!j.current));
|
|
17221
17296
|
};
|
|
17222
17297
|
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
@@ -17322,9 +17397,9 @@ var Ib = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
17322
17397
|
})]
|
|
17323
17398
|
});
|
|
17324
17399
|
});
|
|
17325
|
-
|
|
17400
|
+
Ub.displayName = "CmdPalette";
|
|
17326
17401
|
// src/components/AIText/components/AIText.tsx
|
|
17327
|
-
var
|
|
17402
|
+
var Wb = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ C("span", {
|
|
17328
17403
|
"data-provenance": "ai-draft",
|
|
17329
17404
|
className: $("eidotter-ai-text", t),
|
|
17330
17405
|
title: n,
|
|
@@ -17333,9 +17408,9 @@ var Lb = ({ children: e, className: t, title: n = "AI-assisted text — being re
|
|
|
17333
17408
|
children: "AI-assisted: "
|
|
17334
17409
|
}), e]
|
|
17335
17410
|
});
|
|
17336
|
-
|
|
17411
|
+
Wb.displayName = "AIText";
|
|
17337
17412
|
// src/components/LegalPage/components/LegalPage.tsx
|
|
17338
|
-
var
|
|
17413
|
+
var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a, className: o, ...s }) => /* @__PURE__ */ C("div", {
|
|
17339
17414
|
className: $("eidotter-legal-page", i && "eidotter-legal-page--embedded", o),
|
|
17340
17415
|
...s,
|
|
17341
17416
|
children: [r && /* @__PURE__ */ S("div", {
|
|
@@ -17358,13 +17433,13 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17358
17433
|
className: "eidotter-legal-page__body",
|
|
17359
17434
|
children: a
|
|
17360
17435
|
})] })]
|
|
17361
|
-
}),
|
|
17436
|
+
}), Kb = /* @__PURE__ */ C(x, { children: [
|
|
17362
17437
|
"Haus-Endt-Str. 149A",
|
|
17363
17438
|
/* @__PURE__ */ S("br", {}),
|
|
17364
17439
|
"40593 Düsseldorf",
|
|
17365
17440
|
/* @__PURE__ */ S("br", {}),
|
|
17366
17441
|
"Deutschland"
|
|
17367
|
-
] }),
|
|
17442
|
+
] }), qb = "Dominic Kennedy", Jb = ({ email: e, address: t = Kb, name: n = qb }) => /* @__PURE__ */ C("address", { children: [
|
|
17368
17443
|
n,
|
|
17369
17444
|
/* @__PURE__ */ S("br", {}),
|
|
17370
17445
|
t,
|
|
@@ -17376,16 +17451,16 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17376
17451
|
children: e
|
|
17377
17452
|
})
|
|
17378
17453
|
] })
|
|
17379
|
-
] }),
|
|
17454
|
+
] }), Yb = (e) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Angaben gemäß § 5 DDG" }), /* @__PURE__ */ S(Jb, { ...e })] }), Xb = ({ email: e }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Kontakt" }), /* @__PURE__ */ C("p", { children: ["E-Mail: ", /* @__PURE__ */ S("a", {
|
|
17380
17455
|
href: `mailto:${e}`,
|
|
17381
17456
|
children: e
|
|
17382
|
-
})] })] }),
|
|
17457
|
+
})] })] }), Zb = ({ name: e = qb }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ C("address", { children: [
|
|
17383
17458
|
e,
|
|
17384
17459
|
/* @__PURE__ */ S("br", {}),
|
|
17385
17460
|
"Haus-Endt-Str. 149A",
|
|
17386
17461
|
/* @__PURE__ */ S("br", {}),
|
|
17387
17462
|
"40593 Düsseldorf"
|
|
17388
|
-
] })] }),
|
|
17463
|
+
] })] }), Qb = () => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Haftung für Inhalte" }), /* @__PURE__ */ S("p", { children: "Ich erstelle die Inhalte dieser Seiten mit größter Sorgfalt, übernehme jedoch keine Gewähr für Richtigkeit, Vollständigkeit oder Aktualität. Als Diensteanbieter bin ich gemäß § 7 Abs. 1 DDG für eigene Inhalte verantwortlich. Eine Pflicht zur Überwachung fremder Informationen besteht gemäß §§ 8–10 DDG nicht." })] }), $b = () => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Haftung für Links" }), /* @__PURE__ */ S("p", { children: "Diese Website verlinkt auf externe Seiten Dritter, auf deren Inhalte ich keinen Einfluss habe. Für verlinkte Inhalte haftet der jeweilige Anbieter. Eine dauerhafte Kontrolle ist ohne Anhaltspunkte für Rechtsverletzungen nicht zumutbar. Bei Bekanntwerden von Verstößen entferne ich solche Links umgehend." })] }), ex = ({ email: e, name: t = qb }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Verantwortlicher" }), /* @__PURE__ */ C("address", { children: [
|
|
17389
17464
|
t,
|
|
17390
17465
|
/* @__PURE__ */ S("br", {}),
|
|
17391
17466
|
"Haus-Endt-Str. 149A",
|
|
@@ -17397,14 +17472,14 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17397
17472
|
href: `mailto:${e}`,
|
|
17398
17473
|
children: e
|
|
17399
17474
|
})
|
|
17400
|
-
] })] }),
|
|
17475
|
+
] })] }), tx = () => /* @__PURE__ */ C(x, { children: [
|
|
17401
17476
|
/* @__PURE__ */ S("h2", { children: "Hosting" }),
|
|
17402
17477
|
/* @__PURE__ */ S("p", { children: "Cloudflare Pages stellt diese Website bereit. Beim Seitenaufruf erhebt Cloudflare automatisch technische Zugriffsdaten (darunter Ihre IP-Adresse), um die Seite auszuliefern." }),
|
|
17403
17478
|
/* @__PURE__ */ S("p", {
|
|
17404
17479
|
className: "eidotter-legal-page__basis",
|
|
17405
17480
|
children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
17406
17481
|
})
|
|
17407
|
-
] }),
|
|
17482
|
+
] }), nx = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ C(x, { children: [
|
|
17408
17483
|
/* @__PURE__ */ S("h2", { children: "Webanalyse — PostHog" }),
|
|
17409
17484
|
/* @__PURE__ */ C("p", { children: [
|
|
17410
17485
|
"Diese Website nutzt PostHog zur Analyse des Nutzungsverhaltens. PostHog läuft auf EU-Servern (eu.posthog.com). Die Datenübertragung erfolgt über einen Reverse-Proxy auf der Domain ",
|
|
@@ -17421,7 +17496,7 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17421
17496
|
className: "eidotter-legal-page__basis",
|
|
17422
17497
|
children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
17423
17498
|
})
|
|
17424
|
-
] }),
|
|
17499
|
+
] }), rx = () => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Schriftarten" }), /* @__PURE__ */ S("p", { children: "Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt." })] }), ix = () => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Verschlüsselung" }), /* @__PURE__ */ S("p", { children: "Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers." })] }), ax = ({ email: e, supervisoryAuthority: t = "die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen" }) => /* @__PURE__ */ C(x, { children: [
|
|
17425
17500
|
/* @__PURE__ */ S("h2", { children: "Ihre Rechte" }),
|
|
17426
17501
|
/* @__PURE__ */ S("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
|
|
17427
17502
|
/* @__PURE__ */ C("ul", { children: [
|
|
@@ -17446,7 +17521,7 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17446
17521
|
t,
|
|
17447
17522
|
"."
|
|
17448
17523
|
] })
|
|
17449
|
-
] }),
|
|
17524
|
+
] }), ox = {
|
|
17450
17525
|
eidotter: { displayName: "eiDotter" },
|
|
17451
17526
|
spacewar: { displayName: "Spacewar!" },
|
|
17452
17527
|
rizomorf: { displayName: "rizomorf" },
|
|
@@ -17466,7 +17541,7 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17466
17541
|
},
|
|
17467
17542
|
"doctor-portal": { displayName: "Doctor Portal" },
|
|
17468
17543
|
dosbts: { displayName: "DOSBTS" }
|
|
17469
|
-
},
|
|
17544
|
+
}, sx = {
|
|
17470
17545
|
Alert: {
|
|
17471
17546
|
origin: "eidotter",
|
|
17472
17547
|
consumers: ["rizomorf", "steuerdash"],
|
|
@@ -19299,6 +19374,11 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19299
19374
|
}
|
|
19300
19375
|
},
|
|
19301
19376
|
changelog: [
|
|
19377
|
+
{
|
|
19378
|
+
version: "0.46.0",
|
|
19379
|
+
type: "changed",
|
|
19380
|
+
description: "sticky={false} paints no ground (transparent, class eidotter-header--static), so the page ground shows through; sticky headers keep the opaque ground"
|
|
19381
|
+
},
|
|
19302
19382
|
{
|
|
19303
19383
|
version: "0.45.0",
|
|
19304
19384
|
type: "changed",
|
|
@@ -19545,6 +19625,35 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19545
19625
|
description: "Initial IconButton: icon, required label (aria-label), size md/window, variant outline/bare, isDisabled, onPress, excludeFromTabOrder; adopted by Modal, Lightbox, Notification, Alert, Tag and Nav (DMNC-1592)"
|
|
19546
19626
|
}]
|
|
19547
19627
|
},
|
|
19628
|
+
HeaderButton: {
|
|
19629
|
+
origin: "eidotter",
|
|
19630
|
+
consumers: [],
|
|
19631
|
+
since: "0.46.0",
|
|
19632
|
+
originNote: "The one control shape for the Header end slot: a 36px outlined box (32px on phones) with an optional pixel glyph, text and chevron; hover and an open panel invert to the brand fill. DisplayMenu's trigger and a ⌘K launcher are both HeaderButtons, so header controls always match. React Aria Button.",
|
|
19633
|
+
variants: {
|
|
19634
|
+
"labelDisplay:label": {
|
|
19635
|
+
description: "Glyph and text always (default)",
|
|
19636
|
+
since: "0.46.0"
|
|
19637
|
+
},
|
|
19638
|
+
"labelDisplay:responsive": {
|
|
19639
|
+
description: "Glyph only below 640px (a text-only button keeps its text)",
|
|
19640
|
+
since: "0.46.0"
|
|
19641
|
+
},
|
|
19642
|
+
"labelDisplay:icon": {
|
|
19643
|
+
description: "Always glyph only, square",
|
|
19644
|
+
since: "0.46.0"
|
|
19645
|
+
}
|
|
19646
|
+
},
|
|
19647
|
+
platforms: { react: {
|
|
19648
|
+
path: "src/components/HeaderButton",
|
|
19649
|
+
status: "canonical"
|
|
19650
|
+
} },
|
|
19651
|
+
changelog: [{
|
|
19652
|
+
version: "0.46.0",
|
|
19653
|
+
type: "added",
|
|
19654
|
+
description: "Initial HeaderButton: icon, children, aria-label (defaults to string text), labelDisplay, chevron, className, plus React Aria Button props (onPress, isDisabled); stable classes eidotter-header-button, __icon, __label, __chevron"
|
|
19655
|
+
}]
|
|
19656
|
+
},
|
|
19548
19657
|
DisplayMenu: {
|
|
19549
19658
|
origin: "eidotter",
|
|
19550
19659
|
consumers: [],
|
|
@@ -19568,15 +19677,23 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19568
19677
|
path: "src/components/DisplayMenu",
|
|
19569
19678
|
status: "canonical"
|
|
19570
19679
|
} },
|
|
19571
|
-
changelog: [
|
|
19572
|
-
|
|
19573
|
-
|
|
19574
|
-
|
|
19575
|
-
|
|
19576
|
-
|
|
19577
|
-
|
|
19578
|
-
|
|
19579
|
-
|
|
19680
|
+
changelog: [
|
|
19681
|
+
{
|
|
19682
|
+
version: "0.46.0",
|
|
19683
|
+
type: "changed",
|
|
19684
|
+
description: "Trigger is a HeaderButton (same geometry, states and phone size as every header control); trigger styles moved to HeaderButton.css, the eidotter-display-menu class stays on the trigger"
|
|
19685
|
+
},
|
|
19686
|
+
{
|
|
19687
|
+
version: "0.45.1",
|
|
19688
|
+
type: "changed",
|
|
19689
|
+
description: "Opening the panel focuses the first enabled switch, so Space toggles it without a Tab"
|
|
19690
|
+
},
|
|
19691
|
+
{
|
|
19692
|
+
version: "0.45.0",
|
|
19693
|
+
type: "added",
|
|
19694
|
+
description: "Initial DisplayMenu: items ({ id, label, checked, onChange, disabled, hint }), label, labelDisplay, placement, className; stable classes eidotter-display-menu, __popover, __panel, __row, __switch, __hint (DMNC-1619)"
|
|
19695
|
+
}
|
|
19696
|
+
]
|
|
19580
19697
|
},
|
|
19581
19698
|
DosWindow: {
|
|
19582
19699
|
origin: "eidotter",
|
|
@@ -20359,26 +20476,26 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20359
20476
|
}]
|
|
20360
20477
|
}
|
|
20361
20478
|
};
|
|
20362
|
-
function
|
|
20363
|
-
return
|
|
20479
|
+
function cx(e) {
|
|
20480
|
+
return sx[e];
|
|
20364
20481
|
}
|
|
20365
|
-
function
|
|
20366
|
-
return Object.entries(
|
|
20482
|
+
function lx(e) {
|
|
20483
|
+
return Object.entries(sx).filter(([, t]) => t.origin === e).map(([e]) => e);
|
|
20367
20484
|
}
|
|
20368
|
-
function
|
|
20369
|
-
return Object.entries(
|
|
20485
|
+
function ux(e) {
|
|
20486
|
+
return Object.entries(sx).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
|
|
20370
20487
|
}
|
|
20371
|
-
function
|
|
20372
|
-
let n =
|
|
20488
|
+
function dx(e, t) {
|
|
20489
|
+
let n = sx[e];
|
|
20373
20490
|
return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
|
|
20374
20491
|
}
|
|
20375
|
-
function
|
|
20376
|
-
let t =
|
|
20492
|
+
function fx(e) {
|
|
20493
|
+
let t = sx[e];
|
|
20377
20494
|
if (!t?.variants) return {};
|
|
20378
20495
|
let n = {};
|
|
20379
20496
|
for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
|
|
20380
20497
|
return n;
|
|
20381
20498
|
}
|
|
20382
20499
|
// src/index.ts
|
|
20383
|
-
var
|
|
20384
|
-
export {
|
|
20500
|
+
var px = "0.46.0";
|
|
20501
|
+
export { Wb as AIText, uh as AccordionFill, Jb as AddressBlock, ch as Alert, h_ as Badge, qv as Bench, db as BrandLockup, x_ as Breadcrumb, ph as Button, n_ as CalendarHeatmap, gh as Card, $y as ChatContainer, Zy as ChatHistory, Qy as ChatInput, Xy as ChatMessage, _h as Checkbox, Dy as ChecklistRow, Ub as CmdPalette, vh as CommandPrompt, Nb as Connector, Oy as CopyButton, ex as DatenschutzController, ix as DatenschutzEncryption, rx as DatenschutzFonts, tx as DatenschutzHosting, nx as DatenschutzPostHog, ax as DatenschutzRights, qg as DecayStrip, Ky as DesktopNav, $v as DisplayMenu, pv as DosDialog, zb as DosFigure, mh as DosWindow, fg as EmptyState, vy as FilterBar, tb as Footer, tg as Gauge, bb as Header, Qv as HeaderButton, o_ as HoldToComplete, eh as Icon, th as IconButton, Yb as ImpressumAddress, Xb as ImpressumContact, Qb as ImpressumLiabilityContent, $b as ImpressumLiabilityLinks, Zb as ImpressumResponsible, xy as InlineExpand, Rb as InlineLink, c_ as Input, Uy as LabeledProgress, Hy as LedgerRow, Gb as LegalPage, mv as Lightbox, lb as Logo, gb as Mark, ug as Meter, mg as MeterGroup, qy as MobileNav, oy as Modal, Jy as Nav, Fb as Notification, Xv as PageSection, Yv as PageShell, Eh as Progress, Oh as ProgressRing, Tg as RangeBar, E_ as RetroEffects, lh as Section, Ty as SectionHeading, Vy as Select, Cy as Separator, jg as SeriesBars, Fh as Skeleton, gy as Stat, g_ as Switch, f_ as Tabs, Dv as Tag, kv as TagGroup, l_ as Terminal, Wy as TextScramble, Pv as TimelineContainer, Rv as TimelineFeed, j_ as TimelineNode, Wv as TimelinePage, Ig as VitalsStrip, ub as Wordmark, M_ as ZOOM_LEVELS, sx as componentRegistry, eb as defaultLegalLinks, iy as displayMenuItems, cx as getComponentMeta, ux as getComponentsByConsumer, lx as getComponentsByOrigin, fx as getVariantConsumerMap, dx as getVariantsUsedBy, y_ as isSafeHref, yy as isSafeUrl, ox as projects, ry as resolveDisplayTheme, ay as syncThemeColor, dy as useTextScramble, px as version };
|