fds-vue-core 8.3.1 → 8.3.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.
@@ -1,4 +1,4 @@
1
- import { useAttrs, computed, useSlots, Comment, inject, defineComponent, openBlock, createElementBlock, mergeProps, createBlock, ref, watch, createElementVNode, normalizeClass, unref, createVNode, toDisplayString, createCommentVNode, renderSlot, withCtx, createTextVNode, withDirectives, vShow, resolveDynamicComponent, normalizeStyle, onMounted, toValue, onUnmounted, onBeforeUnmount, Fragment, renderList, useModel, nextTick, vModelCheckbox, mergeModels, Teleport, withModifiers, provide, getCurrentInstance, vModelText, withKeys, watchEffect, reactive, resolveComponent, Transition, normalizeProps, guardReactiveProps, isRef, vModelSelect } from "vue";
1
+ import { useAttrs, computed, useSlots, Comment, inject, defineComponent, openBlock, createElementBlock, mergeProps, createBlock, ref, watch, createElementVNode, normalizeClass, unref, createVNode, toDisplayString, createCommentVNode, renderSlot, withCtx, createTextVNode, withDirectives, vShow, resolveDynamicComponent, normalizeStyle, onMounted, toValue, onUnmounted, onBeforeUnmount, Fragment, renderList, useModel, nextTick, vModelCheckbox, mergeModels, Teleport, withModifiers, provide, getCurrentInstance, vModelText, withKeys, watchEffect, reactive, resolveComponent, Transition, normalizeProps, guardReactiveProps, vModelSelect } from "vue";
2
2
  function useAttrsWithDefaults(props) {
3
3
  const attrs = useAttrs();
4
4
  return {
@@ -9930,7 +9930,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
9930
9930
  onKeydown: {},
9931
9931
  onKeyup: {}
9932
9932
  }, {
9933
- "modelValue": { default: "" },
9933
+ "modelValue": {},
9934
9934
  "modelModifiers": {}
9935
9935
  }),
9936
9936
  emits: /* @__PURE__ */ mergeModels(["input", "autocomplete", "clearInput", "update:value", "keyup", "keyup.enter", "blur"], ["update:modelValue"]),
@@ -19298,8 +19298,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19298
19298
  onNoCountryResults
19299
19299
  }, null, 8, ["modelValue", "items", "valid", "disabled", "ariaLabel", "data-testid", "class"]),
19300
19300
  createVNode(_sfc_main$s, mergeProps({
19301
- modelValue: unref(nationalNumber),
19302
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(nationalNumber) ? nationalNumber.value = $event : null),
19301
+ "model-value": unref(nationalNumber),
19302
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => nationalNumber.value = $event ?? ""),
19303
19303
  mask: phoneMask.value,
19304
19304
  "mask-options": phoneMaskOptions.value,
19305
19305
  valid: displayValid.value,
@@ -19308,7 +19308,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19308
19308
  ariaLabel: unref(t)("FdsPhonenumber.phoneNumber"),
19309
19309
  "data-testid": __props.dataTestid ? `${__props.dataTestid}-number` : void 0,
19310
19310
  class: ["mb-0! min-w-0 flex-1", __props.inputClass ?? ""]
19311
- }, forwardedInputProps.value, { onBlur: handleBlur }), null, 16, ["modelValue", "mask", "mask-options", "valid", "disabled", "optional", "ariaLabel", "data-testid", "class"])
19311
+ }, forwardedInputProps.value, { onBlur: handleBlur }), null, 16, ["model-value", "mask", "mask-options", "valid", "disabled", "optional", "ariaLabel", "data-testid", "class"])
19312
19312
  ]),
19313
19313
  noCountryResults.value ? (openBlock(), createElementBlock("div", _hoisted_4$3, toDisplayString(unref(t)("FdsPhonenumber.noCountryResults")), 1)) : createCommentVNode("", true),
19314
19314
  showInvalidMessage.value ? (openBlock(), createElementBlock("div", _hoisted_5$3, toDisplayString(resolvedInvalidMessage.value), 1)) : createCommentVNode("", true)
@@ -19766,8 +19766,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19766
19766
  return (_ctx, _cache) => {
19767
19767
  return openBlock(), createElementBlock("div", _hoisted_1$4, [
19768
19768
  createVNode(_sfc_main$s, mergeProps({
19769
- modelValue: modelValue.value,
19770
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
19769
+ "model-value": modelValue.value,
19770
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event ?? ""),
19771
19771
  mask: ssnMask.value,
19772
19772
  "mask-options": ssnMaskOptions.value,
19773
19773
  label: resolvedLabel.value,
@@ -19779,7 +19779,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19779
19779
  ariaLabel: resolvedLabel.value,
19780
19780
  "data-testid": __props.dataTestid,
19781
19781
  class: __props.inputClass
19782
- }, forwardedInputProps.value, { onBlur: handleBlur }), null, 16, ["modelValue", "mask", "mask-options", "label", "meta", "valid", "disabled", "optional", "invalid-message", "ariaLabel", "data-testid", "class"])
19782
+ }, forwardedInputProps.value, { onBlur: handleBlur }), null, 16, ["model-value", "mask", "mask-options", "label", "meta", "valid", "disabled", "optional", "invalid-message", "ariaLabel", "data-testid", "class"])
19783
19783
  ]);
19784
19784
  };
19785
19785
  }