impaktapps-ui-builder 0.0.101-alpha.337 → 0.0.101-alpha.338
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/impaktapps-ui-builder.es.js +3 -21
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +2 -2
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +17 -17
- package/src/impaktapps-ui-builder/runtime/services/service.ts +8 -7
|
@@ -96,25 +96,11 @@ const PageMasterUiSchema = (theme) => {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
|
-
{
|
|
100
|
-
type: "Control",
|
|
101
|
-
scope: "#/properties/programIdRequired",
|
|
102
|
-
options: {
|
|
103
|
-
widget: "RadioInputField"
|
|
104
|
-
},
|
|
105
|
-
config: {
|
|
106
|
-
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
107
|
-
main: {
|
|
108
|
-
label: "Program ID Required",
|
|
109
|
-
options: [{ label: "Yes", const: "YES" }, { label: "No", const: "NO" }]
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
99
|
{
|
|
114
100
|
type: "Control",
|
|
115
101
|
scope: "#/properties/EmptyBox",
|
|
116
102
|
config: {
|
|
117
|
-
layout: { xs: 0, sm:
|
|
103
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 6 }
|
|
118
104
|
},
|
|
119
105
|
options: {
|
|
120
106
|
widget: "EmptyBox"
|
|
@@ -10301,12 +10287,8 @@ var service = (funcParams) => {
|
|
|
10301
10287
|
const config2 = pageData == null ? void 0 : pageData.config;
|
|
10302
10288
|
const pathParts = funcParams.store.location.pathname.split("/");
|
|
10303
10289
|
const programId = ((_a = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _a.value) || "programID";
|
|
10304
|
-
if (
|
|
10305
|
-
if (pathParts
|
|
10306
|
-
funcParams.store.navigate(
|
|
10307
|
-
`${programId}/${funcParams.store.location.pathname}`
|
|
10308
|
-
);
|
|
10309
|
-
} else if (pathParts[1] !== programId + "") {
|
|
10290
|
+
if (pathParts.length >= 2) {
|
|
10291
|
+
if (pathParts[1] !== programId + "") {
|
|
10310
10292
|
pathParts[1] = programId;
|
|
10311
10293
|
const newPath = pathParts.slice(0, 3).join("/");
|
|
10312
10294
|
funcParams.store.navigate(newPath);
|