@roadtrip/components 3.33.1 → 3.33.2

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.
@@ -17910,6 +17910,9 @@ const Input = class {
17910
17910
  this.value = newValue;
17911
17911
  input.value = newValue; // Mise à jour immédiate du champ
17912
17912
  }
17913
+ else {
17914
+ this.value = newValue;
17915
+ }
17913
17916
  this.roadInput.emit(ev);
17914
17917
  this.roadChange.emit({ value: newValue });
17915
17918
  // Appeler enforceMinMaxValue à chaque modification de la valeur
@@ -17934,6 +17937,9 @@ const Input = class {
17934
17937
  const input = document.getElementById(this.inputId);
17935
17938
  input.value = value;
17936
17939
  }
17940
+ else {
17941
+ this.value = value;
17942
+ }
17937
17943
  this.roadBlur.emit(value);
17938
17944
  // Appeler enforceMinMaxValue lors de la perte de focus
17939
17945
  this.enforceMinMaxValue();
@@ -18002,7 +18008,7 @@ const Input = class {
18002
18008
  const hasValueClass = this.value !== '' && this.value !== null ? 'has-value' : '';
18003
18009
  const lessLabelClass = this.label !== '' ? '' : 'less-label';
18004
18010
  const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
18005
- return (index.h(index.Host, { key: 'b7ef84554172ef97f03f4dc705900d07a2aa1a38', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}`, value: value, blockdecimal: this.blockdecimal }, index.h("input", { key: '8eeb48bdc7f566e5d05653b62e84fd8a65c5f186', class: `form-control ${hasValueClass} ${isInvalidClass} ${lessLabelClass}`, id: this.inputId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, enterKeyHint: this.enterkeyhint, autoFocus: this.autofocus, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, size: this.size, type: this.type, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.type === 'number' ? (event) => this.handleKeyDown(event) : undefined, "data-cy": 'road-input' }), index.h("label", { key: '4aefd838da02cab58f221b5b3997425b08a5d8d4', class: "form-label", id: labelId, htmlFor: this.inputId }, this.label), this.error && this.error !== '' && index.h("p", { key: '4240bb64b880cc9d5a197bde53d751e111585c1e', class: "invalid-feedback" }, index.h("road-icon", { key: '018901170aa61e758327643920e4e061df3b8610', slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.error), this.helper && this.helper !== '' && index.h("p", { key: '84c82786154595624d477db40b79bee27eff1d03', class: "helper" }, this.helper), this.type && this.type == 'password' && index.h("slot", { key: '3d55459ebb09892c6b830b726292ae2db4cbb5be', name: "checklistPassword" })));
18011
+ return (index.h(index.Host, { key: '4af2964df51193dacd3ea36a1fd79f2c6b01fcfc', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}`, value: value, blockdecimal: this.blockdecimal }, index.h("input", { key: '82db811a6fff01df156a857bdf2168d62a5455b7', class: `form-control ${hasValueClass} ${isInvalidClass} ${lessLabelClass}`, id: this.inputId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, enterKeyHint: this.enterkeyhint, autoFocus: this.autofocus, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, size: this.size, type: this.type, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.type === 'number' ? (event) => this.handleKeyDown(event) : undefined, "data-cy": 'road-input' }), index.h("label", { key: '5d3fa862ed44249d044043892df85beada63b70b', class: "form-label", id: labelId, htmlFor: this.inputId }, this.label), this.error && this.error !== '' && index.h("p", { key: 'fc369a8e4fe6ae36fefb24063f025db5badb62a8', class: "invalid-feedback" }, index.h("road-icon", { key: '1371b9544470df3fc800af1b36e4ed1a6f292511', slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.error), this.helper && this.helper !== '' && index.h("p", { key: 'a2ff9b16b7fac10183ef756ba8994db79dd8b205', class: "helper" }, this.helper), this.type && this.type == 'password' && index.h("slot", { key: 'aa664412f19a89162c4b89519dadded5d67954e3', name: "checklistPassword" })));
18006
18012
  }
18007
18013
  static get watchers() { return {
18008
18014
  "debounce": ["debounceChanged"],