buefy 3.0.1 → 3.0.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.
Files changed (209) hide show
  1. package/README.md +2 -2
  2. package/dist/buefy.d.ts +20 -5
  3. package/dist/buefy.esm.js +49 -19
  4. package/dist/buefy.esm.min.js +2 -2
  5. package/dist/buefy.js +54 -17
  6. package/dist/buefy.min.js +2 -2
  7. package/dist/cjs/autocomplete.js +1 -1
  8. package/dist/cjs/breadcrumb.js +1 -1
  9. package/dist/cjs/button.js +1 -1
  10. package/dist/cjs/carousel.js +1 -1
  11. package/dist/cjs/checkbox.js +1 -1
  12. package/dist/cjs/clockpicker.js +1 -1
  13. package/dist/cjs/collapse.js +1 -1
  14. package/dist/cjs/colorpicker.js +2 -2
  15. package/dist/cjs/config.js +7 -1
  16. package/dist/cjs/datepicker.js +1 -1
  17. package/dist/cjs/datetimepicker.js +1 -1
  18. package/dist/cjs/dialog.js +7 -2
  19. package/dist/cjs/dropdown.js +1 -1
  20. package/dist/cjs/field.js +1 -1
  21. package/dist/cjs/icon.js +1 -1
  22. package/dist/cjs/image.js +1 -1
  23. package/dist/cjs/{index-DiQy3SCb.js → index-SLOXD6k3.js} +1 -1
  24. package/dist/cjs/index.js +10 -3
  25. package/dist/cjs/input.js +1 -1
  26. package/dist/cjs/loading.js +7 -2
  27. package/dist/cjs/menu.js +1 -1
  28. package/dist/cjs/message.js +1 -1
  29. package/dist/cjs/modal.js +7 -2
  30. package/dist/cjs/navbar.js +1 -1
  31. package/dist/cjs/notification.js +7 -2
  32. package/dist/cjs/numberinput.js +1 -1
  33. package/dist/cjs/pagination.js +1 -1
  34. package/dist/cjs/{plugins-DbyYGVpp.js → plugins-BWKpXmCr.js} +2 -1
  35. package/dist/cjs/progress.js +1 -1
  36. package/dist/cjs/radio.js +1 -1
  37. package/dist/cjs/rate.js +1 -1
  38. package/dist/cjs/select.js +1 -1
  39. package/dist/cjs/sidebar.js +1 -1
  40. package/dist/cjs/skeleton.js +1 -1
  41. package/dist/cjs/slider.js +1 -1
  42. package/dist/cjs/snackbar.js +7 -2
  43. package/dist/cjs/steps.js +1 -1
  44. package/dist/cjs/switch.js +1 -1
  45. package/dist/cjs/table.js +10 -9
  46. package/dist/cjs/tabs.js +1 -1
  47. package/dist/cjs/tag.js +1 -1
  48. package/dist/cjs/taginput.js +1 -1
  49. package/dist/cjs/timepicker.js +1 -1
  50. package/dist/cjs/toast.js +7 -2
  51. package/dist/cjs/tooltip.js +1 -1
  52. package/dist/cjs/upload.js +1 -1
  53. package/dist/components/autocomplete/index.js +1 -1
  54. package/dist/components/autocomplete/index.min.js +1 -1
  55. package/dist/components/breadcrumb/index.js +1 -1
  56. package/dist/components/breadcrumb/index.min.js +1 -1
  57. package/dist/components/button/index.js +1 -1
  58. package/dist/components/button/index.min.js +1 -1
  59. package/dist/components/carousel/index.js +1 -1
  60. package/dist/components/carousel/index.min.js +1 -1
  61. package/dist/components/checkbox/index.js +1 -1
  62. package/dist/components/checkbox/index.min.js +1 -1
  63. package/dist/components/clockpicker/index.js +1 -1
  64. package/dist/components/clockpicker/index.min.js +1 -1
  65. package/dist/components/collapse/index.js +1 -1
  66. package/dist/components/collapse/index.min.js +1 -1
  67. package/dist/components/colorpicker/index.js +1 -1
  68. package/dist/components/colorpicker/index.min.js +1 -1
  69. package/dist/components/datepicker/index.js +1 -1
  70. package/dist/components/datepicker/index.min.js +1 -1
  71. package/dist/components/datetimepicker/index.js +1 -1
  72. package/dist/components/datetimepicker/index.min.js +1 -1
  73. package/dist/components/dialog/index.js +9 -3
  74. package/dist/components/dialog/index.min.js +2 -2
  75. package/dist/components/dropdown/index.js +1 -1
  76. package/dist/components/dropdown/index.min.js +1 -1
  77. package/dist/components/field/index.js +1 -1
  78. package/dist/components/field/index.min.js +1 -1
  79. package/dist/components/icon/index.js +1 -1
  80. package/dist/components/icon/index.min.js +1 -1
  81. package/dist/components/image/index.js +1 -1
  82. package/dist/components/image/index.min.js +1 -1
  83. package/dist/components/input/index.js +1 -1
  84. package/dist/components/input/index.min.js +1 -1
  85. package/dist/components/loading/index.js +9 -3
  86. package/dist/components/loading/index.min.js +2 -2
  87. package/dist/components/menu/index.js +1 -1
  88. package/dist/components/menu/index.min.js +1 -1
  89. package/dist/components/message/index.js +1 -1
  90. package/dist/components/message/index.min.js +1 -1
  91. package/dist/components/modal/index.js +9 -3
  92. package/dist/components/modal/index.min.js +2 -2
  93. package/dist/components/navbar/index.js +1 -1
  94. package/dist/components/navbar/index.min.js +1 -1
  95. package/dist/components/notification/index.js +9 -3
  96. package/dist/components/notification/index.min.js +2 -2
  97. package/dist/components/numberinput/index.js +1 -1
  98. package/dist/components/numberinput/index.min.js +1 -1
  99. package/dist/components/pagination/index.js +1 -1
  100. package/dist/components/pagination/index.min.js +1 -1
  101. package/dist/components/progress/index.js +1 -1
  102. package/dist/components/progress/index.min.js +1 -1
  103. package/dist/components/radio/index.js +1 -1
  104. package/dist/components/radio/index.min.js +1 -1
  105. package/dist/components/rate/index.js +1 -1
  106. package/dist/components/rate/index.min.js +1 -1
  107. package/dist/components/select/index.js +1 -1
  108. package/dist/components/select/index.min.js +1 -1
  109. package/dist/components/sidebar/index.js +1 -1
  110. package/dist/components/sidebar/index.min.js +1 -1
  111. package/dist/components/skeleton/index.js +1 -1
  112. package/dist/components/skeleton/index.min.js +1 -1
  113. package/dist/components/slider/index.js +1 -1
  114. package/dist/components/slider/index.min.js +1 -1
  115. package/dist/components/snackbar/index.js +9 -3
  116. package/dist/components/snackbar/index.min.js +2 -2
  117. package/dist/components/steps/index.js +1 -1
  118. package/dist/components/steps/index.min.js +1 -1
  119. package/dist/components/switch/index.js +1 -1
  120. package/dist/components/switch/index.min.js +1 -1
  121. package/dist/components/table/index.js +10 -9
  122. package/dist/components/table/index.min.js +2 -2
  123. package/dist/components/tabs/index.js +1 -1
  124. package/dist/components/tabs/index.min.js +1 -1
  125. package/dist/components/tag/index.js +1 -1
  126. package/dist/components/tag/index.min.js +1 -1
  127. package/dist/components/taginput/index.js +1 -1
  128. package/dist/components/taginput/index.min.js +1 -1
  129. package/dist/components/timepicker/index.js +1 -1
  130. package/dist/components/timepicker/index.min.js +1 -1
  131. package/dist/components/toast/index.js +9 -3
  132. package/dist/components/toast/index.min.js +2 -2
  133. package/dist/components/tooltip/index.js +1 -1
  134. package/dist/components/tooltip/index.min.js +1 -1
  135. package/dist/components/upload/index.js +1 -1
  136. package/dist/components/upload/index.min.js +1 -1
  137. package/dist/{buefy.css → css/buefy.css} +4 -4
  138. package/dist/css/buefy.css.map +1 -0
  139. package/dist/css/buefy.min.css +1 -0
  140. package/dist/css/versions/buefy-no-reset.css +25930 -0
  141. package/dist/css/versions/buefy-no-reset.css.map +1 -0
  142. package/dist/css/versions/buefy-no-reset.min.css +1 -0
  143. package/dist/css/versions/buefy-standalone.css +5874 -0
  144. package/dist/css/versions/buefy-standalone.css.map +1 -0
  145. package/dist/css/versions/buefy-standalone.min.css +1 -0
  146. package/dist/esm/autocomplete.js +1 -1
  147. package/dist/esm/breadcrumb.js +1 -1
  148. package/dist/esm/button.js +1 -1
  149. package/dist/esm/carousel.js +1 -1
  150. package/dist/esm/checkbox.js +1 -1
  151. package/dist/esm/clockpicker.js +1 -1
  152. package/dist/esm/collapse.js +1 -1
  153. package/dist/esm/colorpicker.js +2 -2
  154. package/dist/esm/config.js +6 -2
  155. package/dist/esm/datepicker.js +1 -1
  156. package/dist/esm/datetimepicker.js +1 -1
  157. package/dist/esm/dialog.js +8 -4
  158. package/dist/esm/dropdown.js +1 -1
  159. package/dist/esm/field.js +1 -1
  160. package/dist/esm/icon.js +1 -1
  161. package/dist/esm/image.js +1 -1
  162. package/dist/esm/{index-CQegEsxK.js → index-BE58-KfV.js} +1 -1
  163. package/dist/esm/index.js +12 -11
  164. package/dist/esm/input.js +1 -1
  165. package/dist/esm/loading.js +8 -4
  166. package/dist/esm/menu.js +1 -1
  167. package/dist/esm/message.js +1 -1
  168. package/dist/esm/modal.js +8 -4
  169. package/dist/esm/navbar.js +1 -1
  170. package/dist/esm/notification.js +8 -4
  171. package/dist/esm/numberinput.js +1 -1
  172. package/dist/esm/pagination.js +1 -1
  173. package/dist/esm/{plugins-B172kuKE.js → plugins-1tLsuIZF.js} +2 -1
  174. package/dist/esm/progress.js +1 -1
  175. package/dist/esm/radio.js +1 -1
  176. package/dist/esm/rate.js +1 -1
  177. package/dist/esm/select.js +1 -1
  178. package/dist/esm/sidebar.js +1 -1
  179. package/dist/esm/skeleton.js +1 -1
  180. package/dist/esm/slider.js +1 -1
  181. package/dist/esm/snackbar.js +8 -4
  182. package/dist/esm/steps.js +1 -1
  183. package/dist/esm/switch.js +1 -1
  184. package/dist/esm/table.js +11 -10
  185. package/dist/esm/tabs.js +1 -1
  186. package/dist/esm/tag.js +1 -1
  187. package/dist/esm/taginput.js +1 -1
  188. package/dist/esm/timepicker.js +1 -1
  189. package/dist/esm/toast.js +8 -4
  190. package/dist/esm/tooltip.js +1 -1
  191. package/dist/esm/upload.js +1 -1
  192. package/package.json +6 -3
  193. package/src/components/dialog/index.ts +9 -3
  194. package/src/components/loading/index.ts +9 -3
  195. package/src/components/modal/index.ts +9 -3
  196. package/src/components/notification/index.ts +9 -3
  197. package/src/components/snackbar/index.ts +9 -3
  198. package/src/components/table/Table.vue +18 -12
  199. package/src/components/toast/index.ts +9 -3
  200. package/src/index.ts +9 -9
  201. package/src/scss/buefy.scss +0 -1
  202. package/src/scss/components/_dropdown.scss +6 -6
  203. package/src/scss/{buefy-build.scss → versions/buefy-bulma-bundle.scss} +1 -1
  204. package/src/scss/versions/buefy-no-reset.scss +16 -0
  205. package/src/utils/ConfigComponent.ts +13 -1
  206. package/src/utils/plugins.ts +3 -2
  207. package/src/utils/vue-augmentation.ts +1 -1
  208. package/dist/buefy.css.map +0 -1
  209. package/dist/buefy.min.css +0 -1
