@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
@@ -13,9 +13,9 @@
13
13
  * real dimensions, and where nobody registered one there is no PDF action at
14
14
  * all — the rule `registeredChartLibraries()` already follows.
15
15
  */
16
- export { collectCustomProperties, resolveCssVariables, THEME_CUSTOM_PROPERTIES, } from './css-variables';
17
- export { type ExportBackground, resolveAncestorBackground, resolveSvgSize, type SerializedSvg, type SerializeSvgOptions, serializeSvg, svgToDataUri, } from './serialize';
18
- export { defaultPngFilename, downloadSvgAsPng, findExportableSvg, type PngExportOptions, rasteriseSerializedSvg, resolveScale, svgToPngBlob, triggerDownload, } from './png';
19
- export { canRasterise, type PngExport, type PngExportTarget, useHasExportableSvg, usePngExport, type UsePngExportOptions, } from './use-png-export';
20
- export { buildChartPdfSource, type ChartPdfExporter, type ChartPdfSource, exportSvgAsPdf, getPdfExporter, type PdfSourceOptions, registerPdfExporter, subscribeToPdfExporter, type SvgRasteriser, } from './pdf';
21
- export { type PdfExport, usePdfExport, type UsePdfExportOptions, } from './use-pdf-export';
16
+ export { collectCustomProperties, resolveCssVariables, THEME_CUSTOM_PROPERTIES, } from './css-variables.js';
17
+ export { type ExportBackground, resolveAncestorBackground, resolveSvgSize, type SerializedSvg, type SerializeSvgOptions, serializeSvg, svgToDataUri, } from './serialize.js';
18
+ export { defaultPngFilename, downloadSvgAsPng, findExportableSvg, type PngExportOptions, rasteriseSerializedSvg, resolveScale, svgToPngBlob, triggerDownload, } from './png.js';
19
+ export { canRasterise, type PngExport, type PngExportTarget, useHasExportableSvg, usePngExport, type UsePngExportOptions, } from './use-png-export.js';
20
+ export { buildChartPdfSource, type ChartPdfExporter, type ChartPdfSource, exportSvgAsPdf, getPdfExporter, type PdfSourceOptions, registerPdfExporter, subscribeToPdfExporter, type SvgRasteriser, } from './pdf.js';
21
+ export { type PdfExport, usePdfExport, type UsePdfExportOptions, } from './use-pdf-export.js';
@@ -13,9 +13,9 @@
13
13
  * real dimensions, and where nobody registered one there is no PDF action at
14
14
  * all — the rule `registeredChartLibraries()` already follows.
15
15
  */
