@dudousxd/nestjs-catalog-react 0.34.1 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AccessConsole.d.ts +1 -1
- package/dist/AccessConsole.js +5 -5
- 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 +3 -3
- package/dist/GovernanceTimeline.d.ts +1 -1
- package/dist/GovernanceTimeline.js +5 -5
- package/dist/LoadExpectationSection.js +6 -6
- package/dist/LoadedBySection.d.ts +1 -1
- package/dist/LoadedBySection.js +4 -4
- package/dist/ObjectExplorer.js +5 -5
- package/dist/PipelineConsole.js +9 -9
- package/dist/QueryConsole.js +7 -7
- package/dist/SavedQueryPanel.js +7 -7
- package/dist/TraceExplorer.js +3 -3
- 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 +3 -3
- package/dist/context.js +1 -1
- 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/schema-discovery.js +2 -2
- package/dist/search-console.js +3 -3
- 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 +5 -5
- 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/AccessConsole.d.ts
CHANGED
package/dist/AccessConsole.js
CHANGED
|
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
3
3
|
import { KeyRound, LogOut, ShieldCheck, ShieldHalf, UserRound } from 'lucide-react';
|
|
4
4
|
import { useState } from 'react';
|
|
5
|
-
import { cn } from './cn';
|
|
6
|
-
import { catalogQueryKeys, useCatalogClient, } from './context';
|
|
7
|
-
import { TextField } from './ui/field';
|
|
8
|
-
import { SelectField } from './ui/select';
|
|
9
|
-
import { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
5
|
+
import { cn } from './cn.js';
|
|
6
|
+
import { catalogQueryKeys, useCatalogClient, } from './context.js';
|
|
7
|
+
import { TextField } from './ui/field.js';
|
|
8
|
+
import { SelectField } from './ui/select.js';
|
|
9
|
+
import { Tooltip, TooltipProvider } from './ui/tooltip.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';
|
package/dist/CatalogManager.js
CHANGED
|
@@ -2,17 +2,17 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
3
3
|
import { ArrowLeft, ArrowRight, ArrowUpRight, Eye, EyeOff, RotateCcw, Search, Unlink, } from 'lucide-react';
|
|
4
4
|
import { useEffect, useMemo, useState } from 'react';
|
|
5
|
-
import { CoverageLedger } from './CoverageLedger';
|
|
6
|
-
import { EditableField } from './EditableField';
|
|
7
|
-
import { LoadExpectationSection } from './LoadExpectationSection';
|
|
8
|
-
import { LoadedBySection } from './LoadedBySection';
|
|
9
|
-
import { paramFromLocation } from './ObjectExplorer';
|
|
10
|
-
import { cn } from './cn';
|
|
11
|
-
import { catalogQueryKeys, useCatalogClient } from './context';
|
|
12
|
-
import { freshnessOf, isWorthFlagging } from './freshness';
|
|
13
|
-
import { DataTable } from './ui/data-table';
|
|
14
|
-
import { RichTextField } from './ui/rich-text-field';
|
|
15
|
-
import { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
5
|
+
import { CoverageLedger } from './CoverageLedger.js';
|
|
6
|
+
import { EditableField } from './EditableField.js';
|
|
7
|
+
import { LoadExpectationSection } from './LoadExpectationSection.js';
|
|
8
|
+
import { LoadedBySection } from './LoadedBySection.js';
|
|
9
|
+
import { paramFromLocation } from './ObjectExplorer.js';
|
|
10
|
+
import { cn } from './cn.js';
|
|
11
|
+
import { catalogQueryKeys, useCatalogClient } from './context.js';
|
|
12
|
+
import { freshnessOf, isWorthFlagging } from './freshness.js';
|
|
13
|
+
import { DataTable } from './ui/data-table.js';
|
|
14
|
+
import { RichTextField } from './ui/rich-text-field.js';
|
|
15
|
+
import { Tooltip, TooltipProvider } from './ui/tooltip.js';
|
|
16
16
|
/**
|
|
17
17
|
* Browse and label the model.
|
|
18
18
|
*
|
package/dist/ConnectionPanel.js
CHANGED
|
@@ -2,15 +2,15 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
3
3
|
import { CircleCheck, CircleX, KeyRound, Loader2, Pencil, Plug, Plus, Trash2, Waypoints, } from 'lucide-react';
|
|
4
4
|
import { useState } from 'react';
|
|
5
|
-
import { cn } from './cn';
|
|
6
|
-
import { CONNECTION_KIND_OPTIONS, ConnectionCheckResult, ConnectionKindFields, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, configString as text, toConnectableKind, } from './connection-form';
|
|
7
|
-
import { catalogQueryKeys, useCatalogClient, } from './context';
|
|
8
|
-
import { ConfirmDialog } from './ui/dialog';
|
|
9
|
-
import { TextField } from './ui/field';
|
|
10
|
-
import { SelectField } from './ui/select';
|
|
11
|
-
import { Tooltip } from './ui/tooltip';
|
|
12
|
-
import { nodeName } from './workflow/model';
|
|
13
|
-
import { WORKFLOW_NAME } from './workflow/name';
|
|
5
|
+
import { cn } from './cn.js';
|
|
6
|
+
import { CONNECTION_KIND_OPTIONS, ConnectionCheckResult, ConnectionKindFields, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, configString as text, toConnectableKind, } from './connection-form.js';
|
|
7
|
+
import { catalogQueryKeys, useCatalogClient, } from './context.js';
|
|
8
|
+
import { ConfirmDialog } from './ui/dialog.js';
|
|
9
|
+
import { TextField } from './ui/field.js';
|
|
10
|
+
import { SelectField } from './ui/select.js';
|
|
11
|
+
import { Tooltip } from './ui/tooltip.js';
|
|
12
|
+
import { nodeName } from './workflow/model.js';
|
|
13
|
+
import { WORKFLOW_NAME } from './workflow/name.js';
|
|
14
14
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
15
15
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
16
16
|
const PANEL = 'bg-white dark:bg-zinc-900';
|
package/dist/CoverageLedger.js
CHANGED
package/dist/DashboardBoard.js
CHANGED
|
@@ -5,16 +5,16 @@ import { CSS } from '@dnd-kit/utilities';
|
|
|
5
5
|
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
6
6
|
import { Download, GripVertical, LayoutGrid, Link2Off, Plus, RefreshCw, Trash2, } from 'lucide-react';
|
|
7
7
|
import { useEffect, useState } from 'react';
|
|
8
|
-
import { paramFromLocation } from './ObjectExplorer';
|
|
9
|
-
import { ChartBody } from './charts/body';
|
|
10
|
-
import { CHART_GRID, chartSpan } from './charts/grid';
|
|
11
|
-
import { registeredChartLibraries, visualizationFor } from './charts/registry';
|
|
12
|
-
import { ChartFailed, ChartSkeleton } from './charts/skeleton';
|
|
13
|
-
import { cn } from './cn';
|
|
14
|
-
import { useCatalogClient } from './context';
|
|
15
|
-
import { ShareControl } from './sharing';
|
|
16
|
-
import { Select } from './ui/select';
|
|
17
|
-
import { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
8
|
+
import { paramFromLocation } from './ObjectExplorer.js';
|
|
9
|
+
import { ChartBody } from './charts/body.js';
|
|
10
|
+
import { CHART_GRID, chartSpan } from './charts/grid.js';
|
|
11
|
+
import { registeredChartLibraries, visualizationFor } from './charts/registry.js';
|
|
12
|
+
import { ChartFailed, ChartSkeleton } from './charts/skeleton.js';
|
|
13
|
+
import { cn } from './cn.js';
|
|
14
|
+
import { useCatalogClient } from './context.js';
|
|
15
|
+
import { ShareControl } from './sharing.js';
|
|
16
|
+
import { Select } from './ui/select.js';
|
|
17
|
+
import { Tooltip, TooltipProvider } from './ui/tooltip.js';
|
|
18
18
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
19
19
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
20
20
|
const PANEL = 'bg-white dark:bg-zinc-900';
|
package/dist/EditableField.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Check, Pencil, X } from 'lucide-react';
|
|
3
3
|
import { useEffect, useRef, useState } from 'react';
|
|
4
|
-
import { cn } from './cn';
|
|
4
|
+
import { cn } from './cn.js';
|
|
5
5
|
/**
|
|
6
6
|
* Click to edit, Enter to save, Escape to cancel.
|
|
7
7
|
*
|
package/dist/FlowView.js
CHANGED
|
@@ -2,9 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useQuery } from '@tanstack/react-query';
|
|
3
3
|
import { ArrowRight, CircleAlert, CircleCheck, CircleDot, Link2 } from 'lucide-react';
|
|
4
4
|
import { useMemo } from 'react';
|
|
5
|
-
import { cn } from './cn';
|
|
6
|
-
import { catalogQueryKeys, useCatalogClient } from './context';
|
|
7
|
-
import { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
5
|
+
import { cn } from './cn.js';
|
|
6
|
+
import { catalogQueryKeys, useCatalogClient } from './context.js';
|
|
7
|
+
import { Tooltip, TooltipProvider } from './ui/tooltip.js';
|
|
8
8
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
9
9
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
10
10
|
const PANEL = 'bg-white dark:bg-zinc-900';
|
|
@@ -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 { List, Waypoints } from 'lucide-react';
|
|
4
4
|
import { useMemo, useState } from 'react';
|
|
5
|
-
import { CATALOG_EVENT_META, TraceExplorer, eventMeta, } from './TraceExplorer';
|
|
6
|
-
import { cn } from './cn';
|
|
7
|
-
import { useCatalogClient } from './context';
|
|
8
|
-
import { Select } from './ui/select';
|
|
9
|
-
import { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
5
|
+
import { CATALOG_EVENT_META, TraceExplorer, eventMeta, } from './TraceExplorer.js';
|
|
6
|
+
import { cn } from './cn.js';
|
|
7
|
+
import { useCatalogClient } from './context.js';
|
|
8
|
+
import { Select } from './ui/select.js';
|
|
9
|
+
import { Tooltip, TooltipProvider } from './ui/tooltip.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';
|
|
@@ -3,12 +3,12 @@ import { DELETE_RECONCILIATION_STRATEGIES, isDeleteReconciliationStrategy, } fro
|
|
|
3
3
|
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
4
4
|
import { Lock } from 'lucide-react';
|
|
5
5
|
import { useMemo, useState } from 'react';
|
|
6
|
-
import { cn } from './cn';
|
|
7
|
-
import { catalogQueryKeys, useCatalogClient, } from './context';
|
|
8
|
-
import { Button } from './ui/button';
|
|
9
|
-
import { DataTable } from './ui/data-table';
|
|
10
|
-
import { TextAreaField, TextField } from './ui/field';
|
|
11
|
-
import { SelectField } from './ui/select';
|
|
6
|
+
import { cn } from './cn.js';
|
|
7
|
+
import { catalogQueryKeys, useCatalogClient, } from './context.js';
|
|
8
|
+
import { Button } from './ui/button.js';
|
|
9
|
+
import { DataTable } from './ui/data-table.js';
|
|
10
|
+
import { TextAreaField, TextField } from './ui/field.js';
|
|
11
|
+
import { SelectField } from './ui/select.js';
|
|
12
12
|
/**
|
|
13
13
|
* What a type promises about deletes and row counts, and the form that sets it.
|
|
14
14
|
*
|
package/dist/LoadedBySection.js
CHANGED
|
@@ -2,10 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useQuery } from '@tanstack/react-query';
|
|
3
3
|
import { ArrowUpRight, CalendarClock, PauseCircle } from 'lucide-react';
|
|
4
4
|
import { useMemo } from 'react';
|
|
5
|
-
import { cn } from './cn';
|
|
6
|
-
import { catalogQueryKeys, useCatalogClient } from './context';
|
|
7
|
-
import { producedTypes } from './workflow/model';
|
|
8
|
-
import { WORKFLOW_NAME } from './workflow/name';
|
|
5
|
+
import { cn } from './cn.js';
|
|
6
|
+
import { catalogQueryKeys, useCatalogClient } from './context.js';
|
|
7
|
+
import { producedTypes } from './workflow/model.js';
|
|
8
|
+
import { WORKFLOW_NAME } from './workflow/name.js';
|
|
9
9
|
/**
|
|
10
10
|
* What loads this type — the answer the model screen could not give.
|
|
11
11
|
*
|
package/dist/ObjectExplorer.js
CHANGED
|
@@ -3,11 +3,11 @@ import { coerceFilterValue, encodeObjectFilter, filterOperatorTakesValue, } from
|
|
|
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';
|
|
6
|
-
import { cn } from './cn';
|
|
7
|
-
import { catalogQueryKeys, useCatalogClient } from './context';
|
|
8
|
-
import { Button } from './ui/button';
|
|
9
|
-
import { DataTable } from './ui/data-table';
|
|
10
|
-
import { Select } from './ui/select';
|
|
6
|
+
import { cn } from './cn.js';
|
|
7
|
+
import { catalogQueryKeys, useCatalogClient } from './context.js';
|
|
8
|
+
import { Button } from './ui/button.js';
|
|
9
|
+
import { DataTable } from './ui/data-table.js';
|
|
10
|
+
import { Select } from './ui/select.js';
|
|
11
11
|
/**
|
|
12
12
|
* One table for every object type in the catalog.
|
|
13
13
|
*
|
package/dist/PipelineConsole.js
CHANGED
|
@@ -2,15 +2,15 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
3
3
|
import { Code2, Plug, Plus, Trash2 } from 'lucide-react';
|
|
4
4
|
import { useState } from 'react';
|
|
5
|
-
import { ConnectionPanel } from './ConnectionPanel';
|
|
6
|
-
import { TransformEditor } from './TransformEditor';
|
|
7
|
-
import { cn } from './cn';
|
|
8
|
-
import { catalogQueryKeys, useCatalogClient } from './context';
|
|
9
|
-
import { Button } from './ui/button';
|
|
10
|
-
import { ConfirmDialog } from './ui/dialog';
|
|
11
|
-
import { Tabs, TabsList, TabsPanel, TabsTab } from './ui/tabs';
|
|
12
|
-
import { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
13
|
-
import { WORKFLOW_NAME } from './workflow/name';
|
|
5
|
+
import { ConnectionPanel } from './ConnectionPanel.js';
|
|
6
|
+
import { TransformEditor } from './TransformEditor.js';
|
|
7
|
+
import { cn } from './cn.js';
|
|
8
|
+
import { catalogQueryKeys, useCatalogClient } from './context.js';
|
|
9
|
+
import { Button } from './ui/button.js';
|
|
10
|
+
import { ConfirmDialog } from './ui/dialog.js';
|
|
11
|
+
import { Tabs, TabsList, TabsPanel, TabsTab } from './ui/tabs.js';
|
|
12
|
+
import { Tooltip, TooltipProvider } from './ui/tooltip.js';
|
|
13
|
+
import { WORKFLOW_NAME } from './workflow/name.js';
|
|
14
14
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
15
15
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
16
16
|
const PANEL = 'bg-white dark:bg-zinc-900';
|
package/dist/QueryConsole.js
CHANGED
|
@@ -2,13 +2,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMutation, useQuery } from '@tanstack/react-query';
|
|
3
3
|
import { AlertTriangle, History, Layers, Link2Off, Play, Sparkles, TableIcon } from 'lucide-react';
|
|
4
4
|
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
5
|
-
import { paramFromLocation } from './ObjectExplorer';
|
|
6
|
-
import { SavedQueryPanel, savedQueryKeys } from './SavedQueryPanel';
|
|
7
|
-
import { cn } from './cn';
|
|
8
|
-
import { useCatalogClient } from './context';
|
|
9
|
-
import { CodeEditor } from './ui/code-editor';
|
|
10
|
-
import { DataTable, renderUnknown } from './ui/data-table';
|
|
11
|
-
import { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
5
|
+
import { paramFromLocation } from './ObjectExplorer.js';
|
|
6
|
+
import { SavedQueryPanel, savedQueryKeys } from './SavedQueryPanel.js';
|
|
7
|
+
import { cn } from './cn.js';
|
|
8
|
+
import { useCatalogClient } from './context.js';
|
|
9
|
+
import { CodeEditor } from './ui/code-editor.js';
|
|
10
|
+
import { DataTable, renderUnknown } from './ui/data-table.js';
|
|
11
|
+
import { Tooltip, TooltipProvider } from './ui/tooltip.js';
|
|
12
12
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
13
13
|
const PANEL = 'bg-white dark:bg-zinc-900';
|
|
14
14
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
package/dist/SavedQueryPanel.js
CHANGED
|
@@ -2,13 +2,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
3
3
|
import { Bookmark, Download, History, Timer, Trash2 } from 'lucide-react';
|
|
4
4
|
import { useMemo, useState } from 'react';
|
|
5
|
-
import { registeredChartLibraries } from './charts/registry';
|
|
6
|
-
import { cn } from './cn';
|
|
7
|
-
import { useCatalogClient } from './context';
|
|
8
|
-
import { RevisionHistorySheet } from './diff/RevisionDiff';
|
|
9
|
-
import { ShareBadge, ShareControl } from './sharing';
|
|
10
|
-
import { Select } from './ui/select';
|
|
11
|
-
import { Tooltip } from './ui/tooltip';
|
|
5
|
+
import { registeredChartLibraries } from './charts/registry.js';
|
|
6
|
+
import { cn } from './cn.js';
|
|
7
|
+
import { useCatalogClient } from './context.js';
|
|
8
|
+
import { RevisionHistorySheet } from './diff/RevisionDiff.js';
|
|
9
|
+
import { ShareBadge, ShareControl } from './sharing.js';
|
|
10
|
+
import { Select } from './ui/select.js';
|
|
11
|
+
import { Tooltip } from './ui/tooltip.js';
|
|
12
12
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
13
13
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
14
14
|
export const savedQueryKeys = {
|
package/dist/TraceExplorer.js
CHANGED
|
@@ -2,9 +2,9 @@ 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 { ChevronDown, ChevronRight, CircleCheck, CircleDot, Columns3, Flag, GitCommitVertical, LoaderCircle, OctagonX, Pencil, Play, RefreshCw, ScrollText, Trash2, TriangleAlert, Upload, } from 'lucide-react';
|
|
4
4
|
import { useMemo, useState } from 'react';
|
|
5
|
-
import { cn } from './cn';
|
|
6
|
-
import { useCatalogClient } from './context';
|
|
7
|
-
import { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
5
|
+
import { cn } from './cn.js';
|
|
6
|
+
import { useCatalogClient } from './context.js';
|
|
7
|
+
import { Tooltip, TooltipProvider } from './ui/tooltip.js';
|
|
8
8
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
9
9
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
10
10
|
const PANEL = 'bg-white dark:bg-zinc-900';
|
package/dist/TransformEditor.js
CHANGED
|
@@ -3,14 +3,14 @@ import { isTransformLanguage, isTransformMode, recordModeRefusal, transformMode,
|
|
|
3
3
|
import { useMutation } from '@tanstack/react-query';
|
|
4
4
|
import { ArrowLeft, Play } from 'lucide-react';
|
|
5
5
|
import { useState } from 'react';
|
|
6
|
-
import { cn } from './cn';
|
|
7
|
-
import { useCatalogClient } from './context';
|
|
8
|
-
import { RevisionHistoryButton, RevisionHistorySheet } from './diff/RevisionDiff';
|
|
9
|
-
import { CodeEditor } from './ui/code-editor';
|
|
10
|
-
import { TRANSFORM_HIGHLIGHTED_AS } from './ui/code-languages';
|
|
11
|
-
import { TextField } from './ui/field';
|
|
12
|
-
import { SelectField } from './ui/select';
|
|
13
|
-
import { Tooltip } from './ui/tooltip';
|
|
6
|
+
import { cn } from './cn.js';
|
|
7
|
+
import { useCatalogClient } from './context.js';
|
|
8
|
+
import { RevisionHistoryButton, RevisionHistorySheet } from './diff/RevisionDiff.js';
|
|
9
|
+
import { CodeEditor } from './ui/code-editor.js';
|
|
10
|
+
import { TRANSFORM_HIGHLIGHTED_AS } from './ui/code-languages.js';
|
|
11
|
+
import { TextField } from './ui/field.js';
|
|
12
|
+
import { SelectField } from './ui/select.js';
|
|
13
|
+
import { Tooltip } from './ui/tooltip.js';
|
|
14
14
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
15
15
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
16
16
|
const PANEL = 'bg-white dark:bg-zinc-900';
|
package/dist/WorkflowCanvas.js
CHANGED
|
@@ -10,36 +10,36 @@ import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
|
10
10
|
import { ArrowRight, ChevronDown, CircleAlert, CircleDashed, Code2, Combine, Database, ExternalLink, Filter, GitBranch, Info, LayoutGrid, Loader2, Maximize2, Minimize2, PanelRight, Plug, Plus, Repeat, Save, Sigma, TextCursorInput, Trash2, TriangleAlert, Unplug, X, } from 'lucide-react';
|
|
11
11
|
import { AnimatePresence, motion, useReducedMotion } from 'motion/react';
|
|
12
12
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
13
|
-
import { connectionOptionsFor } from './ConnectionPanel';
|
|
14
|
-
import { TransformEditor } from './TransformEditor';
|
|
15
|
-
import { cn } from './cn';
|
|
16
|
-
import { catalogQueryKeys, useCatalogClient } from './context';
|
|
17
|
-
import { SchemaDiscoveryPanel, narrowDiscovery, } from './schema-discovery';
|
|
18
|
-
import { SourceConnectionCreator } from './source-connection';
|
|
19
|
-
import { INLINE_CONNECTION, KIND_OPTIONS, ReadModeFields, SourceFields, readsIncrementally, sourceConfigFrom, sourceDraftFrom, toConnectorKind, usesConnection, } from './source-fields';
|
|
20
|
-
import { Button } from './ui/button';
|
|
21
|
-
import { ComboboxField } from './ui/combobox';
|
|
22
|
-
import { ConfirmDialog } from './ui/dialog';
|
|
23
|
-
import { FieldGroup, TextAreaField, TextField } from './ui/field';
|
|
24
|
-
import { Select, SelectField } from './ui/select';
|
|
25
|
-
import { Sheet } from './ui/sheet';
|
|
26
|
-
import { Switch } from './ui/switch';
|
|
27
|
-
import { Tooltip, TooltipProvider } from './ui/tooltip';
|
|
28
|
-
import { buildCanvasMenu, deleteCost, } from './workflow/canvas-menu';
|
|
29
|
-
import { graphWithNodeBetween, newEdge, newKindsFrom, newNodeOfKind, nodeBetween, uniqueName, } from './workflow/create';
|
|
30
|
-
import { WorkflowEdgeProvider, workflowEdgeTypes } from './workflow/edges';
|
|
31
|
-
import { defaultLabel, describeFilterPredicate, flowingEdgeIds, layout, layoutIfUnarranged, nextPosition, toFlowEdges, toFlowNodes, } from './workflow/graph';
|
|
32
|
-
import { HistoryControls, keepKnown, namesOf, nodeEditAction, reverted, snapshotOf, undone, useUndoShortcut, useUnsavedGuard, withEdit, } from './workflow/history';
|
|
33
|
-
import { PublishControls, RunControls, SchedulePanel, ShrinkRefusalNote, WorkflowStatusBadge, } from './workflow/lifecycle';
|
|
34
|
-
import { CanvasContextMenu, NodeActionsToolbar } from './workflow/menu';
|
|
35
|
-
import { WORKFLOW_AGGREGATE_FUNCTIONS, WORKFLOW_AGGREGATE_MAX_AGGREGATES, WORKFLOW_AGGREGATE_MAX_GROUP_BY, WORKFLOW_BRANCH_LABELS, WORKFLOW_CALL_MODES, WORKFLOW_FILTER_MAX_DEPTH, WORKFLOW_FILTER_MAX_VALUES, WORKFLOW_FILTER_OPERATORS, WORKFLOW_LOOKUP_MAX_FIELDS, WORKFLOW_LOOKUP_MAX_REFERENCE_ROWS, WORKFLOW_NODE_KINDS, WORKFLOW_RENAME_MAX_COLUMNS, aggregateRefusals, callableWorkflowBlock, describeDurability, isWorkflowAggregateFunction, isWorkflowBranchLabel, isWorkflowFilterOperator, isWorkflowFilterPredicateKind, isWorkflowLookupUnmatched, isWorkflowNodeKind, isWorkflowPredicateKind, isWorkflowRenameUnnamed, lookupConfigRefusals, newLocalId, nodeName, producedTypes, renameColumnRefusals, unreachableFilterPredicateKind, unreachableNodeKind, unreachablePredicateKind, workflowAggregateMaxGroups, workflowAggregateNeedsColumn, workflowAggregateOutputColumns, workflowCallMode, workflowKnownColumns, workflowLookupColumns, workflowLookupUnmatched, workflowNarrowedTypes, workflowRenameUnnamed, } from './workflow/model';
|
|
36
|
-
import { WORKFLOW_NAME } from './workflow/name';
|
|
37
|
-
import { WorkflowNodeProvider, workflowNodeTypes } from './workflow/nodes';
|
|
38
|
-
import { freeSpot, placeNextTo } from './workflow/place';
|
|
39
|
-
import { removeNodes, wiresOn } from './workflow/removal';
|
|
40
|
-
import { RunsAsPanel } from './workflow/runs';
|
|
41
|
-
import { canConnect, edgeId, hasBlockingProblem, problemsByNode, validateWorkflow, } from './workflow/validate';
|
|
42
|
-
import { PendingWireLine, WiringHint, useClickWiring, } from './workflow/wiring';
|
|
13
|
+
import { connectionOptionsFor } from './ConnectionPanel.js';
|
|
14
|
+
import { TransformEditor } from './TransformEditor.js';
|
|
15
|
+
import { cn } from './cn.js';
|
|
16
|
+
import { catalogQueryKeys, useCatalogClient } from './context.js';
|
|
17
|
+
import { SchemaDiscoveryPanel, narrowDiscovery, } from './schema-discovery.js';
|
|
18
|
+
import { SourceConnectionCreator } from './source-connection.js';
|
|
19
|
+
import { INLINE_CONNECTION, KIND_OPTIONS, ReadModeFields, SourceFields, readsIncrementally, sourceConfigFrom, sourceDraftFrom, toConnectorKind, usesConnection, } from './source-fields.js';
|
|
20
|
+
import { Button } from './ui/button.js';
|
|
21
|
+
import { ComboboxField } from './ui/combobox.js';
|
|
22
|
+
import { ConfirmDialog } from './ui/dialog.js';
|
|
23
|
+
import { FieldGroup, TextAreaField, TextField } from './ui/field.js';
|
|
24
|
+
import { Select, SelectField } from './ui/select.js';
|
|
25
|
+
import { Sheet } from './ui/sheet.js';
|
|
26
|
+
import { Switch } from './ui/switch.js';
|
|
27
|
+
import { Tooltip, TooltipProvider } from './ui/tooltip.js';
|
|
28
|
+
import { buildCanvasMenu, deleteCost, } from './workflow/canvas-menu.js';
|
|
29
|
+
import { graphWithNodeBetween, newEdge, newKindsFrom, newNodeOfKind, nodeBetween, uniqueName, } from './workflow/create.js';
|
|
30
|
+
import { WorkflowEdgeProvider, workflowEdgeTypes } from './workflow/edges.js';
|
|
31
|
+
import { defaultLabel, describeFilterPredicate, flowingEdgeIds, layout, layoutIfUnarranged, nextPosition, toFlowEdges, toFlowNodes, } from './workflow/graph.js';
|
|
32
|
+
import { HistoryControls, keepKnown, namesOf, nodeEditAction, reverted, snapshotOf, undone, useUndoShortcut, useUnsavedGuard, withEdit, } from './workflow/history.js';
|
|
33
|
+
import { PublishControls, RunControls, SchedulePanel, ShrinkRefusalNote, WorkflowStatusBadge, } from './workflow/lifecycle.js';
|
|
34
|
+
import { CanvasContextMenu, NodeActionsToolbar } from './workflow/menu.js';
|
|
35
|
+
import { WORKFLOW_AGGREGATE_FUNCTIONS, WORKFLOW_AGGREGATE_MAX_AGGREGATES, WORKFLOW_AGGREGATE_MAX_GROUP_BY, WORKFLOW_BRANCH_LABELS, WORKFLOW_CALL_MODES, WORKFLOW_FILTER_MAX_DEPTH, WORKFLOW_FILTER_MAX_VALUES, WORKFLOW_FILTER_OPERATORS, WORKFLOW_LOOKUP_MAX_FIELDS, WORKFLOW_LOOKUP_MAX_REFERENCE_ROWS, WORKFLOW_NODE_KINDS, WORKFLOW_RENAME_MAX_COLUMNS, aggregateRefusals, callableWorkflowBlock, describeDurability, isWorkflowAggregateFunction, isWorkflowBranchLabel, isWorkflowFilterOperator, isWorkflowFilterPredicateKind, isWorkflowLookupUnmatched, isWorkflowNodeKind, isWorkflowPredicateKind, isWorkflowRenameUnnamed, lookupConfigRefusals, newLocalId, nodeName, producedTypes, renameColumnRefusals, unreachableFilterPredicateKind, unreachableNodeKind, unreachablePredicateKind, workflowAggregateMaxGroups, workflowAggregateNeedsColumn, workflowAggregateOutputColumns, workflowCallMode, workflowKnownColumns, workflowLookupColumns, workflowLookupUnmatched, workflowNarrowedTypes, workflowRenameUnnamed, } from './workflow/model.js';
|
|
36
|
+
import { WORKFLOW_NAME } from './workflow/name.js';
|
|
37
|
+
import { WorkflowNodeProvider, workflowNodeTypes } from './workflow/nodes.js';
|
|
38
|
+
import { freeSpot, placeNextTo } from './workflow/place.js';
|
|
39
|
+
import { removeNodes, wiresOn } from './workflow/removal.js';
|
|
40
|
+
import { RunsAsPanel } from './workflow/runs.js';
|
|
41
|
+
import { canConnect, edgeId, hasBlockingProblem, problemsByNode, validateWorkflow, } from './workflow/validate.js';
|
|
42
|
+
import { PendingWireLine, WiringHint, useClickWiring, } from './workflow/wiring.js';
|
|
43
43
|
const MUTED = 'text-zinc-400 dark:text-zinc-500';
|
|
44
44
|
const RULE = 'border-zinc-200 dark:border-zinc-800';
|
|
45
45
|
const PANEL = 'bg-white dark:bg-zinc-900';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Margin } from './chart-context';
|
|
2
|
-
import type { LoadingStyle } from './chart-phase';
|
|
1
|
+
import type { Margin } from './chart-context.js';
|
|
2
|
+
import type { LoadingStyle } from './chart-phase.js';
|
|
3
3
|
export interface AreaChartLoadingProps {
|
|
4
4
|
/** Chart margins */
|
|
5
5
|
margin?: Partial<Margin>;
|
|
@@ -11,10 +11,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
11
11
|
*/
|
|
12
12
|
import { curveNatural } from '@visx/curve';
|
|
13
13
|
import { useMemo } from 'react';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { DEFAULT_SKELETON_DATA_KEY, DEFAULT_SKELETON_POINT_COUNT, generateChartSkeletonData, } from './generate-chart-skeleton-data';
|
|
17
|
-
import { Grid } from './grid';
|
|
14
|
+
import { AreaChart } from './area-chart.js';
|
|
15
|
+
import { Area } from './area.js';
|
|
16
|
+
import { DEFAULT_SKELETON_DATA_KEY, DEFAULT_SKELETON_POINT_COUNT, generateChartSkeletonData, } from './generate-chart-skeleton-data.js';
|
|
17
|
+
import { Grid } from './grid.js';
|
|
18
18
|
const LOADING_DATA_KEY = DEFAULT_SKELETON_DATA_KEY;
|
|
19
19
|
const DEFAULT_LOADING_STROKE = 'var(--foreground)';
|
|
20
20
|
const DEFAULT_LOADING_GRID_STROKE = 'color-mix(in oklch, var(--chart-grid) 50%, transparent)';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Transition } from 'motion/react';
|
|
2
2
|
import { type CSSProperties, type ReactNode } from 'react';
|
|
3
|
-
import type { Margin } from './chart-context';
|
|
4
|
-
import { type ChartPhase, type ChartStatus } from './chart-phase';
|
|
3
|
+
import type { Margin } from './chart-context.js';
|
|
4
|
+
import { type ChartPhase, type ChartStatus } from './chart-phase.js';
|
|
5
5
|
export interface AreaChartProps {
|
|
6
6
|
/** Data array - each item should have a date field and numeric values */
|
|
7
7
|
data: Record<string, unknown>[];
|
|
@@ -43,5 +43,5 @@ export interface AreaChartProps {
|
|
|
43
43
|
children: ReactNode;
|
|
44
44
|
}
|
|
45
45
|
export declare function AreaChart({ data, xDataKey, margin: marginProp, animationDuration, animationEasing, enterTransition, revealSignature, aspectRatio, className, status, loadingLabel, yDomainTweenDuration, yDomainTween, xDomain, xDomainSlotCount, tweenYDomainOnXDomainChange, style, onPhaseChange, children, }: AreaChartProps): import("react").JSX.Element;
|
|
46
|
-
export { Area, type AreaProps } from './area';
|
|
46
|
+
export { Area, type AreaProps } from './area.js';
|
|
47
47
|
export default AreaChart;
|
|
@@ -11,12 +11,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
11
11
|
*/
|
|
12
12
|
import { ParentSize } from '@visx/responsive';
|
|
13
13
|
import { Children, isValidElement, useCallback, useMemo, useRef, useState, } from 'react';
|
|
14
|
-
import { cn } from '../../cn';
|
|
15
|
-
import { Area } from './area';
|
|
16
|
-
import { ChartLoadingLabel } from './chart-loading-label';
|
|
17
|
-
import { DEFAULT_CHART_STATUS, DEFAULT_Y_DOMAIN_TWEEN_MS, resolveRestingChartPhase, } from './chart-phase';
|
|
18
|
-
import { PatternArea } from './pattern-area';
|
|
19
|
-
import { TimeSeriesChartInner } from './time-series-chart-shell';
|
|
14
|
+
import { cn } from '../../cn.js';
|
|
15
|
+
import { Area } from './area.js';
|
|
16
|
+
import { ChartLoadingLabel } from './chart-loading-label.js';
|
|
17
|
+
import { DEFAULT_CHART_STATUS, DEFAULT_Y_DOMAIN_TWEEN_MS, resolveRestingChartPhase, } from './chart-phase.js';
|
|
18
|
+
import { PatternArea } from './pattern-area.js';
|
|
19
|
+
import { TimeSeriesChartInner } from './time-series-chart-shell.js';
|
|
20
20
|
const DEFAULT_MARGIN = { top: 40, right: 40, bottom: 40, left: 40 };
|
|
21
21
|
function extractAreaConfigs(children) {
|
|
22
22
|
const configs = [];
|
|
@@ -61,5 +61,5 @@ export function AreaChart({ data, xDataKey = 'date', margin: marginProp, animati
|
|
|
61
61
|
chartPhase === 'revealingLoading'));
|
|
62
62
|
return (_jsxs("div", { className: cn('relative w-full', className), ref: containerRef, style: { aspectRatio, touchAction: 'none', ...style }, children: [_jsx(ParentSize, { debounceTime: 10, children: ({ width, height }) => (_jsx(ChartInner, { animationDuration: animationDuration, animationEasing: animationEasing, chartStatus: status, containerRef: containerRef, data: data, enterTransition: enterTransition, height: height, loadingLabel: loadingLabel, margin: margin, onPhaseChange: handlePhaseChange, revealSignature: revealSignature, tweenYDomainOnXDomainChange: tweenYDomainOnXDomainChange, width: width, xDataKey: xDataKey, xDomain: xDomain, xDomainSlotCount: xDomainSlotCount, yDomainTween: yDomainTween, yDomainTweenDuration: yDomainTweenDuration, children: children })) }), showLoadingLabel ? (_jsx(ChartLoadingLabel, { exiting: chartPhase !== 'loading', text: loadingLabel })) : null] }));
|
|
63
63
|
}
|
|
64
|
-
export { Area } from './area';
|
|
64
|
+
export { Area } from './area.js';
|
|
65
65
|
export default AreaChart;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
8
8
|
* with upstream stays a diff rather than a merge.
|
|
9
9
|
*/
|
|
10
|
-
import { type FadeEdges } from './fade-edges';
|
|
10
|
+
import { type FadeEdges } from './fade-edges.js';
|
|
11
11
|
interface AreaGradientDefsProps {
|
|
12
12
|
gradientId: string;
|
|
13
13
|
strokeGradientId: string;
|
|
@@ -8,7 +8,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
8
8
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
9
9
|
* with upstream stays a diff rather than a merge.
|
|
10
10
|
*/
|
|
11
|
-
import { fadeGradientStops, resolveFadeSides, viewportFadeGradientAttrs, } from './fade-edges';
|
|
11
|
+
import { fadeGradientStops, resolveFadeSides, viewportFadeGradientAttrs, } from './fade-edges.js';
|
|
12
12
|
export function AreaGradientDefs({ gradientId, strokeGradientId, edgeMaskId, edgeGradientId, fill, fillOpacity, gradientToOpacity, gradientSpan = 1, resolvedStroke, isPatternFill, fadeEdges, innerWidth, innerHeight, }) {
|
|
13
13
|
const sides = resolveFadeSides(fadeEdges);
|
|
14
14
|
// Stroke gradient mirrors the area's edge fade so the line doesn't pop in
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
type CurveFactory = any;
|
|
2
|
-
import type { LoadingStyle } from './chart-phase';
|
|
3
|
-
import { type FadeEdges } from './fade-edges';
|
|
4
|
-
import { type LineLoadingPulseMode } from './line-loading-pulse';
|
|
5
|
-
import type { SeriesPointMarkerStyle } from './series-point-marker';
|
|
2
|
+
import type { LoadingStyle } from './chart-phase.js';
|
|
3
|
+
import { type FadeEdges } from './fade-edges.js';
|
|
4
|
+
import { type LineLoadingPulseMode } from './line-loading-pulse.js';
|
|
5
|
+
import type { SeriesPointMarkerStyle } from './series-point-marker.js';
|
|
6
6
|
export interface AreaProps {
|
|
7
7
|
/** Key in data to use for y values */
|
|
8
8
|
dataKey: string;
|
|
@@ -12,17 +12,17 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
12
12
|
import { curveMonotoneX } from '@visx/curve';
|
|
13
13
|
import { AreaClosed, LinePath } from '@visx/shape';
|
|
14
14
|
import { useCallback, useId, useMemo, useRef, useState } from 'react';
|
|
15
|
-
import { AreaGradientDefs } from './area-gradient-defs';
|
|
16
|
-
import { chartCssVars, useChartStable, useYScale } from './chart-context';
|
|
17
|
-
import { resolveFadeSides } from './fade-edges';
|
|
18
|
-
import { LineLoadingPulseStroke, resolveLineLoadingPulseMode, } from './line-loading-pulse';
|
|
19
|
-
import { LINE_LOADING_LOOP_PAUSE_MS } from './line-loading-timing';
|
|
20
|
-
import { LineLoadingSweep } from './loading-sweep';
|
|
21
|
-
import { resolveDashTailBounds, usePathStrokeMetrics } from './path-stroke-utils';
|
|
22
|
-
import { SeriesDashTailOverlay } from './series-dash-tail-overlay';
|
|
23
|
-
import { SeriesHighlightLayer } from './series-highlight-layer';
|
|
24
|
-
import { SeriesHoverDim } from './series-hover-dim';
|
|
25
|
-
import { SeriesMarkers } from './series-markers';
|
|
15
|
+
import { AreaGradientDefs } from './area-gradient-defs.js';
|
|
16
|
+
import { chartCssVars, useChartStable, useYScale } from './chart-context.js';
|
|
17
|
+
import { resolveFadeSides } from './fade-edges.js';
|
|
18
|
+
import { LineLoadingPulseStroke, resolveLineLoadingPulseMode, } from './line-loading-pulse.js';
|
|
19
|
+
import { LINE_LOADING_LOOP_PAUSE_MS } from './line-loading-timing.js';
|
|
20
|
+
import { LineLoadingSweep } from './loading-sweep.js';
|
|
21
|
+
import { resolveDashTailBounds, usePathStrokeMetrics } from './path-stroke-utils.js';
|
|
22
|
+
import { SeriesDashTailOverlay } from './series-dash-tail-overlay.js';
|
|
23
|
+
import { SeriesHighlightLayer } from './series-highlight-layer.js';
|
|
24
|
+
import { SeriesHoverDim } from './series-hover-dim.js';
|
|
25
|
+
import { SeriesMarkers } from './series-markers.js';
|
|
26
26
|
function useAreaLoadingPulseState(chartPhase, loading, loadingPulseMode, notifyLoadingPulseComplete) {
|
|
27
27
|
const phasePulseMode = resolveLineLoadingPulseMode(chartPhase);
|
|
28
28
|
const pulseMode = loading === false ? null : (loadingPulseMode ?? (loading === true ? 'loop' : phasePulseMode));
|
|
@@ -9,7 +9,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
9
9
|
* `cn`, which is the same function. Nothing else is modified, so re-syncing
|
|
10
10
|
* with upstream stays a diff rather than a merge.
|
|
11
11
|
*/
|
|
12
|
-
import { BarChart } from './bar-chart';
|
|
12
|
+
import { BarChart } from './bar-chart.js';
|
|
13
13
|
const EMPTY_DATA = [];
|
|
14
14
|
/**
|
|
15
15
|
* Turnkey loading skeleton for bar charts, a thin shortcut for
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Transition } from 'motion/react';
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
|
-
import { type Margin } from './chart-context';
|
|
4
|
-
import { type ChartPhase, type ChartStatus } from './chart-phase';
|
|
3
|
+
import { type Margin } from './chart-context.js';
|
|
4
|
+
import { type ChartPhase, type ChartStatus } from './chart-phase.js';
|
|
5
5
|
export type BarOrientation = 'vertical' | 'horizontal';
|
|
6
6
|
export interface BarChartProps {
|
|
7
7
|
/** Data array - each item should have an x-axis key and numeric values */
|