buefy 0.9.9 → 0.9.13

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 (278) hide show
  1. package/CHANGELOG.md +1639 -1609
  2. package/dist/buefy.css +20 -2
  3. package/dist/buefy.esm.js +2227 -1869
  4. package/dist/buefy.esm.min.js +2 -2
  5. package/dist/buefy.js +2266 -1907
  6. package/dist/buefy.min.css +1 -1
  7. package/dist/buefy.min.js +2 -2
  8. package/dist/cjs/autocomplete.js +6 -6
  9. package/dist/cjs/breadcrumb.js +127 -0
  10. package/dist/cjs/button.js +6 -107
  11. package/dist/cjs/carousel.js +9 -7
  12. package/dist/cjs/checkbox.js +5 -5
  13. package/dist/cjs/{chunk-d33a8a78.js → chunk-114191ae.js} +3 -3
  14. package/dist/cjs/{chunk-dafdb70c.js → chunk-2062216d.js} +39 -3
  15. package/dist/cjs/{chunk-64efc596.js → chunk-2911aa4b.js} +20 -16
  16. package/dist/cjs/{chunk-96ab31c1.js → chunk-2ae50815.js} +7 -7
  17. package/dist/cjs/{chunk-c3032504.js → chunk-2c7de785.js} +3 -3
  18. package/dist/cjs/{chunk-50ff3a78.js → chunk-30670fac.js} +96 -15
  19. package/dist/cjs/{chunk-e57b3891.js → chunk-34949503.js} +2 -2
  20. package/dist/cjs/{chunk-0abd2223.js → chunk-3b43d77a.js} +2 -2
  21. package/dist/cjs/{chunk-dcdbe2e8.js → chunk-3cc5d9a6.js} +1 -1
  22. package/dist/cjs/{chunk-0b57168e.js → chunk-61023b09.js} +3 -3
  23. package/dist/cjs/chunk-6cb902f8.js +314 -0
  24. package/dist/cjs/{chunk-adb01a93.js → chunk-7da0c017.js} +26 -24
  25. package/dist/cjs/{chunk-60255743.js → chunk-9103eeda.js} +4 -0
  26. package/dist/cjs/{chunk-14c82365.js → chunk-92621ff7.js} +37 -0
  27. package/dist/cjs/{chunk-816cba7a.js → chunk-9e4cf4c5.js} +1 -1
  28. package/dist/cjs/{chunk-33b9d1cf.js → chunk-a11294f9.js} +27 -26
  29. package/dist/cjs/{chunk-430b5370.js → chunk-bfcad370.js} +25 -2
  30. package/dist/cjs/{chunk-cc470e7c.js → chunk-c6fbc7b4.js} +7 -7
  31. package/dist/cjs/{chunk-993f89de.js → chunk-c7b2aa4b.js} +5 -4
  32. package/dist/cjs/{chunk-6474e963.js → chunk-d0f8ea39.js} +9 -9
  33. package/dist/cjs/{chunk-3acb500b.js → chunk-d120e215.js} +2 -2
  34. package/dist/cjs/{chunk-f5baaa70.js → chunk-d54e40f6.js} +2 -1
  35. package/dist/cjs/{chunk-916a2858.js → chunk-f5106717.js} +4 -4
  36. package/dist/cjs/chunk-fe2f57ee.js +110 -0
  37. package/dist/cjs/{chunk-2571dc7c.js → chunk-fefd7b77.js} +0 -0
  38. package/dist/cjs/clockpicker.js +11 -11
  39. package/dist/cjs/config.js +2 -2
  40. package/dist/cjs/datepicker.js +12 -12
  41. package/dist/cjs/datetimepicker.js +22 -15
  42. package/dist/cjs/dialog.js +13 -11
  43. package/dist/cjs/dropdown.js +8 -8
  44. package/dist/cjs/field.js +5 -5
  45. package/dist/cjs/helpers.js +2 -3
  46. package/dist/cjs/icon.js +3 -3
  47. package/dist/cjs/image.js +6 -311
  48. package/dist/cjs/index.js +29 -23
  49. package/dist/cjs/input.js +5 -5
  50. package/dist/cjs/loading.js +6 -6
  51. package/dist/cjs/menu.js +3 -3
  52. package/dist/cjs/message.js +6 -6
  53. package/dist/cjs/modal.js +6 -6
  54. package/dist/cjs/navbar.js +16 -4
  55. package/dist/cjs/notification.js +23 -11
  56. package/dist/cjs/numberinput.js +9 -7
  57. package/dist/cjs/pagination.js +8 -8
  58. package/dist/cjs/progress.js +10 -6
  59. package/dist/cjs/radio.js +3 -3
  60. package/dist/cjs/rate.js +3 -3
  61. package/dist/cjs/select.js +7 -7
  62. package/dist/cjs/sidebar.js +2 -2
  63. package/dist/cjs/slider.js +4 -4
  64. package/dist/cjs/snackbar.js +5 -5
  65. package/dist/cjs/steps.js +8 -8
  66. package/dist/cjs/switch.js +1 -1
  67. package/dist/cjs/table.js +13 -13
  68. package/dist/cjs/tabs.js +8 -8
  69. package/dist/cjs/tag.js +3 -3
  70. package/dist/cjs/taginput.js +34 -22
  71. package/dist/cjs/timepicker.js +13 -13
  72. package/dist/cjs/toast.js +5 -5
  73. package/dist/cjs/tooltip.js +5 -5
  74. package/dist/cjs/upload.js +5 -5
  75. package/dist/components/autocomplete/index.js +98 -13
  76. package/dist/components/autocomplete/index.min.js +2 -2
  77. package/dist/components/breadcrumb/index.js +293 -0
  78. package/dist/components/breadcrumb/index.min.js +2 -0
  79. package/dist/components/button/index.js +5 -1
  80. package/dist/components/button/index.min.js +2 -2
  81. package/dist/components/carousel/index.js +348 -15
  82. package/dist/components/carousel/index.min.js +2 -2
  83. package/dist/components/checkbox/index.js +1 -1
  84. package/dist/components/checkbox/index.min.js +1 -1
  85. package/dist/components/clockpicker/index.js +54 -47
  86. package/dist/components/clockpicker/index.min.js +2 -2
  87. package/dist/components/collapse/index.js +1 -1
  88. package/dist/components/collapse/index.min.js +1 -1
  89. package/dist/components/datepicker/index.js +41 -32
  90. package/dist/components/datepicker/index.min.js +2 -2
  91. package/dist/components/datetimepicker/index.js +75 -58
  92. package/dist/components/datetimepicker/index.min.js +2 -2
  93. package/dist/components/dialog/index.js +126 -18
  94. package/dist/components/dialog/index.min.js +2 -2
  95. package/dist/components/dropdown/index.js +5 -1
  96. package/dist/components/dropdown/index.min.js +1 -1
  97. package/dist/components/field/index.js +29 -23
  98. package/dist/components/field/index.min.js +2 -2
  99. package/dist/components/icon/index.js +5 -1
  100. package/dist/components/icon/index.min.js +2 -2
  101. package/dist/components/image/index.js +463 -444
  102. package/dist/components/image/index.min.js +2 -2
  103. package/dist/components/input/index.js +5 -1
  104. package/dist/components/input/index.min.js +2 -2
  105. package/dist/components/loading/index.js +2 -2
  106. package/dist/components/loading/index.min.js +2 -2
  107. package/dist/components/menu/index.js +5 -1
  108. package/dist/components/menu/index.min.js +2 -2
  109. package/dist/components/message/index.js +43 -3
  110. package/dist/components/message/index.min.js +2 -2
  111. package/dist/components/modal/index.js +7 -2
  112. package/dist/components/modal/index.min.js +2 -2
  113. package/dist/components/navbar/index.js +16 -4
  114. package/dist/components/navbar/index.min.js +2 -2
  115. package/dist/components/notification/index.js +59 -6
  116. package/dist/components/notification/index.min.js +2 -2
  117. package/dist/components/numberinput/index.js +9 -3
  118. package/dist/components/numberinput/index.min.js +2 -2
  119. package/dist/components/pagination/index.js +5 -1
  120. package/dist/components/pagination/index.min.js +2 -2
  121. package/dist/components/progress/index.js +10 -2
  122. package/dist/components/progress/index.min.js +2 -2
  123. package/dist/components/radio/index.js +1 -1
  124. package/dist/components/radio/index.min.js +1 -1
  125. package/dist/components/rate/index.js +5 -1
  126. package/dist/components/rate/index.min.js +2 -2
  127. package/dist/components/select/index.js +5 -1
  128. package/dist/components/select/index.min.js +2 -2
  129. package/dist/components/sidebar/index.js +5 -1
  130. package/dist/components/sidebar/index.min.js +1 -1
  131. package/dist/components/skeleton/index.js +1 -1
  132. package/dist/components/skeleton/index.min.js +1 -1
  133. package/dist/components/slider/index.js +5 -1
  134. package/dist/components/slider/index.min.js +2 -2
  135. package/dist/components/snackbar/index.js +7 -2
  136. package/dist/components/snackbar/index.min.js +2 -2
  137. package/dist/components/steps/index.js +5 -1
  138. package/dist/components/steps/index.min.js +2 -2
  139. package/dist/components/switch/index.js +5 -1
  140. package/dist/components/switch/index.min.js +1 -1
  141. package/dist/components/table/index.js +6 -2
  142. package/dist/components/table/index.min.js +2 -2
  143. package/dist/components/tabs/index.js +5 -1
  144. package/dist/components/tabs/index.min.js +2 -2
  145. package/dist/components/tag/index.js +26 -3
  146. package/dist/components/tag/index.min.js +2 -2
  147. package/dist/components/taginput/index.js +185 -29
  148. package/dist/components/taginput/index.min.js +2 -2
  149. package/dist/components/timepicker/index.js +54 -47
  150. package/dist/components/timepicker/index.min.js +2 -2
  151. package/dist/components/toast/index.js +7 -2
  152. package/dist/components/toast/index.min.js +2 -2
  153. package/dist/components/tooltip/index.js +5 -1
  154. package/dist/components/tooltip/index.min.js +1 -1
  155. package/dist/components/upload/index.js +5 -1
  156. package/dist/components/upload/index.min.js +2 -2
  157. package/dist/esm/autocomplete.js +7 -7
  158. package/dist/esm/breadcrumb.js +122 -0
  159. package/dist/esm/button.js +6 -107
  160. package/dist/esm/carousel.js +7 -5
  161. package/dist/esm/{chunk-56040896.js → chunk-18e8b067.js} +3 -3
  162. package/dist/esm/{chunk-fa404a2c.js → chunk-21fc0948.js} +7 -7
  163. package/dist/esm/{chunk-f9299099.js → chunk-22e9f916.js} +19 -15
  164. package/dist/esm/{chunk-1fafdf15.js → chunk-2452e3d3.js} +37 -1
  165. package/dist/esm/{chunk-1297c2c9.js → chunk-29ca0df8.js} +1 -1
  166. package/dist/esm/{chunk-3c2169d7.js → chunk-2f2f0a74.js} +25 -2
  167. package/dist/esm/{chunk-cf72ce36.js → chunk-3773c62d.js} +2 -2
  168. package/dist/esm/{chunk-2c957994.js → chunk-4b67a181.js} +3 -3
  169. package/dist/esm/{chunk-45740cdc.js → chunk-6019fd7a.js} +96 -15
  170. package/dist/esm/chunk-71a547bc.js +312 -0
  171. package/dist/esm/{chunk-516e4877.js → chunk-75a5af93.js} +1 -1
  172. package/dist/esm/{chunk-4e380ee2.js → chunk-799e084d.js} +2 -1
  173. package/dist/esm/{chunk-37678809.js → chunk-83eb0d37.js} +3 -3
  174. package/dist/esm/{chunk-34c74085.js → chunk-8d0f95b8.js} +4 -4
  175. package/dist/esm/{chunk-652f2dad.js → chunk-8ed29c41.js} +4 -0
  176. package/dist/esm/{chunk-742a9694.js → chunk-9f7f7441.js} +3 -2
  177. package/dist/esm/{chunk-f160efb9.js → chunk-ae8ab23a.js} +4 -4
  178. package/dist/esm/{chunk-c3b09672.js → chunk-b07e3182.js} +26 -24
  179. package/dist/esm/{chunk-e36a4f2c.js → chunk-b0c0c6b0.js} +0 -0
  180. package/dist/esm/{chunk-ee935ae6.js → chunk-c9c58d0c.js} +1 -1
  181. package/dist/esm/{chunk-1d62828e.js → chunk-d7f92d97.js} +39 -3
  182. package/dist/esm/{chunk-7fd02ffe.js → chunk-d92f0cd9.js} +2 -2
  183. package/dist/esm/chunk-e7c9b2cb.js +108 -0
  184. package/dist/esm/{chunk-0e22ae0a.js → chunk-ece062a7.js} +27 -26
  185. package/dist/esm/clockpicker.js +9 -9
  186. package/dist/esm/config.js +2 -2
  187. package/dist/esm/datepicker.js +11 -11
  188. package/dist/esm/datetimepicker.js +21 -14
  189. package/dist/esm/dialog.js +10 -8
  190. package/dist/esm/dropdown.js +5 -5
  191. package/dist/esm/field.js +4 -4
  192. package/dist/esm/helpers.js +2 -3
  193. package/dist/esm/icon.js +4 -4
  194. package/dist/esm/image.js +6 -311
  195. package/dist/esm/index.js +106 -100
  196. package/dist/esm/input.js +6 -6
  197. package/dist/esm/loading.js +4 -4
  198. package/dist/esm/menu.js +3 -3
  199. package/dist/esm/message.js +5 -5
  200. package/dist/esm/modal.js +4 -4
  201. package/dist/esm/navbar.js +16 -4
  202. package/dist/esm/notification.js +22 -10
  203. package/dist/esm/numberinput.js +9 -7
  204. package/dist/esm/pagination.js +5 -5
  205. package/dist/esm/progress.js +8 -4
  206. package/dist/esm/rate.js +3 -3
  207. package/dist/esm/select.js +6 -6
  208. package/dist/esm/sidebar.js +2 -2
  209. package/dist/esm/slider.js +3 -3
  210. package/dist/esm/snackbar.js +4 -4
  211. package/dist/esm/steps.js +6 -6
  212. package/dist/esm/switch.js +1 -1
  213. package/dist/esm/table.js +9 -9
  214. package/dist/esm/tabs.js +6 -6
  215. package/dist/esm/tag.js +2 -2
  216. package/dist/esm/taginput.js +33 -21
  217. package/dist/esm/timepicker.js +12 -12
  218. package/dist/esm/toast.js +4 -4
  219. package/dist/esm/tooltip.js +4 -4
  220. package/dist/esm/upload.js +3 -3
  221. package/dist/vetur/attributes.json +95 -19
  222. package/dist/vetur/tags.json +37 -4
  223. package/package.json +2 -2
  224. package/src/components/autocomplete/Autocomplete.spec.js +70 -0
  225. package/src/components/autocomplete/Autocomplete.vue +93 -18
  226. package/src/components/breadcrumb/Breadcrumb.spec.js +63 -0
  227. package/src/components/breadcrumb/Breadcrumb.vue +43 -0
  228. package/src/components/breadcrumb/BreadcrumbItem.spec.js +25 -0
  229. package/src/components/breadcrumb/BreadcrumbItem.vue +33 -0
  230. package/src/components/breadcrumb/__snapshots__/Breadcrumb.spec.js.snap +7 -0
  231. package/src/components/breadcrumb/__snapshots__/BreadcrumbItem.spec.js.snap +7 -0
  232. package/src/components/breadcrumb/index.js +20 -0
  233. package/src/components/carousel/CarouselList.vue +3 -1
  234. package/src/components/carousel/__snapshots__/CarouselList.spec.js.snap +128 -8
  235. package/src/components/clockpicker/Clockpicker.vue +259 -259
  236. package/src/components/datepicker/Datepicker.vue +10 -6
  237. package/src/components/datetimepicker/Datetimepicker.vue +8 -1
  238. package/src/components/dialog/Dialog.vue +10 -10
  239. package/src/components/field/Field.vue +271 -270
  240. package/src/components/image/Image.spec.js +197 -183
  241. package/src/components/image/Image.vue +4 -2
  242. package/src/components/index.js +2 -0
  243. package/src/components/loading/Loading.vue +1 -1
  244. package/src/components/loading/__snapshots__/Loading.spec.js.snap +1 -1
  245. package/src/components/message/Message.vue +7 -1
  246. package/src/components/message/__snapshots__/Message.spec.js.snap +1 -0
  247. package/src/components/modal/Modal.vue +2 -0
  248. package/src/components/navbar/Navbar.vue +5 -1
  249. package/src/components/navbar/NavbarBurger.vue +1 -0
  250. package/src/components/navbar/NavbarDropdown.vue +8 -2
  251. package/src/components/navbar/__snapshots__/NavBar.spec.js.snap +11 -11
  252. package/src/components/navbar/__snapshots__/NavBarBurger.spec.js.snap +3 -0
  253. package/src/components/navbar/__snapshots__/NavbarDropdown.spec.js.snap +1 -1
  254. package/src/components/notification/Notification.vue +6 -0
  255. package/src/components/notification/NotificationNotice.vue +16 -3
  256. package/src/components/notification/__snapshots__/Notification.spec.js.snap +1 -0
  257. package/src/components/numberinput/Numberinput.spec.js +10 -0
  258. package/src/components/numberinput/Numberinput.vue +4 -2
  259. package/src/components/progress/Progress.vue +6 -2
  260. package/src/components/snackbar/Snackbar.vue +2 -0
  261. package/src/components/tag/Tag.vue +25 -2
  262. package/src/components/tag/__snapshots__/Tag.spec.js.snap +1 -1
  263. package/src/components/taginput/Taginput.spec.js +57 -1
  264. package/src/components/taginput/Taginput.vue +373 -364
  265. package/src/components/toast/Toast.vue +1 -1
  266. package/src/index.js +2 -0
  267. package/src/scss/buefy.scss +1 -0
  268. package/src/scss/components/_loading.scss +2 -1
  269. package/src/scss/components/_message.scss +3 -0
  270. package/src/scss/components/_notification.scss +8 -0
  271. package/src/scss/components/_progress.scss +8 -0
  272. package/src/utils/MessageMixin.js +32 -1
  273. package/src/utils/NoticeMixin.js +1 -0
  274. package/src/utils/TimepickerMixin.js +718 -716
  275. package/src/utils/config.js +4 -0
  276. package/src/utils/helpers.js +1 -2
  277. package/types/components.d.ts +5 -0
  278. package/src/components/navbar/__snapshots__/NavbarBurger.spec.js.snap +0 -3
