@pixpilot/formily-shadcn 0.1.1 → 0.1.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/README.md +4 -4
- package/dist/components/date-picker.d.ts +5 -5
- package/dist/components/form-grid.d.cts +2 -2
- package/dist/components/form-grid.d.ts +2 -2
- package/dist/components/form.d.cts +2 -2
- package/dist/components/form.d.ts +2 -2
- package/dist/components/input.d.cts +2 -2
- package/dist/components/input.d.ts +2 -2
- package/dist/components/number-input.d.cts +2 -2
- package/dist/components/number-input.d.ts +2 -2
- package/dist/components/radio.d.cts +2 -2
- package/dist/components/radio.d.ts +2 -2
- package/dist/components/row.d.cts +2 -2
- package/dist/components/row.d.ts +2 -2
- package/dist/components/schema-field.d.cts +9 -9
- package/dist/components/schema-field.d.ts +181 -181
- package/dist/components/separator.d.cts +2 -2
- package/dist/components/separator.d.ts +3 -3
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/switch.d.cts +2 -2
- package/dist/components/switch.d.ts +3 -3
- package/dist/components/tags-input-inline.d.ts +3 -3
- package/dist/components/textarea.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @pixpilot/shadcn
|
|
1
|
+
# @pixpilot/formily-shadcn
|
|
2
2
|
|
|
3
3
|
Formily integration for shadcn/ui components. Build powerful, schema-driven forms with shadcn/ui's beautiful components and Formily's reactive form management.
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ Formily integration for shadcn/ui components. Build powerful, schema-driven form
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
pnpm add @pixpilot/shadcn
|
|
18
|
+
pnpm add @pixpilot/formily-shadcn @formily/core @formily/react
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Quick Start
|
|
@@ -23,7 +23,7 @@ pnpm add @pixpilot/shadcn-formily @formily/core @formily/react
|
|
|
23
23
|
### Basic Form
|
|
24
24
|
|
|
25
25
|
```tsx
|
|
26
|
-
import { createForm, Form, SchemaField } from '@pixpilot/shadcn
|
|
26
|
+
import { createForm, Form, SchemaField } from '@pixpilot/formily-shadcn';
|
|
27
27
|
|
|
28
28
|
const form = createForm();
|
|
29
29
|
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
ArrayField as FormilyArrayField,
|
|
98
98
|
FormItem,
|
|
99
99
|
Input,
|
|
100
|
-
} from '@pixpilot/shadcn
|
|
100
|
+
} from '@pixpilot/formily-shadcn';
|
|
101
101
|
|
|
102
102
|
<FormilyArrayField name="contacts">
|
|
103
103
|
{(field) => (
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react348 from "react";
|
|
2
|
+
import * as react_day_picker8 from "react-day-picker";
|
|
3
3
|
|
|
4
4
|
//#region src/components/date-picker.d.ts
|
|
5
|
-
declare const DatePicker:
|
|
5
|
+
declare const DatePicker: react348.ForwardRefExoticComponent<Partial<{
|
|
6
6
|
value?: Date;
|
|
7
7
|
onChange?: (date: Date | undefined) => void;
|
|
8
8
|
placeholder?: string;
|
|
@@ -10,8 +10,8 @@ declare const DatePicker: react2.ForwardRefExoticComponent<Partial<{
|
|
|
10
10
|
value?: Date;
|
|
11
11
|
onChange?: (date: Date | undefined) => void;
|
|
12
12
|
placeholder?: string;
|
|
13
|
-
} & Omit<
|
|
13
|
+
} & Omit<react_day_picker8.DayPickerProps & {
|
|
14
14
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
15
|
-
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> &
|
|
15
|
+
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react348.RefAttributes<unknown>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DatePicker };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/form-grid.d.ts
|
|
5
5
|
interface IFormGridProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
@@ -7,6 +7,6 @@ declare function FormGrid({
|
|
|
7
7
|
className,
|
|
8
8
|
children,
|
|
9
9
|
...rest
|
|
10
|
-
}: IFormGridProps):
|
|
10
|
+
}: IFormGridProps): react_jsx_runtime1.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { FormGrid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/form-grid.d.ts
|
|
5
5
|
interface IFormGridProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
@@ -7,6 +7,6 @@ declare function FormGrid({
|
|
|
7
7
|
className,
|
|
8
8
|
children,
|
|
9
9
|
...rest
|
|
10
|
-
}: IFormGridProps):
|
|
10
|
+
}: IFormGridProps): react_jsx_runtime0.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { FormGrid };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Form } from "@formily/core";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/form.d.ts
|
|
6
6
|
interface IFormProps {
|
|
@@ -21,6 +21,6 @@ declare function Form$1({
|
|
|
21
21
|
children,
|
|
22
22
|
onSubmit,
|
|
23
23
|
onAutoSubmit
|
|
24
|
-
}: IFormProps):
|
|
24
|
+
}: IFormProps): react_jsx_runtime0.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Form$1 as Form };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
import { Form } from "@formily/core";
|
|
4
4
|
|
|
5
5
|
//#region src/components/form.d.ts
|
|
@@ -21,6 +21,6 @@ declare function Form$1({
|
|
|
21
21
|
children,
|
|
22
22
|
onSubmit,
|
|
23
23
|
onAutoSubmit
|
|
24
|
-
}: IFormProps):
|
|
24
|
+
}: IFormProps): react_jsx_runtime2.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Form$1 as Form };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react4 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/input.d.ts
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as react8 from "react";
|
|
|
6
6
|
* Formily-connected Input component
|
|
7
7
|
* Automatically connects shadcn Input to Formily field state
|
|
8
8
|
*/
|
|
9
|
-
declare const Input:
|
|
9
|
+
declare const Input: react4.ForwardRefExoticComponent<Omit<Partial<react4.ClassAttributes<HTMLInputElement> & react4.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react4.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Input };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react13 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/input.d.ts
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as react332 from "react";
|
|
|
6
6
|
* Formily-connected Input component
|
|
7
7
|
* Automatically connects shadcn Input to Formily field state
|
|
8
8
|
*/
|
|
9
|
-
declare const Input:
|
|
9
|
+
declare const Input: react13.ForwardRefExoticComponent<Omit<Partial<react13.ClassAttributes<HTMLInputElement> & react13.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react13.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Input };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react8 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/number-input.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Formily-connected Number Input component
|
|
6
6
|
*/
|
|
7
|
-
declare const NumberInput:
|
|
7
|
+
declare const NumberInput: react8.ForwardRefExoticComponent<Omit<Partial<react8.ClassAttributes<HTMLInputElement> & react8.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react8.RefAttributes<unknown>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NumberInput };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react2 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/number-input.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Formily-connected Number Input component
|
|
6
6
|
*/
|
|
7
|
-
declare const NumberInput:
|
|
7
|
+
declare const NumberInput: react2.ForwardRefExoticComponent<Omit<Partial<react2.ClassAttributes<HTMLInputElement> & react2.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react2.RefAttributes<unknown>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NumberInput };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, FC } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
import { RadioGroup } from "@pixpilot/shadcn";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio.d.ts
|
|
@@ -15,7 +15,7 @@ type RadioProps = {
|
|
|
15
15
|
/**
|
|
16
16
|
* Radio component with options rendering
|
|
17
17
|
*/
|
|
18
|
-
declare function Radio(props: RadioProps):
|
|
18
|
+
declare function Radio(props: RadioProps): react_jsx_runtime2.JSX.Element;
|
|
19
19
|
declare namespace Radio {
|
|
20
20
|
var displayName: string;
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, FC } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
import { RadioGroup } from "@pixpilot/shadcn";
|
|
4
4
|
|
|
5
5
|
//#region src/components/radio.d.ts
|
|
@@ -15,7 +15,7 @@ type RadioProps = {
|
|
|
15
15
|
/**
|
|
16
16
|
* Radio component with options rendering
|
|
17
17
|
*/
|
|
18
|
-
declare function Radio(props: RadioProps):
|
|
18
|
+
declare function Radio(props: RadioProps): react_jsx_runtime1.JSX.Element;
|
|
19
19
|
declare namespace Radio {
|
|
20
20
|
var displayName: string;
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/row.d.ts
|
|
5
5
|
interface IRowProps {
|
|
@@ -36,6 +36,6 @@ interface IRowProps {
|
|
|
36
36
|
declare function Row({
|
|
37
37
|
className,
|
|
38
38
|
children
|
|
39
|
-
}: IRowProps):
|
|
39
|
+
}: IRowProps): react_jsx_runtime3.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { Row };
|
package/dist/components/row.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/row.d.ts
|
|
5
5
|
interface IRowProps {
|
|
@@ -36,6 +36,6 @@ interface IRowProps {
|
|
|
36
36
|
declare function Row({
|
|
37
37
|
className,
|
|
38
38
|
children
|
|
39
|
-
}: IRowProps):
|
|
39
|
+
}: IRowProps): react_jsx_runtime3.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { Row };
|
|
@@ -23,7 +23,7 @@ declare const SchemaField: {
|
|
|
23
23
|
<Decorator extends _formily_react0.JSXComponent, Component extends _formily_react0.JSXComponent>(props: _formily_react0.ISchemaFieldProps<Decorator, Component, _formily_core0.ObjectField<Decorator, Component>>): JSX.Element;
|
|
24
24
|
displayName: string;
|
|
25
25
|
Markup: {
|
|
26
|
-
<Decorator_1 extends "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "
|
|
26
|
+
<Decorator_1 extends "Radio" | "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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<{
|
|
27
27
|
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
28
28
|
children?: react12.ReactNode | undefined;
|
|
29
29
|
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -64,7 +64,7 @@ declare const SchemaField: {
|
|
|
64
64
|
displayName: string;
|
|
65
65
|
};
|
|
66
66
|
String: {
|
|
67
|
-
<Decorator_2 extends "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "
|
|
67
|
+
<Decorator_2 extends "Radio" | "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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<{
|
|
68
68
|
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
69
69
|
children?: react12.ReactNode | undefined;
|
|
70
70
|
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -105,7 +105,7 @@ declare const SchemaField: {
|
|
|
105
105
|
displayName: string;
|
|
106
106
|
};
|
|
107
107
|
Object: {
|
|
108
|
-
<Decorator_3 extends "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "
|
|
108
|
+
<Decorator_3 extends "Radio" | "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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<{
|
|
109
109
|
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
110
110
|
children?: react12.ReactNode | undefined;
|
|
111
111
|
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -146,7 +146,7 @@ declare const SchemaField: {
|
|
|
146
146
|
displayName: string;
|
|
147
147
|
};
|
|
148
148
|
Array: {
|
|
149
|
-
<Decorator_4 extends "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "
|
|
149
|
+
<Decorator_4 extends "Radio" | "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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<{
|
|
150
150
|
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
151
151
|
children?: react12.ReactNode | undefined;
|
|
152
152
|
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -187,7 +187,7 @@ declare const SchemaField: {
|
|
|
187
187
|
displayName: string;
|
|
188
188
|
};
|
|
189
189
|
Boolean: {
|
|
190
|
-
<Decorator_5 extends "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "
|
|
190
|
+
<Decorator_5 extends "Radio" | "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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<{
|
|
191
191
|
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
192
192
|
children?: react12.ReactNode | undefined;
|
|
193
193
|
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -228,7 +228,7 @@ declare const SchemaField: {
|
|
|
228
228
|
displayName: string;
|
|
229
229
|
};
|
|
230
230
|
Date: {
|
|
231
|
-
<Decorator_6 extends "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "
|
|
231
|
+
<Decorator_6 extends "Radio" | "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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<{
|
|
232
232
|
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
233
233
|
children?: react12.ReactNode | undefined;
|
|
234
234
|
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -269,7 +269,7 @@ declare const SchemaField: {
|
|
|
269
269
|
displayName: string;
|
|
270
270
|
};
|
|
271
271
|
DateTime: {
|
|
272
|
-
<Decorator_7 extends "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "
|
|
272
|
+
<Decorator_7 extends "Radio" | "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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<{
|
|
273
273
|
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
274
274
|
children?: react12.ReactNode | undefined;
|
|
275
275
|
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -310,7 +310,7 @@ declare const SchemaField: {
|
|
|
310
310
|
displayName: string;
|
|
311
311
|
};
|
|
312
312
|
Void: {
|
|
313
|
-
<Decorator_8 extends "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "
|
|
313
|
+
<Decorator_8 extends "Radio" | "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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<{
|
|
314
314
|
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
315
315
|
children?: react12.ReactNode | undefined;
|
|
316
316
|
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -351,7 +351,7 @@ declare const SchemaField: {
|
|
|
351
351
|
displayName: string;
|
|
352
352
|
};
|
|
353
353
|
Number: {
|
|
354
|
-
<Decorator_9 extends "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "
|
|
354
|
+
<Decorator_9 extends "Radio" | "FormItem" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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" | "FormGrid" | "Row" | "Column" | "Input" | "Textarea" | "Checkbox" | "Select" | "NumberInput" | "DatePicker" | "Combobox" | "TagsInput" | "FileUploadInline" | "Separator" | "Slider" | "Switch" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "FormItem.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "Checkbox.$$typeof" | "NumberInput.$$typeof" | "DatePicker.$$typeof" | "FileUploadInline.$$typeof" | "Separator.$$typeof" | "Slider.$$typeof" | "Switch.$$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<{
|
|
355
355
|
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
356
356
|
children?: react12.ReactNode | undefined;
|
|
357
357
|
}>, "ref"> & react12.RefAttributes<unknown>>;
|