@dudousxd/nestjs-catalog-react 0.35.0 → 0.37.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/{LICENSE-bklit → LICENSE} +1 -1
- package/README.md +12 -3
- package/THIRD_PARTY_NOTICES.md +34 -0
- package/dist/AccessConsole.js +14 -14
- package/dist/CatalogManager.d.ts +21 -1
- package/dist/CatalogManager.js +67 -25
- package/dist/EditableField.d.ts +7 -1
- package/dist/EditableField.js +7 -1
- package/dist/FlowView.js +1 -1
- package/dist/GovernanceTimeline.js +5 -3
- package/dist/LoadExpectationSection.d.ts +7 -1
- package/dist/LoadExpectationSection.js +5 -5
- package/dist/ObjectExplorer.d.ts +16 -1
- package/dist/ObjectExplorer.js +32 -16
- package/dist/TraceExplorer.d.ts +3 -2
- package/dist/TraceExplorer.js +19 -11
- package/dist/charts/bklit/animation.d.ts +1 -1
- package/dist/charts/bklit/area-chart-loading.js +1 -1
- package/dist/charts/bklit/area-chart.js +1 -1
- package/dist/charts/bklit/area-gradient-defs.d.ts +1 -1
- package/dist/charts/bklit/area-gradient-defs.js +1 -1
- package/dist/charts/bklit/area.js +1 -1
- package/dist/charts/bklit/bar-chart-loading.js +1 -1
- package/dist/charts/bklit/bar-chart.js +1 -1
- package/dist/charts/bklit/bar-depth-geometry.d.ts +1 -1
- package/dist/charts/bklit/bar-depth-geometry.js +1 -1
- package/dist/charts/bklit/bar-squares-layout.d.ts +1 -1
- package/dist/charts/bklit/bar-x-axis.js +1 -1
- package/dist/charts/bklit/bar-y-axis.js +1 -1
- package/dist/charts/bklit/chart-child-passthrough.d.ts +1 -1
- package/dist/charts/bklit/chart-child-passthrough.js +1 -1
- package/dist/charts/bklit/chart-config-context.d.ts +1 -1
- package/dist/charts/bklit/chart-config-context.js +1 -1
- package/dist/charts/bklit/chart-context.d.ts +1 -1
- package/dist/charts/bklit/chart-defs.d.ts +1 -1
- package/dist/charts/bklit/chart-defs.js +1 -1
- package/dist/charts/bklit/chart-formatters.d.ts +1 -1
- package/dist/charts/bklit/chart-formatters.js +1 -1
- package/dist/charts/bklit/chart-legend-hover.d.ts +1 -1
- package/dist/charts/bklit/chart-legend-hover.js +1 -1
- package/dist/charts/bklit/chart-loading-label.js +1 -1
- package/dist/charts/bklit/chart-phase.d.ts +1 -1
- package/dist/charts/bklit/chart-reveal-clip.d.ts +1 -1
- package/dist/charts/bklit/dash-tail-stroke.js +1 -1
- package/dist/charts/bklit/decimate-time-series.d.ts +1 -1
- package/dist/charts/bklit/decimate-time-series.js +1 -1
- package/dist/charts/bklit/fade-edges.d.ts +1 -1
- package/dist/charts/bklit/filter-data-by-x-domain.d.ts +1 -1
- package/dist/charts/bklit/filter-data-by-x-domain.js +1 -1
- package/dist/charts/bklit/generate-chart-skeleton-data.d.ts +1 -1
- package/dist/charts/bklit/generate-chart-skeleton-data.js +1 -1
- package/dist/charts/bklit/grid.js +1 -1
- package/dist/charts/bklit/highlight-segment-bounds.d.ts +1 -1
- package/dist/charts/bklit/highlight-segment.d.ts +1 -1
- package/dist/charts/bklit/highlight-segment.js +1 -1
- package/dist/charts/bklit/indicator-fade.d.ts +1 -1
- package/dist/charts/bklit/line-chart-loading.js +1 -1
- package/dist/charts/bklit/line-chart.js +1 -1
- package/dist/charts/bklit/line-loading-pulse.js +1 -1
- package/dist/charts/bklit/line-loading-timing.d.ts +1 -1
- package/dist/charts/bklit/line-loading-timing.js +1 -1
- package/dist/charts/bklit/line-series-terminal-marker.js +1 -1
- package/dist/charts/bklit/line.js +1 -1
- package/dist/charts/bklit/loading-sweep.js +1 -1
- package/dist/charts/bklit/motion-utils.d.ts +1 -1
- package/dist/charts/bklit/path-stroke-utils.d.ts +1 -1
- package/dist/charts/bklit/path-stroke-utils.js +1 -1
- package/dist/charts/bklit/pattern-area.js +1 -1
- package/dist/charts/bklit/pattern-preset.d.ts +1 -1
- package/dist/charts/bklit/projection-config.d.ts +1 -1
- package/dist/charts/bklit/projection-config.js +1 -1
- package/dist/charts/bklit/projection-line-end-marker.js +1 -1
- package/dist/charts/bklit/projection-line.js +1 -1
- package/dist/charts/bklit/projection-utils.d.ts +1 -1
- package/dist/charts/bklit/reference-area-config.d.ts +1 -1
- package/dist/charts/bklit/reference-area-config.js +1 -1
- package/dist/charts/bklit/reference-area-registration-context.js +1 -1
- package/dist/charts/bklit/series-bar-layout.d.ts +1 -1
- package/dist/charts/bklit/series-bar-layout.js +1 -1
- package/dist/charts/bklit/series-dash-tail-overlay.js +1 -1
- package/dist/charts/bklit/series-highlight-layer.d.ts +1 -1
- package/dist/charts/bklit/series-hover-dim.js +1 -1
- package/dist/charts/bklit/series-markers.js +1 -1
- package/dist/charts/bklit/series-path-utils.js +1 -1
- package/dist/charts/bklit/static-chart-preview-context.d.ts +1 -1
- package/dist/charts/bklit/static-chart-preview-context.js +1 -1
- package/dist/charts/bklit/time-series-chart-shell.js +1 -1
- package/dist/charts/bklit/tooltip/chart-tooltip.js +1 -1
- package/dist/charts/bklit/tooltip/date-ticker.js +1 -1
- package/dist/charts/bklit/tooltip/index.d.ts +1 -1
- package/dist/charts/bklit/tooltip/index.js +1 -1
- package/dist/charts/bklit/tooltip/tooltip-box.d.ts +1 -1
- package/dist/charts/bklit/tooltip/tooltip-box.js +1 -1
- package/dist/charts/bklit/tooltip/tooltip-content.d.ts +1 -1
- package/dist/charts/bklit/tooltip/tooltip-dot.js +1 -1
- package/dist/charts/bklit/tooltip/tooltip-indicator.js +1 -1
- package/dist/charts/bklit/use-animated-series-path.js +1 -1
- package/dist/charts/bklit/use-animated-y-domains.js +1 -1
- package/dist/charts/bklit/use-chart-interaction.js +1 -1
- package/dist/charts/bklit/use-chart-phase-orchestrator.js +1 -1
- package/dist/charts/bklit/use-enter-complete.d.ts +1 -1
- package/dist/charts/bklit/use-grid-shimmer.js +1 -1
- package/dist/charts/bklit/use-highlight-segment.d.ts +1 -1
- package/dist/charts/bklit/use-highlight-segment.js +1 -1
- package/dist/charts/bklit/use-mount-progress.d.ts +1 -1
- package/dist/charts/bklit/use-mount-progress.js +1 -1
- package/dist/charts/bklit/use-scheduled-tooltip.js +1 -1
- package/dist/charts/bklit/visx-pattern.d.ts +1 -1
- package/dist/charts/bklit/visx-pattern.js +1 -1
- package/dist/charts/bklit/x-axis.js +1 -1
- package/dist/charts/bklit/y-axis-scales.d.ts +1 -1
- package/dist/charts/bklit/y-axis-scales.js +1 -1
- package/dist/charts/bklit/y-axis-ticks.d.ts +1 -1
- package/dist/charts/bklit/y-axis-ticks.js +1 -1
- package/dist/charts/bklit/y-domain-utils.js +1 -1
- package/dist/charts/bklit.js +1 -1
- package/dist/charts/components/shimmering-text.d.ts +1 -1
- package/dist/charts/components/shimmering-text.js +1 -1
- package/dist/context.d.ts +47 -21
- package/dist/context.js +47 -15
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/manager.d.ts +13 -0
- package/dist/manager.js +13 -0
- package/dist/routes.d.ts +3 -2
- package/dist/routes.js +4 -4
- package/dist/search-console.d.ts +2 -2
- package/dist/search-console.js +5 -5
- package/dist/ui/rich-text-field.d.ts +3 -1
- package/dist/ui/rich-text-field.js +4 -1
- package/dist/workflow/runs.js +1 -1
- package/package.json +15 -6
package/dist/ObjectExplorer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { coerceFilterValue,
|
|
2
|
+
import { coerceFilterValue, filterOperatorTakesValue } from '@dudousxd/nestjs-catalog/client';
|
|
3
3
|
import { useQuery } from '@tanstack/react-query';
|
|
4
4
|
import { ArrowLeft, ChevronDown, ChevronLeft, ChevronRight, History, Search, X, } from 'lucide-react';
|
|
5
5
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
@@ -105,7 +105,7 @@ export function paramFromLocation(name) {
|
|
|
105
105
|
return null;
|
|
106
106
|
return new URLSearchParams(hash.slice(mark + 1)).get(name);
|
|
107
107
|
}
|
|
108
|
-
export function ObjectExplorer({ type: typeProp, pageSize = 25, backHref, backLabel = 'Catalog', }) {
|
|
108
|
+
export function ObjectExplorer({ type: typeProp, pageSize = 25, backHref, backLabel = 'Catalog', search: searchable = true, rowCountCap, }) {
|
|
109
109
|
const client = useCatalogClient();
|
|
110
110
|
const { data: snapshot, isLoading: loadingCatalog } = useQuery({
|
|
111
111
|
queryKey: catalogQueryKeys.snapshot,
|
|
@@ -146,19 +146,19 @@ export function ObjectExplorer({ type: typeProp, pageSize = 25, backHref, backLa
|
|
|
146
146
|
// than restarting its timer on every render. Back to page one whenever the
|
|
147
147
|
// filters change: page 7 of an unfiltered table is very often past the end of
|
|
148
148
|
// a filtered one, and a page past the end reads as "nothing matches".
|
|
149
|
-
const apply = useCallback((
|
|
150
|
-
setApplied(
|
|
149
|
+
const apply = useCallback((ready) => {
|
|
150
|
+
setApplied(ready);
|
|
151
151
|
setPage(1);
|
|
152
152
|
}, []);
|
|
153
153
|
const params = useMemo(() => ({
|
|
154
154
|
page,
|
|
155
155
|
size: pageSize,
|
|
156
156
|
search: debouncedSearch || undefined,
|
|
157
|
-
sort,
|
|
158
|
-
dir,
|
|
157
|
+
// The list API's sort: one column, `-` for descending.
|
|
158
|
+
sort: sort ? `${dir === 'desc' ? '-' : ''}${sort}` : undefined,
|
|
159
159
|
// Omitted rather than sent empty, so a screen with no filters asks the
|
|
160
160
|
// same question it always did.
|
|
161
|
-
|
|
161
|
+
filters: applied.length > 0 ? applied : undefined,
|
|
162
162
|
snapshot: snapshotId || undefined,
|
|
163
163
|
}), [page, pageSize, debouncedSearch, sort, dir, applied, snapshotId]);
|
|
164
164
|
const { data, isFetching, error } = useQuery({
|
|
@@ -236,14 +236,14 @@ export function ObjectExplorer({ type: typeProp, pageSize = 25, backHref, backLa
|
|
|
236
236
|
// A request in flight, a stale cache or a snapshot that has since been dropped
|
|
237
237
|
// all make those two disagree, and only one of them is evidence.
|
|
238
238
|
const stale = data?.snapshot?.current === false;
|
|
239
|
-
return (_jsxs("div", { className: "flex h-full flex-col bg-zinc-50 dark:bg-zinc-950", children: [_jsxs("header", { className: cn('shrink-0 border-b px-8 py-5', RULE, PANEL), children: [backHref && (_jsxs("a", { href: backHref, className: cn('mb-3 inline-flex items-center gap-1.5 font-mono text-[11px] uppercase tracking-[0.14em]', MUTED, 'hover:text-zinc-950 dark:hover:text-zinc-50'), children: [_jsx(ArrowLeft, { size: 12 }), backLabel] })), _jsxs("div", { className: "flex flex-wrap items-end justify-between gap-4", children: [_jsx(TypeSwitcher, { types: snapshot?.types ?? [], selected: selectedType, open: switcherOpen, onToggle: () => setSwitcherOpen((o) => !o), onChoose: chooseType, caption: tableCaption(selectedType, data) }), _jsx(SearchBox, { value: search, onChange: setSearch, what: selectedType?.pluralDisplayName })] }), _jsx(FilterBar, { columns: filterable, filters: filters, onChange: setFilters, snapshots: snapshots ?? [], snapshotId: snapshotId, onSnapshot: readSnapshot }), stale && (_jsx(StaleSnapshotBanner, { snapshots: snapshots ?? [], id: data?.snapshot?.id, onCurrent: backToCurrent }))] }), _jsxs("div", { className: "min-h-0 flex-1 overflow-auto px-8 py-6", children: [error ? (_jsx(RefusedRead, { error: error })) : (_jsxs("div", { className: cn('overflow-hidden rounded-lg border transition-opacity',
|
|
239
|
+
return (_jsxs("div", { className: "flex h-full flex-col bg-zinc-50 dark:bg-zinc-950", children: [_jsxs("header", { className: cn('shrink-0 border-b px-8 py-5', RULE, PANEL), children: [backHref && (_jsxs("a", { href: backHref, className: cn('mb-3 inline-flex items-center gap-1.5 font-mono text-[11px] uppercase tracking-[0.14em]', MUTED, 'hover:text-zinc-950 dark:hover:text-zinc-50'), children: [_jsx(ArrowLeft, { size: 12 }), backLabel] })), _jsxs("div", { className: "flex flex-wrap items-end justify-between gap-4", children: [_jsx(TypeSwitcher, { types: snapshot?.types ?? [], selected: selectedType, open: switcherOpen, onToggle: () => setSwitcherOpen((o) => !o), onChoose: chooseType, caption: tableCaption(selectedType, data, rowCountCap) }), searchable && (_jsx(SearchBox, { value: search, onChange: setSearch, what: selectedType?.pluralDisplayName }))] }), _jsx(FilterBar, { columns: filterable, filters: filters, onChange: setFilters, snapshots: snapshots ?? [], snapshotId: snapshotId, onSnapshot: readSnapshot }), stale && (_jsx(StaleSnapshotBanner, { snapshots: snapshots ?? [], id: data?.snapshot?.id, onCurrent: backToCurrent }))] }), _jsxs("div", { className: "min-h-0 flex-1 overflow-auto px-8 py-6", children: [error ? (_jsx(RefusedRead, { error: error })) : (_jsxs("div", { className: cn('overflow-hidden rounded-lg border transition-opacity',
|
|
240
240
|
// The stale border is not decoration: the banner is at the top of a
|
|
241
241
|
// scrolling page, and somebody who came back to this tab after
|
|
242
242
|
// lunch may only ever see the grid.
|
|
243
|
-
stale ? 'border-amber-400 dark:border-amber-500/60' : RULE, PANEL, isFetching && 'opacity-60'), children: [_jsx(DataTable, { data: data?.
|
|
243
|
+
stale ? 'border-amber-400 dark:border-amber-500/60' : RULE, PANEL, isFetching && 'opacity-60'), children: [_jsx(DataTable, { data: data?.data ?? [], columns: columns, getRowId: (row, index) => String(row[selectedType?.primaryKey[0] ?? 'id'] ?? index), sort: { by: sort ?? null, dir, onSort: toggleSort }, numeric: (id) => numericColumns.has(id) }), data && data.data.length === 0 && (_jsx(EmptyState, { type: selectedType, search: debouncedSearch, filtered: applied.length > 0, onClear: () => {
|
|
244
244
|
setSearch('');
|
|
245
245
|
setFilters([]);
|
|
246
|
-
} }))] })), data && _jsx(Pager, { page: data.
|
|
246
|
+
} }))] })), data && _jsx(Pager, { page: data.meta.currentPage, pages: data.meta.lastPage, onPage: setPage })] })] }));
|
|
247
247
|
}
|
|
248
248
|
/**
|
|
249
249
|
* The line under the title: the physical table, the row count, the columns.
|
|
@@ -253,10 +253,24 @@ export function ObjectExplorer({ type: typeProp, pageSize = 25, backHref, backLa
|
|
|
253
253
|
* a zero while the read is in flight: "0 rows" and "not yet answered" are
|
|
254
254
|
* different facts and only one of them is worth reacting to.
|
|
255
255
|
*/
|
|
256
|
-
function tableCaption(type, data) {
|
|
257
|
-
const rows = data ?
|
|
256
|
+
function tableCaption(type, data, rowCountCap) {
|
|
257
|
+
const rows = data ? rowCount(data.meta.total, rowCountCap) : '…';
|
|
258
258
|
return `${type?.tableName} · ${rows} · ${data?.columns.length ?? 0} columns from the catalog`;
|
|
259
259
|
}
|
|
260
|
+
/**
|
|
261
|
+
* The row count as the reader should take it.
|
|
262
|
+
*
|
|
263
|
+
* A count at or above the host's cap is the cap with a plus sign: the server
|
|
264
|
+
* stopped counting there, so the true size is at least that and possibly far
|
|
265
|
+
* more. Below the cap the count is exact and shown as it is.
|
|
266
|
+
*/
|
|
267
|
+
function rowCount(total, cap) {
|
|
268
|
+
// A cap that is not a whole number of rows above zero is a host mistake, and
|
|
269
|
+
// "0+ rows" or "2.5+ rows" would say something no server meant; it is ignored.
|
|
270
|
+
if (cap !== undefined && Number.isInteger(cap) && cap > 0 && total >= cap)
|
|
271
|
+
return `${cap.toLocaleString()}+ rows`;
|
|
272
|
+
return `${total.toLocaleString()} rows`;
|
|
273
|
+
}
|
|
260
274
|
/** The one control that searches every text column at once. */
|
|
261
275
|
function SearchBox({ value, onChange, what, }) {
|
|
262
276
|
return (_jsxs("div", { className: "relative", children: [_jsx(Search, { size: 14, className: cn('pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2', MUTED) }), _jsx("input", { type: "text", value: value, onChange: (event) => onChange(event.target.value), placeholder: `Search ${what?.toLowerCase() ?? 'objects'}`, "aria-label": "Search objects", className: cn('w-72 rounded-md border bg-zinc-50 py-2 pl-8 pr-3 text-sm outline-none dark:bg-zinc-950', RULE, 'placeholder:text-zinc-400 focus:border-sky-500 focus:ring-2 focus:ring-sky-500/15') })] }));
|
|
@@ -330,17 +344,19 @@ function useSelectedType(types, typeProp) {
|
|
|
330
344
|
* it. A filter can only have been built out of a column that had already arrived.
|
|
331
345
|
*/
|
|
332
346
|
function useAppliedFilters(filters, columns, onApplied) {
|
|
333
|
-
const
|
|
347
|
+
const ready = useMemo(() => {
|
|
334
348
|
const byName = new Map((columns ?? []).map((column) => [column.name, column]));
|
|
335
349
|
return filters
|
|
336
350
|
.filter((filter) => filterIsReady(filter, byName.get(filter.property)))
|
|
337
|
-
.map((filter) =>
|
|
351
|
+
.map((filter) => filterOperatorTakesValue(filter.op)
|
|
352
|
+
? { property: filter.property, op: filter.op, value: filter.value ?? '' }
|
|
353
|
+
: { property: filter.property, op: filter.op });
|
|
338
354
|
}, [filters, columns]);
|
|
339
355
|
// One string, so the debounce below depends on a value rather than on an array
|
|
340
356
|
// identity that is new on every render.
|
|
341
|
-
const key =
|
|
357
|
+
const key = JSON.stringify(ready);
|
|
342
358
|
useEffect(() => {
|
|
343
|
-
const timer = setTimeout(() => onApplied(
|
|
359
|
+
const timer = setTimeout(() => onApplied(JSON.parse(key)), 250);
|
|
344
360
|
return () => clearTimeout(timer);
|
|
345
361
|
// `onApplied` has to be stable — a callback with a new identity every render
|
|
346
362
|
// would restart this timer on every render and never fire. The caller wraps it
|
package/dist/TraceExplorer.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { CatalogTrace,
|
|
1
|
+
import type { CatalogTrace, CatalogTracePage } from '@dudousxd/nestjs-catalog';
|
|
2
2
|
import { Upload } from 'lucide-react';
|
|
3
|
+
import { type TraceListQuery } from './context.js';
|
|
3
4
|
/**
|
|
4
5
|
* Where this screen gets its traces.
|
|
5
6
|
*
|
|
@@ -9,7 +10,7 @@ import { Upload } from 'lucide-react';
|
|
|
9
10
|
* differently from the app around it is a console nobody trusts.
|
|
10
11
|
*/
|
|
11
12
|
export interface CatalogTraceSource {
|
|
12
|
-
listTraces(query:
|
|
13
|
+
listTraces(query: TraceListQuery): Promise<CatalogTracePage>;
|
|
13
14
|
/**
|
|
14
15
|
* One trace, with the payloads the list leaves in the database.
|
|
15
16
|
*
|
package/dist/TraceExplorer.js
CHANGED
|
@@ -47,21 +47,29 @@ function toTraceList(value) {
|
|
|
47
47
|
if (typeof value !== 'object' || value === null) {
|
|
48
48
|
throw new Error('The trace endpoint answered with something that is not a trace list.');
|
|
49
49
|
}
|
|
50
|
-
const rawTraces = Reflect.get(value, '
|
|
50
|
+
const rawTraces = Reflect.get(value, 'data');
|
|
51
51
|
if (!Array.isArray(rawTraces)) {
|
|
52
52
|
throw new Error('The trace endpoint answered without a list of traces.');
|
|
53
53
|
}
|
|
54
54
|
const rawUnlinked = Reflect.get(value, 'unlinked');
|
|
55
55
|
const traces = rawTraces.filter(isTrace);
|
|
56
|
+
const rawMeta = Reflect.get(value, 'meta');
|
|
57
|
+
const meta = typeof rawMeta === 'object' && rawMeta !== null ? rawMeta : {};
|
|
58
|
+
// The server's own count when it sent one. Falling back to the page length
|
|
59
|
+
// is a deliberate under-claim: "showing 25 of 25" is wrong but harmless,
|
|
60
|
+
// where a fabricated larger total would put a page nobody can reach behind
|
|
61
|
+
// a control that promises one.
|
|
62
|
+
const total = numberOr(Reflect.get(meta, 'total'), traces.length);
|
|
63
|
+
const perPage = Math.max(1, numberOr(Reflect.get(meta, 'perPage'), traces.length || 1));
|
|
56
64
|
return {
|
|
57
|
-
traces,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
+
data: traces,
|
|
66
|
+
meta: {
|
|
67
|
+
total,
|
|
68
|
+
perPage,
|
|
69
|
+
currentPage: numberOr(Reflect.get(meta, 'currentPage'), 1),
|
|
70
|
+
lastPage: numberOr(Reflect.get(meta, 'lastPage'), Math.max(1, Math.ceil(total / perPage))),
|
|
71
|
+
firstPage: 1,
|
|
72
|
+
},
|
|
65
73
|
unlinked: Array.isArray(rawUnlinked) ? rawUnlinked.filter(isAuditEvent) : [],
|
|
66
74
|
unlinkedTotal: numberOr(Reflect.get(value, 'unlinkedTotal'), 0),
|
|
67
75
|
clockResolutionMs: numberOr(Reflect.get(value, 'clockResolutionMs'), 1),
|
|
@@ -230,7 +238,7 @@ export function TraceExplorer({ source } = {}) {
|
|
|
230
238
|
const { data, isLoading, isFetching, error, refetch } = useQuery({
|
|
231
239
|
queryKey: ['catalog', 'traces', outcome],
|
|
232
240
|
queryFn: () => traces
|
|
233
|
-
? traces.listTraces({ outcome: outcome || undefined,
|
|
241
|
+
? traces.listTraces({ outcome: outcome || undefined, size: 50 })
|
|
234
242
|
: Promise.reject(new Error('No trace source')),
|
|
235
243
|
enabled: traces !== undefined,
|
|
236
244
|
// Short, because a running trace is the case this screen exists for and a
|
|
@@ -244,7 +252,7 @@ export function TraceExplorer({ source } = {}) {
|
|
|
244
252
|
// throws. Nested providers are a no-op, so the shared case costs nothing.
|
|
245
253
|
return (_jsx(TooltipProvider, { children: _jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [OUTCOME_FILTERS.map((filter) => (_jsx("button", { type: "button", onClick: () => setOutcome(filter.id), className: cn('rounded-md border px-2.5 py-1 text-xs transition-colors', filter.id === outcome
|
|
246
254
|
? 'border-zinc-400 bg-zinc-100 text-zinc-950 dark:border-zinc-600 dark:bg-zinc-800 dark:text-zinc-50'
|
|
247
|
-
: cn(RULE, 'hover:bg-zinc-50 dark:hover:bg-zinc-800/60', MUTED)), children: filter.label }, filter.id || 'all'))), _jsx(Tooltip, { content: "Re-read the trail now", children: _jsx("button", { type: "button", onClick: () => void refetch(), "aria-label": "Refresh traces", className: cn('ml-auto rounded-md border p-1.5 transition-colors', RULE, 'hover:bg-zinc-50 dark:hover:bg-zinc-800/60'), children: _jsx(RefreshCw, { size: 13, className: cn(isFetching && 'animate-spin') }) }) })] }), isLoading && (_jsx("p", { className: cn('py-10 text-center font-mono text-sm', MUTED), children: "Reassembling the trail\u2026" })), error && (_jsx("p", { className: cn('rounded-lg border border-red-300 bg-red-50 px-4 py-3 text-sm text-red-700', 'dark:border-red-900 dark:bg-red-950/40 dark:text-red-300'), children: error instanceof Error ? error.message : String(error) })), data && data.
|
|
255
|
+
: cn(RULE, 'hover:bg-zinc-50 dark:hover:bg-zinc-800/60', MUTED)), children: filter.label }, filter.id || 'all'))), _jsx(Tooltip, { content: "Re-read the trail now", children: _jsx("button", { type: "button", onClick: () => void refetch(), "aria-label": "Refresh traces", className: cn('ml-auto rounded-md border p-1.5 transition-colors', RULE, 'hover:bg-zinc-50 dark:hover:bg-zinc-800/60'), children: _jsx(RefreshCw, { size: 13, className: cn(isFetching && 'animate-spin') }) }) })] }), isLoading && (_jsx("p", { className: cn('py-10 text-center font-mono text-sm', MUTED), children: "Reassembling the trail\u2026" })), error && (_jsx("p", { className: cn('rounded-lg border border-red-300 bg-red-50 px-4 py-3 text-sm text-red-700', 'dark:border-red-900 dark:bg-red-950/40 dark:text-red-300'), children: error instanceof Error ? error.message : String(error) })), data && data.data.length === 0 && (_jsx("p", { className: cn('rounded-lg border border-dashed px-4 py-12 text-center text-sm', RULE, MUTED), children: "No trace matches. Every trace is one snapshot id \u2014 publish something, or run a connector, and its whole story appears here." })), _jsx("div", { className: "space-y-2", children: (data?.data ?? []).map((trace) => (_jsx(TraceCard, { trace: trace, source: traces, expanded: open === trace.id, onToggle: () => setOpen(open === trace.id ? null : trace.id) }, trace.id))) }), data && data.meta.total > data.data.length && (_jsxs("p", { className: cn('text-center font-mono text-[10px]', MUTED), children: ["Showing ", data.data.length, " of ", data.meta.total, " traces."] })), data && data.unlinked.length > 0 && _jsx(Unlinked, { list: data.unlinked })] }) }));
|
|
248
256
|
}
|
|
249
257
|
/**
|
|
250
258
|
* The steps of one expanded trace.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
/**
|
|
3
3
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
4
4
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
5
|
-
*
|
|
5
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
6
6
|
*
|
|
7
7
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
8
8
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
5
5
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
6
|
-
*
|
|
6
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
7
7
|
*
|
|
8
8
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Vendored from bklit-ui — https://github.com/bklit/bklit-ui
|
|
3
3
|
* Copyright (c) 2026 uixmat. Released under the MIT licence; the full text is in
|
|
4
|
-
*
|
|
4
|
+
* THIRD_PARTY_NOTICES.md at the root of this package.
|
|
5
5
|
*
|
|
6
6
|
* Local change: the `@/lib/utils` import was repointed at this package's own
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|