@pixerate/editor-react 0.36.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _tiptap_core from '@tiptap/core';
2
2
  import { Editor } from '@tiptap/core';
3
- import { Template, ColorGradient, FileImportOptions, RichTextPresetOptions, RichClipboardOptions, HistoryState, HistoryManager, HistoryEntry, Command, MergedExecutionOptions, HistoryMark, HistoryManagerOptions, DirtyTrackerOptions, DirtyTracker, FileImportState, ImportStructureSummary, FileImportController, FileImportControllerOptions, PromptValues, ParseDataSourceOptions, MergeRecordsOptions, MergeRecordsResult, MergeDataSource, MergeRecord, OutlineSnapshot, OutlineHeading, ParagraphStylesSnapshot, StyleRegistry, StyleDefinition, CreateStyleFromSelectionOptions, EditorSlotsMap, CommentStoreSnapshot, CommentStore, TrackChangesSnapshot, TrackedChange, ReviewAuthor, CompareSummary, CompareSource, EditorCompareOptions, FindReplaceSnapshot, FindReplaceMode, FindOptions, TableState, TableAction, TableActionParams, TableToolbarItem } from '@pixerate/editor';
3
+ import { Template, ColorGradient, FileImportOptions, RichTextPresetOptions, RichClipboardOptions, HistoryState, HistoryManager, HistoryEntry, Command, MergedExecutionOptions, HistoryMark, HistoryManagerOptions, DirtyTrackerOptions, DirtyTracker, FileImportState, ImportStructureSummary, FileImportController, FileImportControllerOptions, PromptValues, ParseDataSourceOptions, MergeRecordsOptions, MergeRecordsResult, MergeDataSource, MergeRecord, OutlineSnapshot, OutlineHeading, ParagraphStylesSnapshot, StyleRegistry, StyleDefinition, CreateStyleFromSelectionOptions, EditorSlotsMap, CommentStoreSnapshot, CommentStore, TrackChangesSnapshot, TrackedChange, ReviewAuthor, CompareSummary, CompareSource, EditorCompareOptions, FindReplaceSnapshot, FindReplaceMode, FindOptions, TableState, TableAction, TableActionParams, TableToolbarItem, ChartNodeViewState, ChartNodeViewMount } from '@pixerate/editor';
4
4
  export { BindDirtyToHistoryOptions, ColorGradient, Command, CompareSource, CompareSummary, DirtyTracker, DirtyTrackerOptions, EditorCompareOptions, HistoryDirtyBinding, HistoryEntry, HistoryManager, HistoryManagerOptions, HistoryMark, HistoryState, MergeDataSource, MergeOutput, MergeRecord, MergeRecordsResult, MergedExecutionOptions, OutlineHeading, OutlineSnapshot, OutlineTreeItem, ParagraphStylesSnapshot, PromptDiagnostic, PromptValues, RichTextPresetOptions, StyleDefinition, TableAction, TableActionParams, TableState, Template, TemplateVersion, Token, TokenType, VariableFormField, bindDirtyToHistory, createDirtyTracker, createHistoryManager, defaultIsEqual, withoutDirty } from '@pixerate/editor';
5
5
  import { UseEditorOptions, EditorContentProps as EditorContentProps$1 } from '@tiptap/react';
6
6
  import { HistoryManager as HistoryManager$1 } from '@pixerate/editor/history';
