@dudousxd/nestjs-catalog-react 0.34.2 → 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.
Files changed (186) hide show
  1. package/dist/AccessConsole.d.ts +1 -1
  2. package/dist/AccessConsole.js +5 -5
  3. package/dist/CatalogManager.js +11 -11
  4. package/dist/ConnectionPanel.js +9 -9
  5. package/dist/CoverageLedger.js +1 -1
  6. package/dist/DashboardBoard.js +10 -10
  7. package/dist/EditableField.js +1 -1
  8. package/dist/FlowView.js +3 -3
  9. package/dist/GovernanceTimeline.d.ts +1 -1
  10. package/dist/GovernanceTimeline.js +5 -5
  11. package/dist/LoadExpectationSection.js +6 -6
  12. package/dist/LoadedBySection.d.ts +1 -1
  13. package/dist/LoadedBySection.js +4 -4
  14. package/dist/ObjectExplorer.js +5 -5
  15. package/dist/PipelineConsole.js +9 -9
  16. package/dist/QueryConsole.js +7 -7
  17. package/dist/SavedQueryPanel.js +7 -7
  18. package/dist/TraceExplorer.js +3 -3
  19. package/dist/TransformEditor.js +8 -8
  20. package/dist/WorkflowCanvas.js +30 -30
  21. package/dist/charts/bklit/area-chart-loading.d.ts +2 -2
  22. package/dist/charts/bklit/area-chart-loading.js +4 -4
  23. package/dist/charts/bklit/area-chart.d.ts +3 -3
  24. package/dist/charts/bklit/area-chart.js +7 -7
  25. package/dist/charts/bklit/area-gradient-defs.d.ts +1 -1
  26. package/dist/charts/bklit/area-gradient-defs.js +1 -1
  27. package/dist/charts/bklit/area.d.ts +4 -4
  28. package/dist/charts/bklit/area.js +11 -11
  29. package/dist/charts/bklit/bar-chart-loading.d.ts +1 -1
  30. package/dist/charts/bklit/bar-chart-loading.js +1 -1
  31. package/dist/charts/bklit/bar-chart.d.ts +2 -2
  32. package/dist/charts/bklit/bar-chart.js +12 -12
  33. package/dist/charts/bklit/bar-squares.d.ts +1 -1
  34. package/dist/charts/bklit/bar-squares.js +5 -5
  35. package/dist/charts/bklit/bar-x-axis.js +2 -2
  36. package/dist/charts/bklit/bar-y-axis.js +2 -2
  37. package/dist/charts/bklit/bar.js +4 -4
  38. package/dist/charts/bklit/chart-context.d.ts +4 -4
  39. package/dist/charts/bklit/chart-context.js +1 -1
  40. package/dist/charts/bklit/chart-loading-label.js +3 -3
  41. package/dist/charts/bklit/chart-reveal-clip.js +1 -1
  42. package/dist/charts/bklit/grid.js +3 -3
  43. package/dist/charts/bklit/highlight-segment-bounds.d.ts +2 -2
  44. package/dist/charts/bklit/line-chart-loading.d.ts +2 -2
  45. package/dist/charts/bklit/line-chart-loading.js +4 -4
  46. package/dist/charts/bklit/line-chart.d.ts +3 -3
  47. package/dist/charts/bklit/line-chart.js +6 -6
  48. package/dist/charts/bklit/line-loading-pulse.d.ts +1 -1
  49. package/dist/charts/bklit/line-loading-pulse.js +3 -3
  50. package/dist/charts/bklit/line-series-terminal-marker.js +2 -2
  51. package/dist/charts/bklit/line.d.ts +4 -4
  52. package/dist/charts/bklit/line.js +11 -11
  53. package/dist/charts/bklit/loading-sweep.js +2 -2
  54. package/dist/charts/bklit/motion-utils.js +1 -1
  55. package/dist/charts/bklit/pattern-area.js +1 -1
  56. package/dist/charts/bklit/pattern-preset.js +1 -1
  57. package/dist/charts/bklit/projection-config.d.ts +1 -1
  58. package/dist/charts/bklit/projection-config.js +3 -3
  59. package/dist/charts/bklit/projection-line-end-marker.d.ts +1 -1
  60. package/dist/charts/bklit/projection-line-end-marker.js +1 -1
  61. package/dist/charts/bklit/projection-line.d.ts +1 -1
  62. package/dist/charts/bklit/projection-line.js +2 -2
  63. package/dist/charts/bklit/reference-area-config.js +1 -1
  64. package/dist/charts/bklit/reference-area-registration-context.d.ts +1 -1
  65. package/dist/charts/bklit/series-dash-tail-overlay.js +2 -2
  66. package/dist/charts/bklit/series-highlight-layer.js +3 -3
  67. package/dist/charts/bklit/series-hover-dim.js +2 -2
  68. package/dist/charts/bklit/series-markers.d.ts +1 -1
  69. package/dist/charts/bklit/series-markers.js +4 -4
  70. package/dist/charts/bklit/series-point-marker.js +1 -1
  71. package/dist/charts/bklit/time-series-chart-shell.d.ts +2 -2
  72. package/dist/charts/bklit/time-series-chart-shell.js +20 -20
  73. package/dist/charts/bklit/tooltip/chart-tooltip.d.ts +4 -4
  74. package/dist/charts/bklit/tooltip/chart-tooltip.js +8 -8
  75. package/dist/charts/bklit/tooltip/index.d.ts +6 -6
  76. package/dist/charts/bklit/tooltip/index.js +6 -6
  77. package/dist/charts/bklit/tooltip/tooltip-box.d.ts +1 -1
  78. package/dist/charts/bklit/tooltip/tooltip-box.js +3 -3
  79. package/dist/charts/bklit/tooltip/tooltip-content.js +1 -1
  80. package/dist/charts/bklit/tooltip/tooltip-dot.d.ts +1 -1
  81. package/dist/charts/bklit/tooltip/tooltip-dot.js +2 -2
  82. package/dist/charts/bklit/tooltip/tooltip-indicator.d.ts +2 -2
  83. package/dist/charts/bklit/tooltip/tooltip-indicator.js +3 -3
  84. package/dist/charts/bklit/use-animated-series-path.js +2 -2
  85. package/dist/charts/bklit/use-animated-y-domains.d.ts +2 -2
  86. package/dist/charts/bklit/use-animated-y-domains.js +2 -2
  87. package/dist/charts/bklit/use-chart-interaction.d.ts +1 -1
  88. package/dist/charts/bklit/use-chart-interaction.js +2 -2
  89. package/dist/charts/bklit/use-chart-phase-orchestrator.d.ts +1 -1
  90. package/dist/charts/bklit/use-chart-phase-orchestrator.js +1 -1
  91. package/dist/charts/bklit/use-grid-shimmer.js +1 -1
  92. package/dist/charts/bklit/use-highlight-segment.js +3 -3
  93. package/dist/charts/bklit/use-mount-progress.js +1 -1
  94. package/dist/charts/bklit/x-axis.js +5 -5
  95. package/dist/charts/bklit/y-axis-scales.d.ts +1 -1
  96. package/dist/charts/bklit/y-domain-utils.d.ts +2 -2
  97. package/dist/charts/bklit/y-domain-utils.js +2 -2
  98. package/dist/charts/bklit.d.ts +1 -1
  99. package/dist/charts/bklit.js +11 -11
  100. package/dist/charts/body.js +4 -4
  101. package/dist/charts/components/shimmering-text.js +1 -1
  102. package/dist/charts/css.d.ts +2 -2
  103. package/dist/charts/css.js +1 -1
  104. package/dist/charts/recharts.d.ts +1 -1
  105. package/dist/charts/recharts.js +2 -2
  106. package/dist/charts/skeleton.js +1 -1
  107. package/dist/connection-form.js +3 -3
  108. package/dist/context.d.ts +3 -3
  109. package/dist/context.js +1 -1
  110. package/dist/diff/RevisionDiff.d.ts +1 -1
  111. package/dist/diff/RevisionDiff.js +7 -7
  112. package/dist/embed/EmbeddedChart.d.ts +2 -2
  113. package/dist/embed/EmbeddedChart.js +4 -4
  114. package/dist/embed/EmbeddedDashboard.d.ts +2 -2
  115. package/dist/embed/EmbeddedDashboard.js +6 -6
  116. package/dist/embed/actions.d.ts +1 -1
  117. package/dist/embed/actions.js +2 -2
  118. package/dist/embed/chart-card.d.ts +2 -2
  119. package/dist/embed/chart-card.js +7 -7
  120. package/dist/embed/index.d.ts +5 -5
  121. package/dist/embed/index.js +4 -4
  122. package/dist/embed/slots.js +1 -1
  123. package/dist/export/index.d.ts +6 -6
  124. package/dist/export/index.js +6 -6
  125. package/dist/export/pdf.d.ts +2 -2
  126. package/dist/export/pdf.js +2 -2
  127. package/dist/export/png.d.ts +1 -1
  128. package/dist/export/png.js +1 -1
  129. package/dist/export/serialize.js +1 -1
  130. package/dist/export/use-pdf-export.d.ts +2 -2
  131. package/dist/export/use-pdf-export.js +3 -3
  132. package/dist/export/use-png-export.d.ts +1 -1
  133. package/dist/export/use-png-export.js +1 -1
  134. package/dist/index.d.ts +46 -46
  135. package/dist/index.js +46 -46
  136. package/dist/schema-discovery.js +2 -2
  137. package/dist/search-console.js +3 -3
  138. package/dist/sharing.js +2 -2
  139. package/dist/source-connection.d.ts +1 -1
  140. package/dist/source-connection.js +6 -6
  141. package/dist/source-fields.d.ts +2 -2
  142. package/dist/source-fields.js +6 -6
  143. package/dist/ui/button.js +1 -1
  144. package/dist/ui/chart.js +1 -1
  145. package/dist/ui/code-editor.d.ts +2 -2
  146. package/dist/ui/code-editor.js +2 -2
  147. package/dist/ui/combobox.js +1 -1
  148. package/dist/ui/data-table.js +1 -1
  149. package/dist/ui/dialog.js +1 -1
  150. package/dist/ui/field.js +1 -1
  151. package/dist/ui/rich-text-field.js +2 -2
  152. package/dist/ui/select.js +1 -1
  153. package/dist/ui/sheet.js +2 -2
  154. package/dist/ui/switch.js +1 -1
  155. package/dist/ui/tabs.js +1 -1
  156. package/dist/ui/tooltip.js +1 -1
  157. package/dist/workflow/canvas-menu.d.ts +1 -1
  158. package/dist/workflow/canvas-menu.js +4 -4
  159. package/dist/workflow/create.d.ts +1 -1
  160. package/dist/workflow/create.js +4 -4
  161. package/dist/workflow/edges.d.ts +1 -1
  162. package/dist/workflow/edges.js +1 -1
  163. package/dist/workflow/graph.d.ts +2 -2
  164. package/dist/workflow/graph.js +2 -2
  165. package/dist/workflow/history.d.ts +1 -1
  166. package/dist/workflow/history.js +6 -6
  167. package/dist/workflow/index.d.ts +4 -4
  168. package/dist/workflow/index.js +4 -4
  169. package/dist/workflow/lifecycle.d.ts +2 -2
  170. package/dist/workflow/lifecycle.js +8 -8
  171. package/dist/workflow/menu.d.ts +2 -2
  172. package/dist/workflow/menu.js +3 -3
  173. package/dist/workflow/nodes.d.ts +2 -2
  174. package/dist/workflow/nodes.js +3 -3
  175. package/dist/workflow/place.d.ts +1 -1
  176. package/dist/workflow/place.js +1 -1
  177. package/dist/workflow/removal.d.ts +1 -1
  178. package/dist/workflow/removal.js +1 -1
  179. package/dist/workflow/runs.js +5 -5
  180. package/dist/workflow/shape.d.ts +1 -1
  181. package/dist/workflow/shape.js +1 -1
  182. package/dist/workflow/validate.d.ts +1 -1
  183. package/dist/workflow/validate.js +3 -3
  184. package/dist/workflow/wiring.d.ts +1 -1
  185. package/dist/workflow/wiring.js +4 -4
  186. package/package.json +6 -3
