@brickkit/cli 0.11.0 → 0.12.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/dashboard-dist/CollapsiblePanel-CbUysOp5.js +2 -0
- package/dashboard-dist/CompositeRoot-D4sRkYq3.js +1 -0
- package/dashboard-dist/Geist-Variable.woff2 +0 -0
- package/dashboard-dist/GeistMono-Variable.woff2 +0 -0
- package/dashboard-dist/PopoverPopup-CiI2avT_.js +1 -0
- package/dashboard-dist/api-reference-B-bZRtNV.js +265 -0
- package/dashboard-dist/app.css +2 -2
- package/dashboard-dist/app.js +11 -11
- package/dashboard-dist/ccount-CcG1m-Yh.js +1 -0
- package/dashboard-dist/client-BJJtVSVr.js +1 -0
- package/dashboard-dist/core-Z7NJFk0K.js +1 -0
- package/dashboard-dist/docs-Dpfc0wJb.js +4 -0
- package/dashboard-dist/docs.css +1 -1
- package/dashboard-dist/kit.js +1 -1
- package/dashboard-dist/popover-BzejBolB.js +1 -0
- package/dist/app-entry2.js +2 -3
- package/dist/bin.d.ts +0 -2
- package/dist/bin.js +173 -12
- package/dist/bin.js.map +1 -1
- package/dist/client-contract-file2.js +1 -2
- package/dist/client-contract2.js +6 -4
- package/dist/client-contract2.js.map +1 -1
- package/dist/compiler.d.ts +1 -2
- package/dist/compiler.js +1 -1
- package/dist/compiler2.js +3 -4
- package/dist/config.js +5 -7
- package/dist/config.js.map +1 -1
- package/dist/dashboard-extension.d.ts +0 -2
- package/dist/dashboard.d.ts +4 -134
- package/dist/dev-reporter.d.ts +0 -2
- package/dist/dev-reporter.js +1 -2
- package/dist/dev-telemetry-store.js +9 -19
- package/dist/dev-telemetry-store.js.map +1 -1
- package/dist/dev-telemetry.js +3 -4
- package/dist/dev-telemetry.js.map +1 -1
- package/dist/dev-worker.js +1 -2
- package/dist/emit.d.ts +0 -2
- package/dist/index.d.ts +7 -17
- package/dist/index.js +3 -4
- package/dist/lint/oxlint.d.ts +0 -2
- package/dist/lint/oxlint.js +1 -2
- package/dist/plugin.d.ts +0 -6
- package/dist/plugin.js +2 -4
- package/dist/plugin.js.map +1 -1
- package/dist/presets.js +3 -7
- package/dist/presets.js.map +1 -1
- package/dist/runner.js +5 -9
- package/dist/runner.js.map +1 -1
- package/dist/vite.d.ts +0 -2
- package/dist/vite.js +5 -7
- package/dist/vite.js.map +1 -1
- package/dist/workflows.d.ts +0 -2
- package/dist/workflows2.js +2 -3
- package/inspector-dist/client/assets/api.rpc-BvRk9kiK.js +0 -0
- package/inspector-dist/client/assets/api.stream._streamId-BvRk9kiK.js +0 -0
- package/inspector-dist/client/assets/app-CCzpuUz_.css +2 -0
- package/inspector-dist/client/assets/dist-BK8w6xOr.js +3930 -0
- package/inspector-dist/client/assets/dist-CG2aVufI.js +197 -0
- package/inspector-dist/client/assets/entry.client-D9jbgmTR.js +9391 -0
- package/inspector-dist/client/assets/highlighted-body-B3W2YXNL-DYVdwGy2.js +34 -0
- package/inspector-dist/client/assets/home-CyjkvtII.js +2883 -0
- package/inspector-dist/client/assets/jsx-runtime-CPEah4WQ.js +7084 -0
- package/inspector-dist/client/assets/manifest-ba30b52d.js +1 -0
- package/inspector-dist/client/assets/mermaid-3ZIDBTTL-Dy6IVqPy.js +1 -0
- package/inspector-dist/client/assets/root-8BMab1lL.css +2 -0
- package/inspector-dist/client/assets/root-DX9wtogx.js +332 -0
- package/inspector-dist/client/assets/run-detail-C69EJGql.js +1549 -0
- package/inspector-dist/client/assets/tabs-B6B88IjT.js +75692 -0
- package/inspector-dist/client/assets/tabs-L5XKzOpP.css +1 -0
- package/inspector-dist/client/assets/world-config-context-C3BqXPIv.js +30 -0
- package/inspector-dist/client/assets/zstd-browser-decoder-ByUgcY9H.js +41 -0
- package/inspector-dist/server/assets/app-WoDoT62X.js +100155 -0
- package/inspector-dist/server/assets/chunk-RLXIAIE6-CbvDIAEa.js +42977 -0
- package/inspector-dist/server/assets/dist-BRxZSWUN.js +1140 -0
- package/inspector-dist/server/assets/dist-CQnQcIJg.js +199 -0
- package/inspector-dist/server/assets/dist-DqRd9pyS.js +1644 -0
- package/inspector-dist/server/assets/dist-qR-969AD.js +10327 -0
- package/inspector-dist/server/assets/encryption-_PuklZNX.js +888 -0
- package/inspector-dist/server/assets/event-metadata-BVakQJ_y.js +147 -0
- package/inspector-dist/server/assets/functions-CImcpqNl.js +1172 -0
- package/inspector-dist/server/assets/global-singleton-CPirHxFh.js +82 -0
- package/inspector-dist/server/assets/highlighted-body-B3W2YXNL-fPMB_t7F.js +36 -0
- package/inspector-dist/server/assets/mermaid-3ZIDBTTL-bADXySE3.js +3 -0
- package/inspector-dist/server/assets/parse-D9Vvgzt9.js +471 -0
- package/inspector-dist/server/assets/rolldown-runtime-CLg409Sh.js +44 -0
- package/inspector-dist/server/assets/serialization-format-DDtsVTU1.js +478 -0
- package/inspector-dist/server/assets/token-BW4GdQZh.js +62 -0
- package/inspector-dist/server/assets/token-D6FXdkJT.js +57 -0
- package/inspector-dist/server/assets/token-util-BoNmi-wE.js +457 -0
- package/inspector-dist/server/assets/wrapper-wiqsGXcE.js +3626 -0
- package/inspector-dist/server/assets/ws-transport-DV7oG4mL.js +29478 -0
- package/inspector-dist/server/assets/zstd-browser-decoder-Cswf0KO6.js +40 -0
- package/inspector-dist/server/index.js +2 -57
- package/package.json +29 -28
- package/vite-client.d.ts +1 -1
- package/dashboard-dist/CollapsiblePanel-BX79_W-b.js +0 -2
- package/dashboard-dist/CompositeRoot-xzybXjnx.js +0 -1
- package/dashboard-dist/PopoverPopup-CvlmC7EL.js +0 -1
- package/dashboard-dist/api-reference-BcAYVYwJ.js +0 -260
- package/dashboard-dist/core-BGO9JZ1r.js +0 -1
- package/dashboard-dist/docs-DHikPD2v.js +0 -4
- package/dashboard-dist/popover-DG498XHH.js +0 -1
- package/dist/bin.d.ts.map +0 -1
- package/dist/dashboard-extension.d.ts.map +0 -1
- package/dist/dev-reporter.d.ts.map +0 -1
- package/dist/emit.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lint/oxlint.d.ts.map +0 -1
- package/dist/plugin.d.ts.map +0 -1
- package/dist/vite.d.ts.map +0 -1
- package/dist/workflows.d.ts.map +0 -1
- package/inspector-dist/client/assets/api.rpc-l0sNRNKZ.js +0 -1
- package/inspector-dist/client/assets/api.stream._streamId-l0sNRNKZ.js +0 -1
- package/inspector-dist/client/assets/app-CvoGgWcV.css +0 -1
- package/inspector-dist/client/assets/entry.client-BJ6G3n5t.js +0 -11697
- package/inspector-dist/client/assets/highlighted-body-B3W2YXNL-C-3wZnxf.js +0 -19
- package/inspector-dist/client/assets/home-CSKAS4P2.js +0 -4979
- package/inspector-dist/client/assets/index-DECCyMR0.js +0 -4482
- package/inspector-dist/client/assets/index-Dot7CgrA.js +0 -9837
- package/inspector-dist/client/assets/index-HqNj_XIX.js +0 -200
- package/inspector-dist/client/assets/manifest-139c9319.js +0 -1
- package/inspector-dist/client/assets/mermaid-3ZIDBTTL-DC0K8uTy.js +0 -58626
- package/inspector-dist/client/assets/mermaid-3ZIDBTTL-F88p7PFX.css +0 -1
- package/inspector-dist/client/assets/root-BMHd_XHz.css +0 -1
- package/inspector-dist/client/assets/root-cbi6iYwg.js +0 -305
- package/inspector-dist/client/assets/run-detail-CWoGxu_0.css +0 -1
- package/inspector-dist/client/assets/run-detail-Cc7tSGNq.js +0 -6237
- package/inspector-dist/client/assets/world-config-context-BAD1QCrR.js +0 -26
- package/inspector-dist/client/assets/zstd-browser-decoder-BQoRpP7L.js +0 -28
- package/inspector-dist/server/assets/app-DUP5RybL.js +0 -174880
- package/inspector-dist/server/assets/highlighted-body-B3W2YXNL-D2g4hL2-.js +0 -71
- package/inspector-dist/server/assets/index-BfLBLRRi.js +0 -204
- package/inspector-dist/server/assets/index-BzrGWk7J.js +0 -1164
- package/inspector-dist/server/assets/index-D71yP6AL.js +0 -191
- package/inspector-dist/server/assets/index-wGSWRns3.js +0 -1296
- package/inspector-dist/server/assets/mermaid-3ZIDBTTL-DsvuKoEV.js +0 -58
- package/inspector-dist/server/assets/token-ClUZZwXl.js +0 -95
- package/inspector-dist/server/assets/token-util-DSxMZ6nI.js +0 -33
- package/inspector-dist/server/assets/wrapper-B3vstpCO.js +0 -67
- package/inspector-dist/server/assets/zstd-browser-decoder-Dn82m2BU.js +0 -77
package/dist/dashboard.d.ts
CHANGED
|
@@ -4,14 +4,11 @@ import { Attributes } from "@opentelemetry/api";
|
|
|
4
4
|
import { ArchitectureSchema } from "@brickkit/core";
|
|
5
5
|
import { BrickClient, BrickClientOptions } from "@brickkit/core/client";
|
|
6
6
|
import { VariantProps } from "class-variance-authority";
|
|
7
|
-
//#region src/dev-telemetry.d.ts
|
|
8
7
|
interface SpanEventRecord {
|
|
9
8
|
name: string;
|
|
10
9
|
timeMs: number;
|
|
11
10
|
attributes: Attributes;
|
|
12
11
|
}
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/dev-telemetry-store.d.ts
|
|
15
12
|
type SpanOutcome = "running" | "ok" | "error" | "interrupted";
|
|
16
13
|
interface TraceSpan {
|
|
17
14
|
spanId: string;
|
|
@@ -43,12 +40,8 @@ interface TraceSummary {
|
|
|
43
40
|
action?: string;
|
|
44
41
|
/** Why it failed, when it did. */
|
|
45
42
|
message?: string;
|
|
46
|
-
/** The request used a v0.10 path that `brick({ legacyRoutes: true })` still serves. */
|
|
47
|
-
legacyRoute?: boolean;
|
|
48
43
|
spans: TraceSpan[];
|
|
49
44
|
}
|
|
50
|
-
//#endregion
|
|
51
|
-
//#region dashboard/state.d.ts
|
|
52
45
|
type View = "requests" | "logs" | "overview" | "apis" | "docs" | "workflows" | "errors" | "reloads" |
|
|
53
46
|
/** An extension's page, at `#/x/<id>/…`, so it never clashes with a built-in one. */
|
|
54
47
|
"x";
|
|
@@ -62,8 +55,6 @@ interface Route {
|
|
|
62
55
|
/** The extension page's id, for `x`. */
|
|
63
56
|
page?: string;
|
|
64
57
|
}
|
|
65
|
-
//#endregion
|
|
66
|
-
//#region dashboard/extension-registry.d.ts
|
|
67
58
|
/** What every slot, page and drawer tab receives. */
|
|
68
59
|
interface SlotContext {
|
|
69
60
|
/** Where the dashboard is: `#/x/queues/42` is `{ view: "x", page: "queues", path: ["42"] }`. */
|
|
@@ -144,8 +135,6 @@ interface DashboardExtension {
|
|
|
144
135
|
}
|
|
145
136
|
/** Declare the dashboard extension; the module's default export. */
|
|
146
137
|
export declare function defineDashboard<T extends DashboardExtension>(extension: T): T;
|
|
147
|
-
//#endregion
|
|
148
|
-
//#region dashboard/extension.d.ts
|
|
149
138
|
/** The requests the dashboard holds live, newest first. */
|
|
150
139
|
export declare function useRequests(): TraceSummary[];
|
|
151
140
|
/** The app's services, actions and routes as last started; null before it starts. */
|
|
@@ -182,8 +171,6 @@ export declare function useAppQuery<T>(query: ((signal: AbortSignal) => Promise<
|
|
|
182
171
|
* component mounts and whenever `path` changes. A `null` path waits.
|
|
183
172
|
*/
|
|
184
173
|
export declare function useAppFetch<T = unknown>(path: string | null, init?: RequestInit): AppFetchResult<T>;
|
|
185
|
-
//#endregion
|
|
186
|
-
//#region dashboard/components/panel.d.ts
|
|
187
174
|
/**
|
|
188
175
|
* Efferd's card: a square, 1px-bordered surface with a plus mark on each
|
|
189
176
|
* corner, built on the shadcn Card with its radius and ring removed. A `title`
|
|
@@ -192,8 +179,6 @@ export declare function useAppFetch<T = unknown>(path: string | null, init?: Req
|
|
|
192
179
|
export declare function Panel({ className, children, title, ...props }: Omit<ComponentProps<"div">, "title"> & {
|
|
193
180
|
title?: ReactNode;
|
|
194
181
|
}): import("react").JSX.Element;
|
|
195
|
-
//#endregion
|
|
196
|
-
//#region dashboard/components/metric.d.ts
|
|
197
182
|
/** Miniature stacked-block bar chart, with the newest column emphasized. */
|
|
198
183
|
export declare function SparkBars({ values }: {
|
|
199
184
|
values: number[];
|
|
@@ -207,8 +192,6 @@ export declare function Metric({ icon, label, value, note, spark }: {
|
|
|
207
192
|
/** Recent values for the miniature chart; omit for none. */
|
|
208
193
|
spark?: number[];
|
|
209
194
|
}): import("react").JSX.Element;
|
|
210
|
-
//#endregion
|
|
211
|
-
//#region dashboard/components/page-header.d.ts
|
|
212
195
|
export declare function PageHeader({ title, description, actions }: {
|
|
213
196
|
title: string;
|
|
214
197
|
description?: string;
|
|
@@ -218,16 +201,10 @@ export declare function Empty({ title, hint }: {
|
|
|
218
201
|
title: string;
|
|
219
202
|
hint?: string;
|
|
220
203
|
}): import("react").JSX.Element;
|
|
221
|
-
//#endregion
|
|
222
|
-
//#region ../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/clsx.d.mts
|
|
223
204
|
type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;
|
|
224
205
|
type ClassDictionary = Record<string, any>;
|
|
225
206
|
type ClassArray = ClassValue[];
|
|
226
|
-
//#endregion
|
|
227
|
-
//#region dashboard/lib/utils.d.ts
|
|
228
207
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
229
|
-
//#endregion
|
|
230
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/internals/reason-parts.d.mts
|
|
231
208
|
declare const none: 'none';
|
|
232
209
|
declare const triggerPress: 'trigger-press';
|
|
233
210
|
declare const triggerHover: 'trigger-hover';
|
|
@@ -263,8 +240,6 @@ declare const initial: 'initial';
|
|
|
263
240
|
declare const imperativeAction: 'imperative-action';
|
|
264
241
|
declare const swipe: 'swipe';
|
|
265
242
|
declare const windowResize: 'window-resize';
|
|
266
|
-
//#endregion
|
|
267
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/internals/createBaseUIEventDetails.d.mts
|
|
268
243
|
interface ReasonToEventMap {
|
|
269
244
|
[none]: Event;
|
|
270
245
|
[triggerPress]: MouseEvent | PointerEvent | TouchEvent | KeyboardEvent;
|
|
@@ -340,8 +315,6 @@ type BaseUIChangeEventDetail<Reason extends string, CustomProperties extends obj
|
|
|
340
315
|
* Details of custom change events emitted by Base UI components.
|
|
341
316
|
*/
|
|
342
317
|
type BaseUIChangeEventDetails<Reason extends string, CustomProperties extends object = {}> = Reason extends string ? BaseUIChangeEventDetail<Reason, CustomProperties> & {} : never;
|
|
343
|
-
//#endregion
|
|
344
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/types/index.d.mts
|
|
345
318
|
type HTMLProps<T = any> = React$1.HTMLAttributes<T> & {
|
|
346
319
|
ref?: React$1.Ref<T> | undefined;
|
|
347
320
|
};
|
|
@@ -356,8 +329,6 @@ type BaseUIEvent<E extends React$1.SyntheticEvent<Element, Event>> = E & {
|
|
|
356
329
|
preventBaseUIHandler: () => void;
|
|
357
330
|
readonly baseUIHandlerPrevented?: boolean | undefined;
|
|
358
331
|
};
|
|
359
|
-
//#endregion
|
|
360
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/internals/types.d.mts
|
|
361
332
|
type WithPreventBaseUIHandler<T> = T extends ((event: infer E) => any) ? E extends React$1.SyntheticEvent<Element, Event> ? (event: BaseUIEvent<E>) => ReturnType<T> : T : T extends undefined ? undefined : T;
|
|
362
333
|
/**
|
|
363
334
|
* Adds a `preventBaseUIHandler` method to all event handlers.
|
|
@@ -405,11 +376,7 @@ interface NonNativeButtonProps {
|
|
|
405
376
|
nativeButton?: boolean | undefined;
|
|
406
377
|
}
|
|
407
378
|
type Orientation = 'horizontal' | 'vertical';
|
|
408
|
-
//#endregion
|
|
409
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/internals/getStateAttributesProps.d.mts
|
|
410
379
|
type StateAttributesMapping<State> = { [Property in keyof State]?: (state: State[Property]) => Record<string, string> | null; };
|
|
411
|
-
//#endregion
|
|
412
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/use-render/useRender.d.mts
|
|
413
380
|
/**
|
|
414
381
|
* Renders a Base UI element.
|
|
415
382
|
*
|
|
@@ -476,14 +443,10 @@ declare namespace useRender {
|
|
|
476
443
|
type Parameters<TState, RenderedElementType extends Element, Enabled extends boolean | undefined> = UseRenderParameters<TState, RenderedElementType, Enabled>;
|
|
477
444
|
type ReturnValue<Enabled extends boolean | undefined> = UseRenderReturnValue<Enabled>;
|
|
478
445
|
}
|
|
479
|
-
//#endregion
|
|
480
|
-
//#region dashboard/components/ui/badge.d.ts
|
|
481
446
|
declare const badgeVariants: (props?: ({
|
|
482
|
-
variant?: "default" | "
|
|
447
|
+
variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "secondary" | null | undefined;
|
|
483
448
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
484
449
|
declare function Badge({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
485
|
-
//#endregion
|
|
486
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/button/Button.d.mts
|
|
487
450
|
/**
|
|
488
451
|
* A button component that can be used to trigger actions.
|
|
489
452
|
* Renders a `<button>` element.
|
|
@@ -508,15 +471,11 @@ declare namespace Button$1 {
|
|
|
508
471
|
type State = ButtonState;
|
|
509
472
|
type Props = ButtonProps;
|
|
510
473
|
}
|
|
511
|
-
//#endregion
|
|
512
|
-
//#region dashboard/components/ui/button.d.ts
|
|
513
474
|
declare const buttonVariants: (props?: ({
|
|
514
|
-
variant?: "default" | "
|
|
515
|
-
size?: "default" | "
|
|
475
|
+
variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "secondary" | null | undefined;
|
|
476
|
+
size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xs" | "lg" | "sm" | "xs" | null | undefined;
|
|
516
477
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
517
478
|
declare function Button({ className, variant, size, ...props }: Button$1.Props & VariantProps<typeof buttonVariants>): import("react").JSX.Element;
|
|
518
|
-
//#endregion
|
|
519
|
-
//#region dashboard/components/ui/card.d.ts
|
|
520
479
|
declare function Card({ className, size, ...props }: React$1.ComponentProps<"div"> & {
|
|
521
480
|
size?: "default" | "sm";
|
|
522
481
|
}): React$1.JSX.Element;
|
|
@@ -526,8 +485,6 @@ declare function CardDescription({ className, ...props }: React$1.ComponentProps
|
|
|
526
485
|
declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
527
486
|
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
528
487
|
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
529
|
-
//#endregion
|
|
530
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/field/root/FieldRoot.d.mts
|
|
531
488
|
interface FieldRootState {
|
|
532
489
|
/**
|
|
533
490
|
* Whether the component should ignore user interaction.
|
|
@@ -554,8 +511,6 @@ interface FieldRootState {
|
|
|
554
511
|
*/
|
|
555
512
|
focused: boolean;
|
|
556
513
|
}
|
|
557
|
-
//#endregion
|
|
558
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/checkbox/root/CheckboxRoot.d.mts
|
|
559
514
|
/**
|
|
560
515
|
* Represents the checkbox itself.
|
|
561
516
|
* Renders a `<span>` element and a hidden `<input>` beside.
|
|
@@ -668,21 +623,11 @@ declare namespace CheckboxRoot {
|
|
|
668
623
|
type ChangeEventReason = CheckboxRootChangeEventReason;
|
|
669
624
|
type ChangeEventDetails = CheckboxRootChangeEventDetails;
|
|
670
625
|
}
|
|
671
|
-
//#endregion
|
|
672
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/internals/useTransitionStatus.d.mts
|
|
673
626
|
type TransitionStatus = 'starting' | 'ending' | 'idle' | undefined;
|
|
674
|
-
//#endregion
|
|
675
|
-
//#region dashboard/components/ui/checkbox.d.ts
|
|
676
627
|
declare function Checkbox({ className, ...props }: CheckboxRoot.Props): import("react").JSX.Element;
|
|
677
|
-
//#endregion
|
|
678
|
-
//#region dashboard/components/ui/input.d.ts
|
|
679
628
|
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): React$1.JSX.Element;
|
|
680
|
-
//#endregion
|
|
681
|
-
//#region dashboard/components/ui/kbd.d.ts
|
|
682
629
|
declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): import("react").JSX.Element;
|
|
683
630
|
declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
|
|
684
|
-
//#endregion
|
|
685
|
-
//#region ../../node_modules/.bun/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts
|
|
686
631
|
declare type AlignedPlacement = `${Side$1}-${Alignment}`;
|
|
687
632
|
declare type Alignment = 'start' | 'end';
|
|
688
633
|
declare type Axis = 'x' | 'y';
|
|
@@ -697,8 +642,6 @@ declare type Rect = Prettify$1<Coords & Dimensions>;
|
|
|
697
642
|
declare type Side$1 = 'top' | 'right' | 'bottom' | 'left';
|
|
698
643
|
declare type SideObject = { [key in Side$1]: number; };
|
|
699
644
|
declare type Strategy = 'absolute' | 'fixed';
|
|
700
|
-
//#endregion
|
|
701
|
-
//#region ../../node_modules/.bun/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts
|
|
702
645
|
declare interface ComputePositionReturn extends Coords {
|
|
703
646
|
/**
|
|
704
647
|
* The final chosen placement of the floating element.
|
|
@@ -746,8 +689,6 @@ declare interface MiddlewareData {
|
|
|
746
689
|
enabled: { [key in Axis]: boolean; };
|
|
747
690
|
}) | undefined;
|
|
748
691
|
}
|
|
749
|
-
//#endregion
|
|
750
|
-
//#region ../../node_modules/.bun/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.mts
|
|
751
692
|
/**
|
|
752
693
|
* Custom positioning reference element.
|
|
753
694
|
* @see https://floating-ui.com/docs/virtual-elements
|
|
@@ -757,8 +698,6 @@ declare interface VirtualElement {
|
|
|
757
698
|
getClientRects?: (() => Array<ClientRectObject> | DOMRectList) | undefined;
|
|
758
699
|
contextElement?: Element | undefined;
|
|
759
700
|
}
|
|
760
|
-
//#endregion
|
|
761
|
-
//#region ../../node_modules/.bun/@floating-ui+react-dom@2.1.9+ab9c01e4ccdf52df/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.d.mts
|
|
762
701
|
declare type Prettify<T> = { [K in keyof T]: T[K]; } & {};
|
|
763
702
|
declare type ReferenceType$1 = Element | VirtualElement;
|
|
764
703
|
declare type UseFloatingData = Prettify<ComputePositionReturn & {
|
|
@@ -803,8 +742,6 @@ declare type UseFloatingReturn<RT extends ReferenceType$1 = ReferenceType$1> = P
|
|
|
803
742
|
floating: HTMLElement | null;
|
|
804
743
|
};
|
|
805
744
|
}>;
|
|
806
|
-
//#endregion
|
|
807
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.5.0+2fde69a3fd50c568/node_modules/@base-ui/utils/store/Store.d.mts
|
|
808
745
|
type Listener<T> = (state: T) => void;
|
|
809
746
|
/**
|
|
810
747
|
* A data store implementation that allows subscribing to state changes and updating the state.
|
|
@@ -869,8 +806,6 @@ declare class Store<State> {
|
|
|
869
806
|
}
|
|
870
807
|
type SelectorArgs$1<Selector> = Selector extends ((...params: infer Params) => any) ? Tail$1<Params> : never;
|
|
871
808
|
type Tail$1<T extends readonly any[]> = T extends readonly [any, ...infer Rest] ? Rest : [];
|
|
872
|
-
//#endregion
|
|
873
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.5.0+2fde69a3fd50c568/node_modules/@base-ui/utils/store/ReactStore.d.mts
|
|
874
809
|
/**
|
|
875
810
|
* A Store that supports controlled state keys, non-reactive values and provides utility methods for React.
|
|
876
811
|
*/
|
|
@@ -964,8 +899,6 @@ type ObserveSelector<State> = (state: State) => any;
|
|
|
964
899
|
type SelectorFunction<State> = (state: State, ...args: any[]) => any;
|
|
965
900
|
type Tail<T extends readonly any[]> = T extends readonly [any, ...infer Rest] ? Rest : [];
|
|
966
901
|
type SelectorArgs<Selector> = Selector extends ((...params: infer Params) => any) ? Tail<Params> : never;
|
|
967
|
-
//#endregion
|
|
968
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/utils/popups/popupTriggerMap.d.mts
|
|
969
902
|
/**
|
|
970
903
|
* Data structure to keep track of popup trigger elements by their IDs.
|
|
971
904
|
*
|
|
@@ -1009,8 +942,6 @@ declare class PopupTriggerMap {
|
|
|
1009
942
|
*/
|
|
1010
943
|
get size(): number;
|
|
1011
944
|
}
|
|
1012
|
-
//#endregion
|
|
1013
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/utils/popups/popupHandle.d.mts
|
|
1014
945
|
/**
|
|
1015
946
|
* Store shape holding a trigger registry, required by `BasePopupHandle.openByTrigger` to resolve a
|
|
1016
947
|
* trigger element by id on both the attached root's store and the fallback store.
|
|
@@ -1100,11 +1031,7 @@ declare class BasePopupHandle<HandleStore extends PopupHandleStoreWithTriggers,
|
|
|
1100
1031
|
*/
|
|
1101
1032
|
protected closePopup(): void;
|
|
1102
1033
|
}
|
|
1103
|
-
//#endregion
|
|
1104
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.5.0+2fde69a3fd50c568/node_modules/@base-ui/utils/useEnhancedClickHandler.d.mts
|
|
1105
1034
|
type InteractionType = 'mouse' | 'touch' | 'pen' | 'keyboard' | '';
|
|
1106
|
-
//#endregion
|
|
1107
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/utils/popups/store.d.mts
|
|
1108
1035
|
/**
|
|
1109
1036
|
* State common to all popup stores.
|
|
1110
1037
|
*/
|
|
@@ -1207,13 +1134,9 @@ type PopupStoreContext<ChangeEventDetails> = {
|
|
|
1207
1134
|
* context and selectors) and add any component-specific trigger-invoked members such as `setOpen`.
|
|
1208
1135
|
*/
|
|
1209
1136
|
type PopupTriggerStoreKeys = 'context' | 'select' | 'set' | 'state' | 'update' | 'useState';
|
|
1210
|
-
//#endregion
|
|
1211
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/utils/popups/popupStoreUtils.d.mts
|
|
1212
1137
|
type PayloadChildRenderFunction<Payload> = (arg: {
|
|
1213
1138
|
payload: Payload | undefined;
|
|
1214
1139
|
}) => React$1.ReactNode;
|
|
1215
|
-
//#endregion
|
|
1216
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/floating-ui-react/components/FloatingRootStore.d.mts
|
|
1217
1140
|
interface FloatingRootState {
|
|
1218
1141
|
open: boolean;
|
|
1219
1142
|
transitionStatus: TransitionStatus | undefined;
|
|
@@ -1275,8 +1198,6 @@ declare class FloatingRootStore extends ReactStore<Readonly<FloatingRootState>,
|
|
|
1275
1198
|
*/
|
|
1276
1199
|
setOpen: (newOpen: boolean, eventDetails: BaseUIChangeEventDetails<string>) => void;
|
|
1277
1200
|
}
|
|
1278
|
-
//#endregion
|
|
1279
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/floating-ui-react/types.d.mts
|
|
1280
1201
|
type NarrowedElement<T> = T extends Element ? T : Element;
|
|
1281
1202
|
interface ExtendedRefs {
|
|
1282
1203
|
reference: React$1.RefObject<ReferenceType | null>;
|
|
@@ -1314,8 +1235,6 @@ type FloatingContext = Omit<UseFloatingReturn<ReferenceType>, 'refs' | 'elements
|
|
|
1314
1235
|
rootStore: FloatingRootContext;
|
|
1315
1236
|
};
|
|
1316
1237
|
type ReferenceType = Element | VirtualElement;
|
|
1317
|
-
//#endregion
|
|
1318
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/internals/useAnchorPositioning.d.mts
|
|
1319
1238
|
type Side = 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start';
|
|
1320
1239
|
type Align = 'start' | 'center' | 'end';
|
|
1321
1240
|
type Boundary = 'clipping-ancestors' | Element | Element[] | Rect;
|
|
@@ -1518,14 +1437,10 @@ interface UseAnchorPositioningSharedParameters {
|
|
|
1518
1437
|
*/
|
|
1519
1438
|
collisionAvoidance?: CollisionAvoidance | undefined;
|
|
1520
1439
|
}
|
|
1521
|
-
//#endregion
|
|
1522
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/utils/adaptiveOriginConstants.d.mts
|
|
1523
1440
|
type AdaptiveOriginMiddleware = {
|
|
1524
1441
|
name: string;
|
|
1525
1442
|
fn: (...args: any[]) => any;
|
|
1526
1443
|
};
|
|
1527
|
-
//#endregion
|
|
1528
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/separator/Separator.d.mts
|
|
1529
1444
|
/**
|
|
1530
1445
|
* A separator element accessible to screen readers.
|
|
1531
1446
|
* Renders a `<div>` element.
|
|
@@ -1550,8 +1465,6 @@ declare namespace Separator$1 {
|
|
|
1550
1465
|
type Props = SeparatorProps;
|
|
1551
1466
|
type State = SeparatorState;
|
|
1552
1467
|
}
|
|
1553
|
-
//#endregion
|
|
1554
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/toggle/Toggle.d.mts
|
|
1555
1468
|
/**
|
|
1556
1469
|
* A two-state button that can be on or off.
|
|
1557
1470
|
* Renders a `<button>` element.
|
|
@@ -1606,8 +1519,6 @@ declare namespace Toggle$1 {
|
|
|
1606
1519
|
type ChangeEventReason = ToggleChangeEventReason;
|
|
1607
1520
|
type ChangeEventDetails = ToggleChangeEventDetails;
|
|
1608
1521
|
}
|
|
1609
|
-
//#endregion
|
|
1610
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/toggle-group/ToggleGroup.d.mts
|
|
1611
1522
|
/**
|
|
1612
1523
|
* Provides a shared state to a series of toggle buttons.
|
|
1613
1524
|
*
|
|
@@ -1681,8 +1592,6 @@ declare namespace ToggleGroup$1 {
|
|
|
1681
1592
|
type ChangeEventReason = ToggleGroupChangeEventReason;
|
|
1682
1593
|
type ChangeEventDetails = ToggleGroupChangeEventDetails;
|
|
1683
1594
|
}
|
|
1684
|
-
//#endregion
|
|
1685
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/tooltip/store/TooltipStore.d.mts
|
|
1686
1595
|
type State$1<Payload> = PopupStoreState<Payload> & {
|
|
1687
1596
|
disabled: boolean;
|
|
1688
1597
|
instantType: 'delay' | 'dismiss' | 'focus' | undefined;
|
|
@@ -2084,8 +1993,6 @@ declare class TooltipStore<Payload> extends ReactStore<Readonly<State$1<Payload>
|
|
|
2084
1993
|
setOpen: (nextOpen: boolean, eventDetails: Omit<TooltipRoot.ChangeEventDetails, 'preventUnmountOnClose'>) => void;
|
|
2085
1994
|
cancelPendingOpen(event: MouseEvent | PointerEvent): void;
|
|
2086
1995
|
}
|
|
2087
|
-
//#endregion
|
|
2088
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/tooltip/store/TooltipHandle.d.mts
|
|
2089
1996
|
/**
|
|
2090
1997
|
* Controls a Tooltip imperatively and associates detached `Tooltip.Trigger` components with a
|
|
2091
1998
|
* `Tooltip.Root`. Create one with `Tooltip.createHandle()` and pass it to the `handle` prop of the
|
|
@@ -2116,8 +2023,6 @@ declare class TooltipHandle<Payload> extends BasePopupHandle<TooltipHandleStore<
|
|
|
2116
2023
|
*/
|
|
2117
2024
|
get isOpen(): boolean;
|
|
2118
2025
|
}
|
|
2119
|
-
//#endregion
|
|
2120
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/tooltip/root/TooltipRoot.d.mts
|
|
2121
2026
|
/**
|
|
2122
2027
|
* Groups all parts of the tooltip.
|
|
2123
2028
|
* Doesn't render its own HTML element.
|
|
@@ -2208,8 +2113,6 @@ declare namespace TooltipRoot {
|
|
|
2208
2113
|
type ChangeEventReason = TooltipRootChangeEventReason;
|
|
2209
2114
|
type ChangeEventDetails = TooltipRootChangeEventDetails;
|
|
2210
2115
|
}
|
|
2211
|
-
//#endregion
|
|
2212
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/tooltip/trigger/TooltipTrigger.d.mts
|
|
2213
2116
|
/**
|
|
2214
2117
|
* An element to attach the tooltip to.
|
|
2215
2118
|
* Renders a `<button>` element.
|
|
@@ -2262,8 +2165,6 @@ declare namespace TooltipTrigger$1 {
|
|
|
2262
2165
|
type State = TooltipTriggerState;
|
|
2263
2166
|
type Props<Payload = unknown> = TooltipTriggerProps<Payload>;
|
|
2264
2167
|
}
|
|
2265
|
-
//#endregion
|
|
2266
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/tooltip/positioner/TooltipPositioner.d.mts
|
|
2267
2168
|
/**
|
|
2268
2169
|
* Positions the tooltip against the trigger.
|
|
2269
2170
|
* Renders a `<div>` element.
|
|
@@ -2305,8 +2206,6 @@ declare namespace TooltipPositioner {
|
|
|
2305
2206
|
type State = TooltipPositionerState;
|
|
2306
2207
|
type Props = TooltipPositionerProps;
|
|
2307
2208
|
}
|
|
2308
|
-
//#endregion
|
|
2309
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/tooltip/popup/TooltipPopup.d.mts
|
|
2310
2209
|
/**
|
|
2311
2210
|
* A container for the tooltip contents.
|
|
2312
2211
|
* Renders a `<div>` element.
|
|
@@ -2341,8 +2240,6 @@ declare namespace TooltipPopup {
|
|
|
2341
2240
|
type State = TooltipPopupState;
|
|
2342
2241
|
type Props = TooltipPopupProps;
|
|
2343
2242
|
}
|
|
2344
|
-
//#endregion
|
|
2345
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/tooltip/provider/TooltipProvider.d.mts
|
|
2346
2243
|
/**
|
|
2347
2244
|
* Provides a shared delay for multiple tooltips. The grouping logic ensures that
|
|
2348
2245
|
* once a tooltip becomes visible, the adjacent tooltips will be shown instantly.
|
|
@@ -2372,8 +2269,6 @@ declare namespace TooltipProvider$1 {
|
|
|
2372
2269
|
type State = TooltipProviderState;
|
|
2373
2270
|
type Props = TooltipProviderProps;
|
|
2374
2271
|
}
|
|
2375
|
-
//#endregion
|
|
2376
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.5.0+2fde69a3fd50c568/node_modules/@base-ui/utils/useTimeout.d.mts
|
|
2377
2272
|
type TimeoutId = number;
|
|
2378
2273
|
declare class Timeout {
|
|
2379
2274
|
static create(): Timeout;
|
|
@@ -2386,8 +2281,6 @@ declare class Timeout {
|
|
|
2386
2281
|
clear: () => void;
|
|
2387
2282
|
disposeEffect: () => () => void;
|
|
2388
2283
|
}
|
|
2389
|
-
//#endregion
|
|
2390
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/popover/store/PopoverStore.d.mts
|
|
2391
2284
|
type State<Payload> = PopupStoreState<Payload> & {
|
|
2392
2285
|
disabled: boolean;
|
|
2393
2286
|
instantType: 'dismiss' | 'click' | 'focus' | 'trigger-change' | undefined;
|
|
@@ -2797,8 +2690,6 @@ declare class PopoverStore<Payload> extends ReactStore<Readonly<State<Payload>>,
|
|
|
2797
2690
|
constructor(initialState: Partial<State<Payload>>, floatingId: string | undefined, nested: boolean);
|
|
2798
2691
|
setOpen: (nextOpen: boolean, eventDetails: Omit<PopoverRoot.ChangeEventDetails, 'preventUnmountOnClose'>) => void;
|
|
2799
2692
|
}
|
|
2800
|
-
//#endregion
|
|
2801
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/popover/store/PopoverHandle.d.mts
|
|
2802
2693
|
/**
|
|
2803
2694
|
* Controls a Popover imperatively and associates detached `Popover.Trigger` components with a
|
|
2804
2695
|
* `Popover.Root`. Create one with `Popover.createHandle()` and pass it to the `handle` prop of the
|
|
@@ -2829,8 +2720,6 @@ declare class PopoverHandle<Payload> extends BasePopupHandle<PopoverHandleStore<
|
|
|
2829
2720
|
*/
|
|
2830
2721
|
get isOpen(): boolean;
|
|
2831
2722
|
}
|
|
2832
|
-
//#endregion
|
|
2833
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/popover/root/PopoverRoot.d.mts
|
|
2834
2723
|
/**
|
|
2835
2724
|
* Groups all parts of the popover.
|
|
2836
2725
|
* Doesn't render its own HTML element.
|
|
@@ -2922,8 +2811,6 @@ declare namespace PopoverRoot {
|
|
|
2922
2811
|
type ChangeEventReason = PopoverRootChangeEventReason;
|
|
2923
2812
|
type ChangeEventDetails = PopoverRootChangeEventDetails;
|
|
2924
2813
|
}
|
|
2925
|
-
//#endregion
|
|
2926
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/popover/trigger/PopoverTrigger.d.mts
|
|
2927
2814
|
/**
|
|
2928
2815
|
* A button that opens the popover.
|
|
2929
2816
|
* Renders a `<button>` element.
|
|
@@ -2990,8 +2877,6 @@ declare namespace PopoverTrigger$1 {
|
|
|
2990
2877
|
type State = PopoverTriggerState;
|
|
2991
2878
|
type Props<Payload = unknown> = PopoverTriggerProps<Payload>;
|
|
2992
2879
|
}
|
|
2993
|
-
//#endregion
|
|
2994
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/popover/positioner/PopoverPositioner.d.mts
|
|
2995
2880
|
/**
|
|
2996
2881
|
* Positions the popover against the trigger.
|
|
2997
2882
|
* Renders a `<div>` element.
|
|
@@ -3026,8 +2911,6 @@ declare namespace PopoverPositioner {
|
|
|
3026
2911
|
type State = PopoverPositionerState;
|
|
3027
2912
|
type Props = PopoverPositionerProps;
|
|
3028
2913
|
}
|
|
3029
|
-
//#endregion
|
|
3030
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.9.0+2fba225ddfdb7506/node_modules/@base-ui/react/popover/popup/PopoverPopup.d.mts
|
|
3031
2914
|
/**
|
|
3032
2915
|
* A container for the popover contents.
|
|
3033
2916
|
* Renders a `<div>` element.
|
|
@@ -3085,16 +2968,10 @@ declare namespace PopoverPopup {
|
|
|
3085
2968
|
type State = PopoverPopupState;
|
|
3086
2969
|
type Props = PopoverPopupProps;
|
|
3087
2970
|
}
|
|
3088
|
-
//#endregion
|
|
3089
|
-
//#region dashboard/components/ui/popover.d.ts
|
|
3090
2971
|
declare function Popover({ ...props }: PopoverRoot.Props): import("react").JSX.Element;
|
|
3091
2972
|
declare function PopoverTrigger({ ...props }: PopoverTrigger$1.Props): import("react").JSX.Element;
|
|
3092
2973
|
declare function PopoverContent({ className, align, alignOffset, side, sideOffset, ...props }: PopoverPopup.Props & Pick<PopoverPositioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): import("react").JSX.Element;
|
|
3093
|
-
//#endregion
|
|
3094
|
-
//#region dashboard/components/ui/separator.d.ts
|
|
3095
2974
|
declare function Separator({ className, orientation, ...props }: Separator$1.Props): import("react").JSX.Element;
|
|
3096
|
-
//#endregion
|
|
3097
|
-
//#region dashboard/components/ui/table.d.ts
|
|
3098
2975
|
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): React$1.JSX.Element;
|
|
3099
2976
|
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): React$1.JSX.Element;
|
|
3100
2977
|
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): React$1.JSX.Element;
|
|
@@ -3103,25 +2980,18 @@ declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">)
|
|
|
3103
2980
|
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): React$1.JSX.Element;
|
|
3104
2981
|
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): React$1.JSX.Element;
|
|
3105
2982
|
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): React$1.JSX.Element;
|
|
3106
|
-
//#endregion
|
|
3107
|
-
//#region dashboard/components/ui/toggle.d.ts
|
|
3108
2983
|
declare const toggleVariants: (props?: ({
|
|
3109
2984
|
variant?: "default" | "outline" | null | undefined;
|
|
3110
|
-
size?: "default" | "
|
|
2985
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
3111
2986
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3112
2987
|
declare function Toggle({ className, variant, size, ...props }: Toggle$1.Props & VariantProps<typeof toggleVariants>): import("react").JSX.Element;
|
|
3113
|
-
//#endregion
|
|
3114
|
-
//#region dashboard/components/ui/toggle-group.d.ts
|
|
3115
2988
|
declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: ToggleGroup$1.Props & VariantProps<typeof toggleVariants> & {
|
|
3116
2989
|
spacing?: number;
|
|
3117
2990
|
orientation?: "horizontal" | "vertical";
|
|
3118
2991
|
}): React$1.JSX.Element;
|
|
3119
2992
|
declare function ToggleGroupItem({ className, children, variant, size, ...props }: Toggle$1.Props & VariantProps<typeof toggleVariants>): React$1.JSX.Element;
|
|
3120
|
-
//#endregion
|
|
3121
|
-
//#region dashboard/components/ui/tooltip.d.ts
|
|
3122
2993
|
declare function TooltipProvider({ delay, ...props }: TooltipProvider$1.Props): import("react").JSX.Element;
|
|
3123
2994
|
declare function Tooltip({ ...props }: TooltipRoot.Props): import("react").JSX.Element;
|
|
3124
2995
|
declare function TooltipTrigger({ ...props }: TooltipTrigger$1.Props): import("react").JSX.Element;
|
|
3125
2996
|
declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: TooltipPopup.Props & Pick<TooltipPositioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): import("react").JSX.Element;
|
|
3126
|
-
//#endregion
|
|
3127
2997
|
export { type AppFetchResult, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type DashboardExtension, type DashboardSlots, type DrawerTab, type DrawerTabContext, type ExtensionPage, Input, Kbd, KbdGroup, type PageProps, type Placement, Popover, PopoverContent, PopoverTrigger, type Route, Separator, type SidebarLink, type SidebarSlotContext, type SlotContext, type SlotName, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TraceSpan, type TraceSummary, badgeVariants, buttonVariants, toggleVariants };
|
package/dist/dev-reporter.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/dev-reporter.d.ts
|
|
2
1
|
export interface DevReporterOptions {
|
|
3
2
|
/** The dashboard's ingest endpoint, for example http://127.0.0.1:9400/api/ingest. */
|
|
4
3
|
url: string;
|
|
@@ -11,5 +10,4 @@ export interface DevReporterOptions {
|
|
|
11
10
|
* not running never affects the app.
|
|
12
11
|
*/
|
|
13
12
|
export declare function installDevReporter(options: DevReporterOptions): boolean;
|
|
14
|
-
//#endregion
|
|
15
13
|
//# sourceMappingURL=dev-reporter.d.ts.map
|
package/dist/dev-reporter.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as installTracing } from "./dev-telemetry.js";
|
|
2
|
-
|
|
2
|
+
// src/dev-reporter.ts
|
|
3
3
|
/**
|
|
4
4
|
* Report this process's spans to a running dashboard. Dev servers that evaluate
|
|
5
5
|
* the app in a worker (Vite with Nitro or TanStack Start) cannot share memory
|
|
@@ -22,7 +22,6 @@ function installDevReporter(options) {
|
|
|
22
22
|
post({ worker: "application loaded" });
|
|
23
23
|
return registered;
|
|
24
24
|
}
|
|
25
|
-
//#endregion
|
|
26
25
|
export { installDevReporter };
|
|
27
26
|
|
|
28
27
|
//# sourceMappingURL=dev-reporter.js.map
|
|
@@ -7,7 +7,7 @@ import { Readable } from "node:stream";
|
|
|
7
7
|
import { pipeline } from "node:stream/promises";
|
|
8
8
|
import { createHash, randomBytes, timingSafeEqual } from "node:crypto";
|
|
9
9
|
import { existsSync, mkdirSync, statSync, watch, writeFileSync } from "node:fs";
|
|
10
|
-
|
|
10
|
+
// src/dev-inspector.ts
|
|
11
11
|
/** Where the dashboard serves the inspector. */
|
|
12
12
|
const INSPECTOR_PATH = "/workflows";
|
|
13
13
|
/** The header that proves a request comes from the dashboard. */
|
|
@@ -69,8 +69,7 @@ async function startInspector(app, directory = INSPECTOR_DIRECTORY) {
|
|
|
69
69
|
stop: () => void server.stop(true)
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
|
|
73
|
-
//#region src/dev-history-csv.ts
|
|
72
|
+
// src/dev-history-csv.ts
|
|
74
73
|
const CSV_COLUMNS = [
|
|
75
74
|
"time",
|
|
76
75
|
"method",
|
|
@@ -111,8 +110,7 @@ function tracesToCsv(traces) {
|
|
|
111
110
|
});
|
|
112
111
|
return [CSV_COLUMNS.join(","), ...lines].join("\n") + "\n";
|
|
113
112
|
}
|
|
114
|
-
|
|
115
|
-
//#region src/dev-history.ts
|
|
113
|
+
// src/dev-history.ts
|
|
116
114
|
const DAY_MS = 864e5;
|
|
117
115
|
const MAX_TRACES = 1e5;
|
|
118
116
|
const FLUSH_MS = 250;
|
|
@@ -489,8 +487,7 @@ function parseHistoryQuery(params, now = Date.now()) {
|
|
|
489
487
|
offset: integer("offset")
|
|
490
488
|
};
|
|
491
489
|
}
|
|
492
|
-
|
|
493
|
-
//#region src/dev-dashboard-shell.ts
|
|
490
|
+
// src/dev-dashboard-shell.ts
|
|
494
491
|
/**
|
|
495
492
|
* The page the dashboard serves at `/`. The React app and its styles load from
|
|
496
493
|
* `/assets/`; the inline script applies the saved theme before first paint. The
|
|
@@ -533,8 +530,7 @@ ${extension?.css ? `<link rel="stylesheet" href="/assets/extension.css${version}
|
|
|
533
530
|
</html>
|
|
534
531
|
`;
|
|
535
532
|
}
|
|
536
|
-
|
|
537
|
-
//#region src/dashboard-access.ts
|
|
533
|
+
// src/dashboard-access.ts
|
|
538
534
|
/** How long the app's `authorize` may take before the request is refused. */
|
|
539
535
|
const AUTHORIZE_TIMEOUT_MS = 5e3;
|
|
540
536
|
/** Whether `host` can only be reached from the machine it runs on. */
|
|
@@ -650,8 +646,7 @@ function createAccess(auth, onError = () => {}, timeoutMs = AUTHORIZE_TIMEOUT_MS
|
|
|
650
646
|
return refusal(401, "Unauthorized", prompt);
|
|
651
647
|
};
|
|
652
648
|
}
|
|
653
|
-
|
|
654
|
-
//#region src/dev-docs.ts
|
|
649
|
+
// src/dev-docs.ts
|
|
655
650
|
const PACKAGES = ["fumadocs-core", "@mdx-js/mdx"];
|
|
656
651
|
const PAGE_EXTENSIONS = /* @__PURE__ */ new Set([".md", ".mdx"]);
|
|
657
652
|
const IMAGE_TYPES = {
|
|
@@ -1227,8 +1222,7 @@ var DocsHost = class {
|
|
|
1227
1222
|
this.#release();
|
|
1228
1223
|
}
|
|
1229
1224
|
};
|
|
1230
|
-
|
|
1231
|
-
//#region src/dashboard-extension.ts
|
|
1225
|
+
// src/dashboard-extension.ts
|
|
1232
1226
|
/** The colour tokens of `dashboard/theme.css`; a test keeps the two in step. */
|
|
1233
1227
|
const THEME_TOKENS = [
|
|
1234
1228
|
"background",
|
|
@@ -1605,8 +1599,7 @@ var DashboardExtensions = class {
|
|
|
1605
1599
|
this.#listeners.clear();
|
|
1606
1600
|
}
|
|
1607
1601
|
};
|
|
1608
|
-
|
|
1609
|
-
//#region src/dev-dashboard.ts
|
|
1602
|
+
// src/dev-dashboard.ts
|
|
1610
1603
|
const DEFAULT_DASHBOARD_PORT = 9400;
|
|
1611
1604
|
const KEEPALIVE_MS = 15e3;
|
|
1612
1605
|
const MAX_INGEST_BYTES = 5242880;
|
|
@@ -2144,8 +2137,7 @@ function send(response, status, body, headers = { "content-type": "text/plain; c
|
|
|
2144
2137
|
response.writeHead(status, headers);
|
|
2145
2138
|
response.end(body);
|
|
2146
2139
|
}
|
|
2147
|
-
|
|
2148
|
-
//#region src/dev-telemetry-store.ts
|
|
2140
|
+
// src/dev-telemetry-store.ts
|
|
2149
2141
|
const LIMITS = {
|
|
2150
2142
|
traces: 200,
|
|
2151
2143
|
spansPerTrace: 500,
|
|
@@ -2469,7 +2461,6 @@ function summarize(entry) {
|
|
|
2469
2461
|
service: stringAttribute(actionSpan?.attributes, "brick.service"),
|
|
2470
2462
|
action: stringAttribute(actionSpan?.attributes, "brick.action"),
|
|
2471
2463
|
message: entry.message,
|
|
2472
|
-
...entry.spans.get(entry.rootSpanId ?? "")?.attributes["brick.legacy_route"] === true ? { legacyRoute: true } : {},
|
|
2473
2464
|
spans
|
|
2474
2465
|
};
|
|
2475
2466
|
}
|
|
@@ -2489,7 +2480,6 @@ function numberAttribute(attributes, key) {
|
|
|
2489
2480
|
const value = attributes?.[key];
|
|
2490
2481
|
return typeof value === "number" ? value : void 0;
|
|
2491
2482
|
}
|
|
2492
|
-
//#endregion
|
|
2493
2483
|
export { writeDashboardExtension as a, openHistory as c, themeCss as i, startInspector as l, DEFAULT_DASHBOARD_PORT as n, DocsHost as o, startDevDashboard as r, isLoopbackHost as s, DevTelemetryStore as t };
|
|
2494
2484
|
|
|
2495
2485
|
//# sourceMappingURL=dev-telemetry-store.js.map
|