@pixpilot/formily-shadcn 0.1.2 → 0.1.4

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