@@ -1,7 +1,11 @@
1
1
  import { s as setOptions, c as config } from './config-CKuo-p6e.js';
2
2
  import { merge } from './helpers.js';
3
- import 'vue';
3
+ import { inject } from 'vue';
4
4
 
5
+ const configInjectionKey = Symbol("Buefy Config Component");
6
+ function useConfigComponent() {
7
+ return inject(configInjectionKey);
8
+ }
5
9
  var ConfigComponent = {
6
10
  getOptions() {
7
11
  return config;
@@ -11,4 +15,4 @@ var ConfigComponent = {
11
15
  }
12
16
  };
13
17
 
14
- export { ConfigComponent as default };
18
+ export { configInjectionKey, ConfigComponent as default, useConfigComponent };
@@ -1,5 +1,5 @@
1
1
  import { B as BDatepicker } from './Datepicker-Bl8Wfdkn.js';
2
- import { a as registerComponent } from './plugins-B172kuKE.js';
2
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
3
3
  import 'vue';
4
4
  import './CompatFallthroughMixin-C8LPuwDr.js';
5
5
  import './config-CKuo-p6e.js';
@@ -6,7 +6,7 @@ import { B as BInput } from './Input-C4L520az.js';
6
6
  import { B as BDatepicker } from './Datepicker-Bl8Wfdkn.js';
7
7
  import { T as Timepicker } from './Timepicker-DnkqnOBT.js';
8
8
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
9
- import { a as registerComponent } from './plugins-B172kuKE.js';
9
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
10
10
  import './Icon-DPyGDeRK.js';
11
11
  import './CompatFallthroughMixin-C8LPuwDr.js';
12
12
  import './Dropdown-CGTYVyoL.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, resolveComponent, resolveDirective, createBlock, openBlock, Transition, withCtx, withDirectives, createCommentVNode, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createVNode, renderSlot, Fragment, mergeProps, withKeys, vModelDynamic, createTextVNode, createApp, h } from 'vue';
1
+ import { defineComponent, resolveComponent, resolveDirective, createBlock, openBlock, Transition, withCtx, withDirectives, createCommentVNode, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createVNode, renderSlot, Fragment, mergeProps, withKeys, vModelDynamic, createTextVNode, inject, createApp, h } from 'vue';
2
2
  import { d as directive } from './trapFocus-KHP_kCNE.js';
3
3
  import { B as BIcon } from './Icon-DPyGDeRK.js';
4
4
  import { M as Modal } from './Modal-EiR_KNGZ.js';
@@ -6,7 +6,7 @@ import { B as BButton } from './Button-DyUYShTZ.js';
6
6
  import { c as config } from './config-CKuo-p6e.js';
7
7
  import { removeElement, getComponentFromVNode, copyAppContext } from './helpers.js';
8
8
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
9
- import { a as registerComponent, r as registerComponentProgrammatic } from './plugins-B172kuKE.js';
9
+ import { a as registerComponent, r as registerComponentProgrammatic } from './plugins-1tLsuIZF.js';
10
10
 
11
11
  var __defProp$1 = Object.defineProperty;
12
12
  var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
@@ -493,11 +493,15 @@ class DialogProgrammatic {
493
493
  return open(__spreadValues({ hasInput: true }, params), this.app);
494
494
  }
495
495
  }
