@pixpilot/formily-shadcn 0.8.4 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +1 -42
  2. package/dist/components/array-base/components/array-item-label.cjs +4 -7
  3. package/dist/components/array-base/components/array-item-label.js +4 -6
  4. package/dist/components/array-base/components/empty.cjs +2 -2
  5. package/dist/components/array-base/components/empty.d.cts +9 -0
  6. package/dist/components/array-base/components/empty.d.ts +9 -0
  7. package/dist/components/array-base/components/empty.js +2 -2
  8. package/dist/components/array-base/components/get-array-components.cjs +1 -1
  9. package/dist/components/array-base/components/get-array-components.js +1 -1
  10. package/dist/components/array-base/components/types.d.cts +2 -1
  11. package/dist/components/array-base/components/types.d.ts +2 -1
  12. package/dist/components/array-base/components/use-array-components-registry.cjs +5 -8
  13. package/dist/components/array-base/components/use-array-components-registry.d.cts +1 -0
  14. package/dist/components/array-base/components/use-array-components-registry.d.ts +1 -0
  15. package/dist/components/array-base/components/use-array-components-registry.js +5 -8
  16. package/dist/components/array-cards/array-cards.cjs +1 -4
  17. package/dist/components/array-cards/array-cards.js +1 -4
  18. package/dist/components/array-cards/item.cjs +5 -12
  19. package/dist/components/array-cards/item.js +5 -12
  20. package/dist/components/array-collapse/array-collapse.cjs +1 -4
  21. package/dist/components/array-collapse/array-collapse.js +1 -4
  22. package/dist/components/array-collapse/item.cjs +1 -4
  23. package/dist/components/array-collapse/item.js +1 -4
  24. package/dist/components/array-common/list-item.cjs +0 -4
  25. package/dist/components/array-common/list-item.js +1 -5
  26. package/dist/components/array-dialog/array-dialog.cjs +2 -5
  27. package/dist/components/array-dialog/array-dialog.js +2 -5
  28. package/dist/components/file-upload/file-upload-inline.d.cts +8 -8
  29. package/dist/components/file-upload/file-upload-inline.d.ts +8 -8
  30. package/dist/components/file-upload/file-upload.d.cts +8 -8
  31. package/dist/components/file-upload/file-upload.d.ts +8 -8
  32. package/dist/components/json-schema-form-renderer.cjs +2 -1
  33. package/dist/components/json-schema-form-renderer.js +2 -1
  34. package/dist/components/radio.d.ts +2 -2
  35. package/dist/components/row.d.ts +2 -2
  36. package/dist/components/schema-field/index.cjs +3 -0
  37. package/dist/components/schema-field/index.d.cts +3 -0
  38. package/dist/components/schema-field/index.d.ts +3 -0
  39. package/dist/components/schema-field/index.js +3 -0
  40. package/dist/components/schema-field/schema-field-basics.cjs +54 -0
  41. package/dist/components/schema-field/schema-field-basics.d.cts +439 -0
  42. package/dist/components/schema-field/schema-field-basics.d.ts +439 -0
  43. package/dist/components/schema-field/schema-field-basics.js +51 -0
  44. package/dist/components/schema-field/schema-field-extended.cjs +28 -0
  45. package/dist/components/schema-field/schema-field-extended.d.cts +704 -0
  46. package/dist/components/schema-field/schema-field-extended.d.ts +704 -0
  47. package/dist/components/schema-field/schema-field-extended.js +25 -0
  48. package/dist/components/schema-field/schema-field.cjs +23 -0
  49. package/dist/components/schema-field/schema-field.d.cts +481 -0
  50. package/dist/components/schema-field/schema-field.d.ts +481 -0
  51. package/dist/components/schema-field/schema-field.js +19 -0
  52. package/dist/components/separator.d.cts +3 -3
  53. package/dist/components/slider.d.cts +2 -2
  54. package/dist/components/slider.d.ts +2 -2
  55. package/dist/components/switch.d.cts +3 -3
  56. package/dist/components/switch.d.ts +3 -3
  57. package/dist/components/tags-input-inline.d.cts +3 -3
  58. package/dist/components/tags-input-inline.d.ts +3 -3
  59. package/dist/components/textarea.d.cts +2 -2
  60. package/dist/index.cjs +12 -7
  61. package/dist/index.d.cts +5 -3
  62. package/dist/index.d.ts +5 -3
  63. package/dist/index.js +8 -6
  64. package/dist/utils/transform-schema.cjs +1 -1
  65. package/dist/utils/transform-schema.js +1 -1
  66. package/package.json +9 -9
  67. package/dist/components/array-base/components/title.cjs +0 -17
  68. package/dist/components/array-base/components/title.js +0 -14
  69. package/dist/components/schema-field-extended.cjs +0 -25
  70. package/dist/components/schema-field-extended.d.cts +0 -630
  71. package/dist/components/schema-field-extended.d.ts +0 -630
  72. package/dist/components/schema-field-extended.js +0 -23
  73. package/dist/components/schema-field.cjs +0 -61
  74. package/dist/components/schema-field.d.cts +0 -471
  75. package/dist/components/schema-field.d.ts +0 -471
  76. package/dist/components/schema-field.js +0 -57
