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
package/dist/esm/table.js CHANGED
@@ -1,35 +1,17 @@
1
- import { _ as _defineProperty, d as _toConsumableArray, b as _typeof } from './chunk-2452e3d3.js';
2
- import { toCssWidth, getValueByPath, indexOf, multiColumnSort, escapeRegExpChars } from './helpers.js';
1
+ import { _ as _defineProperty, d as _toConsumableArray, b as _typeof } from './chunk-455cdeae.js';
2
+ import { toCssWidth, getValueByPath, indexOf, multiColumnSort, isNil, escapeRegExpChars, removeDiacriticsFromString } from './helpers.js';
3
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';
4
+ import './chunk-84c6dfd6.js';
5
+ import { I as Icon } from './chunk-e044aa02.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';
7
+ import { I as Input } from './chunk-a628d44d.js';
8
8
  import './chunk-2793447b.js';
9
9
  import { C as Checkbox } from './chunk-252f2b57.js';
10
- import { S as Select } from './chunk-83eb0d37.js';
10
+ import { S as Select } from './chunk-6adc5c5d.js';
11
11
  import './chunk-b9bdb0e4.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
-
16
- function debounce (func, wait, immediate) {
17
- var timeout;
18
- return function () {
19
- var context = this;
20
- var args = arguments;
21
-
22
- var later = function later() {
23
- timeout = null;
24
- if (!immediate) func.apply(context, args);
25
- };
26
-
27
- var callNow = immediate && !timeout;
28
- clearTimeout(timeout);
29
- timeout = setTimeout(later, wait);
30
- if (callNow) func.apply(context, args);
31
- };
32
- }
12
+ import { L as Loading } from './chunk-6d0f2352.js';
13
+ import { P as Pagination, d as debounce } from './chunk-1a4fde6d.js';
14
+ import { S as SlotComponent } from './chunk-c9c18b2f.js';
33
15
 
34
16
  var _components;
35
17
  var script = {
@@ -349,7 +331,11 @@ var script$2 = {
349
331
  ariaNextLabel: String,
350
332
  ariaPreviousLabel: String,
351
333
  ariaPageLabel: String,
352
- ariaCurrentLabel: String
334
+ ariaCurrentLabel: String,
335
+ pageInput: Boolean,
336
+ paginationOrder: String,
337
+ pageInputPosition: String,
338
+ debouncePageInput: [Number, String]
353
339
  },
354
340
  data: function data() {
355
341
  return {
@@ -377,7 +363,7 @@ var script$2 = {
377
363
  const __vue_script__$2 = script$2;
378
364
 
379
365
  /* template */
380
- var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"top level"},[_c('div',{staticClass:"level-left"},[_vm._t("default")],2),_c('div',{staticClass:"level-right"},[(_vm.paginated)?_c('div',{staticClass:"level-item"},[_c('b-pagination',{attrs:{"icon-pack":_vm.iconPack,"total":_vm.total,"per-page":_vm.perPage,"simple":_vm.paginationSimple,"size":_vm.paginationSize,"current":_vm.newCurrentPage,"rounded":_vm.rounded,"aria-next-label":_vm.ariaNextLabel,"aria-previous-label":_vm.ariaPreviousLabel,"aria-page-label":_vm.ariaPageLabel,"aria-current-label":_vm.ariaCurrentLabel},on:{"change":_vm.pageChanged}})],1):_vm._e()])])};
366
+ var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"top level"},[_c('div',{staticClass:"level-left"},[_vm._t("default")],2),_c('div',{staticClass:"level-right"},[(_vm.paginated)?_c('div',{staticClass:"level-item"},[_c('b-pagination',{attrs:{"icon-pack":_vm.iconPack,"total":_vm.total,"per-page":_vm.perPage,"simple":_vm.paginationSimple,"size":_vm.paginationSize,"current":_vm.newCurrentPage,"rounded":_vm.rounded,"aria-next-label":_vm.ariaNextLabel,"aria-previous-label":_vm.ariaPreviousLabel,"aria-page-label":_vm.ariaPageLabel,"aria-current-label":_vm.ariaCurrentLabel,"page-input":_vm.pageInput,"order":_vm.paginationOrder,"page-input-position":_vm.pageInputPosition,"debounce-page-input":_vm.debouncePageInput},on:{"change":_vm.pageChanged}})],1):_vm._e()])])};
381
367
  var __vue_staticRenderFns__$1 = [];
382
368
 
383
369
  /* style */
@@ -596,7 +582,14 @@ var script$3 = {
596
582
  showCaption: {
597
583
  type: Boolean,
598
584
  default: true
599
- }
585
+ },
586
+ pageInput: {
587
+ type: Boolean,
588
+ default: false
589
+ },
590
+ paginationOrder: String,
591
+ pageInputPosition: String,
592
+ debouncePageInput: [Number, String]
600
593
  },