@@ -1,10 +1,10 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import { merge } from './helpers.js';
3
- import { V as VueInstance } from './chunk-652f2dad.js';
3
+ import { V as VueInstance } from './chunk-8ed29c41.js';
4
4
  import { r as registerComponent, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';
5
5
  import './chunk-b9bdb0e4.js';
6
- import { L as Loading } from './chunk-ee935ae6.js';
7
- export { L as BLoading } from './chunk-ee935ae6.js';
6
+ import { L as Loading } from './chunk-c9c58d0c.js';
7
+ export { L as BLoading } from './chunk-c9c58d0c.js';
8
8
 
9
9
  var localVueInstance;
10
10
  var LoadingProgrammatic = {
package/dist/esm/menu.js CHANGED
@@ -1,7 +1,7 @@
1
- import { _ as _defineProperty } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
4
- import { I as Icon } from './chunk-7fd02ffe.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
+ import { I as Icon } from './chunk-d92f0cd9.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
6
6
 
7
7
  //
@@ -1,9 +1,9 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import './chunk-652f2dad.js';
4
- import './chunk-7fd02ffe.js';
3
+ import './chunk-8ed29c41.js';
4
+ import './chunk-d92f0cd9.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
6
- import { M as MessageMixin } from './chunk-1d62828e.js';
6
+ import { M as MessageMixin } from './chunk-d7f92d97.js';
7
7
 
8
8
  //
9
9
  var script = {
@@ -23,7 +23,7 @@ var script = {
23
23
  const __vue_script__ = script;
24
24
 
25
25
  /* template */
26
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"fade"}},[(_vm.isActive)?_c('article',{staticClass:"message",class:[_vm.type, _vm.size]},[(_vm.$slots.header || _vm.title)?_c('header',{staticClass:"message-header"},[(_vm.$slots.header)?_c('div',[_vm._t("header")],2):(_vm.title)?_c('p',[_vm._v(_vm._s(_vm.title))]):_vm._e(),(_vm.closable)?_c('button',{staticClass:"delete",attrs:{"type":"button","aria-label":_vm.ariaCloseLabel},on:{"click":_vm.close}}):_vm._e()]):_vm._e(),(_vm.$slots.default)?_c('section',{staticClass:"message-body"},[_c('div',{staticClass:"media"},[(_vm.computedIcon && _vm.hasIcon)?_c('div',{staticClass:"media-left"},[_c('b-icon',{class:_vm.type,attrs:{"icon":_vm.computedIcon,"pack":_vm.iconPack,"both":"","size":_vm.newIconSize}})],1):_vm._e(),_c('div',{staticClass:"media-content"},[_vm._t("default")],2)])]):_vm._e()]):_vm._e()])};
26
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"fade"}},[_c('article',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive),expression:"isActive"}],staticClass:"message",class:[_vm.type, _vm.size]},[(_vm.$slots.header || _vm.title)?_c('header',{staticClass:"message-header"},[(_vm.$slots.header)?_c('div',[_vm._t("header")],2):(_vm.title)?_c('p',[_vm._v(_vm._s(_vm.title))]):_vm._e(),(_vm.closable)?_c('button',{staticClass:"delete",attrs:{"type":"button","aria-label":_vm.ariaCloseLabel},on:{"click":_vm.close}}):_vm._e()]):_vm._e(),(_vm.$slots.default)?_c('section',{staticClass:"message-body"},[_c('div',{staticClass:"media"},[(_vm.computedIcon && _vm.hasIcon)?_c('div',{staticClass:"media-left"},[_c('b-icon',{class:_vm.type,attrs:{"icon":_vm.computedIcon,"pack":_vm.iconPack,"both":"","size":_vm.newIconSize}})],1):_vm._e(),_c('div',{staticClass:"media-content"},[_vm._t("default")],2)])]):_vm._e(),(_vm.autoClose && _vm.progressBar)?_c('b-progress',{attrs:{"value":_vm.remainingTime - 1,"max":_vm.duration / 1000 - 1,"type":_vm.type,"rounded":false}}):_vm._e()],1)])};
27
27
  var __vue_staticRenderFns__ = [];