@@ -1,5 +1,5 @@
1
- import * as react788 from "react";
2
- import * as _pixpilot_shadcn_ui189 from "@pixpilot/shadcn-ui";
1
+ import * as react22 from "react";
2
+ import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/tags-input-inline.d.ts
5
5
 
@@ -10,6 +10,6 @@ import * as _pixpilot_shadcn_ui189 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: react788.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui189.TagsInputProps> & react788.RefAttributes<unknown>>;
13
+ declare const TagsInputInLine: react22.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui0.TagsInputProps> & react22.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { TagsInputInLine };
@@ -1,5 +1,5 @@
1
- import * as react792 from "react";
2
- import * as _pixpilot_shadcn_ui189 from "@pixpilot/shadcn-ui";
1
+ import * as react26 from "react";
2
+ import * as _pixpilot_shadcn_ui0 from "@pixpilot/shadcn-ui";
3
3
 
4
4
  //#region src/components/tags-input-inline.d.ts
5
5
 
@@ -10,6 +10,6 @@ import * as _pixpilot_shadcn_ui189 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: react792.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui189.TagsInputProps> & react792.RefAttributes<unknown>>;
13
+ declare const TagsInputInLine: react26.ForwardRefExoticComponent<Partial<_pixpilot_shadcn_ui0.TagsInputProps> & react26.RefAttributes<unknown>>;
14
14
  //#endregion
15
15
  export { TagsInputInLine };
@@ -1,9 +1,9 @@
1
- import * as react790 from "react";
1
+ import * as react24 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: react790.ForwardRefExoticComponent<Omit<Partial<react790.ClassAttributes<HTMLTextAreaElement> & react790.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react790.RefAttributes<unknown>>;
7
+ declare const Textarea: react24.ForwardRefExoticComponent<Omit<Partial<react24.ClassAttributes<HTMLTextAreaElement> & react24.TextareaHTMLAttributes<HTMLTextAreaElement>>, "ref"> & react24.RefAttributes<unknown>>;
8
8
  //#endregion
9
9
  export { Textarea };
package/dist/index.cjs CHANGED
@@ -17,19 +17,21 @@ const require_form_grid = require('./components/form-grid.cjs');
17
17
  const require_form_item = require('./components/form-item.cjs');
18
18
  const require_icon_picker = require('./components/icon-picker.cjs');
19
19
  const require_input = require('./components/input.cjs');
20
+ const require_slider = require('./components/slider.cjs');
21
+ const require_tags_input_inline = require('./components/tags-input-inline.cjs');
20
22
  const require_number_input = require('./components/number-input.cjs');
21
23
  const require_radio = require('./components/radio.cjs');
22
24
  const require_row = require('./components/row.cjs');
23
25
  const require_select = require('./components/select.cjs');
24
26
  const require_separator = require('./components/separator.cjs');
25
- const require_slider = require('./components/slider.cjs');
26
27
  const require_switch = require('./components/switch.cjs');
27
28
  const require_textarea = require('./components/textarea.cjs');
