@pixpilot/formily-shadcn 0.1.2 → 0.1.3
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/date-picker.d.ts +5 -5
- package/dist/components/form-grid.d.ts +2 -2
- package/dist/components/form.d.ts +2 -2
- package/dist/components/input.d.ts +2 -2
- package/dist/components/json-schema-form-renderer.cjs +1 -0
- package/dist/components/json-schema-form-renderer.d.cts +12 -0
- package/dist/components/json-schema-form-renderer.d.ts +12 -0
- package/dist/components/json-schema-form-renderer.js +1 -0
- 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.cjs +1 -1
- package/dist/components/schema-field.d.ts +172 -172
- package/dist/components/schema-field.js +1 -1
- package/dist/components/separator.d.cts +2 -2
- package/dist/components/separator.d.ts +2 -2
- package/dist/components/slider.d.cts +2 -2
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/switch.d.cts +2 -2
- package/dist/components/switch.d.ts +3 -3
- package/dist/components/tags-input-inline.d.cts +2 -2
- package/dist/components/tags-input-inline.d.ts +3 -3
- package/dist/components/textarea.d.cts +2 -2
- package/dist/components/textarea.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/transform-schema.cjs +1 -1
- package/dist/utils/transform-schema.js +1 -1
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react2 from "react";
|
|
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: react2.ForwardRefExoticComponent<Partial<{
|
|
6
6
|
value?: Date;
|
|
7
7
|
onChange?: (date: Date | undefined) => void;
|
|
8
8
|
placeholder?: string;
|
|
@@ -10,8 +10,8 @@ declare const DatePicker: react348.ForwardRefExoticComponent<Partial<{
|
|
|
10
10
|
value?: Date;
|
|
11
11
|
onChange?: (date: Date | undefined) => void;
|
|
12
12
|
placeholder?: string;
|
|
13
|
-
} & Omit<
|
|
13
|
+
} & Omit<react_day_picker0.DayPickerProps & {
|
|
14
14
|
buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
|
|
15
|
-
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> &
|
|
15
|
+
}, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react2.RefAttributes<unknown>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DatePicker };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/form-grid.d.ts
|
|
5
5
|
interface IFormGridProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
@@ -7,6 +7,6 @@ declare function FormGrid({
|
|
|
7
7
|
className,
|
|
8
8
|
children,
|
|
9
9
|
...rest
|
|
10
|
-
}: IFormGridProps):
|
|
10
|
+
}: IFormGridProps): react_jsx_runtime1.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { FormGrid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
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 react13 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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../_virtual/rolldown_runtime.cjs`),t=require(`../utils/transform-schema.cjs`);require(`../utils/index.cjs`);const n=require(`./form.cjs`),r=require(`./schema-field.cjs`);let i=require(`react`);i=e.__toESM(i);let a=require(`react/jsx-runtime`);a=e.__toESM(a);let o=require(`@formily/core`);o=e.__toESM(o);const s=e=>{let{schema:s,children:c,...l}=e,u=(0,i.useMemo)(()=>(0,o.createForm)(),[]),d=(0,i.useMemo)(()=>t.transformSchema(s),[s]);return(0,a.jsxs)(n.Form,{...l,form:u,children:[(0,a.jsx)(r.default,{schema:d}),c]})};s.displayName=`JsonSchemaFormRenderer`,exports.JsonSchemaFormRenderer=s;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Form } from "./form.cjs";
|
|
2
|
+
import { ISchema } from "@formily/react";
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/json-schema-form-renderer.d.ts
|
|
6
|
+
interface JsonSchemaFormRendererProps extends Omit<React.ComponentProps<typeof Form>, 'form'> {
|
|
7
|
+
schema: ISchema;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const JsonSchemaFormRenderer: React.FC<JsonSchemaFormRendererProps>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { JsonSchemaFormRenderer, JsonSchemaFormRendererProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Form } from "./form.js";
|
|
2
|
+
import { ISchema } from "@formily/react";
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/json-schema-form-renderer.d.ts
|
|
6
|
+
interface JsonSchemaFormRendererProps extends Omit<React.ComponentProps<typeof Form>, 'form'> {
|
|
7
|
+
schema: ISchema;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const JsonSchemaFormRenderer: React.FC<JsonSchemaFormRendererProps>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { JsonSchemaFormRenderer, JsonSchemaFormRendererProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{transformSchema as e}from"../utils/transform-schema.js";import"../utils/index.js";import{Form as t}from"./form.js";import n from"./schema-field.js";import r,{useMemo as i}from"react";import{jsx as a,jsxs as o}from"react/jsx-runtime";import{createForm as s}from"@formily/core";const c=r=>{let{schema:c,children:l,...u}=r,d=i(()=>s(),[]),f=i(()=>e(c),[c]);return o(t,{...u,form:d,children:[a(n,{schema:f}),l]})};c.displayName=`JsonSchemaFormRenderer`;export{c as JsonSchemaFormRenderer};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react12 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: react12.ForwardRefExoticComponent<Omit<Partial<react12.ClassAttributes<HTMLInputElement> & react12.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react12.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
|
}
|
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_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 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`../_virtual/rolldown_runtime.cjs`),t=require(`./array-cards/array-cards.cjs`);require(`./array-cards/index.cjs`);const n=require(`./array-collapse/array-collapse.cjs`);require(`./array-collapse/index.cjs`);const r=require(`./checkbox.cjs`),i=require(`./column.cjs`),a=require(`./combobox.cjs`),o=require(`./date-picker.cjs`),s=require(`./file-upload-inline.cjs`),c=require(`./form-grid.cjs`),l=require(`./form-item.cjs`),u=require(`./input.cjs`),d=require(`./
|
|
1
|
+
const e=require(`../_virtual/rolldown_runtime.cjs`),t=require(`./array-cards/array-cards.cjs`);require(`./array-cards/index.cjs`);const n=require(`./array-collapse/array-collapse.cjs`);require(`./array-collapse/index.cjs`);const r=require(`./checkbox.cjs`),i=require(`./column.cjs`),a=require(`./combobox.cjs`),o=require(`./date-picker.cjs`),s=require(`./file-upload-inline.cjs`),c=require(`./form-grid.cjs`),l=require(`./form-item.cjs`),u=require(`./input.cjs`),d=require(`./array-dialog/array-dialog.cjs`);require(`./array-dialog/index.cjs`);const f=require(`./array-popover/array-popover.cjs`);require(`./array-popover/index.cjs`);const p=require(`./number-input.cjs`),m=require(`./radio.cjs`),h=require(`./row.cjs`),g=require(`./select.cjs`),_=require(`./separator.cjs`),v=require(`./slider.cjs`),y=require(`./switch.cjs`),b=require(`./textarea.cjs`);let x=require(`@formily/react`);x=e.__toESM(x);let S=require(`@pixpilot/shadcn-ui`);S=e.__toESM(S);const C=(0,x.createSchemaField)({components:{FormItem:l.FormItem,FormGrid:c.FormGrid,Row:h.Row,Column:i.Column,Input:u.Input,Textarea:b.Textarea,Checkbox:r.Checkbox,Radio:m.ConnectedRadio,Select:g.Select,NumberInput:p.NumberInput,DatePicker:o.DatePicker,Combobox:a.Combobox,TagsInput:S.TagsInput,FileUploadInline:s.FileUploadInline,Separator:_.Separator,Slider:v.Slider,Switch:y.Switch,ArrayCards:t.ArrayCards,ArrayDialog:d.ArrayDialog,ArrayCollapse:n.ArrayCollapse,ArrayPopover:f.ArrayPopover}});var w=C;exports.SchemaField=C,exports.default=w;
|
|
@@ -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 react19 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: react19.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
28
|
+
children?: react19.ReactNode | undefined;
|
|
29
|
+
}>, "ref"> & react19.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: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
34
|
+
Textarea: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLTextAreaElement> & react19.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
35
|
+
Checkbox: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
36
|
+
Radio: react19.FC;
|
|
37
|
+
Select: react19.FC;
|
|
38
|
+
NumberInput: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
39
|
+
DatePicker: react19.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">> & react19.RefAttributes<unknown>>;
|
|
50
|
+
Combobox: react19.FC;
|
|
51
51
|
TagsInput: typeof TagsInput;
|
|
52
|
-
FileUploadInline:
|
|
53
|
-
Separator:
|
|
54
|
-
Slider:
|
|
55
|
-
Switch:
|
|
52
|
+
FileUploadInline: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
53
|
+
Separator: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react19.RefAttributes<HTMLDivElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
54
|
+
Slider: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
55
|
+
Switch: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
56
56
|
ArrayCards: ComposedArrayProps;
|
|
57
|
-
ArrayDialog:
|
|
58
|
-
ArrayCollapse:
|
|
57
|
+
ArrayDialog: react19.FC<ArrayComponentProps>;
|
|
58
|
+
ArrayCollapse: react19.FC<ArrayComponentProps & {
|
|
59
59
|
defaultActiveKey?: Array<string | number>;
|
|
60
60
|
mode?: "accordion" | "multiple";
|
|
61
61
|
}>;
|
|
62
|
-
ArrayPopover:
|
|
62
|
+
ArrayPopover: react19.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: react19.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
69
|
+
children?: react19.ReactNode | undefined;
|
|
70
|
+
}>, "ref"> & react19.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: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
75
|
+
Textarea: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLTextAreaElement> & react19.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
76
|
+
Checkbox: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
77
|
+
Radio: react19.FC;
|
|
78
|
+
Select: react19.FC;
|
|
79
|
+
NumberInput: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
80
|
+
DatePicker: react19.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">> & react19.RefAttributes<unknown>>;
|
|
91
|
+
Combobox: react19.FC;
|
|
92
92
|
TagsInput: typeof TagsInput;
|
|
93
|
-
FileUploadInline:
|
|
94
|
-
Separator:
|
|
95
|
-
Slider:
|
|
96
|
-
Switch:
|
|
93
|
+
FileUploadInline: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
94
|
+
Separator: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react19.RefAttributes<HTMLDivElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
95
|
+
Slider: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
96
|
+
Switch: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
97
97
|
ArrayCards: ComposedArrayProps;
|
|
98
|
-
ArrayDialog:
|
|
99
|
-
ArrayCollapse:
|
|
98
|
+
ArrayDialog: react19.FC<ArrayComponentProps>;
|
|
99
|
+
ArrayCollapse: react19.FC<ArrayComponentProps & {
|
|
100
100
|
defaultActiveKey?: Array<string | number>;
|
|
101
101
|
mode?: "accordion" | "multiple";
|
|
102
102
|
}>;
|
|
103
|
-
ArrayPopover:
|
|
103
|
+
ArrayPopover: react19.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: react19.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
110
|
+
children?: react19.ReactNode | undefined;
|
|
111
|
+
}>, "ref"> & react19.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: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
116
|
+
Textarea: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLTextAreaElement> & react19.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
117
|
+
Checkbox: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
118
|
+
Radio: react19.FC;
|
|
119
|
+
Select: react19.FC;
|
|
120
|
+
NumberInput: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
121
|
+
DatePicker: react19.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">> & react19.RefAttributes<unknown>>;
|
|
132
|
+
Combobox: react19.FC;
|
|
133
133
|
TagsInput: typeof TagsInput;
|
|
134
|
-
FileUploadInline:
|
|
135
|
-
Separator:
|
|
136
|
-
Slider:
|
|
137
|
-
Switch:
|
|
134
|
+
FileUploadInline: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
135
|
+
Separator: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react19.RefAttributes<HTMLDivElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
136
|
+
Slider: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
137
|
+
Switch: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
138
138
|
ArrayCards: ComposedArrayProps;
|
|
139
|
-
ArrayDialog:
|
|
140
|
-
ArrayCollapse:
|
|
139
|
+
ArrayDialog: react19.FC<ArrayComponentProps>;
|
|
140
|
+
ArrayCollapse: react19.FC<ArrayComponentProps & {
|
|
141
141
|
defaultActiveKey?: Array<string | number>;
|
|
142
142
|
mode?: "accordion" | "multiple";
|
|
143
143
|
}>;
|
|
144
|
-
ArrayPopover:
|
|
144
|
+
ArrayPopover: react19.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: react19.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
151
|
+
children?: react19.ReactNode | undefined;
|
|
152
|
+
}>, "ref"> & react19.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: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
157
|
+
Textarea: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLTextAreaElement> & react19.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
158
|
+
Checkbox: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
159
|
+
Radio: react19.FC;
|
|
160
|
+
Select: react19.FC;
|
|
161
|
+
NumberInput: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
162
|
+
DatePicker: react19.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">> & react19.RefAttributes<unknown>>;
|
|
173
|
+
Combobox: react19.FC;
|
|
174
174
|
TagsInput: typeof TagsInput;
|
|
175
|
-
FileUploadInline:
|
|
176
|
-
Separator:
|
|
177
|
-
Slider:
|
|
178
|
-
Switch:
|
|
175
|
+
FileUploadInline: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
176
|
+
Separator: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react19.RefAttributes<HTMLDivElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
177
|
+
Slider: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
178
|
+
Switch: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
179
179
|
ArrayCards: ComposedArrayProps;
|
|
180
|
-
ArrayDialog:
|
|
181
|
-
ArrayCollapse:
|
|
180
|
+
ArrayDialog: react19.FC<ArrayComponentProps>;
|
|
181
|
+
ArrayCollapse: react19.FC<ArrayComponentProps & {
|
|
182
182
|
defaultActiveKey?: Array<string | number>;
|
|
183
183
|
mode?: "accordion" | "multiple";
|
|
184
184
|
}>;
|
|
185
|
-
ArrayPopover:
|
|
185
|
+
ArrayPopover: react19.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: react19.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
192
|
+
children?: react19.ReactNode | undefined;
|
|
193
|
+
}>, "ref"> & react19.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: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
198
|
+
Textarea: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLTextAreaElement> & react19.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
199
|
+
Checkbox: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
200
|
+
Radio: react19.FC;
|
|
201
|
+
Select: react19.FC;
|
|
202
|
+
NumberInput: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
203
|
+
DatePicker: react19.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">> & react19.RefAttributes<unknown>>;
|
|
214
|
+
Combobox: react19.FC;
|
|
215
215
|
TagsInput: typeof TagsInput;
|
|
216
|
-
FileUploadInline:
|
|
217
|
-
Separator:
|
|
218
|
-
Slider:
|
|
219
|
-
Switch:
|
|
216
|
+
FileUploadInline: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
217
|
+
Separator: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react19.RefAttributes<HTMLDivElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
218
|
+
Slider: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
219
|
+
Switch: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
220
220
|
ArrayCards: ComposedArrayProps;
|
|
221
|
-
ArrayDialog:
|
|
222
|
-
ArrayCollapse:
|
|
221
|
+
ArrayDialog: react19.FC<ArrayComponentProps>;
|
|
222
|
+
ArrayCollapse: react19.FC<ArrayComponentProps & {
|
|
223
223
|
defaultActiveKey?: Array<string | number>;
|
|
224
224
|
mode?: "accordion" | "multiple";
|
|
225
225
|
}>;
|
|
226
|
-
ArrayPopover:
|
|
226
|
+
ArrayPopover: react19.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: react19.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
233
|
+
children?: react19.ReactNode | undefined;
|
|
234
|
+
}>, "ref"> & react19.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: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
239
|
+
Textarea: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLTextAreaElement> & react19.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
240
|
+
Checkbox: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
241
|
+
Radio: react19.FC;
|
|
242
|
+
Select: react19.FC;
|
|
243
|
+
NumberInput: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
244
|
+
DatePicker: react19.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">> & react19.RefAttributes<unknown>>;
|
|
255
|
+
Combobox: react19.FC;
|
|
256
256
|
TagsInput: typeof TagsInput;
|
|
257
|
-
FileUploadInline:
|
|
258
|
-
Separator:
|
|
259
|
-
Slider:
|
|
260
|
-
Switch:
|
|
257
|
+
FileUploadInline: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
258
|
+
Separator: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react19.RefAttributes<HTMLDivElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
259
|
+
Slider: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
260
|
+
Switch: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
261
261
|
ArrayCards: ComposedArrayProps;
|
|
262
|
-
ArrayDialog:
|
|
263
|
-
ArrayCollapse:
|
|
262
|
+
ArrayDialog: react19.FC<ArrayComponentProps>;
|
|
263
|
+
ArrayCollapse: react19.FC<ArrayComponentProps & {
|
|
264
264
|
defaultActiveKey?: Array<string | number>;
|
|
265
265
|
mode?: "accordion" | "multiple";
|
|
266
266
|
}>;
|
|
267
|
-
ArrayPopover:
|
|
267
|
+
ArrayPopover: react19.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: react19.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
274
|
+
children?: react19.ReactNode | undefined;
|
|
275
|
+
}>, "ref"> & react19.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: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
280
|
+
Textarea: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLTextAreaElement> & react19.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
281
|
+
Checkbox: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
282
|
+
Radio: react19.FC;
|
|
283
|
+
Select: react19.FC;
|
|
284
|
+
NumberInput: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
285
|
+
DatePicker: react19.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">> & react19.RefAttributes<unknown>>;
|
|
296
|
+
Combobox: react19.FC;
|
|
297
297
|
TagsInput: typeof TagsInput;
|
|
298
|
-
FileUploadInline:
|
|
299
|
-
Separator:
|
|
300
|
-
Slider:
|
|
301
|
-
Switch:
|
|
298
|
+
FileUploadInline: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
299
|
+
Separator: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react19.RefAttributes<HTMLDivElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
300
|
+
Slider: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
301
|
+
Switch: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
302
302
|
ArrayCards: ComposedArrayProps;
|
|
303
|
-
ArrayDialog:
|
|
304
|
-
ArrayCollapse:
|
|
303
|
+
ArrayDialog: react19.FC<ArrayComponentProps>;
|
|
304
|
+
ArrayCollapse: react19.FC<ArrayComponentProps & {
|
|
305
305
|
defaultActiveKey?: Array<string | number>;
|
|
306
306
|
mode?: "accordion" | "multiple";
|
|
307
307
|
}>;
|
|
308
|
-
ArrayPopover:
|
|
308
|
+
ArrayPopover: react19.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: react19.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
315
|
+
children?: react19.ReactNode | undefined;
|
|
316
|
+
}>, "ref"> & react19.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: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
321
|
+
Textarea: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLTextAreaElement> & react19.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
322
|
+
Checkbox: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
323
|
+
Radio: react19.FC;
|
|
324
|
+
Select: react19.FC;
|
|
325
|
+
NumberInput: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
326
|
+
DatePicker: react19.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">> & react19.RefAttributes<unknown>>;
|
|
337
|
+
Combobox: react19.FC;
|
|
338
338
|
TagsInput: typeof TagsInput;
|
|
339
|
-
FileUploadInline:
|
|
340
|
-
Separator:
|
|
341
|
-
Slider:
|
|
342
|
-
Switch:
|
|
339
|
+
FileUploadInline: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
340
|
+
Separator: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react19.RefAttributes<HTMLDivElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
341
|
+
Slider: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
342
|
+
Switch: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
343
343
|
ArrayCards: ComposedArrayProps;
|
|
344
|
-
ArrayDialog:
|
|
345
|
-
ArrayCollapse:
|
|
344
|
+
ArrayDialog: react19.FC<ArrayComponentProps>;
|
|
345
|
+
ArrayCollapse: react19.FC<ArrayComponentProps & {
|
|
346
346
|
defaultActiveKey?: Array<string | number>;
|
|
347
347
|
mode?: "accordion" | "multiple";
|
|
348
348
|
}>;
|
|
349
|
-
ArrayPopover:
|
|
349
|
+
ArrayPopover: react19.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: react19.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
356
|
+
children?: react19.ReactNode | undefined;
|
|
357
|
+
}>, "ref"> & react19.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: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
362
|
+
Textarea: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLTextAreaElement> & react19.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
363
|
+
Checkbox: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
364
|
+
Radio: react19.FC;
|
|
365
|
+
Select: react19.FC;
|
|
366
|
+
NumberInput: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLInputElement> & react19.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
367
|
+
DatePicker: react19.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">> & react19.RefAttributes<unknown>>;
|
|
378
|
+
Combobox: react19.FC;
|
|
379
379
|
TagsInput: typeof TagsInput;
|
|
380
|
-
FileUploadInline:
|
|
381
|
-
Separator:
|
|
382
|
-
Slider:
|
|
383
|
-
Switch:
|
|
380
|
+
FileUploadInline: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
381
|
+
Separator: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react19.RefAttributes<HTMLDivElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
382
|
+
Slider: react19.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
383
|
+
Switch: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
384
384
|
ArrayCards: ComposedArrayProps;
|
|
385
|
-
ArrayDialog:
|
|
386
|
-
ArrayCollapse:
|
|
385
|
+
ArrayDialog: react19.FC<ArrayComponentProps>;
|
|
386
|
+
ArrayCollapse: react19.FC<ArrayComponentProps & {
|
|
387
387
|
defaultActiveKey?: Array<string | number>;
|
|
388
388
|
mode?: "accordion" | "multiple";
|
|
389
389
|
}>;
|
|
390
|
-
ArrayPopover:
|
|
390
|
+
ArrayPopover: react19.FC<ArrayComponentProps>;
|
|
391
391
|
}, Component_9, Decorator_9>): JSX.Element;
|
|
392
392
|
displayName: string;
|
|
393
393
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ArrayCards as e}from"./array-cards/array-cards.js";import"./array-cards/index.js";import{ArrayCollapse as t}from"./array-collapse/array-collapse.js";import"./array-collapse/index.js";import{Checkbox as n}from"./checkbox.js";import{Column as r}from"./column.js";import{Combobox as i}from"./combobox.js";import{DatePicker as a}from"./date-picker.js";import{FileUploadInline as o}from"./file-upload-inline.js";import{FormGrid as s}from"./form-grid.js";import{FormItem as c}from"./form-item.js";import{Input as l}from"./input.js";import{
|
|
1
|
+
import{ArrayCards as e}from"./array-cards/array-cards.js";import"./array-cards/index.js";import{ArrayCollapse as t}from"./array-collapse/array-collapse.js";import"./array-collapse/index.js";import{Checkbox as n}from"./checkbox.js";import{Column as r}from"./column.js";import{Combobox as i}from"./combobox.js";import{DatePicker as a}from"./date-picker.js";import{FileUploadInline as o}from"./file-upload-inline.js";import{FormGrid as s}from"./form-grid.js";import{FormItem as c}from"./form-item.js";import{Input as l}from"./input.js";import{ArrayDialog as u}from"./array-dialog/array-dialog.js";import"./array-dialog/index.js";import{ArrayPopover as d}from"./array-popover/array-popover.js";import"./array-popover/index.js";import{NumberInput as f}from"./number-input.js";import{ConnectedRadio as p}from"./radio.js";import{Row as m}from"./row.js";import{Select as h}from"./select.js";import{Separator as g}from"./separator.js";import{Slider as _}from"./slider.js";import{Switch as v}from"./switch.js";import{Textarea as y}from"./textarea.js";import{createSchemaField as b}from"@formily/react";import{TagsInput as x}from"@pixpilot/shadcn-ui";const S=b({components:{FormItem:c,FormGrid:s,Row:m,Column:r,Input:l,Textarea:y,Checkbox:n,Radio:p,Select:h,NumberInput:f,DatePicker:a,Combobox:i,TagsInput:x,FileUploadInline:o,Separator:g,Slider:_,Switch:v,ArrayCards:e,ArrayDialog:u,ArrayCollapse:t,ArrayPopover:d}});var C=S;export{S as SchemaField,C as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react336 from "react";
|
|
2
2
|
import * as _radix_ui_react_separator8 from "@radix-ui/react-separator";
|
|
3
3
|
|
|
4
4
|
//#region src/components/separator.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_separator8 from "@radix-ui/react-separator";
|
|
|
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 react16 from "react";
|
|
2
2
|
import * as _radix_ui_react_separator0 from "@radix-ui/react-separator";
|
|
3
3
|
|
|
4
4
|
//#region src/components/separator.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_separator0 from "@radix-ui/react-separator";
|
|
|
6
6
|
* Formily-connected Separator component
|
|
7
7
|
* A visual divider for content sections
|
|
8
8
|
*/
|
|
9
|
-
declare const Separator:
|
|
9
|
+
declare const Separator: react16.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react16.RefAttributes<HTMLDivElement>>, "ref"> & react16.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Separator };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react339 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:
|
|
10
|
+
declare const Slider: react339.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react339.RefAttributes<unknown>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Slider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react346 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: react346.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react346.RefAttributes<unknown>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Slider$1 as Slider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react341 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: react341.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch8.SwitchProps & react341.RefAttributes<HTMLButtonElement>>, "ref"> & react341.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react343 from "react";
|
|
2
|
+
import * as _radix_ui_react_switch8 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: react343.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch8.SwitchProps & react343.RefAttributes<HTMLButtonElement>>, "ref"> & react343.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,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react348 from "react";
|
|
2
|
+
import * as _pixpilot_shadcn_ui17 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_ui0 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: react348.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui17.TagsInputProps> & react348.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 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react4 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: react4.ForwardRefExoticComponent<Omit<Partial<react4.ClassAttributes<HTMLTextAreaElement> & react4.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react4.RefAttributes<unknown>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Textarea };
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./_virtual/rolldown_runtime.cjs`),t=require(`./components/array-base/array-base.cjs`);require(`./components/array-base/index.cjs`);const n=require(`./components/array-cards/array-cards.cjs`);require(`./components/array-cards/index.cjs`);const r=require(`./components/array-collapse/array-collapse.cjs`);require(`./components/array-collapse/index.cjs`);const i=require(`./components/checkbox.cjs`),a=require(`./components/column.cjs`),o=require(`./components/combobox.cjs`),s=require(`./components/date-picker.cjs`),c=require(`./components/file-upload-inline.cjs`),l=require(`./components/form.cjs`),u=require(`./components/form-grid.cjs`),d=require(`./components/form-item.cjs`),f=require(`./components/input.cjs`),p=require(`./components/number-input.cjs`),m=require(`./components/radio.cjs`),h=require(`./components/row.cjs`),g=require(`./components/select.cjs`),_=require(`./components/separator.cjs`),v=require(`./components/slider.cjs`),y=require(`./components/switch.cjs`),b=require(`./components/textarea.cjs`),x=require(`./components/schema-field.cjs`),S=require(`./components/tags-input-inline.cjs`);let
|
|
1
|
+
const e=require(`./_virtual/rolldown_runtime.cjs`),t=require(`./components/array-base/array-base.cjs`);require(`./components/array-base/index.cjs`);const n=require(`./components/array-cards/array-cards.cjs`);require(`./components/array-cards/index.cjs`);const r=require(`./components/array-collapse/array-collapse.cjs`);require(`./components/array-collapse/index.cjs`);const i=require(`./components/checkbox.cjs`),a=require(`./components/column.cjs`),o=require(`./components/combobox.cjs`),s=require(`./components/date-picker.cjs`),c=require(`./components/file-upload-inline.cjs`),l=require(`./components/form.cjs`),u=require(`./components/form-grid.cjs`),d=require(`./components/form-item.cjs`),f=require(`./components/input.cjs`),p=require(`./components/number-input.cjs`),m=require(`./components/radio.cjs`),h=require(`./components/row.cjs`),g=require(`./components/select.cjs`),_=require(`./components/separator.cjs`),v=require(`./components/slider.cjs`),y=require(`./components/switch.cjs`),b=require(`./components/textarea.cjs`),x=require(`./components/schema-field.cjs`),S=require(`./components/json-schema-form-renderer.cjs`),C=require(`./components/tags-input-inline.cjs`);let w=require(`@formily/react`);w=e.__toESM(w);let T=require(`@formily/core`);T=e.__toESM(T);const E=`@pixpilot/formily-shadcn`;exports.ArrayBase=t.ArrayBase,exports.ArrayCards=n.ArrayCards,exports.ArrayCollapse=r.ArrayCollapse,exports.Checkbox=i.Checkbox,exports.Column=a.Column,exports.Combobox=o.Combobox,exports.ConnectedRadio=m.ConnectedRadio,exports.DatePicker=s.DatePicker,Object.defineProperty(exports,`Field`,{enumerable:!0,get:function(){return w.Field}}),exports.FileUploadInline=c.FileUploadInline,exports.Form=l.Form,Object.defineProperty(exports,`FormConsumer`,{enumerable:!0,get:function(){return w.FormConsumer}}),exports.FormGrid=u.FormGrid,exports.FormItem=d.FormItem,Object.defineProperty(exports,`FormProvider`,{enumerable:!0,get:function(){return w.FormProvider}}),exports.Input=f.Input,exports.JsonSchemaFormRenderer=S.JsonSchemaFormRenderer,exports.NumberInput=p.NumberInput,Object.defineProperty(exports,`ObjectField`,{enumerable:!0,get:function(){return w.ObjectField}}),exports.Radio=m.Radio,exports.Row=h.Row,exports.SchemaField=x.SchemaField,exports.Select=g.Select,exports.Separator=_.Separator,exports.Slider=v.Slider,exports.Switch=y.Switch,exports.TagsInputInLine=C.TagsInputInLine,exports.Textarea=b.Textarea,Object.defineProperty(exports,`VoidField`,{enumerable:!0,get:function(){return w.VoidField}}),Object.defineProperty(exports,`createForm`,{enumerable:!0,get:function(){return T.createForm}}),exports.name=`@pixpilot/formily-shadcn`;
|
package/dist/index.d.cts
CHANGED
|
@@ -14,6 +14,7 @@ import { Form } from "./components/form.cjs";
|
|
|
14
14
|
import { FormGrid } from "./components/form-grid.cjs";
|
|
15
15
|
import { FormItem } from "./components/form-item.cjs";
|
|
16
16
|
import { Input } from "./components/input.cjs";
|
|
17
|
+
import { JsonSchemaFormRenderer, JsonSchemaFormRendererProps } from "./components/json-schema-form-renderer.cjs";
|
|
17
18
|
import { NumberInput } from "./components/number-input.cjs";
|
|
18
19
|
import { ConnectedRadio, Radio } from "./components/radio.cjs";
|
|
19
20
|
import { Row } from "./components/row.cjs";
|
|
@@ -30,4 +31,4 @@ import { Form as IForm, createForm } from "@formily/core";
|
|
|
30
31
|
//#region src/index.d.ts
|
|
31
32
|
declare const name = "@pixpilot/formily-shadcn";
|
|
32
33
|
//#endregion
|
|
33
|
-
export { ArrayBase, type ArrayBaseMixins, ArrayCards, ArrayCollapse, Checkbox, Column, Combobox, ConnectedRadio, DatePicker, Field, FileUploadInline, Form, FormConsumer, FormGrid, FormItem, FormProvider, type IArrayBaseOperationProps, type IArrayBaseProps, type IForm, type ISchema, Input, NumberInput, ObjectField, Radio, Row, SchemaField, Select, Separator, Slider, Switch, TagsInputInLine, Textarea, VoidField, createForm, name };
|
|
34
|
+
export { ArrayBase, type ArrayBaseMixins, ArrayCards, ArrayCollapse, Checkbox, Column, Combobox, ConnectedRadio, DatePicker, Field, FileUploadInline, Form, FormConsumer, FormGrid, FormItem, FormProvider, type IArrayBaseOperationProps, type IArrayBaseProps, type IForm, type ISchema, Input, JsonSchemaFormRenderer, JsonSchemaFormRendererProps, NumberInput, ObjectField, Radio, Row, SchemaField, Select, Separator, Slider, Switch, TagsInputInLine, Textarea, VoidField, createForm, name };
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { Form } from "./components/form.js";
|
|
|
14
14
|
import { FormGrid } from "./components/form-grid.js";
|
|
15
15
|
import { FormItem } from "./components/form-item.js";
|
|
16
16
|
import { Input } from "./components/input.js";
|
|
17
|
+
import { JsonSchemaFormRenderer, JsonSchemaFormRendererProps } from "./components/json-schema-form-renderer.js";
|
|
17
18
|
import { NumberInput } from "./components/number-input.js";
|
|
18
19
|
import { ConnectedRadio, Radio } from "./components/radio.js";
|
|
19
20
|
import { Row } from "./components/row.js";
|
|
@@ -30,4 +31,4 @@ import { Form as IForm, createForm } from "@formily/core";
|
|
|
30
31
|
//#region src/index.d.ts
|
|
31
32
|
declare const name = "@pixpilot/formily-shadcn";
|
|
32
33
|
//#endregion
|
|
33
|
-
export { ArrayBase, type ArrayBaseMixins, ArrayCards, ArrayCollapse, Checkbox, Column, Combobox, ConnectedRadio, DatePicker, Field, FileUploadInline, Form, FormConsumer, FormGrid, FormItem, FormProvider, type IArrayBaseOperationProps, type IArrayBaseProps, type IForm, type ISchema, Input, NumberInput, ObjectField, Radio, Row, SchemaField, Select, Separator, Slider, Switch, TagsInputInLine, Textarea, VoidField, createForm, name };
|
|
34
|
+
export { ArrayBase, type ArrayBaseMixins, ArrayCards, ArrayCollapse, Checkbox, Column, Combobox, ConnectedRadio, DatePicker, Field, FileUploadInline, Form, FormConsumer, FormGrid, FormItem, FormProvider, type IArrayBaseOperationProps, type IArrayBaseProps, type IForm, type ISchema, Input, JsonSchemaFormRenderer, JsonSchemaFormRendererProps, NumberInput, ObjectField, Radio, Row, SchemaField, Select, Separator, Slider, Switch, TagsInputInLine, Textarea, VoidField, createForm, name };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ArrayBase as e}from"./components/array-base/array-base.js";import"./components/array-base/index.js";import{ArrayCards as t}from"./components/array-cards/array-cards.js";import"./components/array-cards/index.js";import{ArrayCollapse as n}from"./components/array-collapse/array-collapse.js";import"./components/array-collapse/index.js";import{Checkbox as r}from"./components/checkbox.js";import{Column as i}from"./components/column.js";import{Combobox as a}from"./components/combobox.js";import{DatePicker as o}from"./components/date-picker.js";import{FileUploadInline as s}from"./components/file-upload-inline.js";import{Form as c}from"./components/form.js";import{FormGrid as l}from"./components/form-grid.js";import{FormItem as u}from"./components/form-item.js";import{Input as d}from"./components/input.js";import{NumberInput as f}from"./components/number-input.js";import{ConnectedRadio as p,Radio as m}from"./components/radio.js";import{Row as h}from"./components/row.js";import{Select as g}from"./components/select.js";import{Separator as _}from"./components/separator.js";import{Slider as v}from"./components/slider.js";import{Switch as y}from"./components/switch.js";import{Textarea as b}from"./components/textarea.js";import{SchemaField as x}from"./components/schema-field.js";import{
|
|
1
|
+
import{ArrayBase as e}from"./components/array-base/array-base.js";import"./components/array-base/index.js";import{ArrayCards as t}from"./components/array-cards/array-cards.js";import"./components/array-cards/index.js";import{ArrayCollapse as n}from"./components/array-collapse/array-collapse.js";import"./components/array-collapse/index.js";import{Checkbox as r}from"./components/checkbox.js";import{Column as i}from"./components/column.js";import{Combobox as a}from"./components/combobox.js";import{DatePicker as o}from"./components/date-picker.js";import{FileUploadInline as s}from"./components/file-upload-inline.js";import{Form as c}from"./components/form.js";import{FormGrid as l}from"./components/form-grid.js";import{FormItem as u}from"./components/form-item.js";import{Input as d}from"./components/input.js";import{NumberInput as f}from"./components/number-input.js";import{ConnectedRadio as p,Radio as m}from"./components/radio.js";import{Row as h}from"./components/row.js";import{Select as g}from"./components/select.js";import{Separator as _}from"./components/separator.js";import{Slider as v}from"./components/slider.js";import{Switch as y}from"./components/switch.js";import{Textarea as b}from"./components/textarea.js";import{SchemaField as x}from"./components/schema-field.js";import{JsonSchemaFormRenderer as S}from"./components/json-schema-form-renderer.js";import{TagsInputInLine as C}from"./components/tags-input-inline.js";import{Field as w,FormConsumer as T,FormProvider as E,ObjectField as D,VoidField as O}from"@formily/react";import{createForm as k}from"@formily/core";const A=`@pixpilot/formily-shadcn`;export{e as ArrayBase,t as ArrayCards,n as ArrayCollapse,r as Checkbox,i as Column,a as Combobox,p as ConnectedRadio,o as DatePicker,w as Field,s as FileUploadInline,c as Form,T as FormConsumer,l as FormGrid,u as FormItem,E as FormProvider,d as Input,S as JsonSchemaFormRenderer,f as NumberInput,D as ObjectField,m as Radio,h as Row,x as SchemaField,g as Select,_ as Separator,v as Slider,y as Switch,C as TagsInputInLine,b as Textarea,O as VoidField,k as createForm,A as name};
|
package/dist/utils/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./create-panel-state-manager.cjs`),t=require(`./for-each-schema.cjs`),n=require(`./get-array-item-info.cjs`),r=require(`./get-default-value.cjs`),i=require(`./has-array-item-errors.cjs`),a=require(`./has-error.cjs`)
|
|
1
|
+
const e=require(`./create-panel-state-manager.cjs`),t=require(`./for-each-schema.cjs`),n=require(`./get-array-item-info.cjs`),r=require(`./get-default-value.cjs`),i=require(`./has-array-item-errors.cjs`),a=require(`./has-error.cjs`),o=require(`./transform-schema.cjs`),s=require(`./validate-array-item-fields.cjs`);require(`./use-array-item-editor.cjs`);
|
package/dist/utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createPanelStateManager as e}from"./create-panel-state-manager.js";import{forEachSchema as t}from"./for-each-schema.js";import{getArrayItemInfo as n}from"./get-array-item-info.js";import{getDefaultValue as r,getSchemaDefaultValue as i}from"./get-default-value.js";import{hasArrayItemErrors as a}from"./has-array-item-errors.js";import{fieldsHasError as o,filedHasError as s}from"./has-error.js";import"./transform-schema.js";import{validateArrayItemFields as
|
|
1
|
+
import{createPanelStateManager as e}from"./create-panel-state-manager.js";import{forEachSchema as t}from"./for-each-schema.js";import{getArrayItemInfo as n}from"./get-array-item-info.js";import{getDefaultValue as r,getSchemaDefaultValue as i}from"./get-default-value.js";import{hasArrayItemErrors as a}from"./has-array-item-errors.js";import{fieldsHasError as o,filedHasError as s}from"./has-error.js";import{transformSchema as c}from"./transform-schema.js";import{validateArrayItemFields as l}from"./validate-array-item-fields.js";import"./use-array-item-editor.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`../_virtual/rolldown_runtime.cjs`);require(`json-schema-traverse`);
|
|
1
|
+
const e=require(`../_virtual/rolldown_runtime.cjs`);let t=require(`json-schema-traverse`);t=e.__toESM(t);const n={string:{"x-component":`Input`,"x-decorator":`FormItem`},number:{"x-component":`NumberInput`,"x-decorator":`FormItem`},integer:{"x-component":`NumberInput`,"x-decorator":`FormItem`},boolean:{"x-component":`Checkbox`,"x-decorator":`FormItem`},array:{"x-component":`ArrayCards`,"x-decorator":`FormItem`}};function r(e){return(0,t.default)(e,{allKeys:!0,cb:e=>{let{type:t}=e;if(typeof t==`string`&&t in n){let r=n[t];e[`x-component`]=r[`x-component`],e[`x-decorator`]=r[`x-decorator`]}}}),e}exports.transformSchema=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"json-schema-traverse";
|
|
1
|
+
import e from"json-schema-traverse";const t={string:{"x-component":`Input`,"x-decorator":`FormItem`},number:{"x-component":`NumberInput`,"x-decorator":`FormItem`},integer:{"x-component":`NumberInput`,"x-decorator":`FormItem`},boolean:{"x-component":`Checkbox`,"x-decorator":`FormItem`},array:{"x-component":`ArrayCards`,"x-decorator":`FormItem`}};function n(n){return e(n,{allKeys:!0,cb:e=>{let{type:n}=e;if(typeof n==`string`&&n in t){let r=t[n];e[`x-component`]=r[`x-component`],e[`x-decorator`]=r[`x-decorator`]}}}),n}export{n as transformSchema};
|
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.3",
|
|
5
5
|
"description": "Formily integration for shadcn/ui components",
|
|
6
6
|
"author": "m.doaie <m.doaie@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"tsdown": "^0.15.8",
|
|
50
50
|
"typescript": "^5.9.3",
|
|
51
51
|
"@internal/eslint-config": "0.3.0",
|
|
52
|
-
"@internal/tsdown-config": "0.1.0",
|
|
53
52
|
"@internal/prettier-config": "0.0.1",
|
|
54
53
|
"@internal/tsconfig": "0.1.0",
|
|
54
|
+
"@internal/tsdown-config": "0.1.0",
|
|
55
55
|
"@internal/vitest-config": "0.1.0"
|
|
56
56
|
},
|
|
57
57
|
"prettier": "@internal/prettier-config",
|