28
28
 
29
29
  /* style */
package/dist/esm/modal.js CHANGED
@@ -1,10 +1,10 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import { merge } from './helpers.js';
3
- import { V as VueInstance } from './chunk-652f2dad.js';
3
+ import { V as VueInstance } from './chunk-8ed29c41.js';
4
4
  import { r as registerComponent, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';
5
5
  import './chunk-42f463e6.js';
6
- import { M as Modal } from './chunk-742a9694.js';
7
- export { M as BModal } from './chunk-742a9694.js';
6
+ import { M as Modal } from './chunk-9f7f7441.js';
7
+ export { M as BModal } from './chunk-9f7f7441.js';
8
8
 
9
9
  var localVueInstance;
10
10
  var ModalProgrammatic = {
@@ -1,4 +1,4 @@
1
- import { b as _typeof, _ as _defineProperty } from './chunk-1fafdf15.js';
1
+ import { b as _typeof, _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
3
3
 
4
4
  //
@@ -16,6 +16,7 @@ import { _ as __vue_normalize__, r as registerComponent, u as use } from './chun
16
16
  //
17
17
  //
18
18
  //
19
+ //
19
20
  var script = {
20
21
  name: 'NavbarBurger',
21
22
  props: {
@@ -30,7 +31,7 @@ var script = {
30
31
  const __vue_script__ = script;
31
32
 
32
33
  /* template */
33
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',_vm._g({staticClass:"navbar-burger burger",class:{ 'is-active': _vm.isOpened },attrs:{"role":"button","aria-label":"menu","aria-expanded":_vm.isOpened}},_vm.$listeners),[_c('span',{attrs:{"aria-hidden":"true"}}),_c('span',{attrs:{"aria-hidden":"true"}}),_c('span',{attrs:{"aria-hidden":"true"}})])};
34
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',_vm._g({staticClass:"navbar-burger burger",class:{ 'is-active': _vm.isOpened },attrs:{"role":"button","aria-label":"menu","aria-expanded":_vm.isOpened,"tabindex":"0"}},_vm.$listeners),[_c('span',{attrs:{"aria-hidden":"true"}}),_c('span',{attrs:{"aria-hidden":"true"}}),_c('span',{attrs:{"aria-hidden":"true"}})])};
34
35
  var __vue_staticRenderFns__ = [];
35
36
 
36
37
  /* style */
@@ -334,13 +335,20 @@ var script$1 = {
334
335
  }, [this.$slots.brand, this.genBurgerNode(createElement)]);
335
336
  },
336
337
  genBurgerNode: function genBurgerNode(createElement) {
338
+ var _this = this;
339
+
337
340
  if (this.mobileBurger) {
338
341
  var defaultBurgerNode = createElement('navbar-burger', {
339
342
  props: {
340
343
  isOpened: this.isOpened
341
344
  },
342
345
  on: {
343
- click: this.toggleActive
346
+ click: this.toggleActive,
347
+ keyup: function keyup(event) {
348
+ if (event.keyCode !== 13) return;
349
+
350
+ _this.toggleActive();
351
+ }
344
352
  }
345
353
  });
346
354
  var hasBurgerSlot = !!this.$scopedSlots.burger;
@@ -559,6 +567,7 @@ var script$3 = {
559
567
  directives: {
560
568
  clickOutside: directive
561
569
  },
570
+ inheritAttrs: false,
562
571
  props: {
563
572
  label: String,
564
573
  hoverable: Boolean,
@@ -590,6 +599,9 @@ var script$3 = {
590
599
  }
591
600
  },
592
601
  methods: {
602
+ toggleMenu: function toggleMenu() {
603
+ this.newActive = !this.newActive;
604
+ },
593
605
  showMenu: function showMenu() {
594
606
  this.newActive = true;
595
607
  },
@@ -622,7 +634,7 @@ var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _
622
634
  },on:{"mouseenter":_vm.checkHoverable}},[_c(_vm.tag,_vm._g(_vm._b({tag:"component",staticClass:"navbar-link",class:{
623
635
  'is-arrowless': _vm.arrowless,
624
636
  'is-active': _vm.newActive && _vm.collapsible
625
- },attrs:{"role":"menuitem","aria-haspopup":"true"},on:{"click":function($event){$event.preventDefault();_vm.newActive = !_vm.newActive;}}},'component',_vm.$attrs,false),_vm.$listeners),[(_vm.label)?[_vm._v(_vm._s(_vm.label))]:_vm._t("label")],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.collapsible || (_vm.collapsible && _vm.newActive)),expression:"!collapsible || (collapsible && newActive)"}],staticClass:"navbar-dropdown",class:{
637
+ },attrs:{"aria-haspopup":"true","tabindex":"0"},on:{"click":function($event){$event.preventDefault();return _vm.toggleMenu($event)},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.toggleMenu($event)}}},'component',_vm.$attrs,false),_vm.$listeners),[(_vm.label)?[_vm._v(_vm._s(_vm.label))]:_vm._t("label")],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.collapsible || (_vm.collapsible && _vm.newActive)),expression:"!collapsible || (collapsible && newActive)"}],staticClass:"navbar-dropdown",class:{
626
638
  'is-right': _vm.right,
627
639
  'is-boxed': _vm.boxed,
628
640
  }},[_vm._t("default")],2)],1)};
