buefy 0.9.13 → 0.9.14

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 (230) hide show
  1. package/dist/buefy.css +1 -1
  2. package/dist/buefy.esm.js +167 -117
  3. package/dist/buefy.esm.min.js +2 -2
  4. package/dist/buefy.js +168 -116
  5. package/dist/buefy.min.css +1 -1
  6. package/dist/buefy.min.js +2 -2
  7. package/dist/cjs/autocomplete.js +5 -5
  8. package/dist/cjs/breadcrumb.js +1 -1
  9. package/dist/cjs/button.js +3 -3
  10. package/dist/cjs/carousel.js +4 -4
  11. package/dist/cjs/{chunk-c6fbc7b4.js → chunk-02406b6a.js} +2 -2
  12. package/dist/cjs/{chunk-d0f8ea39.js → chunk-0cc2e136.js} +6 -6
  13. package/dist/cjs/{chunk-114191ae.js → chunk-0d901f36.js} +2 -2
  14. package/dist/cjs/{chunk-9e4cf4c5.js → chunk-1061ac68.js} +1 -1
  15. package/dist/cjs/{chunk-2c7de785.js → chunk-1d2f05e0.js} +0 -0
  16. package/dist/cjs/{chunk-30670fac.js → chunk-2a2403f9.js} +78 -62
  17. package/dist/cjs/{chunk-d54e40f6.js → chunk-2cdb1a89.js} +2 -9
  18. package/dist/cjs/{chunk-34949503.js → chunk-4a3a5cf7.js} +1 -1
  19. package/dist/cjs/{chunk-fe2f57ee.js → chunk-4ebee779.js} +2 -2
  20. package/dist/cjs/{chunk-2062216d.js → chunk-5a7e385c.js} +1 -1
  21. package/dist/cjs/{chunk-f5106717.js → chunk-74fb31db.js} +3 -3
  22. package/dist/cjs/{chunk-7da0c017.js → chunk-a267720d.js} +21 -21
  23. package/dist/cjs/{chunk-a11294f9.js → chunk-a268cb3d.js} +2 -2
  24. package/dist/cjs/{chunk-c7b2aa4b.js → chunk-bb7da16a.js} +1 -1
  25. package/dist/cjs/{chunk-2ae50815.js → chunk-bebdaf0b.js} +3 -3
  26. package/dist/cjs/{chunk-9103eeda.js → chunk-c0adb618.js} +1 -1
  27. package/dist/cjs/{chunk-d120e215.js → chunk-d7d30e52.js} +1 -1
  28. package/dist/cjs/{chunk-fefd7b77.js → chunk-ddd15f05.js} +0 -0
  29. package/dist/cjs/{chunk-2911aa4b.js → chunk-e8dc6270.js} +14 -11
  30. package/dist/cjs/{chunk-3cc5d9a6.js → chunk-eb8d954b.js} +0 -0
  31. package/dist/cjs/{chunk-6cb902f8.js → chunk-f536c03f.js} +1 -1
  32. package/dist/cjs/{chunk-61023b09.js → chunk-fbf3566e.js} +2 -2
  33. package/dist/cjs/clockpicker.js +8 -8
  34. package/dist/cjs/config.js +1 -1
  35. package/dist/cjs/datepicker.js +9 -9
  36. package/dist/cjs/datetimepicker.js +11 -11
  37. package/dist/cjs/dialog.js +4 -4
  38. package/dist/cjs/dropdown.js +3 -3
  39. package/dist/cjs/field.js +2 -2
  40. package/dist/cjs/helpers.js +20 -0
  41. package/dist/cjs/icon.js +2 -2
  42. package/dist/cjs/image.js +2 -2
  43. package/dist/cjs/index.js +24 -22
  44. package/dist/cjs/input.js +4 -4
  45. package/dist/cjs/loading.js +2 -2
  46. package/dist/cjs/menu.js +2 -2
  47. package/dist/cjs/message.js +3 -3
  48. package/dist/cjs/modal.js +2 -2
  49. package/dist/cjs/navbar.js +3 -0
  50. package/dist/cjs/notification.js +4 -4
  51. package/dist/cjs/numberinput.js +4 -4
  52. package/dist/cjs/pagination.js +3 -3
  53. package/dist/cjs/progress.js +2 -2
  54. package/dist/cjs/rate.js +2 -2
  55. package/dist/cjs/select.js +4 -4
  56. package/dist/cjs/sidebar.js +1 -1
  57. package/dist/cjs/slider.js +2 -2
  58. package/dist/cjs/snackbar.js +4 -3
  59. package/dist/cjs/steps.js +5 -5
  60. package/dist/cjs/switch.js +1 -1
  61. package/dist/cjs/table.js +24 -22
  62. package/dist/cjs/tabs.js +7 -7
  63. package/dist/cjs/taginput.js +5 -5
  64. package/dist/cjs/timepicker.js +10 -10
  65. package/dist/cjs/toast.js +2 -2
  66. package/dist/cjs/tooltip.js +2 -2
  67. package/dist/cjs/upload.js +21 -7
  68. package/dist/components/autocomplete/index.js +78 -62
  69. package/dist/components/autocomplete/index.min.js +2 -2
  70. package/dist/components/breadcrumb/index.js +2 -2
  71. package/dist/components/breadcrumb/index.min.js +1 -1
  72. package/dist/components/button/index.js +2 -2
  73. package/dist/components/button/index.min.js +2 -2
  74. package/dist/components/carousel/index.js +2 -2
  75. package/dist/components/carousel/index.min.js +2 -2
  76. package/dist/components/checkbox/index.js +1 -1
  77. package/dist/components/checkbox/index.min.js +1 -1
  78. package/dist/components/clockpicker/index.js +22 -22
  79. package/dist/components/clockpicker/index.min.js +2 -2
  80. package/dist/components/collapse/index.js +1 -1
  81. package/dist/components/collapse/index.min.js +1 -1
  82. package/dist/components/datepicker/index.js +29 -26
  83. package/dist/components/datepicker/index.min.js +2 -2
  84. package/dist/components/datetimepicker/index.js +29 -26
  85. package/dist/components/datetimepicker/index.min.js +2 -2
  86. package/dist/components/dialog/index.js +2 -2
  87. package/dist/components/dialog/index.min.js +2 -2
  88. package/dist/components/dropdown/index.js +2 -2
  89. package/dist/components/dropdown/index.min.js +1 -1
  90. package/dist/components/field/index.js +22 -22
  91. package/dist/components/field/index.min.js +1 -1
  92. package/dist/components/icon/index.js +2 -2
  93. package/dist/components/icon/index.min.js +2 -2
  94. package/dist/components/image/index.js +2 -2
  95. package/dist/components/image/index.min.js +2 -2
  96. package/dist/components/input/index.js +2 -2
  97. package/dist/components/input/index.min.js +2 -2
  98. package/dist/components/loading/index.js +1 -1
  99. package/dist/components/loading/index.min.js +1 -1
  100. package/dist/components/menu/index.js +2 -2
  101. package/dist/components/menu/index.min.js +2 -2
  102. package/dist/components/message/index.js +2 -2
  103. package/dist/components/message/index.min.js +2 -2
  104. package/dist/components/modal/index.js +2 -2
  105. package/dist/components/modal/index.min.js +2 -2
  106. package/dist/components/navbar/index.js +4 -1
  107. package/dist/components/navbar/index.min.js +2 -2
  108. package/dist/components/notification/index.js +3 -10
  109. package/dist/components/notification/index.min.js +2 -2
  110. package/dist/components/numberinput/index.js +2 -2
  111. package/dist/components/numberinput/index.min.js +2 -2
  112. package/dist/components/pagination/index.js +2 -2
  113. package/dist/components/pagination/index.min.js +2 -2
  114. package/dist/components/progress/index.js +2 -2
  115. package/dist/components/progress/index.min.js +2 -2
  116. package/dist/components/radio/index.js +1 -1
  117. package/dist/components/radio/index.min.js +1 -1
  118. package/dist/components/rate/index.js +2 -2
  119. package/dist/components/rate/index.min.js +2 -2
  120. package/dist/components/select/index.js +2 -2
  121. package/dist/components/select/index.min.js +2 -2
  122. package/dist/components/sidebar/index.js +2 -2
  123. package/dist/components/sidebar/index.min.js +1 -1
  124. package/dist/components/skeleton/index.js +1 -1
  125. package/dist/components/skeleton/index.min.js +1 -1
  126. package/dist/components/slider/index.js +2 -2
  127. package/dist/components/slider/index.min.js +2 -2
  128. package/dist/components/snackbar/index.js +5 -11
  129. package/dist/components/snackbar/index.min.js +2 -2
  130. package/dist/components/steps/index.js +2 -2
  131. package/dist/components/steps/index.min.js +2 -2
  132. package/dist/components/switch/index.js +2 -2
  133. package/dist/components/switch/index.min.js +1 -1
  134. package/dist/components/table/index.js +36 -16
  135. package/dist/components/table/index.min.js +2 -2
  136. package/dist/components/tabs/index.js +4 -4
  137. package/dist/components/tabs/index.min.js +2 -2
  138. package/dist/components/tag/index.js +1 -1
  139. package/dist/components/tag/index.min.js +1 -1
  140. package/dist/components/taginput/index.js +78 -62
  141. package/dist/components/taginput/index.min.js +2 -2
  142. package/dist/components/timepicker/index.js +22 -22
  143. package/dist/components/timepicker/index.min.js +2 -2
  144. package/dist/components/toast/index.js +3 -10
  145. package/dist/components/toast/index.min.js +2 -2
  146. package/dist/components/tooltip/index.js +2 -2
  147. package/dist/components/tooltip/index.min.js +1 -1
  148. package/dist/components/upload/index.js +21 -7
  149. package/dist/components/upload/index.min.js +2 -2
  150. package/dist/esm/autocomplete.js +6 -6
  151. package/dist/esm/breadcrumb.js +1 -1
  152. package/dist/esm/button.js +4 -4
  153. package/dist/esm/carousel.js +4 -4
  154. package/dist/esm/{chunk-21fc0948.js → chunk-03f0ac1a.js} +6 -6
  155. package/dist/esm/{chunk-b0c0c6b0.js → chunk-0c4e4e90.js} +0 -0
  156. package/dist/esm/{chunk-ae8ab23a.js → chunk-113685dc.js} +3 -3
  157. package/dist/esm/{chunk-71a547bc.js → chunk-1b63211c.js} +1 -1
  158. package/dist/esm/{chunk-d7f92d97.js → chunk-1f41edb4.js} +1 -1
  159. package/dist/esm/{chunk-3773c62d.js → chunk-2229e354.js} +1 -1
  160. package/dist/esm/{chunk-83eb0d37.js → chunk-40f06d9c.js} +2 -2
  161. package/dist/esm/{chunk-75a5af93.js → chunk-590a6902.js} +1 -1
  162. package/dist/esm/{chunk-22e9f916.js → chunk-5f0c3fc4.js} +14 -11
  163. package/dist/esm/{chunk-6019fd7a.js → chunk-79ac4d01.js} +79 -63
  164. package/dist/esm/{chunk-8ed29c41.js → chunk-8cad1844.js} +1 -1
  165. package/dist/esm/{chunk-29ca0df8.js → chunk-91404fa9.js} +0 -0
  166. package/dist/esm/{chunk-b07e3182.js → chunk-97f201e0.js} +21 -21
  167. package/dist/esm/{chunk-c9c58d0c.js → chunk-9e0ae963.js} +0 -0
  168. package/dist/esm/{chunk-ece062a7.js → chunk-a8516afd.js} +2 -2
  169. package/dist/esm/{chunk-4b67a181.js → chunk-b66a83ce.js} +2 -2
  170. package/dist/esm/{chunk-9f7f7441.js → chunk-b99e83bd.js} +1 -1
  171. package/dist/esm/{chunk-18e8b067.js → chunk-bbf5d78a.js} +2 -2
  172. package/dist/esm/{chunk-8d0f95b8.js → chunk-e01e9ef0.js} +3 -3
  173. package/dist/esm/{chunk-799e084d.js → chunk-e7eb83d8.js} +2 -9
  174. package/dist/esm/{chunk-d92f0cd9.js → chunk-ea9bc877.js} +1 -1
  175. package/dist/esm/{chunk-e7c9b2cb.js → chunk-efec59b6.js} +2 -2
  176. package/dist/esm/clockpicker.js +8 -8
  177. package/dist/esm/config.js +1 -1
  178. package/dist/esm/datepicker.js +10 -10
  179. package/dist/esm/datetimepicker.js +11 -11
  180. package/dist/esm/dialog.js +4 -4
  181. package/dist/esm/dropdown.js +4 -4
  182. package/dist/esm/field.js +3 -3
  183. package/dist/esm/helpers.js +19 -1
  184. package/dist/esm/icon.js +3 -3
  185. package/dist/esm/image.js +3 -3
  186. package/dist/esm/index.js +23 -23
  187. package/dist/esm/input.js +5 -5
  188. package/dist/esm/loading.js +3 -3
  189. package/dist/esm/menu.js +2 -2
  190. package/dist/esm/message.js +3 -3
  191. package/dist/esm/modal.js +3 -3
  192. package/dist/esm/navbar.js +3 -0
  193. package/dist/esm/notification.js +4 -4
  194. package/dist/esm/numberinput.js +4 -4
  195. package/dist/esm/pagination.js +4 -4
  196. package/dist/esm/progress.js +2 -2
  197. package/dist/esm/rate.js +2 -2
  198. package/dist/esm/select.js +5 -5
  199. package/dist/esm/sidebar.js +1 -1
  200. package/dist/esm/slider.js +2 -2
  201. package/dist/esm/snackbar.js +4 -3
  202. package/dist/esm/steps.js +5 -5
  203. package/dist/esm/switch.js +1 -1
  204. package/dist/esm/table.js +25 -23
  205. package/dist/esm/tabs.js +7 -7
  206. package/dist/esm/taginput.js +5 -5
  207. package/dist/esm/timepicker.js +11 -11
  208. package/dist/esm/toast.js +2 -2
  209. package/dist/esm/tooltip.js +3 -3
  210. package/dist/esm/upload.js +21 -7
  211. package/dist/vetur/attributes.json +4 -0
  212. package/dist/vetur/tags.json +1 -0
  213. package/package.json +1 -1
  214. package/src/components/autocomplete/Autocomplete.vue +711 -701
  215. package/src/components/breadcrumb/__snapshots__/BreadcrumbItem.spec.js.snap +1 -5
  216. package/src/components/carousel/__snapshots__/CarouselList.spec.js.snap +48 -48
  217. package/src/components/datepicker/DatepickerTableRow.spec.js +26 -0
  218. package/src/components/datepicker/DatepickerTableRow.vue +4 -5
  219. package/src/components/field/Field.vue +271 -271
  220. package/src/components/navbar/NavbarDropdown.vue +4 -0
  221. package/src/components/snackbar/index.js +2 -1
  222. package/src/components/table/Table.spec.js +17 -3
  223. package/src/components/table/Table.vue +8 -9
  224. package/src/components/tabs/Tabs.vue +185 -183
  225. package/src/components/timepicker/__snapshots__/Timepicker.spec.js.snap +18 -47
  226. package/src/components/upload/Upload.vue +19 -7
  227. package/src/utils/NoticeMixin.js +1 -5
  228. package/src/utils/config.js +1 -1
  229. package/src/utils/helpers.js +16 -0
  230. package/types/components.d.ts +5 -0
