buefy 0.9.13 → 0.9.17

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 (265) hide show
  1. package/CHANGELOG.md +1706 -1639
  2. package/README.md +1 -1
  3. package/dist/buefy.css +313 -1
  4. package/dist/buefy.esm.js +4431 -2331
  5. package/dist/buefy.esm.min.js +2 -2
  6. package/dist/buefy.js +4467 -2364
  7. package/dist/buefy.min.css +1 -1
  8. package/dist/buefy.min.js +2 -2
  9. package/dist/cjs/autocomplete.js +5 -5
  10. package/dist/cjs/button.js +3 -3
  11. package/dist/cjs/carousel.js +4 -4
  12. package/dist/cjs/{chunk-34949503.js → chunk-0d6f213f.js} +2 -2
  13. package/dist/cjs/{chunk-2c7de785.js → chunk-0e3108f5.js} +2 -2
  14. package/dist/cjs/{chunk-2911aa4b.js → chunk-1438658c.js} +14 -11
  15. package/dist/cjs/{chunk-114191ae.js → chunk-1f7e4ed3.js} +3 -3
  16. package/dist/cjs/{chunk-a11294f9.js → chunk-334bc809.js} +1 -1
  17. package/dist/cjs/chunk-45739695.js +332 -0
  18. package/dist/cjs/{chunk-c7b2aa4b.js → chunk-4bcfaf1c.js} +0 -0
  19. package/dist/cjs/{chunk-f5106717.js → chunk-5058e659.js} +3 -3
  20. package/dist/cjs/{chunk-61023b09.js → chunk-545e1c7f.js} +102 -16
  21. package/dist/cjs/{chunk-30670fac.js → chunk-54b0042d.js} +19 -3
  22. package/dist/cjs/{chunk-fe2f57ee.js → chunk-5ed8a75a.js} +2 -2
  23. package/dist/cjs/{chunk-d120e215.js → chunk-73f8eef8.js} +8 -2
  24. package/dist/cjs/{chunk-2062216d.js → chunk-7c11fdde.js} +5 -4
  25. package/dist/cjs/{chunk-3cc5d9a6.js → chunk-841c0e0f.js} +1 -1
  26. package/dist/cjs/{chunk-9e4cf4c5.js → chunk-87a116d9.js} +0 -0
  27. package/dist/cjs/{chunk-fefd7b77.js → chunk-a53b7aff.js} +0 -0
  28. package/dist/cjs/{chunk-d0f8ea39.js → chunk-c0a093d7.js} +7 -7
  29. package/dist/cjs/{chunk-7da0c017.js → chunk-c8abb3ed.js} +21 -21
  30. package/dist/cjs/{chunk-c6fbc7b4.js → chunk-d0df905a.js} +15 -2
  31. package/dist/cjs/{chunk-d54e40f6.js → chunk-e86d3eeb.js} +1 -8
  32. package/dist/cjs/{chunk-6cb902f8.js → chunk-e872f5e2.js} +1 -1
  33. package/dist/cjs/{chunk-2ae50815.js → chunk-f5285f14.js} +4 -4
  34. package/dist/cjs/clockpicker.js +8 -8
  35. package/dist/cjs/colorpicker.js +1752 -0
  36. package/dist/cjs/config.js +1 -1
  37. package/dist/cjs/datepicker.js +11 -11
  38. package/dist/cjs/datetimepicker.js +30 -14
  39. package/dist/cjs/dialog.js +5 -5
  40. package/dist/cjs/dropdown.js +3 -3
  41. package/dist/cjs/field.js +2 -2
  42. package/dist/cjs/helpers.js +21 -1
  43. package/dist/cjs/icon.js +2 -2
  44. package/dist/cjs/image.js +2 -2
  45. package/dist/cjs/index.js +27 -22
  46. package/dist/cjs/input.js +4 -4
  47. package/dist/cjs/loading.js +5 -5
  48. package/dist/cjs/menu.js +2 -2
  49. package/dist/cjs/message.js +4 -9
  50. package/dist/cjs/modal.js +5 -5
  51. package/dist/cjs/navbar.js +4 -1
  52. package/dist/cjs/notification.js +7 -7
  53. package/dist/cjs/numberinput.js +30 -21
  54. package/dist/cjs/pagination.js +7 -7
  55. package/dist/cjs/progress.js +3 -3
  56. package/dist/cjs/rate.js +2 -2
  57. package/dist/cjs/select.js +4 -4
  58. package/dist/cjs/sidebar.js +1 -1
  59. package/dist/cjs/slider.js +3 -3
  60. package/dist/cjs/snackbar.js +5 -4
  61. package/dist/cjs/steps.js +5 -5
  62. package/dist/cjs/table.js +157 -146
  63. package/dist/cjs/tabs.js +7 -7
  64. package/dist/cjs/taginput.js +5 -5
  65. package/dist/cjs/timepicker.js +12 -12
  66. package/dist/cjs/toast.js +3 -3
  67. package/dist/cjs/tooltip.js +4 -4
  68. package/dist/cjs/upload.js +23 -9
  69. package/dist/components/autocomplete/index.js +24 -2
  70. package/dist/components/autocomplete/index.min.js +2 -2
  71. package/dist/components/breadcrumb/index.js +1 -1
  72. package/dist/components/breadcrumb/index.min.js +1 -1
  73. package/dist/components/button/index.js +8 -2
  74. package/dist/components/button/index.min.js +2 -2
  75. package/dist/components/carousel/index.js +8 -2
  76. package/dist/components/carousel/index.min.js +2 -2
  77. package/dist/components/checkbox/index.js +1 -1
  78. package/dist/components/checkbox/index.min.js +1 -1
  79. package/dist/components/clockpicker/index.js +41 -22
  80. package/dist/components/clockpicker/index.min.js +2 -2
  81. package/dist/components/collapse/index.js +1 -1
  82. package/dist/components/collapse/index.min.js +1 -1
  83. package/dist/components/colorpicker/index.js +4318 -0
  84. package/dist/components/colorpicker/index.min.js +2 -0
  85. package/dist/components/datepicker/index.js +48 -26
  86. package/dist/components/datepicker/index.min.js +2 -2
  87. package/dist/components/datetimepicker/index.js +66 -28
  88. package/dist/components/datetimepicker/index.min.js +2 -2
  89. package/dist/components/dialog/index.js +8 -2
  90. package/dist/components/dialog/index.min.js +2 -2
  91. package/dist/components/dropdown/index.js +14 -1
  92. package/dist/components/dropdown/index.min.js +2 -2
  93. package/dist/components/field/index.js +21 -21
  94. package/dist/components/field/index.min.js +1 -1
  95. package/dist/components/icon/index.js +8 -2
  96. package/dist/components/icon/index.min.js +2 -2
  97. package/dist/components/image/index.js +1 -1
  98. package/dist/components/image/index.min.js +1 -1
  99. package/dist/components/input/index.js +8 -2
  100. package/dist/components/input/index.min.js +2 -2
  101. package/dist/components/loading/index.js +1 -1
  102. package/dist/components/loading/index.min.js +1 -1
  103. package/dist/components/menu/index.js +8 -2
  104. package/dist/components/menu/index.min.js +2 -2
  105. package/dist/components/message/index.js +11 -9
  106. package/dist/components/message/index.min.js +2 -2
  107. package/dist/components/modal/index.js +1 -1
  108. package/dist/components/modal/index.min.js +1 -1
  109. package/dist/components/navbar/index.js +4 -1
  110. package/dist/components/navbar/index.min.js +2 -2
  111. package/dist/components/notification/index.js +13 -13
  112. package/dist/components/notification/index.min.js +2 -2
  113. package/dist/components/numberinput/index.js +34 -19
  114. package/dist/components/numberinput/index.min.js +2 -2
  115. package/dist/components/pagination/index.js +107 -16
  116. package/dist/components/pagination/index.min.js +2 -2
  117. package/dist/components/progress/index.js +2 -2
  118. package/dist/components/progress/index.min.js +2 -2
  119. package/dist/components/radio/index.js +1 -1
  120. package/dist/components/radio/index.min.js +1 -1
  121. package/dist/components/rate/index.js +8 -2
  122. package/dist/components/rate/index.min.js +2 -2
  123. package/dist/components/select/index.js +8 -2
  124. package/dist/components/select/index.min.js +2 -2
  125. package/dist/components/sidebar/index.js +1 -1
  126. package/dist/components/sidebar/index.min.js +1 -1
  127. package/dist/components/skeleton/index.js +1 -1
  128. package/dist/components/skeleton/index.min.js +1 -1
  129. package/dist/components/slider/index.js +2 -2
  130. package/dist/components/slider/index.min.js +2 -2
  131. package/dist/components/snackbar/index.js +4 -10
  132. package/dist/components/snackbar/index.min.js +2 -2
  133. package/dist/components/steps/index.js +8 -2
  134. package/dist/components/steps/index.min.js +2 -2
  135. package/dist/components/switch/index.js +1 -1
  136. package/dist/components/switch/index.min.js +1 -1
  137. package/dist/components/table/index.js +253 -133
  138. package/dist/components/table/index.min.js +2 -2
  139. package/dist/components/tabs/index.js +10 -4
  140. package/dist/components/tabs/index.min.js +2 -2
  141. package/dist/components/tag/index.js +1 -1
  142. package/dist/components/tag/index.min.js +1 -1
  143. package/dist/components/taginput/index.js +24 -2
  144. package/dist/components/taginput/index.min.js +2 -2
  145. package/dist/components/timepicker/index.js +41 -22
  146. package/dist/components/timepicker/index.min.js +2 -2
  147. package/dist/components/toast/index.js +2 -9
  148. package/dist/components/toast/index.min.js +2 -2
  149. package/dist/components/tooltip/index.js +2 -2
  150. package/dist/components/tooltip/index.min.js +2 -2
  151. package/dist/components/upload/index.js +20 -6
  152. package/dist/components/upload/index.min.js +2 -2
  153. package/dist/esm/autocomplete.js +6 -6
  154. package/dist/esm/button.js +4 -4
  155. package/dist/esm/carousel.js +4 -4
  156. package/dist/esm/{chunk-18e8b067.js → chunk-1a4fde6d.js} +102 -17
  157. package/dist/esm/{chunk-3773c62d.js → chunk-22cf6667.js} +2 -2
  158. package/dist/esm/{chunk-ece062a7.js → chunk-262b3f82.js} +1 -1
  159. package/dist/esm/chunk-455cdeae.js +317 -0
  160. package/dist/esm/{chunk-d7f92d97.js → chunk-5435bd9a.js} +5 -4
  161. package/dist/esm/{chunk-e7c9b2cb.js → chunk-58cdbf2b.js} +2 -2
  162. package/dist/esm/{chunk-29ca0df8.js → chunk-60a03517.js} +1 -1
  163. package/dist/esm/{chunk-21fc0948.js → chunk-66cef090.js} +7 -7
  164. package/dist/esm/{chunk-71a547bc.js → chunk-690d5be4.js} +1 -1
  165. package/dist/esm/{chunk-83eb0d37.js → chunk-6adc5c5d.js} +3 -3
  166. package/dist/esm/{chunk-c9c58d0c.js → chunk-6d0f2352.js} +0 -0
  167. package/dist/esm/{chunk-8d0f95b8.js → chunk-6d96579e.js} +4 -4
  168. package/dist/esm/{chunk-22e9f916.js → chunk-6fb4a069.js} +14 -11
  169. package/dist/esm/{chunk-75a5af93.js → chunk-84c6dfd6.js} +0 -0
  170. package/dist/esm/{chunk-ae8ab23a.js → chunk-a628d44d.js} +3 -3
  171. package/dist/esm/{chunk-b0c0c6b0.js → chunk-c9c18b2f.js} +0 -0
  172. package/dist/esm/{chunk-9f7f7441.js → chunk-d35985c7.js} +0 -0
  173. package/dist/esm/{chunk-799e084d.js → chunk-d9232770.js} +1 -8
  174. package/dist/esm/{chunk-4b67a181.js → chunk-dbd43ef1.js} +15 -2
  175. package/dist/esm/{chunk-d92f0cd9.js → chunk-e044aa02.js} +8 -2
  176. package/dist/esm/{chunk-b07e3182.js → chunk-effa4d25.js} +21 -21
  177. package/dist/esm/{chunk-6019fd7a.js → chunk-f9eaeac4.js} +19 -3
  178. package/dist/esm/clockpicker.js +8 -8
  179. package/dist/esm/colorpicker.js +1748 -0
  180. package/dist/esm/config.js +1 -1
  181. package/dist/esm/datepicker.js +10 -10
  182. package/dist/esm/datetimepicker.js +29 -13
  183. package/dist/esm/dialog.js +4 -4
  184. package/dist/esm/dropdown.js +4 -4
  185. package/dist/esm/field.js +3 -3
  186. package/dist/esm/helpers.js +20 -2
  187. package/dist/esm/icon.js +3 -3
  188. package/dist/esm/image.js +3 -3
  189. package/dist/esm/index.js +94 -91
  190. package/dist/esm/input.js +5 -5
  191. package/dist/esm/loading.js +3 -3
  192. package/dist/esm/menu.js +2 -2
  193. package/dist/esm/message.js +3 -8
  194. package/dist/esm/modal.js +3 -3
  195. package/dist/esm/navbar.js +4 -1
  196. package/dist/esm/notification.js +5 -5
  197. package/dist/esm/numberinput.js +30 -21
  198. package/dist/esm/pagination.js +4 -4
  199. package/dist/esm/progress.js +3 -3
  200. package/dist/esm/rate.js +2 -2
  201. package/dist/esm/select.js +5 -5
  202. package/dist/esm/sidebar.js +1 -1
  203. package/dist/esm/slider.js +2 -2
  204. package/dist/esm/snackbar.js +4 -3
  205. package/dist/esm/steps.js +5 -5
  206. package/dist/esm/table.js +155 -144
  207. package/dist/esm/tabs.js +7 -7
  208. package/dist/esm/taginput.js +5 -5
  209. package/dist/esm/timepicker.js +11 -11
  210. package/dist/esm/toast.js +2 -2
  211. package/dist/esm/tooltip.js +3 -3
  212. package/dist/esm/upload.js +21 -7
  213. package/dist/vetur/attributes.json +96 -0
  214. package/dist/vetur/tags.json +30 -1
  215. package/package.json +1 -1
  216. package/src/components/autocomplete/Autocomplete.vue +10 -0
  217. package/src/components/breadcrumb/__snapshots__/BreadcrumbItem.spec.js.snap +1 -5
  218. package/src/components/carousel/__snapshots__/CarouselList.spec.js.snap +48 -48
  219. package/src/components/colorpicker/Colorpicker.spec.js +10 -0
  220. package/src/components/colorpicker/Colorpicker.vue +354 -0
  221. package/src/components/colorpicker/ColorpickerAlphaSlider.spec.js +14 -0
  222. package/src/components/colorpicker/ColorpickerAlphaSlider.vue +194 -0
  223. package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.spec.js +22 -0
  224. package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.vue +366 -0
  225. package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.spec.js +22 -0
  226. package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.vue +442 -0
  227. package/src/components/colorpicker/__snapshots__/ColorPickerHSLRepresentationSquare.spec.js.snap +12 -0
  228. package/src/components/colorpicker/__snapshots__/Colorpicker.spec.js.snap +32 -0
  229. package/src/components/colorpicker/__snapshots__/ColorpickerAlphaSlider.spec.js.snap +11 -0
  230. package/src/components/colorpicker/__snapshots__/ColorpickerHSLRepresentationTriangle.spec.js.snap +36 -0
  231. package/src/components/colorpicker/index.js +17 -0
  232. package/src/components/datepicker/DatepickerTableRow.spec.js +26 -0
  233. package/src/components/datepicker/DatepickerTableRow.vue +4 -5
  234. package/src/components/datetimepicker/Datetimepicker.vue +17 -1
  235. package/src/components/dropdown/Dropdown.vue +13 -0
  236. package/src/components/field/Field.vue +271 -271
  237. package/src/components/index.js +2 -0
  238. package/src/components/message/Message.vue +0 -5
  239. package/src/components/navbar/NavbarDropdown.vue +4 -0
  240. package/src/components/notification/Notification.vue +1 -1
  241. package/src/components/numberinput/Numberinput.spec.js +62 -0
  242. package/src/components/numberinput/Numberinput.vue +22 -15
  243. package/src/components/pagination/Pagination.vue +141 -51
  244. package/src/components/progress/Progress.vue +1 -1
  245. package/src/components/snackbar/index.js +2 -1
  246. package/src/components/table/Table.spec.js +17 -3
  247. package/src/components/table/Table.vue +1436 -1409
  248. package/src/components/table/TablePagination.vue +10 -2
  249. package/src/components/tabs/Tabs.vue +2 -0
  250. package/src/components/timepicker/__snapshots__/Timepicker.spec.js.snap +18 -47
  251. package/src/components/tooltip/Tooltip.vue +2 -2
  252. package/src/components/upload/Upload.vue +19 -7
  253. package/src/scss/buefy.scss +1 -0
  254. package/src/scss/components/_colorpicker.scss +283 -0
  255. package/src/scss/components/_pagination.scss +38 -0
  256. package/src/utils/MessageMixin.js +2 -1
  257. package/src/utils/NoticeMixin.js +1 -5
  258. package/src/utils/color.js +441 -0
  259. package/src/utils/color.spec.js +52 -0
  260. package/src/utils/helpers.js +16 -0
  261. package/src/utils/icons.js +7 -1
  262. package/types/components.d.ts +7 -2
  263. package/types/helpers.d.ts +2 -1
  264. package/dist/cjs/chunk-92621ff7.js +0 -141
  265. package/dist/esm/chunk-2452e3d3.js +0 -134
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var __chunk_1 = require('./chunk-92621ff7.js');
3
+ var __chunk_1 = require('./chunk-45739695.js');
4
4
  var __chunk_2 = require('./chunk-9103eeda.js');