28
- const require_schema_field = require('./components/schema-field.cjs');
29
- const require_json_schema_form_renderer = require('./components/json-schema-form-renderer.cjs');
29
+ const require_schema_field_basics = require('./components/schema-field/schema-field-basics.cjs');
30
+ const require_schema_field = require('./components/schema-field/schema-field.cjs');
30
31
  const require_rich_text_editor = require('./components/rich-text-editor.cjs');
31
- const require_schema_field_extended = require('./components/schema-field-extended.cjs');
32
- const require_tags_input_inline = require('./components/tags-input-inline.cjs');
32
+ const require_schema_field_extended = require('./components/schema-field/schema-field-extended.cjs');
33
+ require('./components/schema-field/index.cjs');
34
+ const require_json_schema_form_renderer = require('./components/json-schema-form-renderer.cjs');
33
35
  let __formily_react = require("@formily/react");
34
36
  __formily_react = require_rolldown_runtime.__toESM(__formily_react);
35
37
  let __formily_core = require("@formily/core");
@@ -80,6 +82,8 @@ exports.Radio = require_radio.Radio;
80
82
  exports.RichTextEditor = require_rich_text_editor.RichTextEditor;
81
83
  exports.Row = require_row.Row;
82
84
  exports.SchemaField = require_schema_field.SchemaField;
85
+ exports.SchemaFieldBasicComponents = require_schema_field_basics.SchemaFieldBasicComponents;
86
+ exports.SchemaFieldBasics = require_schema_field_basics.SchemaFieldBasics;
83
87
  exports.SchemaFieldExtended = require_schema_field_extended.SchemaFieldExtended;
84
88
  exports.Select = require_select.Select;
85
89
  exports.Separator = require_separator.Separator;
@@ -93,10 +97,11 @@ Object.defineProperty(exports, 'VoidField', {
93
97
  return __formily_react.VoidField;
94
98
  }
95
99
  });
96
- exports.basicComponents = require_schema_field.basicComponents;
97
100
  Object.defineProperty(exports, 'createForm', {
98
101
  enumerable: true,
99
102
  get: function () {
100
103
  return __formily_core.createForm;
101
104
  }
102
- });
105
+ });
106
+ exports.schemaFieldComponents = require_schema_field.schemaFieldComponents;
107
+ exports.schemaFieldExtendedComponents = require_schema_field_extended.schemaFieldExtendedComponents;
package/dist/index.d.cts CHANGED
@@ -22,8 +22,10 @@ import { NumberInput } from "./components/number-input.cjs";
22
22
  import { ConnectedRadio, Radio } from "./components/radio.cjs";
23
23
  import { RichTextEditor } from "./components/rich-text-editor.cjs";
24
24
  import { Row } from "./components/row.cjs";
25
- import { SchemaField, basicComponents } from "./components/schema-field.cjs";
26
- import { SchemaFieldExtended } from "./components/schema-field-extended.cjs";
25
+ import { SchemaField, schemaFieldComponents } from "./components/schema-field/schema-field.cjs";
26
+ import { SchemaFieldBasicComponents, SchemaFieldBasics } from "./components/schema-field/schema-field-basics.cjs";
27
+ import { SchemaFieldExtended, schemaFieldExtendedComponents } from "./components/schema-field/schema-field-extended.cjs";
28
+ import "./components/schema-field/index.cjs";
27
29
  import { Select } from "./components/select.cjs";
28
30
  import { Separator } from "./components/separator.cjs";
29
31
  import { Slider } from "./components/slider.cjs";
@@ -32,4 +34,4 @@ import { TagsInputInLine } from "./components/tags-input-inline.cjs";
32
34
  import { Textarea } from "./components/textarea.cjs";
33
35
  import { Field, FormConsumer, FormProvider, ISchema, ObjectField, VoidField } from "@formily/react";
34
36
  import { Form as IForm, createForm } from "@formily/core";