@@ -1,10 +1,10 @@
1
- import './chunk-1fafdf15.js';
2
- import { merge } from './helpers.js';
3
- import { c as config, V as VueInstance } from './chunk-652f2dad.js';
4
- import './chunk-7fd02ffe.js';
1
+ import './chunk-2452e3d3.js';
2
+ import { removeElement, merge } from './helpers.js';
3
+ import { c as config, V as VueInstance } from './chunk-8ed29c41.js';
4
+ import './chunk-d92f0cd9.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';
6
- import { M as MessageMixin } from './chunk-1d62828e.js';
7
- import { N as NoticeMixin } from './chunk-4e380ee2.js';
6
+ import { M as MessageMixin } from './chunk-d7f92d97.js';
7
+ import { N as NoticeMixin } from './chunk-799e084d.js';
8
8
 
9
9
  //
10
10
  var script = {
@@ -24,7 +24,7 @@ var script = {
24
24
  const __vue_script__ = script;
25
25
 
26
26
  /* template */
27
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":_vm.animation}},[_c('article',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive),expression:"isActive"}],staticClass:"notification",class:[_vm.type, _vm.position],on:{"click":_vm.click}},[(_vm.closable)?_c('button',{staticClass:"delete",attrs:{"type":"button","aria-label":_vm.ariaCloseLabel},on:{"click":_vm.close}}):_vm._e(),(_vm.$slots.default || _vm.message)?_c('div',{staticClass:"media"},[(_vm.computedIcon && _vm.hasIcon)?_c('div',{staticClass:"media-left"},[_c('b-icon',{attrs:{"icon":_vm.computedIcon,"pack":_vm.iconPack,"both":"","size":"is-large","aria-hidden":""}})],1):_vm._e(),_c('div',{staticClass:"media-content"},[(_vm.$slots.default)?[_vm._t("default")]:[_c('p',{staticClass:"text",domProps:{"innerHTML":_vm._s(_vm.message)}})]],2)]):_vm._e()])])};
27
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":_vm.animation}},[_c('article',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive),expression:"isActive"}],staticClass:"notification",class:[_vm.type, _vm.position],on:{"click":_vm.click}},[(_vm.closable)?_c('button',{staticClass:"delete",attrs:{"type":"button","aria-label":_vm.ariaCloseLabel},on:{"click":_vm.close}}):_vm._e(),(_vm.$slots.default || _vm.message)?_c('div',{staticClass:"media"},[(_vm.computedIcon && _vm.hasIcon)?_c('div',{staticClass:"media-left"},[_c('b-icon',{attrs:{"icon":_vm.computedIcon,"pack":_vm.iconPack,"both":"","size":"is-large","aria-hidden":""}})],1):_vm._e(),_c('div',{staticClass:"media-content"},[(_vm.$slots.default)?[_vm._t("default")]:[_c('p',{staticClass:"text",domProps:{"innerHTML":_vm._s(_vm.message)}})]],2)]):_vm._e(),(_vm.progressBar)?_c('b-progress',{attrs:{"value":_vm.remainingTime - 1,"max":_vm.duration / 1000 - 1,"type":_vm.type,"rounded":false}}):_vm._e()],1)])};
28
28
  var __vue_staticRenderFns__ = [];
29
29
 
30
30
  /* style */
@@ -62,8 +62,20 @@ var script$1 = {
62
62
  };
63
63
  },
64
64
  methods: {
65
- timeoutCallback: function timeoutCallback() {
66
- return this.$refs.notification.close();
65
+ close: function close() {
66
+ var _this = this;
67
+
68
+ if (!this.isPaused) {
69
+ clearTimeout(this.timer);
70
+ this.$refs.notification.isActive = false;
71
+ this.$emit('close'); // Timeout for the animation complete before destroying
72
+
73
+ setTimeout(function () {
74
+ _this.$destroy();
75
+
76
+ removeElement(_this.$el);
77
+ }, 150);
78
+ }
67
79
  }
68
80
  }
69
81
  };
@@ -72,7 +84,7 @@ var script$1 = {
72
84
  const __vue_script__$1 = script$1;
73
85
 
74
86
  /* template */
75
- var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-notification',_vm._b({ref:"notification",on:{"click":_vm.click,"close":_vm.close}},'b-notification',_vm.$options.propsData,false),[_vm._t("default")],2)};
87
+ var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-notification',_vm._b({ref:"notification",on:{"click":_vm.click,"close":_vm.close},nativeOn:{"mouseenter":function($event){return _vm.pause($event)},"mouseleave":function($event){return _vm.removePause($event)}}},'b-notification',_vm.$options.propsData,false),[_vm._t("default")],2)};
76
88
  var __vue_staticRenderFns__$1 = [];
77
89
 
78
90
  /* style */
@@ -1,10 +1,10 @@
1
- import { _ as _defineProperty } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import './chunk-652f2dad.js';
4
- import { F as FormElementMixin } from './chunk-516e4877.js';
5
- import { I as Icon } from './chunk-7fd02ffe.js';
3
+ import './chunk-8ed29c41.js';
4
+ import { F as FormElementMixin } from './chunk-75a5af93.js';
5
+ import { I as Icon } from './chunk-d92f0cd9.js';
6
6
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import { I as Input } from './chunk-f160efb9.js';
7
+ import { I as Input } from './chunk-ae8ab23a.js';
8
8
 
9
9
  var _components;
10
10
  var script = {
@@ -67,7 +67,7 @@ var script = {
67
67
  set: function set(value) {
68
68
  var _this = this;
69
69
 
70
- var newValue = value;
70
+ var newValue = Number(value) || null;
71
71
 
72
72
  if (value === '' || value === undefined || value === null) {
73
73
  if (this.minNumber !== undefined) {
@@ -86,7 +86,9 @@ var script = {
86
86
  }
87
87
 
88
88
  this.$nextTick(function () {
89
- _this.$refs.input.checkHtml5Validity();
89
+ if (_this.$refs.input) {
90
+ _this.$refs.input.checkHtml5Validity();
91
+ }
90
92
  });
91
93
  }
92
94
  },
@@ -1,10 +1,10 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import './chunk-652f2dad.js';
4
- import './chunk-7fd02ffe.js';
3
+ import './chunk-8ed29c41.js';
4
+ import './chunk-d92f0cd9.js';
5
5
  import { r as registerComponent, u as use } from './chunk-cca88db8.js';
6
- import { P as Pagination, a as PaginationButton } from './chunk-56040896.js';
7
- export { P as BPagination, a as BPaginationButton } from './chunk-56040896.js';
6
+ import { P as Pagination, a as PaginationButton } from './chunk-18e8b067.js';
7
+ export { P as BPagination, a as BPaginationButton } from './chunk-18e8b067.js';
8
8
 
9
9
  var Plugin = {
10
10
  install: function install(Vue) {
@@ -1,8 +1,8 @@
1
- import { _ as _defineProperty } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
4
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
5
- import { P as ProviderParentMixin, I as InjectedChildMixin } from './chunk-1297c2c9.js';
5
+ import { P as ProviderParentMixin, I as InjectedChildMixin } from './chunk-29ca0df8.js';
6
6
 
7
7
  var script = {
8
8
  name: 'BProgress',
@@ -13,6 +13,10 @@ var script = {
13
13
  default: 'is-darkgrey'
14
14
  },
15
15
  size: String,
16
+ rounded: {
17
+ type: Boolean,
18
+ default: true
19
+ },
16
20
  value: {
17
21
  type: Number,
18
22
  default: undefined
@@ -116,7 +120,7 @@ var script = {
116
120
  const __vue_script__ = script;
117
121
 
118
122
  /* template */
119
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"progress-wrapper",class:_vm.wrapperClasses},[(_vm.isNative)?_c('progress',{ref:"progress",staticClass:"progress",class:_vm.newType,attrs:{"max":_vm.max},domProps:{"value":_vm.value}},[_vm._v(_vm._s(_vm.newValue))]):_vm._t("bar"),(_vm.isNative && _vm.showValue)?_c('p',{staticClass:"progress-value"},[_vm._t("default",[_vm._v(_vm._s(_vm.newValue))])],2):_vm._e()],2)};
123
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"progress-wrapper",class:[_vm.wrapperClasses, { 'is-squared': !_vm.rounded }]},[(_vm.isNative)?_c('progress',{ref:"progress",staticClass:"progress",class:[_vm.newType, { 'is-squared': !_vm.rounded }],attrs:{"max":_vm.max},domProps:{"value":_vm.value}},[_vm._v(_vm._s(_vm.newValue))]):_vm._t("bar"),(_vm.isNative && _vm.showValue)?_c('p',{staticClass:"progress-value"},[_vm._t("default",[_vm._v(_vm._s(_vm.newValue))])],2):_vm._e()],2)};
120
124
  var __vue_staticRenderFns__ = [];
121
125
 
122
126
  /* style */
package/dist/esm/rate.js CHANGED
@@ -1,7 +1,7 @@
1
- import { _ as _defineProperty } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
4
- import { I as Icon } from './chunk-7fd02ffe.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
+ import { I as Icon } from './chunk-d92f0cd9.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
6
6
 
7
7
  var script = {
@@ -1,11 +1,11 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import './chunk-652f2dad.js';
4
- import './chunk-516e4877.js';
5
- import './chunk-7fd02ffe.js';
3
+ import './chunk-8ed29c41.js';
4
+ import './chunk-75a5af93.js';
5
+ import './chunk-d92f0cd9.js';
6
6
  import { r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import { S as Select } from './chunk-37678809.js';
8
- export { S as BSelect } from './chunk-37678809.js';
7
+ import { S as Select } from './chunk-83eb0d37.js';
8
+ export { S as BSelect } from './chunk-83eb0d37.js';
9
9
 
10
10
  var Plugin = {
11
11
  install: function install(Vue) {
@@ -1,6 +1,6 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import { isCustomElement, removeElement } from './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
4
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
5
5
 
6
6
  //
@@ -1,8 +1,8 @@
1
- import { _ as _defineProperty, d as _toConsumableArray } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty, d as _toConsumableArray } from './chunk-2452e3d3.js';
2
2
  import { bound } from './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
4
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
5
- import { T as Tooltip } from './chunk-cf72ce36.js';
5
+ import { T as Tooltip } from './chunk-3773c62d.js';
6
6
 
7
7
  var script = {
8
8
  name: 'BSliderThumb',
@@ -1,8 +1,8 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import { merge } from './helpers.js';
3
- import { c as config, V as VueInstance } from './chunk-652f2dad.js';
3
+ import { c as config, V as VueInstance } from './chunk-8ed29c41.js';
4
4
  import { _ as __vue_normalize__, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';
5
- import { N as NoticeMixin } from './chunk-4e380ee2.js';
5
+ import { N as NoticeMixin } from './chunk-799e084d.js';
6
6
 
7
7
  //
8
8
  var script = {
@@ -43,7 +43,7 @@ var script = {
43
43
  const __vue_script__ = script;
44
44
 
45
45
  /* template */
46
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"enter-active-class":_vm.transition.enter,"leave-active-class":_vm.transition.leave}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive),expression:"isActive"}],staticClass:"snackbar",class:[_vm.type,_vm.position],attrs:{"role":_vm.actionText ? 'alertdialog' : 'alert'}},[(_vm.$slots.default)?[_vm._t("default")]:[_c('div',{staticClass:"text",domProps:{"innerHTML":_vm._s(_vm.message)}})],(_vm.cancelText)?_c('div',{staticClass:"action is-light is-cancel",on:{"click":_vm.close}},[_c('button',{staticClass:"button"},[_vm._v(_vm._s(_vm.cancelText))])]):_vm._e(),(_vm.actionText)?_c('div',{staticClass:"action",class:_vm.type,on:{"click":_vm.action}},[_c('button',{staticClass:"button"},[_vm._v(_vm._s(_vm.actionText))])]):_vm._e()],2)])};
46
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"enter-active-class":_vm.transition.enter,"leave-active-class":_vm.transition.leave}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive),expression:"isActive"}],staticClass:"snackbar",class:[_vm.type,_vm.position],attrs:{"role":_vm.actionText ? 'alertdialog' : 'alert'},on:{"mouseenter":_vm.pause,"mouseleave":_vm.removePause}},[(_vm.$slots.default)?[_vm._t("default")]:[_c('div',{staticClass:"text",domProps:{"innerHTML":_vm._s(_vm.message)}})],(_vm.cancelText)?_c('div',{staticClass:"action is-light is-cancel",on:{"click":_vm.close}},[_c('button',{staticClass:"button"},[_vm._v(_vm._s(_vm.cancelText))])]):_vm._e(),(_vm.actionText)?_c('div',{staticClass:"action",class:_vm.type,on:{"click":_vm.action}},[_c('button',{staticClass:"button"},[_vm._v(_vm._s(_vm.actionText))])]):_vm._e()],2)])};
47
47
  var __vue_staticRenderFns__ = [];
