@rjsf/antd 5.17.1 → 5.18.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/antd.esm.js +121 -138
- package/dist/antd.esm.js.map +3 -3
- package/dist/antd.umd.js +133 -139
- package/dist/index.js +155 -172
- package/dist/index.js.map +3 -3
- package/lib/templates/ArrayFieldItemTemplate/index.js +1 -3
- package/lib/templates/ArrayFieldItemTemplate/index.js.map +1 -1
- package/lib/templates/ArrayFieldTemplate/index.js +10 -13
- package/lib/templates/ArrayFieldTemplate/index.js.map +1 -1
- package/lib/templates/BaseInputTemplate/index.js +1 -2
- package/lib/templates/BaseInputTemplate/index.js.map +1 -1
- package/lib/templates/ErrorList/index.js +1 -3
- package/lib/templates/ErrorList/index.js.map +1 -1
- package/lib/templates/FieldTemplate/index.js +1 -1
- package/lib/templates/FieldTemplate/index.js.map +1 -1
- package/lib/templates/IconButton/index.d.ts +1 -1
- package/lib/templates/IconButton/index.js +1 -1
- package/lib/templates/IconButton/index.js.map +1 -1
- package/lib/templates/ObjectFieldTemplate/index.js +11 -14
- package/lib/templates/ObjectFieldTemplate/index.js.map +1 -1
- package/lib/templates/SubmitButton/index.js +1 -1
- package/lib/templates/SubmitButton/index.js.map +1 -1
- package/lib/templates/TitleField/index.js +9 -10
- package/lib/templates/TitleField/index.js.map +1 -1
- package/lib/templates/WrapIfAdditionalTemplate/index.js +1 -4
- package/lib/templates/WrapIfAdditionalTemplate/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/widgets/AltDateWidget/index.js +1 -3
- package/lib/widgets/AltDateWidget/index.js.map +1 -1
- package/lib/widgets/CheckboxWidget/index.js +1 -1
- package/lib/widgets/CheckboxWidget/index.js.map +1 -1
- package/lib/widgets/CheckboxesWidget/index.js +1 -1
- package/lib/widgets/CheckboxesWidget/index.js.map +1 -1
- package/lib/widgets/DateTimeWidget/index.js +1 -1
- package/lib/widgets/DateTimeWidget/index.js.map +1 -1
- package/lib/widgets/DateWidget/index.js +1 -1
- package/lib/widgets/DateWidget/index.js.map +1 -1
- package/lib/widgets/PasswordWidget/index.js +1 -1
- package/lib/widgets/PasswordWidget/index.js.map +1 -1
- package/lib/widgets/RadioWidget/index.js +1 -1
- package/lib/widgets/RadioWidget/index.js.map +1 -1
- package/lib/widgets/RangeWidget/index.js +1 -1
- package/lib/widgets/RangeWidget/index.js.map +1 -1
- package/lib/widgets/SelectWidget/index.js +1 -1
- package/lib/widgets/SelectWidget/index.js.map +1 -1
- package/lib/widgets/TextareaWidget/index.js +1 -1
- package/lib/widgets/TextareaWidget/index.js.map +1 -1
- package/package.json +6 -6
- package/src/templates/ArrayFieldItemTemplate/index.tsx +1 -3
- package/src/templates/ArrayFieldTemplate/index.tsx +57 -64
- package/src/templates/BaseInputTemplate/index.tsx +1 -2
- package/src/templates/ErrorList/index.tsx +1 -3
- package/src/templates/FieldTemplate/index.tsx +1 -1
- package/src/templates/IconButton/index.tsx +2 -2
- package/src/templates/ObjectFieldTemplate/index.tsx +60 -67
- package/src/templates/SubmitButton/index.tsx +3 -1
- package/src/templates/TitleField/index.tsx +17 -22
- package/src/templates/WrapIfAdditionalTemplate/index.tsx +1 -4
- package/src/widgets/AltDateWidget/index.tsx +1 -3
- package/src/widgets/CheckboxWidget/index.tsx +2 -2
- package/src/widgets/CheckboxesWidget/index.tsx +1 -1
- package/src/widgets/DateTimeWidget/index.tsx +1 -1
- package/src/widgets/DateWidget/index.tsx +1 -1
- package/src/widgets/PasswordWidget/index.tsx +1 -1
- package/src/widgets/RadioWidget/index.tsx +1 -1
- package/src/widgets/RangeWidget/index.tsx +1 -1
- package/src/widgets/SelectWidget/index.tsx +2 -2
- package/src/widgets/TextareaWidget/index.tsx +1 -1
package/dist/antd.esm.js
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
import { withTheme } from "@rjsf/core";
|
|
3
3
|
|
|
4
4
|
// src/templates/ArrayFieldItemTemplate/index.tsx
|
|
5
|
-
import Button from "antd
|
|
6
|
-
import Col from "antd/lib/col";
|
|
7
|
-
import Row from "antd/lib/row";
|
|
5
|
+
import { Button, Col, Row } from "antd";
|
|
8
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
7
|
var BTN_GRP_STYLE = {
|
|
10
8
|
width: "100%"
|
|
@@ -84,9 +82,8 @@ import {
|
|
|
84
82
|
getUiOptions
|
|
85
83
|
} from "@rjsf/utils";
|
|
86
84
|
import classNames from "classnames";
|
|
87
|
-
import Col2 from "antd
|
|
88
|
-
import
|
|
89
|
-
import { ConfigConsumer } from "antd/lib/config-provider/context";
|
|
85
|
+
import { Col as Col2, Row as Row2, ConfigProvider } from "antd";
|
|
86
|
+
import { useContext } from "react";
|
|
90
87
|
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
91
88
|
var DESCRIPTION_COL_STYLE = {
|
|
92
89
|
paddingBottom: "8px"
|
|
@@ -127,55 +124,52 @@ function ArrayFieldTemplate(props) {
|
|
|
127
124
|
ButtonTemplates: { AddButton: AddButton2 }
|
|
128
125
|
} = registry.templates;
|
|
129
126
|
const { labelAlign = "right", rowGutter = 24 } = formContext;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
] }) });
|
|
173
|
-
} });
|
|
127
|
+
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
|
|
128
|
+
const prefixCls = getPrefixCls("form");
|
|
129
|
+
const labelClsBasic = `${prefixCls}-item-label`;
|
|
130
|
+
const labelColClassName = classNames(
|
|
131
|
+
labelClsBasic,
|
|
132
|
+
labelAlign === "left" && `${labelClsBasic}-left`
|
|
133
|
+
// labelCol.className,
|
|
134
|
+
);
|
|
135
|
+
return /* @__PURE__ */ jsx2("fieldset", { className, id: idSchema.$id, children: /* @__PURE__ */ jsxs2(Row2, { gutter: rowGutter, children: [
|
|
136
|
+
(uiOptions.title || title) && /* @__PURE__ */ jsx2(Col2, { className: labelColClassName, span: 24, children: /* @__PURE__ */ jsx2(
|
|
137
|
+
ArrayFieldTitleTemplate,
|
|
138
|
+
{
|
|
139
|
+
idSchema,
|
|
140
|
+
required,
|
|
141
|
+
title: uiOptions.title || title,
|
|
142
|
+
schema,
|
|
143
|
+
uiSchema,
|
|
144
|
+
registry
|
|
145
|
+
}
|
|
146
|
+
) }),
|
|
147
|
+
(uiOptions.description || schema.description) && /* @__PURE__ */ jsx2(Col2, { span: 24, style: DESCRIPTION_COL_STYLE, children: /* @__PURE__ */ jsx2(
|
|
148
|
+
ArrayFieldDescriptionTemplate,
|
|
149
|
+
{
|
|
150
|
+
description: uiOptions.description || schema.description,
|
|
151
|
+
idSchema,
|
|
152
|
+
schema,
|
|
153
|
+
uiSchema,
|
|
154
|
+
registry
|
|
155
|
+
}
|
|
156
|
+
) }),
|
|
157
|
+
/* @__PURE__ */ jsx2(Col2, { className: "row array-item-list", span: 24, children: items && items.map(({ key, ...itemProps }) => /* @__PURE__ */ jsx2(ArrayFieldItemTemplate2, { ...itemProps }, key)) }),
|
|
158
|
+
canAdd && /* @__PURE__ */ jsx2(Col2, { span: 24, children: /* @__PURE__ */ jsx2(Row2, { gutter: rowGutter, justify: "end", children: /* @__PURE__ */ jsx2(Col2, { flex: "192px", children: /* @__PURE__ */ jsx2(
|
|
159
|
+
AddButton2,
|
|
160
|
+
{
|
|
161
|
+
className: "array-item-add",
|
|
162
|
+
disabled: disabled || readonly,
|
|
163
|
+
onClick: onAddClick,
|
|
164
|
+
uiSchema,
|
|
165
|
+
registry
|
|
166
|
+
}
|
|
167
|
+
) }) }) })
|
|
168
|
+
] }) });
|
|
174
169
|
}
|
|
175
170
|
|
|
176
171
|
// src/templates/BaseInputTemplate/index.tsx
|
|
177
|
-
import Input from "antd
|
|
178
|
-
import InputNumber from "antd/lib/input-number";
|
|
172
|
+
import { Input, InputNumber } from "antd";
|
|
179
173
|
import {
|
|
180
174
|
ariaDescribedByIds,
|
|
181
175
|
examplesId,
|
|
@@ -259,9 +253,7 @@ function DescriptionField(props) {
|
|
|
259
253
|
}
|
|
260
254
|
|
|
261
255
|
// src/templates/ErrorList/index.tsx
|
|
262
|
-
import Alert from "antd
|
|
263
|
-
import List from "antd/lib/list";
|
|
264
|
-
import Space from "antd/lib/space";
|
|
256
|
+
import { Alert, List, Space } from "antd";
|
|
265
257
|
import ExclamationCircleOutlined from "@ant-design/icons/ExclamationCircleOutlined";
|
|
266
258
|
import { TranslatableString } from "@rjsf/utils";
|
|
267
259
|
import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
@@ -286,7 +278,7 @@ function ErrorList({
|
|
|
286
278
|
}
|
|
287
279
|
|
|
288
280
|
// src/templates/IconButton/index.tsx
|
|
289
|
-
import Button2 from "antd
|
|
281
|
+
import { Button as Button2 } from "antd";
|
|
290
282
|
import ArrowDownOutlined from "@ant-design/icons/ArrowDownOutlined";
|
|
291
283
|
import ArrowUpOutlined from "@ant-design/icons/ArrowUpOutlined";
|
|
292
284
|
import CopyOutlined from "@ant-design/icons/CopyOutlined";
|
|
@@ -373,7 +365,7 @@ function FieldErrorTemplate(props) {
|
|
|
373
365
|
}
|
|
374
366
|
|
|
375
367
|
// src/templates/FieldTemplate/index.tsx
|
|
376
|
-
import Form from "antd
|
|
368
|
+
import { Form } from "antd";
|
|
377
369
|
import {
|
|
378
370
|
getTemplate as getTemplate2,
|
|
379
371
|
getUiOptions as getUiOptions3
|
|
@@ -481,9 +473,8 @@ import {
|
|
|
481
473
|
getUiOptions as getUiOptions4,
|
|
482
474
|
titleId
|
|
483
475
|
} from "@rjsf/utils";
|
|
484
|
-
import Col3 from "antd
|
|
485
|
-
import
|
|
486
|
-
import { ConfigConsumer as ConfigConsumer2 } from "antd/lib/config-provider/context";
|
|
476
|
+
import { Col as Col3, Row as Row3, ConfigProvider as ConfigProvider2 } from "antd";
|
|
477
|
+
import { useContext as useContext2 } from "react";
|
|
487
478
|
import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
488
479
|
var DESCRIPTION_COL_STYLE2 = {
|
|
489
480
|
paddingBottom: "8px"
|
|
@@ -543,56 +534,54 @@ function ObjectFieldTemplate(props) {
|
|
|
543
534
|
}
|
|
544
535
|
return defaultColSpan;
|
|
545
536
|
};
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
/* @__PURE__ */
|
|
557
|
-
|
|
558
|
-
TitleFieldTemplate,
|
|
559
|
-
{
|
|
560
|
-
id: titleId(idSchema),
|
|
561
|
-
title,
|
|
562
|
-
required,
|
|
563
|
-
schema,
|
|
564
|
-
uiSchema,
|
|
565
|
-
registry
|
|
566
|
-
}
|
|
567
|
-
) }),
|
|
568
|
-
description && /* @__PURE__ */ jsx9(Col3, { span: 24, style: DESCRIPTION_COL_STYLE2, children: /* @__PURE__ */ jsx9(
|
|
569
|
-
DescriptionFieldTemplate,
|
|
570
|
-
{
|
|
571
|
-
id: descriptionId(idSchema),
|
|
572
|
-
description,
|
|
573
|
-
schema,
|
|
574
|
-
uiSchema,
|
|
575
|
-
registry
|
|
576
|
-
}
|
|
577
|
-
) }),
|
|
578
|
-
properties.filter((e) => !e.hidden).map((element) => /* @__PURE__ */ jsx9(Col3, { span: calculateColSpan(element), children: element.content }, element.name))
|
|
579
|
-
] }),
|
|
580
|
-
canExpand(schema, uiSchema, formData) && /* @__PURE__ */ jsx9(Col3, { span: 24, children: /* @__PURE__ */ jsx9(Row3, { gutter: rowGutter, justify: "end", children: /* @__PURE__ */ jsx9(Col3, { flex: "192px", children: /* @__PURE__ */ jsx9(
|
|
581
|
-
AddButton2,
|
|
537
|
+
const { getPrefixCls } = useContext2(ConfigProvider2.ConfigContext);
|
|
538
|
+
const prefixCls = getPrefixCls("form");
|
|
539
|
+
const labelClsBasic = `${prefixCls}-item-label`;
|
|
540
|
+
const labelColClassName = classNames2(
|
|
541
|
+
labelClsBasic,
|
|
542
|
+
labelAlign === "left" && `${labelClsBasic}-left`
|
|
543
|
+
// labelCol.className,
|
|
544
|
+
);
|
|
545
|
+
return /* @__PURE__ */ jsxs5("fieldset", { id: idSchema.$id, children: [
|
|
546
|
+
/* @__PURE__ */ jsxs5(Row3, { gutter: rowGutter, children: [
|
|
547
|
+
title && /* @__PURE__ */ jsx9(Col3, { className: labelColClassName, span: 24, children: /* @__PURE__ */ jsx9(
|
|
548
|
+
TitleFieldTemplate,
|
|
582
549
|
{
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
550
|
+
id: titleId(idSchema),
|
|
551
|
+
title,
|
|
552
|
+
required,
|
|
553
|
+
schema,
|
|
586
554
|
uiSchema,
|
|
587
555
|
registry
|
|
588
556
|
}
|
|
589
|
-
) })
|
|
590
|
-
|
|
591
|
-
|
|
557
|
+
) }),
|
|
558
|
+
description && /* @__PURE__ */ jsx9(Col3, { span: 24, style: DESCRIPTION_COL_STYLE2, children: /* @__PURE__ */ jsx9(
|
|
559
|
+
DescriptionFieldTemplate,
|
|
560
|
+
{
|
|
561
|
+
id: descriptionId(idSchema),
|
|
562
|
+
description,
|
|
563
|
+
schema,
|
|
564
|
+
uiSchema,
|
|
565
|
+
registry
|
|
566
|
+
}
|
|
567
|
+
) }),
|
|
568
|
+
properties.filter((e) => !e.hidden).map((element) => /* @__PURE__ */ jsx9(Col3, { span: calculateColSpan(element), children: element.content }, element.name))
|
|
569
|
+
] }),
|
|
570
|
+
canExpand(schema, uiSchema, formData) && /* @__PURE__ */ jsx9(Col3, { span: 24, children: /* @__PURE__ */ jsx9(Row3, { gutter: rowGutter, justify: "end", children: /* @__PURE__ */ jsx9(Col3, { flex: "192px", children: /* @__PURE__ */ jsx9(
|
|
571
|
+
AddButton2,
|
|
572
|
+
{
|
|
573
|
+
className: "object-property-expand",
|
|
574
|
+
disabled: disabled || readonly,
|
|
575
|
+
onClick: onAddClick(schema),
|
|
576
|
+
uiSchema,
|
|
577
|
+
registry
|
|
578
|
+
}
|
|
579
|
+
) }) }) })
|
|
580
|
+
] });
|
|
592
581
|
}
|
|
593
582
|
|
|
594
583
|
// src/templates/SubmitButton/index.tsx
|
|
595
|
-
import Button3 from "antd
|
|
584
|
+
import { Button as Button3 } from "antd";
|
|
596
585
|
import { getSubmitButtonOptions } from "@rjsf/utils";
|
|
597
586
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
598
587
|
function SubmitButton({ uiSchema }) {
|
|
@@ -605,7 +594,8 @@ function SubmitButton({ uiSchema }) {
|
|
|
605
594
|
|
|
606
595
|
// src/templates/TitleField/index.tsx
|
|
607
596
|
import classNames3 from "classnames";
|
|
608
|
-
import {
|
|
597
|
+
import { ConfigProvider as ConfigProvider3 } from "antd";
|
|
598
|
+
import { useContext as useContext3 } from "react";
|
|
609
599
|
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
610
600
|
function TitleField({
|
|
611
601
|
id,
|
|
@@ -628,31 +618,26 @@ function TitleField({
|
|
|
628
618
|
control.focus();
|
|
629
619
|
}
|
|
630
620
|
};
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
);
|
|
648
|
-
} }) : null;
|
|
621
|
+
const { getPrefixCls } = useContext3(ConfigProvider3.ConfigContext);
|
|
622
|
+
const prefixCls = getPrefixCls("form");
|
|
623
|
+
const labelClassName = classNames3({
|
|
624
|
+
[`${prefixCls}-item-required`]: required,
|
|
625
|
+
[`${prefixCls}-item-no-colon`]: !colon
|
|
626
|
+
});
|
|
627
|
+
return title ? /* @__PURE__ */ jsx11(
|
|
628
|
+
"label",
|
|
629
|
+
{
|
|
630
|
+
className: labelClassName,
|
|
631
|
+
htmlFor: id,
|
|
632
|
+
onClick: handleLabelClick,
|
|
633
|
+
title: typeof title === "string" ? title : "",
|
|
634
|
+
children: labelChildren
|
|
635
|
+
}
|
|
636
|
+
) : null;
|
|
649
637
|
}
|
|
650
638
|
|
|
651
639
|
// src/templates/WrapIfAdditionalTemplate/index.tsx
|
|
652
|
-
import Col4 from "antd
|
|
653
|
-
import Form2 from "antd/lib/form";
|
|
654
|
-
import Input2 from "antd/lib/input";
|
|
655
|
-
import Row4 from "antd/lib/row";
|
|
640
|
+
import { Col as Col4, Row as Row4, Form as Form2, Input as Input2 } from "antd";
|
|
656
641
|
import {
|
|
657
642
|
ADDITIONAL_PROPERTY_FLAG,
|
|
658
643
|
UI_OPTIONS_KEY,
|
|
@@ -771,9 +756,7 @@ var templates_default = generateTemplates();
|
|
|
771
756
|
|
|
772
757
|
// src/widgets/AltDateWidget/index.tsx
|
|
773
758
|
import { useEffect, useState } from "react";
|
|
774
|
-
import Button4 from "antd
|
|
775
|
-
import Col5 from "antd/lib/col";
|
|
776
|
-
import Row5 from "antd/lib/row";
|
|
759
|
+
import { Row as Row5, Col as Col5, Button as Button4 } from "antd";
|
|
777
760
|
import {
|
|
778
761
|
ariaDescribedByIds as ariaDescribedByIds2,
|
|
779
762
|
getDateElementProps,
|
|
@@ -914,7 +897,7 @@ AltDateTimeWidget.defaultProps = {
|
|
|
914
897
|
};
|
|
915
898
|
|
|
916
899
|
// src/widgets/CheckboxesWidget/index.tsx
|
|
917
|
-
import Checkbox from "antd
|
|
900
|
+
import { Checkbox } from "antd";
|
|
918
901
|
import {
|
|
919
902
|
ariaDescribedByIds as ariaDescribedByIds3,
|
|
920
903
|
enumOptionsIndexForValue,
|
|
@@ -962,7 +945,7 @@ function CheckboxesWidget({ autofocus, disabled, formContext, id, onBlur, onChan
|
|
|
962
945
|
}
|
|
963
946
|
|
|
964
947
|
// src/widgets/CheckboxWidget/index.tsx
|
|
965
|
-
import Checkbox2 from "antd
|
|
948
|
+
import { Checkbox as Checkbox2 } from "antd";
|
|
966
949
|
import {
|
|
967
950
|
ariaDescribedByIds as ariaDescribedByIds4,
|
|
968
951
|
labelValue
|
|
@@ -999,7 +982,7 @@ import dayjs from "dayjs";
|
|
|
999
982
|
import {
|
|
1000
983
|
ariaDescribedByIds as ariaDescribedByIds5
|
|
1001
984
|
} from "@rjsf/utils";
|
|
1002
|
-
import DatePicker from "antd
|
|
985
|
+
import { DatePicker } from "antd";
|
|
1003
986
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
1004
987
|
var DATE_PICKER_STYLE = {
|
|
1005
988
|
width: "100%"
|
|
@@ -1035,7 +1018,7 @@ import dayjs2 from "dayjs";
|
|
|
1035
1018
|
import {
|
|
1036
1019
|
ariaDescribedByIds as ariaDescribedByIds6
|
|
1037
1020
|
} from "@rjsf/utils";
|
|
1038
|
-
import DatePicker2 from "antd
|
|
1021
|
+
import { DatePicker as DatePicker2 } from "antd";
|
|
1039
1022
|
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
1040
1023
|
var DATE_PICKER_STYLE2 = {
|
|
1041
1024
|
width: "100%"
|
|
@@ -1067,7 +1050,7 @@ function DateWidget(props) {
|
|
|
1067
1050
|
}
|
|
1068
1051
|
|
|
1069
1052
|
// src/widgets/PasswordWidget/index.tsx
|
|
1070
|
-
import Input3 from "antd
|
|
1053
|
+
import { Input as Input3 } from "antd";
|
|
1071
1054
|
import {
|
|
1072
1055
|
ariaDescribedByIds as ariaDescribedByIds7
|
|
1073
1056
|
} from "@rjsf/utils";
|
|
@@ -1096,7 +1079,7 @@ function PasswordWidget(props) {
|
|
|
1096
1079
|
}
|
|
1097
1080
|
|
|
1098
1081
|
// src/widgets/RadioWidget/index.tsx
|
|
1099
|
-
import Radio from "antd
|
|
1082
|
+
import { Radio } from "antd";
|
|
1100
1083
|
import {
|
|
1101
1084
|
ariaDescribedByIds as ariaDescribedByIds8,
|
|
1102
1085
|
enumOptionsIndexForValue as enumOptionsIndexForValue2,
|
|
@@ -1150,7 +1133,7 @@ function RadioWidget({
|
|
|
1150
1133
|
}
|
|
1151
1134
|
|
|
1152
1135
|
// src/widgets/RangeWidget/index.tsx
|
|
1153
|
-
import Slider from "antd
|
|
1136
|
+
import { Slider } from "antd";
|
|
1154
1137
|
import {
|
|
1155
1138
|
ariaDescribedByIds as ariaDescribedByIds9,
|
|
1156
1139
|
rangeSpec
|
|
@@ -1201,7 +1184,7 @@ function RangeWidget(props) {
|
|
|
1201
1184
|
}
|
|
1202
1185
|
|
|
1203
1186
|
// src/widgets/SelectWidget/index.tsx
|
|
1204
|
-
import Select from "antd
|
|
1187
|
+
import { Select } from "antd";
|
|
1205
1188
|
import {
|
|
1206
1189
|
ariaDescribedByIds as ariaDescribedByIds10,
|
|
1207
1190
|
enumOptionsIndexForValue as enumOptionsIndexForValue3,
|
|
@@ -1270,7 +1253,7 @@ function SelectWidget({
|
|
|
1270
1253
|
}
|
|
1271
1254
|
|
|
1272
1255
|
// src/widgets/TextareaWidget/index.tsx
|
|
1273
|
-
import Input4 from "antd
|
|
1256
|
+
import { Input as Input4 } from "antd";
|
|
1274
1257
|
import {
|
|
1275
1258
|
ariaDescribedByIds as ariaDescribedByIds11
|
|
1276
1259
|
} from "@rjsf/utils";
|