zek 14.2.57 → 14.2.58

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/fesm2020/zek.mjs CHANGED
@@ -1090,6 +1090,21 @@ class UrlHelper {
1090
1090
  let i = action.indexOf(';');
1091
1091
  return i === -1 ? action : action.substring(0, i);
1092
1092
  }
1093
+ static getNoParam(url) {
1094
+ let i1 = url.indexOf('?');
1095
+ let i2 = url.indexOf(';');
1096
+ if (i1 !== -1) {
1097
+ if (i2 !== -1) {
1098
+ let min = i1 < i2 ? i1 : i2;
1099
+ return url.substring(0, min);
1100
+ }
1101
+ return url.substring(0, i1);
1102
+ }
1103
+ if (i2 !== -1) {
1104
+ return url.substring(0, i2);
1105
+ }
1106
+ return url;
1107
+ }
1093
1108
  }
1094
1109
 
1095
1110
  class AuthService {