@rjsf/antd 6.5.3 → 6.6.1

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 (79) hide show
  1. package/dist/antd.esm.js +145 -145
  2. package/dist/antd.esm.js.map +4 -4
  3. package/dist/antd.umd.js +91 -91
  4. package/dist/index.cjs +140 -140
  5. package/dist/index.cjs.map +4 -4
  6. package/lib/index.d.ts +1 -1
  7. package/lib/index.js.map +1 -1
  8. package/lib/templates/ArrayFieldItemTemplate/index.js +1 -1
  9. package/lib/templates/ArrayFieldItemTemplate/index.js.map +1 -1
  10. package/lib/templates/ArrayFieldTemplate/index.js +2 -2
  11. package/lib/templates/ArrayFieldTemplate/index.js.map +1 -1
  12. package/lib/templates/BaseInputTemplate/index.js +2 -2
  13. package/lib/templates/BaseInputTemplate/index.js.map +1 -1
  14. package/lib/templates/FieldDescriptionTemplate/index.js.map +1 -1
  15. package/lib/templates/FieldHelpTemplate/index.js +1 -1
  16. package/lib/templates/FieldHelpTemplate/index.js.map +1 -1
  17. package/lib/templates/FieldTemplate/index.js +1 -1
  18. package/lib/templates/FieldTemplate/index.js.map +1 -1
  19. package/lib/templates/GridTemplate/index.js.map +1 -1
  20. package/lib/templates/IconButton/index.d.ts +1 -1
  21. package/lib/templates/IconButton/index.js +1 -1
  22. package/lib/templates/IconButton/index.js.map +1 -1
  23. package/lib/templates/ObjectFieldTemplate/index.js +4 -4
  24. package/lib/templates/ObjectFieldTemplate/index.js.map +1 -1
  25. package/lib/templates/SubmitButton/index.js +1 -1
  26. package/lib/templates/SubmitButton/index.js.map +1 -1
  27. package/lib/templates/TitleField/index.js +2 -2
  28. package/lib/templates/TitleField/index.js.map +1 -1
  29. package/lib/templates/WrapIfAdditionalTemplate/index.js +1 -1
  30. package/lib/templates/WrapIfAdditionalTemplate/index.js.map +1 -1
  31. package/lib/templates/index.js +2 -2
  32. package/lib/templates/index.js.map +1 -1
  33. package/lib/tsconfig.tsbuildinfo +1 -1
  34. package/lib/widgets/AltDateWidget/index.js +1 -1
  35. package/lib/widgets/AltDateWidget/index.js.map +1 -1
  36. package/lib/widgets/CheckboxWidget/index.js +1 -1
  37. package/lib/widgets/CheckboxWidget/index.js.map +1 -1
  38. package/lib/widgets/CheckboxesWidget/index.js +1 -1
  39. package/lib/widgets/CheckboxesWidget/index.js.map +1 -1
  40. package/lib/widgets/DateTimeWidget/index.js +1 -1
  41. package/lib/widgets/DateTimeWidget/index.js.map +1 -1
  42. package/lib/widgets/DateWidget/index.js +1 -1
  43. package/lib/widgets/DateWidget/index.js.map +1 -1
  44. package/lib/widgets/PasswordWidget/index.js +1 -1
  45. package/lib/widgets/PasswordWidget/index.js.map +1 -1
  46. package/lib/widgets/RadioWidget/index.js +1 -1
  47. package/lib/widgets/RadioWidget/index.js.map +1 -1
  48. package/lib/widgets/RangeWidget/index.js +1 -1
  49. package/lib/widgets/RangeWidget/index.js.map +1 -1
  50. package/lib/widgets/SelectWidget/index.js +1 -1
  51. package/lib/widgets/SelectWidget/index.js.map +1 -1
  52. package/lib/widgets/TextareaWidget/index.js +1 -1
  53. package/lib/widgets/TextareaWidget/index.js.map +1 -1
  54. package/package.json +18 -18
  55. package/src/index.ts +1 -1
  56. package/src/templates/ArrayFieldItemTemplate/index.tsx +1 -1
  57. package/src/templates/ArrayFieldTemplate/index.tsx +2 -2
  58. package/src/templates/BaseInputTemplate/index.tsx +2 -2
  59. package/src/templates/FieldDescriptionTemplate/index.tsx +1 -1
  60. package/src/templates/FieldHelpTemplate/index.tsx +1 -1
  61. package/src/templates/FieldTemplate/index.tsx +1 -1
  62. package/src/templates/GridTemplate/index.tsx +1 -1
  63. package/src/templates/IconButton/index.tsx +2 -2
  64. package/src/templates/ObjectFieldTemplate/index.tsx +5 -5
  65. package/src/templates/SubmitButton/index.tsx +1 -1
  66. package/src/templates/TitleField/index.tsx +2 -2
  67. package/src/templates/WrapIfAdditionalTemplate/index.tsx +1 -1
  68. package/src/templates/index.ts +2 -2
  69. package/src/tsconfig.json +0 -1
  70. package/src/widgets/AltDateWidget/index.tsx +1 -1
  71. package/src/widgets/CheckboxWidget/index.tsx +1 -1
  72. package/src/widgets/CheckboxesWidget/index.tsx +1 -1
  73. package/src/widgets/DateTimeWidget/index.tsx +1 -2
  74. package/src/widgets/DateWidget/index.tsx +1 -2
  75. package/src/widgets/PasswordWidget/index.tsx +1 -1
  76. package/src/widgets/RadioWidget/index.tsx +1 -1
  77. package/src/widgets/RangeWidget/index.tsx +1 -1
  78. package/src/widgets/SelectWidget/index.tsx +2 -2
  79. package/src/widgets/TextareaWidget/index.tsx +1 -1