16
- export { collectCustomProperties, resolveCssVariables, THEME_CUSTOM_PROPERTIES, } from './css-variables';
17
- export { resolveAncestorBackground, resolveSvgSize, serializeSvg, svgToDataUri, } from './serialize';
18
- export { defaultPngFilename, downloadSvgAsPng, findExportableSvg, rasteriseSerializedSvg, resolveScale, svgToPngBlob, triggerDownload, } from './png';
19
- export { canRasterise, useHasExportableSvg, usePngExport, } from './use-png-export';
20
- export { buildChartPdfSource, exportSvgAsPdf, getPdfExporter, registerPdfExporter, subscribeToPdfExporter, } from './pdf';
21
- export { usePdfExport, } from './use-pdf-export';
16
+ export { collectCustomProperties, resolveCssVariables, THEME_CUSTOM_PROPERTIES, } from './css-variables.js';
17
+ export { resolveAncestorBackground, resolveSvgSize, serializeSvg, svgToDataUri, } from './serialize.js';
18
+ export { defaultPngFilename, downloadSvgAsPng, findExportableSvg, rasteriseSerializedSvg, resolveScale, svgToPngBlob, triggerDownload, } from './png.js';
19
+ export { canRasterise, useHasExportableSvg, usePngExport, } from './use-png-export.js';
20
+ export { buildChartPdfSource, exportSvgAsPdf, getPdfExporter, registerPdfExporter, subscribeToPdfExporter, } from './pdf.js';
21
+ export { usePdfExport, } from './use-pdf-export.js';
@@ -1,5 +1,5 @@
1
- import { type PngExportOptions } from './png';
2
- import { type SerializedSvg } from './serialize';
1
+ import { type PngExportOptions } from './png.js';
2
+ import { type SerializedSvg } from './serialize.js';
3
3
  /**
4
4
  * PDF export, as a seam the host fills rather than a dependency this package takes.
5
5
  *
@@ -1,5 +1,5 @@
1
- import { rasteriseSerializedSvg } from './png';
2
- import { serializeSvg } from './serialize';
1
+ import { rasteriseSerializedSvg } from './png.js';
2
+ import { serializeSvg } from './serialize.js';
3
3
  /**
4
4
  * One slot, not a map by name.
5
5
  *
@@ -1,4 +1,4 @@
1
- import { type SerializeSvgOptions, type SerializedSvg } from './serialize';
1
+ import { type SerializeSvgOptions, type SerializedSvg } from './serialize.js';
2
2
  /**
3
3
  * SVG chart → PNG, in the browser, with no dependency.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { serializeSvg, svgToDataUri, } from './serialize';
1
+ import { serializeSvg, svgToDataUri, } from './serialize.js';
2
2
  /**
3
3
  * The per-side limit every current browser enforces on a canvas.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { THEME_CUSTOM_PROPERTIES, collectCustomProperties, resolveCssVariables, } from './css-variables';
1
+ import { THEME_CUSTOM_PROPERTIES, collectCustomProperties, resolveCssVariables, } from './css-variables.js';
2
2
  /**
3
3
  * Turning a live chart `<svg>` into standalone markup that renders the same.
4
4
  *
@@ -1,5 +1,5 @@
1
- import { type ChartPdfSource, type PdfSourceOptions } from './pdf';
2
- import { type PngExportTarget } from './use-png-export';
1
+ import { type ChartPdfSource, type PdfSourceOptions } from './pdf.js';
2
+ import { type PngExportTarget } from './use-png-export.js';
3
3
  /**
4
4
  * The PDF action, as a toolbar actually needs it.
5
5
  *
@@ -1,7 +1,7 @@
1
1
  import { useCallback, useEffect, useRef, useState, useSyncExternalStore } from 'react';
2
- import { exportSvgAsPdf, getPdfExporter, subscribeToPdfExporter, } from './pdf';
3
- import { findExportableSvg } from './png';
4
- import { canRasterise, toExportError, unwrapExportTarget, useHasExportableSvg, } from './use-png-export';
2
+ import { exportSvgAsPdf, getPdfExporter, subscribeToPdfExporter, } from './pdf.js';
3
+ import { findExportableSvg } from './png.js';
4
+ import { canRasterise, toExportError, unwrapExportTarget, useHasExportableSvg, } from './use-png-export.js';
5
5
  export function usePdfExport(target, options = {}) {
6
6
  const [exporting, setExporting] = useState(false);
7
7
  const [error, setError] = useState(null);
@@ -1,4 +1,4 @@
1
- import { type PngExportOptions } from './png';
1
+ import { type PngExportOptions } from './png.js';
2
2
  /**
3
3
  * The export action, as a component actually needs it.
4
4
  *
@@ -1,5 +1,5 @@
1
1
  import { useCallback, useEffect, useRef, useState } from 'react';
2
- import { defaultPngFilename, downloadSvgAsPng, findExportableSvg, svgToPngBlob, } from './png';
2
+ import { defaultPngFilename, downloadSvgAsPng, findExportableSvg, svgToPngBlob, } from './png.js';
3
3
  /**
4
4
  * The element behind a target, whichever of the two forms it came in.
5
5
  *
package/dist/index.d.ts CHANGED
@@ -1,46 +1,46 @@
1
- export { CatalogManager, type CatalogManagerProps } from './CatalogManager';
2
- export { CoverageLedger } from './CoverageLedger';
3
- export { EditableField } from './EditableField';
4
- export { DELETE_STRATEGIES, LoadExpectationSection, type LoadExpectationSectionProps, } from './LoadExpectationSection';
5
- export { LoadedBySection, type LoadedBySectionProps, loadersOf, } from './LoadedBySection';
6
- export { cn } from './cn';
7
- export { ObjectExplorer, type ObjectExplorerProps } from './ObjectExplorer';
8
- export { DashboardBoard } from './DashboardBoard';
9
- export { CHART_COLORS, type ChartRenderer, type ChartRendererProps, getChartRenderer, registerChartRenderer, registeredChartLibraries, seriesFrom, } from './charts/registry';
10
- export { ChartEmpty, ChartFailed, ChartSkeleton, type ChartSkeletonProps, } from './charts/skeleton';
11
- export { CssBarChart, looksLikeTimeSeries } from './charts/css';
12
- export { EMBED_ACTIONS, type EmbedAction, type EmbedActions, EmbeddedChart, type EmbeddedChartPayload, type EmbeddedChartProps, EmbeddedDashboard, type EmbeddedDashboardPayload, type EmbeddedDashboardProps, type EmbedFailureSlot, type EmbedLoadingSlot, chartsInLayoutOrder, resolveEmbedActions, } from './embed';
13
- export { FlowView } from './FlowView';
14
- export { GovernanceTimeline } from './GovernanceTimeline';
15
- export { QueryConsole, type QueryConsoleProps } from './QueryConsole';
16
- export { CatalogSearch, type CatalogSearchProps } from './search-console';
17
- export { SavedQueryPanel } from './SavedQueryPanel';
18
- export { CATALOG_EVENT_META, type CatalogTraceSource, eventMeta, TraceExplorer, useTraceSource, } from './TraceExplorer';
19
- export { ConnectionPanel, type ConnectionPanelProps, connectionOptionsFor, describeConnection, } from './ConnectionPanel';
20
- export { CONNECTABLE_KINDS, CONNECTION_KIND_OPTIONS, CONNECTION_KINDS, type ConnectableKind, type ConnectableKindSpec, ConnectionCheckResult, type ConnectionDraft, ConnectionKindFields, type ConnectionKindSpec, type UnconnectableKindSpec, type UpdateDraft, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, toConnectableKind, } from './connection-form';
21
- export { SourceConnectionCreator } from './source-connection';
22
- export { PipelineConsole, type PipelineConsoleProps, } from './PipelineConsole';
23
- export { type ColumnChoice, type ConnectorSchemaDiscovery, type DiscoveredColumn, type DiscoveredTypeDraft, initialChoices, narrowDiscovery, proposalFrom, type SchemaDiscoveryBridge, SchemaDiscoveryPanel, type SchemaDrift, } from './schema-discovery';
24
- export { TransformEditor, type TransformEditorProps } from './TransformEditor';
25
- export { DiffBody, RevisionHistory, type RevisionHistoryProps, RevisionHistoryButton, RevisionHistorySheet, type RevisionHistorySheetProps, type RevisionSubject, type RevisionSubjectKind, } from './diff/RevisionDiff';
26
- export { AccessConsole, type AccessConsoleProps } from './AccessConsole';
27
- export { type CallableWorkflowRef, type CatalogWorkflow, describeDurability, describeStorage, type DurabilityCopy, isWorkflowNodeKind, newLocalId, nodeName, producedTypes, type StorageAvailability, type StorageCopy, WORKFLOW_NODE_ID_PATTERN, WORKFLOW_NODE_KINDS, type WorkflowCallNode, type WorkflowDurability, type WorkflowEdge, type WorkflowGraph, type WorkflowInput, type WorkflowNode, type WorkflowNodeKind, type WorkflowRun, type WorkflowRunNode, type WorkflowSinkNode, type WorkflowSourceNode, type WorkflowTransformNode, } from './workflow/model';
28
- export { WORKFLOW_NAME } from './workflow/name';
29
- export { checkShapes, type ShapeKnowledge, type SourceColumn, type SourceShape, type TargetProperty, type TargetShape, } from './workflow/shape';
30
- export { canConnect, type ConnectionVerdict, edgeId, hasBlockingProblem, problemsByNode, type ValidateOptions, validateWorkflow, type WorkflowDraft, type WorkflowProblem, type WorkflowProblemCode, type WorkflowProblemLevel, wouldCycle, } from './workflow/validate';
31
- export { attachTransformIds, buildWorkflowTemplate, type EnrichOptions, enrichWithLookup, fanOutTypes, type FanOutOptions, type FanOutTarget, FILE_DROP_KINDS, type FileDropOptions, joinSources, type JoinOptions, loadFileDrop, type PeriodicFullReloadOptions, periodicFullReload, planIsRunnable, planToWorkflowInput, refuseUnusableColumnNames, RELOAD_CADENCE_IDS, RELOAD_CADENCES, type ReloadCadence, replicateTable, type ReplicateTableOptions, SOURCE_KINDS, type TemplateDeclaration, type TemplateExpectation, type TemplateOutcome, type TemplatePlan, type TemplateRefusal, type TemplateRefusalCode, type TemplateRequest, type TemplateSchedule, type TemplateTransformRequest, withinMsFor, WORKFLOW_TEMPLATE_IDS, WORKFLOW_TEMPLATES, type WorkflowTemplateId, type WorkflowTemplateMeta, } from './workflow/templates';
32
- export { type CatalogClient, type CatalogIdentity, type CatalogRevision, type CatalogPeoplePage, type CatalogPersonRole, type CatalogPersonSummary, type CatalogPrincipalSummary, CatalogProvider, type CatalogProviderProps, type CatalogTransport, type ConnectionInput, type ConnectionUse, catalogQueryKeys, type DeleteReconciliation, type LoadExpectation, type LoadExpectationInput, type ResolvedLoadExpectation, type RowCountBound, type StoredLoadExpectation, type PersonInput, type PersonUpsertResult, type PipelineCapabilities, type CallableWorkflowList, type ScheduledWorkflow, type TransformInput, type ListedReusableNode, type ReusableNodeInput, type ReusableNodeUsage, type SavedNodeAsReusable, type WorkflowReleaseInput, type WorkflowRunOptions, type WorkflowScheduleInput, useCatalogClient, } from './context';
33
- export { type AccessRoutes, accessRoutes, DEFAULT_ACCESS_BASE_PATH, DEFAULT_PIPELINE_BASE_PATH, DEFAULT_PUBLISH_BASE_PATH, embedRoutes, type PeopleQuery, type PipelineRoutes, pipelineRoutes, } from './routes';
34
- export { ConfirmDialog } from './ui/dialog';
35
- export { FieldGroup, TextAreaField, TextField } from './ui/field';
36
- export { Select, SelectField, type SelectOption } from './ui/select';
37
- export { Combobox, ComboboxField, type ComboOption, type ComboboxProps } from './ui/combobox';
38
- export { Switch } from './ui/switch';
39
- export { Sheet } from './ui/sheet';
40
- export { CodeEditor, type CodeEditorHandle, type CodeEditorProps, codeEditorRoot, codeEditorText, } from './ui/code-editor';
41
- export { CATALOG_CODE_LANGUAGES, CATALOG_CODE_THEMES, type CatalogCodeLanguage, type CatalogCodeTheme, TRANSFORM_HIGHLIGHTED_AS, } from './ui/code-languages';
42
- export { RichTextField, RichTextView, type RichTextFieldProps, } from './ui/rich-text-field';
43
- export { Button, type ButtonProps, type ButtonSize, type ButtonVariant } from './ui/button';
44
- export { Tabs, TabsList, TabsPanel, TabsTab } from './ui/tabs';
45
- export { Tooltip, TooltipProvider } from './ui/tooltip';
46
- export { buildChartPdfSource, canRasterise, type ChartPdfExporter, type ChartPdfSource, defaultPngFilename, downloadSvgAsPng, type ExportBackground, exportSvgAsPdf, findExportableSvg, getPdfExporter, type PdfExport, type PdfSourceOptions, type PngExport, type PngExportOptions, type PngExportTarget, rasteriseSerializedSvg, registerPdfExporter, serializeSvg, subscribeToPdfExporter, type SvgRasteriser, svgToPngBlob, useHasExportableSvg, usePdfExport, usePngExport, } from './export';
1
+ export { CatalogManager, type CatalogManagerProps } from './CatalogManager.js';
2
+ export { CoverageLedger } from './CoverageLedger.js';
3
+ export { EditableField } from './EditableField.js';
4
+ export { DELETE_STRATEGIES, LoadExpectationSection, type LoadExpectationSectionProps, } from './LoadExpectationSection.js';
5
+ export { LoadedBySection, type LoadedBySectionProps, loadersOf, } from './LoadedBySection.js';
6
+ export { cn } from './cn.js';
7
+ export { ObjectExplorer, type ObjectExplorerProps } from './ObjectExplorer.js';
8
+ export { DashboardBoard } from './DashboardBoard.js';
9
+ export { CHART_COLORS, type ChartRenderer, type ChartRendererProps, getChartRenderer, registerChartRenderer, registeredChartLibraries, seriesFrom, } from './charts/registry.js';
10
+ export { ChartEmpty, ChartFailed, ChartSkeleton, type ChartSkeletonProps, } from './charts/skeleton.js';
11
+ export { CssBarChart, looksLikeTimeSeries } from './charts/css.js';
12
+ export { EMBED_ACTIONS, type EmbedAction, type EmbedActions, EmbeddedChart, type EmbeddedChartPayload, type EmbeddedChartProps, EmbeddedDashboard, type EmbeddedDashboardPayload, type EmbeddedDashboardProps, type EmbedFailureSlot, type EmbedLoadingSlot, chartsInLayoutOrder, resolveEmbedActions, } from './embed/index.js';
13
+ export { FlowView } from './FlowView.js';
14
+ export { GovernanceTimeline } from './GovernanceTimeline.js';
15
+ export { QueryConsole, type QueryConsoleProps } from './QueryConsole.js';
16
+ export { CatalogSearch, type CatalogSearchProps } from './search-console.js';
17
+ export { SavedQueryPanel } from './SavedQueryPanel.js';
18
+ export { CATALOG_EVENT_META, type CatalogTraceSource, eventMeta, TraceExplorer, useTraceSource, } from './TraceExplorer.js';
19
+ export { ConnectionPanel, type ConnectionPanelProps, connectionOptionsFor, describeConnection, } from './ConnectionPanel.js';
20
+ export { CONNECTABLE_KINDS, CONNECTION_KIND_OPTIONS, CONNECTION_KINDS, type ConnectableKind, type ConnectableKindSpec, ConnectionCheckResult, type ConnectionDraft, ConnectionKindFields, type ConnectionKindSpec, type UnconnectableKindSpec, type UpdateDraft, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, toConnectableKind, } from './connection-form.js';
21
+ export { SourceConnectionCreator } from './source-connection.js';
22
+ export { PipelineConsole, type PipelineConsoleProps, } from './PipelineConsole.js';
23
+ export { type ColumnChoice, type ConnectorSchemaDiscovery, type DiscoveredColumn, type DiscoveredTypeDraft, initialChoices, narrowDiscovery, proposalFrom, type SchemaDiscoveryBridge, SchemaDiscoveryPanel, type SchemaDrift, } from './schema-discovery.js';
24
+ export { TransformEditor, type TransformEditorProps } from './TransformEditor.js';
25
+ export { DiffBody, RevisionHistory, type RevisionHistoryProps, RevisionHistoryButton, RevisionHistorySheet, type RevisionHistorySheetProps, type RevisionSubject, type RevisionSubjectKind, } from './diff/RevisionDiff.js';
26
+ export { AccessConsole, type AccessConsoleProps } from './AccessConsole.js';
27
+ export { type CallableWorkflowRef, type CatalogWorkflow, describeDurability, describeStorage, type DurabilityCopy, isWorkflowNodeKind, newLocalId, nodeName, producedTypes, type StorageAvailability, type StorageCopy, WORKFLOW_NODE_ID_PATTERN, WORKFLOW_NODE_KINDS, type WorkflowCallNode, type WorkflowDurability, type WorkflowEdge, type WorkflowGraph, type WorkflowInput, type WorkflowNode, type WorkflowNodeKind, type WorkflowRun, type WorkflowRunNode, type WorkflowSinkNode, type WorkflowSourceNode, type WorkflowTransformNode, } from './workflow/model.js';
28
+ export { WORKFLOW_NAME } from './workflow/name.js';
29
+ export { checkShapes, type ShapeKnowledge, type SourceColumn, type SourceShape, type TargetProperty, type TargetShape, } from './workflow/shape.js';
30
+ export { canConnect, type ConnectionVerdict, edgeId, hasBlockingProblem, problemsByNode, type ValidateOptions, validateWorkflow, type WorkflowDraft, type WorkflowProblem, type WorkflowProblemCode, type WorkflowProblemLevel, wouldCycle, } from './workflow/validate.js';
31
+ export { attachTransformIds, buildWorkflowTemplate, type EnrichOptions, enrichWithLookup, fanOutTypes, type FanOutOptions, type FanOutTarget, FILE_DROP_KINDS, type FileDropOptions, joinSources, type JoinOptions, loadFileDrop, type PeriodicFullReloadOptions, periodicFullReload, planIsRunnable, planToWorkflowInput, refuseUnusableColumnNames, RELOAD_CADENCE_IDS, RELOAD_CADENCES, type ReloadCadence, replicateTable, type ReplicateTableOptions, SOURCE_KINDS, type TemplateDeclaration, type TemplateExpectation, type TemplateOutcome, type TemplatePlan, type TemplateRefusal, type TemplateRefusalCode, type TemplateRequest, type TemplateSchedule, type TemplateTransformRequest, withinMsFor, WORKFLOW_TEMPLATE_IDS, WORKFLOW_TEMPLATES, type WorkflowTemplateId, type WorkflowTemplateMeta, } from './workflow/templates.js';
32
+ export { type CatalogClient, type CatalogIdentity, type CatalogRevision, type CatalogPeoplePage, type CatalogPersonRole, type CatalogPersonSummary, type CatalogPrincipalSummary, CatalogProvider, type CatalogProviderProps, type CatalogTransport, type ConnectionInput, type ConnectionUse, catalogQueryKeys, type DeleteReconciliation, type LoadExpectation, type LoadExpectationInput, type ResolvedLoadExpectation, type RowCountBound, type StoredLoadExpectation, type PersonInput, type PersonUpsertResult, type PipelineCapabilities, type CallableWorkflowList, type ScheduledWorkflow, type TransformInput, type ListedReusableNode, type ReusableNodeInput, type ReusableNodeUsage, type SavedNodeAsReusable, type WorkflowReleaseInput, type WorkflowRunOptions, type WorkflowScheduleInput, useCatalogClient, } from './context.js';
33
+ export { type AccessRoutes, accessRoutes, DEFAULT_ACCESS_BASE_PATH, DEFAULT_PIPELINE_BASE_PATH, DEFAULT_PUBLISH_BASE_PATH, embedRoutes, type PeopleQuery, type PipelineRoutes, pipelineRoutes, } from './routes.js';
34
+ export { ConfirmDialog } from './ui/dialog.js';
35
+ export { FieldGroup, TextAreaField, TextField } from './ui/field.js';
36
+ export { Select, SelectField, type SelectOption } from './ui/select.js';
37
+ export { Combobox, ComboboxField, type ComboOption, type ComboboxProps } from './ui/combobox.js';
38
+ export { Switch } from './ui/switch.js';
39
+ export { Sheet } from './ui/sheet.js';
40
+ export { CodeEditor, type CodeEditorHandle, type CodeEditorProps, codeEditorRoot, codeEditorText, } from './ui/code-editor.js';
41
+ export { CATALOG_CODE_LANGUAGES, CATALOG_CODE_THEMES, type CatalogCodeLanguage, type CatalogCodeTheme, TRANSFORM_HIGHLIGHTED_AS, } from './ui/code-languages.js';
42
+ export { RichTextField, RichTextView, type RichTextFieldProps, } from './ui/rich-text-field.js';
43
+ export { Button, type ButtonProps, type ButtonSize, type ButtonVariant } from './ui/button.js';
44
+ export { Tabs, TabsList, TabsPanel, TabsTab } from './ui/tabs.js';
45
+ export { Tooltip, TooltipProvider } from './ui/tooltip.js';
46
+ export { buildChartPdfSource, canRasterise, type ChartPdfExporter, type ChartPdfSource, defaultPngFilename, downloadSvgAsPng, type ExportBackground, exportSvgAsPdf, findExportableSvg, getPdfExporter, type PdfExport, type PdfSourceOptions, type PngExport, type PngExportOptions, type PngExportTarget, rasteriseSerializedSvg, registerPdfExporter, serializeSvg, subscribeToPdfExporter, type SvgRasteriser, svgToPngBlob, useHasExportableSvg, usePdfExport, usePngExport, } from './export/index.js';
package/dist/index.js CHANGED
@@ -1,37 +1,37 @@
1
- export { CatalogManager } from './CatalogManager';
2
- export { CoverageLedger } from './CoverageLedger';
3
- export { EditableField } from './EditableField';
1
+ export { CatalogManager } from './CatalogManager.js';
2
+ export { CoverageLedger } from './CoverageLedger.js';
3
+ export { EditableField } from './EditableField.js';
4
4
  // Mounted on the Model screen already. Exported because a host that builds its
5
5
  // own type panel out of this package's parts should not have to rebuild the one
6
6
  // section that can say an incremental load of a type is currently refused.
7
- export { DELETE_STRATEGIES, LoadExpectationSection, } from './LoadExpectationSection';
7
+ export { DELETE_STRATEGIES, LoadExpectationSection, } from './LoadExpectationSection.js';
8
8
  // Mounted on the Model screen too, directly above the expectation section — the
9
9
  // two are one question in two halves: who loads this type, and what is checked
10
10
  // when they do. `loadersOf` is exported beside the component because it is the
11
11
  // whole rule (a graph's SINKS decide, not its stored `targetType`), and a host
12
12
  // that renders its own row wants the rule rather than a second reading of it.
13
- export { LoadedBySection, loadersOf, } from './LoadedBySection';
14
- export { cn } from './cn';
15
- export { ObjectExplorer } from './ObjectExplorer';
16
- export { DashboardBoard } from './DashboardBoard';
17
- export { CHART_COLORS, getChartRenderer, registerChartRenderer, registeredChartLibraries, seriesFrom, } from './charts/registry';
18
- export { ChartEmpty, ChartFailed, ChartSkeleton, } from './charts/skeleton';
13
+ export { LoadedBySection, loadersOf, } from './LoadedBySection.js';
14
+ export { cn } from './cn.js';
15
+ export { ObjectExplorer } from './ObjectExplorer.js';
16
+ export { DashboardBoard } from './DashboardBoard.js';
17
+ export { CHART_COLORS, getChartRenderer, registerChartRenderer, registeredChartLibraries, seriesFrom, } from './charts/registry.js';
18
+ export { ChartEmpty, ChartFailed, ChartSkeleton, } from './charts/skeleton.js';
19
19
  // The fallback every other renderer degrades to, and the guard that decides
20
20
  // when a time-scale chart cannot draw what a saved query asked for.
21
- export { CssBarChart, looksLikeTimeSeries } from './charts/css';
21
+ export { CssBarChart, looksLikeTimeSeries } from './charts/css.js';
22
22
  // Embedding: the same charts, in an application that is not this one. Output
23
23
  // only — see src/embed/actions.ts for what an embed deliberately cannot do.
24
- export { EMBED_ACTIONS, EmbeddedChart, EmbeddedDashboard, chartsInLayoutOrder, resolveEmbedActions, } from './embed';
25
- export { FlowView } from './FlowView';
26
- export { GovernanceTimeline } from './GovernanceTimeline';
27
- export { QueryConsole } from './QueryConsole';
24
+ export { EMBED_ACTIONS, EmbeddedChart, EmbeddedDashboard, chartsInLayoutOrder, resolveEmbedActions, } from './embed/index.js';
25
+ export { FlowView } from './FlowView.js';
26
+ export { GovernanceTimeline } from './GovernanceTimeline.js';
27
+ export { QueryConsole } from './QueryConsole.js';
28
28
  // One box across the whole catalog: types, properties, saved queries, boards.
29
29
  // Not mounted anywhere by this package — a host places it wherever its shell
30
30
  // wants a search, and tells it where each kind of thing lives with the same
31
31
  // `explorerHref` shape `CatalogManager` takes.
32
- export { CatalogSearch } from './search-console';
33
- export { SavedQueryPanel } from './SavedQueryPanel';
34
- export { CATALOG_EVENT_META, eventMeta, TraceExplorer, useTraceSource, } from './TraceExplorer';
32
+ export { CatalogSearch } from './search-console.js';
33
+ export { SavedQueryPanel } from './SavedQueryPanel.js';
34
+ export { CATALOG_EVENT_META, eventMeta, TraceExplorer, useTraceSource, } from './TraceExplorer.js';
35
35
  // Getting data in: the addresses a pipeline reads through and the code that
36
36
  // reshapes what it fetches. These used to live in the consuming app, which meant
37
37
  // any other host installing this package got a console with no way to manage a
@@ -41,7 +41,7 @@ export { CATALOG_EVENT_META, eventMeta, TraceExplorer, useTraceSource, } from '.
41
41
  // published workflow runs as — nothing authors one — so authoring a pipeline is
42
42
  // `WorkflowCanvas`, on the `/workflow` subpath, and this is the two shared
43
43
  // objects it borrows.
44
- export { ConnectionPanel, connectionOptionsFor, describeConnection, } from './ConnectionPanel';
44
+ export { ConnectionPanel, connectionOptionsFor, describeConnection, } from './ConnectionPanel.js';
45
45
  // What a connection IS, as data: which kinds can be one, what each needs, and
46
46
  // the two rules — completeness, and the redaction placeholder — that decide
47
47
  // whether a form may send one.
@@ -50,15 +50,15 @@ export { ConnectionPanel, connectionOptionsFor, describeConnection, } from './Co
50
50
  // node's inspector on the canvas has its own, behind the `/workflow` subpath,
51
51
  // and a host assembling a third should be reading these rather than restating
52
52
  // what an S3 connection needs.
53
- export { CONNECTABLE_KINDS, CONNECTION_KIND_OPTIONS, CONNECTION_KINDS, ConnectionCheckResult, ConnectionKindFields, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, toConnectableKind, } from './connection-form';
53
+ export { CONNECTABLE_KINDS, CONNECTION_KIND_OPTIONS, CONNECTION_KINDS, ConnectionCheckResult, ConnectionKindFields, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, toConnectableKind, } from './connection-form.js';
54
54
  // Creating a connection from wherever a source is being configured.
55
55
  //
56
56
  // On the root entry and not behind `/workflow`, for the reason
57
57
  // `SchemaDiscoveryPanel` is: it imports no React Flow, and it is the other half
58
58
  // of the same offer — the sink's panel makes the type, this makes the address. A
59
59
  // host assembling its own source inspector should be able to mount either.
60
- export { SourceConnectionCreator } from './source-connection';
61
- export { PipelineConsole, } from './PipelineConsole';
60
+ export { SourceConnectionCreator } from './source-connection.js';
61
+ export { PipelineConsole, } from './PipelineConsole.js';
62
62
  // The schema-discovery seam, whole.
63
63
  //
64
64
  // `SchemaDiscoveryBridge` is a bridge a HOST may implement — this package cannot
@@ -75,8 +75,8 @@ export { PipelineConsole, } from './PipelineConsole';
75
75
  // `SchemaDiscoveryPanel` is exported for the same reason it stopped living
76
76
  // inside a screen: the canvas mounts it from behind the `/workflow` subpath, and
77
77
  // a host assembling its own source inspector should be able to do the same.
78
- export { initialChoices, narrowDiscovery, proposalFrom, SchemaDiscoveryPanel, } from './schema-discovery';
79
- export { TransformEditor } from './TransformEditor';
78
+ export { initialChoices, narrowDiscovery, proposalFrom, SchemaDiscoveryPanel, } from './schema-discovery.js';
79
+ export { TransformEditor } from './TransformEditor.js';
80
80
  // Why one load came out different from the last one.
81
81
  //
82
82
  // The screens above already carry their own way in — the transform editor, the
@@ -91,8 +91,8 @@ export { TransformEditor } from './TransformEditor';
91
91
  // diff is `@pierre/diffs` now, which is a peer dependency a host already has
92
92
  // installed, and re-exporting a weaker second differ from here would be handing
93
93
  // out an answer that can disagree with the one this screen shows.
94
- export { DiffBody, RevisionHistory, RevisionHistoryButton, RevisionHistorySheet, } from './diff/RevisionDiff';
95
- export { AccessConsole } from './AccessConsole';
94
+ export { DiffBody, RevisionHistory, RevisionHistoryButton, RevisionHistorySheet, } from './diff/RevisionDiff.js';
95
+ export { AccessConsole } from './AccessConsole.js';
96
96
  // The authored graph: sources wired through transforms into sinks.
97
97
  //
98
98
  // `<WorkflowCanvas />` itself is **not** exported here. It imports
@@ -114,8 +114,8 @@ export { AccessConsole } from './AccessConsole';
114
114
  // Most of what follows is re-exported from `@dudousxd/nestjs-catalog/client`
115
115
  // rather than declared here — a node, an edge and a graph have one definition,
116
116
  // and it belongs to the package that executes them. See `workflow/model.ts`.
117
- export { describeDurability, describeStorage, isWorkflowNodeKind, newLocalId, nodeName, producedTypes, WORKFLOW_NODE_ID_PATTERN, WORKFLOW_NODE_KINDS, } from './workflow/model';
118
- export { WORKFLOW_NAME } from './workflow/name';
117
+ export { describeDurability, describeStorage, isWorkflowNodeKind, newLocalId, nodeName, producedTypes, WORKFLOW_NODE_ID_PATTERN, WORKFLOW_NODE_KINDS, } from './workflow/model.js';
118
+ export { WORKFLOW_NAME } from './workflow/name.js';
119
119
  // Whether what a source reads fits the type its sink writes.
120
120
  //
121
121
  // The canvas answers this for itself now — it holds what `discoverSourceSchema`
@@ -124,20 +124,20 @@ export { WORKFLOW_NAME } from './workflow/name';
124
124
  // because the comparison is pure and a host may well want it somewhere else: a
125
125
  // pre-flight before a scheduled run, say. `ConnectorSchemaDiscovery` above is
126
126
  // already a `SourceShape`, so that caller has one for free.
127
- export { checkShapes, } from './workflow/shape';
127
+ export { checkShapes, } from './workflow/shape.js';
128
128
  // Core's rules, run in the browser, plus the questions core cannot answer:
129
129
  // whether a connection is legal mid-drag, whether a node names a transform that
130
130
  // still exists, and whether a source supplies the columns its sink writes.
131
131
  // Exported so a host can run the same checks before it offers a save — never so
132
132
  // it can skip the server's, which is the authority.
133
- export { canConnect, edgeId, hasBlockingProblem, problemsByNode, validateWorkflow, wouldCycle, } from './workflow/validate';
133
+ export { canConnect, edgeId, hasBlockingProblem, problemsByNode, validateWorkflow, wouldCycle, } from './workflow/validate.js';
134
134
  // The prefilled graphs, on this entry point rather than on `/workflow` because
135
135
  // they import no React Flow: a template produces nodes, edges, transform bodies
136
136
  // and expectation payloads, and a host should be able to build one — or check
137
137
  // what it would decide — without installing a canvas to do it. Whether a screen
138
138
  // then draws the result is the canvas's business, not the template's.
139
- export { attachTransformIds, buildWorkflowTemplate, enrichWithLookup, fanOutTypes, FILE_DROP_KINDS, joinSources, loadFileDrop, periodicFullReload, planIsRunnable, planToWorkflowInput, refuseUnusableColumnNames, RELOAD_CADENCE_IDS, RELOAD_CADENCES, replicateTable, SOURCE_KINDS, withinMsFor, WORKFLOW_TEMPLATE_IDS, WORKFLOW_TEMPLATES, } from './workflow/templates';
140
- export { CatalogProvider, catalogQueryKeys, useCatalogClient, } from './context';
139
+ export { attachTransformIds, buildWorkflowTemplate, enrichWithLookup, fanOutTypes, FILE_DROP_KINDS, joinSources, loadFileDrop, periodicFullReload, planIsRunnable, planToWorkflowInput, refuseUnusableColumnNames, RELOAD_CADENCE_IDS, RELOAD_CADENCES, replicateTable, SOURCE_KINDS, withinMsFor, WORKFLOW_TEMPLATE_IDS, WORKFLOW_TEMPLATES, } from './workflow/templates.js';
140
+ export { CatalogProvider, catalogQueryKeys, useCatalogClient, } from './context.js';
141
141
  // The paths behind the pipeline and access screens, exported so a host can
142
142
  // mount those endpoints wherever it likes and tell the provider where they are.
143
143
  // See routes.ts for why they are here rather than in the server package.
@@ -149,29 +149,29 @@ export { accessRoutes, DEFAULT_ACCESS_BASE_PATH, DEFAULT_PIPELINE_BASE_PATH,
149
149
  DEFAULT_PUBLISH_BASE_PATH,
150
150
  // The embed paths, which the catalog controller does serve — exported so a
151
151
  // host writing its own embed consumer need not restate them. See routes.ts.
152
- embedRoutes, pipelineRoutes, } from './routes';
152
+ embedRoutes, pipelineRoutes, } from './routes.js';
153
153
  // The vendored primitives. Exported because a host composing its own screen out
154
154
  // of this package's parts should not have to rebuild a tooltip to match.
155
- export { ConfirmDialog } from './ui/dialog';
156
- export { FieldGroup, TextAreaField, TextField } from './ui/field';
157
- export { Select, SelectField } from './ui/select';
158
- export { Combobox, ComboboxField } from './ui/combobox';
159
- export { Switch } from './ui/switch';
160
- export { Sheet } from './ui/sheet';
155
+ export { ConfirmDialog } from './ui/dialog.js';
156
+ export { FieldGroup, TextAreaField, TextField } from './ui/field.js';
157
+ export { Select, SelectField } from './ui/select.js';
158
+ export { Combobox, ComboboxField } from './ui/combobox.js';
159
+ export { Switch } from './ui/switch.js';
160
+ export { Sheet } from './ui/sheet.js';
161
161
  // `codeEditorRoot` and `codeEditorText` come with it because the editor renders
162
162
  // into a shadow root: without them a host cannot assert on its own screen, and
163
163
  // every consumer would rediscover the tag name by reading our source.
164
- export { CodeEditor, codeEditorRoot, codeEditorText, } from './ui/code-editor';
164
+ export { CodeEditor, codeEditorRoot, codeEditorText, } from './ui/code-editor.js';
165
165
  // The grammars and themes the editor above can be given, which is a shorter list
166
166
  // than Shiki's and is the reason `dist/spa` is not nine tenths grammar files. A
167
167
  // host reads `CatalogCodeLanguage` off `CodeEditorProps` anyway; it is named here
168
168
  // so the set can be asserted against, and so the build plugin that enforces it —
169
169
  // `@dudousxd/nestjs-catalog-react/bundler` — has something to point at.
170
- export { CATALOG_CODE_LANGUAGES, CATALOG_CODE_THEMES, TRANSFORM_HIGHLIGHTED_AS, } from './ui/code-languages';
171
- export { RichTextField, RichTextView, } from './ui/rich-text-field';
172
- export { Button } from './ui/button';
173
- export { Tabs, TabsList, TabsPanel, TabsTab } from './ui/tabs';
174
- export { Tooltip, TooltipProvider } from './ui/tooltip';
170
+ export { CATALOG_CODE_LANGUAGES, CATALOG_CODE_THEMES, TRANSFORM_HIGHLIGHTED_AS, } from './ui/code-languages.js';
171
+ export { RichTextField, RichTextView, } from './ui/rich-text-field.js';
172
+ export { Button } from './ui/button.js';
173
+ export { Tabs, TabsList, TabsPanel, TabsTab } from './ui/tabs.js';
174
+ export { Tooltip, TooltipProvider } from './ui/tooltip.js';
175
175
  // Getting a chart out of the console as a file.
176
176
  //
177
177
  // PNG needs no dependency at all — a serialised SVG, a canvas and `toBlob` are
@@ -185,4 +185,4 @@ export { Tooltip, TooltipProvider } from './ui/tooltip';
185
185
  // want, which is the same argument `charts/registry.tsx` makes about chart
186
186
  // libraries. The host registers something backed by its own document pipeline,
187
187
  // and where nobody did, no PDF action appears.
188
- export { buildChartPdfSource, canRasterise, defaultPngFilename, downloadSvgAsPng, exportSvgAsPdf, findExportableSvg, getPdfExporter, rasteriseSerializedSvg, registerPdfExporter, serializeSvg, subscribeToPdfExporter, svgToPngBlob, useHasExportableSvg, usePdfExport, usePngExport, } from './export';
188
+ export { buildChartPdfSource, canRasterise, defaultPngFilename, downloadSvgAsPng, exportSvgAsPdf, findExportableSvg, getPdfExporter, rasteriseSerializedSvg, registerPdfExporter, serializeSvg, subscribeToPdfExporter, svgToPngBlob, useHasExportableSvg, usePdfExport, usePngExport, } from './export/index.js';
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import { useMutation } from '@tanstack/react-query';
3
3
  import { CircleCheck, Loader2, Save, ScanSearch, TriangleAlert } from 'lucide-react';
4
4
  import { useState } from 'react';
5
- import { cn } from './cn';
6
- import { Button } from './ui/button';
5
+ import { cn } from './cn.js';
6
+ import { Button } from './ui/button.js';
7
7
  const MUTED = 'text-zinc-400 dark:text-zinc-500';
8
8
  const RULE = 'border-zinc-200 dark:border-zinc-800';
9
9
  /**
@@ -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 { ArrowUpRight, Search } from 'lucide-react';
4
4
  import { useEffect, useMemo, useState } from 'react';
5
- import { cn } from './cn';
6
- import { catalogQueryKeys, useCatalogClient } from './context';
7
- import { TextField } from './ui/field';
5
+ import { cn } from './cn.js';
6
+ import { catalogQueryKeys, useCatalogClient } from './context.js';
7
+ import { TextField } from './ui/field.js';
8
8
  /**
9
9
  * One box that crosses the catalog.
10
10
  *
package/dist/sharing.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Lock, Share2 } from 'lucide-react';
3
- import { cn } from './cn';
4
- import { Button } from './ui/button';
3
+ import { cn } from './cn.js';
4
+ import { Button } from './ui/button.js';
5
5
  const MUTED = 'text-zinc-400 dark:text-zinc-500';
6
6
  const RULE = 'border-zinc-200 dark:border-zinc-800';
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import type { CatalogConnection } from '@dudousxd/nestjs-catalog/client';
2
- import { type ConnectableKind } from './connection-form';
2
+ import { type ConnectableKind } from './connection-form.js';
3
3
  /**
4
4
  * Making the address a source reads through, without leaving the canvas.
5
5
  *
@@ -2,12 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useMutation, useQueryClient } from '@tanstack/react-query';
3
3
  import { Loader2, Plug, Plus } from 'lucide-react';
4
4
  import { useState } from 'react';
5
- import { cn } from './cn';
6
- import { ConnectionCheckResult, ConnectionKindFields, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, } from './connection-form';
7
- import { catalogQueryKeys, useCatalogClient } from './context';
8
- import { Button } from './ui/button';
9
- import { TextField } from './ui/field';
10
- import { WORKFLOW_NAME } from './workflow/name';
5
+ import { cn } from './cn.js';
6
+ import { ConnectionCheckResult, ConnectionKindFields, connectableSpec, connectionConfigFor, connectionDraftFrom, connectionIsIncomplete, redactedCredentialIn, } from './connection-form.js';
7
+ import { catalogQueryKeys, useCatalogClient } from './context.js';
8
+ import { Button } from './ui/button.js';
9
+ import { TextField } from './ui/field.js';
10
+ import { WORKFLOW_NAME } from './workflow/name.js';
11
11
  const MUTED = 'text-zinc-400 dark:text-zinc-500';
12
12
  const RULE = 'border-zinc-200 dark:border-zinc-800';
13
13
  const REFUSAL = 'text-[11px] leading-relaxed text-red-600 dark:text-red-400';
@@ -1,6 +1,6 @@
1
1
  import type { ConnectorKind, SnapshotRef } from '@dudousxd/nestjs-catalog/client';
2
- import { type ConnectableKind } from './connection-form';
3
- import { type StorageAvailability } from './workflow/model';
2
+ import { type ConnectableKind } from './connection-form.js';
3
+ import { type StorageAvailability } from './workflow/model.js';
4
4
  /** A select hands back a string. Narrow it rather than promise it is a kind. */