48
48
 
49
49
  /* style */
package/dist/esm/steps.js CHANGED
@@ -1,11 +1,11 @@
1
- import { _ as _defineProperty } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
4
- import { I as Icon } from './chunk-7fd02ffe.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
+ import { I as Icon } from './chunk-d92f0cd9.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
6
- import './chunk-1297c2c9.js';
7
- import './chunk-e36a4f2c.js';
8
- import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-34c74085.js';
6
+ import './chunk-29ca0df8.js';
7
+ import './chunk-b0c0c6b0.js';
8
+ import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-8d0f95b8.js';
9
9
 
10
10
  var script = {
11
11
  name: 'BSteps',
@@ -1,4 +1,4 @@
1
- import { c as config } from './chunk-652f2dad.js';
1
+ import { c as config } from './chunk-8ed29c41.js';
2
2
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
3
3
 
4
4
  //
package/dist/esm/table.js CHANGED
@@ -1,17 +1,17 @@
1
- import { _ as _defineProperty, d as _toConsumableArray, b as _typeof } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty, d as _toConsumableArray, b as _typeof } from './chunk-2452e3d3.js';
2
2
  import { toCssWidth, getValueByPath, indexOf, multiColumnSort, escapeRegExpChars } from './helpers.js';
3
- import { V as VueInstance, s as setVueInstance } from './chunk-652f2dad.js';
4
- import './chunk-516e4877.js';
5
- import { I as Icon } from './chunk-7fd02ffe.js';
3
+ import { V as VueInstance, s as setVueInstance } from './chunk-8ed29c41.js';
4
+ import './chunk-75a5af93.js';
5
+ import { I as Icon } from './chunk-d92f0cd9.js';
6
6
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import { I as Input } from './chunk-f160efb9.js';
7
+ import { I as Input } from './chunk-ae8ab23a.js';
8
8
  import './chunk-2793447b.js';