496
+ const dialogInjectionKey = Symbol("Buefy Dialog");
497
+ function useDialog() {
498
+ return inject(dialogInjectionKey);
499
+ }
496
500
  const Plugin = {
497
501
  install(Vue) {
498
502
  registerComponent(Vue, Dialog);
499
- registerComponentProgrammatic(Vue, "dialog", new DialogProgrammatic(Vue));
503
+ registerComponentProgrammatic(Vue, "dialog", new DialogProgrammatic(Vue), dialogInjectionKey);
500
504
  }
501
505
  };
502
506
 
503
- export { Dialog as BDialog, DialogProgrammatic, Plugin as default };
507
+ export { Dialog as BDialog, DialogProgrammatic, Plugin as default, useDialog };
@@ -1,6 +1,6 @@
1
1
  import { B as BDropdown } from './Dropdown-CGTYVyoL.js';
2
2
  import { B as BDropdownItem } from './DropdownItem-Cn3nM0A3.js';
3
- import { a as registerComponent } from './plugins-B172kuKE.js';
3
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
4
4
  import 'vue';
5
5
  import './trapFocus-KHP_kCNE.js';
6
6
  import './config-CKuo-p6e.js';
package/dist/esm/field.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { F as Field } from './Field-B7bX_uUg.js';
2
- import { a as registerComponent } from './plugins-B172kuKE.js';
2
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
3
3
  import 'vue';