package/dist/antd.esm.js CHANGED
@@ -2,11 +2,11 @@
2
2
  import { withTheme } from "@rjsf/core";
3
3
 
4
4
  // src/templates/ArrayFieldItemTemplate/index.tsx
5
- import { Col, Row, Space } from "antd";
6
5
  import {
7
6
  getUiOptions,
8
7
  getTemplate
9
8
  } from "@rjsf/utils";
9
+ import { Col, Row, Space } from "antd";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
11
  var BTN_GRP_STYLE = {
12
12
  width: "100%",
@@ -32,14 +32,14 @@ function ArrayFieldItemTemplate(props) {
32
32
  }
33
33
 
34
34
  // src/templates/ArrayFieldTemplate/index.tsx
35
+ import { useContext } from "react";
35
36
  import {
36
37
  getTemplate as getTemplate2,
37
38
  getUiOptions as getUiOptions2,
38
39
  buttonId
39
40
  } from "@rjsf/utils";
40
- import classNames from "classnames";
41
41
  import { Col as Col2, Row as Row2, ConfigProvider } from "antd";
42
- import { useContext } from "react";
42
+ import classNames from "classnames";
43
43
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
44
44
  function ArrayFieldTemplate(props) {
45
45
  const {
@@ -110,13 +110,13 @@ function ArrayFieldTemplate(props) {
110
110
 
111
111
  // src/templates/BaseInputTemplate/index.tsx
112
112
  import { useCallback } from "react";
113
- import { Input, InputNumber } from "antd";
113
+ import { SchemaExamples } from "@rjsf/core";
114
114
  import {
115
115
  ariaDescribedByIds,
116
116
  examplesId,
117
117
  getInputProps
118
118
  } from "@rjsf/utils";
119
- import { SchemaExamples } from "@rjsf/core";
119
+ import { Input, InputNumber } from "antd";
120
120
  import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
121
121
  var INPUT_STYLE = {
122
122
  width: "100%"
@@ -202,22 +202,11 @@ function BaseInputTemplate(props) {
202
202
  ] });
203
203
  }
204
204
 
205
- // src/templates/FieldDescriptionTemplate/index.tsx
206
- import { RichDescription } from "@rjsf/core";
207
- import { jsx as jsx4 } from "react/jsx-runtime";
208
- function DescriptionField(props) {
209
- const { id, description, registry, uiSchema } = props;
210
- if (!description) {
211
- return null;
212
- }
213
- return /* @__PURE__ */ jsx4("span", { id, children: /* @__PURE__ */ jsx4(RichDescription, { description, registry, uiSchema }) });
214
- }
215
-
216
205
  // src/templates/ErrorList/index.tsx
217
206
  import { Alert, Space as Space2, theme, version } from "antd";
218
207
  import { ExclamationCircleOutlined } from "@ant-design/icons";
219
208
  import { TranslatableString } from "@rjsf/utils";
220
- import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
209
+ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
221
210
  var antdMajor = parseInt(version.split(".")[0], 10);
222
211
  function ErrorList({
223
212
  errors,
@@ -226,7 +215,7 @@ function ErrorList({
226
215
  const { translateString } = registry;
227
216
  const { token } = theme.useToken();
228
217
  const itemBorder = `${token.lineWidth}px ${token.lineType} ${token.colorSplit}`;
229
- const renderErrors = () => /* @__PURE__ */ jsx5("ul", { style: { margin: 0, padding: 0, listStyle: "none" }, children: errors.map((error, index) => /* @__PURE__ */ jsx5(
218
+ const renderErrors = () => /* @__PURE__ */ jsx4("ul", { style: { margin: 0, padding: 0, listStyle: "none" }, children: errors.map((error, index) => /* @__PURE__ */ jsx4(
230
219
  "li",
231
220
  {
232
221
  style: {
@@ -237,132 +226,46 @@ function ErrorList({
237
226
  borderBlockEnd: index < errors.length - 1 ? itemBorder : "none"
238
227
  },
239
228
  children: /* @__PURE__ */ jsxs4(Space2, { children: [
240
- /* @__PURE__ */ jsx5(ExclamationCircleOutlined, {}),
229
+ /* @__PURE__ */ jsx4(ExclamationCircleOutlined, {}),
241
230
  error.stack
242
231
  ] })
243
232
  },
244
233
  index
245
234
  )) });
246
235
  const headerProp = antdMajor >= 6 ? { title: translateString(TranslatableString.ErrorsLabel) } : { message: translateString(TranslatableString.ErrorsLabel) };
247
- return /* @__PURE__ */ jsx5(Alert, { className: "panel panel-danger errors", description: renderErrors(), type: "error", ...headerProp });
236
+ return /* @__PURE__ */ jsx4(Alert, { className: "panel panel-danger errors", description: renderErrors(), type: "error", ...headerProp });
248
237
  }
249
238
 
250
- // src/templates/IconButton/index.tsx
251
- import { Button } from "antd";
252
- import {
253
- ArrowDownOutlined,
254
- ArrowUpOutlined,
255
- CopyOutlined,
256
- DeleteOutlined,
257
- PlusCircleOutlined,
258
- CloseOutlined
259
- } from "@ant-design/icons";
260
- import {
261
- getUiOptions as getUiOptions3,
262
- TranslatableString as TranslatableString2
263
- } from "@rjsf/utils";
264
- import { jsx as jsx6 } from "react/jsx-runtime";
265
- function IconButton(props) {
266
- const { iconType = "default", icon, onClick, uiSchema, registry, color, ...otherProps } = props;
267
- return /* @__PURE__ */ jsx6(
268
- Button,
269
- {
270
- onClick,
271
- type: iconType,
272
- icon,
273
- color,
274
- style: {
275
- paddingTop: "4px"
276
- /* Center the button */
277
- },
278
- ...otherProps
279
- }
280
- );
281
- }
282
- function AddButton(props) {
283
- const {
284
- registry: { translateString }
285
- } = props;
286
- return /* @__PURE__ */ jsx6(
287
- IconButton,
288
- {
289
- title: translateString(TranslatableString2.AddItemButton),
290
- iconType: "primary",
291
- block: true,
292
- ...props,
293
- icon: /* @__PURE__ */ jsx6(PlusCircleOutlined, {})
294
- }
295
- );
296
- }
297
- function CopyButton(props) {
298
- const {
299
- registry: { translateString }
300
- } = props;
301
- return /* @__PURE__ */ jsx6(IconButton, { title: translateString(TranslatableString2.CopyButton), ...props, icon: /* @__PURE__ */ jsx6(CopyOutlined, {}) });
302
- }
303
- function MoveDownButton(props) {
304
- const {
305
- registry: { translateString }
306
- } = props;
307
- return /* @__PURE__ */ jsx6(IconButton, { title: translateString(TranslatableString2.MoveDownButton), ...props, icon: /* @__PURE__ */ jsx6(ArrowDownOutlined, {}) });
308
- }
309
- function MoveUpButton(props) {
310
- const {
311
- registry: { translateString }
312
- } = props;
313
- return /* @__PURE__ */ jsx6(IconButton, { title: translateString(TranslatableString2.MoveUpButton), ...props, icon: /* @__PURE__ */ jsx6(ArrowUpOutlined, {}) });
314
- }
315
- function RemoveButton(props) {
316
- const options = getUiOptions3(props.uiSchema);
317
- const {
318
- registry: { translateString }
319
- } = props;
320
- return /* @__PURE__ */ jsx6(
321
- IconButton,
322
- {
323
- title: translateString(TranslatableString2.RemoveButton),
324
- danger: true,
325
- block: !!options.block,
326
- iconType: "primary",
327
- ...props,
328
- icon: /* @__PURE__ */ jsx6(DeleteOutlined, {})
329
- }
330
- );
331
- }
332
- function ClearButton(props) {
333
- const {
334
- registry: { translateString }
335
- } = props;
336
- return /* @__PURE__ */ jsx6(
337
- IconButton,
338
- {
339
- title: translateString(TranslatableString2.ClearButton),
340
- ...props,
341
- iconType: "link",
342
- icon: /* @__PURE__ */ jsx6(CloseOutlined, {})
343
- }
344
- );
239
+ // src/templates/FieldDescriptionTemplate/index.tsx
240
+ import { RichDescription } from "@rjsf/core";
241
+ import { jsx as jsx5 } from "react/jsx-runtime";
242
+ function DescriptionField(props) {
243
+ const { id, description, registry, uiSchema } = props;
244
+ if (!description) {
245
+ return null;
246
+ }
247
+ return /* @__PURE__ */ jsx5("span", { id, children: /* @__PURE__ */ jsx5(RichDescription, { description, registry, uiSchema }) });
345
248
  }
346
249
 
347
250
  // src/templates/FieldErrorTemplate/index.tsx
348
251
  import { errorId } from "@rjsf/utils";
349
- import { jsx as jsx7 } from "react/jsx-runtime";
252
+ import { jsx as jsx6 } from "react/jsx-runtime";
350
253
  function FieldErrorTemplate(props) {
351
254
  const { errors = [], fieldPathId } = props;
352
255
  if (errors.length === 0) {
353
256
  return null;
354
257
  }
355
258
  const id = errorId(fieldPathId);
356
- return /* @__PURE__ */ jsx7("div", { id, children: errors.map((error) => /* @__PURE__ */ jsx7("div", { children: error }, `field-${id}-error-${error}`)) });
259
+ return /* @__PURE__ */ jsx6("div", { id, children: errors.map((error) => /* @__PURE__ */ jsx6("div", { children: error }, `field-${id}-error-${error}`)) });
357
260
  }
358
261
 
359
262
  // src/templates/FieldTemplate/index.tsx
360
- import { Form } from "antd";
361
263
  import {
362
264
  getTemplate as getTemplate3,
363
- getUiOptions as getUiOptions4
265
+ getUiOptions as getUiOptions3
364
266
  } from "@rjsf/utils";
365
- import { jsx as jsx8 } from "react/jsx-runtime";
267
+ import { Form } from "antd";
268
+ import { jsx as jsx7 } from "react/jsx-runtime";
366
269
  var VERTICAL_LABEL_COL = { span: 24 };
367
270
  var VERTICAL_WRAPPER_COL = { span: 24 };
368
271
  function FieldTemplate(props) {
@@ -391,14 +294,14 @@ function FieldTemplate(props) {
391
294
  wrapperStyle,
392
295
  descriptionLocation = "below"
393
296
  } = formContext;
394
- const uiOptions = getUiOptions4(uiSchema);
297
+ const uiOptions = getUiOptions3(uiSchema);
395
298
  const WrapIfAdditionalTemplate2 = getTemplate3(
396
299
  "WrapIfAdditionalTemplate",
397
300
  registry,
398
301
  uiOptions
399
302
  );
400
303
  if (hidden) {
401
- return /* @__PURE__ */ jsx8("div", { className: "rjsf-field-hidden", children });
304
+ return /* @__PURE__ */ jsx7("div", { className: "rjsf-field-hidden", children });
402
305
  }
403
306
  const descriptionNode = rawDescription ? description : void 0;
404
307
  const descriptionProps = {};
@@ -412,7 +315,7 @@ function FieldTemplate(props) {
412
315
  break;
413
316
  }
414
317
  const isCheckbox = uiOptions.widget === "checkbox";
415
- return /* @__PURE__ */ jsx8(WrapIfAdditionalTemplate2, { ...props, children: /* @__PURE__ */ jsx8(
318
+ return /* @__PURE__ */ jsx7(WrapIfAdditionalTemplate2, { ...props, children: /* @__PURE__ */ jsx7(
416
319
  Form.Item,
417
320
  {
418
321
  colon,
@@ -433,13 +336,110 @@ function FieldTemplate(props) {
433
336
 
434
337
  // src/templates/GridTemplate/index.tsx
435
338
  import { Col as Col3, Row as Row3 } from "antd";
436
- import { jsx as jsx9 } from "react/jsx-runtime";
339
+ import { jsx as jsx8 } from "react/jsx-runtime";
437
340
  function GridTemplate(props) {
438
341
  const { children, column, ...rest } = props;
439
342
  if (column) {
440
- return /* @__PURE__ */ jsx9(Col3, { ...rest, children });
343
+ return /* @__PURE__ */ jsx8(Col3, { ...rest, children });
441
344
  }
442
- return /* @__PURE__ */ jsx9(Row3, { ...rest, children });
345
+ return /* @__PURE__ */ jsx8(Row3, { ...rest, children });
346
+ }
347
+
348
+ // src/templates/IconButton/index.tsx
349
+ import {
350
+ ArrowDownOutlined,
351
+ ArrowUpOutlined,
352
+ CopyOutlined,
353
+ DeleteOutlined,
354
+ PlusCircleOutlined,
355
+ CloseOutlined
356
+ } from "@ant-design/icons";
357
+ import {
358
+ getUiOptions as getUiOptions4,
359
+ TranslatableString as TranslatableString2
360
+ } from "@rjsf/utils";
361
+ import { Button } from "antd";
362
+ import { jsx as jsx9 } from "react/jsx-runtime";
363
+ function IconButton(props) {
364
+ const { iconType = "default", icon, onClick, uiSchema, registry, color, ...otherProps } = props;
365
+ return /* @__PURE__ */ jsx9(
366
+ Button,
367
+ {
368
+ onClick,
369
+ type: iconType,
370
+ icon,
371
+ color,
372
+ style: {
373
+ paddingTop: "4px"
374
+ /* Center the button */
375
+ },
376
+ ...otherProps
377
+ }
378
+ );
379
+ }
380
+ function AddButton(props) {
381
+ const {
382
+ registry: { translateString }
383
+ } = props;
384
+ return /* @__PURE__ */ jsx9(
385
+ IconButton,
386
+ {
387
+ title: translateString(TranslatableString2.AddItemButton),
388
+ iconType: "primary",
389
+ block: true,
390
+ ...props,
391
+ icon: /* @__PURE__ */ jsx9(PlusCircleOutlined, {})
392
+ }
393
+ );
394
+ }
395
+ function CopyButton(props) {
396
+ const {
397
+ registry: { translateString }
398
+ } = props;
399
+ return /* @__PURE__ */ jsx9(IconButton, { title: translateString(TranslatableString2.CopyButton), ...props, icon: /* @__PURE__ */ jsx9(CopyOutlined, {}) });
400
+ }
401
+ function MoveDownButton(props) {
402
+ const {
403
+ registry: { translateString }
404
+ } = props;
405
+ return /* @__PURE__ */ jsx9(IconButton, { title: translateString(TranslatableString2.MoveDownButton), ...props, icon: /* @__PURE__ */ jsx9(ArrowDownOutlined, {}) });
406
+ }
407
+ function MoveUpButton(props) {
408
+ const {
409
+ registry: { translateString }
410
+ } = props;
411
+ return /* @__PURE__ */ jsx9(IconButton, { title: translateString(TranslatableString2.MoveUpButton), ...props, icon: /* @__PURE__ */ jsx9(ArrowUpOutlined, {}) });
412
+ }
413
+ function RemoveButton(props) {
414
+ const options = getUiOptions4(props.uiSchema);
415
+ const {
416
+ registry: { translateString }
417
+ } = props;
418
+ return /* @__PURE__ */ jsx9(
419
+ IconButton,
420
+ {
421
+ title: translateString(TranslatableString2.RemoveButton),
422
+ danger: true,
423
+ block: !!options.block,
424
+ iconType: "primary",
425
+ ...props,
426
+ icon: /* @__PURE__ */ jsx9(DeleteOutlined, {})
427
+ }
428
+ );
429
+ }
430
+ function ClearButton(props) {
431
+ const {
432
+ registry: { translateString }
433
+ } = props;
434
+ return /* @__PURE__ */ jsx9(
435
+ IconButton,
436
+ {
437
+ title: translateString(TranslatableString2.ClearButton),
438
+ ...props,
439
+ iconType: "link",
440
+ icon: /* @__PURE__ */ jsx9(CloseOutlined, {})
441
+ }
442
+ );
443
443
  }
444
444
 
445
445
  // src/templates/MultiSchemaFieldTemplate/index.tsx
@@ -453,10 +453,7 @@ function MultiSchemaFieldTemplate(props) {
453
453
  }
454
454
 
455
455
  // src/templates/ObjectFieldTemplate/index.tsx
456
- import classNames2 from "classnames";
457
- import isObject from "lodash/isObject";
458
- import isNumber from "lodash/isNumber";
459
- import isString from "lodash/isString";
456
+ import { useContext as useContext2 } from "react";
460
457
  import {
461
458
  canExpand,
462
459
  getTemplate as getTemplate4,
@@ -465,7 +462,10 @@ import {
465
462
  buttonId as buttonId2
466
463
  } from "@rjsf/utils";
467
464
  import { Col as Col4, Row as Row4, ConfigProvider as ConfigProvider2 } from "antd";
468
- import { useContext as useContext2 } from "react";
465
+ import classNames2 from "classnames";
466
+ import isNumber from "lodash/isNumber";
467
+ import isObject from "lodash/isObject";
468
+ import isString from "lodash/isString";
469
469
  import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
470
470
  function ObjectFieldTemplate(props) {
471
471
  const {
@@ -594,8 +594,8 @@ function OptionalDataControlsTemplate(props) {
594
594
  }
595
595
 
596
596
  // src/templates/SubmitButton/index.tsx
597
- import { Button as Button2 } from "antd";
598
597
  import { getSubmitButtonOptions } from "@rjsf/utils";
598
+ import { Button as Button2 } from "antd";
599
599
  import { jsx as jsx13 } from "react/jsx-runtime";
600
600
  function SubmitButton({ uiSchema }) {
601
601
  const { submitText, norender, props: submitButtonProps } = getSubmitButtonOptions(uiSchema);
@@ -606,9 +606,9 @@ function SubmitButton({ uiSchema }) {
606
606
  }
607
607
 
608
608
  // src/templates/TitleField/index.tsx
609
- import classNames3 from "classnames";
610
- import { Col as Col5, Divider, Row as Row5, ConfigProvider as ConfigProvider3 } from "antd";
611
609
  import { useContext as useContext3 } from "react";
610
+ import { Col as Col5, Divider, Row as Row5, ConfigProvider as ConfigProvider3 } from "antd";
611
+ import classNames3 from "classnames";
612
612
  import { Fragment as Fragment2, jsx as jsx14, jsxs as jsxs7 } from "react/jsx-runtime";
613
613
  function TitleField({
614
614
  id,
@@ -664,13 +664,13 @@ function TitleField({
664
664
  }
665
665
 
666
666
  // src/templates/WrapIfAdditionalTemplate/index.tsx
667
- import { Col as Col6, Row as Row6, Form as Form2, Input as Input2 } from "antd";
668
667
  import {
669
668
  ADDITIONAL_PROPERTY_FLAG,
670
669
  UI_OPTIONS_KEY,
671
670
  TranslatableString as TranslatableString3,
672
671
  buttonId as buttonId3
673
672
  } from "@rjsf/utils";
673
+ import { Col as Col6, Row as Row6, Form as Form2, Input as Input2 } from "antd";
674
674
  import { jsx as jsx15, jsxs as jsxs8 } from "react/jsx-runtime";
675
675
  var VERTICAL_LABEL_COL2 = { span: 24 };
676
676
  var VERTICAL_WRAPPER_COL2 = { span: 24 };
@@ -796,12 +796,12 @@ function AltDateTimeWidget({ time = true, ...props }) {
796
796
  }
797
797
 
798
798
  // src/widgets/AltDateWidget/index.tsx
799
- import { Row as Row7, Col as Col7, Button as Button3 } from "antd";
800
799
  import {
801
800
  DateElement,
802
801
  TranslatableString as TranslatableString4,
803
802
  useAltDateWidgetProps
804
803
  } from "@rjsf/utils";
804
+ import { Row as Row7, Col as Col7, Button as Button3 } from "antd";
805
805
  import { jsx as jsx17, jsxs as jsxs9 } from "react/jsx-runtime";
806
806
  function AltDateWidget({ autofocus = false, disabled = false, options, readonly = false, time = false, ...props }) {
807
807
  const { id, name, onBlur, onFocus, registry } = props;
@@ -838,7 +838,6 @@ function AltDateWidget({ autofocus = false, disabled = false, options, readonly
838
838
  }
839
839
 
840
840
  // src/widgets/CheckboxesWidget/index.tsx
841
- import { Checkbox } from "antd";
842
841
  import {
843
842
  ariaDescribedByIds as ariaDescribedByIds2,
844
843
  enumOptionSelectedValue,
@@ -847,6 +846,7 @@ import {
847
846
  getOptionValueFormat,
848
847
  optionId
849
848
  } from "@rjsf/utils";
849
+ import { Checkbox } from "antd";
850
850
  import { Fragment as Fragment3, jsx as jsx18, jsxs as jsxs10 } from "react/jsx-runtime";
851
851
  function CheckboxesWidget({
852
852
  autofocus,
@@ -902,11 +902,11 @@ function CheckboxesWidget({
902
902
  }
903
903
 
904
904
  // src/widgets/CheckboxWidget/index.tsx
905
- import { Checkbox as Checkbox2 } from "antd";
906
905
  import {
907
906
  ariaDescribedByIds as ariaDescribedByIds3,
908
907
  labelValue
909
908
  } from "@rjsf/utils";
909
+ import { Checkbox as Checkbox2 } from "antd";
910
910
  import { jsx as jsx19 } from "react/jsx-runtime";
911
911
  function CheckboxWidget(props) {
912
912
  const { autofocus, disabled, registry, id, htmlName, label, hideLabel, onBlur, onChange, onFocus, readonly, value } = props;
@@ -936,11 +936,11 @@ function CheckboxWidget(props) {
936
936
  }
937
937
 
938
938
  // src/widgets/DateTimeWidget/index.tsx
939
- import dayjs from "dayjs";
940
939
  import {
941
940
  ariaDescribedByIds as ariaDescribedByIds4
942
941
  } from "@rjsf/utils";
943
942
  import { DatePicker } from "antd";
943
+ import dayjs from "dayjs";
944
944
  import { jsx as jsx20 } from "react/jsx-runtime";
945
945
  var DATE_PICKER_STYLE = {
946
946
  width: "100%"
@@ -973,11 +973,11 @@ function DateTimeWidget(props) {
973
973
  }
974
974
 
975
975
  // src/widgets/DateWidget/index.tsx
976
- import dayjs2 from "dayjs";
977
976
  import {
978
977
  ariaDescribedByIds as ariaDescribedByIds5
979
978
  } from "@rjsf/utils";
980
979
  import { DatePicker as DatePicker2 } from "antd";
980
+ import dayjs2 from "dayjs";
981
981
  import { jsx as jsx21 } from "react/jsx-runtime";
982
982
  var DATE_PICKER_STYLE2 = {
983
983
  width: "100%"
@@ -1010,10 +1010,10 @@ function DateWidget(props) {
1010
1010
  }
1011
1011
 
1012
1012
  // src/widgets/PasswordWidget/index.tsx
1013
- import { Input as Input3 } from "antd";
1014
1013
  import {
1015
1014
  ariaDescribedByIds as ariaDescribedByIds6
1016
1015
  } from "@rjsf/utils";
1016
+ import { Input as Input3 } from "antd";
1017
1017
  import { jsx as jsx22 } from "react/jsx-runtime";
1018
1018
  function PasswordWidget(props) {
1019
1019
  const { disabled, registry, id, onBlur, onChange, onFocus, options, placeholder, readonly, value } = props;
@@ -1040,7 +1040,6 @@ function PasswordWidget(props) {
1040
1040
  }
1041
1041
 
1042
1042
  // src/widgets/RadioWidget/index.tsx
1043
- import { Radio } from "antd";
1044
1043
  import {
1045
1044
  ariaDescribedByIds as ariaDescribedByIds7,
1046
1045
  enumOptionSelectedValue as enumOptionSelectedValue2,
@@ -1049,6 +1048,7 @@ import {
1049
1048
  getOptionValueFormat as getOptionValueFormat2,
1050
1049
  optionId as optionId2
1051
1050
  } from "@rjsf/utils";
1051
+ import { Radio } from "antd";
1052
1052
  import { jsx as jsx23 } from "react/jsx-runtime";
1053
1053
  function RadioWidget({
1054
1054
  autofocus,
@@ -1099,11 +1099,11 @@ function RadioWidget({
1099
1099
  }
1100
1100
 
1101
1101
  // src/widgets/RangeWidget/index.tsx
1102
- import { Slider } from "antd";
1103
1102
  import {
1104
1103
  ariaDescribedByIds as ariaDescribedByIds8,
1105
1104
  rangeSpec
1106
1105
  } from "@rjsf/utils";
1106
+ import { Slider } from "antd";
1107
1107
  import { jsx as jsx24 } from "react/jsx-runtime";
1108
1108
  function RangeWidget(props) {
1109
1109
  const {
@@ -1152,7 +1152,6 @@ function RangeWidget(props) {
1152
1152
 
1153
1153
  // src/widgets/SelectWidget/index.tsx
1154
1154
  import { useMemo, useState } from "react";
1155
- import { Select } from "antd";
1156
1155
  import {
1157
1156
  ariaDescribedByIds as ariaDescribedByIds9,
1158
1157
  enumOptionSelectedValue as enumOptionSelectedValue3,
@@ -1160,6 +1159,7 @@ import {
1160
1159
  enumOptionValueEncoder as enumOptionValueEncoder3,
1161
1160
  getOptionValueFormat as getOptionValueFormat3
1162
1161
  } from "@rjsf/utils";
1162
+ import { Select } from "antd";
1163
1163
  import isString2 from "lodash/isString";
1164
1164
  import { jsx as jsx25 } from "react/jsx-runtime";
1165
1165
  var SELECT_STYLE = {
@@ -1242,10 +1242,10 @@ function SelectWidget({
1242
1242
  SelectWidget.getPopupContainerCallback = () => (node) => node.parentElement;
1243
1243
 
1244
1244
  // src/widgets/TextareaWidget/index.tsx
1245
- import { Input as Input4 } from "antd";
1246
1245
  import {
1247
1246
  ariaDescribedByIds as ariaDescribedByIds10
1248
1247
  } from "@rjsf/utils";
1248
+ import { Input as Input4 } from "antd";
1249
1249
  import { jsx as jsx26 } from "react/jsx-runtime";
1250
1250
  var INPUT_STYLE3 = {
1251
1251
  width: "100%"