@epam/ai-dial-modulify-ui 0.49.4 → 0.49.5
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 +16 -0
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -9977,6 +9977,9 @@ var segment = {};
|
|
|
9977
9977
|
},
|
|
9978
9978
|
normalizeRscURL: function() {
|
|
9979
9979
|
return normalizeRscURL;
|
|
9980
|
+
},
|
|
9981
|
+
selectAppPageEntry: function() {
|
|
9982
|
+
return selectAppPageEntry;
|
|
9980
9983
|
}
|
|
9981
9984
|
});
|
|
9982
9985
|
const _ensureleadingslash = ensureLeadingSlash;
|
|
@@ -10009,6 +10012,19 @@ var segment = {};
|
|
|
10009
10012
|
if (!aHasSlot && bHasSlot) return 1;
|
|
10010
10013
|
return a.localeCompare(b);
|
|
10011
10014
|
}
|
|
10015
|
+
function selectAppPageEntry(pathname, appPaths, normalizePathname = (appPath)=>normalizeAppPath(appPath).replace(/%5F/g, '_')) {
|
|
10016
|
+
let entry;
|
|
10017
|
+
for (const appPath of appPaths){
|
|
10018
|
+
if (normalizePathname(appPath) !== pathname) continue;
|
|
10019
|
+
if (entry === undefined || compareAppPaths(entry, appPath) < 0) {
|
|
10020
|
+
entry = appPath;
|
|
10021
|
+
}
|
|
10022
|
+
}
|
|
10023
|
+
if (entry === undefined) {
|
|
10024
|
+
throw new Error(`Invariant: no direct app page entry found for ${pathname}`);
|
|
10025
|
+
}
|
|
10026
|
+
return entry;
|
|
10027
|
+
}
|
|
10012
10028
|
function normalizeRscURL(url) {
|
|
10013
10029
|
return url.replace(/\.rsc($|\?)/, // $1 ensures `?` is preserved
|
|
10014
10030
|
'$1');
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@epam/ai-dial-modulify-ui",
|
|
3
3
|
"description": "Modulify Toolkit (UI) for turning a monolith-like project into a modular one",
|
|
4
4
|
"homepage": "https://dialx.ai",
|
|
5
|
-
"version": "0.49.
|
|
5
|
+
"version": "0.49.5",
|
|
6
6
|
"dependencies": {},
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bugs": {
|