bootstrap-vue-next 0.45.1 → 0.45.3
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/{BAutocomplete-B1qC2xDb.js → BAutocomplete-BCOfyy8g.js} +13 -2
- package/dist/{BAutocomplete-B1qC2xDb.js.map → BAutocomplete-BCOfyy8g.js.map} +1 -1
- package/dist/{BAutocomplete-DQjfkhoO.mjs → BAutocomplete-j3KJbBFs.mjs} +13 -2
- package/dist/{BAutocomplete-DQjfkhoO.mjs.map → BAutocomplete-j3KJbBFs.mjs.map} +1 -1
- package/dist/{BOffcanvas-mlOkh8T1.js → BOffcanvas-Dg2rwKlf.js} +16 -1
- package/dist/BOffcanvas-Dg2rwKlf.js.map +1 -0
- package/dist/{BOffcanvas-DaKJOICF.mjs → BOffcanvas-Dw-tsRFl.mjs} +16 -1
- package/dist/BOffcanvas-Dw-tsRFl.mjs.map +1 -0
- package/dist/{BTable-DYS8Lftg.mjs → BTable-Bt75vbNu.mjs} +82 -15
- package/dist/BTable-Bt75vbNu.mjs.map +1 -0
- package/dist/{BTable-G-Pjvx68.js → BTable-CXxJl2ps.js} +81 -14
- package/dist/BTable-CXxJl2ps.js.map +1 -0
- package/dist/bootstrap-vue-next.mjs +3 -3
- package/dist/bootstrap-vue-next.umd.js +3 -3
- package/dist/components/BAutocomplete/BAutocomplete.vue.d.mts +4 -0
- package/dist/components/BAutocomplete/BAutocomplete.vue.d.ts +4 -0
- package/dist/components/BPagination/BPagination.vue.d.mts +1 -1
- package/dist/components/BPagination/BPagination.vue.d.ts +1 -1
- package/dist/components/BTable/BTable.vue.d.mts +4 -3
- package/dist/components/BTable/BTable.vue.d.ts +4 -3
- package/dist/composables/useTableHelpers.d.mts +1 -0
- package/dist/composables/useTableHelpers.d.ts +1 -0
- package/dist/src/components/BAutocomplete/index.mjs +1 -1
- package/dist/src/components/BAutocomplete/index.umd.js +1 -1
- package/dist/src/components/BOffcanvas/index.mjs +1 -1
- package/dist/src/components/BOffcanvas/index.umd.js +1 -1
- package/dist/src/components/BTable/index.mjs +1 -1
- package/dist/src/components/BTable/index.umd.js +1 -1
- package/dist/src/components/index.mjs +3 -3
- package/dist/src/components/index.umd.js +3 -3
- package/dist/types/ComponentEmits.d.mts +5 -2
- package/dist/types/ComponentEmits.d.ts +5 -2
- package/dist/types/ComponentProps.d.mts +5 -0
- package/dist/types/ComponentProps.d.ts +5 -0
- package/package.json +1 -1
- package/dist/BOffcanvas-DaKJOICF.mjs.map +0 -1
- package/dist/BOffcanvas-mlOkh8T1.js.map +0 -1
- package/dist/BTable-DYS8Lftg.mjs.map +0 -1
- package/dist/BTable-G-Pjvx68.js.map +0 -1
|
@@ -2072,7 +2072,12 @@ var BAutocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2072
2072
|
"search": { default: "" },
|
|
2073
2073
|
"searchModifiers": {}
|
|
2074
2074
|
}),
|
|
2075
|
-
emits: /* @__PURE__ */ (0, vue.mergeModels)([
|
|
2075
|
+
emits: /* @__PURE__ */ (0, vue.mergeModels)([
|
|
2076
|
+
"blur",
|
|
2077
|
+
"change",
|
|
2078
|
+
"clear",
|
|
2079
|
+
"focus"
|
|
2080
|
+
], [
|
|
2076
2081
|
"update:modelValue",
|
|
2077
2082
|
"update:open",
|
|
2078
2083
|
"update:search"
|
|
@@ -2149,6 +2154,7 @@ var BAutocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2149
2154
|
if (props.by && typeof props.by === "string") return val?.[props.by] !== option.value?.[props.by];
|
|
2150
2155
|
return val !== option.value;
|
|
2151
2156
|
});
|
|
2157
|
+
emit("change", modelValue.value);
|
|
2152
2158
|
};
|
|
2153
2159
|
const optionKey = (option, index) => {
|
|
2154
2160
|
const val = option.value;
|
|
@@ -2161,10 +2167,15 @@ var BAutocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
2161
2167
|
modelValue.value = props.multiple ? [] : void 0;
|
|
2162
2168
|
searchTerm.value = "";
|
|
2163
2169
|
singleSelectedLabelCache.value = null;
|
|
2170
|
+
emit("clear");
|
|
2171
|
+
emit("change", modelValue.value);
|
|
2164
2172
|
_input.value?.focus();
|
|
2165
2173
|
};
|
|
2166
2174
|
const onOptionSelect = (option) => {
|
|
2167
2175
|
cacheSingleSelectedLabel(option.value, String(option.text));
|
|
2176
|
+
(0, vue.nextTick)(() => {
|
|
2177
|
+
emit("change", modelValue.value);
|
|
2178
|
+
});
|
|
2168
2179
|
_input.value?.focus();
|
|
2169
2180
|
};
|
|
2170
2181
|
const resetPendingDelete = () => {
|
|
@@ -2388,4 +2399,4 @@ Object.defineProperty(exports, "BAutocomplete_default", {
|
|
|
2388
2399
|
}
|
|
2389
2400
|
});
|
|
2390
2401
|
|
|
2391
|
-
//# sourceMappingURL=BAutocomplete-
|
|
2402
|
+
//# sourceMappingURL=BAutocomplete-BCOfyy8g.js.map
|