@bagelink/vue 1.7.45 → 1.7.49

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.
package/dist/index.mjs CHANGED
@@ -9034,7 +9034,7 @@ var _hoisted_1$51 = ["title"], _hoisted_2$36 = ["for"], _hoisted_3$29 = { class:
9034
9034
  }, 0)), Uj();
9035
9035
  }
9036
9036
  function Uj() {
9037
- if (M.multiselect) N("update:modelValue", yj.value.map(Bj).filter(Boolean));
9037
+ if (M.multiselect) N("update:modelValue", yj.value.map(Bj).filter((e) => e != null));
9038
9038
  else {
9039
9039
  let [e] = yj.value;
9040
9040
  N("update:modelValue", Bj(e));
@@ -9042,7 +9042,7 @@ var _hoisted_1$51 = ["title"], _hoisted_2$36 = ["for"], _hoisted_3$29 = { class:
9042
9042
  }
9043
9043
  function Kj(e, t) {
9044
9044
  if (e.length !== t.length) return !1;
9045
- let j = e.map(Bj).filter(Boolean).map(String).sort(), M = t.map(Bj).filter(Boolean).map(String).sort();
9045
+ let j = e.map(Bj).filter((e) => e != null).map(String).sort(), M = t.map(Bj).filter((e) => e != null).map(String).sort();
9046
9046
  return j.every((e, t) => e === M[t]);
9047
9047
  }
9048
9048
  return watch(() => M.modelValue, (e) => {
@@ -9051,7 +9051,7 @@ var _hoisted_1$51 = ["title"], _hoisted_2$36 = ["for"], _hoisted_3$29 = { class:
9051
9051
  Kj(t, yj.value) || yj.value.splice(0, bj.value, ...t);
9052
9052
  } else {
9053
9053
  let t = Array.isArray(M.options) ? M.options.find((t) => Bj(t) === e) ?? e : e;
9054
- t && !Ij(t) && (yj.value = [t]);
9054
+ t != null && !Ij(t) && (yj.value = [t]);
9055
9055
  }
9056
9056
  }, { immediate: !0 }), watch(() => wj.value, (e) => {
9057
9057
  e && (jj.value = -1, setTimeout(() => {
@@ -9071,7 +9071,7 @@ var _hoisted_1$51 = ["title"], _hoisted_2$36 = ["for"], _hoisted_3$29 = { class:
9071
9071
  let M = Bj(t);
9072
9072
  if (typeof t != "object" || !t.label) {
9073
9073
  let t = e.find((e) => Bj(e) === M);
9074
- t && yj.value.splice(j, 1, t);
9074
+ t !== void 0 && yj.value.splice(j, 1, t);
9075
9075
  }
9076
9076
  });
9077
9077
  }, { deep: !0 }), onMounted(() => {
@@ -9190,7 +9190,7 @@ var _hoisted_1$51 = ["title"], _hoisted_2$36 = ["for"], _hoisted_3$29 = { class:
9190
9190
  _: 3
9191
9191
  }, 8, ["shown", "placement"]));
9192
9192
  }
9193
- }), [["__scopeId", "data-v-78ea3a54"]]), _hoisted_1$42 = ["title"], _hoisted_2$28 = ["for"], _hoisted_3$22 = { key: 0 }, _hoisted_4$13 = [
9193
+ }), [["__scopeId", "data-v-5beb2e3d"]]), _hoisted_1$42 = ["title"], _hoisted_2$28 = ["for"], _hoisted_3$22 = { key: 0 }, _hoisted_4$13 = [
9194
9194
  "id",
9195
9195
  "name",
9196
9196
  "title",