@next-bricks/visual-builder 1.19.0 → 1.20.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.
@@ -17,7 +17,7 @@ declare const SchemaField: {
17
17
  FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
18
18
  useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
19
19
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
20
- useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext; /** 构件名称 */
20
+ useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
21
21
  };
22
22
  Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
23
23
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
@@ -57,7 +57,7 @@ declare const SchemaField: {
57
57
  FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
58
58
  useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
59
59
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
60
- useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext; /** 构件名称 */
60
+ useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
61
61
  };
62
62
  Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
63
63
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
@@ -97,7 +97,7 @@ declare const SchemaField: {
97
97
  FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
98
98
  useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
99
99
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
100
- useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext; /** 构件名称 */
100
+ useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
101
101
  };
102
102
  Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
103
103
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
@@ -137,7 +137,7 @@ declare const SchemaField: {
137
137
  FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
138
138
  useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
139
139
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
140
- useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext; /** 构件名称 */
140
+ useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
141
141
  };
142
142
  Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
143
143
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
@@ -177,7 +177,7 @@ declare const SchemaField: {
177
177
  FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
178
178
  useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
179
179
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
180
- useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext; /** 构件名称 */
180
+ useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
181
181
  };
182
182
  Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
183
183
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
@@ -217,7 +217,7 @@ declare const SchemaField: {
217
217
  FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
218
218
  useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
219
219
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
220
- useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext; /** 构件名称 */
220
+ useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
221
221
  };
222
222
  Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
223
223
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
@@ -257,7 +257,7 @@ declare const SchemaField: {
257
257
  FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
258
258
  useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
259
259
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
260
- useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext; /** 构件名称 */
260
+ useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
261
261
  };
262
262
  Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
263
263
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
@@ -297,7 +297,7 @@ declare const SchemaField: {
297
297
  FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
298
298
  useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
299
299
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
300
- useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext; /** 构件名称 */
300
+ useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
301
301
  };
302
302
  Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
303
303
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
@@ -337,7 +337,7 @@ declare const SchemaField: {
337
337
  FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
338
338
  useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
339
339
  useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
340
- useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext; /** 构件名称 */
340
+ useFormShallowLayout: () => import("@formily/antd-v5").IFormLayoutContext;
341
341
  };
342
342
  Input: import("@formily/react").ReactFC<import("antd").InputProps> & {
343
343
  TextArea: React.ForwardRefExoticComponent<Pick<Partial<import("antd/es/input").TextAreaProps & React.RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, "key" | keyof import("antd/es/input").TextAreaProps> & React.RefAttributes<unknown>>;
@@ -385,6 +385,7 @@ export interface EditorComponentProps {
385
385
  onFormValidateSuccess: typeof onFormValidateSuccess;
386
386
  };
387
387
  scope: {
388
+ advancedMode: boolean;
388
389
  dataList: DataItem[];
389
390
  };
390
391
  }
@@ -421,5 +422,6 @@ export interface PropertyEditorProps {
421
422
  editorName: string;
422
423
  advancedMode?: boolean;
423
424
  dataList: DataItem[];
425
+ handleValuesChange: (value: any) => void;
424
426
  }
425
- export declare function LegacyPropertyEditor({ advancedMode, values, editorName, dataList }: PropertyEditorProps, ref: any): React.JSX.Element;
427
+ export declare function LegacyPropertyEditor({ advancedMode, values, editorName, dataList, handleValuesChange, }: PropertyEditorProps, ref: any): React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/visual-builder",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/visual-builder",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,5 +44,5 @@
44
44
  "@next-bricks/icons": "*",
45
45
  "@next-bricks/vs": "*"
46
46
  },
47
- "gitHead": "2c6d26349bab4e968689435fc387174e5db6fad8"
47
+ "gitHead": "48e92ad7862b54607c92698bb577c643910724d0"
48
48
  }