eidotter 0.46.0 → 0.47.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 +8 -5
- package/dist/components/Brand/components/Wordmark.d.ts +2 -1
- package/dist/components/Brand/components/Wordmark.js +3 -2
- package/dist/components/CalendarHeatmap/components/CalendarHeatmap.d.ts +2 -2
- package/dist/components/CalendarHeatmap/components/CalendarHeatmap.js +2 -2
- package/dist/components/ChecklistRow/components/ChecklistRow.d.ts +1 -1
- package/dist/components/ChecklistRow/components/ChecklistRow.js +1 -1
- package/dist/components/CopyButton/components/CopyButton.d.ts +1 -1
- package/dist/components/CopyButton/components/CopyButton.js +1 -1
- package/dist/components/DisplayMenu/components/DisplayMenu.d.ts +8 -5
- package/dist/components/DisplayMenu/components/DisplayMenu.js +69 -10
- package/dist/components/EmptyState/components/EmptyState.d.ts +1 -1
- package/dist/components/EmptyState/components/EmptyState.js +1 -1
- package/dist/components/Gauge/components/Gauge.js +1 -1
- package/dist/components/HoldToComplete/components/HoldToComplete.d.ts +1 -1
- package/dist/components/HoldToComplete/components/HoldToComplete.js +1 -1
- package/dist/components/LedgerRow/components/LedgerRow.d.ts +1 -1
- package/dist/components/LedgerRow/components/LedgerRow.js +1 -1
- package/dist/components/ProgressRing/components/ProgressRing.d.ts +1 -1
- package/dist/components/ProgressRing/components/ProgressRing.js +1 -1
- package/dist/components/RetroEffects/components/RetroEffects.d.ts +54 -0
- package/dist/components/RetroEffects/components/RetroEffects.js +124 -4
- package/dist/components/RetroEffects/components/index.d.ts +1 -1
- package/dist/components/RetroEffects/index.d.ts +1 -1
- package/dist/components/SectionHeading/components/SectionHeading.d.ts +1 -1
- package/dist/components/SectionHeading/components/SectionHeading.js +2 -2
- package/dist/components/Stat/components/Stat.js +1 -1
- package/dist/components/registry.d.ts +12 -1
- package/dist/components/registry.js +101 -98
- package/dist/eidotter.css +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.es.js +731 -603
- package/dist/index.umd.js +3 -3
- package/dist/terminal/cga-amber.json +94 -0
- package/dist/terminal/cga-mode4-p0.json +94 -0
- package/dist/terminal/cga-mode4-p1.json +94 -0
- package/dist/terminal/cga-mode5.json +94 -0
- package/dist/terminal/dos-86.json +94 -0
- package/dist/utils/displayTheme.d.ts +32 -4
- package/dist/utils/displayTheme.js +33 -7
- package/guidelines/README.md +14 -2
- package/guidelines/components.md +9 -0
- package/guidelines/design-principles.md +1 -0
- package/guidelines/figma-architecture.md +1 -2
- package/guidelines/terminal-target.md +44 -0
- package/llms.txt +19 -19
- package/migrations/0.47.0.md +209 -0
- package/migrations/README.md +2 -0
- package/package.json +12 -6
- package/src/styles/dos-utilities.css +13 -3
- package/src/styles/shadcn.css +37 -2
- package/src/styles/theme.amber-paper.css +11 -7
- package/src/styles/theme.cga-amber.css +7 -7
- package/src/styles/theme.cga-mode4-p0.css +7 -7
- package/src/styles/theme.cga-mode4-p1.css +7 -7
- package/src/styles/theme.cga-mode5.css +7 -7
- package/src/styles/theme.dos-86.css +79 -0
- package/src/styles/theme.light.css +7 -7
- package/src/styles/{theme.amber-mono.css → theme.pure-amber.css} +8 -8
- package/src/styles/tokens.css +65 -23
- package/tailwind.preset.cjs +4 -2
package/dist/index.es.js
CHANGED
|
@@ -12168,7 +12168,7 @@ var Qh = {
|
|
|
12168
12168
|
animated: !1
|
|
12169
12169
|
})
|
|
12170
12170
|
}) : /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("span", {
|
|
12171
|
-
className: $("eidotter-gauge__value text-dos-text-accent tabular-nums", Yh[M], k && "opacity-60"),
|
|
12171
|
+
className: $("eidotter-gauge__value font-dos-heading text-dos-text-accent tabular-nums", Yh[M], k && "opacity-60"),
|
|
12172
12172
|
children: O
|
|
12173
12173
|
}), !F && R] })
|
|
12174
12174
|
})]
|
|
@@ -13402,105 +13402,225 @@ var b_ = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
13402
13402
|
]
|
|
13403
13403
|
})
|
|
13404
13404
|
});
|
|
13405
|
-
}, S_ = "eidotter
|
|
13405
|
+
}, S_ = "data-eidotter-glow", C_ = 0, w_ = typeof window > "u" ? l : d, T_ = [
|
|
13406
|
+
"(prefers-reduced-transparency: reduce)",
|
|
13407
|
+
"(prefers-contrast: more)",
|
|
13408
|
+
"(prefers-contrast: high)"
|
|
13409
|
+
], E_ = () => {
|
|
13406
13410
|
if (typeof window > "u") return !1;
|
|
13407
13411
|
try {
|
|
13408
|
-
return window.
|
|
13412
|
+
return typeof window.CSS?.supports == "function" && window.CSS.supports("filter", "url(#eidotter-retro-glow-filter)") && window.SVGFEGaussianBlurElement !== void 0;
|
|
13409
13413
|
} catch {
|
|
13410
13414
|
return !1;
|
|
13411
13415
|
}
|
|
13412
|
-
}, T_ = (e) => {
|
|
13416
|
+
}, D_ = () => typeof window.matchMedia == "function" && T_.some((e) => window.matchMedia(e).matches), O_ = (e) => {
|
|
13417
|
+
let t = window.getComputedStyle(e), n = (e) => parseFloat(t.getPropertyValue(`--effect-phosphor-sampled-${e}`)), r = {
|
|
13418
|
+
tightRadius: n("tight-radius"),
|
|
13419
|
+
tightIntensity: n("tight-intensity"),
|
|
13420
|
+
haloRadius: n("halo-radius"),
|
|
13421
|
+
haloIntensity: n("halo-intensity")
|
|
13422
|
+
};
|
|
13423
|
+
return Object.values(r).some((e) => !Number.isFinite(e) || e < 0) || r.tightIntensity === 0 && r.haloIntensity === 0 ? null : r;
|
|
13424
|
+
}, k_ = (e, t) => e === t || !!e && !!t && e.tightRadius === t.tightRadius && e.tightIntensity === t.tightIntensity && e.haloRadius === t.haloRadius && e.haloIntensity === t.haloIntensity, A_ = ({ radius: e, intensity: t, result: n }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("feGaussianBlur", {
|
|
13425
|
+
in: "SourceGraphic",
|
|
13426
|
+
stdDeviation: e,
|
|
13427
|
+
result: `${n}-blur`
|
|
13428
|
+
}), /* @__PURE__ */ C("feComponentTransfer", {
|
|
13429
|
+
in: `${n}-blur`,
|
|
13430
|
+
result: n,
|
|
13431
|
+
children: [
|
|
13432
|
+
/* @__PURE__ */ S("feFuncR", {
|
|
13433
|
+
type: "linear",
|
|
13434
|
+
slope: t
|
|
13435
|
+
}),
|
|
13436
|
+
/* @__PURE__ */ S("feFuncG", {
|
|
13437
|
+
type: "linear",
|
|
13438
|
+
slope: t
|
|
13439
|
+
}),
|
|
13440
|
+
/* @__PURE__ */ S("feFuncB", {
|
|
13441
|
+
type: "linear",
|
|
13442
|
+
slope: t
|
|
13443
|
+
}),
|
|
13444
|
+
/* @__PURE__ */ S("feFuncA", {
|
|
13445
|
+
type: "linear",
|
|
13446
|
+
slope: t
|
|
13447
|
+
})
|
|
13448
|
+
]
|
|
13449
|
+
})] }), j_ = "eidotter:retro-boot", M_ = "1", N_ = (e) => {
|
|
13450
|
+
if (typeof window > "u") return !1;
|
|
13451
|
+
try {
|
|
13452
|
+
return window.sessionStorage.getItem(e) === M_;
|
|
13453
|
+
} catch {
|
|
13454
|
+
return !1;
|
|
13455
|
+
}
|
|
13456
|
+
}, P_ = (e) => {
|
|
13413
13457
|
if (typeof window < "u") try {
|
|
13414
|
-
window.sessionStorage.setItem(e,
|
|
13458
|
+
window.sessionStorage.setItem(e, M_);
|
|
13415
13459
|
} catch {}
|
|
13416
|
-
},
|
|
13417
|
-
let
|
|
13460
|
+
}, F_ = ({ scanlines: e = !0, glow: t = !0, flicker: n = !0, bloom: r = !1, mask: i, preset: a = "default", glowMode: o = "element", powered: s = !0, boot: c = !1, bootOnce: u = !1, bootStorageKey: d = j_, intensity: f = 1, className: p, onPowerStateChange: g, onPowerOn: _, onPowerOff: v, onBootComplete: y }) => {
|
|
13461
|
+
let b = m(s), [w, T] = h(s ? "on" : "off"), [E, D] = h(c), O = m(!1), k = m(d), A = m(y);
|
|
13418
13462
|
l(() => {
|
|
13419
|
-
|
|
13463
|
+
A.current = y;
|
|
13420
13464
|
});
|
|
13421
|
-
let
|
|
13422
|
-
|
|
13423
|
-
},
|
|
13424
|
-
|
|
13465
|
+
let j = () => {
|
|
13466
|
+
O.current || (O.current = !0, A.current?.());
|
|
13467
|
+
}, M = () => {
|
|
13468
|
+
D(!1), u && P_(k.current), j();
|
|
13425
13469
|
};
|
|
13426
13470
|
l(() => {
|
|
13427
|
-
|
|
13471
|
+
c && u && N_(k.current) && (D(!1), j());
|
|
13428
13472
|
}, []), l(() => {
|
|
13429
|
-
if (!
|
|
13473
|
+
if (!E || O.current) return;
|
|
13430
13474
|
if (nh()) {
|
|
13431
|
-
|
|
13475
|
+
M();
|
|
13432
13476
|
return;
|
|
13433
13477
|
}
|
|
13434
13478
|
let e = window.setTimeout(() => {
|
|
13435
|
-
|
|
13479
|
+
M();
|
|
13436
13480
|
}, 1200);
|
|
13437
13481
|
return () => window.clearTimeout(e);
|
|
13438
|
-
}, [
|
|
13439
|
-
let
|
|
13440
|
-
e.animationName === "eidotter-retro-boot-glow" &&
|
|
13482
|
+
}, [E]);
|
|
13483
|
+
let N = (e) => {
|
|
13484
|
+
e.animationName === "eidotter-retro-boot-glow" && M();
|
|
13441
13485
|
};
|
|
13442
13486
|
l(() => {
|
|
13443
|
-
let e =
|
|
13444
|
-
if (
|
|
13445
|
-
let e =
|
|
13446
|
-
|
|
13487
|
+
let e = b.current;
|
|
13488
|
+
if (b.current = s, e !== s) {
|
|
13489
|
+
let e = s ? "powering-on" : "powering-off";
|
|
13490
|
+
T(e), g?.(e);
|
|
13447
13491
|
}
|
|
13448
|
-
}, [
|
|
13449
|
-
let
|
|
13450
|
-
|
|
13451
|
-
},
|
|
13452
|
-
(e.animationName === "retro-power-on" || e.animationName === "retro-power-off") &&
|
|
13453
|
-
},
|
|
13454
|
-
e.propertyName === "opacity" && (
|
|
13455
|
-
},
|
|
13456
|
-
|
|
13457
|
-
|
|
13458
|
-
|
|
13459
|
-
|
|
13460
|
-
|
|
13461
|
-
|
|
13462
|
-
|
|
13463
|
-
|
|
13464
|
-
|
|
13465
|
-
|
|
13466
|
-
|
|
13467
|
-
|
|
13468
|
-
|
|
13469
|
-
|
|
13470
|
-
|
|
13471
|
-
|
|
13472
|
-
|
|
13473
|
-
|
|
13474
|
-
|
|
13492
|
+
}, [s, g]);
|
|
13493
|
+
let P = () => {
|
|
13494
|
+
w === "powering-on" ? (T("on"), g?.("on"), _?.()) : w === "powering-off" && (T("off"), g?.("off"), v?.());
|
|
13495
|
+
}, F = (e) => {
|
|
13496
|
+
(e.animationName === "retro-power-on" || e.animationName === "retro-power-off") && P();
|
|
13497
|
+
}, I = (e) => {
|
|
13498
|
+
e.propertyName === "opacity" && (w === "powering-on" || w === "powering-off") && P();
|
|
13499
|
+
}, L = { "--retro-intensity": f };
|
|
13500
|
+
i === !1 && (L["--effect-mask-intensity"] = 0);
|
|
13501
|
+
let R = w !== "off", ee = i ?? a === "long-reading", z = m(null), [B, V] = h(null), te = o === "sampled" && R;
|
|
13502
|
+
l(() => {
|
|
13503
|
+
let e = z.current;
|
|
13504
|
+
if (!te || !e || !E_()) {
|
|
13505
|
+
V(null);
|
|
13506
|
+
return;
|
|
13507
|
+
}
|
|
13508
|
+
let t = () => {
|
|
13509
|
+
let t = D_() ? null : O_(e);
|
|
13510
|
+
V((e) => k_(e, t) ? e : t);
|
|
13511
|
+
};
|
|
13512
|
+
t();
|
|
13513
|
+
let n = typeof window.matchMedia == "function" ? T_.map((e) => window.matchMedia(e)) : [];
|
|
13514
|
+
n.forEach((e) => e.addEventListener?.("change", t));
|
|
13515
|
+
let r = typeof MutationObserver > "u" ? null : new MutationObserver(t), i = {
|
|
13516
|
+
attributes: !0,
|
|
13517
|
+
attributeFilter: [
|
|
13518
|
+
"data-theme",
|
|
13519
|
+
"class",
|
|
13520
|
+
"data-effects",
|
|
13521
|
+
"style"
|
|
13475
13522
|
]
|
|
13476
|
-
}
|
|
13523
|
+
};
|
|
13524
|
+
return r?.observe(document.documentElement, i), document.body && r?.observe(document.body, i), window.addEventListener("load", t), () => {
|
|
13525
|
+
n.forEach((e) => e.removeEventListener?.("change", t)), r?.disconnect(), window.removeEventListener("load", t);
|
|
13526
|
+
};
|
|
13527
|
+
}, [te, a]);
|
|
13528
|
+
let H = B !== null;
|
|
13529
|
+
return w_(() => {
|
|
13530
|
+
if (!H) return;
|
|
13531
|
+
let e = document.documentElement;
|
|
13532
|
+
return C_ += 1, e.setAttribute(S_, "sampled"), () => {
|
|
13533
|
+
--C_, C_ === 0 && e.removeAttribute(S_);
|
|
13534
|
+
};
|
|
13535
|
+
}, [H]), /* @__PURE__ */ C("div", {
|
|
13536
|
+
ref: z,
|
|
13537
|
+
className: $("fixed inset-0 pointer-events-none z-[9999]", "eidotter-retro-effects", w === "powering-off" && "eidotter-retro-effects--powering-off", w === "powering-on" && "eidotter-retro-effects--powering-on", w === "off" && "eidotter-retro-effects--off", p),
|
|
13538
|
+
style: L,
|
|
13539
|
+
"data-effects": a === "default" ? void 0 : a,
|
|
13540
|
+
"aria-hidden": "true",
|
|
13541
|
+
onAnimationEnd: F,
|
|
13542
|
+
onTransitionEnd: I,
|
|
13543
|
+
children: [
|
|
13544
|
+
R && /* @__PURE__ */ C(x, { children: [
|
|
13545
|
+
e && /* @__PURE__ */ S("div", { className: "eidotter-retro-effects__scanlines" }),
|
|
13546
|
+
t && /* @__PURE__ */ S("div", { className: "eidotter-retro-effects__glow" }),
|
|
13547
|
+
n && /* @__PURE__ */ S("div", { className: "eidotter-retro-effects__flicker" }),
|
|
13548
|
+
r && /* @__PURE__ */ S("div", { className: "eidotter-retro-effects__bloom" }),
|
|
13549
|
+
ee && /* @__PURE__ */ S("div", { className: "eidotter-retro-effects__mask" })
|
|
13550
|
+
] }),
|
|
13551
|
+
B && /* @__PURE__ */ S("svg", {
|
|
13552
|
+
className: "eidotter-retro-effects__glow-filter",
|
|
13553
|
+
focusable: "false",
|
|
13554
|
+
children: /* @__PURE__ */ C("filter", {
|
|
13555
|
+
id: "eidotter-retro-glow-filter",
|
|
13556
|
+
x: "0",
|
|
13557
|
+
y: "0",
|
|
13558
|
+
width: "100%",
|
|
13559
|
+
height: "100%",
|
|
13560
|
+
colorInterpolationFilters: "sRGB",
|
|
13561
|
+
children: [
|
|
13562
|
+
/* @__PURE__ */ S(A_, {
|
|
13563
|
+
radius: B.tightRadius,
|
|
13564
|
+
intensity: B.tightIntensity,
|
|
13565
|
+
result: "tight"
|
|
13566
|
+
}),
|
|
13567
|
+
/* @__PURE__ */ S(A_, {
|
|
13568
|
+
radius: B.haloRadius,
|
|
13569
|
+
intensity: B.haloIntensity,
|
|
13570
|
+
result: "halo"
|
|
13571
|
+
}),
|
|
13572
|
+
/* @__PURE__ */ S("feBlend", {
|
|
13573
|
+
in: "SourceGraphic",
|
|
13574
|
+
in2: "tight",
|
|
13575
|
+
mode: "screen",
|
|
13576
|
+
result: "with-tight"
|
|
13577
|
+
}),
|
|
13578
|
+
/* @__PURE__ */ S("feBlend", {
|
|
13579
|
+
in: "with-tight",
|
|
13580
|
+
in2: "halo",
|
|
13581
|
+
mode: "screen"
|
|
13582
|
+
})
|
|
13583
|
+
]
|
|
13584
|
+
})
|
|
13585
|
+
}),
|
|
13586
|
+
E && /* @__PURE__ */ C("div", {
|
|
13587
|
+
className: "eidotter-retro-effects__boot",
|
|
13588
|
+
onAnimationEnd: N,
|
|
13589
|
+
children: [
|
|
13590
|
+
/* @__PURE__ */ S("div", { className: "eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--top" }),
|
|
13591
|
+
/* @__PURE__ */ S("div", { className: "eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--bottom" }),
|
|
13592
|
+
/* @__PURE__ */ S("div", { className: "eidotter-retro-effects__boot-line" }),
|
|
13593
|
+
/* @__PURE__ */ S("div", { className: "eidotter-retro-effects__boot-glow" })
|
|
13594
|
+
]
|
|
13595
|
+
})
|
|
13596
|
+
]
|
|
13477
13597
|
});
|
|
13478
|
-
},
|
|
13598
|
+
}, I_ = {
|
|
13479
13599
|
sm: "small",
|
|
13480
13600
|
md: "medium",
|
|
13481
13601
|
lg: "large",
|
|
13482
13602
|
small: "small",
|
|
13483
13603
|
medium: "medium",
|
|
13484
13604
|
large: "large"
|
|
13485
|
-
},
|
|
13605
|
+
}, L_ = {
|
|
13486
13606
|
circle: "eidotter-timeline-node--circle",
|
|
13487
13607
|
square: "eidotter-timeline-node--square",
|
|
13488
13608
|
diamond: "eidotter-timeline-node--diamond"
|
|
13489
|
-
},
|
|
13609
|
+
}, R_ = {
|
|
13490
13610
|
default: "eidotter-timeline-node--default",
|
|
13491
13611
|
primary: "eidotter-timeline-node--primary",
|
|
13492
13612
|
secondary: "eidotter-timeline-node--secondary",
|
|
13493
13613
|
accent: "eidotter-timeline-node--accent"
|
|
13494
|
-
},
|
|
13614
|
+
}, z_ = {
|
|
13495
13615
|
left: "eidotter-timeline-node--label-left",
|
|
13496
13616
|
right: "eidotter-timeline-node--label-right",
|
|
13497
13617
|
top: "eidotter-timeline-node--label-top",
|
|
13498
13618
|
bottom: "eidotter-timeline-node--label-bottom"
|
|
13499
|
-
},
|
|
13500
|
-
let u =
|
|
13619
|
+
}, B_ = a(({ shape: e = "circle", variant: t = "default", isActive: n = !1, label: r, labelPosition: i = "right", size: a = "md", className: o, onClick: s, ...c }, l) => {
|
|
13620
|
+
let u = I_[a] ?? "medium";
|
|
13501
13621
|
return /* @__PURE__ */ C("div", {
|
|
13502
13622
|
ref: l,
|
|
13503
|
-
className: $("inline-flex items-center gap-2 font-dos", "eidotter-timeline-node",
|
|
13623
|
+
className: $("inline-flex items-center gap-2 font-dos", "eidotter-timeline-node", L_[e], R_[t], `eidotter-timeline-node--${u}`, z_[i], n && "eidotter-timeline-node--active", s && "eidotter-timeline-node--interactive", o),
|
|
13504
13624
|
onClick: () => {
|
|
13505
13625
|
s && s();
|
|
13506
13626
|
},
|
|
@@ -13535,21 +13655,21 @@ var b_ = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
13535
13655
|
]
|
|
13536
13656
|
});
|
|
13537
13657
|
});
|
|
13538
|
-
|
|
13658
|
+
B_.displayName = "TimelineNode";
|
|
13539
13659
|
// src/components/TimelineContainer/components/types.ts
|
|
13540
|
-
var
|
|
13660
|
+
var V_ = [
|
|
13541
13661
|
"year",
|
|
13542
13662
|
"month",
|
|
13543
13663
|
"day",
|
|
13544
13664
|
"hour"
|
|
13545
13665
|
];
|
|
13546
13666
|
// src/components/TimelineContainer/components/useDrillDown.ts
|
|
13547
|
-
function
|
|
13667
|
+
function H_({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {}) {
|
|
13548
13668
|
let r = e === void 0, [i, a] = h(t), [o, c] = h([]), u = m(r);
|
|
13549
13669
|
l(() => {
|
|
13550
13670
|
u.current && !r && c([]), u.current = r;
|
|
13551
13671
|
}, [r]);
|
|
13552
|
-
let d = e ?? i, f =
|
|
13672
|
+
let d = e ?? i, f = V_.indexOf(d), p = f < V_.length - 1, g = f > 0, _ = o.length > 0 ? o[o.length - 1].periodStart : null, v = m(r), y = m(p), b = m(f), x = m(o), S = m(n);
|
|
13553
13673
|
l(() => {
|
|
13554
13674
|
v.current = r, y.current = p, b.current = f, x.current = o, S.current = n;
|
|
13555
13675
|
});
|
|
@@ -13565,7 +13685,7 @@ function N_({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
13565
13685
|
isDrillDownEnabled: r,
|
|
13566
13686
|
drillDown: s((e, t) => {
|
|
13567
13687
|
if (!v.current || !y.current) return;
|
|
13568
|
-
let n =
|
|
13688
|
+
let n = V_[b.current + 1];
|
|
13569
13689
|
n !== void 0 && (c((n) => [...n, {
|
|
13570
13690
|
periodStart: e,
|
|
13571
13691
|
label: t
|
|
@@ -13573,7 +13693,7 @@ function N_({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
13573
13693
|
}, [C]),
|
|
13574
13694
|
drillUp: s(() => {
|
|
13575
13695
|
if (!v.current || x.current.length === 0) return;
|
|
13576
|
-
let e =
|
|
13696
|
+
let e = V_[b.current - 1];
|
|
13577
13697
|
e !== void 0 && (c((e) => e.slice(0, -1)), C(e));
|
|
13578
13698
|
}, [C]),
|
|
13579
13699
|
reset: s(() => {
|
|
@@ -13582,7 +13702,7 @@ function N_({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
13582
13702
|
};
|
|
13583
13703
|
}
|
|
13584
13704
|
// src/components/TimelineContainer/components/useSelection.ts
|
|
13585
|
-
function
|
|
13705
|
+
function U_({ selectedEntryId: e, defaultSelectedEntryId: t = null, onSelectEntry: n } = {}) {
|
|
13586
13706
|
let [r, i] = h(t), a = e !== void 0, o = e === void 0 ? r : e, c = m(o), u = m(a), d = m(n);
|
|
13587
13707
|
l(() => {
|
|
13588
13708
|
c.current = o, u.current = a, d.current = n;
|
|
@@ -13607,7 +13727,7 @@ function P_({ selectedEntryId: e, defaultSelectedEntryId: t = null, onSelectEntr
|
|
|
13607
13727
|
};
|
|
13608
13728
|
}
|
|
13609
13729
|
// src/components/TimelineContainer/components/timelineUtils.ts
|
|
13610
|
-
var
|
|
13730
|
+
var W_ = [
|
|
13611
13731
|
"January",
|
|
13612
13732
|
"February",
|
|
13613
13733
|
"March",
|
|
@@ -13620,7 +13740,7 @@ var F_ = [
|
|
|
13620
13740
|
"October",
|
|
13621
13741
|
"November",
|
|
13622
13742
|
"December"
|
|
13623
|
-
],
|
|
13743
|
+
], G_ = [
|
|
13624
13744
|
"Jan",
|
|
13625
13745
|
"Feb",
|
|
13626
13746
|
"Mar",
|
|
@@ -13634,48 +13754,48 @@ var F_ = [
|
|
|
13634
13754
|
"Nov",
|
|
13635
13755
|
"Dec"
|
|
13636
13756
|
];
|
|
13637
|
-
function
|
|
13757
|
+
function K_(e) {
|
|
13638
13758
|
return new Date(e).getUTCFullYear();
|
|
13639
13759
|
}
|
|
13640
|
-
function
|
|
13760
|
+
function q_(e) {
|
|
13641
13761
|
return new Date(e).getUTCMonth();
|
|
13642
13762
|
}
|
|
13643
|
-
function
|
|
13763
|
+
function J_(e) {
|
|
13644
13764
|
return new Date(e).getUTCDate();
|
|
13645
13765
|
}
|
|
13646
|
-
function
|
|
13766
|
+
function Y_(e) {
|
|
13647
13767
|
return new Date(e).getUTCHours();
|
|
13648
13768
|
}
|
|
13649
|
-
function
|
|
13769
|
+
function X_(e) {
|
|
13650
13770
|
return String(e);
|
|
13651
13771
|
}
|
|
13652
|
-
function
|
|
13653
|
-
return `${
|
|
13772
|
+
function Z_(e, t) {
|
|
13773
|
+
return `${W_[t]} ${e}`;
|
|
13654
13774
|
}
|
|
13655
|
-
function
|
|
13656
|
-
return `${
|
|
13775
|
+
function Q_(e, t, n) {
|
|
13776
|
+
return `${G_[t]} ${n}`;
|
|
13657
13777
|
}
|
|
13658
|
-
function
|
|
13778
|
+
function $_(e, t, n, r) {
|
|
13659
13779
|
let i = r >= 12 ? "pm" : "am", a = r === 0 ? 12 : r > 12 ? r - 12 : r;
|
|
13660
|
-
return `${
|
|
13780
|
+
return `${G_[t]} ${n}, ${a}${i}`;
|
|
13661
13781
|
}
|
|
13662
|
-
function
|
|
13663
|
-
let t = new Date(e), n =
|
|
13782
|
+
function ev(e) {
|
|
13783
|
+
let t = new Date(e), n = G_[t.getUTCMonth()], r = t.getUTCDate(), i = t.getUTCFullYear(), a = t.getUTCHours(), o = t.getUTCMinutes(), s = a >= 12 ? "pm" : "am";
|
|
13664
13784
|
return `${n} ${r}, ${i} at ${a === 0 ? 12 : a > 12 ? a - 12 : a}${o > 0 ? `:${String(o).padStart(2, "0")}` : ""}${s}`;
|
|
13665
13785
|
}
|
|
13666
|
-
function
|
|
13786
|
+
function tv(e) {
|
|
13667
13787
|
return new Date(Date.UTC(e, 0, 1)).toISOString();
|
|
13668
13788
|
}
|
|
13669
|
-
function
|
|
13789
|
+
function nv(e, t) {
|
|
13670
13790
|
return new Date(Date.UTC(e, t, 1)).toISOString();
|
|
13671
13791
|
}
|
|
13672
|
-
function
|
|
13792
|
+
function rv(e, t, n) {
|
|
13673
13793
|
return new Date(Date.UTC(e, t, n)).toISOString();
|
|
13674
13794
|
}
|
|
13675
|
-
function
|
|
13795
|
+
function iv(e, t, n, r) {
|
|
13676
13796
|
return new Date(Date.UTC(e, t, n, r)).toISOString();
|
|
13677
13797
|
}
|
|
13678
|
-
function
|
|
13798
|
+
function av(e, t, n, r, i) {
|
|
13679
13799
|
let a = /* @__PURE__ */ new Map(), o = [];
|
|
13680
13800
|
for (let n of e) {
|
|
13681
13801
|
let e = t(n), r = a.get(e);
|
|
@@ -13692,32 +13812,32 @@ function X_(e, t, n, r, i) {
|
|
|
13692
13812
|
entries: a.get(e) ?? []
|
|
13693
13813
|
}));
|
|
13694
13814
|
}
|
|
13695
|
-
function
|
|
13696
|
-
return String(
|
|
13815
|
+
function ov(e) {
|
|
13816
|
+
return String(K_(e.date));
|
|
13697
13817
|
}
|
|
13698
|
-
function
|
|
13699
|
-
let t =
|
|
13818
|
+
function sv(e) {
|
|
13819
|
+
let t = K_(e.date), n = q_(e.date);
|
|
13700
13820
|
return `${t}-${String(n).padStart(2, "0")}`;
|
|
13701
13821
|
}
|
|
13702
|
-
function
|
|
13703
|
-
let t =
|
|
13822
|
+
function cv(e) {
|
|
13823
|
+
let t = K_(e.date), n = q_(e.date), r = J_(e.date);
|
|
13704
13824
|
return `${t}-${String(n).padStart(2, "0")}-${String(r).padStart(2, "0")}`;
|
|
13705
13825
|
}
|
|
13706
|
-
function
|
|
13707
|
-
let t =
|
|
13826
|
+
function lv(e) {
|
|
13827
|
+
let t = K_(e.date), n = q_(e.date), r = J_(e.date), i = Y_(e.date);
|
|
13708
13828
|
return `${t}-${String(n).padStart(2, "0")}-${String(r).padStart(2, "0")}-${String(i).padStart(2, "0")}`;
|
|
13709
13829
|
}
|
|
13710
|
-
function
|
|
13830
|
+
function uv(e) {
|
|
13711
13831
|
return { year: parseInt(e) };
|
|
13712
13832
|
}
|
|
13713
|
-
function
|
|
13833
|
+
function dv(e) {
|
|
13714
13834
|
let [t, n] = e.split("-");
|
|
13715
13835
|
return {
|
|
13716
13836
|
year: parseInt(t),
|
|
13717
13837
|
month: parseInt(n)
|
|
13718
13838
|
};
|
|
13719
13839
|
}
|
|
13720
|
-
function
|
|
13840
|
+
function fv(e) {
|
|
13721
13841
|
let [t, n, r] = e.split("-");
|
|
13722
13842
|
return {
|
|
13723
13843
|
year: parseInt(t),
|
|
@@ -13725,7 +13845,7 @@ function rv(e) {
|
|
|
13725
13845
|
day: parseInt(r)
|
|
13726
13846
|
};
|
|
13727
13847
|
}
|
|
13728
|
-
function
|
|
13848
|
+
function pv(e) {
|
|
13729
13849
|
let [t, n, r, i] = e.split("-");
|
|
13730
13850
|
return {
|
|
13731
13851
|
year: parseInt(t),
|
|
@@ -13734,55 +13854,55 @@ function iv(e) {
|
|
|
13734
13854
|
hour: parseInt(i)
|
|
13735
13855
|
};
|
|
13736
13856
|
}
|
|
13737
|
-
var
|
|
13857
|
+
var mv = {
|
|
13738
13858
|
year: 4,
|
|
13739
13859
|
month: 7,
|
|
13740
13860
|
day: 10
|
|
13741
13861
|
};
|
|
13742
|
-
function
|
|
13862
|
+
function hv(e, t, n) {
|
|
13743
13863
|
if (t === null || n === "hour") return e;
|
|
13744
|
-
let r =
|
|
13864
|
+
let r = mv[n];
|
|
13745
13865
|
if (r === void 0) return e;
|
|
13746
13866
|
let i = t.slice(0, r);
|
|
13747
13867
|
return e.filter((e) => e.periodStart.slice(0, r) === i);
|
|
13748
13868
|
}
|
|
13749
|
-
function
|
|
13869
|
+
function gv(e, t, n = "desc") {
|
|
13750
13870
|
if (e.length === 0) return [];
|
|
13751
13871
|
let r = e.filter((e) => !isNaN(new Date(e.date).getTime()));
|
|
13752
13872
|
if (r.length === 0) return [];
|
|
13753
13873
|
switch (t) {
|
|
13754
|
-
case "year": return
|
|
13755
|
-
let { year: t } =
|
|
13756
|
-
return
|
|
13874
|
+
case "year": return av(r, ov, (e) => {
|
|
13875
|
+
let { year: t } = uv(e);
|
|
13876
|
+
return X_(t);
|
|
13757
13877
|
}, (e) => {
|
|
13758
|
-
let { year: t } =
|
|
13759
|
-
return
|
|
13878
|
+
let { year: t } = uv(e);
|
|
13879
|
+
return tv(t);
|
|
13760
13880
|
}, n);
|
|
13761
|
-
case "month": return
|
|
13762
|
-
let { year: t, month: n } =
|
|
13763
|
-
return
|
|
13881
|
+
case "month": return av(r, sv, (e) => {
|
|
13882
|
+
let { year: t, month: n } = dv(e);
|
|
13883
|
+
return Z_(t, n);
|
|
13764
13884
|
}, (e) => {
|
|
13765
|
-
let { year: t, month: n } =
|
|
13766
|
-
return
|
|
13885
|
+
let { year: t, month: n } = dv(e);
|
|
13886
|
+
return nv(t, n);
|
|
13767
13887
|
}, n);
|
|
13768
|
-
case "day": return
|
|
13769
|
-
let { year: t, month: n, day: r } =
|
|
13770
|
-
return
|
|
13888
|
+
case "day": return av(r, cv, (e) => {
|
|
13889
|
+
let { year: t, month: n, day: r } = fv(e);
|
|
13890
|
+
return Q_(t, n, r);
|
|
13771
13891
|
}, (e) => {
|
|
13772
|
-
let { year: t, month: n, day: r } =
|
|
13773
|
-
return
|
|
13892
|
+
let { year: t, month: n, day: r } = fv(e);
|
|
13893
|
+
return rv(t, n, r);
|
|
13774
13894
|
}, n);
|
|
13775
|
-
case "hour": return
|
|
13776
|
-
let { year: t, month: n, day: r, hour: i } =
|
|
13777
|
-
return
|
|
13895
|
+
case "hour": return av(r, lv, (e) => {
|
|
13896
|
+
let { year: t, month: n, day: r, hour: i } = pv(e);
|
|
13897
|
+
return $_(t, n, r, i);
|
|
13778
13898
|
}, (e) => {
|
|
13779
|
-
let { year: t, month: n, day: r, hour: i } =
|
|
13780
|
-
return
|
|
13899
|
+
let { year: t, month: n, day: r, hour: i } = pv(e);
|
|
13900
|
+
return iv(t, n, r, i);
|
|
13781
13901
|
}, n);
|
|
13782
13902
|
}
|
|
13783
13903
|
}
|
|
13784
13904
|
// src/components/TimelineContainer/components/ZoomControls.tsx
|
|
13785
|
-
var
|
|
13905
|
+
var _v = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i, onReset: a, breadcrumbs: o = [], onBreadcrumbClick: s }) => {
|
|
13786
13906
|
let c = o.length > 0;
|
|
13787
13907
|
return /* @__PURE__ */ C("div", {
|
|
13788
13908
|
className: "timeline-zoom-controls",
|
|
@@ -13829,7 +13949,7 @@ var cv = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
13829
13949
|
})
|
|
13830
13950
|
]
|
|
13831
13951
|
});
|
|
13832
|
-
},
|
|
13952
|
+
}, vv = ({ children: e }) => /* @__PURE__ */ C("div", {
|
|
13833
13953
|
className: "timeline-axis",
|
|
13834
13954
|
children: [/* @__PURE__ */ S("div", {
|
|
13835
13955
|
className: "timeline-axis__line",
|
|
@@ -13838,7 +13958,7 @@ var cv = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
13838
13958
|
className: "timeline-axis__content",
|
|
13839
13959
|
children: e
|
|
13840
13960
|
})]
|
|
13841
|
-
}),
|
|
13961
|
+
}), yv = e.memo(({ buckets: e, onBucketClick: t }) => /* @__PURE__ */ S("div", {
|
|
13842
13962
|
className: "timeline-view timeline-view--year",
|
|
13843
13963
|
role: "list",
|
|
13844
13964
|
children: e.map((e) => /* @__PURE__ */ S("div", {
|
|
@@ -13849,7 +13969,7 @@ var cv = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
13849
13969
|
onPress: () => t(e),
|
|
13850
13970
|
children: [/* @__PURE__ */ S("div", {
|
|
13851
13971
|
className: "timeline-view__node",
|
|
13852
|
-
children: /* @__PURE__ */ S(
|
|
13972
|
+
children: /* @__PURE__ */ S(B_, {
|
|
13853
13973
|
shape: "circle",
|
|
13854
13974
|
size: "medium",
|
|
13855
13975
|
variant: "default",
|
|
@@ -13870,7 +13990,7 @@ var cv = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
13870
13990
|
})]
|
|
13871
13991
|
}) : /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("div", {
|
|
13872
13992
|
className: "timeline-view__node",
|
|
13873
|
-
children: /* @__PURE__ */ S(
|
|
13993
|
+
children: /* @__PURE__ */ S(B_, {
|
|
13874
13994
|
shape: "circle",
|
|
13875
13995
|
size: "medium",
|
|
13876
13996
|
variant: "default",
|
|
@@ -13891,26 +14011,26 @@ var cv = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
13891
14011
|
})] })
|
|
13892
14012
|
}, e.periodStart))
|
|
13893
14013
|
}));
|
|
13894
|
-
|
|
14014
|
+
yv.displayName = "YearView";
|
|
13895
14015
|
// src/components/DosDialog/components/DosDialog.tsx
|
|
13896
|
-
var
|
|
14016
|
+
var bv = [
|
|
13897
14017
|
2,
|
|
13898
14018
|
3,
|
|
13899
14019
|
4,
|
|
13900
14020
|
5,
|
|
13901
14021
|
6
|
|
13902
14022
|
];
|
|
13903
|
-
function
|
|
14023
|
+
function xv(e) {
|
|
13904
14024
|
return typeof e == "object" && !!e && !o(e) && !Array.isArray(e) && "title" in e;
|
|
13905
14025
|
}
|
|
13906
|
-
var
|
|
13907
|
-
let h = u(), g = nh(), _ =
|
|
14026
|
+
var Sv = a(({ open: e, onOpenChange: t, inline: n = !1, placement: r = "center", size: i = "md", head: a, footer: o, isDismissable: s = !0, "aria-label": c, "aria-labelledby": d, className: f, children: p }, m) => {
|
|
14027
|
+
let h = u(), g = nh(), _ = xv(a) ? a : null, v = d ?? (!c && _ && !_.decorative ? h : void 0), y = e && !n && !c && !v;
|
|
13908
14028
|
l(() => {
|
|
13909
14029
|
y && process.env.NODE_ENV !== "production" && console.warn("[eidotter] DosDialog has no accessible name. A ReactNode or decorative head does not name the dialog: pass aria-label or aria-labelledby.");
|
|
13910
14030
|
}, [y]);
|
|
13911
14031
|
let b = null;
|
|
13912
14032
|
if (_) {
|
|
13913
|
-
let { title: e, end: t, marker: n = !0, decorative: r = !1, headingLevel: i = 2 } = _, a =
|
|
14033
|
+
let { title: e, end: t, marker: n = !0, decorative: r = !1, headingLevel: i = 2 } = _, a = bv.includes(i) ? i : 2, o = r ? "span" : `h${a}`;
|
|
13914
14034
|
b = /* @__PURE__ */ C("div", {
|
|
13915
14035
|
className: "eidotter-dialog__head",
|
|
13916
14036
|
"aria-hidden": r || void 0,
|
|
@@ -13972,9 +14092,9 @@ var pv = a(({ open: e, onOpenChange: t, inline: n = !1, placement: r = "center",
|
|
|
13972
14092
|
})
|
|
13973
14093
|
});
|
|
13974
14094
|
});
|
|
13975
|
-
|
|
14095
|
+
Sv.displayName = "DosDialog";
|
|
13976
14096
|
// src/components/Lightbox/components/Lightbox.tsx
|
|
13977
|
-
var
|
|
14097
|
+
var Cv = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange: a }) => {
|
|
13978
14098
|
let o = t.length === 0 ? 0 : Math.max(0, Math.min(n, t.length - 1)), [c, u] = h(o);
|
|
13979
14099
|
l(() => {
|
|
13980
14100
|
r && u(o);
|
|
@@ -14007,7 +14127,7 @@ var mv = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
|
|
|
14007
14127
|
p
|
|
14008
14128
|
]), t.length === 0) return null;
|
|
14009
14129
|
let v = Math.max(0, Math.min(c, t.length - 1)), y = t[v], b = v > 0, w = v < t.length - 1, T = t.length > 1;
|
|
14010
|
-
return /* @__PURE__ */ S(
|
|
14130
|
+
return /* @__PURE__ */ S(Sv, {
|
|
14011
14131
|
open: r,
|
|
14012
14132
|
onOpenChange: (e) => {
|
|
14013
14133
|
e || i();
|
|
@@ -14068,9 +14188,9 @@ var mv = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
|
|
|
14068
14188
|
})
|
|
14069
14189
|
});
|
|
14070
14190
|
};
|
|
14071
|
-
|
|
14191
|
+
Cv.displayName = "Lightbox";
|
|
14072
14192
|
// src/components/TimelineContainer/components/variants/TimelineEntryCardImage.tsx
|
|
14073
|
-
var
|
|
14193
|
+
var wv = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
14074
14194
|
let [r, i] = h(!1), { image: a } = e, o = a.thumbnail || a.src, s = a.link && y_(a.link) ? a.link : void 0;
|
|
14075
14195
|
return l(() => {
|
|
14076
14196
|
t || i(!1);
|
|
@@ -14119,13 +14239,13 @@ var hv = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
14119
14239
|
height: a.height
|
|
14120
14240
|
})
|
|
14121
14241
|
}),
|
|
14122
|
-
/* @__PURE__ */ S(
|
|
14242
|
+
/* @__PURE__ */ S(Cv, {
|
|
14123
14243
|
images: [a],
|
|
14124
14244
|
isOpen: r,
|
|
14125
14245
|
onClose: () => i(!1)
|
|
14126
14246
|
})
|
|
14127
14247
|
] });
|
|
14128
|
-
},
|
|
14248
|
+
}, Tv = ({ images: e, isExpanded: t }) => {
|
|
14129
14249
|
let [n, r] = h({ phase: "grid" });
|
|
14130
14250
|
if (l(() => {
|
|
14131
14251
|
t || r({ phase: "grid" });
|
|
@@ -14144,12 +14264,12 @@ var hv = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
14144
14264
|
return /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("div", {
|
|
14145
14265
|
className: "eidotter-timeline-card-gallery__grid",
|
|
14146
14266
|
role: "list",
|
|
14147
|
-
children: e.map((e, t) => /* @__PURE__ */ S(
|
|
14267
|
+
children: e.map((e, t) => /* @__PURE__ */ S(Ev, {
|
|
14148
14268
|
image: e,
|
|
14149
14269
|
isFocused: a === t,
|
|
14150
14270
|
onClick: () => i(t, e)
|
|
14151
14271
|
}, t))
|
|
14152
|
-
}), /* @__PURE__ */ S(
|
|
14272
|
+
}), /* @__PURE__ */ S(Cv, {
|
|
14153
14273
|
images: e,
|
|
14154
14274
|
isOpen: n.phase === "lightbox",
|
|
14155
14275
|
initialIndex: n.phase === "lightbox" ? n.index : 0,
|
|
@@ -14166,7 +14286,7 @@ var hv = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
14166
14286
|
} : t);
|
|
14167
14287
|
}
|
|
14168
14288
|
})] });
|
|
14169
|
-
},
|
|
14289
|
+
}, Ev = ({ image: e, isFocused: t, onClick: n }) => {
|
|
14170
14290
|
let r = e.thumbnail || e.src, i = e.link && y_(e.link) ? e.link : void 0;
|
|
14171
14291
|
return i ? /* @__PURE__ */ S("div", {
|
|
14172
14292
|
role: "listitem",
|
|
@@ -14201,7 +14321,7 @@ var hv = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
14201
14321
|
})
|
|
14202
14322
|
})
|
|
14203
14323
|
});
|
|
14204
|
-
},
|
|
14324
|
+
}, Dv = ({ entry: e, isExpanded: t, onSelect: n }) => e.images.length === 0 ? (process.env.NODE_ENV !== "production" && console.error(`[eidotter] TimelineEntryCard kind="gallery" entry "${e.id}" has no images.`), /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("p", {
|
|
14205
14325
|
className: "eidotter-timeline-card__title",
|
|
14206
14326
|
children: e.title
|
|
14207
14327
|
}), /* @__PURE__ */ S("p", {
|
|
@@ -14215,11 +14335,11 @@ var hv = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
14215
14335
|
className: "eidotter-timeline-card__title",
|
|
14216
14336
|
children: e.title
|
|
14217
14337
|
})
|
|
14218
|
-
}), /* @__PURE__ */ S(
|
|
14338
|
+
}), /* @__PURE__ */ S(Tv, {
|
|
14219
14339
|
images: e.images,
|
|
14220
14340
|
isExpanded: t
|
|
14221
|
-
})] }),
|
|
14222
|
-
let { summary: i, content: a, href: o, hrefLabel: s } = e, c = e.images ?? [], l = c.length > 0, u = o && y_(o) ? o : void 0, d = l || a != null || u !== void 0, f = c.slice(0,
|
|
14341
|
+
})] }), Ov = 4, kv = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
14342
|
+
let { summary: i, content: a, href: o, hrefLabel: s } = e, c = e.images ?? [], l = c.length > 0, u = o && y_(o) ? o : void 0, d = l || a != null || u !== void 0, f = c.slice(0, Ov), p = c.length - f.length;
|
|
14223
14343
|
return /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ C(Wi, {
|
|
14224
14344
|
className: "eidotter-timeline-card__trigger",
|
|
14225
14345
|
onPress: () => n?.(e.id),
|
|
@@ -14269,7 +14389,7 @@ var hv = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
14269
14389
|
className: "eidotter-timeline-card__body-inner",
|
|
14270
14390
|
inert: !t || void 0,
|
|
14271
14391
|
children: [
|
|
14272
|
-
l && /* @__PURE__ */ S(
|
|
14392
|
+
l && /* @__PURE__ */ S(Tv, {
|
|
14273
14393
|
images: c,
|
|
14274
14394
|
isExpanded: t
|
|
14275
14395
|
}),
|
|
@@ -14289,45 +14409,45 @@ var hv = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
14289
14409
|
]
|
|
14290
14410
|
})
|
|
14291
14411
|
})] });
|
|
14292
|
-
},
|
|
14412
|
+
}, Av = e.memo(({ entry: e, isSelected: t, isExpanded: n = !1, onSelect: r, footer: i, children: a }) => /* @__PURE__ */ C("div", {
|
|
14293
14413
|
className: $("eidotter-timeline-card", t && "eidotter-timeline-card--selected", n && "eidotter-timeline-card--expanded"),
|
|
14294
|
-
children: [
|
|
14414
|
+
children: [jv(e, n, r, a), i && /* @__PURE__ */ S("div", {
|
|
14295
14415
|
className: "eidotter-timeline-card__footer",
|
|
14296
14416
|
children: i
|
|
14297
14417
|
})]
|
|
14298
14418
|
}));
|
|
14299
|
-
|
|
14300
|
-
function
|
|
14419
|
+
Av.displayName = "TimelineEntryCard";
|
|
14420
|
+
function jv(e, t, n, r) {
|
|
14301
14421
|
switch (e.kind) {
|
|
14302
|
-
case "text": return /* @__PURE__ */ S(
|
|
14422
|
+
case "text": return /* @__PURE__ */ S(Nv, {
|
|
14303
14423
|
entry: e,
|
|
14304
14424
|
isExpanded: t,
|
|
14305
14425
|
onSelect: n,
|
|
14306
14426
|
children: r
|
|
14307
14427
|
});
|
|
14308
|
-
case "image": return /* @__PURE__ */ S(
|
|
14428
|
+
case "image": return /* @__PURE__ */ S(wv, {
|
|
14309
14429
|
entry: e,
|
|
14310
14430
|
isExpanded: t,
|
|
14311
14431
|
onSelect: n
|
|
14312
14432
|
});
|
|
14313
|
-
case "gallery": return /* @__PURE__ */ S(
|
|
14433
|
+
case "gallery": return /* @__PURE__ */ S(Dv, {
|
|
14314
14434
|
entry: e,
|
|
14315
14435
|
isExpanded: t,
|
|
14316
14436
|
onSelect: n
|
|
14317
14437
|
});
|
|
14318
|
-
case "article": return /* @__PURE__ */ S(
|
|
14438
|
+
case "article": return /* @__PURE__ */ S(kv, {
|
|
14319
14439
|
entry: e,
|
|
14320
14440
|
isExpanded: t,
|
|
14321
14441
|
onSelect: n,
|
|
14322
14442
|
children: r
|
|
14323
14443
|
});
|
|
14324
|
-
default: return
|
|
14444
|
+
default: return Mv(e);
|
|
14325
14445
|
}
|
|
14326
14446
|
}
|
|
14327
|
-
function
|
|
14447
|
+
function Mv(e) {
|
|
14328
14448
|
throw Error(`TimelineEntryCard: unhandled entry kind: ${JSON.stringify(e)}`);
|
|
14329
14449
|
}
|
|
14330
|
-
var
|
|
14450
|
+
var Nv = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
14331
14451
|
let i = typeof e.content == "string", a = e.content != null;
|
|
14332
14452
|
return /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ C(Wi, {
|
|
14333
14453
|
className: "eidotter-timeline-card__trigger",
|
|
@@ -14365,7 +14485,7 @@ var wv = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
14365
14485
|
children: e.content
|
|
14366
14486
|
})
|
|
14367
14487
|
})] });
|
|
14368
|
-
},
|
|
14488
|
+
}, Pv = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => /* @__PURE__ */ S("div", {
|
|
14369
14489
|
className: "timeline-view timeline-view--month",
|
|
14370
14490
|
role: "list",
|
|
14371
14491
|
children: t.map((t) => /* @__PURE__ */ C("div", {
|
|
@@ -14373,7 +14493,7 @@ var wv = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
14373
14493
|
role: "listitem",
|
|
14374
14494
|
children: [/* @__PURE__ */ S("div", {
|
|
14375
14495
|
className: "timeline-view__node",
|
|
14376
|
-
children: /* @__PURE__ */ S(
|
|
14496
|
+
children: /* @__PURE__ */ S(B_, {
|
|
14377
14497
|
shape: "circle",
|
|
14378
14498
|
size: "medium",
|
|
14379
14499
|
variant: "default",
|
|
@@ -14384,7 +14504,7 @@ var wv = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
14384
14504
|
}), /* @__PURE__ */ S("div", {
|
|
14385
14505
|
className: "timeline-view__content",
|
|
14386
14506
|
children: t.entries.map((t) => {
|
|
14387
|
-
let i = n === t.id, o = () => /* @__PURE__ */ S(
|
|
14507
|
+
let i = n === t.id, o = () => /* @__PURE__ */ S(Av, {
|
|
14388
14508
|
entry: t,
|
|
14389
14509
|
isSelected: i,
|
|
14390
14510
|
isExpanded: i,
|
|
@@ -14399,22 +14519,22 @@ var wv = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
14399
14519
|
})]
|
|
14400
14520
|
}, t.periodStart))
|
|
14401
14521
|
}));
|
|
14402
|
-
|
|
14522
|
+
Pv.displayName = "MonthView";
|
|
14403
14523
|
// src/components/Tag/components/Tag.tsx
|
|
14404
|
-
var
|
|
14524
|
+
var Fv = {
|
|
14405
14525
|
sm: "text-dos-text-base px-2 py-0.5 min-h-6 gap-1",
|
|
14406
14526
|
md: "text-dos-text-base px-2.5 py-1 min-h-7 gap-1.5",
|
|
14407
14527
|
lg: "text-dos-text-base px-3 py-1.5 min-h-8 gap-1.5",
|
|
14408
14528
|
small: "text-dos-text-base px-2 py-0.5 min-h-6 gap-1",
|
|
14409
14529
|
medium: "text-dos-text-base px-2.5 py-1 min-h-7 gap-1.5"
|
|
14410
|
-
},
|
|
14530
|
+
}, Iv = ({ 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
14531
|
let f = !!s && !o, { isClosing: p, triggerClose: m, handleAnimationEnd: h } = rh("eidotter-pop-out", c), g = (e) => {
|
|
14412
14532
|
o || ((e.key === "Enter" || e.key === " ") && s && (e.preventDefault(), s(e)), (e.key === "Delete" || e.key === "Backspace") && a && c && (e.preventDefault(), m()));
|
|
14413
14533
|
}, _ = () => {
|
|
14414
14534
|
o || m();
|
|
14415
14535
|
}, v = r ? { "--tag-color": "var(" + r + ")" } : void 0;
|
|
14416
14536
|
return /* @__PURE__ */ C("span", {
|
|
14417
|
-
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider",
|
|
14537
|
+
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider", Fv[n] || Fv.md, "eidotter-tag", "eidotter-tag--" + t, i && "eidotter-tag--selected", o && "opacity-50 cursor-not-allowed", p && "eidotter-tag--closing", f && "cursor-pointer", l),
|
|
14418
14538
|
style: v,
|
|
14419
14539
|
onClick: f ? (e) => !o && s?.(e) : void 0,
|
|
14420
14540
|
onKeyDown: g,
|
|
@@ -14441,17 +14561,17 @@ var Ev = {
|
|
|
14441
14561
|
isDisabled: o
|
|
14442
14562
|
})]
|
|
14443
14563
|
});
|
|
14444
|
-
},
|
|
14564
|
+
}, Lv = {
|
|
14445
14565
|
tight: "gap-1",
|
|
14446
14566
|
normal: "gap-2",
|
|
14447
14567
|
loose: "gap-3"
|
|
14448
|
-
},
|
|
14449
|
-
className: $("flex", n ? "flex-wrap" : "flex-nowrap",
|
|
14568
|
+
}, Rv = ({ children: e, gap: t = "normal", wrap: n = !0, className: r, "aria-label": i, ...a }) => /* @__PURE__ */ S("div", {
|
|
14569
|
+
className: $("flex", n ? "flex-wrap" : "flex-nowrap", Lv[t] || Lv.normal, r),
|
|
14450
14570
|
role: "group",
|
|
14451
14571
|
"aria-label": i,
|
|
14452
14572
|
...a,
|
|
14453
14573
|
children: e
|
|
14454
|
-
}),
|
|
14574
|
+
}), zv = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ S("div", {
|
|
14455
14575
|
className: "timeline-view timeline-view--day",
|
|
14456
14576
|
role: "list",
|
|
14457
14577
|
children: t.map((t) => /* @__PURE__ */ C("div", {
|
|
@@ -14459,7 +14579,7 @@ var Ev = {
|
|
|
14459
14579
|
role: "listitem",
|
|
14460
14580
|
children: [/* @__PURE__ */ S("div", {
|
|
14461
14581
|
className: "timeline-view__node",
|
|
14462
|
-
children: /* @__PURE__ */ S(
|
|
14582
|
+
children: /* @__PURE__ */ S(B_, {
|
|
14463
14583
|
shape: "circle",
|
|
14464
14584
|
size: "medium",
|
|
14465
14585
|
variant: "default",
|
|
@@ -14469,15 +14589,15 @@ var Ev = {
|
|
|
14469
14589
|
}), /* @__PURE__ */ S("div", {
|
|
14470
14590
|
className: "timeline-view__content",
|
|
14471
14591
|
children: t.entries.map((t) => {
|
|
14472
|
-
let a = n === t.id, o = () => /* @__PURE__ */ S(
|
|
14592
|
+
let a = n === t.id, o = () => /* @__PURE__ */ S(Av, {
|
|
14473
14593
|
entry: t,
|
|
14474
14594
|
isSelected: a,
|
|
14475
14595
|
isExpanded: a,
|
|
14476
14596
|
onSelect: r,
|
|
14477
|
-
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ S(
|
|
14597
|
+
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ S(Rv, {
|
|
14478
14598
|
gap: "tight",
|
|
14479
14599
|
"aria-label": `Tags for ${t.title}`,
|
|
14480
|
-
children: t.tags.map((e) => /* @__PURE__ */ S(
|
|
14600
|
+
children: t.tags.map((e) => /* @__PURE__ */ S(Iv, {
|
|
14481
14601
|
size: "small",
|
|
14482
14602
|
variant: "outlined",
|
|
14483
14603
|
children: e
|
|
@@ -14493,9 +14613,9 @@ var Ev = {
|
|
|
14493
14613
|
})]
|
|
14494
14614
|
}, t.periodStart))
|
|
14495
14615
|
}));
|
|
14496
|
-
|
|
14616
|
+
zv.displayName = "DayView";
|
|
14497
14617
|
// src/components/TimelineContainer/components/views/HourView.tsx
|
|
14498
|
-
var
|
|
14618
|
+
var Bv = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ S("div", {
|
|
14499
14619
|
className: "timeline-view timeline-view--hour",
|
|
14500
14620
|
role: "list",
|
|
14501
14621
|
children: t.map((t) => /* @__PURE__ */ C("div", {
|
|
@@ -14503,7 +14623,7 @@ var jv = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
14503
14623
|
role: "listitem",
|
|
14504
14624
|
children: [/* @__PURE__ */ S("div", {
|
|
14505
14625
|
className: "timeline-view__node",
|
|
14506
|
-
children: /* @__PURE__ */ S(
|
|
14626
|
+
children: /* @__PURE__ */ S(B_, {
|
|
14507
14627
|
shape: "circle",
|
|
14508
14628
|
size: "medium",
|
|
14509
14629
|
variant: "default",
|
|
@@ -14513,17 +14633,17 @@ var jv = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
14513
14633
|
}), /* @__PURE__ */ S("div", {
|
|
14514
14634
|
className: "timeline-view__content",
|
|
14515
14635
|
children: t.entries.map((t) => {
|
|
14516
|
-
let a = n === t.id, o = () => /* @__PURE__ */ C(
|
|
14636
|
+
let a = n === t.id, o = () => /* @__PURE__ */ C(Av, {
|
|
14517
14637
|
entry: t,
|
|
14518
14638
|
isSelected: a,
|
|
14519
14639
|
isExpanded: !0,
|
|
14520
14640
|
onSelect: r,
|
|
14521
14641
|
footer: /* @__PURE__ */ C("div", {
|
|
14522
14642
|
className: "timeline-view__entry-footer",
|
|
14523
|
-
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ S(
|
|
14643
|
+
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ S(Rv, {
|
|
14524
14644
|
gap: "tight",
|
|
14525
14645
|
"aria-label": `Tags for ${t.title}`,
|
|
14526
|
-
children: t.tags.map((e) => /* @__PURE__ */ S(
|
|
14646
|
+
children: t.tags.map((e) => /* @__PURE__ */ S(Iv, {
|
|
14527
14647
|
size: "small",
|
|
14528
14648
|
variant: "outlined",
|
|
14529
14649
|
children: e
|
|
@@ -14538,7 +14658,7 @@ var jv = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
14538
14658
|
/* @__PURE__ */ S("time", {
|
|
14539
14659
|
className: "timeline-view__timestamp",
|
|
14540
14660
|
dateTime: t.date,
|
|
14541
|
-
children:
|
|
14661
|
+
children: ev(t.date)
|
|
14542
14662
|
}),
|
|
14543
14663
|
t.kind === "text" && t.content !== void 0 && /* @__PURE__ */ S("div", {
|
|
14544
14664
|
className: "timeline-view__entry-content",
|
|
@@ -14559,28 +14679,28 @@ var jv = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
14559
14679
|
})]
|
|
14560
14680
|
}, t.periodStart))
|
|
14561
14681
|
}));
|
|
14562
|
-
|
|
14682
|
+
Bv.displayName = "HourView";
|
|
14563
14683
|
// src/components/TimelineContainer/components/TimelineContent.tsx
|
|
14564
|
-
var
|
|
14684
|
+
var Vv = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => {
|
|
14565
14685
|
switch (e) {
|
|
14566
|
-
case "year": return /* @__PURE__ */ S(
|
|
14686
|
+
case "year": return /* @__PURE__ */ S(yv, {
|
|
14567
14687
|
buckets: t,
|
|
14568
14688
|
onBucketClick: i
|
|
14569
14689
|
});
|
|
14570
|
-
case "month": return /* @__PURE__ */ S(
|
|
14690
|
+
case "month": return /* @__PURE__ */ S(Pv, {
|
|
14571
14691
|
buckets: t,
|
|
14572
14692
|
selectedEntryId: n,
|
|
14573
14693
|
onEntrySelect: r,
|
|
14574
14694
|
onBucketClick: i,
|
|
14575
14695
|
renderEntry: a
|
|
14576
14696
|
});
|
|
14577
|
-
case "day": return /* @__PURE__ */ S(
|
|
14697
|
+
case "day": return /* @__PURE__ */ S(zv, {
|
|
14578
14698
|
buckets: t,
|
|
14579
14699
|
selectedEntryId: n,
|
|
14580
14700
|
onEntrySelect: r,
|
|
14581
14701
|
renderEntry: a
|
|
14582
14702
|
});
|
|
14583
|
-
case "hour": return /* @__PURE__ */ S(
|
|
14703
|
+
case "hour": return /* @__PURE__ */ S(Bv, {
|
|
14584
14704
|
buckets: t,
|
|
14585
14705
|
selectedEntryId: n,
|
|
14586
14706
|
onEntrySelect: r,
|
|
@@ -14588,7 +14708,7 @@ var Mv = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
14588
14708
|
});
|
|
14589
14709
|
default: return e;
|
|
14590
14710
|
}
|
|
14591
|
-
},
|
|
14711
|
+
}, Hv = ({ entries: e, selectedEntryId: t, onSelect: n, onDeselect: r, renderEntry: i, formatDate: a }) => {
|
|
14592
14712
|
let o = e.find((e) => e.id === t) ?? null, c = m(null), u = m(null), d = m(t);
|
|
14593
14713
|
l(() => {
|
|
14594
14714
|
let e = d.current;
|
|
@@ -14633,7 +14753,7 @@ var Mv = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
14633
14753
|
children: [/* @__PURE__ */ S("span", {
|
|
14634
14754
|
className: "eidotter-timeline-md__rail-node",
|
|
14635
14755
|
"aria-hidden": "true",
|
|
14636
|
-
children: /* @__PURE__ */ S(
|
|
14756
|
+
children: /* @__PURE__ */ S(B_, {
|
|
14637
14757
|
shape: "circle",
|
|
14638
14758
|
size: "sm",
|
|
14639
14759
|
variant: "default",
|
|
@@ -14667,7 +14787,7 @@ var Mv = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
14667
14787
|
}), /* @__PURE__ */ S("div", {
|
|
14668
14788
|
className: "eidotter-timeline-md__detail-body",
|
|
14669
14789
|
children: ((e) => {
|
|
14670
|
-
let t = () => /* @__PURE__ */ S(
|
|
14790
|
+
let t = () => /* @__PURE__ */ S(Av, {
|
|
14671
14791
|
entry: e,
|
|
14672
14792
|
isSelected: !0,
|
|
14673
14793
|
isExpanded: !0
|
|
@@ -14686,18 +14806,18 @@ var Mv = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
14686
14806
|
})]
|
|
14687
14807
|
});
|
|
14688
14808
|
};
|
|
14689
|
-
|
|
14809
|
+
Hv.displayName = "MasterDetailLayout";
|
|
14690
14810
|
// src/components/TimelineContainer/components/TimelineContainer.tsx
|
|
14691
|
-
var
|
|
14692
|
-
let b = t === "static", x = t === "feed", w = b || x, T = t === "master-detail", E = m(null), D = m(null), [O, k] = h(""), { zoomLevel: A, canZoomIn: j, canZoomOut: M, breadcrumbs: N, currentPeriod: P, isDrillDownEnabled: F, drillDown: I, drillUp: L, reset: R } =
|
|
14811
|
+
var Uv = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel: r = "month", onZoomChange: i, selectedEntryId: a, defaultSelectedEntryId: o, onSelectEntry: c, sortOrder: u = "desc", scrollToZoom: d = !0, keyboardShortcuts: p = !0, renderEntry: g, pageSize: _ = 10, onLoadMore: v, ...y }) => {
|
|
14812
|
+
let b = t === "static", x = t === "feed", w = b || x, T = t === "master-detail", E = m(null), D = m(null), [O, k] = h(""), { zoomLevel: A, canZoomIn: j, canZoomOut: M, breadcrumbs: N, currentPeriod: P, isDrillDownEnabled: F, drillDown: I, drillUp: L, reset: R } = H_({
|
|
14693
14813
|
zoomLevel: n,
|
|
14694
14814
|
defaultZoomLevel: r,
|
|
14695
14815
|
onZoomChange: i
|
|
14696
|
-
}), { selectedEntryId: ee, select: z, toggle: B, deselect: V } =
|
|
14816
|
+
}), { selectedEntryId: ee, select: z, toggle: B, deselect: V } = U_({
|
|
14697
14817
|
selectedEntryId: a,
|
|
14698
14818
|
defaultSelectedEntryId: o,
|
|
14699
14819
|
onSelectEntry: c
|
|
14700
|
-
}), te = f(() =>
|
|
14820
|
+
}), te = f(() => gv(e, A, u), [
|
|
14701
14821
|
e,
|
|
14702
14822
|
A,
|
|
14703
14823
|
u
|
|
@@ -14706,7 +14826,7 @@ var Pv = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14706
14826
|
"month",
|
|
14707
14827
|
"day",
|
|
14708
14828
|
"hour"
|
|
14709
|
-
][N.length - 1] : null, U = f(() => P && H ?
|
|
14829
|
+
][N.length - 1] : null, U = f(() => P && H ? hv(te, P, H) : te, [
|
|
14710
14830
|
te,
|
|
14711
14831
|
P,
|
|
14712
14832
|
H
|
|
@@ -14820,7 +14940,7 @@ var Pv = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14820
14940
|
"aria-atomic": "true",
|
|
14821
14941
|
children: O
|
|
14822
14942
|
}),
|
|
14823
|
-
!w && !T && /* @__PURE__ */ S(
|
|
14943
|
+
!w && !T && /* @__PURE__ */ S(_v, {
|
|
14824
14944
|
zoomLevel: A,
|
|
14825
14945
|
canZoomIn: j,
|
|
14826
14946
|
canZoomOut: M,
|
|
@@ -14839,12 +14959,12 @@ var Pv = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14839
14959
|
className: "eidotter-timeline-container__empty",
|
|
14840
14960
|
role: "status",
|
|
14841
14961
|
children: [/* @__PURE__ */ S("p", { children: "C:\\TIMELINE> No entries found." }), /* @__PURE__ */ S("p", { children: "_" })]
|
|
14842
|
-
}) : b ? /* @__PURE__ */ S(
|
|
14962
|
+
}) : b ? /* @__PURE__ */ S(vv, { children: /* @__PURE__ */ S("div", {
|
|
14843
14963
|
className: "eidotter-timeline-container__static",
|
|
14844
14964
|
role: "list",
|
|
14845
14965
|
"aria-label": "Timeline",
|
|
14846
14966
|
children: oe.map((e) => {
|
|
14847
|
-
let t = () => /* @__PURE__ */ S(
|
|
14967
|
+
let t = () => /* @__PURE__ */ S(Av, {
|
|
14848
14968
|
entry: e,
|
|
14849
14969
|
isSelected: !1,
|
|
14850
14970
|
isExpanded: !0
|
|
@@ -14854,7 +14974,7 @@ var Pv = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14854
14974
|
role: "listitem",
|
|
14855
14975
|
children: [/* @__PURE__ */ S("div", {
|
|
14856
14976
|
className: "timeline-view__node",
|
|
14857
|
-
children: /* @__PURE__ */ S(
|
|
14977
|
+
children: /* @__PURE__ */ S(B_, {
|
|
14858
14978
|
shape: "circle",
|
|
14859
14979
|
size: "medium",
|
|
14860
14980
|
variant: "default",
|
|
@@ -14868,12 +14988,12 @@ var Pv = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14868
14988
|
}) : t()]
|
|
14869
14989
|
}, e.id);
|
|
14870
14990
|
})
|
|
14871
|
-
}) }) : x ? /* @__PURE__ */ C(
|
|
14991
|
+
}) }) : x ? /* @__PURE__ */ C(vv, { children: [/* @__PURE__ */ S("div", {
|
|
14872
14992
|
className: "eidotter-timeline-container__feed",
|
|
14873
14993
|
role: "list",
|
|
14874
14994
|
"aria-label": "Timeline",
|
|
14875
14995
|
children: le.map((e) => {
|
|
14876
|
-
let t = ee === e.id, n = () => /* @__PURE__ */ S(
|
|
14996
|
+
let t = ee === e.id, n = () => /* @__PURE__ */ S(Av, {
|
|
14877
14997
|
entry: e,
|
|
14878
14998
|
isSelected: t,
|
|
14879
14999
|
isExpanded: t,
|
|
@@ -14884,7 +15004,7 @@ var Pv = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14884
15004
|
role: "listitem",
|
|
14885
15005
|
children: [/* @__PURE__ */ S("div", {
|
|
14886
15006
|
className: "timeline-view__node",
|
|
14887
|
-
children: /* @__PURE__ */ S(
|
|
15007
|
+
children: /* @__PURE__ */ S(B_, {
|
|
14888
15008
|
shape: "circle",
|
|
14889
15009
|
size: "medium",
|
|
14890
15010
|
variant: "default",
|
|
@@ -14904,14 +15024,14 @@ var Pv = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14904
15024
|
onClick: de,
|
|
14905
15025
|
"aria-label": `Load more entries (showing ${se} of ${oe.length})`,
|
|
14906
15026
|
children: "LOAD MORE..."
|
|
14907
|
-
})] }) : T ? /* @__PURE__ */ S(
|
|
15027
|
+
})] }) : T ? /* @__PURE__ */ S(Hv, {
|
|
14908
15028
|
entries: oe,
|
|
14909
15029
|
selectedEntryId: ee,
|
|
14910
15030
|
onSelect: z,
|
|
14911
15031
|
onDeselect: V,
|
|
14912
15032
|
renderEntry: g,
|
|
14913
15033
|
formatDate: pe
|
|
14914
|
-
}) : U.length === 0 && P ? /* @__PURE__ */ S(
|
|
15034
|
+
}) : U.length === 0 && P ? /* @__PURE__ */ S(vv, { children: /* @__PURE__ */ C("div", {
|
|
14915
15035
|
className: "eidotter-timeline-container__empty",
|
|
14916
15036
|
role: "status",
|
|
14917
15037
|
children: [/* @__PURE__ */ C("p", { children: [
|
|
@@ -14919,7 +15039,7 @@ var Pv = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14919
15039
|
N[N.length - 1]?.label ?? "this period",
|
|
14920
15040
|
"."
|
|
14921
15041
|
] }), /* @__PURE__ */ S("p", { children: "_" })]
|
|
14922
|
-
}) }) : /* @__PURE__ */ S(
|
|
15042
|
+
}) }) : /* @__PURE__ */ S(vv, { children: /* @__PURE__ */ S(Vv, {
|
|
14923
15043
|
zoomLevel: A,
|
|
14924
15044
|
buckets: U,
|
|
14925
15045
|
selectedEntryId: ee,
|
|
@@ -14930,15 +15050,15 @@ var Pv = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
14930
15050
|
})
|
|
14931
15051
|
]
|
|
14932
15052
|
});
|
|
14933
|
-
},
|
|
15053
|
+
}, Wv = {
|
|
14934
15054
|
milestone: "milestone",
|
|
14935
15055
|
project: "project",
|
|
14936
15056
|
event: "event"
|
|
14937
|
-
},
|
|
14938
|
-
function
|
|
15057
|
+
}, Gv = (e) => e.tags?.[0];
|
|
15058
|
+
function Kv(e) {
|
|
14939
15059
|
return e.kind === "article" ? e.href : void 0;
|
|
14940
15060
|
}
|
|
14941
|
-
function
|
|
15061
|
+
function qv({ entries: e, categories: t, categoryOf: n = Gv, activeCategory: r, defaultCategory: i = null, onCategoryChange: a, linkComponent: o, className: s, ...c }) {
|
|
14942
15062
|
let l = o ?? "a", u = r !== void 0, [d, p] = h(i), m = u ? r : d, g = (e) => {
|
|
14943
15063
|
u || p(e), a?.(e);
|
|
14944
15064
|
}, _ = f(() => {
|
|
@@ -14995,7 +15115,7 @@ function Rv({ entries: e, categories: t, categoryOf: n = Iv, activeCategory: r,
|
|
|
14995
15115
|
className: "eidotter-feed__list",
|
|
14996
15116
|
"aria-label": c["aria-label"] ?? "Timeline feed",
|
|
14997
15117
|
children: b.map((e) => {
|
|
14998
|
-
let t = n(e), r = t ? _.get(t) : void 0, i =
|
|
15118
|
+
let t = n(e), r = t ? _.get(t) : void 0, i = Kv(e), a = i && y_(i) ? i : void 0, o = e.type ? Wv[e.type] : void 0;
|
|
14999
15119
|
return /* @__PURE__ */ C("li", {
|
|
15000
15120
|
className: "eidotter-feed__row",
|
|
15001
15121
|
children: [
|
|
@@ -15028,20 +15148,20 @@ function Rv({ entries: e, categories: t, categoryOf: n = Iv, activeCategory: r,
|
|
|
15028
15148
|
});
|
|
15029
15149
|
}
|
|
15030
15150
|
// src/components/TimelinePage/components/TimelinePage.tsx
|
|
15031
|
-
var
|
|
15032
|
-
function
|
|
15151
|
+
var Jv = (e) => e.tags?.[0], Yv = (e) => e.kind === "article" ? e.summary : void 0;
|
|
15152
|
+
function Xv(e) {
|
|
15033
15153
|
if (e.kind === "image") return e.image;
|
|
15034
15154
|
if (e.kind === "gallery") return e.images[0];
|
|
15035
15155
|
if (e.kind === "article") return e.images?.[0];
|
|
15036
15156
|
}
|
|
15037
|
-
function
|
|
15157
|
+
function Zv(e) {
|
|
15038
15158
|
return e.kind === "article" ? e.href : void 0;
|
|
15039
15159
|
}
|
|
15040
|
-
function
|
|
15160
|
+
function Qv(e) {
|
|
15041
15161
|
let t = new Date(e).getFullYear();
|
|
15042
15162
|
return Number.isNaN(t) ? e.slice(0, 4) : String(t);
|
|
15043
15163
|
}
|
|
15044
|
-
function
|
|
15164
|
+
function $v({ entries: e, categories: t, categoryOf: n = Jv, descriptionOf: r = Yv, activeCategory: i, defaultCategory: a = null, onCategoryChange: o, brand: s, preview: c = !0, linkComponent: l, className: u, ...d }) {
|
|
15045
15165
|
let p = l ?? "a", m = i !== void 0, [g, _] = h(a), v = m ? i : g, y = (e) => {
|
|
15046
15166
|
m || _(e), o?.(e);
|
|
15047
15167
|
}, b = f(() => new Intl.DateTimeFormat("en-US", {
|
|
@@ -15060,14 +15180,14 @@ function Wv({ entries: e, categories: t, categoryOf: n = zv, descriptionOf: r =
|
|
|
15060
15180
|
]), T = f(() => {
|
|
15061
15181
|
let e = /* @__PURE__ */ new Map();
|
|
15062
15182
|
for (let t of w) {
|
|
15063
|
-
let n =
|
|
15183
|
+
let n = Qv(t.date), r = e.get(n);
|
|
15064
15184
|
r ? r.push(t) : e.set(n, [t]);
|
|
15065
15185
|
}
|
|
15066
15186
|
return Array.from(e.entries()).map(([e, t]) => ({
|
|
15067
15187
|
year: e,
|
|
15068
15188
|
entries: [...t].sort((e, t) => t.date.localeCompare(e.date))
|
|
15069
15189
|
})).sort((e, t) => t.year.localeCompare(e.year));
|
|
15070
|
-
}, [w]), [E, D] = h(null), O = f(() => w.find((e) => e.id === E) ?? w[0], [w, E]), k = O ?
|
|
15190
|
+
}, [w]), [E, D] = h(null), O = f(() => w.find((e) => e.id === E) ?? w[0], [w, E]), k = O ? Xv(O) : void 0;
|
|
15071
15191
|
return /* @__PURE__ */ C("section", {
|
|
15072
15192
|
className: $("eidotter-blog font-dos", u),
|
|
15073
15193
|
...d,
|
|
@@ -15121,7 +15241,7 @@ function Wv({ entries: e, categories: t, categoryOf: n = zv, descriptionOf: r =
|
|
|
15121
15241
|
}), /* @__PURE__ */ S("ol", {
|
|
15122
15242
|
className: "eidotter-blog__entries",
|
|
15123
15243
|
children: e.entries.map((e) => {
|
|
15124
|
-
let t =
|
|
15244
|
+
let t = Zv(e), n = t && y_(t) ? t : void 0, i = r(e), a = () => D(e.id);
|
|
15125
15245
|
return /* @__PURE__ */ C("li", {
|
|
15126
15246
|
className: $("eidotter-blog__entry", O?.id === e.id && "eidotter-blog__entry--focused"),
|
|
15127
15247
|
onMouseEnter: a,
|
|
@@ -15182,15 +15302,15 @@ function Wv({ entries: e, categories: t, categoryOf: n = zv, descriptionOf: r =
|
|
|
15182
15302
|
});
|
|
15183
15303
|
}
|
|
15184
15304
|
// src/components/Bench/components/Bench.tsx
|
|
15185
|
-
var
|
|
15305
|
+
var ey = {
|
|
15186
15306
|
before: "eidotter-bench__pane--before",
|
|
15187
15307
|
after: "eidotter-bench__pane--after",
|
|
15188
15308
|
neutral: "eidotter-bench__pane--neutral"
|
|
15189
15309
|
};
|
|
15190
|
-
function
|
|
15310
|
+
function ty(e, t) {
|
|
15191
15311
|
return e.frameLabel ? e.frameLabel : typeof e.label == "string" ? typeof t == "string" ? `${t}, ${e.label}` : e.label : "Scrollable pane";
|
|
15192
15312
|
}
|
|
15193
|
-
var
|
|
15313
|
+
var ny = a(({ title: e, headingLevel: t = 3, chips: n, note: r, panes: i, maxHeight: a, className: o, style: s, ...c }, l) => {
|
|
15194
15314
|
let u = `h${t}`, d = n != null && n !== !1 && n !== "", f = r != null && r !== !1 && r !== "", p = a?.trim(), m = p ? {
|
|
15195
15315
|
...s,
|
|
15196
15316
|
"--eidotter-bench-max-height": p
|
|
@@ -15218,11 +15338,11 @@ var qv = a(({ title: e, headingLevel: t = 3, chips: n, note: r, panes: i, maxHei
|
|
|
15218
15338
|
className: $("eidotter-bench__frame", t.frame === "phone" && "eidotter-bench__frame--phone"),
|
|
15219
15339
|
tabIndex: 0,
|
|
15220
15340
|
role: "group",
|
|
15221
|
-
"aria-label":
|
|
15341
|
+
"aria-label": ty(t, e),
|
|
15222
15342
|
children: t.content
|
|
15223
15343
|
});
|
|
15224
15344
|
return /* @__PURE__ */ C("div", {
|
|
15225
|
-
className: $("eidotter-bench__pane",
|
|
15345
|
+
className: $("eidotter-bench__pane", ey[t.tone ?? "neutral"]),
|
|
15226
15346
|
children: [/* @__PURE__ */ S("div", {
|
|
15227
15347
|
className: "eidotter-bench__label",
|
|
15228
15348
|
children: t.label
|
|
@@ -15235,9 +15355,9 @@ var qv = a(({ title: e, headingLevel: t = 3, chips: n, note: r, panes: i, maxHei
|
|
|
15235
15355
|
})]
|
|
15236
15356
|
});
|
|
15237
15357
|
});
|
|
15238
|
-
|
|
15358
|
+
ny.displayName = "Bench";
|
|
15239
15359
|
// src/components/PageShell/components/PageShell.tsx
|
|
15240
|
-
function
|
|
15360
|
+
function ry({ intro: e }) {
|
|
15241
15361
|
let { eyebrow: t, title: n, lead: r, meta: i, toc: a, tocLabel: o = "On this page" } = e, s = (e) => e != null && e !== !1 && e !== "";
|
|
15242
15362
|
return /* @__PURE__ */ C("header", {
|
|
15243
15363
|
className: "eidotter-page-shell__intro",
|
|
@@ -15276,7 +15396,7 @@ function Jv({ intro: e }) {
|
|
|
15276
15396
|
]
|
|
15277
15397
|
});
|
|
15278
15398
|
}
|
|
15279
|
-
var
|
|
15399
|
+
var iy = a(({ header: e, intro: t, footer: n, maxWidth: r, contentAs: i = "main", contentId: a, children: o, className: s, style: c, ...l }, u) => {
|
|
15280
15400
|
let d = i, f = r?.trim(), p = f ? {
|
|
15281
15401
|
...c,
|
|
15282
15402
|
"--eidotter-page-shell-max": f
|
|
@@ -15297,7 +15417,7 @@ var Yv = a(({ header: e, intro: t, footer: n, maxWidth: r, contentAs: i = "main"
|
|
|
15297
15417
|
id: a,
|
|
15298
15418
|
tabIndex: a ? -1 : void 0,
|
|
15299
15419
|
className: "eidotter-page-shell__content",
|
|
15300
|
-
children: [t && /* @__PURE__ */ S(
|
|
15420
|
+
children: [t && /* @__PURE__ */ S(ry, { intro: t }), o]
|
|
15301
15421
|
}),
|
|
15302
15422
|
n != null && n !== !1 && /* @__PURE__ */ S("div", {
|
|
15303
15423
|
className: "eidotter-page-shell__footer",
|
|
@@ -15307,9 +15427,9 @@ var Yv = a(({ header: e, intro: t, footer: n, maxWidth: r, contentAs: i = "main"
|
|
|
15307
15427
|
})
|
|
15308
15428
|
});
|
|
15309
15429
|
});
|
|
15310
|
-
|
|
15430
|
+
iy.displayName = "PageShell";
|
|
15311
15431
|
// src/components/PageShell/components/PageSection.tsx
|
|
15312
|
-
var
|
|
15432
|
+
var ay = a(({ title: e, headingLevel: t = 2, id: n, children: r, className: i, ...a }, o) => {
|
|
15313
15433
|
let s = e != null && e !== !1 && e !== "", c = `h${t}`, l = s && n ? `${n}-heading` : void 0;
|
|
15314
15434
|
return /* @__PURE__ */ C("section", {
|
|
15315
15435
|
ref: o,
|
|
@@ -15324,15 +15444,15 @@ var Xv = a(({ title: e, headingLevel: t = 2, id: n, children: r, className: i, .
|
|
|
15324
15444
|
}), r]
|
|
15325
15445
|
});
|
|
15326
15446
|
});
|
|
15327
|
-
|
|
15447
|
+
ay.displayName = "PageSection";
|
|
15328
15448
|
// node_modules/pixelarticons/react/Monitor.js
|
|
15329
|
-
var
|
|
15449
|
+
var oy = (e) => i("svg", Object.assign({
|
|
15330
15450
|
viewBox: "0 0 24 24",
|
|
15331
15451
|
width: "24",
|
|
15332
15452
|
height: "24",
|
|
15333
15453
|
fill: "currentColor",
|
|
15334
15454
|
xmlns: "http://www.w3.org/2000/svg"
|
|
15335
|
-
}, e), i("path", { d: "M4 2h16v2H4zm0 14h16v2H4zM2 4h2v12H2zm18 0h2v12h-2zm-9 14h2v2h-2zm-3 2h8v2H8z" })),
|
|
15455
|
+
}, e), i("path", { d: "M4 2h16v2H4zm0 14h16v2H4zM2 4h2v12H2zm18 0h2v12h-2zm-9 14h2v2h-2zm-3 2h8v2H8z" })), sy = a(({ icon: e, children: t, labelDisplay: n = "label", chevron: r = !1, className: i, "aria-label": a, ...o }, s) => {
|
|
15336
15456
|
let c = t != null && t !== !1 && t !== "", l = a ?? (typeof t == "string" ? t : void 0);
|
|
15337
15457
|
return /* @__PURE__ */ C(Wi, {
|
|
15338
15458
|
ref: s,
|
|
@@ -15358,16 +15478,45 @@ var Zv = (e) => i("svg", Object.assign({
|
|
|
15358
15478
|
]
|
|
15359
15479
|
});
|
|
15360
15480
|
});
|
|
15361
|
-
|
|
15481
|
+
sy.displayName = "HeaderButton";
|
|
15362
15482
|
// src/components/DisplayMenu/components/DisplayMenu.tsx
|
|
15363
|
-
var
|
|
15364
|
-
let
|
|
15483
|
+
var cy = ({ popoverRef: e, triggerRef: t }) => {
|
|
15484
|
+
let n = c(pd);
|
|
15485
|
+
return tl({
|
|
15486
|
+
ref: e,
|
|
15487
|
+
isDisabled: !n?.isOpen,
|
|
15488
|
+
onInteractOutsideStart: (e) => {
|
|
15489
|
+
t.current?.contains(e.target) && e.stopPropagation();
|
|
15490
|
+
},
|
|
15491
|
+
onInteractOutside: () => n?.close()
|
|
15492
|
+
}), l(() => {
|
|
15493
|
+
let t = e.current;
|
|
15494
|
+
if (!t || !n?.isOpen) return;
|
|
15495
|
+
let r = t.ownerDocument, i = (e) => {
|
|
15496
|
+
e.key === "Tab" && t.contains(e.target) && setTimeout(() => {
|
|
15497
|
+
let e = r.activeElement;
|
|
15498
|
+
e && t.contains(e) || n.close();
|
|
15499
|
+
}, 0);
|
|
15500
|
+
};
|
|
15501
|
+
return r.addEventListener("keydown", i, !0), () => r.removeEventListener("keydown", i, !0);
|
|
15502
|
+
}, [e, n]), null;
|
|
15503
|
+
}, ly = ({ label: e, children: t }) => {
|
|
15504
|
+
let n = de(fd);
|
|
15505
|
+
return /* @__PURE__ */ S("div", {
|
|
15506
|
+
id: n?.id,
|
|
15507
|
+
role: "group",
|
|
15508
|
+
"aria-label": e,
|
|
15509
|
+
className: "eidotter-display-menu__panel",
|
|
15510
|
+
children: t
|
|
15511
|
+
});
|
|
15512
|
+
}, uy = a(({ items: e, label: t = "Display", labelDisplay: n = "responsive", placement: r = "bottom end", defaultOpen: i, className: a }, o) => {
|
|
15513
|
+
let s = u(), c = se(o), l = m(null), d = e.findIndex((e) => !e.disabled);
|
|
15365
15514
|
return /* @__PURE__ */ C(md, {
|
|
15366
15515
|
defaultOpen: i,
|
|
15367
|
-
children: [/* @__PURE__ */ S(
|
|
15368
|
-
ref:
|
|
15516
|
+
children: [/* @__PURE__ */ S(sy, {
|
|
15517
|
+
ref: c,
|
|
15369
15518
|
"aria-label": t,
|
|
15370
|
-
icon: /* @__PURE__ */ S(
|
|
15519
|
+
icon: /* @__PURE__ */ S(oy, {
|
|
15371
15520
|
className: "eidotter-display-menu__icon",
|
|
15372
15521
|
focusable: "false"
|
|
15373
15522
|
}),
|
|
@@ -15375,13 +15524,17 @@ var $v = a(({ items: e, label: t = "Display", labelDisplay: n = "responsive", pl
|
|
|
15375
15524
|
labelDisplay: n,
|
|
15376
15525
|
className: $("eidotter-display-menu", `eidotter-display-menu--${n}`, a),
|
|
15377
15526
|
children: t
|
|
15378
|
-
}), /* @__PURE__ */
|
|
15527
|
+
}), /* @__PURE__ */ C(xu, {
|
|
15528
|
+
ref: l,
|
|
15529
|
+
isNonModal: !0,
|
|
15379
15530
|
placement: r,
|
|
15380
15531
|
offset: 6,
|
|
15381
15532
|
className: "eidotter-display-menu__popover",
|
|
15382
|
-
children: /* @__PURE__ */ S(
|
|
15383
|
-
|
|
15384
|
-
|
|
15533
|
+
children: [/* @__PURE__ */ S(cy, {
|
|
15534
|
+
popoverRef: l,
|
|
15535
|
+
triggerRef: c
|
|
15536
|
+
}), /* @__PURE__ */ S(ly, {
|
|
15537
|
+
label: t,
|
|
15385
15538
|
children: /* @__PURE__ */ S("ul", {
|
|
15386
15539
|
className: "eidotter-display-menu__list",
|
|
15387
15540
|
children: e.map((e, t) => {
|
|
@@ -15394,7 +15547,7 @@ var $v = a(({ items: e, label: t = "Display", labelDisplay: n = "responsive", pl
|
|
|
15394
15547
|
onChange: e.onChange,
|
|
15395
15548
|
disabled: e.disabled,
|
|
15396
15549
|
"aria-describedby": n,
|
|
15397
|
-
autoFocus: t ===
|
|
15550
|
+
autoFocus: t === d,
|
|
15398
15551
|
className: "eidotter-display-menu__switch"
|
|
15399
15552
|
}), e.hint && /* @__PURE__ */ S("span", {
|
|
15400
15553
|
id: n,
|
|
@@ -15404,34 +15557,34 @@ var $v = a(({ items: e, label: t = "Display", labelDisplay: n = "responsive", pl
|
|
|
15404
15557
|
}, e.id);
|
|
15405
15558
|
})
|
|
15406
15559
|
})
|
|
15407
|
-
})
|
|
15560
|
+
})]
|
|
15408
15561
|
})]
|
|
15409
15562
|
});
|
|
15410
15563
|
});
|
|
15411
|
-
|
|
15564
|
+
uy.displayName = "DisplayMenu";
|
|
15412
15565
|
// src/utils/displayTheme.ts
|
|
15413
|
-
var
|
|
15414
|
-
dosDark: "amber-mono",
|
|
15415
|
-
dosLight: "amber-paper"
|
|
15416
|
-
}, ty = {
|
|
15566
|
+
var dy = { dosDark: "dos-86" }, fy = (e) => e === "dos-86" ? "dos-86-light" : "amber-paper", py = {
|
|
15417
15567
|
dos: "DOS",
|
|
15418
|
-
light: "Light"
|
|
15419
|
-
|
|
15420
|
-
|
|
15568
|
+
light: "Light",
|
|
15569
|
+
pure: "Pure"
|
|
15570
|
+
}, my = { "amber-mono": "pure-amber" }, hy = (e, t) => (my[e] ?? e) === (my[t] ?? t);
|
|
15571
|
+
function gy(e) {
|
|
15572
|
+
let t = e.dosDark ?? dy.dosDark, n = e.dosPure ?? null;
|
|
15421
15573
|
return {
|
|
15422
|
-
dosDark:
|
|
15423
|
-
dosLight: e.dosLight === void 0 ?
|
|
15574
|
+
dosDark: t,
|
|
15575
|
+
dosLight: e.dosLight === void 0 ? fy(t) : e.dosLight,
|
|
15576
|
+
dosPure: n && !hy(n, t) ? n : null,
|
|
15424
15577
|
modernLight: e.modernLight ?? null,
|
|
15425
15578
|
modernDark: e.modernDark ?? null
|
|
15426
15579
|
};
|
|
15427
15580
|
}
|
|
15428
|
-
function
|
|
15429
|
-
let n =
|
|
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;
|
|
15581
|
+
function _y(e, t = {}) {
|
|
15582
|
+
let n = gy(t);
|
|
15583
|
+
return !(n.modernLight || n.modernDark) || e.dos ? e.light && n.dosLight ? n.dosLight : e.pure && n.dosPure ? n.dosPure : n.dosDark : n.modernLight && n.modernDark ? e.light ? n.modernLight : n.modernDark : n.modernLight ?? n.modernDark;
|
|
15431
15584
|
}
|
|
15432
|
-
function
|
|
15433
|
-
let i =
|
|
15434
|
-
...
|
|
15585
|
+
function vy(e, t, n = {}, r = {}) {
|
|
15586
|
+
let i = gy(n), a = {
|
|
15587
|
+
...py,
|
|
15435
15588
|
...r
|
|
15436
15589
|
}, o = !!(i.modernLight || i.modernDark), s = [];
|
|
15437
15590
|
o && s.push({
|
|
@@ -15447,19 +15600,32 @@ function iy(e, t, n = {}, r = {}) {
|
|
|
15447
15600
|
...e,
|
|
15448
15601
|
light: n
|
|
15449
15602
|
});
|
|
15450
|
-
|
|
15451
|
-
|
|
15452
|
-
|
|
15453
|
-
|
|
15454
|
-
|
|
15455
|
-
|
|
15603
|
+
if (c) {
|
|
15604
|
+
i.dosLight && s.push({
|
|
15605
|
+
id: "light",
|
|
15606
|
+
label: a.light,
|
|
15607
|
+
checked: e.light,
|
|
15608
|
+
onChange: l
|
|
15609
|
+
});
|
|
15610
|
+
let n = e.light && !!i.dosLight;
|
|
15611
|
+
i.dosPure && !n && s.push({
|
|
15612
|
+
id: "pure",
|
|
15613
|
+
label: a.pure,
|
|
15614
|
+
checked: !!e.pure,
|
|
15615
|
+
onChange: (n) => t({
|
|
15616
|
+
...e,
|
|
15617
|
+
pure: n
|
|
15618
|
+
})
|
|
15619
|
+
});
|
|
15620
|
+
} else i.modernLight && i.modernDark && s.push({
|
|
15456
15621
|
id: "light",
|
|
15457
15622
|
label: a.light,
|
|
15458
15623
|
checked: e.light,
|
|
15459
15624
|
onChange: l
|
|
15460
|
-
})
|
|
15625
|
+
});
|
|
15626
|
+
return s;
|
|
15461
15627
|
}
|
|
15462
|
-
function
|
|
15628
|
+
function yy(e) {
|
|
15463
15629
|
if (typeof document > "u") return;
|
|
15464
15630
|
let t = e ?? document.documentElement, n = getComputedStyle(t).getPropertyValue("--color-semantic-background-primary").trim();
|
|
15465
15631
|
if (!n) return;
|
|
@@ -15467,7 +15633,7 @@ function ay(e) {
|
|
|
15467
15633
|
r || (r = document.createElement("meta"), r.name = "theme-color", document.head.appendChild(r)), r.content = n;
|
|
15468
15634
|
}
|
|
15469
15635
|
// src/components/Modal/components/Modal.tsx
|
|
15470
|
-
var
|
|
15636
|
+
var by = a(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, footer: a, size: o = "md", isDismissable: s = !0, className: c }, u) => {
|
|
15471
15637
|
let d = m(e), f = m(!1);
|
|
15472
15638
|
l(() => {
|
|
15473
15639
|
e !== d.current && (d.current = e, f.current || (t?.(e), e || n?.()), f.current = !1);
|
|
@@ -15479,7 +15645,7 @@ var oy = a(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, foo
|
|
|
15479
15645
|
let p = (e) => {
|
|
15480
15646
|
f.current = !0, t?.(e), e || n?.();
|
|
15481
15647
|
};
|
|
15482
|
-
return /* @__PURE__ */ S(
|
|
15648
|
+
return /* @__PURE__ */ S(Sv, {
|
|
15483
15649
|
ref: u,
|
|
15484
15650
|
open: e,
|
|
15485
15651
|
onOpenChange: p,
|
|
@@ -15506,34 +15672,34 @@ var oy = a(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, foo
|
|
|
15506
15672
|
})
|
|
15507
15673
|
});
|
|
15508
15674
|
});
|
|
15509
|
-
|
|
15675
|
+
by.displayName = "Modal";
|
|
15510
15676
|
// src/hooks/useTextScramble.ts
|
|
15511
|
-
var
|
|
15512
|
-
function
|
|
15677
|
+
var xy = "░▒▓█│┤┐└┴┬├─┼", Sy = 4, Cy = typeof window < "u" ? d : l;
|
|
15678
|
+
function wy(e, t, n) {
|
|
15513
15679
|
let r = "";
|
|
15514
15680
|
for (let i = 0; i < e.length; i++) i < n || e[i] === " " ? r += e[i] : r += t[Math.floor(Math.random() * t.length)];
|
|
15515
15681
|
return r;
|
|
15516
15682
|
}
|
|
15517
|
-
function
|
|
15518
|
-
let { speed: n = 40, characters: r =
|
|
15519
|
-
return
|
|
15683
|
+
function Ty(e, t) {
|
|
15684
|
+
let { speed: n = 40, characters: r = xy, enabled: i = !0, delay: a = 0 } = t ?? {}, [o, s] = h(e), [c, l] = h(!1), u = m(0);
|
|
15685
|
+
return Cy(() => {
|
|
15520
15686
|
if (!i || nh()) {
|
|
15521
15687
|
s(e), l(!1);
|
|
15522
15688
|
return;
|
|
15523
15689
|
}
|
|
15524
15690
|
let t = 0, o = 0, c = 0, d = a;
|
|
15525
|
-
s(
|
|
15691
|
+
s(wy(e, r, 0)), l(!0);
|
|
15526
15692
|
let f = (i) => {
|
|
15527
15693
|
c ||= i;
|
|
15528
15694
|
let a = i - c;
|
|
15529
15695
|
if (d > 0) d -= a, c = i, u.current = requestAnimationFrame(f);
|
|
15530
15696
|
else {
|
|
15531
15697
|
if (a >= n) {
|
|
15532
|
-
if (c = i, o++, o >=
|
|
15698
|
+
if (c = i, o++, o >= Sy && (t++, o = 0), t >= e.length) {
|
|
15533
15699
|
s(e), l(!1);
|
|
15534
15700
|
return;
|
|
15535
15701
|
}
|
|
15536
|
-
s(
|
|
15702
|
+
s(wy(e, r, t));
|
|
15537
15703
|
}
|
|
15538
15704
|
u.current = requestAnimationFrame(f);
|
|
15539
15705
|
}
|
|
@@ -15553,7 +15719,7 @@ function dy(e, t) {
|
|
|
15553
15719
|
};
|
|
15554
15720
|
}
|
|
15555
15721
|
// src/components/Stat/components/Stat.tsx
|
|
15556
|
-
var
|
|
15722
|
+
var Ey = {
|
|
15557
15723
|
sm: {
|
|
15558
15724
|
root: "gap-0.5",
|
|
15559
15725
|
label: "text-dos-text-base",
|
|
@@ -15590,23 +15756,23 @@ var fy = {
|
|
|
15590
15756
|
value: "text-dos-display-md",
|
|
15591
15757
|
trend: "text-dos-text-base"
|
|
15592
15758
|
}
|
|
15593
|
-
},
|
|
15759
|
+
}, Dy = {
|
|
15594
15760
|
up: "text-dos-text-success",
|
|
15595
15761
|
down: "text-dos-text-error",
|
|
15596
15762
|
neutral: "text-dos-text-brand"
|
|
15597
|
-
},
|
|
15763
|
+
}, Oy = {
|
|
15598
15764
|
up: "▲",
|
|
15599
15765
|
down: "▼",
|
|
15600
15766
|
neutral: "►"
|
|
15601
|
-
},
|
|
15767
|
+
}, ky = {
|
|
15602
15768
|
up: "increasing",
|
|
15603
15769
|
down: "decreasing",
|
|
15604
15770
|
neutral: "unchanged"
|
|
15605
|
-
},
|
|
15606
|
-
let { text: f } =
|
|
15771
|
+
}, Ay = 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) => {
|
|
15772
|
+
let { text: f } = Ty(String(t), {
|
|
15607
15773
|
speed: 30,
|
|
15608
15774
|
enabled: a
|
|
15609
|
-
}), p = a ? f : String(t), m =
|
|
15775
|
+
}), p = a ? f : String(t), m = Ey[i] || Ey.md;
|
|
15610
15776
|
return /* @__PURE__ */ C("div", {
|
|
15611
15777
|
ref: d,
|
|
15612
15778
|
className: $("flex flex-col font-dos", "eidotter-stat", m.root, l),
|
|
@@ -15617,7 +15783,7 @@ var fy = {
|
|
|
15617
15783
|
children: e
|
|
15618
15784
|
}),
|
|
15619
15785
|
/* @__PURE__ */ C("span", {
|
|
15620
|
-
className: $("text-dos-text-accent font-bold leading-none tabular-nums", m.value),
|
|
15786
|
+
className: $("font-dos-heading text-dos-text-accent font-bold leading-none tabular-nums", m.value),
|
|
15621
15787
|
children: [p, o && /* @__PURE__ */ C("span", {
|
|
15622
15788
|
className: "eidotter-stat__unit text-[0.5em] font-normal text-dos-text-brand",
|
|
15623
15789
|
children: [" ", o]
|
|
@@ -15632,12 +15798,12 @@ var fy = {
|
|
|
15632
15798
|
children: c
|
|
15633
15799
|
}),
|
|
15634
15800
|
n && /* @__PURE__ */ C("span", {
|
|
15635
|
-
className: $("inline-flex items-center gap-1 leading-none",
|
|
15636
|
-
"aria-label": `Trend: ${
|
|
15801
|
+
className: $("inline-flex items-center gap-1 leading-none", Dy[n], m.trend),
|
|
15802
|
+
"aria-label": `Trend: ${ky[n]}${r ? `, ${r}` : ""}`,
|
|
15637
15803
|
children: [/* @__PURE__ */ S("span", {
|
|
15638
15804
|
className: "text-[0.8em]",
|
|
15639
15805
|
"aria-hidden": "true",
|
|
15640
|
-
children:
|
|
15806
|
+
children: Oy[n]
|
|
15641
15807
|
}), r && /* @__PURE__ */ S("span", {
|
|
15642
15808
|
className: "tabular-nums",
|
|
15643
15809
|
children: r
|
|
@@ -15646,16 +15812,16 @@ var fy = {
|
|
|
15646
15812
|
]
|
|
15647
15813
|
});
|
|
15648
15814
|
});
|
|
15649
|
-
|
|
15815
|
+
Ay.displayName = "Stat";
|
|
15650
15816
|
// src/components/FilterBar/components/FilterBar.tsx
|
|
15651
|
-
var
|
|
15817
|
+
var jy = {
|
|
15652
15818
|
sm: "eidotter-filter-bar--sm",
|
|
15653
15819
|
md: "eidotter-filter-bar--md",
|
|
15654
15820
|
lg: "eidotter-filter-bar--lg",
|
|
15655
15821
|
small: "eidotter-filter-bar--sm",
|
|
15656
15822
|
medium: "eidotter-filter-bar--md",
|
|
15657
15823
|
large: "eidotter-filter-bar--lg"
|
|
15658
|
-
},
|
|
15824
|
+
}, My = ({ items: e, activeIds: t, defaultActiveIds: n = [], mode: r = "multi", showAll: i = !1, allLabel: a = "All", size: o = "md", onChange: c, className: l, ...u }) => {
|
|
15659
15825
|
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) => {
|
|
15660
15826
|
g || f(e), c?.(e);
|
|
15661
15827
|
}, [g, c]), x = s((e) => {
|
|
@@ -15694,7 +15860,7 @@ var _y = {
|
|
|
15694
15860
|
}, [T]), D = i && y ? "__all__" : _.length > 0 ? _[0] : i ? "__all__" : v[0] || null;
|
|
15695
15861
|
return /* @__PURE__ */ C("div", {
|
|
15696
15862
|
ref: p,
|
|
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",
|
|
15863
|
+
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", jy[o] || jy.md, l),
|
|
15698
15864
|
role: "toolbar",
|
|
15699
15865
|
onKeyDown: E,
|
|
15700
15866
|
...u,
|
|
@@ -15727,7 +15893,7 @@ var _y = {
|
|
|
15727
15893
|
}, e.id);
|
|
15728
15894
|
})]
|
|
15729
15895
|
});
|
|
15730
|
-
},
|
|
15896
|
+
}, Ny = (e) => {
|
|
15731
15897
|
if (!e) return !1;
|
|
15732
15898
|
try {
|
|
15733
15899
|
let t = new URL(e);
|
|
@@ -15741,7 +15907,7 @@ var _y = {
|
|
|
15741
15907
|
}
|
|
15742
15908
|
};
|
|
15743
15909
|
// src/components/InlineExpand/components/InlineExpand.tsx
|
|
15744
|
-
function
|
|
15910
|
+
function Py(e) {
|
|
15745
15911
|
try {
|
|
15746
15912
|
let { hostname: t } = new URL(e);
|
|
15747
15913
|
return `https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=32`;
|
|
@@ -15749,7 +15915,7 @@ function by(e) {
|
|
|
15749
15915
|
return null;
|
|
15750
15916
|
}
|
|
15751
15917
|
}
|
|
15752
|
-
var
|
|
15918
|
+
var Fy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
|
|
15753
15919
|
let [c, l] = h(n), [d, f] = h({}), p = u(), g = m(null), _ = r !== void 0, v = _ ? r : c, y = () => {
|
|
15754
15920
|
let e = !v;
|
|
15755
15921
|
_ || l(e), i?.(e);
|
|
@@ -15795,7 +15961,7 @@ var xy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15795
15961
|
className: "eidotter-inline-expand__source-item",
|
|
15796
15962
|
role: "listitem",
|
|
15797
15963
|
children: /* @__PURE__ */ S("a", {
|
|
15798
|
-
href:
|
|
15964
|
+
href: Ny(e.url) ? e.url : void 0,
|
|
15799
15965
|
className: "eidotter-inline-expand__source-link",
|
|
15800
15966
|
target: "_blank",
|
|
15801
15967
|
rel: "noopener noreferrer",
|
|
@@ -15808,7 +15974,7 @@ var xy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15808
15974
|
"aria-hidden": "true",
|
|
15809
15975
|
children: "[→]"
|
|
15810
15976
|
});
|
|
15811
|
-
let n = !!e.favicon &&
|
|
15977
|
+
let n = !!e.favicon && Ny(e.favicon);
|
|
15812
15978
|
if (!t && n) return /* @__PURE__ */ S("img", {
|
|
15813
15979
|
className: "eidotter-inline-expand__source-favicon",
|
|
15814
15980
|
src: e.favicon,
|
|
@@ -15821,7 +15987,7 @@ var xy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15821
15987
|
[e.url]: "google"
|
|
15822
15988
|
}))
|
|
15823
15989
|
});
|
|
15824
|
-
let r =
|
|
15990
|
+
let r = Py(e.url);
|
|
15825
15991
|
return r ? /* @__PURE__ */ S("img", {
|
|
15826
15992
|
className: "eidotter-inline-expand__source-favicon",
|
|
15827
15993
|
src: r,
|
|
@@ -15845,33 +16011,33 @@ var xy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15845
16011
|
]
|
|
15846
16012
|
})] })]
|
|
15847
16013
|
});
|
|
15848
|
-
},
|
|
16014
|
+
}, Iy = {
|
|
15849
16015
|
horizontal: "h-px w-full",
|
|
15850
16016
|
vertical: "w-px h-full"
|
|
15851
|
-
},
|
|
16017
|
+
}, Ly = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ S("div", {
|
|
15852
16018
|
role: "separator",
|
|
15853
16019
|
"aria-orientation": e,
|
|
15854
|
-
className: $("shrink-0 bg-dos-border-default", "eidotter-separator",
|
|
15855
|
-
}),
|
|
16020
|
+
className: $("shrink-0 bg-dos-border-default", "eidotter-separator", Iy[e], t)
|
|
16021
|
+
}), Ry = {
|
|
15856
16022
|
default: "text-dos-text-primary",
|
|
15857
16023
|
error: "text-dos-error",
|
|
15858
16024
|
warning: "text-dos-warning",
|
|
15859
16025
|
info: "text-dos-info"
|
|
15860
|
-
},
|
|
15861
|
-
className: $("eidotter-section-heading", "font-dos uppercase tracking-wider mb-2 text-dos-text-sm",
|
|
16026
|
+
}, zy = ({ title: e, count: t, tone: n = "default", children: r, className: i }) => /* @__PURE__ */ C("h3", {
|
|
16027
|
+
className: $("eidotter-section-heading", "font-dos-heading uppercase tracking-wider mb-2 text-dos-text-sm", Ry[n], i),
|
|
15862
16028
|
children: [
|
|
15863
16029
|
e,
|
|
15864
16030
|
t !== void 0 && ` (${t})`,
|
|
15865
16031
|
r
|
|
15866
16032
|
]
|
|
15867
16033
|
});
|
|
15868
|
-
|
|
16034
|
+
zy.displayName = "SectionHeading";
|
|
15869
16035
|
// src/components/ChecklistRow/components/ChecklistRow.tsx
|
|
15870
|
-
var
|
|
16036
|
+
var By = {
|
|
15871
16037
|
default: "text-dos-text-primary",
|
|
15872
16038
|
muted: "text-dos-text-muted line-through",
|
|
15873
16039
|
error: "text-dos-error"
|
|
15874
|
-
},
|
|
16040
|
+
}, Vy = ({ 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", {
|
|
15875
16041
|
className: $("eidotter-checklist-row", "flex items-start gap-3 py-2 border-b border-dos-border-disabled", r && "opacity-50", d),
|
|
15876
16042
|
children: [
|
|
15877
16043
|
/* @__PURE__ */ S("button", {
|
|
@@ -15892,7 +16058,7 @@ var Ey = {
|
|
|
15892
16058
|
children: l
|
|
15893
16059
|
}),
|
|
15894
16060
|
o !== void 0 && /* @__PURE__ */ S("div", {
|
|
15895
|
-
className: $("font-dos text-dos-text-base",
|
|
16061
|
+
className: $("font-dos text-dos-text-base", By[a]),
|
|
15896
16062
|
children: o
|
|
15897
16063
|
}),
|
|
15898
16064
|
s,
|
|
@@ -15908,9 +16074,9 @@ var Ey = {
|
|
|
15908
16074
|
})
|
|
15909
16075
|
]
|
|
15910
16076
|
});
|
|
15911
|
-
|
|
16077
|
+
Vy.displayName = "ChecklistRow";
|
|
15912
16078
|
// src/components/CopyButton/components/CopyButton.tsx
|
|
15913
|
-
var
|
|
16079
|
+
var Hy = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Copy to clipboard", copiedTitle: i = "Copied!", className: a }) => {
|
|
15914
16080
|
let [o, c] = h(!1), l = m(null), u = s(() => {
|
|
15915
16081
|
c(!0), l.current && clearTimeout(l.current), l.current = setTimeout(() => c(!1), 1500);
|
|
15916
16082
|
}, []), d = s(() => {
|
|
@@ -15940,21 +16106,21 @@ var Oy = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Co
|
|
|
15940
16106
|
children: o ? n : t
|
|
15941
16107
|
});
|
|
15942
16108
|
};
|
|
15943
|
-
|
|
16109
|
+
Hy.displayName = "CopyButton";
|
|
15944
16110
|
// src/components/Select/components/Select.tsx
|
|
15945
|
-
var
|
|
16111
|
+
var Uy = {
|
|
15946
16112
|
sm: "text-dos-text-base px-2.5 py-1 min-h-7 gap-2",
|
|
15947
16113
|
md: "text-dos-text-base px-3 py-2 min-h-8 gap-2",
|
|
15948
16114
|
lg: "text-dos-text-base px-4 py-2.5 min-h-10 gap-2"
|
|
15949
|
-
},
|
|
16115
|
+
}, Wy = (e = "md") => ({
|
|
15950
16116
|
small: "sm",
|
|
15951
16117
|
medium: "md",
|
|
15952
16118
|
large: "lg"
|
|
15953
|
-
})[e] ?? e,
|
|
15954
|
-
let g = a === "error", _ = s !== void 0, v =
|
|
16119
|
+
})[e] ?? e, Gy = "eidotter-select__label text-dos-text-brand font-dos text-dos-text-base uppercase tracking-wider", Ky = "eidotter-select__description text-dos-text-muted font-dos text-dos-text-base", qy = "eidotter-select__error text-dos-text-error font-dos text-dos-text-base", Jy = "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", Yy = "eidotter-select__option font-dos", Xy = "NO MATCHES", Zy = (e) => e == null || e === "" ? null : e, Qy = ({ 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 }) => {
|
|
16120
|
+
let g = a === "error", _ = s !== void 0, v = Wy(o);
|
|
15955
16121
|
return /* @__PURE__ */ C(If, {
|
|
15956
16122
|
"aria-label": t ? void 0 : h,
|
|
15957
|
-
selectedKey: _ ?
|
|
16123
|
+
selectedKey: _ ? Zy(s) : void 0,
|
|
15958
16124
|
defaultSelectedKey: _ ? void 0 : c,
|
|
15959
16125
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
15960
16126
|
isDisabled: u,
|
|
@@ -15965,12 +16131,12 @@ var ky = {
|
|
|
15965
16131
|
className: $("eidotter-select flex flex-col gap-1", m),
|
|
15966
16132
|
children: [
|
|
15967
16133
|
t && /* @__PURE__ */ S(Pi, {
|
|
15968
|
-
className:
|
|
16134
|
+
className: Gy,
|
|
15969
16135
|
children: t
|
|
15970
16136
|
}),
|
|
15971
16137
|
/* @__PURE__ */ C(Wi, {
|
|
15972
16138
|
id: p,
|
|
15973
|
-
className: $(
|
|
16139
|
+
className: $(Jy, Uy[v]),
|
|
15974
16140
|
children: [/* @__PURE__ */ S(Bf, { className: "eidotter-select__value flex-1 text-left truncate" }), /* @__PURE__ */ S("span", {
|
|
15975
16141
|
"aria-hidden": "true",
|
|
15976
16142
|
className: "eidotter-select__arrow",
|
|
@@ -15979,12 +16145,12 @@ var ky = {
|
|
|
15979
16145
|
}),
|
|
15980
16146
|
r && !g && /* @__PURE__ */ S(Yi, {
|
|
15981
16147
|
slot: "description",
|
|
15982
|
-
className:
|
|
16148
|
+
className: Ky,
|
|
15983
16149
|
children: r
|
|
15984
16150
|
}),
|
|
15985
16151
|
i && g && /* @__PURE__ */ S(Yi, {
|
|
15986
16152
|
slot: "errorMessage",
|
|
15987
|
-
className:
|
|
16153
|
+
className: qy,
|
|
15988
16154
|
children: i
|
|
15989
16155
|
}),
|
|
15990
16156
|
/* @__PURE__ */ S(xu, {
|
|
@@ -15996,19 +16162,19 @@ var ky = {
|
|
|
15996
16162
|
id: e.value,
|
|
15997
16163
|
textValue: e.label,
|
|
15998
16164
|
isDisabled: e.disabled,
|
|
15999
|
-
className:
|
|
16165
|
+
className: Yy,
|
|
16000
16166
|
children: e.label
|
|
16001
16167
|
})
|
|
16002
16168
|
})
|
|
16003
16169
|
})
|
|
16004
16170
|
]
|
|
16005
16171
|
});
|
|
16006
|
-
},
|
|
16007
|
-
let _ = a === "error", v = s !== void 0, y =
|
|
16172
|
+
}, $y = ({ 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 = Xy, "aria-label": g }) => {
|
|
16173
|
+
let _ = a === "error", v = s !== void 0, y = Wy(o);
|
|
16008
16174
|
return /* @__PURE__ */ C(uf, {
|
|
16009
16175
|
"aria-label": t ? void 0 : g,
|
|
16010
16176
|
defaultItems: e,
|
|
16011
|
-
selectedKey: v ?
|
|
16177
|
+
selectedKey: v ? Zy(s) : void 0,
|
|
16012
16178
|
defaultSelectedKey: v ? void 0 : c,
|
|
16013
16179
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
16014
16180
|
isDisabled: u,
|
|
@@ -16020,11 +16186,11 @@ var ky = {
|
|
|
16020
16186
|
className: $("eidotter-select eidotter-select--searchable flex flex-col gap-1", m),
|
|
16021
16187
|
children: [
|
|
16022
16188
|
t && /* @__PURE__ */ S(Pi, {
|
|
16023
|
-
className:
|
|
16189
|
+
className: Gy,
|
|
16024
16190
|
children: t
|
|
16025
16191
|
}),
|
|
16026
16192
|
/* @__PURE__ */ C("div", {
|
|
16027
|
-
className: $(
|
|
16193
|
+
className: $(Jy, Uy[y]),
|
|
16028
16194
|
children: [/* @__PURE__ */ S(Wa, {
|
|
16029
16195
|
id: p,
|
|
16030
16196
|
placeholder: n,
|
|
@@ -16041,12 +16207,12 @@ var ky = {
|
|
|
16041
16207
|
}),
|
|
16042
16208
|
r && !_ && /* @__PURE__ */ S(Yi, {
|
|
16043
16209
|
slot: "description",
|
|
16044
|
-
className:
|
|
16210
|
+
className: Ky,
|
|
16045
16211
|
children: r
|
|
16046
16212
|
}),
|
|
16047
16213
|
i && _ && /* @__PURE__ */ S(Yi, {
|
|
16048
16214
|
slot: "errorMessage",
|
|
16049
|
-
className:
|
|
16215
|
+
className: qy,
|
|
16050
16216
|
children: i
|
|
16051
16217
|
}),
|
|
16052
16218
|
/* @__PURE__ */ S(xu, {
|
|
@@ -16061,15 +16227,15 @@ var ky = {
|
|
|
16061
16227
|
id: e.value,
|
|
16062
16228
|
textValue: e.label,
|
|
16063
16229
|
isDisabled: e.disabled,
|
|
16064
|
-
className:
|
|
16230
|
+
className: Yy,
|
|
16065
16231
|
children: e.label
|
|
16066
16232
|
})
|
|
16067
16233
|
})
|
|
16068
16234
|
})
|
|
16069
16235
|
]
|
|
16070
16236
|
});
|
|
16071
|
-
},
|
|
16072
|
-
let T = a === "error", E = s !== void 0, D =
|
|
16237
|
+
}, eb = ({ 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 = Xy, "aria-label": w }) => {
|
|
16238
|
+
let T = a === "error", E = s !== void 0, D = Wy(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), [
|
|
16073
16239
|
E,
|
|
16074
16240
|
s,
|
|
16075
16241
|
N
|
|
@@ -16092,7 +16258,7 @@ var ky = {
|
|
|
16092
16258
|
children: [
|
|
16093
16259
|
t && /* @__PURE__ */ S("span", {
|
|
16094
16260
|
id: I,
|
|
16095
|
-
className:
|
|
16261
|
+
className: Gy,
|
|
16096
16262
|
children: t
|
|
16097
16263
|
}),
|
|
16098
16264
|
/* @__PURE__ */ C(Wi, {
|
|
@@ -16104,7 +16270,7 @@ var ky = {
|
|
|
16104
16270
|
"aria-haspopup": "listbox",
|
|
16105
16271
|
"aria-expanded": k,
|
|
16106
16272
|
onPress: () => B(!k),
|
|
16107
|
-
className: $(
|
|
16273
|
+
className: $(Jy, Uy[D], T && "eidotter-select__trigger--error"),
|
|
16108
16274
|
children: [/* @__PURE__ */ S("span", {
|
|
16109
16275
|
className: $("eidotter-select__value flex-1 text-left truncate", F.length === 0 && "eidotter-select__value--placeholder text-dos-text-muted"),
|
|
16110
16276
|
children: V
|
|
@@ -16115,11 +16281,11 @@ var ky = {
|
|
|
16115
16281
|
})]
|
|
16116
16282
|
}),
|
|
16117
16283
|
r && !T && /* @__PURE__ */ S("span", {
|
|
16118
|
-
className:
|
|
16284
|
+
className: Ky,
|
|
16119
16285
|
children: r
|
|
16120
16286
|
}),
|
|
16121
16287
|
i && T && /* @__PURE__ */ S("span", {
|
|
16122
|
-
className:
|
|
16288
|
+
className: qy,
|
|
16123
16289
|
children: i
|
|
16124
16290
|
}),
|
|
16125
16291
|
p && F.map((e) => /* @__PURE__ */ S("input", {
|
|
@@ -16156,7 +16322,7 @@ var ky = {
|
|
|
16156
16322
|
id: e.value,
|
|
16157
16323
|
textValue: e.label,
|
|
16158
16324
|
isDisabled: e.disabled,
|
|
16159
|
-
className: $(
|
|
16325
|
+
className: $(Yy, "eidotter-select__option--multi"),
|
|
16160
16326
|
children: ({ isSelected: t }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("span", {
|
|
16161
16327
|
"aria-hidden": "true",
|
|
16162
16328
|
className: "eidotter-select__check",
|
|
@@ -16170,10 +16336,10 @@ var ky = {
|
|
|
16170
16336
|
})
|
|
16171
16337
|
]
|
|
16172
16338
|
});
|
|
16173
|
-
},
|
|
16174
|
-
|
|
16339
|
+
}, tb = (e) => e.multiple ? /* @__PURE__ */ S(eb, { ...e }) : e.searchable ? /* @__PURE__ */ S($y, { ...e }) : /* @__PURE__ */ S(Qy, { ...e });
|
|
16340
|
+
tb.displayName = "Select";
|
|
16175
16341
|
// src/components/LedgerRow/components/LedgerRow.tsx
|
|
16176
|
-
var
|
|
16342
|
+
var nb = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a, className: o }) => /* @__PURE__ */ C("div", {
|
|
16177
16343
|
className: $("eidotter-ledger-row", "flex items-center gap-3 py-2 border-b border-dos-border-disabled", a && "opacity-50", o),
|
|
16178
16344
|
children: [/* @__PURE__ */ C("div", {
|
|
16179
16345
|
className: "flex-1 min-w-0",
|
|
@@ -16191,14 +16357,14 @@ var Hy = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a,
|
|
|
16191
16357
|
className: "font-dos text-dos-text-base text-dos-text-accent tabular-nums",
|
|
16192
16358
|
children: n
|
|
16193
16359
|
}),
|
|
16194
|
-
r !== void 0 && /* @__PURE__ */ S(
|
|
16360
|
+
r !== void 0 && /* @__PURE__ */ S(Hy, { value: r }),
|
|
16195
16361
|
i
|
|
16196
16362
|
]
|
|
16197
16363
|
})]
|
|
16198
16364
|
});
|
|
16199
|
-
|
|
16365
|
+
nb.displayName = "LedgerRow";
|
|
16200
16366
|
// src/components/LabeledProgress/components/LabeledProgress.tsx
|
|
16201
|
-
var
|
|
16367
|
+
var rb = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i = !0, className: a, "aria-label": o }) => {
|
|
16202
16368
|
let s = n === 0 ? 0 : Math.min(100, Math.max(0, Math.round(t / n * 100)));
|
|
16203
16369
|
return /* @__PURE__ */ C("div", {
|
|
16204
16370
|
className: $("eidotter-labeled-progress", "flex items-center gap-3", a),
|
|
@@ -16226,10 +16392,10 @@ var Uy = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i
|
|
|
16226
16392
|
]
|
|
16227
16393
|
});
|
|
16228
16394
|
};
|
|
16229
|
-
|
|
16395
|
+
rb.displayName = "LabeledProgress";
|
|
16230
16396
|
// src/components/TextScramble/components/TextScramble.tsx
|
|
16231
|
-
var
|
|
16232
|
-
let { text: s, isScrambling: c } =
|
|
16397
|
+
var ib = a(({ children: e, speed: t, characters: n, delay: r, className: i, ...a }, o) => {
|
|
16398
|
+
let { text: s, isScrambling: c } = Ty(e, {
|
|
16233
16399
|
speed: t,
|
|
16234
16400
|
characters: n,
|
|
16235
16401
|
delay: r
|
|
@@ -16241,15 +16407,15 @@ var Wy = a(({ children: e, speed: t, characters: n, delay: r, className: i, ...a
|
|
|
16241
16407
|
children: s
|
|
16242
16408
|
});
|
|
16243
16409
|
});
|
|
16244
|
-
|
|
16410
|
+
ib.displayName = "TextScramble";
|
|
16245
16411
|
// src/components/Nav/components/Nav.tsx
|
|
16246
|
-
var
|
|
16412
|
+
var ab = {
|
|
16247
16413
|
retro: "eidotter-nav--retro",
|
|
16248
16414
|
modern: "eidotter-nav--modern"
|
|
16249
|
-
},
|
|
16415
|
+
}, ob = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
16250
16416
|
let a = r || "a";
|
|
16251
16417
|
return /* @__PURE__ */ S("nav", {
|
|
16252
|
-
className: $("eidotter-nav eidotter-nav--desktop",
|
|
16418
|
+
className: $("eidotter-nav eidotter-nav--desktop", ab[n], i),
|
|
16253
16419
|
"aria-label": "Main navigation",
|
|
16254
16420
|
children: /* @__PURE__ */ S("ul", {
|
|
16255
16421
|
className: "eidotter-nav__desktop-list",
|
|
@@ -16270,7 +16436,7 @@ var Gy = {
|
|
|
16270
16436
|
})
|
|
16271
16437
|
})
|
|
16272
16438
|
});
|
|
16273
|
-
},
|
|
16439
|
+
}, sb = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
16274
16440
|
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), []);
|
|
16275
16441
|
return l(() => {
|
|
16276
16442
|
if (!a) return;
|
|
@@ -16281,7 +16447,7 @@ var Gy = {
|
|
|
16281
16447
|
}, [a, _]), l(() => {
|
|
16282
16448
|
a ? d.current?.focus() : p.current && u.current?.focus(), p.current = a;
|
|
16283
16449
|
}, [a]), /* @__PURE__ */ C("div", {
|
|
16284
|
-
className: $("eidotter-nav eidotter-nav--mobile",
|
|
16450
|
+
className: $("eidotter-nav eidotter-nav--mobile", ab[n], i),
|
|
16285
16451
|
children: [
|
|
16286
16452
|
/* @__PURE__ */ S("button", {
|
|
16287
16453
|
ref: u,
|
|
@@ -16341,14 +16507,14 @@ var Gy = {
|
|
|
16341
16507
|
})
|
|
16342
16508
|
]
|
|
16343
16509
|
});
|
|
16344
|
-
},
|
|
16510
|
+
}, cb = (e) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S(sb, { ...e }), /* @__PURE__ */ S(ob, { ...e })] }), lb = {
|
|
16345
16511
|
user: "eidotter-chat-message--user",
|
|
16346
16512
|
assistant: "eidotter-chat-message--assistant",
|
|
16347
16513
|
system: "eidotter-chat-message--system"
|
|
16348
|
-
},
|
|
16514
|
+
}, ub = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
|
|
16349
16515
|
let s = e === "user" ? r : e === "assistant" ? i : "";
|
|
16350
16516
|
return /* @__PURE__ */ C("div", {
|
|
16351
|
-
className: $("flex gap-2 font-dos text-dos-text-base leading-[1.4] py-1 whitespace-pre-wrap break-words",
|
|
16517
|
+
className: $("flex gap-2 font-dos text-dos-text-base leading-[1.4] py-1 whitespace-pre-wrap break-words", lb[e], n && "eidotter-chat-message--streaming", a),
|
|
16352
16518
|
...o,
|
|
16353
16519
|
children: [
|
|
16354
16520
|
s && /* @__PURE__ */ S("span", {
|
|
@@ -16367,7 +16533,7 @@ var Gy = {
|
|
|
16367
16533
|
})
|
|
16368
16534
|
]
|
|
16369
16535
|
});
|
|
16370
|
-
},
|
|
16536
|
+
}, db = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
|
|
16371
16537
|
let o = m(null);
|
|
16372
16538
|
l(() => {
|
|
16373
16539
|
o.current?.scrollIntoView?.({ behavior: "smooth" });
|
|
@@ -16396,7 +16562,7 @@ var Gy = {
|
|
|
16396
16562
|
className: "flex flex-col",
|
|
16397
16563
|
children: [e.map((i, a) => {
|
|
16398
16564
|
let o = t && i.role === "assistant" && a === e.length - 1;
|
|
16399
|
-
return /* @__PURE__ */ S(
|
|
16565
|
+
return /* @__PURE__ */ S(ub, {
|
|
16400
16566
|
role: i.role,
|
|
16401
16567
|
content: i.content,
|
|
16402
16568
|
isStreaming: o,
|
|
@@ -16406,7 +16572,7 @@ var Gy = {
|
|
|
16406
16572
|
}), /* @__PURE__ */ S("div", { ref: o })]
|
|
16407
16573
|
})
|
|
16408
16574
|
});
|
|
16409
|
-
},
|
|
16575
|
+
}, fb = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
|
|
16410
16576
|
let [o, s] = h(""), c = m(null);
|
|
16411
16577
|
d(() => {
|
|
16412
16578
|
let e = c.current;
|
|
@@ -16448,30 +16614,30 @@ var Gy = {
|
|
|
16448
16614
|
})]
|
|
16449
16615
|
})]
|
|
16450
16616
|
});
|
|
16451
|
-
},
|
|
16617
|
+
}, pb = ({ messages: e, onSend: t, isStreaming: n = !1, inputPrompt: r, userPrefix: i, assistantPrefix: a, placeholder: o, disabled: s = !1, className: c, ...l }) => /* @__PURE__ */ C("div", {
|
|
16452
16618
|
className: $("flex flex-col h-full min-h-0", c),
|
|
16453
16619
|
...l,
|
|
16454
|
-
children: [/* @__PURE__ */ S(
|
|
16620
|
+
children: [/* @__PURE__ */ S(db, {
|
|
16455
16621
|
className: "flex-1 min-h-0",
|
|
16456
16622
|
messages: e,
|
|
16457
16623
|
isStreaming: n,
|
|
16458
16624
|
userPrefix: i,
|
|
16459
16625
|
assistantPrefix: a
|
|
16460
|
-
}), /* @__PURE__ */ S(
|
|
16626
|
+
}), /* @__PURE__ */ S(fb, {
|
|
16461
16627
|
className: "shrink-0",
|
|
16462
16628
|
onSend: t,
|
|
16463
16629
|
prompt: r,
|
|
16464
16630
|
placeholder: o,
|
|
16465
16631
|
disabled: s
|
|
16466
16632
|
})]
|
|
16467
|
-
}),
|
|
16633
|
+
}), mb = [{
|
|
16468
16634
|
label: "Impressum",
|
|
16469
16635
|
href: "/impressum"
|
|
16470
16636
|
}, {
|
|
16471
16637
|
label: "Datenschutz",
|
|
16472
16638
|
href: "/datenschutz"
|
|
16473
|
-
}],
|
|
16474
|
-
let s = n ??
|
|
16639
|
+
}], hb = ({ copyright: t, links: n, linkComponent: r, children: i, className: a, ...o }) => {
|
|
16640
|
+
let s = n ?? mb, c = r ?? "a", l = "eidotter-footer__link text-dos-text-brand no-underline";
|
|
16475
16641
|
return /* @__PURE__ */ C("footer", {
|
|
16476
16642
|
className: $("font-dos text-dos-text-base py-4 px-2 text-center", "eidotter-footer", a),
|
|
16477
16643
|
...o,
|
|
@@ -16515,9 +16681,9 @@ var Gy = {
|
|
|
16515
16681
|
})
|
|
16516
16682
|
]
|
|
16517
16683
|
});
|
|
16518
|
-
},
|
|
16519
|
-
|
|
16520
|
-
var
|
|
16684
|
+
}, gb = /* @__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(",");
|
|
16685
|
+
gb.length - 4;
|
|
16686
|
+
var _b = "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", vb = "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", yb = "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", bb = ["M16.25 15.25H15.5625V17.3125H16.25V15.25Z", "M18.3125 13.875H16.25V14.5625H18.3125V13.875Z"], xb = "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", Sb = a(({ size: e = 32, title: t = "eiDotter", ...n }, r) => {
|
|
16521
16687
|
let i = u(), a = `eidotter-logo-halo-${i}`, o = `eidotter-logo-core-${i}`, s = `eidotter-logo-yolk-${i}`;
|
|
16522
16688
|
return /* @__PURE__ */ C("svg", {
|
|
16523
16689
|
ref: r,
|
|
@@ -16592,48 +16758,48 @@ var rb = "M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7
|
|
|
16592
16758
|
})
|
|
16593
16759
|
] }),
|
|
16594
16760
|
/* @__PURE__ */ S("path", {
|
|
16595
|
-
d:
|
|
16761
|
+
d: _b,
|
|
16596
16762
|
fill: `url(#${a})`
|
|
16597
16763
|
}),
|
|
16598
16764
|
/* @__PURE__ */ S("path", {
|
|
16599
|
-
d:
|
|
16765
|
+
d: vb,
|
|
16600
16766
|
fill: `url(#${o})`
|
|
16601
16767
|
}),
|
|
16602
|
-
|
|
16768
|
+
gb.map((e) => /* @__PURE__ */ S("path", {
|
|
16603
16769
|
d: e,
|
|
16604
16770
|
fill: "#FFB000"
|
|
16605
16771
|
}, e)),
|
|
16606
16772
|
/* @__PURE__ */ S("path", {
|
|
16607
|
-
d:
|
|
16773
|
+
d: yb,
|
|
16608
16774
|
fill: `url(#${s})`
|
|
16609
16775
|
}),
|
|
16610
|
-
|
|
16776
|
+
bb.map((e) => /* @__PURE__ */ S("path", {
|
|
16611
16777
|
d: e,
|
|
16612
16778
|
fill: "#FFE8A8",
|
|
16613
16779
|
opacity: "0.8"
|
|
16614
16780
|
}, e)),
|
|
16615
16781
|
/* @__PURE__ */ S("path", {
|
|
16616
|
-
d:
|
|
16782
|
+
d: xb,
|
|
16617
16783
|
fill: "#FFFFFF",
|
|
16618
16784
|
opacity: "0.9"
|
|
16619
16785
|
})
|
|
16620
16786
|
]
|
|
16621
16787
|
});
|
|
16622
16788
|
});
|
|
16623
|
-
|
|
16789
|
+
Sb.displayName = "LogoGeometry";
|
|
16624
16790
|
// src/components/Brand/components/Logo.tsx
|
|
16625
|
-
var
|
|
16791
|
+
var Cb = a(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => /* @__PURE__ */ S(Sb, {
|
|
16626
16792
|
ref: a,
|
|
16627
16793
|
size: e,
|
|
16628
16794
|
title: n,
|
|
16629
16795
|
className: $("eidotter-logo", t && "eidotter-logo--glow", r),
|
|
16630
16796
|
...i
|
|
16631
16797
|
}));
|
|
16632
|
-
|
|
16798
|
+
Cb.displayName = "Logo";
|
|
16633
16799
|
// src/components/Brand/components/Wordmark.tsx
|
|
16634
|
-
var
|
|
16800
|
+
var wb = a(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ C("span", {
|
|
16635
16801
|
ref: r,
|
|
16636
|
-
className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
|
|
16802
|
+
className: $("eidotter-wordmark font-dos-heading", e && "eidotter-wordmark--glow", t),
|
|
16637
16803
|
role: "img",
|
|
16638
16804
|
"aria-label": "eiDotter",
|
|
16639
16805
|
...n,
|
|
@@ -16647,27 +16813,27 @@ var ub = a(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ C("span"
|
|
|
16647
16813
|
children: "Dotter"
|
|
16648
16814
|
})]
|
|
16649
16815
|
}));
|
|
16650
|
-
|
|
16816
|
+
wb.displayName = "Wordmark";
|
|
16651
16817
|
// src/components/Brand/components/BrandLockup.tsx
|
|
16652
|
-
var
|
|
16818
|
+
var Tb = a(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ C("div", {
|
|
16653
16819
|
ref: o,
|
|
16654
16820
|
className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
|
|
16655
16821
|
role: "img",
|
|
16656
16822
|
"aria-label": "eiDotter",
|
|
16657
16823
|
...a,
|
|
16658
|
-
children: [!n && /* @__PURE__ */ S(
|
|
16824
|
+
children: [!n && /* @__PURE__ */ S(Cb, {
|
|
16659
16825
|
size: e,
|
|
16660
16826
|
glow: r,
|
|
16661
16827
|
title: ""
|
|
16662
|
-
}), !t && /* @__PURE__ */ S(
|
|
16828
|
+
}), !t && /* @__PURE__ */ S(wb, {
|
|
16663
16829
|
glow: r,
|
|
16664
16830
|
"aria-hidden": "true"
|
|
16665
16831
|
})]
|
|
16666
16832
|
}));
|
|
16667
|
-
|
|
16833
|
+
Tb.displayName = "BrandLockup";
|
|
16668
16834
|
// src/components/Brand/components/markGeometry.ts
|
|
16669
|
-
var
|
|
16670
|
-
function
|
|
16835
|
+
var Eb = 9.25 / 22, Db = (e) => Math.round(e * 100) / 100;
|
|
16836
|
+
function Ob(e, t, n = {}) {
|
|
16671
16837
|
let { curvature: r = 24, startRadius: i = 0 } = n;
|
|
16672
16838
|
if (e.width === 0 || e.height === 0) return [];
|
|
16673
16839
|
let a = t.filter((e) => e.width !== 0 || e.height !== 0);
|
|
@@ -16677,23 +16843,23 @@ function mb(e, t, n = {}) {
|
|
|
16677
16843
|
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);
|
|
16678
16844
|
if (m - i < 1) return;
|
|
16679
16845
|
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;
|
|
16680
|
-
c.push(`M ${
|
|
16846
|
+
c.push(`M ${Db(h)} ${Db(g)} Q ${Db(C)} ${Db(w)} ${Db(u)} ${Db(d)}`);
|
|
16681
16847
|
}), c;
|
|
16682
16848
|
}
|
|
16683
16849
|
// src/components/Brand/components/Mark.tsx
|
|
16684
|
-
var
|
|
16685
|
-
let d = m(null), [f, p] = h(
|
|
16850
|
+
var kb = [], Ab = a(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow: r = !0, arms: i, className: a, style: o, ...c }, u) => {
|
|
16851
|
+
let d = m(null), [f, p] = h(kb), g = s((e) => {
|
|
16686
16852
|
d.current = e, typeof u == "function" ? u(e) : u && (u.current = e);
|
|
16687
16853
|
}, [u]);
|
|
16688
16854
|
return l(() => {
|
|
16689
16855
|
if (!i) {
|
|
16690
|
-
p(
|
|
16856
|
+
p(kb);
|
|
16691
16857
|
return;
|
|
16692
16858
|
}
|
|
16693
16859
|
let e = d.current, t = i.scopeRef.current;
|
|
16694
16860
|
if (!e) return;
|
|
16695
16861
|
let n = [], r = () => {
|
|
16696
|
-
let t = e.getBoundingClientRect(), r =
|
|
16862
|
+
let t = e.getBoundingClientRect(), r = Ob(t, n.map((e) => e.getBoundingClientRect()), { startRadius: t.width * Eb });
|
|
16697
16863
|
p((e) => e.length === r.length && e.every((e, t) => e === r[t]) ? e : r);
|
|
16698
16864
|
}, 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 = () => {
|
|
16699
16865
|
o?.disconnect(), n = a(), o?.observe(e), t && o?.observe(t), n.forEach((e) => o?.observe(e)), r();
|
|
@@ -16734,7 +16900,7 @@ var hb = [], gb = a(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
|
|
|
16734
16900
|
stroke: "currentColor",
|
|
16735
16901
|
strokeWidth: 2
|
|
16736
16902
|
}, t))
|
|
16737
|
-
}), /* @__PURE__ */ S(
|
|
16903
|
+
}), /* @__PURE__ */ S(Sb, {
|
|
16738
16904
|
size: "100%",
|
|
16739
16905
|
title: "",
|
|
16740
16906
|
focusable: "false",
|
|
@@ -16742,10 +16908,10 @@ var hb = [], gb = a(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
|
|
|
16742
16908
|
})]
|
|
16743
16909
|
});
|
|
16744
16910
|
});
|
|
16745
|
-
|
|
16911
|
+
Ab.displayName = "Mark";
|
|
16746
16912
|
// src/components/Header/components/HeaderContextRow.tsx
|
|
16747
|
-
var
|
|
16748
|
-
function
|
|
16913
|
+
var jb = $("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");
|
|
16914
|
+
function Mb({ context: e, linkComponent: t, activeHref: n }) {
|
|
16749
16915
|
let r = t ?? "a", { categories: i, returnTo: a } = e, o = a && y_(a.href) ? a.href : void 0, s = (e, t) => {
|
|
16750
16916
|
if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
|
|
16751
16917
|
let n = window.open(t, "rizomorf-shell");
|
|
@@ -16757,16 +16923,16 @@ function vb({ context: e, linkComponent: t, activeHref: n }) {
|
|
|
16757
16923
|
return /* @__PURE__ */ C("div", {
|
|
16758
16924
|
className: $("eidotter-header__context", "flex w-full flex-wrap items-center gap-x-4 gap-y-2"),
|
|
16759
16925
|
children: [a && (o === void 0 ? /* @__PURE__ */ S("span", {
|
|
16760
|
-
className:
|
|
16926
|
+
className: jb,
|
|
16761
16927
|
children: c
|
|
16762
16928
|
}) : a.reuseTab ? /* @__PURE__ */ S("a", {
|
|
16763
16929
|
href: o,
|
|
16764
16930
|
onClick: (e) => s(e, o),
|
|
16765
|
-
className:
|
|
16931
|
+
className: jb,
|
|
16766
16932
|
children: c
|
|
16767
16933
|
}) : /* @__PURE__ */ S(r, {
|
|
16768
16934
|
href: o,
|
|
16769
|
-
className:
|
|
16935
|
+
className: jb,
|
|
16770
16936
|
children: c
|
|
16771
16937
|
})), i.length > 0 && /* @__PURE__ */ S("nav", {
|
|
16772
16938
|
"aria-label": "Categories",
|
|
@@ -16806,23 +16972,23 @@ function vb({ context: e, linkComponent: t, activeHref: n }) {
|
|
|
16806
16972
|
});
|
|
16807
16973
|
}
|
|
16808
16974
|
// src/components/Header/components/Header.tsx
|
|
16809
|
-
var
|
|
16975
|
+
var Nb = {
|
|
16810
16976
|
retro: "eidotter-header--retro",
|
|
16811
16977
|
modern: "eidotter-header--modern"
|
|
16812
|
-
},
|
|
16978
|
+
}, Pb = 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) => {
|
|
16813
16979
|
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", {
|
|
16814
16980
|
className: "eidotter-header__brand-name uppercase tracking-[0.3em]",
|
|
16815
16981
|
children: t
|
|
16816
|
-
}), l === "mark" ? /* @__PURE__ */ S(
|
|
16982
|
+
}), l === "mark" ? /* @__PURE__ */ S(Ab, {
|
|
16817
16983
|
size: 28,
|
|
16818
16984
|
label: "",
|
|
16819
16985
|
className: "eidotter-header__brand-icon"
|
|
16820
|
-
}) : /* @__PURE__ */ S(
|
|
16986
|
+
}) : /* @__PURE__ */ S(Cb, {
|
|
16821
16987
|
size: 28,
|
|
16822
16988
|
glow: !0,
|
|
16823
16989
|
title: "",
|
|
16824
16990
|
className: "eidotter-header__brand-icon"
|
|
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(
|
|
16991
|
+
})] }) : 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(ob, {
|
|
16826
16992
|
items: r,
|
|
16827
16993
|
activeHref: i,
|
|
16828
16994
|
variant: a,
|
|
@@ -16840,7 +17006,7 @@ var yb = {
|
|
|
16840
17006
|
className: "eidotter-header__end flex items-center",
|
|
16841
17007
|
children: m
|
|
16842
17008
|
}),
|
|
16843
|
-
F && /* @__PURE__ */ S(
|
|
17009
|
+
F && /* @__PURE__ */ S(sb, {
|
|
16844
17010
|
items: r,
|
|
16845
17011
|
activeHref: i,
|
|
16846
17012
|
variant: a,
|
|
@@ -16857,7 +17023,7 @@ var yb = {
|
|
|
16857
17023
|
children: ee
|
|
16858
17024
|
}),
|
|
16859
17025
|
A && R,
|
|
16860
|
-
E && /* @__PURE__ */ S(
|
|
17026
|
+
E && /* @__PURE__ */ S(Mb, {
|
|
16861
17027
|
context: c,
|
|
16862
17028
|
linkComponent: s,
|
|
16863
17029
|
activeHref: i
|
|
@@ -16868,7 +17034,7 @@ var yb = {
|
|
|
16868
17034
|
} : v;
|
|
16869
17035
|
return /* @__PURE__ */ C("header", {
|
|
16870
17036
|
ref: b,
|
|
16871
|
-
className: $(M ? "px-4 py-3 font-dos" : $(V, "px-4 py-3 font-dos"), "eidotter-header",
|
|
17037
|
+
className: $(M ? "px-4 py-3 font-dos" : $(V, "px-4 py-3 font-dos"), "eidotter-header", Nb[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", _),
|
|
16872
17038
|
style: H,
|
|
16873
17039
|
...y,
|
|
16874
17040
|
children: [z, M ? /* @__PURE__ */ S("div", {
|
|
@@ -16877,9 +17043,9 @@ var yb = {
|
|
|
16877
17043
|
}) : te]
|
|
16878
17044
|
});
|
|
16879
17045
|
});
|
|
16880
|
-
|
|
17046
|
+
Pb.displayName = "Header";
|
|
16881
17047
|
// src/components/Connector/components/connectorGeometry.ts
|
|
16882
|
-
var
|
|
17048
|
+
var Fb = {
|
|
16883
17049
|
delicate: {
|
|
16884
17050
|
base: 5,
|
|
16885
17051
|
mid: 3.2,
|
|
@@ -16892,11 +17058,11 @@ var xb = {
|
|
|
16892
17058
|
tip: 5,
|
|
16893
17059
|
curvature: 30
|
|
16894
17060
|
}
|
|
16895
|
-
},
|
|
16896
|
-
function
|
|
16897
|
-
return e < .5 ?
|
|
17061
|
+
}, Ib = 28, Lb = (e) => Math.round(e * 100) / 100, Rb = (e, t, n) => e + (t - e) * n, zb = (e) => e < .5 ? 2 * e * e : 1 - (-2 * e + 2) ** 2 / 2;
|
|
17062
|
+
function Bb(e, t) {
|
|
17063
|
+
return e < .5 ? Rb(t.base, t.mid, zb(e / .5)) : Rb(t.mid, t.tip, zb((e - .5) / .5));
|
|
16898
17064
|
}
|
|
16899
|
-
function
|
|
17065
|
+
function Vb(e, t, n) {
|
|
16900
17066
|
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);
|
|
16901
17067
|
return Number.isFinite(l) ? {
|
|
16902
17068
|
x: e.x + r * l,
|
|
@@ -16906,21 +17072,21 @@ function Db(e, t, n) {
|
|
|
16906
17072
|
y: e.y
|
|
16907
17073
|
};
|
|
16908
17074
|
}
|
|
16909
|
-
function
|
|
17075
|
+
function Hb(e, t, n, r, i) {
|
|
16910
17076
|
let a = 1 - i, o = a * a * a, s = 3 * a * a * i, c = 3 * a * i * i, l = i * i * i;
|
|
16911
17077
|
return {
|
|
16912
17078
|
x: o * e.x + s * t.x + c * n.x + l * r.x,
|
|
16913
17079
|
y: o * e.y + s * t.y + c * n.y + l * r.y
|
|
16914
17080
|
};
|
|
16915
17081
|
}
|
|
16916
|
-
function
|
|
17082
|
+
function Ub(e, t, n, r, i) {
|
|
16917
17083
|
let a = 1 - i, o = 3 * a * a, s = 6 * a * i, c = 3 * i * i;
|
|
16918
17084
|
return {
|
|
16919
17085
|
x: o * (t.x - e.x) + s * (n.x - t.x) + c * (r.x - n.x),
|
|
16920
17086
|
y: o * (t.y - e.y) + s * (n.y - t.y) + c * (r.y - n.y)
|
|
16921
17087
|
};
|
|
16922
17088
|
}
|
|
16923
|
-
function
|
|
17089
|
+
function Wb(e, t, n, r = {}) {
|
|
16924
17090
|
let { sign: i = 1, sway: a = 0 } = r, o = t.x - e.x, s = t.y - e.y, c = Math.hypot(o, s);
|
|
16925
17091
|
if (c < .5) return "";
|
|
16926
17092
|
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 = {
|
|
@@ -16930,8 +17096,8 @@ function Ab(e, t, n, r = {}) {
|
|
|
16930
17096
|
x: e.x + o * .66 + l * p,
|
|
16931
17097
|
y: e.y + s * .66 + u * p
|
|
16932
17098
|
}, g = [], _ = [];
|
|
16933
|
-
for (let r = 0; r <=
|
|
16934
|
-
let i = r /
|
|
17099
|
+
for (let r = 0; r <= Ib; r++) {
|
|
17100
|
+
let i = r / Ib, a = Hb(e, m, h, t, i), o = Ub(e, m, h, t, i), s = Math.hypot(o.x, o.y) || 1, c = -o.y / s, l = o.x / s, u = Bb(i, n);
|
|
16935
17101
|
g.push({
|
|
16936
17102
|
x: a.x + c * u,
|
|
16937
17103
|
y: a.y + l * u
|
|
@@ -16940,13 +17106,13 @@ function Ab(e, t, n, r = {}) {
|
|
|
16940
17106
|
y: a.y - l * u
|
|
16941
17107
|
});
|
|
16942
17108
|
}
|
|
16943
|
-
let v = `M ${
|
|
16944
|
-
for (let e = 1; e <=
|
|
16945
|
-
for (let e =
|
|
17109
|
+
let v = `M ${Lb(g[0].x)} ${Lb(g[0].y)}`;
|
|
17110
|
+
for (let e = 1; e <= Ib; e++) v += ` L ${Lb(g[e].x)} ${Lb(g[e].y)}`;
|
|
17111
|
+
for (let e = Ib; e >= 0; e--) v += ` L ${Lb(_[e].x)} ${Lb(_[e].y)}`;
|
|
16946
17112
|
return v += " Z", v;
|
|
16947
17113
|
}
|
|
16948
17114
|
// src/components/Connector/components/Connector.tsx
|
|
16949
|
-
var
|
|
17115
|
+
var Gb = .0011, Kb = 4, qb = a(({ sourceRef: e, targets: t, weight: n = "delicate", sway: r = !0, refreshKey: i, className: a, ...o }, c) => {
|
|
16950
17116
|
let d = u().replace(/[:]/g, ""), f = m(null), p = m([]), h = m([]), g = m(null), _ = m(t);
|
|
16951
17117
|
_.current = t;
|
|
16952
17118
|
let v = m(n);
|
|
@@ -16963,7 +17129,7 @@ var jb = .0011, Mb = 4, Nb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16963
17129
|
let o = a.getBoundingClientRect(), s = {
|
|
16964
17130
|
x: o.left - i.left + o.width / 2,
|
|
16965
17131
|
y: o.top - i.top + o.height / 2
|
|
16966
|
-
}, c =
|
|
17132
|
+
}, c = Fb[v.current] ?? Fb.delicate, l = r && !nh();
|
|
16967
17133
|
_.current.forEach((e, t) => {
|
|
16968
17134
|
let r = e.ref.current, a = p.current[t];
|
|
16969
17135
|
if (!a) return;
|
|
@@ -16981,11 +17147,11 @@ var jb = .0011, Mb = 4, Nb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16981
17147
|
y: o.top - i.top,
|
|
16982
17148
|
width: o.width,
|
|
16983
17149
|
height: o.height
|
|
16984
|
-
}, d =
|
|
17150
|
+
}, d = Vb({
|
|
16985
17151
|
x: u.x + u.width / 2,
|
|
16986
17152
|
y: u.y + u.height / 2
|
|
16987
|
-
}, s, u), f = t % 2 == 0 ? 1 : -1, m = l ? Math.sin(n *
|
|
16988
|
-
a.setAttribute("d",
|
|
17153
|
+
}, s, u), f = t % 2 == 0 ? 1 : -1, m = l ? Math.sin(n * Gb + t * 1.7) * Kb : 0;
|
|
17154
|
+
a.setAttribute("d", Wb(s, d, c, {
|
|
16989
17155
|
sign: f,
|
|
16990
17156
|
sway: m
|
|
16991
17157
|
}));
|
|
@@ -17047,15 +17213,15 @@ var jb = .0011, Mb = 4, Nb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
17047
17213
|
}, t))]
|
|
17048
17214
|
});
|
|
17049
17215
|
});
|
|
17050
|
-
|
|
17216
|
+
qb.displayName = "Connector";
|
|
17051
17217
|
// src/components/Notification/components/Notification.tsx
|
|
17052
|
-
var
|
|
17218
|
+
var Jb = {
|
|
17053
17219
|
primary: "Info",
|
|
17054
17220
|
gray: "Info",
|
|
17055
17221
|
success: "Done",
|
|
17056
17222
|
warning: "Warning",
|
|
17057
17223
|
error: "Error"
|
|
17058
|
-
},
|
|
17224
|
+
}, Yb = ({ 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 }) => {
|
|
17059
17225
|
let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = rh("eidotter-pop-out", i);
|
|
17060
17226
|
l(() => {
|
|
17061
17227
|
if (u == null || !i) return;
|
|
@@ -17085,7 +17251,7 @@ var Pb = {
|
|
|
17085
17251
|
g && /* @__PURE__ */ S("div", {
|
|
17086
17252
|
className: "eidotter-notification__icon",
|
|
17087
17253
|
children: /* @__PURE__ */ S(eh, {
|
|
17088
|
-
name:
|
|
17254
|
+
name: Jb[e] || "Info",
|
|
17089
17255
|
size: "S",
|
|
17090
17256
|
"aria-label": `${e} notification`
|
|
17091
17257
|
})
|
|
@@ -17137,7 +17303,7 @@ var Pb = {
|
|
|
17137
17303
|
});
|
|
17138
17304
|
};
|
|
17139
17305
|
// src/components/InlineLink/components/InlineLink.tsx
|
|
17140
|
-
function
|
|
17306
|
+
function Xb(e) {
|
|
17141
17307
|
let t = e.trim();
|
|
17142
17308
|
return t === "" || y_(t, { extraSchemes: [
|
|
17143
17309
|
"tel",
|
|
@@ -17145,14 +17311,14 @@ function Ib(e) {
|
|
|
17145
17311
|
"sms"
|
|
17146
17312
|
] }) ? t : "#";
|
|
17147
17313
|
}
|
|
17148
|
-
function
|
|
17314
|
+
function Zb(e, t) {
|
|
17149
17315
|
if (t.length === 0) return e;
|
|
17150
17316
|
let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
|
|
17151
17317
|
for (let e of t) n.add(e.toLowerCase());
|
|
17152
17318
|
return Array.from(n).join(" ");
|
|
17153
17319
|
}
|
|
17154
|
-
var
|
|
17155
|
-
let l =
|
|
17320
|
+
var Qb = a(({ children: e, href: t, showGlyph: n = !0, external: r = !1, className: i, target: a, rel: o, ...s }, c) => {
|
|
17321
|
+
let l = Xb(t), u = a ?? (r ? "_blank" : void 0), d = u === "_blank", f = d ? Zb(o, ["noopener", "noreferrer"]) : o, p = r && d ? "↗" : "▸";
|
|
17156
17322
|
return /* @__PURE__ */ C("a", {
|
|
17157
17323
|
ref: c,
|
|
17158
17324
|
href: l,
|
|
@@ -17170,9 +17336,9 @@ var Rb = a(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
|
|
|
17170
17336
|
})]
|
|
17171
17337
|
});
|
|
17172
17338
|
});
|
|
17173
|
-
|
|
17339
|
+
Qb.displayName = "InlineLink";
|
|
17174
17340
|
// src/components/DosFigure/components/DosFigure.tsx
|
|
17175
|
-
var
|
|
17341
|
+
var $b = a(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, c) => {
|
|
17176
17342
|
let l = u(), d = r ? l : void 0;
|
|
17177
17343
|
return /* @__PURE__ */ C("figure", {
|
|
17178
17344
|
ref: c,
|
|
@@ -17232,9 +17398,9 @@ var zb = a(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
|
|
|
17232
17398
|
})]
|
|
17233
17399
|
});
|
|
17234
17400
|
});
|
|
17235
|
-
|
|
17401
|
+
$b.displayName = "DosFigure";
|
|
17236
17402
|
// src/components/CmdPalette/components/CmdPalette.tsx
|
|
17237
|
-
var
|
|
17403
|
+
var ex = /* @__PURE__ */ C(x, { children: [
|
|
17238
17404
|
/* @__PURE__ */ S("span", {
|
|
17239
17405
|
className: "eidotter-cmdpal__key-hint",
|
|
17240
17406
|
children: "↑/↓ NAVIGATE"
|
|
@@ -17250,7 +17416,7 @@ var Bb = /* @__PURE__ */ C(x, { children: [
|
|
|
17250
17416
|
children: "ESC CLOSE"
|
|
17251
17417
|
})
|
|
17252
17418
|
] });
|
|
17253
|
-
function
|
|
17419
|
+
function tx(e) {
|
|
17254
17420
|
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");
|
|
17255
17421
|
return (e) => {
|
|
17256
17422
|
if (e.key.toLowerCase() !== n) return !1;
|
|
@@ -17258,15 +17424,15 @@ function Vb(e) {
|
|
|
17258
17424
|
return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
|
|
17259
17425
|
};
|
|
17260
17426
|
}
|
|
17261
|
-
function
|
|
17427
|
+
function nx(e, t) {
|
|
17262
17428
|
if (!t) return 0;
|
|
17263
17429
|
let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
|
|
17264
17430
|
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;
|
|
17265
17431
|
}
|
|
17266
|
-
var
|
|
17432
|
+
var rx = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TYPE · ▸", hotkey: i = "mod+k", emptyMessage: a = "NO MATCHES", footerHint: o = ex, renderItem: c, maxResults: d = 20, className: p, "aria-label": g = "Command palette" }, _) => {
|
|
17267
17433
|
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) => ({
|
|
17268
17434
|
item: e,
|
|
17269
|
-
score:
|
|
17435
|
+
score: nx(e, b.trim())
|
|
17270
17436
|
})).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, d).map((e) => e.item) : n.slice(0, d), [
|
|
17271
17437
|
n,
|
|
17272
17438
|
b,
|
|
@@ -17291,7 +17457,7 @@ var Ub = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
17291
17457
|
M.current = t;
|
|
17292
17458
|
}, [t]), l(() => {
|
|
17293
17459
|
if (i === !1) return;
|
|
17294
|
-
let e =
|
|
17460
|
+
let e = tx(i), t = (t) => {
|
|
17295
17461
|
e(t) && (t.preventDefault(), M.current(!j.current));
|
|
17296
17462
|
};
|
|
17297
17463
|
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
@@ -17313,7 +17479,7 @@ var Ub = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
17313
17479
|
let N = s((e) => {
|
|
17314
17480
|
e.onSelect?.(e), t(!1);
|
|
17315
17481
|
}, [t]);
|
|
17316
|
-
return /* @__PURE__ */ C(
|
|
17482
|
+
return /* @__PURE__ */ C(Sv, {
|
|
17317
17483
|
ref: _,
|
|
17318
17484
|
open: e,
|
|
17319
17485
|
onOpenChange: t,
|
|
@@ -17397,9 +17563,9 @@ var Ub = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
17397
17563
|
})]
|
|
17398
17564
|
});
|
|
17399
17565
|
});
|
|
17400
|
-
|
|
17566
|
+
rx.displayName = "CmdPalette";
|
|
17401
17567
|
// src/components/AIText/components/AIText.tsx
|
|
17402
|
-
var
|
|
17568
|
+
var ix = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ C("span", {
|
|
17403
17569
|
"data-provenance": "ai-draft",
|
|
17404
17570
|
className: $("eidotter-ai-text", t),
|
|
17405
17571
|
title: n,
|
|
@@ -17408,9 +17574,9 @@ var Wb = ({ children: e, className: t, title: n = "AI-assisted text — being re
|
|
|
17408
17574
|
children: "AI-assisted: "
|
|
17409
17575
|
}), e]
|
|
17410
17576
|
});
|
|
17411
|
-
|
|
17577
|
+
ix.displayName = "AIText";
|
|
17412
17578
|
// src/components/LegalPage/components/LegalPage.tsx
|
|
17413
|
-
var
|
|
17579
|
+
var ax = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a, className: o, ...s }) => /* @__PURE__ */ C("div", {
|
|
17414
17580
|
className: $("eidotter-legal-page", i && "eidotter-legal-page--embedded", o),
|
|
17415
17581
|
...s,
|
|
17416
17582
|
children: [r && /* @__PURE__ */ S("div", {
|
|
@@ -17433,13 +17599,13 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17433
17599
|
className: "eidotter-legal-page__body",
|
|
17434
17600
|
children: a
|
|
17435
17601
|
})] })]
|
|
17436
|
-
}),
|
|
17602
|
+
}), ox = /* @__PURE__ */ C(x, { children: [
|
|
17437
17603
|
"Haus-Endt-Str. 149A",
|
|
17438
17604
|
/* @__PURE__ */ S("br", {}),
|
|
17439
17605
|
"40593 Düsseldorf",
|
|
17440
17606
|
/* @__PURE__ */ S("br", {}),
|
|
17441
17607
|
"Deutschland"
|
|
17442
|
-
] }),
|
|
17608
|
+
] }), sx = "Dominic Kennedy", cx = ({ email: e, address: t = ox, name: n = sx }) => /* @__PURE__ */ C("address", { children: [
|
|
17443
17609
|
n,
|
|
17444
17610
|
/* @__PURE__ */ S("br", {}),
|
|
17445
17611
|
t,
|
|
@@ -17451,16 +17617,16 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17451
17617
|
children: e
|
|
17452
17618
|
})
|
|
17453
17619
|
] })
|
|
17454
|
-
] }),
|
|
17620
|
+
] }), lx = (e) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Angaben gemäß § 5 DDG" }), /* @__PURE__ */ S(cx, { ...e })] }), ux = ({ email: e }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Kontakt" }), /* @__PURE__ */ C("p", { children: ["E-Mail: ", /* @__PURE__ */ S("a", {
|
|
17455
17621
|
href: `mailto:${e}`,
|
|
17456
17622
|
children: e
|
|
17457
|
-
})] })] }),
|
|
17623
|
+
})] })] }), dx = ({ name: e = sx }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ C("address", { children: [
|
|
17458
17624
|
e,
|
|
17459
17625
|
/* @__PURE__ */ S("br", {}),
|
|
17460
17626
|
"Haus-Endt-Str. 149A",
|
|
17461
17627
|
/* @__PURE__ */ S("br", {}),
|
|
17462
17628
|
"40593 Düsseldorf"
|
|
17463
|
-
] })] }),
|
|
17629
|
+
] })] }), fx = () => /* @__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." })] }), px = () => /* @__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." })] }), mx = ({ email: e, name: t = sx }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Verantwortlicher" }), /* @__PURE__ */ C("address", { children: [
|
|
17464
17630
|
t,
|
|
17465
17631
|
/* @__PURE__ */ S("br", {}),
|
|
17466
17632
|
"Haus-Endt-Str. 149A",
|
|
@@ -17472,14 +17638,14 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17472
17638
|
href: `mailto:${e}`,
|
|
17473
17639
|
children: e
|
|
17474
17640
|
})
|
|
17475
|
-
] })] }),
|
|
17641
|
+
] })] }), hx = () => /* @__PURE__ */ C(x, { children: [
|
|
17476
17642
|
/* @__PURE__ */ S("h2", { children: "Hosting" }),
|
|
17477
17643
|
/* @__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." }),
|
|
17478
17644
|
/* @__PURE__ */ S("p", {
|
|
17479
17645
|
className: "eidotter-legal-page__basis",
|
|
17480
17646
|
children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
17481
17647
|
})
|
|
17482
|
-
] }),
|
|
17648
|
+
] }), gx = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ C(x, { children: [
|
|
17483
17649
|
/* @__PURE__ */ S("h2", { children: "Webanalyse — PostHog" }),
|
|
17484
17650
|
/* @__PURE__ */ C("p", { children: [
|
|
17485
17651
|
"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 ",
|
|
@@ -17496,7 +17662,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17496
17662
|
className: "eidotter-legal-page__basis",
|
|
17497
17663
|
children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
17498
17664
|
})
|
|
17499
|
-
] }),
|
|
17665
|
+
] }), _x = () => /* @__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." })] }), vx = () => /* @__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." })] }), yx = ({ email: e, supervisoryAuthority: t = "die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen" }) => /* @__PURE__ */ C(x, { children: [
|
|
17500
17666
|
/* @__PURE__ */ S("h2", { children: "Ihre Rechte" }),
|
|
17501
17667
|
/* @__PURE__ */ S("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
|
|
17502
17668
|
/* @__PURE__ */ C("ul", { children: [
|
|
@@ -17521,30 +17687,22 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17521
17687
|
t,
|
|
17522
17688
|
"."
|
|
17523
17689
|
] })
|
|
17524
|
-
] }),
|
|
17690
|
+
] }), bx = {
|
|
17525
17691
|
eidotter: { displayName: "eiDotter" },
|
|
17526
|
-
spacewar: { displayName: "Spacewar!" },
|
|
17527
17692
|
rizomorf: { displayName: "rizomorf" },
|
|
17528
|
-
"pomodoke-calendar": { displayName: "PomoDoke Calendar" },
|
|
17529
|
-
keepcoin: { displayName: "KeepCoin" },
|
|
17530
|
-
steuerdash: { displayName: "Steuerdash" },
|
|
17531
|
-
sella: { displayName: "sella" },
|
|
17532
|
-
lifelines: { displayName: "Lifelines" },
|
|
17533
|
-
betamorf: { displayName: "betamorf" },
|
|
17534
17693
|
dmnctech: {
|
|
17535
17694
|
displayName: "dmnc.tech",
|
|
17536
17695
|
url: "https://dmnc.tech"
|
|
17537
17696
|
},
|
|
17538
|
-
|
|
17539
|
-
displayName: "
|
|
17540
|
-
url: "https://
|
|
17697
|
+
"eidotter-home": {
|
|
17698
|
+
displayName: "eidotter.com",
|
|
17699
|
+
url: "https://eidotter.com"
|
|
17541
17700
|
},
|
|
17542
|
-
"
|
|
17543
|
-
|
|
17544
|
-
}, sx = {
|
|
17701
|
+
"dmnc-online": { displayName: "dmnc.online" }
|
|
17702
|
+
}, xx = {
|
|
17545
17703
|
Alert: {
|
|
17546
17704
|
origin: "eidotter",
|
|
17547
|
-
consumers: ["rizomorf"
|
|
17705
|
+
consumers: ["rizomorf"],
|
|
17548
17706
|
since: "0.2.0",
|
|
17549
17707
|
variants: {
|
|
17550
17708
|
"color:brand": { description: "Brand-accent message" },
|
|
@@ -17562,20 +17720,18 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17562
17720
|
"type:success": {
|
|
17563
17721
|
description: "Success confirmation",
|
|
17564
17722
|
deprecated: "0.16.0",
|
|
17565
|
-
since: "0.2.0"
|
|
17566
|
-
usedBy: ["steuerdash"]
|
|
17723
|
+
since: "0.2.0"
|
|
17567
17724
|
},
|
|
17568
17725
|
"type:warning": {
|
|
17569
17726
|
description: "Warning notice",
|
|
17570
17727
|
deprecated: "0.16.0",
|
|
17571
17728
|
since: "0.2.0",
|
|
17572
|
-
usedBy: ["rizomorf"
|
|
17729
|
+
usedBy: ["rizomorf"]
|
|
17573
17730
|
},
|
|
17574
17731
|
"type:error": {
|
|
17575
17732
|
description: "Error message",
|
|
17576
17733
|
deprecated: "0.16.0",
|
|
17577
|
-
since: "0.2.0"
|
|
17578
|
-
usedBy: ["steuerdash"]
|
|
17734
|
+
since: "0.2.0"
|
|
17579
17735
|
},
|
|
17580
17736
|
"type:default": {
|
|
17581
17737
|
description: "Deprecated: neutral message (use color)",
|
|
@@ -17727,7 +17883,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17727
17883
|
},
|
|
17728
17884
|
Badge: {
|
|
17729
17885
|
origin: "eidotter",
|
|
17730
|
-
consumers: ["rizomorf"
|
|
17886
|
+
consumers: ["rizomorf"],
|
|
17731
17887
|
since: "0.3.0",
|
|
17732
17888
|
variants: {
|
|
17733
17889
|
"variant:default": {
|
|
@@ -17737,18 +17893,15 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17737
17893
|
},
|
|
17738
17894
|
"variant:success": {
|
|
17739
17895
|
description: "Green success indicator",
|
|
17740
|
-
since: "0.3.0"
|
|
17741
|
-
usedBy: ["steuerdash"]
|
|
17896
|
+
since: "0.3.0"
|
|
17742
17897
|
},
|
|
17743
17898
|
"variant:warning": {
|
|
17744
17899
|
description: "Amber warning indicator",
|
|
17745
|
-
since: "0.3.0"
|
|
17746
|
-
usedBy: ["steuerdash"]
|
|
17900
|
+
since: "0.3.0"
|
|
17747
17901
|
},
|
|
17748
17902
|
"variant:error": {
|
|
17749
17903
|
description: "Red error/critical indicator",
|
|
17750
|
-
since: "0.3.0"
|
|
17751
|
-
usedBy: ["steuerdash"]
|
|
17904
|
+
since: "0.3.0"
|
|
17752
17905
|
},
|
|
17753
17906
|
"variant:info": {
|
|
17754
17907
|
description: "Blue informational indicator",
|
|
@@ -17857,31 +18010,21 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17857
18010
|
},
|
|
17858
18011
|
Button: {
|
|
17859
18012
|
origin: "eidotter",
|
|
17860
|
-
consumers: [
|
|
17861
|
-
"spacewar",
|
|
17862
|
-
"rizomorf",
|
|
17863
|
-
"pomodoke-calendar",
|
|
17864
|
-
"steuerdash"
|
|
17865
|
-
],
|
|
18013
|
+
consumers: ["rizomorf"],
|
|
17866
18014
|
since: "0.2.0",
|
|
17867
18015
|
variants: {
|
|
17868
18016
|
"variant:primary": {
|
|
17869
18017
|
description: "Primary CTA with amber background",
|
|
17870
18018
|
since: "0.2.0",
|
|
17871
|
-
usedBy: [
|
|
17872
|
-
"spacewar",
|
|
17873
|
-
"rizomorf",
|
|
17874
|
-
"pomodoke-calendar",
|
|
17875
|
-
"steuerdash"
|
|
17876
|
-
]
|
|
18019
|
+
usedBy: ["rizomorf"]
|
|
17877
18020
|
},
|
|
17878
18021
|
"variant:secondary": {
|
|
17879
18022
|
description: "Secondary action with border only",
|
|
17880
18023
|
since: "0.2.0",
|
|
17881
|
-
usedBy: ["rizomorf"
|
|
18024
|
+
usedBy: ["rizomorf"]
|
|
17882
18025
|
},
|
|
17883
18026
|
"variant:tertiary": { description: "Lower-emphasis action between secondary and ghost" },
|
|
17884
|
-
"variant:destructive": { description: "Destructive action; honest red under colour themes, amber-
|
|
18027
|
+
"variant:destructive": { description: "Destructive action; honest red under dos-86 (the default, fill #D00000) and the colour themes, amber under Pure Amber (pure-amber, formerly amber-mono)" },
|
|
17885
18028
|
"variant:ghost": {
|
|
17886
18029
|
description: "Minimal button with hover reveal",
|
|
17887
18030
|
since: "0.2.0",
|
|
@@ -17925,7 +18068,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17925
18068
|
},
|
|
17926
18069
|
spritekit: {
|
|
17927
18070
|
status: "token-only",
|
|
17928
|
-
note: "
|
|
18071
|
+
note: "A native consumer uses tokens only, no UIKit/SwiftUI button"
|
|
17929
18072
|
}
|
|
17930
18073
|
},
|
|
17931
18074
|
changelog: [
|
|
@@ -17978,18 +18121,17 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17978
18121
|
},
|
|
17979
18122
|
Card: {
|
|
17980
18123
|
origin: "eidotter",
|
|
17981
|
-
consumers: ["rizomorf"
|
|
18124
|
+
consumers: ["rizomorf"],
|
|
17982
18125
|
since: "0.3.0",
|
|
17983
18126
|
variants: {
|
|
17984
18127
|
"variant:default": {
|
|
17985
18128
|
description: "Standard card with subtle border",
|
|
17986
18129
|
since: "0.3.0",
|
|
17987
|
-
usedBy: ["rizomorf"
|
|
18130
|
+
usedBy: ["rizomorf"]
|
|
17988
18131
|
},
|
|
17989
18132
|
"variant:elevated": {
|
|
17990
18133
|
description: "Raised card with drop shadow",
|
|
17991
|
-
since: "0.3.0"
|
|
17992
|
-
usedBy: ["steuerdash"]
|
|
18134
|
+
since: "0.3.0"
|
|
17993
18135
|
},
|
|
17994
18136
|
"variant:bordered": {
|
|
17995
18137
|
description: "Strong border emphasis",
|
|
@@ -18066,7 +18208,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18066
18208
|
},
|
|
18067
18209
|
Checkbox: {
|
|
18068
18210
|
origin: "eidotter",
|
|
18069
|
-
consumers: [
|
|
18211
|
+
consumers: [],
|
|
18070
18212
|
since: "0.3.0",
|
|
18071
18213
|
variants: {
|
|
18072
18214
|
"size:sm": {
|
|
@@ -18075,8 +18217,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18075
18217
|
},
|
|
18076
18218
|
"size:md": {
|
|
18077
18219
|
description: "Standard 20px checkbox",
|
|
18078
|
-
since: "0.3.0"
|
|
18079
|
-
usedBy: ["steuerdash"]
|
|
18220
|
+
since: "0.3.0"
|
|
18080
18221
|
}
|
|
18081
18222
|
},
|
|
18082
18223
|
platforms: {
|
|
@@ -18255,18 +18396,16 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18255
18396
|
},
|
|
18256
18397
|
Input: {
|
|
18257
18398
|
origin: "eidotter",
|
|
18258
|
-
consumers: [
|
|
18399
|
+
consumers: [],
|
|
18259
18400
|
since: "0.3.0",
|
|
18260
18401
|
variants: {
|
|
18261
18402
|
"variant:default": {
|
|
18262
18403
|
description: "Standard text input with amber focus border",
|
|
18263
|
-
since: "0.3.0"
|
|
18264
|
-
usedBy: ["steuerdash"]
|
|
18404
|
+
since: "0.3.0"
|
|
18265
18405
|
},
|
|
18266
18406
|
"variant:error": {
|
|
18267
18407
|
description: "Error state — red border, errorMessage slot",
|
|
18268
|
-
since: "0.3.0"
|
|
18269
|
-
usedBy: ["steuerdash"]
|
|
18408
|
+
since: "0.3.0"
|
|
18270
18409
|
}
|
|
18271
18410
|
},
|
|
18272
18411
|
platforms: {
|
|
@@ -18334,7 +18473,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18334
18473
|
},
|
|
18335
18474
|
Modal: {
|
|
18336
18475
|
origin: "eidotter",
|
|
18337
|
-
consumers: [
|
|
18476
|
+
consumers: [],
|
|
18338
18477
|
since: "0.3.0",
|
|
18339
18478
|
originNote: "DOS-styled dialog built on React Aria ModalOverlay/Modal/Dialog — focus trap, Esc to close, backdrop",
|
|
18340
18479
|
platforms: {
|
|
@@ -18379,13 +18518,12 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18379
18518
|
},
|
|
18380
18519
|
Progress: {
|
|
18381
18520
|
origin: "eidotter",
|
|
18382
|
-
consumers: [
|
|
18521
|
+
consumers: [],
|
|
18383
18522
|
since: "0.3.0",
|
|
18384
18523
|
variants: {
|
|
18385
18524
|
"variant:default": {
|
|
18386
18525
|
description: "Amber progress bar",
|
|
18387
|
-
since: "0.3.0"
|
|
18388
|
-
usedBy: ["steuerdash"]
|
|
18526
|
+
since: "0.3.0"
|
|
18389
18527
|
},
|
|
18390
18528
|
"variant:success": {
|
|
18391
18529
|
description: "Green completion indicator",
|
|
@@ -18405,8 +18543,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18405
18543
|
},
|
|
18406
18544
|
"size:md": {
|
|
18407
18545
|
description: "Standard bar height",
|
|
18408
|
-
since: "0.3.0"
|
|
18409
|
-
usedBy: ["steuerdash"]
|
|
18546
|
+
since: "0.3.0"
|
|
18410
18547
|
},
|
|
18411
18548
|
"size:lg": {
|
|
18412
18549
|
description: "Tall bar for prominent display",
|
|
@@ -18414,8 +18551,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18414
18551
|
},
|
|
18415
18552
|
"trackStyle:block": {
|
|
18416
18553
|
description: "Solid block fill (default)",
|
|
18417
|
-
since: "0.3.0"
|
|
18418
|
-
usedBy: ["steuerdash"]
|
|
18554
|
+
since: "0.3.0"
|
|
18419
18555
|
},
|
|
18420
18556
|
"trackStyle:bordered": {
|
|
18421
18557
|
description: "Outline bar with fill inside",
|
|
@@ -18464,10 +18600,10 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18464
18600
|
]
|
|
18465
18601
|
},
|
|
18466
18602
|
RetroEffects: {
|
|
18467
|
-
origin: "
|
|
18468
|
-
consumers: ["
|
|
18603
|
+
origin: "eidotter",
|
|
18604
|
+
consumers: ["rizomorf"],
|
|
18469
18605
|
since: "0.3.0",
|
|
18470
|
-
originNote: "CRT scanline/glow effects
|
|
18606
|
+
originNote: "CRT scanline/glow effects — compositor-only, prefers-reduced-motion safe",
|
|
18471
18607
|
platforms: {
|
|
18472
18608
|
react: {
|
|
18473
18609
|
path: "src/components/RetroEffects",
|
|
@@ -18475,7 +18611,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18475
18611
|
},
|
|
18476
18612
|
spritekit: {
|
|
18477
18613
|
status: "planned",
|
|
18478
|
-
note: "
|
|
18614
|
+
note: "Native consumers use a CRT shader natively; component is React-web-only"
|
|
18479
18615
|
}
|
|
18480
18616
|
},
|
|
18481
18617
|
changelog: [
|
|
@@ -18507,15 +18643,14 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18507
18643
|
]
|
|
18508
18644
|
},
|
|
18509
18645
|
Select: {
|
|
18510
|
-
origin: "
|
|
18511
|
-
consumers: [
|
|
18646
|
+
origin: "eidotter",
|
|
18647
|
+
consumers: [],
|
|
18512
18648
|
since: "0.36.0",
|
|
18513
|
-
originNote: "DOS-styled dropdown. MVP was a native <select> ported from
|
|
18649
|
+
originNote: "DOS-styled dropdown. MVP was a native <select> ported from a private consumer; rebuilt on React Aria Select/ComboBox in DMNC-593 with default/searchable/multi modes",
|
|
18514
18650
|
variants: {
|
|
18515
18651
|
"mode:default": {
|
|
18516
18652
|
description: "Single-select — React Aria Select (button + popover + listbox)",
|
|
18517
|
-
since: "0.38.0"
|
|
18518
|
-
usedBy: ["steuerdash"]
|
|
18653
|
+
since: "0.38.0"
|
|
18519
18654
|
},
|
|
18520
18655
|
"searchable:true": {
|
|
18521
18656
|
description: "Type-to-filter ComboBox single-select",
|
|
@@ -18536,8 +18671,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18536
18671
|
},
|
|
18537
18672
|
"size:md": {
|
|
18538
18673
|
description: "Standard trigger (32px min-height)",
|
|
18539
|
-
since: "0.38.0"
|
|
18540
|
-
usedBy: ["steuerdash"]
|
|
18674
|
+
since: "0.38.0"
|
|
18541
18675
|
},
|
|
18542
18676
|
"size:lg": {
|
|
18543
18677
|
description: "Tall trigger (40px min-height)",
|
|
@@ -18582,7 +18716,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18582
18716
|
{
|
|
18583
18717
|
version: "0.36.0",
|
|
18584
18718
|
type: "added",
|
|
18585
|
-
description: "Initial Select — native <select> MVP ported from
|
|
18719
|
+
description: "Initial Select — native <select> MVP ported from a private consumer (DMNC-860)"
|
|
18586
18720
|
}
|
|
18587
18721
|
]
|
|
18588
18722
|
},
|
|
@@ -18603,8 +18737,8 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18603
18737
|
}]
|
|
18604
18738
|
},
|
|
18605
18739
|
Stat: {
|
|
18606
|
-
origin: "
|
|
18607
|
-
consumers: [
|
|
18740
|
+
origin: "eidotter",
|
|
18741
|
+
consumers: [],
|
|
18608
18742
|
since: "0.3.0",
|
|
18609
18743
|
originNote: "Key-value metric display created for tax dashboard — optional trend arrow and TextScramble animation",
|
|
18610
18744
|
variants: {
|
|
@@ -18614,23 +18748,19 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18614
18748
|
},
|
|
18615
18749
|
"size:md": {
|
|
18616
18750
|
description: "Standard metric display",
|
|
18617
|
-
since: "0.3.0"
|
|
18618
|
-
usedBy: ["steuerdash"]
|
|
18751
|
+
since: "0.3.0"
|
|
18619
18752
|
},
|
|
18620
18753
|
"size:lg": {
|
|
18621
18754
|
description: "Hero metric for prominent KPIs",
|
|
18622
|
-
since: "0.16.0"
|
|
18623
|
-
usedBy: ["steuerdash"]
|
|
18755
|
+
since: "0.16.0"
|
|
18624
18756
|
},
|
|
18625
18757
|
"trend:up": {
|
|
18626
18758
|
description: "Upward trend indicator (green arrow)",
|
|
18627
|
-
since: "0.3.0"
|
|
18628
|
-
usedBy: ["steuerdash"]
|
|
18759
|
+
since: "0.3.0"
|
|
18629
18760
|
},
|
|
18630
18761
|
"trend:down": {
|
|
18631
18762
|
description: "Downward trend indicator (red arrow)",
|
|
18632
|
-
since: "0.3.0"
|
|
18633
|
-
usedBy: ["steuerdash"]
|
|
18763
|
+
since: "0.3.0"
|
|
18634
18764
|
},
|
|
18635
18765
|
"trend:neutral": {
|
|
18636
18766
|
description: "No change indicator (muted dash)",
|
|
@@ -18748,14 +18878,14 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18748
18878
|
},
|
|
18749
18879
|
FilterBar: {
|
|
18750
18880
|
origin: "eidotter",
|
|
18751
|
-
consumers: ["
|
|
18881
|
+
consumers: ["rizomorf"],
|
|
18752
18882
|
since: "0.7.0",
|
|
18753
18883
|
originNote: "Multi-select toggle group for faceted filtering — keyboard nav, showAll, per-item color",
|
|
18754
18884
|
variants: {
|
|
18755
18885
|
"mode:multi": {
|
|
18756
18886
|
description: "Multiple filters selectable simultaneously",
|
|
18757
18887
|
since: "0.7.0",
|
|
18758
|
-
usedBy: ["
|
|
18888
|
+
usedBy: ["rizomorf"]
|
|
18759
18889
|
},
|
|
18760
18890
|
"mode:single": {
|
|
18761
18891
|
description: "Single active filter (radio behavior)",
|
|
@@ -18768,7 +18898,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18768
18898
|
"size:md": {
|
|
18769
18899
|
description: "Standard filter chips",
|
|
18770
18900
|
since: "0.7.0",
|
|
18771
|
-
usedBy: ["
|
|
18901
|
+
usedBy: ["rizomorf"]
|
|
18772
18902
|
},
|
|
18773
18903
|
"size:lg": {
|
|
18774
18904
|
description: "Large filter chips for touch targets",
|
|
@@ -18811,7 +18941,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18811
18941
|
},
|
|
18812
18942
|
Tag: {
|
|
18813
18943
|
origin: "eidotter",
|
|
18814
|
-
consumers: ["
|
|
18944
|
+
consumers: ["rizomorf"],
|
|
18815
18945
|
since: "0.7.0",
|
|
18816
18946
|
originNote: "Interactive labels for tags, categories, and filter chips",
|
|
18817
18947
|
variants: {
|
|
@@ -18822,13 +18952,12 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18822
18952
|
},
|
|
18823
18953
|
"variant:outlined": {
|
|
18824
18954
|
description: "Border-only tag",
|
|
18825
|
-
since: "0.7.0"
|
|
18826
|
-
usedBy: ["lifelines"]
|
|
18955
|
+
since: "0.7.0"
|
|
18827
18956
|
},
|
|
18828
18957
|
"variant:filled": {
|
|
18829
18958
|
description: "Solid background tag",
|
|
18830
18959
|
since: "0.7.0",
|
|
18831
|
-
usedBy: ["rizomorf"
|
|
18960
|
+
usedBy: ["rizomorf"]
|
|
18832
18961
|
},
|
|
18833
18962
|
"size:sm": { description: "Compact tag for dense layouts" },
|
|
18834
18963
|
"size:md": { description: "Standard tag size" },
|
|
@@ -18881,13 +19010,12 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18881
19010
|
},
|
|
18882
19011
|
Tabs: {
|
|
18883
19012
|
origin: "eidotter",
|
|
18884
|
-
consumers: [
|
|
19013
|
+
consumers: [],
|
|
18885
19014
|
since: "0.3.0",
|
|
18886
19015
|
variants: {
|
|
18887
19016
|
"variant:underline": {
|
|
18888
19017
|
description: "Underline indicator tab bar (default)",
|
|
18889
|
-
since: "0.3.0"
|
|
18890
|
-
usedBy: ["steuerdash"]
|
|
19018
|
+
since: "0.3.0"
|
|
18891
19019
|
},
|
|
18892
19020
|
"variant:pills": {
|
|
18893
19021
|
description: "Filled pill tabs",
|
|
@@ -18899,8 +19027,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18899
19027
|
},
|
|
18900
19028
|
"size:md": {
|
|
18901
19029
|
description: "Standard tab height",
|
|
18902
|
-
since: "0.3.0"
|
|
18903
|
-
usedBy: ["steuerdash"]
|
|
19030
|
+
since: "0.3.0"
|
|
18904
19031
|
},
|
|
18905
19032
|
"size:lg": {
|
|
18906
19033
|
description: "Large touch-friendly tabs",
|
|
@@ -19037,15 +19164,15 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19037
19164
|
]
|
|
19038
19165
|
},
|
|
19039
19166
|
TimelineNode: {
|
|
19040
|
-
origin: "
|
|
19041
|
-
consumers: ["
|
|
19167
|
+
origin: "eidotter",
|
|
19168
|
+
consumers: ["rizomorf"],
|
|
19042
19169
|
since: "0.4.0",
|
|
19043
|
-
originNote: "Timeline markers extracted from
|
|
19170
|
+
originNote: "Timeline markers extracted from a private consumer — sits on the axis line, content-box sizing",
|
|
19044
19171
|
variants: {
|
|
19045
19172
|
"shape:circle": {
|
|
19046
19173
|
description: "Circular node marker (default)",
|
|
19047
19174
|
since: "0.4.0",
|
|
19048
|
-
usedBy: ["
|
|
19175
|
+
usedBy: ["rizomorf"]
|
|
19049
19176
|
},
|
|
19050
19177
|
"shape:square": {
|
|
19051
19178
|
description: "Square node marker",
|
|
@@ -19058,12 +19185,11 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19058
19185
|
"variant:default": {
|
|
19059
19186
|
description: "Muted amber node",
|
|
19060
19187
|
since: "0.4.0",
|
|
19061
|
-
usedBy: ["
|
|
19188
|
+
usedBy: ["rizomorf"]
|
|
19062
19189
|
},
|
|
19063
19190
|
"variant:primary": {
|
|
19064
19191
|
description: "Full-brightness amber node with phosphor glow",
|
|
19065
|
-
since: "0.4.0"
|
|
19066
|
-
usedBy: ["lifelines"]
|
|
19192
|
+
since: "0.4.0"
|
|
19067
19193
|
},
|
|
19068
19194
|
"variant:secondary": {
|
|
19069
19195
|
description: "Dimmed node for secondary events",
|
|
@@ -19076,7 +19202,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19076
19202
|
"labelPosition:right": {
|
|
19077
19203
|
description: "Label to the right of the node (default)",
|
|
19078
19204
|
since: "0.4.0",
|
|
19079
|
-
usedBy: ["
|
|
19205
|
+
usedBy: ["rizomorf"]
|
|
19080
19206
|
},
|
|
19081
19207
|
"labelPosition:left": {
|
|
19082
19208
|
description: "Label to the left of the node",
|
|
@@ -19097,7 +19223,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19097
19223
|
"size:md": {
|
|
19098
19224
|
description: "Standard 12px node",
|
|
19099
19225
|
since: "0.4.0",
|
|
19100
|
-
usedBy: ["
|
|
19226
|
+
usedBy: ["rizomorf"]
|
|
19101
19227
|
},
|
|
19102
19228
|
"size:lg": {
|
|
19103
19229
|
description: "Large 16px node for emphasis",
|
|
@@ -19229,15 +19355,14 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19229
19355
|
]
|
|
19230
19356
|
},
|
|
19231
19357
|
TimelineContainer: {
|
|
19232
|
-
origin: "
|
|
19233
|
-
consumers: [
|
|
19358
|
+
origin: "eidotter",
|
|
19359
|
+
consumers: [],
|
|
19234
19360
|
since: "0.8.0",
|
|
19235
19361
|
originNote: "Multi-zoom timeline with year/month/day/hour views. Supports interactive, static, feed, and master-detail modes.",
|
|
19236
19362
|
variants: {
|
|
19237
19363
|
"mode:interactive": {
|
|
19238
19364
|
description: "Full drill-down with keyboard shortcuts and Ctrl+scroll zoom",
|
|
19239
|
-
since: "0.8.0"
|
|
19240
|
-
usedBy: ["lifelines"]
|
|
19365
|
+
since: "0.8.0"
|
|
19241
19366
|
},
|
|
19242
19367
|
"mode:static": {
|
|
19243
19368
|
description: "Read-only snapshot — no zoom or selection controls",
|
|
@@ -19245,8 +19370,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19245
19370
|
},
|
|
19246
19371
|
"mode:feed": {
|
|
19247
19372
|
description: "Paginated vertical list with LOAD MORE — append-safe",
|
|
19248
|
-
since: "0.21.0"
|
|
19249
|
-
usedBy: ["lifelines"]
|
|
19373
|
+
since: "0.21.0"
|
|
19250
19374
|
},
|
|
19251
19375
|
"mode:master-detail": {
|
|
19252
19376
|
description: "Split-pane with list rail + detail panel",
|
|
@@ -19258,8 +19382,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19258
19382
|
},
|
|
19259
19383
|
"sortOrder:desc": {
|
|
19260
19384
|
description: "Newest entries first (default)",
|
|
19261
|
-
since: "0.8.0"
|
|
19262
|
-
usedBy: ["lifelines"]
|
|
19385
|
+
since: "0.8.0"
|
|
19263
19386
|
}
|
|
19264
19387
|
},
|
|
19265
19388
|
platforms: { react: {
|
|
@@ -19290,7 +19413,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19290
19413
|
{
|
|
19291
19414
|
version: "0.8.0",
|
|
19292
19415
|
type: "added",
|
|
19293
|
-
description: "Initial TimelineContainer — year/month/day/hour drill-down, migrated from
|
|
19416
|
+
description: "Initial TimelineContainer — year/month/day/hour drill-down, migrated from a private consumer"
|
|
19294
19417
|
}
|
|
19295
19418
|
]
|
|
19296
19419
|
},
|
|
@@ -19658,7 +19781,7 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19658
19781
|
origin: "eidotter",
|
|
19659
19782
|
consumers: [],
|
|
19660
19783
|
since: "0.45.0",
|
|
19661
|
-
originNote: "One header control for display options (DMNC-1619): a trigger (pixel monitor glyph, label, chevron; icon only below 640px) opens a React Aria popover
|
|
19784
|
+
originNote: "One header control for display options (DMNC-1619): a trigger (pixel monitor glyph, label, chevron; icon only below 640px) opens a non-modal React Aria popover (a labelled group, DMNC-1629) with one row per option, each an eidotter Switch. Replaces switches side by side in Header end slots; consumers own the state. Rows come from displayMenuItems: DOS, LIGHT and, on a site that passes dosPure (DMNC-1643), PURE (DOS on and LIGHT off only; hidden, never disabled).",
|
|
19662
19785
|
variants: {
|
|
19663
19786
|
"labelDisplay:responsive": {
|
|
19664
19787
|
description: "Icon only below 640px, icon + label above (default)",
|
|
@@ -19678,6 +19801,11 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19678
19801
|
status: "canonical"
|
|
19679
19802
|
} },
|
|
19680
19803
|
changelog: [
|
|
19804
|
+
{
|
|
19805
|
+
version: "0.46.1",
|
|
19806
|
+
type: "changed",
|
|
19807
|
+
description: "Non-modal panel (DMNC-1629): no scroll lock, scrim or aria-hiding of the page; Escape, outside press, the trigger, Tab out and page scroll close it, focus returns to the trigger; the panel is a labelled role=group, not a dialog"
|
|
19808
|
+
},
|
|
19681
19809
|
{
|
|
19682
19810
|
version: "0.46.0",
|
|
19683
19811
|
type: "changed",
|
|
@@ -19812,10 +19940,10 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19812
19940
|
]
|
|
19813
19941
|
},
|
|
19814
19942
|
ProgressRing: {
|
|
19815
|
-
origin: "
|
|
19816
|
-
consumers: [
|
|
19943
|
+
origin: "eidotter",
|
|
19944
|
+
consumers: [],
|
|
19817
19945
|
since: "0.37.0",
|
|
19818
|
-
originNote: "16-segment quantized progress ring (SVG). Powers
|
|
19946
|
+
originNote: "16-segment quantized progress ring (SVG). Powers the hold-to-complete feedback ring.",
|
|
19819
19947
|
platforms: { react: {
|
|
19820
19948
|
path: "src/components/ProgressRing",
|
|
19821
19949
|
status: "canonical"
|
|
@@ -19831,8 +19959,8 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19831
19959
|
}]
|
|
19832
19960
|
},
|
|
19833
19961
|
CalendarHeatmap: {
|
|
19834
|
-
origin: "
|
|
19835
|
-
consumers: [
|
|
19962
|
+
origin: "eidotter",
|
|
19963
|
+
consumers: [],
|
|
19836
19964
|
since: "0.37.0",
|
|
19837
19965
|
originNote: "Block-character month calendar heatmap (█ ░ · ▒). Domain-agnostic — takes a date→status map, not a domain object.",
|
|
19838
19966
|
variants: {
|
|
@@ -19851,8 +19979,8 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19851
19979
|
}]
|
|
19852
19980
|
},
|
|
19853
19981
|
HoldToComplete: {
|
|
19854
|
-
origin: "
|
|
19855
|
-
consumers: [
|
|
19982
|
+
origin: "eidotter",
|
|
19983
|
+
consumers: [],
|
|
19856
19984
|
since: "0.37.0",
|
|
19857
19985
|
originNote: "Press-and-hold-to-complete interaction with ProgressRing feedback. Pointer + keyboard, reduced-motion aware.",
|
|
19858
19986
|
platforms: { react: {
|
|
@@ -19996,9 +20124,9 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19996
20124
|
},
|
|
19997
20125
|
Gauge: {
|
|
19998
20126
|
origin: "eidotter",
|
|
19999
|
-
consumers: [
|
|
20127
|
+
consumers: [],
|
|
20000
20128
|
since: "0.40.0",
|
|
20001
|
-
originNote: "Ring gauge for one metabolic value. Carries the SCUM metabolism-screen dial pattern (value, target, provenance) as used in diabetes apps.
|
|
20129
|
+
originNote: "Ring gauge for one metabolic value. Carries the SCUM metabolism-screen dial pattern (value, target, provenance) as used in diabetes apps. Figma: Web DS / Health.",
|
|
20002
20130
|
variants: {
|
|
20003
20131
|
"size:sm": {
|
|
20004
20132
|
description: "Compact gauge",
|
|
@@ -20072,9 +20200,9 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20072
20200
|
},
|
|
20073
20201
|
Meter: {
|
|
20074
20202
|
origin: "eidotter",
|
|
20075
|
-
consumers: [
|
|
20203
|
+
consumers: [],
|
|
20076
20204
|
since: "0.40.0",
|
|
20077
|
-
originNote: "Single labelled meter bar with tick and tone/pattern pairing. Carries the SCUM stat-bar pattern (food, water, energy) for diabetes values such as carbs on board.
|
|
20205
|
+
originNote: "Single labelled meter bar with tick and tone/pattern pairing. Carries the SCUM stat-bar pattern (food, water, energy) for diabetes values such as carbs on board. Figma: Web DS / Health.",
|
|
20078
20206
|
variants: {
|
|
20079
20207
|
"orientation:vertical": {
|
|
20080
20208
|
description: "Vertical bar with label beneath",
|
|
@@ -20152,9 +20280,9 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20152
20280
|
},
|
|
20153
20281
|
MeterGroup: {
|
|
20154
20282
|
origin: "eidotter",
|
|
20155
|
-
consumers: [
|
|
20283
|
+
consumers: [],
|
|
20156
20284
|
since: "0.40.0",
|
|
20157
|
-
originNote: "Layout wrapper for several Meters. Carries the SCUM metabolism-screen stat cluster pattern.
|
|
20285
|
+
originNote: "Layout wrapper for several Meters. Carries the SCUM metabolism-screen stat cluster pattern. Figma: Web DS / Health.",
|
|
20158
20286
|
variants: {
|
|
20159
20287
|
"layout:row": {
|
|
20160
20288
|
description: "Meters in a single row",
|
|
@@ -20184,9 +20312,9 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20184
20312
|
},
|
|
20185
20313
|
RangeBar: {
|
|
20186
20314
|
origin: "eidotter",
|
|
20187
|
-
consumers: [
|
|
20315
|
+
consumers: [],
|
|
20188
20316
|
since: "0.40.0",
|
|
20189
|
-
originNote: "Banded range bar showing where a value sits against target segments, as in diabetes time-in-range displays. Carries the SCUM condition-bar pattern.
|
|
20317
|
+
originNote: "Banded range bar showing where a value sits against target segments, as in diabetes time-in-range displays. Carries the SCUM condition-bar pattern. Figma: Web DS / Health.",
|
|
20190
20318
|
variants: {
|
|
20191
20319
|
"orientation:vertical": {
|
|
20192
20320
|
description: "Vertical track",
|
|
@@ -20276,9 +20404,9 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20276
20404
|
},
|
|
20277
20405
|
SeriesBars: {
|
|
20278
20406
|
origin: "eidotter",
|
|
20279
|
-
consumers: [
|
|
20407
|
+
consumers: [],
|
|
20280
20408
|
since: "0.40.0",
|
|
20281
|
-
originNote: "Bar series for per-period values such as daily carbs or time-in-range, as in diabetes reports. Carries the SCUM history-chart pattern.
|
|
20409
|
+
originNote: "Bar series for per-period values such as daily carbs or time-in-range, as in diabetes reports. Carries the SCUM history-chart pattern. Figma: Web DS / Health.",
|
|
20282
20410
|
variants: {
|
|
20283
20411
|
"size:sm": {
|
|
20284
20412
|
description: "Short plot",
|
|
@@ -20345,9 +20473,9 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20345
20473
|
},
|
|
20346
20474
|
DecayStrip: {
|
|
20347
20475
|
origin: "eidotter",
|
|
20348
|
-
consumers: [
|
|
20476
|
+
consumers: [],
|
|
20349
20477
|
since: "0.40.0",
|
|
20350
|
-
originNote: "Stepped block strip of consumer-supplied remaining-amount samples with a now marker (active-on-board curve in diabetes apps). Carries the SCUM timed-effect pattern; no absorption math.
|
|
20478
|
+
originNote: "Stepped block strip of consumer-supplied remaining-amount samples with a now marker (active-on-board curve in diabetes apps). Carries the SCUM timed-effect pattern; no absorption math. Figma: Web DS / Health.",
|
|
20351
20479
|
variants: {
|
|
20352
20480
|
"size:sm": {
|
|
20353
20481
|
description: "Compact strip",
|
|
@@ -20401,9 +20529,9 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20401
20529
|
},
|
|
20402
20530
|
VitalsStrip: {
|
|
20403
20531
|
origin: "eidotter",
|
|
20404
|
-
consumers: [
|
|
20532
|
+
consumers: [],
|
|
20405
20533
|
since: "0.40.0",
|
|
20406
|
-
originNote: "Server-safe row of vitals tiles with value, unit, secondary text and bands, and status. Carries the SCUM vitals header pattern for diabetes summaries.
|
|
20534
|
+
originNote: "Server-safe row of vitals tiles with value, unit, secondary text and bands, and status. Carries the SCUM vitals header pattern for diabetes summaries. Figma: Web DS / Health.",
|
|
20407
20535
|
variants: {
|
|
20408
20536
|
"size:sm": {
|
|
20409
20537
|
description: "Compact tiles",
|
|
@@ -20476,26 +20604,26 @@ var Gb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20476
20604
|
}]
|
|
20477
20605
|
}
|
|
20478
20606
|
};
|
|
20479
|
-
function
|
|
20480
|
-
return
|
|
20607
|
+
function Sx(e) {
|
|
20608
|
+
return xx[e];
|
|
20481
20609
|
}
|
|
20482
|
-
function
|
|
20483
|
-
return Object.entries(
|
|
20610
|
+
function Cx(e) {
|
|
20611
|
+
return Object.entries(xx).filter(([, t]) => t.origin === e).map(([e]) => e);
|
|
20484
20612
|
}
|
|
20485
|
-
function
|
|
20486
|
-
return Object.entries(
|
|
20613
|
+
function wx(e) {
|
|
20614
|
+
return Object.entries(xx).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
|
|
20487
20615
|
}
|
|
20488
|
-
function
|
|
20489
|
-
let n =
|
|
20616
|
+
function Tx(e, t) {
|
|
20617
|
+
let n = xx[e];
|
|
20490
20618
|
return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
|
|
20491
20619
|
}
|
|
20492
|
-
function
|
|
20493
|
-
let t =
|
|
20620
|
+
function Ex(e) {
|
|
20621
|
+
let t = xx[e];
|
|
20494
20622
|
if (!t?.variants) return {};
|
|
20495
20623
|
let n = {};
|
|
20496
20624
|
for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
|
|
20497
20625
|
return n;
|
|
20498
20626
|
}
|
|
20499
20627
|
// src/index.ts
|
|
20500
|
-
var
|
|
20501
|
-
export {
|
|
20628
|
+
var Dx = "0.47.0";
|
|
20629
|
+
export { ix as AIText, uh as AccordionFill, cx as AddressBlock, ch as Alert, h_ as Badge, ny as Bench, Tb as BrandLockup, x_ as Breadcrumb, ph as Button, n_ as CalendarHeatmap, gh as Card, pb as ChatContainer, db as ChatHistory, fb as ChatInput, ub as ChatMessage, _h as Checkbox, Vy as ChecklistRow, rx as CmdPalette, vh as CommandPrompt, qb as Connector, Hy as CopyButton, mx as DatenschutzController, vx as DatenschutzEncryption, _x as DatenschutzFonts, hx as DatenschutzHosting, gx as DatenschutzPostHog, yx as DatenschutzRights, qg as DecayStrip, ob as DesktopNav, uy as DisplayMenu, Sv as DosDialog, $b as DosFigure, mh as DosWindow, fg as EmptyState, My as FilterBar, hb as Footer, tg as Gauge, Pb as Header, sy as HeaderButton, o_ as HoldToComplete, eh as Icon, th as IconButton, lx as ImpressumAddress, ux as ImpressumContact, fx as ImpressumLiabilityContent, px as ImpressumLiabilityLinks, dx as ImpressumResponsible, Fy as InlineExpand, Qb as InlineLink, c_ as Input, rb as LabeledProgress, nb as LedgerRow, ax as LegalPage, Cv as Lightbox, Cb as Logo, Ab as Mark, ug as Meter, mg as MeterGroup, sb as MobileNav, by as Modal, cb as Nav, Yb as Notification, ay as PageSection, iy as PageShell, Eh as Progress, Oh as ProgressRing, Tg as RangeBar, F_ as RetroEffects, lh as Section, zy as SectionHeading, tb as Select, Ly as Separator, jg as SeriesBars, Fh as Skeleton, Ay as Stat, g_ as Switch, f_ as Tabs, Iv as Tag, Rv as TagGroup, l_ as Terminal, ib as TextScramble, Uv as TimelineContainer, qv as TimelineFeed, B_ as TimelineNode, $v as TimelinePage, Ig as VitalsStrip, wb as Wordmark, V_ as ZOOM_LEVELS, xx as componentRegistry, mb as defaultLegalLinks, vy as displayMenuItems, Sx as getComponentMeta, wx as getComponentsByConsumer, Cx as getComponentsByOrigin, Ex as getVariantConsumerMap, Tx as getVariantsUsedBy, y_ as isSafeHref, Ny as isSafeUrl, bx as projects, _y as resolveDisplayTheme, yy as syncThemeColor, Ty as useTextScramble, Dx as version };
|