@pixpilot/formily-shadcn 0.11.0 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/date-picker.d.cts +3 -3
- package/dist/components/file-upload/file-upload-inline.d.ts +8 -8
- package/dist/components/file-upload/file-upload.d.ts +8 -8
- package/dist/components/form-grid.d.cts +2 -2
- package/dist/components/form.d.cts +2 -2
- package/dist/components/icon-picker.d.cts +3 -3
- package/dist/components/icon-picker.d.ts +3 -3
- package/dist/components/input.d.cts +2 -2
- package/dist/components/input.d.ts +2 -2
- package/dist/components/json-schema-form-renderer/json-schema-form-renderer.cjs +3 -3
- package/dist/components/json-schema-form-renderer/json-schema-form-renderer.js +1 -1
- package/dist/components/number-input.d.cts +2 -2
- package/dist/components/radio.d.cts +2 -2
- package/dist/components/row.d.cts +2 -2
- package/dist/components/schema-field/schema-field-basics.d.cts +211 -211
- package/dist/components/schema-field/schema-field-basics.d.ts +12 -12
- package/dist/components/schema-field/schema-field-extended.d.cts +468 -468
- package/dist/components/schema-field/schema-field-extended.d.ts +221 -221
- package/dist/components/schema-field/schema-field.d.cts +259 -259
- package/dist/components/schema-field/schema-field.d.ts +34 -34
- package/dist/components/separator.d.ts +2 -2
- package/dist/components/slider.d.cts +2 -2
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/switch.d.cts +2 -2
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/tags-input-inline.d.ts +2 -2
- package/dist/components/textarea.d.ts +2 -2
- package/dist/utils/transform-schema.cjs +3 -2
- package/dist/utils/transform-schema.js +3 -2
- package/package.json +4 -4
|
@@ -8,7 +8,7 @@ import { Row } from "../row.js";
|
|
|
8
8
|
import { ObjectContainerProps } from "../object-container.js";
|
|
9
9
|
import * as _formily_react11 from "@formily/react";
|
|
10
10
|
import * as react536 from "react";
|
|
11
|
-
import * as
|
|
11
|
+
import * as _pixpilot_shadcn_ui242 from "@pixpilot/shadcn-ui";
|
|
12
12
|
import { TagsInput } from "@pixpilot/shadcn-ui";
|
|
13
13
|
import * as _formily_core0 from "@formily/core";
|
|
14
14
|
import * as _radix_ui_react_checkbox11 from "@radix-ui/react-checkbox";
|
|
@@ -26,11 +26,11 @@ declare const defaultComponentRegistry: {
|
|
|
26
26
|
decorator: string;
|
|
27
27
|
};
|
|
28
28
|
TagsInputInLine: {
|
|
29
|
-
component: react536.ForwardRefExoticComponent<Partial<
|
|
29
|
+
component: react536.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui242.TagsInputProps> & react536.RefAttributes<unknown>>;
|
|
30
30
|
decorator: string;
|
|
31
31
|
};
|
|
32
32
|
Slider: {
|
|
33
|
-
component: react536.ForwardRefExoticComponent<Omit<Partial<
|
|
33
|
+
component: react536.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui242.SliderProps>, "ref"> & react536.RefAttributes<unknown>>;
|
|
34
34
|
decorator: string;
|
|
35
35
|
};
|
|
36
36
|
FormItem: {
|
|
@@ -77,7 +77,7 @@ declare const defaultComponentRegistry: {
|
|
|
77
77
|
value?: Date;
|
|
78
78
|
onChange?: (date: Date | undefined) => void;
|
|
79
79
|
placeholder?: string;
|
|
80
|
-
} & Omit<
|
|
80
|
+
} & Omit<_pixpilot_shadcn_ui242.DatePickerProps, "onSelect" | "selected" | "mode">> & react536.RefAttributes<unknown>>;
|
|
81
81
|
decorator: string;
|
|
82
82
|
};
|
|
83
83
|
Row: {
|
|
@@ -119,8 +119,8 @@ declare const defaultComponentRegistry: {
|
|
|
119
119
|
declare const defaultComponents: {
|
|
120
120
|
Combobox: react536.FC;
|
|
121
121
|
TagsInput: typeof TagsInput;
|
|
122
|
-
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<
|
|
123
|
-
Slider: react536.ForwardRefExoticComponent<Omit<Partial<
|
|
122
|
+
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui242.TagsInputProps> & react536.RefAttributes<unknown>>;
|
|
123
|
+
Slider: react536.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui242.SliderProps>, "ref"> & react536.RefAttributes<unknown>>;
|
|
124
124
|
FormItem: react536.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
125
125
|
children?: react536.ReactNode | undefined;
|
|
126
126
|
}>, "ref"> & react536.RefAttributes<unknown>>;
|
|
@@ -139,7 +139,7 @@ declare const defaultComponents: {
|
|
|
139
139
|
value?: Date;
|
|
140
140
|
onChange?: (date: Date | undefined) => void;
|
|
141
141
|
placeholder?: string;
|
|
142
|
-
} & Omit<
|
|
142
|
+
} & Omit<_pixpilot_shadcn_ui242.DatePickerProps, "onSelect" | "selected" | "mode">> & react536.RefAttributes<unknown>>;
|
|
143
143
|
Row: typeof Row;
|
|
144
144
|
Column: typeof Column;
|
|
145
145
|
FormGrid: typeof FormGrid;
|
|
@@ -160,8 +160,8 @@ declare const SchemaField: {
|
|
|
160
160
|
<Decorator_1 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof", Component_1 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof">(props: _formily_react11.ISchemaMarkupFieldProps<{
|
|
161
161
|
Combobox: react536.FC;
|
|
162
162
|
TagsInput: typeof TagsInput;
|
|
163
|
-
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<
|
|
164
|
-
Slider: react536.ForwardRefExoticComponent<Omit<Partial<
|
|
163
|
+
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui242.TagsInputProps> & react536.RefAttributes<unknown>>;
|
|
164
|
+
Slider: react536.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui242.SliderProps>, "ref"> & react536.RefAttributes<unknown>>;
|
|
165
165
|
FormItem: react536.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
166
166
|
children?: react536.ReactNode | undefined;
|
|
167
167
|
}>, "ref"> & react536.RefAttributes<unknown>>;
|
|
@@ -180,7 +180,7 @@ declare const SchemaField: {
|
|
|
180
180
|
value?: Date;
|
|
181
181
|
onChange?: (date: Date | undefined) => void;
|
|
182
182
|
placeholder?: string;
|
|
183
|
-
} & Omit<
|
|
183
|
+
} & Omit<_pixpilot_shadcn_ui242.DatePickerProps, "onSelect" | "selected" | "mode">> & react536.RefAttributes<unknown>>;
|
|
184
184
|
Row: typeof Row;
|
|
185
185
|
Column: typeof Column;
|
|
186
186
|
FormGrid: typeof FormGrid;
|
|
@@ -200,8 +200,8 @@ declare const SchemaField: {
|
|
|
200
200
|
<Decorator_2 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof", Component_2 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof">(props: _formily_react11.ISchemaTypeFieldProps<{
|
|
201
201
|
Combobox: react536.FC;
|
|
202
202
|
TagsInput: typeof TagsInput;
|
|
203
|
-
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<
|
|
204
|
-
Slider: react536.ForwardRefExoticComponent<Omit<Partial<
|
|
203
|
+
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui242.TagsInputProps> & react536.RefAttributes<unknown>>;
|
|
204
|
+
Slider: react536.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui242.SliderProps>, "ref"> & react536.RefAttributes<unknown>>;
|
|
205
205
|
FormItem: react536.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
206
206
|
children?: react536.ReactNode | undefined;
|
|
207
207
|
}>, "ref"> & react536.RefAttributes<unknown>>;
|
|
@@ -220,7 +220,7 @@ declare const SchemaField: {
|
|
|
220
220
|
value?: Date;
|
|
221
221
|
onChange?: (date: Date | undefined) => void;
|
|
222
222
|
placeholder?: string;
|
|
223
|
-
} & Omit<
|
|
223
|
+
} & Omit<_pixpilot_shadcn_ui242.DatePickerProps, "onSelect" | "selected" | "mode">> & react536.RefAttributes<unknown>>;
|
|
224
224
|
Row: typeof Row;
|
|
225
225
|
Column: typeof Column;
|
|
226
226
|
FormGrid: typeof FormGrid;
|
|
@@ -240,8 +240,8 @@ declare const SchemaField: {
|
|
|
240
240
|
<Decorator_3 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof", Component_3 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof">(props: _formily_react11.ISchemaTypeFieldProps<{
|
|
241
241
|
Combobox: react536.FC;
|
|
242
242
|
TagsInput: typeof TagsInput;
|
|
243
|
-
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<
|
|
244
|
-
Slider: react536.ForwardRefExoticComponent<Omit<Partial<
|
|
243
|
+
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui242.TagsInputProps> & react536.RefAttributes<unknown>>;
|
|
244
|
+
Slider: react536.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui242.SliderProps>, "ref"> & react536.RefAttributes<unknown>>;
|
|
245
245
|
FormItem: react536.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
246
246
|
children?: react536.ReactNode | undefined;
|
|
247
247
|
}>, "ref"> & react536.RefAttributes<unknown>>;
|
|
@@ -260,7 +260,7 @@ declare const SchemaField: {
|
|
|
260
260
|
value?: Date;
|
|
261
261
|
onChange?: (date: Date | undefined) => void;
|
|
262
262
|
placeholder?: string;
|
|
263
|
-
} & Omit<
|
|
263
|
+
} & Omit<_pixpilot_shadcn_ui242.DatePickerProps, "onSelect" | "selected" | "mode">> & react536.RefAttributes<unknown>>;
|
|
264
264
|
Row: typeof Row;
|
|
265
265
|
Column: typeof Column;
|
|
266
266
|
FormGrid: typeof FormGrid;
|
|
@@ -280,8 +280,8 @@ declare const SchemaField: {
|
|
|
280
280
|
<Decorator_4 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof", Component_4 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof">(props: _formily_react11.ISchemaTypeFieldProps<{
|
|
281
281
|
Combobox: react536.FC;
|
|
282
282
|
TagsInput: typeof TagsInput;
|
|
283
|
-
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<
|
|
284
|
-
Slider: react536.ForwardRefExoticComponent<Omit<Partial<
|
|
283
|
+
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui242.TagsInputProps> & react536.RefAttributes<unknown>>;
|
|
284
|
+
Slider: react536.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui242.SliderProps>, "ref"> & react536.RefAttributes<unknown>>;
|
|
285
285
|
FormItem: react536.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
286
286
|
children?: react536.ReactNode | undefined;
|
|
287
287
|
}>, "ref"> & react536.RefAttributes<unknown>>;
|
|
@@ -300,7 +300,7 @@ declare const SchemaField: {
|
|
|
300
300
|
value?: Date;
|
|
301
301
|
onChange?: (date: Date | undefined) => void;
|
|
302
302
|
placeholder?: string;
|
|
303
|
-
} & Omit<
|
|
303
|
+
} & Omit<_pixpilot_shadcn_ui242.DatePickerProps, "onSelect" | "selected" | "mode">> & react536.RefAttributes<unknown>>;
|
|
304
304
|
Row: typeof Row;
|
|
305
305
|
Column: typeof Column;
|
|
306
306
|
FormGrid: typeof FormGrid;
|
|
@@ -320,8 +320,8 @@ declare const SchemaField: {
|
|
|
320
320
|
<Decorator_5 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof", Component_5 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof">(props: _formily_react11.ISchemaTypeFieldProps<{
|
|
321
321
|
Combobox: react536.FC;
|
|
322
322
|
TagsInput: typeof TagsInput;
|
|
323
|
-
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<
|
|
324
|
-
Slider: react536.ForwardRefExoticComponent<Omit<Partial<
|
|
323
|
+
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui242.TagsInputProps> & react536.RefAttributes<unknown>>;
|
|
324
|
+
Slider: react536.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui242.SliderProps>, "ref"> & react536.RefAttributes<unknown>>;
|
|
325
325
|
FormItem: react536.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
326
326
|
children?: react536.ReactNode | undefined;
|
|
327
327
|
}>, "ref"> & react536.RefAttributes<unknown>>;
|
|
@@ -340,7 +340,7 @@ declare const SchemaField: {
|
|
|
340
340
|
value?: Date;
|
|
341
341
|
onChange?: (date: Date | undefined) => void;
|
|
342
342
|
placeholder?: string;
|
|
343
|
-
} & Omit<
|
|
343
|
+
} & Omit<_pixpilot_shadcn_ui242.DatePickerProps, "onSelect" | "selected" | "mode">> & react536.RefAttributes<unknown>>;
|
|
344
344
|
Row: typeof Row;
|
|
345
345
|
Column: typeof Column;
|
|
346
346
|
FormGrid: typeof FormGrid;
|
|
@@ -360,8 +360,8 @@ declare const SchemaField: {
|
|
|
360
360
|
<Decorator_6 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof", Component_6 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof">(props: _formily_react11.ISchemaTypeFieldProps<{
|
|
361
361
|
Combobox: react536.FC;
|
|
362
362
|
TagsInput: typeof TagsInput;
|
|
363
|
-
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<
|
|
364
|
-
Slider: react536.ForwardRefExoticComponent<Omit<Partial<
|
|
363
|
+
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui242.TagsInputProps> & react536.RefAttributes<unknown>>;
|
|
364
|
+
Slider: react536.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui242.SliderProps>, "ref"> & react536.RefAttributes<unknown>>;
|
|
365
365
|
FormItem: react536.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
366
366
|
children?: react536.ReactNode | undefined;
|
|
367
367
|
}>, "ref"> & react536.RefAttributes<unknown>>;
|
|
@@ -380,7 +380,7 @@ declare const SchemaField: {
|
|
|
380
380
|
value?: Date;
|
|
381
381
|
onChange?: (date: Date | undefined) => void;
|
|
382
382
|
placeholder?: string;
|
|
383
|
-
} & Omit<
|
|
383
|
+
} & Omit<_pixpilot_shadcn_ui242.DatePickerProps, "onSelect" | "selected" | "mode">> & react536.RefAttributes<unknown>>;
|
|
384
384
|
Row: typeof Row;
|
|
385
385
|
Column: typeof Column;
|
|
386
386
|
FormGrid: typeof FormGrid;
|
|
@@ -400,8 +400,8 @@ declare const SchemaField: {
|
|
|
400
400
|
<Decorator_7 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof", Component_7 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof">(props: _formily_react11.ISchemaTypeFieldProps<{
|
|
401
401
|
Combobox: react536.FC;
|
|
402
402
|
TagsInput: typeof TagsInput;
|
|
403
|
-
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<
|
|
404
|
-
Slider: react536.ForwardRefExoticComponent<Omit<Partial<
|
|
403
|
+
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui242.TagsInputProps> & react536.RefAttributes<unknown>>;
|
|
404
|
+
Slider: react536.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui242.SliderProps>, "ref"> & react536.RefAttributes<unknown>>;
|
|
405
405
|
FormItem: react536.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
406
406
|
children?: react536.ReactNode | undefined;
|
|
407
407
|
}>, "ref"> & react536.RefAttributes<unknown>>;
|
|
@@ -420,7 +420,7 @@ declare const SchemaField: {
|
|
|
420
420
|
value?: Date;
|
|
421
421
|
onChange?: (date: Date | undefined) => void;
|
|
422
422
|
placeholder?: string;
|
|
423
|
-
} & Omit<
|
|
423
|
+
} & Omit<_pixpilot_shadcn_ui242.DatePickerProps, "onSelect" | "selected" | "mode">> & react536.RefAttributes<unknown>>;
|
|
424
424
|
Row: typeof Row;
|
|
425
425
|
Column: typeof Column;
|
|
426
426
|
FormGrid: typeof FormGrid;
|
|
@@ -440,8 +440,8 @@ declare const SchemaField: {
|
|
|
440
440
|
<Decorator_8 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof", Component_8 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof">(props: _formily_react11.ISchemaTypeFieldProps<{
|
|
441
441
|
Combobox: react536.FC;
|
|
442
442
|
TagsInput: typeof TagsInput;
|
|
443
|
-
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<
|
|
444
|
-
Slider: react536.ForwardRefExoticComponent<Omit<Partial<
|
|
443
|
+
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui242.TagsInputProps> & react536.RefAttributes<unknown>>;
|
|
444
|
+
Slider: react536.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui242.SliderProps>, "ref"> & react536.RefAttributes<unknown>>;
|
|
445
445
|
FormItem: react536.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
446
446
|
children?: react536.ReactNode | undefined;
|
|
447
447
|
}>, "ref"> & react536.RefAttributes<unknown>>;
|
|
@@ -460,7 +460,7 @@ declare const SchemaField: {
|
|
|
460
460
|
value?: Date;
|
|
461
461
|
onChange?: (date: Date | undefined) => void;
|
|
462
462
|
placeholder?: string;
|
|
463
|
-
} & Omit<
|
|
463
|
+
} & Omit<_pixpilot_shadcn_ui242.DatePickerProps, "onSelect" | "selected" | "mode">> & react536.RefAttributes<unknown>>;
|
|
464
464
|
Row: typeof Row;
|
|
465
465
|
Column: typeof Column;
|
|
466
466
|
FormGrid: typeof FormGrid;
|
|
@@ -480,8 +480,8 @@ declare const SchemaField: {
|
|
|
480
480
|
<Decorator_9 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof", Component_9 extends "Radio" | "FormItem" | "Hidden" | "Input" | "Textarea" | "NumberInput" | "Checkbox" | "Select" | "Switch" | "DatePicker" | "Row" | "Column" | "FormGrid" | "Separator" | "ArrayCards" | "ArrayDialog" | "ArrayCollapse" | "ArrayPopover" | "ObjectContainer" | "Combobox" | "TagsInput" | "TagsInputInLine" | "Slider" | "FormItem.$$typeof" | "Hidden.$$typeof" | "Input.$$typeof" | "Textarea.$$typeof" | "NumberInput.$$typeof" | "Checkbox.$$typeof" | "Switch.$$typeof" | "DatePicker.$$typeof" | "Separator.$$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" | "TagsInputInLine.$$typeof" | "Slider.$$typeof">(props: _formily_react11.ISchemaTypeFieldProps<{
|
|
481
481
|
Combobox: react536.FC;
|
|
482
482
|
TagsInput: typeof TagsInput;
|
|
483
|
-
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<
|
|
484
|
-
Slider: react536.ForwardRefExoticComponent<Omit<Partial<
|
|
483
|
+
TagsInputInLine: react536.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui242.TagsInputProps> & react536.RefAttributes<unknown>>;
|
|
484
|
+
Slider: react536.ForwardRefExoticComponent<Omit<Partial<_pixpilot_shadcn_ui242.SliderProps>, "ref"> & react536.RefAttributes<unknown>>;
|
|
485
485
|
FormItem: react536.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
486
486
|
children?: react536.ReactNode | undefined;
|
|
487
487
|
}>, "ref"> & react536.RefAttributes<unknown>>;
|
|
@@ -500,7 +500,7 @@ declare const SchemaField: {
|
|
|
500
500
|
value?: Date;
|
|
501
501
|
onChange?: (date: Date | undefined) => void;
|
|
502
502
|
placeholder?: string;
|
|
503
|
-
} & Omit<
|
|
503
|
+
} & Omit<_pixpilot_shadcn_ui242.DatePickerProps, "onSelect" | "selected" | "mode">> & react536.RefAttributes<unknown>>;
|
|
504
504
|
Row: typeof Row;
|
|
505
505
|
Column: typeof Column;
|
|
506
506
|
FormGrid: typeof FormGrid;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react25 from "react";
|
|
2
2
|
import * as _radix_ui_react_separator0 from "@radix-ui/react-separator";
|
|
3
3
|
|
|
4
4
|
//#region src/components/separator.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_separator0 from "@radix-ui/react-separator";
|
|
|
6
6
|
* Formily-connected Separator component
|
|
7
7
|
* A visual divider for content sections
|
|
8
8
|
*/
|
|
9
|
-
declare const Separator:
|
|
9
|
+
declare const Separator: react25.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react25.RefAttributes<HTMLDivElement>>, "ref"> & react25.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Separator };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react19 from "react";
|
|
2
2
|
import { SliderProps } from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/slider.d.ts
|
|
@@ -7,6 +7,6 @@ import { SliderProps } from "@pixpilot/shadcn-ui";
|
|
|
7
7
|
* Formily-connected Slider component
|
|
8
8
|
* Range input for selecting numeric values
|
|
9
9
|
*/
|
|
10
|
-
declare const Slider:
|
|
10
|
+
declare const Slider: react19.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react19.RefAttributes<unknown>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Slider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react14 from "react";
|
|
2
2
|
import { SliderProps } from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/slider.d.ts
|
|
@@ -7,6 +7,6 @@ import { SliderProps } from "@pixpilot/shadcn-ui";
|
|
|
7
7
|
* Formily-connected Slider component
|
|
8
8
|
* Range input for selecting numeric values
|
|
9
9
|
*/
|
|
10
|
-
declare const Slider$1:
|
|
10
|
+
declare const Slider$1: react14.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react14.RefAttributes<unknown>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Slider$1 as Slider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react21 from "react";
|
|
2
2
|
import * as _radix_ui_react_switch0 from "@radix-ui/react-switch";
|
|
3
3
|
|
|
4
4
|
//#region src/components/switch.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_switch0 from "@radix-ui/react-switch";
|
|
|
6
6
|
* Formily-connected Switch component
|
|
7
7
|
* Toggle switch for boolean values
|
|
8
8
|
*/
|
|
9
|
-
declare const Switch:
|
|
9
|
+
declare const Switch: react21.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react21.RefAttributes<HTMLButtonElement>>, "ref"> & react21.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react20 from "react";
|
|
2
2
|
import * as _radix_ui_react_switch0 from "@radix-ui/react-switch";
|
|
3
3
|
|
|
4
4
|
//#region src/components/switch.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_switch0 from "@radix-ui/react-switch";
|
|
|
6
6
|
* Formily-connected Switch component
|
|
7
7
|
* Toggle switch for boolean values
|
|
8
8
|
*/
|
|
9
|
-
declare const Switch:
|
|
9
|
+
declare const Switch: react20.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react20.RefAttributes<HTMLButtonElement>>, "ref"> & react20.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react23 from "react";
|
|
2
2
|
import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/tags-input-inline.d.ts
|
|
@@ -10,6 +10,6 @@ import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
|
|
|
10
10
|
* Based on DiceUI's tags-input for inline tag editing with keyboard navigation
|
|
11
11
|
* and validation support.
|
|
12
12
|
*/
|
|
13
|
-
declare const TagsInputInLine:
|
|
13
|
+
declare const TagsInputInLine: react23.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui0.TagsInputProps> & react23.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { TagsInputInLine };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react16 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/textarea.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Formily-connected Textarea component
|
|
6
6
|
*/
|
|
7
|
-
declare const Textarea:
|
|
7
|
+
declare const Textarea: react16.ForwardRefExoticComponent<Omit<Partial<react16.ClassAttributes<HTMLTextAreaElement> & react16.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react16.RefAttributes<unknown>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Textarea };
|
|
@@ -27,7 +27,8 @@ const inputSchemaMap = {
|
|
|
27
27
|
object: { "x-component": "ObjectContainer" }
|
|
28
28
|
};
|
|
29
29
|
function transformSchema(schema, fieldsDecorators) {
|
|
30
|
-
(
|
|
30
|
+
const normalizedSchema = typeof structuredClone === "function" ? structuredClone(schema) : JSON.parse(JSON.stringify(schema));
|
|
31
|
+
(0, json_schema_traverse.default)(normalizedSchema, {
|
|
31
32
|
allKeys: true,
|
|
32
33
|
cb: (currentSchema) => {
|
|
33
34
|
const { type } = currentSchema;
|
|
@@ -45,7 +46,7 @@ function transformSchema(schema, fieldsDecorators) {
|
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
});
|
|
48
|
-
return
|
|
49
|
+
return normalizedSchema;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
//#endregion
|
|
@@ -25,7 +25,8 @@ const inputSchemaMap = {
|
|
|
25
25
|
object: { "x-component": "ObjectContainer" }
|
|
26
26
|
};
|
|
27
27
|
function transformSchema(schema, fieldsDecorators) {
|
|
28
|
-
|
|
28
|
+
const normalizedSchema = typeof structuredClone === "function" ? structuredClone(schema) : JSON.parse(JSON.stringify(schema));
|
|
29
|
+
traverse(normalizedSchema, {
|
|
29
30
|
allKeys: true,
|
|
30
31
|
cb: (currentSchema) => {
|
|
31
32
|
const { type } = currentSchema;
|
|
@@ -43,7 +44,7 @@ function transformSchema(schema, fieldsDecorators) {
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
});
|
|
46
|
-
return
|
|
47
|
+
return normalizedSchema;
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixpilot/formily-shadcn",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.2",
|
|
5
5
|
"description": "Formily integration for shadcn/ui components",
|
|
6
6
|
"author": "m.doaie <m.doaie@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@iconify-json/fa": "^1.2.2",
|
|
36
36
|
"@iconify-json/mdi": "^1.2.3",
|
|
37
37
|
"@iconify/react": "^6.0.2",
|
|
38
|
-
"@pixpilot/env": "^0.2.
|
|
38
|
+
"@pixpilot/env": "^0.2.2",
|
|
39
39
|
"@pixpilot/string": "^2.3.0",
|
|
40
40
|
"json-schema-traverse": "^1.0.0",
|
|
41
41
|
"lucide-react": "^0.554.0",
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"react-dom": "19.2.0",
|
|
55
55
|
"tsdown": "^0.15.12",
|
|
56
56
|
"typescript": "^5.9.3",
|
|
57
|
-
"@internal/prettier-config": "0.0.1",
|
|
58
57
|
"@internal/eslint-config": "0.3.0",
|
|
59
|
-
"@internal/
|
|
58
|
+
"@internal/prettier-config": "0.0.1",
|
|
60
59
|
"@internal/tsconfig": "0.1.0",
|
|
60
|
+
"@internal/tsdown-config": "0.1.0",
|
|
61
61
|
"@internal/vitest-config": "0.1.0"
|
|
62
62
|
},
|
|
63
63
|
"prettier": "@internal/prettier-config",
|