@abgov/jsonforms-components 1.16.2 → 1.16.4
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
CHANGED
|
@@ -3789,7 +3789,7 @@ class ContextProviderClass {
|
|
|
3789
3789
|
this.enumValues.set(key, () => data);
|
|
3790
3790
|
};
|
|
3791
3791
|
this.setup = props => {
|
|
3792
|
-
var _a, _b;
|
|
3792
|
+
var _a, _b, _c;
|
|
3793
3793
|
this.selfProps = props;
|
|
3794
3794
|
if (props.fileManagement) {
|
|
3795
3795
|
const {
|
|
@@ -3819,9 +3819,10 @@ class ContextProviderClass {
|
|
|
3819
3819
|
if (!props.children) {
|
|
3820
3820
|
return null;
|
|
3821
3821
|
}
|
|
3822
|
+
this.baseEnumerator.isFormSubmitted = (_b = props.isFormSubmitted) !== null && _b !== void 0 ? _b : false;
|
|
3822
3823
|
return jsx(JsonFormContext.Provider, {
|
|
3823
3824
|
value: this.baseEnumerator,
|
|
3824
|
-
children: (
|
|
3825
|
+
children: (_c = this.selfProps) === null || _c === void 0 ? void 0 : _c.children
|
|
3825
3826
|
});
|
|
3826
3827
|
};
|
|
3827
3828
|
this.getContextProvider = () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.4",
|
|
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",
|
|
@@ -12,6 +12,7 @@ export interface enumerators {
|
|
|
12
12
|
addDataByUrl: (key: string, url: string, processDataFunction: (data: object) => string[], token?: string) => void;
|
|
13
13
|
getFormContextData: (key: string) => Record<string, any>;
|
|
14
14
|
getAllFormContextData: () => AllData;
|
|
15
|
+
isFormSubmitted: boolean;
|
|
15
16
|
}
|
|
16
17
|
interface FileManagement {
|
|
17
18
|
fileList?: any;
|