fds-vue-core 2.1.49 → 2.1.50

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.
@@ -7927,7 +7927,6 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
7927
7927
  return {
7928
7928
  ...filtered,
7929
7929
  id: inputId.value,
7930
- class: props.class ?? attrs.class,
7931
7930
  "data-testid": props.dataTestid ?? void 0
7932
7931
  };
7933
7932
  });
@@ -7986,7 +7985,9 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
7986
7985
  if (!isLazy.value && ev.type === "change") {
7987
7986
  return;
7988
7987
  }
7989
- internalValue.value = target.value;
7988
+ if (!props.mask) {
7989
+ internalValue.value = target.value;
7990
+ }
7990
7991
  if (ev.type === "input") {
7991
7992
  emit("input", ev);
7992
7993
  }
@@ -8037,7 +8038,9 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
8037
8038
  () => props.value,
8038
8039
  (newValue) => {
8039
8040
  if (maskInstance && newValue !== void 0 && newValue !== maskInstance.value) {
8040
- maskInstance.value = newValue;
8041
+ if (document.activeElement !== inputRef.value) {
8042
+ maskInstance.value = newValue;
8043
+ }
8041
8044
  }
8042
8045
  }
8043
8046
  );
@@ -8045,7 +8048,9 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
8045
8048
  () => modelValue.value,
8046
8049
  (newValue) => {
8047
8050
  if (maskInstance && newValue !== void 0 && newValue !== maskInstance.value) {
8048
- maskInstance.value = newValue;
8051
+ if (document.activeElement !== inputRef.value) {
8052
+ maskInstance.value = newValue;
8053
+ }
8049
8054
  }
8050
8055
  }
8051
8056
  );
@@ -9335,7 +9340,6 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
9335
9340
  return {
9336
9341
  ...filtered,
9337
9342
  id: inputId.value,
9338
- class: props.class ?? attrs.class,
9339
9343
  "data-testid": props.dataTestid ?? void 0
9340
9344
  };
9341
9345
  });
@@ -9507,7 +9511,6 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
9507
9511
  ...filtered,
9508
9512
  id: inputId.value,
9509
9513
  name: props.name ?? attrs.name,
9510
- class: props.class ?? attrs.class,
9511
9514
  "data-testid": props.dataTestid ?? void 0
9512
9515
  };
9513
9516
  });