601
594
  data: function data() {
602
595
  return {
@@ -646,8 +639,8 @@ var script$3 = {
646
639
  };
647
640
  },
648
641
 
649
- /**
650
- * Splitted data based on the pagination.
642
+ /**
643
+ * Splitted data based on the pagination.
651
644
  */
652
645
  visibleData: function visibleData() {
653
646
  if (!this.paginated) return this.newData;
@@ -669,8 +662,8 @@ var script$3 = {
669
662
  });
670
663
  },
671
664
 
672
- /**
673
- * Check if all rows in the page are checked.
665
+ /**
666
+ * Check if all rows in the page are checked.
674
667
  */
675
668
  isAllChecked: function isAllChecked() {
676
669
  var _this = this;
@@ -685,8 +678,8 @@ var script$3 = {
685
678
  return !isAllChecked;
686
679
  },
687
680
 
688
- /**
689
- * Check if all rows in the page are checkable.
681
+ /**
682
+ * Check if all rows in the page are checkable.
690
683
  */
691
684
  isAllUncheckable: function isAllUncheckable() {
692
685
  var _this2 = this;
@@ -697,8 +690,8 @@ var script$3 = {
697
690
  return validVisibleData.length === 0;
698
691
  },
699
692
 
700
- /**
701
- * Check if has any sortable column.
693
+ /**
694
+ * Check if has any sortable column.
702
695
  */
703
696
  hasSortablenewColumns: function hasSortablenewColumns() {
704
697
  return this.newColumns.some(function (column) {
@@ -706,8 +699,8 @@ var script$3 = {
706
699
  });
707
700
  },
708
701
 
709
- /**
710
- * Check if has any searchable column.
702
+ /**
703
+ * Check if has any searchable column.
711
704
  */
712
705
  hasSearchablenewColumns: function hasSearchablenewColumns() {
713
706
  return this.newColumns.some(function (column) {
@@ -715,8 +708,8 @@ var script$3 = {
715
708
  });
716
709
  },
717
710
 
718
- /**
719
- * Check if has any column using subheading.
711
+ /**
712
+ * Check if has any column using subheading.
720
713
  */
721
714
  hasCustomSubheadings: function hasCustomSubheadings() {
722
715
  if (this.$scopedSlots && this.$scopedSlots.subheading) return true;
@@ -725,8 +718,8 @@ var script$3 = {
725
718
  });
726
719
  },
727
720
 
728
- /**
729
- * Return total column count based if it's checkable or expanded
721
+ /**
722
+ * Return total column count based if it's checkable or expanded
730
723
  */
731
724
  columnCount: function columnCount() {
732
725
  var count = this.visibleColumns.length;
@@ -735,16 +728,16 @@ var script$3 = {
735
728
  return count;
736
729
  },
737
730
 
738
- /**
739
- * return if detailed row tabled
740
- * will be with chevron column & icon or not
731
+ /**
732
+ * return if detailed row tabled
733
+ * will be with chevron column & icon or not
741
734
  */
742
735
  showDetailRowIcon: function showDetailRowIcon() {
743
736
  return this.detailed && this.showDetailIcon;
744
737
  },
745
738
 
746
- /**
747
- * return if scrollable table
739
+ /**
740
+ * return if scrollable table
748
741
  */
749
742
  isScrollable: function isScrollable() {
750
743
  if (this.scrollable) return true;
@@ -791,12 +784,12 @@ var script$3 = {
791
784
  }
792
785
  },
793
786
  watch: {
794
- /**
795
- * When data prop change:
796
- * 1. Update internal value.
797
- * 2. Filter data if it's not backend-filtered.
798
- * 3. Sort again if it's not backend-sorted.
799
- * 4. Set new total if it's not backend-paginated.
787
+ /**
788
+ * When data prop change:
789
+ * 1. Update internal value.
790
+ * 2. Filter data if it's not backend-filtered.
791
+ * 3. Sort again if it's not backend-sorted.
792
+ * 4. Set new total if it's not backend-paginated.
800
793
  */
801
794
  data: function data(value) {
802
795
  var _this4 = this;
@@ -818,9 +811,9 @@ var script$3 = {
818
811
  }
819
812
  },
820
813
 
821
- /**
822
- * When Pagination total change, update internal total
823
- * only if it's backend-paginated.
814
+ /**
815
+ * When Pagination total change, update internal total
816
+ * only if it's backend-paginated.
824
817
  */
825
818
  total: function total(newTotal) {
826
819
  if (!this.backendPagination) return;
@@ -833,18 +826,18 @@ var script$3 = {
833
826
  this.$emit('update:currentPage', newVal);
834
827
  },
835
828
 
836
- /**
837
- * When checkedRows prop change, update internal value without
838
- * mutating original data.
829
+ /**
830
+ * When checkedRows prop change, update internal value without
831
+ * mutating original data.
839
832
  */
840
833
  checkedRows: function checkedRows(rows) {
841
834
  this.newCheckedRows = _toConsumableArray(rows);
842
835
  },
843
836
 
844
- /*
845
- newColumns(value) {
846
- this.checkSort()
847
- },
837
+ /*
838
+ newColumns(value) {
839
+ this.checkSort()
840
+ },
848
841
  */
849
842
  debounceSearch: {
850
843
  handler: function handler(value) {
@@ -863,9 +856,9 @@ var script$3 = {
863
856
  deep: true
864
857
  },
865
858
 
866
- /**
867
- * When the user wants to control the detailed rows via props.
868
- * Or wants to open the details of certain row with the router for example.
859
+ /**
860
+ * When the user wants to control the detailed rows via props.
861
+ * Or wants to open the details of certain row with the router for example.
869
862
  */
870
863
  openedDetailed: function openedDetailed(expandedRows) {
871
864
  this.visibleDetailRows = expandedRows;
@@ -917,7 +910,12 @@ var script$3 = {
917
910
  var formattedSortingPriority = this.sortMultipleDataLocal.map(function (i) {
918
911
  return (i.order && i.order === 'desc' ? '-' : '') + i.field;
919
912
  });
920
- this.newData = multiColumnSort(this.newData, formattedSortingPriority);
913
+
914
+ if (formattedSortingPriority.length === 0) {
915
+ this.resetMultiSorting();
916
+ } else {
917
+ this.newData = multiColumnSort(this.newData, formattedSortingPriority);
918
+ }
921
919
  }
922
920
  },
923
921
  resetMultiSorting: function resetMultiSorting() {
@@ -926,9 +924,9 @@ var script$3 = {
926
924
  this.newData = this.data;
927
925
  },
928
926
 
929
- /**
930
- * Sort an array by key without mutating original data.
931
- * Call the user sort function if it was passed.
927
+ /**
928
+ * Sort an array by key without mutating original data.
929
+ * Call the user sort function if it was passed.
932
930
  */
933
931
  sortBy: function sortBy(array, key, fn, isAsc) {
934
932
  var sorted = []; // Sorting without mutating original data
@@ -945,10 +943,12 @@ var script$3 = {
945
943
 
946
944
  if (typeof newA === 'boolean' && typeof newB === 'boolean') {
947
945
  return isAsc ? newA - newB : newB - newA;
948
- }
946
+ } // sort null values to the bottom when in asc order
947
+ // and to the top when in desc order
948
+
949
949
 
950
- if (!newA && newA !== 0) return 1;
951
- if (!newB && newB !== 0) return -1;
950
+ if (!isNil(newB) && isNil(newA)) return isAsc ? 1 : -1;
951
+ if (!isNil(newA) && isNil(newB)) return isAsc ? -1 : 1;
952
952
  if (newA === newB) return 0;
953
953
  newA = typeof newA === 'string' ? newA.toUpperCase() : newA;
954
954
  newB = typeof newB === 'string' ? newB.toUpperCase() : newB;
@@ -985,10 +985,10 @@ var script$3 = {
985
985
  this.newData = multiColumnSort(this.newData, formattedSortingPriority);
986
986
  },
987
987
 
988
- /**
989
- * Sort the column.
990
- * Toggle current direction on column if it's sortable
991
- * and not just updating the prop.
988
+ /**
989
+ * Sort the column.
990
+ * Toggle current direction on column if it's sortable
991
+ * and not just updating the prop.
992
992
  */
993
993
  sort: function sort(column) {
994
994
  var updatingData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
@@ -1039,15 +1039,15 @@ var script$3 = {
1039
1039
  return row === selected;
1040
1040
  },
1041
1041
 
1042
- /**
1043
- * Check if the row is checked (is added to the array).
1042
+ /**
1043
+ * Check if the row is checked (is added to the array).
1044
1044
  */
1045
1045
  isRowChecked: function isRowChecked(row) {
1046
1046
  return indexOf(this.newCheckedRows, row, this.customIsChecked) >= 0;
1047
1047
  },
1048
1048
 
1049
- /**
1050
- * Remove a checked row from the array.
1049
+ /**
1050
+ * Remove a checked row from the array.
1051
1051
  */
1052
1052
  removeCheckedRow: function removeCheckedRow(row) {
1053
1053
  var index = indexOf(this.newCheckedRows, row, this.customIsChecked);
@@ -1057,9 +1057,9 @@ var script$3 = {
1057
1057
  }
1058
1058
  },
1059
1059
 
1060
- /**
1061
- * Header checkbox click listener.
1062
- * Add or remove all rows in current page.
1060
+ /**
1061
+ * Header checkbox click listener.
1062
+ * Add or remove all rows in current page.
1063
1063
  */
1064
1064
  checkAll: function checkAll() {
1065
1065
  var _this6 = this;
@@ -1082,8 +1082,8 @@ var script$3 = {
1082
1082
  this.$emit('update:checkedRows', this.newCheckedRows);
1083
1083
  },
1084
1084
 
1085
- /**
1086
- * Row checkbox click listener.
1085
+ /**
1086
+ * Row checkbox click listener.
1087
1087
  */
1088
1088
  checkRow: function checkRow(row, index, event) {
1089
1089
  if (!this.isRowCheckable(row)) return;
@@ -1103,8 +1103,8 @@ var script$3 = {
1103
1103
  this.$emit('update:checkedRows', this.newCheckedRows);
1104
1104
  },
1105
1105
 
1106
- /**
1107
- * Check row when shift is pressed.
1106
+ /**
1107
+ * Check row when shift is pressed.
1108
1108
  */
1109
1109
  shiftCheckRow: function shiftCheckRow(row, index, lastCheckedRowIndex) {
1110
1110
  var _this7 = this;
@@ -1122,9 +1122,9 @@ var script$3 = {
1122
1122
  });
1123
1123
  },
1124
1124
 
1125
- /**
1126
- * Row click listener.
1127
- * Emit all necessary events.
1125
+ /**
1126
+ * Row click listener.
1127
+ * Emit all necessary events.
1128
1128
  */
1129
1129
  selectRow: function selectRow(row, index) {
1130
1130
  this.$emit('click', row);
@@ -1136,8 +1136,8 @@ var script$3 = {
1136
1136
  this.$emit('update:selected', row);
1137
1137
  },
1138
1138
 
1139
- /**
1140
- * Toggle to show/hide details slot
1139
+ /**
1140
+ * Toggle to show/hide details slot
1141
1141
  */
1142
1142
  toggleDetails: function toggleDetails(obj) {
1143
1143
  var found = this.isVisibleDetailRow(obj);
@@ -1179,14 +1179,7 @@ var script$3 = {
1179
1179
  var _this8 = this;
1180
1180
 
1181
1181
  var _loop = function _loop(key) {
1182
- // remove key if empty
1183
- if (!_this8.filters[key]) {
1184
- delete _this8.filters[key];
1185
- return {
1186
- v: true
1187
- };
1188
- }
1189
-
1182
+ if (!_this8.filters[key]) return "continue";
1190
1183
  var input = _this8.filters[key];
1191
1184
 
1192
1185
  var column = _this8.newColumns.filter(function (c) {
@@ -1210,9 +1203,21 @@ var script$3 = {
1210
1203
  };
1211
1204
  } else {
1212
1205
  var re = new RegExp(escapeRegExpChars(input), 'i');
1213
- if (!re.test(value)) return {
1214
- v: false
1215
- };
1206
+
1207
+ if (Array.isArray(value)) {
1208
+ var valid = value.some(function (val) {
1209
+ return re.test(removeDiacriticsFromString(val)) || re.test(val);
1210
+ });
1211
+ if (!valid) return {
1212
+ v: false
1213
+ };
1214
+ } else {
1215
+ if (!re.test(removeDiacriticsFromString(value)) && !re.test(value)) {
1216
+ return {
1217
+ v: false
1218
+ };
1219
+ }
1220
+ }
1216
1221
  }
1217
1222
  }
1218
1223
  };
@@ -1220,15 +1225,21 @@ var script$3 = {
1220
1225
  for (var key in this.filters) {
1221
1226
  var _ret = _loop(key);
1222
1227
 
1223
- if (_typeof(_ret) === "object") return _ret.v;
1228
+ switch (_ret) {
1229
+ case "continue":
1230
+ continue;
1231
+
1232
+ default:
1233
+ if (_typeof(_ret) === "object") return _ret.v;
1234
+ }
1224
1235
  }
1225
1236
 
1226
1237
  return true;
1227
1238
  },
1228
1239
 
1229
- /**
1230
- * When the detailKey is defined we use the object[detailKey] as index.
1231
- * If not, use the object reference by default.
1240
+ /**
1241
+ * When the detailKey is defined we use the object[detailKey] as index.
1242
+ * If not, use the object reference by default.
1232
1243
  */
1233
1244
  handleDetailKey: function handleDetailKey(index) {
1234
1245
  var key = this.detailKey;
@@ -1242,8 +1253,8 @@ var script$3 = {
1242
1253
  }
1243
1254
  },
1244
1255
 
1245
- /**
1246
- * Call initSort only first time (For example async data).
1256
+ /**
1257
+ * Call initSort only first time (For example async data).
1247
1258
  */
1248
1259
  checkSort: function checkSort() {
1249
1260
  if (this.newColumns.length && this.firstTimeSort) {
@@ -1261,8 +1272,8 @@ var script$3 = {
1261
1272
  }
1262
1273
  },
1263
1274
 
1264
- /**
1265
- * Check if footer slot has custom content.
1275
+ /**
1276
+ * Check if footer slot has custom content.
1266
1277
  */
1267
1278
  hasCustomFooterSlot: function hasCustomFooterSlot() {
1268
1279
  if (this.$slots.footer.length > 1) return true;
@@ -1271,15 +1282,15 @@ var script$3 = {
1271
1282
  return true;
1272
1283
  },
1273
1284
 
1274
- /**
1275
- * Check if bottom-left slot exists.
1285
+ /**
1286
+ * Check if bottom-left slot exists.
1276
1287
  */
1277
1288
  hasBottomLeftSlot: function hasBottomLeftSlot() {
1278
1289
  return typeof this.$slots['bottom-left'] !== 'undefined';
1279
1290
  },
1280
1291
 
1281
- /**
1282
- * Table arrow keys listener, change selection.
1292
+ /**
1293
+ * Table arrow keys listener, change selection.
1283
1294
  */
1284
1295
  pressedArrow: function pressedArrow(pos) {
1285
1296
  if (!this.visibleData.length) return;
@@ -1309,16 +1320,16 @@ var script$3 = {
1309
1320
  }
1310
1321
  },
1311
1322
 
1312
- /**
1313
- * Focus table element if has selected prop.
1323
+ /**
1324
+ * Focus table element if has selected prop.
1314
1325
  */
1315
1326
  focus: function focus() {
1316
1327
  if (!this.focusable) return;
1317
1328
  this.$el.querySelector('table').focus();
1318
1329
  },
1319
1330
 
1320
- /**
1321
- * Initial sorted column based on the default-sort prop.
1331
+ /**
1332
+ * Initial sorted column based on the default-sort prop.
1322
1333
  */
1323
1334
  initSort: function initSort() {
1324
1335
  var _this9 = this;
@@ -1353,8 +1364,8 @@ var script$3 = {
1353
1364
  }
1354
1365
  },
1355
1366
 
1356
- /**
1357
- * Emits drag start event (row)
1367
+ /**
1368
+ * Emits drag start event (row)
1358
1369
  */
1359
1370
  handleDragStart: function handleDragStart(event, row, index) {
1360
1371
  if (!this.canDragRow) return;
@@ -1366,8 +1377,8 @@ var script$3 = {
1366
1377
  });
1367
1378
  },
1368
1379
 
1369
- /**
1370
- * Emits drag leave event (row)
1380
+ /**
1381
+ * Emits drag leave event (row)
1371
1382
  */
1372
1383
  handleDragEnd: function handleDragEnd(event, row, index) {
1373
1384
  if (!this.canDragRow) return;
@@ -1379,8 +1390,8 @@ var script$3 = {
1379
1390
  });
1380
1391
  },
1381
1392
 
1382
- /**
1383
- * Emits drop event (row)
1393
+ /**
1394
+ * Emits drop event (row)
1384
1395
  */
1385
1396
  handleDrop: function handleDrop(event, row, index) {
1386
1397
  if (!this.canDragRow) return;
@@ -1391,8 +1402,8 @@ var script$3 = {
1391
1402
  });
1392
1403
  },
1393
1404
 
1394
- /**
1395
- * Emits drag over event (row)
1405
+ /**
1406
+ * Emits drag over event (row)
1396
1407
  */
1397
1408
  handleDragOver: function handleDragOver(event, row, index) {
1398
1409
  if (!this.canDragRow) return;
@@ -1403,8 +1414,8 @@ var script$3 = {
1403
1414
  });
1404
1415
  },
1405
1416
 
1406
- /**
1407
- * Emits drag leave event (row)
1417
+ /**
1418
+ * Emits drag leave event (row)
1408
1419
  */
1409
1420
  handleDragLeave: function handleDragLeave(event, row, index) {
1410
1421
  if (!this.canDragRow) return;
@@ -1418,8 +1429,8 @@ var script$3 = {
1418
1429
  return this.$listeners[eventName] ? this.$emit(eventName, row, event) : null;
1419
1430
  },
1420
1431
 
1421
- /**
1422
- * Emits drag start event (column)
1432
+ /**
1433
+ * Emits drag start event (column)
1423
1434
  */
1424
1435
  handleColumnDragStart: function handleColumnDragStart(event, column, index) {
1425
1436
  if (!this.canDragColumn) return;
@@ -1431,8 +1442,8 @@ var script$3 = {
1431
1442
  });
1432
1443
  },
1433
1444
 
1434
- /**
1435
- * Emits drag leave event (column)
1445
+ /**
1446
+ * Emits drag leave event (column)
1436
1447
  */
1437
1448
  handleColumnDragEnd: function handleColumnDragEnd(event, column, index) {
1438
1449
  if (!this.canDragColumn) return;
@@ -1444,8 +1455,8 @@ var script$3 = {
1444
1455
  });
1445
1456
  },
1446
1457
 
1447
- /**
1448
- * Emits drop event (column)
1458
+ /**
1459
+ * Emits drop event (column)
1449
1460
  */
1450
1461
  handleColumnDrop: function handleColumnDrop(event, column, index) {
1451
1462
  if (!this.canDragColumn) return;
@@ -1456,8 +1467,8 @@ var script$3 = {
1456
1467
  });
1457
1468
  },
1458
1469
 
1459
- /**
1460
- * Emits drag over event (column)
1470
+ /**
1471
+ * Emits drag over event (column)
1461
1472
  */
1462
1473
  handleColumnDragOver: function handleColumnDragOver(event, column, index) {
1463
1474
  if (!this.canDragColumn) return;
@@ -1468,8 +1479,8 @@ var script$3 = {
1468
1479
  });
1469
1480
  },
1470
1481
 
1471
- /**
1472
- * Emits drag leave event (column)
1482
+ /**
1483
+ * Emits drag leave event (column)
1473
1484
  */
1474
1485
  handleColumnDragLeave: function handleColumnDragLeave(event, column, index) {
1475
1486
  if (!this.canDragColumn) return;
@@ -1494,7 +1505,7 @@ var script$3 = {
1494
1505
  const __vue_script__$3 = script$3;
1495
1506
 
1496
1507
  /* template */
1497
- var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-table"},[_vm._t("default"),(_vm.mobileCards && _vm.hasSortablenewColumns)?_c('b-table-mobile-sort',{attrs:{"current-sort-column":_vm.currentSortColumn,"sort-multiple":_vm.sortMultiple,"sort-multiple-data":_vm.sortMultipleDataComputed,"is-asc":_vm.isAsc,"columns":_vm.newColumns,"placeholder":_vm.mobileSortPlaceholder,"icon-pack":_vm.iconPack,"sort-icon":_vm.sortIcon,"sort-icon-size":_vm.sortIconSize},on:{"sort":function (column, event) { return _vm.sort(column, null, event); },"removePriority":function (column) { return _vm.removeSortingPriority(column); }}}):_vm._e(),(_vm.paginated && (_vm.paginationPosition === 'top' || _vm.paginationPosition === 'both'))?[_vm._t("pagination",[_c('b-table-pagination',_vm._b({attrs:{"per-page":_vm.perPage,"paginated":_vm.paginated,"rounded":_vm.paginationRounded,"icon-pack":_vm.iconPack,"total":_vm.newDataTotal,"current-page":_vm.newCurrentPage,"aria-next-label":_vm.ariaNextLabel,"aria-previous-label":_vm.ariaPreviousLabel,"aria-page-label":_vm.ariaPageLabel,"aria-current-label":_vm.ariaCurrentLabel},on:{"update:currentPage":function($event){_vm.newCurrentPage=$event;},"update:current-page":function($event){_vm.newCurrentPage=$event;},"page-change":function (event) { return _vm.$emit('page-change', event); }}},'b-table-pagination',_vm.$attrs,false),[_vm._t("top-left")],2)])]:_vm._e(),_c('div',{staticClass:"table-wrapper",class:_vm.tableWrapperClasses,style:(_vm.tableStyle)},[_c('table',{staticClass:"table",class:_vm.tableClasses,attrs:{"tabindex":!_vm.focusable ? false : 0},on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(-1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(1)}]}},[(_vm.caption)?_c('caption',{directives:[{name:"show",rawName:"v-show",value:(_vm.showCaption),expression:"showCaption"}]},[_vm._v(_vm._s(_vm.caption))]):_vm._e(),(_vm.newColumns.length && _vm.showHeader)?_c('thead',[_c('tr',[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isAllChecked,"disabled":_vm.isAllUncheckable},nativeOn:{"change":function($event){return _vm.checkAll($event)}}})]:_vm._e()],2):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',_vm._b({key:column.newKey + ':' + index + 'header',class:[column.thClasses, {
1508
+ var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-table"},[_vm._t("default"),(_vm.mobileCards && _vm.hasSortablenewColumns)?_c('b-table-mobile-sort',{attrs:{"current-sort-column":_vm.currentSortColumn,"sort-multiple":_vm.sortMultiple,"sort-multiple-data":_vm.sortMultipleDataComputed,"is-asc":_vm.isAsc,"columns":_vm.newColumns,"placeholder":_vm.mobileSortPlaceholder,"icon-pack":_vm.iconPack,"sort-icon":_vm.sortIcon,"sort-icon-size":_vm.sortIconSize},on:{"sort":function (column, event) { return _vm.sort(column, null, event); },"removePriority":function (column) { return _vm.removeSortingPriority(column); }}}):_vm._e(),(_vm.paginated && (_vm.paginationPosition === 'top' || _vm.paginationPosition === 'both'))?[_vm._t("pagination",[_c('b-table-pagination',_vm._b({attrs:{"per-page":_vm.perPage,"paginated":_vm.paginated,"rounded":_vm.paginationRounded,"icon-pack":_vm.iconPack,"total":_vm.newDataTotal,"current-page":_vm.newCurrentPage,"aria-next-label":_vm.ariaNextLabel,"aria-previous-label":_vm.ariaPreviousLabel,"aria-page-label":_vm.ariaPageLabel,"aria-current-label":_vm.ariaCurrentLabel,"page-input":_vm.pageInput,"pagination-order":_vm.paginationOrder,"page-input-position":_vm.pageInputPosition,"debounce-page-input":_vm.debouncePageInput},on:{"update:currentPage":function($event){_vm.newCurrentPage=$event;},"update:current-page":function($event){_vm.newCurrentPage=$event;},"page-change":function (event) { return _vm.$emit('page-change', event); }}},'b-table-pagination',_vm.$attrs,false),[_vm._t("top-left")],2)])]:_vm._e(),_c('div',{staticClass:"table-wrapper",class:_vm.tableWrapperClasses,style:(_vm.tableStyle)},[_c('table',{staticClass:"table",class:_vm.tableClasses,attrs:{"tabindex":!_vm.focusable ? false : 0},on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(-1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(1)}]}},[(_vm.caption)?_c('caption',{directives:[{name:"show",rawName:"v-show",value:(_vm.showCaption),expression:"showCaption"}]},[_vm._v(_vm._s(_vm.caption))]):_vm._e(),(_vm.newColumns.length && _vm.showHeader)?_c('thead',[_c('tr',[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isAllChecked,"disabled":_vm.isAllUncheckable},nativeOn:{"change":function($event){return _vm.checkAll($event)}}})]:_vm._e()],2):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',_vm._b({key:column.newKey + ':' + index + 'header',class:[column.thClasses, {
1498
1509
  'is-current-sort': !_vm.sortMultiple && _vm.currentSortColumn === column,
1499
1510
  }],style:(column.thStyle),attrs:{"draggable":_vm.canDragColumn},on:{"click":function($event){$event.stopPropagation();return _vm.sort(column, null, $event)},"dragstart":function($event){return _vm.handleColumnDragStart($event, column, index)},"dragend":function($event){return _vm.handleColumnDragEnd($event, column, index)},"drop":function($event){return _vm.handleColumnDrop($event, column, index)},"dragover":function($event){return _vm.handleColumnDragOver($event, column, index)},"dragleave":function($event){return _vm.handleColumnDragLeave($event, column, index)}}},'th',column.thAttrs(column),false),[_c('div',{staticClass:"th-wrap",class:{
1500
1511
  'is-numeric': column.numeric,
@@ -1514,7 +1525,7 @@ var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _
1514
1525
  'is-selected': _vm.isRowSelected(row, _vm.selected),
1515
1526
  'is-checked': _vm.isRowChecked(row),
1516
1527
  }],attrs:{"draggable":_vm.canDragRow},on:{"click":function($event){return _vm.selectRow(row)},"dblclick":function($event){return _vm.$emit('dblclick', row)},"mouseenter":function($event){return _vm.emitEventForRow('mouseenter', $event, row)},"mouseleave":function($event){return _vm.emitEventForRow('mouseleave', $event, row)},"contextmenu":function($event){return _vm.$emit('contextmenu', row, $event)},"dragstart":function($event){return _vm.handleDragStart($event, row, index)},"dragend":function($event){return _vm.handleDragEnd($event, row, index)},"drop":function($event){return _vm.handleDrop($event, row, index)},"dragover":function($event){return _vm.handleDragOver($event, row, index)},"dragleave":function($event){return _vm.handleDragLeave($event, row, index)}}},[(_vm.showDetailRowIcon)?_c('td',{staticClass:"chevron-cell"},[(_vm.hasDetailedVisible(row))?_c('a',{attrs:{"role":"button"},on:{"click":function($event){$event.stopPropagation();return _vm.toggleDetails(row)}}},[_c('b-icon',{class:{'is-expanded': _vm.isVisibleDetailRow(row)},attrs:{"icon":_vm.detailIcon,"pack":_vm.iconPack,"both":""}})],1):_vm._e()]):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('td',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[_c('b-checkbox',{attrs:{"autocomplete":"off","disabled":!_vm.isRowCheckable(row),"value":_vm.isRowChecked(row)},nativeOn:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.checkRow(row, index, $event)}}})],1):_vm._e(),_vm._l((_vm.visibleColumns),function(column,colindex){return [(column.$scopedSlots && column.$scopedSlots.default)?[_c('b-slot-component',_vm._b({key:column.newKey + ':' + index + ':' + colindex,class:column.getRootClasses(row),style:(column.getRootStyle(row)),attrs:{"component":column,"scoped":"","name":"default","tag":"td","data-label":column.label,"props":{ row: row, column: column, index: index, colindex: colindex, toggleDetails: _vm.toggleDetails }},nativeOn:{"click":function($event){return _vm.$emit('cellclick',row,column,index,colindex)}}},'b-slot-component',column.tdAttrs(row, column),false))]:_vm._e()]}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('td',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[_c('b-checkbox',{attrs:{"autocomplete":"off","disabled":!_vm.isRowCheckable(row),"value":_vm.isRowChecked(row)},nativeOn:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.checkRow(row, index, $event)}}})],1):_vm._e()],2),_c('transition',{key:(_vm.customRowKey ? row[_vm.customRowKey] : index) + 'detail',attrs:{"name":_vm.detailTransition}},[(_vm.isActiveDetailRow(row))?_c('tr',{staticClass:"detail"},[_c('td',{attrs:{"colspan":_vm.columnCount}},[_c('div',{staticClass:"detail-container"},[_vm._t("detail",null,{"row":row,"index":index})],2)])]):_vm._e()]),(_vm.isActiveCustomDetailRow(row))?_vm._t("detail",null,{"row":row,"index":index}):_vm._e()]}),(!_vm.visibleData.length)?_c('tr',{staticClass:"is-empty"},[_c('td',{attrs:{"colspan":_vm.columnCount}},[_vm._t("empty")],2)]):_vm._e()],2),(_vm.$slots.footer !== undefined)?_c('tfoot',[_c('tr',{staticClass:"table-footer"},[(_vm.hasCustomFooterSlot())?_vm._t("footer"):_c('th',{attrs:{"colspan":_vm.columnCount}},[_vm._t("footer")],2)],2)]):_vm._e()]),(_vm.loading)?[_vm._t("loading",[_c('b-loading',{attrs:{"is-full-page":false,"active":_vm.loading},on:{"update:active":function($event){_vm.loading=$event;}}})])]:_vm._e()],2),((_vm.checkable && _vm.hasBottomLeftSlot()) ||
1517
- (_vm.paginated && (_vm.paginationPosition === 'bottom' || _vm.paginationPosition === 'both')))?[_vm._t("pagination",[_c('b-table-pagination',_vm._b({attrs:{"per-page":_vm.perPage,"paginated":_vm.paginated,"rounded":_vm.paginationRounded,"icon-pack":_vm.iconPack,"total":_vm.newDataTotal,"current-page":_vm.newCurrentPage,"aria-next-label":_vm.ariaNextLabel,"aria-previous-label":_vm.ariaPreviousLabel,"aria-page-label":_vm.ariaPageLabel,"aria-current-label":_vm.ariaCurrentLabel},on:{"update:currentPage":function($event){_vm.newCurrentPage=$event;},"update:current-page":function($event){_vm.newCurrentPage=$event;},"page-change":function (event) { return _vm.$emit('page-change', event); }}},'b-table-pagination',_vm.$attrs,false),[_vm._t("bottom-left")],2)])]:_vm._e()],2)};
1528
+ (_vm.paginated && (_vm.paginationPosition === 'bottom' || _vm.paginationPosition === 'both')))?[_vm._t("pagination",[_c('b-table-pagination',_vm._b({attrs:{"per-page":_vm.perPage,"paginated":_vm.paginated,"rounded":_vm.paginationRounded,"icon-pack":_vm.iconPack,"total":_vm.newDataTotal,"current-page":_vm.newCurrentPage,"aria-next-label":_vm.ariaNextLabel,"aria-previous-label":_vm.ariaPreviousLabel,"aria-page-label":_vm.ariaPageLabel,"aria-current-label":_vm.ariaCurrentLabel,"page-input":_vm.pageInput,"pagination-order":_vm.paginationOrder,"page-input-position":_vm.pageInputPosition,"debounce-page-input":_vm.debouncePageInput},on:{"update:currentPage":function($event){_vm.newCurrentPage=$event;},"update:current-page":function($event){_vm.newCurrentPage=$event;},"page-change":function (event) { return _vm.$emit('page-change', event); }}},'b-table-pagination',_vm.$attrs,false),[_vm._t("bottom-left")],2)])]:_vm._e()],2)};
1518
1529
  var __vue_staticRenderFns__$2 = [];
1519
1530
 
1520
1531
  /* style */