bootstrap-vue-next 0.45.1 → 0.45.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.
@@ -2071,7 +2071,12 @@ var BAutocomplete_default = /* @__PURE__ */ defineComponent({
2071
2071
  "search": { default: "" },
2072
2072
  "searchModifiers": {}
2073
2073
  }),
2074
- emits: /* @__PURE__ */ mergeModels(["blur", "focus"], [
2074
+ emits: /* @__PURE__ */ mergeModels([
2075
+ "blur",
2076
+ "change",
2077
+ "clear",
2078
+ "focus"
2079
+ ], [
2075
2080
  "update:modelValue",
2076
2081
  "update:open",
2077
2082
  "update:search"
@@ -2148,6 +2153,7 @@ var BAutocomplete_default = /* @__PURE__ */ defineComponent({
2148
2153
  if (props.by && typeof props.by === "string") return val?.[props.by] !== option.value?.[props.by];
2149
2154
  return val !== option.value;
2150
2155
  });
2156
+ emit("change", modelValue.value);
2151
2157
  };
2152
2158
  const optionKey = (option, index) => {
2153
2159
  const val = option.value;
@@ -2160,10 +2166,15 @@ var BAutocomplete_default = /* @__PURE__ */ defineComponent({
2160
2166
  modelValue.value = props.multiple ? [] : void 0;
2161
2167
  searchTerm.value = "";
2162
2168
  singleSelectedLabelCache.value = null;
2169
+ emit("clear");
2170
+ emit("change", modelValue.value);
2163
2171
  _input.value?.focus();
2164
2172
  };
2165
2173
  const onOptionSelect = (option) => {
2166
2174
  cacheSingleSelectedLabel(option.value, String(option.text));
2175
+ nextTick(() => {
2176
+ emit("change", modelValue.value);
2177
+ });
2167
2178
  _input.value?.focus();
2168
2179
  };
2169
2180
  const resetPendingDelete = () => {
@@ -2382,4 +2393,4 @@ var BAutocomplete_default = /* @__PURE__ */ defineComponent({
2382
2393
  //#endregion
2383
2394
  export { BAutocomplete_default as t };
2384
2395
 
2385
- //# sourceMappingURL=BAutocomplete-DQjfkhoO.mjs.map
2396
+ //# sourceMappingURL=BAutocomplete-j3KJbBFs.mjs.map