@rjsf/primereact 6.1.1 → 6.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +51 -28
- package/dist/index.cjs.map +3 -3
- package/dist/primereact.esm.js +80 -57
- package/dist/primereact.esm.js.map +3 -3
- package/dist/primereact.umd.js +49 -27
- package/lib/ArrayFieldTemplate/ArrayFieldTemplate.js +3 -1
- package/lib/ArrayFieldTemplate/ArrayFieldTemplate.js.map +1 -1
- package/lib/BaseInputTemplate/BaseInputTemplate.js +13 -5
- package/lib/BaseInputTemplate/BaseInputTemplate.js.map +1 -1
- package/lib/IconButton/IconButton.d.ts +1 -0
- package/lib/IconButton/IconButton.js +4 -0
- package/lib/IconButton/IconButton.js.map +1 -1
- package/lib/Templates/Templates.js +2 -1
- package/lib/Templates/Templates.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/src/ArrayFieldTemplate/ArrayFieldTemplate.tsx +3 -0
- package/src/BaseInputTemplate/BaseInputTemplate.tsx +36 -22
- package/src/IconButton/IconButton.tsx +9 -0
- package/src/Templates/Templates.ts +2 -1
package/dist/index.cjs
CHANGED
|
@@ -95,6 +95,9 @@ function ArrayFieldTemplate(props) {
|
|
|
95
95
|
title,
|
|
96
96
|
registry,
|
|
97
97
|
required,
|
|
98
|
+
// Destructure the following props out so that they aren't put into the DOM
|
|
99
|
+
formData,
|
|
100
|
+
rawErrors,
|
|
98
101
|
...rest
|
|
99
102
|
} = props;
|
|
100
103
|
const uiOptions = (0, import_utils3.getUiOptions)(uiSchema);
|
|
@@ -173,6 +176,7 @@ function ArrayFieldTemplate(props) {
|
|
|
173
176
|
}
|
|
174
177
|
|
|
175
178
|
// src/BaseInputTemplate/BaseInputTemplate.tsx
|
|
179
|
+
var import_react = require("react");
|
|
176
180
|
var import_utils4 = require("@rjsf/utils");
|
|
177
181
|
var import_inputtext = require("primereact/inputtext");
|
|
178
182
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
@@ -196,35 +200,47 @@ function BaseInputTemplate(props) {
|
|
|
196
200
|
registry,
|
|
197
201
|
rawErrors = []
|
|
198
202
|
} = props;
|
|
203
|
+
const { ClearButton: ClearButton2 } = registry.templates.ButtonTemplates;
|
|
199
204
|
const { AutoCompleteWidget: AutoCompleteWidget2 } = registry.widgets;
|
|
200
|
-
if (Array.isArray(schema.examples)) {
|
|
201
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AutoCompleteWidget2, { ...props });
|
|
202
|
-
}
|
|
203
205
|
const inputProps = (0, import_utils4.getInputProps)(schema, type, options);
|
|
204
206
|
const primeProps = options.prime || {};
|
|
205
207
|
const _onChange = ({ target: { value: value2 } }) => onChange(value2 === "" ? options.emptyValue : value2);
|
|
206
208
|
const _onBlur = () => onBlur && onBlur(id, value);
|
|
207
209
|
const _onFocus = () => onFocus && onFocus(id, value);
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
...inputProps,
|
|
216
|
-
required,
|
|
217
|
-
autoFocus: autofocus,
|
|
218
|
-
disabled: disabled || readonly,
|
|
219
|
-
list: schema.examples ? (0, import_utils4.examplesId)(id) : void 0,
|
|
220
|
-
value: value || value === 0 ? value : "",
|
|
221
|
-
invalid: rawErrors.length > 0,
|
|
222
|
-
onChange: onChangeOverride || _onChange,
|
|
223
|
-
onBlur: _onBlur,
|
|
224
|
-
onFocus: _onFocus,
|
|
225
|
-
"aria-describedby": (0, import_utils4.ariaDescribedByIds)(id, !!schema.examples)
|
|
226
|
-
}
|
|
210
|
+
const _onClear = (0, import_react.useCallback)(
|
|
211
|
+
(e) => {
|
|
212
|
+
e.preventDefault();
|
|
213
|
+
e.stopPropagation();
|
|
214
|
+
onChange(options.emptyValue ?? "");
|
|
215
|
+
},
|
|
216
|
+
[onChange, options.emptyValue]
|
|
227
217
|
);
|
|
218
|
+
if (Array.isArray(schema.examples)) {
|
|
219
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AutoCompleteWidget2, { ...props });
|
|
220
|
+
}
|
|
221
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
222
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
223
|
+
import_inputtext.InputText,
|
|
224
|
+
{
|
|
225
|
+
id,
|
|
226
|
+
name: htmlName || id,
|
|
227
|
+
placeholder,
|
|
228
|
+
...primeProps,
|
|
229
|
+
...inputProps,
|
|
230
|
+
required,
|
|
231
|
+
autoFocus: autofocus,
|
|
232
|
+
disabled: disabled || readonly,
|
|
233
|
+
list: schema.examples ? (0, import_utils4.examplesId)(id) : void 0,
|
|
234
|
+
value: value || value === 0 ? value : "",
|
|
235
|
+
invalid: rawErrors.length > 0,
|
|
236
|
+
onChange: onChangeOverride || _onChange,
|
|
237
|
+
onBlur: _onBlur,
|
|
238
|
+
onFocus: _onFocus,
|
|
239
|
+
"aria-describedby": (0, import_utils4.ariaDescribedByIds)(id, !!schema.examples)
|
|
240
|
+
}
|
|
241
|
+
),
|
|
242
|
+
options.allowClearTextInputs && !readonly && !disabled && value && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ClearButton2, { registry, onClick: _onClear })
|
|
243
|
+
] });
|
|
228
244
|
}
|
|
229
245
|
|
|
230
246
|
// src/DescriptionField/DescriptionField.tsx
|
|
@@ -305,6 +321,12 @@ function RemoveButton(props) {
|
|
|
305
321
|
} = props;
|
|
306
322
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(IconButton, { title: translateString(import_utils6.TranslatableString.RemoveButton), ...props, icon: "trash" });
|
|
307
323
|
}
|
|
324
|
+
function ClearButton(props) {
|
|
325
|
+
const {
|
|
326
|
+
registry: { translateString }
|
|
327
|
+
} = props;
|
|
328
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(IconButton, { title: translateString(import_utils6.TranslatableString.ClearButton), ...props, icon: "times" });
|
|
329
|
+
}
|
|
308
330
|
|
|
309
331
|
// src/FieldErrorTemplate/FieldErrorTemplate.tsx
|
|
310
332
|
var import_utils7 = require("@rjsf/utils");
|
|
@@ -622,7 +644,7 @@ function ArrayFieldTitleTemplate({ title, uiSchema, required, fieldPathId, optio
|
|
|
622
644
|
}
|
|
623
645
|
|
|
624
646
|
// src/GridTemplate/GridTemplate.tsx
|
|
625
|
-
var
|
|
647
|
+
var import_react2 = require("react");
|
|
626
648
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
627
649
|
var breakpoints = {
|
|
628
650
|
xs: 0,
|
|
@@ -677,8 +699,8 @@ function GridTemplateRow(props) {
|
|
|
677
699
|
}
|
|
678
700
|
function GridTemplateColumn(props) {
|
|
679
701
|
const { children, column, uiSchema, xs, sm, md, lg, xl, style, ...rest } = props;
|
|
680
|
-
const [breakpoint, setBreakpoint] = (0,
|
|
681
|
-
(0,
|
|
702
|
+
const [breakpoint, setBreakpoint] = (0, import_react2.useState)(() => getBreakpoint(getInitialWidth()));
|
|
703
|
+
(0, import_react2.useEffect)(() => {
|
|
682
704
|
if (typeof window === "undefined") {
|
|
683
705
|
return;
|
|
684
706
|
}
|
|
@@ -703,7 +725,8 @@ function generateTemplates() {
|
|
|
703
725
|
MoveDownButton,
|
|
704
726
|
MoveUpButton,
|
|
705
727
|
RemoveButton,
|
|
706
|
-
SubmitButton
|
|
728
|
+
SubmitButton,
|
|
729
|
+
ClearButton
|
|
707
730
|
},
|
|
708
731
|
DescriptionFieldTemplate: DescriptionField,
|
|
709
732
|
ErrorListTemplate: ErrorList,
|
|
@@ -721,7 +744,7 @@ function generateTemplates() {
|
|
|
721
744
|
var Templates_default = generateTemplates();
|
|
722
745
|
|
|
723
746
|
// src/AutoCompleteWidget/AutoCompleteWidget.tsx
|
|
724
|
-
var
|
|
747
|
+
var import_react3 = require("react");
|
|
725
748
|
var import_utils15 = require("@rjsf/utils");
|
|
726
749
|
var import_autocomplete = require("primereact/autocomplete");
|
|
727
750
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
@@ -751,7 +774,7 @@ function AutoCompleteWidget(props) {
|
|
|
751
774
|
const examples = schema.examples.concat(
|
|
752
775
|
schema.default && !schema.examples.includes(schema.default.toString()) ? [schema.default.toString()] : []
|
|
753
776
|
);
|
|
754
|
-
const [items, setItems] = (0,
|
|
777
|
+
const [items, setItems] = (0, import_react3.useState)([]);
|
|
755
778
|
const search = (event) => {
|
|
756
779
|
setItems(examples.filter((example) => example.toString().toLowerCase().includes(event.query.toLowerCase())));
|
|
757
780
|
};
|
package/dist/index.cjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts", "../src/PrimeForm/PrimeForm.ts", "../src/AddButton/AddButton.tsx", "../src/ArrayFieldItemTemplate/ArrayFieldItemTemplate.tsx", "../src/ArrayFieldTemplate/ArrayFieldTemplate.tsx", "../src/BaseInputTemplate/BaseInputTemplate.tsx", "../src/DescriptionField/DescriptionField.tsx", "../src/ErrorList/ErrorList.tsx", "../src/IconButton/IconButton.tsx", "../src/FieldErrorTemplate/FieldErrorTemplate.tsx", "../src/FieldHelpTemplate/FieldHelpTemplate.tsx", "../src/FieldTemplate/FieldTemplate.tsx", "../src/util.tsx", "../src/MultiSchemaFieldTemplate/MultiSchemaFieldTemplate.tsx", "../src/ObjectFieldTemplate/ObjectFieldTemplate.tsx", "../src/OptionalDataControlsTemplate/OptionalDataControlsTemplate.tsx", "../src/SubmitButton/SubmitButton.tsx", "../src/TitleField/TitleField.tsx", "../src/WrapIfAdditionalTemplate/WrapIfAdditionalTemplate.tsx", "../src/ArrayFieldTitleTemplate/ArrayFieldTitleTemplate.tsx", "../src/GridTemplate/GridTemplate.tsx", "../src/Templates/Templates.ts", "../src/AutoCompleteWidget/AutoCompleteWidget.tsx", "../src/CheckboxWidget/CheckboxWidget.tsx", "../src/CheckboxesWidget/CheckboxesWidget.tsx", "../src/ColorWidget/ColorWidget.tsx", "../src/PasswordWidget/PasswordWidget.tsx", "../src/RadioWidget/RadioWidget.tsx", "../src/RangeWidget/RangeWidget.tsx", "../src/SelectWidget/SelectWidget.tsx", "../src/TextareaWidget/TextareaWidget.tsx", "../src/UpDownWidget/UpDownWidget.tsx", "../src/Widgets/Widgets.tsx", "../src/Theme/Theme.ts"],
|
|
4
|
-
"sourcesContent": ["import PrimeForm from './PrimeForm/PrimeForm';\n\nexport { default as Templates, generateTemplates } from './Templates';\nexport { default as Form, generateForm } from './PrimeForm';\nexport { default as Theme, generateTheme } from './Theme';\nexport { default as Widgets, generateWidgets } from './Widgets';\n\nexport default PrimeForm;\n", "import { ComponentType } from 'react';\nimport { withTheme, FormProps } from '@rjsf/core';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nimport { generateTheme } from '../Theme';\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\nexport default generateForm();\n", "import { Button } from 'primereact/button';\nimport { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\n/** The `AddButton` renders a button that represents the `Add` action on a form\n */\nexport default function AddButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n uiSchema,\n registry,\n color,\n ...props\n}: IconButtonProps<T, S, F>) {\n const { translateString } = registry;\n return (\n <Button\n label={translateString(TranslatableString.AddItemButton)}\n icon='pi pi-plus'\n outlined\n severity='secondary'\n size='small'\n {...props}\n />\n );\n}\n", "import {\n ArrayFieldItemTemplateProps,\n FormContextType,\n getTemplate,\n getUiOptions,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\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, displayLabel, hasToolbar, uiSchema, registry } = 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 return (\n <div style={{ position: 'relative' }}>\n {hasToolbar && (\n <div style={{ position: 'absolute', right: 0, top: displayLabel ? '24px' : 0 }}>\n {hasToolbar && (\n <div style={{ flexDirection: 'row' }}>\n <ArrayFieldItemButtonsTemplate {...buttonsProps} />\n </div>\n )}\n </div>\n )}\n {children}\n </div>\n );\n}\n", "import {\n getTemplate,\n getUiOptions,\n isFixedItems,\n ArrayFieldTemplateProps,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n buttonId,\n} from '@rjsf/utils';\nimport { Fieldset } from 'primereact/fieldset';\nimport AddButton from '../AddButton';\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 uiSchema,\n fieldPathId,\n canAdd,\n className,\n disabled,\n items,\n optionalDataControl,\n onAddClick,\n readonly,\n schema,\n title,\n registry,\n required,\n ...rest\n } = props;\n\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\n return (\n <>\n <ArrayFieldTitleTemplate\n fieldPathId={fieldPathId}\n title={uiOptions.title || title}\n schema={schema}\n uiSchema={uiSchema}\n required={required}\n registry={registry}\n optionalDataControl={showOptionalDataControlInTitle ? optionalDataControl : undefined}\n />\n <Fieldset\n {...rest}\n id={fieldPathId.$id}\n className={`${className}${isFixedItems<S>(schema) ? '' : ' sortable-form-fields'}`}\n >\n <ArrayFieldDescriptionTemplate\n fieldPathId={fieldPathId}\n description={uiOptions.description || schema.description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n <div key={`array-item-list-${fieldPathId.$id}`}>\n <div>\n {!showOptionalDataControlInTitle ? optionalDataControl : undefined}\n {items}\n </div>\n {canAdd && (\n <div\n style={{\n marginTop: '1rem',\n position: 'relative',\n textAlign: 'right',\n }}\n >\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-array-item-add'\n onClick={onAddClick}\n disabled={disabled || readonly}\n uiSchema={uiSchema}\n registry={registry}\n />\n </div>\n )}\n </div>\n </Fieldset>\n </>\n );\n}\n", "import { ChangeEvent } from 'react';\nimport {\n ariaDescribedByIds,\n BaseInputTemplateProps,\n examplesId,\n FormContextType,\n getInputProps,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\nimport { InputText } from 'primereact/inputtext';\n\n/** The `BaseInputTemplate` is the template the fallback if no widget is specified.\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 id,\n htmlName,\n placeholder,\n value,\n required,\n readonly,\n disabled,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n type,\n registry,\n rawErrors = [],\n } = props;\n\n const { AutoCompleteWidget } = registry.widgets;\n\n if (Array.isArray(schema.examples)) {\n return <AutoCompleteWidget {...props} />;\n }\n\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n const primeProps = (options.prime || {}) as object;\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLInputElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = () => onBlur && onBlur(id, value);\n const _onFocus = () => onFocus && onFocus(id, value);\n\n return (\n <InputText\n id={id}\n name={htmlName || id}\n placeholder={placeholder}\n {...primeProps}\n {...inputProps}\n required={required}\n autoFocus={autofocus}\n disabled={disabled || readonly}\n list={schema.examples ? examplesId(id) : undefined}\n value={value || value === 0 ? value : ''}\n invalid={rawErrors.length > 0}\n onChange={onChangeOverride || _onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\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 { Message } from 'primereact/message';\nimport { TimesCircleIcon } from 'primereact/icons/timescircle';\nimport { ErrorListProps, FormContextType, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\n/** The `ErrorList` component is the template that renders 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\n const content = (\n <div style={{ display: 'flex', flexDirection: 'column' }}>\n <div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', gap: '0.5rem' }}>\n <TimesCircleIcon style={{ width: '1.5rem', height: '1.5rem' }} />\n <div className='p-message-summary'>{translateString(TranslatableString.ErrorsLabel)}</div>\n </div>\n <ul className='p-message-list'>\n {errors.map((error, index) => (\n <li key={`error-${index}`}>{error.stack}</li>\n ))}\n </ul>\n </div>\n );\n\n return (\n <Message\n className='p-message'\n style={{\n borderStyle: 'solid',\n borderColor: '#ff5757',\n borderWidth: '0 0 0 6px',\n width: '100%',\n justifyContent: 'start',\n marginBottom: '1rem',\n }}\n severity='error'\n content={content}\n />\n );\n}\n", "import { Button, ButtonProps } from 'primereact/button';\nimport { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\nexport type PrimeIconButtonProps<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n> = IconButtonProps<T, S, F> & Omit<ButtonProps, 'onClick'>;\n\nexport default function IconButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: PrimeIconButtonProps<T, S, F>,\n) {\n const { icon, iconType, uiSchema, registry, ...otherProps } = props;\n return <Button icon={`pi pi-${icon}`} rounded text severity='secondary' {...otherProps} />;\n}\n\nexport function CopyButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: PrimeIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.CopyButton)} {...props} icon='copy' />;\n}\n\nexport function MoveDownButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: PrimeIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.MoveDownButton)} {...props} icon='angle-down' />;\n}\n\nexport function MoveUpButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: PrimeIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.MoveUpButton)} {...props} icon='angle-up' />;\n}\n\nexport function RemoveButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: PrimeIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.RemoveButton)} {...props} icon='trash' />;\n}\n", "import { errorId, FieldErrorProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { Message } from 'primereact/message';\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>({ errors, fieldPathId }: FieldErrorProps<T, S, F>) {\n if (errors && errors.length > 0) {\n const id = errorId(fieldPathId);\n const content = errors.map((error, i: number) => {\n return <div key={i}>{error}</div>;\n });\n\n return (\n <Message\n id={id}\n severity='error'\n style={{ justifyContent: 'left' }}\n text={content}\n pt={{ text: { style: { fontSize: 'smaller' } } }}\n />\n );\n }\n return null;\n}\n", "import { FieldHelpProps, FormContextType, RJSFSchema, StrictRJSFSchema, helpId } from '@rjsf/utils';\nimport { RichHelp } from '@rjsf/core';\n\n/** The `FieldHelpTemplate` component renders any help desired for a field\n *\n * @param props - The `FieldHelpProps` to be rendered\n */\nexport default function FieldHelpTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldHelpProps<T, S, F>) {\n const { fieldPathId, help, uiSchema, registry } = props;\n if (help) {\n return (\n <small id={helpId(fieldPathId)}>\n <RichHelp help={help} registry={registry} uiSchema={uiSchema} />\n </small>\n );\n }\n return null;\n}\n", "import {\n FieldTemplateProps,\n FormContextType,\n getTemplate,\n getUiOptions,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\n\nimport { Label } from '../util';\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 { children, errors, help, displayLabel, description, rawDescription, hidden, uiSchema, registry } = props;\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 style={{ display: 'none' }}>{children}</div>;\n }\n\n const isCheckbox = uiOptions.widget === 'checkbox';\n return (\n <WrapIfAdditionalTemplate {...props}>\n <div style={{ display: 'flex', flexDirection: 'column', gap: '0.5rem', marginBottom: '1rem' }}>\n {displayLabel && !isCheckbox && <Label id={props.id} text={props.label} required={props.required} />}\n {children}\n {displayLabel && rawDescription && !isCheckbox && <small>{description}</small>}\n {errors}\n {help}\n </div>\n </WrapIfAdditionalTemplate>\n );\n}\n", "export function Label({ id, text, required }: { id: string; text?: string; required?: boolean }) {\n if (!text) {\n return null;\n }\n\n return (\n <label htmlFor={id}>\n {text} {required ? '*' : ''}\n </label>\n );\n}\n", "import { FormContextType, MultiSchemaFieldTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { Fieldset } from 'primereact/fieldset';\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 { selector, optionSchemaField } = props;\n\n return (\n <Fieldset>\n <div style={{ marginBottom: '1rem' }}>{selector}</div>\n {optionSchemaField}\n </Fieldset>\n );\n}\n", "import {\n FormContextType,\n ObjectFieldTemplateProps,\n RJSFSchema,\n StrictRJSFSchema,\n canExpand,\n descriptionId,\n getTemplate,\n getUiOptions,\n titleId,\n buttonId,\n} from '@rjsf/utils';\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 optionalDataControl,\n onAddProperty,\n title,\n properties,\n disabled,\n readonly,\n required,\n uiSchema,\n schema,\n formData,\n fieldPathId,\n registry,\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 showOptionalDataControlInTitle = !readonly && !disabled;\n // Button templates are not overridden in the uiSchema\n const {\n ButtonTemplates: { AddButton },\n } = registry.templates;\n return (\n <>\n {title && (\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 )}\n {description && (\n <div style={{ marginBottom: '1rem' }}>\n <DescriptionFieldTemplate\n id={descriptionId(fieldPathId)}\n description={description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n </div>\n )}\n {!showOptionalDataControlInTitle ? optionalDataControl : undefined}\n {properties.map((prop) => prop.content)}\n {canExpand<T, S, F>(schema, uiSchema, formData) && (\n <div style={{ marginTop: '1rem', textAlign: 'right' }}>\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-object-property-expand'\n icon='pi pi-plus'\n onClick={onAddProperty}\n disabled={disabled || readonly}\n registry={registry}\n />\n </div>\n )}\n </>\n );\n}\n", "import { FormContextType, OptionalDataControlsTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nimport IconButton, { 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 <IconButton\n id={id}\n registry={registry}\n className='rjsf-add-optional-data'\n onClick={onAddClick}\n title={label}\n icon='pi pi-plus'\n style={{ height: '1.5rem', width: '1.5rem' }} // Shrink the button\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 style={{ height: '1.5rem', width: '1.5rem' }} // Shrink the button\n />\n );\n }\n return <em id={id}>{label}</em>;\n}\n", "import { Button } from 'primereact/button';\nimport { getSubmitButtonOptions, FormContextType, RJSFSchema, StrictRJSFSchema, SubmitButtonProps } from '@rjsf/utils';\n\n/** The `SubmitButton` renders a button that represents 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<T, S, F>(uiSchema);\n if (norender) {\n return null;\n }\n return <Button type='submit' label={submitText} {...submitButtonProps} />;\n}\n", "import { Divider } from 'primereact/divider';\nimport { FormContextType, getUiOptions, RJSFSchema, StrictRJSFSchema, TitleFieldProps, titleId } from '@rjsf/utils';\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 title,\n uiSchema,\n required,\n optionalDataControl,\n}: TitleFieldProps<T, S, F>) {\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n let heading = (\n <h5 style={{ margin: 0, fontSize: id === titleId('root') ? '1.5rem' : '1.2rem' }}>\n {uiOptions.title || title} {required ? '*' : ''}\n </h5>\n );\n if (optionalDataControl) {\n heading = (\n <div style={{ display: 'flex' }}>\n <div style={{ flexGrow: 1 }}>{heading}</div>\n <div style={{ marginLeft: '-5px' }}>{optionalDataControl}</div>\n </div>\n );\n }\n return (\n <div id={id}>\n {heading}\n <Divider pt={{ root: { style: { marginTop: '0.5rem' } } }} />\n </div>\n );\n}\n", "import {\n ADDITIONAL_PROPERTY_FLAG,\n buttonId,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n TranslatableString,\n WrapIfAdditionalTemplateProps,\n} from '@rjsf/utils';\nimport { InputText } from 'primereact/inputtext';\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>({\n classNames,\n style,\n children,\n disabled,\n displayLabel,\n id,\n label,\n onRemoveProperty,\n onKeyRenameBlur,\n rawDescription,\n readonly,\n required,\n schema,\n registry,\n}: WrapIfAdditionalTemplateProps<T, S, F>) {\n const { templates, translateString } = registry;\n const { RemoveButton } = templates.ButtonTemplates;\n const keyLabel = translateString(TranslatableString.KeyLabel, [label]);\n const additional = ADDITIONAL_PROPERTY_FLAG in schema;\n const hasDescription = !!rawDescription;\n const margin = hasDescription ? -8 : 12;\n\n if (!additional) {\n return (\n <div className={classNames} style={style}>\n {children}\n </div>\n );\n }\n\n return (\n <div\n className={classNames}\n style={{ ...style, display: 'flex', alignItems: 'flex-start', gap: '1rem' }}\n key={`${id}-key`}\n >\n <div style={{ flex: 1 }}>\n {displayLabel && (\n <label htmlFor={`${id}-key`} style={{ display: 'block', marginBottom: '0.5rem' }}>\n {keyLabel}\n </label>\n )}\n <InputText\n id={`${id}-key`}\n name={`${id}-key`}\n defaultValue={label}\n disabled={disabled || readonly}\n onBlur={!readonly ? onKeyRenameBlur : undefined}\n required={required}\n style={{ width: '100%' }}\n />\n </div>\n <div style={{ flex: 1 }}>{children}</div>\n <div style={displayLabel ? { alignSelf: 'center', marginTop: `${margin}px` } : undefined}>\n <RemoveButton\n id={buttonId(id, 'remove')}\n className='rjsf-object-property-remove'\n disabled={disabled || readonly}\n onClick={onRemoveProperty}\n registry={registry}\n />\n </div>\n </div>\n );\n}\n", "import {\n ArrayFieldTitleProps,\n FormContextType,\n getUiOptions,\n RJSFSchema,\n StrictRJSFSchema,\n titleId,\n} from '@rjsf/utils';\n\n/** The `ArrayFieldTitleTemplate` component renders a header for the array.\n *\n * @param props - The `ArrayFieldTitleProps` for the component\n */\nexport default function ArrayFieldTitleTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({ title, uiSchema, required, fieldPathId, optionalDataControl }: ArrayFieldTitleProps<T, S, F>) {\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n let heading = (\n <h5 id={titleId(fieldPathId)} style={{ margin: 0, fontSize: '1.5rem', marginBottom: '0.2rem' }}>\n {uiOptions.title || title} {required ? '*' : ''}\n </h5>\n );\n if (optionalDataControl) {\n heading = (\n <div style={{ display: 'flex' }}>\n <div style={{ flexGrow: 1 }}>{heading}</div>\n <div>{optionalDataControl}</div>\n </div>\n );\n }\n return heading;\n}\n", "import { useEffect, useState } from 'react';\nimport { GridTemplateProps } from '@rjsf/utils';\n\nconst breakpoints = {\n xs: 0,\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n};\n\ntype Breakpoint = keyof typeof breakpoints;\ntype ResponsiveSpan = Partial<Record<Breakpoint, number>>;\n\nfunction getBreakpoint(width: number): Breakpoint {\n if (width >= breakpoints.xl) {\n return 'xl';\n }\n if (width >= breakpoints.lg) {\n return 'lg';\n }\n if (width >= breakpoints.md) {\n return 'md';\n }\n if (width >= breakpoints.sm) {\n return 'sm';\n }\n return 'xs';\n}\n\nfunction getResponsiveSpan(spanDef: ResponsiveSpan, breakpoint: Breakpoint): number {\n return spanDef[breakpoint] ?? spanDef.xl ?? spanDef.lg ?? spanDef.md ?? spanDef.sm ?? spanDef.xs ?? 12;\n}\n\nfunction getInitialWidth(): number {\n return typeof window !== 'undefined' ? window.innerWidth : breakpoints.xs;\n}\n\n/** Renders a `GridTemplate`, which is expecting the column size for each viewport breakpoint (xs, sm, md, lg, xl)\n * coming in via the extra props provided by the caller.\n * Uses a 12 column grid by default. This can be overridden by passing `layoutGrid` in `uiSchema`.\n *\n * @param props - The GridTemplateProps, including the extra props containing the grid sizing details\n */\nexport default function GridTemplate(props: GridTemplateProps) {\n return props.column ? GridTemplateColumn(props) : GridTemplateRow(props);\n}\n\nfunction GridTemplateRow(props: GridTemplateProps) {\n const { children, column, uiSchema, style, ...rest } = props;\n const layoutGrid = uiSchema?.['ui:layoutGrid'] ?? {};\n const totalColumns = layoutGrid.columns ?? 12;\n const gap = layoutGrid.gap ?? '16px';\n\n return (\n <div\n style={{\n display: 'grid',\n gridTemplateColumns: `repeat(${totalColumns}, 1fr)`,\n alignItems: 'start',\n gap,\n ...(style ?? {}),\n }}\n {...rest}\n >\n {children}\n </div>\n );\n}\n\nfunction GridTemplateColumn(props: GridTemplateProps) {\n const { children, column, uiSchema, xs, sm, md, lg, xl, style, ...rest } = props;\n\n const [breakpoint, setBreakpoint] = useState<Breakpoint>(() => getBreakpoint(getInitialWidth()));\n\n useEffect(() => {\n if (typeof window === 'undefined') {\n return;\n }\n\n const handleResize = () => setBreakpoint(getBreakpoint(window.innerWidth));\n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n\n const span = getResponsiveSpan(props as ResponsiveSpan, breakpoint);\n\n return (\n <div style={{ gridColumn: `span ${span} / span ${span}`, ...(style ?? {}) }} {...rest}>\n {children}\n </div>\n );\n}\n", "import { FormContextType, RJSFSchema, StrictRJSFSchema, TemplatesType } from '@rjsf/utils';\n\nimport AddButton from '../AddButton';\nimport ArrayFieldItemTemplate from '../ArrayFieldItemTemplate';\nimport ArrayFieldTemplate from '../ArrayFieldTemplate';\nimport BaseInputTemplate from '../BaseInputTemplate';\nimport DescriptionField from '../DescriptionField';\nimport ErrorList from '../ErrorList';\nimport { CopyButton, MoveDownButton, MoveUpButton, RemoveButton } from '../IconButton';\nimport FieldErrorTemplate from '../FieldErrorTemplate';\nimport FieldHelpTemplate from '../FieldHelpTemplate';\nimport FieldTemplate from '../FieldTemplate';\nimport MultiSchemaFieldTemplate from '../MultiSchemaFieldTemplate';\nimport ObjectFieldTemplate from '../ObjectFieldTemplate';\nimport OptionalDataControlsTemplate from '../OptionalDataControlsTemplate';\nimport SubmitButton from '../SubmitButton';\nimport TitleField from '../TitleField';\nimport WrapIfAdditionalTemplate from '../WrapIfAdditionalTemplate';\nimport ArrayFieldTitleTemplate from '../ArrayFieldTitleTemplate';\nimport GridTemplate from '../GridTemplate';\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 ArrayFieldTitleTemplate,\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 FieldHelpTemplate,\n FieldTemplate,\n MultiSchemaFieldTemplate,\n ObjectFieldTemplate,\n OptionalDataControlsTemplate,\n TitleFieldTemplate: TitleField,\n WrapIfAdditionalTemplate,\n GridTemplate,\n };\n}\n\nexport default generateTemplates();\n", "import { ChangeEvent, useState } from 'react';\nimport {\n ariaDescribedByIds,\n FormContextType,\n getInputProps,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { AutoComplete, AutoCompleteCompleteEvent } from 'primereact/autocomplete';\n\n/** The `AutoCompleteWidget` is a widget for rendering a field with options.\n * This is used instead of the base input template if the schema has examples.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function AutoCompleteWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const {\n id,\n placeholder,\n value,\n required,\n readonly,\n disabled,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n type,\n rawErrors = [],\n } = props;\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n const primeProps = (options.prime || {}) as object;\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLInputElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = () => onBlur && onBlur(id, value);\n const _onFocus = () => onFocus && onFocus(id, value);\n\n const examples = (schema.examples as string[]).concat(\n schema.default && !(schema.examples as string[]).includes(schema.default.toString())\n ? [schema.default.toString()]\n : [],\n );\n\n const [items, setItems] = useState<string[]>([]);\n\n const search = (event: AutoCompleteCompleteEvent) => {\n setItems(examples.filter((example) => example.toString().toLowerCase().includes(event.query.toLowerCase())));\n };\n\n return (\n <AutoComplete\n id={id}\n name={id}\n placeholder={placeholder}\n {...primeProps}\n {...inputProps}\n loadingIcon={<></>}\n required={required}\n autoFocus={autofocus}\n disabled={disabled || readonly}\n suggestions={items}\n completeMethod={search}\n value={value || value === 0 ? value : ''}\n dropdown\n invalid={rawErrors.length > 0}\n onChange={(onChangeOverride as any) || _onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n /* Make autocomplete look like a dropdown, which looks much nicer */\n pt={{\n root: {\n className: 'p-dropdown',\n },\n input: {\n root: {\n style: { border: 'none' },\n },\n },\n dropdownButton: {\n root: {\n className: 'p-button-text p-button-secondary',\n },\n },\n }}\n />\n );\n}\n", "import {\n ariaDescribedByIds,\n descriptionId,\n getTemplate,\n labelValue,\n schemaRequiresTrueValue,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { Checkbox, CheckboxChangeEvent } from 'primereact/checkbox';\n\nimport { Label } from '../util';\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 {\n id,\n htmlName,\n value,\n disabled,\n readonly,\n label = '',\n hideLabel,\n autofocus,\n onChange,\n onBlur,\n options,\n onFocus,\n schema,\n uiSchema,\n registry,\n } = props;\n\n const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(\n 'DescriptionFieldTemplate',\n registry,\n options,\n );\n\n const required = schemaRequiresTrueValue<S>(schema);\n const checked = value === 'true' || value === true;\n const _onChange = (e: CheckboxChangeEvent) => onChange && onChange(e.checked);\n const _onBlur: React.FocusEventHandler<HTMLInputElement> = () => onBlur && onBlur(id, value);\n const _onFocus: React.FocusEventHandler<HTMLInputElement> = () => onFocus && onFocus(id, value);\n const description = options.description ?? schema.description;\n const primeProps = (options.prime || {}) as object;\n\n return (\n <>\n {!hideLabel && !!description && (\n <DescriptionFieldTemplate\n id={descriptionId(id)}\n description={description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n )}\n <div style={{ display: 'flex', flexDirection: 'row', gap: '0.5rem', alignItems: 'center' }}>\n <Checkbox\n inputId={id}\n name={htmlName || id}\n {...primeProps}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n checked={typeof value === 'undefined' ? false : checked}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n required={required}\n aria-describedby={ariaDescribedByIds(id)}\n />\n {labelValue(<Label id={id} text={label} />, hideLabel, false)}\n </div>\n </>\n );\n}\n", "import { Checkbox, CheckboxChangeEvent } from 'primereact/checkbox';\nimport {\n ariaDescribedByIds,\n enumOptionsDeselectValue,\n enumOptionsIsSelected,\n enumOptionsSelectValue,\n optionId,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n descriptionId,\n getTemplate,\n} from '@rjsf/utils';\n\nimport { Label } from '../util';\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>(props: WidgetProps<T, S, F>) {\n const {\n id,\n htmlName,\n disabled,\n options,\n value,\n autofocus,\n readonly,\n onChange,\n onBlur,\n onFocus,\n schema,\n uiSchema,\n registry,\n hideLabel,\n } = props;\n const { enumOptions, enumDisabled } = options;\n const primeProps = (options.prime || {}) as object;\n const checkboxesValues = Array.isArray(value) ? value : [value];\n\n const _onChange = (index: number) => (e: CheckboxChangeEvent) => {\n if (e.checked) {\n onChange(enumOptionsSelectValue<S>(index, checkboxesValues, enumOptions));\n } else {\n onChange(enumOptionsDeselectValue<S>(index, checkboxesValues, enumOptions));\n }\n };\n\n const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(\n 'DescriptionFieldTemplate',\n registry,\n options,\n );\n\n const _onBlur = () => onBlur(id, value);\n const _onFocus = () => onFocus(id, value);\n\n const description = options.description ?? schema.description;\n\n return (\n <div\n id={id}\n style={{ display: 'flex', flexDirection: 'column', gap: '1rem', marginTop: '0.5rem', marginBottom: '0.5rem' }}\n >\n {!hideLabel && !!description && (\n <DescriptionFieldTemplate\n id={descriptionId(id)}\n description={description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n )}\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, index) => {\n const checked = enumOptionsIsSelected<S>(option.value, checkboxesValues);\n const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1;\n return (\n <div key={index} style={{ display: 'flex', flexDirection: 'row', gap: '0.5rem', alignItems: 'center' }}>\n <Checkbox\n inputId={optionId(id, index)}\n name={htmlName || id}\n {...primeProps}\n value={option.value}\n checked={checked}\n disabled={disabled || itemDisabled || readonly}\n autoFocus={autofocus && index === 0}\n onChange={_onChange(index)}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id)}\n />\n <Label id={optionId(id, index)} text={option.label} />\n </div>\n );\n })}\n </div>\n );\n}\n", "import { ChangeEvent } from 'react';\nimport {\n ariaDescribedByIds,\n FormContextType,\n getInputProps,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { ColorPicker } from 'primereact/colorpicker';\n\n/** The `ColorWidget` component renders a color picker.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function ColorWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const {\n id,\n placeholder,\n value,\n required,\n readonly,\n disabled,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n type,\n } = props;\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n const { inline } = options;\n const primeProps = (options.prime || {}) as object;\n\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLInputElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = () => onBlur && onBlur(id, value);\n const _onFocus = () => onFocus && onFocus(id, value);\n\n return (\n <ColorPicker\n id={id}\n name={id}\n placeholder={placeholder}\n {...primeProps}\n {...inputProps}\n required={required}\n inline={inline}\n autoFocus={autofocus}\n disabled={disabled || readonly}\n value={value || ''}\n onChange={onChangeOverride || _onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n />\n );\n}\n", "import { ChangeEvent } from 'react';\nimport {\n ariaDescribedByIds,\n FormContextType,\n getInputProps,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { Password } from 'primereact/password';\n\n/** The `PasswordWidget` renders a `Password` component\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 {\n id,\n placeholder,\n value,\n required,\n readonly,\n disabled,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n type,\n rawErrors = [],\n } = props;\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n const primeProps = (options.prime || {}) as object;\n\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLInputElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = () => onBlur && onBlur(id, value);\n const _onFocus = () => onFocus && onFocus(id, value);\n\n return (\n <Password\n id={id}\n name={id}\n placeholder={placeholder}\n {...primeProps}\n {...inputProps}\n required={required}\n autoFocus={autofocus}\n disabled={disabled || readonly}\n value={value || ''}\n invalid={rawErrors.length > 0}\n onChange={onChangeOverride || _onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n pt={{ root: { style: { display: 'flex', flexDirection: 'column' } } }}\n />\n );\n}\n", "import {\n ariaDescribedByIds,\n enumOptionsIsSelected,\n enumOptionsValueForIndex,\n optionId,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { RadioButton, RadioButtonChangeEvent } from 'primereact/radiobutton';\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 props: WidgetProps<T, S, F>,\n) {\n const { id, htmlName, value, disabled, readonly, onChange, onBlur, onFocus, options } = props;\n const primeProps = (options.prime || {}) as object;\n const { enumOptions, enumDisabled, emptyValue } = options;\n\n const _onChange = (e: RadioButtonChangeEvent) => {\n onChange(enumOptionsValueForIndex<S>(e.value, enumOptions, emptyValue));\n };\n\n const _onBlur = () => onBlur(id, value);\n const _onFocus = () => onFocus(id, value);\n\n return (\n <div style={{ display: 'flex', flexDirection: 'row', gap: '1rem' }}>\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, index) => {\n const checked = enumOptionsIsSelected<S>(option.value, value);\n const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1;\n return (\n <div key={index} style={{ display: 'flex', alignItems: 'center' }}>\n <RadioButton\n inputId={optionId(id, index)}\n name={htmlName || id}\n {...primeProps}\n onFocus={_onFocus}\n onBlur={_onBlur}\n onChange={_onChange}\n value={String(index)}\n checked={checked}\n disabled={disabled || itemDisabled || readonly}\n aria-describedby={ariaDescribedByIds(id)}\n />\n <label htmlFor={optionId(id, index)} style={{ marginLeft: '8px' }}>\n {option.label}\n </label>\n </div>\n );\n })}\n </div>\n );\n}\n", "import { FocusEvent } from 'react';\nimport { Slider, SliderChangeEvent } from 'primereact/slider';\nimport { ariaDescribedByIds, FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps, rangeSpec } from '@rjsf/utils';\n\n/** The `RangeWidget` component uses the `Slider` from PrimeReact, wrapping the result\n * in a div, with the value alongside 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 { value, readonly, disabled, onBlur, onFocus, options, schema, onChange, id } = props;\n const primeProps = (options.prime || {}) as object;\n const sliderProps = { value, id, ...rangeSpec<S>(schema) };\n\n const _onChange = (e: SliderChangeEvent) => {\n onChange(e.value ?? options.emptyValue);\n };\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.value);\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.value);\n\n return (\n <>\n <Slider\n {...primeProps}\n disabled={disabled || readonly}\n onMouseDown={(e) => e.stopPropagation()}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n {...sliderProps}\n aria-describedby={ariaDescribedByIds(id)}\n />\n </>\n );\n}\n", "import { FocusEvent } from 'react';\nimport { Dropdown } from 'primereact/dropdown';\nimport {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { MultiSelect } from 'primereact/multiselect';\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<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const { multiple = false } = props;\n\n return multiple ? <MultiSelectWidget {...props} /> : <SingleSelectWidget {...props} />;\n}\n\nfunction SingleSelectWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n schema,\n id,\n htmlName,\n name, // remove this from dropdownProps\n options,\n label,\n hideLabel,\n required,\n disabled,\n placeholder,\n readonly,\n value,\n multiple,\n autofocus,\n onChange,\n onBlur,\n onFocus,\n errorSchema,\n rawErrors = [],\n registry,\n uiSchema,\n hideError,\n ...dropdownProps\n}: WidgetProps<T, S, F>) {\n const { enumOptions, enumDisabled, emptyValue: optEmptyVal } = options;\n const primeProps = (options.prime || {}) as object;\n\n multiple = typeof multiple === 'undefined' ? false : multiple;\n\n const emptyValue = multiple ? [] : '';\n const isEmpty = typeof value === 'undefined' || (multiple && value.length < 1) || (!multiple && value === emptyValue);\n\n const _onChange = (e: { value: any }) => onChange(enumOptionsValueForIndex<S>(e.value, enumOptions, optEmptyVal));\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, optEmptyVal));\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, optEmptyVal));\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions, multiple);\n const { ...dropdownRemainingProps } = dropdownProps;\n\n return (\n <Dropdown\n id={id}\n name={htmlName || id}\n {...primeProps}\n value={!isEmpty && typeof selectedIndexes !== 'undefined' ? selectedIndexes : emptyValue}\n options={(enumOptions ?? []).map(({ value, label }, i: number) => ({\n label,\n value: String(i),\n disabled: Array.isArray(enumDisabled) && enumDisabled.indexOf(value) !== -1,\n }))}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n placeholder={placeholder}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n aria-describedby={ariaDescribedByIds(id)}\n {...dropdownRemainingProps}\n />\n );\n}\n\nfunction MultiSelectWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n id,\n htmlName,\n options,\n disabled,\n placeholder,\n readonly,\n value,\n multiple = false,\n autofocus,\n onChange,\n onBlur,\n onFocus,\n}: WidgetProps<T, S, F>) {\n const { enumOptions, enumDisabled, emptyValue: optEmptyVal } = options;\n const primeProps = (options.prime || {}) as object;\n\n const emptyValue = multiple ? [] : '';\n const isEmpty = typeof value === 'undefined' || (multiple && value.length < 1) || (!multiple && value === emptyValue);\n\n const _onChange = (e: { value: any }) => onChange(enumOptionsValueForIndex<S>(e.value, enumOptions, optEmptyVal));\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, optEmptyVal));\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, optEmptyVal));\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions, multiple);\n\n return (\n <MultiSelect\n id={id}\n name={htmlName || id}\n {...primeProps}\n value={!isEmpty && typeof selectedIndexes !== 'undefined' ? selectedIndexes : emptyValue}\n options={(enumOptions ?? []).map(({ value, label }, i: number) => ({\n label,\n value: String(i),\n disabled: Array.isArray(enumDisabled) && enumDisabled.indexOf(value) !== -1,\n }))}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n placeholder={placeholder}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n display={options.display === 'chip' ? 'chip' : 'comma'}\n aria-describedby={ariaDescribedByIds(id)}\n pt={{ root: { style: { position: 'relative' } } }}\n />\n );\n}\n", "import { ChangeEvent } from 'react';\nimport { InputTextarea } from 'primereact/inputtextarea';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';\n\n/** The `TextareaWidget` is a widget for rendering input fields as textarea using PrimeReact.\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>(props: WidgetProps<T, S, F>) {\n const { id, htmlName, value, required, disabled, readonly, autofocus, onChange, onBlur, onFocus, options } = props;\n const primeProps = (options.prime || {}) as object;\n\n let rows = 5;\n // noinspection SuspiciousTypeOfGuard\n if (typeof options.rows === 'string' || typeof options.rows === 'number') {\n rows = Number(options.rows);\n }\n\n const handleChange = (event: ChangeEvent<HTMLTextAreaElement>) => {\n onChange(event.target.value === '' ? options.emptyValue : event.target.value);\n };\n\n return (\n <InputTextarea\n id={id}\n name={htmlName || id}\n {...primeProps}\n value={value || ''}\n required={required}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n rows={rows}\n onChange={handleChange}\n onBlur={onBlur && ((event) => onBlur(id, event.target.value))}\n onFocus={onFocus && ((event) => onFocus(id, event.target.value))}\n />\n );\n}\n", "import {\n ariaDescribedByIds,\n FormContextType,\n getInputProps,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { InputNumber, InputNumberChangeEvent } from 'primereact/inputnumber';\n\n/** The `UpDownWidget` renders an input component for a number.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function UpDownWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const {\n id,\n placeholder,\n value,\n required,\n readonly,\n disabled,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n type,\n rawErrors = [],\n } = props;\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n const { showButtons, buttonLayout, useGrouping, minFractionDigits, maxFractionDigits, locale, currency } = options;\n const primeProps = (options.prime || {}) as object;\n\n const _onChange = (event: InputNumberChangeEvent) => onChange(event.value === null ? options.emptyValue : value);\n const _onBlur = () => onBlur && onBlur(id, value);\n const _onFocus = () => onFocus && onFocus(id, value);\n\n return (\n <InputNumber\n id={id}\n name={id}\n {...primeProps}\n placeholder={placeholder}\n step={isNaN(Number(inputProps.step)) ? 1 : Number(inputProps.step)}\n required={required}\n autoFocus={autofocus}\n disabled={disabled || readonly}\n style={buttonLayout === 'vertical' ? { width: '4em' } : {}}\n showButtons={typeof showButtons === 'undefined' ? true : !!showButtons}\n buttonLayout={(buttonLayout as any) ?? 'stacked'}\n useGrouping={!!useGrouping}\n minFractionDigits={minFractionDigits as number}\n maxFractionDigits={maxFractionDigits as number}\n locale={locale as string}\n mode={currency ? 'currency' : 'decimal'}\n currency={currency as string}\n value={isNaN(Number(value)) ? null : Number(value)}\n invalid={rawErrors.length > 0}\n onChange={(onChangeOverride as any) || _onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n />\n );\n}\n", "import { FormContextType, RegistryWidgetsType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nimport AutoCompleteWidget from '../AutoCompleteWidget/AutoCompleteWidget';\nimport CheckboxWidget from '../CheckboxWidget/CheckboxWidget';\nimport CheckboxesWidget from '../CheckboxesWidget/CheckboxesWidget';\nimport ColorWidget from '../ColorWidget/ColorWidget';\nimport PasswordWidget from '../PasswordWidget/PasswordWidget';\nimport RadioWidget from '../RadioWidget/RadioWidget';\nimport RangeWidget from '../RangeWidget/RangeWidget';\nimport SelectWidget from '../SelectWidget/SelectWidget';\nimport TextareaWidget from '../TextareaWidget/TextareaWidget';\nimport UpDownWidget from '../UpDownWidget/UpDownWidget';\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 AutoCompleteWidget,\n CheckboxWidget,\n CheckboxesWidget,\n ColorWidget,\n PasswordWidget,\n RadioWidget,\n RangeWidget,\n SelectWidget,\n TextareaWidget,\n UpDownWidget,\n };\n}\n\nexport default generateWidgets();\n", "import { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { ThemeProps } from '@rjsf/core';\n\nimport { generateTemplates } from '../Templates';\nimport { 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\nexport default generateTheme();\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,IAAAA,eAAqC;;;ACDrC,oBAAuB;AACvB,mBAAmG;AAY/F;AARW,SAAR,UAA8G;AAAA,EACnH;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAA6B;AAC3B,QAAM,EAAE,gBAAgB,IAAI;AAC5B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO,gBAAgB,gC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AAmB,cAAuB,CAAC;AACpD;AAEA,IAAO,oBAAQ,aAAa;;;ADP5B,IAAO,gBAAQ;",
|
|
6
|
-
"names": ["import_core", "import_utils", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "ArrayFieldTitleTemplate", "import_utils", "import_jsx_runtime", "AutoCompleteWidget", "value", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "import_button", "import_utils", "import_jsx_runtime", "import_utils", "import_message", "import_jsx_runtime", "import_utils", "import_core", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "import_jsx_runtime", "WrapIfAdditionalTemplate", "import_fieldset", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "AddButton", "import_jsx_runtime", "import_button", "import_utils", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "import_utils", "import_inputtext", "import_jsx_runtime", "RemoveButton", "import_utils", "import_jsx_runtime", "import_jsx_runtime", "import_react", "import_utils", "import_jsx_runtime", "value", "import_utils", "import_jsx_runtime", "import_checkbox", "import_utils", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "value", "import_utils", "import_jsx_runtime", "value", "import_utils", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "value", "label", "import_jsx_runtime", "import_utils", "import_jsx_runtime"]
|
|
4
|
+
"sourcesContent": ["import PrimeForm from './PrimeForm/PrimeForm';\n\nexport { default as Templates, generateTemplates } from './Templates';\nexport { default as Form, generateForm } from './PrimeForm';\nexport { default as Theme, generateTheme } from './Theme';\nexport { default as Widgets, generateWidgets } from './Widgets';\n\nexport default PrimeForm;\n", "import { ComponentType } from 'react';\nimport { withTheme, FormProps } from '@rjsf/core';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nimport { generateTheme } from '../Theme';\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\nexport default generateForm();\n", "import { Button } from 'primereact/button';\nimport { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\n/** The `AddButton` renders a button that represents the `Add` action on a form\n */\nexport default function AddButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n uiSchema,\n registry,\n color,\n ...props\n}: IconButtonProps<T, S, F>) {\n const { translateString } = registry;\n return (\n <Button\n label={translateString(TranslatableString.AddItemButton)}\n icon='pi pi-plus'\n outlined\n severity='secondary'\n size='small'\n {...props}\n />\n );\n}\n", "import {\n ArrayFieldItemTemplateProps,\n FormContextType,\n getTemplate,\n getUiOptions,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\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, displayLabel, hasToolbar, uiSchema, registry } = 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 return (\n <div style={{ position: 'relative' }}>\n {hasToolbar && (\n <div style={{ position: 'absolute', right: 0, top: displayLabel ? '24px' : 0 }}>\n {hasToolbar && (\n <div style={{ flexDirection: 'row' }}>\n <ArrayFieldItemButtonsTemplate {...buttonsProps} />\n </div>\n )}\n </div>\n )}\n {children}\n </div>\n );\n}\n", "import {\n getTemplate,\n getUiOptions,\n isFixedItems,\n ArrayFieldTemplateProps,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n buttonId,\n} from '@rjsf/utils';\nimport { Fieldset } from 'primereact/fieldset';\nimport AddButton from '../AddButton';\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 uiSchema,\n fieldPathId,\n canAdd,\n className,\n disabled,\n items,\n optionalDataControl,\n onAddClick,\n readonly,\n schema,\n title,\n registry,\n required,\n // Destructure the following props out so that they aren't put into the DOM\n formData,\n rawErrors,\n ...rest\n } = props;\n\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\n return (\n <>\n <ArrayFieldTitleTemplate\n fieldPathId={fieldPathId}\n title={uiOptions.title || title}\n schema={schema}\n uiSchema={uiSchema}\n required={required}\n registry={registry}\n optionalDataControl={showOptionalDataControlInTitle ? optionalDataControl : undefined}\n />\n <Fieldset\n {...rest}\n id={fieldPathId.$id}\n className={`${className}${isFixedItems<S>(schema) ? '' : ' sortable-form-fields'}`}\n >\n <ArrayFieldDescriptionTemplate\n fieldPathId={fieldPathId}\n description={uiOptions.description || schema.description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n <div key={`array-item-list-${fieldPathId.$id}`}>\n <div>\n {!showOptionalDataControlInTitle ? optionalDataControl : undefined}\n {items}\n </div>\n {canAdd && (\n <div\n style={{\n marginTop: '1rem',\n position: 'relative',\n textAlign: 'right',\n }}\n >\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-array-item-add'\n onClick={onAddClick}\n disabled={disabled || readonly}\n uiSchema={uiSchema}\n registry={registry}\n />\n </div>\n )}\n </div>\n </Fieldset>\n </>\n );\n}\n", "import { ChangeEvent, MouseEvent, useCallback } from 'react';\nimport {\n ariaDescribedByIds,\n BaseInputTemplateProps,\n examplesId,\n FormContextType,\n getInputProps,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\nimport { InputText } from 'primereact/inputtext';\n\n/** The `BaseInputTemplate` is the template the fallback if no widget is specified.\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 id,\n htmlName,\n placeholder,\n value,\n required,\n readonly,\n disabled,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n type,\n registry,\n rawErrors = [],\n } = props;\n\n const { ClearButton } = registry.templates.ButtonTemplates;\n const { AutoCompleteWidget } = registry.widgets;\n\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n const primeProps = (options.prime || {}) as object;\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLInputElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = () => onBlur && onBlur(id, value);\n const _onFocus = () => onFocus && onFocus(id, value);\n const _onClear = useCallback(\n (e: MouseEvent) => {\n e.preventDefault();\n e.stopPropagation();\n onChange(options.emptyValue ?? '');\n },\n [onChange, options.emptyValue],\n );\n\n if (Array.isArray(schema.examples)) {\n return <AutoCompleteWidget {...props} />;\n }\n\n return (\n <>\n <InputText\n id={id}\n name={htmlName || id}\n placeholder={placeholder}\n {...primeProps}\n {...inputProps}\n required={required}\n autoFocus={autofocus}\n disabled={disabled || readonly}\n list={schema.examples ? examplesId(id) : undefined}\n value={value || value === 0 ? value : ''}\n invalid={rawErrors.length > 0}\n onChange={onChangeOverride || _onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n />\n {options.allowClearTextInputs && !readonly && !disabled && value && (\n <ClearButton registry={registry} onClick={_onClear} />\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 { Message } from 'primereact/message';\nimport { TimesCircleIcon } from 'primereact/icons/timescircle';\nimport { ErrorListProps, FormContextType, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\n/** The `ErrorList` component is the template that renders 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\n const content = (\n <div style={{ display: 'flex', flexDirection: 'column' }}>\n <div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', gap: '0.5rem' }}>\n <TimesCircleIcon style={{ width: '1.5rem', height: '1.5rem' }} />\n <div className='p-message-summary'>{translateString(TranslatableString.ErrorsLabel)}</div>\n </div>\n <ul className='p-message-list'>\n {errors.map((error, index) => (\n <li key={`error-${index}`}>{error.stack}</li>\n ))}\n </ul>\n </div>\n );\n\n return (\n <Message\n className='p-message'\n style={{\n borderStyle: 'solid',\n borderColor: '#ff5757',\n borderWidth: '0 0 0 6px',\n width: '100%',\n justifyContent: 'start',\n marginBottom: '1rem',\n }}\n severity='error'\n content={content}\n />\n );\n}\n", "import { Button, ButtonProps } from 'primereact/button';\nimport { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils';\n\nexport type PrimeIconButtonProps<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n> = IconButtonProps<T, S, F> & Omit<ButtonProps, 'onClick'>;\n\nexport default function IconButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: PrimeIconButtonProps<T, S, F>,\n) {\n const { icon, iconType, uiSchema, registry, ...otherProps } = props;\n return <Button icon={`pi pi-${icon}`} rounded text severity='secondary' {...otherProps} />;\n}\n\nexport function CopyButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: PrimeIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.CopyButton)} {...props} icon='copy' />;\n}\n\nexport function MoveDownButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: PrimeIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.MoveDownButton)} {...props} icon='angle-down' />;\n}\n\nexport function MoveUpButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: PrimeIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.MoveUpButton)} {...props} icon='angle-up' />;\n}\n\nexport function RemoveButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: PrimeIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.RemoveButton)} {...props} icon='trash' />;\n}\n\nexport function ClearButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: PrimeIconButtonProps<T, S, F>,\n) {\n const {\n registry: { translateString },\n } = props;\n return <IconButton title={translateString(TranslatableString.ClearButton)} {...props} icon='times' />;\n}\n", "import { errorId, FieldErrorProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { Message } from 'primereact/message';\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>({ errors, fieldPathId }: FieldErrorProps<T, S, F>) {\n if (errors && errors.length > 0) {\n const id = errorId(fieldPathId);\n const content = errors.map((error, i: number) => {\n return <div key={i}>{error}</div>;\n });\n\n return (\n <Message\n id={id}\n severity='error'\n style={{ justifyContent: 'left' }}\n text={content}\n pt={{ text: { style: { fontSize: 'smaller' } } }}\n />\n );\n }\n return null;\n}\n", "import { FieldHelpProps, FormContextType, RJSFSchema, StrictRJSFSchema, helpId } from '@rjsf/utils';\nimport { RichHelp } from '@rjsf/core';\n\n/** The `FieldHelpTemplate` component renders any help desired for a field\n *\n * @param props - The `FieldHelpProps` to be rendered\n */\nexport default function FieldHelpTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: FieldHelpProps<T, S, F>) {\n const { fieldPathId, help, uiSchema, registry } = props;\n if (help) {\n return (\n <small id={helpId(fieldPathId)}>\n <RichHelp help={help} registry={registry} uiSchema={uiSchema} />\n </small>\n );\n }\n return null;\n}\n", "import {\n FieldTemplateProps,\n FormContextType,\n getTemplate,\n getUiOptions,\n RJSFSchema,\n StrictRJSFSchema,\n} from '@rjsf/utils';\n\nimport { Label } from '../util';\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 { children, errors, help, displayLabel, description, rawDescription, hidden, uiSchema, registry } = props;\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 style={{ display: 'none' }}>{children}</div>;\n }\n\n const isCheckbox = uiOptions.widget === 'checkbox';\n return (\n <WrapIfAdditionalTemplate {...props}>\n <div style={{ display: 'flex', flexDirection: 'column', gap: '0.5rem', marginBottom: '1rem' }}>\n {displayLabel && !isCheckbox && <Label id={props.id} text={props.label} required={props.required} />}\n {children}\n {displayLabel && rawDescription && !isCheckbox && <small>{description}</small>}\n {errors}\n {help}\n </div>\n </WrapIfAdditionalTemplate>\n );\n}\n", "export function Label({ id, text, required }: { id: string; text?: string; required?: boolean }) {\n if (!text) {\n return null;\n }\n\n return (\n <label htmlFor={id}>\n {text} {required ? '*' : ''}\n </label>\n );\n}\n", "import { FormContextType, MultiSchemaFieldTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { Fieldset } from 'primereact/fieldset';\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 { selector, optionSchemaField } = props;\n\n return (\n <Fieldset>\n <div style={{ marginBottom: '1rem' }}>{selector}</div>\n {optionSchemaField}\n </Fieldset>\n );\n}\n", "import {\n FormContextType,\n ObjectFieldTemplateProps,\n RJSFSchema,\n StrictRJSFSchema,\n canExpand,\n descriptionId,\n getTemplate,\n getUiOptions,\n titleId,\n buttonId,\n} from '@rjsf/utils';\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 optionalDataControl,\n onAddProperty,\n title,\n properties,\n disabled,\n readonly,\n required,\n uiSchema,\n schema,\n formData,\n fieldPathId,\n registry,\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 showOptionalDataControlInTitle = !readonly && !disabled;\n // Button templates are not overridden in the uiSchema\n const {\n ButtonTemplates: { AddButton },\n } = registry.templates;\n return (\n <>\n {title && (\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 )}\n {description && (\n <div style={{ marginBottom: '1rem' }}>\n <DescriptionFieldTemplate\n id={descriptionId(fieldPathId)}\n description={description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n </div>\n )}\n {!showOptionalDataControlInTitle ? optionalDataControl : undefined}\n {properties.map((prop) => prop.content)}\n {canExpand<T, S, F>(schema, uiSchema, formData) && (\n <div style={{ marginTop: '1rem', textAlign: 'right' }}>\n <AddButton\n id={buttonId(fieldPathId, 'add')}\n className='rjsf-object-property-expand'\n icon='pi pi-plus'\n onClick={onAddProperty}\n disabled={disabled || readonly}\n registry={registry}\n />\n </div>\n )}\n </>\n );\n}\n", "import { FormContextType, OptionalDataControlsTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nimport IconButton, { 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 <IconButton\n id={id}\n registry={registry}\n className='rjsf-add-optional-data'\n onClick={onAddClick}\n title={label}\n icon='pi pi-plus'\n style={{ height: '1.5rem', width: '1.5rem' }} // Shrink the button\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 style={{ height: '1.5rem', width: '1.5rem' }} // Shrink the button\n />\n );\n }\n return <em id={id}>{label}</em>;\n}\n", "import { Button } from 'primereact/button';\nimport { getSubmitButtonOptions, FormContextType, RJSFSchema, StrictRJSFSchema, SubmitButtonProps } from '@rjsf/utils';\n\n/** The `SubmitButton` renders a button that represents 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<T, S, F>(uiSchema);\n if (norender) {\n return null;\n }\n return <Button type='submit' label={submitText} {...submitButtonProps} />;\n}\n", "import { Divider } from 'primereact/divider';\nimport { FormContextType, getUiOptions, RJSFSchema, StrictRJSFSchema, TitleFieldProps, titleId } from '@rjsf/utils';\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 title,\n uiSchema,\n required,\n optionalDataControl,\n}: TitleFieldProps<T, S, F>) {\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n let heading = (\n <h5 style={{ margin: 0, fontSize: id === titleId('root') ? '1.5rem' : '1.2rem' }}>\n {uiOptions.title || title} {required ? '*' : ''}\n </h5>\n );\n if (optionalDataControl) {\n heading = (\n <div style={{ display: 'flex' }}>\n <div style={{ flexGrow: 1 }}>{heading}</div>\n <div style={{ marginLeft: '-5px' }}>{optionalDataControl}</div>\n </div>\n );\n }\n return (\n <div id={id}>\n {heading}\n <Divider pt={{ root: { style: { marginTop: '0.5rem' } } }} />\n </div>\n );\n}\n", "import {\n ADDITIONAL_PROPERTY_FLAG,\n buttonId,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n TranslatableString,\n WrapIfAdditionalTemplateProps,\n} from '@rjsf/utils';\nimport { InputText } from 'primereact/inputtext';\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>({\n classNames,\n style,\n children,\n disabled,\n displayLabel,\n id,\n label,\n onRemoveProperty,\n onKeyRenameBlur,\n rawDescription,\n readonly,\n required,\n schema,\n registry,\n}: WrapIfAdditionalTemplateProps<T, S, F>) {\n const { templates, translateString } = registry;\n const { RemoveButton } = templates.ButtonTemplates;\n const keyLabel = translateString(TranslatableString.KeyLabel, [label]);\n const additional = ADDITIONAL_PROPERTY_FLAG in schema;\n const hasDescription = !!rawDescription;\n const margin = hasDescription ? -8 : 12;\n\n if (!additional) {\n return (\n <div className={classNames} style={style}>\n {children}\n </div>\n );\n }\n\n return (\n <div\n className={classNames}\n style={{ ...style, display: 'flex', alignItems: 'flex-start', gap: '1rem' }}\n key={`${id}-key`}\n >\n <div style={{ flex: 1 }}>\n {displayLabel && (\n <label htmlFor={`${id}-key`} style={{ display: 'block', marginBottom: '0.5rem' }}>\n {keyLabel}\n </label>\n )}\n <InputText\n id={`${id}-key`}\n name={`${id}-key`}\n defaultValue={label}\n disabled={disabled || readonly}\n onBlur={!readonly ? onKeyRenameBlur : undefined}\n required={required}\n style={{ width: '100%' }}\n />\n </div>\n <div style={{ flex: 1 }}>{children}</div>\n <div style={displayLabel ? { alignSelf: 'center', marginTop: `${margin}px` } : undefined}>\n <RemoveButton\n id={buttonId(id, 'remove')}\n className='rjsf-object-property-remove'\n disabled={disabled || readonly}\n onClick={onRemoveProperty}\n registry={registry}\n />\n </div>\n </div>\n );\n}\n", "import {\n ArrayFieldTitleProps,\n FormContextType,\n getUiOptions,\n RJSFSchema,\n StrictRJSFSchema,\n titleId,\n} from '@rjsf/utils';\n\n/** The `ArrayFieldTitleTemplate` component renders a header for the array.\n *\n * @param props - The `ArrayFieldTitleProps` for the component\n */\nexport default function ArrayFieldTitleTemplate<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>({ title, uiSchema, required, fieldPathId, optionalDataControl }: ArrayFieldTitleProps<T, S, F>) {\n const uiOptions = getUiOptions<T, S, F>(uiSchema);\n let heading = (\n <h5 id={titleId(fieldPathId)} style={{ margin: 0, fontSize: '1.5rem', marginBottom: '0.2rem' }}>\n {uiOptions.title || title} {required ? '*' : ''}\n </h5>\n );\n if (optionalDataControl) {\n heading = (\n <div style={{ display: 'flex' }}>\n <div style={{ flexGrow: 1 }}>{heading}</div>\n <div>{optionalDataControl}</div>\n </div>\n );\n }\n return heading;\n}\n", "import { useEffect, useState } from 'react';\nimport { GridTemplateProps } from '@rjsf/utils';\n\nconst breakpoints = {\n xs: 0,\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n};\n\ntype Breakpoint = keyof typeof breakpoints;\ntype ResponsiveSpan = Partial<Record<Breakpoint, number>>;\n\nfunction getBreakpoint(width: number): Breakpoint {\n if (width >= breakpoints.xl) {\n return 'xl';\n }\n if (width >= breakpoints.lg) {\n return 'lg';\n }\n if (width >= breakpoints.md) {\n return 'md';\n }\n if (width >= breakpoints.sm) {\n return 'sm';\n }\n return 'xs';\n}\n\nfunction getResponsiveSpan(spanDef: ResponsiveSpan, breakpoint: Breakpoint): number {\n return spanDef[breakpoint] ?? spanDef.xl ?? spanDef.lg ?? spanDef.md ?? spanDef.sm ?? spanDef.xs ?? 12;\n}\n\nfunction getInitialWidth(): number {\n return typeof window !== 'undefined' ? window.innerWidth : breakpoints.xs;\n}\n\n/** Renders a `GridTemplate`, which is expecting the column size for each viewport breakpoint (xs, sm, md, lg, xl)\n * coming in via the extra props provided by the caller.\n * Uses a 12 column grid by default. This can be overridden by passing `layoutGrid` in `uiSchema`.\n *\n * @param props - The GridTemplateProps, including the extra props containing the grid sizing details\n */\nexport default function GridTemplate(props: GridTemplateProps) {\n return props.column ? GridTemplateColumn(props) : GridTemplateRow(props);\n}\n\nfunction GridTemplateRow(props: GridTemplateProps) {\n const { children, column, uiSchema, style, ...rest } = props;\n const layoutGrid = uiSchema?.['ui:layoutGrid'] ?? {};\n const totalColumns = layoutGrid.columns ?? 12;\n const gap = layoutGrid.gap ?? '16px';\n\n return (\n <div\n style={{\n display: 'grid',\n gridTemplateColumns: `repeat(${totalColumns}, 1fr)`,\n alignItems: 'start',\n gap,\n ...(style ?? {}),\n }}\n {...rest}\n >\n {children}\n </div>\n );\n}\n\nfunction GridTemplateColumn(props: GridTemplateProps) {\n const { children, column, uiSchema, xs, sm, md, lg, xl, style, ...rest } = props;\n\n const [breakpoint, setBreakpoint] = useState<Breakpoint>(() => getBreakpoint(getInitialWidth()));\n\n useEffect(() => {\n if (typeof window === 'undefined') {\n return;\n }\n\n const handleResize = () => setBreakpoint(getBreakpoint(window.innerWidth));\n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n\n const span = getResponsiveSpan(props as ResponsiveSpan, breakpoint);\n\n return (\n <div style={{ gridColumn: `span ${span} / span ${span}`, ...(style ?? {}) }} {...rest}>\n {children}\n </div>\n );\n}\n", "import { FormContextType, RJSFSchema, StrictRJSFSchema, TemplatesType } from '@rjsf/utils';\n\nimport AddButton from '../AddButton';\nimport ArrayFieldItemTemplate from '../ArrayFieldItemTemplate';\nimport ArrayFieldTemplate from '../ArrayFieldTemplate';\nimport BaseInputTemplate from '../BaseInputTemplate';\nimport DescriptionField from '../DescriptionField';\nimport ErrorList from '../ErrorList';\nimport { CopyButton, MoveDownButton, MoveUpButton, RemoveButton, ClearButton } from '../IconButton';\nimport FieldErrorTemplate from '../FieldErrorTemplate';\nimport FieldHelpTemplate from '../FieldHelpTemplate';\nimport FieldTemplate from '../FieldTemplate';\nimport MultiSchemaFieldTemplate from '../MultiSchemaFieldTemplate';\nimport ObjectFieldTemplate from '../ObjectFieldTemplate';\nimport OptionalDataControlsTemplate from '../OptionalDataControlsTemplate';\nimport SubmitButton from '../SubmitButton';\nimport TitleField from '../TitleField';\nimport WrapIfAdditionalTemplate from '../WrapIfAdditionalTemplate';\nimport ArrayFieldTitleTemplate from '../ArrayFieldTitleTemplate';\nimport GridTemplate from '../GridTemplate';\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 ArrayFieldTitleTemplate,\n BaseInputTemplate,\n ButtonTemplates: {\n AddButton,\n CopyButton,\n MoveDownButton,\n MoveUpButton,\n RemoveButton,\n SubmitButton,\n ClearButton,\n },\n DescriptionFieldTemplate: DescriptionField,\n ErrorListTemplate: ErrorList,\n FieldErrorTemplate,\n FieldHelpTemplate,\n FieldTemplate,\n MultiSchemaFieldTemplate,\n ObjectFieldTemplate,\n OptionalDataControlsTemplate,\n TitleFieldTemplate: TitleField,\n WrapIfAdditionalTemplate,\n GridTemplate,\n };\n}\n\nexport default generateTemplates();\n", "import { ChangeEvent, useState } from 'react';\nimport {\n ariaDescribedByIds,\n FormContextType,\n getInputProps,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { AutoComplete, AutoCompleteCompleteEvent } from 'primereact/autocomplete';\n\n/** The `AutoCompleteWidget` is a widget for rendering a field with options.\n * This is used instead of the base input template if the schema has examples.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function AutoCompleteWidget<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(props: WidgetProps<T, S, F>) {\n const {\n id,\n placeholder,\n value,\n required,\n readonly,\n disabled,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n type,\n rawErrors = [],\n } = props;\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n const primeProps = (options.prime || {}) as object;\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLInputElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = () => onBlur && onBlur(id, value);\n const _onFocus = () => onFocus && onFocus(id, value);\n\n const examples = (schema.examples as string[]).concat(\n schema.default && !(schema.examples as string[]).includes(schema.default.toString())\n ? [schema.default.toString()]\n : [],\n );\n\n const [items, setItems] = useState<string[]>([]);\n\n const search = (event: AutoCompleteCompleteEvent) => {\n setItems(examples.filter((example) => example.toString().toLowerCase().includes(event.query.toLowerCase())));\n };\n\n return (\n <AutoComplete\n id={id}\n name={id}\n placeholder={placeholder}\n {...primeProps}\n {...inputProps}\n loadingIcon={<></>}\n required={required}\n autoFocus={autofocus}\n disabled={disabled || readonly}\n suggestions={items}\n completeMethod={search}\n value={value || value === 0 ? value : ''}\n dropdown\n invalid={rawErrors.length > 0}\n onChange={(onChangeOverride as any) || _onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n /* Make autocomplete look like a dropdown, which looks much nicer */\n pt={{\n root: {\n className: 'p-dropdown',\n },\n input: {\n root: {\n style: { border: 'none' },\n },\n },\n dropdownButton: {\n root: {\n className: 'p-button-text p-button-secondary',\n },\n },\n }}\n />\n );\n}\n", "import {\n ariaDescribedByIds,\n descriptionId,\n getTemplate,\n labelValue,\n schemaRequiresTrueValue,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { Checkbox, CheckboxChangeEvent } from 'primereact/checkbox';\n\nimport { Label } from '../util';\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 {\n id,\n htmlName,\n value,\n disabled,\n readonly,\n label = '',\n hideLabel,\n autofocus,\n onChange,\n onBlur,\n options,\n onFocus,\n schema,\n uiSchema,\n registry,\n } = props;\n\n const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(\n 'DescriptionFieldTemplate',\n registry,\n options,\n );\n\n const required = schemaRequiresTrueValue<S>(schema);\n const checked = value === 'true' || value === true;\n const _onChange = (e: CheckboxChangeEvent) => onChange && onChange(e.checked);\n const _onBlur: React.FocusEventHandler<HTMLInputElement> = () => onBlur && onBlur(id, value);\n const _onFocus: React.FocusEventHandler<HTMLInputElement> = () => onFocus && onFocus(id, value);\n const description = options.description ?? schema.description;\n const primeProps = (options.prime || {}) as object;\n\n return (\n <>\n {!hideLabel && !!description && (\n <DescriptionFieldTemplate\n id={descriptionId(id)}\n description={description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n )}\n <div style={{ display: 'flex', flexDirection: 'row', gap: '0.5rem', alignItems: 'center' }}>\n <Checkbox\n inputId={id}\n name={htmlName || id}\n {...primeProps}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n checked={typeof value === 'undefined' ? false : checked}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n required={required}\n aria-describedby={ariaDescribedByIds(id)}\n />\n {labelValue(<Label id={id} text={label} />, hideLabel, false)}\n </div>\n </>\n );\n}\n", "import { Checkbox, CheckboxChangeEvent } from 'primereact/checkbox';\nimport {\n ariaDescribedByIds,\n enumOptionsDeselectValue,\n enumOptionsIsSelected,\n enumOptionsSelectValue,\n optionId,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n descriptionId,\n getTemplate,\n} from '@rjsf/utils';\n\nimport { Label } from '../util';\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>(props: WidgetProps<T, S, F>) {\n const {\n id,\n htmlName,\n disabled,\n options,\n value,\n autofocus,\n readonly,\n onChange,\n onBlur,\n onFocus,\n schema,\n uiSchema,\n registry,\n hideLabel,\n } = props;\n const { enumOptions, enumDisabled } = options;\n const primeProps = (options.prime || {}) as object;\n const checkboxesValues = Array.isArray(value) ? value : [value];\n\n const _onChange = (index: number) => (e: CheckboxChangeEvent) => {\n if (e.checked) {\n onChange(enumOptionsSelectValue<S>(index, checkboxesValues, enumOptions));\n } else {\n onChange(enumOptionsDeselectValue<S>(index, checkboxesValues, enumOptions));\n }\n };\n\n const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(\n 'DescriptionFieldTemplate',\n registry,\n options,\n );\n\n const _onBlur = () => onBlur(id, value);\n const _onFocus = () => onFocus(id, value);\n\n const description = options.description ?? schema.description;\n\n return (\n <div\n id={id}\n style={{ display: 'flex', flexDirection: 'column', gap: '1rem', marginTop: '0.5rem', marginBottom: '0.5rem' }}\n >\n {!hideLabel && !!description && (\n <DescriptionFieldTemplate\n id={descriptionId(id)}\n description={description}\n schema={schema}\n uiSchema={uiSchema}\n registry={registry}\n />\n )}\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, index) => {\n const checked = enumOptionsIsSelected<S>(option.value, checkboxesValues);\n const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1;\n return (\n <div key={index} style={{ display: 'flex', flexDirection: 'row', gap: '0.5rem', alignItems: 'center' }}>\n <Checkbox\n inputId={optionId(id, index)}\n name={htmlName || id}\n {...primeProps}\n value={option.value}\n checked={checked}\n disabled={disabled || itemDisabled || readonly}\n autoFocus={autofocus && index === 0}\n onChange={_onChange(index)}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id)}\n />\n <Label id={optionId(id, index)} text={option.label} />\n </div>\n );\n })}\n </div>\n );\n}\n", "import { ChangeEvent } from 'react';\nimport {\n ariaDescribedByIds,\n FormContextType,\n getInputProps,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { ColorPicker } from 'primereact/colorpicker';\n\n/** The `ColorWidget` component renders a color picker.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function ColorWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const {\n id,\n placeholder,\n value,\n required,\n readonly,\n disabled,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n type,\n } = props;\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n const { inline } = options;\n const primeProps = (options.prime || {}) as object;\n\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLInputElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = () => onBlur && onBlur(id, value);\n const _onFocus = () => onFocus && onFocus(id, value);\n\n return (\n <ColorPicker\n id={id}\n name={id}\n placeholder={placeholder}\n {...primeProps}\n {...inputProps}\n required={required}\n inline={inline}\n autoFocus={autofocus}\n disabled={disabled || readonly}\n value={value || ''}\n onChange={onChangeOverride || _onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n />\n );\n}\n", "import { ChangeEvent } from 'react';\nimport {\n ariaDescribedByIds,\n FormContextType,\n getInputProps,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { Password } from 'primereact/password';\n\n/** The `PasswordWidget` renders a `Password` component\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 {\n id,\n placeholder,\n value,\n required,\n readonly,\n disabled,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n type,\n rawErrors = [],\n } = props;\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n const primeProps = (options.prime || {}) as object;\n\n const _onChange = ({ target: { value } }: ChangeEvent<HTMLInputElement>) =>\n onChange(value === '' ? options.emptyValue : value);\n const _onBlur = () => onBlur && onBlur(id, value);\n const _onFocus = () => onFocus && onFocus(id, value);\n\n return (\n <Password\n id={id}\n name={id}\n placeholder={placeholder}\n {...primeProps}\n {...inputProps}\n required={required}\n autoFocus={autofocus}\n disabled={disabled || readonly}\n value={value || ''}\n invalid={rawErrors.length > 0}\n onChange={onChangeOverride || _onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n pt={{ root: { style: { display: 'flex', flexDirection: 'column' } } }}\n />\n );\n}\n", "import {\n ariaDescribedByIds,\n enumOptionsIsSelected,\n enumOptionsValueForIndex,\n optionId,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { RadioButton, RadioButtonChangeEvent } from 'primereact/radiobutton';\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 props: WidgetProps<T, S, F>,\n) {\n const { id, htmlName, value, disabled, readonly, onChange, onBlur, onFocus, options } = props;\n const primeProps = (options.prime || {}) as object;\n const { enumOptions, enumDisabled, emptyValue } = options;\n\n const _onChange = (e: RadioButtonChangeEvent) => {\n onChange(enumOptionsValueForIndex<S>(e.value, enumOptions, emptyValue));\n };\n\n const _onBlur = () => onBlur(id, value);\n const _onFocus = () => onFocus(id, value);\n\n return (\n <div style={{ display: 'flex', flexDirection: 'row', gap: '1rem' }}>\n {Array.isArray(enumOptions) &&\n enumOptions.map((option, index) => {\n const checked = enumOptionsIsSelected<S>(option.value, value);\n const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1;\n return (\n <div key={index} style={{ display: 'flex', alignItems: 'center' }}>\n <RadioButton\n inputId={optionId(id, index)}\n name={htmlName || id}\n {...primeProps}\n onFocus={_onFocus}\n onBlur={_onBlur}\n onChange={_onChange}\n value={String(index)}\n checked={checked}\n disabled={disabled || itemDisabled || readonly}\n aria-describedby={ariaDescribedByIds(id)}\n />\n <label htmlFor={optionId(id, index)} style={{ marginLeft: '8px' }}>\n {option.label}\n </label>\n </div>\n );\n })}\n </div>\n );\n}\n", "import { FocusEvent } from 'react';\nimport { Slider, SliderChangeEvent } from 'primereact/slider';\nimport { ariaDescribedByIds, FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps, rangeSpec } from '@rjsf/utils';\n\n/** The `RangeWidget` component uses the `Slider` from PrimeReact, wrapping the result\n * in a div, with the value alongside 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 { value, readonly, disabled, onBlur, onFocus, options, schema, onChange, id } = props;\n const primeProps = (options.prime || {}) as object;\n const sliderProps = { value, id, ...rangeSpec<S>(schema) };\n\n const _onChange = (e: SliderChangeEvent) => {\n onChange(e.value ?? options.emptyValue);\n };\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) => onBlur(id, target && target.value);\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) => onFocus(id, target && target.value);\n\n return (\n <>\n <Slider\n {...primeProps}\n disabled={disabled || readonly}\n onMouseDown={(e) => e.stopPropagation()}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n {...sliderProps}\n aria-describedby={ariaDescribedByIds(id)}\n />\n </>\n );\n}\n", "import { FocusEvent } from 'react';\nimport { Dropdown } from 'primereact/dropdown';\nimport {\n ariaDescribedByIds,\n enumOptionsIndexForValue,\n enumOptionsValueForIndex,\n FormContextType,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { MultiSelect } from 'primereact/multiselect';\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<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const { multiple = false } = props;\n\n return multiple ? <MultiSelectWidget {...props} /> : <SingleSelectWidget {...props} />;\n}\n\nfunction SingleSelectWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n schema,\n id,\n htmlName,\n name, // remove this from dropdownProps\n options,\n label,\n hideLabel,\n required,\n disabled,\n placeholder,\n readonly,\n value,\n multiple,\n autofocus,\n onChange,\n onBlur,\n onFocus,\n errorSchema,\n rawErrors = [],\n registry,\n uiSchema,\n hideError,\n ...dropdownProps\n}: WidgetProps<T, S, F>) {\n const { enumOptions, enumDisabled, emptyValue: optEmptyVal } = options;\n const primeProps = (options.prime || {}) as object;\n\n multiple = typeof multiple === 'undefined' ? false : multiple;\n\n const emptyValue = multiple ? [] : '';\n const isEmpty = typeof value === 'undefined' || (multiple && value.length < 1) || (!multiple && value === emptyValue);\n\n const _onChange = (e: { value: any }) => onChange(enumOptionsValueForIndex<S>(e.value, enumOptions, optEmptyVal));\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, optEmptyVal));\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, optEmptyVal));\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions, multiple);\n const { ...dropdownRemainingProps } = dropdownProps;\n\n return (\n <Dropdown\n id={id}\n name={htmlName || id}\n {...primeProps}\n value={!isEmpty && typeof selectedIndexes !== 'undefined' ? selectedIndexes : emptyValue}\n options={(enumOptions ?? []).map(({ value, label }, i: number) => ({\n label,\n value: String(i),\n disabled: Array.isArray(enumDisabled) && enumDisabled.indexOf(value) !== -1,\n }))}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n placeholder={placeholder}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n aria-describedby={ariaDescribedByIds(id)}\n {...dropdownRemainingProps}\n />\n );\n}\n\nfunction MultiSelectWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({\n id,\n htmlName,\n options,\n disabled,\n placeholder,\n readonly,\n value,\n multiple = false,\n autofocus,\n onChange,\n onBlur,\n onFocus,\n}: WidgetProps<T, S, F>) {\n const { enumOptions, enumDisabled, emptyValue: optEmptyVal } = options;\n const primeProps = (options.prime || {}) as object;\n\n const emptyValue = multiple ? [] : '';\n const isEmpty = typeof value === 'undefined' || (multiple && value.length < 1) || (!multiple && value === emptyValue);\n\n const _onChange = (e: { value: any }) => onChange(enumOptionsValueForIndex<S>(e.value, enumOptions, optEmptyVal));\n const _onBlur = ({ target }: FocusEvent<HTMLInputElement>) =>\n onBlur(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, optEmptyVal));\n const _onFocus = ({ target }: FocusEvent<HTMLInputElement>) =>\n onFocus(id, enumOptionsValueForIndex<S>(target && target.value, enumOptions, optEmptyVal));\n const selectedIndexes = enumOptionsIndexForValue<S>(value, enumOptions, multiple);\n\n return (\n <MultiSelect\n id={id}\n name={htmlName || id}\n {...primeProps}\n value={!isEmpty && typeof selectedIndexes !== 'undefined' ? selectedIndexes : emptyValue}\n options={(enumOptions ?? []).map(({ value, label }, i: number) => ({\n label,\n value: String(i),\n disabled: Array.isArray(enumDisabled) && enumDisabled.indexOf(value) !== -1,\n }))}\n onChange={_onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n placeholder={placeholder}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n display={options.display === 'chip' ? 'chip' : 'comma'}\n aria-describedby={ariaDescribedByIds(id)}\n pt={{ root: { style: { position: 'relative' } } }}\n />\n );\n}\n", "import { ChangeEvent } from 'react';\nimport { InputTextarea } from 'primereact/inputtextarea';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';\n\n/** The `TextareaWidget` is a widget for rendering input fields as textarea using PrimeReact.\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>(props: WidgetProps<T, S, F>) {\n const { id, htmlName, value, required, disabled, readonly, autofocus, onChange, onBlur, onFocus, options } = props;\n const primeProps = (options.prime || {}) as object;\n\n let rows = 5;\n // noinspection SuspiciousTypeOfGuard\n if (typeof options.rows === 'string' || typeof options.rows === 'number') {\n rows = Number(options.rows);\n }\n\n const handleChange = (event: ChangeEvent<HTMLTextAreaElement>) => {\n onChange(event.target.value === '' ? options.emptyValue : event.target.value);\n };\n\n return (\n <InputTextarea\n id={id}\n name={htmlName || id}\n {...primeProps}\n value={value || ''}\n required={required}\n disabled={disabled || readonly}\n autoFocus={autofocus}\n rows={rows}\n onChange={handleChange}\n onBlur={onBlur && ((event) => onBlur(id, event.target.value))}\n onFocus={onFocus && ((event) => onFocus(id, event.target.value))}\n />\n );\n}\n", "import {\n ariaDescribedByIds,\n FormContextType,\n getInputProps,\n RJSFSchema,\n StrictRJSFSchema,\n WidgetProps,\n} from '@rjsf/utils';\nimport { InputNumber, InputNumberChangeEvent } from 'primereact/inputnumber';\n\n/** The `UpDownWidget` renders an input component for a number.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function UpDownWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(\n props: WidgetProps<T, S, F>,\n) {\n const {\n id,\n placeholder,\n value,\n required,\n readonly,\n disabled,\n onChange,\n onChangeOverride,\n onBlur,\n onFocus,\n autofocus,\n options,\n schema,\n type,\n rawErrors = [],\n } = props;\n const inputProps = getInputProps<T, S, F>(schema, type, options);\n const { showButtons, buttonLayout, useGrouping, minFractionDigits, maxFractionDigits, locale, currency } = options;\n const primeProps = (options.prime || {}) as object;\n\n const _onChange = (event: InputNumberChangeEvent) => onChange(event.value === null ? options.emptyValue : value);\n const _onBlur = () => onBlur && onBlur(id, value);\n const _onFocus = () => onFocus && onFocus(id, value);\n\n return (\n <InputNumber\n id={id}\n name={id}\n {...primeProps}\n placeholder={placeholder}\n step={isNaN(Number(inputProps.step)) ? 1 : Number(inputProps.step)}\n required={required}\n autoFocus={autofocus}\n disabled={disabled || readonly}\n style={buttonLayout === 'vertical' ? { width: '4em' } : {}}\n showButtons={typeof showButtons === 'undefined' ? true : !!showButtons}\n buttonLayout={(buttonLayout as any) ?? 'stacked'}\n useGrouping={!!useGrouping}\n minFractionDigits={minFractionDigits as number}\n maxFractionDigits={maxFractionDigits as number}\n locale={locale as string}\n mode={currency ? 'currency' : 'decimal'}\n currency={currency as string}\n value={isNaN(Number(value)) ? null : Number(value)}\n invalid={rawErrors.length > 0}\n onChange={(onChangeOverride as any) || _onChange}\n onBlur={_onBlur}\n onFocus={_onFocus}\n aria-describedby={ariaDescribedByIds(id, !!schema.examples)}\n />\n );\n}\n", "import { FormContextType, RegistryWidgetsType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nimport AutoCompleteWidget from '../AutoCompleteWidget/AutoCompleteWidget';\nimport CheckboxWidget from '../CheckboxWidget/CheckboxWidget';\nimport CheckboxesWidget from '../CheckboxesWidget/CheckboxesWidget';\nimport ColorWidget from '../ColorWidget/ColorWidget';\nimport PasswordWidget from '../PasswordWidget/PasswordWidget';\nimport RadioWidget from '../RadioWidget/RadioWidget';\nimport RangeWidget from '../RangeWidget/RangeWidget';\nimport SelectWidget from '../SelectWidget/SelectWidget';\nimport TextareaWidget from '../TextareaWidget/TextareaWidget';\nimport UpDownWidget from '../UpDownWidget/UpDownWidget';\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 AutoCompleteWidget,\n CheckboxWidget,\n CheckboxesWidget,\n ColorWidget,\n PasswordWidget,\n RadioWidget,\n RangeWidget,\n SelectWidget,\n TextareaWidget,\n UpDownWidget,\n };\n}\n\nexport default generateWidgets();\n", "import { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\nimport { ThemeProps } from '@rjsf/core';\n\nimport { generateTemplates } from '../Templates';\nimport { 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\nexport default generateTheme();\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,IAAAA,eAAqC;;;ACDrC,oBAAuB;AACvB,mBAAmG;AAY/F;AARW,SAAR,UAA8G;AAAA,EACnH;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAA6B;AAC3B,QAAM,EAAE,gBAAgB,IAAI;AAC5B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO,gBAAgB,gCAAmB,aAAa;AAAA,MACvD,MAAK;AAAA,MACL,UAAQ;AAAA,MACR,UAAS;AAAA,MACT,MAAK;AAAA,MACJ,GAAG;AAAA;AAAA,EACN;AAEJ;;;ACtBA,IAAAC,gBAOO;AAmBH,IAAAC,sBAAA;AAbW,SAAR,uBAIL,OAA6C;AAC7C,QAAM,EAAE,UAAU,cAAc,cAAc,YAAY,UAAU,SAAS,IAAI;AACjF,QAA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L;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;;;AC1BxB,SAAS,gBAIS;AACvB,SAAO;AAAA,IACL,WAAW,kBAA2B;AAAA,IACtC,SAAS,gBAAyB;AAAA,EACpC;AACF;AAEA,IAAO,gBAAQ,cAAc;;;AhCXtB,SAAS,eAIuB;AACrC,aAAO,wBAAmB,cAAuB,CAAC;AACpD;AAEA,IAAO,oBAAQ,aAAa;;;ADP5B,IAAO,gBAAQ;",
|
|
6
|
+
"names": ["import_core", "import_utils", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "ArrayFieldTitleTemplate", "import_utils", "import_jsx_runtime", "ClearButton", "AutoCompleteWidget", "value", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "import_button", "import_utils", "import_jsx_runtime", "import_utils", "import_message", "import_jsx_runtime", "import_utils", "import_core", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "import_jsx_runtime", "WrapIfAdditionalTemplate", "import_fieldset", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "AddButton", "import_jsx_runtime", "import_button", "import_utils", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "import_utils", "import_inputtext", "import_jsx_runtime", "RemoveButton", "import_utils", "import_jsx_runtime", "import_react", "import_jsx_runtime", "import_react", "import_utils", "import_jsx_runtime", "value", "import_utils", "import_jsx_runtime", "import_checkbox", "import_utils", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "value", "import_utils", "import_jsx_runtime", "value", "import_utils", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "import_utils", "import_jsx_runtime", "value", "label", "import_jsx_runtime", "import_utils", "import_jsx_runtime"]
|
|
7
7
|
}
|