@pixpilot/formily-shadcn 0.8.4 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +1 -42
  2. package/dist/components/array-base/components/array-item-label.cjs +4 -7
  3. package/dist/components/array-base/components/array-item-label.js +4 -6
  4. package/dist/components/array-base/components/empty.cjs +2 -2
  5. package/dist/components/array-base/components/empty.d.cts +9 -0
  6. package/dist/components/array-base/components/empty.d.ts +9 -0
  7. package/dist/components/array-base/components/empty.js +2 -2
  8. package/dist/components/array-base/components/get-array-components.cjs +1 -1
  9. package/dist/components/array-base/components/get-array-components.js +1 -1
  10. package/dist/components/array-base/components/types.d.cts +2 -1
  11. package/dist/components/array-base/components/types.d.ts +2 -1
  12. package/dist/components/array-base/components/use-array-components-registry.cjs +5 -8
  13. package/dist/components/array-base/components/use-array-components-registry.d.cts +1 -0
  14. package/dist/components/array-base/components/use-array-components-registry.d.ts +1 -0
  15. package/dist/components/array-base/components/use-array-components-registry.js +5 -8
  16. package/dist/components/array-cards/array-cards.cjs +1 -4
  17. package/dist/components/array-cards/array-cards.js +1 -4
  18. package/dist/components/array-cards/item.cjs +5 -12
  19. package/dist/components/array-cards/item.js +5 -12
  20. package/dist/components/array-collapse/array-collapse.cjs +1 -4
  21. package/dist/components/array-collapse/array-collapse.js +1 -4
  22. package/dist/components/array-collapse/item.cjs +1 -4
  23. package/dist/components/array-collapse/item.js +1 -4
  24. package/dist/components/array-common/list-item.cjs +0 -4
  25. package/dist/components/array-common/list-item.js +1 -5
  26. package/dist/components/array-dialog/array-dialog.cjs +2 -5
  27. package/dist/components/array-dialog/array-dialog.js +2 -5
  28. package/dist/components/file-upload/file-upload-inline.d.cts +8 -8
  29. package/dist/components/file-upload/file-upload-inline.d.ts +8 -8
  30. package/dist/components/file-upload/file-upload.d.cts +8 -8
  31. package/dist/components/file-upload/file-upload.d.ts +8 -8
  32. package/dist/components/json-schema-form-renderer.cjs +2 -1
  33. package/dist/components/json-schema-form-renderer.js +2 -1
  34. package/dist/components/radio.d.ts +2 -2
  35. package/dist/components/row.d.ts +2 -2
  36. package/dist/components/schema-field/index.cjs +3 -0
  37. package/dist/components/schema-field/index.d.cts +3 -0
  38. package/dist/components/schema-field/index.d.ts +3 -0
  39. package/dist/components/schema-field/index.js +3 -0
  40. package/dist/components/schema-field/schema-field-basics.cjs +54 -0
  41. package/dist/components/schema-field/schema-field-basics.d.cts +439 -0
  42. package/dist/components/schema-field/schema-field-basics.d.ts +439 -0
  43. package/dist/components/schema-field/schema-field-basics.js +51 -0
  44. package/dist/components/schema-field/schema-field-extended.cjs +28 -0
  45. package/dist/components/schema-field/schema-field-extended.d.cts +704 -0
  46. package/dist/components/schema-field/schema-field-extended.d.ts +704 -0
  47. package/dist/components/schema-field/schema-field-extended.js +25 -0
  48. package/dist/components/schema-field/schema-field.cjs +23 -0
  49. package/dist/components/schema-field/schema-field.d.cts +481 -0
  50. package/dist/components/schema-field/schema-field.d.ts +481 -0
  51. package/dist/components/schema-field/schema-field.js +19 -0
  52. package/dist/components/separator.d.cts +3 -3
  53. package/dist/components/slider.d.cts +2 -2
  54. package/dist/components/slider.d.ts +2 -2
  55. package/dist/components/switch.d.cts +3 -3
  56. package/dist/components/switch.d.ts +3 -3
  57. package/dist/components/tags-input-inline.d.cts +3 -3
  58. package/dist/components/tags-input-inline.d.ts +3 -3
  59. package/dist/components/textarea.d.cts +2 -2
  60. package/dist/index.cjs +12 -7
  61. package/dist/index.d.cts +5 -3
  62. package/dist/index.d.ts +5 -3
  63. package/dist/index.js +8 -6
  64. package/dist/utils/transform-schema.cjs +1 -1
  65. package/dist/utils/transform-schema.js +1 -1
  66. package/package.json +9 -9
  67. package/dist/components/array-base/components/title.cjs +0 -17
  68. package/dist/components/array-base/components/title.js +0 -14
  69. package/dist/components/schema-field-extended.cjs +0 -25
  70. package/dist/components/schema-field-extended.d.cts +0 -630
  71. package/dist/components/schema-field-extended.d.ts +0 -630
  72. package/dist/components/schema-field-extended.js +0 -23
  73. package/dist/components/schema-field.cjs +0 -61
  74. package/dist/components/schema-field.d.cts +0 -471
  75. package/dist/components/schema-field.d.ts +0 -471
  76. package/dist/components/schema-field.js +0 -57
