@rjsf/react-bootstrap 6.0.0-beta.1 → 6.0.0-beta.11

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/README.md CHANGED
@@ -54,10 +54,12 @@ Exports `react-bootstrap` theme, fields and widgets for `react-jsonschema-form`.
54
54
  ### Prerequisites
55
55
 
56
56
  - `react-bootstrap >= 2.0.0`
57
- - `@rjsf/core >= 2.2.0`
57
+ - `@rjsf/core >= 6`
58
+ - `@rjsf/utils >= 6`
59
+ - `@rjsf/validator-ajv8 >= 6`
58
60
 
59
61
  ```bash
60
- yarn add react-bootstrap @rjsf/core
62
+ yarn add react-bootstrap @rjsf/core @rjsf/utils @rjsf/validator-ajv8
61
63
  ```
62
64
 
63
65
  ### Installation
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ __export(index_exports, {
43
43
  module.exports = __toCommonJS(index_exports);
44
44
 
45
45
  // src/Form/Form.tsx
46
- var import_core = require("@rjsf/core");
46
+ var import_core2 = require("@rjsf/core");
47
47
 
48
48
  // src/AddButton/AddButton.tsx
49
49
  var import_utils = require("@rjsf/utils");
@@ -221,12 +221,13 @@ function BaseInputTemplate({
221
221
  }
222
222
 
223
223
  // src/DescriptionField/DescriptionField.tsx
224
+ var import_core = require("@rjsf/core");
224
225
  var import_jsx_runtime5 = require("react/jsx-runtime");
225
- function DescriptionField({ id, description }) {
226
- if (description) {
227
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { id, className: "mb-3", children: description }) });
226
+ function DescriptionField({ id, description, registry, uiSchema }) {
227
+ if (!description) {
228
+ return null;
228
229
  }
229
- return null;
230
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { id, className: "mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_core.RichDescription, { description, registry, uiSchema }) }) });
230
231
  }
231
232
 
232
233
  // src/ErrorList/ErrorList.tsx
@@ -396,12 +397,22 @@ function GridTemplate(props) {
396
397
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_Row3.default, { ...rest, children });
397
398
  }
398
399
 
400
+ // src/MultiSchemaFieldTemplate/MultiSchemaFieldTemplate.tsx
401
+ var import_Card2 = __toESM(require("react-bootstrap/Card"), 1);
402
+ var import_jsx_runtime12 = require("react/jsx-runtime");
403
+ function MultiSchemaFieldTemplate({ selector, optionSchemaField }) {
404
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_Card2.default, { style: { marginBottom: "1rem" }, children: [
405
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_Card2.default.Body, { children: selector }),
406
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_Card2.default.Body, { children: optionSchemaField })
407
+ ] });
408
+ }
409
+
399
410
  // src/ObjectFieldTemplate/ObjectFieldTemplate.tsx
400
411
  var import_Row4 = __toESM(require("react-bootstrap/Row"), 1);
401
412
  var import_Col4 = __toESM(require("react-bootstrap/Col"), 1);
402
413
  var import_Container2 = __toESM(require("react-bootstrap/Container"), 1);
403
414
  var import_utils10 = require("@rjsf/utils");