@@ -1,5 +1,5 @@
1
1
  import { isVueComponent } from './helpers.js';
2
- import { c as config } from './chunk-8ed29c41.js';
2
+ import { c as config } from './chunk-8cad1844.js';
3
3
 
4
4
  var FormElementMixin = {
5
5
  props: {
@@ -1,13 +1,13 @@
1
1
  import { _ as _defineProperty, d as _toConsumableArray } from './chunk-2452e3d3.js';
2
2
  import { isDefined, getMonthNames, getWeekdayNames, isMobile, matchWithGroups } from './helpers.js';
3
- import { c as config } from './chunk-8ed29c41.js';
4
- import { F as FormElementMixin } from './chunk-75a5af93.js';
5
- import { I as Icon } from './chunk-d92f0cd9.js';
3
+ import { c as config } from './chunk-8cad1844.js';
4
+ import { F as FormElementMixin } from './chunk-590a6902.js';
5
+ import { I as Icon } from './chunk-ea9bc877.js';
6
6
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
7
- import { I as Input } from './chunk-ae8ab23a.js';
8
- import { D as Dropdown, a as DropdownItem } from './chunk-4b67a181.js';
9
- import { F as Field } from './chunk-b07e3182.js';
10
- import { S as Select } from './chunk-83eb0d37.js';
7
+ import { I as Input } from './chunk-113685dc.js';
8
+ import { D as Dropdown, a as DropdownItem } from './chunk-b66a83ce.js';
9
+ import { F as Field } from './chunk-97f201e0.js';
10
+ import { S as Select } from './chunk-40f06d9c.js';
11
11
 
12
12
  //
13
13
  //
@@ -159,11 +159,14 @@ var script = {
159
159
  resWeek = week;
160
160
  }
161
161
 
162
- return resWeek;
162
+ return {
163
+ week: resWeek,
164
+ year: resYear
165
+ };
163
166
  },
164
- clickWeekNumber: function clickWeekNumber(week) {
167
+ clickWeekNumber: function clickWeekNumber(weekData) {
165
168
  if (this.weekNumberClickable) {
166
- this.$datepicker.$emit('week-number-click', week);
169
+ this.$datepicker.$emit('week-number-click', weekData.week, weekData.year);
167
170
  }
168
171
  },
169
172
 
@@ -376,7 +379,7 @@ var script = {
376
379
  const __vue_script__ = script;
377
380
 
378
381
  /* template */
379
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"datepicker-row"},[(_vm.showWeekNumber)?_c('a',{staticClass:"datepicker-cell is-week-number",class:{'is-clickable': _vm.weekNumberClickable },on:{"click":function($event){$event.preventDefault();_vm.clickWeekNumber(_vm.getWeekNumber(_vm.week[6]));}}},[_c('span',[_vm._v(_vm._s(_vm.getWeekNumber(_vm.week[6])))])]):_vm._e(),_vm._l((_vm.week),function(weekDay,index){return [(_vm.selectableDate(weekDay) && !_vm.disabled)?_c('a',{key:index,ref:("day-" + (weekDay.getMonth()) + "-" + (weekDay.getDate())),refInFor:true,staticClass:"datepicker-cell",class:_vm.classObject(weekDay),attrs:{"role":"button","href":"#","disabled":_vm.disabled,"tabindex":_vm.day === weekDay.getDate() && _vm.month === weekDay.getMonth() ? null : -1},on:{"click":function($event){$event.preventDefault();return _vm.emitChosenDate(weekDay)},"mouseenter":function($event){return _vm.setRangeHoverEndDate(weekDay)},"keydown":function($event){return _vm.manageKeydown($event, weekDay)}}},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()]):_c('div',{key:index,staticClass:"datepicker-cell",class:_vm.classObject(weekDay)},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()])]})],2)};
382
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"datepicker-row"},[(_vm.showWeekNumber)?_c('a',{staticClass:"datepicker-cell is-week-number",class:{'is-clickable': _vm.weekNumberClickable },on:{"click":function($event){$event.preventDefault();_vm.clickWeekNumber(_vm.getWeekNumber(_vm.week[6]));}}},[_c('span',[_vm._v(_vm._s(_vm.getWeekNumber(_vm.week[6]).week))])]):_vm._e(),_vm._l((_vm.week),function(weekDay,index){return [(_vm.selectableDate(weekDay) && !_vm.disabled)?_c('a',{key:index,ref:("day-" + (weekDay.getMonth()) + "-" + (weekDay.getDate())),refInFor:true,staticClass:"datepicker-cell",class:_vm.classObject(weekDay),attrs:{"role":"button","href":"#","disabled":_vm.disabled,"tabindex":_vm.day === weekDay.getDate() && _vm.month === weekDay.getMonth() ? null : -1},on:{"click":function($event){$event.preventDefault();return _vm.emitChosenDate(weekDay)},"mouseenter":function($event){return _vm.setRangeHoverEndDate(weekDay)},"keydown":function($event){return _vm.manageKeydown($event, weekDay)}}},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()]):_c('div',{key:index,staticClass:"datepicker-cell",class:_vm.classObject(weekDay)},[_c('span',[_vm._v(_vm._s(weekDay.getDate()))]),(_vm.eventsDateMatch(weekDay))?_c('div',{staticClass:"events"},_vm._l((_vm.eventsDateMatch(weekDay)),function(event,index){return _c('div',{key:index,staticClass:"event",class:event.type})}),0):_vm._e()])]})],2)};
380
383
  var __vue_staticRenderFns__ = [];