4
4
  import './config-CKuo-p6e.js';
5
5
  import './helpers.js';
package/dist/esm/icon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { B as BIcon } from './Icon-DPyGDeRK.js';
2
- import { a as registerComponent } from './plugins-B172kuKE.js';
2
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
3
3
  import 'vue';
4
4
  import './config-CKuo-p6e.js';
5
5
  import './helpers.js';
package/dist/esm/image.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { I as Image } from './Image-DhX-4hlV.js';
2
- import { a as registerComponent } from './plugins-B172kuKE.js';
2
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
3
3
  import 'vue';
4
4
  import './config-CKuo-p6e.js';
5
5
  import './helpers.js';
@@ -9,7 +9,7 @@ import { B as BInput } from './Input-C4L520az.js';
9
9
  import { F as Field } from './Field-B7bX_uUg.js';
10
10
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
11
11
  import { T as Tooltip } from './Tooltip-CtDSXAqa.js';
12
- import { a as registerComponent } from './plugins-B172kuKE.js';
12
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
13
13
 
14
14
  var __defProp = Object.defineProperty;
15
15
  var __pow = Math.pow;
package/dist/esm/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import 'vue';
2
- import ConfigComponent from './config.js';
2
+ import ConfigComponent, { configInjectionKey } from './config.js';
3
+ export { useConfigComponent } from './config.js';
3
4
  import Plugin from './autocomplete.js';
4
5
  import Plugin$1 from './breadcrumb.js';
5
6
  export { BBreadcrumb, BBreadcrumbItem } from './breadcrumb.js';
@@ -12,28 +13,28 @@ import Plugin$6 from './collapse.js';
12
13
  export { BCollapse } from './collapse.js';
13
14
  import Plugin$5 from './clockpicker.js';
14
15
  export { BClockpicker } from './clockpicker.js';
15
- import { P as Plugin$7 } from './index-CQegEsxK.js';
16
- export { a as BColorpicker, C as Color } from './index-CQegEsxK.js';
16
+ import { P as Plugin$7 } from './index-BE58-KfV.js';
17
+ export { a as BColorpicker, C as Color } from './index-BE58-KfV.js';
17
18
  import Plugin$8 from './datepicker.js';
18
19
  import Plugin$9 from './datetimepicker.js';
19
20
  export { BDatetimepicker } from './datetimepicker.js';
20
21
  import Plugin$a from './dialog.js';
21
- export { BDialog, DialogProgrammatic } from './dialog.js';
22
+ export { BDialog, DialogProgrammatic, useDialog } from './dialog.js';
22
23
  import Plugin$b from './dropdown.js';
23
24
  import Plugin$c from './field.js';
24
25
  import Plugin$d from './icon.js';
25
26
  import Plugin$e from './image.js';
26
27
  import Plugin$f from './input.js';
27
28
  import Plugin$g from './loading.js';
28
- export { LoadingProgrammatic } from './loading.js';
29
+ export { LoadingProgrammatic, useLoading } from './loading.js';
29
30
  import Plugin$h from './menu.js';
30
31
  export { BMenu, BMenuItem, BMenuList } from './menu.js';
31
32
  import Plugin$i from './message.js';
32
33
  export { BMessage } from './message.js';
33
34
  import Plugin$j from './modal.js';
34
- export { ModalProgrammatic } from './modal.js';
35
+ export { ModalProgrammatic, useModal } from './modal.js';
35
36
  import Plugin$l from './notification.js';
36
- export { BNotification, NotificationProgrammatic } from './notification.js';
37
+ export { BNotification, NotificationProgrammatic, useNotification } from './notification.js';
37
38
  import Plugin$k from './navbar.js';
38
39
  export { BNavbar, BNavbarDropdown, BNavbarItem } from './navbar.js';
39
40
  import Plugin$m from './numberinput.js';
@@ -53,7 +54,7 @@ export { BSidebar } from './sidebar.js';
53
54
  import Plugin$u from './slider.js';
54
55
  export { BSlider, BSliderTick } from './slider.js';
55
56
  import Plugin$v from './snackbar.js';
56
- export { BSnackbar, SnackbarProgrammatic } from './snackbar.js';
57
+ export { BSnackbar, SnackbarProgrammatic, useSnackbar } from './snackbar.js';
57
58
  import Plugin$w from './steps.js';
58
59
  export { BStepItem, BSteps } from './steps.js';
59
60
  import Plugin$x from './switch.js';
@@ -68,14 +69,14 @@ import Plugin$B from './taginput.js';
68
69
  export { BTaginput } from './taginput.js';
69
70
  import Plugin$C from './timepicker.js';
70
71
  import Plugin$D from './toast.js';
71
- export { BToast, ToastProgrammatic } from './toast.js';
72
+ export { BToast, ToastProgrammatic, useToast } from './toast.js';
72
73
  import Plugin$E from './tooltip.js';
73
74
  import Plugin$F from './upload.js';
74
75
  export { BUpload } from './upload.js';
75
76
  import { merge } from './helpers.js';
76
77
  export { bound, copyAppContext, createAbsoluteElement, createNewEvent, escapeRegExpChars, getComponentFromVNode, getMonthNames, getValueByPath, getWeekdayNames, hasFlag, indexOf, isCustomElement, isDefined, isFragment, isMobile, isNil, isTag, isVueComponent, isWebpSupported, matchWithGroups, mod, multiColumnSort, removeDiacriticsFromString, removeElement, sign, toCssWidth, translateTouchAsDragEvent } from './helpers.js';
77
78
  import { s as setOptions, c as config } from './config-CKuo-p6e.js';
