@pixpilot/formily-shadcn 0.14.5 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/date-picker.d.cts +1 -1
- package/dist/components/date-picker.d.ts +3 -3
- package/dist/components/file-upload/file-upload-inline.d.cts +8 -8
- package/dist/components/file-upload/file-upload.d.cts +8 -8
- package/dist/components/form-item/connected-form-item.d.cts +4 -4
- package/dist/components/icon-picker.d.ts +3 -3
- package/dist/components/input.d.ts +2 -2
- package/dist/components/number-input.d.ts +2 -2
- package/dist/components/radio.d.cts +2 -2
- package/dist/components/row.d.cts +2 -2
- package/dist/components/schema-field/schema-field-basics.d.cts +11 -11
- package/dist/components/schema-field/schema-field-basics.d.ts +11 -11
- package/dist/components/schema-field/schema-field-extended.d.cts +11 -11
- package/dist/components/schema-field/schema-field-extended.d.ts +11 -11
- package/dist/components/schema-field/schema-field.d.cts +11 -11
- package/dist/components/schema-field/schema-field.d.ts +11 -11
- package/dist/components/slider.cjs +10 -3
- package/dist/components/slider.d.cts +2 -2
- package/dist/components/slider.js +10 -3
- package/dist/components/switch.d.cts +2 -2
- package/dist/components/tags-input-inline.d.cts +2 -2
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react11 from "react";
|
|
2
2
|
import * as _radix_ui_react_checkbox0 from "@radix-ui/react-checkbox";
|
|
3
3
|
|
|
4
4
|
//#region src/components/checkbox.d.ts
|
|
@@ -6,6 +6,6 @@ import * as _radix_ui_react_checkbox0 from "@radix-ui/react-checkbox";
|
|
|
6
6
|
* Formily-connected Checkbox component
|
|
7
7
|
* Maps Formily field checked state to shadcn Checkbox
|
|
8
8
|
*/
|
|
9
|
-
declare const Checkbox:
|
|
9
|
+
declare const Checkbox: react11.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_checkbox0.CheckboxProps & react11.RefAttributes<HTMLButtonElement>>, "ref"> & react11.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Checkbox };
|
|
@@ -6,6 +6,6 @@ declare const DatePicker: react2.ForwardRefExoticComponent<Partial<{
|
|
|
6
6
|
value?: Date;
|
|
7
7
|
onChange?: (date: Date | undefined) => void;
|
|
8
8
|
placeholder?: string;
|
|
9
|
-
} & Omit<DatePickerProps, "
|
|
9
|
+
} & Omit<DatePickerProps, "selected" | "onSelect" | "mode">> & react2.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DatePicker };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
2
|
import { DatePickerProps } from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/date-picker.d.ts
|
|
5
|
-
declare const DatePicker$1:
|
|
5
|
+
declare const DatePicker$1: react0.ForwardRefExoticComponent<Partial<{
|
|
6
6
|
value?: Date;
|
|
7
7
|
onChange?: (date: Date | undefined) => void;
|
|
8
8
|
placeholder?: string;
|
|
9
|
-
} & Omit<DatePickerProps, "
|
|
9
|
+
} & Omit<DatePickerProps, "selected" | "onSelect" | "mode">> & react0.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DatePicker$1 as DatePicker };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _pixpilot_shadcn_ui8 from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/file-upload/file-upload-inline.d.ts
|
|
5
5
|
|
|
@@ -7,14 +7,14 @@ import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
|
|
|
7
7
|
* Formily-connected FileUploadInline component
|
|
8
8
|
* Automatically connects shadcn FileUploadInline to Formily field state
|
|
9
9
|
*/
|
|
10
|
-
declare const FileUploadInline: React.ForwardRefExoticComponent<(Omit<Partial<
|
|
10
|
+
declare const FileUploadInline: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui8.FileUploadInlineBaseProps & {
|
|
11
11
|
multiple: true;
|
|
12
|
-
value?:
|
|
13
|
-
onChange?:
|
|
14
|
-
} &
|
|
12
|
+
value?: _pixpilot_shadcn_ui8.FileMetadata[];
|
|
13
|
+
onChange?: _pixpilot_shadcn_ui8.OnChangeMultipleFiles;
|
|
14
|
+
} & _pixpilot_shadcn_ui8.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui8.FileUploadInlineBaseProps & {
|
|
15
15
|
multiple?: false;
|
|
16
|
-
value?:
|
|
17
|
-
onChange?:
|
|
18
|
-
} &
|
|
16
|
+
value?: _pixpilot_shadcn_ui8.FileMetadata | null;
|
|
17
|
+
onChange?: _pixpilot_shadcn_ui8.OnChangeSingleFile;
|
|
18
|
+
} & _pixpilot_shadcn_ui8.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { FileUploadInline };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/file-upload/file-upload.d.ts
|
|
5
5
|
|
|
@@ -7,14 +7,14 @@ import * as _pixpilot_shadcn_ui8 from "@pixpilot/shadcn-ui";
|
|
|
7
7
|
* Formily-connected FileUploadInline component
|
|
8
8
|
* Automatically connects shadcn FileUploadInline to Formily field state
|
|
9
9
|
*/
|
|
10
|
-
declare const FileUpload: React.ForwardRefExoticComponent<(Omit<Partial<
|
|
10
|
+
declare const FileUpload: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineBaseProps & {
|
|
11
11
|
multiple: true;
|
|
12
|
-
value?:
|
|
13
|
-
onChange?:
|
|
14
|
-
} &
|
|
12
|
+
value?: _pixpilot_shadcn_ui0.FileMetadata[];
|
|
13
|
+
onChange?: _pixpilot_shadcn_ui0.OnChangeMultipleFiles;
|
|
14
|
+
} & _pixpilot_shadcn_ui0.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui0.FileUploadInlineBaseProps & {
|
|
15
15
|
multiple?: false;
|
|
16
|
-
value?:
|
|
17
|
-
onChange?:
|
|
18
|
-
} &
|
|
16
|
+
value?: _pixpilot_shadcn_ui0.FileMetadata | null;
|
|
17
|
+
onChange?: _pixpilot_shadcn_ui0.OnChangeSingleFile;
|
|
18
|
+
} & _pixpilot_shadcn_ui0.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { FileUpload };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FormItemProps } from "./form-item-types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react1363 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/form-item/connected-form-item.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* FormItem component connected to Formily field state.
|
|
7
7
|
* Automatically maps field validation state to component props.
|
|
8
8
|
*/
|
|
9
|
-
declare const FormItem:
|
|
10
|
-
children?:
|
|
11
|
-
}>, "ref"> &
|
|
9
|
+
declare const FormItem: react1363.ForwardRefExoticComponent<Omit<Partial<FormItemProps & {
|
|
10
|
+
children?: react1363.ReactNode | undefined;
|
|
11
|
+
}>, "ref"> & react1363.RefAttributes<unknown>>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { FormItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react5 from "react";
|
|
2
2
|
import { IconPickerProps, IconProviderProps } from "@pixpilot/shadcn-ui";
|
|
3
3
|
|
|
4
4
|
//#region src/components/icon-picker.d.ts
|
|
@@ -8,8 +8,8 @@ import { IconPickerProps, IconProviderProps } from "@pixpilot/shadcn-ui";
|
|
|
8
8
|
* Automatically connects to Formily field state
|
|
9
9
|
* Supports both static and async icon providers
|
|
10
10
|
*/
|
|
11
|
-
declare const IconPicker$1:
|
|
11
|
+
declare const IconPicker$1: react5.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
|
|
12
12
|
providers?: IconProviderProps[];
|
|
13
|
-
}> &
|
|
13
|
+
}> & react5.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { IconPicker$1 as IconPicker };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react1 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/input.d.ts
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as react6 from "react";
|
|
|
6
6
|
* Formily-connected Input component
|
|
7
7
|
* Automatically connects shadcn Input to Formily field state
|
|
8
8
|
*/
|
|
9
|
-
declare const Input:
|
|
9
|
+
declare const Input: react1.ForwardRefExoticComponent<Omit<Partial<react1.ClassAttributes<HTMLInputElement> & react1.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react1.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Input };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react7 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/number-input.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Formily-connected Number Input component
|
|
6
6
|
*/
|
|
7
|
-
declare const NumberInput:
|
|
7
|
+
declare const NumberInput: react7.ForwardRefExoticComponent<Omit<Partial<react7.ClassAttributes<HTMLInputElement> & react7.InputHTMLAttributes<HTMLInputElement>>, "ref"> & react7.RefAttributes<unknown>>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NumberInput };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import * as
|
|
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):
|
|
18
|
+
declare function Radio(props: RadioProps): react_jsx_runtime2.JSX.Element;
|
|
19
19
|
declare namespace Radio {
|
|
20
20
|
var displayName: string;
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/row.d.ts
|
|
5
5
|
interface IRowProps {
|
|
@@ -36,6 +36,6 @@ interface IRowProps {
|
|
|
36
36
|
declare function Row({
|
|
37
37
|
className,
|
|
38
38
|
children
|
|
39
|
-
}: IRowProps):
|
|
39
|
+
}: IRowProps): react_jsx_runtime3.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { Row };
|
|
@@ -63,7 +63,7 @@ declare const basicComponentRegistry: {
|
|
|
63
63
|
value?: Date;
|
|
64
64
|
onChange?: (date: Date | undefined) => void;
|
|
65
65
|
placeholder?: string;
|
|
66
|
-
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "
|
|
66
|
+
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "selected" | "onSelect" | "mode">> & react987.RefAttributes<unknown>>;
|
|
67
67
|
decorator: string;
|
|
68
68
|
};
|
|
69
69
|
Row: {
|
|
@@ -121,7 +121,7 @@ declare const basicComponents: {
|
|
|
121
121
|
value?: Date;
|
|
122
122
|
onChange?: (date: Date | undefined) => void;
|
|
123
123
|
placeholder?: string;
|
|
124
|
-
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "
|
|
124
|
+
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "selected" | "onSelect" | "mode">> & react987.RefAttributes<unknown>>;
|
|
125
125
|
Row: typeof Row;
|
|
126
126
|
Column: typeof Column;
|
|
127
127
|
FormGrid: typeof FormGrid;
|
|
@@ -158,7 +158,7 @@ declare const SchemaFieldBasics: {
|
|
|
158
158
|
value?: Date;
|
|
159
159
|
onChange?: (date: Date | undefined) => void;
|
|
160
160
|
placeholder?: string;
|
|
161
|
-
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "
|
|
161
|
+
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "selected" | "onSelect" | "mode">> & react987.RefAttributes<unknown>>;
|
|
162
162
|
Row: typeof Row;
|
|
163
163
|
Column: typeof Column;
|
|
164
164
|
FormGrid: typeof FormGrid;
|
|
@@ -194,7 +194,7 @@ declare const SchemaFieldBasics: {
|
|
|
194
194
|
value?: Date;
|
|
195
195
|
onChange?: (date: Date | undefined) => void;
|
|
196
196
|
placeholder?: string;
|
|
197
|
-
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "
|
|
197
|
+
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "selected" | "onSelect" | "mode">> & react987.RefAttributes<unknown>>;
|
|
198
198
|
Row: typeof Row;
|
|
199
199
|
Column: typeof Column;
|
|
200
200
|
FormGrid: typeof FormGrid;
|
|
@@ -230,7 +230,7 @@ declare const SchemaFieldBasics: {
|
|
|
230
230
|
value?: Date;
|
|
231
231
|
onChange?: (date: Date | undefined) => void;
|
|
232
232
|
placeholder?: string;
|
|
233
|
-
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "
|
|
233
|
+
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "selected" | "onSelect" | "mode">> & react987.RefAttributes<unknown>>;
|
|
234
234
|
Row: typeof Row;
|
|
235
235
|
Column: typeof Column;
|
|
236
236
|
FormGrid: typeof FormGrid;
|
|
@@ -266,7 +266,7 @@ declare const SchemaFieldBasics: {
|
|
|
266
266
|
value?: Date;
|
|
267
267
|
onChange?: (date: Date | undefined) => void;
|
|
268
268
|
placeholder?: string;
|
|
269
|
-
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "
|
|
269
|
+
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "selected" | "onSelect" | "mode">> & react987.RefAttributes<unknown>>;
|
|
270
270
|
Row: typeof Row;
|
|
271
271
|
Column: typeof Column;
|
|
272
272
|
FormGrid: typeof FormGrid;
|
|
@@ -302,7 +302,7 @@ declare const SchemaFieldBasics: {
|
|
|
302
302
|
value?: Date;
|
|
303
303
|
onChange?: (date: Date | undefined) => void;
|
|
304
304
|
placeholder?: string;
|
|
305
|
-
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "
|
|
305
|
+
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "selected" | "onSelect" | "mode">> & react987.RefAttributes<unknown>>;
|
|
306
306
|
Row: typeof Row;
|
|
307
307
|
Column: typeof Column;
|
|
308
308
|
FormGrid: typeof FormGrid;
|
|
@@ -338,7 +338,7 @@ declare const SchemaFieldBasics: {
|
|
|
338
338
|
value?: Date;
|
|
339
339
|
onChange?: (date: Date | undefined) => void;
|
|
340
340
|
placeholder?: string;
|
|
341
|
-
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "
|
|
341
|
+
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "selected" | "onSelect" | "mode">> & react987.RefAttributes<unknown>>;
|
|
342
342
|
Row: typeof Row;
|
|
343
343
|
Column: typeof Column;
|
|
344
344
|
FormGrid: typeof FormGrid;
|
|
@@ -374,7 +374,7 @@ declare const SchemaFieldBasics: {
|
|
|
374
374
|
value?: Date;
|
|
375
375
|
onChange?: (date: Date | undefined) => void;
|
|
376
376
|
placeholder?: string;
|
|
377
|
-
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "
|
|
377
|
+
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "selected" | "onSelect" | "mode">> & react987.RefAttributes<unknown>>;
|
|
378
378
|
Row: typeof Row;
|
|
379
379
|
Column: typeof Column;
|
|
380
380
|
FormGrid: typeof FormGrid;
|
|
@@ -410,7 +410,7 @@ declare const SchemaFieldBasics: {
|
|
|
410
410
|
value?: Date;
|
|
411
411
|
onChange?: (date: Date | undefined) => void;
|
|
412
412
|
placeholder?: string;
|
|
413
|
-
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "
|
|
413
|
+
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "selected" | "onSelect" | "mode">> & react987.RefAttributes<unknown>>;
|
|
414
414
|
Row: typeof Row;
|
|
415
415
|
Column: typeof Column;
|
|
416
416
|
FormGrid: typeof FormGrid;
|
|
@@ -446,7 +446,7 @@ declare const SchemaFieldBasics: {
|
|
|
446
446
|
value?: Date;
|
|
447
447
|
onChange?: (date: Date | undefined) => void;
|
|
448
448
|
placeholder?: string;
|
|
449
|
-
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "
|
|
449
|
+
} & Omit<_pixpilot_shadcn_ui302.DatePickerProps, "selected" | "onSelect" | "mode">> & react987.RefAttributes<unknown>>;
|
|
450
450
|
Row: typeof Row;
|
|
451
451
|
Column: typeof Column;
|
|
452
452
|
FormGrid: typeof FormGrid;
|
|
@@ -63,7 +63,7 @@ declare const basicComponentRegistry: {
|
|
|
63
63
|
value?: Date;
|
|
64
64
|
onChange?: (date: Date | undefined) => void;
|
|
65
65
|
placeholder?: string;
|
|
66
|
-
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "
|
|
66
|
+
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "selected" | "onSelect" | "mode">> & react459.RefAttributes<unknown>>;
|
|
67
67
|
decorator: string;
|
|
68
68
|
};
|
|
69
69
|
Row: {
|
|
@@ -121,7 +121,7 @@ declare const basicComponents: {
|
|
|
121
121
|
value?: Date;
|
|
122
122
|
onChange?: (date: Date | undefined) => void;
|
|
123
123
|
placeholder?: string;
|
|
124
|
-
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "
|
|
124
|
+
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "selected" | "onSelect" | "mode">> & react459.RefAttributes<unknown>>;
|
|
125
125
|
Row: typeof Row;
|
|
126
126
|
Column: typeof Column;
|
|
127
127
|
FormGrid: typeof FormGrid;
|
|
@@ -158,7 +158,7 @@ declare const SchemaFieldBasics: {
|
|
|
158
158
|
value?: Date;
|
|
159
159
|
onChange?: (date: Date | undefined) => void;
|
|
160
160
|
placeholder?: string;
|
|
161
|
-
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "
|
|
161
|
+
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "selected" | "onSelect" | "mode">> & react459.RefAttributes<unknown>>;
|
|
162
162
|
Row: typeof Row;
|
|
163
163
|
Column: typeof Column;
|
|
164
164
|
FormGrid: typeof FormGrid;
|
|
@@ -194,7 +194,7 @@ declare const SchemaFieldBasics: {
|
|
|
194
194
|
value?: Date;
|
|
195
195
|
onChange?: (date: Date | undefined) => void;
|
|
196
196
|
placeholder?: string;
|
|
197
|
-
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "
|
|
197
|
+
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "selected" | "onSelect" | "mode">> & react459.RefAttributes<unknown>>;
|
|
198
198
|
Row: typeof Row;
|
|
199
199
|
Column: typeof Column;
|
|
200
200
|
FormGrid: typeof FormGrid;
|
|
@@ -230,7 +230,7 @@ declare const SchemaFieldBasics: {
|
|
|
230
230
|
value?: Date;
|
|
231
231
|
onChange?: (date: Date | undefined) => void;
|
|
232
232
|
placeholder?: string;
|
|
233
|
-
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "
|
|
233
|
+
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "selected" | "onSelect" | "mode">> & react459.RefAttributes<unknown>>;
|
|
234
234
|
Row: typeof Row;
|
|
235
235
|
Column: typeof Column;
|
|
236
236
|
FormGrid: typeof FormGrid;
|
|
@@ -266,7 +266,7 @@ declare const SchemaFieldBasics: {
|
|
|
266
266
|
value?: Date;
|
|
267
267
|
onChange?: (date: Date | undefined) => void;
|
|
268
268
|
placeholder?: string;
|
|
269
|
-
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "
|
|
269
|
+
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "selected" | "onSelect" | "mode">> & react459.RefAttributes<unknown>>;
|
|
270
270
|
Row: typeof Row;
|
|
271
271
|
Column: typeof Column;
|
|
272
272
|
FormGrid: typeof FormGrid;
|
|
@@ -302,7 +302,7 @@ declare const SchemaFieldBasics: {
|
|
|
302
302
|
value?: Date;
|
|
303
303
|
onChange?: (date: Date | undefined) => void;
|
|
304
304
|
placeholder?: string;
|
|
305
|
-
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "
|
|
305
|
+
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "selected" | "onSelect" | "mode">> & react459.RefAttributes<unknown>>;
|
|
306
306
|
Row: typeof Row;
|
|
307
307
|
Column: typeof Column;
|
|
308
308
|
FormGrid: typeof FormGrid;
|
|
@@ -338,7 +338,7 @@ declare const SchemaFieldBasics: {
|
|
|
338
338
|
value?: Date;
|
|
339
339
|
onChange?: (date: Date | undefined) => void;
|
|
340
340
|
placeholder?: string;
|
|
341
|
-
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "
|
|
341
|
+
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "selected" | "onSelect" | "mode">> & react459.RefAttributes<unknown>>;
|
|
342
342
|
Row: typeof Row;
|
|
343
343
|
Column: typeof Column;
|
|
344
344
|
FormGrid: typeof FormGrid;
|
|
@@ -374,7 +374,7 @@ declare const SchemaFieldBasics: {
|
|
|
374
374
|
value?: Date;
|
|
375
375
|
onChange?: (date: Date | undefined) => void;
|
|
376
376
|
placeholder?: string;
|
|
377
|
-
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "
|
|
377
|
+
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "selected" | "onSelect" | "mode">> & react459.RefAttributes<unknown>>;
|
|
378
378
|
Row: typeof Row;
|
|
379
379
|
Column: typeof Column;
|
|
380
380
|
FormGrid: typeof FormGrid;
|
|
@@ -410,7 +410,7 @@ declare const SchemaFieldBasics: {
|
|
|
410
410
|
value?: Date;
|
|
411
411
|
onChange?: (date: Date | undefined) => void;
|
|
412
412
|
placeholder?: string;
|
|
413
|
-
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "
|
|
413
|
+
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "selected" | "onSelect" | "mode">> & react459.RefAttributes<unknown>>;
|
|
414
414
|
Row: typeof Row;
|
|
415
415
|
Column: typeof Column;
|
|
416
416
|
FormGrid: typeof FormGrid;
|
|
@@ -446,7 +446,7 @@ declare const SchemaFieldBasics: {
|
|
|
446
446
|
value?: Date;
|
|
447
447
|
onChange?: (date: Date | undefined) => void;
|
|
448
448
|
placeholder?: string;
|
|
449
|
-
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "
|
|
449
|
+
} & Omit<_pixpilot_shadcn_ui49.DatePickerProps, "selected" | "onSelect" | "mode">> & react459.RefAttributes<unknown>>;
|
|
450
450
|
Row: typeof Row;
|
|
451
451
|
Column: typeof Column;
|
|
452
452
|
FormGrid: typeof FormGrid;
|
|
@@ -116,7 +116,7 @@ declare const extendedComponentRegistry: {
|
|
|
116
116
|
value?: Date;
|
|
117
117
|
onChange?: (date: Date | undefined) => void;
|
|
118
118
|
placeholder?: string;
|
|
119
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
119
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
120
120
|
decorator: string;
|
|
121
121
|
};
|
|
122
122
|
Row: {
|
|
@@ -205,7 +205,7 @@ declare const extendedComponents: {
|
|
|
205
205
|
value?: Date;
|
|
206
206
|
onChange?: (date: Date | undefined) => void;
|
|
207
207
|
placeholder?: string;
|
|
208
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
208
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
209
209
|
Row: typeof Row;
|
|
210
210
|
Column: typeof Column;
|
|
211
211
|
FormGrid: typeof FormGrid;
|
|
@@ -269,7 +269,7 @@ declare const SchemaFieldExtended: {
|
|
|
269
269
|
value?: Date;
|
|
270
270
|
onChange?: (date: Date | undefined) => void;
|
|
271
271
|
placeholder?: string;
|
|
272
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
272
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
273
273
|
Row: typeof Row;
|
|
274
274
|
Column: typeof Column;
|
|
275
275
|
FormGrid: typeof FormGrid;
|
|
@@ -332,7 +332,7 @@ declare const SchemaFieldExtended: {
|
|
|
332
332
|
value?: Date;
|
|
333
333
|
onChange?: (date: Date | undefined) => void;
|
|
334
334
|
placeholder?: string;
|
|
335
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
335
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
336
336
|
Row: typeof Row;
|
|
337
337
|
Column: typeof Column;
|
|
338
338
|
FormGrid: typeof FormGrid;
|
|
@@ -395,7 +395,7 @@ declare const SchemaFieldExtended: {
|
|
|
395
395
|
value?: Date;
|
|
396
396
|
onChange?: (date: Date | undefined) => void;
|
|
397
397
|
placeholder?: string;
|
|
398
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
398
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
399
399
|
Row: typeof Row;
|
|
400
400
|
Column: typeof Column;
|
|
401
401
|
FormGrid: typeof FormGrid;
|
|
@@ -458,7 +458,7 @@ declare const SchemaFieldExtended: {
|
|
|
458
458
|
value?: Date;
|
|
459
459
|
onChange?: (date: Date | undefined) => void;
|
|
460
460
|
placeholder?: string;
|
|
461
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
461
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
462
462
|
Row: typeof Row;
|
|
463
463
|
Column: typeof Column;
|
|
464
464
|
FormGrid: typeof FormGrid;
|
|
@@ -521,7 +521,7 @@ declare const SchemaFieldExtended: {
|
|
|
521
521
|
value?: Date;
|
|
522
522
|
onChange?: (date: Date | undefined) => void;
|
|
523
523
|
placeholder?: string;
|
|
524
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
524
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
525
525
|
Row: typeof Row;
|
|
526
526
|
Column: typeof Column;
|
|
527
527
|
FormGrid: typeof FormGrid;
|
|
@@ -584,7 +584,7 @@ declare const SchemaFieldExtended: {
|
|
|
584
584
|
value?: Date;
|
|
585
585
|
onChange?: (date: Date | undefined) => void;
|
|
586
586
|
placeholder?: string;
|
|
587
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
587
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
588
588
|
Row: typeof Row;
|
|
589
589
|
Column: typeof Column;
|
|
590
590
|
FormGrid: typeof FormGrid;
|
|
@@ -647,7 +647,7 @@ declare const SchemaFieldExtended: {
|
|
|
647
647
|
value?: Date;
|
|
648
648
|
onChange?: (date: Date | undefined) => void;
|
|
649
649
|
placeholder?: string;
|
|
650
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
650
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
651
651
|
Row: typeof Row;
|
|
652
652
|
Column: typeof Column;
|
|
653
653
|
FormGrid: typeof FormGrid;
|
|
@@ -710,7 +710,7 @@ declare const SchemaFieldExtended: {
|
|
|
710
710
|
value?: Date;
|
|
711
711
|
onChange?: (date: Date | undefined) => void;
|
|
712
712
|
placeholder?: string;
|
|
713
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
713
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
714
714
|
Row: typeof Row;
|
|
715
715
|
Column: typeof Column;
|
|
716
716
|
FormGrid: typeof FormGrid;
|
|
@@ -773,7 +773,7 @@ declare const SchemaFieldExtended: {
|
|
|
773
773
|
value?: Date;
|
|
774
774
|
onChange?: (date: Date | undefined) => void;
|
|
775
775
|
placeholder?: string;
|
|
776
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
776
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
777
777
|
Row: typeof Row;
|
|
778
778
|
Column: typeof Column;
|
|
779
779
|
FormGrid: typeof FormGrid;
|
|
@@ -116,7 +116,7 @@ declare const extendedComponentRegistry: {
|
|
|
116
116
|
value?: Date;
|
|
117
117
|
onChange?: (date: Date | undefined) => void;
|
|
118
118
|
placeholder?: string;
|
|
119
|
-
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "
|
|
119
|
+
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "selected" | "onSelect" | "mode">> & react833.RefAttributes<unknown>>;
|
|
120
120
|
decorator: string;
|
|
121
121
|
};
|
|
122
122
|
Row: {
|
|
@@ -205,7 +205,7 @@ declare const extendedComponents: {
|
|
|
205
205
|
value?: Date;
|
|
206
206
|
onChange?: (date: Date | undefined) => void;
|
|
207
207
|
placeholder?: string;
|
|
208
|
-
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "
|
|
208
|
+
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "selected" | "onSelect" | "mode">> & react833.RefAttributes<unknown>>;
|
|
209
209
|
Row: typeof Row;
|
|
210
210
|
Column: typeof Column;
|
|
211
211
|
FormGrid: typeof FormGrid;
|
|
@@ -269,7 +269,7 @@ declare const SchemaFieldExtended: {
|
|
|
269
269
|
value?: Date;
|
|
270
270
|
onChange?: (date: Date | undefined) => void;
|
|
271
271
|
placeholder?: string;
|
|
272
|
-
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "
|
|
272
|
+
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "selected" | "onSelect" | "mode">> & react833.RefAttributes<unknown>>;
|
|
273
273
|
Row: typeof Row;
|
|
274
274
|
Column: typeof Column;
|
|
275
275
|
FormGrid: typeof FormGrid;
|
|
@@ -332,7 +332,7 @@ declare const SchemaFieldExtended: {
|
|
|
332
332
|
value?: Date;
|
|
333
333
|
onChange?: (date: Date | undefined) => void;
|
|
334
334
|
placeholder?: string;
|
|
335
|
-
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "
|
|
335
|
+
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "selected" | "onSelect" | "mode">> & react833.RefAttributes<unknown>>;
|
|
336
336
|
Row: typeof Row;
|
|
337
337
|
Column: typeof Column;
|
|
338
338
|
FormGrid: typeof FormGrid;
|
|
@@ -395,7 +395,7 @@ declare const SchemaFieldExtended: {
|
|
|
395
395
|
value?: Date;
|
|
396
396
|
onChange?: (date: Date | undefined) => void;
|
|
397
397
|
placeholder?: string;
|
|
398
|
-
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "
|
|
398
|
+
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "selected" | "onSelect" | "mode">> & react833.RefAttributes<unknown>>;
|
|
399
399
|
Row: typeof Row;
|
|
400
400
|
Column: typeof Column;
|
|
401
401
|
FormGrid: typeof FormGrid;
|
|
@@ -458,7 +458,7 @@ declare const SchemaFieldExtended: {
|
|
|
458
458
|
value?: Date;
|
|
459
459
|
onChange?: (date: Date | undefined) => void;
|
|
460
460
|
placeholder?: string;
|
|
461
|
-
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "
|
|
461
|
+
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "selected" | "onSelect" | "mode">> & react833.RefAttributes<unknown>>;
|
|
462
462
|
Row: typeof Row;
|
|
463
463
|
Column: typeof Column;
|
|
464
464
|
FormGrid: typeof FormGrid;
|
|
@@ -521,7 +521,7 @@ declare const SchemaFieldExtended: {
|
|
|
521
521
|
value?: Date;
|
|
522
522
|
onChange?: (date: Date | undefined) => void;
|
|
523
523
|
placeholder?: string;
|
|
524
|
-
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "
|
|
524
|
+
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "selected" | "onSelect" | "mode">> & react833.RefAttributes<unknown>>;
|
|
525
525
|
Row: typeof Row;
|
|
526
526
|
Column: typeof Column;
|
|
527
527
|
FormGrid: typeof FormGrid;
|
|
@@ -584,7 +584,7 @@ declare const SchemaFieldExtended: {
|
|
|
584
584
|
value?: Date;
|
|
585
585
|
onChange?: (date: Date | undefined) => void;
|
|
586
586
|
placeholder?: string;
|
|
587
|
-
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "
|
|
587
|
+
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "selected" | "onSelect" | "mode">> & react833.RefAttributes<unknown>>;
|
|
588
588
|
Row: typeof Row;
|
|
589
589
|
Column: typeof Column;
|
|
590
590
|
FormGrid: typeof FormGrid;
|
|
@@ -647,7 +647,7 @@ declare const SchemaFieldExtended: {
|
|
|
647
647
|
value?: Date;
|
|
648
648
|
onChange?: (date: Date | undefined) => void;
|
|
649
649
|
placeholder?: string;
|
|
650
|
-
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "
|
|
650
|
+
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "selected" | "onSelect" | "mode">> & react833.RefAttributes<unknown>>;
|
|
651
651
|
Row: typeof Row;
|
|
652
652
|
Column: typeof Column;
|
|
653
653
|
FormGrid: typeof FormGrid;
|
|
@@ -710,7 +710,7 @@ declare const SchemaFieldExtended: {
|
|
|
710
710
|
value?: Date;
|
|
711
711
|
onChange?: (date: Date | undefined) => void;
|
|
712
712
|
placeholder?: string;
|
|
713
|
-
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "
|
|
713
|
+
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "selected" | "onSelect" | "mode">> & react833.RefAttributes<unknown>>;
|
|
714
714
|
Row: typeof Row;
|
|
715
715
|
Column: typeof Column;
|
|
716
716
|
FormGrid: typeof FormGrid;
|
|
@@ -773,7 +773,7 @@ declare const SchemaFieldExtended: {
|
|
|
773
773
|
value?: Date;
|
|
774
774
|
onChange?: (date: Date | undefined) => void;
|
|
775
775
|
placeholder?: string;
|
|
776
|
-
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "
|
|
776
|
+
} & Omit<_pixpilot_shadcn_ui60.DatePickerProps, "selected" | "onSelect" | "mode">> & react833.RefAttributes<unknown>>;
|
|
777
777
|
Row: typeof Row;
|
|
778
778
|
Column: typeof Column;
|
|
779
779
|
FormGrid: typeof FormGrid;
|
|
@@ -80,7 +80,7 @@ declare const defaultComponentRegistry: {
|
|
|
80
80
|
value?: Date;
|
|
81
81
|
onChange?: (date: Date | undefined) => void;
|
|
82
82
|
placeholder?: string;
|
|
83
|
-
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "
|
|
83
|
+
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "selected" | "onSelect" | "mode">> & react558.RefAttributes<unknown>>;
|
|
84
84
|
decorator: string;
|
|
85
85
|
};
|
|
86
86
|
Row: {
|
|
@@ -142,7 +142,7 @@ declare const defaultComponents: {
|
|
|
142
142
|
value?: Date;
|
|
143
143
|
onChange?: (date: Date | undefined) => void;
|
|
144
144
|
placeholder?: string;
|
|
145
|
-
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "
|
|
145
|
+
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "selected" | "onSelect" | "mode">> & react558.RefAttributes<unknown>>;
|
|
146
146
|
Row: typeof Row;
|
|
147
147
|
Column: typeof Column;
|
|
148
148
|
FormGrid: typeof FormGrid;
|
|
@@ -183,7 +183,7 @@ declare const SchemaField: {
|
|
|
183
183
|
value?: Date;
|
|
184
184
|
onChange?: (date: Date | undefined) => void;
|
|
185
185
|
placeholder?: string;
|
|
186
|
-
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "
|
|
186
|
+
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "selected" | "onSelect" | "mode">> & react558.RefAttributes<unknown>>;
|
|
187
187
|
Row: typeof Row;
|
|
188
188
|
Column: typeof Column;
|
|
189
189
|
FormGrid: typeof FormGrid;
|
|
@@ -223,7 +223,7 @@ declare const SchemaField: {
|
|
|
223
223
|
value?: Date;
|
|
224
224
|
onChange?: (date: Date | undefined) => void;
|
|
225
225
|
placeholder?: string;
|
|
226
|
-
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "
|
|
226
|
+
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "selected" | "onSelect" | "mode">> & react558.RefAttributes<unknown>>;
|
|
227
227
|
Row: typeof Row;
|
|
228
228
|
Column: typeof Column;
|
|
229
229
|
FormGrid: typeof FormGrid;
|
|
@@ -263,7 +263,7 @@ declare const SchemaField: {
|
|
|
263
263
|
value?: Date;
|
|
264
264
|
onChange?: (date: Date | undefined) => void;
|
|
265
265
|
placeholder?: string;
|
|
266
|
-
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "
|
|
266
|
+
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "selected" | "onSelect" | "mode">> & react558.RefAttributes<unknown>>;
|
|
267
267
|
Row: typeof Row;
|
|
268
268
|
Column: typeof Column;
|
|
269
269
|
FormGrid: typeof FormGrid;
|
|
@@ -303,7 +303,7 @@ declare const SchemaField: {
|
|
|
303
303
|
value?: Date;
|
|
304
304
|
onChange?: (date: Date | undefined) => void;
|
|
305
305
|
placeholder?: string;
|
|
306
|
-
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "
|
|
306
|
+
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "selected" | "onSelect" | "mode">> & react558.RefAttributes<unknown>>;
|
|
307
307
|
Row: typeof Row;
|
|
308
308
|
Column: typeof Column;
|
|
309
309
|
FormGrid: typeof FormGrid;
|
|
@@ -343,7 +343,7 @@ declare const SchemaField: {
|
|
|
343
343
|
value?: Date;
|
|
344
344
|
onChange?: (date: Date | undefined) => void;
|
|
345
345
|
placeholder?: string;
|
|
346
|
-
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "
|
|
346
|
+
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "selected" | "onSelect" | "mode">> & react558.RefAttributes<unknown>>;
|
|
347
347
|
Row: typeof Row;
|
|
348
348
|
Column: typeof Column;
|
|
349
349
|
FormGrid: typeof FormGrid;
|
|
@@ -383,7 +383,7 @@ declare const SchemaField: {
|
|
|
383
383
|
value?: Date;
|
|
384
384
|
onChange?: (date: Date | undefined) => void;
|
|
385
385
|
placeholder?: string;
|
|
386
|
-
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "
|
|
386
|
+
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "selected" | "onSelect" | "mode">> & react558.RefAttributes<unknown>>;
|
|
387
387
|
Row: typeof Row;
|
|
388
388
|
Column: typeof Column;
|
|
389
389
|
FormGrid: typeof FormGrid;
|
|
@@ -423,7 +423,7 @@ declare const SchemaField: {
|
|
|
423
423
|
value?: Date;
|
|
424
424
|
onChange?: (date: Date | undefined) => void;
|
|
425
425
|
placeholder?: string;
|
|
426
|
-
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "
|
|
426
|
+
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "selected" | "onSelect" | "mode">> & react558.RefAttributes<unknown>>;
|
|
427
427
|
Row: typeof Row;
|
|
428
428
|
Column: typeof Column;
|
|
429
429
|
FormGrid: typeof FormGrid;
|
|
@@ -463,7 +463,7 @@ declare const SchemaField: {
|
|
|
463
463
|
value?: Date;
|
|
464
464
|
onChange?: (date: Date | undefined) => void;
|
|
465
465
|
placeholder?: string;
|
|
466
|
-
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "
|
|
466
|
+
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "selected" | "onSelect" | "mode">> & react558.RefAttributes<unknown>>;
|
|
467
467
|
Row: typeof Row;
|
|
468
468
|
Column: typeof Column;
|
|
469
469
|
FormGrid: typeof FormGrid;
|
|
@@ -503,7 +503,7 @@ declare const SchemaField: {
|
|
|
503
503
|
value?: Date;
|
|
504
504
|
onChange?: (date: Date | undefined) => void;
|
|
505
505
|
placeholder?: string;
|
|
506
|
-
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "
|
|
506
|
+
} & Omit<_pixpilot_shadcn_ui269.DatePickerProps, "selected" | "onSelect" | "mode">> & react558.RefAttributes<unknown>>;
|
|
507
507
|
Row: typeof Row;
|
|
508
508
|
Column: typeof Column;
|
|
509
509
|
FormGrid: typeof FormGrid;
|
|
@@ -80,7 +80,7 @@ declare const defaultComponentRegistry: {
|
|
|
80
80
|
value?: Date;
|
|
81
81
|
onChange?: (date: Date | undefined) => void;
|
|
82
82
|
placeholder?: string;
|
|
83
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
83
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
84
84
|
decorator: string;
|
|
85
85
|
};
|
|
86
86
|
Row: {
|
|
@@ -142,7 +142,7 @@ declare const defaultComponents: {
|
|
|
142
142
|
value?: Date;
|
|
143
143
|
onChange?: (date: Date | undefined) => void;
|
|
144
144
|
placeholder?: string;
|
|
145
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
145
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
146
146
|
Row: typeof Row;
|
|
147
147
|
Column: typeof Column;
|
|
148
148
|
FormGrid: typeof FormGrid;
|
|
@@ -183,7 +183,7 @@ declare const SchemaField: {
|
|
|
183
183
|
value?: Date;
|
|
184
184
|
onChange?: (date: Date | undefined) => void;
|
|
185
185
|
placeholder?: string;
|
|
186
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
186
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
187
187
|
Row: typeof Row;
|
|
188
188
|
Column: typeof Column;
|
|
189
189
|
FormGrid: typeof FormGrid;
|
|
@@ -223,7 +223,7 @@ declare const SchemaField: {
|
|
|
223
223
|
value?: Date;
|
|
224
224
|
onChange?: (date: Date | undefined) => void;
|
|
225
225
|
placeholder?: string;
|
|
226
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
226
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
227
227
|
Row: typeof Row;
|
|
228
228
|
Column: typeof Column;
|
|
229
229
|
FormGrid: typeof FormGrid;
|
|
@@ -263,7 +263,7 @@ declare const SchemaField: {
|
|
|
263
263
|
value?: Date;
|
|
264
264
|
onChange?: (date: Date | undefined) => void;
|
|
265
265
|
placeholder?: string;
|
|
266
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
266
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
267
267
|
Row: typeof Row;
|
|
268
268
|
Column: typeof Column;
|
|
269
269
|
FormGrid: typeof FormGrid;
|
|
@@ -303,7 +303,7 @@ declare const SchemaField: {
|
|
|
303
303
|
value?: Date;
|
|
304
304
|
onChange?: (date: Date | undefined) => void;
|
|
305
305
|
placeholder?: string;
|
|
306
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
306
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
307
307
|
Row: typeof Row;
|
|
308
308
|
Column: typeof Column;
|
|
309
309
|
FormGrid: typeof FormGrid;
|
|
@@ -343,7 +343,7 @@ declare const SchemaField: {
|
|
|
343
343
|
value?: Date;
|
|
344
344
|
onChange?: (date: Date | undefined) => void;
|
|
345
345
|
placeholder?: string;
|
|
346
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
346
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
347
347
|
Row: typeof Row;
|
|
348
348
|
Column: typeof Column;
|
|
349
349
|
FormGrid: typeof FormGrid;
|
|
@@ -383,7 +383,7 @@ declare const SchemaField: {
|
|
|
383
383
|
value?: Date;
|
|
384
384
|
onChange?: (date: Date | undefined) => void;
|
|
385
385
|
placeholder?: string;
|
|
386
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
386
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
387
387
|
Row: typeof Row;
|
|
388
388
|
Column: typeof Column;
|
|
389
389
|
FormGrid: typeof FormGrid;
|
|
@@ -423,7 +423,7 @@ declare const SchemaField: {
|
|
|
423
423
|
value?: Date;
|
|
424
424
|
onChange?: (date: Date | undefined) => void;
|
|
425
425
|
placeholder?: string;
|
|
426
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
426
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
427
427
|
Row: typeof Row;
|
|
428
428
|
Column: typeof Column;
|
|
429
429
|
FormGrid: typeof FormGrid;
|
|
@@ -463,7 +463,7 @@ declare const SchemaField: {
|
|
|
463
463
|
value?: Date;
|
|
464
464
|
onChange?: (date: Date | undefined) => void;
|
|
465
465
|
placeholder?: string;
|
|
466
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
466
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
467
467
|
Row: typeof Row;
|
|
468
468
|
Column: typeof Column;
|
|
469
469
|
FormGrid: typeof FormGrid;
|
|
@@ -503,7 +503,7 @@ declare const SchemaField: {
|
|
|
503
503
|
value?: Date;
|
|
504
504
|
onChange?: (date: Date | undefined) => void;
|
|
505
505
|
placeholder?: string;
|
|
506
|
-
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "
|
|
506
|
+
} & Omit<_pixpilot_shadcn_ui16.DatePickerProps, "selected" | "onSelect" | "mode">> & react30.RefAttributes<unknown>>;
|
|
507
507
|
Row: typeof Row;
|
|
508
508
|
Column: typeof Column;
|
|
509
509
|
FormGrid: typeof FormGrid;
|
|
@@ -17,14 +17,21 @@ const SliderBase = (props) => {
|
|
|
17
17
|
* Formily-connected Slider component
|
|
18
18
|
* Range input for selecting numeric values
|
|
19
19
|
*/
|
|
20
|
-
const Slider = (0, __formily_react.connect)(SliderBase, (0, __formily_react.mapProps)(
|
|
20
|
+
const Slider = (0, __formily_react.connect)(SliderBase, (0, __formily_react.mapProps)({
|
|
21
|
+
value: true,
|
|
22
|
+
onInput: true
|
|
23
|
+
}, (props, field) => {
|
|
21
24
|
const fieldValue = field.value;
|
|
22
|
-
|
|
25
|
+
let value;
|
|
26
|
+
if (Array.isArray(fieldValue)) value = fieldValue;
|
|
27
|
+
else if (typeof fieldValue === "number") value = [fieldValue];
|
|
28
|
+
else value = [0];
|
|
23
29
|
return {
|
|
24
30
|
...props,
|
|
25
31
|
value,
|
|
26
32
|
onValueChange: (newValue) => {
|
|
27
|
-
field.
|
|
33
|
+
if (Array.isArray(field.value)) field.onInput(newValue).catch(() => {});
|
|
34
|
+
else field.onInput(newValue[0]).catch(() => {});
|
|
28
35
|
}
|
|
29
36
|
};
|
|
30
37
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react17 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: react17.ForwardRefExoticComponent<Omit<Partial<SliderProps>, "ref"> & react17.RefAttributes<unknown>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Slider };
|
|
@@ -13,14 +13,21 @@ const SliderBase = (props) => {
|
|
|
13
13
|
* Formily-connected Slider component
|
|
14
14
|
* Range input for selecting numeric values
|
|
15
15
|
*/
|
|
16
|
-
const Slider$1 = connect(SliderBase, mapProps(
|
|
16
|
+
const Slider$1 = connect(SliderBase, mapProps({
|
|
17
|
+
value: true,
|
|
18
|
+
onInput: true
|
|
19
|
+
}, (props, field) => {
|
|
17
20
|
const fieldValue = field.value;
|
|
18
|
-
|
|
21
|
+
let value;
|
|
22
|
+
if (Array.isArray(fieldValue)) value = fieldValue;
|
|
23
|
+
else if (typeof fieldValue === "number") value = [fieldValue];
|
|
24
|
+
else value = [0];
|
|
19
25
|
return {
|
|
20
26
|
...props,
|
|
21
27
|
value,
|
|
22
28
|
onValueChange: (newValue) => {
|
|
23
|
-
field.
|
|
29
|
+
if (Array.isArray(field.value)) field.onInput(newValue).catch(() => {});
|
|
30
|
+
else field.onInput(newValue[0]).catch(() => {});
|
|
24
31
|
}
|
|
25
32
|
};
|
|
26
33
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react19 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: react19.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react19.RefAttributes<HTMLButtonElement>>, "ref"> & react19.RefAttributes<unknown>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react22 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: react22.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui0.TagsInputProps> & react22.RefAttributes<unknown>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { TagsInputInLine };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixpilot/formily-shadcn",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.15.0",
|
|
5
5
|
"description": "Formily integration for shadcn/ui components",
|
|
6
6
|
"author": "m.doaie <m.doaie@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"lucide-react": "^0.554.0",
|
|
42
42
|
"pretty-bytes": "^7.1.0",
|
|
43
43
|
"@pixpilot/shadcn": "0.5.0",
|
|
44
|
-
"@pixpilot/shadcn-ui": "0.
|
|
44
|
+
"@pixpilot/shadcn-ui": "0.12.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@storybook/react": "^10.1.8",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"tsdown": "^0.15.12",
|
|
56
56
|
"typescript": "^5.9.3",
|
|
57
57
|
"@internal/eslint-config": "0.3.0",
|
|
58
|
+
"@internal/tsdown-config": "0.1.0",
|
|
58
59
|
"@internal/prettier-config": "0.0.1",
|
|
59
60
|
"@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",
|