@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.
- package/dist/bricks.json +12 -12
- package/dist/chunks/{8091.595e8d52.js → 8091.7b67daa4.js} +3 -3
- package/dist/chunks/8091.7b67daa4.js.map +1 -0
- package/dist/chunks/{8275.a45fc2d4.js → 8275.dfcd99a8.js} +3 -3
- package/dist/chunks/8275.dfcd99a8.js.map +1 -0
- package/dist/chunks/{main.0328c44b.js → main.02944958.js} +2 -2
- package/dist/chunks/{main.0328c44b.js.map → main.02944958.js.map} +1 -1
- package/dist/chunks/property-editor.e0c3a0f1.js +2 -0
- package/dist/chunks/property-editor.e0c3a0f1.js.map +1 -0
- package/dist/{index.193d3fcb.js → index.54cf61c4.js} +2 -2
- package/dist/{index.193d3fcb.js.map → index.54cf61c4.js.map} +1 -1
- package/dist/manifest.json +165 -159
- package/dist/types.json +390 -381
- package/dist-types/property-editor/index.d.ts +12 -10
- package/package.json +2 -2
- package/dist/chunks/8091.595e8d52.js.map +0 -1
- package/dist/chunks/8275.a45fc2d4.js.map +0 -1
- package/dist/chunks/property-editor.c6e5184c.js +0 -2
- package/dist/chunks/property-editor.c6e5184c.js.map +0 -1
- /package/dist/chunks/{8091.595e8d52.js.LICENSE.txt → 8091.7b67daa4.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{8275.a45fc2d4.js.LICENSE.txt → 8275.dfcd99a8.js.LICENSE.txt} +0 -0
|
@@ -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.
|
|
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": "
|
|
47
|
+
"gitHead": "48e92ad7862b54607c92698bb577c643910724d0"
|
|
48
48
|
}
|