@@ -1,471 +0,0 @@
1
- import { ArrayComponentProps, ComposedArrayProps } from "./array-base/types.js";
2
- import "./array-base/index.js";
3
- import { Column } from "./column.js";
4
- import { FormGrid } from "./form-grid.js";
5
- import { FormItemProps } from "./form-item.js";
6
- import { Row } from "./row.js";
7
- import { ObjectContainerProps } from "./object-container.js";
8
- import * as _formily_react0 from "@formily/react";
9
- import * as react21 from "react";
10
- import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
11
- import { TagsInput } from "@pixpilot/shadcn-ui";
12
- import * as _formily_core0 from "@formily/core";
13
- import * as _radix_ui_react_checkbox0 from "@radix-ui/react-checkbox";
14
- import * as react_day_picker0 from "react-day-picker";
15
- import * as _radix_ui_react_switch0 from "@radix-ui/react-switch";
16
- import * as _radix_ui_react_separator0 from "@radix-ui/react-separator";
17
-
18
- //#region src/components/schema-field.d.ts
19
- declare const basicComponents: {
20
- FormItem: react21.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
21
- children?: react21.ReactNode | undefined;
22
- }>, "ref"> & react21.RefAttributes<unknown>>;
23
- Hidden: react21.ForwardRefExoticComponent<Partial<{
24
- children?: React.ReactNode;
25
- value?: string;
26
- }> & react21.RefAttributes<unknown>>;
27
- Input: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
28
- Textarea: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLTextAreaElement> & react21.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react21.RefAttributes<unknown>>;
29
- NumberInput: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
30
- Checkbox: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
31
- Radio: react21.FC;
32
- Select: react21.FC;
33
- Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
34
- DatePicker: react21.ForwardRefExoticComponent<Partial<{
35
- value?: Date;
36
- onChange?: (date: Date | undefined) => void;
37
- placeholder?: string;
38
- } & Omit<{
39
- value?: Date;
40
- onChange?: (date: Date | undefined) => void;
41
- placeholder?: string;
42
- } & Omit<react_day_picker0.DayPickerProps & {
43
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
44
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react21.RefAttributes<unknown>>;
45
- Row: typeof Row;
46
- Column: typeof Column;
47
- FormGrid: typeof FormGrid;
48
- Combobox: react21.FC;
49
- TagsInput: typeof TagsInput;
50
- Separator: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react21.RefAttributes<HTMLDivElement>>, "ref"> & react21.RefAttributes<unknown>>;
51
- Slider: react21.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react21.RefAttributes<unknown>>;
52
- ArrayCards: ComposedArrayProps;
53
- ArrayDialog: react21.FC<ArrayComponentProps>;
54
- ArrayCollapse: react21.FC<ArrayComponentProps & {
55
- defaultActiveKey?: Array<string | number>;
56
- mode?: "accordion" | "multiple";
57
- }>;
58
- ArrayPopover: react21.FC<ArrayComponentProps>;
59
- ObjectContainer: react21.FC<ObjectContainerProps>;
60
- };
61
- declare const SchemaField: {
62
- <Decorator extends _formily_react0.JSXComponent, Component extends _formily_react0.JSXComponent>(props: _formily_react0.ISchemaFieldProps<Decorator, Component, _formily_core0.ObjectField<Decorator, Component>>): JSX.Element;
63
- displayName: string;
64
- Markup: {
65
- <Decorator_1 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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<{
66
- FormItem: react21.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
67
- children?: react21.ReactNode | undefined;
68
- }>, "ref"> & react21.RefAttributes<unknown>>;
69
- Hidden: react21.ForwardRefExoticComponent<Partial<{
70
- children?: React.ReactNode;
71
- value?: string;
72
- }> & react21.RefAttributes<unknown>>;
73
- Input: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
74
- Textarea: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLTextAreaElement> & react21.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react21.RefAttributes<unknown>>;
75
- NumberInput: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
76
- Checkbox: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
77
- Radio: react21.FC;
78
- Select: react21.FC;
79
- Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
80
- DatePicker: react21.ForwardRefExoticComponent<Partial<{
81
- value?: Date;
82
- onChange?: (date: Date | undefined) => void;
83
- placeholder?: string;
84
- } & Omit<{
85
- value?: Date;
86
- onChange?: (date: Date | undefined) => void;
87
- placeholder?: string;
88
- } & Omit<react_day_picker0.DayPickerProps & {
89
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
90
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react21.RefAttributes<unknown>>;
91
- Row: typeof Row;
92
- Column: typeof Column;
93
- FormGrid: typeof FormGrid;
94
- Combobox: react21.FC;
95
- TagsInput: typeof TagsInput;
96
- Separator: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react21.RefAttributes<HTMLDivElement>>, "ref"> & react21.RefAttributes<unknown>>;
97
- Slider: react21.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react21.RefAttributes<unknown>>;
98
- ArrayCards: ComposedArrayProps;
99
- ArrayDialog: react21.FC<ArrayComponentProps>;
100
- ArrayCollapse: react21.FC<ArrayComponentProps & {
101
- defaultActiveKey?: Array<string | number>;
102
- mode?: "accordion" | "multiple";
103
- }>;
104
- ArrayPopover: react21.FC<ArrayComponentProps>;
105
- ObjectContainer: react21.FC<ObjectContainerProps>;
106
- }, Component_1, Decorator_1>): JSX.Element;
107
- displayName: string;
108
- };
109
- String: {
110
- <Decorator_2 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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<{
111
- FormItem: react21.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
112
- children?: react21.ReactNode | undefined;
113
- }>, "ref"> & react21.RefAttributes<unknown>>;
114
- Hidden: react21.ForwardRefExoticComponent<Partial<{
115
- children?: React.ReactNode;
116
- value?: string;
117
- }> & react21.RefAttributes<unknown>>;
118
- Input: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
119
- Textarea: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLTextAreaElement> & react21.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react21.RefAttributes<unknown>>;
120
- NumberInput: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
121
- Checkbox: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
122
- Radio: react21.FC;
123
- Select: react21.FC;
124
- Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
125
- DatePicker: react21.ForwardRefExoticComponent<Partial<{
126
- value?: Date;
127
- onChange?: (date: Date | undefined) => void;
128
- placeholder?: string;
129
- } & Omit<{
130
- value?: Date;
131
- onChange?: (date: Date | undefined) => void;
132
- placeholder?: string;
133
- } & Omit<react_day_picker0.DayPickerProps & {
134
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
135
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react21.RefAttributes<unknown>>;
136
- Row: typeof Row;
137
- Column: typeof Column;
138
- FormGrid: typeof FormGrid;
139
- Combobox: react21.FC;
140
- TagsInput: typeof TagsInput;
141
- Separator: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react21.RefAttributes<HTMLDivElement>>, "ref"> & react21.RefAttributes<unknown>>;
142
- Slider: react21.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react21.RefAttributes<unknown>>;
143
- ArrayCards: ComposedArrayProps;
144
- ArrayDialog: react21.FC<ArrayComponentProps>;
145
- ArrayCollapse: react21.FC<ArrayComponentProps & {
146
- defaultActiveKey?: Array<string | number>;
147
- mode?: "accordion" | "multiple";
148
- }>;
149
- ArrayPopover: react21.FC<ArrayComponentProps>;
150
- ObjectContainer: react21.FC<ObjectContainerProps>;
151
- }, Component_2, Decorator_2>): JSX.Element;
152
- displayName: string;
153
- };
154
- Object: {
155
- <Decorator_3 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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<{
156
- FormItem: react21.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
157
- children?: react21.ReactNode | undefined;
158
- }>, "ref"> & react21.RefAttributes<unknown>>;
159
- Hidden: react21.ForwardRefExoticComponent<Partial<{
160
- children?: React.ReactNode;
161
- value?: string;
162
- }> & react21.RefAttributes<unknown>>;
163
- Input: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
164
- Textarea: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLTextAreaElement> & react21.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react21.RefAttributes<unknown>>;
165
- NumberInput: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
166
- Checkbox: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
167
- Radio: react21.FC;
168
- Select: react21.FC;
169
- Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
170
- DatePicker: react21.ForwardRefExoticComponent<Partial<{
171
- value?: Date;
172
- onChange?: (date: Date | undefined) => void;
173
- placeholder?: string;
174
- } & Omit<{
175
- value?: Date;
176
- onChange?: (date: Date | undefined) => void;
177
- placeholder?: string;
178
- } & Omit<react_day_picker0.DayPickerProps & {
179
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
180
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react21.RefAttributes<unknown>>;
181
- Row: typeof Row;
182
- Column: typeof Column;
183
- FormGrid: typeof FormGrid;
184
- Combobox: react21.FC;
185
- TagsInput: typeof TagsInput;
186
- Separator: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react21.RefAttributes<HTMLDivElement>>, "ref"> & react21.RefAttributes<unknown>>;
187
- Slider: react21.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react21.RefAttributes<unknown>>;
188
- ArrayCards: ComposedArrayProps;
189
- ArrayDialog: react21.FC<ArrayComponentProps>;
190
- ArrayCollapse: react21.FC<ArrayComponentProps & {
191
- defaultActiveKey?: Array<string | number>;
192
- mode?: "accordion" | "multiple";
193
- }>;
194
- ArrayPopover: react21.FC<ArrayComponentProps>;
195
- ObjectContainer: react21.FC<ObjectContainerProps>;
196
- }, Component_3, Decorator_3>): JSX.Element;
197
- displayName: string;
198
- };
199
- Array: {
200
- <Decorator_4 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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<{
201
- FormItem: react21.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
202
- children?: react21.ReactNode | undefined;
203
- }>, "ref"> & react21.RefAttributes<unknown>>;
204
- Hidden: react21.ForwardRefExoticComponent<Partial<{
205
- children?: React.ReactNode;
206
- value?: string;
207
- }> & react21.RefAttributes<unknown>>;
208
- Input: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
209
- Textarea: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLTextAreaElement> & react21.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react21.RefAttributes<unknown>>;
210
- NumberInput: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
211
- Checkbox: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
212
- Radio: react21.FC;
213
- Select: react21.FC;
214
- Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
215
- DatePicker: react21.ForwardRefExoticComponent<Partial<{
216
- value?: Date;
217
- onChange?: (date: Date | undefined) => void;
218
- placeholder?: string;
219
- } & Omit<{
220
- value?: Date;
221
- onChange?: (date: Date | undefined) => void;
222
- placeholder?: string;
223
- } & Omit<react_day_picker0.DayPickerProps & {
224
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
225
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react21.RefAttributes<unknown>>;
226
- Row: typeof Row;
227
- Column: typeof Column;
228
- FormGrid: typeof FormGrid;
229
- Combobox: react21.FC;
230
- TagsInput: typeof TagsInput;
231
- Separator: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react21.RefAttributes<HTMLDivElement>>, "ref"> & react21.RefAttributes<unknown>>;
232
- Slider: react21.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react21.RefAttributes<unknown>>;
233
- ArrayCards: ComposedArrayProps;
234
- ArrayDialog: react21.FC<ArrayComponentProps>;
235
- ArrayCollapse: react21.FC<ArrayComponentProps & {
236
- defaultActiveKey?: Array<string | number>;
237
- mode?: "accordion" | "multiple";
238
- }>;
239
- ArrayPopover: react21.FC<ArrayComponentProps>;
240
- ObjectContainer: react21.FC<ObjectContainerProps>;
241
- }, Component_4, Decorator_4>): JSX.Element;
242
- displayName: string;
243
- };
244
- Boolean: {
245
- <Decorator_5 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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<{
246
- FormItem: react21.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
247
- children?: react21.ReactNode | undefined;
248
- }>, "ref"> & react21.RefAttributes<unknown>>;
249
- Hidden: react21.ForwardRefExoticComponent<Partial<{
250
- children?: React.ReactNode;
251
- value?: string;
252
- }> & react21.RefAttributes<unknown>>;
253
- Input: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
254
- Textarea: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLTextAreaElement> & react21.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react21.RefAttributes<unknown>>;
255
- NumberInput: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
256
- Checkbox: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
257
- Radio: react21.FC;
258
- Select: react21.FC;
259
- Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
260
- DatePicker: react21.ForwardRefExoticComponent<Partial<{
261
- value?: Date;
262
- onChange?: (date: Date | undefined) => void;
263
- placeholder?: string;
264
- } & Omit<{
265
- value?: Date;
266
- onChange?: (date: Date | undefined) => void;
267
- placeholder?: string;
268
- } & Omit<react_day_picker0.DayPickerProps & {
269
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
270
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react21.RefAttributes<unknown>>;
271
- Row: typeof Row;
272
- Column: typeof Column;
273
- FormGrid: typeof FormGrid;
274
- Combobox: react21.FC;
275
- TagsInput: typeof TagsInput;
276
- Separator: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react21.RefAttributes<HTMLDivElement>>, "ref"> & react21.RefAttributes<unknown>>;
277
- Slider: react21.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react21.RefAttributes<unknown>>;
278
- ArrayCards: ComposedArrayProps;
279
- ArrayDialog: react21.FC<ArrayComponentProps>;
280
- ArrayCollapse: react21.FC<ArrayComponentProps & {
281
- defaultActiveKey?: Array<string | number>;
282
- mode?: "accordion" | "multiple";
283
- }>;
284
- ArrayPopover: react21.FC<ArrayComponentProps>;
285
- ObjectContainer: react21.FC<ObjectContainerProps>;
286
- }, Component_5, Decorator_5>): JSX.Element;
287
- displayName: string;
288
- };
289
- Date: {
290
- <Decorator_6 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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<{
291
- FormItem: react21.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
292
- children?: react21.ReactNode | undefined;
293
- }>, "ref"> & react21.RefAttributes<unknown>>;
294
- Hidden: react21.ForwardRefExoticComponent<Partial<{
295
- children?: React.ReactNode;
296
- value?: string;
297
- }> & react21.RefAttributes<unknown>>;
298
- Input: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
299
- Textarea: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLTextAreaElement> & react21.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react21.RefAttributes<unknown>>;
300
- NumberInput: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
301
- Checkbox: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
302
- Radio: react21.FC;
303
- Select: react21.FC;
304
- Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
305
- DatePicker: react21.ForwardRefExoticComponent<Partial<{
306
- value?: Date;
307
- onChange?: (date: Date | undefined) => void;
308
- placeholder?: string;
309
- } & Omit<{
310
- value?: Date;
311
- onChange?: (date: Date | undefined) => void;
312
- placeholder?: string;
313
- } & Omit<react_day_picker0.DayPickerProps & {
314
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
315
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react21.RefAttributes<unknown>>;
316
- Row: typeof Row;
317
- Column: typeof Column;
318
- FormGrid: typeof FormGrid;
319
- Combobox: react21.FC;
320
- TagsInput: typeof TagsInput;
321
- Separator: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react21.RefAttributes<HTMLDivElement>>, "ref"> & react21.RefAttributes<unknown>>;
322
- Slider: react21.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react21.RefAttributes<unknown>>;
323
- ArrayCards: ComposedArrayProps;
324
- ArrayDialog: react21.FC<ArrayComponentProps>;
325
- ArrayCollapse: react21.FC<ArrayComponentProps & {
326
- defaultActiveKey?: Array<string | number>;
327
- mode?: "accordion" | "multiple";
328
- }>;
329
- ArrayPopover: react21.FC<ArrayComponentProps>;
330
- ObjectContainer: react21.FC<ObjectContainerProps>;
331
- }, Component_6, Decorator_6>): JSX.Element;
332
- displayName: string;
333
- };
334
- DateTime: {
335
- <Decorator_7 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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<{
336
- FormItem: react21.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
337
- children?: react21.ReactNode | undefined;
338
- }>, "ref"> & react21.RefAttributes<unknown>>;
339
- Hidden: react21.ForwardRefExoticComponent<Partial<{
340
- children?: React.ReactNode;
341
- value?: string;
342
- }> & react21.RefAttributes<unknown>>;
343
- Input: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
344
- Textarea: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLTextAreaElement> & react21.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react21.RefAttributes<unknown>>;
345
- NumberInput: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
346
- Checkbox: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
347
- Radio: react21.FC;
348
- Select: react21.FC;
349
- Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
350
- DatePicker: react21.ForwardRefExoticComponent<Partial<{
351
- value?: Date;
352
- onChange?: (date: Date | undefined) => void;
353
- placeholder?: string;
354
- } & Omit<{
355
- value?: Date;
356
- onChange?: (date: Date | undefined) => void;
357
- placeholder?: string;
358
- } & Omit<react_day_picker0.DayPickerProps & {
359
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
360
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react21.RefAttributes<unknown>>;
361
- Row: typeof Row;
362
- Column: typeof Column;
363
- FormGrid: typeof FormGrid;
364
- Combobox: react21.FC;
365
- TagsInput: typeof TagsInput;
366
- Separator: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react21.RefAttributes<HTMLDivElement>>, "ref"> & react21.RefAttributes<unknown>>;
367
- Slider: react21.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react21.RefAttributes<unknown>>;
368
- ArrayCards: ComposedArrayProps;
369
- ArrayDialog: react21.FC<ArrayComponentProps>;
370
- ArrayCollapse: react21.FC<ArrayComponentProps & {
371
- defaultActiveKey?: Array<string | number>;
372
- mode?: "accordion" | "multiple";
373
- }>;
374
- ArrayPopover: react21.FC<ArrayComponentProps>;
375
- ObjectContainer: react21.FC<ObjectContainerProps>;
376
- }, Component_7, Decorator_7>): JSX.Element;
377
- displayName: string;
378
- };
379
- Void: {
380
- <Decorator_8 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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<{
381
- FormItem: react21.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
382
- children?: react21.ReactNode | undefined;
383
- }>, "ref"> & react21.RefAttributes<unknown>>;
384
- Hidden: react21.ForwardRefExoticComponent<Partial<{
385
- children?: React.ReactNode;
386
- value?: string;
387
- }> & react21.RefAttributes<unknown>>;
388
- Input: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
389
- Textarea: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLTextAreaElement> & react21.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react21.RefAttributes<unknown>>;
390
- NumberInput: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
391
- Checkbox: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
392
- Radio: react21.FC;
393
- Select: react21.FC;
394
- Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
395
- DatePicker: react21.ForwardRefExoticComponent<Partial<{
396
- value?: Date;
397
- onChange?: (date: Date | undefined) => void;
398
- placeholder?: string;
399
- } & Omit<{
400
- value?: Date;
401
- onChange?: (date: Date | undefined) => void;
402
- placeholder?: string;
403
- } & Omit<react_day_picker0.DayPickerProps & {
404
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
405
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react21.RefAttributes<unknown>>;
406
- Row: typeof Row;
407
- Column: typeof Column;
408
- FormGrid: typeof FormGrid;
409
- Combobox: react21.FC;
410
- TagsInput: typeof TagsInput;
411
- Separator: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react21.RefAttributes<HTMLDivElement>>, "ref"> & react21.RefAttributes<unknown>>;
412
- Slider: react21.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react21.RefAttributes<unknown>>;
413
- ArrayCards: ComposedArrayProps;
414
- ArrayDialog: react21.FC<ArrayComponentProps>;
415
- ArrayCollapse: react21.FC<ArrayComponentProps & {
416
- defaultActiveKey?: Array<string | number>;
417
- mode?: "accordion" | "multiple";
418
- }>;
419
- ArrayPopover: react21.FC<ArrayComponentProps>;
420
- ObjectContainer: react21.FC<ObjectContainerProps>;
421
- }, Component_8, Decorator_8>): JSX.Element;
422
- displayName: string;
423
- };
424
- Number: {
425
- <Decorator_9 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Combobox" | "TagsInput" | "Separator" | "Slider" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$typeof" | "Slider.$$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<{
426
- FormItem: react21.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
427
- children?: react21.ReactNode | undefined;
428
- }>, "ref"> & react21.RefAttributes<unknown>>;
429
- Hidden: react21.ForwardRefExoticComponent<Partial<{
430
- children?: React.ReactNode;
431
- value?: string;
432
- }> & react21.RefAttributes<unknown>>;
433
- Input: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
434
- Textarea: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLTextAreaElement> & react21.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react21.RefAttributes<unknown>>;
435
- NumberInput: react21.ForwardRefExoticComponent<Omit<Partial<react21.ClassAttributes<HTMLInputElement> & react21.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react21.RefAttributes<unknown>>;
436
- Checkbox: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
437
- Radio: react21.FC;
438
- Select: react21.FC;
439
- Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
440
- DatePicker: react21.ForwardRefExoticComponent<Partial<{
441
- value?: Date;
442
- onChange?: (date: Date | undefined) => void;
443
- placeholder?: string;
444
- } & Omit<{
445
- value?: Date;
446
- onChange?: (date: Date | undefined) => void;
447
- placeholder?: string;
448
- } & Omit<react_day_picker0.DayPickerProps & {
449
- buttonVariant?: React.ComponentProps<typeof void 0>["variant"];
450
- }, "onSelect" | "selected" | "mode">, "onSelect" | "selected" | "mode">> & react21.RefAttributes<unknown>>;
451
- Row: typeof Row;
452
- Column: typeof Column;
453
- FormGrid: typeof FormGrid;
454
- Combobox: react21.FC;
455
- TagsInput: typeof TagsInput;
456
- Separator: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react21.RefAttributes<HTMLDivElement>>, "ref"> & react21.RefAttributes<unknown>>;
457
- Slider: react21.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui0.SliderProps>, "ref"> & react21.RefAttributes<unknown>>;
458
- ArrayCards: ComposedArrayProps;
459
- ArrayDialog: react21.FC<ArrayComponentProps>;
460
- ArrayCollapse: react21.FC<ArrayComponentProps & {
461
- defaultActiveKey?: Array<string | number>;
462
- mode?: "accordion" | "multiple";
463
- }>;
464
- ArrayPopover: react21.FC<ArrayComponentProps>;
465
- ObjectContainer: react21.FC<ObjectContainerProps>;
466
- }, Component_9, Decorator_9>): JSX.Element;
467
- displayName: string;
468
- };
469
- };
470
- //#endregion
471
- export { SchemaField, basicComponents };
@@ -1,57 +0,0 @@
1
- import { ArrayCards } from "./array-cards/array-cards.js";
2
- import "./array-cards/index.js";
3
- import { ArrayCollapse } from "./array-collapse/array-collapse.js";
4
- import "./array-collapse/index.js";
5
- import { Checkbox } from "./checkbox.js";
6
- import { Column } from "./column.js";
7
- import { Combobox as Combobox$1 } from "./combobox.js";
8
- import { DatePicker as DatePicker$1 } from "./date-picker.js";
9
- import { FormGrid } from "./form-grid.js";
10
- import { FormItem } from "./form-item.js";
11
- import { Input } from "./input.js";
12
- import { ArrayDialog } from "./array-dialog/array-dialog.js";
13
- import "./array-dialog/index.js";
14
- import { ArrayPopover } from "./array-popover/array-popover.js";
15
- import "./array-popover/index.js";
16
- import { Hidden } from "./hidden.js";
17
- import { NumberInput } from "./number-input.js";
18
- import { ObjectContainer } from "./object-container.js";
19
- import { ConnectedRadio } from "./radio.js";
20
- import { Row } from "./row.js";
21
- import { Select as Select$1 } from "./select.js";
22
- import { Separator } from "./separator.js";
23
- import { Slider as Slider$1 } from "./slider.js";
24
- import { Switch } from "./switch.js";
25
- import { Textarea } from "./textarea.js";
26
- import { createSchemaField } from "@formily/react";
27
- import { TagsInput } from "@pixpilot/shadcn-ui";
28
-
29
- //#region src/components/schema-field.tsx
30
- const basicComponents = {
31
- FormItem,
32
- Hidden,
33
- Input,
34
- Textarea,
35
- NumberInput,
36
- Checkbox,
37
- Radio: ConnectedRadio,
38
- Select: Select$1,
39
- Switch,
40
- DatePicker: DatePicker$1,
41
- Row,
42
- Column,
43
- FormGrid,
44
- Combobox: Combobox$1,
45
- TagsInput,
46
- Separator,
47
- Slider: Slider$1,
48
- ArrayCards,
49
- ArrayDialog,
50
- ArrayCollapse,
51
- ArrayPopover,
52
- ObjectContainer
53
- };
54
- const SchemaField = createSchemaField({ components: basicComponents });
55
-
56
- //#endregion
57
- export { SchemaField, basicComponents };