5
- var __chunk_4 = require('./chunk-d120e215.js');
5
+ var __chunk_4 = require('./chunk-73f8eef8.js');
6
6
  var __chunk_5 = require('./chunk-13e039f5.js');
7
7
 
8
8
  //
@@ -71,6 +71,24 @@ var __vue_staticRenderFns__ = [];
71
71
  undefined
72
72
  );
73
73
 
74
+ function debounce (func, wait, immediate) {
75
+ var timeout;
76
+ return function () {
77
+ var context = this;
78
+ var args = arguments;
79
+
80
+ var later = function later() {
81
+ timeout = null;
82
+ if (!immediate) func.apply(context, args);
83
+ };
84
+
85
+ var callNow = immediate && !timeout;
86
+ clearTimeout(timeout);
87
+ timeout = setTimeout(later, wait);
88
+ if (callNow) func.apply(context, args);
89
+ };
90
+ }
91
+
74
92
  var _components;
75
93
  var script$1 = {
76
94
  name: 'BPagination',
@@ -118,13 +136,25 @@ var script$1 = {
118
136
  ariaNextLabel: String,
119
137
  ariaPreviousLabel: String,
120
138
  ariaPageLabel: String,
121
- ariaCurrentLabel: String
139
+ ariaCurrentLabel: String,
140
+ pageInput: {
141
+ type: Boolean,
142
+ default: false
143
+ },
144
+ pageInputPosition: String,
145
+ debouncePageInput: [Number, String]
146
+ },
147
+ data: function data() {
148
+ return {
149
+ inputValue: this.current
150
+ };
122
151
  },
123
152
  computed: {
124
153
  rootClasses: function rootClasses() {
125
- return [this.order, this.size, {
154
+ return [this.order, this.size, this.pageInputPosition, {
126
155
  'is-simple': this.simple,
127
- 'is-rounded': this.rounded
156
+ 'is-rounded': this.rounded,
157
+ 'has-input': this.pageInput
128
158
  }];
129
159
  },
130
160
  beforeCurrent: function beforeCurrent() {
@@ -157,7 +187,7 @@ var script$1 = {
157
187
  },
158
188
 
159
189
  /**
160
- * Check if first page button should be visible.
190
+ * Check if first page button should be visible.
161
191
  */
162
192
  hasFirst: function hasFirst() {
163
193
  return this.current >= 2 + this.beforeCurrent;
@@ -224,6 +254,15 @@ var script$1 = {
224
254
  */
225
255
  pageCount: function pageCount(value) {
226
256
  if (this.current > value) this.last();
257
+ },
258
+ current: function current(value) {
259
+ this.inputValue = value;
260
+ },
261
+ debouncePageInput: {
262
+ handler: function handler(value) {
263
+ this.debounceHandlePageInput = debounce(this.handleOnInputPageChange, value);
264
+ },
265
+ immediate: true
227
266
  }
228
267
  },
229
268
  methods: {
@@ -235,14 +274,14 @@ var script$1 = {
235
274
  },
236
275
 
237
276
  /**
238
- * Next button click listener.
277
+ * Next button click listener.
239
278
  */
240
279
  next: function next(event) {
241
280
  this.changePage(this.current + 1, event);
242
281
  },
243
282
 
244
283
  /**
245
- * First button click listener.
284
+ * First button click listener.
246
285
  */
247
286
  first: function first(event) {
248
287
  this.changePage(1, event);
@@ -275,6 +314,9 @@ var script$1 = {
275
314
  click: function click(event) {
276
315
  return _this.changePage(num, event);
277
316
  },
317
+ input: function input(event, inputNum) {
318
+ return _this.changePage(+inputNum, event);
319
+ },
278
320
  disabled: options.disabled || false,
279
321
  class: options.class || '',
280
322
  'aria-label': options['aria-label'] || this.getAriaPageLabel(num, this.current === num)
@@ -292,6 +334,49 @@ var script$1 = {
292
334
  }
293
335
 
294
336
  return null;
337
+ },
338
+ handleOnInputPageChange: function handleOnInputPageChange(event) {
339
+ this.getPage(this.inputValue).input(event, this.inputValue);
340
+ },
341
+ handleOnInputDebounce: function handleOnInputDebounce(event) {
342
+ if (this.debouncePageInput) {
343
+ this.debounceHandlePageInput(event);
344
+ } else {
345
+ this.handleOnInputPageChange(event);
346
+ }
347
+ },
348
+ handleOnKeyPress: function handleOnKeyPress(event) {
349
+ // --- This is required to only allow numeric inputs for the page input - --- //
350
+ // --- size attribute does not work with input type number. --- //
351
+ var ASCIICode = event.which || event.keyCode;
352
+
353
+ if (ASCIICode >= 48 && ASCIICode <= 57) {
354
+ return true;
355
+ } else {
356
+ return event.preventDefault();
357
+ }
358
+ },
359
+ handleAllowableInputPageRange: function handleAllowableInputPageRange(event) {
360
+ if (+event.target.value > 0 && +event.target.value <= this.pageCount) {
361
+ this.handleOnInputValue(event);
362
+ } else {
363
+ // --- It is nessacery to set inputValue to 1 and then to '' so that the DOM- --- //
364
+ // --- will update the input component even when Backspace is used and then-
365
+ // --- 0 us entered. --- //
366
+ this.inputValue = 1;
367
+ this.inputValue = '';
368
+ }
369
+ },
370
+ handleOnInputValue: function handleOnInputValue(event) {
371
+ var inputValue = +event.target.value;
372
+ this.inputValue = inputValue;
373
+
374
+ if (Number.isInteger(this.inputValue)) {
375
+ this.handleOnInputDebounce(event);
376
+ } else {
377
+ // --- if NaN, then set inputValue back to current --- //
378
+ this.inputValue = this.current;
379
+ }
295
380
  }
296
381
  }
297
382
  };
@@ -301,14 +386,14 @@ const __vue_script__$1 = script$1;
301
386
 
302
387
  /* template */
303
388
  var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:"pagination",class:_vm.rootClasses},[(_vm.$scopedSlots.previous)?_vm._t("previous",[_c('b-icon',{attrs:{"icon":_vm.iconPrev,"pack":_vm.iconPack,"both":"","aria-hidden":"true"}})],{"page":_vm.getPage(_vm.current - 1, {
304
- disabled: !_vm.hasPrev,
305
- class: 'pagination-previous',
306
- 'aria-label': _vm.ariaPreviousLabel
307
- })}):_c('BPaginationButton',{staticClass:"pagination-previous",attrs:{"disabled":!_vm.hasPrev,"page":_vm.getPage(_vm.current - 1),"aria-label":_vm.ariaPreviousLabel}},[_c('b-icon',{attrs:{"icon":_vm.iconPrev,"pack":_vm.iconPack,"both":"","aria-hidden":"true"}})],1),(_vm.$scopedSlots.next)?_vm._t("next",[_c('b-icon',{attrs:{"icon":_vm.iconNext,"pack":_vm.iconPack,"both":"","aria-hidden":"true"}})],{"page":_vm.getPage(_vm.current + 1, {
308
- disabled: !_vm.hasNext,
309
- class: 'pagination-next',
310
- 'aria-label': _vm.ariaNextLabel
311
- })}):_c('BPaginationButton',{staticClass:"pagination-next",attrs:{"disabled":!_vm.hasNext,"page":_vm.getPage(_vm.current + 1),"aria-label":_vm.ariaNextLabel}},[_c('b-icon',{attrs:{"icon":_vm.iconNext,"pack":_vm.iconPack,"both":"","aria-hidden":"true"}})],1),(_vm.simple)?_c('small',{staticClass:"info"},[(_vm.perPage == 1)?[_vm._v(" "+_vm._s(_vm.firstItem)+" / "+_vm._s(_vm.total)+" ")]:[_vm._v(" "+_vm._s(_vm.firstItem)+"-"+_vm._s(Math.min(_vm.current * _vm.perPage, _vm.total))+" / "+_vm._s(_vm.total)+" ")]],2):_c('ul',{staticClass:"pagination-list"},[(_vm.hasFirst)?_c('li',[(_vm.$scopedSlots.default)?_vm._t("default",null,{"page":_vm.getPage(1)}):_c('BPaginationButton',{attrs:{"page":_vm.getPage(1)}})],2):_vm._e(),(_vm.hasFirstEllipsis)?_c('li',[_c('span',{staticClass:"pagination-ellipsis"},[_vm._v("…")])]):_vm._e(),_vm._l((_vm.pagesInRange),function(page){return _c('li',{key:page.number},[(_vm.$scopedSlots.default)?_vm._t("default",null,{"page":page}):_c('BPaginationButton',{attrs:{"page":page}})],2)}),(_vm.hasLastEllipsis)?_c('li',[_c('span',{staticClass:"pagination-ellipsis"},[_vm._v("…")])]):_vm._e(),(_vm.hasLast)?_c('li',[(_vm.$scopedSlots.default)?_vm._t("default",null,{"page":_vm.getPage(_vm.pageCount)}):_c('BPaginationButton',{attrs:{"page":_vm.getPage(_vm.pageCount)}})],2):_vm._e()],2)],2)};
389
+ disabled: !_vm.hasPrev,
390
+ class: 'pagination-previous',
391
+ 'aria-label': _vm.ariaPreviousLabel,
392
+ })}):_c('BPaginationButton',{staticClass:"pagination-previous",attrs:{"disabled":!_vm.hasPrev,"page":_vm.getPage(_vm.current - 1),"aria-label":_vm.ariaPreviousLabel}},[_c('b-icon',{attrs:{"icon":_vm.iconPrev,"pack":_vm.iconPack,"both":"","aria-hidden":"true"}})],1),(_vm.$scopedSlots.next)?_vm._t("next",[_c('b-icon',{attrs:{"icon":_vm.iconNext,"pack":_vm.iconPack,"both":"","aria-hidden":"true"}})],{"page":_vm.getPage(_vm.current + 1, {
393
+ disabled: !_vm.hasNext,
394
+ class: 'pagination-next',
395
+ 'aria-label': _vm.ariaNextLabel,
396
+ })}):_c('BPaginationButton',{staticClass:"pagination-next",attrs:{"disabled":!_vm.hasNext,"page":_vm.getPage(_vm.current + 1),"aria-label":_vm.ariaNextLabel}},[_c('b-icon',{attrs:{"icon":_vm.iconNext,"pack":_vm.iconPack,"both":"","aria-hidden":"true"}})],1),_c('div',{staticClass:"control pagination-input"},[(_vm.pageInput)?_c('input',{staticClass:"input",attrs:{"size":_vm.pageCount.toString().length,"maxlength":_vm.pageCount.toString().length},domProps:{"value":_vm.inputValue},on:{"input":_vm.handleAllowableInputPageRange,"keypress":_vm.handleOnKeyPress}}):_vm._e()]),(_vm.simple)?_c('small',{staticClass:"info"},[(_vm.perPage == 1)?[_vm._v(" "+_vm._s(_vm.firstItem)+" / "+_vm._s(_vm.total)+" ")]:[_vm._v(" "+_vm._s(_vm.firstItem)+"-"+_vm._s(Math.min(_vm.current * _vm.perPage, _vm.total))+" / "+_vm._s(_vm.total)+" ")]],2):_c('ul',{staticClass:"pagination-list"},[(_vm.hasFirst)?_c('li',[(_vm.$scopedSlots.default)?_vm._t("default",null,{"page":_vm.getPage(1)}):_c('BPaginationButton',{attrs:{"page":_vm.getPage(1)}})],2):_vm._e(),(_vm.hasFirstEllipsis)?_c('li',[_c('span',{staticClass:"pagination-ellipsis"},[_vm._v("…")])]):_vm._e(),_vm._l((_vm.pagesInRange),function(page){return _c('li',{key:page.number},[(_vm.$scopedSlots.default)?_vm._t("default",null,{"page":page}):_c('BPaginationButton',{attrs:{"page":page}})],2)}),(_vm.hasLastEllipsis)?_c('li',[_c('span',{staticClass:"pagination-ellipsis"},[_vm._v("…")])]):_vm._e(),(_vm.hasLast)?_c('li',[(_vm.$scopedSlots.default)?_vm._t("default",null,{"page":_vm.getPage(_vm.pageCount)}):_c('BPaginationButton',{attrs:{"page":_vm.getPage(_vm.pageCount)}})],2):_vm._e()],2)],2)};
312
397
  var __vue_staticRenderFns__$1 = [];