5
5
  export declare function toConnectorKind(value: string): ConnectorKind;
6
6
  /** The sources that can be asked what changed. The rest always read it all. */
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { CATALOG_SOURCE_SNAPSHOT_KEY, CATALOG_SOURCE_TYPE_KEY, CONNECTOR_KINDS, SOURCE_FORMATS, catalogSnapshotRefusal, } from '@dudousxd/nestjs-catalog/client';
3
- import { cn } from './cn';
4
- import { CONNECTION_KINDS } from './connection-form';
5
- import { FieldGroup, TextAreaField, TextField } from './ui/field';
6
- import { SelectField } from './ui/select';
7
- import { Switch } from './ui/switch';
8
- import { describeStorage } from './workflow/model';
3
+ import { cn } from './cn.js';
4
+ import { CONNECTION_KINDS } from './connection-form.js';
5
+ import { FieldGroup, TextAreaField, TextField } from './ui/field.js';
6
+ import { SelectField } from './ui/select.js';
7
+ import { Switch } from './ui/switch.js';
8
+ import { describeStorage } from './workflow/model.js';
9
9
  /**
10
10
  * Describing where records are read from, in one place.
11
11
  *
package/dist/ui/button.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { cn } from '../cn';
2
+ import { cn } from '../cn.js';
3
3
  const BASE = cn('inline-flex shrink-0 items-center justify-center gap-1.5 whitespace-nowrap rounded-md', 'font-medium transition-colors outline-none', 'focus-visible:ring-2 focus-visible:ring-sky-500/40',
4
4
  // Both, and deliberately: `disabled` alone still fires hover styles and still
5
5
  // shows a pointer, so a dead button looks alive right up until it is clicked.
package/dist/ui/chart.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import * as RechartsPrimitive from 'recharts';
4
- import { cn } from '../cn';
4
+ import { cn } from '../cn.js';
5
5
  /**
6
6
  * shadcn/ui's chart primitives, vendored.
7
7
  *
@@ -1,6 +1,6 @@
1
1
  import type { KeyboardEvent, Ref } from 'react';
2
- import type { CatalogCodeLanguage } from './code-languages';
3
- import { type CodeThemeType } from './code-theme';
2
+ import type { CatalogCodeLanguage } from './code-languages.js';
3
+ import { type CodeThemeType } from './code-theme.js';
4
4
  /**
5
5
  * A code editor: `@pierre/diffs` in edit mode, wrapped so the rest of this
6
6
  * package can hand it a string and get one back.
@@ -2,8 +2,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Editor } from '@pierre/diffs/edit';
3
3
  import { EditProvider, File } from '@pierre/diffs/react';
4
4
  import { useImperativeHandle, useRef } from 'react';
5
- import { cn } from '../cn';
6
- import { useCodeThemeType } from './code-theme';
5
+ import { cn } from '../cn.js';
6
+ import { useCodeThemeType } from './code-theme.js';
7
7
  /**
8
8
  * The options every code surface in this package shares.
9
9
  *
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Autocomplete } from '@base-ui/react/autocomplete';
3
3
  import { Check, ChevronsUpDown } from 'lucide-react';
4
4
  import { useState } from 'react';
5
- import { cn } from '../cn';
5
+ import { cn } from '../cn.js';
6
6
  const CONTROL = cn('w-full rounded-md border py-1.5 pl-2 pr-7 text-xs outline-none', 'border-zinc-200 bg-white text-zinc-900 placeholder:text-zinc-400', 'dark:border-zinc-800 dark:bg-zinc-900 dark:text-zinc-100 dark:placeholder:text-zinc-600', 'focus-visible:border-sky-500 focus-visible:ring-2 focus-visible:ring-sky-500/15', 'disabled:opacity-40');
7
7
  export function Combobox({ value, onValueChange, onSelect, options, emptyMessage = 'Nothing here matches that.', placeholder, disabled, ariaLabel, className, }) {
8
8
  /**
@@ -2,7 +2,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
2
2
  import { coreCellsFeature, coreColumnsFeature, coreHeadersFeature, coreRowModelsFeature, coreRowsFeature, coreTablesFeature, createCoreRowModel, flexRender, useTable, } from '@tanstack/react-table';
3
3
  import { ArrowDown, ArrowUp, ChevronsUpDown } from 'lucide-react';
4
4
  import { useMemo } from 'react';
5
- import { cn } from '../cn';
5
+ import { cn } from '../cn.js';
6
6
  /**
7
7
  * The v9 feature set, listed once.
8
8
  *
package/dist/ui/dialog.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Dialog as BaseDialog } from '@base-ui/react/dialog';
3
3
  import { Loader2 } from 'lucide-react';
4
- import { cn } from '../cn';
4
+ import { cn } from '../cn.js';
5
5
  /**
6
6
  * A confirmation dialog, vendored in the shadcn style on Base UI.
7
7
  *
package/dist/ui/field.js CHANGED
@@ -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
  * Labelled text inputs, in the shadcn style.
5
5
  *