@@ -13,6 +13,7 @@ export { AdjustmentLayersPanel, AdjustmentLayersPanelProps, ControlSlider, Contr
13
13
  export { CommandPalette, CommandPaletteProps, UseCommandPaletteOptions, UseCommandPaletteResult, UseCommandShortcutsOptions, useCommandPalette, useCommandShortcuts, useRegisterCommands } from './commands/index.cjs';
14
14
  export { RecoveryPrompt, RecoveryPromptProps, UseAutosaveOptions, UseAutosaveResult, useAutosave } from './persistence/index.cjs';
15
15
  export { AssetMentionChips, AssetMentionChipsProps, GenerationHistory, GenerationHistoryProps, GenerationSettings, GenerationSettingsProps, JobProgress, JobProgressProps, UseGenerationRecordsResult, UseJobProgressOptions, useGenerationPlan, useGenerationRecords, useJobProgress } from './generation/index.cjs';
16
+ import { ChartTheme } from '@pixerate/editor/chart';
16
17
  import '@pixerate/editor/spreadsheet';
17
18
  import '@pixerate/editor/image-editor';
18
19
  import '@pixerate/editor/commands';
@@ -756,4 +757,29 @@ interface TableBubbleMenuProps extends Omit<BubbleMenuProps, "editor" | "childre
756
757
  */
757
758
  declare const TableBubbleMenu: React__default.FC<TableBubbleMenuProps>;
758
759
 
759
- export { BubbleMenu, type BubbleMenuProps, CommentButton, type CommentButtonProps, CommentsPanel, type CommentsPanelProps, EditorContent, type EditorContentProps, EditorSlotsProvider, type EditorSlotsProviderProps, ExportDocxButton, type ExportDocxButtonProps, FindReplaceBar, type FindReplaceBarProps, type HistoryShortcutsOptions, InsertTableGrid, type InsertTableGridProps, MergePreview, type MergePreviewProps, type MergePreviewState, OutlinePanel, type OutlinePanelProps, ReviewToolbar, type ReviewToolbarProps, StylesGallery, type StylesGalleryProps, TableBubbleMenu, type TableBubbleMenuProps, TableToolbar, type TableToolbarProps, TemplateRenderer, type TemplateRendererProps, TrackedChangesList, type TrackedChangesListProps, type UseCommentsResult, type UseDismissGuardOptions, type UseDismissGuardReturn, type UseDocumentCompareResult, type UseDocxExportResult, type UseFileImportResult, type UseFindReplaceResult, type UseHistoryDirtyOptions, type UseHistoryDirtyResult, type UseHistoryResult, type UseMergePreviewOptions, type UseNavigationGuardOptions, type UseNavigationGuardReturn, type UseParagraphStylesResult, type UsePromptEditorProps, type UseRichEditorProps, type UseTableMenuResult, type UseTrackChangesResult, VariableForm, type VariableFormProps, useAgentToolProvider, useComments, useDismissGuard, useDocumentCompare, useDocxExport, useEditor, useEditorSlots, useFileImport, useFindReplace, useHistory, useHistoryDirty, useHistoryShortcuts, useMergePreview, useNavigationGuard, useOutline, useParagraphStyles, usePromptEditor, useTableMenu, useTrackChanges };
760
+ interface ChartNodeViewProps {
761
+ /** What the editor's `chart` node passes (see `ChartNodeViewState`). */
762
+ state: ChartNodeViewState;
763
+ /** Chart colours (default: the CSS-variable theme). */
764
+ theme?: Partial<ChartTheme>;
765
+ /** Show the data grid under the chart while editing (default `true`). */
766
+ showDataGrid?: boolean;
767
+ }
768
+ /**
769
+ * A chart inside a rich-text document: read-only until clicked, then editable on the canvas
770
+ * with the data grid and the inspector in a panel below (side by side when there is room). "Done", Escape or moving the
771
+ * selection away closes it. Edits are written back to the document as undo steps.
772
+ */
773
+ declare function ChartNodeView({ state, theme, showDataGrid }: ChartNodeViewProps): React__default.JSX.Element;
774
+ interface ReactChartNodeViewOptions extends Omit<ChartNodeViewProps, 'state'> {
775
+ /** Draw something else for each chart (default `ChartNodeView`). */
776
+ component?: React__default.ComponentType<ChartNodeViewProps>;
777
+ }
778
+ /**
779
+ * The `nodeView` for the core `chart` node, drawing `ChartNodeView` in its own React root:
780
+ * `createRichTextPreset({ chart: { nodeView: createReactChartNodeView() } })`. Works with any
781
+ * TipTap editor (it does not need `EditorContent`); app context does not reach the chart.
782
+ */
783
+ declare function createReactChartNodeView(options?: ReactChartNodeViewOptions): ChartNodeViewMount;
784
+
785
+ export { BubbleMenu, type BubbleMenuProps, ChartNodeView, type ChartNodeViewProps, CommentButton, type CommentButtonProps, CommentsPanel, type CommentsPanelProps, EditorContent, type EditorContentProps, EditorSlotsProvider, type EditorSlotsProviderProps, ExportDocxButton, type ExportDocxButtonProps, FindReplaceBar, type FindReplaceBarProps, type HistoryShortcutsOptions, InsertTableGrid, type InsertTableGridProps, MergePreview, type MergePreviewProps, type MergePreviewState, OutlinePanel, type OutlinePanelProps, type ReactChartNodeViewOptions, ReviewToolbar, type ReviewToolbarProps, StylesGallery, type StylesGalleryProps, TableBubbleMenu, type TableBubbleMenuProps, TableToolbar, type TableToolbarProps, TemplateRenderer, type TemplateRendererProps, TrackedChangesList, type TrackedChangesListProps, type UseCommentsResult, type UseDismissGuardOptions, type UseDismissGuardReturn, type UseDocumentCompareResult, type UseDocxExportResult, type UseFileImportResult, type UseFindReplaceResult, type UseHistoryDirtyOptions, type UseHistoryDirtyResult, type UseHistoryResult, type UseMergePreviewOptions, type UseNavigationGuardOptions, type UseNavigationGuardReturn, type UseParagraphStylesResult, type UsePromptEditorProps, type UseRichEditorProps, type UseTableMenuResult, type UseTrackChangesResult, VariableForm, type VariableFormProps, createReactChartNodeView, useAgentToolProvider, useComments, useDismissGuard, useDocumentCompare, useDocxExport, useEditor, useEditorSlots, useFileImport, useFindReplace, useHistory, useHistoryDirty, useHistoryShortcuts, useMergePreview, useNavigationGuard, useOutline, useParagraphStyles, usePromptEditor, useTableMenu, useTrackChanges };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _tiptap_core from '@tiptap/core';
2
2
  import { Editor } from '@tiptap/core';
3
- import { Template, ColorGradient, FileImportOptions, RichTextPresetOptions, RichClipboardOptions, HistoryState, HistoryManager, HistoryEntry, Command, MergedExecutionOptions, HistoryMark, HistoryManagerOptions, DirtyTrackerOptions, DirtyTracker, FileImportState, ImportStructureSummary, FileImportController, FileImportControllerOptions, PromptValues, ParseDataSourceOptions, MergeRecordsOptions, MergeRecordsResult, MergeDataSource, MergeRecord, OutlineSnapshot, OutlineHeading, ParagraphStylesSnapshot, StyleRegistry, StyleDefinition, CreateStyleFromSelectionOptions, EditorSlotsMap, CommentStoreSnapshot, CommentStore, TrackChangesSnapshot, TrackedChange, ReviewAuthor, CompareSummary, CompareSource, EditorCompareOptions, FindReplaceSnapshot, FindReplaceMode, FindOptions, TableState, TableAction, TableActionParams, TableToolbarItem } from '@pixerate/editor';
3
+ import { Template, ColorGradient, FileImportOptions, RichTextPresetOptions, RichClipboardOptions, HistoryState, HistoryManager, HistoryEntry, Command, MergedExecutionOptions, HistoryMark, HistoryManagerOptions, DirtyTrackerOptions, DirtyTracker, FileImportState, ImportStructureSummary, FileImportController, FileImportControllerOptions, PromptValues, ParseDataSourceOptions, MergeRecordsOptions, MergeRecordsResult, MergeDataSource, MergeRecord, OutlineSnapshot, OutlineHeading, ParagraphStylesSnapshot, StyleRegistry, StyleDefinition, CreateStyleFromSelectionOptions, EditorSlotsMap, CommentStoreSnapshot, CommentStore, TrackChangesSnapshot, TrackedChange, ReviewAuthor, CompareSummary, CompareSource, EditorCompareOptions, FindReplaceSnapshot, FindReplaceMode, FindOptions, TableState, TableAction, TableActionParams, TableToolbarItem, ChartNodeViewState, ChartNodeViewMount } from '@pixerate/editor';
4
4
  export { BindDirtyToHistoryOptions, ColorGradient, Command, CompareSource, CompareSummary, DirtyTracker, DirtyTrackerOptions, EditorCompareOptions, HistoryDirtyBinding, HistoryEntry, HistoryManager, HistoryManagerOptions, HistoryMark, HistoryState, MergeDataSource, MergeOutput, MergeRecord, MergeRecordsResult, MergedExecutionOptions, OutlineHeading, OutlineSnapshot, OutlineTreeItem, ParagraphStylesSnapshot, PromptDiagnostic, PromptValues, RichTextPresetOptions, StyleDefinition, TableAction, TableActionParams, TableState, Template, TemplateVersion, Token, TokenType, VariableFormField, bindDirtyToHistory, createDirtyTracker, createHistoryManager, defaultIsEqual, withoutDirty } from '@pixerate/editor';
5
5
  import { UseEditorOptions, EditorContentProps as EditorContentProps$1 } from '@tiptap/react';
6
6
  import { HistoryManager as HistoryManager$1 } from '@pixerate/editor/history';
@@ -13,6 +13,7 @@ export { AdjustmentLayersPanel, AdjustmentLayersPanelProps, ControlSlider, Contr
13
13
  export { CommandPalette, CommandPaletteProps, UseCommandPaletteOptions, UseCommandPaletteResult, UseCommandShortcutsOptions, useCommandPalette, useCommandShortcuts, useRegisterCommands } from './commands/index.js';
14
14
  export { RecoveryPrompt, RecoveryPromptProps, UseAutosaveOptions, UseAutosaveResult, useAutosave } from './persistence/index.js';
15
15
  export { AssetMentionChips, AssetMentionChipsProps, GenerationHistory, GenerationHistoryProps, GenerationSettings, GenerationSettingsProps, JobProgress, JobProgressProps, UseGenerationRecordsResult, UseJobProgressOptions, useGenerationPlan, useGenerationRecords, useJobProgress } from './generation/index.js';
16
+ import { ChartTheme } from '@pixerate/editor/chart';
16
17
  import '@pixerate/editor/spreadsheet';
17
18
  import '@pixerate/editor/image-editor';
18
19
  import '@pixerate/editor/commands';
@@ -756,4 +757,29 @@ interface TableBubbleMenuProps extends Omit<BubbleMenuProps, "editor" | "childre
756
757
  */
757
758
  declare const TableBubbleMenu: React__default.FC<TableBubbleMenuProps>;
758
759
 
759
- export { BubbleMenu, type BubbleMenuProps, CommentButton, type CommentButtonProps, CommentsPanel, type CommentsPanelProps, EditorContent, type EditorContentProps, EditorSlotsProvider, type EditorSlotsProviderProps, ExportDocxButton, type ExportDocxButtonProps, FindReplaceBar, type FindReplaceBarProps, type HistoryShortcutsOptions, InsertTableGrid, type InsertTableGridProps, MergePreview, type MergePreviewProps, type MergePreviewState, OutlinePanel, type OutlinePanelProps, ReviewToolbar, type ReviewToolbarProps, StylesGallery, type StylesGalleryProps, TableBubbleMenu, type TableBubbleMenuProps, TableToolbar, type TableToolbarProps, TemplateRenderer, type TemplateRendererProps, TrackedChangesList, type TrackedChangesListProps, type UseCommentsResult, type UseDismissGuardOptions, type UseDismissGuardReturn, type UseDocumentCompareResult, type UseDocxExportResult, type UseFileImportResult, type UseFindReplaceResult, type UseHistoryDirtyOptions, type UseHistoryDirtyResult, type UseHistoryResult, type UseMergePreviewOptions, type UseNavigationGuardOptions, type UseNavigationGuardReturn, type UseParagraphStylesResult, type UsePromptEditorProps, type UseRichEditorProps, type UseTableMenuResult, type UseTrackChangesResult, VariableForm, type VariableFormProps, useAgentToolProvider, useComments, useDismissGuard, useDocumentCompare, useDocxExport, useEditor, useEditorSlots, useFileImport, useFindReplace, useHistory, useHistoryDirty, useHistoryShortcuts, useMergePreview, useNavigationGuard, useOutline, useParagraphStyles, usePromptEditor, useTableMenu, useTrackChanges };
760
+ interface ChartNodeViewProps {
761
+ /** What the editor's `chart` node passes (see `ChartNodeViewState`). */
762
+ state: ChartNodeViewState;
763
+ /** Chart colours (default: the CSS-variable theme). */
764
+ theme?: Partial<ChartTheme>;
765
+ /** Show the data grid under the chart while editing (default `true`). */
766
+ showDataGrid?: boolean;
767
+ }
768
+ /**
769
+ * A chart inside a rich-text document: read-only until clicked, then editable on the canvas
770
+ * with the data grid and the inspector in a panel below (side by side when there is room). "Done", Escape or moving the
771
+ * selection away closes it. Edits are written back to the document as undo steps.
772
+ */
773
+ declare function ChartNodeView({ state, theme, showDataGrid }: ChartNodeViewProps): React__default.JSX.Element;
774
+ interface ReactChartNodeViewOptions extends Omit<ChartNodeViewProps, 'state'> {
775
+ /** Draw something else for each chart (default `ChartNodeView`). */
776
+ component?: React__default.ComponentType<ChartNodeViewProps>;
777
+ }
778
+ /**
779
+ * The `nodeView` for the core `chart` node, drawing `ChartNodeView` in its own React root:
780
+ * `createRichTextPreset({ chart: { nodeView: createReactChartNodeView() } })`. Works with any
781
+ * TipTap editor (it does not need `EditorContent`); app context does not reach the chart.
782
+ */
783
+ declare function createReactChartNodeView(options?: ReactChartNodeViewOptions): ChartNodeViewMount;
784
+
785
+ export { BubbleMenu, type BubbleMenuProps, ChartNodeView, type ChartNodeViewProps, CommentButton, type CommentButtonProps, CommentsPanel, type CommentsPanelProps, EditorContent, type EditorContentProps, EditorSlotsProvider, type EditorSlotsProviderProps, ExportDocxButton, type ExportDocxButtonProps, FindReplaceBar, type FindReplaceBarProps, type HistoryShortcutsOptions, InsertTableGrid, type InsertTableGridProps, MergePreview, type MergePreviewProps, type MergePreviewState, OutlinePanel, type OutlinePanelProps, type ReactChartNodeViewOptions, ReviewToolbar, type ReviewToolbarProps, StylesGallery, type StylesGalleryProps, TableBubbleMenu, type TableBubbleMenuProps, TableToolbar, type TableToolbarProps, TemplateRenderer, type TemplateRendererProps, TrackedChangesList, type TrackedChangesListProps, type UseCommentsResult, type UseDismissGuardOptions, type UseDismissGuardReturn, type UseDocumentCompareResult, type UseDocxExportResult, type UseFileImportResult, type UseFindReplaceResult, type UseHistoryDirtyOptions, type UseHistoryDirtyResult, type UseHistoryResult, type UseMergePreviewOptions, type UseNavigationGuardOptions, type UseNavigationGuardReturn, type UseParagraphStylesResult, type UsePromptEditorProps, type UseRichEditorProps, type UseTableMenuResult, type UseTrackChangesResult, VariableForm, type VariableFormProps, createReactChartNodeView, useAgentToolProvider, useComments, useDismissGuard, useDocumentCompare, useDocxExport, useEditor, useEditorSlots, useFileImport, useFindReplace, useHistory, useHistoryDirty, useHistoryShortcuts, useMergePreview, useNavigationGuard, useOutline, useParagraphStyles, usePromptEditor, useTableMenu, useTrackChanges };
package/dist/index.js CHANGED
@@ -1,3 +1,9 @@
1
+ import {
2
+ ChartCanvas,
3
+ ChartDataGrid,
4
+ ChartInspector,
5
+ chartButtonClass
6
+ } from "./chunk-IH5ZIOK3.js";
1
7
  import {
2
8
  FormulaHints,
3
9
  NameManager,
@@ -2241,10 +2247,84 @@ var TableBubbleMenu = ({
2241
2247
  pluginKey = "tableBubbleMenu",
2242
2248
  ...rest
2243
2249
  }) => /* @__PURE__ */ jsx16(BubbleMenu, { editor, pluginKey, shouldShow: shouldShowTableBubbleMenu, ...rest, children: children ?? /* @__PURE__ */ jsx16(TableToolbar, { editor, ...toolbarProps }) });
2250
+
2251
+ // src/chart-node/ChartNodeView.tsx
2252
+ import { createRoot } from "react-dom/client";
2253
+ import { jsx as jsx17, jsxs as jsxs13 } from "react/jsx-runtime";
2254
+ function ChartNodeView({ state, theme, showDataGrid = true }) {
2255
+ const { controller, editing, editable, selected, width, height, setEditing } = state;
2256
+ const open = () => {
2257
+ if (editable && !editing) setEditing(true);
2258
+ };
2259
+ return /* @__PURE__ */ jsxs13(
2260
+ "div",
2261
+ {
2262
+ className: `not-prose my-2 rounded-md border bg-background p-1 ${selected ? "border-primary ring-1 ring-primary" : "border-border"}`,
2263
+ "data-chart-node-view": "",
2264
+ "data-editing": editing ? "" : void 0,
2265
+ onKeyDown: (e) => {
2266
+ if (editing && e.key === "Escape") {
2267
+ e.stopPropagation();
2268
+ setEditing(false);
2269
+ }
2270
+ },
2271
+ children: [
2272
+ editing && /* @__PURE__ */ jsxs13("div", { className: "mb-1 flex items-center justify-between gap-2 px-1", "data-chart-node-toolbar": "", children: [
2273
+ /* @__PURE__ */ jsx17("span", { className: "text-xs text-muted-foreground", children: "Editing chart" }),
2274
+ /* @__PURE__ */ jsx17("button", { type: "button", className: chartButtonClass, "data-action": "done", onClick: () => setEditing(false), children: "Done" })
2275
+ ] }),
2276
+ /* @__PURE__ */ jsx17(
2277
+ "div",
2278
+ {
2279
+ className: editable && !editing ? "cursor-pointer" : void 0,
2280
+ onClick: open,
2281
+ title: editable && !editing ? "Click to edit the chart" : void 0,
2282
+ "data-chart-node-canvas": "",
2283
+ children: /* @__PURE__ */ jsx17(ChartCanvas, { controller, width: width ?? 640, height, responsive: width === null, editable: editing, theme })
2284
+ }
2285
+ ),
2286
+ editing && // Wraps by the document's width, not the viewport's: side by side when there is room.
2287
+ /* @__PURE__ */ jsxs13("div", { className: "mt-2 flex flex-wrap items-start gap-2", "data-chart-node-panel": "", children: [
2288
+ showDataGrid && /* @__PURE__ */ jsx17("div", { className: "min-w-0 flex-[1_1_20rem] overflow-x-auto", children: /* @__PURE__ */ jsx17(ChartDataGrid, { controller }) }),
2289
+ /* @__PURE__ */ jsx17(ChartInspector, { controller, className: "max-h-96 min-w-0 flex-[1_1_16rem] overflow-y-auto rounded-md border border-border p-3" })
2290
+ ] })
2291
+ ]
2292
+ }
2293
+ );
2294
+ }
2295
+ function createReactChartNodeView(options = {}) {
2296
+ const { component: Component = ChartNodeView, ...props } = options;
2297
+ return (dom, state) => {
2298
+ const root = createRoot(dom);
2299
+ let latest = state;
2300
+ let scheduled = false;
2301
+ let destroyed = false;
2302
+ const schedule = () => {
2303
+ if (scheduled) return;
2304
+ scheduled = true;
2305
+ queueMicrotask(() => {
2306
+ scheduled = false;
2307
+ if (!destroyed) root.render(/* @__PURE__ */ jsx17(Component, { ...props, state: latest }));
2308
+ });
2309
+ };
2310
+ schedule();
2311
+ return {
2312
+ update: (next) => {
2313
+ latest = next;
2314
+ schedule();
2315
+ },
2316
+ destroy: () => {
2317
+ destroyed = true;
2318
+ queueMicrotask(() => root.unmount());
2319
+ }
2320
+ };
2321
+ };
2322
+ }
2244
2323
  export {
2245
2324
  AdjustmentLayersPanel,
2246
2325
  AssetMentionChips,
2247
2326
  BubbleMenu,
2327
+ ChartNodeView,
2248
2328
  CommandPalette,
2249
2329
  CommentButton,
2250
2330
  CommentsPanel,
@@ -2286,6 +2366,7 @@ export {
2286
2366
  bindDirtyToHistory2 as bindDirtyToHistory,
2287
2367
  createDirtyTracker,
2288
2368
  createHistoryManager2 as createHistoryManager,
2369
+ createReactChartNodeView,
2289
2370
  defaultIsEqual,
2290
2371
  useAgentToolProvider,
2291
2372
  useAutosave,