@abgov/jsonforms-components 1.25.4 → 1.25.6
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/index.esm.js +15 -14
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -4060,7 +4060,6 @@ const EnumSelect = props => {
|
|
|
4060
4060
|
value: data,
|
|
4061
4061
|
disabled: !enabled,
|
|
4062
4062
|
relative: true,
|
|
4063
|
-
width: "100%",
|
|
4064
4063
|
filterable: autocompletion,
|
|
4065
4064
|
testId: `${id || label}-jsonform`
|
|
4066
4065
|
}, appliedUiSchemaOptions, {
|
|
@@ -5050,15 +5049,17 @@ const FormStepper = props => {
|
|
|
5050
5049
|
})]
|
|
5051
5050
|
}), jsx(GoAGrid, {
|
|
5052
5051
|
minChildWidth: "600px",
|
|
5053
|
-
children: category.elements.map(element => {
|
|
5054
|
-
return jsx(
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5052
|
+
children: category.elements.map((element, index) => {
|
|
5053
|
+
return jsx("div", {
|
|
5054
|
+
children: jsx(JsonFormsDispatch, {
|
|
5055
|
+
"data-testid": `jsonforms-object-list-defined-elements-dispatch`,
|
|
5056
|
+
schema: schema,
|
|
5057
|
+
uischema: element,
|
|
5058
|
+
enabled: enabled,
|
|
5059
|
+
renderers: GoAReviewRenderers,
|
|
5060
|
+
cells: cells
|
|
5061
|
+
})
|
|
5062
|
+
}, `form-stepper-category-${index}`);
|
|
5062
5063
|
})
|
|
5063
5064
|
})]
|
|
5064
5065
|
}, index);
|
|
@@ -5216,7 +5217,7 @@ const FileUploaderReview = props => {
|
|
|
5216
5217
|
}));
|
|
5217
5218
|
};
|
|
5218
5219
|
const FileUploader = _a => {
|
|
5219
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k
|
|
5220
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
5220
5221
|
var {
|
|
5221
5222
|
data,
|
|
5222
5223
|
path,
|
|
@@ -5282,9 +5283,9 @@ const FileUploader = _a => {
|
|
|
5282
5283
|
const timeoutId = setTimeout(delayedFunction, 1);
|
|
5283
5284
|
return () => clearTimeout(timeoutId);
|
|
5284
5285
|
}, [handleChange, fileList, propertyId]);
|
|
5285
|
-
const readOnly = (
|
|
5286
|
-
const maxFileSize = (
|
|
5287
|
-
const accept = (
|
|
5286
|
+
const readOnly = ((_d = (_c = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _c === void 0 ? void 0 : _c.componentProps) === null || _d === void 0 ? void 0 : _d.readOnly) === true || (props === null || props === void 0 ? void 0 : props.isStepperReview) === true;
|
|
5287
|
+
const maxFileSize = (_g = (_f = (_e = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _e === void 0 ? void 0 : _e.componentProps) === null || _f === void 0 ? void 0 : _f.maxFileSize) !== null && _g !== void 0 ? _g : '';
|
|
5288
|
+
const accept = (_k = (_j = (_h = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _h === void 0 ? void 0 : _h.componentProps) === null || _j === void 0 ? void 0 : _j.accept) !== null && _k !== void 0 ? _k : '';
|
|
5288
5289
|
return jsxs(FileUploaderStyle, {
|
|
5289
5290
|
id: "file-upload",
|
|
5290
5291
|
className: "FileUploader",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
|
|
6
6
|
"repository": "https://github.com/GovAlta/adsp-monorepo",
|