eidotter 0.46.1 → 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/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 +100 -98
- package/dist/eidotter.css +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.es.js +689 -599
- package/dist/index.umd.js +1 -1
- 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 +9 -3
- package/src/styles/dos-utilities.css +13 -3
- package/src/styles/shadcn.css +37 -2
- package/src/styles/theme.amber-paper.css +5 -1
- package/src/styles/theme.dos-86.css +79 -0
- package/src/styles/{theme.amber-mono.css → theme.pure-amber.css} +1 -1
- package/src/styles/tokens.css +44 -2
- 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,9 +15478,9 @@ 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
|
|
15483
|
+
var cy = ({ popoverRef: e, triggerRef: t }) => {
|
|
15364
15484
|
let n = c(pd);
|
|
15365
15485
|
return tl({
|
|
15366
15486
|
ref: e,
|
|
@@ -15380,7 +15500,7 @@ var $v = ({ popoverRef: e, triggerRef: t }) => {
|
|
|
15380
15500
|
};
|
|
15381
15501
|
return r.addEventListener("keydown", i, !0), () => r.removeEventListener("keydown", i, !0);
|
|
15382
15502
|
}, [e, n]), null;
|
|
15383
|
-
},
|
|
15503
|
+
}, ly = ({ label: e, children: t }) => {
|
|
15384
15504
|
let n = de(fd);
|
|
15385
15505
|
return /* @__PURE__ */ S("div", {
|
|
15386
15506
|
id: n?.id,
|
|
@@ -15389,14 +15509,14 @@ var $v = ({ popoverRef: e, triggerRef: t }) => {
|
|
|
15389
15509
|
className: "eidotter-display-menu__panel",
|
|
15390
15510
|
children: t
|
|
15391
15511
|
});
|
|
15392
|
-
},
|
|
15512
|
+
}, uy = a(({ items: e, label: t = "Display", labelDisplay: n = "responsive", placement: r = "bottom end", defaultOpen: i, className: a }, o) => {
|
|
15393
15513
|
let s = u(), c = se(o), l = m(null), d = e.findIndex((e) => !e.disabled);
|
|
15394
15514
|
return /* @__PURE__ */ C(md, {
|
|
15395
15515
|
defaultOpen: i,
|
|
15396
|
-
children: [/* @__PURE__ */ S(
|
|
15516
|
+
children: [/* @__PURE__ */ S(sy, {
|
|
15397
15517
|
ref: c,
|
|
15398
15518
|
"aria-label": t,
|
|
15399
|
-
icon: /* @__PURE__ */ S(
|
|
15519
|
+
icon: /* @__PURE__ */ S(oy, {
|
|
15400
15520
|
className: "eidotter-display-menu__icon",
|
|
15401
15521
|
focusable: "false"
|
|
15402
15522
|
}),
|
|
@@ -15410,10 +15530,10 @@ var $v = ({ popoverRef: e, triggerRef: t }) => {
|
|
|
15410
15530
|
placement: r,
|
|
15411
15531
|
offset: 6,
|
|
15412
15532
|
className: "eidotter-display-menu__popover",
|
|
15413
|
-
children: [/* @__PURE__ */ S(
|
|
15533
|
+
children: [/* @__PURE__ */ S(cy, {
|
|
15414
15534
|
popoverRef: l,
|
|
15415
15535
|
triggerRef: c
|
|
15416
|
-
}), /* @__PURE__ */ S(
|
|
15536
|
+
}), /* @__PURE__ */ S(ly, {
|
|
15417
15537
|
label: t,
|
|
15418
15538
|
children: /* @__PURE__ */ S("ul", {
|
|
15419
15539
|
className: "eidotter-display-menu__list",
|
|
@@ -15441,30 +15561,30 @@ var $v = ({ popoverRef: e, triggerRef: t }) => {
|
|
|
15441
15561
|
})]
|
|
15442
15562
|
});
|
|
15443
15563
|
});
|
|
15444
|
-
|
|
15564
|
+
uy.displayName = "DisplayMenu";
|
|
15445
15565
|
// src/utils/displayTheme.ts
|
|
15446
|
-
var
|
|
15447
|
-
dosDark: "amber-mono",
|
|
15448
|
-
dosLight: "amber-paper"
|
|
15449
|
-
}, ry = {
|
|
15566
|
+
var dy = { dosDark: "dos-86" }, fy = (e) => e === "dos-86" ? "dos-86-light" : "amber-paper", py = {
|
|
15450
15567
|
dos: "DOS",
|
|
15451
|
-
light: "Light"
|
|
15452
|
-
|
|
15453
|
-
|
|
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;
|
|
15454
15573
|
return {
|
|
15455
|
-
dosDark:
|
|
15456
|
-
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,
|
|
15457
15577
|
modernLight: e.modernLight ?? null,
|
|
15458
15578
|
modernDark: e.modernDark ?? null
|
|
15459
15579
|
};
|
|
15460
15580
|
}
|
|
15461
|
-
function
|
|
15462
|
-
let n =
|
|
15463
|
-
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;
|
|
15464
15584
|
}
|
|
15465
|
-
function
|
|
15466
|
-
let i =
|
|
15467
|
-
...
|
|
15585
|
+
function vy(e, t, n = {}, r = {}) {
|
|
15586
|
+
let i = gy(n), a = {
|
|
15587
|
+
...py,
|
|
15468
15588
|
...r
|
|
15469
15589
|
}, o = !!(i.modernLight || i.modernDark), s = [];
|
|
15470
15590
|
o && s.push({
|
|
@@ -15480,19 +15600,32 @@ function oy(e, t, n = {}, r = {}) {
|
|
|
15480
15600
|
...e,
|
|
15481
15601
|
light: n
|
|
15482
15602
|
});
|
|
15483
|
-
|
|
15484
|
-
|
|
15485
|
-
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
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({
|
|
15489
15621
|
id: "light",
|
|
15490
15622
|
label: a.light,
|
|
15491
15623
|
checked: e.light,
|
|
15492
15624
|
onChange: l
|
|
15493
|
-
})
|
|
15625
|
+
});
|
|
15626
|
+
return s;
|
|
15494
15627
|
}
|
|
15495
|
-
function
|
|
15628
|
+
function yy(e) {
|
|
15496
15629
|
if (typeof document > "u") return;
|
|
15497
15630
|
let t = e ?? document.documentElement, n = getComputedStyle(t).getPropertyValue("--color-semantic-background-primary").trim();
|
|
15498
15631
|
if (!n) return;
|
|
@@ -15500,7 +15633,7 @@ function sy(e) {
|
|
|
15500
15633
|
r || (r = document.createElement("meta"), r.name = "theme-color", document.head.appendChild(r)), r.content = n;
|
|
15501
15634
|
}
|
|
15502
15635
|
// src/components/Modal/components/Modal.tsx
|
|
15503
|
-
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) => {
|
|
15504
15637
|
let d = m(e), f = m(!1);
|
|
15505
15638
|
l(() => {
|
|
15506
15639
|
e !== d.current && (d.current = e, f.current || (t?.(e), e || n?.()), f.current = !1);
|
|
@@ -15512,7 +15645,7 @@ var cy = a(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, foo
|
|
|
15512
15645
|
let p = (e) => {
|
|
15513
15646
|
f.current = !0, t?.(e), e || n?.();
|
|
15514
15647
|
};
|
|
15515
|
-
return /* @__PURE__ */ S(
|
|
15648
|
+
return /* @__PURE__ */ S(Sv, {
|
|
15516
15649
|
ref: u,
|
|
15517
15650
|
open: e,
|
|
15518
15651
|
onOpenChange: p,
|
|
@@ -15539,34 +15672,34 @@ var cy = a(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, foo
|
|
|
15539
15672
|
})
|
|
15540
15673
|
});
|
|
15541
15674
|
});
|
|
15542
|
-
|
|
15675
|
+
by.displayName = "Modal";
|
|
15543
15676
|
// src/hooks/useTextScramble.ts
|
|
15544
|
-
var
|
|
15545
|
-
function
|
|
15677
|
+
var xy = "░▒▓█│┤┐└┴┬├─┼", Sy = 4, Cy = typeof window < "u" ? d : l;
|
|
15678
|
+
function wy(e, t, n) {
|
|
15546
15679
|
let r = "";
|
|
15547
15680
|
for (let i = 0; i < e.length; i++) i < n || e[i] === " " ? r += e[i] : r += t[Math.floor(Math.random() * t.length)];
|
|
15548
15681
|
return r;
|
|
15549
15682
|
}
|
|
15550
|
-
function
|
|
15551
|
-
let { speed: n = 40, characters: r =
|
|
15552
|
-
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(() => {
|
|
15553
15686
|
if (!i || nh()) {
|
|
15554
15687
|
s(e), l(!1);
|
|
15555
15688
|
return;
|
|
15556
15689
|
}
|
|
15557
15690
|
let t = 0, o = 0, c = 0, d = a;
|
|
15558
|
-
s(
|
|
15691
|
+
s(wy(e, r, 0)), l(!0);
|
|
15559
15692
|
let f = (i) => {
|
|
15560
15693
|
c ||= i;
|
|
15561
15694
|
let a = i - c;
|
|
15562
15695
|
if (d > 0) d -= a, c = i, u.current = requestAnimationFrame(f);
|
|
15563
15696
|
else {
|
|
15564
15697
|
if (a >= n) {
|
|
15565
|
-
if (c = i, o++, o >=
|
|
15698
|
+
if (c = i, o++, o >= Sy && (t++, o = 0), t >= e.length) {
|
|
15566
15699
|
s(e), l(!1);
|
|
15567
15700
|
return;
|
|
15568
15701
|
}
|
|
15569
|
-
s(
|
|
15702
|
+
s(wy(e, r, t));
|
|
15570
15703
|
}
|
|
15571
15704
|
u.current = requestAnimationFrame(f);
|
|
15572
15705
|
}
|
|
@@ -15586,7 +15719,7 @@ function py(e, t) {
|
|
|
15586
15719
|
};
|
|
15587
15720
|
}
|
|
15588
15721
|
// src/components/Stat/components/Stat.tsx
|
|
15589
|
-
var
|
|
15722
|
+
var Ey = {
|
|
15590
15723
|
sm: {
|
|
15591
15724
|
root: "gap-0.5",
|
|
15592
15725
|
label: "text-dos-text-base",
|
|
@@ -15623,23 +15756,23 @@ var my = {
|
|
|
15623
15756
|
value: "text-dos-display-md",
|
|
15624
15757
|
trend: "text-dos-text-base"
|
|
15625
15758
|
}
|
|
15626
|
-
},
|
|
15759
|
+
}, Dy = {
|
|
15627
15760
|
up: "text-dos-text-success",
|
|
15628
15761
|
down: "text-dos-text-error",
|
|
15629
15762
|
neutral: "text-dos-text-brand"
|
|
15630
|
-
},
|
|
15763
|
+
}, Oy = {
|
|
15631
15764
|
up: "▲",
|
|
15632
15765
|
down: "▼",
|
|
15633
15766
|
neutral: "►"
|
|
15634
|
-
},
|
|
15767
|
+
}, ky = {
|
|
15635
15768
|
up: "increasing",
|
|
15636
15769
|
down: "decreasing",
|
|
15637
15770
|
neutral: "unchanged"
|
|
15638
|
-
},
|
|
15639
|
-
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), {
|
|
15640
15773
|
speed: 30,
|
|
15641
15774
|
enabled: a
|
|
15642
|
-
}), p = a ? f : String(t), m =
|
|
15775
|
+
}), p = a ? f : String(t), m = Ey[i] || Ey.md;
|
|
15643
15776
|
return /* @__PURE__ */ C("div", {
|
|
15644
15777
|
ref: d,
|
|
15645
15778
|
className: $("flex flex-col font-dos", "eidotter-stat", m.root, l),
|
|
@@ -15650,7 +15783,7 @@ var my = {
|
|
|
15650
15783
|
children: e
|
|
15651
15784
|
}),
|
|
15652
15785
|
/* @__PURE__ */ C("span", {
|
|
15653
|
-
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),
|
|
15654
15787
|
children: [p, o && /* @__PURE__ */ C("span", {
|
|
15655
15788
|
className: "eidotter-stat__unit text-[0.5em] font-normal text-dos-text-brand",
|
|
15656
15789
|
children: [" ", o]
|
|
@@ -15665,12 +15798,12 @@ var my = {
|
|
|
15665
15798
|
children: c
|
|
15666
15799
|
}),
|
|
15667
15800
|
n && /* @__PURE__ */ C("span", {
|
|
15668
|
-
className: $("inline-flex items-center gap-1 leading-none",
|
|
15669
|
-
"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}` : ""}`,
|
|
15670
15803
|
children: [/* @__PURE__ */ S("span", {
|
|
15671
15804
|
className: "text-[0.8em]",
|
|
15672
15805
|
"aria-hidden": "true",
|
|
15673
|
-
children:
|
|
15806
|
+
children: Oy[n]
|
|
15674
15807
|
}), r && /* @__PURE__ */ S("span", {
|
|
15675
15808
|
className: "tabular-nums",
|
|
15676
15809
|
children: r
|
|
@@ -15679,16 +15812,16 @@ var my = {
|
|
|
15679
15812
|
]
|
|
15680
15813
|
});
|
|
15681
15814
|
});
|
|
15682
|
-
|
|
15815
|
+
Ay.displayName = "Stat";
|
|
15683
15816
|
// src/components/FilterBar/components/FilterBar.tsx
|
|
15684
|
-
var
|
|
15817
|
+
var jy = {
|
|
15685
15818
|
sm: "eidotter-filter-bar--sm",
|
|
15686
15819
|
md: "eidotter-filter-bar--md",
|
|
15687
15820
|
lg: "eidotter-filter-bar--lg",
|
|
15688
15821
|
small: "eidotter-filter-bar--sm",
|
|
15689
15822
|
medium: "eidotter-filter-bar--md",
|
|
15690
15823
|
large: "eidotter-filter-bar--lg"
|
|
15691
|
-
},
|
|
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 }) => {
|
|
15692
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) => {
|
|
15693
15826
|
g || f(e), c?.(e);
|
|
15694
15827
|
}, [g, c]), x = s((e) => {
|
|
@@ -15727,7 +15860,7 @@ var yy = {
|
|
|
15727
15860
|
}, [T]), D = i && y ? "__all__" : _.length > 0 ? _[0] : i ? "__all__" : v[0] || null;
|
|
15728
15861
|
return /* @__PURE__ */ C("div", {
|
|
15729
15862
|
ref: p,
|
|
15730
|
-
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),
|
|
15731
15864
|
role: "toolbar",
|
|
15732
15865
|
onKeyDown: E,
|
|
15733
15866
|
...u,
|
|
@@ -15760,7 +15893,7 @@ var yy = {
|
|
|
15760
15893
|
}, e.id);
|
|
15761
15894
|
})]
|
|
15762
15895
|
});
|
|
15763
|
-
},
|
|
15896
|
+
}, Ny = (e) => {
|
|
15764
15897
|
if (!e) return !1;
|
|
15765
15898
|
try {
|
|
15766
15899
|
let t = new URL(e);
|
|
@@ -15774,7 +15907,7 @@ var yy = {
|
|
|
15774
15907
|
}
|
|
15775
15908
|
};
|
|
15776
15909
|
// src/components/InlineExpand/components/InlineExpand.tsx
|
|
15777
|
-
function
|
|
15910
|
+
function Py(e) {
|
|
15778
15911
|
try {
|
|
15779
15912
|
let { hostname: t } = new URL(e);
|
|
15780
15913
|
return `https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=32`;
|
|
@@ -15782,7 +15915,7 @@ function Sy(e) {
|
|
|
15782
15915
|
return null;
|
|
15783
15916
|
}
|
|
15784
15917
|
}
|
|
15785
|
-
var
|
|
15918
|
+
var Fy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
|
|
15786
15919
|
let [c, l] = h(n), [d, f] = h({}), p = u(), g = m(null), _ = r !== void 0, v = _ ? r : c, y = () => {
|
|
15787
15920
|
let e = !v;
|
|
15788
15921
|
_ || l(e), i?.(e);
|
|
@@ -15828,7 +15961,7 @@ var Cy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15828
15961
|
className: "eidotter-inline-expand__source-item",
|
|
15829
15962
|
role: "listitem",
|
|
15830
15963
|
children: /* @__PURE__ */ S("a", {
|
|
15831
|
-
href:
|
|
15964
|
+
href: Ny(e.url) ? e.url : void 0,
|
|
15832
15965
|
className: "eidotter-inline-expand__source-link",
|
|
15833
15966
|
target: "_blank",
|
|
15834
15967
|
rel: "noopener noreferrer",
|
|
@@ -15841,7 +15974,7 @@ var Cy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15841
15974
|
"aria-hidden": "true",
|
|
15842
15975
|
children: "[→]"
|
|
15843
15976
|
});
|
|
15844
|
-
let n = !!e.favicon &&
|
|
15977
|
+
let n = !!e.favicon && Ny(e.favicon);
|
|
15845
15978
|
if (!t && n) return /* @__PURE__ */ S("img", {
|
|
15846
15979
|
className: "eidotter-inline-expand__source-favicon",
|
|
15847
15980
|
src: e.favicon,
|
|
@@ -15854,7 +15987,7 @@ var Cy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15854
15987
|
[e.url]: "google"
|
|
15855
15988
|
}))
|
|
15856
15989
|
});
|
|
15857
|
-
let r =
|
|
15990
|
+
let r = Py(e.url);
|
|
15858
15991
|
return r ? /* @__PURE__ */ S("img", {
|
|
15859
15992
|
className: "eidotter-inline-expand__source-favicon",
|
|
15860
15993
|
src: r,
|
|
@@ -15878,33 +16011,33 @@ var Cy = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
15878
16011
|
]
|
|
15879
16012
|
})] })]
|
|
15880
16013
|
});
|
|
15881
|
-
},
|
|
16014
|
+
}, Iy = {
|
|
15882
16015
|
horizontal: "h-px w-full",
|
|
15883
16016
|
vertical: "w-px h-full"
|
|
15884
|
-
},
|
|
16017
|
+
}, Ly = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ S("div", {
|
|
15885
16018
|
role: "separator",
|
|
15886
16019
|
"aria-orientation": e,
|
|
15887
|
-
className: $("shrink-0 bg-dos-border-default", "eidotter-separator",
|
|
15888
|
-
}),
|
|
16020
|
+
className: $("shrink-0 bg-dos-border-default", "eidotter-separator", Iy[e], t)
|
|
16021
|
+
}), Ry = {
|
|
15889
16022
|
default: "text-dos-text-primary",
|
|
15890
16023
|
error: "text-dos-error",
|
|
15891
16024
|
warning: "text-dos-warning",
|
|
15892
16025
|
info: "text-dos-info"
|
|
15893
|
-
},
|
|
15894
|
-
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),
|
|
15895
16028
|
children: [
|
|
15896
16029
|
e,
|
|
15897
16030
|
t !== void 0 && ` (${t})`,
|
|
15898
16031
|
r
|
|
15899
16032
|
]
|
|
15900
16033
|
});
|
|
15901
|
-
|
|
16034
|
+
zy.displayName = "SectionHeading";
|
|
15902
16035
|
// src/components/ChecklistRow/components/ChecklistRow.tsx
|
|
15903
|
-
var
|
|
16036
|
+
var By = {
|
|
15904
16037
|
default: "text-dos-text-primary",
|
|
15905
16038
|
muted: "text-dos-text-muted line-through",
|
|
15906
16039
|
error: "text-dos-error"
|
|
15907
|
-
},
|
|
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", {
|
|
15908
16041
|
className: $("eidotter-checklist-row", "flex items-start gap-3 py-2 border-b border-dos-border-disabled", r && "opacity-50", d),
|
|
15909
16042
|
children: [
|
|
15910
16043
|
/* @__PURE__ */ S("button", {
|
|
@@ -15925,7 +16058,7 @@ var Oy = {
|
|
|
15925
16058
|
children: l
|
|
15926
16059
|
}),
|
|
15927
16060
|
o !== void 0 && /* @__PURE__ */ S("div", {
|
|
15928
|
-
className: $("font-dos text-dos-text-base",
|
|
16061
|
+
className: $("font-dos text-dos-text-base", By[a]),
|
|
15929
16062
|
children: o
|
|
15930
16063
|
}),
|
|
15931
16064
|
s,
|
|
@@ -15941,9 +16074,9 @@ var Oy = {
|
|
|
15941
16074
|
})
|
|
15942
16075
|
]
|
|
15943
16076
|
});
|
|
15944
|
-
|
|
16077
|
+
Vy.displayName = "ChecklistRow";
|
|
15945
16078
|
// src/components/CopyButton/components/CopyButton.tsx
|
|
15946
|
-
var
|
|
16079
|
+
var Hy = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Copy to clipboard", copiedTitle: i = "Copied!", className: a }) => {
|
|
15947
16080
|
let [o, c] = h(!1), l = m(null), u = s(() => {
|
|
15948
16081
|
c(!0), l.current && clearTimeout(l.current), l.current = setTimeout(() => c(!1), 1500);
|
|
15949
16082
|
}, []), d = s(() => {
|
|
@@ -15973,21 +16106,21 @@ var Ay = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Co
|
|
|
15973
16106
|
children: o ? n : t
|
|
15974
16107
|
});
|
|
15975
16108
|
};
|
|
15976
|
-
|
|
16109
|
+
Hy.displayName = "CopyButton";
|
|
15977
16110
|
// src/components/Select/components/Select.tsx
|
|
15978
|
-
var
|
|
16111
|
+
var Uy = {
|
|
15979
16112
|
sm: "text-dos-text-base px-2.5 py-1 min-h-7 gap-2",
|
|
15980
16113
|
md: "text-dos-text-base px-3 py-2 min-h-8 gap-2",
|
|
15981
16114
|
lg: "text-dos-text-base px-4 py-2.5 min-h-10 gap-2"
|
|
15982
|
-
},
|
|
16115
|
+
}, Wy = (e = "md") => ({
|
|
15983
16116
|
small: "sm",
|
|
15984
16117
|
medium: "md",
|
|
15985
16118
|
large: "lg"
|
|
15986
|
-
})[e] ?? e,
|
|
15987
|
-
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);
|
|
15988
16121
|
return /* @__PURE__ */ C(If, {
|
|
15989
16122
|
"aria-label": t ? void 0 : h,
|
|
15990
|
-
selectedKey: _ ?
|
|
16123
|
+
selectedKey: _ ? Zy(s) : void 0,
|
|
15991
16124
|
defaultSelectedKey: _ ? void 0 : c,
|
|
15992
16125
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
15993
16126
|
isDisabled: u,
|
|
@@ -15998,12 +16131,12 @@ var jy = {
|
|
|
15998
16131
|
className: $("eidotter-select flex flex-col gap-1", m),
|
|
15999
16132
|
children: [
|
|
16000
16133
|
t && /* @__PURE__ */ S(Pi, {
|
|
16001
|
-
className:
|
|
16134
|
+
className: Gy,
|
|
16002
16135
|
children: t
|
|
16003
16136
|
}),
|
|
16004
16137
|
/* @__PURE__ */ C(Wi, {
|
|
16005
16138
|
id: p,
|
|
16006
|
-
className: $(
|
|
16139
|
+
className: $(Jy, Uy[v]),
|
|
16007
16140
|
children: [/* @__PURE__ */ S(Bf, { className: "eidotter-select__value flex-1 text-left truncate" }), /* @__PURE__ */ S("span", {
|
|
16008
16141
|
"aria-hidden": "true",
|
|
16009
16142
|
className: "eidotter-select__arrow",
|
|
@@ -16012,12 +16145,12 @@ var jy = {
|
|
|
16012
16145
|
}),
|
|
16013
16146
|
r && !g && /* @__PURE__ */ S(Yi, {
|
|
16014
16147
|
slot: "description",
|
|
16015
|
-
className:
|
|
16148
|
+
className: Ky,
|
|
16016
16149
|
children: r
|
|
16017
16150
|
}),
|
|
16018
16151
|
i && g && /* @__PURE__ */ S(Yi, {
|
|
16019
16152
|
slot: "errorMessage",
|
|
16020
|
-
className:
|
|
16153
|
+
className: qy,
|
|
16021
16154
|
children: i
|
|
16022
16155
|
}),
|
|
16023
16156
|
/* @__PURE__ */ S(xu, {
|
|
@@ -16029,19 +16162,19 @@ var jy = {
|
|
|
16029
16162
|
id: e.value,
|
|
16030
16163
|
textValue: e.label,
|
|
16031
16164
|
isDisabled: e.disabled,
|
|
16032
|
-
className:
|
|
16165
|
+
className: Yy,
|
|
16033
16166
|
children: e.label
|
|
16034
16167
|
})
|
|
16035
16168
|
})
|
|
16036
16169
|
})
|
|
16037
16170
|
]
|
|
16038
16171
|
});
|
|
16039
|
-
},
|
|
16040
|
-
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);
|
|
16041
16174
|
return /* @__PURE__ */ C(uf, {
|
|
16042
16175
|
"aria-label": t ? void 0 : g,
|
|
16043
16176
|
defaultItems: e,
|
|
16044
|
-
selectedKey: v ?
|
|
16177
|
+
selectedKey: v ? Zy(s) : void 0,
|
|
16045
16178
|
defaultSelectedKey: v ? void 0 : c,
|
|
16046
16179
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
16047
16180
|
isDisabled: u,
|
|
@@ -16053,11 +16186,11 @@ var jy = {
|
|
|
16053
16186
|
className: $("eidotter-select eidotter-select--searchable flex flex-col gap-1", m),
|
|
16054
16187
|
children: [
|
|
16055
16188
|
t && /* @__PURE__ */ S(Pi, {
|
|
16056
|
-
className:
|
|
16189
|
+
className: Gy,
|
|
16057
16190
|
children: t
|
|
16058
16191
|
}),
|
|
16059
16192
|
/* @__PURE__ */ C("div", {
|
|
16060
|
-
className: $(
|
|
16193
|
+
className: $(Jy, Uy[y]),
|
|
16061
16194
|
children: [/* @__PURE__ */ S(Wa, {
|
|
16062
16195
|
id: p,
|
|
16063
16196
|
placeholder: n,
|
|
@@ -16074,12 +16207,12 @@ var jy = {
|
|
|
16074
16207
|
}),
|
|
16075
16208
|
r && !_ && /* @__PURE__ */ S(Yi, {
|
|
16076
16209
|
slot: "description",
|
|
16077
|
-
className:
|
|
16210
|
+
className: Ky,
|
|
16078
16211
|
children: r
|
|
16079
16212
|
}),
|
|
16080
16213
|
i && _ && /* @__PURE__ */ S(Yi, {
|
|
16081
16214
|
slot: "errorMessage",
|
|
16082
|
-
className:
|
|
16215
|
+
className: qy,
|
|
16083
16216
|
children: i
|
|
16084
16217
|
}),
|
|
16085
16218
|
/* @__PURE__ */ S(xu, {
|
|
@@ -16094,15 +16227,15 @@ var jy = {
|
|
|
16094
16227
|
id: e.value,
|
|
16095
16228
|
textValue: e.label,
|
|
16096
16229
|
isDisabled: e.disabled,
|
|
16097
|
-
className:
|
|
16230
|
+
className: Yy,
|
|
16098
16231
|
children: e.label
|
|
16099
16232
|
})
|
|
16100
16233
|
})
|
|
16101
16234
|
})
|
|
16102
16235
|
]
|
|
16103
16236
|
});
|
|
16104
|
-
},
|
|
16105
|
-
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), [
|
|
16106
16239
|
E,
|
|
16107
16240
|
s,
|
|
16108
16241
|
N
|
|
@@ -16125,7 +16258,7 @@ var jy = {
|
|
|
16125
16258
|
children: [
|
|
16126
16259
|
t && /* @__PURE__ */ S("span", {
|
|
16127
16260
|
id: I,
|
|
16128
|
-
className:
|
|
16261
|
+
className: Gy,
|
|
16129
16262
|
children: t
|
|
16130
16263
|
}),
|
|
16131
16264
|
/* @__PURE__ */ C(Wi, {
|
|
@@ -16137,7 +16270,7 @@ var jy = {
|
|
|
16137
16270
|
"aria-haspopup": "listbox",
|
|
16138
16271
|
"aria-expanded": k,
|
|
16139
16272
|
onPress: () => B(!k),
|
|
16140
|
-
className: $(
|
|
16273
|
+
className: $(Jy, Uy[D], T && "eidotter-select__trigger--error"),
|
|
16141
16274
|
children: [/* @__PURE__ */ S("span", {
|
|
16142
16275
|
className: $("eidotter-select__value flex-1 text-left truncate", F.length === 0 && "eidotter-select__value--placeholder text-dos-text-muted"),
|
|
16143
16276
|
children: V
|
|
@@ -16148,11 +16281,11 @@ var jy = {
|
|
|
16148
16281
|
})]
|
|
16149
16282
|
}),
|
|
16150
16283
|
r && !T && /* @__PURE__ */ S("span", {
|
|
16151
|
-
className:
|
|
16284
|
+
className: Ky,
|
|
16152
16285
|
children: r
|
|
16153
16286
|
}),
|
|
16154
16287
|
i && T && /* @__PURE__ */ S("span", {
|
|
16155
|
-
className:
|
|
16288
|
+
className: qy,
|
|
16156
16289
|
children: i
|
|
16157
16290
|
}),
|
|
16158
16291
|
p && F.map((e) => /* @__PURE__ */ S("input", {
|
|
@@ -16189,7 +16322,7 @@ var jy = {
|
|
|
16189
16322
|
id: e.value,
|
|
16190
16323
|
textValue: e.label,
|
|
16191
16324
|
isDisabled: e.disabled,
|
|
16192
|
-
className: $(
|
|
16325
|
+
className: $(Yy, "eidotter-select__option--multi"),
|
|
16193
16326
|
children: ({ isSelected: t }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("span", {
|
|
16194
16327
|
"aria-hidden": "true",
|
|
16195
16328
|
className: "eidotter-select__check",
|
|
@@ -16203,10 +16336,10 @@ var jy = {
|
|
|
16203
16336
|
})
|
|
16204
16337
|
]
|
|
16205
16338
|
});
|
|
16206
|
-
},
|
|
16207
|
-
|
|
16339
|
+
}, tb = (e) => e.multiple ? /* @__PURE__ */ S(eb, { ...e }) : e.searchable ? /* @__PURE__ */ S($y, { ...e }) : /* @__PURE__ */ S(Qy, { ...e });
|
|
16340
|
+
tb.displayName = "Select";
|
|
16208
16341
|
// src/components/LedgerRow/components/LedgerRow.tsx
|
|
16209
|
-
var
|
|
16342
|
+
var nb = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a, className: o }) => /* @__PURE__ */ C("div", {
|
|
16210
16343
|
className: $("eidotter-ledger-row", "flex items-center gap-3 py-2 border-b border-dos-border-disabled", a && "opacity-50", o),
|
|
16211
16344
|
children: [/* @__PURE__ */ C("div", {
|
|
16212
16345
|
className: "flex-1 min-w-0",
|
|
@@ -16224,14 +16357,14 @@ var Wy = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a,
|
|
|
16224
16357
|
className: "font-dos text-dos-text-base text-dos-text-accent tabular-nums",
|
|
16225
16358
|
children: n
|
|
16226
16359
|
}),
|
|
16227
|
-
r !== void 0 && /* @__PURE__ */ S(
|
|
16360
|
+
r !== void 0 && /* @__PURE__ */ S(Hy, { value: r }),
|
|
16228
16361
|
i
|
|
16229
16362
|
]
|
|
16230
16363
|
})]
|
|
16231
16364
|
});
|
|
16232
|
-
|
|
16365
|
+
nb.displayName = "LedgerRow";
|
|
16233
16366
|
// src/components/LabeledProgress/components/LabeledProgress.tsx
|
|
16234
|
-
var
|
|
16367
|
+
var rb = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i = !0, className: a, "aria-label": o }) => {
|
|
16235
16368
|
let s = n === 0 ? 0 : Math.min(100, Math.max(0, Math.round(t / n * 100)));
|
|
16236
16369
|
return /* @__PURE__ */ C("div", {
|
|
16237
16370
|
className: $("eidotter-labeled-progress", "flex items-center gap-3", a),
|
|
@@ -16259,10 +16392,10 @@ var Gy = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i
|
|
|
16259
16392
|
]
|
|
16260
16393
|
});
|
|
16261
16394
|
};
|
|
16262
|
-
|
|
16395
|
+
rb.displayName = "LabeledProgress";
|
|
16263
16396
|
// src/components/TextScramble/components/TextScramble.tsx
|
|
16264
|
-
var
|
|
16265
|
-
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, {
|
|
16266
16399
|
speed: t,
|
|
16267
16400
|
characters: n,
|
|
16268
16401
|
delay: r
|
|
@@ -16274,15 +16407,15 @@ var Ky = a(({ children: e, speed: t, characters: n, delay: r, className: i, ...a
|
|
|
16274
16407
|
children: s
|
|
16275
16408
|
});
|
|
16276
16409
|
});
|
|
16277
|
-
|
|
16410
|
+
ib.displayName = "TextScramble";
|
|
16278
16411
|
// src/components/Nav/components/Nav.tsx
|
|
16279
|
-
var
|
|
16412
|
+
var ab = {
|
|
16280
16413
|
retro: "eidotter-nav--retro",
|
|
16281
16414
|
modern: "eidotter-nav--modern"
|
|
16282
|
-
},
|
|
16415
|
+
}, ob = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
16283
16416
|
let a = r || "a";
|
|
16284
16417
|
return /* @__PURE__ */ S("nav", {
|
|
16285
|
-
className: $("eidotter-nav eidotter-nav--desktop",
|
|
16418
|
+
className: $("eidotter-nav eidotter-nav--desktop", ab[n], i),
|
|
16286
16419
|
"aria-label": "Main navigation",
|
|
16287
16420
|
children: /* @__PURE__ */ S("ul", {
|
|
16288
16421
|
className: "eidotter-nav__desktop-list",
|
|
@@ -16303,7 +16436,7 @@ var qy = {
|
|
|
16303
16436
|
})
|
|
16304
16437
|
})
|
|
16305
16438
|
});
|
|
16306
|
-
},
|
|
16439
|
+
}, sb = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
16307
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), []);
|
|
16308
16441
|
return l(() => {
|
|
16309
16442
|
if (!a) return;
|
|
@@ -16314,7 +16447,7 @@ var qy = {
|
|
|
16314
16447
|
}, [a, _]), l(() => {
|
|
16315
16448
|
a ? d.current?.focus() : p.current && u.current?.focus(), p.current = a;
|
|
16316
16449
|
}, [a]), /* @__PURE__ */ C("div", {
|
|
16317
|
-
className: $("eidotter-nav eidotter-nav--mobile",
|
|
16450
|
+
className: $("eidotter-nav eidotter-nav--mobile", ab[n], i),
|
|
16318
16451
|
children: [
|
|
16319
16452
|
/* @__PURE__ */ S("button", {
|
|
16320
16453
|
ref: u,
|
|
@@ -16374,14 +16507,14 @@ var qy = {
|
|
|
16374
16507
|
})
|
|
16375
16508
|
]
|
|
16376
16509
|
});
|
|
16377
|
-
},
|
|
16510
|
+
}, cb = (e) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S(sb, { ...e }), /* @__PURE__ */ S(ob, { ...e })] }), lb = {
|
|
16378
16511
|
user: "eidotter-chat-message--user",
|
|
16379
16512
|
assistant: "eidotter-chat-message--assistant",
|
|
16380
16513
|
system: "eidotter-chat-message--system"
|
|
16381
|
-
},
|
|
16514
|
+
}, ub = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
|
|
16382
16515
|
let s = e === "user" ? r : e === "assistant" ? i : "";
|
|
16383
16516
|
return /* @__PURE__ */ C("div", {
|
|
16384
|
-
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),
|
|
16385
16518
|
...o,
|
|
16386
16519
|
children: [
|
|
16387
16520
|
s && /* @__PURE__ */ S("span", {
|
|
@@ -16400,7 +16533,7 @@ var qy = {
|
|
|
16400
16533
|
})
|
|
16401
16534
|
]
|
|
16402
16535
|
});
|
|
16403
|
-
},
|
|
16536
|
+
}, db = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
|
|
16404
16537
|
let o = m(null);
|
|
16405
16538
|
l(() => {
|
|
16406
16539
|
o.current?.scrollIntoView?.({ behavior: "smooth" });
|
|
@@ -16429,7 +16562,7 @@ var qy = {
|
|
|
16429
16562
|
className: "flex flex-col",
|
|
16430
16563
|
children: [e.map((i, a) => {
|
|
16431
16564
|
let o = t && i.role === "assistant" && a === e.length - 1;
|
|
16432
|
-
return /* @__PURE__ */ S(
|
|
16565
|
+
return /* @__PURE__ */ S(ub, {
|
|
16433
16566
|
role: i.role,
|
|
16434
16567
|
content: i.content,
|
|
16435
16568
|
isStreaming: o,
|
|
@@ -16439,7 +16572,7 @@ var qy = {
|
|
|
16439
16572
|
}), /* @__PURE__ */ S("div", { ref: o })]
|
|
16440
16573
|
})
|
|
16441
16574
|
});
|
|
16442
|
-
},
|
|
16575
|
+
}, fb = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
|
|
16443
16576
|
let [o, s] = h(""), c = m(null);
|
|
16444
16577
|
d(() => {
|
|
16445
16578
|
let e = c.current;
|
|
@@ -16481,30 +16614,30 @@ var qy = {
|
|
|
16481
16614
|
})]
|
|
16482
16615
|
})]
|
|
16483
16616
|
});
|
|
16484
|
-
},
|
|
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", {
|
|
16485
16618
|
className: $("flex flex-col h-full min-h-0", c),
|
|
16486
16619
|
...l,
|
|
16487
|
-
children: [/* @__PURE__ */ S(
|
|
16620
|
+
children: [/* @__PURE__ */ S(db, {
|
|
16488
16621
|
className: "flex-1 min-h-0",
|
|
16489
16622
|
messages: e,
|
|
16490
16623
|
isStreaming: n,
|
|
16491
16624
|
userPrefix: i,
|
|
16492
16625
|
assistantPrefix: a
|
|
16493
|
-
}), /* @__PURE__ */ S(
|
|
16626
|
+
}), /* @__PURE__ */ S(fb, {
|
|
16494
16627
|
className: "shrink-0",
|
|
16495
16628
|
onSend: t,
|
|
16496
16629
|
prompt: r,
|
|
16497
16630
|
placeholder: o,
|
|
16498
16631
|
disabled: s
|
|
16499
16632
|
})]
|
|
16500
|
-
}),
|
|
16633
|
+
}), mb = [{
|
|
16501
16634
|
label: "Impressum",
|
|
16502
16635
|
href: "/impressum"
|
|
16503
16636
|
}, {
|
|
16504
16637
|
label: "Datenschutz",
|
|
16505
16638
|
href: "/datenschutz"
|
|
16506
|
-
}],
|
|
16507
|
-
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";
|
|
16508
16641
|
return /* @__PURE__ */ C("footer", {
|
|
16509
16642
|
className: $("font-dos text-dos-text-base py-4 px-2 text-center", "eidotter-footer", a),
|
|
16510
16643
|
...o,
|
|
@@ -16548,9 +16681,9 @@ var qy = {
|
|
|
16548
16681
|
})
|
|
16549
16682
|
]
|
|
16550
16683
|
});
|
|
16551
|
-
},
|
|
16552
|
-
|
|
16553
|
-
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) => {
|
|
16554
16687
|
let i = u(), a = `eidotter-logo-halo-${i}`, o = `eidotter-logo-core-${i}`, s = `eidotter-logo-yolk-${i}`;
|
|
16555
16688
|
return /* @__PURE__ */ C("svg", {
|
|
16556
16689
|
ref: r,
|
|
@@ -16625,48 +16758,48 @@ var ab = "M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7
|
|
|
16625
16758
|
})
|
|
16626
16759
|
] }),
|
|
16627
16760
|
/* @__PURE__ */ S("path", {
|
|
16628
|
-
d:
|
|
16761
|
+
d: _b,
|
|
16629
16762
|
fill: `url(#${a})`
|
|
16630
16763
|
}),
|
|
16631
16764
|
/* @__PURE__ */ S("path", {
|
|
16632
|
-
d:
|
|
16765
|
+
d: vb,
|
|
16633
16766
|
fill: `url(#${o})`
|
|
16634
16767
|
}),
|
|
16635
|
-
|
|
16768
|
+
gb.map((e) => /* @__PURE__ */ S("path", {
|
|
16636
16769
|
d: e,
|
|
16637
16770
|
fill: "#FFB000"
|
|
16638
16771
|
}, e)),
|
|
16639
16772
|
/* @__PURE__ */ S("path", {
|
|
16640
|
-
d:
|
|
16773
|
+
d: yb,
|
|
16641
16774
|
fill: `url(#${s})`
|
|
16642
16775
|
}),
|
|
16643
|
-
|
|
16776
|
+
bb.map((e) => /* @__PURE__ */ S("path", {
|
|
16644
16777
|
d: e,
|
|
16645
16778
|
fill: "#FFE8A8",
|
|
16646
16779
|
opacity: "0.8"
|
|
16647
16780
|
}, e)),
|
|
16648
16781
|
/* @__PURE__ */ S("path", {
|
|
16649
|
-
d:
|
|
16782
|
+
d: xb,
|
|
16650
16783
|
fill: "#FFFFFF",
|
|
16651
16784
|
opacity: "0.9"
|
|
16652
16785
|
})
|
|
16653
16786
|
]
|
|
16654
16787
|
});
|
|
16655
16788
|
});
|
|
16656
|
-
|
|
16789
|
+
Sb.displayName = "LogoGeometry";
|
|
16657
16790
|
// src/components/Brand/components/Logo.tsx
|
|
16658
|
-
var
|
|
16791
|
+
var Cb = a(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => /* @__PURE__ */ S(Sb, {
|
|
16659
16792
|
ref: a,
|
|
16660
16793
|
size: e,
|
|
16661
16794
|
title: n,
|
|
16662
16795
|
className: $("eidotter-logo", t && "eidotter-logo--glow", r),
|
|
16663
16796
|
...i
|
|
16664
16797
|
}));
|
|
16665
|
-
|
|
16798
|
+
Cb.displayName = "Logo";
|
|
16666
16799
|
// src/components/Brand/components/Wordmark.tsx
|
|
16667
|
-
var
|
|
16800
|
+
var wb = a(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ C("span", {
|
|
16668
16801
|
ref: r,
|
|
16669
|
-
className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
|
|
16802
|
+
className: $("eidotter-wordmark font-dos-heading", e && "eidotter-wordmark--glow", t),
|
|
16670
16803
|
role: "img",
|
|
16671
16804
|
"aria-label": "eiDotter",
|
|
16672
16805
|
...n,
|
|
@@ -16680,27 +16813,27 @@ var fb = a(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ C("span"
|
|
|
16680
16813
|
children: "Dotter"
|
|
16681
16814
|
})]
|
|
16682
16815
|
}));
|
|
16683
|
-
|
|
16816
|
+
wb.displayName = "Wordmark";
|
|
16684
16817
|
// src/components/Brand/components/BrandLockup.tsx
|
|
16685
|
-
var
|
|
16818
|
+
var Tb = a(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ C("div", {
|
|
16686
16819
|
ref: o,
|
|
16687
16820
|
className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
|
|
16688
16821
|
role: "img",
|
|
16689
16822
|
"aria-label": "eiDotter",
|
|
16690
16823
|
...a,
|
|
16691
|
-
children: [!n && /* @__PURE__ */ S(
|
|
16824
|
+
children: [!n && /* @__PURE__ */ S(Cb, {
|
|
16692
16825
|
size: e,
|
|
16693
16826
|
glow: r,
|
|
16694
16827
|
title: ""
|
|
16695
|
-
}), !t && /* @__PURE__ */ S(
|
|
16828
|
+
}), !t && /* @__PURE__ */ S(wb, {
|
|
16696
16829
|
glow: r,
|
|
16697
16830
|
"aria-hidden": "true"
|
|
16698
16831
|
})]
|
|
16699
16832
|
}));
|
|
16700
|
-
|
|
16833
|
+
Tb.displayName = "BrandLockup";
|
|
16701
16834
|
// src/components/Brand/components/markGeometry.ts
|
|
16702
|
-
var
|
|
16703
|
-
function
|
|
16835
|
+
var Eb = 9.25 / 22, Db = (e) => Math.round(e * 100) / 100;
|
|
16836
|
+
function Ob(e, t, n = {}) {
|
|
16704
16837
|
let { curvature: r = 24, startRadius: i = 0 } = n;
|
|
16705
16838
|
if (e.width === 0 || e.height === 0) return [];
|
|
16706
16839
|
let a = t.filter((e) => e.width !== 0 || e.height !== 0);
|
|
@@ -16710,23 +16843,23 @@ function gb(e, t, n = {}) {
|
|
|
16710
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);
|
|
16711
16844
|
if (m - i < 1) return;
|
|
16712
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;
|
|
16713
|
-
c.push(`M ${
|
|
16846
|
+
c.push(`M ${Db(h)} ${Db(g)} Q ${Db(C)} ${Db(w)} ${Db(u)} ${Db(d)}`);
|
|
16714
16847
|
}), c;
|
|
16715
16848
|
}
|
|
16716
16849
|
// src/components/Brand/components/Mark.tsx
|
|
16717
|
-
var
|
|
16718
|
-
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) => {
|
|
16719
16852
|
d.current = e, typeof u == "function" ? u(e) : u && (u.current = e);
|
|
16720
16853
|
}, [u]);
|
|
16721
16854
|
return l(() => {
|
|
16722
16855
|
if (!i) {
|
|
16723
|
-
p(
|
|
16856
|
+
p(kb);
|
|
16724
16857
|
return;
|
|
16725
16858
|
}
|
|
16726
16859
|
let e = d.current, t = i.scopeRef.current;
|
|
16727
16860
|
if (!e) return;
|
|
16728
16861
|
let n = [], r = () => {
|
|
16729
|
-
let t = e.getBoundingClientRect(), r =
|
|
16862
|
+
let t = e.getBoundingClientRect(), r = Ob(t, n.map((e) => e.getBoundingClientRect()), { startRadius: t.width * Eb });
|
|
16730
16863
|
p((e) => e.length === r.length && e.every((e, t) => e === r[t]) ? e : r);
|
|
16731
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 = () => {
|
|
16732
16865
|
o?.disconnect(), n = a(), o?.observe(e), t && o?.observe(t), n.forEach((e) => o?.observe(e)), r();
|
|
@@ -16767,7 +16900,7 @@ var _b = [], vb = a(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
|
|
|
16767
16900
|
stroke: "currentColor",
|
|
16768
16901
|
strokeWidth: 2
|
|
16769
16902
|
}, t))
|
|
16770
|
-
}), /* @__PURE__ */ S(
|
|
16903
|
+
}), /* @__PURE__ */ S(Sb, {
|
|
16771
16904
|
size: "100%",
|
|
16772
16905
|
title: "",
|
|
16773
16906
|
focusable: "false",
|
|
@@ -16775,10 +16908,10 @@ var _b = [], vb = a(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
|
|
|
16775
16908
|
})]
|
|
16776
16909
|
});
|
|
16777
16910
|
});
|
|
16778
|
-
|
|
16911
|
+
Ab.displayName = "Mark";
|
|
16779
16912
|
// src/components/Header/components/HeaderContextRow.tsx
|
|
16780
|
-
var
|
|
16781
|
-
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 }) {
|
|
16782
16915
|
let r = t ?? "a", { categories: i, returnTo: a } = e, o = a && y_(a.href) ? a.href : void 0, s = (e, t) => {
|
|
16783
16916
|
if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
|
|
16784
16917
|
let n = window.open(t, "rizomorf-shell");
|
|
@@ -16790,16 +16923,16 @@ function bb({ context: e, linkComponent: t, activeHref: n }) {
|
|
|
16790
16923
|
return /* @__PURE__ */ C("div", {
|
|
16791
16924
|
className: $("eidotter-header__context", "flex w-full flex-wrap items-center gap-x-4 gap-y-2"),
|
|
16792
16925
|
children: [a && (o === void 0 ? /* @__PURE__ */ S("span", {
|
|
16793
|
-
className:
|
|
16926
|
+
className: jb,
|
|
16794
16927
|
children: c
|
|
16795
16928
|
}) : a.reuseTab ? /* @__PURE__ */ S("a", {
|
|
16796
16929
|
href: o,
|
|
16797
16930
|
onClick: (e) => s(e, o),
|
|
16798
|
-
className:
|
|
16931
|
+
className: jb,
|
|
16799
16932
|
children: c
|
|
16800
16933
|
}) : /* @__PURE__ */ S(r, {
|
|
16801
16934
|
href: o,
|
|
16802
|
-
className:
|
|
16935
|
+
className: jb,
|
|
16803
16936
|
children: c
|
|
16804
16937
|
})), i.length > 0 && /* @__PURE__ */ S("nav", {
|
|
16805
16938
|
"aria-label": "Categories",
|
|
@@ -16839,23 +16972,23 @@ function bb({ context: e, linkComponent: t, activeHref: n }) {
|
|
|
16839
16972
|
});
|
|
16840
16973
|
}
|
|
16841
16974
|
// src/components/Header/components/Header.tsx
|
|
16842
|
-
var
|
|
16975
|
+
var Nb = {
|
|
16843
16976
|
retro: "eidotter-header--retro",
|
|
16844
16977
|
modern: "eidotter-header--modern"
|
|
16845
|
-
},
|
|
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) => {
|
|
16846
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", {
|
|
16847
16980
|
className: "eidotter-header__brand-name uppercase tracking-[0.3em]",
|
|
16848
16981
|
children: t
|
|
16849
|
-
}), l === "mark" ? /* @__PURE__ */ S(
|
|
16982
|
+
}), l === "mark" ? /* @__PURE__ */ S(Ab, {
|
|
16850
16983
|
size: 28,
|
|
16851
16984
|
label: "",
|
|
16852
16985
|
className: "eidotter-header__brand-icon"
|
|
16853
|
-
}) : /* @__PURE__ */ S(
|
|
16986
|
+
}) : /* @__PURE__ */ S(Cb, {
|
|
16854
16987
|
size: 28,
|
|
16855
16988
|
glow: !0,
|
|
16856
16989
|
title: "",
|
|
16857
16990
|
className: "eidotter-header__brand-icon"
|
|
16858
|
-
})] }) : 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, {
|
|
16859
16992
|
items: r,
|
|
16860
16993
|
activeHref: i,
|
|
16861
16994
|
variant: a,
|
|
@@ -16873,7 +17006,7 @@ var xb = {
|
|
|
16873
17006
|
className: "eidotter-header__end flex items-center",
|
|
16874
17007
|
children: m
|
|
16875
17008
|
}),
|
|
16876
|
-
F && /* @__PURE__ */ S(
|
|
17009
|
+
F && /* @__PURE__ */ S(sb, {
|
|
16877
17010
|
items: r,
|
|
16878
17011
|
activeHref: i,
|
|
16879
17012
|
variant: a,
|
|
@@ -16890,7 +17023,7 @@ var xb = {
|
|
|
16890
17023
|
children: ee
|
|
16891
17024
|
}),
|
|
16892
17025
|
A && R,
|
|
16893
|
-
E && /* @__PURE__ */ S(
|
|
17026
|
+
E && /* @__PURE__ */ S(Mb, {
|
|
16894
17027
|
context: c,
|
|
16895
17028
|
linkComponent: s,
|
|
16896
17029
|
activeHref: i
|
|
@@ -16901,7 +17034,7 @@ var xb = {
|
|
|
16901
17034
|
} : v;
|
|
16902
17035
|
return /* @__PURE__ */ C("header", {
|
|
16903
17036
|
ref: b,
|
|
16904
|
-
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", _),
|
|
16905
17038
|
style: H,
|
|
16906
17039
|
...y,
|
|
16907
17040
|
children: [z, M ? /* @__PURE__ */ S("div", {
|
|
@@ -16910,9 +17043,9 @@ var xb = {
|
|
|
16910
17043
|
}) : te]
|
|
16911
17044
|
});
|
|
16912
17045
|
});
|
|
16913
|
-
|
|
17046
|
+
Pb.displayName = "Header";
|
|
16914
17047
|
// src/components/Connector/components/connectorGeometry.ts
|
|
16915
|
-
var
|
|
17048
|
+
var Fb = {
|
|
16916
17049
|
delicate: {
|
|
16917
17050
|
base: 5,
|
|
16918
17051
|
mid: 3.2,
|
|
@@ -16925,11 +17058,11 @@ var Cb = {
|
|
|
16925
17058
|
tip: 5,
|
|
16926
17059
|
curvature: 30
|
|
16927
17060
|
}
|
|
16928
|
-
},
|
|
16929
|
-
function
|
|
16930
|
-
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));
|
|
16931
17064
|
}
|
|
16932
|
-
function
|
|
17065
|
+
function Vb(e, t, n) {
|
|
16933
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);
|
|
16934
17067
|
return Number.isFinite(l) ? {
|
|
16935
17068
|
x: e.x + r * l,
|
|
@@ -16939,21 +17072,21 @@ function kb(e, t, n) {
|
|
|
16939
17072
|
y: e.y
|
|
16940
17073
|
};
|
|
16941
17074
|
}
|
|
16942
|
-
function
|
|
17075
|
+
function Hb(e, t, n, r, i) {
|
|
16943
17076
|
let a = 1 - i, o = a * a * a, s = 3 * a * a * i, c = 3 * a * i * i, l = i * i * i;
|
|
16944
17077
|
return {
|
|
16945
17078
|
x: o * e.x + s * t.x + c * n.x + l * r.x,
|
|
16946
17079
|
y: o * e.y + s * t.y + c * n.y + l * r.y
|
|
16947
17080
|
};
|
|
16948
17081
|
}
|
|
16949
|
-
function
|
|
17082
|
+
function Ub(e, t, n, r, i) {
|
|
16950
17083
|
let a = 1 - i, o = 3 * a * a, s = 6 * a * i, c = 3 * i * i;
|
|
16951
17084
|
return {
|
|
16952
17085
|
x: o * (t.x - e.x) + s * (n.x - t.x) + c * (r.x - n.x),
|
|
16953
17086
|
y: o * (t.y - e.y) + s * (n.y - t.y) + c * (r.y - n.y)
|
|
16954
17087
|
};
|
|
16955
17088
|
}
|
|
16956
|
-
function
|
|
17089
|
+
function Wb(e, t, n, r = {}) {
|
|
16957
17090
|
let { sign: i = 1, sway: a = 0 } = r, o = t.x - e.x, s = t.y - e.y, c = Math.hypot(o, s);
|
|
16958
17091
|
if (c < .5) return "";
|
|
16959
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 = {
|
|
@@ -16963,8 +17096,8 @@ function Mb(e, t, n, r = {}) {
|
|
|
16963
17096
|
x: e.x + o * .66 + l * p,
|
|
16964
17097
|
y: e.y + s * .66 + u * p
|
|
16965
17098
|
}, g = [], _ = [];
|
|
16966
|
-
for (let r = 0; r <=
|
|
16967
|
-
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);
|
|
16968
17101
|
g.push({
|
|
16969
17102
|
x: a.x + c * u,
|
|
16970
17103
|
y: a.y + l * u
|
|
@@ -16973,13 +17106,13 @@ function Mb(e, t, n, r = {}) {
|
|
|
16973
17106
|
y: a.y - l * u
|
|
16974
17107
|
});
|
|
16975
17108
|
}
|
|
16976
|
-
let v = `M ${
|
|
16977
|
-
for (let e = 1; e <=
|
|
16978
|
-
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)}`;
|
|
16979
17112
|
return v += " Z", v;
|
|
16980
17113
|
}
|
|
16981
17114
|
// src/components/Connector/components/Connector.tsx
|
|
16982
|
-
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) => {
|
|
16983
17116
|
let d = u().replace(/[:]/g, ""), f = m(null), p = m([]), h = m([]), g = m(null), _ = m(t);
|
|
16984
17117
|
_.current = t;
|
|
16985
17118
|
let v = m(n);
|
|
@@ -16996,7 +17129,7 @@ var Nb = .0011, Pb = 4, Fb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
16996
17129
|
let o = a.getBoundingClientRect(), s = {
|
|
16997
17130
|
x: o.left - i.left + o.width / 2,
|
|
16998
17131
|
y: o.top - i.top + o.height / 2
|
|
16999
|
-
}, c =
|
|
17132
|
+
}, c = Fb[v.current] ?? Fb.delicate, l = r && !nh();
|
|
17000
17133
|
_.current.forEach((e, t) => {
|
|
17001
17134
|
let r = e.ref.current, a = p.current[t];
|
|
17002
17135
|
if (!a) return;
|
|
@@ -17014,11 +17147,11 @@ var Nb = .0011, Pb = 4, Fb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
17014
17147
|
y: o.top - i.top,
|
|
17015
17148
|
width: o.width,
|
|
17016
17149
|
height: o.height
|
|
17017
|
-
}, d =
|
|
17150
|
+
}, d = Vb({
|
|
17018
17151
|
x: u.x + u.width / 2,
|
|
17019
17152
|
y: u.y + u.height / 2
|
|
17020
|
-
}, s, u), f = t % 2 == 0 ? 1 : -1, m = l ? Math.sin(n *
|
|
17021
|
-
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, {
|
|
17022
17155
|
sign: f,
|
|
17023
17156
|
sway: m
|
|
17024
17157
|
}));
|
|
@@ -17080,15 +17213,15 @@ var Nb = .0011, Pb = 4, Fb = a(({ sourceRef: e, targets: t, weight: n = "delicat
|
|
|
17080
17213
|
}, t))]
|
|
17081
17214
|
});
|
|
17082
17215
|
});
|
|
17083
|
-
|
|
17216
|
+
qb.displayName = "Connector";
|
|
17084
17217
|
// src/components/Notification/components/Notification.tsx
|
|
17085
|
-
var
|
|
17218
|
+
var Jb = {
|
|
17086
17219
|
primary: "Info",
|
|
17087
17220
|
gray: "Info",
|
|
17088
17221
|
success: "Done",
|
|
17089
17222
|
warning: "Warning",
|
|
17090
17223
|
error: "Error"
|
|
17091
|
-
},
|
|
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 }) => {
|
|
17092
17225
|
let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = rh("eidotter-pop-out", i);
|
|
17093
17226
|
l(() => {
|
|
17094
17227
|
if (u == null || !i) return;
|
|
@@ -17118,7 +17251,7 @@ var Ib = {
|
|
|
17118
17251
|
g && /* @__PURE__ */ S("div", {
|
|
17119
17252
|
className: "eidotter-notification__icon",
|
|
17120
17253
|
children: /* @__PURE__ */ S(eh, {
|
|
17121
|
-
name:
|
|
17254
|
+
name: Jb[e] || "Info",
|
|
17122
17255
|
size: "S",
|
|
17123
17256
|
"aria-label": `${e} notification`
|
|
17124
17257
|
})
|
|
@@ -17170,7 +17303,7 @@ var Ib = {
|
|
|
17170
17303
|
});
|
|
17171
17304
|
};
|
|
17172
17305
|
// src/components/InlineLink/components/InlineLink.tsx
|
|
17173
|
-
function
|
|
17306
|
+
function Xb(e) {
|
|
17174
17307
|
let t = e.trim();
|
|
17175
17308
|
return t === "" || y_(t, { extraSchemes: [
|
|
17176
17309
|
"tel",
|
|
@@ -17178,14 +17311,14 @@ function Rb(e) {
|
|
|
17178
17311
|
"sms"
|
|
17179
17312
|
] }) ? t : "#";
|
|
17180
17313
|
}
|
|
17181
|
-
function
|
|
17314
|
+
function Zb(e, t) {
|
|
17182
17315
|
if (t.length === 0) return e;
|
|
17183
17316
|
let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
|
|
17184
17317
|
for (let e of t) n.add(e.toLowerCase());
|
|
17185
17318
|
return Array.from(n).join(" ");
|
|
17186
17319
|
}
|
|
17187
|
-
var
|
|
17188
|
-
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 ? "↗" : "▸";
|
|
17189
17322
|
return /* @__PURE__ */ C("a", {
|
|
17190
17323
|
ref: c,
|
|
17191
17324
|
href: l,
|
|
@@ -17203,9 +17336,9 @@ var Bb = a(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
|
|
|
17203
17336
|
})]
|
|
17204
17337
|
});
|
|
17205
17338
|
});
|
|
17206
|
-
|
|
17339
|
+
Qb.displayName = "InlineLink";
|
|
17207
17340
|
// src/components/DosFigure/components/DosFigure.tsx
|
|
17208
|
-
var
|
|
17341
|
+
var $b = a(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, c) => {
|
|
17209
17342
|
let l = u(), d = r ? l : void 0;
|
|
17210
17343
|
return /* @__PURE__ */ C("figure", {
|
|
17211
17344
|
ref: c,
|
|
@@ -17265,9 +17398,9 @@ var Vb = a(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
|
|
|
17265
17398
|
})]
|
|
17266
17399
|
});
|
|
17267
17400
|
});
|
|
17268
|
-
|
|
17401
|
+
$b.displayName = "DosFigure";
|
|
17269
17402
|
// src/components/CmdPalette/components/CmdPalette.tsx
|
|
17270
|
-
var
|
|
17403
|
+
var ex = /* @__PURE__ */ C(x, { children: [
|
|
17271
17404
|
/* @__PURE__ */ S("span", {
|
|
17272
17405
|
className: "eidotter-cmdpal__key-hint",
|
|
17273
17406
|
children: "↑/↓ NAVIGATE"
|
|
@@ -17283,7 +17416,7 @@ var Hb = /* @__PURE__ */ C(x, { children: [
|
|
|
17283
17416
|
children: "ESC CLOSE"
|
|
17284
17417
|
})
|
|
17285
17418
|
] });
|
|
17286
|
-
function
|
|
17419
|
+
function tx(e) {
|
|
17287
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");
|
|
17288
17421
|
return (e) => {
|
|
17289
17422
|
if (e.key.toLowerCase() !== n) return !1;
|
|
@@ -17291,15 +17424,15 @@ function Ub(e) {
|
|
|
17291
17424
|
return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
|
|
17292
17425
|
};
|
|
17293
17426
|
}
|
|
17294
|
-
function
|
|
17427
|
+
function nx(e, t) {
|
|
17295
17428
|
if (!t) return 0;
|
|
17296
17429
|
let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
|
|
17297
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;
|
|
17298
17431
|
}
|
|
17299
|
-
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" }, _) => {
|
|
17300
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) => ({
|
|
17301
17434
|
item: e,
|
|
17302
|
-
score:
|
|
17435
|
+
score: nx(e, b.trim())
|
|
17303
17436
|
})).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, d).map((e) => e.item) : n.slice(0, d), [
|
|
17304
17437
|
n,
|
|
17305
17438
|
b,
|
|
@@ -17324,7 +17457,7 @@ var Gb = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
17324
17457
|
M.current = t;
|
|
17325
17458
|
}, [t]), l(() => {
|
|
17326
17459
|
if (i === !1) return;
|
|
17327
|
-
let e =
|
|
17460
|
+
let e = tx(i), t = (t) => {
|
|
17328
17461
|
e(t) && (t.preventDefault(), M.current(!j.current));
|
|
17329
17462
|
};
|
|
17330
17463
|
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
@@ -17346,7 +17479,7 @@ var Gb = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
17346
17479
|
let N = s((e) => {
|
|
17347
17480
|
e.onSelect?.(e), t(!1);
|
|
17348
17481
|
}, [t]);
|
|
17349
|
-
return /* @__PURE__ */ C(
|
|
17482
|
+
return /* @__PURE__ */ C(Sv, {
|
|
17350
17483
|
ref: _,
|
|
17351
17484
|
open: e,
|
|
17352
17485
|
onOpenChange: t,
|
|
@@ -17430,9 +17563,9 @@ var Gb = a(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
17430
17563
|
})]
|
|
17431
17564
|
});
|
|
17432
17565
|
});
|
|
17433
|
-
|
|
17566
|
+
rx.displayName = "CmdPalette";
|
|
17434
17567
|
// src/components/AIText/components/AIText.tsx
|
|
17435
|
-
var
|
|
17568
|
+
var ix = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ C("span", {
|
|
17436
17569
|
"data-provenance": "ai-draft",
|
|
17437
17570
|
className: $("eidotter-ai-text", t),
|
|
17438
17571
|
title: n,
|
|
@@ -17441,9 +17574,9 @@ var Kb = ({ children: e, className: t, title: n = "AI-assisted text — being re
|
|
|
17441
17574
|
children: "AI-assisted: "
|
|
17442
17575
|
}), e]
|
|
17443
17576
|
});
|
|
17444
|
-
|
|
17577
|
+
ix.displayName = "AIText";
|
|
17445
17578
|
// src/components/LegalPage/components/LegalPage.tsx
|
|
17446
|
-
var
|
|
17579
|
+
var ax = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a, className: o, ...s }) => /* @__PURE__ */ C("div", {
|
|
17447
17580
|
className: $("eidotter-legal-page", i && "eidotter-legal-page--embedded", o),
|
|
17448
17581
|
...s,
|
|
17449
17582
|
children: [r && /* @__PURE__ */ S("div", {
|
|
@@ -17466,13 +17599,13 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17466
17599
|
className: "eidotter-legal-page__body",
|
|
17467
17600
|
children: a
|
|
17468
17601
|
})] })]
|
|
17469
|
-
}),
|
|
17602
|
+
}), ox = /* @__PURE__ */ C(x, { children: [
|
|
17470
17603
|
"Haus-Endt-Str. 149A",
|
|
17471
17604
|
/* @__PURE__ */ S("br", {}),
|
|
17472
17605
|
"40593 Düsseldorf",
|
|
17473
17606
|
/* @__PURE__ */ S("br", {}),
|
|
17474
17607
|
"Deutschland"
|
|
17475
|
-
] }),
|
|
17608
|
+
] }), sx = "Dominic Kennedy", cx = ({ email: e, address: t = ox, name: n = sx }) => /* @__PURE__ */ C("address", { children: [
|
|
17476
17609
|
n,
|
|
17477
17610
|
/* @__PURE__ */ S("br", {}),
|
|
17478
17611
|
t,
|
|
@@ -17484,16 +17617,16 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17484
17617
|
children: e
|
|
17485
17618
|
})
|
|
17486
17619
|
] })
|
|
17487
|
-
] }),
|
|
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", {
|
|
17488
17621
|
href: `mailto:${e}`,
|
|
17489
17622
|
children: e
|
|
17490
|
-
})] })] }),
|
|
17623
|
+
})] })] }), dx = ({ name: e = sx }) => /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ C("address", { children: [
|
|
17491
17624
|
e,
|
|
17492
17625
|
/* @__PURE__ */ S("br", {}),
|
|
17493
17626
|
"Haus-Endt-Str. 149A",
|
|
17494
17627
|
/* @__PURE__ */ S("br", {}),
|
|
17495
17628
|
"40593 Düsseldorf"
|
|
17496
|
-
] })] }),
|
|
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: [
|
|
17497
17630
|
t,
|
|
17498
17631
|
/* @__PURE__ */ S("br", {}),
|
|
17499
17632
|
"Haus-Endt-Str. 149A",
|
|
@@ -17505,14 +17638,14 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17505
17638
|
href: `mailto:${e}`,
|
|
17506
17639
|
children: e
|
|
17507
17640
|
})
|
|
17508
|
-
] })] }),
|
|
17641
|
+
] })] }), hx = () => /* @__PURE__ */ C(x, { children: [
|
|
17509
17642
|
/* @__PURE__ */ S("h2", { children: "Hosting" }),
|
|
17510
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." }),
|
|
17511
17644
|
/* @__PURE__ */ S("p", {
|
|
17512
17645
|
className: "eidotter-legal-page__basis",
|
|
17513
17646
|
children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
17514
17647
|
})
|
|
17515
|
-
] }),
|
|
17648
|
+
] }), gx = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ C(x, { children: [
|
|
17516
17649
|
/* @__PURE__ */ S("h2", { children: "Webanalyse — PostHog" }),
|
|
17517
17650
|
/* @__PURE__ */ C("p", { children: [
|
|
17518
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 ",
|
|
@@ -17529,7 +17662,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17529
17662
|
className: "eidotter-legal-page__basis",
|
|
17530
17663
|
children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
17531
17664
|
})
|
|
17532
|
-
] }),
|
|
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: [
|
|
17533
17666
|
/* @__PURE__ */ S("h2", { children: "Ihre Rechte" }),
|
|
17534
17667
|
/* @__PURE__ */ S("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
|
|
17535
17668
|
/* @__PURE__ */ C("ul", { children: [
|
|
@@ -17554,30 +17687,22 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17554
17687
|
t,
|
|
17555
17688
|
"."
|
|
17556
17689
|
] })
|
|
17557
|
-
] }),
|
|
17690
|
+
] }), bx = {
|
|
17558
17691
|
eidotter: { displayName: "eiDotter" },
|
|
17559
|
-
spacewar: { displayName: "Spacewar!" },
|
|
17560
17692
|
rizomorf: { displayName: "rizomorf" },
|
|
17561
|
-
"pomodoke-calendar": { displayName: "PomoDoke Calendar" },
|
|
17562
|
-
keepcoin: { displayName: "KeepCoin" },
|
|
17563
|
-
steuerdash: { displayName: "Steuerdash" },
|
|
17564
|
-
sella: { displayName: "sella" },
|
|
17565
|
-
lifelines: { displayName: "Lifelines" },
|
|
17566
|
-
betamorf: { displayName: "betamorf" },
|
|
17567
17693
|
dmnctech: {
|
|
17568
17694
|
displayName: "dmnc.tech",
|
|
17569
17695
|
url: "https://dmnc.tech"
|
|
17570
17696
|
},
|
|
17571
|
-
|
|
17572
|
-
displayName: "
|
|
17573
|
-
url: "https://
|
|
17697
|
+
"eidotter-home": {
|
|
17698
|
+
displayName: "eidotter.com",
|
|
17699
|
+
url: "https://eidotter.com"
|
|
17574
17700
|
},
|
|
17575
|
-
"
|
|
17576
|
-
|
|
17577
|
-
}, lx = {
|
|
17701
|
+
"dmnc-online": { displayName: "dmnc.online" }
|
|
17702
|
+
}, xx = {
|
|
17578
17703
|
Alert: {
|
|
17579
17704
|
origin: "eidotter",
|
|
17580
|
-
consumers: ["rizomorf"
|
|
17705
|
+
consumers: ["rizomorf"],
|
|
17581
17706
|
since: "0.2.0",
|
|
17582
17707
|
variants: {
|
|
17583
17708
|
"color:brand": { description: "Brand-accent message" },
|
|
@@ -17595,20 +17720,18 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17595
17720
|
"type:success": {
|
|
17596
17721
|
description: "Success confirmation",
|
|
17597
17722
|
deprecated: "0.16.0",
|
|
17598
|
-
since: "0.2.0"
|
|
17599
|
-
usedBy: ["steuerdash"]
|
|
17723
|
+
since: "0.2.0"
|
|
17600
17724
|
},
|
|
17601
17725
|
"type:warning": {
|
|
17602
17726
|
description: "Warning notice",
|
|
17603
17727
|
deprecated: "0.16.0",
|
|
17604
17728
|
since: "0.2.0",
|
|
17605
|
-
usedBy: ["rizomorf"
|
|
17729
|
+
usedBy: ["rizomorf"]
|
|
17606
17730
|
},
|
|
17607
17731
|
"type:error": {
|
|
17608
17732
|
description: "Error message",
|
|
17609
17733
|
deprecated: "0.16.0",
|
|
17610
|
-
since: "0.2.0"
|
|
17611
|
-
usedBy: ["steuerdash"]
|
|
17734
|
+
since: "0.2.0"
|
|
17612
17735
|
},
|
|
17613
17736
|
"type:default": {
|
|
17614
17737
|
description: "Deprecated: neutral message (use color)",
|
|
@@ -17760,7 +17883,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17760
17883
|
},
|
|
17761
17884
|
Badge: {
|
|
17762
17885
|
origin: "eidotter",
|
|
17763
|
-
consumers: ["rizomorf"
|
|
17886
|
+
consumers: ["rizomorf"],
|
|
17764
17887
|
since: "0.3.0",
|
|
17765
17888
|
variants: {
|
|
17766
17889
|
"variant:default": {
|
|
@@ -17770,18 +17893,15 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17770
17893
|
},
|
|
17771
17894
|
"variant:success": {
|
|
17772
17895
|
description: "Green success indicator",
|
|
17773
|
-
since: "0.3.0"
|
|
17774
|
-
usedBy: ["steuerdash"]
|
|
17896
|
+
since: "0.3.0"
|
|
17775
17897
|
},
|
|
17776
17898
|
"variant:warning": {
|
|
17777
17899
|
description: "Amber warning indicator",
|
|
17778
|
-
since: "0.3.0"
|
|
17779
|
-
usedBy: ["steuerdash"]
|
|
17900
|
+
since: "0.3.0"
|
|
17780
17901
|
},
|
|
17781
17902
|
"variant:error": {
|
|
17782
17903
|
description: "Red error/critical indicator",
|
|
17783
|
-
since: "0.3.0"
|
|
17784
|
-
usedBy: ["steuerdash"]
|
|
17904
|
+
since: "0.3.0"
|
|
17785
17905
|
},
|
|
17786
17906
|
"variant:info": {
|
|
17787
17907
|
description: "Blue informational indicator",
|
|
@@ -17890,31 +18010,21 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17890
18010
|
},
|
|
17891
18011
|
Button: {
|
|
17892
18012
|
origin: "eidotter",
|
|
17893
|
-
consumers: [
|
|
17894
|
-
"spacewar",
|
|
17895
|
-
"rizomorf",
|
|
17896
|
-
"pomodoke-calendar",
|
|
17897
|
-
"steuerdash"
|
|
17898
|
-
],
|
|
18013
|
+
consumers: ["rizomorf"],
|
|
17899
18014
|
since: "0.2.0",
|
|
17900
18015
|
variants: {
|
|
17901
18016
|
"variant:primary": {
|
|
17902
18017
|
description: "Primary CTA with amber background",
|
|
17903
18018
|
since: "0.2.0",
|
|
17904
|
-
usedBy: [
|
|
17905
|
-
"spacewar",
|
|
17906
|
-
"rizomorf",
|
|
17907
|
-
"pomodoke-calendar",
|
|
17908
|
-
"steuerdash"
|
|
17909
|
-
]
|
|
18019
|
+
usedBy: ["rizomorf"]
|
|
17910
18020
|
},
|
|
17911
18021
|
"variant:secondary": {
|
|
17912
18022
|
description: "Secondary action with border only",
|
|
17913
18023
|
since: "0.2.0",
|
|
17914
|
-
usedBy: ["rizomorf"
|
|
18024
|
+
usedBy: ["rizomorf"]
|
|
17915
18025
|
},
|
|
17916
18026
|
"variant:tertiary": { description: "Lower-emphasis action between secondary and ghost" },
|
|
17917
|
-
"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)" },
|
|
17918
18028
|
"variant:ghost": {
|
|
17919
18029
|
description: "Minimal button with hover reveal",
|
|
17920
18030
|
since: "0.2.0",
|
|
@@ -17958,7 +18068,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
17958
18068
|
},
|
|
17959
18069
|
spritekit: {
|
|
17960
18070
|
status: "token-only",
|
|
17961
|
-
note: "
|
|
18071
|
+
note: "A native consumer uses tokens only, no UIKit/SwiftUI button"
|
|
17962
18072
|
}
|
|
17963
18073
|
},
|
|
17964
18074
|
changelog: [
|
|
@@ -18011,18 +18121,17 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18011
18121
|
},
|
|
18012
18122
|
Card: {
|
|
18013
18123
|
origin: "eidotter",
|
|
18014
|
-
consumers: ["rizomorf"
|
|
18124
|
+
consumers: ["rizomorf"],
|
|
18015
18125
|
since: "0.3.0",
|
|
18016
18126
|
variants: {
|
|
18017
18127
|
"variant:default": {
|
|
18018
18128
|
description: "Standard card with subtle border",
|
|
18019
18129
|
since: "0.3.0",
|
|
18020
|
-
usedBy: ["rizomorf"
|
|
18130
|
+
usedBy: ["rizomorf"]
|
|
18021
18131
|
},
|
|
18022
18132
|
"variant:elevated": {
|
|
18023
18133
|
description: "Raised card with drop shadow",
|
|
18024
|
-
since: "0.3.0"
|
|
18025
|
-
usedBy: ["steuerdash"]
|
|
18134
|
+
since: "0.3.0"
|
|
18026
18135
|
},
|
|
18027
18136
|
"variant:bordered": {
|
|
18028
18137
|
description: "Strong border emphasis",
|
|
@@ -18099,7 +18208,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18099
18208
|
},
|
|
18100
18209
|
Checkbox: {
|
|
18101
18210
|
origin: "eidotter",
|
|
18102
|
-
consumers: [
|
|
18211
|
+
consumers: [],
|
|
18103
18212
|
since: "0.3.0",
|
|
18104
18213
|
variants: {
|
|
18105
18214
|
"size:sm": {
|
|
@@ -18108,8 +18217,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18108
18217
|
},
|
|
18109
18218
|
"size:md": {
|
|
18110
18219
|
description: "Standard 20px checkbox",
|
|
18111
|
-
since: "0.3.0"
|
|
18112
|
-
usedBy: ["steuerdash"]
|
|
18220
|
+
since: "0.3.0"
|
|
18113
18221
|
}
|
|
18114
18222
|
},
|
|
18115
18223
|
platforms: {
|
|
@@ -18288,18 +18396,16 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18288
18396
|
},
|
|
18289
18397
|
Input: {
|
|
18290
18398
|
origin: "eidotter",
|
|
18291
|
-
consumers: [
|
|
18399
|
+
consumers: [],
|
|
18292
18400
|
since: "0.3.0",
|
|
18293
18401
|
variants: {
|
|
18294
18402
|
"variant:default": {
|
|
18295
18403
|
description: "Standard text input with amber focus border",
|
|
18296
|
-
since: "0.3.0"
|
|
18297
|
-
usedBy: ["steuerdash"]
|
|
18404
|
+
since: "0.3.0"
|
|
18298
18405
|
},
|
|
18299
18406
|
"variant:error": {
|
|
18300
18407
|
description: "Error state — red border, errorMessage slot",
|
|
18301
|
-
since: "0.3.0"
|
|
18302
|
-
usedBy: ["steuerdash"]
|
|
18408
|
+
since: "0.3.0"
|
|
18303
18409
|
}
|
|
18304
18410
|
},
|
|
18305
18411
|
platforms: {
|
|
@@ -18367,7 +18473,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18367
18473
|
},
|
|
18368
18474
|
Modal: {
|
|
18369
18475
|
origin: "eidotter",
|
|
18370
|
-
consumers: [
|
|
18476
|
+
consumers: [],
|
|
18371
18477
|
since: "0.3.0",
|
|
18372
18478
|
originNote: "DOS-styled dialog built on React Aria ModalOverlay/Modal/Dialog — focus trap, Esc to close, backdrop",
|
|
18373
18479
|
platforms: {
|
|
@@ -18412,13 +18518,12 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18412
18518
|
},
|
|
18413
18519
|
Progress: {
|
|
18414
18520
|
origin: "eidotter",
|
|
18415
|
-
consumers: [
|
|
18521
|
+
consumers: [],
|
|
18416
18522
|
since: "0.3.0",
|
|
18417
18523
|
variants: {
|
|
18418
18524
|
"variant:default": {
|
|
18419
18525
|
description: "Amber progress bar",
|
|
18420
|
-
since: "0.3.0"
|
|
18421
|
-
usedBy: ["steuerdash"]
|
|
18526
|
+
since: "0.3.0"
|
|
18422
18527
|
},
|
|
18423
18528
|
"variant:success": {
|
|
18424
18529
|
description: "Green completion indicator",
|
|
@@ -18438,8 +18543,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18438
18543
|
},
|
|
18439
18544
|
"size:md": {
|
|
18440
18545
|
description: "Standard bar height",
|
|
18441
|
-
since: "0.3.0"
|
|
18442
|
-
usedBy: ["steuerdash"]
|
|
18546
|
+
since: "0.3.0"
|
|
18443
18547
|
},
|
|
18444
18548
|
"size:lg": {
|
|
18445
18549
|
description: "Tall bar for prominent display",
|
|
@@ -18447,8 +18551,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18447
18551
|
},
|
|
18448
18552
|
"trackStyle:block": {
|
|
18449
18553
|
description: "Solid block fill (default)",
|
|
18450
|
-
since: "0.3.0"
|
|
18451
|
-
usedBy: ["steuerdash"]
|
|
18554
|
+
since: "0.3.0"
|
|
18452
18555
|
},
|
|
18453
18556
|
"trackStyle:bordered": {
|
|
18454
18557
|
description: "Outline bar with fill inside",
|
|
@@ -18497,10 +18600,10 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18497
18600
|
]
|
|
18498
18601
|
},
|
|
18499
18602
|
RetroEffects: {
|
|
18500
|
-
origin: "
|
|
18501
|
-
consumers: ["
|
|
18603
|
+
origin: "eidotter",
|
|
18604
|
+
consumers: ["rizomorf"],
|
|
18502
18605
|
since: "0.3.0",
|
|
18503
|
-
originNote: "CRT scanline/glow effects
|
|
18606
|
+
originNote: "CRT scanline/glow effects — compositor-only, prefers-reduced-motion safe",
|
|
18504
18607
|
platforms: {
|
|
18505
18608
|
react: {
|
|
18506
18609
|
path: "src/components/RetroEffects",
|
|
@@ -18508,7 +18611,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18508
18611
|
},
|
|
18509
18612
|
spritekit: {
|
|
18510
18613
|
status: "planned",
|
|
18511
|
-
note: "
|
|
18614
|
+
note: "Native consumers use a CRT shader natively; component is React-web-only"
|
|
18512
18615
|
}
|
|
18513
18616
|
},
|
|
18514
18617
|
changelog: [
|
|
@@ -18540,15 +18643,14 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18540
18643
|
]
|
|
18541
18644
|
},
|
|
18542
18645
|
Select: {
|
|
18543
|
-
origin: "
|
|
18544
|
-
consumers: [
|
|
18646
|
+
origin: "eidotter",
|
|
18647
|
+
consumers: [],
|
|
18545
18648
|
since: "0.36.0",
|
|
18546
|
-
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",
|
|
18547
18650
|
variants: {
|
|
18548
18651
|
"mode:default": {
|
|
18549
18652
|
description: "Single-select — React Aria Select (button + popover + listbox)",
|
|
18550
|
-
since: "0.38.0"
|
|
18551
|
-
usedBy: ["steuerdash"]
|
|
18653
|
+
since: "0.38.0"
|
|
18552
18654
|
},
|
|
18553
18655
|
"searchable:true": {
|
|
18554
18656
|
description: "Type-to-filter ComboBox single-select",
|
|
@@ -18569,8 +18671,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18569
18671
|
},
|
|
18570
18672
|
"size:md": {
|
|
18571
18673
|
description: "Standard trigger (32px min-height)",
|
|
18572
|
-
since: "0.38.0"
|
|
18573
|
-
usedBy: ["steuerdash"]
|
|
18674
|
+
since: "0.38.0"
|
|
18574
18675
|
},
|
|
18575
18676
|
"size:lg": {
|
|
18576
18677
|
description: "Tall trigger (40px min-height)",
|
|
@@ -18615,7 +18716,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18615
18716
|
{
|
|
18616
18717
|
version: "0.36.0",
|
|
18617
18718
|
type: "added",
|
|
18618
|
-
description: "Initial Select — native <select> MVP ported from
|
|
18719
|
+
description: "Initial Select — native <select> MVP ported from a private consumer (DMNC-860)"
|
|
18619
18720
|
}
|
|
18620
18721
|
]
|
|
18621
18722
|
},
|
|
@@ -18636,8 +18737,8 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18636
18737
|
}]
|
|
18637
18738
|
},
|
|
18638
18739
|
Stat: {
|
|
18639
|
-
origin: "
|
|
18640
|
-
consumers: [
|
|
18740
|
+
origin: "eidotter",
|
|
18741
|
+
consumers: [],
|
|
18641
18742
|
since: "0.3.0",
|
|
18642
18743
|
originNote: "Key-value metric display created for tax dashboard — optional trend arrow and TextScramble animation",
|
|
18643
18744
|
variants: {
|
|
@@ -18647,23 +18748,19 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18647
18748
|
},
|
|
18648
18749
|
"size:md": {
|
|
18649
18750
|
description: "Standard metric display",
|
|
18650
|
-
since: "0.3.0"
|
|
18651
|
-
usedBy: ["steuerdash"]
|
|
18751
|
+
since: "0.3.0"
|
|
18652
18752
|
},
|
|
18653
18753
|
"size:lg": {
|
|
18654
18754
|
description: "Hero metric for prominent KPIs",
|
|
18655
|
-
since: "0.16.0"
|
|
18656
|
-
usedBy: ["steuerdash"]
|
|
18755
|
+
since: "0.16.0"
|
|
18657
18756
|
},
|
|
18658
18757
|
"trend:up": {
|
|
18659
18758
|
description: "Upward trend indicator (green arrow)",
|
|
18660
|
-
since: "0.3.0"
|
|
18661
|
-
usedBy: ["steuerdash"]
|
|
18759
|
+
since: "0.3.0"
|
|
18662
18760
|
},
|
|
18663
18761
|
"trend:down": {
|
|
18664
18762
|
description: "Downward trend indicator (red arrow)",
|
|
18665
|
-
since: "0.3.0"
|
|
18666
|
-
usedBy: ["steuerdash"]
|
|
18763
|
+
since: "0.3.0"
|
|
18667
18764
|
},
|
|
18668
18765
|
"trend:neutral": {
|
|
18669
18766
|
description: "No change indicator (muted dash)",
|
|
@@ -18781,14 +18878,14 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18781
18878
|
},
|
|
18782
18879
|
FilterBar: {
|
|
18783
18880
|
origin: "eidotter",
|
|
18784
|
-
consumers: ["
|
|
18881
|
+
consumers: ["rizomorf"],
|
|
18785
18882
|
since: "0.7.0",
|
|
18786
18883
|
originNote: "Multi-select toggle group for faceted filtering — keyboard nav, showAll, per-item color",
|
|
18787
18884
|
variants: {
|
|
18788
18885
|
"mode:multi": {
|
|
18789
18886
|
description: "Multiple filters selectable simultaneously",
|
|
18790
18887
|
since: "0.7.0",
|
|
18791
|
-
usedBy: ["
|
|
18888
|
+
usedBy: ["rizomorf"]
|
|
18792
18889
|
},
|
|
18793
18890
|
"mode:single": {
|
|
18794
18891
|
description: "Single active filter (radio behavior)",
|
|
@@ -18801,7 +18898,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18801
18898
|
"size:md": {
|
|
18802
18899
|
description: "Standard filter chips",
|
|
18803
18900
|
since: "0.7.0",
|
|
18804
|
-
usedBy: ["
|
|
18901
|
+
usedBy: ["rizomorf"]
|
|
18805
18902
|
},
|
|
18806
18903
|
"size:lg": {
|
|
18807
18904
|
description: "Large filter chips for touch targets",
|
|
@@ -18844,7 +18941,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18844
18941
|
},
|
|
18845
18942
|
Tag: {
|
|
18846
18943
|
origin: "eidotter",
|
|
18847
|
-
consumers: ["
|
|
18944
|
+
consumers: ["rizomorf"],
|
|
18848
18945
|
since: "0.7.0",
|
|
18849
18946
|
originNote: "Interactive labels for tags, categories, and filter chips",
|
|
18850
18947
|
variants: {
|
|
@@ -18855,13 +18952,12 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18855
18952
|
},
|
|
18856
18953
|
"variant:outlined": {
|
|
18857
18954
|
description: "Border-only tag",
|
|
18858
|
-
since: "0.7.0"
|
|
18859
|
-
usedBy: ["lifelines"]
|
|
18955
|
+
since: "0.7.0"
|
|
18860
18956
|
},
|
|
18861
18957
|
"variant:filled": {
|
|
18862
18958
|
description: "Solid background tag",
|
|
18863
18959
|
since: "0.7.0",
|
|
18864
|
-
usedBy: ["rizomorf"
|
|
18960
|
+
usedBy: ["rizomorf"]
|
|
18865
18961
|
},
|
|
18866
18962
|
"size:sm": { description: "Compact tag for dense layouts" },
|
|
18867
18963
|
"size:md": { description: "Standard tag size" },
|
|
@@ -18914,13 +19010,12 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18914
19010
|
},
|
|
18915
19011
|
Tabs: {
|
|
18916
19012
|
origin: "eidotter",
|
|
18917
|
-
consumers: [
|
|
19013
|
+
consumers: [],
|
|
18918
19014
|
since: "0.3.0",
|
|
18919
19015
|
variants: {
|
|
18920
19016
|
"variant:underline": {
|
|
18921
19017
|
description: "Underline indicator tab bar (default)",
|
|
18922
|
-
since: "0.3.0"
|
|
18923
|
-
usedBy: ["steuerdash"]
|
|
19018
|
+
since: "0.3.0"
|
|
18924
19019
|
},
|
|
18925
19020
|
"variant:pills": {
|
|
18926
19021
|
description: "Filled pill tabs",
|
|
@@ -18932,8 +19027,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
18932
19027
|
},
|
|
18933
19028
|
"size:md": {
|
|
18934
19029
|
description: "Standard tab height",
|
|
18935
|
-
since: "0.3.0"
|
|
18936
|
-
usedBy: ["steuerdash"]
|
|
19030
|
+
since: "0.3.0"
|
|
18937
19031
|
},
|
|
18938
19032
|
"size:lg": {
|
|
18939
19033
|
description: "Large touch-friendly tabs",
|
|
@@ -19070,15 +19164,15 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19070
19164
|
]
|
|
19071
19165
|
},
|
|
19072
19166
|
TimelineNode: {
|
|
19073
|
-
origin: "
|
|
19074
|
-
consumers: ["
|
|
19167
|
+
origin: "eidotter",
|
|
19168
|
+
consumers: ["rizomorf"],
|
|
19075
19169
|
since: "0.4.0",
|
|
19076
|
-
originNote: "Timeline markers extracted from
|
|
19170
|
+
originNote: "Timeline markers extracted from a private consumer — sits on the axis line, content-box sizing",
|
|
19077
19171
|
variants: {
|
|
19078
19172
|
"shape:circle": {
|
|
19079
19173
|
description: "Circular node marker (default)",
|
|
19080
19174
|
since: "0.4.0",
|
|
19081
|
-
usedBy: ["
|
|
19175
|
+
usedBy: ["rizomorf"]
|
|
19082
19176
|
},
|
|
19083
19177
|
"shape:square": {
|
|
19084
19178
|
description: "Square node marker",
|
|
@@ -19091,12 +19185,11 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19091
19185
|
"variant:default": {
|
|
19092
19186
|
description: "Muted amber node",
|
|
19093
19187
|
since: "0.4.0",
|
|
19094
|
-
usedBy: ["
|
|
19188
|
+
usedBy: ["rizomorf"]
|
|
19095
19189
|
},
|
|
19096
19190
|
"variant:primary": {
|
|
19097
19191
|
description: "Full-brightness amber node with phosphor glow",
|
|
19098
|
-
since: "0.4.0"
|
|
19099
|
-
usedBy: ["lifelines"]
|
|
19192
|
+
since: "0.4.0"
|
|
19100
19193
|
},
|
|
19101
19194
|
"variant:secondary": {
|
|
19102
19195
|
description: "Dimmed node for secondary events",
|
|
@@ -19109,7 +19202,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19109
19202
|
"labelPosition:right": {
|
|
19110
19203
|
description: "Label to the right of the node (default)",
|
|
19111
19204
|
since: "0.4.0",
|
|
19112
|
-
usedBy: ["
|
|
19205
|
+
usedBy: ["rizomorf"]
|
|
19113
19206
|
},
|
|
19114
19207
|
"labelPosition:left": {
|
|
19115
19208
|
description: "Label to the left of the node",
|
|
@@ -19130,7 +19223,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19130
19223
|
"size:md": {
|
|
19131
19224
|
description: "Standard 12px node",
|
|
19132
19225
|
since: "0.4.0",
|
|
19133
|
-
usedBy: ["
|
|
19226
|
+
usedBy: ["rizomorf"]
|
|
19134
19227
|
},
|
|
19135
19228
|
"size:lg": {
|
|
19136
19229
|
description: "Large 16px node for emphasis",
|
|
@@ -19262,15 +19355,14 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19262
19355
|
]
|
|
19263
19356
|
},
|
|
19264
19357
|
TimelineContainer: {
|
|
19265
|
-
origin: "
|
|
19266
|
-
consumers: [
|
|
19358
|
+
origin: "eidotter",
|
|
19359
|
+
consumers: [],
|
|
19267
19360
|
since: "0.8.0",
|
|
19268
19361
|
originNote: "Multi-zoom timeline with year/month/day/hour views. Supports interactive, static, feed, and master-detail modes.",
|
|
19269
19362
|
variants: {
|
|
19270
19363
|
"mode:interactive": {
|
|
19271
19364
|
description: "Full drill-down with keyboard shortcuts and Ctrl+scroll zoom",
|
|
19272
|
-
since: "0.8.0"
|
|
19273
|
-
usedBy: ["lifelines"]
|
|
19365
|
+
since: "0.8.0"
|
|
19274
19366
|
},
|
|
19275
19367
|
"mode:static": {
|
|
19276
19368
|
description: "Read-only snapshot — no zoom or selection controls",
|
|
@@ -19278,8 +19370,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19278
19370
|
},
|
|
19279
19371
|
"mode:feed": {
|
|
19280
19372
|
description: "Paginated vertical list with LOAD MORE — append-safe",
|
|
19281
|
-
since: "0.21.0"
|
|
19282
|
-
usedBy: ["lifelines"]
|
|
19373
|
+
since: "0.21.0"
|
|
19283
19374
|
},
|
|
19284
19375
|
"mode:master-detail": {
|
|
19285
19376
|
description: "Split-pane with list rail + detail panel",
|
|
@@ -19291,8 +19382,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19291
19382
|
},
|
|
19292
19383
|
"sortOrder:desc": {
|
|
19293
19384
|
description: "Newest entries first (default)",
|
|
19294
|
-
since: "0.8.0"
|
|
19295
|
-
usedBy: ["lifelines"]
|
|
19385
|
+
since: "0.8.0"
|
|
19296
19386
|
}
|
|
19297
19387
|
},
|
|
19298
19388
|
platforms: { react: {
|
|
@@ -19323,7 +19413,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19323
19413
|
{
|
|
19324
19414
|
version: "0.8.0",
|
|
19325
19415
|
type: "added",
|
|
19326
|
-
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"
|
|
19327
19417
|
}
|
|
19328
19418
|
]
|
|
19329
19419
|
},
|
|
@@ -19691,7 +19781,7 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19691
19781
|
origin: "eidotter",
|
|
19692
19782
|
consumers: [],
|
|
19693
19783
|
since: "0.45.0",
|
|
19694
|
-
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.",
|
|
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).",
|
|
19695
19785
|
variants: {
|
|
19696
19786
|
"labelDisplay:responsive": {
|
|
19697
19787
|
description: "Icon only below 640px, icon + label above (default)",
|
|
@@ -19850,10 +19940,10 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19850
19940
|
]
|
|
19851
19941
|
},
|
|
19852
19942
|
ProgressRing: {
|
|
19853
|
-
origin: "
|
|
19854
|
-
consumers: [
|
|
19943
|
+
origin: "eidotter",
|
|
19944
|
+
consumers: [],
|
|
19855
19945
|
since: "0.37.0",
|
|
19856
|
-
originNote: "16-segment quantized progress ring (SVG). Powers
|
|
19946
|
+
originNote: "16-segment quantized progress ring (SVG). Powers the hold-to-complete feedback ring.",
|
|
19857
19947
|
platforms: { react: {
|
|
19858
19948
|
path: "src/components/ProgressRing",
|
|
19859
19949
|
status: "canonical"
|
|
@@ -19869,8 +19959,8 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19869
19959
|
}]
|
|
19870
19960
|
},
|
|
19871
19961
|
CalendarHeatmap: {
|
|
19872
|
-
origin: "
|
|
19873
|
-
consumers: [
|
|
19962
|
+
origin: "eidotter",
|
|
19963
|
+
consumers: [],
|
|
19874
19964
|
since: "0.37.0",
|
|
19875
19965
|
originNote: "Block-character month calendar heatmap (█ ░ · ▒). Domain-agnostic — takes a date→status map, not a domain object.",
|
|
19876
19966
|
variants: {
|
|
@@ -19889,8 +19979,8 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
19889
19979
|
}]
|
|
19890
19980
|
},
|
|
19891
19981
|
HoldToComplete: {
|
|
19892
|
-
origin: "
|
|
19893
|
-
consumers: [
|
|
19982
|
+
origin: "eidotter",
|
|
19983
|
+
consumers: [],
|
|
19894
19984
|
since: "0.37.0",
|
|
19895
19985
|
originNote: "Press-and-hold-to-complete interaction with ProgressRing feedback. Pointer + keyboard, reduced-motion aware.",
|
|
19896
19986
|
platforms: { react: {
|
|
@@ -20034,9 +20124,9 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20034
20124
|
},
|
|
20035
20125
|
Gauge: {
|
|
20036
20126
|
origin: "eidotter",
|
|
20037
|
-
consumers: [
|
|
20127
|
+
consumers: [],
|
|
20038
20128
|
since: "0.40.0",
|
|
20039
|
-
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.",
|
|
20040
20130
|
variants: {
|
|
20041
20131
|
"size:sm": {
|
|
20042
20132
|
description: "Compact gauge",
|
|
@@ -20110,9 +20200,9 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20110
20200
|
},
|
|
20111
20201
|
Meter: {
|
|
20112
20202
|
origin: "eidotter",
|
|
20113
|
-
consumers: [
|
|
20203
|
+
consumers: [],
|
|
20114
20204
|
since: "0.40.0",
|
|
20115
|
-
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.",
|
|
20116
20206
|
variants: {
|
|
20117
20207
|
"orientation:vertical": {
|
|
20118
20208
|
description: "Vertical bar with label beneath",
|
|
@@ -20190,9 +20280,9 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20190
20280
|
},
|
|
20191
20281
|
MeterGroup: {
|
|
20192
20282
|
origin: "eidotter",
|
|
20193
|
-
consumers: [
|
|
20283
|
+
consumers: [],
|
|
20194
20284
|
since: "0.40.0",
|
|
20195
|
-
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.",
|
|
20196
20286
|
variants: {
|
|
20197
20287
|
"layout:row": {
|
|
20198
20288
|
description: "Meters in a single row",
|
|
@@ -20222,9 +20312,9 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20222
20312
|
},
|
|
20223
20313
|
RangeBar: {
|
|
20224
20314
|
origin: "eidotter",
|
|
20225
|
-
consumers: [
|
|
20315
|
+
consumers: [],
|
|
20226
20316
|
since: "0.40.0",
|
|
20227
|
-
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.",
|
|
20228
20318
|
variants: {
|
|
20229
20319
|
"orientation:vertical": {
|
|
20230
20320
|
description: "Vertical track",
|
|
@@ -20314,9 +20404,9 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20314
20404
|
},
|
|
20315
20405
|
SeriesBars: {
|
|
20316
20406
|
origin: "eidotter",
|
|
20317
|
-
consumers: [
|
|
20407
|
+
consumers: [],
|
|
20318
20408
|
since: "0.40.0",
|
|
20319
|
-
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.",
|
|
20320
20410
|
variants: {
|
|
20321
20411
|
"size:sm": {
|
|
20322
20412
|
description: "Short plot",
|
|
@@ -20383,9 +20473,9 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20383
20473
|
},
|
|
20384
20474
|
DecayStrip: {
|
|
20385
20475
|
origin: "eidotter",
|
|
20386
|
-
consumers: [
|
|
20476
|
+
consumers: [],
|
|
20387
20477
|
since: "0.40.0",
|
|
20388
|
-
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.",
|
|
20389
20479
|
variants: {
|
|
20390
20480
|
"size:sm": {
|
|
20391
20481
|
description: "Compact strip",
|
|
@@ -20439,9 +20529,9 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20439
20529
|
},
|
|
20440
20530
|
VitalsStrip: {
|
|
20441
20531
|
origin: "eidotter",
|
|
20442
|
-
consumers: [
|
|
20532
|
+
consumers: [],
|
|
20443
20533
|
since: "0.40.0",
|
|
20444
|
-
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.",
|
|
20445
20535
|
variants: {
|
|
20446
20536
|
"size:sm": {
|
|
20447
20537
|
description: "Compact tiles",
|
|
@@ -20514,26 +20604,26 @@ var qb = ({ title: e, date: t, intro: n, home: r, embedded: i = !1, children: a,
|
|
|
20514
20604
|
}]
|
|
20515
20605
|
}
|
|
20516
20606
|
};
|
|
20517
|
-
function
|
|
20518
|
-
return
|
|
20607
|
+
function Sx(e) {
|
|
20608
|
+
return xx[e];
|
|
20519
20609
|
}
|
|
20520
|
-
function
|
|
20521
|
-
return Object.entries(
|
|
20610
|
+
function Cx(e) {
|
|
20611
|
+
return Object.entries(xx).filter(([, t]) => t.origin === e).map(([e]) => e);
|
|
20522
20612
|
}
|
|
20523
|
-
function
|
|
20524
|
-
return Object.entries(
|
|
20613
|
+
function wx(e) {
|
|
20614
|
+
return Object.entries(xx).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
|
|
20525
20615
|
}
|
|
20526
|
-
function
|
|
20527
|
-
let n =
|
|
20616
|
+
function Tx(e, t) {
|
|
20617
|
+
let n = xx[e];
|
|
20528
20618
|
return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
|
|
20529
20619
|
}
|
|
20530
|
-
function
|
|
20531
|
-
let t =
|
|
20620
|
+
function Ex(e) {
|
|
20621
|
+
let t = xx[e];
|
|
20532
20622
|
if (!t?.variants) return {};
|
|
20533
20623
|
let n = {};
|
|
20534
20624
|
for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
|
|
20535
20625
|
return n;
|
|
20536
20626
|
}
|
|
20537
20627
|
// src/index.ts
|
|
20538
|
-
var
|
|
20539
|
-
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 };
|