404
- var import_jsx_runtime12 = require("react/jsx-runtime");
415
+ var import_jsx_runtime13 = require("react/jsx-runtime");
405
416
  function ObjectFieldTemplate({
406
417
  description,
407
418
  title,
@@ -426,8 +437,8 @@ function ObjectFieldTemplate({
426
437
  const {
427
438
  ButtonTemplates: { AddButton: AddButton2 }
428
439
  } = registry.templates;
429
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
430
- title && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
440
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
441
+ title && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
431
442
  TitleFieldTemplate,
432
443
  {
433
444
  id: (0, import_utils10.titleId)(idSchema),
@@ -438,7 +449,7 @@ function ObjectFieldTemplate({
438
449
  registry
439
450
  }
440
451
  ),
441
- description && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
452
+ description && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
442
453
  DescriptionFieldTemplate,
443
454
  {
444
455
  id: (0, import_utils10.descriptionId)(idSchema),
@@ -448,12 +459,12 @@ function ObjectFieldTemplate({
448
459
  registry
449
460
  }
450
461
  ),
451
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_Container2.default, { fluid: true, className: "p-0", children: [
452
- properties.map((element, index) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_Row4.default, { style: { marginBottom: "10px" }, className: element.hidden ? "d-none" : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_Col4.default, { xs: 12, children: [
462
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_Container2.default, { fluid: true, className: "p-0", children: [
463
+ properties.map((element, index) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_Row4.default, { style: { marginBottom: "10px" }, className: element.hidden ? "d-none" : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_Col4.default, { xs: 12, children: [
453
464
  " ",
454
465
  element.content
455
466
  ] }) }, index)),
456
- (0, import_utils10.canExpand)(schema, uiSchema, formData) ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_Row4.default, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_Col4.default, { xs: { offset: 9, span: 3 }, className: "py-4", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
467
+ (0, import_utils10.canExpand)(schema, uiSchema, formData) ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_Row4.default, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_Col4.default, { xs: { offset: 9, span: 3 }, className: "py-4", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
457
468
  AddButton2,
458
469
  {
459
470
  id: (0, import_utils10.buttonId)(idSchema, "add"),
@@ -471,27 +482,27 @@ function ObjectFieldTemplate({
471
482
  // src/SubmitButton/SubmitButton.tsx
472
483
  var import_Button3 = __toESM(require("react-bootstrap/Button"), 1);
473
484
  var import_utils11 = require("@rjsf/utils");
474
- var import_jsx_runtime13 = require("react/jsx-runtime");
485
+ var import_jsx_runtime14 = require("react/jsx-runtime");
475
486
  function SubmitButton(props) {
476
487
  const { submitText, norender, props: submitButtonProps } = (0, import_utils11.getSubmitButtonOptions)(props.uiSchema);
477
488
  if (norender) {
478
489
  return null;
479
490
  }
480
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_Button3.default, { variant: "primary", type: "submit", ...submitButtonProps, children: submitText }) });
491
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_Button3.default, { variant: "primary", type: "submit", ...submitButtonProps, children: submitText }) });
481
492
  }
482
493
 
483
494
  // src/TitleField/TitleField.tsx
484
495
  var import_utils12 = require("@rjsf/utils");
485
- var import_jsx_runtime14 = require("react/jsx-runtime");
496
+ var import_jsx_runtime15 = require("react/jsx-runtime");
486
497
  function TitleField({
487
498
  id,
488
499
  title,
489
500
  uiSchema
490
501
  }) {
491
502
  const uiOptions = (0, import_utils12.getUiOptions)(uiSchema);
492
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { id, className: "my-1", children: [
493
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h5", { children: uiOptions.title || title }),
494
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("hr", { className: "border-0 bg-secondary", style: { height: "1px" } })
503
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { id, className: "my-1", children: [
504
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h5", { children: uiOptions.title || title }),
505
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("hr", { className: "border-0 bg-secondary", style: { height: "1px" } })
495
506
  ] });
496
507
  }
497
508
 
@@ -500,7 +511,7 @@ var import_utils13 = require("@rjsf/utils");
500
511
  var import_Row5 = __toESM(require("react-bootstrap/Row"), 1);
501
512
  var import_Col5 = __toESM(require("react-bootstrap/Col"), 1);
502
513
  var import_Form4 = __toESM(require("react-bootstrap/Form"), 1);
503
- var import_jsx_runtime15 = require("react/jsx-runtime");
514
+ var import_jsx_runtime16 = require("react/jsx-runtime");
504
515
  function WrapIfAdditionalTemplate({
505
516
  classNames,
506
517
  style,
@@ -521,14 +532,14 @@ function WrapIfAdditionalTemplate({
521
532
  const keyLabel = translateString(import_utils13.TranslatableString.KeyLabel, [label]);
522
533
  const additional = import_utils13.ADDITIONAL_PROPERTY_FLAG in schema;
523
534
  if (!additional) {
524
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: classNames, style, children });
535
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: classNames, style, children });
525
536
  }
526
537
  const handleBlur = ({ target }) => onKeyChange(target.value);
527
538
  const keyId = `${id}-key`;
528
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_Row5.default, { className: classNames, style, children: [
529
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_Col5.default, { xs: 5, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_Form4.default.Group, { children: [
530
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_Form4.default.Label, { htmlFor: keyId, children: keyLabel }),
531
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
539
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_Row5.default, { className: classNames, style, children: [
540
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_Col5.default, { xs: 5, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_Form4.default.Group, { children: [
541
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_Form4.default.Label, { htmlFor: keyId, children: keyLabel }),
542
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
532
543
  import_Form4.default.Control,
533
544
  {
534
545
  required,
@@ -541,8 +552,8 @@ function WrapIfAdditionalTemplate({
541
552
  }
542
553
  )
543
554
  ] }) }),
544
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_Col5.default, { xs: 5, children }),
545
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_Col5.default, { xs: 2, className: "py-4 d-grid gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
555
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_Col5.default, { xs: 5, children }),
556
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_Col5.default, { xs: 2, className: "py-4 d-grid gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
546
557
  RemoveButton2,
547
558
  {
548
559
  id: (0, import_utils13.buttonId)(id, "remove"),
@@ -576,6 +587,7 @@ function generateTemplates() {
576
587
  FieldHelpTemplate,
577
588
  FieldTemplate,
578
589
  GridTemplate,
590
+ MultiSchemaFieldTemplate,
579
591
  ObjectFieldTemplate,
580
592
  TitleFieldTemplate: TitleField,
581
593
  WrapIfAdditionalTemplate
@@ -586,7 +598,7 @@ var Templates_default = generateTemplates();
586
598
  // src/CheckboxWidget/CheckboxWidget.tsx
587
599
  var import_utils14 = require("@rjsf/utils");
588
600
  var import_Form5 = __toESM(require("react-bootstrap/Form"), 1);
589
- var import_jsx_runtime16 = require("react/jsx-runtime");
601
+ var import_jsx_runtime17 = require("react/jsx-runtime");
590
602
  function CheckboxWidget(props) {
591
603
  const {
592
604
  id,
@@ -614,47 +626,40 @@ function CheckboxWidget(props) {
614
626
  const _onBlur = ({ target }) => onBlur(id, target && target.checked);
615
627
  const _onFocus = ({ target }) => onFocus(id, target && target.checked);
616
628
  const description = options.description || schema.description;
617
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
618
- import_Form5.default.Group,
619
- {
620
- className: `checkbox ${disabled || readonly ? "disabled" : ""}`,
621
- "aria-describedby": (0, import_utils14.ariaDescribedByIds)(id),
622
- children: [
623
- !hideLabel && !!description && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
624
- DescriptionFieldTemplate,
625
- {
626
- id: (0, import_utils14.descriptionId)(id),
627
- description,
628
- schema,
629
- uiSchema,
630
- registry
631
- }
632
- ),
633
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
634
- import_Form5.default.Check,
635
- {
636
- id,
637
- name: id,
638
- label: (0, import_utils14.labelValue)(label, hideLabel || !label),
639
- checked: typeof value === "undefined" ? false : value,
640
- required,
641
- disabled: disabled || readonly,
642
- autoFocus: autofocus,
643
- onChange: _onChange,
644
- type: "checkbox",
645
- onBlur: _onBlur,
646
- onFocus: _onFocus
647
- }
648
- )
649
- ]
650
- }
651
- );
629
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_Form5.default.Group, { className: disabled || readonly ? "disabled" : "", "aria-describedby": (0, import_utils14.ariaDescribedByIds)(id), children: [
630
+ !hideLabel && description && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
631
+ DescriptionFieldTemplate,
632
+ {
633
+ id: (0, import_utils14.descriptionId)(id),
634
+ description,
635
+ schema,
636
+ uiSchema,
637
+ registry
638
+ }
639
+ ),
640
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
641
+ import_Form5.default.Check,
642
+ {
643
+ id,
644
+ name: id,
645
+ label: (0, import_utils14.labelValue)(label, hideLabel || !label),
646
+ checked: typeof value === "undefined" ? false : value,
647
+ required,
648
+ disabled: disabled || readonly,
649
+ autoFocus: autofocus,
650
+ onChange: _onChange,
651
+ type: "checkbox",
652
+ onBlur: _onBlur,
653
+ onFocus: _onFocus
654
+ }
655
+ )
656
+ ] });
652
657
  }
653
658
 
654
659
  // src/CheckboxesWidget/CheckboxesWidget.tsx
655
660
  var import_Form6 = __toESM(require("react-bootstrap/Form"), 1);
656
661
  var import_utils15 = require("@rjsf/utils");
657
- var import_jsx_runtime17 = require("react/jsx-runtime");
662
+ var import_jsx_runtime18 = require("react/jsx-runtime");
658
663
  function CheckboxesWidget({ id, disabled, options, value, autofocus, readonly, required, onChange, onBlur, onFocus }) {
659
664
  const { enumOptions, enumDisabled, inline, emptyValue } = options;
660
665
  const checkboxesValues = Array.isArray(value) ? value : [value];
@@ -667,10 +672,10 @@ function CheckboxesWidget({ id, disabled, options, value, autofocus, readonly, r
667
672
  };
668
673
  const _onBlur = ({ target }) => onBlur(id, (0, import_utils15.enumOptionsValueForIndex)(target && target.value, enumOptions, emptyValue));
669
674
  const _onFocus = ({ target }) => onFocus(id, (0, import_utils15.enumOptionsValueForIndex)(target && target.value, enumOptions, emptyValue));
670
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_Form6.default.Group, { children: Array.isArray(enumOptions) && enumOptions.map((option, index) => {
675
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Form6.default.Group, { children: Array.isArray(enumOptions) && enumOptions.map((option, index) => {
671
676
  const checked = (0, import_utils15.enumOptionsIsSelected)(option.value, checkboxesValues);
672
677
  const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1;
673
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
678
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
674
679
  import_Form6.default.Check,
675
680
  {
676
681
  inline,
@@ -696,7 +701,7 @@ function CheckboxesWidget({ id, disabled, options, value, autofocus, readonly, r
696
701
  // src/RadioWidget/RadioWidget.tsx
697
702
  var import_Form7 = __toESM(require("react-bootstrap/Form"), 1);
698
703
  var import_utils16 = require("@rjsf/utils");
699
- var import_jsx_runtime18 = require("react/jsx-runtime");
704
+ var import_jsx_runtime19 = require("react/jsx-runtime");
700
705
  function RadioWidget({
701
706
  id,
702
707
  options,
@@ -713,10 +718,10 @@ function RadioWidget({
713
718
  const _onBlur = ({ target }) => onBlur(id, (0, import_utils16.enumOptionsValueForIndex)(target && target.value, enumOptions, emptyValue));
714
719
  const _onFocus = ({ target }) => onFocus(id, (0, import_utils16.enumOptionsValueForIndex)(target && target.value, enumOptions, emptyValue));
715
720
  const inline = Boolean(options && options.inline);
716
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Form7.default.Group, { className: "mb-0", children: Array.isArray(enumOptions) && enumOptions.map((option, index) => {
721
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_Form7.default.Group, { className: "mb-0", children: Array.isArray(enumOptions) && enumOptions.map((option, index) => {
717
722
  const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1;
718
723
  const checked = (0, import_utils16.enumOptionsIsSelected)(option.value, value);
719
- const radio = /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
724
+ const radio = /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
720
725
  import_Form7.default.Check,
721
726
  {
722
727
  inline,
@@ -742,7 +747,7 @@ function RadioWidget({
742
747
  // src/RangeWidget/RangeWidget.tsx
743
748
  var import_utils17 = require("@rjsf/utils");
744
749
  var import_FormRange = __toESM(require("react-bootstrap/FormRange"), 1);
745
- var import_jsx_runtime19 = require("react/jsx-runtime");
750
+ var import_jsx_runtime20 = require("react/jsx-runtime");
746
751
  function RangeWidget(props) {
747
752
  const { id, value, disabled, onChange, onBlur, onFocus, schema } = props;
748
753
  const _onChange = ({ target: { value: value2 } }) => onChange(value2);
@@ -758,16 +763,16 @@ function RangeWidget(props) {
758
763
  onFocus: _onFocus,
759
764
  ...(0, import_utils17.rangeSpec)(schema)
760
765
  };
761
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [
762
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_FormRange.default, { ...rangeProps }),
763
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "range-view", children: value })
766
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_jsx_runtime20.Fragment, { children: [
767
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_FormRange.default, { ...rangeProps }),
768
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "range-view", children: value })
764
769
  ] });
765
770
  }
766
771
 
767
772
  // src/SelectWidget/SelectWidget.tsx
768
773
  var import_FormSelect = __toESM(require("react-bootstrap/FormSelect"), 1);
769
774
  var import_utils18 = require("@rjsf/utils");
770
- var import_jsx_runtime20 = require("react/jsx-runtime");
775
+ var import_jsx_runtime21 = require("react/jsx-runtime");
771
776
  function SelectWidget({
772
777
  schema,
773
778
  id,
@@ -795,7 +800,7 @@ function SelectWidget({
795
800
  }
796
801
  const selectedIndexes = (0, import_utils18.enumOptionsIndexForValue)(value, enumOptions, multiple);
797
802
  const showPlaceholderOption = !multiple && schema.default === void 0;
798
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
803
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
799
804
  import_FormSelect.default,
800
805
  {
801
806
  id,
@@ -820,10 +825,10 @@ function SelectWidget({
820
825
  },
821
826
  "aria-describedby": (0, import_utils18.ariaDescribedByIds)(id),
822
827
  children: [
823
- showPlaceholderOption && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("option", { value: "", children: placeholder }),
828
+ showPlaceholderOption && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("option", { value: "", children: placeholder }),
824
829
  enumOptions.map(({ value: value2, label }, i) => {
825
830
  const disabled2 = Array.isArray(enumDisabled) && enumDisabled.indexOf(value2) != -1;
826
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("option", { id: label, value: String(i), disabled: disabled2, children: label }, i);
831
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("option", { id: label, value: String(i), disabled: disabled2, children: label }, i);
827
832
  })
828
833
  ]
829
834
  }
@@ -834,7 +839,7 @@ function SelectWidget({
834
839
  var import_utils19 = require("@rjsf/utils");
835
840
  var import_FormControl = __toESM(require("react-bootstrap/FormControl"), 1);
836
841
  var import_InputGroup = __toESM(require("react-bootstrap/InputGroup"), 1);
837
- var import_jsx_runtime21 = require("react/jsx-runtime");
842
+ var import_jsx_runtime22 = require("react/jsx-runtime");
838
843
  function TextareaWidget({
839
844
  id,
840
845
  placeholder,
@@ -851,7 +856,7 @@ function TextareaWidget({
851
856
  const _onChange = ({ target: { value: value2 } }) => onChange(value2 === "" ? options.emptyValue : value2);
852
857
  const _onBlur = ({ target }) => onBlur(id, target && target.value);
853
858
  const _onFocus = ({ target }) => onFocus(id, target && target.value);
854
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_InputGroup.default, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
859
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_InputGroup.default, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
855
860
  import_FormControl.default,
856
861
  {
857
862
  id,
@@ -896,7 +901,7 @@ var Theme_default = generateTheme();
896
901
 
897
902
  // src/Form/Form.tsx
898
903
  function generateForm() {
899
- return (0, import_core.withTheme)(generateTheme());
904
+ return (0, import_core2.withTheme)(generateTheme());
900
905
  }
901
906
  var Form_default = generateForm();
902
907