@pixpilot/formily-shadcn 0.1.3 → 0.1.4
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/components/form-grid.d.ts +2 -2
- package/dist/components/form-item.cjs +1 -1
- package/dist/components/form-item.js +1 -1
- package/dist/components/form.d.ts +2 -2
- package/dist/components/input.d.ts +2 -2
- package/dist/components/number-input.d.ts +2 -2
- package/dist/components/radio.d.ts +2 -2
- package/dist/components/row.d.ts +2 -2
- package/dist/components/schema-field.d.ts +172 -172
- package/dist/components/separator.d.ts +3 -3
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/tags-input-inline.d.ts +2 -2
- package/dist/components/textarea.d.ts +2 -2
- package/package.json +2 -2
|
@@ -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,3 +1,3 @@
|
|
|
1
1
|
const e=require(`../_virtual/rolldown_runtime.cjs`);let t=require(`@formily/react`);t=e.__toESM(t);let n=require(`react`);n=e.__toESM(n);let r=require(`react/jsx-runtime`);r=e.__toESM(r);let i=require(`@pixpilot/shadcn`);i=e.__toESM(i);let a=require(`@formily/core`);a=e.__toESM(a);const o=({className:e,children:a,label:o,description:s,asterisk:c,feedbackStatus:l,feedbackText:u,labelPlacement:d=`top`,...f})=>{let p=(0,t.useField)(),m=(p?.componentProps??{}).labelPlacement??d,h=p?.componentProps?.id??`form-${p?.address?.toString()?.replace(/\./gu,`-`)}`,g=n.default.useId(),_=n.default.useId(),v=[s==null?void 0:g,u==null?void 0:_].filter(Boolean).join(` `),y=o!=null&&(0,r.jsxs)(`label`,{htmlFor:h,"data-slot":`form-label`,"data-error":l===`error`,className:(0,i.cn)(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`,l===`error`&&`text-destructive`,(m===`end`||m===`start`)&&`shrink-0`),children:[o,c&&(0,r.jsx)(`span`,{className:`text-destructive ml-1`,"aria-label":`required`,children:`*`})]}),b=(0,r.jsx)(`div`,{className:`relative`,children:n.default.isValidElement(a)?n.default.cloneElement(a,{id:h,"aria-describedby":v||void 0,"aria-invalid":l===`error`?`true`:void 0}):a}),x=(0,r.jsxs)(r.Fragment,{children:[m===`top`&&y,s!=null&&m===`top`&&(0,r.jsx)(`p`,{id:g,className:`text-muted-foreground text-[0.8rem]`,children:s}),(m===`start`||m===`end`)&&(0,r.jsxs)(`div`,{className:(0,i.cn)(`flex items-center gap-2`,m===`start`&&`flex-row`),children:[m===`start`&&y,b,m===`end`&&y]}),m===`top`&&b,s!=null&&(m===`start`||m===`end`)&&(0,r.jsx)(`p`,{id:g,className:`text-muted-foreground text-[0.8rem]`,children:s})]});return(0,r.jsxs)(`div`,{"data-slot":`form-item`,className:(0,i.cn)(`flex flex-col gap-2`,e),...f,children:[x,!!u&&(0,r.jsx)(`p`,{id:_,className:(0,i.cn)(`text-[0.8rem]`,l===`error`&&`text-destructive font-medium`,l===`warning`&&`text-amber-600`,l===`success`&&`text-green-600`),children:typeof u==`string`?u.split(`
|
|
2
2
|
`).map((e,t)=>(0,r.jsxs)(n.default.Fragment,{children:[e,t<u.split(`
|
|
3
|
-
`).length-1&&(0,r.jsx)(`br`,{})]},t)):u})]})},s=(0,t.connect)(o,(0,t.mapProps)((e,t)=>(0,a.isVoidField)(t)?{label:t.title??e.label,description:e.description??t.description,asterisk:e.asterisk
|
|
3
|
+
`).length-1&&(0,r.jsx)(`br`,{})]},t)):u})]})},s=(0,t.connect)(o,(0,t.mapProps)((e,t)=>(0,a.isVoidField)(t)?{label:t.title??e.label,description:e.description??t.description,asterisk:e.asterisk}:{label:e.label??t.title,description:e.description??t.description,feedbackStatus:(()=>{if(!t.validating){if(t.selfErrors?.length)return`error`;if(t.selfWarnings?.length)return`warning`;if(t.selfSuccesses?.length)return`success`}})(),feedbackText:(()=>{if(!t.validating){if(e.feedbackText!=null)return e.feedbackText;if(t.selfErrors?.length)return t.selfErrors.join(`, `);if(t.selfWarnings?.length)return t.selfWarnings.join(`, `);if(t.selfSuccesses?.length)return t.selfSuccesses.join(`, `)}})(),asterisk:(()=>t.required&&t.pattern!==`readPretty`?!0:`asterisk`in e?!!e.asterisk:!1)()}));exports.FormItem=s;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import{connect as e,mapProps as t,useField as n}from"@formily/react";import r from"react";import{Fragment as i,jsx as a,jsxs as o}from"react/jsx-runtime";import{cn as s}from"@pixpilot/shadcn";import{isVoidField as c}from"@formily/core";const l=e(({className:e,children:t,label:c,description:l,asterisk:u,feedbackStatus:d,feedbackText:f,labelPlacement:p=`top`,...m})=>{let h=n(),g=(h?.componentProps??{}).labelPlacement??p,_=h?.componentProps?.id??`form-${h?.address?.toString()?.replace(/\./gu,`-`)}`,v=r.useId(),y=r.useId(),b=[l==null?void 0:v,f==null?void 0:y].filter(Boolean).join(` `),x=c!=null&&o(`label`,{htmlFor:_,"data-slot":`form-label`,"data-error":d===`error`,className:s(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`,d===`error`&&`text-destructive`,(g===`end`||g===`start`)&&`shrink-0`),children:[c,u&&a(`span`,{className:`text-destructive ml-1`,"aria-label":`required`,children:`*`})]}),S=a(`div`,{className:`relative`,children:r.isValidElement(t)?r.cloneElement(t,{id:_,"aria-describedby":b||void 0,"aria-invalid":d===`error`?`true`:void 0}):t}),C=o(i,{children:[g===`top`&&x,l!=null&&g===`top`&&a(`p`,{id:v,className:`text-muted-foreground text-[0.8rem]`,children:l}),(g===`start`||g===`end`)&&o(`div`,{className:s(`flex items-center gap-2`,g===`start`&&`flex-row`),children:[g===`start`&&x,S,g===`end`&&x]}),g===`top`&&S,l!=null&&(g===`start`||g===`end`)&&a(`p`,{id:v,className:`text-muted-foreground text-[0.8rem]`,children:l})]});return o(`div`,{"data-slot":`form-item`,className:s(`flex flex-col gap-2`,e),...m,children:[C,!!f&&a(`p`,{id:y,className:s(`text-[0.8rem]`,d===`error`&&`text-destructive font-medium`,d===`warning`&&`text-amber-600`,d===`success`&&`text-green-600`),children:typeof f==`string`?f.split(`
|
|
2
2
|
`).map((e,t)=>o(r.Fragment,{children:[e,t<f.split(`
|
|
3
|
-
`).length-1&&a(`br`,{})]},t)):f})]})},t((e,t)=>c(t)?{label:t.title??e.label,description:e.description??t.description,asterisk:e.asterisk
|
|
3
|
+
`).length-1&&a(`br`,{})]},t)):f})]})},t((e,t)=>c(t)?{label:t.title??e.label,description:e.description??t.description,asterisk:e.asterisk}:{label:e.label??t.title,description:e.description??t.description,feedbackStatus:(()=>{if(!t.validating){if(t.selfErrors?.length)return`error`;if(t.selfWarnings?.length)return`warning`;if(t.selfSuccesses?.length)return`success`}})(),feedbackText:(()=>{if(!t.validating){if(e.feedbackText!=null)return e.feedbackText;if(t.selfErrors?.length)return t.selfErrors.join(`, `);if(t.selfWarnings?.length)return t.selfWarnings.join(`, `);if(t.selfSuccesses?.length)return t.selfSuccesses.join(`, `)}})(),asterisk:(()=>t.required&&t.pattern!==`readPretty`?!0:`asterisk`in e?!!e.asterisk:!1)()}));export{l as FormItem};
|
|
@@ -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
|
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_runtime1.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,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,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
|
}
|
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 };
|
|
@@ -5,7 +5,7 @@ import { FormGrid } from "./form-grid.js";
|
|
|
5
5
|
import { FormItemProps } from "./form-item.js";
|
|
6
6
|
import { Row } from "./row.js";
|
|
7
7
|
import * as _formily_react0 from "@formily/react";
|
|
8
|
-
import * as
|
|
8
|
+
import * as react12 from "react";
|
|
9
9
|
import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
|
|
10
10
|
import { TagsInput } from "@pixpilot/shadcn-ui";
|
|
11
11
|
import * as _formily_core0 from "@formily/core";
|
|
@@ -24,19 +24,19 @@ declare const SchemaField: {
|
|
|
24
24
|
displayName: string;
|
|
25
25
|
Markup: {
|
|
26
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
|
-
FormItem:
|
|
28
|
-
children?:
|
|
29
|
-
}>, "ref"> &
|
|
27
|
+
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
28
|
+
children?: react12.ReactNode | undefined;
|
|
29
|
+
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
30
30
|
FormGrid: typeof FormGrid;
|
|
31
31
|
Row: typeof Row;
|
|
32
32
|
Column: typeof Column;
|
|
33
|
-
Input:
|
|
34
|
-
Textarea:
|
|
35
|
-
Checkbox:
|
|
36
|
-
Radio:
|
|
37
|
-
Select:
|
|
38
|
-
NumberInput:
|
|
39
|
-
DatePicker:
|
|
33
|
+
Input: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
34
|
+
Textarea: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLTextAreaElement> & react12.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
35
|
+
Checkbox: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
36
|
+
Radio: react12.FC;
|
|
37
|
+
Select: react12.FC;
|
|
38
|
+
NumberInput: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
39
|
+
DatePicker: react12.ForwardRefExoticComponent<Partial<{
|
|
40
40
|
value?: Date;
|
|
41
41
|
onChange?: (date: Date | undefined) => void;
|
|
42
42
|
placeholder?: string;
|
|
@@ -46,38 +46,38 @@ declare const SchemaField: {
|
|
|
46
46
|
placeholder?: string;
|
|
47
47
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
48
48
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
49
|
-
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> &
|
|
50
|
-
Combobox:
|
|
49
|
+
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react12.RefAttributes<unknown>>;
|
|
50
|
+
Combobox: react12.FC;
|
|
51
51
|
TagsInput: typeof TagsInput;
|
|
52
|
-
FileUploadInline:
|
|
53
|
-
Separator:
|
|
54
|
-
Slider:
|
|
55
|
-
Switch:
|
|
52
|
+
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
53
|
+
Separator: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react12.RefAttributes<HTMLDivElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
54
|
+
Slider: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
55
|
+
Switch: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
56
56
|
ArrayCards: ComposedArrayProps;
|
|
57
|
-
ArrayDialog:
|
|
58
|
-
ArrayCollapse:
|
|
57
|
+
ArrayDialog: react12.FC<ArrayComponentProps>;
|
|
58
|
+
ArrayCollapse: react12.FC<ArrayComponentProps & {
|
|
59
59
|
defaultActiveKey?: Array<string | number>;
|
|
60
60
|
mode?: "accordion" | "multiple";
|
|
61
61
|
}>;
|
|
62
|
-
ArrayPopover:
|
|
62
|
+
ArrayPopover: react12.FC<ArrayComponentProps>;
|
|
63
63
|
}, Component_1, Decorator_1>): JSX.Element;
|
|
64
64
|
displayName: string;
|
|
65
65
|
};
|
|
66
66
|
String: {
|
|
67
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
|
-
FormItem:
|
|
69
|
-
children?:
|
|
70
|
-
}>, "ref"> &
|
|
68
|
+
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
69
|
+
children?: react12.ReactNode | undefined;
|
|
70
|
+
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
71
71
|
FormGrid: typeof FormGrid;
|
|
72
72
|
Row: typeof Row;
|
|
73
73
|
Column: typeof Column;
|
|
74
|
-
Input:
|
|
75
|
-
Textarea:
|
|
76
|
-
Checkbox:
|
|
77
|
-
Radio:
|
|
78
|
-
Select:
|
|
79
|
-
NumberInput:
|
|
80
|
-
DatePicker:
|
|
74
|
+
Input: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
75
|
+
Textarea: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLTextAreaElement> & react12.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
76
|
+
Checkbox: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
77
|
+
Radio: react12.FC;
|
|
78
|
+
Select: react12.FC;
|
|
79
|
+
NumberInput: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
80
|
+
DatePicker: react12.ForwardRefExoticComponent<Partial<{
|
|
81
81
|
value?: Date;
|
|
82
82
|
onChange?: (date: Date | undefined) => void;
|
|
83
83
|
placeholder?: string;
|
|
@@ -87,38 +87,38 @@ declare const SchemaField: {
|
|
|
87
87
|
placeholder?: string;
|
|
88
88
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
89
89
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
90
|
-
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> &
|
|
91
|
-
Combobox:
|
|
90
|
+
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react12.RefAttributes<unknown>>;
|
|
91
|
+
Combobox: react12.FC;
|
|
92
92
|
TagsInput: typeof TagsInput;
|
|
93
|
-
FileUploadInline:
|
|
94
|
-
Separator:
|
|
95
|
-
Slider:
|
|
96
|
-
Switch:
|
|
93
|
+
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
94
|
+
Separator: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react12.RefAttributes<HTMLDivElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
95
|
+
Slider: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
96
|
+
Switch: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
97
97
|
ArrayCards: ComposedArrayProps;
|
|
98
|
-
ArrayDialog:
|
|
99
|
-
ArrayCollapse:
|
|
98
|
+
ArrayDialog: react12.FC<ArrayComponentProps>;
|
|
99
|
+
ArrayCollapse: react12.FC<ArrayComponentProps & {
|
|
100
100
|
defaultActiveKey?: Array<string | number>;
|
|
101
101
|
mode?: "accordion" | "multiple";
|
|
102
102
|
}>;
|
|
103
|
-
ArrayPopover:
|
|
103
|
+
ArrayPopover: react12.FC<ArrayComponentProps>;
|
|
104
104
|
}, Component_2, Decorator_2>): JSX.Element;
|
|
105
105
|
displayName: string;
|
|
106
106
|
};
|
|
107
107
|
Object: {
|
|
108
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
|
-
FormItem:
|
|
110
|
-
children?:
|
|
111
|
-
}>, "ref"> &
|
|
109
|
+
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
110
|
+
children?: react12.ReactNode | undefined;
|
|
111
|
+
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
112
112
|
FormGrid: typeof FormGrid;
|
|
113
113
|
Row: typeof Row;
|
|
114
114
|
Column: typeof Column;
|
|
115
|
-
Input:
|
|
116
|
-
Textarea:
|
|
117
|
-
Checkbox:
|
|
118
|
-
Radio:
|
|
119
|
-
Select:
|
|
120
|
-
NumberInput:
|
|
121
|
-
DatePicker:
|
|
115
|
+
Input: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
116
|
+
Textarea: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLTextAreaElement> & react12.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
117
|
+
Checkbox: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
118
|
+
Radio: react12.FC;
|
|
119
|
+
Select: react12.FC;
|
|
120
|
+
NumberInput: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
121
|
+
DatePicker: react12.ForwardRefExoticComponent<Partial<{
|
|
122
122
|
value?: Date;
|
|
123
123
|
onChange?: (date: Date | undefined) => void;
|
|
124
124
|
placeholder?: string;
|
|
@@ -128,38 +128,38 @@ declare const SchemaField: {
|
|
|
128
128
|
placeholder?: string;
|
|
129
129
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
130
130
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
131
|
-
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> &
|
|
132
|
-
Combobox:
|
|
131
|
+
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react12.RefAttributes<unknown>>;
|
|
132
|
+
Combobox: react12.FC;
|
|
133
133
|
TagsInput: typeof TagsInput;
|
|
134
|
-
FileUploadInline:
|
|
135
|
-
Separator:
|
|
136
|
-
Slider:
|
|
137
|
-
Switch:
|
|
134
|
+
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
135
|
+
Separator: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react12.RefAttributes<HTMLDivElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
136
|
+
Slider: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
137
|
+
Switch: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
138
138
|
ArrayCards: ComposedArrayProps;
|
|
139
|
-
ArrayDialog:
|
|
140
|
-
ArrayCollapse:
|
|
139
|
+
ArrayDialog: react12.FC<ArrayComponentProps>;
|
|
140
|
+
ArrayCollapse: react12.FC<ArrayComponentProps & {
|
|
141
141
|
defaultActiveKey?: Array<string | number>;
|
|
142
142
|
mode?: "accordion" | "multiple";
|
|
143
143
|
}>;
|
|
144
|
-
ArrayPopover:
|
|
144
|
+
ArrayPopover: react12.FC<ArrayComponentProps>;
|
|
145
145
|
}, Component_3, Decorator_3>): JSX.Element;
|
|
146
146
|
displayName: string;
|
|
147
147
|
};
|
|
148
148
|
Array: {
|
|
149
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
|
-
FormItem:
|
|
151
|
-
children?:
|
|
152
|
-
}>, "ref"> &
|
|
150
|
+
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
151
|
+
children?: react12.ReactNode | undefined;
|
|
152
|
+
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
153
153
|
FormGrid: typeof FormGrid;
|
|
154
154
|
Row: typeof Row;
|
|
155
155
|
Column: typeof Column;
|
|
156
|
-
Input:
|
|
157
|
-
Textarea:
|
|
158
|
-
Checkbox:
|
|
159
|
-
Radio:
|
|
160
|
-
Select:
|
|
161
|
-
NumberInput:
|
|
162
|
-
DatePicker:
|
|
156
|
+
Input: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
157
|
+
Textarea: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLTextAreaElement> & react12.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
158
|
+
Checkbox: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
159
|
+
Radio: react12.FC;
|
|
160
|
+
Select: react12.FC;
|
|
161
|
+
NumberInput: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
162
|
+
DatePicker: react12.ForwardRefExoticComponent<Partial<{
|
|
163
163
|
value?: Date;
|
|
164
164
|
onChange?: (date: Date | undefined) => void;
|
|
165
165
|
placeholder?: string;
|
|
@@ -169,38 +169,38 @@ declare const SchemaField: {
|
|
|
169
169
|
placeholder?: string;
|
|
170
170
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
171
171
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
172
|
-
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> &
|
|
173
|
-
Combobox:
|
|
172
|
+
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react12.RefAttributes<unknown>>;
|
|
173
|
+
Combobox: react12.FC;
|
|
174
174
|
TagsInput: typeof TagsInput;
|
|
175
|
-
FileUploadInline:
|
|
176
|
-
Separator:
|
|
177
|
-
Slider:
|
|
178
|
-
Switch:
|
|
175
|
+
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
176
|
+
Separator: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react12.RefAttributes<HTMLDivElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
177
|
+
Slider: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
178
|
+
Switch: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
179
179
|
ArrayCards: ComposedArrayProps;
|
|
180
|
-
ArrayDialog:
|
|
181
|
-
ArrayCollapse:
|
|
180
|
+
ArrayDialog: react12.FC<ArrayComponentProps>;
|
|
181
|
+
ArrayCollapse: react12.FC<ArrayComponentProps & {
|
|
182
182
|
defaultActiveKey?: Array<string | number>;
|
|
183
183
|
mode?: "accordion" | "multiple";
|
|
184
184
|
}>;
|
|
185
|
-
ArrayPopover:
|
|
185
|
+
ArrayPopover: react12.FC<ArrayComponentProps>;
|
|
186
186
|
}, Component_4, Decorator_4>): JSX.Element;
|
|
187
187
|
displayName: string;
|
|
188
188
|
};
|
|
189
189
|
Boolean: {
|
|
190
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
|
-
FormItem:
|
|
192
|
-
children?:
|
|
193
|
-
}>, "ref"> &
|
|
191
|
+
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
192
|
+
children?: react12.ReactNode | undefined;
|
|
193
|
+
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
194
194
|
FormGrid: typeof FormGrid;
|
|
195
195
|
Row: typeof Row;
|
|
196
196
|
Column: typeof Column;
|
|
197
|
-
Input:
|
|
198
|
-
Textarea:
|
|
199
|
-
Checkbox:
|
|
200
|
-
Radio:
|
|
201
|
-
Select:
|
|
202
|
-
NumberInput:
|
|
203
|
-
DatePicker:
|
|
197
|
+
Input: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
198
|
+
Textarea: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLTextAreaElement> & react12.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
199
|
+
Checkbox: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
200
|
+
Radio: react12.FC;
|
|
201
|
+
Select: react12.FC;
|
|
202
|
+
NumberInput: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
203
|
+
DatePicker: react12.ForwardRefExoticComponent<Partial<{
|
|
204
204
|
value?: Date;
|
|
205
205
|
onChange?: (date: Date | undefined) => void;
|
|
206
206
|
placeholder?: string;
|
|
@@ -210,38 +210,38 @@ declare const SchemaField: {
|
|
|
210
210
|
placeholder?: string;
|
|
211
211
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
212
212
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
213
|
-
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> &
|
|
214
|
-
Combobox:
|
|
213
|
+
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react12.RefAttributes<unknown>>;
|
|
214
|
+
Combobox: react12.FC;
|
|
215
215
|
TagsInput: typeof TagsInput;
|
|
216
|
-
FileUploadInline:
|
|
217
|
-
Separator:
|
|
218
|
-
Slider:
|
|
219
|
-
Switch:
|
|
216
|
+
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
217
|
+
Separator: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react12.RefAttributes<HTMLDivElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
218
|
+
Slider: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
219
|
+
Switch: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
220
220
|
ArrayCards: ComposedArrayProps;
|
|
221
|
-
ArrayDialog:
|
|
222
|
-
ArrayCollapse:
|
|
221
|
+
ArrayDialog: react12.FC<ArrayComponentProps>;
|
|
222
|
+
ArrayCollapse: react12.FC<ArrayComponentProps & {
|
|
223
223
|
defaultActiveKey?: Array<string | number>;
|
|
224
224
|
mode?: "accordion" | "multiple";
|
|
225
225
|
}>;
|
|
226
|
-
ArrayPopover:
|
|
226
|
+
ArrayPopover: react12.FC<ArrayComponentProps>;
|
|
227
227
|
}, Component_5, Decorator_5>): JSX.Element;
|
|
228
228
|
displayName: string;
|
|
229
229
|
};
|
|
230
230
|
Date: {
|
|
231
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
|
-
FormItem:
|
|
233
|
-
children?:
|
|
234
|
-
}>, "ref"> &
|
|
232
|
+
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
233
|
+
children?: react12.ReactNode | undefined;
|
|
234
|
+
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
235
235
|
FormGrid: typeof FormGrid;
|
|
236
236
|
Row: typeof Row;
|
|
237
237
|
Column: typeof Column;
|
|
238
|
-
Input:
|
|
239
|
-
Textarea:
|
|
240
|
-
Checkbox:
|
|
241
|
-
Radio:
|
|
242
|
-
Select:
|
|
243
|
-
NumberInput:
|
|
244
|
-
DatePicker:
|
|
238
|
+
Input: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
239
|
+
Textarea: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLTextAreaElement> & react12.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
240
|
+
Checkbox: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
241
|
+
Radio: react12.FC;
|
|
242
|
+
Select: react12.FC;
|
|
243
|
+
NumberInput: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
244
|
+
DatePicker: react12.ForwardRefExoticComponent<Partial<{
|
|
245
245
|
value?: Date;
|
|
246
246
|
onChange?: (date: Date | undefined) => void;
|
|
247
247
|
placeholder?: string;
|
|
@@ -251,38 +251,38 @@ declare const SchemaField: {
|
|
|
251
251
|
placeholder?: string;
|
|
252
252
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
253
253
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
254
|
-
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> &
|
|
255
|
-
Combobox:
|
|
254
|
+
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react12.RefAttributes<unknown>>;
|
|
255
|
+
Combobox: react12.FC;
|
|
256
256
|
TagsInput: typeof TagsInput;
|
|
257
|
-
FileUploadInline:
|
|
258
|
-
Separator:
|
|
259
|
-
Slider:
|
|
260
|
-
Switch:
|
|
257
|
+
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
258
|
+
Separator: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react12.RefAttributes<HTMLDivElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
259
|
+
Slider: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
260
|
+
Switch: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
261
261
|
ArrayCards: ComposedArrayProps;
|
|
262
|
-
ArrayDialog:
|
|
263
|
-
ArrayCollapse:
|
|
262
|
+
ArrayDialog: react12.FC<ArrayComponentProps>;
|
|
263
|
+
ArrayCollapse: react12.FC<ArrayComponentProps & {
|
|
264
264
|
defaultActiveKey?: Array<string | number>;
|
|
265
265
|
mode?: "accordion" | "multiple";
|
|
266
266
|
}>;
|
|
267
|
-
ArrayPopover:
|
|
267
|
+
ArrayPopover: react12.FC<ArrayComponentProps>;
|
|
268
268
|
}, Component_6, Decorator_6>): JSX.Element;
|
|
269
269
|
displayName: string;
|
|
270
270
|
};
|
|
271
271
|
DateTime: {
|
|
272
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
|
-
FormItem:
|
|
274
|
-
children?:
|
|
275
|
-
}>, "ref"> &
|
|
273
|
+
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
274
|
+
children?: react12.ReactNode | undefined;
|
|
275
|
+
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
276
276
|
FormGrid: typeof FormGrid;
|
|
277
277
|
Row: typeof Row;
|
|
278
278
|
Column: typeof Column;
|
|
279
|
-
Input:
|
|
280
|
-
Textarea:
|
|
281
|
-
Checkbox:
|
|
282
|
-
Radio:
|
|
283
|
-
Select:
|
|
284
|
-
NumberInput:
|
|
285
|
-
DatePicker:
|
|
279
|
+
Input: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
280
|
+
Textarea: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLTextAreaElement> & react12.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
281
|
+
Checkbox: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
282
|
+
Radio: react12.FC;
|
|
283
|
+
Select: react12.FC;
|
|
284
|
+
NumberInput: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
285
|
+
DatePicker: react12.ForwardRefExoticComponent<Partial<{
|
|
286
286
|
value?: Date;
|
|
287
287
|
onChange?: (date: Date | undefined) => void;
|
|
288
288
|
placeholder?: string;
|
|
@@ -292,38 +292,38 @@ declare const SchemaField: {
|
|
|
292
292
|
placeholder?: string;
|
|
293
293
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
294
294
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
295
|
-
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> &
|
|
296
|
-
Combobox:
|
|
295
|
+
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react12.RefAttributes<unknown>>;
|
|
296
|
+
Combobox: react12.FC;
|
|
297
297
|
TagsInput: typeof TagsInput;
|
|
298
|
-
FileUploadInline:
|
|
299
|
-
Separator:
|
|
300
|
-
Slider:
|
|
301
|
-
Switch:
|
|
298
|
+
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
299
|
+
Separator: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react12.RefAttributes<HTMLDivElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
300
|
+
Slider: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
301
|
+
Switch: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
302
302
|
ArrayCards: ComposedArrayProps;
|
|
303
|
-
ArrayDialog:
|
|
304
|
-
ArrayCollapse:
|
|
303
|
+
ArrayDialog: react12.FC<ArrayComponentProps>;
|
|
304
|
+
ArrayCollapse: react12.FC<ArrayComponentProps & {
|
|
305
305
|
defaultActiveKey?: Array<string | number>;
|
|
306
306
|
mode?: "accordion" | "multiple";
|
|
307
307
|
}>;
|
|
308
|
-
ArrayPopover:
|
|
308
|
+
ArrayPopover: react12.FC<ArrayComponentProps>;
|
|
309
309
|
}, Component_7, Decorator_7>): JSX.Element;
|
|
310
310
|
displayName: string;
|
|
311
311
|
};
|
|
312
312
|
Void: {
|
|
313
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
|
-
FormItem:
|
|
315
|
-
children?:
|
|
316
|
-
}>, "ref"> &
|
|
314
|
+
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
315
|
+
children?: react12.ReactNode | undefined;
|
|
316
|
+
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
317
317
|
FormGrid: typeof FormGrid;
|
|
318
318
|
Row: typeof Row;
|
|
319
319
|
Column: typeof Column;
|
|
320
|
-
Input:
|
|
321
|
-
Textarea:
|
|
322
|
-
Checkbox:
|
|
323
|
-
Radio:
|
|
324
|
-
Select:
|
|
325
|
-
NumberInput:
|
|
326
|
-
DatePicker:
|
|
320
|
+
Input: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
321
|
+
Textarea: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLTextAreaElement> & react12.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
322
|
+
Checkbox: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
323
|
+
Radio: react12.FC;
|
|
324
|
+
Select: react12.FC;
|
|
325
|
+
NumberInput: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
326
|
+
DatePicker: react12.ForwardRefExoticComponent<Partial<{
|
|
327
327
|
value?: Date;
|
|
328
328
|
onChange?: (date: Date | undefined) => void;
|
|
329
329
|
placeholder?: string;
|
|
@@ -333,38 +333,38 @@ declare const SchemaField: {
|
|
|
333
333
|
placeholder?: string;
|
|
334
334
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
335
335
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
336
|
-
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> &
|
|
337
|
-
Combobox:
|
|
336
|
+
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react12.RefAttributes<unknown>>;
|
|
337
|
+
Combobox: react12.FC;
|
|
338
338
|
TagsInput: typeof TagsInput;
|
|
339
|
-
FileUploadInline:
|
|
340
|
-
Separator:
|
|
341
|
-
Slider:
|
|
342
|
-
Switch:
|
|
339
|
+
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
340
|
+
Separator: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react12.RefAttributes<HTMLDivElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
341
|
+
Slider: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
342
|
+
Switch: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
343
343
|
ArrayCards: ComposedArrayProps;
|
|
344
|
-
ArrayDialog:
|
|
345
|
-
ArrayCollapse:
|
|
344
|
+
ArrayDialog: react12.FC<ArrayComponentProps>;
|
|
345
|
+
ArrayCollapse: react12.FC<ArrayComponentProps & {
|
|
346
346
|
defaultActiveKey?: Array<string | number>;
|
|
347
347
|
mode?: "accordion" | "multiple";
|
|
348
348
|
}>;
|
|
349
|
-
ArrayPopover:
|
|
349
|
+
ArrayPopover: react12.FC<ArrayComponentProps>;
|
|
350
350
|
}, Component_8, Decorator_8>): JSX.Element;
|
|
351
351
|
displayName: string;
|
|
352
352
|
};
|
|
353
353
|
Number: {
|
|
354
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
|
-
FormItem:
|
|
356
|
-
children?:
|
|
357
|
-
}>, "ref"> &
|
|
355
|
+
FormItem: react12.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
356
|
+
children?: react12.ReactNode | undefined;
|
|
357
|
+
}>, "ref"> & react12.RefAttributes<unknown>>;
|
|
358
358
|
FormGrid: typeof FormGrid;
|
|
359
359
|
Row: typeof Row;
|
|
360
360
|
Column: typeof Column;
|
|
361
|
-
Input:
|
|
362
|
-
Textarea:
|
|
363
|
-
Checkbox:
|
|
364
|
-
Radio:
|
|
365
|
-
Select:
|
|
366
|
-
NumberInput:
|
|
367
|
-
DatePicker:
|
|
361
|
+
Input: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
362
|
+
Textarea: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLTextAreaElement> & react12.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
363
|
+
Checkbox: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
364
|
+
Radio: react12.FC;
|
|
365
|
+
Select: react12.FC;
|
|
366
|
+
NumberInput: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
367
|
+
DatePicker: react12.ForwardRefExoticComponent<Partial<{
|
|
368
368
|
value?: Date;
|
|
369
369
|
onChange?: (date: Date | undefined) => void;
|
|
370
370
|
placeholder?: string;
|
|
@@ -374,20 +374,20 @@ declare const SchemaField: {
|
|
|
374
374
|
placeholder?: string;
|
|
375
375
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
376
376
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
377
|
-
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> &
|
|
378
|
-
Combobox:
|
|
377
|
+
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react12.RefAttributes<unknown>>;
|
|
378
|
+
Combobox: react12.FC;
|
|
379
379
|
TagsInput: typeof TagsInput;
|
|
380
|
-
FileUploadInline:
|
|
381
|
-
Separator:
|
|
382
|
-
Slider:
|
|
383
|
-
Switch:
|
|
380
|
+
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
381
|
+
Separator: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react12.RefAttributes<HTMLDivElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
382
|
+
Slider: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
383
|
+
Switch: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react12.RefAttributes<HTMLButtonElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
384
384
|
ArrayCards: ComposedArrayProps;
|
|
385
|
-
ArrayDialog:
|
|
386
|
-
ArrayCollapse:
|
|
385
|
+
ArrayDialog: react12.FC<ArrayComponentProps>;
|
|
386
|
+
ArrayCollapse: react12.FC<ArrayComponentProps & {
|
|
387
387
|
defaultActiveKey?: Array<string | number>;
|
|
388
388
|
mode?: "accordion" | "multiple";
|
|
389
389
|
}>;
|
|
390
|
-
ArrayPopover:
|
|
390
|
+
ArrayPopover: react12.FC<ArrayComponentProps>;
|
|
391
391
|
}, Component_9, Decorator_9>): JSX.Element;
|
|
392
392
|
displayName: string;
|
|
393
393
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react336 from "react";
|
|
2
|
+
import * as _radix_ui_react_separator8 from "@radix-ui/react-separator";
|
|
3
3
|
|
|
4
4
|
//#region src/components/separator.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Formily-connected Separator component
|
|
7
7
|
* A visual divider for content sections
|
|
8
8
|
*/
|
|
9
|
-
declare const Separator:
|
|
9
|
+
declare const Separator: react336.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator8.SeparatorProps & react336.RefAttributes<HTMLDivElement>>, "ref"> & react336.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Separator };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react342 from "react";
|
|
2
2
|
import { SliderProps } from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/slider.d.ts
|
|
@@ -7,6 +7,6 @@ import { SliderProps } from "@pixpilot/shadcn-ui";
|
|
|
7
7
|
* Formily-connected Slider component
|
|
8
8
|
* Range input for selecting numeric values
|
|
9
9
|
*/
|
|
10
|
-
declare const Slider$1:
|
|
10
|
+
declare const Slider$1: react342.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react342.RefAttributes<unknown>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Slider$1 as Slider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react339 from "react";
|
|
2
2
|
import * as _radix_ui_react_switch8 from "@radix-ui/react-switch";
|
|
3
3
|
|
|
4
4
|
//#region src/components/switch.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_switch8 from "@radix-ui/react-switch";
|
|
|
6
6
|
* Formily-connected Switch component
|
|
7
7
|
* Toggle switch for boolean values
|
|
8
8
|
*/
|
|
9
|
-
declare const Switch:
|
|
9
|
+
declare const Switch: react339.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch8.SwitchProps & react339.RefAttributes<HTMLButtonElement>>, "ref"> & react339.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react344 from "react";
|
|
2
2
|
import * as _pixpilot_shadcn_ui17 from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tags-input-inline.d.ts
|
|
@@ -10,6 +10,6 @@ import * as _pixpilot_shadcn_ui17 from "@pixpilot/shadcn-ui";
|
|
|
10
10
|
* Based on DiceUI's tags-input for inline tag editing with keyboard navigation
|
|
11
11
|
* and validation support.
|
|
12
12
|
*/
|
|
13
|
-
declare const TagsInputInLine:
|
|
13
|
+
declare const TagsInputInLine: react344.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui17.TagsInputProps> & react344.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { TagsInputInLine };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react346 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/textarea.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Formily-connected Textarea component
|
|
6
6
|
*/
|
|
7
|
-
declare const Textarea:
|
|
7
|
+
declare const Textarea: react346.ForwardRefExoticComponent<Omit<Partial<react346.ClassAttributes<HTMLTextAreaElement> & react346.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react346.RefAttributes<unknown>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Textarea };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixpilot/formily-shadcn",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.4",
|
|
5
5
|
"description": "Formily integration for shadcn/ui components",
|
|
6
6
|
"author": "m.doaie <m.doaie@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"react-dom": "19.2.0",
|
|
49
49
|
"tsdown": "^0.15.8",
|
|
50
50
|
"typescript": "^5.9.3",
|
|
51
|
-
"@internal/eslint-config": "0.3.0",
|
|
52
51
|
"@internal/prettier-config": "0.0.1",
|
|
52
|
+
"@internal/eslint-config": "0.3.0",
|
|
53
53
|
"@internal/tsconfig": "0.1.0",
|
|
54
54
|
"@internal/tsdown-config": "0.1.0",
|
|
55
55
|
"@internal/vitest-config": "0.1.0"
|