@rjsf/mantine 6.0.1 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +131 -124
- package/dist/index.cjs.map +2 -2
- package/dist/mantine.esm.js +84 -77
- package/dist/mantine.esm.js.map +3 -3
- package/dist/mantine.umd.js +41 -35
- package/lib/templates/ArrayFieldTitleTemplate.js +8 -4
- package/lib/templates/ArrayFieldTitleTemplate.js.map +1 -1
- package/lib/templates/BaseInputTemplate.js +15 -1
- package/lib/templates/BaseInputTemplate.js.map +1 -1
- package/lib/templates/FieldHelpTemplate.js +3 -3
- package/lib/templates/FieldHelpTemplate.js.map +1 -1
- package/lib/templates/FieldTemplate.js +1 -1
- package/lib/templates/FieldTemplate.js.map +1 -1
- package/lib/templates/WrapIfAdditionalTemplate.js +2 -2
- package/lib/templates/WrapIfAdditionalTemplate.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils.js +1 -0
- package/lib/utils.js.map +1 -1
- package/lib/widgets/CheckboxWidget.js +1 -3
- package/lib/widgets/CheckboxWidget.js.map +1 -1
- package/package.json +1 -1
- package/src/templates/ArrayFieldTitleTemplate.tsx +13 -4
- package/src/templates/BaseInputTemplate.tsx +19 -22
- package/src/templates/FieldHelpTemplate.tsx +4 -5
- package/src/templates/FieldTemplate.tsx +2 -0
- package/src/templates/WrapIfAdditionalTemplate.tsx +24 -21
- package/src/utils.ts +1 -0
- package/src/widgets/CheckboxWidget.tsx +0 -5
package/dist/mantine.umd.js
CHANGED
|
@@ -91,13 +91,20 @@
|
|
|
91
91
|
] });
|
|
92
92
|
}
|
|
93
93
|
function ArrayFieldTitleTemplate(props) {
|
|
94
|
-
const { fieldPathId, title, uiSchema, registry } = props;
|
|
94
|
+
const { fieldPathId, title, uiSchema, registry, optionalDataControl } = props;
|
|
95
95
|
const options = utils.getUiOptions(uiSchema, registry.globalUiOptions);
|
|
96
96
|
const { label: displayLabel = true } = options;
|
|
97
97
|
if (!title || !displayLabel) {
|
|
98
98
|
return null;
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
let heading = title ? /* @__PURE__ */ jsxRuntime.jsx(core$1.Title, { id: utils.titleId(fieldPathId), order: 4, fw: "normal", children: title }) : null;
|
|
101
|
+
if (optionalDataControl) {
|
|
102
|
+
heading = /* @__PURE__ */ jsxRuntime.jsxs(core$1.Grid, { children: [
|
|
103
|
+
/* @__PURE__ */ jsxRuntime.jsx(core$1.Grid.Col, { span: "auto", children: heading }),
|
|
104
|
+
/* @__PURE__ */ jsxRuntime.jsx(core$1.Grid.Col, { span: "content", children: optionalDataControl })
|
|
105
|
+
] });
|
|
106
|
+
}
|
|
107
|
+
return heading;
|
|
101
108
|
}
|
|
102
109
|
|
|
103
110
|
// src/utils.ts
|
|
@@ -105,6 +112,7 @@
|
|
|
105
112
|
"emptyValue",
|
|
106
113
|
"classNames",
|
|
107
114
|
"title",
|
|
115
|
+
"label",
|
|
108
116
|
"help",
|
|
109
117
|
"autocomplete",
|
|
110
118
|
"disabled",
|
|
@@ -158,6 +166,7 @@
|
|
|
158
166
|
children
|
|
159
167
|
} = props;
|
|
160
168
|
const inputProps = utils.getInputProps(schema, type, options, false);
|
|
169
|
+
const description = hideLabel ? void 0 : options.description || schema.description;
|
|
161
170
|
const themeProps = cleanupOptions(options);
|
|
162
171
|
const handleNumberChange = react.useCallback((value2) => onChange(value2), [onChange]);
|
|
163
172
|
const handleChange = react.useCallback(
|
|
@@ -180,45 +189,40 @@
|
|
|
180
189
|
},
|
|
181
190
|
[onFocus, id]
|
|
182
191
|
);
|
|
192
|
+
const componentProps = {
|
|
193
|
+
id,
|
|
194
|
+
name: htmlName || id,
|
|
195
|
+
label: utils.labelValue(label || void 0, hideLabel, false),
|
|
196
|
+
required,
|
|
197
|
+
autoFocus: autofocus,
|
|
198
|
+
disabled: disabled || readonly,
|
|
199
|
+
onBlur: !readonly ? handleBlur : void 0,
|
|
200
|
+
onFocus: !readonly ? handleFocus : void 0,
|
|
201
|
+
placeholder,
|
|
202
|
+
error: rawErrors && rawErrors.length > 0 ? rawErrors.join("\n") : void 0,
|
|
203
|
+
list: schema.examples ? utils.examplesId(id) : void 0
|
|
204
|
+
};
|
|
183
205
|
const input = inputProps.type === "number" || inputProps.type === "integer" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
184
206
|
core$1.NumberInput,
|
|
185
207
|
{
|
|
186
|
-
id,
|
|
187
|
-
name: htmlName || id,
|
|
188
|
-
label: utils.labelValue(label || void 0, hideLabel, false),
|
|
189
|
-
required,
|
|
190
|
-
autoFocus: autofocus,
|
|
191
|
-
disabled: disabled || readonly,
|
|
192
|
-
onBlur: !readonly ? handleBlur : void 0,
|
|
193
208
|
onChange: !readonly ? handleNumberChange : void 0,
|
|
194
|
-
|
|
195
|
-
placeholder,
|
|
196
|
-
error: rawErrors && rawErrors.length > 0 ? rawErrors.join("\n") : void 0,
|
|
197
|
-
list: schema.examples ? utils.examplesId(id) : void 0,
|
|
209
|
+
...componentProps,
|
|
198
210
|
...inputProps,
|
|
199
211
|
...themeProps,
|
|
200
212
|
step: typeof inputProps.step === "number" ? inputProps.step : 1,
|
|
201
213
|
type: "text",
|
|
214
|
+
description,
|
|
202
215
|
value,
|
|
203
216
|
"aria-describedby": utils.ariaDescribedByIds(id, !!schema.examples)
|
|
204
217
|
}
|
|
205
218
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
206
219
|
core$1.TextInput,
|
|
207
220
|
{
|
|
208
|
-
id,
|
|
209
|
-
name: htmlName || id,
|
|
210
|
-
label: utils.labelValue(label || void 0, hideLabel, false),
|
|
211
|
-
required,
|
|
212
|
-
autoFocus: autofocus,
|
|
213
|
-
disabled: disabled || readonly,
|
|
214
|
-
onBlur: !readonly ? handleBlur : void 0,
|
|
215
221
|
onChange: !readonly ? handleChange : void 0,
|
|
216
|
-
|
|
217
|
-
placeholder,
|
|
218
|
-
error: rawErrors && rawErrors.length > 0 ? rawErrors.join("\n") : void 0,
|
|
219
|
-
list: schema.examples ? utils.examplesId(id) : void 0,
|
|
222
|
+
...componentProps,
|
|
220
223
|
...inputProps,
|
|
221
224
|
...themeProps,
|
|
225
|
+
description,
|
|
222
226
|
value,
|
|
223
227
|
"aria-describedby": utils.ariaDescribedByIds(id, !!schema.examples)
|
|
224
228
|
}
|
|
@@ -525,6 +529,8 @@
|
|
|
525
529
|
classNames,
|
|
526
530
|
style,
|
|
527
531
|
label,
|
|
532
|
+
displayLabel,
|
|
533
|
+
rawDescription,
|
|
528
534
|
schema,
|
|
529
535
|
uiSchema,
|
|
530
536
|
registry,
|
|
@@ -538,12 +544,11 @@
|
|
|
538
544
|
);
|
|
539
545
|
}
|
|
540
546
|
function FieldHelpTemplate(props) {
|
|
541
|
-
const { fieldPathId, help } = props;
|
|
547
|
+
const { fieldPathId, help, uiSchema, registry } = props;
|
|
542
548
|
if (!help) {
|
|
543
549
|
return null;
|
|
544
550
|
}
|
|
545
|
-
|
|
546
|
-
return /* @__PURE__ */ jsxRuntime.jsx(core$1.Text, { id, size: "sm", my: "xs", c: "dimmed", children: help });
|
|
551
|
+
return /* @__PURE__ */ jsxRuntime.jsx(core$1.Text, { id: utils.helpId(fieldPathId), size: "sm", my: "xs", c: "dimmed", children: /* @__PURE__ */ jsxRuntime.jsx(core.RichHelp, { help, registry, uiSchema }) });
|
|
547
552
|
}
|
|
548
553
|
function GridTemplate(props) {
|
|
549
554
|
const { children, column, fluid = true, ...rest } = props;
|
|
@@ -680,6 +685,8 @@
|
|
|
680
685
|
classNames,
|
|
681
686
|
style,
|
|
682
687
|
label,
|
|
688
|
+
displayLabel,
|
|
689
|
+
rawDescription,
|
|
683
690
|
required,
|
|
684
691
|
readonly,
|
|
685
692
|
disabled,
|
|
@@ -704,22 +711,23 @@
|
|
|
704
711
|
};
|
|
705
712
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames, style, children: /* @__PURE__ */ jsxRuntime.jsxs(core$1.Flex, { gap: "xs", align: "end", justify: "center", children: [
|
|
706
713
|
/* @__PURE__ */ jsxRuntime.jsxs(core$1.Grid, { w: "100%", align: "center", children: [
|
|
707
|
-
/* @__PURE__ */ jsxRuntime.jsx(core$1.Grid.Col, { span: 6, className: "form-additional", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
714
|
+
/* @__PURE__ */ jsxRuntime.jsx(core$1.Grid.Col, { span: 6, className: "form-additional", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
708
715
|
core$1.TextInput,
|
|
709
716
|
{
|
|
710
717
|
className: "form-group",
|
|
711
|
-
label: keyLabel,
|
|
718
|
+
label: displayLabel ? keyLabel : void 0,
|
|
712
719
|
defaultValue: label,
|
|
713
720
|
required,
|
|
721
|
+
description: rawDescription ? "\xA0" : void 0,
|
|
714
722
|
disabled: disabled || readonly,
|
|
715
723
|
id: `${id}-key`,
|
|
716
724
|
name: `${id}-key`,
|
|
717
725
|
onBlur: !readonly ? onKeyRenameBlur : void 0
|
|
718
726
|
}
|
|
719
|
-
) })
|
|
727
|
+
) }),
|
|
720
728
|
/* @__PURE__ */ jsxRuntime.jsx(core$1.Grid.Col, { span: 6, className: "form-additional", children })
|
|
721
729
|
] }),
|
|
722
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
730
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
723
731
|
RemoveButton2,
|
|
724
732
|
{
|
|
725
733
|
id: utils.buttonId(id, "remove"),
|
|
@@ -730,7 +738,7 @@
|
|
|
730
738
|
uiSchema: buttonUiOptions,
|
|
731
739
|
registry
|
|
732
740
|
}
|
|
733
|
-
)
|
|
741
|
+
) })
|
|
734
742
|
] }) });
|
|
735
743
|
}
|
|
736
744
|
function MultiSchemaFieldTemplate({ selector, optionSchemaField }) {
|
|
@@ -1055,7 +1063,6 @@
|
|
|
1055
1063
|
registry,
|
|
1056
1064
|
uiSchema
|
|
1057
1065
|
} = props;
|
|
1058
|
-
const themeProps = cleanupOptions(options);
|
|
1059
1066
|
const DescriptionFieldTemplate = utils.getTemplate(
|
|
1060
1067
|
"DescriptionFieldTemplate",
|
|
1061
1068
|
registry,
|
|
@@ -1111,8 +1118,7 @@
|
|
|
1111
1118
|
onBlur: handleBlur,
|
|
1112
1119
|
onFocus: handleFocus,
|
|
1113
1120
|
error: rawErrors && rawErrors.length > 0 ? rawErrors.join("\n") : void 0,
|
|
1114
|
-
"aria-describedby": utils.ariaDescribedByIds(id)
|
|
1115
|
-
...themeProps
|
|
1121
|
+
"aria-describedby": utils.ariaDescribedByIds(id)
|
|
1116
1122
|
}
|
|
1117
1123
|
)
|
|
1118
1124
|
] });
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { getUiOptions, titleId, } from '@rjsf/utils';
|
|
3
|
-
import { Title } from '@mantine/core';
|
|
3
|
+
import { Grid, Title } from '@mantine/core';
|
|
4
4
|
/** The `ArrayFieldTitleTemplate` component renders a `TitleFieldTemplate` with an `id` derived from
|
|
5
5
|
* the `fieldPathId`.
|
|
6
6
|
*
|
|
7
7
|
* @param props - The `ArrayFieldTitleProps` for the component
|
|
8
8
|
*/
|
|
9
9
|
export default function ArrayFieldTitleTemplate(props) {
|
|
10
|
-
const { fieldPathId, title, uiSchema, registry } = props;
|
|
10
|
+
const { fieldPathId, title, uiSchema, registry, optionalDataControl } = props;
|
|
11
11
|
const options = getUiOptions(uiSchema, registry.globalUiOptions);
|
|
12
12
|
const { label: displayLabel = true } = options;
|
|
13
13
|
if (!title || !displayLabel) {
|
|
14
14
|
return null;
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
let heading = title ? (_jsx(Title, { id: titleId(fieldPathId), order: 4, fw: 'normal', children: title })) : null;
|
|
17
|
+
if (optionalDataControl) {
|
|
18
|
+
heading = (_jsxs(Grid, { children: [_jsx(Grid.Col, { span: 'auto', children: heading }), _jsx(Grid.Col, { span: 'content', children: optionalDataControl })] }));
|
|
19
|
+
}
|
|
20
|
+
return heading;
|
|
17
21
|
}
|
|
18
22
|
//# sourceMappingURL=ArrayFieldTitleTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrayFieldTitleTemplate.js","sourceRoot":"","sources":["../../src/templates/ArrayFieldTitleTemplate.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,YAAY,EACZ,OAAO,GAKR,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"ArrayFieldTitleTemplate.js","sourceRoot":"","sources":["../../src/templates/ArrayFieldTitleTemplate.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,YAAY,EACZ,OAAO,GAKR,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE5C;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAI7C,KAAoC;IACpC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,mBAAmB,EAAE,GAAG,KAAK,CAAC;IAE9E,MAAM,OAAO,GAAG,YAAY,CAAU,QAAQ,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;IAC1E,MAAM,EAAE,KAAK,EAAE,YAAY,GAAG,IAAI,EAAE,GAAG,OAAO,CAAC;IAC/C,IAAI,CAAC,KAAK,IAAI,CAAC,YAAY,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CACpB,KAAC,KAAK,IAAC,EAAE,EAAE,OAAO,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAC,QAAQ,YACnD,KAAK,GACA,CACT,CAAC,CAAC,CAAC,IAAI,CAAC;IACT,IAAI,mBAAmB,EAAE,CAAC;QACxB,OAAO,GAAG,CACR,MAAC,IAAI,eACH,KAAC,IAAI,CAAC,GAAG,IAAC,IAAI,EAAC,MAAM,YAAE,OAAO,GAAY,EAC1C,KAAC,IAAI,CAAC,GAAG,IAAC,IAAI,EAAC,SAAS,YAAE,mBAAmB,GAAY,IACpD,CACR,CAAC;IACJ,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -12,6 +12,7 @@ import { cleanupOptions } from '../utils';
|
|
|
12
12
|
export default function BaseInputTemplate(props) {
|
|
13
13
|
const { id, htmlName, type, schema, value, placeholder, required, disabled, readonly, autofocus, label, hideLabel, onChange, onChangeOverride, onBlur, onFocus, options, rawErrors, children, } = props;
|
|
14
14
|
const inputProps = getInputProps(schema, type, options, false);
|
|
15
|
+
const description = hideLabel ? undefined : options.description || schema.description;
|
|
15
16
|
const themeProps = cleanupOptions(options);
|
|
16
17
|
const handleNumberChange = useCallback((value) => onChange(value), [onChange]);
|
|
17
18
|
const handleChange = useCallback((e) => {
|
|
@@ -26,7 +27,20 @@ export default function BaseInputTemplate(props) {
|
|
|
26
27
|
const handleFocus = useCallback((e) => {
|
|
27
28
|
onFocus(id, e.target && e.target.value);
|
|
28
29
|
}, [onFocus, id]);
|
|
29
|
-
const
|
|
30
|
+
const componentProps = {
|
|
31
|
+
id,
|
|
32
|
+
name: htmlName || id,
|
|
33
|
+
label: labelValue(label || undefined, hideLabel, false),
|
|
34
|
+
required,
|
|
35
|
+
autoFocus: autofocus,
|
|
36
|
+
disabled: disabled || readonly,
|
|
37
|
+
onBlur: !readonly ? handleBlur : undefined,
|
|
38
|
+
onFocus: !readonly ? handleFocus : undefined,
|
|
39
|
+
placeholder,
|
|
40
|
+
error: rawErrors && rawErrors.length > 0 ? rawErrors.join('\n') : undefined,
|
|
41
|
+
list: schema.examples ? examplesId(id) : undefined,
|
|
42
|
+
};
|
|
43
|
+
const input = inputProps.type === 'number' || inputProps.type === 'integer' ? (_jsx(NumberInput, { onChange: !readonly ? handleNumberChange : undefined, ...componentProps, ...inputProps, ...themeProps, step: typeof inputProps.step === 'number' ? inputProps.step : 1, type: 'text', description: description, value: value, "aria-describedby": ariaDescribedByIds(id, !!schema.examples) })) : (_jsx(TextInput, { onChange: !readonly ? handleChange : undefined, ...componentProps, ...inputProps, ...themeProps, description: description, value: value, "aria-describedby": ariaDescribedByIds(id, !!schema.examples) }));
|
|
30
44
|
return (_jsxs(_Fragment, { children: [input, children, Array.isArray(schema.examples) && (_jsx("datalist", { id: examplesId(id), children: schema.examples
|
|
31
45
|
.concat(schema.default && !schema.examples.includes(schema.default) ? [schema.default] : [])
|
|
32
46
|
.map((example) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseInputTemplate.js","sourceRoot":"","sources":["../../src/templates/BaseInputTemplate.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA2B,WAAW,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EACL,kBAAkB,EAElB,UAAU,EACV,aAAa,EACb,UAAU,GAIX,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAIvC,KAAsC;IACtC,MAAM,EACJ,EAAE,EACF,QAAQ,EACR,IAAI,EACJ,MAAM,EACN,KAAK,EACL,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,KAAK,EACL,SAAS,EACT,QAAQ,EACR,gBAAgB,EAChB,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,EACT,QAAQ,GACT,GAAG,KAAK,CAAC;IAEV,MAAM,UAAU,GAAG,aAAa,CAAU,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;I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E,OAAO,IAAvB,OAAO,CAAoB,CAAC;gBAClD,CAAC,CAAC,GACK,CACZ,IACA,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { helpId } from '@rjsf/utils';
|
|
3
3
|
import { Text } from '@mantine/core';
|
|
4
|
+
import { RichHelp } from '@rjsf/core';
|
|
4
5
|
/** The `FieldHelpTemplate` component renders any help desired for a field
|
|
5
6
|
*
|
|
6
7
|
* @param props - The `FieldHelpProps` to be rendered
|
|
7
8
|
*/
|
|
8
9
|
export default function FieldHelpTemplate(props) {
|
|
9
|
-
const { fieldPathId, help } = props;
|
|
10
|
+
const { fieldPathId, help, uiSchema, registry } = props;
|
|
10
11
|
if (!help) {
|
|
11
12
|
return null;
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
-
return (_jsx(Text, { id: id, size: 'sm', my: 'xs', c: 'dimmed', children: help }));
|
|
14
|
+
return (_jsx(Text, { id: helpId(fieldPathId), size: 'sm', my: 'xs', c: 'dimmed', children: _jsx(RichHelp, { help: help, registry: registry, uiSchema: uiSchema }) }));
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=FieldHelpTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldHelpTemplate.js","sourceRoot":"","sources":["../../src/templates/FieldHelpTemplate.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAiE,MAAM,aAAa,CAAC;AACpG,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"FieldHelpTemplate.js","sourceRoot":"","sources":["../../src/templates/FieldHelpTemplate.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAiE,MAAM,aAAa,CAAC;AACpG,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAIvC,KAA8B;IAC9B,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAExD,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,KAAC,IAAI,IAAC,EAAE,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE,IAAI,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,QAAQ,YACzD,KAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,GAAI,GAC3D,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -13,6 +13,6 @@ export default function FieldTemplate(props) {
|
|
|
13
13
|
if (hidden) {
|
|
14
14
|
return _jsx(Box, { display: 'none', children: children });
|
|
15
15
|
}
|
|
16
|
-
return (_jsxs(WrapIfAdditionalTemplate, { id: id, classNames: classNames, style: style, label: label, schema: schema, uiSchema: uiSchema, registry: registry, ...otherProps, children: [children, errors, help] }));
|
|
16
|
+
return (_jsxs(WrapIfAdditionalTemplate, { id: id, classNames: classNames, style: style, label: label, displayLabel: displayLabel, rawDescription: rawDescription, schema: schema, uiSchema: uiSchema, registry: registry, ...otherProps, children: [children, errors, help] }));
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=FieldTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldTemplate.js","sourceRoot":"","sources":["../../src/templates/FieldTemplate.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,EAKL,WAAW,EACX,YAAY,GACb,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAInC,KAAkC;IA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AAG,YAAY,CAAU,QAAQ,CAAC,CAAC;IAClD,MAAM,wBAAwB,GAAG,WAAW,CAC1C,0BAA0B,EAC1B,QAAQ,EACR,SAAS,CACV,CAAC;IAEF,IAAI,MAAM,EAAE,CAAC;QACX,OAAO,KAAC,GAAG,IAAC,OAAO,EAAC,MAAM,YAAE,QAAQ,GAAO,CAAC;IAC9C,CAAC;IAED,OAAO,CACL,MAAC,wBAAwB,IACvB,EAAE,EAAE,EAAE,EACN,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,cAAc,EAC9B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,KACd,UAAU,aAEb,QAAQ,EACR,MAAM,EACN,IAAI,IACoB,CAC5B,CAAC;AACJ,CAAC"}
|
|
@@ -7,7 +7,7 @@ import { Flex, Grid, TextInput } from '@mantine/core';
|
|
|
7
7
|
* @param props - The `WrapIfAdditionalProps` for this component
|
|
8
8
|
*/
|
|
9
9
|
export default function WrapIfAdditionalTemplate(props) {
|
|
10
|
-
const { id, classNames, style, label, required, readonly, disabled, schema, uiSchema, onKeyRenameBlur, onRemoveProperty, registry, children, } = props;
|
|
10
|
+
const { id, classNames, style, label, displayLabel, rawDescription, required, readonly, disabled, schema, uiSchema, onKeyRenameBlur, onRemoveProperty, registry, children, } = props;
|
|
11
11
|
const { templates, translateString } = registry;
|
|
12
12
|
// Button templates are not overridden in the uiSchema
|
|
13
13
|
const { RemoveButton } = templates.ButtonTemplates;
|
|
@@ -22,6 +22,6 @@ export default function WrapIfAdditionalTemplate(props) {
|
|
|
22
22
|
...uiSchema,
|
|
23
23
|
[UI_OPTIONS_KEY]: { ...uiOptions, block: true },
|
|
24
24
|
};
|
|
25
|
-
return (_jsx("div", { className: classNames, style: style, children: _jsxs(Flex, { gap: 'xs', align: 'end', justify: 'center', children: [_jsxs(Grid, { w: '100%', align: 'center', children: [_jsx(Grid.Col, { span: 6, className: 'form-additional', children: _jsx(
|
|
25
|
+
return (_jsx("div", { className: classNames, style: style, children: _jsxs(Flex, { gap: 'xs', align: 'end', justify: 'center', children: [_jsxs(Grid, { w: '100%', align: 'center', children: [_jsx(Grid.Col, { span: 6, className: 'form-additional', children: _jsx(TextInput, { className: 'form-group', label: displayLabel ? keyLabel : undefined, defaultValue: label, required: required, description: rawDescription ? '\u00A0' : undefined, disabled: disabled || readonly, id: `${id}-key`, name: `${id}-key`, onBlur: !readonly ? onKeyRenameBlur : undefined }) }), _jsx(Grid.Col, { span: 6, className: 'form-additional', children: children })] }), _jsx("div", { children: _jsx(RemoveButton, { id: buttonId(id, 'remove'), iconType: 'sm', className: 'rjsf-array-item-remove', disabled: disabled || readonly, onClick: onRemoveProperty, uiSchema: buttonUiOptions, registry: registry }) })] }) }));
|
|
26
26
|
}
|
|
27
27
|
//# sourceMappingURL=WrapIfAdditionalTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WrapIfAdditionalTemplate.js","sourceRoot":"","sources":["../../src/templates/WrapIfAdditionalTemplate.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,wBAAwB,EACxB,cAAc,EACd,QAAQ,EAIR,kBAAkB,GAEnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEtD;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAI9C,KAA6C;IAC7C,MAAM,EACJ,EAAE,EACF,UAAU,EACV,KAAK,EACL,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,QAAQ,GACT,GAAG,KAAK,CAAC;IACV,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,GAAG,QAAQ,CAAC;IAChD,sDAA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