@pixpilot/formily-shadcn 0.36.0 → 0.37.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 (33) hide show
  1. package/dist/components/DatePicker.d.cts +3 -3
  2. package/dist/components/FormGrid.d.ts +2 -2
  3. package/dist/components/IconPicker.d.cts +3 -3
  4. package/dist/components/IconPicker.d.ts +3 -3
  5. package/dist/components/IconToggle.d.cts +2 -2
  6. package/dist/components/IconToggle.d.ts +2 -2
  7. package/dist/components/Input.d.cts +3 -3
  8. package/dist/components/Radio.d.ts +2 -2
  9. package/dist/components/Separator.d.cts +2 -2
  10. package/dist/components/Switch.d.cts +2 -2
  11. package/dist/components/Switch.d.ts +2 -2
  12. package/dist/components/TagsInputInline.d.cts +2 -2
  13. package/dist/components/TagsInputInline.d.ts +2 -2
  14. package/dist/components/Textarea.d.cts +2 -2
  15. package/dist/components/array-dialog/EditDialog.cjs +1 -0
  16. package/dist/components/array-dialog/EditDialog.js +1 -0
  17. package/dist/components/array-popover/Popover.cjs +64 -6
  18. package/dist/components/array-popover/Popover.js +64 -6
  19. package/dist/components/array-tags/ArrayTags.d.ts +2 -2
  20. package/dist/components/file-upload/FileUpload.d.cts +8 -8
  21. package/dist/components/file-upload/FileUpload.d.ts +8 -8
  22. package/dist/components/file-upload/FileUploadInline.d.cts +8 -8
  23. package/dist/components/file-upload/FileUploadInline.d.ts +8 -8
  24. package/dist/components/number/NumberInput.d.ts +3 -3
  25. package/dist/components/schema-field/schema-field-basics.d.ts +266 -266
  26. package/dist/components/schema-field/schema-field-extended.d.cts +566 -566
  27. package/dist/components/schema-field/schema-field-extended.d.ts +552 -552
  28. package/dist/components/schema-field/schema-field.d.cts +346 -346
  29. package/dist/components/schema-field/schema-field.d.ts +343 -343
  30. package/dist/components/slider/Slider.d.ts +3 -3
  31. package/dist/components/slider/SliderInput.d.ts +3 -3
  32. package/dist/components/slider/SliderSelect.d.ts +3 -3
  33. package/package.json +4 -4
@@ -1,11 +1,11 @@
1
- import * as react6 from "react";
1
+ import * as react2 from "react";
2
2
  import { DatePickerProps } from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/DatePicker.d.ts
5
- declare const DatePicker: react6.ForwardRefExoticComponent<Partial<{
5
+ declare const DatePicker: react2.ForwardRefExoticComponent<Partial<{
6
6
  value?: Date;
7
7
  onChange?: (date: Date | undefined) => void;
8
8
  placeholder?: string;
9
- } & Omit<DatePickerProps, "onSelect" | "selected" | "mode">> & react6.RefAttributes<unknown>>;
9
+ } & Omit<DatePickerProps, "onSelect" | "selected" | "mode">> & react2.RefAttributes<unknown>>;
10
10
  //#endregion
11
11
  export { DatePicker };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime2 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/FormGrid.d.ts
5
5
  interface IFormGridProps extends React.HTMLAttributes<HTMLDivElement> {}
@@ -7,6 +7,6 @@ declare function FormGrid({
7
7
  className,
8
8
  children,
9
9
  ...rest
10
- }: IFormGridProps): react_jsx_runtime2.JSX.Element;
10
+ }: IFormGridProps): react_jsx_runtime1.JSX.Element;
11
11
  //#endregion
12
12
  export { FormGrid };
@@ -1,4 +1,4 @@
1
- import * as react8 from "react";
1
+ import * as react4 from "react";
2
2
  import { IconPickerProps, IconProviderProps } from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/IconPicker.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: react8.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
11
+ declare const IconPicker: react4.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
12
12
  providers?: IconProviderProps[];
