@danxbot/ui 18.3.0 → 18.4.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/dist/index.js +200 -202
- package/dist/index.js.map +1 -1
- package/dist/types/components/SortMenu.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as d, jsxs as I, Fragment as
|
|
1
|
+
import { jsx as d, jsxs as I, Fragment as et } from "react/jsx-runtime";
|
|
2
2
|
import * as y from "react";
|
|
3
3
|
import Ou, { createElement as Jx, useLayoutEffect as bn, useState as ie, useRef as Ce, useId as Rt, Component as $2, useCallback as Ie, useEffect as Fe, createContext as Pn, useContext as On, useMemo as De, memo as Au, useImperativeHandle as F2, Fragment as jh, useSyncExternalStore as Lr, Children as V2, isValidElement as L2, cloneElement as z2 } from "react";
|
|
4
4
|
import * as In from "react-dom";
|
|
@@ -13820,7 +13820,7 @@ const ME = ft({
|
|
|
13820
13820
|
fullWidth: !1
|
|
13821
13821
|
}
|
|
13822
13822
|
}), tF = { "2xs": "xs", xs: "xs", sm: "sm", md: "md", lg: "lg", xl: "xl", list: "md" };
|
|
13823
|
-
function
|
|
13823
|
+
function tt({
|
|
13824
13824
|
className: e,
|
|
13825
13825
|
variant: t,
|
|
13826
13826
|
size: n,
|
|
@@ -13881,7 +13881,7 @@ function et({
|
|
|
13881
13881
|
"aria-busy": i || void 0,
|
|
13882
13882
|
onPointerDown: T,
|
|
13883
13883
|
onClick: M,
|
|
13884
|
-
children: /* @__PURE__ */ I(
|
|
13884
|
+
children: /* @__PURE__ */ I(et, { children: [
|
|
13885
13885
|
v.map((_) => /* @__PURE__ */ d(
|
|
13886
13886
|
"span",
|
|
13887
13887
|
{
|
|
@@ -13929,7 +13929,7 @@ function LY({
|
|
|
13929
13929
|
...i
|
|
13930
13930
|
}) {
|
|
13931
13931
|
return /* @__PURE__ */ d(
|
|
13932
|
-
|
|
13932
|
+
tt,
|
|
13933
13933
|
{
|
|
13934
13934
|
variant: o,
|
|
13935
13935
|
size: "list",
|
|
@@ -13956,7 +13956,7 @@ const nF = {
|
|
|
13956
13956
|
outline: { neutral: "outline", danger: "outline-danger" },
|
|
13957
13957
|
solid: { neutral: "solid", danger: "danger" }
|
|
13958
13958
|
};
|
|
13959
|
-
function
|
|
13959
|
+
function mt({
|
|
13960
13960
|
icon: e,
|
|
13961
13961
|
label: t,
|
|
13962
13962
|
variant: n = "ghost",
|
|
@@ -13970,7 +13970,7 @@ function gt({
|
|
|
13970
13970
|
...u
|
|
13971
13971
|
}) {
|
|
13972
13972
|
const p = s !== void 0, f = /* @__PURE__ */ d(
|
|
13973
|
-
|
|
13973
|
+
tt,
|
|
13974
13974
|
{
|
|
13975
13975
|
variant: nF[n][p ? "neutral" : r],
|
|
13976
13976
|
size: o,
|
|
@@ -15307,7 +15307,7 @@ const hF = ft({
|
|
|
15307
15307
|
},
|
|
15308
15308
|
defaultVariants: { layout: "stacked" }
|
|
15309
15309
|
});
|
|
15310
|
-
function
|
|
15310
|
+
function gt({
|
|
15311
15311
|
label: e,
|
|
15312
15312
|
description: t,
|
|
15313
15313
|
error: n,
|
|
@@ -15341,14 +15341,14 @@ function mt({
|
|
|
15341
15341
|
disabled: o,
|
|
15342
15342
|
invalid: p,
|
|
15343
15343
|
className: B(u.root(), a),
|
|
15344
|
-
children: i === "inline" ? /* @__PURE__ */ I(
|
|
15344
|
+
children: i === "inline" ? /* @__PURE__ */ I(et, { children: [
|
|
15345
15345
|
c,
|
|
15346
15346
|
/* @__PURE__ */ I("div", { className: "flex min-w-0 flex-col gap-0.5", children: [
|
|
15347
15347
|
f,
|
|
15348
15348
|
h,
|
|
15349
15349
|
m
|
|
15350
15350
|
] })
|
|
15351
|
-
] }) : /* @__PURE__ */ I(
|
|
15351
|
+
] }) : /* @__PURE__ */ I(et, { children: [
|
|
15352
15352
|
f,
|
|
15353
15353
|
c,
|
|
15354
15354
|
h,
|
|
@@ -16129,7 +16129,7 @@ function jY({
|
|
|
16129
16129
|
"[@media(any-hover:hover)]:group-hover/edit-gutter:pointer-events-auto",
|
|
16130
16130
|
"has-focus-visible:opacity-100 has-focus-visible:pointer-events-auto"
|
|
16131
16131
|
),
|
|
16132
|
-
children: /* @__PURE__ */ d(
|
|
16132
|
+
children: /* @__PURE__ */ d(mt, { icon: /* @__PURE__ */ d(ue, { name: "pencil", size: i }), label: e, size: i, onClick: () => c(!0) })
|
|
16133
16133
|
}
|
|
16134
16134
|
),
|
|
16135
16135
|
t({ editing: a, onEditingChange: c })
|
|
@@ -17756,7 +17756,7 @@ function ms({
|
|
|
17756
17756
|
Wa,
|
|
17757
17757
|
{
|
|
17758
17758
|
render: /* @__PURE__ */ d(
|
|
17759
|
-
|
|
17759
|
+
mt,
|
|
17760
17760
|
{
|
|
17761
17761
|
label: "Close",
|
|
17762
17762
|
hideTooltip: !0,
|
|
@@ -17829,7 +17829,7 @@ function kV({
|
|
|
17829
17829
|
confirmText: l
|
|
17830
17830
|
}) {
|
|
17831
17831
|
const [u, p] = ie(""), f = l === void 0 || u === l;
|
|
17832
|
-
return /* @__PURE__ */ I(
|
|
17832
|
+
return /* @__PURE__ */ I(et, { children: [
|
|
17833
17833
|
/* @__PURE__ */ I("div", { className: "flex items-start gap-4 p-6", children: [
|
|
17834
17834
|
s && /* @__PURE__ */ d("span", { className: "grid size-10 shrink-0 place-items-center rounded-full bg-danger-subtle text-danger-text", children: /* @__PURE__ */ d(ue, { name: "triangle-alert", size: "md" }) }),
|
|
17835
17835
|
i === "warning" && /* @__PURE__ */ d("span", { className: "grid size-10 shrink-0 place-items-center rounded-full bg-warning-subtle text-warning-text", children: /* @__PURE__ */ d(ue, { name: "triangle-alert", size: "md" }) }),
|
|
@@ -17837,10 +17837,10 @@ function kV({
|
|
|
17837
17837
|
/* @__PURE__ */ d(Ya, { className: e.title(), children: t }),
|
|
17838
17838
|
n && /* @__PURE__ */ d(fg, { className: e.description(), children: n }),
|
|
17839
17839
|
l !== void 0 && /* @__PURE__ */ d(
|
|
17840
|
-
|
|
17840
|
+
gt,
|
|
17841
17841
|
{
|
|
17842
17842
|
className: "mt-4",
|
|
17843
|
-
label: /* @__PURE__ */ I(
|
|
17843
|
+
label: /* @__PURE__ */ I(et, { children: [
|
|
17844
17844
|
"Type ",
|
|
17845
17845
|
/* @__PURE__ */ d("strong", { className: "font-mono font-semibold text-primary", children: l }),
|
|
17846
17846
|
" to confirm"
|
|
@@ -17863,9 +17863,9 @@ function kV({
|
|
|
17863
17863
|
] })
|
|
17864
17864
|
] }),
|
|
17865
17865
|
/* @__PURE__ */ I("div", { className: "flex flex-wrap items-center justify-end gap-2.5 px-6 pb-6", children: [
|
|
17866
|
-
/* @__PURE__ */ d(Wa, { render: /* @__PURE__ */ d(
|
|
17866
|
+
/* @__PURE__ */ d(Wa, { render: /* @__PURE__ */ d(tt, { variant: "outline", children: o }) }),
|
|
17867
17867
|
/* @__PURE__ */ d(
|
|
17868
|
-
|
|
17868
|
+
tt,
|
|
17869
17869
|
{
|
|
17870
17870
|
variant: s ? "danger" : i === "warning" ? "warning" : "solid",
|
|
17871
17871
|
loading: a,
|
|
@@ -17910,12 +17910,12 @@ function RV({ node: e, renderCode: t }) {
|
|
|
17910
17910
|
case "paragraph":
|
|
17911
17911
|
return /* @__PURE__ */ d("p", { className: "my-1.5 first:mt-0 last:mb-0", children: /* @__PURE__ */ d(Tr, { nodes: e.children }) });
|
|
17912
17912
|
case "code":
|
|
17913
|
-
return /* @__PURE__ */ d(
|
|
17913
|
+
return /* @__PURE__ */ d(et, { children: t(e) });
|
|
17914
17914
|
/* Front matter is a code block that happens to sit at the top of the file,
|
|
17915
17915
|
so it renders through the same consumer-supplied renderer — which is also
|
|
17916
17916
|
what gets it highlighted as YAML rather than shown as grey prose. */
|
|
17917
17917
|
case "frontmatter":
|
|
17918
|
-
return /* @__PURE__ */ d(
|
|
17918
|
+
return /* @__PURE__ */ d(et, { children: t({ language: e.language, code: e.body, open: !1 }) });
|
|
17919
17919
|
case "quote":
|
|
17920
17920
|
return /* @__PURE__ */ d("blockquote", { className: "my-2 border-l-2 border-accent-border pl-3 text-secondary italic", children: /* @__PURE__ */ d(Xa, { nodes: e.children, renderCode: t }) });
|
|
17921
17921
|
case "rule":
|
|
@@ -18032,7 +18032,7 @@ function Tr({ nodes: e }) {
|
|
|
18032
18032
|
function AV({ node: e }) {
|
|
18033
18033
|
switch (e.kind) {
|
|
18034
18034
|
case "text":
|
|
18035
|
-
return /* @__PURE__ */ d(
|
|
18035
|
+
return /* @__PURE__ */ d(et, { children: e.value });
|
|
18036
18036
|
case "code":
|
|
18037
18037
|
return /* @__PURE__ */ d("code", { className: OV, children: e.value });
|
|
18038
18038
|
case "emphasis":
|
|
@@ -18069,7 +18069,7 @@ function AV({ node: e }) {
|
|
|
18069
18069
|
}
|
|
18070
18070
|
function DV({ src: e, alt: t, title: n }) {
|
|
18071
18071
|
const [r, o] = ie(!1);
|
|
18072
|
-
return /* @__PURE__ */ I(
|
|
18072
|
+
return /* @__PURE__ */ I(et, { children: [
|
|
18073
18073
|
/* @__PURE__ */ d(pS, { title: n, children: /* @__PURE__ */ d(
|
|
18074
18074
|
"img",
|
|
18075
18075
|
{
|
|
@@ -18903,7 +18903,7 @@ const SL = Au(function({
|
|
|
18903
18903
|
source: t,
|
|
18904
18904
|
tokens: n
|
|
18905
18905
|
}) {
|
|
18906
|
-
return /* @__PURE__ */ I(
|
|
18906
|
+
return /* @__PURE__ */ I(et, { children: [
|
|
18907
18907
|
n.map((r, o) => /* @__PURE__ */ d("span", { "data-t": r.type, "data-l": r.lang, children: t.slice(r.start, r.end) }, o)),
|
|
18908
18908
|
`
|
|
18909
18909
|
`
|
|
@@ -18912,7 +18912,7 @@ const SL = Au(function({
|
|
|
18912
18912
|
count: t,
|
|
18913
18913
|
from: n
|
|
18914
18914
|
}) {
|
|
18915
|
-
return /* @__PURE__ */ d(
|
|
18915
|
+
return /* @__PURE__ */ d(et, { children: Array.from({ length: t }, (r, o) => /* @__PURE__ */ d("span", { className: "block", children: n + o }, o)) });
|
|
18916
18916
|
}), Ns = ft({
|
|
18917
18917
|
slots: {
|
|
18918
18918
|
/* min-w-0 + max-w-full is the fix for the defect this repo has already
|
|
@@ -24169,7 +24169,7 @@ function Jy({ surface: e, state: t, run: n, container: r, external: o }) {
|
|
|
24169
24169
|
a menu, it does not drag anything, and a grip glyph told the
|
|
24170
24170
|
opposite story. */
|
|
24171
24171
|
/* @__PURE__ */ d(
|
|
24172
|
-
|
|
24172
|
+
tt,
|
|
24173
24173
|
{
|
|
24174
24174
|
variant: "ghost",
|
|
24175
24175
|
size: "sm",
|
|
@@ -24258,7 +24258,7 @@ function J5({
|
|
|
24258
24258
|
run: n
|
|
24259
24259
|
}) {
|
|
24260
24260
|
const r = t.start, o = (s) => () => q5(e.getProjection(), r, s);
|
|
24261
|
-
return /* @__PURE__ */ I(
|
|
24261
|
+
return /* @__PURE__ */ I(et, { children: [
|
|
24262
24262
|
/* @__PURE__ */ d(
|
|
24263
24263
|
"input",
|
|
24264
24264
|
{
|
|
@@ -24322,7 +24322,7 @@ function e4({ language: e, run: t }) {
|
|
|
24322
24322
|
] });
|
|
24323
24323
|
}
|
|
24324
24324
|
function t4({ run: e }) {
|
|
24325
|
-
return /* @__PURE__ */ I(
|
|
24325
|
+
return /* @__PURE__ */ I(et, { children: [
|
|
24326
24326
|
/* @__PURE__ */ d(Ir, { icon: "align-left", label: "Align left", onClick: () => e(Xs("left")) }),
|
|
24327
24327
|
/* @__PURE__ */ d(Ir, { icon: "align-center", label: "Align centre", onClick: () => e(Xs("center")) }),
|
|
24328
24328
|
/* @__PURE__ */ d(Ir, { icon: "align-right", label: "Align right", onClick: () => e(Xs("right")) }),
|
|
@@ -24338,7 +24338,7 @@ function t4({ run: e }) {
|
|
|
24338
24338
|
const ew = () => /* @__PURE__ */ d("span", { className: "mx-0.5 h-4 w-px bg-border-subtle" });
|
|
24339
24339
|
function Ir({ icon: e, label: t, onClick: n }) {
|
|
24340
24340
|
return /* @__PURE__ */ d(qt, { content: t, children: /* @__PURE__ */ d(
|
|
24341
|
-
|
|
24341
|
+
tt,
|
|
24342
24342
|
{
|
|
24343
24343
|
variant: "ghost",
|
|
24344
24344
|
size: "sm",
|
|
@@ -24480,7 +24480,7 @@ function l4({ state: e, onRetry: t }) {
|
|
|
24480
24480
|
tone: "danger",
|
|
24481
24481
|
className: n,
|
|
24482
24482
|
title: `${jf(e.failed)} failed to upload`,
|
|
24483
|
-
actions: e.retryable > 0 ? /* @__PURE__ */ I(
|
|
24483
|
+
actions: e.retryable > 0 ? /* @__PURE__ */ I(tt, { size: "sm", variant: "outline", onClick: t, children: [
|
|
24484
24484
|
/* @__PURE__ */ d(ue, { name: "rotate-ccw", size: "sm" }),
|
|
24485
24485
|
"Retry"
|
|
24486
24486
|
] }) : void 0,
|
|
@@ -24726,7 +24726,7 @@ function p4({
|
|
|
24726
24726
|
u4.map((W) => {
|
|
24727
24727
|
const j = W.isActive?.(Y) ?? !1;
|
|
24728
24728
|
return /* @__PURE__ */ d(qt, { content: W.hotkey ? `${W.label} · ${W.hotkey}` : W.label, children: /* @__PURE__ */ d(
|
|
24729
|
-
|
|
24729
|
+
tt,
|
|
24730
24730
|
{
|
|
24731
24731
|
variant: "ghost",
|
|
24732
24732
|
size: "sm",
|
|
@@ -24757,7 +24757,7 @@ function p4({
|
|
|
24757
24757
|
{
|
|
24758
24758
|
align: "end",
|
|
24759
24759
|
width: "28rem",
|
|
24760
|
-
trigger: /* @__PURE__ */ d(
|
|
24760
|
+
trigger: /* @__PURE__ */ d(tt, { variant: "ghost", size: "sm", "aria-label": "Keyboard shortcuts", children: /* @__PURE__ */ d(ue, { name: "keyboard", className: "size-4" }) }),
|
|
24761
24761
|
children: /* @__PURE__ */ d("div", { className: "grid grid-cols-1 items-baseline gap-x-4 gap-y-0.5 sm:grid-cols-[max-content_max-content]", children: K.map(([W, j]) => /* @__PURE__ */ I(jh, { children: [
|
|
24762
24762
|
/* @__PURE__ */ d("h4", { className: "col-span-2 px-1 pt-2 pb-1 text-xs font-semibold uppercase tracking-wide text-tertiary first:pt-0", children: f4[W] }),
|
|
24763
24763
|
j.map((Z) => /* @__PURE__ */ I(
|
|
@@ -24787,7 +24787,7 @@ function p4({
|
|
|
24787
24787
|
m ? /* @__PURE__ */ d("div", { className: "absolute inset-x-0 bottom-full z-20 mb-1", children: X }) : X,
|
|
24788
24788
|
m && !n && /* @__PURE__ */ d(Jy, { surface: A, state: Y, run: G, container: $, external: !0 }),
|
|
24789
24789
|
/* @__PURE__ */ I("div", { ref: z, className: "relative min-w-0 overflow-x-auto", children: [
|
|
24790
|
-
!n && /* @__PURE__ */ I(
|
|
24790
|
+
!n && /* @__PURE__ */ I(et, { children: [
|
|
24791
24791
|
!m && /* @__PURE__ */ d(Jy, { surface: A, state: Y, run: G, container: $ }),
|
|
24792
24792
|
/* @__PURE__ */ d(Q5, { surface: A, state: Y, run: G, container: $ }),
|
|
24793
24793
|
/* @__PURE__ */ d(n4, { surface: A, state: Y, run: G, container: $ })
|
|
@@ -25053,7 +25053,7 @@ function v4({
|
|
|
25053
25053
|
)
|
|
25054
25054
|
] }),
|
|
25055
25055
|
g && /* @__PURE__ */ d(
|
|
25056
|
-
|
|
25056
|
+
tt,
|
|
25057
25057
|
{
|
|
25058
25058
|
ref: R,
|
|
25059
25059
|
type: "button",
|
|
@@ -25272,7 +25272,7 @@ function k4({
|
|
|
25272
25272
|
] })
|
|
25273
25273
|
] }) : void 0;
|
|
25274
25274
|
return /* @__PURE__ */ d(
|
|
25275
|
-
|
|
25275
|
+
gt,
|
|
25276
25276
|
{
|
|
25277
25277
|
label: c,
|
|
25278
25278
|
description: $,
|
|
@@ -25326,7 +25326,7 @@ function k4({
|
|
|
25326
25326
|
produces, so only the icon inside the slot mounts and unmounts,
|
|
25327
25327
|
never the input that owns focus. */
|
|
25328
25328
|
i ? R ? /* @__PURE__ */ d(
|
|
25329
|
-
|
|
25329
|
+
mt,
|
|
25330
25330
|
{
|
|
25331
25331
|
icon: /* @__PURE__ */ d(ue, { name: v ? "eye-off" : "eye", size: "sm" }),
|
|
25332
25332
|
label: v ? "Hide typed secret" : "Show typed secret",
|
|
@@ -25342,14 +25342,14 @@ function k4({
|
|
|
25342
25342
|
N ? /* @__PURE__ */ I("div", { className: w.pendingBanner(), children: [
|
|
25343
25343
|
/* @__PURE__ */ d(ue, { name: "triangle-alert", size: "xs" }),
|
|
25344
25344
|
/* @__PURE__ */ d("span", { className: "flex-1", children: "This secret will be removed when you save." }),
|
|
25345
|
-
/* @__PURE__ */ d(
|
|
25345
|
+
/* @__PURE__ */ d(tt, { variant: "link", size: "xs", disabled: f, onClick: D, children: "Undo" })
|
|
25346
25346
|
] }) : T && /* @__PURE__ */ d("div", { children: /* @__PURE__ */ d(
|
|
25347
25347
|
ks,
|
|
25348
25348
|
{
|
|
25349
25349
|
open: E,
|
|
25350
25350
|
onOpenChange: S,
|
|
25351
25351
|
trigger: /* @__PURE__ */ d(
|
|
25352
|
-
|
|
25352
|
+
tt,
|
|
25353
25353
|
{
|
|
25354
25354
|
variant: "ghost-danger",
|
|
25355
25355
|
size: "xs",
|
|
@@ -25383,7 +25383,7 @@ function is({ revealable: e = !0, autoComplete: t, ...n }) {
|
|
|
25383
25383
|
type: e && r ? "text" : "password",
|
|
25384
25384
|
autoComplete: t ?? "current-password",
|
|
25385
25385
|
trailing: e ? /* @__PURE__ */ d(
|
|
25386
|
-
|
|
25386
|
+
mt,
|
|
25387
25387
|
{
|
|
25388
25388
|
icon: /* @__PURE__ */ d(ue, { name: r ? "eye-off" : "eye", size: "sm" }),
|
|
25389
25389
|
label: r ? "Hide password" : "Show password",
|
|
@@ -26899,7 +26899,7 @@ function cX({
|
|
|
26899
26899
|
i?.();
|
|
26900
26900
|
}
|
|
26901
26901
|
const b = s !== void 0 && /* @__PURE__ */ I(
|
|
26902
|
-
|
|
26902
|
+
tt,
|
|
26903
26903
|
{
|
|
26904
26904
|
size: "sm",
|
|
26905
26905
|
variant: p ? "outline" : r === "unknown" ? "solid" : "outline",
|
|
@@ -27897,7 +27897,7 @@ function l3({
|
|
|
27897
27897
|
...i
|
|
27898
27898
|
}) {
|
|
27899
27899
|
return /* @__PURE__ */ d(
|
|
27900
|
-
|
|
27900
|
+
gt,
|
|
27901
27901
|
{
|
|
27902
27902
|
layout: "inline",
|
|
27903
27903
|
label: e,
|
|
@@ -27920,7 +27920,7 @@ function uX({
|
|
|
27920
27920
|
...i
|
|
27921
27921
|
}) {
|
|
27922
27922
|
return /* @__PURE__ */ d(
|
|
27923
|
-
|
|
27923
|
+
gt,
|
|
27924
27924
|
{
|
|
27925
27925
|
layout: "inline",
|
|
27926
27926
|
label: e,
|
|
@@ -27943,7 +27943,7 @@ function dX({
|
|
|
27943
27943
|
...i
|
|
27944
27944
|
}) {
|
|
27945
27945
|
return /* @__PURE__ */ d(
|
|
27946
|
-
|
|
27946
|
+
gt,
|
|
27947
27947
|
{
|
|
27948
27948
|
layout: "inline",
|
|
27949
27949
|
label: e,
|
|
@@ -29062,7 +29062,7 @@ function pX({ position: e = "bottom-right" }) {
|
|
|
29062
29062
|
kN,
|
|
29063
29063
|
{
|
|
29064
29064
|
className: "mt-2.5",
|
|
29065
|
-
render: /* @__PURE__ */ d(
|
|
29065
|
+
render: /* @__PURE__ */ d(tt, { size: "sm", variant: "outline" })
|
|
29066
29066
|
}
|
|
29067
29067
|
)
|
|
29068
29068
|
] }),
|
|
@@ -29075,7 +29075,7 @@ function pX({ position: e = "bottom-right" }) {
|
|
|
29075
29075
|
`IconButton`'s required `label` makes it impossible to
|
|
29076
29076
|
drop — which is the whole point of routing through it. */
|
|
29077
29077
|
/* @__PURE__ */ d(
|
|
29078
|
-
|
|
29078
|
+
mt,
|
|
29079
29079
|
{
|
|
29080
29080
|
label: "Dismiss",
|
|
29081
29081
|
hideTooltip: !0,
|
|
@@ -30380,7 +30380,7 @@ function gX({ className: e, triggerClassName: t, iconOnly: n = !1 }) {
|
|
|
30380
30380
|
width: "calc(20rem*var(--ui-scale))",
|
|
30381
30381
|
className: e,
|
|
30382
30382
|
trigger: /* @__PURE__ */ I(
|
|
30383
|
-
|
|
30383
|
+
tt,
|
|
30384
30384
|
{
|
|
30385
30385
|
size: "sm",
|
|
30386
30386
|
variant: "outline",
|
|
@@ -30502,7 +30502,7 @@ function W3(e) {
|
|
|
30502
30502
|
].join(" ");
|
|
30503
30503
|
}
|
|
30504
30504
|
function fh({ sections: e, activeId: t, collapsed: n = !1, onNavigate: r }) {
|
|
30505
|
-
return /* @__PURE__ */ d(
|
|
30505
|
+
return /* @__PURE__ */ d(et, { children: e.map((o, s) => /* @__PURE__ */ I("div", { className: "flex flex-col gap-0.5", children: [
|
|
30506
30506
|
o.label && !n && /* @__PURE__ */ d("span", { className: "px-2 pt-1 pb-1.5 text-2xs font-semibold tracking-widest text-tertiary uppercase", children: o.label }),
|
|
30507
30507
|
o.items.map((i) => /* @__PURE__ */ d(
|
|
30508
30508
|
K3,
|
|
@@ -30545,7 +30545,7 @@ function K3({
|
|
|
30545
30545
|
),
|
|
30546
30546
|
children: [
|
|
30547
30547
|
/* @__PURE__ */ d(ue, { name: e.icon, size: "sm", className: "shrink-0" }),
|
|
30548
|
-
!n && /* @__PURE__ */ I(
|
|
30548
|
+
!n && /* @__PURE__ */ I(et, { children: [
|
|
30549
30549
|
/* @__PURE__ */ d("span", { className: "min-w-0 flex-1 truncate", children: e.label }),
|
|
30550
30550
|
e.badge
|
|
30551
30551
|
] })
|
|
@@ -30614,7 +30614,7 @@ function bX({
|
|
|
30614
30614
|
/* @__PURE__ */ I("div", { className: B("flex h-control-xl shrink-0 items-center gap-2 px-3", g && "justify-center"), children: [
|
|
30615
30615
|
!g && /* @__PURE__ */ d("div", { className: "min-w-0 flex-1", children: e }),
|
|
30616
30616
|
/* @__PURE__ */ d(
|
|
30617
|
-
|
|
30617
|
+
mt,
|
|
30618
30618
|
{
|
|
30619
30619
|
label: g ? "Expand sidebar" : "Collapse sidebar",
|
|
30620
30620
|
tooltipSide: "right",
|
|
@@ -30660,7 +30660,7 @@ function bX({
|
|
|
30660
30660
|
into, and a tooltip wrapper would swallow both. The name
|
|
30661
30661
|
still comes from `label` — that part is never optional. */
|
|
30662
30662
|
/* @__PURE__ */ d(
|
|
30663
|
-
|
|
30663
|
+
mt,
|
|
30664
30664
|
{
|
|
30665
30665
|
label: "Open navigation",
|
|
30666
30666
|
hideTooltip: !0,
|
|
@@ -30693,7 +30693,7 @@ function bX({
|
|
|
30693
30693
|
Wa,
|
|
30694
30694
|
{
|
|
30695
30695
|
render: /* @__PURE__ */ d(
|
|
30696
|
-
|
|
30696
|
+
mt,
|
|
30697
30697
|
{
|
|
30698
30698
|
label: "Close navigation",
|
|
30699
30699
|
hideTooltip: !0,
|
|
@@ -30792,7 +30792,7 @@ function Z3({ sections: e, activeId: t, label: n, className: r }) {
|
|
|
30792
30792
|
width: "20rem",
|
|
30793
30793
|
className: "p-2",
|
|
30794
30794
|
trigger: /* @__PURE__ */ d(
|
|
30795
|
-
|
|
30795
|
+
tt,
|
|
30796
30796
|
{
|
|
30797
30797
|
variant: "outline",
|
|
30798
30798
|
fullWidth: !0,
|
|
@@ -30936,7 +30936,7 @@ function rB({ block: e }) {
|
|
|
30936
30936
|
tB(e.text) && "border-l-2 border-border-strong pl-4 text-xs leading-6 tracking-[0.02em] text-secondary"
|
|
30937
30937
|
),
|
|
30938
30938
|
children: [
|
|
30939
|
-
e.clause ? /* @__PURE__ */ I(
|
|
30939
|
+
e.clause ? /* @__PURE__ */ I(et, { children: [
|
|
30940
30940
|
/* @__PURE__ */ I("strong", { className: "font-semibold text-primary", children: [
|
|
30941
30941
|
e.clause.number,
|
|
30942
30942
|
" ",
|
|
@@ -31661,7 +31661,7 @@ function hB({
|
|
|
31661
31661
|
x.error ? /* @__PURE__ */ d("span", { className: "text-2xs text-danger-text", children: x.error }) : x.progress !== void 0 && x.progress < 100 && /* @__PURE__ */ d(iB, { value: x.progress, size: "sm", showValue: !1 })
|
|
31662
31662
|
] }),
|
|
31663
31663
|
/* @__PURE__ */ d(
|
|
31664
|
-
|
|
31664
|
+
mt,
|
|
31665
31665
|
{
|
|
31666
31666
|
size: "xs",
|
|
31667
31667
|
tone: "danger",
|
|
@@ -31751,7 +31751,7 @@ function cR({
|
|
|
31751
31751
|
/* @__PURE__ */ I("div", { className: "flex flex-col gap-1.5", children: [
|
|
31752
31752
|
/* @__PURE__ */ I("div", { className: "flex items-center gap-1.5", children: [
|
|
31753
31753
|
/* @__PURE__ */ d(
|
|
31754
|
-
|
|
31754
|
+
mt,
|
|
31755
31755
|
{
|
|
31756
31756
|
icon: /* @__PURE__ */ d(ue, { name: "upload", size: "sm" }),
|
|
31757
31757
|
label: p,
|
|
@@ -31761,7 +31761,7 @@ function cR({
|
|
|
31761
31761
|
}
|
|
31762
31762
|
),
|
|
31763
31763
|
s && /* @__PURE__ */ d(
|
|
31764
|
-
|
|
31764
|
+
mt,
|
|
31765
31765
|
{
|
|
31766
31766
|
icon: /* @__PURE__ */ d(ue, { name: "trash-2", size: "sm" }),
|
|
31767
31767
|
label: f,
|
|
@@ -31865,7 +31865,7 @@ function dR({
|
|
|
31865
31865
|
/* @__PURE__ */ I("div", { className: B("flex w-full flex-col gap-3", i), children: [
|
|
31866
31866
|
/* @__PURE__ */ I("div", { className: "flex items-center justify-between gap-2", children: [
|
|
31867
31867
|
/* @__PURE__ */ d(
|
|
31868
|
-
|
|
31868
|
+
mt,
|
|
31869
31869
|
{
|
|
31870
31870
|
label: "Previous month",
|
|
31871
31871
|
icon: /* @__PURE__ */ d(ue, { name: "chevron-left", size: "sm" }),
|
|
@@ -31874,7 +31874,7 @@ function dR({
|
|
|
31874
31874
|
),
|
|
31875
31875
|
/* @__PURE__ */ d("span", { "aria-live": "polite", className: "text-sm font-semibold text-primary", children: u.toLocaleDateString(void 0, { month: "long", year: "numeric" }) }),
|
|
31876
31876
|
/* @__PURE__ */ d(
|
|
31877
|
-
|
|
31877
|
+
mt,
|
|
31878
31878
|
{
|
|
31879
31879
|
label: "Next month",
|
|
31880
31880
|
icon: /* @__PURE__ */ d(ue, { name: "chevron-right", size: "sm" }),
|
|
@@ -31933,7 +31933,7 @@ function dR({
|
|
|
31933
31933
|
] }),
|
|
31934
31934
|
/* @__PURE__ */ I("div", { className: "flex items-center justify-between gap-2 border-t border-border-subtle pt-2.5", children: [
|
|
31935
31935
|
/* @__PURE__ */ d(
|
|
31936
|
-
|
|
31936
|
+
tt,
|
|
31937
31937
|
{
|
|
31938
31938
|
size: "sm",
|
|
31939
31939
|
variant: "ghost",
|
|
@@ -31943,7 +31943,7 @@ function dR({
|
|
|
31943
31943
|
children: "Today"
|
|
31944
31944
|
}
|
|
31945
31945
|
),
|
|
31946
|
-
/* @__PURE__ */ d(
|
|
31946
|
+
/* @__PURE__ */ d(tt, { size: "sm", variant: "ghost", onClick: () => t?.(n ? { from: null, to: null } : null), children: "Clear" })
|
|
31947
31947
|
] })
|
|
31948
31948
|
] })
|
|
31949
31949
|
);
|
|
@@ -31968,7 +31968,7 @@ function vX({
|
|
|
31968
31968
|
align: "start",
|
|
31969
31969
|
className: B(uR, l),
|
|
31970
31970
|
trigger: /* @__PURE__ */ d(
|
|
31971
|
-
|
|
31971
|
+
tt,
|
|
31972
31972
|
{
|
|
31973
31973
|
variant: "outline",
|
|
31974
31974
|
disabled: a,
|
|
@@ -32170,7 +32170,7 @@ function MB({
|
|
|
32170
32170
|
className: uR,
|
|
32171
32171
|
"aria-label": `${r} — calendar`,
|
|
32172
32172
|
trigger: /* @__PURE__ */ d(
|
|
32173
|
-
|
|
32173
|
+
mt,
|
|
32174
32174
|
{
|
|
32175
32175
|
label: "Choose from a calendar",
|
|
32176
32176
|
icon: /* @__PURE__ */ d(ue, { name: "calendar", size: "sm" }),
|
|
@@ -37638,15 +37638,13 @@ function DX({
|
|
|
37638
37638
|
"aria-labelledby": a,
|
|
37639
37639
|
width: "calc(16rem*var(--ui-scale))",
|
|
37640
37640
|
trigger: /* @__PURE__ */ d(
|
|
37641
|
-
|
|
37641
|
+
mt,
|
|
37642
37642
|
{
|
|
37643
|
+
icon: /* @__PURE__ */ d(ue, { name: t.direction === "asc" ? "arrow-up" : "arrow-down", size: "sm" }),
|
|
37644
|
+
label: `${r}: ${c.label}, ${l}`,
|
|
37643
37645
|
variant: "outline",
|
|
37644
37646
|
size: o,
|
|
37645
|
-
|
|
37646
|
-
className: B("justify-between gap-1.5", i),
|
|
37647
|
-
leadingIcon: /* @__PURE__ */ d(ue, { name: t.direction === "asc" ? "arrow-up" : "arrow-down", size: "xs" }),
|
|
37648
|
-
trailingIcon: /* @__PURE__ */ d(ue, { name: "chevron-down", size: "xs", className: "text-tertiary" }),
|
|
37649
|
-
children: /* @__PURE__ */ d("span", { className: "min-w-0 truncate", children: c.label })
|
|
37647
|
+
className: i
|
|
37650
37648
|
}
|
|
37651
37649
|
),
|
|
37652
37650
|
children: /* @__PURE__ */ I("div", { className: "flex w-full min-w-0 flex-col gap-0.5", children: [
|
|
@@ -37656,7 +37654,7 @@ function DX({
|
|
|
37656
37654
|
/* @__PURE__ */ d("span", { className: "flex shrink-0 items-center gap-0.5", children: ["asc", "desc"].map((p) => {
|
|
37657
37655
|
const f = u.value === t.field && p === t.direction, h = Vw(u, p);
|
|
37658
37656
|
return /* @__PURE__ */ d(go, { children: /* @__PURE__ */ d(
|
|
37659
|
-
|
|
37657
|
+
mt,
|
|
37660
37658
|
{
|
|
37661
37659
|
icon: /* @__PURE__ */ d(ue, { name: p === "asc" ? "arrow-up" : "arrow-down", size: "xs" }),
|
|
37662
37660
|
label: `${u.label}: ${h}`,
|
|
@@ -37814,7 +37812,7 @@ function _X({
|
|
|
37814
37812
|
props: {
|
|
37815
37813
|
className: B(b.root(), f),
|
|
37816
37814
|
...g,
|
|
37817
|
-
children: /* @__PURE__ */ I(
|
|
37815
|
+
children: /* @__PURE__ */ I(et, { children: [
|
|
37818
37816
|
x && /* @__PURE__ */ I("div", { className: b.top(), children: [
|
|
37819
37817
|
s,
|
|
37820
37818
|
/* @__PURE__ */ I("div", { className: B("flex flex-1 flex-col gap-0.5", i ? void 0 : "min-w-0"), children: [
|
|
@@ -38897,7 +38895,7 @@ function y6({
|
|
|
38897
38895
|
const s = al("sm"), i = w6(e, t, s ? 0 : r);
|
|
38898
38896
|
return /* @__PURE__ */ I("nav", { "aria-label": "Pagination", className: B("flex items-center gap-1", o), children: [
|
|
38899
38897
|
/* @__PURE__ */ d(
|
|
38900
|
-
|
|
38898
|
+
mt,
|
|
38901
38899
|
{
|
|
38902
38900
|
label: "Previous page",
|
|
38903
38901
|
icon: /* @__PURE__ */ d(ue, { name: "chevron-left", size: "sm" }),
|
|
@@ -38907,7 +38905,7 @@ function y6({
|
|
|
38907
38905
|
),
|
|
38908
38906
|
i.map(
|
|
38909
38907
|
(a, c) => a === "gap" ? /* @__PURE__ */ d("span", { className: "px-1 text-tertiary", "aria-hidden": !0, children: "…" }, `gap-${c}`) : /* @__PURE__ */ d(
|
|
38910
|
-
|
|
38908
|
+
tt,
|
|
38911
38909
|
{
|
|
38912
38910
|
size: "sm",
|
|
38913
38911
|
variant: a === e ? "solid" : "ghost",
|
|
@@ -38921,7 +38919,7 @@ function y6({
|
|
|
38921
38919
|
)
|
|
38922
38920
|
),
|
|
38923
38921
|
/* @__PURE__ */ d(
|
|
38924
|
-
|
|
38922
|
+
mt,
|
|
38925
38923
|
{
|
|
38926
38924
|
label: "Next page",
|
|
38927
38925
|
icon: /* @__PURE__ */ d(ue, { name: "chevron-right", size: "sm" }),
|
|
@@ -38976,7 +38974,7 @@ function C6({
|
|
|
38976
38974
|
{
|
|
38977
38975
|
align: "end",
|
|
38978
38976
|
trigger: /* @__PURE__ */ I(
|
|
38979
|
-
|
|
38977
|
+
tt,
|
|
38980
38978
|
{
|
|
38981
38979
|
size: "sm",
|
|
38982
38980
|
variant: "outline",
|
|
@@ -39003,7 +39001,7 @@ function C6({
|
|
|
39003
39001
|
),
|
|
39004
39002
|
i === "numbered" ? l > 1 && /* @__PURE__ */ d(y6, { page: u, pageCount: l, onPageChange: o }) : /* @__PURE__ */ I("div", { className: "flex items-center gap-1", children: [
|
|
39005
39003
|
/* @__PURE__ */ d(
|
|
39006
|
-
|
|
39004
|
+
mt,
|
|
39007
39005
|
{
|
|
39008
39006
|
icon: /* @__PURE__ */ d(ue, { name: "chevron-left", size: "sm" }),
|
|
39009
39007
|
label: "Previous page",
|
|
@@ -39020,7 +39018,7 @@ function C6({
|
|
|
39020
39018
|
l
|
|
39021
39019
|
] }),
|
|
39022
39020
|
/* @__PURE__ */ d(
|
|
39023
|
-
|
|
39021
|
+
mt,
|
|
39024
39022
|
{
|
|
39025
39023
|
icon: /* @__PURE__ */ d(ue, { name: "chevron-right", size: "sm" }),
|
|
39026
39024
|
label: "Next page",
|
|
@@ -39156,7 +39154,7 @@ function HX({
|
|
|
39156
39154
|
b ? "flex-col gap-1" : "relative flex-row items-center gap-3 overflow-x-auto"
|
|
39157
39155
|
),
|
|
39158
39156
|
children: t.map((x, w) => {
|
|
39159
|
-
const v = E6(t, n, w), C = N6[v], E = r !== void 0 && w < n, S = /* @__PURE__ */ I(
|
|
39157
|
+
const v = E6(t, n, w), C = N6[v], E = r !== void 0 && w < n, S = /* @__PURE__ */ I(et, { children: [
|
|
39160
39158
|
/* @__PURE__ */ d(
|
|
39161
39159
|
"span",
|
|
39162
39160
|
{
|
|
@@ -39222,7 +39220,7 @@ function HX({
|
|
|
39222
39220
|
l !== void 0 && /* @__PURE__ */ d("div", { className: "min-w-0", children: l }),
|
|
39223
39221
|
r !== void 0 && /* @__PURE__ */ I("div", { className: "flex flex-wrap items-center gap-3", children: [
|
|
39224
39222
|
n > 0 && /* @__PURE__ */ d(
|
|
39225
|
-
|
|
39223
|
+
tt,
|
|
39226
39224
|
{
|
|
39227
39225
|
variant: "outline",
|
|
39228
39226
|
onClick: () => r(n - 1),
|
|
@@ -39231,7 +39229,7 @@ function HX({
|
|
|
39231
39229
|
}
|
|
39232
39230
|
),
|
|
39233
39231
|
(!h || o !== void 0) && /* @__PURE__ */ d(
|
|
39234
|
-
|
|
39232
|
+
tt,
|
|
39235
39233
|
{
|
|
39236
39234
|
disabled: f !== null,
|
|
39237
39235
|
"aria-describedby": f !== null ? g : void 0,
|
|
@@ -39972,7 +39970,7 @@ const D6 = ft({
|
|
|
39972
39970
|
}), _6 = { sm: "text-2xs", md: "text-xs", lg: "text-sm" }, Ww = 2, $6 = 10.5, F6 = 7.5;
|
|
39973
39971
|
function Kw({ radius: e, level: t }) {
|
|
39974
39972
|
const n = Math.max(0, Math.min(1, t.value / 100));
|
|
39975
|
-
return /* @__PURE__ */ I(
|
|
39973
|
+
return /* @__PURE__ */ I(et, { children: [
|
|
39976
39974
|
/* @__PURE__ */ d("circle", { cx: "12", cy: "12", r: e, fill: "none", strokeWidth: Ww, className: "stroke-surface-inset" }),
|
|
39977
39975
|
/* @__PURE__ */ d(
|
|
39978
39976
|
"circle",
|
|
@@ -40315,7 +40313,7 @@ function Y6(e, t) {
|
|
|
40315
40313
|
}
|
|
40316
40314
|
const tp = "flex w-full min-w-0 flex-col gap-1.5 rounded-md px-2 py-1.5 text-start transition-colors hover:bg-surface-hover";
|
|
40317
40315
|
function X6({ row: e, value: t, fraction: n }) {
|
|
40318
|
-
return /* @__PURE__ */ I(
|
|
40316
|
+
return /* @__PURE__ */ I(et, { children: [
|
|
40319
40317
|
/* @__PURE__ */ I("span", { className: "flex w-full items-baseline justify-between gap-3", children: [
|
|
40320
40318
|
/* @__PURE__ */ I("span", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
40321
40319
|
/* @__PURE__ */ d("span", { className: "truncate text-sm text-primary", children: e.label }),
|
|
@@ -40708,7 +40706,7 @@ function JX(e) {
|
|
|
40708
40706
|
className: "size-2.5 shrink-0 rounded-[2px] border"
|
|
40709
40707
|
}
|
|
40710
40708
|
), Te = "flex min-h-6 min-w-0 cursor-pointer items-center gap-1.5 rounded-md px-1 text-xs text-secondary hover:bg-surface-hover";
|
|
40711
|
-
return /* @__PURE__ */ d("li", { "data-legend-item": he.key, "data-other": he.other || void 0, className: "flex min-w-0 items-center", children: fe?.(he) ? /* @__PURE__ */ I(
|
|
40709
|
+
return /* @__PURE__ */ d("li", { "data-legend-item": he.key, "data-other": he.other || void 0, className: "flex min-w-0 items-center", children: fe?.(he) ? /* @__PURE__ */ I(et, { children: [
|
|
40712
40710
|
/* @__PURE__ */ d(
|
|
40713
40711
|
"button",
|
|
40714
40712
|
{
|
|
@@ -44381,7 +44379,7 @@ function hx({
|
|
|
44381
44379
|
pair in a div would make the row the container's child and the marker the
|
|
44382
44380
|
row's, which puts the insertion point inside the box it is meant to sit
|
|
44383
44381
|
between — and gives the flex column one box where it needs two. */
|
|
44384
|
-
/* @__PURE__ */ I(
|
|
44382
|
+
/* @__PURE__ */ I(et, { children: [
|
|
44385
44383
|
w && C,
|
|
44386
44384
|
/* @__PURE__ */ d(
|
|
44387
44385
|
"div",
|
|
@@ -45344,7 +45342,7 @@ function fG({
|
|
|
45344
45342
|
children: n
|
|
45345
45343
|
}) {
|
|
45346
45344
|
const { shift: r } = Jd("BoardColumn");
|
|
45347
|
-
return e ? r && r.markerAt !== null ? null : /* @__PURE__ */ d(
|
|
45345
|
+
return e ? r && r.markerAt !== null ? null : /* @__PURE__ */ d(et, { children: t }) : /* @__PURE__ */ d(et, { children: n });
|
|
45348
45346
|
}
|
|
45349
45347
|
function pG({
|
|
45350
45348
|
count: e,
|
|
@@ -45462,7 +45460,7 @@ function zM({
|
|
|
45462
45460
|
children: [
|
|
45463
45461
|
/* @__PURE__ */ d(ue, { name: wG("video"), size: "lg", className: "text-tertiary" }),
|
|
45464
45462
|
/* @__PURE__ */ d("p", { className: "text-sm text-secondary", children: "This video can't play here" }),
|
|
45465
|
-
s && /* @__PURE__ */ I(
|
|
45463
|
+
s && /* @__PURE__ */ I(tt, { variant: "outline", size: "sm", onClick: s, children: [
|
|
45466
45464
|
/* @__PURE__ */ d(ue, { name: "download", size: "sm" }),
|
|
45467
45465
|
"Download"
|
|
45468
45466
|
] })
|
|
@@ -45609,7 +45607,7 @@ function BM({
|
|
|
45609
45607
|
className: "absolute inset-0 z-1 cursor-pointer rounded-[inherit] outline-none focus-visible:ring-2 focus-visible:ring-focus-ring"
|
|
45610
45608
|
}
|
|
45611
45609
|
),
|
|
45612
|
-
p ? /* @__PURE__ */ I(
|
|
45610
|
+
p ? /* @__PURE__ */ I(et, { children: [
|
|
45613
45611
|
/* @__PURE__ */ d("div", { className: "absolute inset-0 grid place-items-center bg-surface-inset", children: /* @__PURE__ */ d(
|
|
45614
45612
|
f0,
|
|
45615
45613
|
{
|
|
@@ -45623,7 +45621,7 @@ function BM({
|
|
|
45623
45621
|
m !== "" && /* @__PURE__ */ d("span", { className: B("truncate text-2xs", h ? "text-danger" : "text-white/70"), children: m })
|
|
45624
45622
|
] }),
|
|
45625
45623
|
g
|
|
45626
|
-
] }) : /* @__PURE__ */ I(
|
|
45624
|
+
] }) : /* @__PURE__ */ I(et, { children: [
|
|
45627
45625
|
/* @__PURE__ */ d("div", { className: "relative grid size-9 shrink-0 place-items-center overflow-hidden rounded-md bg-surface-inset", children: /* @__PURE__ */ d(f0, { file: e, iconSize: "sm", className: "size-full object-cover" }) }),
|
|
45628
45626
|
/* @__PURE__ */ I("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
45629
45627
|
/* @__PURE__ */ d("span", { className: "truncate text-sm font-medium text-primary", children: e.name }),
|
|
@@ -45688,7 +45686,7 @@ function EG({
|
|
|
45688
45686
|
size: "lg",
|
|
45689
45687
|
title: i?.name ?? "Attachment",
|
|
45690
45688
|
description: i?.size === void 0 ? void 0 : zs(i.size),
|
|
45691
|
-
actions: i && n ? /* @__PURE__ */ I(
|
|
45689
|
+
actions: i && n ? /* @__PURE__ */ I(tt, { variant: "outline", onClick: () => n(i), children: [
|
|
45692
45690
|
/* @__PURE__ */ d(ue, { name: "download", size: "sm" }),
|
|
45693
45691
|
"Download"
|
|
45694
45692
|
] }) : void 0,
|
|
@@ -45850,7 +45848,7 @@ function SG({
|
|
|
45850
45848
|
}
|
|
45851
45849
|
),
|
|
45852
45850
|
/* @__PURE__ */ I("div", { className: "@container flex items-center gap-1", children: [
|
|
45853
|
-
o && /* @__PURE__ */ I(
|
|
45851
|
+
o && /* @__PURE__ */ I(et, { children: [
|
|
45854
45852
|
/* @__PURE__ */ d(
|
|
45855
45853
|
"input",
|
|
45856
45854
|
{
|
|
@@ -46363,7 +46361,7 @@ function _G({ text: e, label: t, streaming: n }) {
|
|
|
46363
46361
|
className: "my-1.5",
|
|
46364
46362
|
chevron: !1,
|
|
46365
46363
|
triggerClassName: "gap-1.5 px-1.5 py-1 text-2xs text-tertiary hover:text-secondary focus-visible:ring-2 focus-visible:ring-focus-ring",
|
|
46366
|
-
trigger: /* @__PURE__ */ I(
|
|
46364
|
+
trigger: /* @__PURE__ */ I(et, { children: [
|
|
46367
46365
|
/* @__PURE__ */ d(ue, { name: "brain", size: "xs" }),
|
|
46368
46366
|
n ? /* @__PURE__ */ d(jM, { children: t ?? "Thinking…" }) : /* @__PURE__ */ d("span", { children: t ?? "Thought about it" }),
|
|
46369
46367
|
/* @__PURE__ */ d(
|
|
@@ -46408,15 +46406,15 @@ function $G({
|
|
|
46408
46406
|
}) {
|
|
46409
46407
|
switch (e.type) {
|
|
46410
46408
|
case "text":
|
|
46411
|
-
return n?.text ? /* @__PURE__ */ d(
|
|
46409
|
+
return n?.text ? /* @__PURE__ */ d(et, { children: n.text(e, t) }) : /* @__PURE__ */ d(TG, { children: e.text });
|
|
46412
46410
|
case "code":
|
|
46413
|
-
return n?.code ? /* @__PURE__ */ d(
|
|
46411
|
+
return n?.code ? /* @__PURE__ */ d(et, { children: n.code(e, t) }) : /* @__PURE__ */ d(Eg, { code: e.code, language: e.language, filename: e.filename });
|
|
46414
46412
|
case "reasoning":
|
|
46415
|
-
return n?.reasoning ? /* @__PURE__ */ d(
|
|
46413
|
+
return n?.reasoning ? /* @__PURE__ */ d(et, { children: n.reasoning(e, t) }) : /* @__PURE__ */ d(_G, { text: e.text, label: e.label, streaming: e.streaming });
|
|
46416
46414
|
case "tool":
|
|
46417
|
-
return n?.tool ? /* @__PURE__ */ d(
|
|
46415
|
+
return n?.tool ? /* @__PURE__ */ d(et, { children: n.tool(e, t) }) : /* @__PURE__ */ d(DG, { part: e });
|
|
46418
46416
|
case "file":
|
|
46419
|
-
return n?.file ? /* @__PURE__ */ d(
|
|
46417
|
+
return n?.file ? /* @__PURE__ */ d(et, { children: n.file(e, t) }) : /* @__PURE__ */ d("div", { className: "my-1.5", children: /* @__PURE__ */ d(
|
|
46420
46418
|
BM,
|
|
46421
46419
|
{
|
|
46422
46420
|
file: e.file,
|
|
@@ -46427,7 +46425,7 @@ function $G({
|
|
|
46427
46425
|
) });
|
|
46428
46426
|
case "component": {
|
|
46429
46427
|
const i = r?.[e.component];
|
|
46430
|
-
return i ? /* @__PURE__ */ d(
|
|
46428
|
+
return i ? /* @__PURE__ */ d(et, { children: i(e.props ?? {}, t) }) : /* @__PURE__ */ d(
|
|
46431
46429
|
m0,
|
|
46432
46430
|
{
|
|
46433
46431
|
reason: "No component is registered under the name",
|
|
@@ -46457,7 +46455,7 @@ function FG({
|
|
|
46457
46455
|
message: e,
|
|
46458
46456
|
streaming: e.streaming ?? !1,
|
|
46459
46457
|
app: r
|
|
46460
|
-
}, x = /* @__PURE__ */ I(
|
|
46458
|
+
}, x = /* @__PURE__ */ I(et, { children: [
|
|
46461
46459
|
e.attachments && e.attachments.length > 0 && /* @__PURE__ */ d(
|
|
46462
46460
|
HM,
|
|
46463
46461
|
{
|
|
@@ -46769,7 +46767,7 @@ function LG({
|
|
|
46769
46767
|
},
|
|
46770
46768
|
b.id
|
|
46771
46769
|
)) }),
|
|
46772
|
-
m.length > 0 && /* @__PURE__ */ d(
|
|
46770
|
+
m.length > 0 && /* @__PURE__ */ d(et, { children: p ? /* @__PURE__ */ d(Ea, { label: "More models", children: m.map((b) => /* @__PURE__ */ d(
|
|
46773
46771
|
b0,
|
|
46774
46772
|
{
|
|
46775
46773
|
model: b,
|
|
@@ -46790,7 +46788,7 @@ function LG({
|
|
|
46790
46788
|
]
|
|
46791
46789
|
}
|
|
46792
46790
|
) }),
|
|
46793
|
-
r && r.length > 0 && /* @__PURE__ */ I(
|
|
46791
|
+
r && r.length > 0 && /* @__PURE__ */ I(et, { children: [
|
|
46794
46792
|
/* @__PURE__ */ d(Ok, {}),
|
|
46795
46793
|
r.map((b) => /* @__PURE__ */ I(
|
|
46796
46794
|
Zr,
|
|
@@ -46986,7 +46984,7 @@ function HG({
|
|
|
46986
46984
|
if (!A.url) return;
|
|
46987
46985
|
const _ = document.createElement("a");
|
|
46988
46986
|
_.href = A.url, _.download = A.name, _.click();
|
|
46989
|
-
}, M = /* @__PURE__ */ I(
|
|
46987
|
+
}, M = /* @__PURE__ */ I(et, { children: [
|
|
46990
46988
|
c && l !== void 0 && u && /* @__PURE__ */ d(
|
|
46991
46989
|
LG,
|
|
46992
46990
|
{
|
|
@@ -47190,7 +47188,7 @@ function mZ({ value: e, copyValue: t, label: n, onCopied: r, onCopyError: o, cla
|
|
|
47190
47188
|
children: [
|
|
47191
47189
|
/* @__PURE__ */ d("code", { className: "min-w-0 flex-1 truncate font-mono text-sm text-primary", children: e }),
|
|
47192
47190
|
/* @__PURE__ */ d(
|
|
47193
|
-
|
|
47191
|
+
mt,
|
|
47194
47192
|
{
|
|
47195
47193
|
icon: /* @__PURE__ */ d(ue, { name: i === "copied" ? "check" : i === "failed" ? "triangle-alert" : "copy", size: "sm" }),
|
|
47196
47194
|
label: `Copy ${n}`,
|
|
@@ -47376,10 +47374,10 @@ const wZ = [
|
|
|
47376
47374
|
{
|
|
47377
47375
|
id: "bare-sort-icon-button",
|
|
47378
47376
|
// The semantic icon key a consumer draws a sort control with. A lone sort icon over a list of one-order-per-row radio
|
|
47379
|
-
// items is the shape SortMenu replaces (DX-4312).
|
|
47377
|
+
// items, which cannot show its direction, is the shape SortMenu replaces (DX-4312); SortMenu's own trigger is icon-only (DX-4378).
|
|
47380
47378
|
pattern: /["']action\.sort["']/,
|
|
47381
47379
|
preferInstead: ["SortMenu"],
|
|
47382
|
-
reason: "a
|
|
47380
|
+
reason: "a hand-built sort icon button that opens one radio row per order and shows no direction. SortMenu is the icon-only sort control: its trigger draws the arrow of the CURRENT direction (never text), its tooltip names the field and direction, and its popover lists each FIELD once with its own up and down arrow. A list whose orders are opaque single choices with no field/direction pair (a priority order, a relevance order) is the case a UI-LIBRARY-ALLOW reason covers. DX-4312, DX-4378."
|
|
47383
47381
|
},
|
|
47384
47382
|
{
|
|
47385
47383
|
id: "hand-rolled-diff",
|
|
@@ -47889,7 +47887,7 @@ function kZ({
|
|
|
47889
47887
|
onClick: (L) => {
|
|
47890
47888
|
L.stopPropagation(), a?.(V.event);
|
|
47891
47889
|
},
|
|
47892
|
-
children: p ? p(V.event) : /* @__PURE__ */ I(
|
|
47890
|
+
children: p ? p(V.event) : /* @__PURE__ */ I(et, { children: [
|
|
47893
47891
|
!V.event.allDay && V.isStart && /* @__PURE__ */ d("span", { className: "shrink-0 tabular-nums opacity-80", children: so(V.event.start, t, u) }),
|
|
47894
47892
|
/* @__PURE__ */ d("span", { className: "truncate", children: V.event.title })
|
|
47895
47893
|
] })
|
|
@@ -48323,8 +48321,8 @@ function C8({
|
|
|
48323
48321
|
/* @__PURE__ */ d(pr, { value: v, onValueChange: (N) => C(String(N)), "aria-label": "Duration", children: E.map((N) => /* @__PURE__ */ d(Hn, { value: String(N), children: N < 60 ? `${N} min` : N % 60 === 0 ? `${N / 60} hr` : `${Math.floor(N / 60)} hr ${N % 60} min` }, N)) })
|
|
48324
48322
|
] }),
|
|
48325
48323
|
/* @__PURE__ */ I("div", { className: l.footer(), children: [
|
|
48326
|
-
/* @__PURE__ */ d(
|
|
48327
|
-
/* @__PURE__ */ d(
|
|
48324
|
+
/* @__PURE__ */ d(tt, { size: "sm", variant: "ghost", onClick: () => i?.(), children: "Cancel" }),
|
|
48325
|
+
/* @__PURE__ */ d(tt, { size: "sm", onClick: S, children: "Apply" })
|
|
48328
48326
|
] })
|
|
48329
48327
|
] });
|
|
48330
48328
|
}
|
|
@@ -48469,7 +48467,7 @@ function k8({
|
|
|
48469
48467
|
actions: t,
|
|
48470
48468
|
children: n
|
|
48471
48469
|
}) {
|
|
48472
|
-
return e ? /* @__PURE__ */ d(En, { side: "right", align: "start", trigger: n, children: t }) : /* @__PURE__ */ d(
|
|
48470
|
+
return e ? /* @__PURE__ */ d(En, { side: "right", align: "start", trigger: n, children: t }) : /* @__PURE__ */ d(et, { children: n });
|
|
48473
48471
|
}
|
|
48474
48472
|
function NZ({
|
|
48475
48473
|
days: e,
|
|
@@ -48757,7 +48755,7 @@ function NZ({
|
|
|
48757
48755
|
onClick: () => o?.(U),
|
|
48758
48756
|
onKeyDown: me ? (le) => H.onKeyDown(U, le) : void 0,
|
|
48759
48757
|
"data-grabbed": ne ? "" : void 0,
|
|
48760
|
-
children: w ? w(U) : /* @__PURE__ */ I(
|
|
48758
|
+
children: w ? w(U) : /* @__PURE__ */ I(et, { children: [
|
|
48761
48759
|
/* @__PURE__ */ d("span", { className: "truncate font-medium", children: U.title }),
|
|
48762
48760
|
/* @__PURE__ */ d("span", { className: B("truncate opacity-80", de && "shrink-0"), children: so(U.start, t, x) })
|
|
48763
48761
|
] })
|
|
@@ -49125,7 +49123,7 @@ function _Z({ onOpenUseCaseLedger: e, showSimControls: t = !0 } = {}) {
|
|
|
49125
49123
|
align: "end",
|
|
49126
49124
|
width: "calc(20rem*var(--ui-scale))",
|
|
49127
49125
|
trigger: /* @__PURE__ */ I(
|
|
49128
|
-
|
|
49126
|
+
tt,
|
|
49129
49127
|
{
|
|
49130
49128
|
size: "sm",
|
|
49131
49129
|
variant: a ? "subtle" : "outline",
|
|
@@ -49167,7 +49165,7 @@ function _Z({ onOpenUseCaseLedger: e, showSimControls: t = !0 } = {}) {
|
|
|
49167
49165
|
}
|
|
49168
49166
|
),
|
|
49169
49167
|
/* @__PURE__ */ I(
|
|
49170
|
-
|
|
49168
|
+
tt,
|
|
49171
49169
|
{
|
|
49172
49170
|
variant: "outline",
|
|
49173
49171
|
size: "sm",
|
|
@@ -49179,7 +49177,7 @@ function _Z({ onOpenUseCaseLedger: e, showSimControls: t = !0 } = {}) {
|
|
|
49179
49177
|
]
|
|
49180
49178
|
}
|
|
49181
49179
|
),
|
|
49182
|
-
t && /* @__PURE__ */ I(
|
|
49180
|
+
t && /* @__PURE__ */ I(et, { children: [
|
|
49183
49181
|
/* @__PURE__ */ I("div", { className: "flex flex-col gap-2 border-t border-border-subtle pt-4", children: [
|
|
49184
49182
|
/* @__PURE__ */ d("span", { className: "text-2xs font-semibold tracking-widest text-tertiary uppercase", children: "Data source" }),
|
|
49185
49183
|
/* @__PURE__ */ d(
|
|
@@ -49208,7 +49206,7 @@ function _Z({ onOpenUseCaseLedger: e, showSimControls: t = !0 } = {}) {
|
|
|
49208
49206
|
/* @__PURE__ */ d("div", { className: "flex flex-col gap-2 border-t border-border-subtle pt-4", children: /* @__PURE__ */ d(
|
|
49209
49207
|
ks,
|
|
49210
49208
|
{
|
|
49211
|
-
trigger: /* @__PURE__ */ I(
|
|
49209
|
+
trigger: /* @__PURE__ */ I(tt, { variant: "outline", size: "sm", children: [
|
|
49212
49210
|
/* @__PURE__ */ d(ue, { name: "refresh-cw", size: "sm" }),
|
|
49213
49211
|
"Regenerate demo data"
|
|
49214
49212
|
] }),
|
|
@@ -49226,7 +49224,7 @@ function _Z({ onOpenUseCaseLedger: e, showSimControls: t = !0 } = {}) {
|
|
|
49226
49224
|
}
|
|
49227
49225
|
) })
|
|
49228
49226
|
] }),
|
|
49229
|
-
e && /* @__PURE__ */ d("div", { className: "flex flex-col gap-2 border-t border-border-subtle pt-4", children: /* @__PURE__ */ I(
|
|
49227
|
+
e && /* @__PURE__ */ d("div", { className: "flex flex-col gap-2 border-t border-border-subtle pt-4", children: /* @__PURE__ */ I(tt, { variant: "ghost", size: "sm", onClick: e, children: [
|
|
49230
49228
|
/* @__PURE__ */ d(ue, { name: "list-checks", size: "sm" }),
|
|
49231
49229
|
"Open Use Case Ledger"
|
|
49232
49230
|
] }) })
|
|
@@ -49324,7 +49322,7 @@ function z8({
|
|
|
49324
49322
|
children: u ? /* @__PURE__ */ d(ue, { name: "check", size: "sm", className: "text-success" }) : /* @__PURE__ */ d("span", { "aria-hidden": !0, className: "block text-border-strong", children: "—" })
|
|
49325
49323
|
}
|
|
49326
49324
|
)
|
|
49327
|
-
) : /* @__PURE__ */ I(
|
|
49325
|
+
) : /* @__PURE__ */ I(et, { children: [
|
|
49328
49326
|
/* @__PURE__ */ d("span", { className: "sr-only", children: f }),
|
|
49329
49327
|
u ? /* @__PURE__ */ d(ue, { name: "check", size: "sm", className: "mx-auto text-success" }) : /* @__PURE__ */ d("span", { "aria-hidden": !0, className: "mx-auto block text-border-strong", children: "—" })
|
|
49330
49328
|
] }) }, l.id);
|
|
@@ -49358,9 +49356,9 @@ function B8({
|
|
|
49358
49356
|
title: e === "create" ? "New role" : "Edit role",
|
|
49359
49357
|
description: e === "create" ? "A custom role starts with no permissions granted — set them afterward in the matrix, or clone an existing role's set below." : "Renaming a role doesn't change who has it or what it grants. Edit permissions in the matrix.",
|
|
49360
49358
|
className: c,
|
|
49361
|
-
actions: /* @__PURE__ */ I(
|
|
49362
|
-
/* @__PURE__ */ d(
|
|
49363
|
-
/* @__PURE__ */ d(
|
|
49359
|
+
actions: /* @__PURE__ */ I(et, { children: [
|
|
49360
|
+
/* @__PURE__ */ d(tt, { variant: "outline", onClick: () => n(!1), disabled: i, children: "Cancel" }),
|
|
49361
|
+
/* @__PURE__ */ d(tt, { onClick: () => {
|
|
49364
49362
|
g && a({
|
|
49365
49363
|
label: l.trim(),
|
|
49366
49364
|
description: p.trim(),
|
|
@@ -49369,7 +49367,7 @@ function B8({
|
|
|
49369
49367
|
}, disabled: !g, loading: i, children: e === "create" ? "Create role" : "Save" })
|
|
49370
49368
|
] }),
|
|
49371
49369
|
children: /* @__PURE__ */ I("div", { className: "flex flex-col gap-4", children: [
|
|
49372
|
-
/* @__PURE__ */ d(
|
|
49370
|
+
/* @__PURE__ */ d(gt, { label: "Label", children: /* @__PURE__ */ d(
|
|
49373
49371
|
Ft,
|
|
49374
49372
|
{
|
|
49375
49373
|
value: l,
|
|
@@ -49379,7 +49377,7 @@ function B8({
|
|
|
49379
49377
|
autoFocus: !0
|
|
49380
49378
|
}
|
|
49381
49379
|
) }),
|
|
49382
|
-
/* @__PURE__ */ d(
|
|
49380
|
+
/* @__PURE__ */ d(gt, { label: "Description", description: "Shown to whoever picks this role — what it's for.", children: /* @__PURE__ */ d(
|
|
49383
49381
|
bF,
|
|
49384
49382
|
{
|
|
49385
49383
|
value: p,
|
|
@@ -49389,7 +49387,7 @@ function B8({
|
|
|
49389
49387
|
}
|
|
49390
49388
|
) }),
|
|
49391
49389
|
e === "create" && r && r.length > 0 && /* @__PURE__ */ d(
|
|
49392
|
-
|
|
49390
|
+
gt,
|
|
49393
49391
|
{
|
|
49394
49392
|
label: "Clone permissions from",
|
|
49395
49393
|
description: "Optional — starts the new role's permission set as a copy of another role's. You can still change it afterward.",
|
|
@@ -49442,8 +49440,8 @@ function sT({
|
|
|
49442
49440
|
discardLabel: i
|
|
49443
49441
|
}) {
|
|
49444
49442
|
return /* @__PURE__ */ I("div", { className: "flex flex-wrap gap-2", children: [
|
|
49445
|
-
/* @__PURE__ */ d(
|
|
49446
|
-
/* @__PURE__ */ d(
|
|
49443
|
+
/* @__PURE__ */ d(tt, { onClick: e, disabled: !n, loading: o, children: s }),
|
|
49444
|
+
/* @__PURE__ */ d(tt, { variant: "outline", onClick: t, disabled: !r || o, children: i })
|
|
49447
49445
|
] });
|
|
49448
49446
|
}
|
|
49449
49447
|
function iT(e, t) {
|
|
@@ -49501,8 +49499,8 @@ function H8({
|
|
|
49501
49499
|
}
|
|
49502
49500
|
),
|
|
49503
49501
|
/* @__PURE__ */ I("div", { className: "grid gap-4 sm:grid-cols-2", children: [
|
|
49504
|
-
/* @__PURE__ */ d(
|
|
49505
|
-
w && /* @__PURE__ */ d(
|
|
49502
|
+
/* @__PURE__ */ d(gt, { label: "Name", children: /* @__PURE__ */ d(Ft, { value: i, onChange: (R) => b(() => a(R.target.value)), disabled: h }) }),
|
|
49503
|
+
w && /* @__PURE__ */ d(gt, { label: "Username", children: /* @__PURE__ */ d(
|
|
49506
49504
|
Ft,
|
|
49507
49505
|
{
|
|
49508
49506
|
value: c,
|
|
@@ -49511,7 +49509,7 @@ function H8({
|
|
|
49511
49509
|
leading: /* @__PURE__ */ d("span", { "aria-hidden": !0, children: "@" })
|
|
49512
49510
|
}
|
|
49513
49511
|
) }),
|
|
49514
|
-
/* @__PURE__ */ d(
|
|
49512
|
+
/* @__PURE__ */ d(gt, { label: "Email", children: /* @__PURE__ */ d(
|
|
49515
49513
|
Ft,
|
|
49516
49514
|
{
|
|
49517
49515
|
type: "email",
|
|
@@ -49570,13 +49568,13 @@ function $Z({
|
|
|
49570
49568
|
/* @__PURE__ */ d("strong", { className: "font-semibold text-primary", children: i.label }),
|
|
49571
49569
|
" access."
|
|
49572
49570
|
] }),
|
|
49573
|
-
a ? /* @__PURE__ */ I(
|
|
49571
|
+
a ? /* @__PURE__ */ I(et, { children: [
|
|
49574
49572
|
/* @__PURE__ */ I("p", { className: "text-sm text-secondary", children: [
|
|
49575
49573
|
"You hold the ",
|
|
49576
49574
|
/* @__PURE__ */ d("strong", { className: "font-semibold text-primary", children: a.label }),
|
|
49577
49575
|
" ",
|
|
49578
49576
|
"role",
|
|
49579
|
-
u ? /* @__PURE__ */ I(
|
|
49577
|
+
u ? /* @__PURE__ */ I(et, { children: [
|
|
49580
49578
|
" on ",
|
|
49581
49579
|
u.name
|
|
49582
49580
|
] }) : null,
|
|
@@ -49593,8 +49591,8 @@ function $Z({
|
|
|
49593
49591
|
function U8() {
|
|
49594
49592
|
const { actualUser: e } = Is(), [t, n] = ie(e.name), [r, o] = ie(e.email);
|
|
49595
49593
|
return /* @__PURE__ */ I("div", { className: "grid gap-4 sm:grid-cols-2", children: [
|
|
49596
|
-
/* @__PURE__ */ d(
|
|
49597
|
-
/* @__PURE__ */ d(
|
|
49594
|
+
/* @__PURE__ */ d(gt, { label: "Name", children: /* @__PURE__ */ d(Ft, { value: t, onChange: (s) => n(s.target.value) }) }),
|
|
49595
|
+
/* @__PURE__ */ d(gt, { label: "Email", children: /* @__PURE__ */ d(Ft, { type: "email", value: r, onChange: (s) => o(s.target.value) }) })
|
|
49598
49596
|
] });
|
|
49599
49597
|
}
|
|
49600
49598
|
function FZ({
|
|
@@ -49621,7 +49619,7 @@ function FZ({
|
|
|
49621
49619
|
/* @__PURE__ */ d("p", { className: "text-sm text-tertiary", children: n ? "What each role can do. Toggle a permission directly in the matrix, or manage roles below." : "What each role can do. Contact an administrator to change a role's access." })
|
|
49622
49620
|
] }),
|
|
49623
49621
|
n && o && /* @__PURE__ */ d(
|
|
49624
|
-
|
|
49622
|
+
tt,
|
|
49625
49623
|
{
|
|
49626
49624
|
size: "sm",
|
|
49627
49625
|
leadingIcon: /* @__PURE__ */ d(ue, { name: "plus", size: "sm" }),
|
|
@@ -49654,7 +49652,7 @@ function FZ({
|
|
|
49654
49652
|
] }),
|
|
49655
49653
|
/* @__PURE__ */ I("div", { className: "flex shrink-0 items-center gap-1", children: [
|
|
49656
49654
|
x.system && a && /* @__PURE__ */ d(
|
|
49657
|
-
|
|
49655
|
+
mt,
|
|
49658
49656
|
{
|
|
49659
49657
|
icon: /* @__PURE__ */ d(ue, { name: "rotate-ccw", size: "sm" }),
|
|
49660
49658
|
label: `Reset ${x.label} to its seeded defaults`,
|
|
@@ -49664,7 +49662,7 @@ function FZ({
|
|
|
49664
49662
|
}
|
|
49665
49663
|
),
|
|
49666
49664
|
s && /* @__PURE__ */ d(
|
|
49667
|
-
|
|
49665
|
+
mt,
|
|
49668
49666
|
{
|
|
49669
49667
|
icon: /* @__PURE__ */ d(ue, { name: "pencil", size: "sm" }),
|
|
49670
49668
|
label: `Edit ${x.label}`,
|
|
@@ -49674,7 +49672,7 @@ function FZ({
|
|
|
49674
49672
|
}
|
|
49675
49673
|
),
|
|
49676
49674
|
i && x.deletable !== !1 && /* @__PURE__ */ d(
|
|
49677
|
-
|
|
49675
|
+
mt,
|
|
49678
49676
|
{
|
|
49679
49677
|
icon: /* @__PURE__ */ d(ue, { name: "trash-2", size: "sm" }),
|
|
49680
49678
|
label: `Delete ${x.label}`,
|
|
@@ -49761,7 +49759,7 @@ function G8({
|
|
|
49761
49759
|
ks,
|
|
49762
49760
|
{
|
|
49763
49761
|
trigger: /* @__PURE__ */ d(
|
|
49764
|
-
|
|
49762
|
+
mt,
|
|
49765
49763
|
{
|
|
49766
49764
|
icon: /* @__PURE__ */ d(ue, { name: "trash-2", size: "sm" }),
|
|
49767
49765
|
label: `Remove ${e.user.name}`,
|
|
@@ -49870,7 +49868,7 @@ function LZ({
|
|
|
49870
49868
|
w(v);
|
|
49871
49869
|
}, children: /* @__PURE__ */ I("div", { className: "flex flex-col gap-4", children: [
|
|
49872
49870
|
f && /* @__PURE__ */ d(At, { tone: "danger", title: "Couldn't change your password", children: f }),
|
|
49873
|
-
/* @__PURE__ */ d(
|
|
49871
|
+
/* @__PURE__ */ d(gt, { label: "Current password", children: /* @__PURE__ */ d(
|
|
49874
49872
|
is,
|
|
49875
49873
|
{
|
|
49876
49874
|
value: o,
|
|
@@ -49880,7 +49878,7 @@ function LZ({
|
|
|
49880
49878
|
required: !0
|
|
49881
49879
|
}
|
|
49882
49880
|
) }),
|
|
49883
|
-
/* @__PURE__ */ I(
|
|
49881
|
+
/* @__PURE__ */ I(gt, { label: "New password", children: [
|
|
49884
49882
|
/* @__PURE__ */ d(
|
|
49885
49883
|
is,
|
|
49886
49884
|
{
|
|
@@ -49894,7 +49892,7 @@ function LZ({
|
|
|
49894
49892
|
/* @__PURE__ */ d(jg, { rules: m, className: "mt-2" })
|
|
49895
49893
|
] }),
|
|
49896
49894
|
/* @__PURE__ */ d(
|
|
49897
|
-
|
|
49895
|
+
gt,
|
|
49898
49896
|
{
|
|
49899
49897
|
label: "Confirm new password",
|
|
49900
49898
|
error: b ? "Doesn't match the new password above." : void 0,
|
|
@@ -49910,7 +49908,7 @@ function LZ({
|
|
|
49910
49908
|
)
|
|
49911
49909
|
}
|
|
49912
49910
|
),
|
|
49913
|
-
/* @__PURE__ */ d("div", { children: /* @__PURE__ */ d(
|
|
49911
|
+
/* @__PURE__ */ d("div", { children: /* @__PURE__ */ d(tt, { type: "submit", disabled: !x, loading: u, children: n }) })
|
|
49914
49912
|
] }) });
|
|
49915
49913
|
}
|
|
49916
49914
|
function K8({
|
|
@@ -49925,7 +49923,7 @@ function K8({
|
|
|
49925
49923
|
open: r,
|
|
49926
49924
|
onOpenChange: o,
|
|
49927
49925
|
trigger: /* @__PURE__ */ d(
|
|
49928
|
-
|
|
49926
|
+
mt,
|
|
49929
49927
|
{
|
|
49930
49928
|
icon: /* @__PURE__ */ d(ue, { name: "log-out", size: "sm" }),
|
|
49931
49929
|
label: `Revoke ${e.name}`,
|
|
@@ -50073,7 +50071,7 @@ function Q8({
|
|
|
50073
50071
|
open: r,
|
|
50074
50072
|
onOpenChange: o,
|
|
50075
50073
|
trigger: /* @__PURE__ */ d(
|
|
50076
|
-
|
|
50074
|
+
mt,
|
|
50077
50075
|
{
|
|
50078
50076
|
icon: /* @__PURE__ */ d(ue, { name: "trash-2", size: "sm" }),
|
|
50079
50077
|
label: `Revoke ${e.name}`,
|
|
@@ -50168,7 +50166,7 @@ function BZ({
|
|
|
50168
50166
|
/* @__PURE__ */ I("div", { className: "flex flex-col gap-3", children: [
|
|
50169
50167
|
/* @__PURE__ */ I("div", { className: "flex items-center justify-between gap-3", children: [
|
|
50170
50168
|
/* @__PURE__ */ d("h2", { className: "text-xs font-semibold tracking-widest text-tertiary uppercase", children: "API keys" }),
|
|
50171
|
-
/* @__PURE__ */ d(
|
|
50169
|
+
/* @__PURE__ */ d(tt, { size: "sm", leadingIcon: /* @__PURE__ */ d(ue, { name: "plus", size: "sm" }), onClick: M, children: "Create key" })
|
|
50172
50170
|
] }),
|
|
50173
50171
|
e.length === 0 ? c ?? /* @__PURE__ */ d(
|
|
50174
50172
|
fl,
|
|
@@ -50193,10 +50191,10 @@ function BZ({
|
|
|
50193
50191
|
onOpenChange: p,
|
|
50194
50192
|
title: "Create API key",
|
|
50195
50193
|
description: "You'll only see the full key once, immediately after creating it — store it somewhere safe.",
|
|
50196
|
-
actions: /* @__PURE__ */ I(
|
|
50197
|
-
/* @__PURE__ */ d(
|
|
50194
|
+
actions: /* @__PURE__ */ I(et, { children: [
|
|
50195
|
+
/* @__PURE__ */ d(tt, { variant: "outline", onClick: () => p(!1), disabled: w, children: "Cancel" }),
|
|
50198
50196
|
/* @__PURE__ */ d(
|
|
50199
|
-
|
|
50197
|
+
tt,
|
|
50200
50198
|
{
|
|
50201
50199
|
onClick: () => {
|
|
50202
50200
|
T();
|
|
@@ -50209,7 +50207,7 @@ function BZ({
|
|
|
50209
50207
|
] }),
|
|
50210
50208
|
children: /* @__PURE__ */ I("div", { className: "flex flex-col gap-4", children: [
|
|
50211
50209
|
C && /* @__PURE__ */ d(At, { tone: "danger", title: "Couldn't create the key", children: C }),
|
|
50212
|
-
/* @__PURE__ */ d(
|
|
50210
|
+
/* @__PURE__ */ d(gt, { label: "Name", description: 'What this key is for — e.g. "CI deploy script".', children: /* @__PURE__ */ d(
|
|
50213
50211
|
Ft,
|
|
50214
50212
|
{
|
|
50215
50213
|
value: f,
|
|
@@ -50230,7 +50228,7 @@ function BZ({
|
|
|
50230
50228
|
disabled: w
|
|
50231
50229
|
}
|
|
50232
50230
|
),
|
|
50233
|
-
/* @__PURE__ */ d(
|
|
50231
|
+
/* @__PURE__ */ d(gt, { label: "Expires in (days)", description: "Leave blank for a key that never expires.", children: /* @__PURE__ */ d(
|
|
50234
50232
|
vH,
|
|
50235
50233
|
{
|
|
50236
50234
|
value: b ?? void 0,
|
|
@@ -50253,7 +50251,7 @@ function BZ({
|
|
|
50253
50251
|
title: "API key created",
|
|
50254
50252
|
description: "Copy this now — you won't be able to see it again.",
|
|
50255
50253
|
actions: /* @__PURE__ */ d(
|
|
50256
|
-
|
|
50254
|
+
tt,
|
|
50257
50255
|
{
|
|
50258
50256
|
onClick: () => {
|
|
50259
50257
|
N(null), R({ kind: "unchanged" });
|
|
@@ -50274,7 +50272,7 @@ function BZ({
|
|
|
50274
50272
|
}
|
|
50275
50273
|
),
|
|
50276
50274
|
/* @__PURE__ */ d(
|
|
50277
|
-
|
|
50275
|
+
mt,
|
|
50278
50276
|
{
|
|
50279
50277
|
icon: /* @__PURE__ */ d(ue, { name: "copy", size: "sm" }),
|
|
50280
50278
|
label: "Copy key",
|
|
@@ -50362,7 +50360,7 @@ function HZ({
|
|
|
50362
50360
|
/* @__PURE__ */ d(ut, { tone: w.tone, dot: !0, children: w.label })
|
|
50363
50361
|
] }),
|
|
50364
50362
|
/* @__PURE__ */ d($d, { entries: n9(e, x), className: "divide-y divide-border-subtle" }),
|
|
50365
|
-
x ? /* @__PURE__ */ I(
|
|
50363
|
+
x ? /* @__PURE__ */ I(et, { children: [
|
|
50366
50364
|
/* @__PURE__ */ d(At, { tone: "info", title: "Confirm code", icon: /* @__PURE__ */ d(ue, { name: "shield-check", size: "sm" }), children: /* @__PURE__ */ I("div", { className: "flex flex-col gap-1", children: [
|
|
50367
50365
|
/* @__PURE__ */ d(
|
|
50368
50366
|
"span",
|
|
@@ -50394,7 +50392,7 @@ function HZ({
|
|
|
50394
50392
|
),
|
|
50395
50393
|
/* @__PURE__ */ I("div", { className: "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", children: [
|
|
50396
50394
|
/* @__PURE__ */ d(
|
|
50397
|
-
|
|
50395
|
+
tt,
|
|
50398
50396
|
{
|
|
50399
50397
|
variant: "outline",
|
|
50400
50398
|
onClick: () => {
|
|
@@ -50406,7 +50404,7 @@ function HZ({
|
|
|
50406
50404
|
}
|
|
50407
50405
|
),
|
|
50408
50406
|
/* @__PURE__ */ d(
|
|
50409
|
-
|
|
50407
|
+
tt,
|
|
50410
50408
|
{
|
|
50411
50409
|
onClick: () => {
|
|
50412
50410
|
v("approve", () => s(f));
|
|
@@ -50440,7 +50438,7 @@ function i9({
|
|
|
50440
50438
|
}) {
|
|
50441
50439
|
return e.status === "pending" || e.status === "expired" ? /* @__PURE__ */ I("div", { className: "flex justify-end gap-1", children: [
|
|
50442
50440
|
o && /* @__PURE__ */ d(
|
|
50443
|
-
|
|
50441
|
+
mt,
|
|
50444
50442
|
{
|
|
50445
50443
|
icon: /* @__PURE__ */ d(ue, { name: "link", size: "sm" }),
|
|
50446
50444
|
label: `Copy invite link for ${e.email}`,
|
|
@@ -50450,7 +50448,7 @@ function i9({
|
|
|
50450
50448
|
}
|
|
50451
50449
|
),
|
|
50452
50450
|
/* @__PURE__ */ d(
|
|
50453
|
-
|
|
50451
|
+
mt,
|
|
50454
50452
|
{
|
|
50455
50453
|
icon: /* @__PURE__ */ d(ue, { name: "refresh-cw", size: "sm" }),
|
|
50456
50454
|
label: `Resend invitation to ${e.email}`,
|
|
@@ -50463,7 +50461,7 @@ function i9({
|
|
|
50463
50461
|
ks,
|
|
50464
50462
|
{
|
|
50465
50463
|
trigger: /* @__PURE__ */ d(
|
|
50466
|
-
|
|
50464
|
+
mt,
|
|
50467
50465
|
{
|
|
50468
50466
|
icon: /* @__PURE__ */ d(ue, { name: "x", size: "sm" }),
|
|
50469
50467
|
label: `Revoke invitation to ${e.email}`,
|
|
@@ -50603,16 +50601,16 @@ function jZ({
|
|
|
50603
50601
|
title: "Invite members",
|
|
50604
50602
|
description: "Each address gets its own invitation email with the role you pick below.",
|
|
50605
50603
|
className: i,
|
|
50606
|
-
actions: /* @__PURE__ */ I(
|
|
50607
|
-
/* @__PURE__ */ d(
|
|
50608
|
-
/* @__PURE__ */ I(
|
|
50604
|
+
actions: /* @__PURE__ */ I(et, { children: [
|
|
50605
|
+
/* @__PURE__ */ d(tt, { variant: "outline", onClick: () => t(!1), disabled: r, children: "Cancel" }),
|
|
50606
|
+
/* @__PURE__ */ I(tt, { onClick: C, disabled: !v, loading: r, children: [
|
|
50609
50607
|
"Send invitation",
|
|
50610
50608
|
a.length > 1 ? "s" : ""
|
|
50611
50609
|
] })
|
|
50612
50610
|
] }),
|
|
50613
50611
|
children: /* @__PURE__ */ I("div", { className: "flex flex-col gap-4", children: [
|
|
50614
50612
|
o && /* @__PURE__ */ d(At, { tone: "danger", title: o }),
|
|
50615
|
-
/* @__PURE__ */ d(
|
|
50613
|
+
/* @__PURE__ */ d(gt, { label: "Email addresses", error: h, description: "Press Enter or comma after each one.", children: /* @__PURE__ */ I("div", { className: "flex flex-wrap items-center gap-1.5 rounded-md border border-field-border bg-field p-1.5 focus-within:border-accent focus-within:shadow-[0_0_0_3px_var(--focus-halo)]", children: [
|
|
50616
50614
|
a.map((E) => /* @__PURE__ */ d(
|
|
50617
50615
|
ut,
|
|
50618
50616
|
{
|
|
@@ -50642,7 +50640,7 @@ function jZ({
|
|
|
50642
50640
|
}
|
|
50643
50641
|
)
|
|
50644
50642
|
] }) }),
|
|
50645
|
-
/* @__PURE__ */ d(
|
|
50643
|
+
/* @__PURE__ */ d(gt, { label: "Role", children: /* @__PURE__ */ d(pr, { value: p, onValueChange: (E) => f(E ?? ""), disabled: r, children: n.map((E) => /* @__PURE__ */ d(Hn, { value: E.id, children: E.label }, E.id)) }) })
|
|
50646
50644
|
] })
|
|
50647
50645
|
}
|
|
50648
50646
|
);
|
|
@@ -50687,7 +50685,7 @@ function WZ({
|
|
|
50687
50685
|
description: l.dirty ? oT("logo", o, l.value === null) : void 0
|
|
50688
50686
|
}
|
|
50689
50687
|
),
|
|
50690
|
-
/* @__PURE__ */ d(
|
|
50688
|
+
/* @__PURE__ */ d(gt, { label: "Team name", children: /* @__PURE__ */ d(
|
|
50691
50689
|
Ft,
|
|
50692
50690
|
{
|
|
50693
50691
|
value: a,
|
|
@@ -50758,7 +50756,7 @@ function lT({
|
|
|
50758
50756
|
disabled: o,
|
|
50759
50757
|
error: s,
|
|
50760
50758
|
fieldClassName: i,
|
|
50761
|
-
label: /* @__PURE__ */ I(
|
|
50759
|
+
label: /* @__PURE__ */ I(et, { children: [
|
|
50762
50760
|
"I have read and agree to the",
|
|
50763
50761
|
" ",
|
|
50764
50762
|
/* @__PURE__ */ d(
|
|
@@ -50817,7 +50815,7 @@ function YZ({
|
|
|
50817
50815
|
/* @__PURE__ */ d("strong", { className: "text-primary", children: i.name }),
|
|
50818
50816
|
"."
|
|
50819
50817
|
] }),
|
|
50820
|
-
/* @__PURE__ */ I(
|
|
50818
|
+
/* @__PURE__ */ I(tt, { onClick: f, loading: a, className: "w-full", children: [
|
|
50821
50819
|
"Accept & join ",
|
|
50822
50820
|
e
|
|
50823
50821
|
] })
|
|
@@ -50831,15 +50829,15 @@ function YZ({
|
|
|
50831
50829
|
o,
|
|
50832
50830
|
". Sign in with that account to accept."
|
|
50833
50831
|
] }),
|
|
50834
|
-
/* @__PURE__ */ d(
|
|
50832
|
+
/* @__PURE__ */ d(tt, { onClick: h, variant: "outline", className: "w-full", children: "Sign in to accept" })
|
|
50835
50833
|
] });
|
|
50836
50834
|
const k = g.trim() !== "" && x.trim() !== "" && v !== "" && E && !a;
|
|
50837
50835
|
return /* @__PURE__ */ I("div", { className: `flex flex-col gap-4 ${m ?? ""}`, children: [
|
|
50838
50836
|
N,
|
|
50839
50837
|
c && /* @__PURE__ */ d(At, { tone: "danger", title: c }),
|
|
50840
|
-
/* @__PURE__ */ d(
|
|
50841
|
-
/* @__PURE__ */ d(
|
|
50842
|
-
/* @__PURE__ */ d(
|
|
50838
|
+
/* @__PURE__ */ d(gt, { label: "Your name", children: /* @__PURE__ */ d(Ft, { value: g, onChange: (R) => b(R.target.value), disabled: a, autoFocus: !0 }) }),
|
|
50839
|
+
/* @__PURE__ */ d(gt, { label: "Username", children: /* @__PURE__ */ d(Ft, { value: x, onChange: (R) => w(R.target.value), disabled: a }) }),
|
|
50840
|
+
/* @__PURE__ */ d(gt, { label: "Password", children: /* @__PURE__ */ d(
|
|
50843
50841
|
Ft,
|
|
50844
50842
|
{
|
|
50845
50843
|
type: "password",
|
|
@@ -50859,7 +50857,7 @@ function YZ({
|
|
|
50859
50857
|
}
|
|
50860
50858
|
),
|
|
50861
50859
|
/* @__PURE__ */ I(
|
|
50862
|
-
|
|
50860
|
+
tt,
|
|
50863
50861
|
{
|
|
50864
50862
|
onClick: () => p({ name: g.trim(), username: x.trim(), password: v, acceptedTerms: !0 }),
|
|
50865
50863
|
disabled: !k,
|
|
@@ -50922,7 +50920,7 @@ function XZ({
|
|
|
50922
50920
|
return /* @__PURE__ */ I("form", { className: `flex flex-col gap-4 ${l ?? ""}`, onSubmit: H, noValidate: !0, children: [
|
|
50923
50921
|
a && /* @__PURE__ */ d(At, { tone: "danger", title: a }),
|
|
50924
50922
|
/* @__PURE__ */ d(
|
|
50925
|
-
|
|
50923
|
+
gt,
|
|
50926
50924
|
{
|
|
50927
50925
|
label: "Beta code",
|
|
50928
50926
|
description: D ? "Filled in from your sign-up link." : void 0,
|
|
@@ -50946,7 +50944,7 @@ function XZ({
|
|
|
50946
50944
|
}
|
|
50947
50945
|
),
|
|
50948
50946
|
!A && /* @__PURE__ */ d(
|
|
50949
|
-
|
|
50947
|
+
tt,
|
|
50950
50948
|
{
|
|
50951
50949
|
type: "submit",
|
|
50952
50950
|
disabled: u.trim() === "" || f.status === "checking",
|
|
@@ -50955,8 +50953,8 @@ function XZ({
|
|
|
50955
50953
|
children: "Continue"
|
|
50956
50954
|
}
|
|
50957
50955
|
),
|
|
50958
|
-
A && /* @__PURE__ */ I(
|
|
50959
|
-
/* @__PURE__ */ d(
|
|
50956
|
+
A && /* @__PURE__ */ I(et, { children: [
|
|
50957
|
+
/* @__PURE__ */ d(gt, { label: "Your name", children: /* @__PURE__ */ d(
|
|
50960
50958
|
Ft,
|
|
50961
50959
|
{
|
|
50962
50960
|
value: m,
|
|
@@ -50966,7 +50964,7 @@ function XZ({
|
|
|
50966
50964
|
autoFocus: !0
|
|
50967
50965
|
}
|
|
50968
50966
|
) }),
|
|
50969
|
-
/* @__PURE__ */ d(
|
|
50967
|
+
/* @__PURE__ */ d(gt, { label: "Username", children: /* @__PURE__ */ d(
|
|
50970
50968
|
Ft,
|
|
50971
50969
|
{
|
|
50972
50970
|
value: b,
|
|
@@ -50978,7 +50976,7 @@ function XZ({
|
|
|
50978
50976
|
}
|
|
50979
50977
|
) }),
|
|
50980
50978
|
/* @__PURE__ */ d(
|
|
50981
|
-
|
|
50979
|
+
gt,
|
|
50982
50980
|
{
|
|
50983
50981
|
label: "Email",
|
|
50984
50982
|
description: _ !== null ? "This code is reserved for this address." : void 0,
|
|
@@ -50995,7 +50993,7 @@ function XZ({
|
|
|
50995
50993
|
)
|
|
50996
50994
|
}
|
|
50997
50995
|
),
|
|
50998
|
-
/* @__PURE__ */ d(
|
|
50996
|
+
/* @__PURE__ */ d(gt, { label: "Team or organization name", description: "Your own workspace; you will be its owner.", children: /* @__PURE__ */ d(
|
|
50999
50997
|
Ft,
|
|
51000
50998
|
{
|
|
51001
50999
|
value: C,
|
|
@@ -51004,7 +51002,7 @@ function XZ({
|
|
|
51004
51002
|
autoComplete: "organization"
|
|
51005
51003
|
}
|
|
51006
51004
|
) }),
|
|
51007
|
-
/* @__PURE__ */ I(
|
|
51005
|
+
/* @__PURE__ */ I(gt, { label: "Password", children: [
|
|
51008
51006
|
/* @__PURE__ */ d(
|
|
51009
51007
|
is,
|
|
51010
51008
|
{
|
|
@@ -51026,12 +51024,12 @@ function XZ({
|
|
|
51026
51024
|
disabled: i
|
|
51027
51025
|
}
|
|
51028
51026
|
),
|
|
51029
|
-
/* @__PURE__ */ d(
|
|
51027
|
+
/* @__PURE__ */ d(tt, { type: "submit", disabled: !V, loading: i, className: "w-full", children: "Create account" })
|
|
51030
51028
|
] }),
|
|
51031
51029
|
c && /* @__PURE__ */ I("p", { className: "text-center text-sm text-secondary", children: [
|
|
51032
51030
|
"Already have an account?",
|
|
51033
51031
|
" ",
|
|
51034
|
-
/* @__PURE__ */ d(
|
|
51032
|
+
/* @__PURE__ */ d(tt, { type: "button", variant: "link", onClick: c, children: "Sign in" })
|
|
51035
51033
|
] })
|
|
51036
51034
|
] });
|
|
51037
51035
|
}
|
|
@@ -51058,7 +51056,7 @@ function ZZ({
|
|
|
51058
51056
|
h(m);
|
|
51059
51057
|
}, children: /* @__PURE__ */ I("div", { className: "flex flex-col gap-4", children: [
|
|
51060
51058
|
u && /* @__PURE__ */ d(At, { tone: "danger", title: "Couldn't sign in", children: u }),
|
|
51061
|
-
/* @__PURE__ */ d(
|
|
51059
|
+
/* @__PURE__ */ d(gt, { label: "Email or username", children: /* @__PURE__ */ d(
|
|
51062
51060
|
Ft,
|
|
51063
51061
|
{
|
|
51064
51062
|
value: o,
|
|
@@ -51070,7 +51068,7 @@ function ZZ({
|
|
|
51070
51068
|
}
|
|
51071
51069
|
) }),
|
|
51072
51070
|
/* @__PURE__ */ d(
|
|
51073
|
-
|
|
51071
|
+
gt,
|
|
51074
51072
|
{
|
|
51075
51073
|
label: t ? /* @__PURE__ */ I("div", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
51076
51074
|
/* @__PURE__ */ d("span", { children: "Password" }),
|
|
@@ -51088,7 +51086,7 @@ function ZZ({
|
|
|
51088
51086
|
)
|
|
51089
51087
|
}
|
|
51090
51088
|
),
|
|
51091
|
-
/* @__PURE__ */ d(
|
|
51089
|
+
/* @__PURE__ */ d(tt, { type: "submit", disabled: !f, loading: c, className: "w-full", children: n })
|
|
51092
51090
|
] }) });
|
|
51093
51091
|
}
|
|
51094
51092
|
function QZ({ onSubmit: e, submitLabel: t = "Send reset link", className: n }) {
|
|
@@ -51113,7 +51111,7 @@ function QZ({ onSubmit: e, submitLabel: t = "Send reset link", className: n }) {
|
|
|
51113
51111
|
f(h);
|
|
51114
51112
|
}, children: /* @__PURE__ */ I("div", { className: "flex flex-col gap-4", children: [
|
|
51115
51113
|
a && /* @__PURE__ */ d(At, { tone: "danger", title: "Couldn't send the reset link", children: a }),
|
|
51116
|
-
/* @__PURE__ */ d(
|
|
51114
|
+
/* @__PURE__ */ d(gt, { label: "Email", description: "We'll send a link to reset your password.", children: /* @__PURE__ */ d(
|
|
51117
51115
|
Ft,
|
|
51118
51116
|
{
|
|
51119
51117
|
type: "email",
|
|
@@ -51125,7 +51123,7 @@ function QZ({ onSubmit: e, submitLabel: t = "Send reset link", className: n }) {
|
|
|
51125
51123
|
required: !0
|
|
51126
51124
|
}
|
|
51127
51125
|
) }),
|
|
51128
|
-
/* @__PURE__ */ d(
|
|
51126
|
+
/* @__PURE__ */ d(tt, { type: "submit", disabled: !p, loading: s, className: "w-full", children: t })
|
|
51129
51127
|
] }) });
|
|
51130
51128
|
}
|
|
51131
51129
|
function JZ({
|
|
@@ -51151,7 +51149,7 @@ function JZ({
|
|
|
51151
51149
|
b(x);
|
|
51152
51150
|
}, children: /* @__PURE__ */ I("div", { className: "flex flex-col gap-4", children: [
|
|
51153
51151
|
u && /* @__PURE__ */ d(At, { tone: "danger", title: "Couldn't reset your password", children: u }),
|
|
51154
|
-
/* @__PURE__ */ I(
|
|
51152
|
+
/* @__PURE__ */ I(gt, { label: "New password", children: [
|
|
51155
51153
|
/* @__PURE__ */ d(
|
|
51156
51154
|
is,
|
|
51157
51155
|
{
|
|
@@ -51166,7 +51164,7 @@ function JZ({
|
|
|
51166
51164
|
/* @__PURE__ */ d(jg, { rules: f, className: "mt-2" })
|
|
51167
51165
|
] }),
|
|
51168
51166
|
/* @__PURE__ */ d(
|
|
51169
|
-
|
|
51167
|
+
gt,
|
|
51170
51168
|
{
|
|
51171
51169
|
label: "Confirm new password",
|
|
51172
51170
|
error: m ? "Doesn't match the new password above." : void 0,
|
|
@@ -51182,7 +51180,7 @@ function JZ({
|
|
|
51182
51180
|
)
|
|
51183
51181
|
}
|
|
51184
51182
|
),
|
|
51185
|
-
/* @__PURE__ */ d(
|
|
51183
|
+
/* @__PURE__ */ d(tt, { type: "submit", disabled: !g, loading: c, className: "w-full", children: n })
|
|
51186
51184
|
] }) });
|
|
51187
51185
|
}
|
|
51188
51186
|
function l9(e, t) {
|
|
@@ -51262,7 +51260,7 @@ function f9({
|
|
|
51262
51260
|
}
|
|
51263
51261
|
) : /* @__PURE__ */ d(ut, { size: "sm", tone: s.tone, icon: s.icon, dot: s.live, pulse: s.live, children: s.label }),
|
|
51264
51262
|
t.map((i) => {
|
|
51265
|
-
const a = e.built[i.id] === !0, c = `${i.name}${a ? " built" : " not built"}`, l = /* @__PURE__ */ I(
|
|
51263
|
+
const a = e.built[i.id] === !0, c = `${i.name}${a ? " built" : " not built"}`, l = /* @__PURE__ */ I(et, { children: [
|
|
51266
51264
|
/* @__PURE__ */ d(ue, { name: a ? "circle-check" : "circle-dashed", size: "xs" }),
|
|
51267
51265
|
/* @__PURE__ */ d("span", { "aria-hidden": "true", children: i.name }),
|
|
51268
51266
|
/* @__PURE__ */ d("span", { className: "sr-only", children: c })
|
|
@@ -51324,7 +51322,7 @@ function uT({
|
|
|
51324
51322
|
/* @__PURE__ */ d(ut, { size: "sm", tone: I0(o), children: r.name })
|
|
51325
51323
|
] }),
|
|
51326
51324
|
e.summary && /* @__PURE__ */ d("p", { className: "text-sm text-secondary text-pretty", children: e.summary }),
|
|
51327
|
-
s.length > 0 && /* @__PURE__ */ I(
|
|
51325
|
+
s.length > 0 && /* @__PURE__ */ I(et, { children: [
|
|
51328
51326
|
/* @__PURE__ */ I(
|
|
51329
51327
|
"button",
|
|
51330
51328
|
{
|
|
@@ -51505,11 +51503,11 @@ function eQ({
|
|
|
51505
51503
|
/* @__PURE__ */ d("p", { className: "text-sm text-secondary", children: "Every roadmap item and the use cases behind it — internal and customer-facing alike." })
|
|
51506
51504
|
] }),
|
|
51507
51505
|
/* @__PURE__ */ I("div", { className: "flex flex-wrap items-end gap-3", children: [
|
|
51508
|
-
/* @__PURE__ */ d(
|
|
51506
|
+
/* @__PURE__ */ d(gt, { label: "Domain", className: "w-48", children: /* @__PURE__ */ I(pr, { value: c, onValueChange: (g) => l(String(g)), children: [
|
|
51509
51507
|
/* @__PURE__ */ d(Hn, { value: mp, children: "All domains" }),
|
|
51510
51508
|
e.map((g) => /* @__PURE__ */ d(Hn, { value: g.slug, children: g.name }, g.slug))
|
|
51511
51509
|
] }) }),
|
|
51512
|
-
/* @__PURE__ */ d(
|
|
51510
|
+
/* @__PURE__ */ d(gt, { label: "Status", className: "w-48", children: /* @__PURE__ */ d(
|
|
51513
51511
|
pr,
|
|
51514
51512
|
{
|
|
51515
51513
|
value: u,
|
|
@@ -51648,7 +51646,7 @@ function dT({
|
|
|
51648
51646
|
),
|
|
51649
51647
|
T,
|
|
51650
51648
|
/* @__PURE__ */ d(
|
|
51651
|
-
|
|
51649
|
+
mt,
|
|
51652
51650
|
{
|
|
51653
51651
|
icon: /* @__PURE__ */ d(ue, { name: "trash-2", size: "sm" }),
|
|
51654
51652
|
label: `Delete ${R.name}`,
|
|
@@ -51660,7 +51658,7 @@ function dT({
|
|
|
51660
51658
|
] }) }, R.id);
|
|
51661
51659
|
}) }) }),
|
|
51662
51660
|
/* @__PURE__ */ I("div", { className: "flex flex-wrap items-end gap-2 border-t border-border-subtle pt-4", children: [
|
|
51663
|
-
/* @__PURE__ */ d(
|
|
51661
|
+
/* @__PURE__ */ d(gt, { label: o, className: "w-56", children: /* @__PURE__ */ d(
|
|
51664
51662
|
Ft,
|
|
51665
51663
|
{
|
|
51666
51664
|
size: "sm",
|
|
@@ -51673,7 +51671,7 @@ function dT({
|
|
|
51673
51671
|
}
|
|
51674
51672
|
) }),
|
|
51675
51673
|
/* @__PURE__ */ d(
|
|
51676
|
-
|
|
51674
|
+
tt,
|
|
51677
51675
|
{
|
|
51678
51676
|
size: "sm",
|
|
51679
51677
|
onClick: E,
|
|
@@ -52074,7 +52072,7 @@ function M9({
|
|
|
52074
52072
|
loading state or a bug. */
|
|
52075
52073
|
/* @__PURE__ */ d("p", { className: "text-sm text-tertiary", children: "Nothing was recorded about where this value came from." })
|
|
52076
52074
|
] }),
|
|
52077
|
-
t && /* @__PURE__ */ I(
|
|
52075
|
+
t && /* @__PURE__ */ I(et, { children: [
|
|
52078
52076
|
/* @__PURE__ */ d(aw, {}),
|
|
52079
52077
|
/* @__PURE__ */ d("div", { className: "flex flex-wrap gap-2 p-4 pt-3", children: t })
|
|
52080
52078
|
] })
|
|
@@ -54696,7 +54694,7 @@ function uQ({
|
|
|
54696
54694
|
children: [
|
|
54697
54695
|
/* @__PURE__ */ I("div", { className: "flex flex-wrap items-center gap-2 border-b border-border-subtle px-3 py-2", children: [
|
|
54698
54696
|
/* @__PURE__ */ d(
|
|
54699
|
-
|
|
54697
|
+
mt,
|
|
54700
54698
|
{
|
|
54701
54699
|
icon: /* @__PURE__ */ d(ue, { name: "arrow-up", size: "sm" }),
|
|
54702
54700
|
label: "Go up one level",
|
|
@@ -55512,10 +55510,10 @@ function FK({
|
|
|
55512
55510
|
onReset: r
|
|
55513
55511
|
}) {
|
|
55514
55512
|
return /* @__PURE__ */ I("div", { className: "absolute right-2 bottom-2 flex items-center gap-1 rounded-lg border border-border bg-surface/95 p-1 shadow-sm backdrop-blur-sm", children: [
|
|
55515
|
-
/* @__PURE__ */ d(
|
|
55516
|
-
/* @__PURE__ */ d(
|
|
55517
|
-
/* @__PURE__ */ d(
|
|
55518
|
-
/* @__PURE__ */ d(
|
|
55513
|
+
/* @__PURE__ */ d(mt, { icon: /* @__PURE__ */ d(ue, { name: "minus", size: "sm" }), label: "Zoom out", size: "sm", onClick: t }),
|
|
55514
|
+
/* @__PURE__ */ d(mt, { icon: /* @__PURE__ */ d(ue, { name: "plus", size: "sm" }), label: "Zoom in", size: "sm", onClick: e }),
|
|
55515
|
+
/* @__PURE__ */ d(mt, { icon: /* @__PURE__ */ d(ue, { name: "maximize-2", size: "sm" }), label: "Fit all", size: "sm", onClick: n }),
|
|
55516
|
+
/* @__PURE__ */ d(mt, { icon: /* @__PURE__ */ d(ue, { name: "crosshair", size: "sm" }), label: "Reset to focus", size: "sm", onClick: r })
|
|
55519
55517
|
] });
|
|
55520
55518
|
}
|
|
55521
55519
|
function VK({
|
|
@@ -55588,7 +55586,7 @@ function VK({
|
|
|
55588
55586
|
framePadding: TK
|
|
55589
55587
|
}
|
|
55590
55588
|
),
|
|
55591
|
-
/* @__PURE__ */ d("div", { className: "absolute top-2 right-2", children: /* @__PURE__ */ d(
|
|
55589
|
+
/* @__PURE__ */ d("div", { className: "absolute top-2 right-2", children: /* @__PURE__ */ d(mt, { icon: /* @__PURE__ */ d(ue, { name: "maximize-2", size: "sm" }), label: "Expand", size: "sm", onClick: R }) }),
|
|
55592
55590
|
!u && /* @__PURE__ */ d(ms, { open: N, onOpenChange: k, title: n, size: "xl", children: /* @__PURE__ */ d(
|
|
55593
55591
|
VK,
|
|
55594
55592
|
{
|
|
@@ -56311,7 +56309,7 @@ function hq({ doc: e, security: t }) {
|
|
|
56311
56309
|
function mq({ id: e }) {
|
|
56312
56310
|
const [t, n] = ie(!1);
|
|
56313
56311
|
return /* @__PURE__ */ d(
|
|
56314
|
-
|
|
56312
|
+
mt,
|
|
56315
56313
|
{
|
|
56316
56314
|
icon: /* @__PURE__ */ d(gq, { copied: t }),
|
|
56317
56315
|
label: t ? "Link copied" : "Copy link to this operation",
|
|
@@ -56327,7 +56325,7 @@ function mq({ id: e }) {
|
|
|
56327
56325
|
);
|
|
56328
56326
|
}
|
|
56329
56327
|
function gq({ copied: e }) {
|
|
56330
|
-
return /* @__PURE__ */ d("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: e ? /* @__PURE__ */ d("path", { d: "M20 6 9 17l-5-5" }) : /* @__PURE__ */ I(
|
|
56328
|
+
return /* @__PURE__ */ d("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: e ? /* @__PURE__ */ d("path", { d: "M20 6 9 17l-5-5" }) : /* @__PURE__ */ I(et, { children: [
|
|
56331
56329
|
/* @__PURE__ */ d("path", { d: "M10 13a5 5 0 0 0 7.07 0l2.83-2.83a5 5 0 0 0-7.07-7.07l-1.5 1.5" }),
|
|
56332
56330
|
/* @__PURE__ */ d("path", { d: "M14 11a5 5 0 0 0-7.07 0L4.1 13.83a5 5 0 0 0 7.07 7.07l1.5-1.5" })
|
|
56333
56331
|
] }) });
|
|
@@ -56435,7 +56433,7 @@ function hQ({ spec: e, defaultExpandedGroups: t, className: n }) {
|
|
|
56435
56433
|
{
|
|
56436
56434
|
title: "No operations match",
|
|
56437
56435
|
description: `Nothing in this spec matches "${r}".`,
|
|
56438
|
-
secondaryAction: /* @__PURE__ */ d(
|
|
56436
|
+
secondaryAction: /* @__PURE__ */ d(tt, { variant: "ghost", size: "sm", onClick: () => o(""), children: "Clear filter" })
|
|
56439
56437
|
}
|
|
56440
56438
|
),
|
|
56441
56439
|
a.length > 0 && /* @__PURE__ */ d(Wd, { hiddenUntilFound: !0, defaultValue: t ? [...t] : [], children: a.map((m) => /* @__PURE__ */ I(
|
|
@@ -57992,7 +57990,7 @@ export {
|
|
|
57992
57990
|
cZ as BoardColumn,
|
|
57993
57991
|
GZ as Brand,
|
|
57994
57992
|
v6 as Breadcrumb,
|
|
57995
|
-
|
|
57993
|
+
tt as Button,
|
|
57996
57994
|
Dr as CAMERA_DEFAULTS,
|
|
57997
57995
|
R0 as CATEGORY_TONES,
|
|
57998
57996
|
Jo as CENTER_POSITION,
|
|
@@ -58073,7 +58071,7 @@ export {
|
|
|
58073
58071
|
rl as EmptyState,
|
|
58074
58072
|
BY as ErrorBoundary,
|
|
58075
58073
|
C8 as EventActions,
|
|
58076
|
-
|
|
58074
|
+
gt as Field,
|
|
58077
58075
|
HY as FieldSet,
|
|
58078
58076
|
hZ as FileCover,
|
|
58079
58077
|
hB as FileUpload,
|
|
@@ -58083,7 +58081,7 @@ export {
|
|
|
58083
58081
|
Tg as HOTKEYS,
|
|
58084
58082
|
JK as HTTP_METHODS,
|
|
58085
58083
|
ue as Icon,
|
|
58086
|
-
|
|
58084
|
+
mt as IconButton,
|
|
58087
58085
|
tZ as IconStack,
|
|
58088
58086
|
cR as ImageUploadField,
|
|
58089
58087
|
UY as InlineEdit,
|