ets-fe-ng-sdk 20.3.4 → 20.3.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/fesm2022/ets-fe-ng-sdk.mjs +5 -1
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/index.d.ts +11 -10
- package/package.json +1 -1
|
@@ -1382,7 +1382,7 @@ var EVFunctions;
|
|
|
1382
1382
|
},
|
|
1383
1383
|
},
|
|
1384
1384
|
];
|
|
1385
|
-
if (indexPage
|
|
1385
|
+
if (indexPage && Object.keys(indexPage).length > 0) {
|
|
1386
1386
|
const indexRoute = {
|
|
1387
1387
|
...indexPage,
|
|
1388
1388
|
data: {
|
|
@@ -1407,6 +1407,10 @@ var EVFunctions;
|
|
|
1407
1407
|
return routes;
|
|
1408
1408
|
}
|
|
1409
1409
|
EVFunctions.extendRoute2 = extendRoute2;
|
|
1410
|
+
function createModule(path, route, indexPage) {
|
|
1411
|
+
return { path, children: extendRoute2(route, indexPage) };
|
|
1412
|
+
}
|
|
1413
|
+
EVFunctions.createModule = createModule;
|
|
1410
1414
|
/**
|
|
1411
1415
|
* Concatenates two strings and accounts for null values
|
|
1412
1416
|
* @param text1 First string to concatenate
|