13
- }> & react8.RefAttributes<unknown>>;
13
+ }> & react4.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { IconPicker };
@@ -1,4 +1,4 @@
1
- import * as react4 from "react";
1
+ import * as react7 from "react";
2
2
  import { IconPickerProps, IconProviderProps } from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/IconPicker.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: react4.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
11
+ declare const IconPicker$1: react7.ForwardRefExoticComponent<Partial<Omit<IconPickerProps, "providers"> & {
12
12
  providers?: IconProviderProps[];
13
- }> & react4.RefAttributes<unknown>>;
13
+ }> & react7.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { IconPicker$1 as IconPicker };
@@ -1,4 +1,4 @@
1
- import * as react10 from "react";
1
+ import * as react6 from "react";
2
2
  import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/IconToggle.d.ts
@@ -6,6 +6,6 @@ import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
6
6
  * Formily-connected IconToggle component
7
7
  * Toggle button with customizable icons for boolean values
8
8
  */
9
- declare const IconToggle: react10.ForwardRefExoticComponent<Omit<Partial<Omit<_pixpilot_shadcn_ui0.IconToggleProps, "ref"> & react10.RefAttributes<HTMLButtonElement>>, "ref"> & react10.RefAttributes<unknown>>;
9
+ declare const IconToggle: react6.ForwardRefExoticComponent<Omit<Partial<Omit<_pixpilot_shadcn_ui0.IconToggleProps, "ref"> & react6.RefAttributes<HTMLButtonElement>>, "ref"> & react6.RefAttributes<unknown>>;
10
10
  //#endregion
11
11
  export { IconToggle };
@@ -1,4 +1,4 @@
1
- import * as react6 from "react";
1
+ import * as react4 from "react";
2
2
  import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/IconToggle.d.ts
@@ -6,6 +6,6 @@ import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
6
6
  * Formily-connected IconToggle component
7
7
  * Toggle button with customizable icons for boolean values
8
8
  */
9
- declare const IconToggle$1: react6.ForwardRefExoticComponent<Omit<Partial<Omit<_pixpilot_shadcn_ui0.IconToggleProps, "ref"> & react6.RefAttributes<HTMLButtonElement>>, "ref"> & react6.RefAttributes<unknown>>;
9
+ declare const IconToggle$1: react4.ForwardRefExoticComponent<Omit<Partial<Omit<_pixpilot_shadcn_ui0.IconToggleProps, "ref"> & react4.RefAttributes<HTMLButtonElement>>, "ref"> & react4.RefAttributes<unknown>>;
10
10
  //#endregion
11
11
  export { IconToggle$1 as IconToggle };
@@ -1,4 +1,4 @@
1
- import * as react2 from "react";
1
+ import * as react9 from "react";
2
2
 
3
3
  //#region src/components/Input.d.ts
4
4
 
@@ -6,12 +6,12 @@ import * as react2 from "react";
6
6
  * Formily-connected Input component
7
7
  * Automatically connects shadcn Input to Formily field state
8
8
  */
9
- declare const Input: react2.ForwardRefExoticComponent<Omit<Partial<react2.ClassAttributes<HTMLInputElement> & react2.InputHTMLAttributes<HTMLInputElement> & {
9
+ declare const Input: react9.ForwardRefExoticComponent<Omit<Partial<react9.ClassAttributes<HTMLInputElement> & react9.InputHTMLAttributes<HTMLInputElement> & {
10
10
  prefix?: React.ReactNode;
11
11
  suffix?: React.ReactNode;
12
12
  groupClassName?: string;
13
13
  prefixClassName?: string;
14
14
  suffixClassName?: string;
15
- }>, "ref"> & react2.RefAttributes<unknown>>;
15
+ }>, "ref"> & react9.RefAttributes<unknown>>;
16
16
  //#endregion
17
17
  export { Input };
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
3
3
  import { RadioGroup } from "@pixpilot/shadcn";
4
4
 
5
5
  //#region src/components/Radio.d.ts