381
384
 
382
385
  /* style */
@@ -1,8 +1,8 @@
1
- import { _ as _defineProperty, b as _typeof, d as _toConsumableArray } from './chunk-2452e3d3.js';
1
+ import { _ as _defineProperty, d as _toConsumableArray, b as _typeof } from './chunk-2452e3d3.js';
2
2
  import { getValueByPath, toCssWidth, isCustomElement, createAbsoluteElement, removeElement } from './helpers.js';
3
- import { F as FormElementMixin } from './chunk-75a5af93.js';
3
+ import { F as FormElementMixin } from './chunk-590a6902.js';
4
4
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
5
- import { I as Input } from './chunk-ae8ab23a.js';
5
+ import { I as Input } from './chunk-113685dc.js';
6
6
 
7
7
  var script = {
8
8
  name: 'BAutocomplete',
@@ -116,9 +116,9 @@ var script = {
116
116
  });
117
117
  },
118
118
 
119
- /**
120
- * White-listed items to not close when clicked.
121
- * Add input, dropdown and all children.
119
+ /**
120
+ * White-listed items to not close when clicked.
121
+ * Add input, dropdown and all children.
122
122
  */
123
123
  whiteList: function whiteList() {
124
124
  var whiteList = [];
@@ -185,43 +185,43 @@ var script = {
185
185
  return whiteList;
186
186
  },
187
187
 
188
- /**
189
- * Check if exists default slot
188
+ /**
189
+ * Check if exists default slot
190
190
  */
191
191
  hasDefaultSlot: function hasDefaultSlot() {
192
192
  return !!this.$scopedSlots.default;
193
193
  },
194
194
 
195
- /**
196
- * Check if exists group slot
195
+ /**
196
+ * Check if exists group slot
197
197
  */
198
198
  hasGroupSlot: function hasGroupSlot() {
199
199
  return !!this.$scopedSlots.group;
200
200
  },
201
201
 
202
- /**
203
- * Check if exists "empty" slot
202
+ /**
203
+ * Check if exists "empty" slot
204
204
  */
205
205
  hasEmptySlot: function hasEmptySlot() {
206
206
  return !!this.$slots.empty;
207
207
  },
208
208
 
209
- /**
210
- * Check if exists "header" slot
209
+ /**
210
+ * Check if exists "header" slot
211
211
  */
212
212
  hasHeaderSlot: function hasHeaderSlot() {
213
213
  return !!this.$slots.header;
214
214
  },
215
215
 
216
- /**
217
- * Check if exists "footer" slot
216
+ /**
217
+ * Check if exists "footer" slot
218
218
  */
219
219
  hasFooterSlot: function hasFooterSlot() {
220
220
  return !!this.$slots.footer;
221
221
  },
222
222
 
223
- /**
224
- * Apply dropdownPosition property
223
+ /**
224
+ * Apply dropdownPosition property
225
225
  */
226
226
  isOpenedTop: function isOpenedTop() {
227
227
  return this.dropdownPosition === 'top' || this.dropdownPosition === 'auto' && !this.isListInViewportVertically;
@@ -247,9 +247,9 @@ var script = {
247
247
  }
248
248
  },
249
249
  watch: {
250
- /**
251
- * When dropdown is toggled, check the visibility to know when
252
- * to open upwards.
250
+ /**
251
+ * When dropdown is toggled, check the visibility to know when
252
+ * to open upwards.
253
253
  */
254
254
  isActive: function isActive(active) {
255
255
  var _this2 = this;
@@ -266,11 +266,11 @@ var script = {
266
266
  }
267
267
  },
268
268
 
269
- /**
270
- * When updating input's value
271
- * 1. Emit changes
272
- * 2. If value isn't the same as selected, set null
273
- * 3. Close dropdown if value is clear or else open it
269
+ /**
270
+ * When updating input's value
271
+ * 1. Emit changes
272
+ * 2. If value isn't the same as selected, set null
273
+ * 3. Close dropdown if value is clear or else open it
274
274
  */
275
275
  newValue: function newValue(value) {
276
276
  this.$emit('input', value); // Check if selected is invalid
@@ -287,17 +287,17 @@ var script = {
287
287
  }
288
288
  },
289
289
 
290
- /**
291
- * When v-model is changed:
292
- * 1. Update internal value.
293
- * 2. If it's invalid, validate again.
290
+ /**
291
+ * When v-model is changed:
292
+ * 1. Update internal value.
293
+ * 2. If it's invalid, validate again.
294
294
  */
295
295
  value: function value(_value) {
296
296
  this.newValue = _value;
297
297
  },
298
298
 
299
- /**
300
- * Select first option if "keep-first
299
+ /**
300
+ * Select first option if "keep-first
301
301
  */
302
302
  data: function data() {
303
303
  var _this3 = this;
@@ -311,21 +311,37 @@ var script = {
311
311
  _this3.setHovered(null);
312
312
  }
313
313
  });
314
+ } else {
315
+ if (this.hovered) {
316
+ // reset hovered if list doesn't contain it
317
+ var hoveredValue = this.getValue(this.hovered);
318
+ var data = this.computedData.map(function (d) {
319
+ return d.items;
320
+ }).reduce(function (a, b) {
321
+ return [].concat(_toConsumableArray(a), _toConsumableArray(b));
322
+ }, []);
323
+
324
+ if (!data.some(function (d) {
325
+ return _this3.getValue(d) === hoveredValue;
326
+ })) {
327
+ this.setHovered(null);
328
+ }
329
+ }
314
330
  }
