@abgov/jsonforms-components 2.22.3 → 2.23.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/index.esm.js +3 -2
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -8604,7 +8604,7 @@ const BackButton = ({
|
|
|
8604
8604
|
};
|
|
8605
8605
|
|
|
8606
8606
|
const RenderPages = props => {
|
|
8607
|
-
var _a, _b;
|
|
8607
|
+
var _a, _b, _c, _d;
|
|
8608
8608
|
const {
|
|
8609
8609
|
data,
|
|
8610
8610
|
schema,
|
|
@@ -8629,6 +8629,7 @@ const RenderPages = props => {
|
|
|
8629
8629
|
activeId
|
|
8630
8630
|
} = formStepperCtx.selectStepperState();
|
|
8631
8631
|
const hideSubmit = (_b = (_a = props.categoryProps.uischema.options) === null || _a === void 0 ? void 0 : _a.hideSubmit) !== null && _b !== void 0 ? _b : false;
|
|
8632
|
+
const toAppOverviewLabel = (_d = (_c = props.categoryProps.uischema.options) === null || _c === void 0 ? void 0 : _c.toAppOverviewLabel) !== null && _d !== void 0 ? _d : 'Back to application overview';
|
|
8632
8633
|
const submitFormFunction = enumerators === null || enumerators === void 0 ? void 0 : enumerators.submitFunction.get('submit-form');
|
|
8633
8634
|
const submitForm = submitFormFunction && submitFormFunction();
|
|
8634
8635
|
const saveFormFunction = enumerators === null || enumerators === void 0 ? void 0 : enumerators.saveFunction.get('save-form');
|
|
@@ -8657,7 +8658,7 @@ const RenderPages = props => {
|
|
|
8657
8658
|
id: `${path || `goa`}-form-pages`,
|
|
8658
8659
|
children: jsxs(PageBorder, {
|
|
8659
8660
|
children: [jsx(BackButton, {
|
|
8660
|
-
text:
|
|
8661
|
+
text: toAppOverviewLabel,
|
|
8661
8662
|
link: () => {
|
|
8662
8663
|
handleSave();
|
|
8663
8664
|
goToTableOfContext();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.23.0",
|
|
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",
|