@next-bricks/visual-builder 1.31.0 → 1.32.1
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 +7 -7
- package/dist/chunks/{1122.a2e4f62e.js → 1122.1f550956.js} +2 -2
- package/dist/chunks/1122.1f550956.js.map +1 -0
- package/dist/chunks/{114.63bf1208.js → 114.c25646f6.js} +2 -2
- package/dist/chunks/{114.63bf1208.js.map → 114.c25646f6.js.map} +1 -1
- package/dist/chunks/{1940.5f0efc53.js → 1940.fa7d69c6.js} +2 -2
- package/dist/chunks/{1940.5f0efc53.js.map → 1940.fa7d69c6.js.map} +1 -1
- package/dist/chunks/{2252.6c4f85f9.js → 2252.8c147e6c.js} +3 -3
- package/dist/chunks/2252.8c147e6c.js.map +1 -0
- package/dist/chunks/{2277.06e20216.js → 2277.e16c7cbf.js} +2 -2
- package/dist/chunks/{2277.06e20216.js.map → 2277.e16c7cbf.js.map} +1 -1
- package/dist/chunks/2528.6af6d36b.js +3 -0
- package/dist/chunks/{9130.51e9c8f2.js.LICENSE.txt → 2528.6af6d36b.js.LICENSE.txt} +4 -0
- package/dist/chunks/2528.6af6d36b.js.map +1 -0
- package/dist/chunks/{2980.56778607.js → 2980.51717b3f.js} +2 -2
- package/dist/chunks/{2980.56778607.js.map → 2980.51717b3f.js.map} +1 -1
- package/dist/chunks/{3171.fed38379.js → 3171.9c6b399c.js} +2 -2
- package/dist/chunks/{3171.fed38379.js.map → 3171.9c6b399c.js.map} +1 -1
- package/dist/chunks/{3933.5bb88d4a.js → 3933.374de7c2.js} +2 -2
- package/dist/chunks/{3933.5bb88d4a.js.map → 3933.374de7c2.js.map} +1 -1
- package/dist/chunks/{4658.6f1f1b37.js → 4658.e9f4df8f.js} +2 -2
- package/dist/chunks/{4658.6f1f1b37.js.map → 4658.e9f4df8f.js.map} +1 -1
- package/dist/chunks/{4837.df62d8e1.js → 4837.58fb5576.js} +2 -2
- package/dist/chunks/{4837.df62d8e1.js.map → 4837.58fb5576.js.map} +1 -1
- package/dist/chunks/{5399.3fbcbf7e.js → 5399.eb4a18e3.js} +2 -2
- package/dist/chunks/{5399.3fbcbf7e.js.map → 5399.eb4a18e3.js.map} +1 -1
- package/dist/chunks/{5552.cabbd277.js → 5552.c264a000.js} +2 -2
- package/dist/chunks/{5552.cabbd277.js.map → 5552.c264a000.js.map} +1 -1
- package/dist/chunks/{6314.9d427e15.js → 6314.ed6c5313.js} +2 -2
- package/dist/chunks/{6314.9d427e15.js.map → 6314.ed6c5313.js.map} +1 -1
- package/dist/chunks/6846.56c301e6.js +3 -0
- package/dist/chunks/6846.56c301e6.js.map +1 -0
- package/dist/chunks/7150.ebb95d53.js +3 -0
- package/dist/chunks/7150.ebb95d53.js.map +1 -0
- package/dist/chunks/{7218.57b21ecf.js → 7218.417c6054.js} +2 -2
- package/dist/chunks/{7218.57b21ecf.js.map → 7218.417c6054.js.map} +1 -1
- package/dist/chunks/{7434.99b24ba5.js → 7434.4ddb3aab.js} +2 -2
- package/dist/chunks/{7434.99b24ba5.js.map → 7434.4ddb3aab.js.map} +1 -1
- package/dist/chunks/{7733.6aaf0acb.js → 7733.4fc7b710.js} +2 -2
- package/dist/chunks/{7733.6aaf0acb.js.map → 7733.4fc7b710.js.map} +1 -1
- package/dist/chunks/{790.77b44e6b.js → 790.5aa68ffb.js} +2 -2
- package/dist/chunks/{790.77b44e6b.js.map → 790.5aa68ffb.js.map} +1 -1
- package/dist/chunks/{9027.21af2a5d.js → 9027.e3490283.js} +2 -2
- package/dist/chunks/{9027.21af2a5d.js.map → 9027.e3490283.js.map} +1 -1
- package/dist/chunks/9080.c73b20aa.js +2 -0
- package/dist/chunks/9080.c73b20aa.js.map +1 -0
- package/dist/chunks/{9559.a7cc0fe6.js → 9559.34ed0b2d.js} +2 -2
- package/dist/chunks/{9559.a7cc0fe6.js.map → 9559.34ed0b2d.js.map} +1 -1
- package/dist/chunks/{chat-conversation.06c03ce2.js → chat-conversation.918f65c5.js} +3 -3
- package/dist/chunks/{chat-conversation.06c03ce2.js.map → chat-conversation.918f65c5.js.map} +1 -1
- package/dist/chunks/{chat-preview.75a05ac5.js → chat-preview.f7014cdb.js} +3 -3
- package/dist/chunks/{chat-preview.75a05ac5.js.map → chat-preview.f7014cdb.js.map} +1 -1
- package/dist/chunks/{check-editor-by-name.151786ec.js → check-editor-by-name.7e2f27ec.js} +2 -2
- package/dist/chunks/{check-editor-by-name.151786ec.js.map → check-editor-by-name.7e2f27ec.js.map} +1 -1
- package/dist/chunks/{contract-select.b4daeecc.js → contract-select.858bf125.js} +3 -3
- package/dist/chunks/{contract-select.b4daeecc.js.map → contract-select.858bf125.js.map} +1 -1
- package/dist/chunks/{generate-snippets-context-menu.a076f5f7.js → generate-snippets-context-menu.83328abe.js} +2 -2
- package/dist/chunks/{generate-snippets-context-menu.a076f5f7.js.map → generate-snippets-context-menu.83328abe.js.map} +1 -1
- package/dist/chunks/{get-data-deps.e521c8d2.js → get-data-deps.d2ca1894.js} +2 -2
- package/dist/chunks/{get-data-deps.e521c8d2.js.map → get-data-deps.d2ca1894.js.map} +1 -1
- package/dist/chunks/{get-dependency-tree.a0216e9a.js → get-dependency-tree.e2a26654.js} +2 -2
- package/dist/chunks/{get-dependency-tree.a0216e9a.js.map → get-dependency-tree.e2a26654.js.map} +1 -1
- package/dist/chunks/{inject-chat-preview-agent.79f723c0.js → inject-chat-preview-agent.2c1c58bf.js} +2 -2
- package/dist/chunks/{inject-chat-preview-agent.79f723c0.js.map → inject-chat-preview-agent.2c1c58bf.js.map} +1 -1
- package/dist/chunks/{inject-preview-agent.4cc9a12f.js → inject-preview-agent.84654232.js} +2 -2
- package/dist/chunks/{inject-preview-agent.4cc9a12f.js.map → inject-preview-agent.84654232.js.map} +1 -1
- package/dist/chunks/main.5435b169.js +2 -0
- package/dist/chunks/{main.6f9e0b32.js.map → main.5435b169.js.map} +1 -1
- package/dist/chunks/{page-arch-node.50fe50b2.js → page-arch-node.59e3fed0.js} +3 -3
- package/dist/chunks/{page-arch-node.50fe50b2.js.map → page-arch-node.59e3fed0.js.map} +1 -1
- package/dist/chunks/{parse-path.571d7d62.js → parse-path.b34df33b.js} +2 -2
- package/dist/chunks/{parse-path.571d7d62.js.map → parse-path.b34df33b.js.map} +1 -1
- package/dist/chunks/{pre-generated-container.d8e62dfd.js → pre-generated-container.d2f83710.js} +2 -2
- package/dist/chunks/{pre-generated-container.d8e62dfd.js.map → pre-generated-container.d2f83710.js.map} +1 -1
- package/dist/chunks/{pre-generated-preview.78d438ab.js → pre-generated-preview.03d5b930.js} +3 -3
- package/dist/chunks/{pre-generated-preview.78d438ab.js.map → pre-generated-preview.03d5b930.js.map} +1 -1
- package/dist/chunks/{pre-generated-table-view.a76e65eb.js → pre-generated-table-view.1a7bcbab.js} +2 -2
- package/dist/chunks/{pre-generated-table-view.a76e65eb.js.map → pre-generated-table-view.1a7bcbab.js.map} +1 -1
- package/dist/chunks/property-editor.a3793d5c.js +2 -0
- package/dist/chunks/property-editor.a3793d5c.js.map +1 -0
- package/dist/chunks/{workbench-action-list.29085ba6.js → workbench-action-list.dbcbbdac.js} +2 -2
- package/dist/chunks/{workbench-action-list.29085ba6.js.map → workbench-action-list.dbcbbdac.js.map} +1 -1
- package/dist/chunks/{workbench-action.5cd875ea.js → workbench-action.fecc0cc7.js} +3 -3
- package/dist/chunks/{workbench-action.5cd875ea.js.map → workbench-action.fecc0cc7.js.map} +1 -1
- package/dist/chunks/{workbench-history-action.6927ae60.js → workbench-history-action.a713bacf.js} +3 -3
- package/dist/chunks/{workbench-history-action.6927ae60.js.map → workbench-history-action.a713bacf.js.map} +1 -1
- package/dist/chunks/{workbench-pane.9634f35a.js → workbench-pane.76c5f450.js} +3 -3
- package/dist/chunks/{workbench-pane.9634f35a.js.map → workbench-pane.76c5f450.js.map} +1 -1
- package/dist/chunks/{workbench-sidebar.d9bc1d1a.js → workbench-sidebar.9ff63381.js} +2 -2
- package/dist/chunks/{workbench-sidebar.d9bc1d1a.js.map → workbench-sidebar.9ff63381.js.map} +1 -1
- package/dist/chunks/{workbench-tree.c3469448.js → workbench-tree.7a82e0b6.js} +3 -3
- package/dist/chunks/{workbench-tree.c3469448.js.map → workbench-tree.7a82e0b6.js.map} +1 -1
- package/dist/examples.json +3 -3
- package/dist/index.bd6e026e.js +2 -0
- package/dist/index.bd6e026e.js.map +1 -0
- package/dist/manifest.json +56 -56
- package/dist/types.json +13 -174
- package/dist-types/property-editor/components/common/CustomOptionsComponent.d.ts +10 -0
- package/dist-types/property-editor/index.d.ts +23 -53
- package/dist-types/property-editor/utils/formilySchemaFormatter.d.ts +4 -1
- package/package.json +4 -4
- package/dist/chunks/1122.a2e4f62e.js.map +0 -1
- package/dist/chunks/2252.6c4f85f9.js.map +0 -1
- package/dist/chunks/5021.46f6c912.js +0 -2
- package/dist/chunks/5021.46f6c912.js.map +0 -1
- package/dist/chunks/6846.9781d710.js +0 -3
- package/dist/chunks/6846.9781d710.js.map +0 -1
- package/dist/chunks/7150.ac864502.js +0 -3
- package/dist/chunks/7150.ac864502.js.map +0 -1
- package/dist/chunks/9130.51e9c8f2.js +0 -3
- package/dist/chunks/9130.51e9c8f2.js.map +0 -1
- package/dist/chunks/main.6f9e0b32.js +0 -2
- package/dist/chunks/property-editor.6e901980.js +0 -2
- package/dist/chunks/property-editor.6e901980.js.map +0 -1
- package/dist/index.77a68705.js +0 -2
- package/dist/index.77a68705.js.map +0 -1
- /package/dist/chunks/{2252.6c4f85f9.js.LICENSE.txt → 2252.8c147e6c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{6846.9781d710.js.LICENSE.txt → 6846.56c301e6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{7150.ac864502.js.LICENSE.txt → 7150.ebb95d53.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{chat-conversation.06c03ce2.js.LICENSE.txt → chat-conversation.918f65c5.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{chat-preview.75a05ac5.js.LICENSE.txt → chat-preview.f7014cdb.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{contract-select.b4daeecc.js.LICENSE.txt → contract-select.858bf125.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{page-arch-node.50fe50b2.js.LICENSE.txt → page-arch-node.59e3fed0.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{pre-generated-preview.78d438ab.js.LICENSE.txt → pre-generated-preview.03d5b930.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{workbench-action.5cd875ea.js.LICENSE.txt → workbench-action.fecc0cc7.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{workbench-history-action.6927ae60.js.LICENSE.txt → workbench-history-action.a713bacf.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{workbench-pane.9634f35a.js.LICENSE.txt → workbench-pane.76c5f450.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{workbench-tree.c3469448.js.LICENSE.txt → workbench-tree.7a82e0b6.js.LICENSE.txt} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ReactNextElement } from "@next-core/react-element";
|
|
3
3
|
import "@next-core/theme";
|
|
4
|
-
import { Form
|
|
5
|
-
import {
|
|
4
|
+
import { Form } from "@formily/core";
|
|
5
|
+
import { DataItem, SelectOptions } from "@next-shared/property-editor";
|
|
6
6
|
import { CategoryTitle } from "./components/CategoryTitle";
|
|
7
7
|
import { AdvancedFormItem } from "./components/AdvancedFormItem";
|
|
8
8
|
import { CodeEditorComponent } from "./components/common/CodeEditorComponent";
|
|
@@ -13,17 +13,18 @@ import { TextAlignRadioComponent } from "./components/common/TextAlignRadioCompo
|
|
|
13
13
|
import { InputWithUnitComponent } from "./components/common/InputWithUnitComponent";
|
|
14
14
|
import { UseChildrenSelectComponent } from "./components/common/UseChildrenSelectComponent";
|
|
15
15
|
import { BoxSizeComponent } from "./components/common/BoxSizeComponent";
|
|
16
|
+
import { CustomOptionsComponent } from "./components/common/CustomOptionsComponent";
|
|
16
17
|
import { CustomTab } from "./components/common/CustomTab";
|
|
17
18
|
import { DataNode } from "./utils/formilySchemaFormatter";
|
|
18
19
|
import "./style.css";
|
|
19
20
|
import { BrickPackage } from "@next-core/types";
|
|
20
21
|
export declare const BEFORE_SUBMIT_KEY = "before_submit";
|
|
21
22
|
export declare const ADVANCED_CHANGE_KEY = "on_advanced_change";
|
|
22
|
-
declare const SchemaField: {
|
|
23
|
+
export declare const SchemaField: {
|
|
23
24
|
<Decorator extends import("@formily/react").JSXComponent, Component extends import("@formily/react").JSXComponent>(props: import("@formily/react").ISchemaFieldProps<Decorator, Component, import("@formily/core").ObjectField<Decorator, Component>>): JSX.Element;
|
|
24
25
|
displayName: string;
|
|
25
26
|
Markup: {
|
|
26
|
-
<Decorator_1 extends "CodeEditor" | "
|
|
27
|
+
<Decorator_1 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO", Component_1 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO">(props: import("@formily/react").ISchemaMarkupFieldProps<{
|
|
27
28
|
FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
|
|
28
29
|
useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
29
30
|
useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
@@ -64,13 +65,14 @@ declare const SchemaField: {
|
|
|
64
65
|
InputWithUrl: typeof InputWithUrlComponent;
|
|
65
66
|
InputWithUnit: typeof InputWithUnitComponent;
|
|
66
67
|
TextAlignRadio: typeof TextAlignRadioComponent;
|
|
68
|
+
CustomOptions: typeof CustomOptionsComponent;
|
|
67
69
|
BoxSize: typeof BoxSizeComponent;
|
|
68
70
|
CustomTab: typeof CustomTab;
|
|
69
71
|
}, Component_1, Decorator_1>): JSX.Element;
|
|
70
72
|
displayName: string;
|
|
71
73
|
};
|
|
72
74
|
String: {
|
|
73
|
-
<Decorator_2 extends "CodeEditor" | "
|
|
75
|
+
<Decorator_2 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO", Component_2 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO">(props: import("@formily/react").ISchemaTypeFieldProps<{
|
|
74
76
|
FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
|
|
75
77
|
useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
76
78
|
useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
@@ -111,13 +113,14 @@ declare const SchemaField: {
|
|
|
111
113
|
InputWithUrl: typeof InputWithUrlComponent;
|
|
112
114
|
InputWithUnit: typeof InputWithUnitComponent;
|
|
113
115
|
TextAlignRadio: typeof TextAlignRadioComponent;
|
|
116
|
+
CustomOptions: typeof CustomOptionsComponent;
|
|
114
117
|
BoxSize: typeof BoxSizeComponent;
|
|
115
118
|
CustomTab: typeof CustomTab;
|
|
116
119
|
}, Component_2, Decorator_2>): JSX.Element;
|
|
117
120
|
displayName: string;
|
|
118
121
|
};
|
|
119
122
|
Object: {
|
|
120
|
-
<Decorator_3 extends "CodeEditor" | "
|
|
123
|
+
<Decorator_3 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO", Component_3 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO">(props: import("@formily/react").ISchemaTypeFieldProps<{
|
|
121
124
|
FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
|
|
122
125
|
useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
123
126
|
useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
@@ -158,13 +161,14 @@ declare const SchemaField: {
|
|
|
158
161
|
InputWithUrl: typeof InputWithUrlComponent;
|
|
159
162
|
InputWithUnit: typeof InputWithUnitComponent;
|
|
160
163
|
TextAlignRadio: typeof TextAlignRadioComponent;
|
|
164
|
+
CustomOptions: typeof CustomOptionsComponent;
|
|
161
165
|
BoxSize: typeof BoxSizeComponent;
|
|
162
166
|
CustomTab: typeof CustomTab;
|
|
163
167
|
}, Component_3, Decorator_3>): JSX.Element;
|
|
164
168
|
displayName: string;
|
|
165
169
|
};
|
|
166
170
|
Array: {
|
|
167
|
-
<Decorator_4 extends "CodeEditor" | "
|
|
171
|
+
<Decorator_4 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO", Component_4 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO">(props: import("@formily/react").ISchemaTypeFieldProps<{
|
|
168
172
|
FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
|
|
169
173
|
useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
170
174
|
useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
@@ -205,13 +209,14 @@ declare const SchemaField: {
|
|
|
205
209
|
InputWithUrl: typeof InputWithUrlComponent;
|
|
206
210
|
InputWithUnit: typeof InputWithUnitComponent;
|
|
207
211
|
TextAlignRadio: typeof TextAlignRadioComponent;
|
|
212
|
+
CustomOptions: typeof CustomOptionsComponent;
|
|
208
213
|
BoxSize: typeof BoxSizeComponent;
|
|
209
214
|
CustomTab: typeof CustomTab;
|
|
210
215
|
}, Component_4, Decorator_4>): JSX.Element;
|
|
211
216
|
displayName: string;
|
|
212
217
|
};
|
|
213
218
|
Boolean: {
|
|
214
|
-
<Decorator_5 extends "CodeEditor" | "
|
|
219
|
+
<Decorator_5 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO", Component_5 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO">(props: import("@formily/react").ISchemaTypeFieldProps<{
|
|
215
220
|
FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
|
|
216
221
|
useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
217
222
|
useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
@@ -252,13 +257,14 @@ declare const SchemaField: {
|
|
|
252
257
|
InputWithUrl: typeof InputWithUrlComponent;
|
|
253
258
|
InputWithUnit: typeof InputWithUnitComponent;
|
|
254
259
|
TextAlignRadio: typeof TextAlignRadioComponent;
|
|
260
|
+
CustomOptions: typeof CustomOptionsComponent;
|
|
255
261
|
BoxSize: typeof BoxSizeComponent;
|
|
256
262
|
CustomTab: typeof CustomTab;
|
|
257
263
|
}, Component_5, Decorator_5>): JSX.Element;
|
|
258
264
|
displayName: string;
|
|
259
265
|
};
|
|
260
266
|
Date: {
|
|
261
|
-
<Decorator_6 extends "CodeEditor" | "
|
|
267
|
+
<Decorator_6 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO", Component_6 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO">(props: import("@formily/react").ISchemaTypeFieldProps<{
|
|
262
268
|
FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
|
|
263
269
|
useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
264
270
|
useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
@@ -299,13 +305,14 @@ declare const SchemaField: {
|
|
|
299
305
|
InputWithUrl: typeof InputWithUrlComponent;
|
|
300
306
|
InputWithUnit: typeof InputWithUnitComponent;
|
|
301
307
|
TextAlignRadio: typeof TextAlignRadioComponent;
|
|
308
|
+
CustomOptions: typeof CustomOptionsComponent;
|
|
302
309
|
BoxSize: typeof BoxSizeComponent;
|
|
303
310
|
CustomTab: typeof CustomTab;
|
|
304
311
|
}, Component_6, Decorator_6>): JSX.Element;
|
|
305
312
|
displayName: string;
|
|
306
313
|
};
|
|
307
314
|
DateTime: {
|
|
308
|
-
<Decorator_7 extends "CodeEditor" | "
|
|
315
|
+
<Decorator_7 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO", Component_7 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO">(props: import("@formily/react").ISchemaTypeFieldProps<{
|
|
309
316
|
FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
|
|
310
317
|
useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
311
318
|
useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
@@ -346,13 +353,14 @@ declare const SchemaField: {
|
|
|
346
353
|
InputWithUrl: typeof InputWithUrlComponent;
|
|
347
354
|
InputWithUnit: typeof InputWithUnitComponent;
|
|
348
355
|
TextAlignRadio: typeof TextAlignRadioComponent;
|
|
356
|
+
CustomOptions: typeof CustomOptionsComponent;
|
|
349
357
|
BoxSize: typeof BoxSizeComponent;
|
|
350
358
|
CustomTab: typeof CustomTab;
|
|
351
359
|
}, Component_7, Decorator_7>): JSX.Element;
|
|
352
360
|
displayName: string;
|
|
353
361
|
};
|
|
354
362
|
Void: {
|
|
355
|
-
<Decorator_8 extends "CodeEditor" | "
|
|
363
|
+
<Decorator_8 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO", Component_8 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO">(props: import("@formily/react").ISchemaTypeFieldProps<{
|
|
356
364
|
FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
|
|
357
365
|
useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
358
366
|
useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
@@ -393,13 +401,14 @@ declare const SchemaField: {
|
|
|
393
401
|
InputWithUrl: typeof InputWithUrlComponent;
|
|
394
402
|
InputWithUnit: typeof InputWithUnitComponent;
|
|
395
403
|
TextAlignRadio: typeof TextAlignRadioComponent;
|
|
404
|
+
CustomOptions: typeof CustomOptionsComponent;
|
|
396
405
|
BoxSize: typeof BoxSizeComponent;
|
|
397
406
|
CustomTab: typeof CustomTab;
|
|
398
407
|
}, Component_8, Decorator_8>): JSX.Element;
|
|
399
408
|
displayName: string;
|
|
400
409
|
};
|
|
401
410
|
Number: {
|
|
402
|
-
<Decorator_9 extends "CodeEditor" | "
|
|
411
|
+
<Decorator_9 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO", Component_9 extends "CodeEditor" | "FormItemWithoutAdvanced" | "InputWithUnit" | "TextAlignRadio" | "ColorPicker" | "BoxSize" | "FormItem" | "CustomTab" | "CustomTab.TabPanel" | "Input" | "Switch" | "FormLayout" | "FormCollapse" | "NumberPicker" | "Radio" | "Select" | "CategoryTitle" | "IconSelect" | "UseChildrenSelect" | "InputWithUrl" | "CustomOptions" | "FormCollapse.CollapsePanel" | "FormItemWithoutAdvanced.BaseItem" | "Input.TextArea" | "Switch.$$typeof" | "FormLayout.useFormLayout" | "FormLayout.useFormDeepLayout" | "FormLayout.useFormShallowLayout" | "FormCollapse.createFormCollapse" | "NumberPicker.$$typeof" | "Radio.Group" | "Radio.$$typeof" | "Radio.__ANT_RADIO">(props: import("@formily/react").ISchemaTypeFieldProps<{
|
|
403
412
|
FormLayout: React.FC<React.PropsWithChildren<import("@formily/antd-v5").IFormLayoutProps>> & {
|
|
404
413
|
useFormLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
405
414
|
useFormDeepLayout: () => import("@formily/antd-v5").IFormLayoutContext;
|
|
@@ -440,53 +449,14 @@ declare const SchemaField: {
|
|
|
440
449
|
InputWithUrl: typeof InputWithUrlComponent;
|
|
441
450
|
InputWithUnit: typeof InputWithUnitComponent;
|
|
442
451
|
TextAlignRadio: typeof TextAlignRadioComponent;
|
|
452
|
+
CustomOptions: typeof CustomOptionsComponent;
|
|
443
453
|
BoxSize: typeof BoxSizeComponent;
|
|
444
454
|
CustomTab: typeof CustomTab;
|
|
445
455
|
}, Component_9, Decorator_9>): JSX.Element;
|
|
446
456
|
displayName: string;
|
|
447
457
|
};
|
|
448
458
|
};
|
|
449
|
-
type
|
|
450
|
-
label: string;
|
|
451
|
-
value: string;
|
|
452
|
-
}[];
|
|
453
|
-
export interface EditorComponentProps {
|
|
454
|
-
advancedMode?: boolean;
|
|
455
|
-
SchemaFieldComponent: typeof SchemaField;
|
|
456
|
-
formilySchemaFormatter: (data: any, advancedMode?: boolean) => ISchema;
|
|
457
|
-
form: Form<any>;
|
|
458
|
-
effects: {
|
|
459
|
-
onFieldInit: typeof onFieldInit;
|
|
460
|
-
onFieldValueChange: typeof onFieldValueChange;
|
|
461
|
-
onFieldInitialValueChange: typeof onFieldInitialValueChange;
|
|
462
|
-
onFormInitialValuesChange: typeof onFormInitialValuesChange;
|
|
463
|
-
onFormValidateSuccess: typeof onFormValidateSuccess;
|
|
464
|
-
onSubmit: (listener: (value: any, form: Form) => any) => void;
|
|
465
|
-
onAdvancedChange: (listener: (advancedMode: boolean, form: Form) => any) => void;
|
|
466
|
-
};
|
|
467
|
-
scope: {
|
|
468
|
-
advancedMode: boolean;
|
|
469
|
-
dataList: DataItem[];
|
|
470
|
-
childSlots: SelectOptions;
|
|
471
|
-
extraLibs: SelectOptions;
|
|
472
|
-
links: any;
|
|
473
|
-
tokenClick: (token: CustomEvent<string>) => void;
|
|
474
|
-
triggerAction: (action: string) => void;
|
|
475
|
-
};
|
|
476
|
-
}
|
|
477
|
-
export interface DefinitionItem {
|
|
478
|
-
name: string;
|
|
479
|
-
type: string;
|
|
480
|
-
enum: string;
|
|
481
|
-
fileds: DefinitionItem[];
|
|
482
|
-
}
|
|
483
|
-
export interface DataItem {
|
|
484
|
-
name: string;
|
|
485
|
-
value: string;
|
|
486
|
-
definition: DefinitionItem[];
|
|
487
|
-
[k: string]: any;
|
|
488
|
-
}
|
|
489
|
-
export { DataNode };
|
|
459
|
+
export type { DataNode };
|
|
490
460
|
/**
|
|
491
461
|
* 构件 `visual-builder.property-editor`
|
|
492
462
|
*/
|
|
@@ -15,5 +15,8 @@ export interface DataNode {
|
|
|
15
15
|
children?: DataNode[];
|
|
16
16
|
[k: string]: any;
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
type formilySchemaFormatterOptions = {
|
|
19
|
+
isDefault: boolean;
|
|
20
|
+
};
|
|
21
|
+
export declare function formilySchemaFormatter(data: DataNode, options?: formilySchemaFormatterOptions | boolean): ISchema;
|
|
19
22
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/visual-builder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.1",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/visual-builder",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"postpublish": "mv package.json.bak package.json"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@next-core/build-next-bricks": "^1.22.
|
|
39
|
-
"@next-core/test-next": "^1.1.
|
|
38
|
+
"@next-core/build-next-bricks": "^1.22.4",
|
|
39
|
+
"@next-core/test-next": "^1.1.5"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@next-bricks/basic": "*",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"@next-bricks/icons": "*",
|
|
45
45
|
"@next-bricks/vs": "*"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "e5255961807b5fa4c2f9359315bcf35cc80340de"
|
|
48
48
|
}
|