315
331
  }
316
332
  },
317
333
  methods: {
318
- /**
319
- * Set which option is currently hovered.
334
+ /**
335
+ * Set which option is currently hovered.
320
336
  */
321
337
  setHovered: function setHovered(option) {
322
338
  if (option === undefined) return;
323
339
  this.hovered = option;
324
340
  },
325
341
 
326
- /**
327
- * Set which option is currently selected, update v-model,
328
- * update input value and close dropdown.
342
+ /**
343
+ * Set which option is currently selected, update v-model,
344
+ * update input value and close dropdown.
329
345
  */
330
346
  setSelected: function setSelected(option) {
331
347
  var _this4 = this;
@@ -354,8 +370,8 @@ var script = {
354
370
  this.checkValidity();
355
371
  },
356
372
 
357
- /**
358
- * Select first option
373
+ /**
374
+ * Select first option
359
375
  */
360
376
  selectFirstOption: function selectFirstOption(computedData) {
361
377
  var _this5 = this;
@@ -406,8 +422,8 @@ var script = {
406
422
  });
407
423
  },
408
424
 
409
- /**
410
- * Check if header or footer was selected.
425
+ /**
426
+ * Check if header or footer was selected.
411
427
  */
412
428
  checkIfHeaderOrFooterSelected: function checkIfHeaderOrFooterSelected(event, triggerClick) {
413
429
  var closeDropdown = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
@@ -427,8 +443,8 @@ var script = {
427
443
  }
428
444
  },
429
445
 
430
- /**
431
- * Close dropdown if clicked outside.
446
+ /**
447
+ * Close dropdown if clicked outside.
432
448
  */
433
449
  clickedOutside: function clickedOutside(event) {
434
450
  var target = isCustomElement(this) ? event.composedPath()[0] : event.target;
@@ -442,9 +458,9 @@ var script = {
442
458
  }
443
459
  },
444
460
 
445
- /**
446
- * Return display text for the input.
447
- * If object, get value from path, or else just the value.
461
+ /**
462
+ * Return display text for the input.
463
+ * If object, get value from path, or else just the value.
448
464
  */
449
465
  getValue: function getValue(option) {
450
466
  if (option === null) return;
@@ -456,9 +472,9 @@ var script = {
456
472
  return _typeof(option) === 'object' ? getValueByPath(option, this.field) : option;
457
473
  },
458
474
 
459
- /**
460
- * Check if the scroll list inside the dropdown
461
- * reached it's end.
475
+ /**
476
+ * Check if the scroll list inside the dropdown
477
+ * reached it's end.
462
478
  */
463
479
  checkIfReachedTheEndOfScroll: function checkIfReachedTheEndOfScroll(list) {
464
480
  if (list.clientHeight !== list.scrollHeight && list.scrollTop + list.clientHeight >= list.scrollHeight) {
@@ -466,17 +482,17 @@ var script = {
466
482
  }
467
483
  },
468
484
 
469
- /**
470
- * Calculate if the dropdown is vertically visible when activated,
471
- * otherwise it is openened upwards.
485
+ /**
486
+ * Calculate if the dropdown is vertically visible when activated,
487
+ * otherwise it is openened upwards.
472
488
  */
473
489
  calcDropdownInViewportVertical: function calcDropdownInViewportVertical() {
474
490
  var _this6 = this;
475
491
 
476
492
  this.$nextTick(function () {
477
- /**
478
- * this.$refs.dropdown may be undefined
479
- * when Autocomplete is conditional rendered
493
+ /**
494
+ * this.$refs.dropdown may be undefined
495
+ * when Autocomplete is conditional rendered
480
496
  */
481
497
  if (_this6.$refs.dropdown === undefined) return;
482
498
 
@@ -490,9 +506,9 @@ var script = {
490
506
  });
491
507
  },
492
508
 
493
- /**
494
- * Arrows keys listener.
495
- * If dropdown is active, set hovered option, or else just open.
509
+ /**
510
+ * Arrows keys listener.
511
+ * If dropdown is active, set hovered option, or else just open.
496
512
  */
497
513
  keyArrows: function keyArrows(direction) {
498
514
  var sum = direction === 'down' ? 1 : -1;
@@ -562,9 +578,9 @@ var script = {
562
578
  }
563
579
  },
564
580
 
565
- /**
566
- * Focus listener.
567
- * If value is the same as selected, select all text.
581
+ /**
582
+ * Focus listener.
583
+ * If value is the same as selected, select all text.
568
584
  */
569
585
  focused: function focused(event) {
570
586
  if (this.getValue(this.selected) === this.newValue) {
@@ -584,8 +600,8 @@ var script = {
584
600
  this.$emit('focus', event);
585
601
  },
586
602
 
587
- /**
588
- * Blur listener.
603
+ /**
604
+ * Blur listener.
589
605
  */
590
606
  onBlur: function onBlur(event) {
591
607
  this.hasFocus = false;
@@ -31,7 +31,7 @@ var config = {
31
31
  defaultModalScroll: null,
32
32
  defaultDatepickerMobileNative: true,
33
33
  defaultTimepickerMobileNative: true,
34
- defaultNoticeQueue: true,
34
+ defaultNoticeQueue: false,
35
35
  defaultInputHasCounter: true,
36
36
  defaultTaginputHasCounter: true,
37
37
  defaultUseHtml5Validation: true,
@@ -1,5 +1,5 @@
1
1
  import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
- import { c as config } from './chunk-8ed29c41.js';
2
+ import { c as config } from './chunk-8cad1844.js';
3
3
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
4
4
 
5
5
  var script = {
@@ -137,12 +137,12 @@ var script$1 = {
137
137
  return this.grouped || this.groupMultiline || this.hasAddons();
138
138
  },
139
139
 
140
- /**
141
- * Correct Bulma class for the side of the addon or group.
142
- *
143
- * This is not kept like the others (is-small, etc.),
144
- * because since 'has-addons' is set automatically it
145
- * doesn't make sense to teach users what addons are exactly.
140
+ /**
141
+ * Correct Bulma class for the side of the addon or group.
142
+ *
143
+ * This is not kept like the others (is-small, etc.),
144
+ * because since 'has-addons' is set automatically it
145
+ * doesn't make sense to teach users what addons are exactly.
146
146
  */
147
147
  newPosition: function newPosition() {
148
148
  if (this.position === undefined) return;
@@ -152,9 +152,9 @@ var script$1 = {
152
152
  if (this.position) return prefix + position[1];
153
153
  },
154
154
 
155
- /**
156
- * Formatted message in case it's an array
157
- * (each element is separated by <br> tag)
155
+ /**
156
+ * Formatted message in case it's an array
157
+ * (each element is separated by <br> tag)
158
158
  */
159
159
  formattedMessage: function formattedMessage() {
160
160
  if (this.parent && this.parent.hasInnerField) {
@@ -224,22 +224,22 @@ var script$1 = {
224
224
  }
225
225
  },
226
226
  watch: {
227
- /**
228
- * Set internal type when prop change.
227
+ /**
228
+ * Set internal type when prop change.
229
229
  */
230
230
  type: function type(value) {
231
231
  this.newType = value;
232
232
  },
233
233
 
234
- /**
235
- * Set internal message when prop change.
234
+ /**
235
+ * Set internal message when prop change.
236
236
  */
237
237
  message: function message(value) {
238
238
  this.newMessage = value;
239
239
  },
240
240
 
241
- /**
242
- * Set parent message if we use Field in Field.
241
+ /**
242
+ * Set parent message if we use Field in Field.
243
243
  */
244
244
  newMessage: function newMessage(value) {
245
245
  if (this.parent && this.parent.hasInnerField) {
@@ -254,11 +254,11 @@ var script$1 = {
254
254
  }
255
255
  },
256
256
  methods: {
257
- /**
258
- * Field has addons if there are more than one slot
259
- * (element / component) in the Field.
260
- * Or is grouped when prop is set.
261
- * Is a method to be called when component re-render.
257
+ /**
258
+ * Field has addons if there are more than one slot
259
+ * (element / component) in the Field.
260
+ * Or is grouped when prop is set.
261
+ * Is a method to be called when component re-render.
262
262
  */
263
263
  fieldType: function fieldType() {
264
264
  if (this.grouped) return 'is-grouped';
@@ -1,6 +1,6 @@
1
1
  import { isMobile, matchWithGroups } from './helpers.js';
2
- import { c as config } from './chunk-8ed29c41.js';
3
- import { F as FormElementMixin } from './chunk-75a5af93.js';
2
+ import { c as config } from './chunk-8cad1844.js';
3
+ import { F as FormElementMixin } from './chunk-590a6902.js';
4
4
 
5
5
  var AM = 'AM';
6
6
  var PM = 'PM';
@@ -1,8 +1,8 @@
1
1
  import { d as _toConsumableArray, b as _typeof } from './chunk-2452e3d3.js';
2
2
  import { toCssWidth, isCustomElement, createAbsoluteElement, removeElement } from './helpers.js';
3
- import { c as config } from './chunk-8ed29c41.js';
3
+ import { c as config } from './chunk-8cad1844.js';
4
4
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
5
- import { P as ProviderParentMixin, I as InjectedChildMixin } from './chunk-29ca0df8.js';
5
+ import { P as ProviderParentMixin, I as InjectedChildMixin } from './chunk-91404fa9.js';
6
6
  import { t as trapFocus } from './chunk-42f463e6.js';
7
7
 
8
8
  var DEFAULT_CLOSE_OPTIONS = ['escape', 'outside'];
@@ -1,5 +1,5 @@
1
1
  import { removeElement } from './helpers.js';
2
- import { c as config } from './chunk-8ed29c41.js';
2
+ import { c as config } from './chunk-8cad1844.js';
3
3
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
4
4
  import { t as trapFocus } from './chunk-42f463e6.js';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
- import { c as config } from './chunk-8ed29c41.js';
3
- import { I as Icon } from './chunk-d92f0cd9.js';
2
+ import { c as config } from './chunk-8cad1844.js';
3
+ import { I as Icon } from './chunk-ea9bc877.js';
4
4
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
5
5
 
6
6
  //
@@ -1,8 +1,8 @@
1
1
  import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import { bound } from './helpers.js';
3
- import { I as Icon } from './chunk-d92f0cd9.js';
4
- import { P as ProviderParentMixin, S as Sorted, I as InjectedChildMixin, a as Sorted$1 } from './chunk-29ca0df8.js';
5
- import { S as SlotComponent } from './chunk-b0c0c6b0.js';
3
+ import { I as Icon } from './chunk-ea9bc877.js';
4
+ import { P as ProviderParentMixin, S as Sorted, I as InjectedChildMixin, a as Sorted$1 } from './chunk-91404fa9.js';
5
+ import { S as SlotComponent } from './chunk-0c4e4e90.js';
6
6
 
7
7
  var TabbedMixin = (function (cmp) {
8
8
  var _components;
@@ -1,5 +1,5 @@
1
1
  import { removeElement } from './helpers.js';
2
- import { c as config } from './chunk-8ed29c41.js';
2
+ import { c as config } from './chunk-8cad1844.js';
3
3
 
4
4
  var NoticeMixin = {
5
5
  props: {
@@ -115,14 +115,7 @@ var NoticeMixin = {
115
115
  showNotice: function showNotice() {
116
116
  var _this2 = this;
117
117
 
118
- if (this.shouldQueue()) {
119
- // Call recursively if should queue
120
- setTimeout(function () {
121
- return _this2.showNotice();
122
- }, 250);
123
- return;
124
- }
125
-
118
+ if (this.shouldQueue()) this.correctParent.innerHTML = '';
126
119
  this.correctParent.insertAdjacentElement('afterbegin', this.$el);
127
120
  this.isActive = true;
128
121
 
@@ -1,6 +1,6 @@
1
1
  import { c as _toArray } from './chunk-2452e3d3.js';
2
2
  import { merge } from './helpers.js';
3
- import { c as config } from './chunk-8ed29c41.js';
3
+ import { c as config } from './chunk-8cad1844.js';
4
4
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
5
5
 
6
6
  var mdiIcons = {
@@ -1,6 +1,6 @@
1
1
  import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
- import { c as config } from './chunk-8ed29c41.js';
3
- import { I as Icon } from './chunk-d92f0cd9.js';
2
+ import { c as config } from './chunk-8cad1844.js';
3
+ import { I as Icon } from './chunk-ea9bc877.js';
4
4
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
5
5
 
6
6
  var script = {
@@ -1,15 +1,15 @@
1
1
  import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import { c as config } from './chunk-8ed29c41.js';
4
- import './chunk-75a5af93.js';
5
- import { I as Icon } from './chunk-d92f0cd9.js';
3
+ import { c as config } from './chunk-8cad1844.js';
4
+ import './chunk-590a6902.js';
5
+ import { I as Icon } from './chunk-ea9bc877.js';
6
6
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import { I as Input } from './chunk-ae8ab23a.js';
8
- import './chunk-29ca0df8.js';
9
- import { T as TimepickerMixin } from './chunk-ece062a7.js';
7
+ import { I as Input } from './chunk-113685dc.js';
8
+ import './chunk-91404fa9.js';
9
+ import { T as TimepickerMixin } from './chunk-a8516afd.js';
10
10
  import './chunk-42f463e6.js';
11
- import { D as Dropdown, a as DropdownItem } from './chunk-4b67a181.js';
12
- import { F as Field } from './chunk-b07e3182.js';
11
+ import { D as Dropdown, a as DropdownItem } from './chunk-b66a83ce.js';
12
+ import { F as Field } from './chunk-97f201e0.js';
13
13
 
14
14
  //
15
15
  //
@@ -1,6 +1,6 @@
1
1
  import './chunk-2452e3d3.js';
2
2
  import { merge } from './helpers.js';
3
- import { c as config, a as setOptions } from './chunk-8ed29c41.js';
3
+ import { c as config, a as setOptions } from './chunk-8cad1844.js';
4
4
 
5
5
  var ConfigComponent = {
6
6
  getOptions: function getOptions() {
@@ -1,17 +1,17 @@
1
1
  import './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import './chunk-8ed29c41.js';
4
- import './chunk-75a5af93.js';
5
- import './chunk-d92f0cd9.js';
3
+ import './chunk-8cad1844.js';
4
+ import './chunk-590a6902.js';
5
+ import './chunk-ea9bc877.js';
6
6
  import { r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import './chunk-ae8ab23a.js';
8
- import './chunk-29ca0df8.js';
7
+ import './chunk-113685dc.js';
8
+ import './chunk-91404fa9.js';
9
9
  import './chunk-42f463e6.js';
10
- import './chunk-4b67a181.js';
11
- import './chunk-b07e3182.js';
12
- import './chunk-83eb0d37.js';
13
- import { D as Datepicker } from './chunk-22e9f916.js';
14
- export { D as BDatepicker } from './chunk-22e9f916.js';
10
+ import './chunk-b66a83ce.js';
11
+ import './chunk-97f201e0.js';
12
+ import './chunk-40f06d9c.js';
13
+ import { D as Datepicker } from './chunk-5f0c3fc4.js';
14
+ export { D as BDatepicker } from './chunk-5f0c3fc4.js';
15
15
 
16
16
  var Plugin = {
17
17
  install: function install(Vue) {
@@ -1,18 +1,18 @@
1
1
  import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import { isMobile, matchWithGroups } from './helpers.js';
3
- import { c as config } from './chunk-8ed29c41.js';
4
- import { F as FormElementMixin } from './chunk-75a5af93.js';
5
- import './chunk-d92f0cd9.js';
3
+ import { c as config } from './chunk-8cad1844.js';
4
+ import { F as FormElementMixin } from './chunk-590a6902.js';
5
+ import './chunk-ea9bc877.js';
6
6
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import './chunk-ae8ab23a.js';
8
- import './chunk-29ca0df8.js';
9
- import './chunk-ece062a7.js';
7
+ import './chunk-113685dc.js';
8
+ import './chunk-91404fa9.js';
9
+ import './chunk-a8516afd.js';
10
10
  import './chunk-42f463e6.js';
11
- import './chunk-4b67a181.js';
12
- import './chunk-b07e3182.js';
13
- import './chunk-83eb0d37.js';
14
- import { D as Datepicker } from './chunk-22e9f916.js';
15
- import { T as Timepicker } from './chunk-21fc0948.js';
11
+ import './chunk-b66a83ce.js';
12
+ import './chunk-97f201e0.js';
13
+ import './chunk-40f06d9c.js';
14
+ import { D as Datepicker } from './chunk-5f0c3fc4.js';
15
+ import { T as Timepicker } from './chunk-03f0ac1a.js';
16
16
 
17
17
  var _components;
18
18
  var AM = 'AM';
@@ -1,11 +1,11 @@
1
1
  import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import { removeElement, merge } from './helpers.js';
3
- import { c as config, V as VueInstance } from './chunk-8ed29c41.js';
4
- import { I as Icon } from './chunk-d92f0cd9.js';
3
+ import { c as config, V as VueInstance } from './chunk-8cad1844.js';
4
+ import { I as Icon } from './chunk-ea9bc877.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';
6
- import { B as Button } from './chunk-e7c9b2cb.js';
6
+ import { B as Button } from './chunk-efec59b6.js';
7
7
  import { t as trapFocus } from './chunk-42f463e6.js';
8
- import { M as Modal } from './chunk-9f7f7441.js';
8
+ import { M as Modal } from './chunk-b99e83bd.js';
9
9
 
10
10
  var _components;
11
11
  var script = {