eidotter 0.45.0 → 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 +4 -3
- package/dist/components/DisplayMenu/components/DisplayMenu.js +11 -7
- 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/Switch/components/Switch.d.ts +2 -0
- package/dist/components/Tag/components/Tag.js +5 -5
- package/dist/components/VitalsStrip/components/VitalsStrip.js +4 -4
- package/dist/components/registry.js +18 -0
- package/dist/eidotter.css +2 -2
- package/dist/index.d.ts +5 -1
- package/dist/index.es.js +422 -300
- 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(({
|
|
15336
|
-
let
|
|
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) => {
|
|
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,
|
|
@@ -15366,8 +15384,8 @@ var Zv = (e) => i("svg", Object.assign({
|
|
|
15366
15384
|
className: "eidotter-display-menu__panel",
|
|
15367
15385
|
children: /* @__PURE__ */ S("ul", {
|
|
15368
15386
|
className: "eidotter-display-menu__list",
|
|
15369
|
-
children: e.map((e) => {
|
|
15370
|
-
let
|
|
15387
|
+
children: e.map((e, t) => {
|
|
15388
|
+
let n = e.hint ? `${s}-${e.id}-hint` : void 0;
|
|
15371
15389
|
return /* @__PURE__ */ C("li", {
|
|
15372
15390
|
className: "eidotter-display-menu__row",
|
|
15373
15391
|
children: [/* @__PURE__ */ S(g_, {
|
|
@@ -15375,10 +15393,11 @@ var Zv = (e) => i("svg", Object.assign({
|
|
|
15375
15393
|
checked: e.checked,
|
|
15376
15394
|
onChange: e.onChange,
|
|
15377
15395
|
disabled: e.disabled,
|
|
15378
|
-
"aria-describedby":
|
|
15396
|
+
"aria-describedby": n,
|
|
15397
|
+
autoFocus: t === c,
|
|
15379
15398
|
className: "eidotter-display-menu__switch"
|
|
15380
15399
|
}), e.hint && /* @__PURE__ */ S("span", {
|
|
15381
|
-
id:
|
|
15400
|
+
id: n,
|
|
15382
15401
|
className: "eidotter-display-menu__hint",
|
|
15383
15402
|
children: e.hint
|
|
15384
15403
|
})]
|
|
@@ -15389,9 +15408,66 @@ var Zv = (e) => i("svg", Object.assign({
|
|
|
15389
15408
|
})]
|
|
15390
15409
|
});
|
|
15391
15410
|
});
|
|
15392
|
-
|
|
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
|
+
}
|
|
15393
15469
|
// src/components/Modal/components/Modal.tsx
|
|
15394
|
-
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) => {
|
|
15395
15471
|
let d = m(e), f = m(!1);
|
|
15396
15472
|
l(() => {
|
|
15397
15473
|
e !== d.current && (d.current = e, f.current || (t?.(e), e || n?.()), f.current = !1);
|
|
@@ -15430,34 +15506,34 @@ var $v = a(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, foo
|
|
|
15430
15506
|
})
|
|
15431
15507
|
});
|
|
15432
15508
|
});
|
|
15433
|
-
|
|
15509
|
+
oy.displayName = "Modal";
|
|
15434
15510
|
// src/hooks/useTextScramble.ts
|
|
15435
|
-
var
|
|
15436
|
-
function
|
|
15511
|
+
var sy = "░▒▓█│┤┐└┴┬├─┼", cy = 4, ly = typeof window < "u" ? d : l;
|
|
15512
|
+
function uy(e, t, n) {
|
|
15437
15513
|
let r = "";
|
|
15438
15514
|
for (let i = 0; i < e.length; i++) i < n || e[i] === " " ? r += e[i] : r += t[Math.floor(Math.random() * t.length)];
|
|
15439
15515
|
return r;
|
|
15440
15516
|
}
|
|
15441
|
-
function
|
|
15442
|
-
let { speed: n = 40, characters: r =
|
|
15443
|
-
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(() => {
|
|
15444
15520
|
if (!i || nh()) {
|
|
15445
15521
|
s(e), l(!1);
|
|
15446
15522
|
return;
|
|
15447
15523
|
}
|
|
15448
15524
|
let t = 0, o = 0, c = 0, d = a;
|
|
15449
|
-
s(
|
|
15525
|
+
s(uy(e, r, 0)), l(!0);
|
|
15450
15526
|
let f = (i) => {
|
|
15451
15527
|
c ||= i;
|
|
15452
15528
|
let a = i - c;
|
|
15453
15529
|
if (d > 0) d -= a, c = i, u.current = requestAnimationFrame(f);
|
|
15454
15530
|
else {
|
|
15455
15531
|
if (a >= n) {
|
|
15456
|
-
if (c = i, o++, o >=
|
|
15532
|
+
if (c = i, o++, o >= cy && (t++, o = 0), t >= e.length) {
|
|
15457
15533
|
s(e), l(!1);
|
|
15458
15534
|
return;
|
|
15459
15535
|
}
|
|
15460
|
-
s(
|
|
15536
|
+
s(uy(e, r, t));
|
|
15461
15537
|
}
|
|
15462
15538
|
u.current = requestAnimationFrame(f);
|
|
15463
15539
|
}
|
|
@@ -15477,60 +15553,60 @@ function iy(e, t) {
|
|
|
15477
15553
|
};
|
|
15478
15554
|
}
|
|
15479
15555
|
// src/components/Stat/components/Stat.tsx
|
|
15480
|
-
var
|
|
15556
|
+
var fy = {
|
|
15481
15557
|
sm: {
|
|
15482
15558
|
root: "gap-0.5",
|
|
15483
|
-
label: "text-dos-text-
|
|
15559
|
+
label: "text-dos-text-base",
|
|
15484
15560
|
value: "text-dos-display-xs",
|
|
15485
|
-
trend: "text-dos-text-
|
|
15561
|
+
trend: "text-dos-text-base"
|
|
15486
15562
|
},
|
|
15487
15563
|
md: {
|
|
15488
15564
|
root: "gap-1",
|
|
15489
|
-
label: "text-dos-text-
|
|
15565
|
+
label: "text-dos-text-base",
|
|
15490
15566
|
value: "text-dos-display-sm",
|
|
15491
|
-
trend: "text-dos-text-
|
|
15567
|
+
trend: "text-dos-text-base"
|
|
15492
15568
|
},
|
|
15493
15569
|
lg: {
|
|
15494
15570
|
root: "gap-1.5",
|
|
15495
|
-
label: "text-dos-text-
|
|
15571
|
+
label: "text-dos-text-base",
|
|
15496
15572
|
value: "text-dos-display-md",
|
|
15497
|
-
trend: "text-dos-text-
|
|
15573
|
+
trend: "text-dos-text-base"
|
|
15498
15574
|
},
|
|
15499
15575
|
small: {
|
|
15500
15576
|
root: "gap-0.5",
|
|
15501
|
-
label: "text-dos-text-
|
|
15577
|
+
label: "text-dos-text-base",
|
|
15502
15578
|
value: "text-dos-display-xs",
|
|
15503
|
-
trend: "text-dos-text-
|
|
15579
|
+
trend: "text-dos-text-base"
|
|
15504
15580
|
},
|
|
15505
15581
|
medium: {
|
|
15506
15582
|
root: "gap-1",
|
|
15507
|
-
label: "text-dos-text-
|
|
15583
|
+
label: "text-dos-text-base",
|
|
15508
15584
|
value: "text-dos-display-sm",
|
|
15509
|
-
trend: "text-dos-text-
|
|
15585
|
+
trend: "text-dos-text-base"
|
|
15510
15586
|
},
|
|
15511
15587
|
large: {
|
|
15512
15588
|
root: "gap-1.5",
|
|
15513
|
-
label: "text-dos-text-
|
|
15589
|
+
label: "text-dos-text-base",
|
|
15514
15590
|
value: "text-dos-display-md",
|
|
15515
|
-
trend: "text-dos-text-
|
|
15591
|
+
trend: "text-dos-text-base"
|
|
15516
15592
|
}
|
|
15517
|
-
},
|
|
15593
|
+
}, py = {
|
|
15518
15594
|
up: "text-dos-text-success",
|
|
15519
15595
|
down: "text-dos-text-error",
|
|
15520
15596
|
neutral: "text-dos-text-brand"
|
|
15521
|
-
},
|
|
15597
|
+
}, my = {
|
|
15522
15598
|
up: "▲",
|
|
15523
15599
|
down: "▼",
|
|
15524
15600
|
neutral: "►"
|
|
15525
|
-
},
|
|
15601
|
+
}, hy = {
|
|
15526
15602
|
up: "increasing",
|
|
15527
15603
|
down: "decreasing",
|
|
15528
15604
|
neutral: "unchanged"
|
|
15529
|
-
},
|
|
15530
|
-
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), {
|
|
15531
15607
|
speed: 30,
|
|
15532
15608
|
enabled: a
|
|
15533
|
-
}), p = a ? f : String(t), m =
|
|
15609
|
+
}), p = a ? f : String(t), m = fy[i] || fy.md;
|
|
15534
15610
|
return /* @__PURE__ */ C("div", {
|
|
15535
15611
|
ref: d,
|
|
15536
15612
|
className: $("flex flex-col font-dos", "eidotter-stat", m.root, l),
|
|
@@ -15556,12 +15632,12 @@ var ay = {
|
|
|
15556
15632
|
children: c
|
|
15557
15633
|
}),
|
|
15558
15634
|
n && /* @__PURE__ */ C("span", {
|
|
15559
|
-
className: $("inline-flex items-center gap-1 leading-none",
|
|
15560
|
-
"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}` : ""}`,
|
|
15561
15637
|
children: [/* @__PURE__ */ S("span", {
|
|
15562
15638
|
className: "text-[0.8em]",
|
|
15563
15639
|
"aria-hidden": "true",
|
|
15564
|
-
children:
|
|
15640
|
+
children: my[n]
|
|
15565
15641
|
}), r && /* @__PURE__ */ S("span", {
|
|
15566
15642
|
className: "tabular-nums",
|
|
15567
15643
|
children: r
|
|
@@ -15570,16 +15646,16 @@ var ay = {
|
|
|
15570
15646
|
]
|
|
15571
15647
|
});
|
|
15572
15648
|
});
|
|
15573
|
-
|
|
15649
|
+
gy.displayName = "Stat";
|
|
15574
15650
|
// src/components/FilterBar/components/FilterBar.tsx
|
|
15575
|
-
var
|
|
15651
|
+
var _y = {
|
|
15576
15652
|
sm: "eidotter-filter-bar--sm",
|
|
15577
15653
|
md: "eidotter-filter-bar--md",
|
|
15578
15654
|
lg: "eidotter-filter-bar--lg",
|
|
15579
15655
|
small: "eidotter-filter-bar--sm",
|
|
15580
15656
|
medium: "eidotter-filter-bar--md",
|
|
15581
15657
|
large: "eidotter-filter-bar--lg"
|
|
15582
|
-
},
|
|
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 }) => {
|
|
15583
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) => {
|
|
15584
15660
|
g || f(e), c?.(e);
|
|
15585
15661
|
}, [g, c]), x = s((e) => {
|
|
@@ -15618,7 +15694,7 @@ var uy = {
|
|
|
15618
15694
|
}, [T]), D = i && y ? "__all__" : _.length > 0 ? _[0] : i ? "__all__" : v[0] || null;
|
|
15619
15695
|
return /* @__PURE__ */ C("div", {
|
|
15620
15696
|
ref: p,
|
|
15621
|
-
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),
|
|
15622
15698
|
role: "toolbar",
|
|
15623
15699
|
onKeyDown: E,
|
|
15624
15700
|
...u,
|
|
@@ -15651,7 +15727,7 @@ var uy = {
|
|
|
15651
15727
|
}, e.id);
|
|
15652
15728
|
})]
|
|
15653
15729
|
});
|
|
15654
|
-
},
|
|
15730
|
+
}, yy = (e) => {
|
|
15655
15731
|
if (!e) return !1;
|
|
15656
15732
|
try {
|
|
15657
15733
|
let t = new URL(e);
|
|
@@ -15665,7 +15741,7 @@ var uy = {
|
|
|
15665
15741
|
}
|
|
15666
15742
|
};
|
|
15667
15743
|
// src/components/InlineExpand/components/InlineExpand.tsx
|
|
15668
|
-
function
|
|
15744
|
+
function by(e) {
|
|
15669
15745
|
try {
|
|
15670
15746
|
let { hostname: t } = new URL(e);
|
|
15671
15747
|
return `https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=32`;
|
|
@@ -15673,7 +15749,7 @@ function py(e) {
|
|
|
15673
15749
|
return null;
|
|
15674
15750
|
}
|
|
15675
15751
|
}
|
|
15676
|
-
var
|
|
15752
|
+
var xy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
|
|
15677
15753
|
let [c, l] = h(n), [d, f] = h({}), p = u(), g = m(null), _ = r !== void 0, v = _ ? r : c, y = () => {
|
|
15678
15754
|
let e = !v;
|
|
15679
15755
|
_ || l(e), i?.(e);
|
|
@@ -15719,7 +15795,7 @@ var my = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15719
15795
|
className: "eidotter-inline-expand__source-item",
|
|
15720
15796
|
role: "listitem",
|
|
15721
15797
|
children: /* @__PURE__ */ S("a", {
|
|
15722
|
-
href:
|
|
15798
|
+
href: yy(e.url) ? e.url : void 0,
|
|
15723
15799
|
className: "eidotter-inline-expand__source-link",
|
|
15724
15800
|
target: "_blank",
|
|
15725
15801
|
rel: "noopener noreferrer",
|
|
@@ -15732,7 +15808,7 @@ var my = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15732
15808
|
"aria-hidden": "true",
|
|
15733
15809
|
children: "[→]"
|
|
15734
15810
|
});
|
|
15735
|
-
let n = !!e.favicon &&
|
|
15811
|
+
let n = !!e.favicon && yy(e.favicon);
|
|
15736
15812
|
if (!t && n) return /* @__PURE__ */ S("img", {
|
|
15737
15813
|
className: "eidotter-inline-expand__source-favicon",
|
|
15738
15814
|
src: e.favicon,
|
|
@@ -15745,7 +15821,7 @@ var my = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15745
15821
|
[e.url]: "google"
|
|
15746
15822
|
}))
|
|
15747
15823
|
});
|
|
15748
|
-
let r =
|
|
15824
|
+
let r = by(e.url);
|
|
15749
15825
|
return r ? /* @__PURE__ */ S("img", {
|
|
15750
15826
|
className: "eidotter-inline-expand__source-favicon",
|
|
15751
15827
|
src: r,
|
|
@@ -15769,33 +15845,33 @@ var my = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15769
15845
|
]
|
|
15770
15846
|
})] })]
|
|
15771
15847
|
});
|
|
15772
|
-
},
|
|
15848
|
+
}, Sy = {
|
|
15773
15849
|
horizontal: "h-px w-full",
|
|
15774
15850
|
vertical: "w-px h-full"
|
|
15775
|
-
},
|
|
15851
|
+
}, Cy = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ S("div", {
|
|
15776
15852
|
role: "separator",
|
|
15777
15853
|
"aria-orientation": e,
|
|
15778
|
-
className: $("shrink-0 bg-dos-border-default", "eidotter-separator",
|
|
15779
|
-
}),
|
|
15854
|
+
className: $("shrink-0 bg-dos-border-default", "eidotter-separator", Sy[e], t)
|
|
15855
|
+
}), wy = {
|
|
15780
15856
|
default: "text-dos-text-primary",
|
|
15781
15857
|
error: "text-dos-error",
|
|
15782
15858
|
warning: "text-dos-warning",
|
|
15783
15859
|
info: "text-dos-info"
|
|
15784
|
-
},
|
|
15785
|
-
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),
|
|
15786
15862
|
children: [
|
|
15787
15863
|
e,
|
|
15788
15864
|
t !== void 0 && ` (${t})`,
|
|
15789
15865
|
r
|
|
15790
15866
|
]
|
|
15791
15867
|
});
|
|
15792
|
-
|
|
15868
|
+
Ty.displayName = "SectionHeading";
|
|
15793
15869
|
// src/components/ChecklistRow/components/ChecklistRow.tsx
|
|
15794
|
-
var
|
|
15870
|
+
var Ey = {
|
|
15795
15871
|
default: "text-dos-text-primary",
|
|
15796
15872
|
muted: "text-dos-text-muted line-through",
|
|
15797
15873
|
error: "text-dos-error"
|
|
15798
|
-
},
|
|
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", {
|
|
15799
15875
|
className: $("eidotter-checklist-row", "flex items-start gap-3 py-2 border-b border-dos-border-disabled", r && "opacity-50", d),
|
|
15800
15876
|
children: [
|
|
15801
15877
|
/* @__PURE__ */ S("button", {
|
|
@@ -15805,7 +15881,7 @@ var yy = {
|
|
|
15805
15881
|
onClick: t,
|
|
15806
15882
|
disabled: n,
|
|
15807
15883
|
"aria-label": i ?? (e ? "Mark as incomplete" : "Mark as complete"),
|
|
15808
|
-
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"),
|
|
15809
15885
|
children: e ? "[x]" : "[ ]"
|
|
15810
15886
|
}),
|
|
15811
15887
|
/* @__PURE__ */ C("div", {
|
|
@@ -15816,12 +15892,12 @@ var yy = {
|
|
|
15816
15892
|
children: l
|
|
15817
15893
|
}),
|
|
15818
15894
|
o !== void 0 && /* @__PURE__ */ S("div", {
|
|
15819
|
-
className: $("font-dos text-dos-text-
|
|
15895
|
+
className: $("font-dos text-dos-text-base", Ey[a]),
|
|
15820
15896
|
children: o
|
|
15821
15897
|
}),
|
|
15822
15898
|
s,
|
|
15823
15899
|
c && /* @__PURE__ */ S("p", {
|
|
15824
|
-
className: "font-dos text-dos-text-
|
|
15900
|
+
className: "font-dos text-dos-text-base text-dos-text-muted mt-0.5",
|
|
15825
15901
|
children: c
|
|
15826
15902
|
})
|
|
15827
15903
|
]
|
|
@@ -15832,9 +15908,9 @@ var yy = {
|
|
|
15832
15908
|
})
|
|
15833
15909
|
]
|
|
15834
15910
|
});
|
|
15835
|
-
|
|
15911
|
+
Dy.displayName = "ChecklistRow";
|
|
15836
15912
|
// src/components/CopyButton/components/CopyButton.tsx
|
|
15837
|
-
var
|
|
15913
|
+
var Oy = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Copy to clipboard", copiedTitle: i = "Copied!", className: a }) => {
|
|
15838
15914
|
let [o, c] = h(!1), l = m(null), u = s(() => {
|
|
15839
15915
|
c(!0), l.current && clearTimeout(l.current), l.current = setTimeout(() => c(!1), 1500);
|
|
15840
15916
|
}, []), d = s(() => {
|
|
@@ -15860,25 +15936,25 @@ var xy = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Co
|
|
|
15860
15936
|
onClick: f,
|
|
15861
15937
|
title: o ? i : r,
|
|
15862
15938
|
"aria-label": o ? i : r,
|
|
15863
|
-
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),
|
|
15864
15940
|
children: o ? n : t
|
|
15865
15941
|
});
|
|
15866
15942
|
};
|
|
15867
|
-
|
|
15943
|
+
Oy.displayName = "CopyButton";
|
|
15868
15944
|
// src/components/Select/components/Select.tsx
|
|
15869
|
-
var
|
|
15870
|
-
sm: "text-dos-text-
|
|
15871
|
-
md: "text-dos-text-
|
|
15872
|
-
lg: "text-dos-text-
|
|
15873
|
-
},
|
|
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") => ({
|
|
15874
15950
|
small: "sm",
|
|
15875
15951
|
medium: "md",
|
|
15876
15952
|
large: "lg"
|
|
15877
|
-
})[e] ?? e,
|
|
15878
|
-
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);
|
|
15879
15955
|
return /* @__PURE__ */ C(If, {
|
|
15880
15956
|
"aria-label": t ? void 0 : h,
|
|
15881
|
-
selectedKey: _ ?
|
|
15957
|
+
selectedKey: _ ? Ly(s) : void 0,
|
|
15882
15958
|
defaultSelectedKey: _ ? void 0 : c,
|
|
15883
15959
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
15884
15960
|
isDisabled: u,
|
|
@@ -15889,12 +15965,12 @@ var Sy = {
|
|
|
15889
15965
|
className: $("eidotter-select flex flex-col gap-1", m),
|
|
15890
15966
|
children: [
|
|
15891
15967
|
t && /* @__PURE__ */ S(Pi, {
|
|
15892
|
-
className:
|
|
15968
|
+
className: jy,
|
|
15893
15969
|
children: t
|
|
15894
15970
|
}),
|
|
15895
15971
|
/* @__PURE__ */ C(Wi, {
|
|
15896
15972
|
id: p,
|
|
15897
|
-
className: $(
|
|
15973
|
+
className: $(Py, ky[v]),
|
|
15898
15974
|
children: [/* @__PURE__ */ S(Bf, { className: "eidotter-select__value flex-1 text-left truncate" }), /* @__PURE__ */ S("span", {
|
|
15899
15975
|
"aria-hidden": "true",
|
|
15900
15976
|
className: "eidotter-select__arrow",
|
|
@@ -15903,12 +15979,12 @@ var Sy = {
|
|
|
15903
15979
|
}),
|
|
15904
15980
|
r && !g && /* @__PURE__ */ S(Yi, {
|
|
15905
15981
|
slot: "description",
|
|
15906
|
-
className:
|
|
15982
|
+
className: My,
|
|
15907
15983
|
children: r
|
|
15908
15984
|
}),
|
|
15909
15985
|
i && g && /* @__PURE__ */ S(Yi, {
|
|
15910
15986
|
slot: "errorMessage",
|
|
15911
|
-
className:
|
|
15987
|
+
className: Ny,
|
|
15912
15988
|
children: i
|
|
15913
15989
|
}),
|
|
15914
15990
|
/* @__PURE__ */ S(xu, {
|
|
@@ -15920,19 +15996,19 @@ var Sy = {
|
|
|
15920
15996
|
id: e.value,
|
|
15921
15997
|
textValue: e.label,
|
|
15922
15998
|
isDisabled: e.disabled,
|
|
15923
|
-
className:
|
|
15999
|
+
className: Fy,
|
|
15924
16000
|
children: e.label
|
|
15925
16001
|
})
|
|
15926
16002
|
})
|
|
15927
16003
|
})
|
|
15928
16004
|
]
|
|
15929
16005
|
});
|
|
15930
|
-
},
|
|
15931
|
-
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);
|
|
15932
16008
|
return /* @__PURE__ */ C(uf, {
|
|
15933
16009
|
"aria-label": t ? void 0 : g,
|
|
15934
16010
|
defaultItems: e,
|
|
15935
|
-
selectedKey: v ?
|
|
16011
|
+
selectedKey: v ? Ly(s) : void 0,
|
|
15936
16012
|
defaultSelectedKey: v ? void 0 : c,
|
|
15937
16013
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
15938
16014
|
isDisabled: u,
|
|
@@ -15944,11 +16020,11 @@ var Sy = {
|
|
|
15944
16020
|
className: $("eidotter-select eidotter-select--searchable flex flex-col gap-1", m),
|
|
15945
16021
|
children: [
|
|
15946
16022
|
t && /* @__PURE__ */ S(Pi, {
|
|
15947
|
-
className:
|
|
16023
|
+
className: jy,
|
|
15948
16024
|
children: t
|
|
15949
16025
|
}),
|
|
15950
16026
|
/* @__PURE__ */ C("div", {
|
|
15951
|
-
className: $(
|
|
16027
|
+
className: $(Py, ky[y]),
|
|
15952
16028
|
children: [/* @__PURE__ */ S(Wa, {
|
|
15953
16029
|
id: p,
|
|
15954
16030
|
placeholder: n,
|
|
@@ -15965,12 +16041,12 @@ var Sy = {
|
|
|
15965
16041
|
}),
|
|
15966
16042
|
r && !_ && /* @__PURE__ */ S(Yi, {
|
|
15967
16043
|
slot: "description",
|
|
15968
|
-
className:
|
|
16044
|
+
className: My,
|
|
15969
16045
|
children: r
|
|
15970
16046
|
}),
|
|
15971
16047
|
i && _ && /* @__PURE__ */ S(Yi, {
|
|
15972
16048
|
slot: "errorMessage",
|
|
15973
|
-
className:
|
|
16049
|
+
className: Ny,
|
|
15974
16050
|
children: i
|
|
15975
16051
|
}),
|
|
15976
16052
|
/* @__PURE__ */ S(xu, {
|
|
@@ -15985,15 +16061,15 @@ var Sy = {
|
|
|
15985
16061
|
id: e.value,
|
|
15986
16062
|
textValue: e.label,
|
|
15987
16063
|
isDisabled: e.disabled,
|
|
15988
|
-
className:
|
|
16064
|
+
className: Fy,
|
|
15989
16065
|
children: e.label
|
|
15990
16066
|
})
|
|
15991
16067
|
})
|
|
15992
16068
|
})
|
|
15993
16069
|
]
|
|
15994
16070
|
});
|
|
15995
|
-
},
|
|
15996
|
-
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), [
|
|
15997
16073
|
E,
|
|
15998
16074
|
s,
|
|
15999
16075
|
N
|
|
@@ -16016,7 +16092,7 @@ var Sy = {
|
|
|
16016
16092
|
children: [
|
|
16017
16093
|
t && /* @__PURE__ */ S("span", {
|
|
16018
16094
|
id: I,
|
|
16019
|
-
className:
|
|
16095
|
+
className: jy,
|
|
16020
16096
|
children: t
|
|
16021
16097
|
}),
|
|
16022
16098
|
/* @__PURE__ */ C(Wi, {
|
|
@@ -16028,7 +16104,7 @@ var Sy = {
|
|
|
16028
16104
|
"aria-haspopup": "listbox",
|
|
16029
16105
|
"aria-expanded": k,
|
|
16030
16106
|
onPress: () => B(!k),
|
|
16031
|
-
className: $(
|
|
16107
|
+
className: $(Py, ky[D], T && "eidotter-select__trigger--error"),
|
|
16032
16108
|
children: [/* @__PURE__ */ S("span", {
|
|
16033
16109
|
className: $("eidotter-select__value flex-1 text-left truncate", F.length === 0 && "eidotter-select__value--placeholder text-dos-text-muted"),
|
|
16034
16110
|
children: V
|
|
@@ -16039,11 +16115,11 @@ var Sy = {
|
|
|
16039
16115
|
})]
|
|
16040
16116
|
}),
|
|
16041
16117
|
r && !T && /* @__PURE__ */ S("span", {
|
|
16042
|
-
className:
|
|
16118
|
+
className: My,
|
|
16043
16119
|
children: r
|
|
16044
16120
|
}),
|
|
16045
16121
|
i && T && /* @__PURE__ */ S("span", {
|
|
16046
|
-
className:
|
|
16122
|
+
className: Ny,
|
|
16047
16123
|
children: i
|
|
16048
16124
|
}),
|
|
16049
16125
|
p && F.map((e) => /* @__PURE__ */ S("input", {
|
|
@@ -16080,7 +16156,7 @@ var Sy = {
|
|
|
16080
16156
|
id: e.value,
|
|
16081
16157
|
textValue: e.label,
|
|
16082
16158
|
isDisabled: e.disabled,
|
|
16083
|
-
className: $(
|
|
16159
|
+
className: $(Fy, "eidotter-select__option--multi"),
|
|
16084
16160
|
children: ({ isSelected: t }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("span", {
|
|
16085
16161
|
"aria-hidden": "true",
|
|
16086
16162
|
className: "eidotter-select__check",
|
|
@@ -16094,41 +16170,41 @@ var Sy = {
|
|
|
16094
16170
|
})
|
|
16095
16171
|
]
|
|
16096
16172
|
});
|
|
16097
|
-
},
|
|
16098
|
-
|
|
16173
|
+
}, Vy = (e) => e.multiple ? /* @__PURE__ */ S(By, { ...e }) : e.searchable ? /* @__PURE__ */ S(zy, { ...e }) : /* @__PURE__ */ S(Ry, { ...e });
|
|
16174
|
+
Vy.displayName = "Select";
|
|
16099
16175
|
// src/components/LedgerRow/components/LedgerRow.tsx
|
|
16100
|
-
var
|
|
16176
|
+
var Hy = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a, className: o }) => /* @__PURE__ */ C("div", {
|
|
16101
16177
|
className: $("eidotter-ledger-row", "flex items-center gap-3 py-2 border-b border-dos-border-disabled", a && "opacity-50", o),
|
|
16102
16178
|
children: [/* @__PURE__ */ C("div", {
|
|
16103
16179
|
className: "flex-1 min-w-0",
|
|
16104
16180
|
children: [/* @__PURE__ */ S("div", {
|
|
16105
|
-
className: "font-dos text-dos-text-
|
|
16181
|
+
className: "font-dos text-dos-text-base text-dos-text-primary",
|
|
16106
16182
|
children: e
|
|
16107
16183
|
}), t && /* @__PURE__ */ S("p", {
|
|
16108
|
-
className: "font-dos text-dos-text-
|
|
16184
|
+
className: "font-dos text-dos-text-base text-dos-text-muted mt-0.5",
|
|
16109
16185
|
children: t
|
|
16110
16186
|
})]
|
|
16111
16187
|
}), /* @__PURE__ */ C("div", {
|
|
16112
16188
|
className: "flex items-center gap-1 shrink-0",
|
|
16113
16189
|
children: [
|
|
16114
16190
|
/* @__PURE__ */ S("span", {
|
|
16115
|
-
className: "font-dos text-dos-text-
|
|
16191
|
+
className: "font-dos text-dos-text-base text-dos-text-accent tabular-nums",
|
|
16116
16192
|
children: n
|
|
16117
16193
|
}),
|
|
16118
|
-
r !== void 0 && /* @__PURE__ */ S(
|
|
16194
|
+
r !== void 0 && /* @__PURE__ */ S(Oy, { value: r }),
|
|
16119
16195
|
i
|
|
16120
16196
|
]
|
|
16121
16197
|
})]
|
|
16122
16198
|
});
|
|
16123
|
-
|
|
16199
|
+
Hy.displayName = "LedgerRow";
|
|
16124
16200
|
// src/components/LabeledProgress/components/LabeledProgress.tsx
|
|
16125
|
-
var
|
|
16201
|
+
var Uy = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i = !0, className: a, "aria-label": o }) => {
|
|
16126
16202
|
let s = n === 0 ? 0 : Math.min(100, Math.max(0, Math.round(t / n * 100)));
|
|
16127
16203
|
return /* @__PURE__ */ C("div", {
|
|
16128
16204
|
className: $("eidotter-labeled-progress", "flex items-center gap-3", a),
|
|
16129
16205
|
children: [
|
|
16130
16206
|
e && /* @__PURE__ */ S("span", {
|
|
16131
|
-
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",
|
|
16132
16208
|
children: e
|
|
16133
16209
|
}),
|
|
16134
16210
|
/* @__PURE__ */ S("div", {
|
|
@@ -16144,16 +16220,16 @@ var Iy = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i
|
|
|
16144
16220
|
})
|
|
16145
16221
|
}),
|
|
16146
16222
|
i && /* @__PURE__ */ C("span", {
|
|
16147
|
-
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",
|
|
16148
16224
|
children: [s, r]
|
|
16149
16225
|
})
|
|
16150
16226
|
]
|
|
16151
16227
|
});
|
|
16152
16228
|
};
|
|
16153
|
-
|
|
16229
|
+
Uy.displayName = "LabeledProgress";
|
|
16154
16230
|
// src/components/TextScramble/components/TextScramble.tsx
|
|
16155
|
-
var
|
|
16156
|
-
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, {
|
|
16157
16233
|
speed: t,
|
|
16158
16234
|
characters: n,
|
|
16159
16235
|
delay: r
|
|
@@ -16165,15 +16241,15 @@ var Ly = a(({ children: e, speed: t, characters: n, delay: r, className: i, ...a
|
|
|
16165
16241
|
children: s
|
|
16166
16242
|
});
|
|
16167
16243
|
});
|
|
16168
|
-
|
|
16244
|
+
Wy.displayName = "TextScramble";
|
|
16169
16245
|
// src/components/Nav/components/Nav.tsx
|
|
16170
|
-
var
|
|
16246
|
+
var Gy = {
|
|
16171
16247
|
retro: "eidotter-nav--retro",
|
|
16172
16248
|
modern: "eidotter-nav--modern"
|
|
16173
|
-
},
|
|
16249
|
+
}, Ky = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
16174
16250
|
let a = r || "a";
|
|
16175
16251
|
return /* @__PURE__ */ S("nav", {
|
|
16176
|
-
className: $("eidotter-nav eidotter-nav--desktop",
|
|
16252
|
+
className: $("eidotter-nav eidotter-nav--desktop", Gy[n], i),
|
|
16177
16253
|
"aria-label": "Main navigation",
|
|
16178
16254
|
children: /* @__PURE__ */ S("ul", {
|
|
16179
16255
|
className: "eidotter-nav__desktop-list",
|
|
@@ -16194,7 +16270,7 @@ var Ry = {
|
|
|
16194
16270
|
})
|
|
16195
16271
|
})
|
|
16196
16272
|
});
|
|
16197
|
-
},
|
|
16273
|
+
}, qy = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
16198
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), []);
|
|
16199
16275
|
return l(() => {
|
|
16200
16276
|
if (!a) return;
|
|
@@ -16205,7 +16281,7 @@ var Ry = {
|
|
|
16205
16281
|
}, [a, _]), l(() => {
|
|
16206
16282
|
a ? d.current?.focus() : p.current && u.current?.focus(), p.current = a;
|
|
16207
16283
|
}, [a]), /* @__PURE__ */ C("div", {
|
|
16208
|
-
className: $("eidotter-nav eidotter-nav--mobile",
|
|
16284
|
+
className: $("eidotter-nav eidotter-nav--mobile", Gy[n], i),
|
|
16209
16285
|
children: [
|
|
16210
16286
|
/* @__PURE__ */ S("button", {
|
|
16211
16287
|
ref: u,
|
|
@@ -16265,14 +16341,14 @@ var Ry = {
|
|
|
16265
16341
|
})
|
|
16266
16342
|
]
|
|
16267
16343
|
});
|
|
16268
|
-
},
|
|
16344
|
+
}, Jy = (e) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S(qy, { ...e }), /* @__PURE__ */ S(Ky, { ...e })] }), Yy = {
|
|
16269
16345
|
user: "eidotter-chat-message--user",
|
|
16270
16346
|
assistant: "eidotter-chat-message--assistant",
|
|
16271
16347
|
system: "eidotter-chat-message--system"
|
|
16272
|
-
},
|
|
16348
|
+
}, Xy = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
|
|
16273
16349
|
let s = e === "user" ? r : e === "assistant" ? i : "";
|
|
16274
16350
|
return /* @__PURE__ */ C("div", {
|
|
16275
|
-
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),
|
|
16276
16352
|
...o,
|
|
16277
16353
|
children: [
|
|
16278
16354
|
s && /* @__PURE__ */ S("span", {
|
|
@@ -16291,7 +16367,7 @@ var Ry = {
|
|
|
16291
16367
|
})
|
|
16292
16368
|
]
|
|
16293
16369
|
});
|
|
16294
|
-
},
|
|
16370
|
+
}, Zy = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
|
|
16295
16371
|
let o = m(null);
|
|
16296
16372
|
l(() => {
|
|
16297
16373
|
o.current?.scrollIntoView?.({ behavior: "smooth" });
|
|
@@ -16306,7 +16382,7 @@ var Ry = {
|
|
|
16306
16382
|
children: /* @__PURE__ */ S("div", {
|
|
16307
16383
|
className: "flex items-center justify-center h-full min-h-16",
|
|
16308
16384
|
children: /* @__PURE__ */ S("span", {
|
|
16309
|
-
className: "text-dos-text-muted font-dos text-dos-text-
|
|
16385
|
+
className: "text-dos-text-muted font-dos text-dos-text-base",
|
|
16310
16386
|
children: "Awaiting input..."
|
|
16311
16387
|
})
|
|
16312
16388
|
})
|
|
@@ -16320,7 +16396,7 @@ var Ry = {
|
|
|
16320
16396
|
className: "flex flex-col",
|
|
16321
16397
|
children: [e.map((i, a) => {
|
|
16322
16398
|
let o = t && i.role === "assistant" && a === e.length - 1;
|
|
16323
|
-
return /* @__PURE__ */ S(
|
|
16399
|
+
return /* @__PURE__ */ S(Xy, {
|
|
16324
16400
|
role: i.role,
|
|
16325
16401
|
content: i.content,
|
|
16326
16402
|
isStreaming: o,
|
|
@@ -16330,7 +16406,7 @@ var Ry = {
|
|
|
16330
16406
|
}), /* @__PURE__ */ S("div", { ref: o })]
|
|
16331
16407
|
})
|
|
16332
16408
|
});
|
|
16333
|
-
},
|
|
16409
|
+
}, Qy = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
|
|
16334
16410
|
let [o, s] = h(""), c = m(null);
|
|
16335
16411
|
d(() => {
|
|
16336
16412
|
let e = c.current;
|
|
@@ -16344,7 +16420,7 @@ var Ry = {
|
|
|
16344
16420
|
}
|
|
16345
16421
|
};
|
|
16346
16422
|
return /* @__PURE__ */ C("div", {
|
|
16347
|
-
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),
|
|
16348
16424
|
onClick: () => {
|
|
16349
16425
|
!r && c.current && c.current.focus();
|
|
16350
16426
|
},
|
|
@@ -16372,30 +16448,30 @@ var Ry = {
|
|
|
16372
16448
|
})]
|
|
16373
16449
|
})]
|
|
16374
16450
|
});
|
|
16375
|
-
},
|
|
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", {
|
|
16376
16452
|
className: $("flex flex-col h-full min-h-0", c),
|
|
16377
16453
|
...l,
|
|
16378
|
-
children: [/* @__PURE__ */ S(
|
|
16454
|
+
children: [/* @__PURE__ */ S(Zy, {
|
|
16379
16455
|
className: "flex-1 min-h-0",
|
|
16380
16456
|
messages: e,
|
|
16381
16457
|
isStreaming: n,
|
|
16382
16458
|
userPrefix: i,
|
|
16383
16459
|
assistantPrefix: a
|
|
16384
|
-
}), /* @__PURE__ */ S(
|
|
16460
|
+
}), /* @__PURE__ */ S(Qy, {
|
|
16385
16461
|
className: "shrink-0",
|
|
16386
16462
|
onSend: t,
|
|
16387
16463
|
prompt: r,
|
|
16388
16464
|
placeholder: o,
|
|
16389
16465
|
disabled: s
|
|
16390
16466
|
})]
|
|
16391
|
-
}),
|
|
16467
|
+
}), eb = [{
|
|
16392
16468
|
label: "Impressum",
|
|
16393
16469
|
href: "/impressum"
|
|
16394
16470
|
}, {
|
|
16395
16471
|
label: "Datenschutz",
|
|
16396
16472
|
href: "/datenschutz"
|
|
16397
|
-
}],
|
|
16398
|
-
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";
|
|
16399
16475
|
return /* @__PURE__ */ C("footer", {
|
|
16400
16476
|
className: $("font-dos text-dos-text-base py-4 px-2 text-center", "eidotter-footer", a),
|
|
16401
16477
|
...o,
|
|
@@ -16439,9 +16515,9 @@ var Ry = {
|
|
|
16439
16515
|
})
|
|
16440
16516
|
]
|
|
16441
16517
|
});
|
|
16442
|
-
},
|
|
16443
|
-
|
|
16444
|
-
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) => {
|
|
16445
16521
|
let i = u(), a = `eidotter-logo-halo-${i}`, o = `eidotter-logo-core-${i}`, s = `eidotter-logo-yolk-${i}`;
|
|
16446
16522
|
return /* @__PURE__ */ C("svg", {
|
|
16447
16523
|
ref: r,
|
|
@@ -16516,46 +16592,46 @@ var Xy = "M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7
|
|
|
16516
16592
|
})
|
|
16517
16593
|
] }),
|
|
16518
16594
|
/* @__PURE__ */ S("path", {
|
|
16519
|
-
d:
|
|
16595
|
+
d: rb,
|
|
16520
16596
|
fill: `url(#${a})`
|
|
16521
16597
|
}),
|
|
16522
16598
|
/* @__PURE__ */ S("path", {
|
|
16523
|
-
d:
|
|
16599
|
+
d: ib,
|
|
16524
16600
|
fill: `url(#${o})`
|
|
16525
16601
|
}),
|
|
16526
|
-
|
|
16602
|
+
nb.map((e) => /* @__PURE__ */ S("path", {
|
|
16527
16603
|
d: e,
|
|
16528
16604
|
fill: "#FFB000"
|
|
16529
16605
|
}, e)),
|
|
16530
16606
|
/* @__PURE__ */ S("path", {
|
|
16531
|
-
d:
|
|
16607
|
+
d: ab,
|
|
16532
16608
|
fill: `url(#${s})`
|
|
16533
16609
|
}),
|
|
16534
|
-
|
|
16610
|
+
ob.map((e) => /* @__PURE__ */ S("path", {
|
|
16535
16611
|
d: e,
|
|
16536
16612
|
fill: "#FFE8A8",
|
|
16537
16613
|
opacity: "0.8"
|
|
16538
16614
|
}, e)),
|
|
16539
16615
|
/* @__PURE__ */ S("path", {
|
|
16540
|
-
d:
|
|
16616
|
+
d: sb,
|
|
16541
16617
|
fill: "#FFFFFF",
|
|
16542
16618
|
opacity: "0.9"
|
|
16543
16619
|
})
|
|
16544
16620
|
]
|
|
16545
16621
|
});
|
|
16546
16622
|
});
|
|
16547
|
-
|
|
16623
|
+
cb.displayName = "LogoGeometry";
|
|
16548
16624
|
// src/components/Brand/components/Logo.tsx
|
|
16549
|
-
var
|
|
16625
|
+
var lb = a(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => /* @__PURE__ */ S(cb, {
|
|
16550
16626
|
ref: a,
|
|
16551
16627
|
size: e,
|
|
16552
16628
|
title: n,
|
|
16553
16629
|
className: $("eidotter-logo", t && "eidotter-logo--glow", r),
|
|
16554
16630
|
...i
|
|
16555
16631
|
}));
|
|
16556
|
-
|
|
16632
|
+
lb.displayName = "Logo";
|
|
16557
16633
|
// src/components/Brand/components/Wordmark.tsx
|
|
16558
|
-
var
|
|
16634
|
+
var ub = a(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ C("span", {
|
|
16559
16635
|
ref: r,
|
|
16560
16636
|
className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
|
|
16561
16637
|
role: "img",
|
|
@@ -16571,27 +16647,27 @@ var rb = a(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ C("span"
|
|
|
16571
16647
|
children: "Dotter"
|
|
16572
16648
|
})]
|
|
16573
16649
|
}));
|
|
16574
|
-
|
|
16650
|
+
ub.displayName = "Wordmark";
|
|
16575
16651
|
// src/components/Brand/components/BrandLockup.tsx
|
|
16576
|
-
var
|
|
16652
|
+
var db = a(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ C("div", {
|
|
16577
16653
|
ref: o,
|
|
16578
16654
|
className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
|
|
16579
16655
|
role: "img",
|
|
16580
16656
|
"aria-label": "eiDotter",
|
|
16581
16657
|
...a,
|
|
16582
|
-
children: [!n && /* @__PURE__ */ S(
|
|
16658
|
+
children: [!n && /* @__PURE__ */ S(lb, {
|
|
16583
16659
|
size: e,
|
|
16584
16660
|
glow: r,
|
|
16585
16661
|
title: ""
|
|
16586
|
-
}), !t && /* @__PURE__ */ S(
|
|
16662
|
+
}), !t && /* @__PURE__ */ S(ub, {
|
|
16587
16663
|
glow: r,
|
|
16588
16664
|
"aria-hidden": "true"
|
|
16589
16665
|
})]
|
|
16590
16666
|
}));
|
|
16591
|
-
|
|
16667
|
+
db.displayName = "BrandLockup";
|
|
16592
16668
|
// src/components/Brand/components/markGeometry.ts
|
|
16593
|
-
var
|
|
16594
|
-
function
|
|
16669
|
+
var fb = 9.25 / 22, pb = (e) => Math.round(e * 100) / 100;
|
|
16670
|
+
function mb(e, t, n = {}) {
|
|
16595
16671
|
let { curvature: r = 24, startRadius: i = 0 } = n;
|
|
16596
16672
|
if (e.width === 0 || e.height === 0) return [];
|
|
16597
16673
|
let a = t.filter((e) => e.width !== 0 || e.height !== 0);
|
|
@@ -16601,23 +16677,23 @@ function sb(e, t, n = {}) {
|
|
|
16601
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);
|
|
16602
16678
|
if (m - i < 1) return;
|
|
16603
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;
|
|
16604
|
-
c.push(`M ${
|
|
16680
|
+
c.push(`M ${pb(h)} ${pb(g)} Q ${pb(C)} ${pb(w)} ${pb(u)} ${pb(d)}`);
|
|
16605
16681
|
}), c;
|
|
16606
16682
|
}
|
|
16607
16683
|
// src/components/Brand/components/Mark.tsx
|
|
16608
|
-
var
|
|
16609
|
-
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) => {
|
|
16610
16686
|
d.current = e, typeof u == "function" ? u(e) : u && (u.current = e);
|
|
16611
16687
|
}, [u]);
|
|
16612
16688
|
return l(() => {
|
|
16613
16689
|
if (!i) {
|
|
16614
|
-
p(
|
|
16690
|
+
p(hb);
|
|
16615
16691
|
return;
|
|
16616
16692
|
}
|
|
16617
16693
|
let e = d.current, t = i.scopeRef.current;
|
|
16618
16694
|
if (!e) return;
|
|
16619
16695
|
let n = [], r = () => {
|
|
16620
|
-
let t = e.getBoundingClientRect(), r =
|
|
16696
|
+
let t = e.getBoundingClientRect(), r = mb(t, n.map((e) => e.getBoundingClientRect()), { startRadius: t.width * fb });
|
|
16621
16697
|
p((e) => e.length === r.length && e.every((e, t) => e === r[t]) ? e : r);
|
|
16622
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 = () => {
|
|
16623
16699
|
o?.disconnect(), n = a(), o?.observe(e), t && o?.observe(t), n.forEach((e) => o?.observe(e)), r();
|
|
@@ -16658,7 +16734,7 @@ var cb = [], lb = a(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
|
|
|
16658
16734
|
stroke: "currentColor",
|
|
16659
16735
|
strokeWidth: 2
|
|
16660
16736
|
}, t))
|
|
16661
|
-
}), /* @__PURE__ */ S(
|
|
16737
|
+
}), /* @__PURE__ */ S(cb, {
|
|
16662
16738
|
size: "100%",
|
|
16663
16739
|
title: "",
|
|
16664
16740
|
focusable: "false",
|
|
@@ -16666,10 +16742,10 @@ var cb = [], lb = a(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
|
|
|
16666
16742
|
})]
|
|
16667
16743
|
});
|
|
16668
16744
|
});
|
|
16669
|
-
|
|
16745
|
+
gb.displayName = "Mark";
|
|
16670
16746
|
// src/components/Header/components/HeaderContextRow.tsx
|
|
16671
|
-
var
|
|
16672
|
-
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 }) {
|
|
16673
16749
|
let r = t ?? "a", { categories: i, returnTo: a } = e, o = a && y_(a.href) ? a.href : void 0, s = (e, t) => {
|
|
16674
16750
|
if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
|
|
16675
16751
|
let n = window.open(t, "rizomorf-shell");
|
|
@@ -16681,16 +16757,16 @@ function db({ context: e, linkComponent: t, activeHref: n }) {
|
|
|
16681
16757
|
return /* @__PURE__ */ C("div", {
|
|
16682
16758
|
className: $("eidotter-header__context", "flex w-full flex-wrap items-center gap-x-4 gap-y-2"),
|
|
16683
16759
|
children: [a && (o === void 0 ? /* @__PURE__ */ S("span", {
|
|
16684
|
-
className:
|
|
16760
|
+
className: _b,
|
|
16685
16761
|
children: c
|
|
16686
16762
|
}) : a.reuseTab ? /* @__PURE__ */ S("a", {
|
|
16687
16763
|
href: o,
|
|
16688
16764
|
onClick: (e) => s(e, o),
|
|
16689
|
-
className:
|
|
16765
|
+
className: _b,
|
|
16690
16766
|
children: c
|
|
16691
16767
|
}) : /* @__PURE__ */ S(r, {
|
|
16692
16768
|
href: o,
|
|
16693
|
-
className:
|
|
16769
|
+
className: _b,
|
|
16694
16770
|
children: c
|
|
16695
16771
|
})), i.length > 0 && /* @__PURE__ */ S("nav", {
|
|
16696
16772
|
"aria-label": "Categories",
|
|
@@ -16730,23 +16806,23 @@ function db({ context: e, linkComponent: t, activeHref: n }) {
|
|
|
16730
16806
|
});
|
|
16731
16807
|
}
|
|
16732
16808
|
// src/components/Header/components/Header.tsx
|
|
16733
|
-
var
|
|
16809
|
+
var yb = {
|
|
16734
16810
|
retro: "eidotter-header--retro",
|
|
16735
16811
|
modern: "eidotter-header--modern"
|
|
16736
|
-
},
|
|
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) => {
|
|
16737
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", {
|
|
16738
16814
|
className: "eidotter-header__brand-name uppercase tracking-[0.3em]",
|
|
16739
16815
|
children: t
|
|
16740
|
-
}), l === "mark" ? /* @__PURE__ */ S(
|
|
16816
|
+
}), l === "mark" ? /* @__PURE__ */ S(gb, {
|
|
16741
16817
|
size: 28,
|
|
16742
16818
|
label: "",
|
|
16743
16819
|
className: "eidotter-header__brand-icon"
|
|
16744
|
-
}) : /* @__PURE__ */ S(
|
|
16820
|
+
}) : /* @__PURE__ */ S(lb, {
|
|
16745
16821
|
size: 28,
|
|
16746
16822
|
glow: !0,
|
|
16747
16823
|
title: "",
|
|
16748
16824
|
className: "eidotter-header__brand-icon"
|
|
16749
|
-
})] }) : 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, {
|
|
16750
16826
|
items: r,
|
|
16751
16827
|
activeHref: i,
|
|
16752
16828
|
variant: a,
|
|
@@ -16764,7 +16840,7 @@ var fb = {
|
|
|
16764
16840
|
className: "eidotter-header__end flex items-center",
|
|
16765
16841
|
children: m
|
|
16766
16842
|
}),
|
|
16767
|
-
F && /* @__PURE__ */ S(
|
|
16843
|
+
F && /* @__PURE__ */ S(qy, {
|
|
16768
16844
|
items: r,
|
|
16769
16845
|
activeHref: i,
|
|
16770
16846
|
variant: a,
|
|
@@ -16781,7 +16857,7 @@ var fb = {
|
|
|
16781
16857
|
children: ee
|
|
16782
16858
|
}),
|
|
16783
16859
|
A && R,
|
|
16784
|
-
E && /* @__PURE__ */ S(
|
|
16860
|
+
E && /* @__PURE__ */ S(vb, {
|
|
16785
16861
|
context: c,
|
|
16786
16862
|
linkComponent: s,
|
|
16787
16863
|
activeHref: i
|
|
@@ -16792,7 +16868,7 @@ var fb = {
|
|
|
16792
16868
|
} : v;
|
|
16793
16869
|
return /* @__PURE__ */ C("header", {
|
|
16794
16870
|
ref: b,
|
|
16795
|
-
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", _),
|
|
16796
16872
|
style: H,
|
|
16797
16873
|
...y,
|
|
16798
16874
|
children: [z, M ? /* @__PURE__ */ S("div", {
|
|
@@ -16801,9 +16877,9 @@ var fb = {
|
|
|
16801
16877
|
}) : te]
|
|
16802
16878
|
});
|
|
16803
16879
|
});
|
|
16804
|
-
|
|
16880
|
+
bb.displayName = "Header";
|
|
16805
16881
|
// src/components/Connector/components/connectorGeometry.ts
|
|
16806
|
-
var
|
|
16882
|
+
var xb = {
|
|
16807
16883
|
delicate: {
|
|
16808
16884
|
base: 5,
|
|
16809
16885
|
mid: 3.2,
|
|
@@ -16816,11 +16892,11 @@ var mb = {
|
|
|
16816
16892
|
tip: 5,
|
|
16817
16893
|
curvature: 30
|
|
16818
16894
|
}
|
|
16819
|
-
},
|
|
16820
|
-
function
|
|
16821
|
-
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));
|
|
16822
16898
|
}
|
|
16823
|
-
function
|
|
16899
|
+
function Db(e, t, n) {
|
|
16824
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);
|
|
16825
16901
|
return Number.isFinite(l) ? {
|
|
16826
16902
|
x: e.x + r * l,
|
|
@@ -16830,21 +16906,21 @@ function bb(e, t, n) {
|
|
|
16830
16906
|
y: e.y
|
|
16831
16907
|
};
|
|
16832
16908
|
}
|
|
16833
|
-
function
|
|
16909
|
+
function Ob(e, t, n, r, i) {
|
|
16834
16910
|
let a = 1 - i, o = a * a * a, s = 3 * a * a * i, c = 3 * a * i * i, l = i * i * i;
|
|
16835
16911
|
return {
|
|
16836
16912
|
x: o * e.x + s * t.x + c * n.x + l * r.x,
|
|
16837
16913
|
y: o * e.y + s * t.y + c * n.y + l * r.y
|
|
16838
16914
|
};
|
|
16839
16915
|
}
|
|
16840
|
-
function
|
|
16916
|
+
function kb(e, t, n, r, i) {
|
|
16841
16917
|
let a = 1 - i, o = 3 * a * a, s = 6 * a * i, c = 3 * i * i;
|
|
16842
16918
|
return {
|
|
16843
16919
|
x: o * (t.x - e.x) + s * (n.x - t.x) + c * (r.x - n.x),
|
|
16844
16920
|
y: o * (t.y - e.y) + s * (n.y - t.y) + c * (r.y - n.y)
|
|
16845
16921
|
};
|
|
16846
16922
|
}
|
|
16847
|
-
function
|
|
16923
|
+
function Ab(e, t, n, r = {}) {
|
|
16848
16924
|
let { sign: i = 1, sway: a = 0 } = r, o = t.x - e.x, s = t.y - e.y, c = Math.hypot(o, s);
|
|
16849
16925
|
if (c < .5) return "";
|
|
16850
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 = {
|
|
@@ -16854,8 +16930,8 @@ function Cb(e, t, n, r = {}) {
|
|
|
16854
16930
|
x: e.x + o * .66 + l * p,
|
|
16855
16931
|
y: e.y + s * .66 + u * p
|
|
16856
16932
|
}, g = [], _ = [];
|
|
16857
|
-
for (let r = 0; r <=
|
|
16858
|
-
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);
|
|
16859
16935
|
g.push({
|
|
16860
16936
|
x: a.x + c * u,
|
|
16861
16937
|
y: a.y + l * u
|
|
@@ -16864,13 +16940,13 @@ function Cb(e, t, n, r = {}) {
|
|
|
16864
16940
|
y: a.y - l * u
|
|
16865
16941
|
});
|
|
16866
16942
|
}
|
|
16867
|
-
let v = `M ${
|
|
16868
|
-
for (let e = 1; e <=
|
|
16869
|
-
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)}`;
|
|
16870
16946
|
return v += " Z", v;
|
|
16871
16947
|
}
|
|
16872
16948
|
// src/components/Connector/components/Connector.tsx
|
|
16873
|
-
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) => {
|
|
16874
16950
|
let d = u().replace(/[:]/g, ""), f = m(null), p = m([]), h = m([]), g = m(null), _ = m(t);
|
|
16875
16951
|
_.current = t;
|
|
16876
16952
|
let v = m(n);
|
|
@@ -16887,7 +16963,7 @@ var wb = .0011, Tb = 4, Eb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16887
16963
|
let o = a.getBoundingClientRect(), s = {
|
|
16888
16964
|
x: o.left - i.left + o.width / 2,
|
|
16889
16965
|
y: o.top - i.top + o.height / 2
|
|
16890
|
-
}, c =
|
|
16966
|
+
}, c = xb[v.current] ?? xb.delicate, l = r && !nh();
|
|
16891
16967
|
_.current.forEach((e, t) => {
|
|
16892
16968
|
let r = e.ref.current, a = p.current[t];
|
|
16893
16969
|
if (!a) return;
|
|
@@ -16905,11 +16981,11 @@ var wb = .0011, Tb = 4, Eb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16905
16981
|
y: o.top - i.top,
|
|
16906
16982
|
width: o.width,
|
|
16907
16983
|
height: o.height
|
|
16908
|
-
}, d =
|
|
16984
|
+
}, d = Db({
|
|
16909
16985
|
x: u.x + u.width / 2,
|
|
16910
16986
|
y: u.y + u.height / 2
|
|
16911
|
-
}, s, u), f = t % 2 == 0 ? 1 : -1, m = l ? Math.sin(n *
|
|
16912
|
-
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, {
|
|
16913
16989
|
sign: f,
|
|
16914
16990
|
sway: m
|
|
16915
16991
|
}));
|
|
@@ -16971,15 +17047,15 @@ var wb = .0011, Tb = 4, Eb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16971
17047
|
}, t))]
|
|
16972
17048
|
});
|
|
16973
17049
|
});
|
|
16974
|
-
|
|
17050
|
+
Nb.displayName = "Connector";
|
|
16975
17051
|
// src/components/Notification/components/Notification.tsx
|
|
16976
|
-
var
|
|
17052
|
+
var Pb = {
|
|
16977
17053
|
primary: "Info",
|
|
16978
17054
|
gray: "Info",
|
|
16979
17055
|
success: "Done",
|
|
16980
17056
|
warning: "Warning",
|
|
16981
17057
|
error: "Error"
|
|
16982
|
-
},
|
|
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 }) => {
|
|
16983
17059
|
let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = rh("eidotter-pop-out", i);
|
|
16984
17060
|
l(() => {
|
|
16985
17061
|
if (u == null || !i) return;
|
|
@@ -16992,7 +17068,7 @@ var Db = {
|
|
|
16992
17068
|
]);
|
|
16993
17069
|
let g = d && !a, _ = s != null;
|
|
16994
17070
|
return /* @__PURE__ */ C("div", {
|
|
16995
|
-
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),
|
|
16996
17072
|
onAnimationEnd: h,
|
|
16997
17073
|
role: e === "error" ? "alert" : "status",
|
|
16998
17074
|
"data-type": e,
|
|
@@ -17009,7 +17085,7 @@ var Db = {
|
|
|
17009
17085
|
g && /* @__PURE__ */ S("div", {
|
|
17010
17086
|
className: "eidotter-notification__icon",
|
|
17011
17087
|
children: /* @__PURE__ */ S(eh, {
|
|
17012
|
-
name:
|
|
17088
|
+
name: Pb[e] || "Info",
|
|
17013
17089
|
size: "S",
|
|
17014
17090
|
"aria-label": `${e} notification`
|
|
17015
17091
|
})
|
|
@@ -17036,7 +17112,7 @@ var Db = {
|
|
|
17036
17112
|
fullWidth: !0,
|
|
17037
17113
|
showLabel: !1
|
|
17038
17114
|
}), c && /* @__PURE__ */ S("div", {
|
|
17039
|
-
className: "eidotter-notification__text font-dos text-dos-text-
|
|
17115
|
+
className: "eidotter-notification__text font-dos text-dos-text-base",
|
|
17040
17116
|
children: c
|
|
17041
17117
|
})]
|
|
17042
17118
|
}),
|
|
@@ -17061,7 +17137,7 @@ var Db = {
|
|
|
17061
17137
|
});
|
|
17062
17138
|
};
|
|
17063
17139
|
// src/components/InlineLink/components/InlineLink.tsx
|
|
17064
|
-
function
|
|
17140
|
+
function Ib(e) {
|
|
17065
17141
|
let t = e.trim();
|
|
17066
17142
|
return t === "" || y_(t, { extraSchemes: [
|
|
17067
17143
|
"tel",
|
|
@@ -17069,14 +17145,14 @@ function kb(e) {
|
|
|
17069
17145
|
"sms"
|
|
17070
17146
|
] }) ? t : "#";
|
|
17071
17147
|
}
|
|
17072
|
-
function
|
|
17148
|
+
function Lb(e, t) {
|
|
17073
17149
|
if (t.length === 0) return e;
|
|
17074
17150
|
let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
|
|
17075
17151
|
for (let e of t) n.add(e.toLowerCase());
|
|
17076
17152
|
return Array.from(n).join(" ");
|
|
17077
17153
|
}
|
|
17078
|
-
var
|
|
17079
|
-
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 ? "↗" : "▸";
|
|
17080
17156
|
return /* @__PURE__ */ C("a", {
|
|
17081
17157
|
ref: c,
|
|
17082
17158
|
href: l,
|
|
@@ -17094,9 +17170,9 @@ var jb = a(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
|
|
|
17094
17170
|
})]
|
|
17095
17171
|
});
|
|
17096
17172
|
});
|
|
17097
|
-
|
|
17173
|
+
Rb.displayName = "InlineLink";
|
|
17098
17174
|
// src/components/DosFigure/components/DosFigure.tsx
|
|
17099
|
-
var
|
|
17175
|
+
var zb = a(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, c) => {
|
|
17100
17176
|
let l = u(), d = r ? l : void 0;
|
|
17101
17177
|
return /* @__PURE__ */ C("figure", {
|
|
17102
17178
|
ref: c,
|
|
@@ -17156,9 +17232,9 @@ var Mb = a(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
|
|
|
17156
17232
|
})]
|
|
17157
17233
|
});
|
|
17158
17234
|
});
|
|
17159
|
-
|
|
17235
|
+
zb.displayName = "DosFigure";
|
|
17160
17236
|
// src/components/CmdPalette/components/CmdPalette.tsx
|
|
17161
|
-
var
|
|
17237
|
+
var Bb = /* @__PURE__ */ C(x, { children: [
|
|
17162
17238
|
/* @__PURE__ */ S("span", {
|
|
17163
17239
|
className: "eidotter-cmdpal__key-hint",
|
|
17164
17240
|
children: "↑/↓ NAVIGATE"
|
|
@@ -17174,7 +17250,7 @@ var Nb = /* @__PURE__ */ C(x, { children: [
|
|
|
17174
17250
|
children: "ESC CLOSE"
|
|
17175
17251
|
})
|
|
17176
17252
|
] });
|
|
17177
|
-
function
|
|
17253
|
+
function Vb(e) {
|
|
17178
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");
|
|
17179
17255
|
return (e) => {
|
|
17180
17256
|
if (e.key.toLowerCase() !== n) return !1;
|
|
@@ -17182,15 +17258,15 @@ function Pb(e) {
|
|
|
17182
17258
|
return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
|
|
17183
17259
|
};
|
|
17184
17260
|
}
|
|
17185
|
-
function
|
|
17261
|
+
function Hb(e, t) {
|
|
17186
17262
|
if (!t) return 0;
|
|
17187
17263
|
let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
|
|
17188
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;
|
|
17189
17265
|
}
|
|
17190
|
-
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" }, _) => {
|
|
17191
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) => ({
|
|
17192
17268
|
item: e,
|
|
17193
|
-
score:
|
|
17269
|
+
score: Hb(e, b.trim())
|
|
17194
17270
|
})).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, d).map((e) => e.item) : n.slice(0, d), [
|
|
17195
17271
|
n,
|
|
17196
17272
|
b,
|
|
@@ -17215,7 +17291,7 @@ var Ib = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
17215
17291
|
M.current = t;
|
|
17216
17292
|
}, [t]), l(() => {
|
|
17217
17293
|
if (i === !1) return;
|
|
17218
|
-
let e =
|
|
17294
|
+
let e = Vb(i), t = (t) => {
|
|
17219
17295
|
e(t) && (t.preventDefault(), M.current(!j.current));
|
|
17220
17296
|
};
|
|
17221
17297
|
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
@@ -17321,9 +17397,9 @@ var Ib = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
17321
17397
|
})]
|
|
17322
17398
|
});
|
|
17323
17399
|
});
|
|
17324
|
-
|
|
17400
|
+
Ub.displayName = "CmdPalette";
|
|
17325
17401
|
// src/components/AIText/components/AIText.tsx
|
|
17326
|
-
var
|
|
17402
|
+
var Wb = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ C("span", {
|
|
17327
17403
|
"data-provenance": "ai-draft",
|
|
17328
17404
|
className: $("eidotter-ai-text", t),
|
|
17329
17405
|
title: n,
|
|
@@ -17332,9 +17408,9 @@ var Lb = ({ children: e, className: t, title: n = "AI-assisted text — being re
|
|
|
17332
17408
|
children: "AI-assisted: "
|
|
17333
17409
|
}), e]
|
|
17334
17410
|
});
|
|
17335
|
-
|
|
17411
|
+
Wb.displayName = "AIText";
|
|
17336
17412
|
// src/components/LegalPage/components/LegalPage.tsx
|
|
17337
|
-
var
|
|
17413
|
+
var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a, className: o, ...s }) => /* @__PURE__ */ C("div", {
|
|
17338
17414
|
className: $("eidotter-legal-page", i && "eidotter-legal-page--embedded", o),
|
|
17339
17415
|
...s,
|
|
17340
17416
|
children: [r && /* @__PURE__ */ S("div", {
|
|
@@ -17357,13 +17433,13 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17357
17433
|
className: "eidotter-legal-page__body",
|
|
17358
17434
|
children: a
|
|
17359
17435
|
})] })]
|
|
17360
|
-
}),
|
|
17436
|
+
}), Kb = /* @__PURE__ */ C(x, { children: [
|
|
17361
17437
|
"Haus-Endt-Str. 149A",
|
|
17362
17438
|
/* @__PURE__ */ S("br", {}),
|
|
17363
17439
|
"40593 Düsseldorf",
|
|
17364
17440
|
/* @__PURE__ */ S("br", {}),
|
|
17365
17441
|
"Deutschland"
|
|
17366
|
-
] }),
|
|
17442
|
+
] }), qb = "Dominic Kennedy", Jb = ({ email: e, address: t = Kb, name: n = qb }) => /* @__PURE__ */ C("address", { children: [
|
|
17367
17443
|
n,
|
|
17368
17444
|
/* @__PURE__ */ S("br", {}),
|
|
17369
17445
|
t,
|
|
@@ -17375,16 +17451,16 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17375
17451
|
children: e
|
|
17376
17452
|
})
|
|
17377
17453
|
] })
|
|
17378
|
-
] }),
|
|
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", {
|
|
17379
17455
|
href: `mailto:${e}`,
|
|
17380
17456
|
children: e
|
|
17381
|
-
})] })] }),
|
|
17457
|
+
})] })] }), Zb = ({ name: e = qb }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ C("address", { children: [
|
|
17382
17458
|
e,
|
|
17383
17459
|
/* @__PURE__ */ S("br", {}),
|
|
17384
17460
|
"Haus-Endt-Str. 149A",
|
|
17385
17461
|
/* @__PURE__ */ S("br", {}),
|
|
17386
17462
|
"40593 Düsseldorf"
|
|
17387
|
-
] })] }),
|
|
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: [
|
|
17388
17464
|
t,
|
|
17389
17465
|
/* @__PURE__ */ S("br", {}),
|
|
17390
17466
|
"Haus-Endt-Str. 149A",
|
|
@@ -17396,14 +17472,14 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17396
17472
|
href: `mailto:${e}`,
|
|
17397
17473
|
children: e
|
|
17398
17474
|
})
|
|
17399
|
-
] })] }),
|
|
17475
|
+
] })] }), tx = () => /* @__PURE__ */ C(x, { children: [
|
|
17400
17476
|
/* @__PURE__ */ S("h2", { children: "Hosting" }),
|
|
17401
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." }),
|
|
17402
17478
|
/* @__PURE__ */ S("p", {
|
|
17403
17479
|
className: "eidotter-legal-page__basis",
|
|
17404
17480
|
children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
17405
17481
|
})
|
|
17406
|
-
] }),
|
|
17482
|
+
] }), nx = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ C(x, { children: [
|
|
17407
17483
|
/* @__PURE__ */ S("h2", { children: "Webanalyse — PostHog" }),
|
|
17408
17484
|
/* @__PURE__ */ C("p", { children: [
|
|
17409
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 ",
|
|
@@ -17420,7 +17496,7 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17420
17496
|
className: "eidotter-legal-page__basis",
|
|
17421
17497
|
children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
17422
17498
|
})
|
|
17423
|
-
] }),
|
|
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: [
|
|
17424
17500
|
/* @__PURE__ */ S("h2", { children: "Ihre Rechte" }),
|
|
17425
17501
|
/* @__PURE__ */ S("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
|
|
17426
17502
|
/* @__PURE__ */ C("ul", { children: [
|
|
@@ -17445,7 +17521,7 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17445
17521
|
t,
|
|
17446
17522
|
"."
|
|
17447
17523
|
] })
|
|
17448
|
-
] }),
|
|
17524
|
+
] }), ox = {
|
|
17449
17525
|
eidotter: { displayName: "eiDotter" },
|
|
17450
17526
|
spacewar: { displayName: "Spacewar!" },
|
|
17451
17527
|
rizomorf: { displayName: "rizomorf" },
|
|
@@ -17465,7 +17541,7 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17465
17541
|
},
|
|
17466
17542
|
"doctor-portal": { displayName: "Doctor Portal" },
|
|
17467
17543
|
dosbts: { displayName: "DOSBTS" }
|
|
17468
|
-
},
|
|
17544
|
+
}, sx = {
|
|
17469
17545
|
Alert: {
|
|
17470
17546
|
origin: "eidotter",
|
|
17471
17547
|
consumers: ["rizomorf", "steuerdash"],
|
|
@@ -19298,6 +19374,11 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19298
19374
|
}
|
|
19299
19375
|
},
|
|
19300
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
|
+
},
|
|
19301
19382
|
{
|
|
19302
19383
|
version: "0.45.0",
|
|
19303
19384
|
type: "changed",
|
|
@@ -19544,6 +19625,35 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19544
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)"
|
|
19545
19626
|
}]
|
|
19546
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
|
+
},
|
|
19547
19657
|
DisplayMenu: {
|
|
19548
19658
|
origin: "eidotter",
|
|
19549
19659
|
consumers: [],
|
|
@@ -19567,11 +19677,23 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19567
19677
|
path: "src/components/DisplayMenu",
|
|
19568
19678
|
status: "canonical"
|
|
19569
19679
|
} },
|
|
19570
|
-
changelog: [
|
|
19571
|
-
|
|
19572
|
-
|
|
19573
|
-
|
|
19574
|
-
|
|
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
|
+
]
|
|
19575
19697
|
},
|
|
19576
19698
|
DosWindow: {
|
|
19577
19699
|
origin: "eidotter",
|
|
@@ -20354,26 +20476,26 @@ var Rb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20354
20476
|
}]
|
|
20355
20477
|
}
|
|
20356
20478
|
};
|
|
20357
|
-
function
|
|
20358
|
-
return
|
|
20479
|
+
function cx(e) {
|
|
20480
|
+
return sx[e];
|
|
20359
20481
|
}
|
|
20360
|
-
function
|
|
20361
|
-
return Object.entries(
|
|
20482
|
+
function lx(e) {
|
|
20483
|
+
return Object.entries(sx).filter(([, t]) => t.origin === e).map(([e]) => e);
|
|
20362
20484
|
}
|
|
20363
|
-
function
|
|
20364
|
-
return Object.entries(
|
|
20485
|
+
function ux(e) {
|
|
20486
|
+
return Object.entries(sx).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
|
|
20365
20487
|
}
|
|
20366
|
-
function
|
|
20367
|
-
let n =
|
|
20488
|
+
function dx(e, t) {
|
|
20489
|
+
let n = sx[e];
|
|
20368
20490
|
return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
|
|
20369
20491
|
}
|
|
20370
|
-
function
|
|
20371
|
-
let t =
|
|
20492
|
+
function fx(e) {
|
|
20493
|
+
let t = sx[e];
|
|
20372
20494
|
if (!t?.variants) return {};
|
|
20373
20495
|
let n = {};
|
|
20374
20496
|
for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
|
|
20375
20497
|
return n;
|
|
20376
20498
|
}
|
|
20377
20499
|
// src/index.ts
|
|
20378
|
-
var
|
|
20379
|
-
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 };
|