78
- import { r as registerComponentProgrammatic } from './plugins-B172kuKE.js';
79
+ import { r as registerComponentProgrammatic } from './plugins-1tLsuIZF.js';
79
80
  export { B as BAutocomplete } from './Autocomplete-CZ8DmXsB.js';
80
81
  export { B as BButton } from './Button-DyUYShTZ.js';
81
82
  export { B as BCheckbox } from './Checkbox-KUMz0sfA.js';
@@ -156,7 +157,7 @@ const Buefy = {
156
157
  install(Vue, options = {}) {
157
158
  setOptions(merge(config, options, true));
158
159
  allComponents.forEach((component) => Vue.use(component));
159
- registerComponentProgrammatic(Vue, "config", ConfigComponent);
160
+ registerComponentProgrammatic(Vue, "config", ConfigComponent, configInjectionKey);
160
161
  Vue.config.globalProperties.$buefy.globalNoticeInterval = void 0;
161
162
  }
162
163
  };
package/dist/esm/input.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { B as BInput } from './Input-C4L520az.js';
2
- import { a as registerComponent } from './plugins-B172kuKE.js';
2
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
3
3
  import 'vue';
4
4
  import './Icon-DPyGDeRK.js';
5
5
  import './config-CKuo-p6e.js';
@@ -1,7 +1,7 @@
1
- import { createApp, h } from 'vue';
1
+ import { createApp, h, inject } from 'vue';
2
2
  import { B as BLoading } from './Loading-tuQoo6TU.js';
3
3
  import { getComponentFromVNode, copyAppContext } from './helpers.js';
4
- import { a as registerComponent, r as registerComponentProgrammatic } from './plugins-B172kuKE.js';
4
+ import { a as registerComponent, r as registerComponentProgrammatic } from './plugins-1tLsuIZF.js';
5
5
  import './ssr-C7yEpGLm.js';
6
6
  import './_plugin-vue_export-helper-OJRSZE6i.js';
7
7
 
@@ -71,11 +71,15 @@ class LoadingProgrammatic {
71
71
  return vueInstance.mount(container);
72
72
  }
73
73
  }
74
+ const loadingInjectionKey = Symbol("Buefy Loading");
75
+ function useLoading() {
76
+ return inject(loadingInjectionKey);
77
+ }
74
78
  const Plugin = {
75
79
  install(Vue) {
76
80
  registerComponent(Vue, BLoading);
77
- registerComponentProgrammatic(Vue, "loading", new LoadingProgrammatic(Vue));
81
+ registerComponentProgrammatic(Vue, "loading", new LoadingProgrammatic(Vue), loadingInjectionKey);
78
82
  }
79
83
  };
80
84
 
81
- export { BLoading, LoadingProgrammatic, Plugin as default };
85
+ export { BLoading, LoadingProgrammatic, Plugin as default, useLoading };
package/dist/esm/menu.js CHANGED
@@ -3,7 +3,7 @@ import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
3
3
  import { B as BIcon } from './Icon-DPyGDeRK.js';
4
4
  import { c as config } from './config-CKuo-p6e.js';
5
5
  import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
6
- import { a as registerComponent } from './plugins-B172kuKE.js';
6
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
7
7
  import './helpers.js';
8
8
 
9
9
  var MenuItemContainerMixin = defineComponent({
@@ -3,7 +3,7 @@ import { M as MessageMixin } from './MessageMixin-CQ7LIdvq.js';
3
3
  import { B as BIcon } from './Icon-DPyGDeRK.js';
4
4
  import { P as Progress } from './Progress-BPGTVZgr.js';
5
5
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
6
- import { a as registerComponent } from './plugins-B172kuKE.js';
6
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
7
7
  import './config-CKuo-p6e.js';
8
8
  import './helpers.js';
9
9
 
package/dist/esm/modal.js CHANGED
@@ -1,7 +1,7 @@
1
- import { createApp, h } from 'vue';
1
+ import { createApp, h, inject } from 'vue';
2
2
  import { M as Modal } from './Modal-EiR_KNGZ.js';
3
3
  import { getComponentFromVNode, copyAppContext } from './helpers.js';
4
- import { a as registerComponent, r as registerComponentProgrammatic } from './plugins-B172kuKE.js';
4
+ import { a as registerComponent, r as registerComponentProgrammatic } from './plugins-1tLsuIZF.js';
5
5
  import './trapFocus-KHP_kCNE.js';
6
6
  import './config-CKuo-p6e.js';
7
7
  import './_plugin-vue_export-helper-OJRSZE6i.js';
@@ -87,11 +87,15 @@ class ModalProgrammatic {
87
87
  return vueInstance.mount(container);
88
88
  }
89
89
  }
90
+ const modalInjectionKey = Symbol("Buefy Modal");
91
+ function useModal() {
92
+ return inject(modalInjectionKey);
93
+ }
90
94
  const Plugin = {
91
95
  install(Vue) {
92
96
  registerComponent(Vue, Modal);
93
- registerComponentProgrammatic(Vue, "modal", new ModalProgrammatic(Vue));
97
+ registerComponentProgrammatic(Vue, "modal", new ModalProgrammatic(Vue), modalInjectionKey);
94
98
  }
95
99
  };
96
100
 
97
- export { Modal as BModal, ModalProgrammatic, Plugin as default };
101
+ export { Modal as BModal, ModalProgrammatic, Plugin as default, useModal };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, createElementBlock, openBlock, mergeProps, createElementVNode, h, resolveComponent, withDirectives, resolveDirective, createBlock, resolveDynamicComponent, withCtx, renderSlot, withKeys, withModifiers, Fragment, createTextVNode, toDisplayString, normalizeClass } from 'vue';
2
2
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
3
3
  import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
4
- import { a as registerComponent } from './plugins-B172kuKE.js';
4
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
5
5
  import './config-CKuo-p6e.js';
