@rjsf/react-bootstrap 6.5.2 → 6.6.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/index.cjs +152 -152
- package/dist/index.cjs.map +4 -4
- package/dist/react-bootstrap.esm.js +153 -153
- package/dist/react-bootstrap.esm.js.map +4 -4
- package/dist/react-bootstrap.umd.js +96 -96
- package/lib/AddButton/AddButton.js +1 -1
- package/lib/AddButton/AddButton.js.map +1 -1
- package/lib/ArrayFieldItemTemplate/ArrayFieldItemTemplate.js +2 -2
- package/lib/ArrayFieldItemTemplate/ArrayFieldItemTemplate.js.map +1 -1
- package/lib/ArrayFieldTemplate/ArrayFieldTemplate.js +2 -2
- package/lib/ArrayFieldTemplate/ArrayFieldTemplate.js.map +1 -1
- package/lib/BaseInputTemplate/BaseInputTemplate.js +2 -2
- package/lib/BaseInputTemplate/BaseInputTemplate.js.map +1 -1
- package/lib/CheckboxesWidget/CheckboxesWidget.js +1 -1
- package/lib/CheckboxesWidget/CheckboxesWidget.js.map +1 -1
- package/lib/DescriptionField/DescriptionField.js.map +1 -1
- package/lib/ErrorList/ErrorList.js +1 -1
- package/lib/ErrorList/ErrorList.js.map +1 -1
- package/lib/FieldHelpTemplate/FieldHelpTemplate.js +1 -1
- package/lib/FieldHelpTemplate/FieldHelpTemplate.js.map +1 -1
- package/lib/Form/Form.js.map +1 -1
- package/lib/GridTemplate/GridTemplate.js +1 -1
- package/lib/GridTemplate/GridTemplate.js.map +1 -1
- package/lib/IconButton/IconButton.js +4 -4
- package/lib/IconButton/IconButton.js.map +1 -1
- package/lib/ObjectFieldTemplate/ObjectFieldTemplate.js +2 -2
- package/lib/ObjectFieldTemplate/ObjectFieldTemplate.js.map +1 -1
- package/lib/OptionalDataControlsTemplate/OptionalDataControlsTemplate.js.map +1 -1
- package/lib/RadioWidget/RadioWidget.js +1 -1
- package/lib/RadioWidget/RadioWidget.js.map +1 -1
- package/lib/RangeWidget/RangeWidget.js.map +1 -1
- package/lib/SelectWidget/SelectWidget.js +1 -1
- package/lib/SelectWidget/SelectWidget.js.map +1 -1
- package/lib/SubmitButton/SubmitButton.js +1 -1
- package/lib/SubmitButton/SubmitButton.js.map +1 -1
- package/lib/Templates/Templates.js +1 -1
- package/lib/Templates/Templates.js.map +1 -1
- package/lib/Theme/Theme.js.map +1 -1
- package/lib/TitleField/TitleField.js +1 -1
- package/lib/TitleField/TitleField.js.map +1 -1
- package/lib/Widgets/Widgets.js +1 -1
- package/lib/Widgets/Widgets.js.map +1 -1
- package/lib/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.js +1 -1
- package/lib/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -13
- package/src/AddButton/AddButton.tsx +1 -1
- package/src/ArrayFieldItemTemplate/ArrayFieldItemTemplate.tsx +2 -2
- package/src/ArrayFieldTemplate/ArrayFieldTemplate.tsx +3 -3
- package/src/BaseInputTemplate/BaseInputTemplate.tsx +2 -2
- package/src/CheckboxesWidget/CheckboxesWidget.tsx +1 -1
- package/src/DescriptionField/DescriptionField.tsx +1 -1
- package/src/ErrorList/ErrorList.tsx +1 -2
- package/src/FieldHelpTemplate/FieldHelpTemplate.tsx +1 -1
- package/src/Form/Form.tsx +2 -2
- package/src/GridTemplate/GridTemplate.tsx +2 -2
- package/src/IconButton/IconButton.tsx +4 -4
- package/src/ObjectFieldTemplate/ObjectFieldTemplate.tsx +3 -4
- package/src/OptionalDataControlsTemplate/OptionalDataControlsTemplate.tsx +1 -1
- package/src/RadioWidget/RadioWidget.tsx +1 -1
- package/src/RangeWidget/RangeWidget.tsx +1 -1
- package/src/SelectWidget/SelectWidget.tsx +1 -1
- package/src/SubmitButton/SubmitButton.tsx +1 -1
- package/src/Templates/Templates.ts +3 -2
- package/src/Theme/Theme.tsx +1 -1
- package/src/TitleField/TitleField.tsx +1 -1
- package/src/Widgets/Widgets.ts +3 -2
- package/src/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.tsx +1 -2
- package/src/tsconfig.json +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rjsf/react-bootstrap",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -48,16 +48,17 @@
|
|
|
48
48
|
"build:esm": "esbuild ./src/index.ts --bundle --outfile=dist/react-bootstrap.esm.js --sourcemap --packages=external --format=esm",
|
|
49
49
|
"build:umd": "rollup dist/react-bootstrap.esm.js --format=umd --file=dist/react-bootstrap.umd.js --name=@rjsf/react-bootstrap",
|
|
50
50
|
"build": "npm run build:ts && npm run build:cjs && npm run build:esm && npm run build:umd",
|
|
51
|
-
"cs-check": "
|
|
52
|
-
"cs-format": "
|
|
53
|
-
"lint": "
|
|
51
|
+
"cs-check": "oxfmt --check \"{src,test}/**/*.{ts,tsx}\"",
|
|
52
|
+
"cs-format": "oxfmt \"{src,test}/**/*.{ts,tsx}\"",
|
|
53
|
+
"lint": "oxlint src test",
|
|
54
54
|
"precommit": "lint-staged",
|
|
55
|
-
"test": "
|
|
56
|
-
"test:update": "
|
|
55
|
+
"test": "vitest run",
|
|
56
|
+
"test:update": "vitest run --update-snapshots"
|
|
57
57
|
},
|
|
58
58
|
"lint-staged": {
|
|
59
|
-
"{src,test}/**/*.ts
|
|
60
|
-
"
|
|
59
|
+
"{src,test}/**/*.{ts,tsx}": [
|
|
60
|
+
"oxlint --fix",
|
|
61
|
+
"oxfmt"
|
|
61
62
|
]
|
|
62
63
|
},
|
|
63
64
|
"peerDependencies": {
|
|
@@ -71,11 +72,10 @@
|
|
|
71
72
|
"node": ">=20"
|
|
72
73
|
},
|
|
73
74
|
"devDependencies": {
|
|
74
|
-
"@rjsf/core": "6.
|
|
75
|
-
"@rjsf/snapshot-tests": "6.
|
|
76
|
-
"@rjsf/utils": "6.
|
|
77
|
-
"@rjsf/validator-ajv8": "6.
|
|
78
|
-
"eslint": "^8.57.1",
|
|
75
|
+
"@rjsf/core": "6.6.0",
|
|
76
|
+
"@rjsf/snapshot-tests": "6.6.0",
|
|
77
|
+
"@rjsf/utils": "6.6.0",
|
|
78
|
+
"@rjsf/validator-ajv8": "6.6.0",
|
|
79
79
|
"react-bootstrap": "^2.10.10"
|
|
80
80
|
},
|
|
81
81
|
"publishConfig": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { BsPlus } from '@react-icons/all-files/bs/BsPlus';
|
|
1
2
|
import { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';
|
|
2
3
|
import Button from 'react-bootstrap/Button';
|
|
3
|
-
import { BsPlus } from '@react-icons/all-files/bs/BsPlus';
|
|
4
4
|
|
|
5
5
|
export default function AddButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({
|
|
6
6
|
uiSchema,
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import Row from 'react-bootstrap/Row';
|
|
3
|
-
import Col from 'react-bootstrap/Col';
|
|
4
2
|
import {
|
|
5
3
|
ArrayFieldItemTemplateProps,
|
|
6
4
|
FormContextType,
|
|
@@ -9,6 +7,8 @@ import {
|
|
|
9
7
|
RJSFSchema,
|
|
10
8
|
StrictRJSFSchema,
|
|
11
9
|
} from '@rjsf/utils';
|
|
10
|
+
import Col from 'react-bootstrap/Col';
|
|
11
|
+
import Row from 'react-bootstrap/Row';
|
|
12
12
|
|
|
13
13
|
export default function ArrayFieldItemTemplate<
|
|
14
14
|
T = any,
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import Row from 'react-bootstrap/Row';
|
|
2
|
-
import Col from 'react-bootstrap/Col';
|
|
3
|
-
import Container from 'react-bootstrap/Container';
|
|
4
1
|
import {
|
|
5
2
|
ArrayFieldTemplateProps,
|
|
6
3
|
buttonId,
|
|
@@ -10,6 +7,9 @@ import {
|
|
|
10
7
|
RJSFSchema,
|
|
11
8
|
StrictRJSFSchema,
|
|
12
9
|
} from '@rjsf/utils';
|
|
10
|
+
import Col from 'react-bootstrap/Col';
|
|
11
|
+
import Container from 'react-bootstrap/Container';
|
|
12
|
+
import Row from 'react-bootstrap/Row';
|
|
13
13
|
|
|
14
14
|
export default function ArrayFieldTemplate<
|
|
15
15
|
T = any,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeEvent, FocusEvent, MouseEvent, useCallback } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { SchemaExamples } from '@rjsf/core';
|
|
3
3
|
import {
|
|
4
4
|
ariaDescribedByIds,
|
|
5
5
|
BaseInputTemplateProps,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
RJSFSchema,
|
|
10
10
|
StrictRJSFSchema,
|
|
11
11
|
} from '@rjsf/utils';
|
|
12
|
-
import
|
|
12
|
+
import Form from 'react-bootstrap/Form';
|
|
13
13
|
|
|
14
14
|
export default function BaseInputTemplate<
|
|
15
15
|
T = any,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ChangeEvent, FocusEvent } from 'react';
|
|
2
|
-
import Form from 'react-bootstrap/Form';
|
|
3
2
|
import {
|
|
4
3
|
ariaDescribedByIds,
|
|
5
4
|
enumOptionValueDecoder,
|
|
@@ -13,6 +12,7 @@ import {
|
|
|
13
12
|
StrictRJSFSchema,
|
|
14
13
|
WidgetProps,
|
|
15
14
|
} from '@rjsf/utils';
|
|
15
|
+
import Form from 'react-bootstrap/Form';
|
|
16
16
|
|
|
17
17
|
export default function CheckboxesWidget<
|
|
18
18
|
T = any,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DescriptionFieldProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
2
1
|
import { RichDescription } from '@rjsf/core';
|
|
2
|
+
import { DescriptionFieldProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
3
3
|
|
|
4
4
|
/** The `DescriptionField` is the template to use to render the description of a field
|
|
5
5
|
*
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
+
import { ErrorListProps, FormContextType, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';
|
|
1
2
|
import Card from 'react-bootstrap/Card';
|
|
2
3
|
import ListGroup from 'react-bootstrap/ListGroup';
|
|
3
4
|
|
|
4
|
-
import { ErrorListProps, FormContextType, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';
|
|
5
|
-
|
|
6
5
|
export default function ErrorList<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({
|
|
7
6
|
errors,
|
|
8
7
|
registry,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FieldHelpProps, FormContextType, RJSFSchema, StrictRJSFSchema, helpId } from '@rjsf/utils';
|
|
2
1
|
import { RichHelp } from '@rjsf/core';
|
|
2
|
+
import { FieldHelpProps, FormContextType, RJSFSchema, StrictRJSFSchema, helpId } from '@rjsf/utils';
|
|
3
3
|
import Form from 'react-bootstrap/Form';
|
|
4
4
|
|
|
5
5
|
/** The `FieldHelpTemplate` component renders any help desired for a field
|
package/src/Form/Form.tsx
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComponentType } from 'react';
|
|
2
|
-
|
|
3
2
|
import { withTheme, FormProps } from '@rjsf/core';
|
|
4
|
-
import { generateTheme } from '../Theme';
|
|
5
3
|
import { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
6
4
|
|
|
5
|
+
import { generateTheme } from '../Theme';
|
|
6
|
+
|
|
7
7
|
export function generateForm<
|
|
8
8
|
T = any,
|
|
9
9
|
S extends StrictRJSFSchema = RJSFSchema,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Row from 'react-bootstrap/Row';
|
|
2
|
-
import Col from 'react-bootstrap/Col';
|
|
3
1
|
import { GridTemplateProps } from '@rjsf/utils';
|
|
2
|
+
import Col from 'react-bootstrap/Col';
|
|
3
|
+
import Row from 'react-bootstrap/Row';
|
|
4
4
|
|
|
5
5
|
/** Renders a `GridTemplate` for react-bootstrap, which is expecting the column sizing information coming in via the
|
|
6
6
|
* extra props provided by the caller, which are spread directly on the `Row`/`Col`.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { AiOutlineArrowDown } from '@react-icons/all-files/ai/AiOutlineArrowDown';
|
|
2
|
+
import { AiOutlineArrowUp } from '@react-icons/all-files/ai/AiOutlineArrowUp';
|
|
3
3
|
import { IoIosCopy } from '@react-icons/all-files/io/IoIosCopy';
|
|
4
4
|
import { IoIosRemove } from '@react-icons/all-files/io/IoIosRemove';
|
|
5
|
-
import { AiOutlineArrowUp } from '@react-icons/all-files/ai/AiOutlineArrowUp';
|
|
6
|
-
import { AiOutlineArrowDown } from '@react-icons/all-files/ai/AiOutlineArrowDown';
|
|
7
5
|
import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
|
|
6
|
+
import { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';
|
|
7
|
+
import Button, { ButtonProps } from 'react-bootstrap/Button';
|
|
8
8
|
|
|
9
9
|
export type BootstrapIconButtonProps<
|
|
10
10
|
T = any,
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import Row from 'react-bootstrap/Row';
|
|
2
|
-
import Col from 'react-bootstrap/Col';
|
|
3
|
-
import Container from 'react-bootstrap/Container';
|
|
4
|
-
|
|
5
1
|
import {
|
|
6
2
|
buttonId,
|
|
7
3
|
canExpand,
|
|
@@ -14,6 +10,9 @@ import {
|
|
|
14
10
|
StrictRJSFSchema,
|
|
15
11
|
titleId,
|
|
16
12
|
} from '@rjsf/utils';
|
|
13
|
+
import Col from 'react-bootstrap/Col';
|
|
14
|
+
import Container from 'react-bootstrap/Container';
|
|
15
|
+
import Row from 'react-bootstrap/Row';
|
|
17
16
|
|
|
18
17
|
export default function ObjectFieldTemplate<
|
|
19
18
|
T = any,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FormContextType, OptionalDataControlsTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
2
1
|
import { BsPlus } from '@react-icons/all-files/bs/BsPlus';
|
|
2
|
+
import { FormContextType, OptionalDataControlsTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
3
3
|
|
|
4
4
|
import IconButton, { RemoveButton } from '../IconButton';
|
|
5
5
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ChangeEvent, FocusEvent } from 'react';
|
|
2
|
-
import Form from 'react-bootstrap/Form';
|
|
3
2
|
import {
|
|
4
3
|
ariaDescribedByIds,
|
|
5
4
|
enumOptionValueDecoder,
|
|
@@ -12,6 +11,7 @@ import {
|
|
|
12
11
|
StrictRJSFSchema,
|
|
13
12
|
WidgetProps,
|
|
14
13
|
} from '@rjsf/utils';
|
|
14
|
+
import Form from 'react-bootstrap/Form';
|
|
15
15
|
|
|
16
16
|
export default function RadioWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({
|
|
17
17
|
id,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FormContextType, rangeSpec, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';
|
|
2
1
|
import { ChangeEvent, FocusEvent } from 'react';
|
|
2
|
+
import { FormContextType, rangeSpec, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';
|
|
3
3
|
import FormRange from 'react-bootstrap/FormRange';
|
|
4
4
|
|
|
5
5
|
export default function RangeWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ChangeEvent, FocusEvent } from 'react';
|
|
2
|
-
import FormSelect from 'react-bootstrap/FormSelect';
|
|
3
2
|
import {
|
|
4
3
|
ariaDescribedByIds,
|
|
5
4
|
enumOptionSelectedValue,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
StrictRJSFSchema,
|
|
12
11
|
WidgetProps,
|
|
13
12
|
} from '@rjsf/utils';
|
|
13
|
+
import FormSelect from 'react-bootstrap/FormSelect';
|
|
14
14
|
|
|
15
15
|
export default function SelectWidget<
|
|
16
16
|
T = any,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Button from 'react-bootstrap/Button';
|
|
2
1
|
import { FormContextType, getSubmitButtonOptions, RJSFSchema, StrictRJSFSchema, SubmitButtonProps } from '@rjsf/utils';
|
|
2
|
+
import Button from 'react-bootstrap/Button';
|
|
3
3
|
|
|
4
4
|
export default function SubmitButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(
|
|
5
5
|
props: SubmitButtonProps<T, S, F>,
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
+
import { FormContextType, RJSFSchema, StrictRJSFSchema, TemplatesType } from '@rjsf/utils';
|
|
2
|
+
|
|
1
3
|
import AddButton from '../AddButton';
|
|
2
4
|
import ArrayFieldItemTemplate from '../ArrayFieldItemTemplate';
|
|
3
5
|
import ArrayFieldTemplate from '../ArrayFieldTemplate';
|
|
4
6
|
import BaseInputTemplate from '../BaseInputTemplate/BaseInputTemplate';
|
|
5
7
|
import DescriptionField from '../DescriptionField';
|
|
6
8
|
import ErrorList from '../ErrorList';
|
|
7
|
-
import { CopyButton, MoveDownButton, MoveUpButton, RemoveButton, ClearButton } from '../IconButton';
|
|
8
9
|
import FieldErrorTemplate from '../FieldErrorTemplate';
|
|
9
10
|
import FieldHelpTemplate from '../FieldHelpTemplate';
|
|
10
11
|
import FieldTemplate from '../FieldTemplate';
|
|
11
12
|
import GridTemplate from '../GridTemplate';
|
|
13
|
+
import { CopyButton, MoveDownButton, MoveUpButton, RemoveButton, ClearButton } from '../IconButton';
|
|
12
14
|
import MultiSchemaFieldTemplate from '../MultiSchemaFieldTemplate';
|
|
13
15
|
import ObjectFieldTemplate from '../ObjectFieldTemplate';
|
|
14
16
|
import OptionalDataControlsTemplate from '../OptionalDataControlsTemplate';
|
|
15
17
|
import SubmitButton from '../SubmitButton';
|
|
16
18
|
import TitleField from '../TitleField';
|
|
17
19
|
import WrapIfAdditionalTemplate from '../WrapIfAdditionalTemplate';
|
|
18
|
-
import { FormContextType, RJSFSchema, StrictRJSFSchema, TemplatesType } from '@rjsf/utils';
|
|
19
20
|
|
|
20
21
|
export function generateTemplates<
|
|
21
22
|
T = any,
|
package/src/Theme/Theme.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ThemeProps } from '@rjsf/core';
|
|
2
|
+
import { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
2
3
|
|
|
3
4
|
import { generateTemplates } from '../Templates';
|
|
4
5
|
import { generateWidgets } from '../Widgets';
|
|
5
|
-
import { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
6
6
|
|
|
7
7
|
export function generateTheme<
|
|
8
8
|
T = any,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormContextType, getUiOptions, RJSFSchema, StrictRJSFSchema, TitleFieldProps } from '@rjsf/utils';
|
|
2
|
-
import Row from 'react-bootstrap/Row';
|
|
3
2
|
import Col from 'react-bootstrap/Col';
|
|
4
3
|
import Container from 'react-bootstrap/Container';
|
|
4
|
+
import Row from 'react-bootstrap/Row';
|
|
5
5
|
|
|
6
6
|
export default function TitleField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({
|
|
7
7
|
id,
|
package/src/Widgets/Widgets.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FormContextType, RegistryWidgetsType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
2
|
+
|
|
2
3
|
import CheckboxesWidget from '../CheckboxesWidget/CheckboxesWidget';
|
|
4
|
+
import CheckboxWidget from '../CheckboxWidget/CheckboxWidget';
|
|
3
5
|
import RadioWidget from '../RadioWidget/RadioWidget';
|
|
4
6
|
import RangeWidget from '../RangeWidget/RangeWidget';
|
|
5
7
|
import SelectWidget from '../SelectWidget/SelectWidget';
|
|
6
8
|
import TextareaWidget from '../TextareaWidget/TextareaWidget';
|
|
7
|
-
import { FormContextType, RegistryWidgetsType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
8
9
|
|
|
9
10
|
export function generateWidgets<
|
|
10
11
|
T = any,
|
|
@@ -7,10 +7,9 @@ import {
|
|
|
7
7
|
TranslatableString,
|
|
8
8
|
WrapIfAdditionalTemplateProps,
|
|
9
9
|
} from '@rjsf/utils';
|
|
10
|
-
|
|
11
|
-
import Row from 'react-bootstrap/Row';
|
|
12
10
|
import Col from 'react-bootstrap/Col';
|
|
13
11
|
import Form from 'react-bootstrap/Form';
|
|
12
|
+
import Row from 'react-bootstrap/Row';
|
|
14
13
|
|
|
15
14
|
export default function WrapIfAdditionalTemplate<
|
|
16
15
|
T = any,
|