@dudousxd/nestjs-catalog-react 0.34.2 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/AccessConsole.d.ts +1 -1
- package/dist/AccessConsole.js +19 -19
- package/dist/CatalogManager.js +11 -11
- package/dist/ConnectionPanel.js +9 -9
- package/dist/CoverageLedger.js +1 -1
- package/dist/DashboardBoard.js +10 -10
- package/dist/EditableField.js +1 -1
- package/dist/FlowView.js +4 -4
- package/dist/GovernanceTimeline.d.ts +1 -1
- package/dist/GovernanceTimeline.js +10 -8
- package/dist/LoadExpectationSection.js +6 -6
- package/dist/LoadedBySection.d.ts +1 -1
- package/dist/LoadedBySection.js +4 -4
- package/dist/ObjectExplorer.js +20 -18
- package/dist/PipelineConsole.js +9 -9
- package/dist/QueryConsole.js +7 -7
- package/dist/SavedQueryPanel.js +7 -7
- package/dist/TraceExplorer.d.ts +3 -2
- package/dist/TraceExplorer.js +22 -14
- package/dist/TransformEditor.js +8 -8
- package/dist/WorkflowCanvas.js +30 -30
- package/dist/charts/bklit/area-chart-loading.d.ts +2 -2
- package/dist/charts/bklit/area-chart-loading.js +4 -4
- package/dist/charts/bklit/area-chart.d.ts +3 -3
- package/dist/charts/bklit/area-chart.js +7 -7
- 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.d.ts +4 -4
- package/dist/charts/bklit/area.js +11 -11
- package/dist/charts/bklit/bar-chart-loading.d.ts +1 -1
- package/dist/charts/bklit/bar-chart-loading.js +1 -1
- package/dist/charts/bklit/bar-chart.d.ts +2 -2
- package/dist/charts/bklit/bar-chart.js +12 -12
- package/dist/charts/bklit/bar-squares.d.ts +1 -1
- package/dist/charts/bklit/bar-squares.js +5 -5
- package/dist/charts/bklit/bar-x-axis.js +2 -2
- package/dist/charts/bklit/bar-y-axis.js +2 -2
- package/dist/charts/bklit/bar.js +4 -4
- package/dist/charts/bklit/chart-context.d.ts +4 -4
- package/dist/charts/bklit/chart-context.js +1 -1
- package/dist/charts/bklit/chart-loading-label.js +3 -3
- package/dist/charts/bklit/chart-reveal-clip.js +1 -1
- package/dist/charts/bklit/grid.js +3 -3
- package/dist/charts/bklit/highlight-segment-bounds.d.ts +2 -2
- package/dist/charts/bklit/line-chart-loading.d.ts +2 -2
- package/dist/charts/bklit/line-chart-loading.js +4 -4
- package/dist/charts/bklit/line-chart.d.ts +3 -3
- package/dist/charts/bklit/line-chart.js +6 -6
- package/dist/charts/bklit/line-loading-pulse.d.ts +1 -1
- package/dist/charts/bklit/line-loading-pulse.js +3 -3
- package/dist/charts/bklit/line-series-terminal-marker.js +2 -2
- package/dist/charts/bklit/line.d.ts +4 -4
- package/dist/charts/bklit/line.js +11 -11
- package/dist/charts/bklit/loading-sweep.js +2 -2
- package/dist/charts/bklit/motion-utils.js +1 -1
- package/dist/charts/bklit/pattern-area.js +1 -1
- package/dist/charts/bklit/pattern-preset.js +1 -1
- package/dist/charts/bklit/projection-config.d.ts +1 -1
- package/dist/charts/bklit/projection-config.js +3 -3
- package/dist/charts/bklit/projection-line-end-marker.d.ts +1 -1
- package/dist/charts/bklit/projection-line-end-marker.js +1 -1
- package/dist/charts/bklit/projection-line.d.ts +1 -1
- package/dist/charts/bklit/projection-line.js +2 -2
- package/dist/charts/bklit/reference-area-config.js +1 -1
- package/dist/charts/bklit/reference-area-registration-context.d.ts +1 -1
- package/dist/charts/bklit/series-dash-tail-overlay.js +2 -2
- package/dist/charts/bklit/series-highlight-layer.js +3 -3
- package/dist/charts/bklit/series-hover-dim.js +2 -2
- package/dist/charts/bklit/series-markers.d.ts +1 -1
- package/dist/charts/bklit/series-markers.js +4 -4
- package/dist/charts/bklit/series-point-marker.js +1 -1
- package/dist/charts/bklit/time-series-chart-shell.d.ts +2 -2
- package/dist/charts/bklit/time-series-chart-shell.js +20 -20
- package/dist/charts/bklit/tooltip/chart-tooltip.d.ts +4 -4
- package/dist/charts/bklit/tooltip/chart-tooltip.js +8 -8
- package/dist/charts/bklit/tooltip/index.d.ts +6 -6
- package/dist/charts/bklit/tooltip/index.js +6 -6
- package/dist/charts/bklit/tooltip/tooltip-box.d.ts +1 -1
- package/dist/charts/bklit/tooltip/tooltip-box.js +3 -3
- package/dist/charts/bklit/tooltip/tooltip-content.js +1 -1
- package/dist/charts/bklit/tooltip/tooltip-dot.d.ts +1 -1
- package/dist/charts/bklit/tooltip/tooltip-dot.js +2 -2
- package/dist/charts/bklit/tooltip/tooltip-indicator.d.ts +2 -2
- package/dist/charts/bklit/tooltip/tooltip-indicator.js +3 -3
- package/dist/charts/bklit/use-animated-series-path.js +2 -2
- package/dist/charts/bklit/use-animated-y-domains.d.ts +2 -2
- package/dist/charts/bklit/use-animated-y-domains.js +2 -2
- package/dist/charts/bklit/use-chart-interaction.d.ts +1 -1
- package/dist/charts/bklit/use-chart-interaction.js +2 -2
- package/dist/charts/bklit/use-chart-phase-orchestrator.d.ts +1 -1
- package/dist/charts/bklit/use-chart-phase-orchestrator.js +1 -1
- package/dist/charts/bklit/use-grid-shimmer.js +1 -1
- package/dist/charts/bklit/use-highlight-segment.js +3 -3
- package/dist/charts/bklit/use-mount-progress.js +1 -1
- package/dist/charts/bklit/x-axis.js +5 -5
- package/dist/charts/bklit/y-axis-scales.d.ts +1 -1
- package/dist/charts/bklit/y-domain-utils.d.ts +2 -2
- package/dist/charts/bklit/y-domain-utils.js +2 -2
- package/dist/charts/bklit.d.ts +1 -1
- package/dist/charts/bklit.js +11 -11
- package/dist/charts/body.js +4 -4
- package/dist/charts/components/shimmering-text.js +1 -1
- package/dist/charts/css.d.ts +2 -2
- package/dist/charts/css.js +1 -1
- package/dist/charts/recharts.d.ts +1 -1
- package/dist/charts/recharts.js +2 -2
- package/dist/charts/skeleton.js +1 -1
- package/dist/connection-form.js +3 -3
- package/dist/context.d.ts +50 -24
- package/dist/context.js +48 -16
- package/dist/diff/RevisionDiff.d.ts +1 -1
- package/dist/diff/RevisionDiff.js +7 -7
- package/dist/embed/EmbeddedChart.d.ts +2 -2
- package/dist/embed/EmbeddedChart.js +4 -4
- package/dist/embed/EmbeddedDashboard.d.ts +2 -2
- package/dist/embed/EmbeddedDashboard.js +6 -6
- package/dist/embed/actions.d.ts +1 -1
- package/dist/embed/actions.js +2 -2
- package/dist/embed/chart-card.d.ts +2 -2
- package/dist/embed/chart-card.js +7 -7
- package/dist/embed/index.d.ts +5 -5
- package/dist/embed/index.js +4 -4
- package/dist/embed/slots.js +1 -1
- package/dist/export/index.d.ts +6 -6
- package/dist/export/index.js +6 -6
- package/dist/export/pdf.d.ts +2 -2
- package/dist/export/pdf.js +2 -2
- package/dist/export/png.d.ts +1 -1
- package/dist/export/png.js +1 -1
- package/dist/export/serialize.js +1 -1
- package/dist/export/use-pdf-export.d.ts +2 -2
- package/dist/export/use-pdf-export.js +3 -3
- package/dist/export/use-png-export.d.ts +1 -1
- package/dist/export/use-png-export.js +1 -1
- package/dist/index.d.ts +46 -46
- package/dist/index.js +46 -46
- package/dist/routes.d.ts +3 -2
- package/dist/routes.js +4 -4
- package/dist/schema-discovery.js +2 -2
- package/dist/search-console.d.ts +2 -2
- package/dist/search-console.js +8 -8
- package/dist/sharing.js +2 -2
- package/dist/source-connection.d.ts +1 -1
- package/dist/source-connection.js +6 -6
- package/dist/source-fields.d.ts +2 -2
- package/dist/source-fields.js +6 -6
- package/dist/ui/button.js +1 -1
- package/dist/ui/chart.js +1 -1
- package/dist/ui/code-editor.d.ts +2 -2
- package/dist/ui/code-editor.js +2 -2
- package/dist/ui/combobox.js +1 -1
- package/dist/ui/data-table.js +1 -1
- package/dist/ui/dialog.js +1 -1
- package/dist/ui/field.js +1 -1
- package/dist/ui/rich-text-field.js +2 -2
- package/dist/ui/select.js +1 -1
- package/dist/ui/sheet.js +2 -2
- package/dist/ui/switch.js +1 -1
- package/dist/ui/tabs.js +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/dist/workflow/canvas-menu.d.ts +1 -1
- package/dist/workflow/canvas-menu.js +4 -4
- package/dist/workflow/create.d.ts +1 -1
- package/dist/workflow/create.js +4 -4
- package/dist/workflow/edges.d.ts +1 -1
- package/dist/workflow/edges.js +1 -1
- package/dist/workflow/graph.d.ts +2 -2
- package/dist/workflow/graph.js +2 -2
- package/dist/workflow/history.d.ts +1 -1
- package/dist/workflow/history.js +6 -6
- package/dist/workflow/index.d.ts +4 -4
- package/dist/workflow/index.js +4 -4
- package/dist/workflow/lifecycle.d.ts +2 -2
- package/dist/workflow/lifecycle.js +8 -8
- package/dist/workflow/menu.d.ts +2 -2
- package/dist/workflow/menu.js +3 -3
- package/dist/workflow/nodes.d.ts +2 -2
- package/dist/workflow/nodes.js +3 -3
- package/dist/workflow/place.d.ts +1 -1
- package/dist/workflow/place.js +1 -1
- package/dist/workflow/removal.d.ts +1 -1
- package/dist/workflow/removal.js +1 -1
- package/dist/workflow/runs.js +6 -6
- package/dist/workflow/shape.d.ts +1 -1
- package/dist/workflow/shape.js +1 -1
- package/dist/workflow/validate.d.ts +1 -1
- package/dist/workflow/validate.js +3 -3
- package/dist/workflow/wiring.d.ts +1 -1
- package/dist/workflow/wiring.js +4 -4
- package/package.json +9 -6
package/dist/ui/switch.js
CHANGED
package/dist/ui/tabs.js
CHANGED
package/dist/ui/tooltip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Tooltip as BaseTooltip } from '@base-ui/react/tooltip';
|
|
3
3
|
import { isValidElement } from 'react';
|
|
4
|
-
import { cn } from '../cn';
|
|
4
|
+
import { cn } from '../cn.js';
|
|
5
5
|
/**
|
|
6
6
|
* The shadcn/ui tooltip, vendored, on Base UI.
|
|
7
7
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type WorkflowBranchLabel, type WorkflowEdge, type WorkflowNode, type WorkflowNodeKind } from './model';
|
|
1
|
+
import { type WorkflowBranchLabel, type WorkflowEdge, type WorkflowNode, type WorkflowNodeKind } from './model.js';
|
|
2
2
|
/**
|
|
3
3
|
* What right-clicking something on this canvas offers, worked out from the graph.
|
|
4
4
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { kindsBetween, newKindsFrom } from './create';
|
|
2
|
-
import { nodeName, } from './model';
|
|
3
|
-
import { WORKFLOW_NAME } from './name';
|
|
4
|
-
import { canConnect, edgeId } from './validate';
|
|
1
|
+
import { kindsBetween, newKindsFrom } from './create.js';
|
|
2
|
+
import { nodeName, } from './model.js';
|
|
3
|
+
import { WORKFLOW_NAME } from './name.js';
|
|
4
|
+
import { canConnect, edgeId } from './validate.js';
|
|
5
5
|
/** A node's display name, falling back to its id when it is not in the graph. */
|
|
6
6
|
function labelIn(nodes, id) {
|
|
7
7
|
const found = nodes.find((candidate) => candidate.id === id);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type WorkflowBranchLabel, type WorkflowEdge, type WorkflowNode, type WorkflowNodeKind } from './model';
|
|
1
|
+
import { type WorkflowBranchLabel, type WorkflowEdge, type WorkflowNode, type WorkflowNodeKind } from './model.js';
|
|
2
2
|
/**
|
|
3
3
|
* Making nodes and wires, and deciding which of those the graph would accept.
|
|
4
4
|
*
|
package/dist/workflow/create.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defaultLabel } from './graph';
|
|
2
|
-
import { WORKFLOW_BRANCH_LABELS, WORKFLOW_NODE_KINDS, newLocalId, nodeName, unreachableNodeKind, } from './model';
|
|
3
|
-
import { placeBetween } from './place';
|
|
4
|
-
import { canConnect, edgeId } from './validate';
|
|
1
|
+
import { defaultLabel } from './graph.js';
|
|
2
|
+
import { WORKFLOW_BRANCH_LABELS, WORKFLOW_NODE_KINDS, newLocalId, nodeName, unreachableNodeKind, } from './model.js';
|
|
3
|
+
import { placeBetween } from './place.js';
|
|
4
|
+
import { canConnect, edgeId } from './validate.js';
|
|
5
5
|
/**
|
|
6
6
|
* Making nodes and wires, and deciding which of those the graph would accept.
|
|
7
7
|
*
|
package/dist/workflow/edges.d.ts
CHANGED
package/dist/workflow/edges.js
CHANGED
|
@@ -3,7 +3,7 @@ import { BaseEdge, EdgeLabelRenderer, getSmoothStepPath, useReactFlow, } from '@
|
|
|
3
3
|
import { X } from 'lucide-react';
|
|
4
4
|
import { AnimatePresence, motion, useReducedMotion } from 'motion/react';
|
|
5
5
|
import { createContext, useContext } from 'react';
|
|
6
|
-
import { Button } from '../ui/button';
|
|
6
|
+
import { Button } from '../ui/button.js';
|
|
7
7
|
const WorkflowEdgeContext = createContext(null);
|
|
8
8
|
export function WorkflowEdgeProvider({ handlers, children, }) {
|
|
9
9
|
return _jsx(WorkflowEdgeContext.Provider, { value: handlers, children: children });
|
package/dist/workflow/graph.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Edge, Node } from '@xyflow/react';
|
|
2
|
-
import { type WorkflowEdge, type WorkflowFilterPredicate, type WorkflowNode, type WorkflowNodeKind, type WorkflowRunNode } from './model';
|
|
3
|
-
import { type WorkflowProblem } from './validate';
|
|
2
|
+
import { type WorkflowEdge, type WorkflowFilterPredicate, type WorkflowNode, type WorkflowNodeKind, type WorkflowRunNode } from './model.js';
|
|
3
|
+
import { type WorkflowProblem } from './validate.js';
|
|
4
4
|
/**
|
|
5
5
|
* Turning the stored graph into what React Flow draws, and back.
|
|
6
6
|
*
|
package/dist/workflow/graph.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { WORKFLOW_NODE_HEIGHT, WORKFLOW_NODE_WIDTH, workflowColumnX, workflowRowY, workflowRunOrder, } from '@dudousxd/nestjs-catalog/client';
|
|
2
2
|
import { MarkerType } from '@xyflow/react';
|
|
3
|
-
import { nodeName, unreachableFilterPredicateKind, unreachableNodeKind, unreachablePredicateKind, workflowCallMode, workflowLookupUnmatched, workflowRenameUnnamed, } from './model';
|
|
4
|
-
import { edgeId } from './validate';
|
|
3
|
+
import { nodeName, unreachableFilterPredicateKind, unreachableNodeKind, unreachablePredicateKind, workflowCallMode, workflowLookupUnmatched, workflowRenameUnnamed, } from './model.js';
|
|
4
|
+
import { edgeId } from './validate.js';
|
|
5
5
|
/**
|
|
6
6
|
* Turning the stored graph into what React Flow draws, and back.
|
|
7
7
|
*
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* already held: this canvas replaces arrays rather than mutating them (see the
|
|
35
35
|
* copy note in `draftFrom`), so an entry costs four references, not a graph.
|
|
36
36
|
*/
|
|
37
|
-
import type { WorkflowEdge, WorkflowNode } from './model';
|
|
37
|
+
import type { WorkflowEdge, WorkflowNode } from './model.js';
|
|
38
38
|
/**
|
|
39
39
|
* How many actions can be taken back.
|
|
40
40
|
*
|
package/dist/workflow/history.js
CHANGED
|
@@ -37,12 +37,12 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
37
37
|
*/
|
|
38
38
|
import { RotateCcw, Undo2 } from 'lucide-react';
|
|
39
39
|
import { useEffect } from 'react';
|
|
40
|
-
import { cn } from '../cn';
|
|
41
|
-
import { Button } from '../ui/button';
|
|
42
|
-
import { ConfirmDialog } from '../ui/dialog';
|
|
43
|
-
import { Tooltip } from '../ui/tooltip';
|
|
44
|
-
import { nodeName } from './model';
|
|
45
|
-
import { WORKFLOW_NAME } from './name';
|
|
40
|
+
import { cn } from '../cn.js';
|
|
41
|
+
import { Button } from '../ui/button.js';
|
|
42
|
+
import { ConfirmDialog } from '../ui/dialog.js';
|
|
43
|
+
import { Tooltip } from '../ui/tooltip.js';
|
|
44
|
+
import { nodeName } from './model.js';
|
|
45
|
+
import { WORKFLOW_NAME } from './name.js';
|
|
46
46
|
/**
|
|
47
47
|
* How many actions can be taken back.
|
|
48
48
|
*
|
package/dist/workflow/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* anything mounting a node canvas is already installing a graph library, and a
|
|
19
19
|
* host that wants neither wants the root entry point instead.
|
|
20
20
|
*/
|
|
21
|
-
export { WorkflowCanvas, type WorkflowCanvasProps } from '../WorkflowCanvas';
|
|
22
|
-
export { layout, layoutIfUnarranged, NODE_HEIGHT, NODE_WIDTH, type WorkflowFlowEdge, type WorkflowFlowNode, type WorkflowNodeData, } from './graph';
|
|
23
|
-
export { PublishControls, refusedForShrink, RunControls, SchedulePanel, ShrinkRefusalNote, WorkflowStatusBadge, } from './lifecycle';
|
|
24
|
-
export { RunsAsPanel } from './runs';
|
|
21
|
+
export { WorkflowCanvas, type WorkflowCanvasProps } from '../WorkflowCanvas.js';
|
|
22
|
+
export { layout, layoutIfUnarranged, NODE_HEIGHT, NODE_WIDTH, type WorkflowFlowEdge, type WorkflowFlowNode, type WorkflowNodeData, } from './graph.js';
|
|
23
|
+
export { PublishControls, refusedForShrink, RunControls, SchedulePanel, ShrinkRefusalNote, WorkflowStatusBadge, } from './lifecycle.js';
|
|
24
|
+
export { RunsAsPanel } from './runs.js';
|
package/dist/workflow/index.js
CHANGED
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
* anything mounting a node canvas is already installing a graph library, and a
|
|
19
19
|
* host that wants neither wants the root entry point instead.
|
|
20
20
|
*/
|
|
21
|
-
export { WorkflowCanvas } from '../WorkflowCanvas';
|
|
22
|
-
export { layout, layoutIfUnarranged, NODE_HEIGHT, NODE_WIDTH, } from './graph';
|
|
21
|
+
export { WorkflowCanvas } from '../WorkflowCanvas.js';
|
|
22
|
+
export { layout, layoutIfUnarranged, NODE_HEIGHT, NODE_WIDTH, } from './graph.js';
|
|
23
23
|
// What happens to a graph once it is drawn. Here rather than on the root entry
|
|
24
24
|
// because a host reaching for these is already mounting the canvas — and
|
|
25
25
|
// `refusedForShrink` is here rather than nowhere because "was that failure the
|
|
26
26
|
// row-count bound" is a judgement a host might want to make outside a canvas.
|
|
27
|
-
export { PublishControls, refusedForShrink, RunControls, SchedulePanel, ShrinkRefusalNote, WorkflowStatusBadge, } from './lifecycle';
|
|
28
|
-
export { RunsAsPanel } from './runs';
|
|
27
|
+
export { PublishControls, refusedForShrink, RunControls, SchedulePanel, ShrinkRefusalNote, WorkflowStatusBadge, } from './lifecycle.js';
|
|
28
|
+
export { RunsAsPanel } from './runs.js';
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
* in front of them. So it is a visible control, it says what it does where it is
|
|
22
22
|
* used, and it will not send a blank reason.
|
|
23
23
|
*/
|
|
24
|
-
import { type WorkflowRunOptions } from '../context';
|
|
25
|
-
import type { CatalogWorkflow, WorkflowRun } from './model';
|
|
24
|
+
import { type WorkflowRunOptions } from '../context.js';
|
|
25
|
+
import type { CatalogWorkflow, WorkflowRun } from './model.js';
|
|
26
26
|
/**
|
|
27
27
|
* Whether a failure is the row-count bound refusing a load, rather than
|
|
28
28
|
* anything else that can go wrong in a run.
|
|
@@ -25,14 +25,14 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
25
25
|
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
26
26
|
import { CircleCheck, Clock, Loader2, Play, TriangleAlert, Undo2, Upload } from 'lucide-react';
|
|
27
27
|
import { useState } from 'react';
|
|
28
|
-
import { cn } from '../cn';
|
|
29
|
-
import { catalogQueryKeys, useCatalogClient, } from '../context';
|
|
30
|
-
import { Button } from '../ui/button';
|
|
31
|
-
import { ConfirmDialog } from '../ui/dialog';
|
|
32
|
-
import { TextAreaField, TextField } from '../ui/field';
|
|
33
|
-
import { Switch } from '../ui/switch';
|
|
34
|
-
import { Tooltip } from '../ui/tooltip';
|
|
35
|
-
import { WORKFLOW_NAME } from './name';
|
|
28
|
+
import { cn } from '../cn.js';
|
|
29
|
+
import { catalogQueryKeys, useCatalogClient, } from '../context.js';
|
|
30
|
+
import { Button } from '../ui/button.js';
|
|
31
|
+
import { ConfirmDialog } from '../ui/dialog.js';
|
|
32
|
+
import { TextAreaField, TextField } from '../ui/field.js';
|
|
33
|
+
import { Switch } from '../ui/switch.js';
|
|
34
|
+
import { Tooltip } from '../ui/tooltip.js';
|
|
35
|
+
import { WORKFLOW_NAME } from './name.js';
|
|
36
36
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
37
37
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
38
38
|
const PANEL = 'bg-white dark:bg-zinc-900';
|
package/dist/workflow/menu.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CanvasMenuSection } from './canvas-menu';
|
|
2
|
-
import { type WorkflowNode } from './model';
|
|
1
|
+
import type { CanvasMenuSection } from './canvas-menu.js';
|
|
2
|
+
import { type WorkflowNode } from './model.js';
|
|
3
3
|
/** Where a context menu is anchored, in viewport coordinates. */
|
|
4
4
|
export interface MenuAnchorRect {
|
|
5
5
|
x: number;
|
package/dist/workflow/menu.js
CHANGED
|
@@ -2,9 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { Menu as BaseMenu } from '@base-ui/react/menu';
|
|
3
3
|
import { NodeToolbar, Position } from '@xyflow/react';
|
|
4
4
|
import { ArrowRight, Code2, GitBranch, LayoutGrid, Maximize2, MoreHorizontal, PanelRight, Plus, Trash2, Unplug, Waypoints, } from 'lucide-react';
|
|
5
|
-
import { cn } from '../cn';
|
|
6
|
-
import { Tooltip } from '../ui/tooltip';
|
|
7
|
-
import { nodeName } from './model';
|
|
5
|
+
import { cn } from '../cn.js';
|
|
6
|
+
import { Tooltip } from '../ui/tooltip.js';
|
|
7
|
+
import { nodeName } from './model.js';
|
|
8
8
|
/**
|
|
9
9
|
* The two surfaces that render {@link CanvasMenuSection}, and the way back from
|
|
10
10
|
* the destructive items they carry.
|
package/dist/workflow/nodes.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type NodeProps } from '@xyflow/react';
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
|
-
import { type WorkflowFlowNode } from './graph';
|
|
4
|
-
import type { WorkflowWiring } from './wiring';
|
|
3
|
+
import { type WorkflowFlowNode } from './graph.js';
|
|
4
|
+
import type { WorkflowWiring } from './wiring.js';
|
|
5
5
|
/**
|
|
6
6
|
* What a node can reach without being handed a callback in its `data`.
|
|
7
7
|
*
|
package/dist/workflow/nodes.js
CHANGED
|
@@ -3,9 +3,9 @@ import { Handle, Position } from '@xyflow/react';
|
|
|
3
3
|
import { CircleAlert, CircleCheck, CircleSlash, Code2, Combine, Database, ExternalLink, Filter, GitBranch, Loader2, Plug, Repeat, Sigma, TextCursorInput, TriangleAlert, } from 'lucide-react';
|
|
4
4
|
import { motion, useReducedMotion } from 'motion/react';
|
|
5
5
|
import { createContext, useContext, } from 'react';
|
|
6
|
-
import { cn } from '../cn';
|
|
7
|
-
import { Tooltip } from '../ui/tooltip';
|
|
8
|
-
import { NODE_WIDTH, describeDrop } from './graph';
|
|
6
|
+
import { cn } from '../cn.js';
|
|
7
|
+
import { Tooltip } from '../ui/tooltip.js';
|
|
8
|
+
import { NODE_WIDTH, describeDrop } from './graph.js';
|
|
9
9
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
10
10
|
const PANEL = 'bg-white dark:bg-zinc-900';
|
|
11
11
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
package/dist/workflow/place.d.ts
CHANGED
package/dist/workflow/place.js
CHANGED
package/dist/workflow/removal.js
CHANGED
package/dist/workflow/runs.js
CHANGED
|
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { useQuery } from '@tanstack/react-query';
|
|
3
3
|
import { CircleCheck, CircleX, Loader2, RefreshCw } from 'lucide-react';
|
|
4
4
|
import { useMemo, useState } from 'react';
|
|
5
|
-
import { cn } from '../cn';
|
|
6
|
-
import { catalogQueryKeys, useCatalogClient } from '../context';
|
|
7
|
-
import { RevisionHistorySheet } from '../diff/RevisionDiff';
|
|
8
|
-
import { Tooltip } from '../ui/tooltip';
|
|
9
|
-
import { WORKFLOW_NAME } from './name';
|
|
5
|
+
import { cn } from '../cn.js';
|
|
6
|
+
import { catalogQueryKeys, useCatalogClient } from '../context.js';
|
|
7
|
+
import { RevisionHistorySheet } from '../diff/RevisionDiff.js';
|
|
8
|
+
import { Tooltip } from '../ui/tooltip.js';
|
|
9
|
+
import { WORKFLOW_NAME } from './name.js';
|
|
10
10
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
11
11
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
12
12
|
const PANEL = 'bg-white dark:bg-zinc-900';
|
|
@@ -60,7 +60,7 @@ function RecentRuns({ connectorId, transforms, }) {
|
|
|
60
60
|
const [comparing, setComparing] = useState(null);
|
|
61
61
|
const { data: runs = [] } = useQuery({
|
|
62
62
|
queryKey: catalogQueryKeys.runs(connectorId),
|
|
63
|
-
queryFn: () => client.listRuns(connectorId),
|
|
63
|
+
queryFn: () => client.listRuns(connectorId).then((page) => page.data),
|
|
64
64
|
});
|
|
65
65
|
const only = transforms.length === 1 ? transforms[0] : undefined;
|
|
66
66
|
if (runs.length === 0) {
|
package/dist/workflow/shape.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ScalarType, WorkflowEdge, WorkflowNode } from '@dudousxd/nestjs-catalog/client';
|
|
2
|
-
import type { WorkflowProblem } from './validate';
|
|
2
|
+
import type { WorkflowProblem } from './validate.js';
|
|
3
3
|
/**
|
|
4
4
|
* Whether what a source produces fits the type a sink writes, asked while the
|
|
5
5
|
* graph is being drawn rather than after a load has committed.
|
package/dist/workflow/shape.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type WorkflowEdge, type WorkflowIssueCode, type WorkflowNode } from '@dudousxd/nestjs-catalog/client';
|
|
2
|
-
import { type ShapeKnowledge } from './shape';
|
|
2
|
+
import { type ShapeKnowledge } from './shape.js';
|
|
3
3
|
/**
|
|
4
4
|
* What is wrong with a graph, checked in the browser while it is being drawn.
|
|
5
5
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { validateWorkflow as validateCoreWorkflow, } from '@dudousxd/nestjs-catalog/client';
|
|
2
|
-
import { nodeName } from './model';
|
|
3
|
-
import { WORKFLOW_NAME } from './name';
|
|
4
|
-
import { checkShapes } from './shape';
|
|
2
|
+
import { nodeName } from './model.js';
|
|
3
|
+
import { WORKFLOW_NAME } from './name.js';
|
|
4
|
+
import { checkShapes } from './shape.js';
|
|
5
5
|
/**
|
|
6
6
|
* Core issues this canvas deliberately does not show, and the only place the two
|
|
7
7
|
* validators disagree.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type WorkflowEdge, type WorkflowNode } from './model';
|
|
1
|
+
import { type WorkflowEdge, type WorkflowNode } from './model.js';
|
|
2
2
|
/** Which side of a node a handle is. React Flow's word, not the node's kind. */
|
|
3
3
|
export type WiringHandleType = 'source' | 'target';
|
|
4
4
|
/** The handle a click-to-click connection is being drawn from. */
|
package/dist/workflow/wiring.js
CHANGED
|
@@ -3,10 +3,10 @@ import { Panel, Position, ViewportPortal, getSmoothStepPath, useInternalNode, us
|
|
|
3
3
|
import { CircleAlert, Link2 } from 'lucide-react';
|
|
4
4
|
import { AnimatePresence, motion, useReducedMotion } from 'motion/react';
|
|
5
5
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
6
|
-
import { Button } from '../ui/button';
|
|
7
|
-
import { NODE_HEIGHT, NODE_WIDTH } from './graph';
|
|
8
|
-
import { nodeName } from './model';
|
|
9
|
-
import { canConnect } from './validate';
|
|
6
|
+
import { Button } from '../ui/button.js';
|
|
7
|
+
import { NODE_HEIGHT, NODE_WIDTH } from './graph.js';
|
|
8
|
+
import { nodeName } from './model.js';
|
|
9
|
+
import { canConnect } from './validate.js';
|
|
10
10
|
/**
|
|
11
11
|
* Wiring by clicking twice, and the line that shows what is being drawn.
|
|
12
12
|
*
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dudousxd/nestjs-catalog-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"description": "Ready-made React screens for @dudousxd/nestjs-catalog — a model manager and a generic object explorer you can drop into your own app shell.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Davide Carvalho",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/DavideCarvalho/nestjs-catalog.git",
|
|
9
|
+
"url": "git+https://github.com/DavideCarvalho/nestjs-catalog.git",
|
|
10
10
|
"directory": "packages/react"
|
|
11
11
|
},
|
|
12
12
|
"bugs": {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@dnd-kit/core": ">=6",
|
|
55
55
|
"@dnd-kit/sortable": ">=10",
|
|
56
56
|
"@dnd-kit/utilities": ">=3",
|
|
57
|
-
"@dudousxd/nestjs-catalog": ">=0.
|
|
57
|
+
"@dudousxd/nestjs-catalog": ">=0.36.0",
|
|
58
58
|
"@tanstack/react-query": ">=5",
|
|
59
59
|
"@tanstack/react-table": ">=9",
|
|
60
60
|
"@tiptap/core": ">=3",
|
|
@@ -103,8 +103,8 @@
|
|
|
103
103
|
"@visx/shape": "4.0.1-alpha.0",
|
|
104
104
|
"@xyflow/react": "12.11.6",
|
|
105
105
|
"clsx": "2.1.1",
|
|
106
|
-
"d3-array": "3.2.
|
|
107
|
-
"d3-shape": "3.2.
|
|
106
|
+
"d3-array": "3.2.5",
|
|
107
|
+
"d3-shape": "3.2.1",
|
|
108
108
|
"lucide-react": "0.577.0",
|
|
109
109
|
"motion": "12.43.0",
|
|
110
110
|
"react": "19.3.1",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"tailwind-merge": "3.7.0",
|
|
114
114
|
"tiptap-markdown": "0.9.0",
|
|
115
115
|
"typescript": "5.9.3",
|
|
116
|
-
"@dudousxd/nestjs-catalog": "0.
|
|
116
|
+
"@dudousxd/nestjs-catalog": "0.36.0"
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {
|
|
119
119
|
"clsx": "2.1.1",
|
|
@@ -160,6 +160,9 @@
|
|
|
160
160
|
"optional": true
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
|
+
"engines": {
|
|
164
|
+
"node": ">=24"
|
|
165
|
+
},
|
|
163
166
|
"scripts": {
|
|
164
167
|
"build": "tsc -p tsconfig.json",
|
|
165
168
|
"dev": "tsc -p tsconfig.json --watch"
|