313
398
 
314
399
  /* style */
@@ -338,3 +423,4 @@ var __vue_staticRenderFns__$1 = [];
338
423
 
339
424
  exports.Pagination = Pagination;
340
425
  exports.PaginationButton = PaginationButton;
426
+ exports.debounce = debounce;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var __chunk_1 = require('./chunk-92621ff7.js');
3
+ var __chunk_1 = require('./chunk-45739695.js');
4
4
  var helpers = require('./helpers.js');
5
- var __chunk_3 = require('./chunk-9e4cf4c5.js');
5
+ var __chunk_3 = require('./chunk-87a116d9.js');
6
6
  var __chunk_5 = require('./chunk-13e039f5.js');
7
- var __chunk_6 = require('./chunk-f5106717.js');
7
+ var __chunk_6 = require('./chunk-5058e659.js');
8
8
 
9
9
  var script = {
10
10
  name: 'BAutocomplete',
@@ -313,6 +313,22 @@ var script = {
313
313
  _this3.setHovered(null);
314
314
  }
315
315
  });
316
+ } else {
317
+ if (this.hovered) {
318
+ // reset hovered if list doesn't contain it
319
+ var hoveredValue = this.getValue(this.hovered);
320
+ var data = this.computedData.map(function (d) {
321
+ return d.items;
322
+ }).reduce(function (a, b) {
323
+ return [].concat(__chunk_1._toConsumableArray(a), __chunk_1._toConsumableArray(b));
324
+ }, []);
325
+
326
+ if (!data.some(function (d) {
327
+ return _this3.getValue(d) === hoveredValue;
328
+ })) {
329
+ this.setHovered(null);
330
+ }
331
+ }
316
332
  }
