@ouestfrance/sipa-bms-ui 8.1.0 → 8.1.1

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.
@@ -141,6 +141,8 @@
141
141
  });
142
142
  };
143
143
 
144
+ const BMS_FORM_VALID_URL_REGEX = /^(https?:\/\/)?(localhost(:\d+)?|([\da-zA-Z][-\da-zA-Z]*[\da-zA-Z]\.)+[a-zA-Z]{2,6})(\/[\w .-]*)*\/?$/;
145
+
144
146
  const getCurrentLocation = () => {
145
147
  return window.location;
146
148
  };
@@ -102788,6 +102790,7 @@
102788
102790
  }
102789
102791
  });
102790
102792
 
102793
+ exports.BMS_FORM_VALID_URL_REGEX = BMS_FORM_VALID_URL_REGEX;
102791
102794
  exports.BmsAlert = BmsAlert;
102792
102795
  exports.BmsAutocomplete = BmsAutocomplete;
102793
102796
  exports.BmsBackButton = BmsBackButton;