@@ -15,7 +15,7 @@ type RadioProps = {
15
15
  /**
16
16
  * Radio component with options rendering
17
17
  */
18
- declare function Radio(props: RadioProps): react_jsx_runtime1.JSX.Element;
18
+ declare function Radio(props: RadioProps): react_jsx_runtime2.JSX.Element;
19
19
  declare namespace Radio {
20
20
  var displayName: string;
21
21
  }
@@ -1,4 +1,4 @@
1
- import * as react15 from "react";
1
+ import * as react13 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: react15.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react15.RefAttributes<HTMLDivElement>>, "ref"> & react15.RefAttributes<unknown>>;
9
+ declare const Separator: react13.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_separator0.SeparatorProps & react13.RefAttributes<HTMLDivElement>>, "ref"> & react13.RefAttributes<unknown>>;
10
10
  //#endregion
11
11
  export { Separator };
@@ -1,4 +1,4 @@
1
- import * as react22 from "react";
1
+ import * as react16 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: react22.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react22.RefAttributes<HTMLButtonElement>>, "ref"> & react22.RefAttributes<unknown>>;
9
+ declare const Switch: react16.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react16.RefAttributes<HTMLButtonElement>>, "ref"> & react16.RefAttributes<unknown>>;
10
10
  //#endregion
11
11
  export { Switch };
@@ -1,4 +1,4 @@
1
- import * as react16 from "react";
1
+ import * as react18 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: react16.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react16.RefAttributes<HTMLButtonElement>>, "ref"> & react16.RefAttributes<unknown>>;
9
+ declare const Switch: react18.ForwardRefExoticComponent<Omit<Partial<_radix_ui_react_switch0.SwitchProps & react18.RefAttributes<HTMLButtonElement>>, "ref"> & react18.RefAttributes<unknown>>;
10
10
  //#endregion
11
11
  export { Switch };
@@ -1,4 +1,4 @@
1
- import * as react13 from "react";
1
+ import * as react23 from "react";
2
2
  import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/TagsInputInline.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: react13.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui0.TagsInputProps> & react13.RefAttributes<unknown>>;
13
+ declare const TagsInputInLine: react23.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui0.TagsInputProps> & react23.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { TagsInputInLine };
@@ -1,4 +1,4 @@
1
- import * as react19 from "react";
1
+ import * as react16 from "react";
2
2
  import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/TagsInputInline.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: react19.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui0.TagsInputProps> & react19.RefAttributes<unknown>>;
13
+ declare const TagsInputInLine: react16.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui0.TagsInputProps> & react16.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { TagsInputInLine };
@@ -1,9 +1,9 @@
1
- import * as react18 from "react";
1
+ import * as react19 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: react18.ForwardRefExoticComponent<Omit<Partial<react18.ClassAttributes<HTMLTextAreaElement> & react18.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react18.RefAttributes<unknown>>;
7
+ declare const Textarea: react19.ForwardRefExoticComponent<Omit<Partial<react19.ClassAttributes<HTMLTextAreaElement> & react19.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react19.RefAttributes<unknown>>;
8
8
  //#endregion
9
9
  export { Textarea };
@@ -54,6 +54,7 @@ const EditDialog = (0, __formily_react.observer)(({ schema, onSave, onAutoSave,
54
54
  autoSave,
55
55
  itemIndex
56
56
  });
57
+ if (!open) return null;
57
58
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn_ui.Dialog, {
58
59
  open,
59
60
  onOpenChange: (isOpen) => {
@@ -49,6 +49,7 @@ const EditDialog = observer(({ schema, onSave, onAutoSave, onCancel, activeItemM
49
49
  autoSave,
50
50
  itemIndex
51
51
  });
52
+ if (!open) return null;
52
53
  return /* @__PURE__ */ jsx(Dialog, {
53
54
  open,
54
55
  onOpenChange: (isOpen) => {
@@ -43,9 +43,39 @@ const ArrayItemsEditPopover = (0, __formily_react.observer)(({ schema, onSave, o
43
43
  onSave,
44
44
  onCancel
45
45
  });
46
- const handleOpenChange = (isOpen) => {
47
- if (!isOpen) handleCancel();
48
- };
46
+ const handleDiscard = react.default.useCallback(() => {
47
+ if (activeIndex === void 0) return;
48
+ if (autoSave && isNewItem) arrayField.remove?.(activeIndex).catch(console.error);
49
+ handleCancel();
50
+ }, [
51
+ activeIndex,
52
+ arrayField,
53
+ autoSave,
54
+ handleCancel,
55
+ isNewItem
56
+ ]);
57
+ const validateAndClose = react.default.useCallback(() => {
58
+ if (activeIndex === void 0) return;
59
+ if (isDirty) {
60
+ triggerShake();
61
+ return;
62
+ }
63
+ Promise.resolve(draftForm.validate()).then(() => {
64
+ handleCancel();
65
+ }).catch(() => {
66
+ triggerShake();
67
+ });
68
+ }, [
69
+ activeIndex,
70
+ draftForm,
71
+ handleCancel,
72
+ isDirty,
73
+ triggerShake
74
+ ]);
75
+ const handleOpenChange = react.default.useCallback((isOpen) => {
76
+ if (isOpen) return;
77
+ validateAndClose();
78
+ }, [validateAndClose]);
49
79
  const { title, description } = require_use_array_item_edit_labels.useArrayItemEditLabels({
50
80
  schema,
51
81
  isNew: isNewItem,
@@ -62,9 +92,22 @@ const ArrayItemsEditPopover = (0, __formily_react.observer)(({ schema, onSave, o
62
92
  className: shouldShake ? "w-96 pp-shake" : "w-96",
63
93
  side: "top",
64
94
  onInteractOutside: (event) => {
65
- if (!isDirty) return;
95
+ if (isDirty) {
96
+ event.preventDefault();
97
+ triggerShake();
98
+ return;
99
+ }
66
100
  event.preventDefault();
67
- triggerShake();
101
+ validateAndClose();
102
+ },
103
+ onEscapeKeyDown: (event) => {
104
+ if (isDirty) {
105
+ event.preventDefault();
106
+ triggerShake();
107
+ return;
108
+ }
109
+ event.preventDefault();
110
+ validateAndClose();
68
111
  },
69
112
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ShakeStyles.ShakeStyles, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
70
113
  className: "space-y-4",
@@ -79,7 +122,7 @@ const ArrayItemsEditPopover = (0, __formily_react.observer)(({ schema, onSave, o
79
122
  children: description
80
123
  })]
81
124
  }),
82
- activeIndex != null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ArrayItemDraftFields.ArrayItemDraftFields, {
125
+ activeIndex != null && open && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ArrayItemDraftFields.ArrayItemDraftFields, {
83
126
  schema,
84
127
  form: draftForm,
85
128
  className: "space-y-4"
@@ -98,6 +141,21 @@ const ArrayItemsEditPopover = (0, __formily_react.observer)(({ schema, onSave, o
98
141
  onClick: handleSave,
99
142
  children: "Save"
100
143
  })]
144
+ }),
145
+ autoSave && isNewItem && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
146
+ className: "flex justify-end gap-2",
147
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.Button, {
148
+ type: "button",
149
+ variant: "outline",
150
+ size: "sm",
151
+ onClick: handleDiscard,
152
+ children: "Discard"
153
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.Button, {
154
+ type: "button",
155
+ size: "sm",
156
+ onClick: validateAndClose,
157
+ children: "Done"
158
+ })]
101
159
  })
102
160
  ]
103
161
  })]
@@ -38,9 +38,39 @@ const ArrayItemsEditPopover = observer(({ schema, onSave, onAutoSave, onCancel,
38
38
  onSave,
39
39
  onCancel
40
40
  });
41
- const handleOpenChange = (isOpen) => {
42
- if (!isOpen) handleCancel();
43
- };
41
+ const handleDiscard = React.useCallback(() => {
42
+ if (activeIndex === void 0) return;
43
+ if (autoSave && isNewItem) arrayField.remove?.(activeIndex).catch(console.error);
44
+ handleCancel();
45
+ }, [
46
+ activeIndex,
47
+ arrayField,
48
+ autoSave,
49
+ handleCancel,
50
+ isNewItem
51
+ ]);
52
+ const validateAndClose = React.useCallback(() => {
53
+ if (activeIndex === void 0) return;
54
+ if (isDirty) {
55
+ triggerShake();
56
+ return;
57
+ }
58
+ Promise.resolve(draftForm.validate()).then(() => {
59
+ handleCancel();
60
+ }).catch(() => {
61
+ triggerShake();
62
+ });
63
+ }, [
64
+ activeIndex,
65
+ draftForm,
66
+ handleCancel,
67
+ isDirty,
68
+ triggerShake
69
+ ]);
70
+ const handleOpenChange = React.useCallback((isOpen) => {
71
+ if (isOpen) return;
72
+ validateAndClose();
73
+ }, [validateAndClose]);
44
74
  const { title, description } = useArrayItemEditLabels({
45
75
  schema,
46
76
  isNew: isNewItem,
@@ -57,9 +87,22 @@ const ArrayItemsEditPopover = observer(({ schema, onSave, onAutoSave, onCancel,
57
87
  className: shouldShake ? "w-96 pp-shake" : "w-96",
58
88
  side: "top",
59
89
  onInteractOutside: (event) => {
60
- if (!isDirty) return;
90
+ if (isDirty) {
91
+ event.preventDefault();
92
+ triggerShake();
93
+ return;
94
+ }
61
95
  event.preventDefault();
62
- triggerShake();
96
+ validateAndClose();
97
+ },
98
+ onEscapeKeyDown: (event) => {
99
+ if (isDirty) {
100
+ event.preventDefault();
101
+ triggerShake();
102
+ return;
103
+ }
104
+ event.preventDefault();
105
+ validateAndClose();
63
106
  },
64
107
  children: [/* @__PURE__ */ jsx(ShakeStyles, {}), /* @__PURE__ */ jsxs("div", {
65
108
  className: "space-y-4",
@@ -74,7 +117,7 @@ const ArrayItemsEditPopover = observer(({ schema, onSave, onAutoSave, onCancel,
74
117
  children: description
75
118
  })]
76
119
  }),
77
- activeIndex != null && /* @__PURE__ */ jsx(ArrayItemDraftFields, {
120
+ activeIndex != null && open && /* @__PURE__ */ jsx(ArrayItemDraftFields, {
78
121
  schema,
79
122
  form: draftForm,
80
123
  className: "space-y-4"
@@ -93,6 +136,21 @@ const ArrayItemsEditPopover = observer(({ schema, onSave, onAutoSave, onCancel,
93
136
  onClick: handleSave,
94
137
  children: "Save"
95
138
  })]
139
+ }),
140
+ autoSave && isNewItem && /* @__PURE__ */ jsxs("div", {
141
+ className: "flex justify-end gap-2",
142
+ children: [/* @__PURE__ */ jsx(Button, {
143
+ type: "button",
144
+ variant: "outline",
145
+ size: "sm",
146
+ onClick: handleDiscard,
147
+ children: "Discard"
148
+ }), /* @__PURE__ */ jsx(Button, {
149
+ type: "button",
150
+ size: "sm",
151
+ onClick: validateAndClose,
152
+ children: "Done"
153
+ })]
96
154
  })
97
155
  ]
98
156
  })]
@@ -1,4 +1,4 @@
1
- import * as _formily_react0 from "@formily/react";
1
+ import * as _formily_react68 from "@formily/react";
2
2
  import React from "react";
3
3
 
4
4
  //#region src/components/array-tags/ArrayTags.d.ts
@@ -52,6 +52,6 @@ interface ArrayTagsProps {
52
52
  * };
53
53
  * ```
54
54
  */
55
- declare const ArrayTags: React.MemoExoticComponent<_formily_react0.ReactFC<ArrayTagsProps>>;
55
+ declare const ArrayTags: React.MemoExoticComponent<_formily_react68.ReactFC<ArrayTagsProps>>;
56
56
  //#endregion
57
57
  export { ArrayTags, ArrayTagsProps };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as _pixpilot_shadcn_ui9 from "@pixpilot/shadcn-ui";
2
+ import * as _pixpilot_shadcn_ui1 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/file-upload/FileUpload.d.ts
5
5
 
@@ -7,14 +7,14 @@ import * as _pixpilot_shadcn_ui9 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<_pixpilot_shadcn_ui9.FileUploadInlineBaseProps & {
10
+ declare const FileUpload: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui1.FileUploadInlineBaseProps & {
11
11
  multiple: true;
12
- value?: _pixpilot_shadcn_ui9.FileMetadata[];
13
- onChange?: _pixpilot_shadcn_ui9.OnChangeMultipleFiles;
14
- } & _pixpilot_shadcn_ui9.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui9.FileUploadInlineBaseProps & {
12
+ value?: _pixpilot_shadcn_ui1.FileMetadata[];
13
+ onChange?: _pixpilot_shadcn_ui1.OnChangeMultipleFiles;
14
+ } & _pixpilot_shadcn_ui1.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui1.FileUploadInlineBaseProps & {
15
15
  multiple?: false;
16
- value?: _pixpilot_shadcn_ui9.FileMetadata | null;
17
- onChange?: _pixpilot_shadcn_ui9.OnChangeSingleFile;
18
- } & _pixpilot_shadcn_ui9.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
16
+ value?: _pixpilot_shadcn_ui1.FileMetadata | null;
17
+ onChange?: _pixpilot_shadcn_ui1.OnChangeSingleFile;
18
+ } & _pixpilot_shadcn_ui1.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
19
19
  //#endregion
20
20
  export { FileUpload };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as _pixpilot_shadcn_ui9 from "@pixpilot/shadcn-ui";
2
+ import * as _pixpilot_shadcn_ui408 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/file-upload/FileUpload.d.ts
5
5
 
@@ -7,14 +7,14 @@ import * as _pixpilot_shadcn_ui9 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$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui9.FileUploadInlineBaseProps & {
10
+ declare const FileUpload$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui408.FileUploadInlineBaseProps & {
11
11
  multiple: true;
12
- value?: _pixpilot_shadcn_ui9.FileMetadata[];
13
- onChange?: _pixpilot_shadcn_ui9.OnChangeMultipleFiles;
14
- } & _pixpilot_shadcn_ui9.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui9.FileUploadInlineBaseProps & {
12
+ value?: _pixpilot_shadcn_ui408.FileMetadata[];
13
+ onChange?: _pixpilot_shadcn_ui408.OnChangeMultipleFiles;
14
+ } & _pixpilot_shadcn_ui408.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui408.FileUploadInlineBaseProps & {
15
15
  multiple?: false;
16
- value?: _pixpilot_shadcn_ui9.FileMetadata | null;
17
- onChange?: _pixpilot_shadcn_ui9.OnChangeSingleFile;
18
- } & _pixpilot_shadcn_ui9.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
16
+ value?: _pixpilot_shadcn_ui408.FileMetadata | null;
17
+ onChange?: _pixpilot_shadcn_ui408.OnChangeSingleFile;
18
+ } & _pixpilot_shadcn_ui408.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
19
19
  //#endregion
20
20
  export { FileUpload$1 as FileUpload };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as _pixpilot_shadcn_ui1 from "@pixpilot/shadcn-ui";
2
+ import * as _pixpilot_shadcn_ui9 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/file-upload/FileUploadInline.d.ts
5
5
 
@@ -7,14 +7,14 @@ import * as _pixpilot_shadcn_ui1 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<_pixpilot_shadcn_ui1.FileUploadInlineBaseProps & {
10
+ declare const FileUploadInline: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui9.FileUploadInlineBaseProps & {
11
11
  multiple: true;
12
- value?: _pixpilot_shadcn_ui1.FileMetadata[];
13
- onChange?: _pixpilot_shadcn_ui1.OnChangeMultipleFiles;
14
- } & _pixpilot_shadcn_ui1.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui1.FileUploadInlineBaseProps & {
12
+ value?: _pixpilot_shadcn_ui9.FileMetadata[];
13
+ onChange?: _pixpilot_shadcn_ui9.OnChangeMultipleFiles;
14
+ } & _pixpilot_shadcn_ui9.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui9.FileUploadInlineBaseProps & {
15
15
  multiple?: false;
16
- value?: _pixpilot_shadcn_ui1.FileMetadata | null;
17
- onChange?: _pixpilot_shadcn_ui1.OnChangeSingleFile;
18
- } & _pixpilot_shadcn_ui1.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
16
+ value?: _pixpilot_shadcn_ui9.FileMetadata | null;
17
+ onChange?: _pixpilot_shadcn_ui9.OnChangeSingleFile;
18
+ } & _pixpilot_shadcn_ui9.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 _pixpilot_shadcn_ui1 from "@pixpilot/shadcn-ui";
2
+ import * as _pixpilot_shadcn_ui400 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/file-upload/FileUploadInline.d.ts
5
5
 
@@ -7,14 +7,14 @@ import * as _pixpilot_shadcn_ui1 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$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui1.FileUploadInlineBaseProps & {
10
+ declare const FileUploadInline$1: React.ForwardRefExoticComponent<(Omit<Partial<_pixpilot_shadcn_ui400.FileUploadInlineBaseProps & {
11
11
  multiple: true;
12
- value?: _pixpilot_shadcn_ui1.FileMetadata[];
13
- onChange?: _pixpilot_shadcn_ui1.OnChangeMultipleFiles;
14
- } & _pixpilot_shadcn_ui1.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui1.FileUploadInlineBaseProps & {
12
+ value?: _pixpilot_shadcn_ui400.FileMetadata[];
13
+ onChange?: _pixpilot_shadcn_ui400.OnChangeMultipleFiles;
14
+ } & _pixpilot_shadcn_ui400.FileUploadBaseProps>, "ref"> | Omit<Partial<_pixpilot_shadcn_ui400.FileUploadInlineBaseProps & {
15
15
  multiple?: false;
16
- value?: _pixpilot_shadcn_ui1.FileMetadata | null;
17
- onChange?: _pixpilot_shadcn_ui1.OnChangeSingleFile;
18
- } & _pixpilot_shadcn_ui1.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
16
+ value?: _pixpilot_shadcn_ui400.FileMetadata | null;
17
+ onChange?: _pixpilot_shadcn_ui400.OnChangeSingleFile;
18
+ } & _pixpilot_shadcn_ui400.FileUploadBaseProps>, "ref">) & React.RefAttributes<unknown>>;
19
19
  //#endregion
20
20
  export { FileUploadInline$1 as FileUploadInline };
@@ -1,15 +1,15 @@
1
- import * as react27 from "react";
1
+ import * as react25 from "react";
2
2
 
3
3
  //#region src/components/number/NumberInput.d.ts
4
4
  /**
5
5
  * Formily-connected Number Input component
6
6
  */
7
- declare const NumberInput: react27.ForwardRefExoticComponent<Omit<Partial<react27.ClassAttributes<HTMLInputElement> & react27.InputHTMLAttributes<HTMLInputElement> & {
7
+ declare const NumberInput: react25.ForwardRefExoticComponent<Omit<Partial<react25.ClassAttributes<HTMLInputElement> & react25.InputHTMLAttributes<HTMLInputElement> & {
8
8
  prefix?: React.ReactNode;
9
9
  suffix?: React.ReactNode;
10
10
  groupClassName?: string;
11
11
  prefixClassName?: string;
12
12
  suffixClassName?: string;
13
- }>, "ref"> & react27.RefAttributes<unknown>>;
13
+ }>, "ref"> & react25.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { NumberInput };