@pixpilot/formily-shadcn 0.8.0 → 0.8.2
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/_virtual/rolldown_runtime.cjs +25 -1
- package/dist/_virtual/rolldown_runtime.js +24 -1
- package/dist/components/array-base/array-base.cjs +59 -1
- package/dist/components/array-base/array-base.js +55 -1
- package/dist/components/array-base/array-context.cjs +28 -1
- package/dist/components/array-base/array-context.js +22 -1
- package/dist/components/array-base/component-context.cjs +28 -1
- package/dist/components/array-base/component-context.js +22 -1
- package/dist/components/array-base/components/addition.cjs +51 -1
- package/dist/components/array-base/components/addition.js +45 -1
- package/dist/components/array-base/components/array-copy.cjs +49 -1
- package/dist/components/array-base/components/array-copy.js +42 -1
- package/dist/components/array-base/components/array-index.cjs +15 -1
- package/dist/components/array-base/components/array-index.js +13 -1
- package/dist/components/array-base/components/array-item-label.cjs +22 -1
- package/dist/components/array-base/components/array-item-label.js +19 -1
- package/dist/components/array-base/components/components.cjs +30 -1
- package/dist/components/array-base/components/components.js +29 -1
- package/dist/components/array-base/components/edit.cjs +42 -1
- package/dist/components/array-base/components/edit.js +36 -1
- package/dist/components/array-base/components/empty.cjs +19 -1
- package/dist/components/array-base/components/empty.js +16 -1
- package/dist/components/array-base/components/get-array-components.cjs +88 -1
- package/dist/components/array-base/components/get-array-components.js +84 -1
- package/dist/components/array-base/components/move-down.cjs +47 -1
- package/dist/components/array-base/components/move-down.js +41 -1
- package/dist/components/array-base/components/move-up.cjs +47 -1
- package/dist/components/array-base/components/move-up.js +41 -1
- package/dist/components/array-base/components/remove.cjs +46 -1
- package/dist/components/array-base/components/remove.js +40 -1
- package/dist/components/array-base/components/title.cjs +17 -1
- package/dist/components/array-base/components/title.js +14 -1
- package/dist/components/array-base/components/use-array-components-registry.cjs +56 -1
- package/dist/components/array-base/components/use-array-components-registry.js +52 -1
- package/dist/components/array-base/constants/index.cjs +17 -1
- package/dist/components/array-base/constants/index.js +15 -1
- package/dist/components/array-base/index.cjs +2 -1
- package/dist/components/array-base/index.js +2 -1
- package/dist/components/array-base/utils/filter-and-sort-components.cjs +34 -1
- package/dist/components/array-base/utils/filter-and-sort-components.js +34 -1
- package/dist/components/array-base/utils/is-array-component.cjs +65 -1
- package/dist/components/array-base/utils/is-array-component.js +56 -1
- package/dist/components/array-cards/array-cards.cjs +64 -1
- package/dist/components/array-cards/array-cards.js +60 -1
- package/dist/components/array-cards/index.cjs +1 -1
- package/dist/components/array-cards/index.js +1 -1
- package/dist/components/array-cards/item.cjs +64 -1
- package/dist/components/array-cards/item.js +60 -1
- package/dist/components/array-collapse/array-collapse.cjs +96 -1
- package/dist/components/array-collapse/array-collapse.js +92 -1
- package/dist/components/array-collapse/index.cjs +1 -1
- package/dist/components/array-collapse/index.js +1 -1
- package/dist/components/array-collapse/item.cjs +84 -1
- package/dist/components/array-collapse/item.js +78 -1
- package/dist/components/array-common/array-items-list.cjs +43 -1
- package/dist/components/array-common/array-items-list.js +39 -1
- package/dist/components/array-common/create-active-item-manager.cjs +29 -1
- package/dist/components/array-common/create-active-item-manager.js +27 -1
- package/dist/components/array-common/index.cjs +5 -1
- package/dist/components/array-common/index.js +5 -1
- package/dist/components/array-common/item-wrapper.cjs +26 -1
- package/dist/components/array-common/item-wrapper.js +21 -1
- package/dist/components/array-common/list-item.cjs +53 -1
- package/dist/components/array-common/list-item.js +48 -1
- package/dist/components/array-common/use-array-editor.cjs +47 -1
- package/dist/components/array-common/use-array-editor.js +44 -1
- package/dist/components/array-dialog/array-dialog.cjs +66 -1
- package/dist/components/array-dialog/array-dialog.js +62 -1
- package/dist/components/array-dialog/edit-dialog.cjs +61 -1
- package/dist/components/array-dialog/edit-dialog.js +57 -1
- package/dist/components/array-dialog/index.cjs +1 -1
- package/dist/components/array-dialog/index.js +1 -1
- package/dist/components/array-popover/array-popover.cjs +58 -1
- package/dist/components/array-popover/array-popover.js +53 -1
- package/dist/components/array-popover/index.cjs +1 -1
- package/dist/components/array-popover/index.js +1 -1
- package/dist/components/array-popover/popover.cjs +75 -1
- package/dist/components/array-popover/popover.js +71 -1
- package/dist/components/checkbox.cjs +26 -1
- package/dist/components/checkbox.js +23 -1
- package/dist/components/column.cjs +39 -1
- package/dist/components/column.js +35 -1
- package/dist/components/combobox.cjs +14 -1
- package/dist/components/combobox.js +11 -1
- package/dist/components/context/context.cjs +7 -1
- package/dist/components/context/context.js +7 -1
- package/dist/components/context/form-context.cjs +9 -1
- package/dist/components/context/form-context.js +7 -1
- package/dist/components/context/index.cjs +2 -1
- package/dist/components/context/index.js +2 -1
- package/dist/components/date-picker.cjs +23 -1
- package/dist/components/date-picker.js +19 -1
- package/dist/components/file-upload/file-upload-inline.cjs +35 -1
- package/dist/components/file-upload/file-upload-inline.d.cts +8 -8
- package/dist/components/file-upload/file-upload-inline.js +30 -1
- package/dist/components/file-upload/file-upload.cjs +35 -1
- package/dist/components/file-upload/file-upload.d.cts +8 -8
- package/dist/components/file-upload/file-upload.js +30 -1
- package/dist/components/file-upload/index.cjs +2 -1
- package/dist/components/file-upload/index.js +2 -1
- package/dist/components/file-upload/use-file-upload-feedback.cjs +59 -3
- package/dist/components/file-upload/use-file-upload-feedback.js +53 -3
- package/dist/components/form-grid.cjs +19 -1
- package/dist/components/form-grid.js +15 -1
- package/dist/components/form-item.cjs +118 -3
- package/dist/components/form-item.js +112 -3
- package/dist/components/form-items-container.cjs +28 -1
- package/dist/components/form-items-container.js +24 -1
- package/dist/components/form.cjs +56 -1
- package/dist/components/form.js +51 -1
- package/dist/components/hidden.cjs +26 -1
- package/dist/components/hidden.js +23 -1
- package/dist/components/icon-picker.cjs +37 -1
- package/dist/components/icon-picker.js +33 -1
- package/dist/components/input.cjs +20 -1
- package/dist/components/input.js +17 -1
- package/dist/components/json-schema-form-renderer.cjs +30 -1
- package/dist/components/json-schema-form-renderer.js +26 -1
- package/dist/components/number-input.cjs +19 -1
- package/dist/components/number-input.d.ts +2 -2
- package/dist/components/number-input.js +16 -1
- package/dist/components/object-container.cjs +35 -1
- package/dist/components/object-container.js +32 -1
- package/dist/components/radio.cjs +40 -1
- package/dist/components/radio.js +35 -1
- package/dist/components/rich-text-editor.cjs +27 -1
- package/dist/components/rich-text-editor.js +23 -1
- package/dist/components/row.cjs +39 -1
- package/dist/components/row.js +35 -1
- package/dist/components/schema-field-extended.cjs +25 -1
- package/dist/components/schema-field-extended.d.cts +9 -9
- package/dist/components/schema-field-extended.d.ts +262 -262
- package/dist/components/schema-field-extended.js +23 -1
- package/dist/components/schema-field.cjs +61 -1
- package/dist/components/schema-field.d.cts +9 -9
- package/dist/components/schema-field.d.ts +220 -220
- package/dist/components/schema-field.js +57 -1
- package/dist/components/select.cjs +11 -1
- package/dist/components/select.js +8 -1
- package/dist/components/separator.cjs +15 -1
- package/dist/components/separator.d.ts +2 -2
- package/dist/components/separator.js +12 -1
- package/dist/components/slider.cjs +33 -1
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/slider.js +29 -1
- package/dist/components/switch.cjs +21 -1
- package/dist/components/switch.js +18 -1
- package/dist/components/tags-input-inline.cjs +26 -1
- package/dist/components/tags-input-inline.js +23 -1
- package/dist/components/textarea.cjs +19 -1
- package/dist/components/textarea.js +16 -1
- package/dist/hooks/index.cjs +3 -1
- package/dist/hooks/index.js +3 -1
- package/dist/hooks/use-description.cjs +14 -1
- package/dist/hooks/use-description.js +12 -1
- package/dist/hooks/use-form-context.cjs +13 -1
- package/dist/hooks/use-form-context.js +11 -1
- package/dist/hooks/use-label.cjs +19 -1
- package/dist/hooks/use-label.js +16 -1
- package/dist/index.cjs +102 -1
- package/dist/index.js +35 -1
- package/dist/utils/create-panel-state-manager.cjs +40 -1
- package/dist/utils/create-panel-state-manager.js +38 -1
- package/dist/utils/for-each-schema.cjs +27 -1
- package/dist/utils/for-each-schema.js +26 -1
- package/dist/utils/get-array-item-info.cjs +20 -1
- package/dist/utils/get-array-item-info.js +19 -1
- package/dist/utils/get-default-value.cjs +22 -1
- package/dist/utils/get-default-value.js +20 -1
- package/dist/utils/has-array-item-errors.cjs +15 -1
- package/dist/utils/has-array-item-errors.js +14 -1
- package/dist/utils/has-error.cjs +12 -1
- package/dist/utils/has-error.js +10 -1
- package/dist/utils/index.cjs +10 -1
- package/dist/utils/index.js +10 -1
- package/dist/utils/resolve-responsive-space.cjs +131 -1
- package/dist/utils/resolve-responsive-space.js +123 -1
- package/dist/utils/transform-schema.cjs +45 -1
- package/dist/utils/transform-schema.js +43 -1
- package/dist/utils/use-array-item-editor.cjs +3 -1
- package/dist/utils/use-array-item-editor.js +1 -1
- package/dist/utils/validate-array-item-fields.cjs +22 -1
- package/dist/utils/validate-array-item-fields.js +22 -1
- package/package.json +3 -3
|
@@ -1 +1,23 @@
|
|
|
1
|
-
import{FileUpload
|
|
1
|
+
import { FileUpload } from "./file-upload/file-upload.js";
|
|
2
|
+
import { FileUploadInline } from "./file-upload/file-upload-inline.js";
|
|
3
|
+
import "./file-upload/index.js";
|
|
4
|
+
import { IconPicker } from "./icon-picker.js";
|
|
5
|
+
import { basicComponents } from "./schema-field.js";
|
|
6
|
+
import { RichTextEditor } from "./rich-text-editor.js";
|
|
7
|
+
import { createSchemaField } from "@formily/react";
|
|
8
|
+
|
|
9
|
+
//#region src/components/schema-field-extended.tsx
|
|
10
|
+
/**
|
|
11
|
+
* SchemaField with all Shadcn Formily components pre-registered
|
|
12
|
+
* Use this to render forms from JSON Schema
|
|
13
|
+
*/
|
|
14
|
+
const SchemaFieldExtended = createSchemaField({ components: {
|
|
15
|
+
FileUploadInline,
|
|
16
|
+
IconPicker,
|
|
17
|
+
FileUpload,
|
|
18
|
+
RichTextEditor,
|
|
19
|
+
...basicComponents
|
|
20
|
+
} });
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { SchemaFieldExtended };
|
|
@@ -1 +1,61 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_array_cards = require('./array-cards/array-cards.cjs');
|
|
3
|
+
require('./array-cards/index.cjs');
|
|
4
|
+
const require_array_collapse = require('./array-collapse/array-collapse.cjs');
|
|
5
|
+
require('./array-collapse/index.cjs');
|
|
6
|
+
const require_checkbox = require('./checkbox.cjs');
|
|
7
|
+
const require_column = require('./column.cjs');
|
|
8
|
+
const require_combobox = require('./combobox.cjs');
|
|
9
|
+
const require_date_picker = require('./date-picker.cjs');
|
|
10
|
+
const require_form_grid = require('./form-grid.cjs');
|
|
11
|
+
const require_form_item = require('./form-item.cjs');
|
|
12
|
+
const require_input = require('./input.cjs');
|
|
13
|
+
const require_array_dialog = require('./array-dialog/array-dialog.cjs');
|
|
14
|
+
require('./array-dialog/index.cjs');
|
|
15
|
+
const require_array_popover = require('./array-popover/array-popover.cjs');
|
|
16
|
+
require('./array-popover/index.cjs');
|
|
17
|
+
const require_hidden = require('./hidden.cjs');
|
|
18
|
+
const require_number_input = require('./number-input.cjs');
|
|
19
|
+
const require_object_container = require('./object-container.cjs');
|
|
20
|
+
const require_radio = require('./radio.cjs');
|
|
21
|
+
const require_row = require('./row.cjs');
|
|
22
|
+
const require_select = require('./select.cjs');
|
|
23
|
+
const require_separator = require('./separator.cjs');
|
|
24
|
+
const require_slider = require('./slider.cjs');
|
|
25
|
+
const require_switch = require('./switch.cjs');
|
|
26
|
+
const require_textarea = require('./textarea.cjs');
|
|
27
|
+
let __formily_react = require("@formily/react");
|
|
28
|
+
__formily_react = require_rolldown_runtime.__toESM(__formily_react);
|
|
29
|
+
let __pixpilot_shadcn_ui = require("@pixpilot/shadcn-ui");
|
|
30
|
+
__pixpilot_shadcn_ui = require_rolldown_runtime.__toESM(__pixpilot_shadcn_ui);
|
|
31
|
+
|
|
32
|
+
//#region src/components/schema-field.tsx
|
|
33
|
+
const basicComponents = {
|
|
34
|
+
FormItem: require_form_item.FormItem,
|
|
35
|
+
Hidden: require_hidden.Hidden,
|
|
36
|
+
Input: require_input.Input,
|
|
37
|
+
Textarea: require_textarea.Textarea,
|
|
38
|
+
NumberInput: require_number_input.NumberInput,
|
|
39
|
+
Checkbox: require_checkbox.Checkbox,
|
|
40
|
+
Radio: require_radio.ConnectedRadio,
|
|
41
|
+
Select: require_select.Select,
|
|
42
|
+
Switch: require_switch.Switch,
|
|
43
|
+
DatePicker: require_date_picker.DatePicker,
|
|
44
|
+
Row: require_row.Row,
|
|
45
|
+
Column: require_column.Column,
|
|
46
|
+
FormGrid: require_form_grid.FormGrid,
|
|
47
|
+
Combobox: require_combobox.Combobox,
|
|
48
|
+
TagsInput: __pixpilot_shadcn_ui.TagsInput,
|
|
49
|
+
Separator: require_separator.Separator,
|
|
50
|
+
Slider: require_slider.Slider,
|
|
51
|
+
ArrayCards: require_array_cards.ArrayCards,
|
|
52
|
+
ArrayDialog: require_array_dialog.ArrayDialog,
|
|
53
|
+
ArrayCollapse: require_array_collapse.ArrayCollapse,
|
|
54
|
+
ArrayPopover: require_array_popover.ArrayPopover,
|
|
55
|
+
ObjectContainer: require_object_container.ObjectContainer
|
|
56
|
+
};
|
|
57
|
+
const SchemaField = (0, __formily_react.createSchemaField)({ components: basicComponents });
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
exports.SchemaField = SchemaField;
|
|
61
|
+
exports.basicComponents = basicComponents;
|
|
@@ -62,7 +62,7 @@ declare const SchemaField: {
|
|
|
62
62
|
<Decorator extends _formily_react0.JSXComponent, Component extends _formily_react0.JSXComponent>(props: _formily_react0.ISchemaFieldProps<Decorator, Component, _formily_core0.ObjectField<Decorator, Component>>): JSX.Element;
|
|
63
63
|
displayName: string;
|
|
64
64
|
Markup: {
|
|
65
|
-
<Decorator_1 extends "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "
|
|
65
|
+
<Decorator_1 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_1 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react0.ISchemaMarkupFieldProps<{
|
|
66
66
|
FormItem: react14.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
67
67
|
children?: react14.ReactNode | undefined;
|
|
68
68
|
}>, "ref"> & react14.RefAttributes<unknown>>;
|
|
@@ -107,7 +107,7 @@ declare const SchemaField: {
|
|
|
107
107
|
displayName: string;
|
|
108
108
|
};
|
|
109
109
|
String: {
|
|
110
|
-
<Decorator_2 extends "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "
|
|
110
|
+
<Decorator_2 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_2 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react0.ISchemaTypeFieldProps<{
|
|
111
111
|
FormItem: react14.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
112
112
|
children?: react14.ReactNode | undefined;
|
|
113
113
|
}>, "ref"> & react14.RefAttributes<unknown>>;
|
|
@@ -152,7 +152,7 @@ declare const SchemaField: {
|
|
|
152
152
|
displayName: string;
|
|
153
153
|
};
|
|
154
154
|
Object: {
|
|
155
|
-
<Decorator_3 extends "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "
|
|
155
|
+
<Decorator_3 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_3 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react0.ISchemaTypeFieldProps<{
|
|
156
156
|
FormItem: react14.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
157
157
|
children?: react14.ReactNode | undefined;
|
|
158
158
|
}>, "ref"> & react14.RefAttributes<unknown>>;
|
|
@@ -197,7 +197,7 @@ declare const SchemaField: {
|
|
|
197
197
|
displayName: string;
|
|
198
198
|
};
|
|
199
199
|
Array: {
|
|
200
|
-
<Decorator_4 extends "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "
|
|
200
|
+
<Decorator_4 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_4 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react0.ISchemaTypeFieldProps<{
|
|
201
201
|
FormItem: react14.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
202
202
|
children?: react14.ReactNode | undefined;
|
|
203
203
|
}>, "ref"> & react14.RefAttributes<unknown>>;
|
|
@@ -242,7 +242,7 @@ declare const SchemaField: {
|
|
|
242
242
|
displayName: string;
|
|
243
243
|
};
|
|
244
244
|
Boolean: {
|
|
245
|
-
<Decorator_5 extends "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "
|
|
245
|
+
<Decorator_5 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_5 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react0.ISchemaTypeFieldProps<{
|
|
246
246
|
FormItem: react14.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
247
247
|
children?: react14.ReactNode | undefined;
|
|
248
248
|
}>, "ref"> & react14.RefAttributes<unknown>>;
|
|
@@ -287,7 +287,7 @@ declare const SchemaField: {
|
|
|
287
287
|
displayName: string;
|
|
288
288
|
};
|
|
289
289
|
Date: {
|
|
290
|
-
<Decorator_6 extends "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "
|
|
290
|
+
<Decorator_6 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_6 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react0.ISchemaTypeFieldProps<{
|
|
291
291
|
FormItem: react14.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
292
292
|
children?: react14.ReactNode | undefined;
|
|
293
293
|
}>, "ref"> & react14.RefAttributes<unknown>>;
|
|
@@ -332,7 +332,7 @@ declare const SchemaField: {
|
|
|
332
332
|
displayName: string;
|
|
333
333
|
};
|
|
334
334
|
DateTime: {
|
|
335
|
-
<Decorator_7 extends "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "
|
|
335
|
+
<Decorator_7 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_7 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react0.ISchemaTypeFieldProps<{
|
|
336
336
|
FormItem: react14.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
337
337
|
children?: react14.ReactNode | undefined;
|
|
338
338
|
}>, "ref"> & react14.RefAttributes<unknown>>;
|
|
@@ -377,7 +377,7 @@ declare const SchemaField: {
|
|
|
377
377
|
displayName: string;
|
|
378
378
|
};
|
|
379
379
|
Void: {
|
|
380
|
-
<Decorator_8 extends "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "
|
|
380
|
+
<Decorator_8 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_8 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react0.ISchemaTypeFieldProps<{
|
|
381
381
|
FormItem: react14.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
382
382
|
children?: react14.ReactNode | undefined;
|
|
383
383
|
}>, "ref"> & react14.RefAttributes<unknown>>;
|
|
@@ -422,7 +422,7 @@ declare const SchemaField: {
|
|
|
422
422
|
displayName: string;
|
|
423
423
|
};
|
|
424
424
|
Number: {
|
|
425
|
-
<Decorator_9 extends "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "
|
|
425
|
+
<Decorator_9 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord", Component_9 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "ArrayCards.Addition" | "ArrayCards.Remove" | "ArrayCards.MoveUp" | "ArrayCards.MoveDown" | "ArrayCards.Edit" | "ArrayCards.Index" | "ArrayCards.Empty" | "ArrayCards.Copy" | "ArrayCards.Label" | "ArrayCards.useArray" | "ArrayCards.useIndex" | "ArrayCards.useRecord">(props: _formily_react0.ISchemaTypeFieldProps<{
|
|
426
426
|
FormItem: react14.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
427
427
|
children?: react14.ReactNode | undefined;
|
|
428
428
|
}>, "ref"> & react14.RefAttributes<unknown>>;
|