35
- export { ArrayBase, type ArrayBaseMixins, ArrayCards, ArrayCollapse, Checkbox, Column, Combobox, ConnectedRadio, DatePicker, Field, FileUpload, FileUploadInline, Form, FormConsumer, FormGrid, FormItem, FormProvider, type IArrayBaseOperationProps, type IArrayBaseProps, type IForm, type ISchema, IconPicker, Input, JsonSchemaFormRenderer, JsonSchemaFormRendererProps, NumberInput, ObjectField, Radio, RichTextEditor, Row, SchemaField, SchemaFieldExtended, Select, Separator, Slider, Switch, TagsInputInLine, Textarea, VoidField, basicComponents, createForm };
37
+ export { ArrayBase, type ArrayBaseMixins, ArrayCards, ArrayCollapse, Checkbox, Column, Combobox, ConnectedRadio, DatePicker, Field, FileUpload, FileUploadInline, Form, FormConsumer, FormGrid, FormItem, FormProvider, type IArrayBaseOperationProps, type IArrayBaseProps, type IForm, type ISchema, IconPicker, Input, JsonSchemaFormRenderer, JsonSchemaFormRendererProps, NumberInput, ObjectField, Radio, RichTextEditor, Row, SchemaField, SchemaFieldBasicComponents, SchemaFieldBasics, SchemaFieldExtended, Select, Separator, Slider, Switch, TagsInputInLine, Textarea, VoidField, createForm, schemaFieldComponents, schemaFieldExtendedComponents };
package/dist/index.d.ts CHANGED
@@ -22,8 +22,10 @@ import { NumberInput } from "./components/number-input.js";
22
22
  import { ConnectedRadio, Radio } from "./components/radio.js";
23
23
  import { RichTextEditor } from "./components/rich-text-editor.js";
24
24
  import { Row } from "./components/row.js";
25
- import { SchemaField, basicComponents } from "./components/schema-field.js";
26
- import { SchemaFieldExtended } from "./components/schema-field-extended.js";
25
+ import { SchemaField, schemaFieldComponents } from "./components/schema-field/schema-field.js";
26
+ import { SchemaFieldBasicComponents, SchemaFieldBasics } from "./components/schema-field/schema-field-basics.js";
27
+ import { SchemaFieldExtended, schemaFieldExtendedComponents } from "./components/schema-field/schema-field-extended.js";
28
+ import "./components/schema-field/index.js";
27
29
  import { Select } from "./components/select.js";
28
30
  import { Separator } from "./components/separator.js";
29
31
  import { Slider } from "./components/slider.js";
@@ -32,4 +34,4 @@ import { TagsInputInLine } from "./components/tags-input-inline.js";
32
34
  import { Textarea } from "./components/textarea.js";
33
35
  import { Field, FormConsumer, FormProvider, ISchema, ObjectField, VoidField } from "@formily/react";
34
36
  import { Form as IForm, createForm } from "@formily/core";
35
- export { ArrayBase, type ArrayBaseMixins, ArrayCards, ArrayCollapse, Checkbox, Column, Combobox, ConnectedRadio, DatePicker, Field, FileUpload, FileUploadInline, Form, FormConsumer, FormGrid, FormItem, FormProvider, type IArrayBaseOperationProps, type IArrayBaseProps, type IForm, type ISchema, IconPicker, Input, JsonSchemaFormRenderer, JsonSchemaFormRendererProps, NumberInput, ObjectField, Radio, RichTextEditor, Row, SchemaField, SchemaFieldExtended, Select, Separator, Slider, Switch, TagsInputInLine, Textarea, VoidField, basicComponents, createForm };
37
+ export { ArrayBase, type ArrayBaseMixins, ArrayCards, ArrayCollapse, Checkbox, Column, Combobox, ConnectedRadio, DatePicker, Field, FileUpload, FileUploadInline, Form, FormConsumer, FormGrid, FormItem, FormProvider, type IArrayBaseOperationProps, type IArrayBaseProps, type IForm, type ISchema, IconPicker, Input, JsonSchemaFormRenderer, JsonSchemaFormRendererProps, NumberInput, ObjectField, Radio, RichTextEditor, Row, SchemaField, SchemaFieldBasicComponents, SchemaFieldBasics, SchemaFieldExtended, Select, Separator, Slider, Switch, TagsInputInLine, Textarea, VoidField, createForm, schemaFieldComponents, schemaFieldExtendedComponents };
package/dist/index.js CHANGED
@@ -16,20 +16,22 @@ import { FormGrid } from "./components/form-grid.js";
16
16
  import { FormItem } from "./components/form-item.js";
17
17
  import { IconPicker } from "./components/icon-picker.js";
18
18
  import { Input } from "./components/input.js";