@@ -1,4 +1,4 @@
1
- import { type CatalogIdentity } from './context';
1
+ import { type CatalogIdentity } from './context.js';
2
2
  export interface AccessConsoleProps {
3
3
  /**
4
4
  * Who is looking, if the host knows.
@@ -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';
@@ -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
  *
@@ -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';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cn } from './cn';
2
+ import { cn } from './cn.js';
3
3
  /**
4
4
  * One tick per object type: filled when a human has named it, hollow when its
5
5
  * name is still a guess made by a regex.
@@ -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';
@@ -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';
@@ -1,4 +1,4 @@
1
- import { type CatalogTraceSource } from './TraceExplorer';
1
+ import { type CatalogTraceSource } from './TraceExplorer.js';
2
2
  /**
3
3
  * What happened, to what, by whom.
4
4
  *
@@ -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
  *
@@ -1,4 +1,4 @@
1
- import { type CatalogWorkflow } from './workflow/model';
1
+ import { type CatalogWorkflow } from './workflow/model.js';
2
2
  export interface LoadedBySectionProps {
3
3
  typeName: string;
4
4
  /** What a person calls the type. The sentences here are about the type. */
@@ -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
  *
@@ -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
  *
@@ -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';
@@ -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';
@@ -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 = {
@@ -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';
@@ -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';
@@ -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 { Area } from './area';
15
- import { AreaChart } from './area-chart';
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));
@@ -1,4 +1,4 @@
1
- import type { Margin } from './chart-context';
1
+ import type { Margin } from './chart-context.js';
2
2
  export interface BarChartLoadingProps {
3
3
  /** Chart margins. */
4
4
  margin?: Partial<Margin>;
@@ -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 */