@rocketui/vue 0.1.16 → 0.1.18

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.
@@ -8662,7 +8662,7 @@ async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8662
8662
  return;
8663
8663
  const r = ((o = H.offsetParent) == null ? void 0 : o.getBoundingClientRect().left) || 0;
8664
8664
  if (Object.assign(V.style, {
8665
- maxWidth: e === "dropdown" ? `${H.offsetWidth - 2}px` : "auto",
8665
+ maxWidth: e === "dropdown" ? `${H.offsetWidth}px` : "auto",
8666
8666
  width: "100%",
8667
8667
  left: e === "dropdown" ? `${r}px` : `${d}px`,
8668
8668
  top: `${t}px`,
@@ -8922,7 +8922,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8922
8922
  C.modelValue ? C.multiple ? L.push(C.modelValue) : (A.value = C.modelValue, e.value = C.modelValue.label) : (A.value = {}, L.splice(0, L.length));
8923
8923
  }
8924
8924
  function v(s) {
8925
- C.searchable && s();
8925
+ C.searchable && s(), !(C.multiple || C.taggable) && (e.value === "" && (A.value = {}), M("update:modelValue", ""));
8926
8926
  }
8927
8927
  function Q(s, l) {
8928
8928
  if (s.stopPropagation(), l(), C.multiple || C.taggable) {