19
+ import { Slider } from "./components/slider.js";
20
+ import { TagsInputInLine } from "./components/tags-input-inline.js";
19
21
  import { NumberInput } from "./components/number-input.js";
20
22
  import { ConnectedRadio, Radio } from "./components/radio.js";
21
23
  import { Row } from "./components/row.js";
22
24
  import { Select } from "./components/select.js";
23
25
  import { Separator } from "./components/separator.js";
24
- import { Slider } from "./components/slider.js";
25
26
  import { Switch } from "./components/switch.js";
26
27
  import { Textarea } from "./components/textarea.js";
27
- import { SchemaField, basicComponents } from "./components/schema-field.js";
28
- import { JsonSchemaFormRenderer } from "./components/json-schema-form-renderer.js";
28
+ import { SchemaFieldBasicComponents, SchemaFieldBasics } from "./components/schema-field/schema-field-basics.js";
29
+ import { SchemaField, schemaFieldComponents } from "./components/schema-field/schema-field.js";
29
30
  import { RichTextEditor } from "./components/rich-text-editor.js";
30
- import { SchemaFieldExtended } from "./components/schema-field-extended.js";
31
- import { TagsInputInLine } from "./components/tags-input-inline.js";
31
+ import { SchemaFieldExtended, schemaFieldExtendedComponents } from "./components/schema-field/schema-field-extended.js";
32
+ import "./components/schema-field/index.js";
33
+ import { JsonSchemaFormRenderer } from "./components/json-schema-form-renderer.js";
32
34
  import { Field, FormConsumer, FormProvider, ObjectField, VoidField } from "@formily/react";
33
35
  import { createForm } from "@formily/core";
34
36
 
35
- export { ArrayBase, ArrayCards, ArrayCollapse, Checkbox, Column, Combobox, ConnectedRadio, DatePicker, Field, FileUpload, FileUploadInline, Form, FormConsumer, FormGrid, FormItem, FormProvider, IconPicker, Input, JsonSchemaFormRenderer, NumberInput, ObjectField, Radio, RichTextEditor, Row, SchemaField, SchemaFieldExtended, Select, Separator, Slider, Switch, TagsInputInLine, Textarea, VoidField, basicComponents, createForm };
37
+ export { ArrayBase, ArrayCards, ArrayCollapse, Checkbox, Column, Combobox, ConnectedRadio, DatePicker, Field, FileUpload, FileUploadInline, Form, FormConsumer, FormGrid, FormItem, FormProvider, IconPicker, Input, JsonSchemaFormRenderer, NumberInput, ObjectField, Radio, RichTextEditor, Row, SchemaField, SchemaFieldBasicComponents, SchemaFieldBasics, SchemaFieldExtended, Select, Separator, Slider, Switch, TagsInputInLine, Textarea, VoidField, createForm, schemaFieldComponents, schemaFieldExtendedComponents };
@@ -34,7 +34,7 @@ function transformSchema(schema) {
34
34
  if (typeof type === "string" && type in inputSchemaMap) {
35
35
  const mapping = inputSchemaMap[type];
36
36
  if (currentSchema["x-component"] == null) currentSchema["x-component"] = mapping["x-component"];
37
- if (!["Hidden"].includes(currentSchema["x-component"])) currentSchema["x-decorator"] = mapping["x-decorator"];
37
+ if (!["Hidden", "hidden"].includes(currentSchema["x-component"])) currentSchema["x-decorator"] = mapping["x-decorator"];
38
38
  }
39
39
  }
40
40
  });
@@ -32,7 +32,7 @@ function transformSchema(schema) {
32
32
  if (typeof type === "string" && type in inputSchemaMap) {
33
33
  const mapping = inputSchemaMap[type];
34
34
  if (currentSchema["x-component"] == null) currentSchema["x-component"] = mapping["x-component"];
35
- if (!["Hidden"].includes(currentSchema["x-component"])) currentSchema["x-decorator"] = mapping["x-decorator"];
35
+ if (!["Hidden", "hidden"].includes(currentSchema["x-component"])) currentSchema["x-decorator"] = mapping["x-decorator"];
36
36
  }
37
37
  }
38
38
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/formily-shadcn",
3
3
  "type": "module",
