@pixpilot/formily-shadcn 0.1.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/checkbox.d.cts +2 -2
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/column.d.ts +2 -2
- package/dist/components/date-picker.d.cts +3 -3
- package/dist/components/date-picker.d.ts +3 -3
- package/dist/components/form-grid.d.cts +2 -2
- package/dist/components/form-item.cjs +3 -3
- package/dist/components/form-item.js +3 -3
- package/dist/components/form.d.cts +2 -2
- 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.cts +2 -2
- package/dist/components/row.d.cts +2 -2
- package/dist/components/schema-field.d.cts +9 -9
- 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 +3 -3
- package/dist/components/tags-input-inline.d.ts +3 -3
- package/dist/components/textarea.d.ts +2 -2
- package/package.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react1 from "react";
|
|
2
2
|
import * as _radix_ui_react_checkbox0 from "@radix-ui/react-checkbox";
|
|
3
3
|
|
|
4
4
|
//#region src/components/checkbox.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_checkbox0 from "@radix-ui/react-checkbox";
|
|
|
6
6
|
* Formily-connected Checkbox component
|
|
7
7
|
* Maps Formily field checked state to shadcn Checkbox
|
|
8
8
|
*/
|
|
9
|
-
declare const Checkbox:
|
|
9
|
+
declare const Checkbox: react1.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react1.RefAttributes<HTMLButtonElement>>, "ref"> & react1.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Checkbox };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react5 from "react";
|
|
2
2
|
import * as _radix_ui_react_checkbox0 from "@radix-ui/react-checkbox";
|
|
3
3
|
|
|
4
4
|
//#region src/components/checkbox.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_checkbox0 from "@radix-ui/react-checkbox";
|
|
|
6
6
|
* Formily-connected Checkbox component
|
|
7
7
|
* Maps Formily field checked state to shadcn Checkbox
|
|
8
8
|
*/
|
|
9
|
-
declare const Checkbox:
|
|
9
|
+
declare const Checkbox: react5.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react5.RefAttributes<HTMLButtonElement>>, "ref"> & react5.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Checkbox };
|
|
@@ -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/column.d.ts
|
|
5
5
|
interface IColumnProps {
|
|
@@ -36,6 +36,6 @@ interface IColumnProps {
|
|
|
36
36
|
declare function Column({
|
|
37
37
|
className,
|
|
38
38
|
children
|
|
39
|
-
}: IColumnProps):
|
|
39
|
+
}: IColumnProps): react_jsx_runtime1.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { Column };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
2
|
import * as react_day_picker0 from "react-day-picker";
|
|
3
3
|
|
|
4
4
|
//#region src/components/date-picker.d.ts
|
|
5
|
-
declare const DatePicker:
|
|
5
|
+
declare const DatePicker: react0.ForwardRefExoticComponent<Partial<{
|
|
6
6
|
value?: Date;
|
|
7
7
|
onChange?: (date: Date | undefined) => void;
|
|
8
8
|
placeholder?: string;
|
|
@@ -12,6 +12,6 @@ declare const DatePicker: react2.ForwardRefExoticComponent<Partial<{
|
|
|
12
12
|
placeholder?: string;
|
|
13
13
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
14
14
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
15
|
-
}, "
|
|
15
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react0.RefAttributes<unknown>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DatePicker };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
2
|
import * as react_day_picker0 from "react-day-picker";
|
|
3
3
|
|
|
4
4
|
//#region src/components/date-picker.d.ts
|
|
5
|
-
declare const DatePicker:
|
|
5
|
+
declare const DatePicker: react0.ForwardRefExoticComponent<Partial<{
|
|
6
6
|
value?: Date;
|
|
7
7
|
onChange?: (date: Date | undefined) => void;
|
|
8
8
|
placeholder?: string;
|
|
@@ -12,6 +12,6 @@ declare const DatePicker: react2.ForwardRefExoticComponent<Partial<{
|
|
|
12
12
|
placeholder?: string;
|
|
13
13
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
14
14
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
15
|
-
}, "
|
|
15
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react0.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_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
|
-
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);
|
|
2
|
-
`).map((e,t)=>(0,r.jsxs)(n.default.Fragment,{children:[e,t<
|
|
3
|
-
`).length-1&&(0,r.jsx)(`br`,{})]},t)):
|
|
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);let o=require(`@pixpilot/string`);o=e.__toESM(o);function s(e,t){return e??(t==null?null:typeof t==`string`?(0,o.toCapitalCase)(t):t)}const c=({className:e,children:a,label:o,description:c,asterisk:l,feedbackStatus:u,feedbackText:d,labelPlacement:f=`top`,...p})=>{let m=(0,t.useField)(),h=m?.componentProps??{},g=s(o,(0,t.useFieldSchema)().name),_=h.labelPlacement??f,v=m?.componentProps?.id??`form-${m?.address?.toString()?.replace(/\./gu,`-`)}`,y=n.default.useId(),b=n.default.useId(),x=[c==null?void 0:y,d==null?void 0:b].filter(Boolean).join(` `),S=g!=null&&(0,r.jsxs)(`label`,{htmlFor:v,"data-slot":`form-label`,"data-error":u===`error`,className:(0,i.cn)(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`,u===`error`&&`text-destructive`,(_===`end`||_===`start`)&&`shrink-0`),children:[g,l&&(0,r.jsx)(`span`,{className:`text-destructive ml-1`,"aria-label":`required`,children:`*`})]}),C=(0,r.jsx)(`div`,{className:`relative`,children:n.default.isValidElement(a)?n.default.cloneElement(a,{id:v,"aria-describedby":x||void 0,"aria-invalid":u===`error`?`true`:void 0}):a}),w=(0,r.jsxs)(r.Fragment,{children:[_===`top`&&S,c!=null&&_===`top`&&(0,r.jsx)(`p`,{id:y,className:`text-muted-foreground text-[0.8rem]`,children:c}),(_===`start`||_===`end`)&&(0,r.jsxs)(`div`,{className:(0,i.cn)(`flex items-center gap-2`,_===`start`&&`flex-row`),children:[_===`start`&&S,C,_===`end`&&S]}),_===`top`&&C,c!=null&&(_===`start`||_===`end`)&&(0,r.jsx)(`p`,{id:y,className:`text-muted-foreground text-[0.8rem]`,children:c})]});return(0,r.jsxs)(`div`,{"data-slot":`form-item`,className:(0,i.cn)(`flex flex-col gap-2`,e),...p,children:[w,!!d&&(0,r.jsx)(`p`,{id:b,className:(0,i.cn)(`text-[0.8rem]`,u===`error`&&`text-destructive font-medium`,u===`warning`&&`text-amber-600`,u===`success`&&`text-green-600`),children:typeof d==`string`?d.split(`
|
|
2
|
+
`).map((e,t)=>(0,r.jsxs)(n.default.Fragment,{children:[e,t<d.split(`
|
|
3
|
+
`).length-1&&(0,r.jsx)(`br`,{})]},t)):d})]})},l=(0,t.connect)(c,(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=l;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{connect as e,mapProps as t,useField as n}from"@formily/react";import
|
|
2
|
-
`).map((e,t)=>
|
|
3
|
-
`).length-1&&
|
|
1
|
+
import{connect as e,mapProps as t,useField as n,useFieldSchema as r}from"@formily/react";import i from"react";import{Fragment as a,jsx as o,jsxs as s}from"react/jsx-runtime";import{cn as c}from"@pixpilot/shadcn";import{isVoidField as l}from"@formily/core";import{toCapitalCase as u}from"@pixpilot/string";function d(e,t){return e??(t==null?null:typeof t==`string`?u(t):t)}const f=e(({className:e,children:t,label:l,description:u,asterisk:f,feedbackStatus:p,feedbackText:m,labelPlacement:h=`top`,...g})=>{let _=n(),v=_?.componentProps??{},y=d(l,r().name),b=v.labelPlacement??h,x=_?.componentProps?.id??`form-${_?.address?.toString()?.replace(/\./gu,`-`)}`,S=i.useId(),C=i.useId(),w=[u==null?void 0:S,m==null?void 0:C].filter(Boolean).join(` `),T=y!=null&&s(`label`,{htmlFor:x,"data-slot":`form-label`,"data-error":p===`error`,className:c(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`,p===`error`&&`text-destructive`,(b===`end`||b===`start`)&&`shrink-0`),children:[y,f&&o(`span`,{className:`text-destructive ml-1`,"aria-label":`required`,children:`*`})]}),E=o(`div`,{className:`relative`,children:i.isValidElement(t)?i.cloneElement(t,{id:x,"aria-describedby":w||void 0,"aria-invalid":p===`error`?`true`:void 0}):t}),D=s(a,{children:[b===`top`&&T,u!=null&&b===`top`&&o(`p`,{id:S,className:`text-muted-foreground text-[0.8rem]`,children:u}),(b===`start`||b===`end`)&&s(`div`,{className:c(`flex items-center gap-2`,b===`start`&&`flex-row`),children:[b===`start`&&T,E,b===`end`&&T]}),b===`top`&&E,u!=null&&(b===`start`||b===`end`)&&o(`p`,{id:S,className:`text-muted-foreground text-[0.8rem]`,children:u})]});return s(`div`,{"data-slot":`form-item`,className:c(`flex flex-col gap-2`,e),...g,children:[D,!!m&&o(`p`,{id:C,className:c(`text-[0.8rem]`,p===`error`&&`text-destructive font-medium`,p===`warning`&&`text-amber-600`,p===`success`&&`text-green-600`),children:typeof m==`string`?m.split(`
|
|
2
|
+
`).map((e,t)=>s(i.Fragment,{children:[e,t<m.split(`
|
|
3
|
+
`).length-1&&o(`br`,{})]},t)):m})]})},t((e,t)=>l(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{f as FormItem};
|
|
@@ -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_runtime1 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_runtime1.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_runtime0 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_runtime0.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Form$1 as Form };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react8 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/input.d.ts
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as react4 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: react8.ForwardRefExoticComponent<Omit<Partial<react8.ClassAttributes<HTMLInputElement> & react8.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react8.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Input };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react15 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: react15.ForwardRefExoticComponent<Omit<Partial<react15.ClassAttributes<HTMLInputElement> & react15.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react15.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_runtime3 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_runtime3.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_runtime2 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_runtime2.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { Row };
|
|
@@ -46,7 +46,7 @@ declare const SchemaField: {
|
|
|
46
46
|
placeholder?: string;
|
|
47
47
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
48
48
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
49
|
-
}, "
|
|
49
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react12.RefAttributes<unknown>>;
|
|
50
50
|
Combobox: react12.FC;
|
|
51
51
|
TagsInput: typeof TagsInput;
|
|
52
52
|
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -87,7 +87,7 @@ declare const SchemaField: {
|
|
|
87
87
|
placeholder?: string;
|
|
88
88
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
89
89
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
90
|
-
}, "
|
|
90
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react12.RefAttributes<unknown>>;
|
|
91
91
|
Combobox: react12.FC;
|
|
92
92
|
TagsInput: typeof TagsInput;
|
|
93
93
|
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -128,7 +128,7 @@ declare const SchemaField: {
|
|
|
128
128
|
placeholder?: string;
|
|
129
129
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
130
130
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
131
|
-
}, "
|
|
131
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react12.RefAttributes<unknown>>;
|
|
132
132
|
Combobox: react12.FC;
|
|
133
133
|
TagsInput: typeof TagsInput;
|
|
134
134
|
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -169,7 +169,7 @@ declare const SchemaField: {
|
|
|
169
169
|
placeholder?: string;
|
|
170
170
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
171
171
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
172
|
-
}, "
|
|
172
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react12.RefAttributes<unknown>>;
|
|
173
173
|
Combobox: react12.FC;
|
|
174
174
|
TagsInput: typeof TagsInput;
|
|
175
175
|
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -210,7 +210,7 @@ declare const SchemaField: {
|
|
|
210
210
|
placeholder?: string;
|
|
211
211
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
212
212
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
213
|
-
}, "
|
|
213
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react12.RefAttributes<unknown>>;
|
|
214
214
|
Combobox: react12.FC;
|
|
215
215
|
TagsInput: typeof TagsInput;
|
|
216
216
|
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -251,7 +251,7 @@ declare const SchemaField: {
|
|
|
251
251
|
placeholder?: string;
|
|
252
252
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
253
253
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
254
|
-
}, "
|
|
254
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react12.RefAttributes<unknown>>;
|
|
255
255
|
Combobox: react12.FC;
|
|
256
256
|
TagsInput: typeof TagsInput;
|
|
257
257
|
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -292,7 +292,7 @@ declare const SchemaField: {
|
|
|
292
292
|
placeholder?: string;
|
|
293
293
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
294
294
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
295
|
-
}, "
|
|
295
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react12.RefAttributes<unknown>>;
|
|
296
296
|
Combobox: react12.FC;
|
|
297
297
|
TagsInput: typeof TagsInput;
|
|
298
298
|
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -333,7 +333,7 @@ declare const SchemaField: {
|
|
|
333
333
|
placeholder?: string;
|
|
334
334
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
335
335
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
336
|
-
}, "
|
|
336
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react12.RefAttributes<unknown>>;
|
|
337
337
|
Combobox: react12.FC;
|
|
338
338
|
TagsInput: typeof TagsInput;
|
|
339
339
|
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -374,7 +374,7 @@ declare const SchemaField: {
|
|
|
374
374
|
placeholder?: string;
|
|
375
375
|
} & Omit<react_day_picker0.DayPickerProps & {
|
|
376
376
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
377
|
-
}, "
|
|
377
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react12.RefAttributes<unknown>>;
|
|
378
378
|
Combobox: react12.FC;
|
|
379
379
|
TagsInput: typeof TagsInput;
|
|
380
380
|
FileUploadInline: react12.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react12.RefAttributes<unknown>>;
|
|
@@ -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 react26 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: react26.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
28
|
+
children?: react26.ReactNode | undefined;
|
|
29
|
+
}>, "ref"> & react26.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: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
34
|
+
Textarea: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLTextAreaElement> & react26.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
35
|
+
Checkbox: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
36
|
+
Radio: react26.FC;
|
|
37
|
+
Select: react26.FC;
|
|
38
|
+
NumberInput: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
39
|
+
DatePicker: react26.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
|
-
}, "
|
|
50
|
-
Combobox:
|
|
49
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react26.RefAttributes<unknown>>;
|
|
50
|
+
Combobox: react26.FC;
|
|
51
51
|
TagsInput: typeof TagsInput;
|
|
52
|
-
FileUploadInline:
|
|
53
|
-
Separator:
|
|
54
|
-
Slider:
|
|
55
|
-
Switch:
|
|
52
|
+
FileUploadInline: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
53
|
+
Separator: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react26.RefAttributes<HTMLDivElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
54
|
+
Slider: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
55
|
+
Switch: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
56
56
|
ArrayCards: ComposedArrayProps;
|
|
57
|
-
ArrayDialog:
|
|
58
|
-
ArrayCollapse:
|
|
57
|
+
ArrayDialog: react26.FC<ArrayComponentProps>;
|
|
58
|
+
ArrayCollapse: react26.FC<ArrayComponentProps & {
|
|
59
59
|
defaultActiveKey?: Array<string | number>;
|
|
60
60
|
mode?: "accordion" | "multiple";
|
|
61
61
|
}>;
|
|
62
|
-
ArrayPopover:
|
|
62
|
+
ArrayPopover: react26.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: react26.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
69
|
+
children?: react26.ReactNode | undefined;
|
|
70
|
+
}>, "ref"> & react26.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: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
75
|
+
Textarea: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLTextAreaElement> & react26.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
76
|
+
Checkbox: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
77
|
+
Radio: react26.FC;
|
|
78
|
+
Select: react26.FC;
|
|
79
|
+
NumberInput: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
80
|
+
DatePicker: react26.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
|
-
}, "
|
|
91
|
-
Combobox:
|
|
90
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react26.RefAttributes<unknown>>;
|
|
91
|
+
Combobox: react26.FC;
|
|
92
92
|
TagsInput: typeof TagsInput;
|
|
93
|
-
FileUploadInline:
|
|
94
|
-
Separator:
|
|
95
|
-
Slider:
|
|
96
|
-
Switch:
|
|
93
|
+
FileUploadInline: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
94
|
+
Separator: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react26.RefAttributes<HTMLDivElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
95
|
+
Slider: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
96
|
+
Switch: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
97
97
|
ArrayCards: ComposedArrayProps;
|
|
98
|
-
ArrayDialog:
|
|
99
|
-
ArrayCollapse:
|
|
98
|
+
ArrayDialog: react26.FC<ArrayComponentProps>;
|
|
99
|
+
ArrayCollapse: react26.FC<ArrayComponentProps & {
|
|
100
100
|
defaultActiveKey?: Array<string | number>;
|
|
101
101
|
mode?: "accordion" | "multiple";
|
|
102
102
|
}>;
|
|
103
|
-
ArrayPopover:
|
|
103
|
+
ArrayPopover: react26.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: react26.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
110
|
+
children?: react26.ReactNode | undefined;
|
|
111
|
+
}>, "ref"> & react26.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: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
116
|
+
Textarea: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLTextAreaElement> & react26.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
117
|
+
Checkbox: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
118
|
+
Radio: react26.FC;
|
|
119
|
+
Select: react26.FC;
|
|
120
|
+
NumberInput: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
121
|
+
DatePicker: react26.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
|
-
}, "
|
|
132
|
-
Combobox:
|
|
131
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react26.RefAttributes<unknown>>;
|
|
132
|
+
Combobox: react26.FC;
|
|
133
133
|
TagsInput: typeof TagsInput;
|
|
134
|
-
FileUploadInline:
|
|
135
|
-
Separator:
|
|
136
|
-
Slider:
|
|
137
|
-
Switch:
|
|
134
|
+
FileUploadInline: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
135
|
+
Separator: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react26.RefAttributes<HTMLDivElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
136
|
+
Slider: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
137
|
+
Switch: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
138
138
|
ArrayCards: ComposedArrayProps;
|
|
139
|
-
ArrayDialog:
|
|
140
|
-
ArrayCollapse:
|
|
139
|
+
ArrayDialog: react26.FC<ArrayComponentProps>;
|
|
140
|
+
ArrayCollapse: react26.FC<ArrayComponentProps & {
|
|
141
141
|
defaultActiveKey?: Array<string | number>;
|
|
142
142
|
mode?: "accordion" | "multiple";
|
|
143
143
|
}>;
|
|
144
|
-
ArrayPopover:
|
|
144
|
+
ArrayPopover: react26.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: react26.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
151
|
+
children?: react26.ReactNode | undefined;
|
|
152
|
+
}>, "ref"> & react26.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: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
157
|
+
Textarea: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLTextAreaElement> & react26.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
158
|
+
Checkbox: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
159
|
+
Radio: react26.FC;
|
|
160
|
+
Select: react26.FC;
|
|
161
|
+
NumberInput: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
162
|
+
DatePicker: react26.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
|
-
}, "
|
|
173
|
-
Combobox:
|
|
172
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react26.RefAttributes<unknown>>;
|
|
173
|
+
Combobox: react26.FC;
|
|
174
174
|
TagsInput: typeof TagsInput;
|
|
175
|
-
FileUploadInline:
|
|
176
|
-
Separator:
|
|
177
|
-
Slider:
|
|
178
|
-
Switch:
|
|
175
|
+
FileUploadInline: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
176
|
+
Separator: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react26.RefAttributes<HTMLDivElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
177
|
+
Slider: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
178
|
+
Switch: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
179
179
|
ArrayCards: ComposedArrayProps;
|
|
180
|
-
ArrayDialog:
|
|
181
|
-
ArrayCollapse:
|
|
180
|
+
ArrayDialog: react26.FC<ArrayComponentProps>;
|
|
181
|
+
ArrayCollapse: react26.FC<ArrayComponentProps & {
|
|
182
182
|
defaultActiveKey?: Array<string | number>;
|
|
183
183
|
mode?: "accordion" | "multiple";
|
|
184
184
|
}>;
|
|
185
|
-
ArrayPopover:
|
|
185
|
+
ArrayPopover: react26.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: react26.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
192
|
+
children?: react26.ReactNode | undefined;
|
|
193
|
+
}>, "ref"> & react26.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: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
198
|
+
Textarea: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLTextAreaElement> & react26.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
199
|
+
Checkbox: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
200
|
+
Radio: react26.FC;
|
|
201
|
+
Select: react26.FC;
|
|
202
|
+
NumberInput: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
203
|
+
DatePicker: react26.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
|
-
}, "
|
|
214
|
-
Combobox:
|
|
213
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react26.RefAttributes<unknown>>;
|
|
214
|
+
Combobox: react26.FC;
|
|
215
215
|
TagsInput: typeof TagsInput;
|
|
216
|
-
FileUploadInline:
|
|
217
|
-
Separator:
|
|
218
|
-
Slider:
|
|
219
|
-
Switch:
|
|
216
|
+
FileUploadInline: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
217
|
+
Separator: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react26.RefAttributes<HTMLDivElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
218
|
+
Slider: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
219
|
+
Switch: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
220
220
|
ArrayCards: ComposedArrayProps;
|
|
221
|
-
ArrayDialog:
|
|
222
|
-
ArrayCollapse:
|
|
221
|
+
ArrayDialog: react26.FC<ArrayComponentProps>;
|
|
222
|
+
ArrayCollapse: react26.FC<ArrayComponentProps & {
|
|
223
223
|
defaultActiveKey?: Array<string | number>;
|
|
224
224
|
mode?: "accordion" | "multiple";
|
|
225
225
|
}>;
|
|
226
|
-
ArrayPopover:
|
|
226
|
+
ArrayPopover: react26.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: react26.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
233
|
+
children?: react26.ReactNode | undefined;
|
|
234
|
+
}>, "ref"> & react26.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: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
239
|
+
Textarea: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLTextAreaElement> & react26.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
240
|
+
Checkbox: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
241
|
+
Radio: react26.FC;
|
|
242
|
+
Select: react26.FC;
|
|
243
|
+
NumberInput: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
244
|
+
DatePicker: react26.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
|
-
}, "
|
|
255
|
-
Combobox:
|
|
254
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react26.RefAttributes<unknown>>;
|
|
255
|
+
Combobox: react26.FC;
|
|
256
256
|
TagsInput: typeof TagsInput;
|
|
257
|
-
FileUploadInline:
|
|
258
|
-
Separator:
|
|
259
|
-
Slider:
|
|
260
|
-
Switch:
|
|
257
|
+
FileUploadInline: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
258
|
+
Separator: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react26.RefAttributes<HTMLDivElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
259
|
+
Slider: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
260
|
+
Switch: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
261
261
|
ArrayCards: ComposedArrayProps;
|
|
262
|
-
ArrayDialog:
|
|
263
|
-
ArrayCollapse:
|
|
262
|
+
ArrayDialog: react26.FC<ArrayComponentProps>;
|
|
263
|
+
ArrayCollapse: react26.FC<ArrayComponentProps & {
|
|
264
264
|
defaultActiveKey?: Array<string | number>;
|
|
265
265
|
mode?: "accordion" | "multiple";
|
|
266
266
|
}>;
|
|
267
|
-
ArrayPopover:
|
|
267
|
+
ArrayPopover: react26.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: react26.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
274
|
+
children?: react26.ReactNode | undefined;
|
|
275
|
+
}>, "ref"> & react26.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: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
280
|
+
Textarea: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLTextAreaElement> & react26.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
281
|
+
Checkbox: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
282
|
+
Radio: react26.FC;
|
|
283
|
+
Select: react26.FC;
|
|
284
|
+
NumberInput: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
285
|
+
DatePicker: react26.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
|
-
}, "
|
|
296
|
-
Combobox:
|
|
295
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react26.RefAttributes<unknown>>;
|
|
296
|
+
Combobox: react26.FC;
|
|
297
297
|
TagsInput: typeof TagsInput;
|
|
298
|
-
FileUploadInline:
|
|
299
|
-
Separator:
|
|
300
|
-
Slider:
|
|
301
|
-
Switch:
|
|
298
|
+
FileUploadInline: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
299
|
+
Separator: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react26.RefAttributes<HTMLDivElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
300
|
+
Slider: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
301
|
+
Switch: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
302
302
|
ArrayCards: ComposedArrayProps;
|
|
303
|
-
ArrayDialog:
|
|
304
|
-
ArrayCollapse:
|
|
303
|
+
ArrayDialog: react26.FC<ArrayComponentProps>;
|
|
304
|
+
ArrayCollapse: react26.FC<ArrayComponentProps & {
|
|
305
305
|
defaultActiveKey?: Array<string | number>;
|
|
306
306
|
mode?: "accordion" | "multiple";
|
|
307
307
|
}>;
|
|
308
|
-
ArrayPopover:
|
|
308
|
+
ArrayPopover: react26.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: react26.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
315
|
+
children?: react26.ReactNode | undefined;
|
|
316
|
+
}>, "ref"> & react26.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: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
321
|
+
Textarea: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLTextAreaElement> & react26.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
322
|
+
Checkbox: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
323
|
+
Radio: react26.FC;
|
|
324
|
+
Select: react26.FC;
|
|
325
|
+
NumberInput: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
326
|
+
DatePicker: react26.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
|
-
}, "
|
|
337
|
-
Combobox:
|
|
336
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react26.RefAttributes<unknown>>;
|
|
337
|
+
Combobox: react26.FC;
|
|
338
338
|
TagsInput: typeof TagsInput;
|
|
339
|
-
FileUploadInline:
|
|
340
|
-
Separator:
|
|
341
|
-
Slider:
|
|
342
|
-
Switch:
|
|
339
|
+
FileUploadInline: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
340
|
+
Separator: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react26.RefAttributes<HTMLDivElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
341
|
+
Slider: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
342
|
+
Switch: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
343
343
|
ArrayCards: ComposedArrayProps;
|
|
344
|
-
ArrayDialog:
|
|
345
|
-
ArrayCollapse:
|
|
344
|
+
ArrayDialog: react26.FC<ArrayComponentProps>;
|
|
345
|
+
ArrayCollapse: react26.FC<ArrayComponentProps & {
|
|
346
346
|
defaultActiveKey?: Array<string | number>;
|
|
347
347
|
mode?: "accordion" | "multiple";
|
|
348
348
|
}>;
|
|
349
|
-
ArrayPopover:
|
|
349
|
+
ArrayPopover: react26.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: react26.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
356
|
+
children?: react26.ReactNode | undefined;
|
|
357
|
+
}>, "ref"> & react26.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: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
362
|
+
Textarea: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLTextAreaElement> & react26.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
363
|
+
Checkbox: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
364
|
+
Radio: react26.FC;
|
|
365
|
+
Select: react26.FC;
|
|
366
|
+
NumberInput: react26.ForwardRefExoticComponent<Omit<Partial<react26.ClassAttributes<HTMLInputElement> & react26.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
367
|
+
DatePicker: react26.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
|
-
}, "
|
|
378
|
-
Combobox:
|
|
377
|
+
}, "selected" | "onSelect" | "mode">, "selected" | "onSelect" | "mode">> & react26.RefAttributes<unknown>>;
|
|
378
|
+
Combobox: react26.FC;
|
|
379
379
|
TagsInput: typeof TagsInput;
|
|
380
|
-
FileUploadInline:
|
|
381
|
-
Separator:
|
|
382
|
-
Slider:
|
|
383
|
-
Switch:
|
|
380
|
+
FileUploadInline: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
381
|
+
Separator: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react26.RefAttributes<HTMLDivElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
382
|
+
Slider: react26.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react26.RefAttributes<unknown>>;
|
|
383
|
+
Switch: react26.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react26.RefAttributes<HTMLButtonElement>>, "ref"> & react26.RefAttributes<unknown>>;
|
|
384
384
|
ArrayCards: ComposedArrayProps;
|
|
385
|
-
ArrayDialog:
|
|
386
|
-
ArrayCollapse:
|
|
385
|
+
ArrayDialog: react26.FC<ArrayComponentProps>;
|
|
386
|
+
ArrayCollapse: react26.FC<ArrayComponentProps & {
|
|
387
387
|
defaultActiveKey?: Array<string | number>;
|
|
388
388
|
mode?: "accordion" | "multiple";
|
|
389
389
|
}>;
|
|
390
|
-
ArrayPopover:
|
|
390
|
+
ArrayPopover: react26.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 react12 from "react";
|
|
2
|
+
import * as _radix_ui_react_separator0 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: react12.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react12.RefAttributes<HTMLDivElement>>, "ref"> & react12.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Separator };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react19 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: react19.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Slider$1 as Slider };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react21 from "react";
|
|
2
|
+
import * as _radix_ui_react_switch0 from "@radix-ui/react-switch";
|
|
3
3
|
|
|
4
4
|
//#region src/components/switch.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Formily-connected Switch component
|
|
7
7
|
* Toggle switch for boolean values
|
|
8
8
|
*/
|
|
9
|
-
declare const Switch:
|
|
9
|
+
declare const Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react24 from "react";
|
|
2
|
+
import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tags-input-inline.d.ts
|
|
5
5
|
|
|
@@ -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: react24.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui0.TagsInputProps> & react24.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { TagsInputInLine };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react1 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: react1.ForwardRefExoticComponent<Omit<Partial<react1.ClassAttributes<HTMLTextAreaElement> & react1.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react1.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.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"description": "Formily integration for shadcn/ui components",
|
|
6
6
|
"author": "m.doaie <m.doaie@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"@formily/react": "^2.3.7",
|
|
33
33
|
"@formily/reactive": "^2.3.7",
|
|
34
34
|
"@formily/shared": "^2.3.7",
|
|
35
|
+
"@pixpilot/string": "^2.3.0",
|
|
35
36
|
"json-schema-traverse": "^1.0.0",
|
|
36
37
|
"lucide-react": "^0.554.0",
|
|
37
38
|
"pretty-bytes": "^7.1.0",
|
|
@@ -48,8 +49,8 @@
|
|
|
48
49
|
"react-dom": "19.2.0",
|
|
49
50
|
"tsdown": "^0.15.8",
|
|
50
51
|
"typescript": "^5.9.3",
|
|
51
|
-
"@internal/prettier-config": "0.0.1",
|
|
52
52
|
"@internal/eslint-config": "0.3.0",
|
|
53
|
+
"@internal/prettier-config": "0.0.1",
|
|
53
54
|
"@internal/tsconfig": "0.1.0",
|
|
54
55
|
"@internal/tsdown-config": "0.1.0",
|
|
55
56
|
"@internal/vitest-config": "0.1.0"
|