amis-editor-core 6.14.0-beta.0 → 6.14.0-beta.10

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.
@@ -5,6 +5,7 @@
5
5
  import { IAnyModelType, Instance, SnapshotIn } from 'mobx-state-tree';
6
6
  import { RegionConfig, RendererInfo } from '../plugin';
7
7
  import React from 'react';
8
+ import type { RendererConfig } from 'amis-core';
8
9
  export declare const EditorNode: import("mobx-state-tree").IModelType<{
9
10
  parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
10
11
  parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
@@ -219,7 +220,7 @@ export declare const EditorNode: import("mobx-state-tree").IModelType<{
219
220
  }): any;
220
221
  removeChild(child: any): void;
221
222
  toggleFold(e: React.MouseEvent<HTMLAnchorElement>): void;
222
- patch(store: any, force?: boolean, setPatchInfo?: ((id: string, value: any) => void) | undefined, ids?: Map<string, string>): void;
223
+ patch(store: any, force?: boolean, setPatchInfo?: (id: string, value: any) => void, ids?: Map<string, string>): void;
223
224
  updateSchema(value: any): void;
224
225
  updateSchemaStyle(value: any): void;
225
226
  setComponent(value: any): void;
@@ -450,7 +451,7 @@ export declare const EditorNodeContext: React.Context<({
450
451
  }): any;
451
452
  removeChild(child: any): void;
452
453
  toggleFold(e: React.MouseEvent<HTMLAnchorElement>): void;
453
- patch(store: any, force?: boolean, setPatchInfo?: ((id: string, value: any) => void) | undefined, ids?: Map<string, string>): void;
454
+ patch(store: any, force?: boolean, setPatchInfo?: (id: string, value: any) => void, ids?: Map<string, string>): void;
454
455
  updateSchema(value: any): void;
455
456
  updateSchemaStyle(value: any): void;
456
457
  setComponent(value: any): void;
@@ -680,7 +681,7 @@ export declare const EditorNodeContext: React.Context<({
680
681
  }): any;
681
682
  removeChild(child: any): void;
682
683
  toggleFold(e: React.MouseEvent<HTMLAnchorElement>): void;
683
- patch(store: any, force?: boolean, setPatchInfo?: ((id: string, value: any) => void) | undefined, ids?: Map<string, string>): void;
684
+ patch(store: any, force?: boolean, setPatchInfo?: (id: string, value: any) => void, ids?: Map<string, string>): void;
684
685
  updateSchema(value: any): void;
685
686
  updateSchemaStyle(value: any): void;
686
687
  setComponent(value: any): void;