4
- "version": "0.8.4",
4
+ "version": "0.9.0",
5
5
  "description": "Formily integration for shadcn/ui components",
6
6
  "author": "m.doaie <m.doaie@hotmail.com>",
7
7
  "license": "MIT",
@@ -39,22 +39,22 @@
39
39
  "json-schema-traverse": "^1.0.0",
40
40
  "lucide-react": "^0.554.0",
41
41
  "pretty-bytes": "^7.1.0",
42
- "@pixpilot/shadcn": "0.3.2",
43
- "@pixpilot/shadcn-ui": "0.4.4"
42
+ "@pixpilot/shadcn": "0.4.0",
43
+ "@pixpilot/shadcn-ui": "0.5.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@storybook/react": "^10.0.8",
46
+ "@storybook/react": "^10.1.8",
47
47
  "@testing-library/react": "^16.3.0",
48
- "@types/node": "^22.18.11",
49
- "@types/react": "^19.2.6",
48
+ "@types/node": "^22.19.3",
49
+ "@types/react": "^19.2.7",
50
50
  "@types/react-dom": "^19.2.3",
51
- "eslint": "^9.38.0",
51
+ "eslint": "^9.39.2",
52
52
  "react": "19.2.0",
53
53
  "react-dom": "19.2.0",
54
- "tsdown": "^0.15.8",
54
+ "tsdown": "^0.15.12",
55
55
  "typescript": "^5.9.3",
56
- "@internal/prettier-config": "0.0.1",
57
56
  "@internal/eslint-config": "0.3.0",
57
+ "@internal/prettier-config": "0.0.1",
58
58
  "@internal/tsconfig": "0.1.0",
59
59
  "@internal/tsdown-config": "0.1.0",
60
60
  "@internal/vitest-config": "0.1.0"
@@ -1,17 +0,0 @@
1
- const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
2
- const require_array_context = require('../array-context.cjs');
3
- let react = require("react");
4
- react = require_rolldown_runtime.__toESM(react);
5
- let react_jsx_runtime = require("react/jsx-runtime");
6
- react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
7
-
8
- //#region src/components/array-base/components/title.tsx
9
- const ArrayTitle = (props) => {
10
- const array = require_array_context.useArray();
11
- if (!array) return null;
12
- const { field } = array;
13
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: props.title ?? field.title ?? "" });
14
- };
15
-
16
- //#endregion
17
- exports.ArrayTitle = ArrayTitle;
@@ -1,14 +0,0 @@
1
- import { useArray } from "../array-context.js";
2
- import React from "react";
3
- import { jsx } from "react/jsx-runtime";
4
-
5
- //#region src/components/array-base/components/title.tsx
6
- const ArrayTitle = (props) => {
7
- const array = useArray();
8
- if (!array) return null;
9
- const { field } = array;
10
- return /* @__PURE__ */ jsx("span", { children: props.title ?? field.title ?? "" });
11
- };
12
-
13
- //#endregion
14
- export { ArrayTitle };
@@ -1,25 +0,0 @@
1
- const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- const require_file_upload = require('./file-upload/file-upload.cjs');
3
- const require_file_upload_inline = require('./file-upload/file-upload-inline.cjs');
4
- require('./file-upload/index.cjs');
5
- const require_icon_picker = require('./icon-picker.cjs');
6
- const require_schema_field = require('./schema-field.cjs');
7
- const require_rich_text_editor = require('./rich-text-editor.cjs');
8
- let __formily_react = require("@formily/react");
9
- __formily_react = require_rolldown_runtime.__toESM(__formily_react);
10
-
11
- //#region src/components/schema-field-extended.tsx
12
- /**
13
- * SchemaField with all Shadcn Formily components pre-registered
14
- * Use this to render forms from JSON Schema
15
- */
16
- const SchemaFieldExtended = (0, __formily_react.createSchemaField)({ components: {
17
- FileUploadInline: require_file_upload_inline.FileUploadInline,
18
- IconPicker: require_icon_picker.IconPicker,
19
- FileUpload: require_file_upload.FileUpload,
20
- RichTextEditor: require_rich_text_editor.RichTextEditor,
21
- ...require_schema_field.basicComponents
22
- } });
23
-
24
- //#endregion
25
- exports.SchemaFieldExtended = SchemaFieldExtended;