6
6
 
7
7
  var _sfc_main$3 = defineComponent({
@@ -1,4 +1,4 @@
1
- import { defineComponent, resolveComponent, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, createVNode, renderSlot, Fragment, vShow, mergeProps, createApp, h } from 'vue';
1
+ import { defineComponent, resolveComponent, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, createVNode, renderSlot, Fragment, vShow, mergeProps, createApp, h, inject } from 'vue';
2
2
  import { B as BIcon } from './Icon-DPyGDeRK.js';
3
3
  import { P as Progress } from './Progress-BPGTVZgr.js';
4
4
  import { M as MessageMixin } from './MessageMixin-CQ7LIdvq.js';
@@ -6,7 +6,7 @@ import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
6
6
  import { c as config } from './config-CKuo-p6e.js';
7
7
  import { removeElement, getComponentFromVNode, copyAppContext } from './helpers.js';
8
8
  import { N as NoticeMixin } from './NoticeMixin-ByNlva3T.js';
9
- import { a as registerComponent, r as registerComponentProgrammatic } from './plugins-B172kuKE.js';
9
+ import { a as registerComponent, r as registerComponentProgrammatic } from './plugins-1tLsuIZF.js';
10
10
 
11
11
  const Notification$1 = defineComponent({
12
12
  name: "BNotification",
@@ -265,11 +265,15 @@ class NotificationProgrammatic {
265
265
  return vueInstance.mount(container);
266
266
  }
267
267
  }
268
+ const notificationInjectionKey = Symbol("Buefy Notification");
269
+ function useNotification() {
270
+ return inject(notificationInjectionKey);
271
+ }
268
272
  const Plugin = {
269
273
  install(Vue) {
270
274
  registerComponent(Vue, Notification);
271
- registerComponentProgrammatic(Vue, "notification", new NotificationProgrammatic(Vue));
275
+ registerComponentProgrammatic(Vue, "notification", new NotificationProgrammatic(Vue), notificationInjectionKey);
272
276
  }
273
277
  };
274
278
 
275
- export { Notification as BNotification, NotificationProgrammatic, Plugin as default };
279
+ export { Notification as BNotification, NotificationProgrammatic, Plugin as default, useNotification };
@@ -4,7 +4,7 @@ import { B as BInput } from './Input-C4L520az.js';
4
4
  import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
5
5
  import { F as FormElementMixin } from './FormElementMixin-Dd_wkBN5.js';
6
6
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
7
- import { a as registerComponent } from './plugins-B172kuKE.js';
7
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
8
8
  import './config-CKuo-p6e.js';
9
9
  import './helpers.js';
10
10
 
@@ -1,5 +1,5 @@
1
1
  import { B as BPagination, P as PaginationButton } from './Pagination-B-LAJQay.js';
2
- import { a as registerComponent } from './plugins-B172kuKE.js';
2
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
3
3
  import 'vue';
4
4
  import './config-CKuo-p6e.js';
5
5
  import './_plugin-vue_export-helper-OJRSZE6i.js';
@@ -5,9 +5,10 @@ const registerComponent = (Vue, component, name) => {
5
5
  }
6
6
  Vue.component(componentName, component);
7
7
  };
8
- const registerComponentProgrammatic = (Vue, property, component) => {
8
+ const registerComponentProgrammatic = (Vue, property, component, injectionKey) => {
9
9
  if (!Vue.config.globalProperties.$buefy) Vue.config.globalProperties.$buefy = {};
10
10
  Vue.config.globalProperties.$buefy[property] = component;
11
+ Vue.provide(injectionKey, component);
11
12
  };
12
13
 
13
14
  export { registerComponent as a, registerComponentProgrammatic as r };
@@ -1,7 +1,7 @@
1
1
  import { a as PROGRESS_INJECTION_KEY, P as Progress } from './Progress-BPGTVZgr.js';
2
2
  import { defineComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, createCommentVNode, renderSlot, createTextVNode, toDisplayString } from 'vue';
3
3
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
4
- import { a as registerComponent } from './plugins-B172kuKE.js';
4
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
5
5
  import './config-CKuo-p6e.js';
6
6
 
7
7
  const ProgressBar$1 = defineComponent({
package/dist/esm/radio.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, createElementBlock, openBlock, withKeys, normalizeClass, withModifiers, withDirectives, createElementVNode, vModelRadio, renderSlot } from 'vue';
2
2
  import { C as CheckRadioMixin } from './CheckRadioMixin-DSD_rjC8.js';
3
3
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
4
- import { a as registerComponent } from './plugins-B172kuKE.js';
4
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
5
5
 
6
6
  const Radio$1 = defineComponent({
7
7
  name: "BRadio",
package/dist/esm/rate.js CHANGED
@@ -2,7 +2,7 @@ import { defineComponent, resolveComponent, createElementBlock, openBlock, norma
2
2
  import { c as config } from './config-CKuo-p6e.js';
3
3
  import { B as BIcon } from './Icon-DPyGDeRK.js';
4
4
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
5
- import { a as registerComponent } from './plugins-B172kuKE.js';
5
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
6
6
  import './helpers.js';
7
7
 
8
8
  const Rate$1 = defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { B as BSelect } from './Select-bl4qUzij.js';
2
- import { a as registerComponent } from './plugins-B172kuKE.js';
2
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
3
3
  import 'vue';
4
4
  import './Icon-DPyGDeRK.js';
5
5
  import './config-CKuo-p6e.js';
@@ -2,7 +2,7 @@ import { defineComponent, createElementBlock, openBlock, createCommentVNode, cre
2
2
  import { c as config } from './config-CKuo-p6e.js';
3
3
  import { removeElement } from './helpers.js';
4
4
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
5
- import { a as registerComponent } from './plugins-B172kuKE.js';
5
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
6
6
 
7
7
  const SIDEBAR_POSITIONS = ["fixed", "absolute", "static"];
8
8
  const SCROLL_BEHAVIORS = ["clip", "keep"];
@@ -1,5 +1,5 @@
1
1
  import { h } from 'vue';
2
- import { a as registerComponent } from './plugins-B172kuKE.js';
2
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
3
3
 
4
4
  const SKELETON_POSITIONS = ["", "is-centered", "is-right"];
5
5
  const BSkeleton = (props) => {
@@ -4,7 +4,7 @@ import { c as config } from './config-CKuo-p6e.js';
4
4
  import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
5
5
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
6
6
  import { bound } from './helpers.js';
7
- import { a as registerComponent } from './plugins-B172kuKE.js';
7
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
8
8
 
9
9
  const DISPLAY_FORMATS = ["raw", "percent"];
10
10
 
@@ -1,9 +1,9 @@
1
- import { defineComponent, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, createCommentVNode, Fragment, toDisplayString, vShow, createApp, h } from 'vue';
1
+ import { defineComponent, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, createCommentVNode, Fragment, toDisplayString, vShow, createApp, h, inject } from 'vue';
2
2
  import { c as config } from './config-CKuo-p6e.js';
3
3
  import { N as NoticeMixin } from './NoticeMixin-ByNlva3T.js';
4
4
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
5
5
  import { getComponentFromVNode, copyAppContext } from './helpers.js';
6
- import { r as registerComponentProgrammatic } from './plugins-B172kuKE.js';
6
+ import { r as registerComponentProgrammatic } from './plugins-1tLsuIZF.js';
7
7
 
8
8
  const Snackbar$1 = defineComponent({
9
9
  name: "BSnackbar",
@@ -209,10 +209,14 @@ class SnackbarProgrammatic {
209
209
  return vueInstance.mount(container);
210
210
  }
211
211
  }
212
+ const snackbarInjectionKey = Symbol("Buefy Snackbar");
213
+ function useSnackbar() {
214
+ return inject(snackbarInjectionKey);
215
+ }
212
216
  const Plugin = {
213
217
  install(Vue) {
214
- registerComponentProgrammatic(Vue, "snackbar", new SnackbarProgrammatic(Vue));
218
+ registerComponentProgrammatic(Vue, "snackbar", new SnackbarProgrammatic(Vue), snackbarInjectionKey);
215
219
  }
216
220
  };
217
221
 
218
- export { Snackbar as BSnackbar, SnackbarProgrammatic, Plugin as default };
222
+ export { Snackbar as BSnackbar, SnackbarProgrammatic, Plugin as default, useSnackbar };
package/dist/esm/steps.js CHANGED
@@ -3,7 +3,7 @@ import { B as BIcon } from './Icon-DPyGDeRK.js';
3
3
  import { T as TabbedMixin, a as TabbedChildMixin } from './TabbedChildMixin-C4i6WP9j.js';
4
4
  import { c as config } from './config-CKuo-p6e.js';
5
5
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
6
- import { a as registerComponent } from './plugins-B172kuKE.js';
6
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
7
7
  import './helpers.js';
8
8
  import './SlotComponent-BwNpVnfH.js';
9
9
  import './InjectedChildMixin-D2K-FwuO.js';
@@ -1,7 +1,7 @@
1
1
  import { c as config } from './config-CKuo-p6e.js';
2
2
  import { defineComponent, createElementBlock, openBlock, withKeys, normalizeClass, withModifiers, withDirectives, createElementVNode, createCommentVNode, vModelCheckbox, renderSlot } from 'vue';
3
3
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
4
- import { a as registerComponent } from './plugins-B172kuKE.js';
4
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
5
5
 
6
6
  const Switch$1 = defineComponent({
7
7
  name: "BSwitch",
package/dist/esm/table.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent, resolveComponent, createElementBlock, openBlock, createElementVNode, createBlock, withCtx, Fragment, renderList, createTextVNode, createCommentVNode, toDisplayString, withDirectives, vShow, createVNode, normalizeClass, renderSlot, h, toRaw, mergeProps, normalizeStyle, withKeys, withModifiers, toHandlerKey, Transition } from 'vue';
1
+ import { defineComponent, resolveComponent, createElementBlock, openBlock, createElementVNode, createBlock, withCtx, Fragment, renderList, createTextVNode, createCommentVNode, toDisplayString, withDirectives, vShow, createVNode, normalizeClass, renderSlot, h, toHandlerKey, camelize, toRaw, mergeProps, normalizeStyle, withKeys, withModifiers, Transition } from 'vue';
2
2
  import { getValueByPath, toCssWidth, removeElement, translateTouchAsDragEvent, isFragment, escapeRegExpChars, removeDiacriticsFromString, indexOf, multiColumnSort, isNil, createAbsoluteElement } from './helpers.js';
3
3
  import { B as BPagination, d as debounce } from './Pagination-B-LAJQay.js';
4
4
  import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
@@ -9,7 +9,7 @@ import { B as BLoading } from './Loading-tuQoo6TU.js';
9
9
  import { B as BSlotComponent } from './SlotComponent-BwNpVnfH.js';
10
10
  import { B as BSelect } from './Select-bl4qUzij.js';
11
11
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
12
- import { a as registerComponent } from './plugins-B172kuKE.js';
12
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
13
13
  import './config-CKuo-p6e.js';
14
14
  import './CheckRadioMixin-DSD_rjC8.js';
15
15
  import './FormElementMixin-Dd_wkBN5.js';
@@ -1400,15 +1400,16 @@ var _sfc_main$1 = defineComponent({
1400
1400
  if (!this.canDragRow) return;
1401
1401
  this.$emit("dragleave", { event, row, index });
1402
1402
  },
1403
- // FIXME: this method may emit events not listed in `emits`.
1404
- // I decided not to list them to check if event listeners are actually
1405
- // set in `$attrs`. The original idea of this method was to address
1406
- // some performance issues and introduced at the commit:
1407
- // https://github.com/ntohq/buefy-next/commit/e38726497785145195e9605840e33980fd4ae9e0
1408
- // I am not sure whether the justification at https://github.com/buefy/buefy/pull/2150
1409
- // is still relevant with Vue 3.
1403
+ // this method is for "mouseenter", and "mouseleave" events.
1404
+ // the original idea of this method was introduced by the PR
1405
+ // https://github.com/buefy/buefy/pull/2150
1406
+ // to address some performance issues related to these events.
1407
+ // I am not sure whether the justification made at the PR is still
1408
+ // relevant to Vue 3.
1409
+ // btw, this function was made by the PR https://github.com/buefy/buefy/pull/3236
1410
1410
  emitEventForRow(eventName, event, row) {
1411
- return this.$attrs[`on${eventName}`] ? this.$emit(eventName, row, event) : null;
1411
+ const listener = this.$attrs[toHandlerKey(eventName)] || this.$attrs[toHandlerKey(camelize(eventName))];
1412
+ return listener != null ? this.$emit(eventName, row, event) : null;
1412
1413
  },
1413
1414
  /*
1414
1415
  * Emits drag start event (column)
package/dist/esm/tabs.js CHANGED
@@ -4,7 +4,7 @@ import { c as config } from './config-CKuo-p6e.js';
4
4
  import { T as TabbedMixin, a as TabbedChildMixin } from './TabbedChildMixin-C4i6WP9j.js';
5
5
  import { B as BSlotComponent } from './SlotComponent-BwNpVnfH.js';
6
6
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
7
- import { a as registerComponent } from './plugins-B172kuKE.js';
7
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
8
8
  import './helpers.js';
9
9
  import './InjectedChildMixin-D2K-FwuO.js';
10
10
 
package/dist/esm/tag.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { B as BTag } from './Tag-jS5Bcj6N.js';
2
2
  import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot } from 'vue';
3
3
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
4
- import { a as registerComponent } from './plugins-B172kuKE.js';
4
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
5
5
  import './Icon-DPyGDeRK.js';
6
6
  import './config-CKuo-p6e.js';
7
7
  import './helpers.js';
@@ -6,7 +6,7 @@ import { c as config } from './config-CKuo-p6e.js';
6
6
  import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
7
7
  import { F as FormElementMixin } from './FormElementMixin-Dd_wkBN5.js';
8
8
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
9
- import { a as registerComponent } from './plugins-B172kuKE.js';
9
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
10
10
  import './Icon-DPyGDeRK.js';
11
11
  import './Input-C4L520az.js';
12
12
 
@@ -1,5 +1,5 @@
1
1
  import { T as Timepicker } from './Timepicker-DnkqnOBT.js';
2
- import { a as registerComponent } from './plugins-B172kuKE.js';
2
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
3
3
  import 'vue';
4
4
  import './TimepickerMixin-Bikh6_Fg.js';
5
5
  import './CompatFallthroughMixin-C8LPuwDr.js';
package/dist/esm/toast.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, Fragment, createCommentVNode, vShow, createApp, h } from 'vue';
1
+ import { defineComponent, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, Fragment, createCommentVNode, vShow, createApp, h, inject } from 'vue';
2
2
  import { c as config } from './config-CKuo-p6e.js';
3
3
  import { N as NoticeMixin } from './NoticeMixin-ByNlva3T.js';
4
4
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
5
5
  import { getComponentFromVNode, copyAppContext } from './helpers.js';
6
- import { r as registerComponentProgrammatic } from './plugins-B172kuKE.js';
6
+ import { r as registerComponentProgrammatic } from './plugins-1tLsuIZF.js';
7
7
 
8
8
  const Toast$1 = defineComponent({
9
9
  name: "BToast",
@@ -147,10 +147,14 @@ class ToastProgrammatic {
147
147
  return vueInstance.mount(container);
148
148
  }
149
149
  }
150
+ const toastInjectionKey = Symbol("Buefy Toast");
151
+ function useToast() {
152
+ return inject(toastInjectionKey);
153
+ }
150
154
  const Plugin = {
151
155
  install(Vue) {
152
- registerComponentProgrammatic(Vue, "toast", new ToastProgrammatic(Vue));
156
+ registerComponentProgrammatic(Vue, "toast", new ToastProgrammatic(Vue), toastInjectionKey);
153
157
  }
154
158
  };
155
159
 
156
- export { Toast as BToast, ToastProgrammatic, Plugin as default };
160
+ export { Toast as BToast, ToastProgrammatic, Plugin as default, useToast };
@@ -1,5 +1,5 @@
1
1
  import { T as Tooltip } from './Tooltip-CtDSXAqa.js';
2
- import { a as registerComponent } from './plugins-B172kuKE.js';
2
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
3
3
  import 'vue';
4
4
  import './config-CKuo-p6e.js';
5
5
  import './helpers.js';
@@ -3,7 +3,7 @@ import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.j
3
3
  import { F as FormElementMixin } from './FormElementMixin-Dd_wkBN5.js';
4
4
  import { F as File } from './ssr-C7yEpGLm.js';
5
5
  import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
6
- import { a as registerComponent } from './plugins-B172kuKE.js';
6
+ import { a as registerComponent } from './plugins-1tLsuIZF.js';
7
7
  import './config-CKuo-p6e.js';
8
8
 
9
9
  const Upload$1 = defineComponent({