@rjsf/antd 6.0.0 → 6.0.2
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 +2 -39
- package/dist/antd.esm.js.map +3 -3
- package/dist/antd.umd.js +2 -38
- package/dist/index.cjs +2 -38
- package/dist/index.cjs.map +3 -3
- package/lib/templates/ArrayFieldTemplate/index.js +1 -5
- package/lib/templates/ArrayFieldTemplate/index.js.map +1 -1
- package/lib/templates/FieldTemplate/index.js +2 -1
- package/lib/templates/FieldTemplate/index.js.map +1 -1
- package/lib/templates/ObjectFieldTemplate/index.js +3 -7
- package/lib/templates/ObjectFieldTemplate/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/src/templates/ArrayFieldTemplate/index.tsx +0 -20
- package/src/templates/FieldTemplate/index.tsx +3 -2
- package/src/templates/ObjectFieldTemplate/index.tsx +0 -22
package/dist/antd.umd.js
CHANGED
|
@@ -25,9 +25,6 @@
|
|
|
25
25
|
hasToolbar && /* @__PURE__ */ jsxRuntime.jsx(antd.Col, { flex: "192px", children: /* @__PURE__ */ jsxRuntime.jsx(antd.Space.Compact, { style: BTN_GRP_STYLE, children: /* @__PURE__ */ jsxRuntime.jsx(ArrayFieldItemButtonsTemplate, { ...buttonsProps, style: BTN_STYLE }) }) })
|
|
26
26
|
] }, `rjsf-array-item-${index}`);
|
|
27
27
|
}
|
|
28
|
-
var DESCRIPTION_COL_STYLE = {
|
|
29
|
-
paddingBottom: "8px"
|
|
30
|
-
};
|
|
31
28
|
function ArrayFieldTemplate(props) {
|
|
32
29
|
const {
|
|
33
30
|
canAdd,
|
|
@@ -45,11 +42,6 @@
|
|
|
45
42
|
uiSchema
|
|
46
43
|
} = props;
|
|
47
44
|
const uiOptions = utils.getUiOptions(uiSchema);
|
|
48
|
-
const ArrayFieldDescriptionTemplate = utils.getTemplate(
|
|
49
|
-
"ArrayFieldDescriptionTemplate",
|
|
50
|
-
registry,
|
|
51
|
-
uiOptions
|
|
52
|
-
);
|
|
53
45
|
const ArrayFieldTitleTemplate = utils.getTemplate(
|
|
54
46
|
"ArrayFieldTitleTemplate",
|
|
55
47
|
registry,
|
|
@@ -82,16 +74,6 @@
|
|
|
82
74
|
optionalDataControl: showOptionalDataControlInTitle ? optionalDataControl : void 0
|
|
83
75
|
}
|
|
84
76
|
) }),
|
|
85
|
-
(uiOptions.description || schema.description) && /* @__PURE__ */ jsxRuntime.jsx(antd.Col, { span: 24, style: DESCRIPTION_COL_STYLE, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
86
|
-
ArrayFieldDescriptionTemplate,
|
|
87
|
-
{
|
|
88
|
-
description: uiOptions.description || schema.description,
|
|
89
|
-
fieldPathId,
|
|
90
|
-
schema,
|
|
91
|
-
uiSchema,
|
|
92
|
-
registry
|
|
93
|
-
}
|
|
94
|
-
) }),
|
|
95
77
|
/* @__PURE__ */ jsxRuntime.jsxs(antd.Col, { className: "row array-item-list", span: 24, children: [
|
|
96
78
|
!showOptionalDataControlInTitle ? optionalDataControl : void 0,
|
|
97
79
|
items
|
|
@@ -332,6 +314,7 @@
|
|
|
332
314
|
descriptionProps.extra = descriptionNode;
|
|
333
315
|
break;
|
|
334
316
|
}
|
|
317
|
+
const isCheckbox = uiOptions.widget === "checkbox";
|
|
335
318
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
336
319
|
WrapIfAdditionalTemplate2,
|
|
337
320
|
{
|
|
@@ -355,7 +338,7 @@
|
|
|
355
338
|
hasFeedback: schema.type !== "array" && schema.type !== "object",
|
|
356
339
|
help: !!rawHelp && help || (rawErrors?.length ? errors : void 0),
|
|
357
340
|
htmlFor: id,
|
|
358
|
-
label: displayLabel && label,
|
|
341
|
+
label: displayLabel && !isCheckbox && label,
|
|
359
342
|
labelCol,
|
|
360
343
|
required,
|
|
361
344
|
style: wrapperStyle,
|
|
@@ -382,12 +365,8 @@
|
|
|
382
365
|
optionSchemaField
|
|
383
366
|
] });
|
|
384
367
|
}
|
|
385
|
-
var DESCRIPTION_COL_STYLE2 = {
|
|
386
|
-
paddingBottom: "8px"
|
|
387
|
-
};
|
|
388
368
|
function ObjectFieldTemplate(props) {
|
|
389
369
|
const {
|
|
390
|
-
description,
|
|
391
370
|
disabled,
|
|
392
371
|
formData,
|
|
393
372
|
fieldPathId,
|
|
@@ -403,11 +382,6 @@
|
|
|
403
382
|
} = props;
|
|
404
383
|
const uiOptions = utils.getUiOptions(uiSchema);
|
|
405
384
|
const TitleFieldTemplate = utils.getTemplate("TitleFieldTemplate", registry, uiOptions);
|
|
406
|
-
const DescriptionFieldTemplate = utils.getTemplate(
|
|
407
|
-
"DescriptionFieldTemplate",
|
|
408
|
-
registry,
|
|
409
|
-
uiOptions
|
|
410
|
-
);
|
|
411
385
|
const { formContext } = registry;
|
|
412
386
|
const showOptionalDataControlInTitle = !readonly && !disabled;
|
|
413
387
|
const {
|
|
@@ -464,16 +438,6 @@
|
|
|
464
438
|
optionalDataControl: showOptionalDataControlInTitle ? optionalDataControl : void 0
|
|
465
439
|
}
|
|
466
440
|
) }),
|
|
467
|
-
description && /* @__PURE__ */ jsxRuntime.jsx(antd.Col, { span: 24, style: DESCRIPTION_COL_STYLE2, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
468
|
-
DescriptionFieldTemplate,
|
|
469
|
-
{
|
|
470
|
-
id: utils.descriptionId(fieldPathId),
|
|
471
|
-
description,
|
|
472
|
-
schema,
|
|
473
|
-
uiSchema,
|
|
474
|
-
registry
|
|
475
|
-
}
|
|
476
|
-
) }),
|
|
477
441
|
!showOptionalDataControlInTitle ? /* @__PURE__ */ jsxRuntime.jsx(antd.Col, { span: 24, children: optionalDataControl }) : void 0,
|
|
478
442
|
properties.filter((e) => !e.hidden).map((element) => /* @__PURE__ */ jsxRuntime.jsx(antd.Col, { span: calculateColSpan(element), children: element.content }, element.name))
|
|
479
443
|
] }),
|
package/dist/index.cjs
CHANGED
|
@@ -74,9 +74,6 @@ var import_classnames = __toESM(require("classnames"), 1);
|
|
|
74
74
|
var import_antd2 = require("antd");
|
|
75
75
|
var import_react = require("react");
|
|
76
76
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
77
|
-
var DESCRIPTION_COL_STYLE = {
|
|
78
|
-
paddingBottom: "8px"
|
|
79
|
-
};
|
|
80
77
|
function ArrayFieldTemplate(props) {
|
|
81
78
|
const {
|
|
82
79
|
canAdd,
|
|
@@ -94,11 +91,6 @@ function ArrayFieldTemplate(props) {
|
|
|
94
91
|
uiSchema
|
|
95
92
|
} = props;
|
|
96
93
|
const uiOptions = (0, import_utils2.getUiOptions)(uiSchema);
|
|
97
|
-
const ArrayFieldDescriptionTemplate = (0, import_utils2.getTemplate)(
|
|
98
|
-
"ArrayFieldDescriptionTemplate",
|
|
99
|
-
registry,
|
|
100
|
-
uiOptions
|
|
101
|
-
);
|
|
102
94
|
const ArrayFieldTitleTemplate = (0, import_utils2.getTemplate)(
|
|
103
95
|
"ArrayFieldTitleTemplate",
|
|
104
96
|
registry,
|
|
@@ -131,16 +123,6 @@ function ArrayFieldTemplate(props) {
|
|
|
131
123
|
optionalDataControl: showOptionalDataControlInTitle ? optionalDataControl : void 0
|
|
132
124
|
}
|
|
133
125
|
) }),
|
|
134
|
-
(uiOptions.description || schema.description) && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_antd2.Col, { span: 24, style: DESCRIPTION_COL_STYLE, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
135
|
-
ArrayFieldDescriptionTemplate,
|
|
136
|
-
{
|
|
137
|
-
description: uiOptions.description || schema.description,
|
|
138
|
-
fieldPathId,
|
|
139
|
-
schema,
|
|
140
|
-
uiSchema,
|
|
141
|
-
registry
|
|
142
|
-
}
|
|
143
|
-
) }),
|
|
144
126
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_antd2.Col, { className: "row array-item-list", span: 24, children: [
|
|
145
127
|
!showOptionalDataControlInTitle ? optionalDataControl : void 0,
|
|
146
128
|
items
|
|
@@ -415,6 +397,7 @@ function FieldTemplate(props) {
|
|
|
415
397
|
descriptionProps.extra = descriptionNode;
|
|
416
398
|
break;
|
|
417
399
|
}
|
|
400
|
+
const isCheckbox = uiOptions.widget === "checkbox";
|
|
418
401
|
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
419
402
|
WrapIfAdditionalTemplate2,
|
|
420
403
|
{
|
|
@@ -438,7 +421,7 @@ function FieldTemplate(props) {
|
|
|
438
421
|
hasFeedback: schema.type !== "array" && schema.type !== "object",
|
|
439
422
|
help: !!rawHelp && help || (rawErrors?.length ? errors : void 0),
|
|
440
423
|
htmlFor: id,
|
|
441
|
-
label: displayLabel && label,
|
|
424
|
+
label: displayLabel && !isCheckbox && label,
|
|
442
425
|
labelCol,
|
|
443
426
|
required,
|
|
444
427
|
style: wrapperStyle,
|
|
@@ -482,12 +465,8 @@ var import_utils8 = require("@rjsf/utils");
|
|
|
482
465
|
var import_antd8 = require("antd");
|
|
483
466
|
var import_react2 = require("react");
|
|
484
467
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
485
|
-
var DESCRIPTION_COL_STYLE2 = {
|
|
486
|
-
paddingBottom: "8px"
|
|
487
|
-
};
|
|
488
468
|
function ObjectFieldTemplate(props) {
|
|
489
469
|
const {
|
|
490
|
-
description,
|
|
491
470
|
disabled,
|
|
492
471
|
formData,
|
|
493
472
|
fieldPathId,
|
|
@@ -503,11 +482,6 @@ function ObjectFieldTemplate(props) {
|
|
|
503
482
|
} = props;
|
|
504
483
|
const uiOptions = (0, import_utils8.getUiOptions)(uiSchema);
|
|
505
484
|
const TitleFieldTemplate = (0, import_utils8.getTemplate)("TitleFieldTemplate", registry, uiOptions);
|
|
506
|
-
const DescriptionFieldTemplate = (0, import_utils8.getTemplate)(
|
|
507
|
-
"DescriptionFieldTemplate",
|
|
508
|
-
registry,
|
|
509
|
-
uiOptions
|
|
510
|
-
);
|
|
511
485
|
const { formContext } = registry;
|
|
512
486
|
const showOptionalDataControlInTitle = !readonly && !disabled;
|
|
513
487
|
const {
|
|
@@ -564,16 +538,6 @@ function ObjectFieldTemplate(props) {
|
|
|
564
538
|
optionalDataControl: showOptionalDataControlInTitle ? optionalDataControl : void 0
|
|
565
539
|
}
|
|
566
540
|
) }),
|
|
567
|
-
description && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_antd8.Col, { span: 24, style: DESCRIPTION_COL_STYLE2, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
568
|
-
DescriptionFieldTemplate,
|
|
569
|
-
{
|
|
570
|
-
id: (0, import_utils8.descriptionId)(fieldPathId),
|
|
571
|
-
description,
|
|
572
|
-
schema,
|
|
573
|
-
uiSchema,
|
|
574
|
-
registry
|
|
575
|
-
}
|
|
576
|
-
) }),
|
|
577
541
|
!showOptionalDataControlInTitle ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_antd8.Col, { span: 24, children: optionalDataControl }) : void 0,
|
|
578
542
|
properties.filter((e) => !e.hidden).map((element) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_antd8.Col, { span: calculateColSpan(element), children: element.content }, element.name))
|
|
579
543
|
] }),
|
package/dist/index.cjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts", "../src/templates/ArrayFieldItemTemplate/index.tsx", "../src/templates/ArrayFieldTemplate/index.tsx", "../src/templates/BaseInputTemplate/index.tsx", "../src/templates/DescriptionField/index.tsx", "../src/templates/ErrorList/index.tsx", "../src/templates/IconButton/index.tsx", "../src/templates/FieldErrorTemplate/index.tsx", "../src/templates/FieldTemplate/index.tsx", "../src/templates/GridTemplate/index.tsx", "../src/templates/MultiSchemaFieldTemplate/index.tsx", "../src/templates/ObjectFieldTemplate/index.tsx", "../src/templates/OptionalDataControlsTemplate/index.tsx", "../src/templates/SubmitButton/index.tsx", "../src/templates/TitleField/index.tsx", "../src/templates/WrapIfAdditionalTemplate/index.tsx", "../src/templates/index.ts", "../src/widgets/AltDateWidget/index.tsx", "../src/widgets/AltDateTimeWidget/index.tsx", "../src/widgets/CheckboxesWidget/index.tsx", "../src/widgets/CheckboxWidget/index.tsx", "../src/widgets/DateTimeWidget/index.tsx", "../src/widgets/DateWidget/index.tsx", "../src/widgets/PasswordWidget/index.tsx", "../src/widgets/RadioWidget/index.tsx", "../src/widgets/RangeWidget/index.tsx", "../src/widgets/SelectWidget/index.tsx", "../src/widgets/TextareaWidget/index.tsx", "../src/widgets/index.ts"],
|
|
4
|
-
"sourcesContent": ["import { ComponentType } from 'react';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { FormProps, ThemeProps, withTheme } from '@rjsf/core';\n\nimport Templates, { generateTemplates } from './templates';\nimport Widgets, { generateWidgets } from './widgets';\n\nexport function generateTheme<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): ThemeProps<T, S, F> {\n return {\n templates: generateTemplates<T, S, F>(),\n widgets: generateWidgets<T, S, F>(),\n };\n}\n\nconst Theme = generateTheme();\n\nexport function generateForm<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): ComponentType<FormProps<T, S, F>> {\n return withTheme<T, S, F>(generateTheme<T, S, F>());\n}\n\nconst Form = generateForm();\n\nexport { Form, Templates, Theme, Widgets, generateTemplates, generateWidgets };\n\nexport default Form;\n", "import { Col, Row, Space } from 'antd';\nimport {\n ArrayFieldItemTemplateProps,\n FormContextType,\n getUiOptions,\n getTemplate,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\n\nconst BTN_GRP_STYLE = {\n width: '100%',\n};\n\nconst BTN_STYLE = {\n width: 'calc(100% / 4)',\n};\n\n/** The `ArrayFieldItemTemplate` component is the template used to render an items of an array.\n *\n * @param props - The `ArrayFieldItemTemplateProps` props for the component\n */\nexport default function ArrayFieldItemTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ArrayFieldItemTemplateProps<T, S, F>) {\n const { children, buttonsProps, hasToolbar, index, registry, uiSchema } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const ArrayFieldItemButtonsTemplate = getTemplate<'ArrayFieldItemButtonsTemplate', T, S, F>(\n 'ArrayFieldItemButtonsTemplate',\n registry,\n uiOptions,\n );\n const { rowGutter = 24, toolbarAlign = 'top' } = registry.formContext;\n\n return (\n <Row align={toolbarAlign} key={`rjsf-array-item-${index}`} gutter={rowGutter}>\n <Col flex='1'>{children}</Col>\n\n {hasToolbar && (\n <Col flex='192px'>\n <Space.Compact style={BTN_GRP_STYLE}>\n <ArrayFieldItemButtonsTemplate {...buttonsProps} style={BTN_STYLE} />\n </Space.Compact>\n </Col>\n )}\n </Row>\n );\n}\n", "import {\n getTemplate,\n getUiOptions,\n ArrayFieldTemplateProps,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n buttonId,\n} from '@rjsf/utils';\nimport classNames from 'classnames';\nimport { Col, Row, ConfigProvider } from 'antd';\nimport { useContext } from 'react';\n\nconst DESCRIPTION_COL_STYLE = {\n paddingBottom: '8px',\n};\n\n/** The `ArrayFieldTemplate` component is the template used to render all items in an array.\n *\n * @param props - The `ArrayFieldTemplateProps` props for the component\n */\nexport default function ArrayFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ArrayFieldTemplateProps<T, S, F>) {\n const {\n canAdd,\n className,\n disabled,\n fieldPathId,\n items,\n optionalDataControl,\n onAddClick,\n readonly,\n registry,\n required,\n schema,\n title,\n uiSchema,\n } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const ArrayFieldDescriptionTemplate = getTemplate<'ArrayFieldDescriptionTemplate', T, S, F>(\n 'ArrayFieldDescriptionTemplate',\n registry,\n uiOptions,\n );\n const ArrayFieldTitleTemplate = getTemplate<'ArrayFieldTitleTemplate', T, S, F>(\n 'ArrayFieldTitleTemplate',\n registry,\n uiOptions,\n );\n const showOptionalDataControlInTitle = !readonly && !disabled;\n const { formContext } = registry;\n // Button templates are not overridden in the uiSchema\n const {\n ButtonTemplates: { AddButton },\n } = registry.templates;\n const { labelAlign = 'right', rowGutter = 24 } = formContext as GenericObjectType;\n\n const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);\n const prefixCls = getPrefixCls('form');\n const labelClsBasic = `${prefixCls}-item-label`;\n const labelColClassName = classNames(\n labelClsBasic,\n labelAlign === 'left' && `${labelClsBasic}-left`,\n // labelCol.className,\n );\n\n return (\n <fieldset className={className} id={fieldPathId.$id}>\n <Row gutter={rowGutter}>\n {(uiOptions.title || title) && (\n <Col className={labelColClassName} span={24}>\n <ArrayFieldTitleTemplate\n fieldPathId={fieldPathId}\n required={required}\n title={uiOptions.title || title}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n optionalDataControl={showOptionalDataControlInTitle ? optionalDataControl : undefined}\n />\n </Col>\n )}\n {(uiOptions.description || schema.description) && (\n <Col span={24} style={DESCRIPTION_COL_STYLE}>\n <ArrayFieldDescriptionTemplate\n description={uiOptions.description || schema.description}\n fieldPathId={fieldPathId}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n </Col>\n )}\n <Col className='row array-item-list' span={24}>\n {!showOptionalDataControlInTitle ? optionalDataControl : undefined}\n {items}\n </Col>\n {canAdd && (\n <Col span={24}>\n <Row gutter={rowGutter} justify='end'>\n <Col flex='192px'>\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-array-item-add'\n disabled={disabled || readonly}\n onClick={onAddClick}\n uiSchema={uiSchema}\n registry={registry}\n />\n </Col>\n </Row>\n </Col>\n )}\n </Row>\n </fieldset>\n );\n}\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport { Input, InputNumber } from 'antd';\nimport {\n ariaDescribedByIds,\n BaseInputTemplateProps,\n examplesId,\n getInputProps,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\n\nconst INPUT_STYLE = {\n width: '100%',\n};\n\n/** The `BaseInputTemplate` is the template to use to render the basic `<input>` component for the `core` theme.\n * It is used as the template for rendering many of the <input> based widgets that differ by `type` and callbacks only.\n * It can be customized/overridden for other themes or individual implementations as needed.\n *\n * @param props - The `WidgetProps` for this template\n */\nexport default function BaseInputTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: BaseInputTemplateProps<T, S, F>) {\n const {\n disabled,\n registry,\n id,\n htmlName,\n onBlur,\n onChange,\n onChangeOverride,\n onFocus,\n options,\n placeholder,\n readonly,\n schema,\n value,\n type,\n } = props;\n const { formContext } = registry;\n const inputProps = getInputProps<T, S, F>(schema, type, options, false);\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const handleNumberChange = (nextValue: number | null) => onChange(nextValue);\n\n const handleTextChange = onChangeOverride\n ? onChangeOverride\n : ({ target }: ChangeEvent<HTMLInputElement>) => onChange(target.value === '' ? options.emptyValue : target.value);\n\n const handleBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.value);\n\n const handleFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.value);\n\n const input =\n inputProps.type === 'number' || inputProps.type === 'integer' ? (\n <InputNumber\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={htmlName || id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleNumberChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n style={INPUT_STYLE}\n list={schema.examples ? examplesId(id) : undefined}\n {...inputProps}\n value={value}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n />\n ) : (\n <Input\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={htmlName || id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleTextChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n style={INPUT_STYLE}\n list={schema.examples ? examplesId(id) : undefined}\n {...inputProps}\n value={value}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n />\n );\n\n return (\n <>\n {input}\n {Array.isArray(schema.examples) && (\n <datalist id={examplesId(id)}>\n {(schema.examples as string[])\n .concat(schema.default && !schema.examples.includes(schema.default) ? ([schema.default] as string[]) : [])\n .map((example) => {\n return <option key={example} value={example} />;\n })}\n </datalist>\n )}\n </>\n );\n}\n", "import { DescriptionFieldProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { RichDescription } from '@rjsf/core';\n\n/** The `DescriptionField` is the template to use to render the description of a field\n *\n * @param props - The `DescriptionFieldProps` for this component\n */\nexport default function DescriptionField<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: DescriptionFieldProps<T, S, F>) {\n const { id, description, registry, uiSchema } = props;\n if (!description) {\n return null;\n }\n return (\n <span id={id}>\n <RichDescription description={description} registry={registry} uiSchema={uiSchema} />\n </span>\n );\n}\n", "import { Alert, List, Space } from 'antd';\nimport ExclamationCircleOutlined from '@ant-design/icons/ExclamationCircleOutlined';\nimport { ErrorListProps, FormContextType, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\n/** The `ErrorList` component is the template that renders the all the errors associated with the fields in the `Form`\n *\n * @param props - The `ErrorListProps` for this component\n */\nexport default function ErrorList<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n errors,\n registry,\n}: ErrorListProps<T, S, F>) {\n const { translateString } = registry;\n const renderErrors = () => (\n <List className='list-group' size='small'>\n {errors.map((error, index) => (\n <List.Item key={index}>\n <Space>\n <ExclamationCircleOutlined />\n {error.stack}\n </Space>\n </List.Item>\n ))}\n </List>\n );\n\n return (\n <Alert\n className='panel panel-danger errors'\n description={renderErrors()}\n message={translateString(TranslatableString.ErrorsLabel)}\n type='error'\n />\n );\n}\n", "import { Button, ButtonProps } from 'antd';\nimport ArrowDownOutlined from '@ant-design/icons/ArrowDownOutlined';\nimport ArrowUpOutlined from '@ant-design/icons/ArrowUpOutlined';\nimport CopyOutlined from '@ant-design/icons/CopyOutlined';\nimport DeleteOutlined from '@ant-design/icons/DeleteOutlined';\nimport PlusCircleOutlined from '@ant-design/icons/PlusCircleOutlined';\nimport {\n getUiOptions,\n FormContextType,\n IconButtonProps,\n RJSFSchema,\n StrictRJSFSchema,\n TranslatableString,\n} from '@rjsf/utils';\nimport { MouseEventHandler } from 'react';\n\nexport type AntdIconButtonProps<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n> = IconButtonProps<T, S, F> & Pick<ButtonProps, 'block' | 'danger' | 'size'>;\n\nexport default function IconButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n const { iconType = 'default', icon, onClick, uiSchema, registry, color, ...otherProps } = props;\n return (\n <Button\n onClick={onClick as MouseEventHandler<HTMLAnchorElement> & MouseEventHandler<HTMLButtonElement>}\n // @ts-expect-error TS2322, Because even casting as `ButtonProps['type']` has issues\n type={iconType}\n icon={icon}\n color={color as ButtonProps['color']}\n style={{ paddingTop: '4px' /* Center the button */ }}\n {...otherProps}\n />\n );\n}\n\nexport function AddButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <IconButton\n title={translateString(TranslatableString.AddItemButton)}\n iconType='primary'\n block\n {...props}\n icon={<PlusCircleOutlined />}\n />\n );\n}\n\nexport function CopyButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.CopyButton)} {...props} icon={<CopyOutlined />} />;\n}\n\nexport function MoveDownButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <IconButton title={translateString(TranslatableString.MoveDownButton)} {...props} icon={<ArrowDownOutlined />} />\n );\n}\n\nexport function MoveUpButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.MoveUpButton)} {...props} icon={<ArrowUpOutlined />} />;\n}\n\nexport function RemoveButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n // The `block` prop is not part of the `IconButtonProps` defined in the template, so get it from the uiSchema instead\n const options = getUiOptions<T, S, F>(props.uiSchema);\n const {\n registry: { translateString },\n } = props;\n return (\n <IconButton\n title={translateString(TranslatableString.RemoveButton)}\n danger\n block={!!options.block}\n iconType='primary'\n {...props}\n icon={<DeleteOutlined />}\n />\n );\n}\n", "import { FieldErrorProps, FormContextType, RJSFSchema, StrictRJSFSchema, errorId } from '@rjsf/utils';\n\n/** The `FieldErrorTemplate` component renders the errors local to the particular field\n *\n * @param props - The `FieldErrorProps` for the errors being rendered\n */\nexport default function FieldErrorTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldErrorProps<T, S, F>) {\n const { errors = [], fieldPathId } = props;\n if (errors.length === 0) {\n return null;\n }\n const id = errorId(fieldPathId);\n\n return (\n <div id={id}>\n {errors.map((error) => (\n <div key={`field-${id}-error-${error}`}>{error}</div>\n ))}\n </div>\n );\n}\n", "import { Form } from 'antd';\nimport {\n FieldTemplateProps,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n getTemplate,\n getUiOptions,\n GenericObjectType,\n} from '@rjsf/utils';\n\nconst VERTICAL_LABEL_COL = { span: 24 };\nconst VERTICAL_WRAPPER_COL = { span: 24 };\n\n/** The `FieldTemplate` component is the template used by `SchemaField` to render any field. It renders the field\n * content, (label, description, children, errors and help) inside of a `WrapIfAdditional` component.\n *\n * @param props - The `FieldTemplateProps` for this component\n */\nexport default function FieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldTemplateProps<T, S, F>) {\n const {\n children,\n classNames,\n style,\n description,\n disabled,\n displayLabel,\n errors,\n help,\n hidden,\n id,\n label,\n onKeyRename,\n onKeyRenameBlur,\n onRemoveProperty,\n rawErrors,\n rawDescription,\n rawHelp,\n readonly,\n registry,\n required,\n schema,\n uiSchema,\n } = props;\n const { formContext } = registry;\n const {\n colon,\n labelCol = VERTICAL_LABEL_COL,\n wrapperCol = VERTICAL_WRAPPER_COL,\n wrapperStyle,\n descriptionLocation = 'below',\n } = formContext as GenericObjectType;\n\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const WrapIfAdditionalTemplate = getTemplate<'WrapIfAdditionalTemplate', T, S, F>(\n 'WrapIfAdditionalTemplate',\n registry,\n uiOptions,\n );\n\n if (hidden) {\n return <div className='rjsf-field-hidden'>{children}</div>;\n }\n\n // check to see if there is rawDescription(string) before using description(ReactNode)\n // to prevent showing a blank description area\n const descriptionNode = rawDescription ? description : undefined;\n const descriptionProps: GenericObjectType = {};\n switch (descriptionLocation) {\n case 'tooltip':\n descriptionProps.tooltip = descriptionNode;\n break;\n case 'below':\n default:\n descriptionProps.extra = descriptionNode;\n break;\n }\n\n return (\n <WrapIfAdditionalTemplate\n classNames={classNames}\n style={style}\n disabled={disabled}\n id={id}\n label={label}\n onKeyRename={onKeyRename}\n onKeyRenameBlur={onKeyRenameBlur}\n onRemoveProperty={onRemoveProperty}\n readonly={readonly}\n required={required}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n >\n <Form.Item\n colon={colon}\n hasFeedback={schema.type !== 'array' && schema.type !== 'object'}\n help={(!!rawHelp && help) || (rawErrors?.length ? errors : undefined)}\n htmlFor={id}\n label={displayLabel && label}\n labelCol={labelCol}\n required={required}\n style={wrapperStyle}\n validateStatus={rawErrors?.length ? 'error' : undefined}\n wrapperCol={wrapperCol}\n {...descriptionProps}\n >\n {children}\n </Form.Item>\n </WrapIfAdditionalTemplate>\n );\n}\n", "import { Col, Row } from 'antd';\nimport { GridTemplateProps } from '@rjsf/utils';\n\n/** Renders a `GridTemplate` for antd, which is expecting the column sizing information coming in via the\n * extra props provided by the caller, which are spread directly on the `Row`/`Col`.\n *\n * @param props - The GridTemplateProps, including the extra props containing the antd grid positioning details\n */\nexport default function GridTemplate(props: GridTemplateProps) {\n const { children, column, ...rest } = props;\n if (column) {\n return <Col {...rest}>{children}</Col>;\n }\n return <Row {...rest}>{children}</Row>;\n}\n", "import { FormContextType, MultiSchemaFieldTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nexport default function MultiSchemaFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: MultiSchemaFieldTemplateProps<T, S, F>) {\n const { optionSchemaField, selector } = props;\n\n return (\n <div>\n <div>{selector}</div>\n {optionSchemaField}\n </div>\n );\n}\n", "import classNames from 'classnames';\nimport isObject from 'lodash/isObject';\nimport isNumber from 'lodash/isNumber';\nimport isString from 'lodash/isString';\nimport {\n FormContextType,\n GenericObjectType,\n ObjectFieldTemplateProps,\n ObjectFieldTemplatePropertyType,\n RJSFSchema,\n StrictRJSFSchema,\n UiSchema,\n canExpand,\n descriptionId,\n getTemplate,\n getUiOptions,\n titleId,\n buttonId,\n} from '@rjsf/utils';\nimport { Col, Row, ConfigProvider } from 'antd';\nimport { useContext } from 'react';\n\nconst DESCRIPTION_COL_STYLE = {\n paddingBottom: '8px',\n};\n\n/** The `ObjectFieldTemplate` is the template to use to render all the inner properties of an object along with the\n * title and description if available. If the object is expandable, then an `AddButton` is also rendered after all\n * the properties.\n *\n * @param props - The `ObjectFieldTemplateProps` for this component\n */\nexport default function ObjectFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ObjectFieldTemplateProps<T, S, F>) {\n const {\n description,\n disabled,\n formData,\n fieldPathId,\n onAddProperty,\n optionalDataControl,\n properties,\n readonly,\n required,\n registry,\n schema,\n title,\n uiSchema,\n } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const TitleFieldTemplate = getTemplate<'TitleFieldTemplate', T, S, F>('TitleFieldTemplate', registry, uiOptions);\n const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(\n 'DescriptionFieldTemplate',\n registry,\n uiOptions,\n );\n const { formContext } = registry;\n const showOptionalDataControlInTitle = !readonly && !disabled;\n // Button templates are not overridden in the uiSchema\n const {\n ButtonTemplates: { AddButton },\n } = registry.templates;\n const { colSpan = 24, labelAlign = 'right', rowGutter = 24 } = formContext as GenericObjectType;\n\n const findSchema = (element: ObjectFieldTemplatePropertyType): S => element.content.props.schema;\n\n const findSchemaType = (element: ObjectFieldTemplatePropertyType) => findSchema(element).type;\n\n const findUiSchema = (element: ObjectFieldTemplatePropertyType): UiSchema<T, S, F> | undefined =>\n element.content.props.uiSchema;\n\n const findUiSchemaField = (element: ObjectFieldTemplatePropertyType) => getUiOptions(findUiSchema(element)).field;\n\n const findUiSchemaWidget = (element: ObjectFieldTemplatePropertyType) => getUiOptions(findUiSchema(element)).widget;\n\n const calculateColSpan = (element: ObjectFieldTemplatePropertyType) => {\n const type = findSchemaType(element);\n const field = findUiSchemaField(element);\n const widget = findUiSchemaWidget(element);\n\n const defaultColSpan =\n properties.length < 2 || // Single or no field in object.\n type === 'object' ||\n type === 'array' ||\n widget === 'textarea'\n ? 24\n : 12;\n\n if (isObject(colSpan)) {\n const colSpanObj: GenericObjectType = colSpan;\n if (isString(widget)) {\n return colSpanObj[widget];\n }\n if (isString(field)) {\n return colSpanObj[field];\n }\n if (isString(type)) {\n return colSpanObj[type];\n }\n }\n if (isNumber(colSpan)) {\n return colSpan;\n }\n return defaultColSpan;\n };\n\n const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);\n const prefixCls = getPrefixCls('form');\n const labelClsBasic = `${prefixCls}-item-label`;\n const labelColClassName = classNames(\n labelClsBasic,\n labelAlign === 'left' && `${labelClsBasic}-left`,\n // labelCol.className,\n );\n\n return (\n <fieldset id={fieldPathId.$id}>\n <Row gutter={rowGutter}>\n {title && (\n <Col className={labelColClassName} span={24}>\n <TitleFieldTemplate\n id={titleId(fieldPathId)}\n title={title}\n required={required}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n optionalDataControl={showOptionalDataControlInTitle ? optionalDataControl : undefined}\n />\n </Col>\n )}\n {description && (\n <Col span={24} style={DESCRIPTION_COL_STYLE}>\n <DescriptionFieldTemplate\n id={descriptionId(fieldPathId)}\n description={description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n </Col>\n )}\n {!showOptionalDataControlInTitle ? <Col span={24}>{optionalDataControl}</Col> : undefined}\n {properties\n .filter((e) => !e.hidden)\n .map((element: ObjectFieldTemplatePropertyType) => (\n <Col key={element.name} span={calculateColSpan(element)}>\n {element.content}\n </Col>\n ))}\n </Row>\n {canExpand(schema, uiSchema, formData) && (\n <Col span={24}>\n <Row gutter={rowGutter} justify='end'>\n <Col flex='192px'>\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-object-property-expand'\n disabled={disabled || readonly}\n onClick={onAddProperty}\n uiSchema={uiSchema}\n registry={registry}\n />\n </Col>\n </Row>\n </Col>\n )}\n </fieldset>\n );\n}\n", "import { FormContextType, OptionalDataControlsTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nimport { AddButton, RemoveButton } from '../IconButton';\n\n/** The OptionalDataControlsTemplate renders one of three different states. If\n * there is an `onAddClick()` function, it renders the \"Add\" button. If there is\n * an `onRemoveClick()` function, it renders the \"Remove\" button. Otherwise it\n * renders the \"No data found\" section. All of them use the `label` as either\n * the `title` of buttons or simply outputting it.\n *\n * @param props - The `OptionalDataControlsTemplateProps` for the template\n */\nexport default function OptionalDataControlsTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: OptionalDataControlsTemplateProps<T, S, F>) {\n const { id, registry, label, onAddClick, onRemoveClick } = props;\n if (onAddClick) {\n return (\n <AddButton\n id={id}\n registry={registry}\n className='rjsf-add-optional-data'\n onClick={onAddClick}\n title={label}\n size='small'\n iconType='default'\n block={false}\n />\n );\n } else if (onRemoveClick) {\n return (\n <RemoveButton\n id={id}\n registry={registry}\n className='rjsf-remove-optional-data'\n onClick={onRemoveClick}\n title={label}\n size='small'\n iconType='default'\n block={false}\n />\n );\n }\n return <em id={id}>{label}</em>;\n}\n", "import { Button, ButtonProps } from 'antd';\nimport { getSubmitButtonOptions, FormContextType, RJSFSchema, StrictRJSFSchema, SubmitButtonProps } from '@rjsf/utils';\n\ntype ButtonType = NonNullable<ButtonProps['type']>;\n\n/** The `SubmitButton` renders a button that represent the `Submit` action on a form\n */\nexport default function SubmitButton<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({ uiSchema }: SubmitButtonProps<T, S, F>) {\n const { submitText, norender, props: submitButtonProps } = getSubmitButtonOptions(uiSchema);\n if (norender) {\n return null;\n }\n return (\n <Button type={'submit' as ButtonType} {...submitButtonProps} htmlType='submit'>\n {submitText}\n </Button>\n );\n}\n", "import classNames from 'classnames';\nimport { FormContextType, TitleFieldProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { Col, Divider, Row, ConfigProvider } from 'antd';\nimport { useContext } from 'react';\n\n/** The `TitleField` is the template to use to render the title of a field\n *\n * @param props - The `TitleFieldProps` for this component\n */\nexport default function TitleField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n id,\n required,\n registry,\n title,\n optionalDataControl,\n}: TitleFieldProps<T, S, F>) {\n const { formContext } = registry;\n const { colon = true } = formContext;\n\n let labelChildren = title;\n if (colon && typeof title === 'string' && title.trim() !== '') {\n labelChildren = title.replace(/[\uFF1A:]\\s*$/, '');\n }\n\n const handleLabelClick = () => {\n if (!id) {\n return;\n }\n\n const control: HTMLLabelElement | null = document.querySelector(`[id=\"${id}\"]`);\n if (control && control.focus) {\n control.focus();\n }\n };\n\n const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);\n const prefixCls = getPrefixCls('form');\n const labelClassName = classNames({\n [`${prefixCls}-item-required`]: required,\n [`${prefixCls}-item-no-colon`]: !colon,\n });\n let heading = title ? (\n <label\n className={labelClassName}\n htmlFor={id}\n onClick={handleLabelClick}\n title={typeof title === 'string' ? title : ''}\n >\n {labelChildren}\n </label>\n ) : null;\n if (optionalDataControl) {\n heading = (\n <Row>\n <Col flex='auto'>{heading}</Col>\n <Col flex='none'>{optionalDataControl}</Col>\n </Row>\n );\n }\n\n return (\n <>\n {heading}\n <Divider size='small' style={{ marginBlock: '1px' /* pull the margin right up against the label */ }} />\n </>\n );\n}\n", "import { Col, Row, Form, Input } from 'antd';\nimport {\n ADDITIONAL_PROPERTY_FLAG,\n UI_OPTIONS_KEY,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n TranslatableString,\n WrapIfAdditionalTemplateProps,\n buttonId,\n} from '@rjsf/utils';\n\nconst VERTICAL_LABEL_COL = { span: 24 };\nconst VERTICAL_WRAPPER_COL = { span: 24 };\n\nconst INPUT_STYLE = {\n width: '100%',\n};\n\n/** The `WrapIfAdditional` component is used by the `FieldTemplate` to rename, or remove properties that are\n * part of an `additionalProperties` part of a schema.\n *\n * @param props - The `WrapIfAdditionalProps` for this component\n */\nexport default function WrapIfAdditionalTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WrapIfAdditionalTemplateProps<T, S, F>) {\n const {\n children,\n classNames,\n style,\n disabled,\n id,\n label,\n onRemoveProperty,\n onKeyRenameBlur,\n readonly,\n required,\n registry,\n schema,\n uiSchema,\n } = props;\n const {\n colon,\n labelCol = VERTICAL_LABEL_COL,\n readonlyAsDisabled = true,\n rowGutter = 24,\n toolbarAlign = 'top',\n wrapperCol = VERTICAL_WRAPPER_COL,\n wrapperStyle,\n } = registry.formContext;\n const { templates, translateString } = registry;\n // Button templates are not overridden in the uiSchema\n const { RemoveButton } = templates.ButtonTemplates;\n const keyLabel = translateString(TranslatableString.KeyLabel, [label]);\n const additional = ADDITIONAL_PROPERTY_FLAG in schema;\n\n if (!additional) {\n return (\n <div className={classNames} style={style}>\n {children}\n </div>\n );\n }\n\n // The `block` prop is not part of the `IconButtonProps` defined in the template, so put it into the uiSchema instead\n const uiOptions = uiSchema ? uiSchema[UI_OPTIONS_KEY] : {};\n const buttonUiOptions = {\n ...uiSchema,\n [UI_OPTIONS_KEY]: { ...uiOptions, block: true },\n };\n\n return (\n <div className={classNames} style={style}>\n <Row align={toolbarAlign} gutter={rowGutter}>\n <Col className='form-additional' flex='1'>\n <div className='form-group'>\n <Form.Item\n colon={colon}\n className='form-group'\n hasFeedback\n htmlFor={`${id}-key`}\n label={keyLabel}\n labelCol={labelCol}\n required={required}\n style={wrapperStyle}\n wrapperCol={wrapperCol}\n >\n <Input\n className='form-control'\n defaultValue={label}\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={`${id}-key`}\n name={`${id}-key`}\n onBlur={!readonly ? onKeyRenameBlur : undefined}\n style={INPUT_STYLE}\n type='text'\n />\n </Form.Item>\n </div>\n </Col>\n <Col className='form-additional' flex='1'>\n {children}\n </Col>\n <Col flex='192px'>\n <RemoveButton\n id={buttonId(id, 'remove')}\n className='rjsf-object-property-remove'\n disabled={disabled || readonly}\n onClick={onRemoveProperty}\n uiSchema={buttonUiOptions}\n registry={registry}\n />\n </Col>\n </Row>\n </div>\n );\n}\n", "import { FormContextType, RJSFSchema, StrictRJSFSchema, TemplatesType } from '@rjsf/utils';\n\nimport ArrayFieldItemTemplate from './ArrayFieldItemTemplate';\nimport ArrayFieldTemplate from './ArrayFieldTemplate';\nimport BaseInputTemplate from './BaseInputTemplate';\nimport DescriptionField from './DescriptionField';\nimport ErrorList from './ErrorList';\nimport { AddButton, CopyButton, MoveDownButton, MoveUpButton, RemoveButton } from './IconButton';\nimport FieldErrorTemplate from './FieldErrorTemplate';\nimport FieldTemplate from './FieldTemplate';\nimport GridTemplate from './GridTemplate';\nimport MultiSchemaFieldTemplate from './MultiSchemaFieldTemplate';\nimport ObjectFieldTemplate from './ObjectFieldTemplate';\nimport OptionalDataControlsTemplate from './OptionalDataControlsTemplate';\nimport SubmitButton from './SubmitButton';\nimport TitleField from './TitleField';\nimport WrapIfAdditionalTemplate from './WrapIfAdditionalTemplate';\n\nexport function generateTemplates<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): Partial<TemplatesType<T, S, F>> {\n return {\n ArrayFieldItemTemplate,\n ArrayFieldTemplate,\n BaseInputTemplate,\n ButtonTemplates: {\n AddButton,\n CopyButton,\n MoveDownButton,\n MoveUpButton,\n RemoveButton,\n SubmitButton,\n },\n DescriptionFieldTemplate: DescriptionField,\n ErrorListTemplate: ErrorList,\n FieldErrorTemplate,\n FieldTemplate,\n GridTemplate,\n MultiSchemaFieldTemplate,\n ObjectFieldTemplate,\n OptionalDataControlsTemplate,\n TitleFieldTemplate: TitleField,\n WrapIfAdditionalTemplate,\n };\n}\n\nexport default generateTemplates();\n", "import { Row, Col, Button } from 'antd';\nimport {\n DateElement,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n TranslatableString,\n useAltDateWidgetProps,\n WidgetProps,\n} from '@rjsf/utils';\n\nexport default function AltDateWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const { autofocus, disabled, id, name, onBlur, onFocus, options, readonly, registry } = props;\n const { formContext, translateString } = registry;\n const { rowGutter = 24 } = formContext as GenericObjectType;\n const { elements, handleChange, handleClear, handleSetNow } = useAltDateWidgetProps(props);\n\n return (\n <Row gutter={[Math.floor(rowGutter / 2), Math.floor(rowGutter / 2)]}>\n {elements.map((elemProps, i) => {\n const elemId = `${id}_${elemProps.type}`;\n return (\n <Col flex='88px' key={elemId}>\n <DateElement\n rootId={id}\n name={name}\n select={handleChange}\n {...elemProps}\n disabled={disabled}\n readonly={readonly}\n registry={registry}\n onBlur={onBlur}\n onFocus={onFocus}\n autofocus={autofocus && i === 0}\n />\n </Col>\n );\n })}\n {!options.hideNowButton && (\n <Col flex='88px'>\n <Button block className='btn-now' onClick={handleSetNow} type='primary'>\n {translateString(TranslatableString.NowLabel)}\n </Button>\n </Col>\n )}\n {!options.hideClearButton && (\n <Col flex='88px'>\n <Button block className='btn-clear' danger onClick={handleClear} type='primary'>\n {translateString(TranslatableString.ClearLabel)}\n </Button>\n </Col>\n )}\n </Row>\n );\n}\n\nAltDateWidget.defaultProps = {\n autofocus: false,\n disabled: false,\n options: {\n yearsRange: [1900, new Date().getFullYear() + 2],\n },\n readonly: false,\n time: false,\n};\n", "import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';\n\nimport _AltDateWidget from '../AltDateWidget';\n\nexport default function AltDateTimeWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const { AltDateWidget } = props.registry.widgets;\n return <AltDateWidget time {...props} />;\n}\n\nAltDateTimeWidget.defaultProps = {\n ..._AltDateWidget.defaultProps,\n time: true,\n};\n", "import { FocusEvent } from 'react';\nimport { Checkbox } from 'antd';\nimport {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n optionId,\n FormContextType,\n WidgetProps,\n RJSFSchema,\n StrictRJSFSchema,\n GenericObjectType,\n} from '@rjsf/utils';\n\n/** The `CheckboxesWidget` is a widget for rendering checkbox groups.\n * It is typically used to represent an array of enums.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function CheckboxesWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({\n autofocus,\n disabled,\n registry,\n id,\n htmlName,\n onBlur,\n onChange,\n onFocus,\n options,\n readonly,\n value,\n}: WidgetProps<T, S, F>) {\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const { enumOptions, enumDisabled, inline, emptyValue } = options;\n\n const handleChange = (nextValue: any) => onChange(enumOptionsValueForIndex<S>(nextValue, enumOptions, emptyValue));\n\n const handleBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target.value, enumOptions, emptyValue));\n\n const handleFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target.value, enumOptions, emptyValue));\n\n // Antd's typescript definitions do not contain the following props that are actually necessary and, if provided,\n // they are used, so hacking them in via by spreading `extraProps` on the component to avoid typescript errors\n const extraProps = {\n id,\n onBlur: !readonly ? handleBlur : undefined,\n onFocus: !readonly ? handleFocus : undefined,\n };\n\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions, true) as string[];\n\n return Array.isArray(enumOptions) && enumOptions.length > 0 ? (\n <>\n <Checkbox.Group\n disabled={disabled || (readonlyAsDisabled && readonly)}\n name={htmlName || id}\n onChange={!readonly ? handleChange : undefined}\n value={selectedIndexes}\n {...extraProps}\n aria-describedby={ariaDescribedByIds(id)}\n >\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, i) => (\n <span key={i}>\n <Checkbox\n id={optionId(id, i)}\n name={htmlName || id}\n autoFocus={i === 0 ? autofocus : false}\n disabled={Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1}\n value={String(i)}\n >\n {option.label}\n </Checkbox>\n {!inline && <br />}\n </span>\n ))}\n </Checkbox.Group>\n </>\n ) : null;\n}\n", "import { FocusEvent } from 'react';\nimport { Checkbox, CheckboxProps } from 'antd';\nimport {\n ariaDescribedByIds,\n labelValue,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n GenericObjectType,\n} from '@rjsf/utils';\n\n/** The `CheckBoxWidget` is a widget for rendering boolean properties.\n * It is typically used to represent a boolean.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function CheckboxWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const { autofocus, disabled, registry, id, htmlName, label, hideLabel, onBlur, onChange, onFocus, readonly, value } =\n props;\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const handleChange: NonNullable<CheckboxProps['onChange']> = ({ target }) => onChange(target.checked);\n\n const handleBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.checked);\n\n const handleFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.checked);\n\n // Antd's typescript definitions do not contain the following props that are actually necessary and, if provided,\n // they are used, so hacking them in via by spreading `extraProps` on the component to avoid typescript errors\n const extraProps = {\n onBlur: !readonly ? handleBlur : undefined,\n onFocus: !readonly ? handleFocus : undefined,\n };\n return (\n <Checkbox\n autoFocus={autofocus}\n checked={typeof value === 'undefined' ? false : value}\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={htmlName || id}\n onChange={!readonly ? handleChange : undefined}\n {...extraProps}\n aria-describedby={ariaDescribedByIds(id)}\n >\n {labelValue(label, hideLabel, '')}\n </Checkbox>\n );\n}\n", "import dayjs from 'dayjs';\nimport {\n ariaDescribedByIds,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\n\nimport { DatePicker } from 'antd';\n\nconst DATE_PICKER_STYLE = {\n width: '100%',\n};\n\n/** The `DateTimeWidget` component uses the `BaseInputTemplate` changing the type to `datetime-local` and transforms\n * the value to/from utc using the appropriate utility functions.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function DateTimeWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const { disabled, registry, id, onBlur, onChange, onFocus, placeholder, readonly, value } = props;\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const handleChange = (nextValue: any) => onChange(nextValue && nextValue.toISOString());\n\n const handleBlur = () => onBlur(id, value);\n\n const handleFocus = () => onFocus(id, value);\n\n const getPopupContainer = (node: any) => node.parentNode;\n\n return (\n <DatePicker\n disabled={disabled || (readonlyAsDisabled && readonly)}\n getPopupContainer={getPopupContainer}\n id={id}\n name={id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n showTime\n style={DATE_PICKER_STYLE}\n value={value && dayjs(value)}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n}\n", "import dayjs from 'dayjs';\nimport {\n ariaDescribedByIds,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n GenericObjectType,\n} from '@rjsf/utils';\n\nimport { DatePicker } from 'antd';\n\nconst DATE_PICKER_STYLE = {\n width: '100%',\n};\n\n/** The `DateWidget` component uses the `BaseInputTemplate` changing the type to `date` and transforms\n * the value to undefined when it is falsy during the `onChange` handling.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function DateWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const { disabled, registry, id, onBlur, onChange, onFocus, placeholder, readonly, value } = props;\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const handleChange = (nextValue: any) => onChange(nextValue && nextValue.format('YYYY-MM-DD'));\n\n const handleBlur = () => onBlur(id, value);\n\n const handleFocus = () => onFocus(id, value);\n\n const getPopupContainer = (node: any) => node.parentNode;\n\n return (\n <DatePicker\n disabled={disabled || (readonlyAsDisabled && readonly)}\n getPopupContainer={getPopupContainer}\n id={id}\n name={id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n showTime={false}\n style={DATE_PICKER_STYLE}\n value={value && dayjs(value)}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n}\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport { Input } from 'antd';\nimport {\n ariaDescribedByIds,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n GenericObjectType,\n} from '@rjsf/utils';\n\n/** The `PasswordWidget` component uses the `BaseInputTemplate` changing the type to `password`.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function PasswordWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const { disabled, registry, id, onBlur, onChange, onFocus, options, placeholder, readonly, value } = props;\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const emptyValue = options.emptyValue || '';\n\n const handleChange = ({ target }: ChangeEvent<HTMLInputElement>) =>\n onChange(target.value === '' ? emptyValue : target.value);\n\n const handleBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target.value);\n\n const handleFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target.value);\n\n return (\n <Input.Password\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n value={value || ''}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n}\n", "import { FocusEvent } from 'react';\nimport { Radio, RadioChangeEvent } from 'antd';\nimport {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n optionId,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\n\n/** The `RadioWidget` is a widget for rendering a radio group.\n * It is typically used with a string property constrained with enum options.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function RadioWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n autofocus,\n disabled,\n registry,\n id,\n htmlName,\n onBlur,\n onChange,\n onFocus,\n options,\n readonly,\n value,\n}: WidgetProps<T, S, F>) {\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const { enumOptions, enumDisabled, emptyValue } = options;\n\n const handleChange = ({ target: { value: nextValue } }: RadioChangeEvent) =>\n onChange(enumOptionsValueForIndex<S>(nextValue, enumOptions, emptyValue));\n\n const handleBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n\n const handleFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions) as string;\n\n return (\n <Radio.Group\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={htmlName || id}\n onChange={!readonly ? handleChange : undefined}\n onBlur={!readonly ? handleBlur : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n value={selectedIndexes}\n aria-describedby={ariaDescribedByIds(id)}\n >\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, i) => (\n <Radio\n id={optionId(id, i)}\n name={htmlName || id}\n autoFocus={i === 0 ? autofocus : false}\n disabled={disabled || (Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1)}\n key={i}\n value={String(i)}\n >\n {option.label}\n </Radio>\n ))}\n </Radio.Group>\n );\n}\n", "import { Slider } from 'antd';\nimport {\n ariaDescribedByIds,\n rangeSpec,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n GenericObjectType,\n} from '@rjsf/utils';\n\n/** The `RangeWidget` component uses the `BaseInputTemplate` changing the type to `range` and wrapping the result\n * in a div, with the value along side it.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function RangeWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const {\n autofocus,\n disabled,\n registry,\n id,\n onBlur,\n onChange,\n onFocus,\n options,\n placeholder,\n readonly,\n schema,\n value,\n } = props;\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const { min, max, step } = rangeSpec(schema);\n\n const emptyValue = options.emptyValue || '';\n\n const handleChange = (nextValue: any) => onChange(nextValue === '' ? emptyValue : nextValue);\n\n const handleBlur = () => onBlur(id, value);\n\n const handleFocus = () => onFocus(id, value);\n\n // Antd's typescript definitions do not contain the following props that are actually necessary and, if provided,\n // they are used, so hacking them in via by spreading `extraProps` on the component to avoid typescript errors\n const extraProps = {\n placeholder,\n onBlur: !readonly ? handleBlur : undefined,\n onFocus: !readonly ? handleFocus : undefined,\n };\n\n return (\n <Slider\n autoFocus={autofocus}\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n max={max}\n min={min}\n onChange={!readonly ? handleChange : undefined}\n range={false}\n step={step}\n value={value}\n {...extraProps}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n}\n", "import { Select, SelectProps } from 'antd';\nimport {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport isString from 'lodash/isString';\nimport { DefaultOptionType } from 'antd/es/select';\nimport { useMemo } from 'react';\n\nconst SELECT_STYLE = {\n width: '100%',\n};\n\n/** The `SelectWidget` is a widget for rendering dropdowns.\n * It is typically used with string properties constrained with enum options.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function SelectWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({\n autofocus,\n disabled,\n registry,\n id,\n htmlName,\n multiple,\n onBlur,\n onChange,\n onFocus,\n options,\n placeholder,\n readonly,\n value,\n schema,\n}: WidgetProps<T, S, F>) {\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const { enumOptions, enumDisabled, emptyValue } = options;\n\n const handleChange = (nextValue: any) => onChange(enumOptionsValueForIndex<S>(nextValue, enumOptions, emptyValue));\n\n const handleBlur = () => onBlur(id, enumOptionsValueForIndex<S>(value, enumOptions, emptyValue));\n\n const handleFocus = () => onFocus(id, enumOptionsValueForIndex<S>(value, enumOptions, emptyValue));\n\n const filterOption: SelectProps['filterOption'] = (input, option) => {\n if (option && isString(option.label)) {\n // labels are strings in this context\n return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0;\n }\n return false;\n };\n\n const getPopupContainer = (node: any) => node.parentNode;\n\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions, multiple);\n\n // Antd's typescript definitions do not contain the following props that are actually necessary and, if provided,\n // they are used, so hacking them in via by spreading `extraProps` on the component to avoid typescript errors\n const extraProps = {\n name: htmlName || id,\n };\n\n const showPlaceholderOption = !multiple && schema.default === undefined;\n\n const selectOptions: DefaultOptionType[] | undefined = useMemo(() => {\n if (Array.isArray(enumOptions)) {\n const options: DefaultOptionType[] = enumOptions.map(({ value: optionValue, label: optionLabel }, index) => ({\n disabled: Array.isArray(enumDisabled) && enumDisabled.indexOf(optionValue) !== -1,\n key: String(index),\n value: String(index),\n label: optionLabel,\n }));\n\n if (showPlaceholderOption) {\n options.unshift({ value: '', label: placeholder || '' });\n }\n return options;\n }\n return undefined;\n }, [enumDisabled, enumOptions, placeholder, showPlaceholderOption]);\n\n return (\n <Select\n autoFocus={autofocus}\n disabled={disabled || (readonlyAsDisabled && readonly)}\n getPopupContainer={getPopupContainer}\n id={id}\n mode={multiple ? 'multiple' : undefined}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n style={SELECT_STYLE}\n value={selectedIndexes}\n {...extraProps}\n filterOption={filterOption}\n aria-describedby={ariaDescribedByIds(id)}\n options={selectOptions}\n />\n );\n}\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport { Input } from 'antd';\nimport {\n ariaDescribedByIds,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\n\nconst INPUT_STYLE = {\n width: '100%',\n};\n\n/** The `TextareaWidget` is a widget for rendering input fields as textarea.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function TextareaWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({\n disabled,\n registry,\n id,\n htmlName,\n onBlur,\n onChange,\n onFocus,\n options,\n placeholder,\n readonly,\n value,\n}: WidgetProps<T, S, F>) {\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const handleChange = ({ target }: ChangeEvent<HTMLTextAreaElement>) =>\n onChange(target.value === '' ? options.emptyValue : target.value);\n\n const handleBlur = ({ target }: FocusEvent<HTMLTextAreaElement>) => onBlur(id, target && target.value);\n\n const handleFocus = ({ target }: FocusEvent<HTMLTextAreaElement>) => onFocus(id, target && target.value);\n\n // Antd's typescript definitions do not contain the following props that are actually necessary and, if provided,\n // they are used, so hacking them in via by spreading `extraProps` on the component to avoid typescript errors\n const extraProps = {\n type: 'textarea',\n };\n\n return (\n <Input.TextArea\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={htmlName || id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n rows={options.rows || 4}\n style={INPUT_STYLE}\n value={value}\n {...extraProps}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n}\n", "import { FormContextType, RegistryWidgetsType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nimport AltDateTimeWidget from './AltDateTimeWidget';\nimport AltDateWidget from './AltDateWidget';\nimport CheckboxesWidget from './CheckboxesWidget';\nimport CheckboxWidget from './CheckboxWidget';\nimport DateTimeWidget from './DateTimeWidget';\nimport DateWidget from './DateWidget';\nimport PasswordWidget from './PasswordWidget';\nimport RadioWidget from './RadioWidget';\nimport RangeWidget from './RangeWidget';\nimport SelectWidget from './SelectWidget';\nimport TextareaWidget from './TextareaWidget';\n\nexport function generateWidgets<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): RegistryWidgetsType<T, S, F> {\n return {\n AltDateTimeWidget,\n AltDateWidget,\n CheckboxesWidget,\n CheckboxWidget,\n DateTimeWidget,\n DateWidget,\n PasswordWidget,\n RadioWidget,\n RangeWidget,\n SelectWidget,\n TextareaWidget,\n };\n}\n\nexport default generateWidgets();\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,cAAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,IAAAC,eAAiD;;;ACFjD,kBAAgC;AAChC,mBAOO;AA6BH;AA3BJ,IAAM,gBAAgB;AAAA,EACpB,OAAO;AACT;AAEA,IAAM,YAAY;AAAA,EAChB,OAAO;AACT;AAMe,SAAR,uBAIL,OAA6C;AAC7C,QAAM,EAAE,UAAU,cAAc,YAAY,OAAO,UAAU,SAAS,IAAI;AAC1E,QAAM,gBAAY,2BAAsB,QAAQ;AAChD,QAAM,oCAAgC;AAAA,IACpC;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACA,QAAM,EAAE,YAAY,IAAI,eAAe,MAAM,IAAI,SAAS;AAE1D,SACE,6CA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C;AAAA,MACA,MAAM,YAAY;AAAA,MAClB,QAAQ,CAAC,WAAW,aAAa;AAAA,MACjC,UAAU,CAAC,WAAW,eAAe;AAAA,MACrC,SAAS,CAAC,WAAW,cAAc;AAAA,MACnC;AAAA,MACA,MAAM,QAAQ,QAAQ;AAAA,MACtB,OAAOA;AAAA,MACP;AAAA,MACC,GAAG;AAAA,MACJ,wBAAkB,mCAAmB,EAAE;AAAA;AAAA,EACzC;AAEJ;;;ACtDO,SAAS,kBAIkB;AAChC,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;AAEA,IAAO,kBAAQ,gBAAgB;;;A5B3BxB,SAAS,gBAIS;AACvB,SAAO;AAAA,IACL,WAAW,kBAA2B;AAAA,IACtC,SAAS,gBAAyB;AAAA,EACpC;AACF;AAEA,IAAM,QAAQ,cAAc;AAErB,SAAS,eAIuB;AACrC,aAAO,wBAAmB,cAAuB,CAAC;AACpD;AAEA,IAAMC,QAAO,aAAa;AAI1B,IAAO,gBAAQC;",
|
|
6
|
-
"names": ["Form", "import_core", "import_utils", "import_antd", "import_jsx_runtime", "AddButton", "classNames", "import_antd", "import_utils", "import_jsx_runtime", "import_jsx_runtime", "import_antd", "import_utils", "import_jsx_runtime", "ExclamationCircleOutlined", "import_antd", "import_utils", "import_jsx_runtime", "PlusCircleOutlined", "CopyOutlined", "ArrowDownOutlined", "ArrowUpOutlined", "DeleteOutlined", "import_utils", "import_jsx_runtime", "import_antd", "import_utils", "import_jsx_runtime", "classNames", "WrapIfAdditionalTemplate", "import_antd", "import_jsx_runtime", "import_jsx_runtime", "import_classnames", "import_utils", "import_antd", "import_react", "import_jsx_runtime", "
|
|
4
|
+
"sourcesContent": ["import { ComponentType } from 'react';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { FormProps, ThemeProps, withTheme } from '@rjsf/core';\n\nimport Templates, { generateTemplates } from './templates';\nimport Widgets, { generateWidgets } from './widgets';\n\nexport function generateTheme<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): ThemeProps<T, S, F> {\n return {\n templates: generateTemplates<T, S, F>(),\n widgets: generateWidgets<T, S, F>(),\n };\n}\n\nconst Theme = generateTheme();\n\nexport function generateForm<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): ComponentType<FormProps<T, S, F>> {\n return withTheme<T, S, F>(generateTheme<T, S, F>());\n}\n\nconst Form = generateForm();\n\nexport { Form, Templates, Theme, Widgets, generateTemplates, generateWidgets };\n\nexport default Form;\n", "import { Col, Row, Space } from 'antd';\nimport {\n ArrayFieldItemTemplateProps,\n FormContextType,\n getUiOptions,\n getTemplate,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\n\nconst BTN_GRP_STYLE = {\n width: '100%',\n};\n\nconst BTN_STYLE = {\n width: 'calc(100% / 4)',\n};\n\n/** The `ArrayFieldItemTemplate` component is the template used to render an items of an array.\n *\n * @param props - The `ArrayFieldItemTemplateProps` props for the component\n */\nexport default function ArrayFieldItemTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ArrayFieldItemTemplateProps<T, S, F>) {\n const { children, buttonsProps, hasToolbar, index, registry, uiSchema } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const ArrayFieldItemButtonsTemplate = getTemplate<'ArrayFieldItemButtonsTemplate', T, S, F>(\n 'ArrayFieldItemButtonsTemplate',\n registry,\n uiOptions,\n );\n const { rowGutter = 24, toolbarAlign = 'top' } = registry.formContext;\n\n return (\n <Row align={toolbarAlign} key={`rjsf-array-item-${index}`} gutter={rowGutter}>\n <Col flex='1'>{children}</Col>\n\n {hasToolbar && (\n <Col flex='192px'>\n <Space.Compact style={BTN_GRP_STYLE}>\n <ArrayFieldItemButtonsTemplate {...buttonsProps} style={BTN_STYLE} />\n </Space.Compact>\n </Col>\n )}\n </Row>\n );\n}\n", "import {\n getTemplate,\n getUiOptions,\n ArrayFieldTemplateProps,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n buttonId,\n} from '@rjsf/utils';\nimport classNames from 'classnames';\nimport { Col, Row, ConfigProvider } from 'antd';\nimport { useContext } from 'react';\n\n/** The `ArrayFieldTemplate` component is the template used to render all items in an array.\n *\n * @param props - The `ArrayFieldTemplateProps` props for the component\n */\nexport default function ArrayFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ArrayFieldTemplateProps<T, S, F>) {\n const {\n canAdd,\n className,\n disabled,\n fieldPathId,\n items,\n optionalDataControl,\n onAddClick,\n readonly,\n registry,\n required,\n schema,\n title,\n uiSchema,\n } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const ArrayFieldTitleTemplate = getTemplate<'ArrayFieldTitleTemplate', T, S, F>(\n 'ArrayFieldTitleTemplate',\n registry,\n uiOptions,\n );\n const showOptionalDataControlInTitle = !readonly && !disabled;\n const { formContext } = registry;\n // Button templates are not overridden in the uiSchema\n const {\n ButtonTemplates: { AddButton },\n } = registry.templates;\n const { labelAlign = 'right', rowGutter = 24 } = formContext as GenericObjectType;\n\n const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);\n const prefixCls = getPrefixCls('form');\n const labelClsBasic = `${prefixCls}-item-label`;\n const labelColClassName = classNames(\n labelClsBasic,\n labelAlign === 'left' && `${labelClsBasic}-left`,\n // labelCol.className,\n );\n\n return (\n <fieldset className={className} id={fieldPathId.$id}>\n <Row gutter={rowGutter}>\n {(uiOptions.title || title) && (\n <Col className={labelColClassName} span={24}>\n <ArrayFieldTitleTemplate\n fieldPathId={fieldPathId}\n required={required}\n title={uiOptions.title || title}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n optionalDataControl={showOptionalDataControlInTitle ? optionalDataControl : undefined}\n />\n </Col>\n )}\n <Col className='row array-item-list' span={24}>\n {!showOptionalDataControlInTitle ? optionalDataControl : undefined}\n {items}\n </Col>\n {canAdd && (\n <Col span={24}>\n <Row gutter={rowGutter} justify='end'>\n <Col flex='192px'>\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-array-item-add'\n disabled={disabled || readonly}\n onClick={onAddClick}\n uiSchema={uiSchema}\n registry={registry}\n />\n </Col>\n </Row>\n </Col>\n )}\n </Row>\n </fieldset>\n );\n}\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport { Input, InputNumber } from 'antd';\nimport {\n ariaDescribedByIds,\n BaseInputTemplateProps,\n examplesId,\n getInputProps,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\n\nconst INPUT_STYLE = {\n width: '100%',\n};\n\n/** The `BaseInputTemplate` is the template to use to render the basic `<input>` component for the `core` theme.\n * It is used as the template for rendering many of the <input> based widgets that differ by `type` and callbacks only.\n * It can be customized/overridden for other themes or individual implementations as needed.\n *\n * @param props - The `WidgetProps` for this template\n */\nexport default function BaseInputTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: BaseInputTemplateProps<T, S, F>) {\n const {\n disabled,\n registry,\n id,\n htmlName,\n onBlur,\n onChange,\n onChangeOverride,\n onFocus,\n options,\n placeholder,\n readonly,\n schema,\n value,\n type,\n } = props;\n const { formContext } = registry;\n const inputProps = getInputProps<T, S, F>(schema, type, options, false);\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const handleNumberChange = (nextValue: number | null) => onChange(nextValue);\n\n const handleTextChange = onChangeOverride\n ? onChangeOverride\n : ({ target }: ChangeEvent<HTMLInputElement>) => onChange(target.value === '' ? options.emptyValue : target.value);\n\n const handleBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.value);\n\n const handleFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.value);\n\n const input =\n inputProps.type === 'number' || inputProps.type === 'integer' ? (\n <InputNumber\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={htmlName || id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleNumberChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n style={INPUT_STYLE}\n list={schema.examples ? examplesId(id) : undefined}\n {...inputProps}\n value={value}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n />\n ) : (\n <Input\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={htmlName || id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleTextChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n style={INPUT_STYLE}\n list={schema.examples ? examplesId(id) : undefined}\n {...inputProps}\n value={value}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n />\n );\n\n return (\n <>\n {input}\n {Array.isArray(schema.examples) && (\n <datalist id={examplesId(id)}>\n {(schema.examples as string[])\n .concat(schema.default && !schema.examples.includes(schema.default) ? ([schema.default] as string[]) : [])\n .map((example) => {\n return <option key={example} value={example} />;\n })}\n </datalist>\n )}\n </>\n );\n}\n", "import { DescriptionFieldProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { RichDescription } from '@rjsf/core';\n\n/** The `DescriptionField` is the template to use to render the description of a field\n *\n * @param props - The `DescriptionFieldProps` for this component\n */\nexport default function DescriptionField<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: DescriptionFieldProps<T, S, F>) {\n const { id, description, registry, uiSchema } = props;\n if (!description) {\n return null;\n }\n return (\n <span id={id}>\n <RichDescription description={description} registry={registry} uiSchema={uiSchema} />\n </span>\n );\n}\n", "import { Alert, List, Space } from 'antd';\nimport ExclamationCircleOutlined from '@ant-design/icons/ExclamationCircleOutlined';\nimport { ErrorListProps, FormContextType, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\n/** The `ErrorList` component is the template that renders the all the errors associated with the fields in the `Form`\n *\n * @param props - The `ErrorListProps` for this component\n */\nexport default function ErrorList<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n errors,\n registry,\n}: ErrorListProps<T, S, F>) {\n const { translateString } = registry;\n const renderErrors = () => (\n <List className='list-group' size='small'>\n {errors.map((error, index) => (\n <List.Item key={index}>\n <Space>\n <ExclamationCircleOutlined />\n {error.stack}\n </Space>\n </List.Item>\n ))}\n </List>\n );\n\n return (\n <Alert\n className='panel panel-danger errors'\n description={renderErrors()}\n message={translateString(TranslatableString.ErrorsLabel)}\n type='error'\n />\n );\n}\n", "import { Button, ButtonProps } from 'antd';\nimport ArrowDownOutlined from '@ant-design/icons/ArrowDownOutlined';\nimport ArrowUpOutlined from '@ant-design/icons/ArrowUpOutlined';\nimport CopyOutlined from '@ant-design/icons/CopyOutlined';\nimport DeleteOutlined from '@ant-design/icons/DeleteOutlined';\nimport PlusCircleOutlined from '@ant-design/icons/PlusCircleOutlined';\nimport {\n getUiOptions,\n FormContextType,\n IconButtonProps,\n RJSFSchema,\n StrictRJSFSchema,\n TranslatableString,\n} from '@rjsf/utils';\nimport { MouseEventHandler } from 'react';\n\nexport type AntdIconButtonProps<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n> = IconButtonProps<T, S, F> & Pick<ButtonProps, 'block' | 'danger' | 'size'>;\n\nexport default function IconButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n const { iconType = 'default', icon, onClick, uiSchema, registry, color, ...otherProps } = props;\n return (\n <Button\n onClick={onClick as MouseEventHandler<HTMLAnchorElement> & MouseEventHandler<HTMLButtonElement>}\n // @ts-expect-error TS2322, Because even casting as `ButtonProps['type']` has issues\n type={iconType}\n icon={icon}\n color={color as ButtonProps['color']}\n style={{ paddingTop: '4px' /* Center the button */ }}\n {...otherProps}\n />\n );\n}\n\nexport function AddButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <IconButton\n title={translateString(TranslatableString.AddItemButton)}\n iconType='primary'\n block\n {...props}\n icon={<PlusCircleOutlined />}\n />\n );\n}\n\nexport function CopyButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.CopyButton)} {...props} icon={<CopyOutlined />} />;\n}\n\nexport function MoveDownButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return (\n <IconButton title={translateString(TranslatableString.MoveDownButton)} {...props} icon={<ArrowDownOutlined />} />\n );\n}\n\nexport function MoveUpButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.MoveUpButton)} {...props} icon={<ArrowUpOutlined />} />;\n}\n\nexport function RemoveButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: AntdIconButtonProps<T, S, F>,\n) {\n // The `block` prop is not part of the `IconButtonProps` defined in the template, so get it from the uiSchema instead\n const options = getUiOptions<T, S, F>(props.uiSchema);\n const {\n registry: { translateString },\n } = props;\n return (\n <IconButton\n title={translateString(TranslatableString.RemoveButton)}\n danger\n block={!!options.block}\n iconType='primary'\n {...props}\n icon={<DeleteOutlined />}\n />\n );\n}\n", "import { FieldErrorProps, FormContextType, RJSFSchema, StrictRJSFSchema, errorId } from '@rjsf/utils';\n\n/** The `FieldErrorTemplate` component renders the errors local to the particular field\n *\n * @param props - The `FieldErrorProps` for the errors being rendered\n */\nexport default function FieldErrorTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldErrorProps<T, S, F>) {\n const { errors = [], fieldPathId } = props;\n if (errors.length === 0) {\n return null;\n }\n const id = errorId(fieldPathId);\n\n return (\n <div id={id}>\n {errors.map((error) => (\n <div key={`field-${id}-error-${error}`}>{error}</div>\n ))}\n </div>\n );\n}\n", "import { Form } from 'antd';\nimport {\n FieldTemplateProps,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n getTemplate,\n getUiOptions,\n GenericObjectType,\n} from '@rjsf/utils';\n\nconst VERTICAL_LABEL_COL = { span: 24 };\nconst VERTICAL_WRAPPER_COL = { span: 24 };\n\n/** The `FieldTemplate` component is the template used by `SchemaField` to render any field. It renders the field\n * content, (label, description, children, errors and help) inside of a `WrapIfAdditional` component.\n *\n * @param props - The `FieldTemplateProps` for this component\n */\nexport default function FieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldTemplateProps<T, S, F>) {\n const {\n children,\n classNames,\n style,\n description,\n disabled,\n displayLabel,\n errors,\n help,\n hidden,\n id,\n label,\n onKeyRename,\n onKeyRenameBlur,\n onRemoveProperty,\n rawErrors,\n rawDescription,\n rawHelp,\n readonly,\n registry,\n required,\n schema,\n uiSchema,\n } = props;\n const { formContext } = registry;\n const {\n colon,\n labelCol = VERTICAL_LABEL_COL,\n wrapperCol = VERTICAL_WRAPPER_COL,\n wrapperStyle,\n descriptionLocation = 'below',\n } = formContext as GenericObjectType;\n\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n\n const WrapIfAdditionalTemplate = getTemplate<'WrapIfAdditionalTemplate', T, S, F>(\n 'WrapIfAdditionalTemplate',\n registry,\n uiOptions,\n );\n\n if (hidden) {\n return <div className='rjsf-field-hidden'>{children}</div>;\n }\n\n // check to see if there is rawDescription(string) before using description(ReactNode)\n // to prevent showing a blank description area\n const descriptionNode = rawDescription ? description : undefined;\n const descriptionProps: GenericObjectType = {};\n switch (descriptionLocation) {\n case 'tooltip':\n descriptionProps.tooltip = descriptionNode;\n break;\n case 'below':\n default:\n descriptionProps.extra = descriptionNode;\n break;\n }\n const isCheckbox = uiOptions.widget === 'checkbox';\n return (\n <WrapIfAdditionalTemplate\n classNames={classNames}\n style={style}\n disabled={disabled}\n id={id}\n label={label}\n onKeyRename={onKeyRename}\n onKeyRenameBlur={onKeyRenameBlur}\n onRemoveProperty={onRemoveProperty}\n readonly={readonly}\n required={required}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n >\n <Form.Item\n colon={colon}\n hasFeedback={schema.type !== 'array' && schema.type !== 'object'}\n help={(!!rawHelp && help) || (rawErrors?.length ? errors : undefined)}\n htmlFor={id}\n label={displayLabel && !isCheckbox && label}\n labelCol={labelCol}\n required={required}\n style={wrapperStyle}\n validateStatus={rawErrors?.length ? 'error' : undefined}\n wrapperCol={wrapperCol}\n {...descriptionProps}\n >\n {children}\n </Form.Item>\n </WrapIfAdditionalTemplate>\n );\n}\n", "import { Col, Row } from 'antd';\nimport { GridTemplateProps } from '@rjsf/utils';\n\n/** Renders a `GridTemplate` for antd, which is expecting the column sizing information coming in via the\n * extra props provided by the caller, which are spread directly on the `Row`/`Col`.\n *\n * @param props - The GridTemplateProps, including the extra props containing the antd grid positioning details\n */\nexport default function GridTemplate(props: GridTemplateProps) {\n const { children, column, ...rest } = props;\n if (column) {\n return <Col {...rest}>{children}</Col>;\n }\n return <Row {...rest}>{children}</Row>;\n}\n", "import { FormContextType, MultiSchemaFieldTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nexport default function MultiSchemaFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: MultiSchemaFieldTemplateProps<T, S, F>) {\n const { optionSchemaField, selector } = props;\n\n return (\n <div>\n <div>{selector}</div>\n {optionSchemaField}\n </div>\n );\n}\n", "import classNames from 'classnames';\nimport isObject from 'lodash/isObject';\nimport isNumber from 'lodash/isNumber';\nimport isString from 'lodash/isString';\nimport {\n FormContextType,\n GenericObjectType,\n ObjectFieldTemplateProps,\n ObjectFieldTemplatePropertyType,\n RJSFSchema,\n StrictRJSFSchema,\n UiSchema,\n canExpand,\n getTemplate,\n getUiOptions,\n titleId,\n buttonId,\n} from '@rjsf/utils';\nimport { Col, Row, ConfigProvider } from 'antd';\nimport { useContext } from 'react';\n\n/** The `ObjectFieldTemplate` is the template to use to render all the inner properties of an object along with the\n * title and description if available. If the object is expandable, then an `AddButton` is also rendered after all\n * the properties.\n *\n * @param props - The `ObjectFieldTemplateProps` for this component\n */\nexport default function ObjectFieldTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: ObjectFieldTemplateProps<T, S, F>) {\n const {\n disabled,\n formData,\n fieldPathId,\n onAddProperty,\n optionalDataControl,\n properties,\n readonly,\n required,\n registry,\n schema,\n title,\n uiSchema,\n } = props;\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n const TitleFieldTemplate = getTemplate<'TitleFieldTemplate', T, S, F>('TitleFieldTemplate', registry, uiOptions);\n const { formContext } = registry;\n const showOptionalDataControlInTitle = !readonly && !disabled;\n // Button templates are not overridden in the uiSchema\n const {\n ButtonTemplates: { AddButton },\n } = registry.templates;\n const { colSpan = 24, labelAlign = 'right', rowGutter = 24 } = formContext as GenericObjectType;\n\n const findSchema = (element: ObjectFieldTemplatePropertyType): S => element.content.props.schema;\n\n const findSchemaType = (element: ObjectFieldTemplatePropertyType) => findSchema(element).type;\n\n const findUiSchema = (element: ObjectFieldTemplatePropertyType): UiSchema<T, S, F> | undefined =>\n element.content.props.uiSchema;\n\n const findUiSchemaField = (element: ObjectFieldTemplatePropertyType) => getUiOptions(findUiSchema(element)).field;\n\n const findUiSchemaWidget = (element: ObjectFieldTemplatePropertyType) => getUiOptions(findUiSchema(element)).widget;\n\n const calculateColSpan = (element: ObjectFieldTemplatePropertyType) => {\n const type = findSchemaType(element);\n const field = findUiSchemaField(element);\n const widget = findUiSchemaWidget(element);\n\n const defaultColSpan =\n properties.length < 2 || // Single or no field in object.\n type === 'object' ||\n type === 'array' ||\n widget === 'textarea'\n ? 24\n : 12;\n\n if (isObject(colSpan)) {\n const colSpanObj: GenericObjectType = colSpan;\n if (isString(widget)) {\n return colSpanObj[widget];\n }\n if (isString(field)) {\n return colSpanObj[field];\n }\n if (isString(type)) {\n return colSpanObj[type];\n }\n }\n if (isNumber(colSpan)) {\n return colSpan;\n }\n return defaultColSpan;\n };\n\n const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);\n const prefixCls = getPrefixCls('form');\n const labelClsBasic = `${prefixCls}-item-label`;\n const labelColClassName = classNames(\n labelClsBasic,\n labelAlign === 'left' && `${labelClsBasic}-left`,\n // labelCol.className,\n );\n\n return (\n <fieldset id={fieldPathId.$id}>\n <Row gutter={rowGutter}>\n {title && (\n <Col className={labelColClassName} span={24}>\n <TitleFieldTemplate\n id={titleId(fieldPathId)}\n title={title}\n required={required}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n optionalDataControl={showOptionalDataControlInTitle ? optionalDataControl : undefined}\n />\n </Col>\n )}\n {!showOptionalDataControlInTitle ? <Col span={24}>{optionalDataControl}</Col> : undefined}\n {properties\n .filter((e) => !e.hidden)\n .map((element: ObjectFieldTemplatePropertyType) => (\n <Col key={element.name} span={calculateColSpan(element)}>\n {element.content}\n </Col>\n ))}\n </Row>\n {canExpand(schema, uiSchema, formData) && (\n <Col span={24}>\n <Row gutter={rowGutter} justify='end'>\n <Col flex='192px'>\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-object-property-expand'\n disabled={disabled || readonly}\n onClick={onAddProperty}\n uiSchema={uiSchema}\n registry={registry}\n />\n </Col>\n </Row>\n </Col>\n )}\n </fieldset>\n );\n}\n", "import { FormContextType, OptionalDataControlsTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nimport { AddButton, RemoveButton } from '../IconButton';\n\n/** The OptionalDataControlsTemplate renders one of three different states. If\n * there is an `onAddClick()` function, it renders the \"Add\" button. If there is\n * an `onRemoveClick()` function, it renders the \"Remove\" button. Otherwise it\n * renders the \"No data found\" section. All of them use the `label` as either\n * the `title` of buttons or simply outputting it.\n *\n * @param props - The `OptionalDataControlsTemplateProps` for the template\n */\nexport default function OptionalDataControlsTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: OptionalDataControlsTemplateProps<T, S, F>) {\n const { id, registry, label, onAddClick, onRemoveClick } = props;\n if (onAddClick) {\n return (\n <AddButton\n id={id}\n registry={registry}\n className='rjsf-add-optional-data'\n onClick={onAddClick}\n title={label}\n size='small'\n iconType='default'\n block={false}\n />\n );\n } else if (onRemoveClick) {\n return (\n <RemoveButton\n id={id}\n registry={registry}\n className='rjsf-remove-optional-data'\n onClick={onRemoveClick}\n title={label}\n size='small'\n iconType='default'\n block={false}\n />\n );\n }\n return <em id={id}>{label}</em>;\n}\n", "import { Button, ButtonProps } from 'antd';\nimport { getSubmitButtonOptions, FormContextType, RJSFSchema, StrictRJSFSchema, SubmitButtonProps } from '@rjsf/utils';\n\ntype ButtonType = NonNullable<ButtonProps['type']>;\n\n/** The `SubmitButton` renders a button that represent the `Submit` action on a form\n */\nexport default function SubmitButton<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({ uiSchema }: SubmitButtonProps<T, S, F>) {\n const { submitText, norender, props: submitButtonProps } = getSubmitButtonOptions(uiSchema);\n if (norender) {\n return null;\n }\n return (\n <Button type={'submit' as ButtonType} {...submitButtonProps} htmlType='submit'>\n {submitText}\n </Button>\n );\n}\n", "import classNames from 'classnames';\nimport { FormContextType, TitleFieldProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { Col, Divider, Row, ConfigProvider } from 'antd';\nimport { useContext } from 'react';\n\n/** The `TitleField` is the template to use to render the title of a field\n *\n * @param props - The `TitleFieldProps` for this component\n */\nexport default function TitleField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n id,\n required,\n registry,\n title,\n optionalDataControl,\n}: TitleFieldProps<T, S, F>) {\n const { formContext } = registry;\n const { colon = true } = formContext;\n\n let labelChildren = title;\n if (colon && typeof title === 'string' && title.trim() !== '') {\n labelChildren = title.replace(/[\uFF1A:]\\s*$/, '');\n }\n\n const handleLabelClick = () => {\n if (!id) {\n return;\n }\n\n const control: HTMLLabelElement | null = document.querySelector(`[id=\"${id}\"]`);\n if (control && control.focus) {\n control.focus();\n }\n };\n\n const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);\n const prefixCls = getPrefixCls('form');\n const labelClassName = classNames({\n [`${prefixCls}-item-required`]: required,\n [`${prefixCls}-item-no-colon`]: !colon,\n });\n let heading = title ? (\n <label\n className={labelClassName}\n htmlFor={id}\n onClick={handleLabelClick}\n title={typeof title === 'string' ? title : ''}\n >\n {labelChildren}\n </label>\n ) : null;\n if (optionalDataControl) {\n heading = (\n <Row>\n <Col flex='auto'>{heading}</Col>\n <Col flex='none'>{optionalDataControl}</Col>\n </Row>\n );\n }\n\n return (\n <>\n {heading}\n <Divider size='small' style={{ marginBlock: '1px' /* pull the margin right up against the label */ }} />\n </>\n );\n}\n", "import { Col, Row, Form, Input } from 'antd';\nimport {\n ADDITIONAL_PROPERTY_FLAG,\n UI_OPTIONS_KEY,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n TranslatableString,\n WrapIfAdditionalTemplateProps,\n buttonId,\n} from '@rjsf/utils';\n\nconst VERTICAL_LABEL_COL = { span: 24 };\nconst VERTICAL_WRAPPER_COL = { span: 24 };\n\nconst INPUT_STYLE = {\n width: '100%',\n};\n\n/** The `WrapIfAdditional` component is used by the `FieldTemplate` to rename, or remove properties that are\n * part of an `additionalProperties` part of a schema.\n *\n * @param props - The `WrapIfAdditionalProps` for this component\n */\nexport default function WrapIfAdditionalTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WrapIfAdditionalTemplateProps<T, S, F>) {\n const {\n children,\n classNames,\n style,\n disabled,\n id,\n label,\n onRemoveProperty,\n onKeyRenameBlur,\n readonly,\n required,\n registry,\n schema,\n uiSchema,\n } = props;\n const {\n colon,\n labelCol = VERTICAL_LABEL_COL,\n readonlyAsDisabled = true,\n rowGutter = 24,\n toolbarAlign = 'top',\n wrapperCol = VERTICAL_WRAPPER_COL,\n wrapperStyle,\n } = registry.formContext;\n const { templates, translateString } = registry;\n // Button templates are not overridden in the uiSchema\n const { RemoveButton } = templates.ButtonTemplates;\n const keyLabel = translateString(TranslatableString.KeyLabel, [label]);\n const additional = ADDITIONAL_PROPERTY_FLAG in schema;\n\n if (!additional) {\n return (\n <div className={classNames} style={style}>\n {children}\n </div>\n );\n }\n\n // The `block` prop is not part of the `IconButtonProps` defined in the template, so put it into the uiSchema instead\n const uiOptions = uiSchema ? uiSchema[UI_OPTIONS_KEY] : {};\n const buttonUiOptions = {\n ...uiSchema,\n [UI_OPTIONS_KEY]: { ...uiOptions, block: true },\n };\n\n return (\n <div className={classNames} style={style}>\n <Row align={toolbarAlign} gutter={rowGutter}>\n <Col className='form-additional' flex='1'>\n <div className='form-group'>\n <Form.Item\n colon={colon}\n className='form-group'\n hasFeedback\n htmlFor={`${id}-key`}\n label={keyLabel}\n labelCol={labelCol}\n required={required}\n style={wrapperStyle}\n wrapperCol={wrapperCol}\n >\n <Input\n className='form-control'\n defaultValue={label}\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={`${id}-key`}\n name={`${id}-key`}\n onBlur={!readonly ? onKeyRenameBlur : undefined}\n style={INPUT_STYLE}\n type='text'\n />\n </Form.Item>\n </div>\n </Col>\n <Col className='form-additional' flex='1'>\n {children}\n </Col>\n <Col flex='192px'>\n <RemoveButton\n id={buttonId(id, 'remove')}\n className='rjsf-object-property-remove'\n disabled={disabled || readonly}\n onClick={onRemoveProperty}\n uiSchema={buttonUiOptions}\n registry={registry}\n />\n </Col>\n </Row>\n </div>\n );\n}\n", "import { FormContextType, RJSFSchema, StrictRJSFSchema, TemplatesType } from '@rjsf/utils';\n\nimport ArrayFieldItemTemplate from './ArrayFieldItemTemplate';\nimport ArrayFieldTemplate from './ArrayFieldTemplate';\nimport BaseInputTemplate from './BaseInputTemplate';\nimport DescriptionField from './DescriptionField';\nimport ErrorList from './ErrorList';\nimport { AddButton, CopyButton, MoveDownButton, MoveUpButton, RemoveButton } from './IconButton';\nimport FieldErrorTemplate from './FieldErrorTemplate';\nimport FieldTemplate from './FieldTemplate';\nimport GridTemplate from './GridTemplate';\nimport MultiSchemaFieldTemplate from './MultiSchemaFieldTemplate';\nimport ObjectFieldTemplate from './ObjectFieldTemplate';\nimport OptionalDataControlsTemplate from './OptionalDataControlsTemplate';\nimport SubmitButton from './SubmitButton';\nimport TitleField from './TitleField';\nimport WrapIfAdditionalTemplate from './WrapIfAdditionalTemplate';\n\nexport function generateTemplates<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): Partial<TemplatesType<T, S, F>> {\n return {\n ArrayFieldItemTemplate,\n ArrayFieldTemplate,\n BaseInputTemplate,\n ButtonTemplates: {\n AddButton,\n CopyButton,\n MoveDownButton,\n MoveUpButton,\n RemoveButton,\n SubmitButton,\n },\n DescriptionFieldTemplate: DescriptionField,\n ErrorListTemplate: ErrorList,\n FieldErrorTemplate,\n FieldTemplate,\n GridTemplate,\n MultiSchemaFieldTemplate,\n ObjectFieldTemplate,\n OptionalDataControlsTemplate,\n TitleFieldTemplate: TitleField,\n WrapIfAdditionalTemplate,\n };\n}\n\nexport default generateTemplates();\n", "import { Row, Col, Button } from 'antd';\nimport {\n DateElement,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n TranslatableString,\n useAltDateWidgetProps,\n WidgetProps,\n} from '@rjsf/utils';\n\nexport default function AltDateWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const { autofocus, disabled, id, name, onBlur, onFocus, options, readonly, registry } = props;\n const { formContext, translateString } = registry;\n const { rowGutter = 24 } = formContext as GenericObjectType;\n const { elements, handleChange, handleClear, handleSetNow } = useAltDateWidgetProps(props);\n\n return (\n <Row gutter={[Math.floor(rowGutter / 2), Math.floor(rowGutter / 2)]}>\n {elements.map((elemProps, i) => {\n const elemId = `${id}_${elemProps.type}`;\n return (\n <Col flex='88px' key={elemId}>\n <DateElement\n rootId={id}\n name={name}\n select={handleChange}\n {...elemProps}\n disabled={disabled}\n readonly={readonly}\n registry={registry}\n onBlur={onBlur}\n onFocus={onFocus}\n autofocus={autofocus && i === 0}\n />\n </Col>\n );\n })}\n {!options.hideNowButton && (\n <Col flex='88px'>\n <Button block className='btn-now' onClick={handleSetNow} type='primary'>\n {translateString(TranslatableString.NowLabel)}\n </Button>\n </Col>\n )}\n {!options.hideClearButton && (\n <Col flex='88px'>\n <Button block className='btn-clear' danger onClick={handleClear} type='primary'>\n {translateString(TranslatableString.ClearLabel)}\n </Button>\n </Col>\n )}\n </Row>\n );\n}\n\nAltDateWidget.defaultProps = {\n autofocus: false,\n disabled: false,\n options: {\n yearsRange: [1900, new Date().getFullYear() + 2],\n },\n readonly: false,\n time: false,\n};\n", "import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';\n\nimport _AltDateWidget from '../AltDateWidget';\n\nexport default function AltDateTimeWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const { AltDateWidget } = props.registry.widgets;\n return <AltDateWidget time {...props} />;\n}\n\nAltDateTimeWidget.defaultProps = {\n ..._AltDateWidget.defaultProps,\n time: true,\n};\n", "import { FocusEvent } from 'react';\nimport { Checkbox } from 'antd';\nimport {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n optionId,\n FormContextType,\n WidgetProps,\n RJSFSchema,\n StrictRJSFSchema,\n GenericObjectType,\n} from '@rjsf/utils';\n\n/** The `CheckboxesWidget` is a widget for rendering checkbox groups.\n * It is typically used to represent an array of enums.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function CheckboxesWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({\n autofocus,\n disabled,\n registry,\n id,\n htmlName,\n onBlur,\n onChange,\n onFocus,\n options,\n readonly,\n value,\n}: WidgetProps<T, S, F>) {\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const { enumOptions, enumDisabled, inline, emptyValue } = options;\n\n const handleChange = (nextValue: any) => onChange(enumOptionsValueForIndex<S>(nextValue, enumOptions, emptyValue));\n\n const handleBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target.value, enumOptions, emptyValue));\n\n const handleFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target.value, enumOptions, emptyValue));\n\n // Antd's typescript definitions do not contain the following props that are actually necessary and, if provided,\n // they are used, so hacking them in via by spreading `extraProps` on the component to avoid typescript errors\n const extraProps = {\n id,\n onBlur: !readonly ? handleBlur : undefined,\n onFocus: !readonly ? handleFocus : undefined,\n };\n\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions, true) as string[];\n\n return Array.isArray(enumOptions) && enumOptions.length > 0 ? (\n <>\n <Checkbox.Group\n disabled={disabled || (readonlyAsDisabled && readonly)}\n name={htmlName || id}\n onChange={!readonly ? handleChange : undefined}\n value={selectedIndexes}\n {...extraProps}\n aria-describedby={ariaDescribedByIds(id)}\n >\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, i) => (\n <span key={i}>\n <Checkbox\n id={optionId(id, i)}\n name={htmlName || id}\n autoFocus={i === 0 ? autofocus : false}\n disabled={Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1}\n value={String(i)}\n >\n {option.label}\n </Checkbox>\n {!inline && <br />}\n </span>\n ))}\n </Checkbox.Group>\n </>\n ) : null;\n}\n", "import { FocusEvent } from 'react';\nimport { Checkbox, CheckboxProps } from 'antd';\nimport {\n ariaDescribedByIds,\n labelValue,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n GenericObjectType,\n} from '@rjsf/utils';\n\n/** The `CheckBoxWidget` is a widget for rendering boolean properties.\n * It is typically used to represent a boolean.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function CheckboxWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const { autofocus, disabled, registry, id, htmlName, label, hideLabel, onBlur, onChange, onFocus, readonly, value } =\n props;\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const handleChange: NonNullable<CheckboxProps['onChange']> = ({ target }) => onChange(target.checked);\n\n const handleBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.checked);\n\n const handleFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.checked);\n\n // Antd's typescript definitions do not contain the following props that are actually necessary and, if provided,\n // they are used, so hacking them in via by spreading `extraProps` on the component to avoid typescript errors\n const extraProps = {\n onBlur: !readonly ? handleBlur : undefined,\n onFocus: !readonly ? handleFocus : undefined,\n };\n return (\n <Checkbox\n autoFocus={autofocus}\n checked={typeof value === 'undefined' ? false : value}\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={htmlName || id}\n onChange={!readonly ? handleChange : undefined}\n {...extraProps}\n aria-describedby={ariaDescribedByIds(id)}\n >\n {labelValue(label, hideLabel, '')}\n </Checkbox>\n );\n}\n", "import dayjs from 'dayjs';\nimport {\n ariaDescribedByIds,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\n\nimport { DatePicker } from 'antd';\n\nconst DATE_PICKER_STYLE = {\n width: '100%',\n};\n\n/** The `DateTimeWidget` component uses the `BaseInputTemplate` changing the type to `datetime-local` and transforms\n * the value to/from utc using the appropriate utility functions.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function DateTimeWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const { disabled, registry, id, onBlur, onChange, onFocus, placeholder, readonly, value } = props;\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const handleChange = (nextValue: any) => onChange(nextValue && nextValue.toISOString());\n\n const handleBlur = () => onBlur(id, value);\n\n const handleFocus = () => onFocus(id, value);\n\n const getPopupContainer = (node: any) => node.parentNode;\n\n return (\n <DatePicker\n disabled={disabled || (readonlyAsDisabled && readonly)}\n getPopupContainer={getPopupContainer}\n id={id}\n name={id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n showTime\n style={DATE_PICKER_STYLE}\n value={value && dayjs(value)}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n}\n", "import dayjs from 'dayjs';\nimport {\n ariaDescribedByIds,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n GenericObjectType,\n} from '@rjsf/utils';\n\nimport { DatePicker } from 'antd';\n\nconst DATE_PICKER_STYLE = {\n width: '100%',\n};\n\n/** The `DateWidget` component uses the `BaseInputTemplate` changing the type to `date` and transforms\n * the value to undefined when it is falsy during the `onChange` handling.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function DateWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const { disabled, registry, id, onBlur, onChange, onFocus, placeholder, readonly, value } = props;\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const handleChange = (nextValue: any) => onChange(nextValue && nextValue.format('YYYY-MM-DD'));\n\n const handleBlur = () => onBlur(id, value);\n\n const handleFocus = () => onFocus(id, value);\n\n const getPopupContainer = (node: any) => node.parentNode;\n\n return (\n <DatePicker\n disabled={disabled || (readonlyAsDisabled && readonly)}\n getPopupContainer={getPopupContainer}\n id={id}\n name={id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n showTime={false}\n style={DATE_PICKER_STYLE}\n value={value && dayjs(value)}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n}\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport { Input } from 'antd';\nimport {\n ariaDescribedByIds,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n GenericObjectType,\n} from '@rjsf/utils';\n\n/** The `PasswordWidget` component uses the `BaseInputTemplate` changing the type to `password`.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function PasswordWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const { disabled, registry, id, onBlur, onChange, onFocus, options, placeholder, readonly, value } = props;\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const emptyValue = options.emptyValue || '';\n\n const handleChange = ({ target }: ChangeEvent<HTMLInputElement>) =>\n onChange(target.value === '' ? emptyValue : target.value);\n\n const handleBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target.value);\n\n const handleFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target.value);\n\n return (\n <Input.Password\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n value={value || ''}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n}\n", "import { FocusEvent } from 'react';\nimport { Radio, RadioChangeEvent } from 'antd';\nimport {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n optionId,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\n\n/** The `RadioWidget` is a widget for rendering a radio group.\n * It is typically used with a string property constrained with enum options.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function RadioWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n autofocus,\n disabled,\n registry,\n id,\n htmlName,\n onBlur,\n onChange,\n onFocus,\n options,\n readonly,\n value,\n}: WidgetProps<T, S, F>) {\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const { enumOptions, enumDisabled, emptyValue } = options;\n\n const handleChange = ({ target: { value: nextValue } }: RadioChangeEvent) =>\n onChange(enumOptionsValueForIndex<S>(nextValue, enumOptions, emptyValue));\n\n const handleBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n\n const handleFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, emptyValue));\n\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions) as string;\n\n return (\n <Radio.Group\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={htmlName || id}\n onChange={!readonly ? handleChange : undefined}\n onBlur={!readonly ? handleBlur : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n value={selectedIndexes}\n aria-describedby={ariaDescribedByIds(id)}\n >\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, i) => (\n <Radio\n id={optionId(id, i)}\n name={htmlName || id}\n autoFocus={i === 0 ? autofocus : false}\n disabled={disabled || (Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1)}\n key={i}\n value={String(i)}\n >\n {option.label}\n </Radio>\n ))}\n </Radio.Group>\n );\n}\n", "import { Slider } from 'antd';\nimport {\n ariaDescribedByIds,\n rangeSpec,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n GenericObjectType,\n} from '@rjsf/utils';\n\n/** The `RangeWidget` component uses the `BaseInputTemplate` changing the type to `range` and wrapping the result\n * in a div, with the value along side it.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function RangeWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const {\n autofocus,\n disabled,\n registry,\n id,\n onBlur,\n onChange,\n onFocus,\n options,\n placeholder,\n readonly,\n schema,\n value,\n } = props;\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const { min, max, step } = rangeSpec(schema);\n\n const emptyValue = options.emptyValue || '';\n\n const handleChange = (nextValue: any) => onChange(nextValue === '' ? emptyValue : nextValue);\n\n const handleBlur = () => onBlur(id, value);\n\n const handleFocus = () => onFocus(id, value);\n\n // Antd's typescript definitions do not contain the following props that are actually necessary and, if provided,\n // they are used, so hacking them in via by spreading `extraProps` on the component to avoid typescript errors\n const extraProps = {\n placeholder,\n onBlur: !readonly ? handleBlur : undefined,\n onFocus: !readonly ? handleFocus : undefined,\n };\n\n return (\n <Slider\n autoFocus={autofocus}\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n max={max}\n min={min}\n onChange={!readonly ? handleChange : undefined}\n range={false}\n step={step}\n value={value}\n {...extraProps}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n}\n", "import { Select, SelectProps } from 'antd';\nimport {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport isString from 'lodash/isString';\nimport { DefaultOptionType } from 'antd/es/select';\nimport { useMemo } from 'react';\n\nconst SELECT_STYLE = {\n width: '100%',\n};\n\n/** The `SelectWidget` is a widget for rendering dropdowns.\n * It is typically used with string properties constrained with enum options.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function SelectWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({\n autofocus,\n disabled,\n registry,\n id,\n htmlName,\n multiple,\n onBlur,\n onChange,\n onFocus,\n options,\n placeholder,\n readonly,\n value,\n schema,\n}: WidgetProps<T, S, F>) {\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const { enumOptions, enumDisabled, emptyValue } = options;\n\n const handleChange = (nextValue: any) => onChange(enumOptionsValueForIndex<S>(nextValue, enumOptions, emptyValue));\n\n const handleBlur = () => onBlur(id, enumOptionsValueForIndex<S>(value, enumOptions, emptyValue));\n\n const handleFocus = () => onFocus(id, enumOptionsValueForIndex<S>(value, enumOptions, emptyValue));\n\n const filterOption: SelectProps['filterOption'] = (input, option) => {\n if (option && isString(option.label)) {\n // labels are strings in this context\n return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0;\n }\n return false;\n };\n\n const getPopupContainer = (node: any) => node.parentNode;\n\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions, multiple);\n\n // Antd's typescript definitions do not contain the following props that are actually necessary and, if provided,\n // they are used, so hacking them in via by spreading `extraProps` on the component to avoid typescript errors\n const extraProps = {\n name: htmlName || id,\n };\n\n const showPlaceholderOption = !multiple && schema.default === undefined;\n\n const selectOptions: DefaultOptionType[] | undefined = useMemo(() => {\n if (Array.isArray(enumOptions)) {\n const options: DefaultOptionType[] = enumOptions.map(({ value: optionValue, label: optionLabel }, index) => ({\n disabled: Array.isArray(enumDisabled) && enumDisabled.indexOf(optionValue) !== -1,\n key: String(index),\n value: String(index),\n label: optionLabel,\n }));\n\n if (showPlaceholderOption) {\n options.unshift({ value: '', label: placeholder || '' });\n }\n return options;\n }\n return undefined;\n }, [enumDisabled, enumOptions, placeholder, showPlaceholderOption]);\n\n return (\n <Select\n autoFocus={autofocus}\n disabled={disabled || (readonlyAsDisabled && readonly)}\n getPopupContainer={getPopupContainer}\n id={id}\n mode={multiple ? 'multiple' : undefined}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n style={SELECT_STYLE}\n value={selectedIndexes}\n {...extraProps}\n filterOption={filterOption}\n aria-describedby={ariaDescribedByIds(id)}\n options={selectOptions}\n />\n );\n}\n", "import { ChangeEvent, FocusEvent } from 'react';\nimport { Input } from 'antd';\nimport {\n ariaDescribedByIds,\n FormContextType,\n GenericObjectType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\n\nconst INPUT_STYLE = {\n width: '100%',\n};\n\n/** The `TextareaWidget` is a widget for rendering input fields as textarea.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function TextareaWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({\n disabled,\n registry,\n id,\n htmlName,\n onBlur,\n onChange,\n onFocus,\n options,\n placeholder,\n readonly,\n value,\n}: WidgetProps<T, S, F>) {\n const { formContext } = registry;\n const { readonlyAsDisabled = true } = formContext as GenericObjectType;\n\n const handleChange = ({ target }: ChangeEvent<HTMLTextAreaElement>) =>\n onChange(target.value === '' ? options.emptyValue : target.value);\n\n const handleBlur = ({ target }: FocusEvent<HTMLTextAreaElement>) => onBlur(id, target && target.value);\n\n const handleFocus = ({ target }: FocusEvent<HTMLTextAreaElement>) => onFocus(id, target && target.value);\n\n // Antd's typescript definitions do not contain the following props that are actually necessary and, if provided,\n // they are used, so hacking them in via by spreading `extraProps` on the component to avoid typescript errors\n const extraProps = {\n type: 'textarea',\n };\n\n return (\n <Input.TextArea\n disabled={disabled || (readonlyAsDisabled && readonly)}\n id={id}\n name={htmlName || id}\n onBlur={!readonly ? handleBlur : undefined}\n onChange={!readonly ? handleChange : undefined}\n onFocus={!readonly ? handleFocus : undefined}\n placeholder={placeholder}\n rows={options.rows || 4}\n style={INPUT_STYLE}\n value={value}\n {...extraProps}\n aria-describedby={ariaDescribedByIds(id)}\n />\n );\n}\n", "import { FormContextType, RegistryWidgetsType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nimport AltDateTimeWidget from './AltDateTimeWidget';\nimport AltDateWidget from './AltDateWidget';\nimport CheckboxesWidget from './CheckboxesWidget';\nimport CheckboxWidget from './CheckboxWidget';\nimport DateTimeWidget from './DateTimeWidget';\nimport DateWidget from './DateWidget';\nimport PasswordWidget from './PasswordWidget';\nimport RadioWidget from './RadioWidget';\nimport RangeWidget from './RangeWidget';\nimport SelectWidget from './SelectWidget';\nimport TextareaWidget from './TextareaWidget';\n\nexport function generateWidgets<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): RegistryWidgetsType<T, S, F> {\n return {\n AltDateTimeWidget,\n AltDateWidget,\n CheckboxesWidget,\n CheckboxWidget,\n DateTimeWidget,\n DateWidget,\n PasswordWidget,\n RadioWidget,\n RangeWidget,\n SelectWidget,\n TextareaWidget,\n };\n}\n\nexport default generateWidgets();\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,cAAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,IAAAC,eAAiD;;;ACFjD,kBAAgC;AAChC,mBAOO;AA6BH;AA3BJ,IAAM,gBAAgB;AAAA,EACpB,OAAO;AACT;AAEA,IAAM,YAAY;AAAA,EAChB,OAAO;AACT;AAMe,SAAR,uBAIL,OAA6C;AAC7C,QAAM,EAAE,UAAU,cAAc,YAAY,OAAO,UAAU,SAAS,IAAI;AA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ACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;AAEA,IAAO,kBAAQ,gBAAgB;;;A5B3BxB,SAAS,gBAIS;AACvB,SAAO;AAAA,IACL,WAAW,kBAA2B;AAAA,IACtC,SAAS,gBAAyB;AAAA,EACpC;AACF;AAEA,IAAM,QAAQ,cAAc;AAErB,SAAS,eAIuB;AACrC,aAAO,wBAAmB,cAAuB,CAAC;AACpD;AAEA,IAAMC,QAAO,aAAa;AAI1B,IAAO,gBAAQC;",
|
|
6
|
+
"names": ["Form", "import_core", "import_utils", "import_antd", "import_jsx_runtime", "AddButton", "classNames", "import_antd", "import_utils", "import_jsx_runtime", "import_jsx_runtime", "import_antd", "import_utils", "import_jsx_runtime", "ExclamationCircleOutlined", "import_antd", "import_utils", "import_jsx_runtime", "PlusCircleOutlined", "CopyOutlined", "ArrowDownOutlined", "ArrowUpOutlined", "DeleteOutlined", "import_utils", "import_jsx_runtime", "import_antd", "import_utils", "import_jsx_runtime", "classNames", "WrapIfAdditionalTemplate", "import_antd", "import_jsx_runtime", "import_jsx_runtime", "import_classnames", "import_utils", "import_antd", "import_react", "import_jsx_runtime", "AddButton", "isObject", "isString", "isNumber", "classNames", "import_jsx_runtime", "import_antd", "import_utils", "import_jsx_runtime", "import_classnames", "import_antd", "import_react", "import_jsx_runtime", "classNames", "import_antd", "import_utils", "import_jsx_runtime", "VERTICAL_LABEL_COL", "VERTICAL_WRAPPER_COL", "INPUT_STYLE", "classNames", "RemoveButton", "import_antd", "import_utils", "import_jsx_runtime", "import_jsx_runtime", "AltDateWidget", "import_antd", "import_utils", "import_jsx_runtime", "import_antd", "import_utils", "import_jsx_runtime", "import_utils", "import_antd", "import_jsx_runtime", "dayjs", "import_dayjs", "import_utils", "import_antd", "import_jsx_runtime", "DATE_PICKER_STYLE", "dayjs", "import_antd", "import_utils", "import_jsx_runtime", "import_antd", "import_utils", "import_jsx_runtime", "import_antd", "import_utils", "import_jsx_runtime", "import_antd", "import_utils", "import_isString", "import_react", "import_jsx_runtime", "isString", "options", "import_antd", "import_utils", "import_jsx_runtime", "INPUT_STYLE", "Form", "Form"]
|
|
7
7
|
}
|