impaktapps-ui-builder 0.0.101-alpha.70 → 0.0.101-alpha.72
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 +6 -6
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +5 -5
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +2 -2
- package/src/impaktapps-ui-builder/builder/services/event.ts +4 -4
package/package.json
CHANGED
|
@@ -158,7 +158,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
158
158
|
const path = store.searchParams?.get("path");
|
|
159
159
|
const id = store.searchParams?.get("id")
|
|
160
160
|
|
|
161
|
-
let pathArray = [{label: config.name, path: `/
|
|
161
|
+
let pathArray = [{label: config.name, path: `/PageMaster${id ? `?id=${id}` : ''}`}];
|
|
162
162
|
|
|
163
163
|
if (path) {
|
|
164
164
|
const pathArrayAll = path.split(".");
|
|
@@ -176,7 +176,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
176
176
|
const data = _.get(config, e)
|
|
177
177
|
pathArray.push({
|
|
178
178
|
label: data?.name || data?.eventType || "NewComponent",
|
|
179
|
-
path: `/Component?path=${e}
|
|
179
|
+
path: `/Component?path=${e}${id ? `&id=${id}` : ''}`
|
|
180
180
|
});
|
|
181
181
|
})
|
|
182
182
|
}
|
|
@@ -131,7 +131,7 @@ export default (
|
|
|
131
131
|
const path = store.searchParams?.get("path");
|
|
132
132
|
const id = store.searchParams?.get("id");
|
|
133
133
|
|
|
134
|
-
let pathArray = [{label: config.name, path: `/
|
|
134
|
+
let pathArray = [{label: config.name, path: `/PageMaster${id ? `?id=${id}` : ''}`}];
|
|
135
135
|
|
|
136
136
|
if (path) {
|
|
137
137
|
const pathArrayAll = path.split(".");
|
|
@@ -148,7 +148,7 @@ export default (
|
|
|
148
148
|
const data = _.get(config, e);
|
|
149
149
|
pathArray.push({
|
|
150
150
|
label: data?.name || data?.eventType || "NewComponent",
|
|
151
|
-
path: data?.eventType ? `/ComponentEvents?path=${e}
|
|
151
|
+
path: data?.eventType ? `/ComponentEvents?path=${e}${id ? `&id=${id}` : ''}` : `/Component?path=${e}${id ? `&id=${id}` : ''}`,
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
}
|
|
@@ -173,7 +173,7 @@ export default (
|
|
|
173
173
|
const path = store.searchParams?.get("path");
|
|
174
174
|
const id = store.searchParams?.get("id");
|
|
175
175
|
|
|
176
|
-
let pathArray = [{label: config.name, path: `/
|
|
176
|
+
let pathArray = [{label: config.name, path: `/PageMaster${id ? `?id=${id}` : ''}`}];
|
|
177
177
|
|
|
178
178
|
if (path) {
|
|
179
179
|
const pathArrayAll = path.split(".");
|
|
@@ -190,7 +190,7 @@ export default (
|
|
|
190
190
|
const data = _.get(config, e);
|
|
191
191
|
pathArray.push({
|
|
192
192
|
label: data?.name || data?.eventType || "NewComponent",
|
|
193
|
-
path: data?.eventType ? `/ComponentEvents?path=${e}
|
|
193
|
+
path: data?.eventType ? `/ComponentEvents?path=${e}${id ? `&id=${id}` : ''}` : `/Component?path=${e}${id ? `&id=${id}` : ''}`,
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
}
|