@ouestfrance/sipa-bms-ui 8.0.1 → 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
  };
@@ -36762,7 +36764,7 @@
36762
36764
  type: { default: InputType.TEXT },
36763
36765
  errors: {}
36764
36766
  },
36765
- emits: ["update:modelValue", "update:focus", "keyUp", "keyDown", "keyEnter"],
36767
+ emits: ["update:modelValue", "update:focus", "blur", "keyUp", "keyDown", "keyEnter"],
36766
36768
  setup(__props, { expose: __expose, emit: __emit }) {
36767
36769
  const props = __props;
36768
36770
  const input = vue.ref(null);
@@ -36812,11 +36814,12 @@
36812
36814
  placeholder: _ctx.placeholder,
36813
36815
  required: _ctx.required,
36814
36816
  disabled: _ctx.disabled,
36817
+ onBlur: _cache[0] || (_cache[0] = ($event) => $emits("blur")),
36815
36818
  onInput,
36816
36819
  onKeydown: [
36817
- _cache[0] || (_cache[0] = vue.withKeys(($event) => $emits("keyUp"), ["up"])),
36818
- _cache[1] || (_cache[1] = vue.withKeys(($event) => $emits("keyDown"), ["down"])),
36819
- _cache[2] || (_cache[2] = vue.withKeys(($event) => $emits("keyEnter"), ["enter"]))
36820
+ _cache[1] || (_cache[1] = vue.withKeys(($event) => $emits("keyUp"), ["up"])),
36821
+ _cache[2] || (_cache[2] = vue.withKeys(($event) => $emits("keyDown"), ["down"])),
36822
+ _cache[3] || (_cache[3] = vue.withKeys(($event) => $emits("keyEnter"), ["enter"]))
36820
36823
  ]
36821
36824
  }, null, 40, _hoisted_3$e),
36822
36825
  vue.createElementVNode("span", _hoisted_4$b, [
@@ -36827,7 +36830,7 @@
36827
36830
  }
36828
36831
  });
36829
36832
 
36830
- const RawInputText = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-bde31ca8"]]);
36833
+ const RawInputText = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-c1fe71b9"]]);
36831
36834
 
36832
36835
  const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
36833
36836
  __name: "RawAutocomplete",
@@ -66341,7 +66344,7 @@
66341
66344
  captions: {},
66342
66345
  errors: {}
66343
66346
  },
66344
- emits: ["update:modelValue"],
66347
+ emits: ["update:modelValue", "blur"],
66345
66348
  setup(__props, { expose: __expose, emit: __emit }) {
66346
66349
  const props = __props;
66347
66350
  const input = vue.ref(null);
@@ -66380,6 +66383,7 @@
66380
66383
  disabled: _ctx.disabled,
66381
66384
  errors: _ctx.errors,
66382
66385
  hasDate: false,
66386
+ onBlur: _cache[0] || (_cache[0] = ($event) => $emits("blur")),
66383
66387
  onInput,
66384
66388
  onKeyup: onInput
66385
66389
  }, {
@@ -102786,6 +102790,7 @@
102786
102790
  }
102787
102791
  });
102788
102792
 
102793
+ exports.BMS_FORM_VALID_URL_REGEX = BMS_FORM_VALID_URL_REGEX;
102789
102794
  exports.BmsAlert = BmsAlert;
102790
102795
  exports.BmsAutocomplete = BmsAutocomplete;
102791
102796
  exports.BmsBackButton = BmsBackButton;