9
9
  import { C as Checkbox } from './chunk-252f2b57.js';
10
- import { S as Select } from './chunk-37678809.js';
10
+ import { S as Select } from './chunk-83eb0d37.js';
11
11
  import './chunk-b9bdb0e4.js';
12
- import { L as Loading } from './chunk-ee935ae6.js';
13
- import { P as Pagination } from './chunk-56040896.js';
14
- import { S as SlotComponent } from './chunk-e36a4f2c.js';
12
+ import { L as Loading } from './chunk-c9c58d0c.js';
13
+ import { P as Pagination } from './chunk-18e8b067.js';
14
+ import { S as SlotComponent } from './chunk-b0c0c6b0.js';
15
15
 
16
16
  function debounce (func, wait, immediate) {
17
17
  var timeout;
package/dist/esm/tabs.js CHANGED
@@ -1,11 +1,11 @@
1
- import { _ as _defineProperty } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
4
- import './chunk-7fd02ffe.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
+ import './chunk-d92f0cd9.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
6
- import './chunk-1297c2c9.js';
7
- import './chunk-e36a4f2c.js';
8
- import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-34c74085.js';
6
+ import './chunk-29ca0df8.js';
7
+ import './chunk-b0c0c6b0.js';
8
+ import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-8d0f95b8.js';
9
9
 
10
10
  var script = {
11
11
  name: 'BTabs',
package/dist/esm/tag.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
2
- import { T as Tag } from './chunk-3c2169d7.js';
3
- export { T as BTag } from './chunk-3c2169d7.js';
2
+ import { T as Tag } from './chunk-2f2f0a74.js';
3
+ export { T as BTag } from './chunk-2f2f0a74.js';
4
4
 
5
5
  //
6
6
  //
@@ -1,12 +1,12 @@
1
- import { _ as _defineProperty, b as _typeof } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty, e as _objectWithoutProperties, b as _typeof } from './chunk-2452e3d3.js';
2
2
  import { getValueByPath } from './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
4
- import { F as FormElementMixin } from './chunk-516e4877.js';
5
- import './chunk-7fd02ffe.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
+ import { F as FormElementMixin } from './chunk-75a5af93.js';
5
+ import './chunk-d92f0cd9.js';
6
6
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import './chunk-f160efb9.js';
8
- import { A as Autocomplete } from './chunk-45740cdc.js';
9
- import { T as Tag } from './chunk-3c2169d7.js';
7
+ import './chunk-ae8ab23a.js';
8
+ import { A as Autocomplete } from './chunk-6019fd7a.js';
9
+ import { T as Tag } from './chunk-2f2f0a74.js';
10
10
 
11
11
  var _components;
12
12
  var script = {
@@ -115,6 +115,13 @@ var script = {
115
115
  };
116
116
  },
117
117
  computed: {
118
+ listeners: function listeners() {
119
+ var _this$$listeners = this.$listeners,
120
+ input = _this$$listeners.input,
121
+ listeners = _objectWithoutProperties(_this$$listeners, ["input"]);
122
+
123
+ return listeners;
124
+ },
118
125
  rootClasses: function rootClasses() {
119
126
  return {
120
127
  'is-expanded': this.expanded
@@ -142,8 +149,8 @@ var script = {
142
149
  return !!this.$slots.footer;
143
150
  },
144
151
 
145
- /**
146
- * Show the input field if a maxtags hasn't been set or reached.
152
+ /**
153
+ * Show the input field if a maxtags hasn't been set or reached.
147
154
  */
148
155
  hasInput: function hasInput() {
149
156
  return this.maxtags == null || this.maxtags === 1 || this.tagsLength < this.maxtags;
@@ -152,9 +159,9 @@ var script = {
152
159
  return this.tags.length;
153
160
  },
154
161
 
155
- /**
156
- * If Taginput has onPasteSeparators prop,
157
- * returning new RegExp used to split pasted string.
162
+ /**
163
+ * If Taginput has onPasteSeparators prop,
164
+ * returning new RegExp used to split pasted string.
158
165
  */
159
166
  separatorsAsRegExp: function separatorsAsRegExp() {
160
167
  var sep = this.onPasteSeparators;
@@ -164,8 +171,8 @@ var script = {
164
171
  }
165
172
  },
166
173
  watch: {
167
- /**
168
- * When v-model is changed set internal value.
174
+ /**
175
+ * When v-model is changed set internal value.
169
176
  */
170
177
  value: function value(_value) {
171
178
  this.tags = Array.isArray(_value) ? _value.slice(0) : _value || [];
@@ -206,15 +213,15 @@ var script = {
206
213
  this.tags.push(this.createTag(tagToAdd));
207
214
  this.$emit('input', this.tags);
208
215
  this.$emit('add', tagToAdd);
209
- }
210
- } // after autocomplete events
216
+ } // after autocomplete events
211
217
 
212
218
 
213
- requestAnimationFrame(function () {
214
- _this.newTag = '';
219
+ requestAnimationFrame(function () {
220
+ _this.newTag = '';
215
221
 
216
- _this.$emit('typing', '');
217
- });
222
+ _this.$emit('typing', '');
223
+ });
224
+ }
218
225
  },
219
226
  getNormalizedTagText: function getNormalizedTagText(tag) {
220
227
  if (_typeof(tag) === 'object') {
@@ -229,8 +236,13 @@ var script = {
229
236
  this.onBlur(event);
230
237
  },
231
238
  onSelect: function onSelect(option) {
239
+ var _this2 = this;
240
+
232
241
  if (!option) return;
233
242
  this.addTag(option);
243
+ this.$nextTick(function () {
244
+ _this2.newTag = '';
245
+ });
234
246
  },
235
247
  removeTag: function removeTag(index, event) {
236
248
  var tag = this.tags.splice(index, 1)[0];
@@ -279,7 +291,7 @@ var script = {
279
291
  const __vue_script__ = script;
280
292
 
281
293
  /* template */
282
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"taginput control",class:_vm.rootClasses},[_c('div',{staticClass:"taginput-container",class:[_vm.statusType, _vm.size, _vm.containerClasses],attrs:{"disabled":_vm.disabled},on:{"click":function($event){_vm.hasInput && _vm.focus($event);}}},[_vm._t("selected",_vm._l((_vm.tags),function(tag,index){return _c('b-tag',{key:_vm.getNormalizedTagText(tag) + index,attrs:{"type":_vm.type,"close-type":_vm.closeType,"size":_vm.size,"rounded":_vm.rounded,"attached":_vm.attached,"tabstop":false,"disabled":_vm.disabled,"ellipsis":_vm.ellipsis,"closable":_vm.closable,"aria-close-label":_vm.ariaCloseLabel,"title":_vm.ellipsis && _vm.getNormalizedTagText(tag)},on:{"close":function($event){return _vm.removeTag(index, $event)}}},[_vm._t("tag",[_vm._v(" "+_vm._s(_vm.getNormalizedTagText(tag))+" ")],{"tag":tag})],2)}),{"tags":_vm.tags}),(_vm.hasInput)?_c('b-autocomplete',_vm._b({ref:"autocomplete",attrs:{"data":_vm.data,"field":_vm.field,"icon":_vm.icon,"icon-pack":_vm.iconPack,"maxlength":_vm.maxlength,"has-counter":false,"size":_vm.size,"disabled":_vm.disabled,"loading":_vm.loading,"autocomplete":_vm.nativeAutocomplete,"open-on-focus":_vm.openOnFocus,"keep-open":_vm.openOnFocus,"keep-first":_vm.keepFirst,"group-field":_vm.groupField,"group-options":_vm.groupOptions,"use-html5-validation":_vm.useHtml5Validation,"check-infinite-scroll":_vm.checkInfiniteScroll,"append-to-body":_vm.appendToBody,"confirm-keys":_vm.confirmKeys},on:{"typing":_vm.onTyping,"focus":_vm.onFocus,"blur":_vm.customOnBlur,"select":_vm.onSelect,"infinite-scroll":_vm.emitInfiniteScroll},nativeOn:{"keydown":function($event){return _vm.keydown($event)},"compositionstart":function($event){_vm.isComposing = true;},"compositionend":function($event){_vm.isComposing = false;}},scopedSlots:_vm._u([(_vm.hasHeaderSlot)?{key:"header",fn:function(){return [_vm._t("header")]},proxy:true}:null,(_vm.hasDefaultSlot)?{key:"default",fn:function(props){return [_vm._t("default",null,{"option":props.option,"index":props.index})]}}:null,(_vm.hasEmptySlot)?{key:"empty",fn:function(){return [_vm._t("empty")]},proxy:true}:null,(_vm.hasFooterSlot)?{key:"footer",fn:function(){return [_vm._t("footer")]},proxy:true}:null],null,true),model:{value:(_vm.newTag),callback:function ($$v) {_vm.newTag=$$v;},expression:"newTag"}},'b-autocomplete',_vm.$attrs,false)):_vm._e()],2),(_vm.hasCounter && (_vm.maxtags || _vm.maxlength))?_c('small',{staticClass:"help counter"},[(_vm.maxlength && _vm.valueLength > 0)?[_vm._v(" "+_vm._s(_vm.valueLength)+" / "+_vm._s(_vm.maxlength)+" ")]:(_vm.maxtags)?[_vm._v(" "+_vm._s(_vm.tagsLength)+" / "+_vm._s(_vm.maxtags)+" ")]:_vm._e()],2):_vm._e()])};
294
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"taginput control",class:_vm.rootClasses},[_c('div',{staticClass:"taginput-container",class:[_vm.statusType, _vm.size, _vm.containerClasses],attrs:{"disabled":_vm.disabled},on:{"click":function($event){_vm.hasInput && _vm.focus($event);}}},[_vm._t("selected",_vm._l((_vm.tags),function(tag,index){return _c('b-tag',{key:_vm.getNormalizedTagText(tag) + index,attrs:{"type":_vm.type,"close-type":_vm.closeType,"size":_vm.size,"rounded":_vm.rounded,"attached":_vm.attached,"tabstop":false,"disabled":_vm.disabled,"ellipsis":_vm.ellipsis,"closable":_vm.closable,"aria-close-label":_vm.ariaCloseLabel,"title":_vm.ellipsis && _vm.getNormalizedTagText(tag)},on:{"close":function($event){return _vm.removeTag(index, $event)}}},[_vm._t("tag",[_vm._v(" "+_vm._s(_vm.getNormalizedTagText(tag))+" ")],{"tag":tag})],2)}),{"tags":_vm.tags}),(_vm.hasInput)?_c('b-autocomplete',_vm._g(_vm._b({ref:"autocomplete",attrs:{"data":_vm.data,"field":_vm.field,"icon":_vm.icon,"icon-pack":_vm.iconPack,"maxlength":_vm.maxlength,"has-counter":false,"size":_vm.size,"disabled":_vm.disabled,"loading":_vm.loading,"autocomplete":_vm.nativeAutocomplete,"open-on-focus":_vm.openOnFocus,"keep-open":_vm.openOnFocus,"keep-first":_vm.keepFirst,"group-field":_vm.groupField,"group-options":_vm.groupOptions,"use-html5-validation":_vm.useHtml5Validation,"check-infinite-scroll":_vm.checkInfiniteScroll,"append-to-body":_vm.appendToBody,"confirm-keys":_vm.confirmKeys},on:{"typing":_vm.onTyping,"focus":_vm.onFocus,"blur":_vm.customOnBlur,"select":_vm.onSelect,"infinite-scroll":_vm.emitInfiniteScroll},nativeOn:{"keydown":function($event){return _vm.keydown($event)},"compositionstart":function($event){_vm.isComposing = true;},"compositionend":function($event){_vm.isComposing = false;}},scopedSlots:_vm._u([(_vm.hasHeaderSlot)?{key:"header",fn:function(){return [_vm._t("header")]},proxy:true}:null,(_vm.hasDefaultSlot)?{key:"default",fn:function(props){return [_vm._t("default",null,{"option":props.option,"index":props.index})]}}:null,(_vm.hasEmptySlot)?{key:"empty",fn:function(){return [_vm._t("empty")]},proxy:true}:null,(_vm.hasFooterSlot)?{key:"footer",fn:function(){return [_vm._t("footer")]},proxy:true}:null],null,true),model:{value:(_vm.newTag),callback:function ($$v) {_vm.newTag=$$v;},expression:"newTag"}},'b-autocomplete',_vm.$attrs,false),_vm.listeners)):_vm._e()],2),(_vm.hasCounter && (_vm.maxtags || _vm.maxlength))?_c('small',{staticClass:"help counter"},[(_vm.maxlength && _vm.valueLength > 0)?[_vm._v(" "+_vm._s(_vm.valueLength)+" / "+_vm._s(_vm.maxlength)+" ")]:(_vm.maxtags)?[_vm._v(" "+_vm._s(_vm.tagsLength)+" / "+_vm._s(_vm.maxtags)+" ")]:_vm._e()],2):_vm._e()])};
283
295
  var __vue_staticRenderFns__ = [];
284
296
 
285
297
  /* style */
@@ -1,18 +1,18 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import './chunk-652f2dad.js';
4
- import './chunk-516e4877.js';
5
- import './chunk-7fd02ffe.js';
3
+ import './chunk-8ed29c41.js';
4
+ import './chunk-75a5af93.js';
5
+ import './chunk-d92f0cd9.js';
6
6
  import { r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import './chunk-f160efb9.js';
8
- import './chunk-1297c2c9.js';
9
- import './chunk-0e22ae0a.js';
7
+ import './chunk-ae8ab23a.js';
8
+ import './chunk-29ca0df8.js';
9
+ import './chunk-ece062a7.js';
10
10
  import './chunk-42f463e6.js';
11
- import './chunk-2c957994.js';
12
- import './chunk-c3b09672.js';
13
- import './chunk-37678809.js';
14
- import { T as Timepicker } from './chunk-fa404a2c.js';
15
- export { T as BTimepicker } from './chunk-fa404a2c.js';
11
+ import './chunk-4b67a181.js';
12
+ import './chunk-b07e3182.js';
13
+ import './chunk-83eb0d37.js';
14
+ import { T as Timepicker } from './chunk-21fc0948.js';
15
+ export { T as BTimepicker } from './chunk-21fc0948.js';
16
16
 
17
17
  var Plugin = {
18
18
  install: function install(Vue) {