317
333
  }
318
334
  },
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var __chunk_1 = require('./chunk-92621ff7.js');
3
+ var __chunk_1 = require('./chunk-45739695.js');
4
4
  var __chunk_2 = require('./chunk-9103eeda.js');
5
- var __chunk_4 = require('./chunk-d120e215.js');
5
+ var __chunk_4 = require('./chunk-73f8eef8.js');
6
6
  var __chunk_5 = require('./chunk-13e039f5.js');
7
7
 
8
8
  var script = {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var __chunk_1 = require('./chunk-92621ff7.js');
3
+ var __chunk_1 = require('./chunk-45739695.js');
4
4
  var helpers = require('./helpers.js');
5
5
  var __chunk_2 = require('./chunk-9103eeda.js');
6
6
  var __chunk_5 = require('./chunk-13e039f5.js');
@@ -48,7 +48,13 @@ var getIcons = function getIcons() {
48
48
  far: faIcons(),
49
49
  fad: faIcons(),
50
50
  fab: faIcons(),
51
- fal: faIcons()
51
+ fal: faIcons(),
52
+ 'fa-solid': faIcons(),
53
+ 'fa-regular': faIcons(),
54
+ 'fa-light': faIcons(),
55
+ 'fa-thin': faIcons(),
56
+ 'fa-duotone': faIcons(),
57
+ 'fa-brands': faIcons()
52
58
  };
53
59
 
54
60
  if (__chunk_2.config && __chunk_2.config.customIconPacks) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var __chunk_1 = require('./chunk-92621ff7.js');
4
- var __chunk_4 = require('./chunk-d120e215.js');
3
+ var __chunk_1 = require('./chunk-45739695.js');
4
+ var __chunk_4 = require('./chunk-73f8eef8.js');
5
5
 
6
6
  var MessageMixin = {
7
7
  components: __chunk_1._defineProperty({}, __chunk_4.Icon.name, __chunk_4.Icon),
@@ -43,8 +43,9 @@ var MessageMixin = {
43
43
  data: function data() {
44
44
  return {
45
45
  isActive: this.active,
46
- remainingTime: this.duration / 1000 // in seconds
47
-
46
+ remainingTime: this.duration / 1000,
47
+ // in seconds
48
+ newIconSize: this.iconSize || this.size || 'is-large'
48
49
  };
49
50
  },
50
51
  watch: {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var __chunk_1 = require('./chunk-92621ff7.js');
3
+ var __chunk_1 = require('./chunk-45739695.js');
4
4
  var helpers = require('./helpers.js');
5
5
 
6
6
  var items = 1;
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var __chunk_1 = require('./chunk-92621ff7.js');
4
- var __chunk_4 = require('./chunk-d120e215.js');
3
+ var __chunk_1 = require('./chunk-45739695.js');
4
+ var __chunk_4 = require('./chunk-73f8eef8.js');
5
5
  var __chunk_5 = require('./chunk-13e039f5.js');
6
- var __chunk_6 = require('./chunk-f5106717.js');
7
- var __chunk_13 = require('./chunk-a11294f9.js');
8
- var __chunk_15 = require('./chunk-c6fbc7b4.js');
9
- var __chunk_16 = require('./chunk-7da0c017.js');
10
- var __chunk_17 = require('./chunk-114191ae.js');
6
+ var __chunk_6 = require('./chunk-5058e659.js');
7
+ var __chunk_13 = require('./chunk-334bc809.js');
8
+ var __chunk_15 = require('./chunk-d0df905a.js');
9
+ var __chunk_16 = require('./chunk-c8abb3ed.js');
10
+ var __chunk_17 = require('./chunk-1f7e4ed3.js');
11
11
 
12
12
  var _components;
13
13
  var script = {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var __chunk_1 = require('./chunk-92621ff7.js');
3
+ var __chunk_1 = require('./chunk-45739695.js');
4
4
  var __chunk_2 = require('./chunk-9103eeda.js');
5
5
  var __chunk_5 = require('./chunk-13e039f5.js');
6
6
 
@@ -139,12 +139,12 @@ var script$1 = {
139
139
  return this.grouped || this.groupMultiline || this.hasAddons();
140
140
  },
141
141
 
142
- /**
143
- * Correct Bulma class for the side of the addon or group.
144
- *
145
- * This is not kept like the others (is-small, etc.),
146
- * because since 'has-addons' is set automatically it
147
- * doesn't make sense to teach users what addons are exactly.
142
+ /**
143
+ * Correct Bulma class for the side of the addon or group.
144
+ *
145
+ * This is not kept like the others (is-small, etc.),
146
+ * because since 'has-addons' is set automatically it
147
+ * doesn't make sense to teach users what addons are exactly.
148
148
  */
149
149
  newPosition: function newPosition() {
150
150
  if (this.position === undefined) return;
@@ -154,9 +154,9 @@ var script$1 = {
154
154
  if (this.position) return prefix + position[1];
155
155
  },
156
156
 
157
- /**
158
- * Formatted message in case it's an array
159
- * (each element is separated by <br> tag)
157
+ /**
158
+ * Formatted message in case it's an array
159
+ * (each element is separated by <br> tag)
160
160
  */
161
161
  formattedMessage: function formattedMessage() {
162
162
  if (this.parent && this.parent.hasInnerField) {
@@ -226,22 +226,22 @@ var script$1 = {
226
226
  }
227
227
  },
228
228
  watch: {
229
- /**
230
- * Set internal type when prop change.
229
+ /**
230
+ * Set internal type when prop change.
231
231
  */
232
232
  type: function type(value) {
233
233
  this.newType = value;
234
234
  },
235
235
 
236
- /**
237
- * Set internal message when prop change.
236
+ /**
237
+ * Set internal message when prop change.
238
238
  */
239
239
  message: function message(value) {
240
240
  this.newMessage = value;
241
241
  },
242
242
 
243
- /**
244
- * Set parent message if we use Field in Field.
243
+ /**
244
+ * Set parent message if we use Field in Field.
245
245
  */
246
246
  newMessage: function newMessage(value) {
247
247
  if (this.parent && this.parent.hasInnerField) {
@@ -256,11 +256,11 @@ var script$1 = {
256
256
  }
257
257
  },
258
258
  methods: {
259
- /**
260
- * Field has addons if there are more than one slot
261
- * (element / component) in the Field.
262
- * Or is grouped when prop is set.
263
- * Is a method to be called when component re-render.
259
+ /**
260
+ * Field has addons if there are more than one slot
261
+ * (element / component) in the Field.
262
+ * Or is grouped when prop is set.
263
+ * Is a method to be called when component re-render.
264
264
  */
265
265
  fieldType: function fieldType() {
266
266
  if (this.grouped) return 'is-grouped';
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var __chunk_1 = require('./chunk-92621ff7.js');
3
+ var __chunk_1 = require('./chunk-45739695.js');
4
4
  var helpers = require('./helpers.js');
5
5
  var __chunk_2 = require('./chunk-9103eeda.js');
6
6
  var __chunk_5 = require('./chunk-13e039f5.js');
7
- var __chunk_9 = require('./chunk-3cc5d9a6.js');
7
+ var __chunk_9 = require('./chunk-841c0e0f.js');
8
8
  var __chunk_14 = require('./chunk-ae7e641a.js');
9
9
 
10
10
  var DEFAULT_CLOSE_OPTIONS = ['escape', 'outside'];
@@ -126,6 +126,7 @@ var script = {
126
126
  var _this = this;
127
127
 
128
128
  this.$emit('active-change', value);
129
+ this.handleScroll();
129
130
 
130
131
  if (this.appendToBody) {
131
132
  this.$nextTick(function () {
@@ -135,6 +136,18 @@ var script = {
135
136
  }
136
137
  },
137
138
  methods: {
139
+ handleScroll: function handleScroll() {
140
+ if (typeof window === 'undefined') return;
141
+
142
+ if (this.isMobileModal) {
143
+ if (this.isActive) {
144
+ document.documentElement.classList.add('is-clipped-touch');
145
+ } else {
146
+ document.documentElement.classList.remove('is-clipped-touch');
147
+ }
148
+ }
149
+ },
150
+
138
151
  /**
139
152
  * Click listener from DropdownItem.
140
153
  * 1. Set new selected item.
@@ -117,14 +117,7 @@ var NoticeMixin = {
117
117
  showNotice: function showNotice() {
118
118
  var _this2 = this;
119
119
 
120
- if (this.shouldQueue()) {
121
- // Call recursively if should queue
122
- setTimeout(function () {
123
- return _this2.showNotice();
124
- }, 250);
125
- return;
126
- }
127
-
120
+ if (this.shouldQueue()) this.correctParent.innerHTML = '';
128
121
  this.correctParent.insertAdjacentElement('afterbegin', this.$el);
129
122
  this.isActive = true;
130
123
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var __chunk_1 = require('./chunk-92621ff7.js');
3
+ var __chunk_1 = require('./chunk-45739695.js');
4
4
  var helpers = require('./helpers.js');
5
5
  var __chunk_2 = require('./chunk-9103eeda.js');
6
6
  var __chunk_5 = require('./chunk-13e039f5.js');
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var __chunk_1 = require('./chunk-92621ff7.js');
3
+ var __chunk_1 = require('./chunk-45739695.js');
4
4
  var helpers = require('./helpers.js');
5
- var __chunk_4 = require('./chunk-d120e215.js');
6
- var __chunk_9 = require('./chunk-3cc5d9a6.js');
7
- var __chunk_27 = require('./chunk-fefd7b77.js');
5
+ var __chunk_4 = require('./chunk-73f8eef8.js');
6
+ var __chunk_9 = require('./chunk-841c0e0f.js');
7
+ var __chunk_27 = require('./chunk-a53b7aff.js');
8
8
 
9
9
  var TabbedMixin = (function (cmp) {
10
10
  var _components;
@@ -2,18 +2,18 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var __chunk_1 = require('./chunk-92621ff7.js');
5
+ var __chunk_1 = require('./chunk-45739695.js');
6
6
  require('./helpers.js');
7
7
  var __chunk_2 = require('./chunk-9103eeda.js');
8
- require('./chunk-9e4cf4c5.js');
9
- var __chunk_4 = require('./chunk-d120e215.js');
8
+ require('./chunk-87a116d9.js');
9
+ var __chunk_4 = require('./chunk-73f8eef8.js');
10
10
  var __chunk_5 = require('./chunk-13e039f5.js');
11
- var __chunk_6 = require('./chunk-f5106717.js');
12
- require('./chunk-3cc5d9a6.js');
13
- var __chunk_13 = require('./chunk-a11294f9.js');
11
+ var __chunk_6 = require('./chunk-5058e659.js');
12
+ require('./chunk-841c0e0f.js');
13
+ var __chunk_13 = require('./chunk-334bc809.js');
14
14
  require('./chunk-ae7e641a.js');
15
- var __chunk_15 = require('./chunk-c6fbc7b4.js');
16
- var __chunk_16 = require('./chunk-7da0c017.js');
15
+ var __chunk_15 = require('./chunk-d0df905a.js');
16
+ var __chunk_16 = require('./chunk-c8abb3ed.js');
17
17
 
18
18
  //
19
19
  //