buefy 0.9.26 → 0.9.28

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 (259) hide show
  1. package/README.md +3 -1
  2. package/dist/buefy.css +15904 -0
  3. package/dist/buefy.esm.js +17883 -0
  4. package/dist/buefy.esm.min.js +2 -0
  5. package/dist/buefy.js +17967 -0
  6. package/dist/buefy.min.css +1 -0
  7. package/dist/buefy.min.js +2 -0
  8. package/dist/cjs/Autocomplete-7a39c5ce.js +673 -0
  9. package/dist/cjs/Button-01827709.js +114 -0
  10. package/dist/cjs/CheckRadioMixin-c910f2ed.js +45 -0
  11. package/dist/cjs/Checkbox-43f54cc7.js +70 -0
  12. package/dist/cjs/Datepicker-680659bc.js +1679 -0
  13. package/dist/cjs/DropdownItem-422f8c34.js +559 -0
  14. package/dist/cjs/Field-4557b10c.js +315 -0
  15. package/dist/cjs/FormElementMixin-193a88b8.js +163 -0
  16. package/dist/cjs/Icon-78961800.js +189 -0
  17. package/dist/cjs/Image-c4bcd9b3.js +299 -0
  18. package/dist/cjs/InjectedChildMixin-d6bf7f91.js +135 -0
  19. package/dist/cjs/Input-e5a72d97.js +248 -0
  20. package/dist/cjs/Loading-6f2c7075.js +150 -0
  21. package/dist/cjs/MessageMixin-8d959514.js +146 -0
  22. package/dist/cjs/Modal-4cf07210.js +278 -0
  23. package/dist/cjs/NoticeMixin-01121bd2.js +154 -0
  24. package/dist/cjs/Pagination-d6b3fb85.js +413 -0
  25. package/dist/cjs/Select-2b3879bc.js +100 -0
  26. package/dist/cjs/SlotComponent-4fb48389.js +53 -0
  27. package/dist/cjs/TabbedChildMixin-907cad32.js +222 -0
  28. package/dist/cjs/Tag-437f65fb.js +154 -0
  29. package/dist/cjs/Timepicker-498fa02b.js +67 -0
  30. package/dist/cjs/TimepickerMixin-6c1a4ab4.js +661 -0
  31. package/dist/cjs/Tooltip-c1df7ee3.js +370 -0
  32. package/dist/cjs/_rollupPluginBabelHelpers-8b2e54ad.js +365 -0
  33. package/dist/cjs/autocomplete.js +22 -0
  34. package/dist/cjs/breadcrumb.js +139 -0
  35. package/dist/cjs/button.js +20 -0
  36. package/dist/cjs/carousel.js +662 -0
  37. package/dist/cjs/checkbox.js +86 -0
  38. package/dist/cjs/clockpicker.js +461 -0
  39. package/dist/cjs/collapse.js +128 -0
  40. package/dist/cjs/colorpicker.js +23 -0
  41. package/dist/cjs/config-8cfb5a4a.js +81 -0
  42. package/dist/cjs/config.js +18 -0
  43. package/dist/cjs/datepicker.js +27 -0
  44. package/dist/cjs/datetimepicker.js +377 -0
  45. package/dist/cjs/dialog.js +308 -0
  46. package/dist/cjs/dropdown.js +23 -0
  47. package/dist/cjs/field.js +18 -0
  48. package/dist/cjs/helpers.js +375 -0
  49. package/dist/cjs/icon.js +19 -0
  50. package/dist/cjs/image.js +19 -0
  51. package/dist/cjs/index-99d1c930.js +1633 -0
  52. package/dist/cjs/index.js +216 -0
  53. package/dist/cjs/input.js +21 -0
  54. package/dist/cjs/loading.js +38 -0
  55. package/dist/cjs/menu.js +304 -0
  56. package/dist/cjs/message.js +67 -0
  57. package/dist/cjs/modal.js +59 -0
  58. package/dist/cjs/navbar.js +679 -0
  59. package/dist/cjs/notification.js +181 -0
  60. package/dist/cjs/numberinput.js +278 -0
  61. package/dist/cjs/pagination.js +22 -0
  62. package/dist/cjs/plugins-7f41b028.js +94 -0
  63. package/dist/cjs/progress.js +239 -0
  64. package/dist/cjs/radio.js +130 -0
  65. package/dist/cjs/rate.js +156 -0
  66. package/dist/cjs/select.js +21 -0
  67. package/dist/cjs/sidebar.js +303 -0
  68. package/dist/cjs/skeleton.js +111 -0
  69. package/dist/cjs/slider.js +603 -0
  70. package/dist/cjs/snackbar.js +132 -0
  71. package/dist/cjs/ssr-20dba236.js +10 -0
  72. package/dist/cjs/steps.js +278 -0
  73. package/dist/cjs/switch.js +139 -0
  74. package/dist/cjs/table.js +1695 -0
  75. package/dist/cjs/tabs.js +214 -0
  76. package/dist/cjs/tag.js +70 -0
  77. package/dist/cjs/taginput.js +331 -0
  78. package/dist/cjs/timepicker.js +28 -0
  79. package/dist/cjs/toast.js +106 -0
  80. package/dist/cjs/tooltip.js +19 -0
  81. package/dist/cjs/trapFocus-261420b0.js +49 -0
  82. package/dist/cjs/upload.js +205 -0
  83. package/dist/components/autocomplete/index.js +1620 -0
  84. package/dist/components/autocomplete/index.min.js +2 -0
  85. package/dist/components/breadcrumb/index.js +297 -0
  86. package/dist/components/breadcrumb/index.min.js +2 -0
  87. package/dist/components/button/index.js +569 -0
  88. package/dist/components/button/index.min.js +2 -0
  89. package/dist/components/carousel/index.js +1629 -0
  90. package/dist/components/carousel/index.min.js +2 -0
  91. package/dist/components/checkbox/index.js +279 -0
  92. package/dist/components/checkbox/index.min.js +2 -0
  93. package/dist/components/clockpicker/index.js +3131 -0
  94. package/dist/components/clockpicker/index.min.js +2 -0
  95. package/dist/components/collapse/index.js +217 -0
  96. package/dist/components/collapse/index.min.js +2 -0
  97. package/dist/components/colorpicker/index.js +4249 -0
  98. package/dist/components/colorpicker/index.min.js +2 -0
  99. package/dist/components/datepicker/index.js +3845 -0
  100. package/dist/components/datepicker/index.min.js +2 -0
  101. package/dist/components/datetimepicker/index.js +4902 -0
  102. package/dist/components/datetimepicker/index.min.js +2 -0
  103. package/dist/components/dialog/index.js +1168 -0
  104. package/dist/components/dialog/index.min.js +2 -0
  105. package/dist/components/dropdown/index.js +1043 -0
  106. package/dist/components/dropdown/index.min.js +2 -0
  107. package/dist/components/field/index.js +511 -0
  108. package/dist/components/field/index.min.js +2 -0
  109. package/dist/components/icon/index.js +463 -0
  110. package/dist/components/icon/index.min.js +2 -0
  111. package/dist/components/image/index.js +513 -0
  112. package/dist/components/image/index.min.js +2 -0
  113. package/dist/components/input/index.js +862 -0
  114. package/dist/components/input/index.min.js +2 -0
  115. package/dist/components/loading/index.js +366 -0
  116. package/dist/components/loading/index.min.js +2 -0
  117. package/dist/components/menu/index.js +748 -0
  118. package/dist/components/menu/index.min.js +2 -0
  119. package/dist/components/message/index.js +650 -0
  120. package/dist/components/message/index.min.js +2 -0
  121. package/dist/components/modal/index.js +624 -0
  122. package/dist/components/modal/index.min.js +2 -0
  123. package/dist/components/navbar/index.js +805 -0
  124. package/dist/components/navbar/index.min.js +2 -0
  125. package/dist/components/notification/index.js +923 -0
  126. package/dist/components/notification/index.min.js +2 -0
  127. package/dist/components/numberinput/index.js +1119 -0
  128. package/dist/components/numberinput/index.min.js +2 -0
  129. package/dist/components/pagination/index.js +868 -0
  130. package/dist/components/pagination/index.min.js +2 -0
  131. package/dist/components/progress/index.js +621 -0
  132. package/dist/components/progress/index.min.js +2 -0
  133. package/dist/components/radio/index.js +260 -0
  134. package/dist/components/radio/index.min.js +2 -0
  135. package/dist/components/rate/index.js +600 -0
  136. package/dist/components/rate/index.min.js +2 -0
  137. package/dist/components/select/index.js +715 -0
  138. package/dist/components/select/index.min.js +2 -0
  139. package/dist/components/sidebar/index.js +467 -0
  140. package/dist/components/sidebar/index.min.js +2 -0
  141. package/dist/components/skeleton/index.js +200 -0
  142. package/dist/components/skeleton/index.min.js +2 -0
  143. package/dist/components/slider/index.js +1264 -0
  144. package/dist/components/slider/index.min.js +2 -0
  145. package/dist/components/snackbar/index.js +527 -0
  146. package/dist/components/snackbar/index.min.js +2 -0
  147. package/dist/components/steps/index.js +1180 -0
  148. package/dist/components/steps/index.min.js +2 -0
  149. package/dist/components/switch/index.js +297 -0
  150. package/dist/components/switch/index.min.js +2 -0
  151. package/dist/components/table/index.js +3480 -0
  152. package/dist/components/table/index.min.js +2 -0
  153. package/dist/components/tabs/index.js +1116 -0
  154. package/dist/components/tabs/index.min.js +2 -0
  155. package/dist/components/tag/index.js +307 -0
  156. package/dist/components/tag/index.min.js +2 -0
  157. package/dist/components/taginput/index.js +2104 -0
  158. package/dist/components/taginput/index.min.js +2 -0
  159. package/dist/components/timepicker/index.js +2843 -0
  160. package/dist/components/timepicker/index.min.js +2 -0
  161. package/dist/components/toast/index.js +501 -0
  162. package/dist/components/toast/index.min.js +2 -0
  163. package/dist/components/tooltip/index.js +630 -0
  164. package/dist/components/tooltip/index.min.js +2 -0
  165. package/dist/components/upload/index.js +525 -0
  166. package/dist/components/upload/index.min.js +2 -0
  167. package/dist/esm/Autocomplete-1a6e8770.js +671 -0
  168. package/dist/esm/Button-521f6efc.js +112 -0
  169. package/dist/esm/CheckRadioMixin-e726a83c.js +43 -0
  170. package/dist/esm/Checkbox-1d02686e.js +68 -0
  171. package/dist/esm/Datepicker-0ae1e826.js +1677 -0
  172. package/dist/esm/DropdownItem-55682322.js +556 -0
  173. package/dist/esm/Field-3ceba31e.js +313 -0
  174. package/dist/esm/FormElementMixin-b223d3c7.js +161 -0
  175. package/dist/esm/Icon-60d47b31.js +187 -0
  176. package/dist/esm/Image-75808acb.js +297 -0
  177. package/dist/esm/InjectedChildMixin-b4220787.js +130 -0
  178. package/dist/esm/Input-20612b63.js +246 -0
  179. package/dist/esm/Loading-ae028ea5.js +148 -0
  180. package/dist/esm/MessageMixin-d577a9f5.js +144 -0
  181. package/dist/esm/Modal-7da7641f.js +276 -0
  182. package/dist/esm/NoticeMixin-bd6f61d9.js +152 -0
  183. package/dist/esm/Pagination-68f12c1e.js +409 -0
  184. package/dist/esm/Select-97781d4e.js +98 -0
  185. package/dist/esm/SlotComponent-8871a20f.js +51 -0
  186. package/dist/esm/TabbedChildMixin-bcb13767.js +219 -0
  187. package/dist/esm/Tag-6365aa46.js +152 -0
  188. package/dist/esm/Timepicker-38480bbc.js +65 -0
  189. package/dist/esm/TimepickerMixin-d736b0a9.js +659 -0
  190. package/dist/esm/Tooltip-d98a769c.js +368 -0
  191. package/dist/esm/_rollupPluginBabelHelpers-df313029.js +350 -0
  192. package/dist/esm/autocomplete.js +18 -0
  193. package/dist/esm/breadcrumb.js +133 -0
  194. package/dist/esm/button.js +16 -0
  195. package/dist/esm/carousel.js +655 -0
  196. package/dist/esm/checkbox.js +81 -0
  197. package/dist/esm/clockpicker.js +456 -0
  198. package/dist/esm/collapse.js +123 -0
  199. package/dist/esm/colorpicker.js +14 -0
  200. package/dist/esm/config-e7d4b9c2.js +78 -0
  201. package/dist/esm/config.js +14 -0
  202. package/dist/esm/datepicker.js +23 -0
  203. package/dist/esm/datetimepicker.js +372 -0
  204. package/dist/esm/dialog.js +302 -0
  205. package/dist/esm/dropdown.js +18 -0
  206. package/dist/esm/field.js +14 -0
  207. package/dist/esm/helpers.js +348 -0
  208. package/dist/esm/icon.js +15 -0
  209. package/dist/esm/image.js +15 -0
  210. package/dist/esm/index-903f63ea.js +1629 -0
  211. package/dist/esm/index.js +182 -0
  212. package/dist/esm/input.js +17 -0
  213. package/dist/esm/loading.js +33 -0
  214. package/dist/esm/menu.js +297 -0
  215. package/dist/esm/message.js +62 -0
  216. package/dist/esm/modal.js +54 -0
  217. package/dist/esm/navbar.js +672 -0
  218. package/dist/esm/notification.js +175 -0
  219. package/dist/esm/numberinput.js +273 -0
  220. package/dist/esm/pagination.js +17 -0
  221. package/dist/esm/plugins-218aea86.js +89 -0
  222. package/dist/esm/progress.js +233 -0
  223. package/dist/esm/radio.js +124 -0
  224. package/dist/esm/rate.js +151 -0
  225. package/dist/esm/select.js +17 -0
  226. package/dist/esm/sidebar.js +298 -0
  227. package/dist/esm/skeleton.js +106 -0
  228. package/dist/esm/slider.js +597 -0
  229. package/dist/esm/snackbar.js +126 -0
  230. package/dist/esm/ssr-b847d137.js +7 -0
  231. package/dist/esm/steps.js +272 -0
  232. package/dist/esm/switch.js +134 -0
  233. package/dist/esm/table.js +1689 -0
  234. package/dist/esm/tabs.js +208 -0
  235. package/dist/esm/tag.js +65 -0
  236. package/dist/esm/taginput.js +326 -0
  237. package/dist/esm/timepicker.js +24 -0
  238. package/dist/esm/toast.js +100 -0
  239. package/dist/esm/tooltip.js +15 -0
  240. package/dist/esm/trapFocus-f0736873.js +47 -0
  241. package/dist/esm/upload.js +200 -0
  242. package/dist/vetur/attributes.json +3238 -0
  243. package/dist/vetur/tags.json +1183 -0
  244. package/package.json +3 -3
  245. package/src/components/autocomplete/Autocomplete.spec.js +16 -0
  246. package/src/components/autocomplete/Autocomplete.vue +9 -3
  247. package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.vue +2 -0
  248. package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.vue +2 -0
  249. package/src/components/dropdown/Dropdown.vue +51 -3
  250. package/src/components/numberinput/Numberinput.vue +4 -0
  251. package/src/components/sidebar/Sidebar.vue +1 -0
  252. package/src/components/slider/Slider.vue +7 -2
  253. package/src/components/slider/SliderThumb.vue +8 -0
  254. package/src/components/table/Table.vue +4 -1
  255. package/src/components/table/TableColumn.spec.js +51 -0
  256. package/src/components/table/TableColumn.vue +8 -1
  257. package/src/components/taginput/Taginput.vue +7 -2
  258. package/src/components/tooltip/Tooltip.vue +10 -3
  259. package/src/scss/components/_dropdown.scss +4 -2
@@ -0,0 +1,569 @@
1
+ /*! Buefy v0.9.28 | MIT License | github.com/buefy/buefy */
2
+ (function (global, factory) {
3
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
5
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Button = {}));
6
+ })(this, (function (exports) { 'use strict';
7
+
8
+ function ownKeys(e, r) {
9
+ var t = Object.keys(e);
10
+ if (Object.getOwnPropertySymbols) {
11
+ var o = Object.getOwnPropertySymbols(e);
12
+ r && (o = o.filter(function (r) {
13
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
14
+ })), t.push.apply(t, o);
15
+ }
16
+ return t;
17
+ }
18
+ function _objectSpread2(e) {
19
+ for (var r = 1; r < arguments.length; r++) {
20
+ var t = null != arguments[r] ? arguments[r] : {};
21
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
22
+ _defineProperty(e, r, t[r]);
23
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
24
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
25
+ });
26
+ }
27
+ return e;
28
+ }
29
+ function _toPrimitive(t, r) {
30
+ if ("object" != typeof t || !t) return t;
31
+ var e = t[Symbol.toPrimitive];
32
+ if (void 0 !== e) {
33
+ var i = e.call(t, r || "default");
34
+ if ("object" != typeof i) return i;
35
+ throw new TypeError("@@toPrimitive must return a primitive value.");
36
+ }
37
+ return ("string" === r ? String : Number)(t);
38
+ }
39
+ function _toPropertyKey(t) {
40
+ var i = _toPrimitive(t, "string");
41
+ return "symbol" == typeof i ? i : String(i);
42
+ }
43
+ function _typeof(o) {
44
+ "@babel/helpers - typeof";
45
+
46
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
47
+ return typeof o;
48
+ } : function (o) {
49
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
50
+ }, _typeof(o);
51
+ }
52
+ function _defineProperty(obj, key, value) {
53
+ key = _toPropertyKey(key);
54
+ if (key in obj) {
55
+ Object.defineProperty(obj, key, {
56
+ value: value,
57
+ enumerable: true,
58
+ configurable: true,
59
+ writable: true
60
+ });
61
+ } else {
62
+ obj[key] = value;
63
+ }
64
+ return obj;
65
+ }
66
+ function _toArray(arr) {
67
+ return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
68
+ }
69
+ function _arrayWithHoles(arr) {
70
+ if (Array.isArray(arr)) return arr;
71
+ }
72
+ function _iterableToArray(iter) {
73
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
74
+ }
75
+ function _unsupportedIterableToArray(o, minLen) {
76
+ if (!o) return;
77
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
78
+ var n = Object.prototype.toString.call(o).slice(8, -1);
79
+ if (n === "Object" && o.constructor) n = o.constructor.name;
80
+ if (n === "Map" || n === "Set") return Array.from(o);
81
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
82
+ }
83
+ function _arrayLikeToArray(arr, len) {
84
+ if (len == null || len > arr.length) len = arr.length;
85
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
86
+ return arr2;
87
+ }
88
+ function _nonIterableRest() {
89
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
90
+ }
91
+
92
+ var config = {
93
+ defaultContainerElement: null,
94
+ defaultIconPack: 'mdi',
95
+ defaultIconComponent: null,
96
+ defaultIconPrev: 'chevron-left',
97
+ defaultIconNext: 'chevron-right',
98
+ defaultLocale: undefined,
99
+ defaultDialogConfirmText: null,
100
+ defaultDialogCancelText: null,
101
+ defaultSnackbarDuration: 3500,
102
+ defaultSnackbarPosition: null,
103
+ defaultToastDuration: 2000,
104
+ defaultToastPosition: null,
105
+ defaultNotificationDuration: 2000,
106
+ defaultNotificationPosition: null,
107
+ defaultTooltipType: 'is-primary',
108
+ defaultTooltipDelay: null,
109
+ defaultTooltipCloseDelay: null,
110
+ defaultSidebarDelay: null,
111
+ defaultInputAutocomplete: 'on',
112
+ defaultDateFormatter: null,
113
+ defaultDateParser: null,
114
+ defaultDateCreator: null,
115
+ defaultTimeCreator: null,
116
+ defaultDayNames: null,
117
+ defaultMonthNames: null,
118
+ defaultFirstDayOfWeek: null,
119
+ defaultUnselectableDaysOfWeek: null,
120
+ defaultTimeFormatter: null,
121
+ defaultTimeParser: null,
122
+ defaultModalCanCancel: ['escape', 'x', 'outside', 'button'],
123
+ defaultModalScroll: null,
124
+ defaultDatepickerMobileNative: true,
125
+ defaultTimepickerMobileNative: true,
126
+ defaultTimepickerMobileModal: true,
127
+ defaultNoticeQueue: true,
128
+ defaultInputHasCounter: true,
129
+ defaultTaginputHasCounter: true,
130
+ defaultUseHtml5Validation: true,
131
+ defaultDropdownMobileModal: true,
132
+ defaultFieldLabelPosition: null,
133
+ defaultDatepickerYearsRange: [-100, 10],
134
+ defaultDatepickerNearbyMonthDays: true,
135
+ defaultDatepickerNearbySelectableMonthDays: false,
136
+ defaultDatepickerShowWeekNumber: false,
137
+ defaultDatepickerWeekNumberClickable: false,
138
+ defaultDatepickerMobileModal: true,
139
+ defaultTrapFocus: true,
140
+ defaultAutoFocus: true,
141
+ defaultButtonRounded: false,
142
+ defaultSwitchRounded: true,
143
+ defaultCarouselInterval: 3500,
144
+ defaultTabsExpanded: false,
145
+ defaultTabsAnimated: true,
146
+ defaultTabsType: null,
147
+ defaultStatusIcon: true,
148
+ defaultProgrammaticPromise: false,
149
+ defaultLinkTags: ['a', 'button', 'input', 'router-link', 'nuxt-link', 'n-link', 'RouterLink', 'NuxtLink', 'NLink'],
150
+ defaultImageWebpFallback: null,
151
+ defaultImageLazy: true,
152
+ defaultImageResponsive: true,
153
+ defaultImageRatio: null,
154
+ defaultImageSrcsetFormatter: null,
155
+ defaultBreadcrumbTag: 'a',
156
+ defaultBreadcrumbAlign: 'is-left',
157
+ defaultBreadcrumbSeparator: '',
158
+ defaultBreadcrumbSize: 'is-medium',
159
+ customIconPacks: null
160
+ };
161
+
162
+ /**
163
+ * Merge function to replace Object.assign with deep merging possibility
164
+ */
165
+ var isObject = function isObject(item) {
166
+ return _typeof(item) === 'object' && !Array.isArray(item);
167
+ };
168
+ var mergeFn = function mergeFn(target, source) {
169
+ var deep = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
170
+ if (deep || !Object.assign) {
171
+ var isDeep = function isDeep(prop) {
172
+ return isObject(source[prop]) && target !== null && target.hasOwnProperty(prop) && isObject(target[prop]);
173
+ };
174
+ var replaced = Object.getOwnPropertyNames(source).map(function (prop) {
175
+ return _defineProperty({}, prop, isDeep(prop) ? mergeFn(target[prop], source[prop], deep) : source[prop]);
176
+ }).reduce(function (a, b) {
177
+ return _objectSpread2(_objectSpread2({}, a), b);
178
+ }, {});
179
+ return _objectSpread2(_objectSpread2({}, target), replaced);
180
+ } else {
181
+ return Object.assign(target, source);
182
+ }
183
+ };
184
+ var merge = mergeFn;
185
+
186
+ var mdiIcons = {
187
+ sizes: {
188
+ 'default': 'mdi-24px',
189
+ 'is-small': null,
190
+ 'is-medium': 'mdi-36px',
191
+ 'is-large': 'mdi-48px'
192
+ },
193
+ iconPrefix: 'mdi-'
194
+ };
195
+ var faIcons = function faIcons() {
196
+ var faIconPrefix = config && config.defaultIconComponent ? '' : 'fa-';
197
+ return {
198
+ sizes: {
199
+ 'default': null,
200
+ 'is-small': null,
201
+ 'is-medium': faIconPrefix + 'lg',
202
+ 'is-large': faIconPrefix + '2x'
203
+ },
204
+ iconPrefix: faIconPrefix,
205
+ internalIcons: {
206
+ 'information': 'info-circle',
207
+ 'alert': 'exclamation-triangle',
208
+ 'alert-circle': 'exclamation-circle',
209
+ 'chevron-right': 'angle-right',
210
+ 'chevron-left': 'angle-left',
211
+ 'chevron-down': 'angle-down',
212
+ 'eye-off': 'eye-slash',
213
+ 'menu-down': 'caret-down',
214
+ 'menu-up': 'caret-up',
215
+ 'close-circle': 'times-circle'
216
+ }
217
+ };
218
+ };
219
+ var getIcons = function getIcons() {
220
+ var icons = {
221
+ mdi: mdiIcons,
222
+ fa: faIcons(),
223
+ fas: faIcons(),
224
+ far: faIcons(),
225
+ fad: faIcons(),
226
+ fab: faIcons(),
227
+ fal: faIcons(),
228
+ 'fa-solid': faIcons(),
229
+ 'fa-regular': faIcons(),
230
+ 'fa-light': faIcons(),
231
+ 'fa-thin': faIcons(),
232
+ 'fa-duotone': faIcons(),
233
+ 'fa-brands': faIcons()
234
+ };
235
+ if (config && config.customIconPacks) {
236
+ icons = merge(icons, config.customIconPacks, true);
237
+ }
238
+ return icons;
239
+ };
240
+ var getIcons$1 = getIcons;
241
+
242
+ var script$1 = {
243
+ name: 'BIcon',
244
+ props: {
245
+ type: [String, Object],
246
+ component: String,
247
+ pack: String,
248
+ icon: String,
249
+ size: String,
250
+ customSize: String,
251
+ customClass: String,
252
+ both: Boolean // This is used internally to show both MDI and FA icon
253
+ },
254
+ computed: {
255
+ iconConfig: function iconConfig() {
256
+ var allIcons = getIcons$1();
257
+ return allIcons[this.newPack];
258
+ },
259
+ iconPrefix: function iconPrefix() {
260
+ if (this.iconConfig && this.iconConfig.iconPrefix) {
261
+ return this.iconConfig.iconPrefix;
262
+ }
263
+ return '';
264
+ },
265
+ /**
266
+ * Internal icon name based on the pack.
267
+ * If pack is 'fa', gets the equivalent FA icon name of the MDI,
268
+ * internal icons are always MDI.
269
+ */
270
+ newIcon: function newIcon() {
271
+ return "".concat(this.iconPrefix).concat(this.getEquivalentIconOf(this.icon));
272
+ },
273
+ newPack: function newPack() {
274
+ return this.pack || config.defaultIconPack;
275
+ },
276
+ newType: function newType() {
277
+ if (!this.type) return;
278
+ var splitType = [];
279
+ if (typeof this.type === 'string') {
280
+ splitType = this.type.split('-');
281
+ } else {
282
+ for (var key in this.type) {
283
+ if (this.type[key]) {
284
+ splitType = key.split('-');
285
+ break;
286
+ }
287
+ }
288
+ }
289
+ if (splitType.length <= 1) return;
290
+ var _splitType = splitType,
291
+ _splitType2 = _toArray(_splitType),
292
+ type = _splitType2.slice(1);
293
+ return "has-text-".concat(type.join('-'));
294
+ },
295
+ newCustomSize: function newCustomSize() {
296
+ return this.customSize || this.customSizeByPack;
297
+ },
298
+ customSizeByPack: function customSizeByPack() {
299
+ if (this.iconConfig && this.iconConfig.sizes) {
300
+ if (this.size && this.iconConfig.sizes[this.size] !== undefined) {
301
+ return this.iconConfig.sizes[this.size];
302
+ } else if (this.iconConfig.sizes.default) {
303
+ return this.iconConfig.sizes.default;
304
+ }
305
+ }
306
+ return null;
307
+ },
308
+ useIconComponent: function useIconComponent() {
309
+ return this.component || config.defaultIconComponent;
310
+ }
311
+ },
312
+ methods: {
313
+ /**
314
+ * Equivalent icon name of the MDI.
315
+ */
316
+ getEquivalentIconOf: function getEquivalentIconOf(value) {
317
+ // Only transform the class if the both prop is set to true
318
+ if (!this.both) {
319
+ return value;
320
+ }
321
+ if (this.iconConfig && this.iconConfig.internalIcons && this.iconConfig.internalIcons[value]) {
322
+ return this.iconConfig.internalIcons[value];
323
+ }
324
+ return value;
325
+ }
326
+ }
327
+ };
328
+
329
+ function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
330
+ if (typeof shadowMode !== 'boolean') {
331
+ createInjectorSSR = createInjector;
332
+ createInjector = shadowMode;
333
+ shadowMode = false;
334
+ }
335
+ // Vue.extend constructor export interop.
336
+ const options = typeof script === 'function' ? script.options : script;
337
+ // render functions
338
+ if (template && template.render) {
339
+ options.render = template.render;
340
+ options.staticRenderFns = template.staticRenderFns;
341
+ options._compiled = true;
342
+ // functional template
343
+ if (isFunctionalTemplate) {
344
+ options.functional = true;
345
+ }
346
+ }
347
+ // scopedId
348
+ if (scopeId) {
349
+ options._scopeId = scopeId;
350
+ }
351
+ let hook;
352
+ if (moduleIdentifier) {
353
+ // server build
354
+ hook = function (context) {
355
+ // 2.3 injection
356
+ context =
357
+ context || // cached call
358
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
359
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
360
+ // 2.2 with runInNewContext: true
361
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
362
+ context = __VUE_SSR_CONTEXT__;
363
+ }
364
+ // inject component styles
365
+ if (style) {
366
+ style.call(this, createInjectorSSR(context));
367
+ }
368
+ // register component module identifier for async chunk inference
369
+ if (context && context._registeredComponents) {
370
+ context._registeredComponents.add(moduleIdentifier);
371
+ }
372
+ };
373
+ // used by ssr in case component is cached and beforeCreate
374
+ // never gets called
375
+ options._ssrRegister = hook;
376
+ }
377
+ else if (style) {
378
+ hook = shadowMode
379
+ ? function (context) {
380
+ style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
381
+ }
382
+ : function (context) {
383
+ style.call(this, createInjector(context));
384
+ };
385
+ }
386
+ if (hook) {
387
+ if (options.functional) {
388
+ // register for functional component in vue file
389
+ const originalRender = options.render;
390
+ options.render = function renderWithStyleInjection(h, context) {
391
+ hook.call(context);
392
+ return originalRender(h, context);
393
+ };
394
+ }
395
+ else {
396
+ // inject component registration as beforeCreate hook
397
+ const existing = options.beforeCreate;
398
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
399
+ }
400
+ }
401
+ return script;
402
+ }
403
+
404
+ /* script */
405
+ const __vue_script__$1 = script$1;
406
+
407
+ /* template */
408
+ var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:"icon",class:[_vm.newType, _vm.size]},[(!_vm.useIconComponent)?_c('i',{class:[_vm.newPack, _vm.newIcon, _vm.newCustomSize, _vm.customClass]}):_c(_vm.useIconComponent,{tag:"component",class:[_vm.customClass],attrs:{"icon":[_vm.newPack, _vm.newIcon],"size":_vm.newCustomSize}})],1)};
409
+ var __vue_staticRenderFns__$1 = [];
410
+
411
+ /* style */
412
+ const __vue_inject_styles__$1 = undefined;
413
+ /* scoped */
414
+ const __vue_scope_id__$1 = undefined;
415
+ /* module identifier */
416
+ const __vue_module_identifier__$1 = undefined;
417
+ /* functional template */
418
+ const __vue_is_functional_template__$1 = false;
419
+ /* style inject */
420
+
421
+ /* style inject SSR */
422
+
423
+ /* style inject shadow dom */
424
+
425
+
426
+
427
+ const __vue_component__$1 = /*#__PURE__*/normalizeComponent(
428
+ { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
429
+ __vue_inject_styles__$1,
430
+ __vue_script__$1,
431
+ __vue_scope_id__$1,
432
+ __vue_is_functional_template__$1,
433
+ __vue_module_identifier__$1,
434
+ false,
435
+ undefined,
436
+ undefined,
437
+ undefined
438
+ );
439
+
440
+ var Icon = __vue_component__$1;
441
+
442
+ var script = {
443
+ name: 'BButton',
444
+ components: _defineProperty({}, Icon.name, Icon),
445
+ inheritAttrs: false,
446
+ props: {
447
+ type: [String, Object],
448
+ size: String,
449
+ label: String,
450
+ iconPack: String,
451
+ iconLeft: String,
452
+ iconRight: String,
453
+ rounded: {
454
+ type: Boolean,
455
+ default: function _default() {
456
+ return config.defaultButtonRounded;
457
+ }
458
+ },
459
+ loading: Boolean,
460
+ outlined: Boolean,
461
+ expanded: Boolean,
462
+ inverted: Boolean,
463
+ focused: Boolean,
464
+ active: Boolean,
465
+ hovered: Boolean,
466
+ selected: Boolean,
467
+ nativeType: {
468
+ type: String,
469
+ default: 'button',
470
+ validator: function validator(value) {
471
+ return ['button', 'submit', 'reset'].indexOf(value) >= 0;
472
+ }
473
+ },
474
+ tag: {
475
+ type: String,
476
+ default: 'button',
477
+ validator: function validator(value) {
478
+ return config.defaultLinkTags.indexOf(value) >= 0;
479
+ }
480
+ }
481
+ },
482
+ computed: {
483
+ computedTag: function computedTag() {
484
+ if (this.$attrs.disabled !== undefined && this.$attrs.disabled !== false) {
485
+ return 'button';
486
+ }
487
+ return this.tag;
488
+ },
489
+ iconSize: function iconSize() {
490
+ if (!this.size || this.size === 'is-medium') {
491
+ return 'is-small';
492
+ } else if (this.size === 'is-large') {
493
+ return 'is-medium';
494
+ }
495
+ return this.size;
496
+ }
497
+ }
498
+ };
499
+
500
+ /* script */
501
+ const __vue_script__ = script;
502
+
503
+ /* template */
504
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.computedTag,_vm._g(_vm._b({tag:"component",staticClass:"button",class:[_vm.size, _vm.type, {
505
+ 'is-rounded': _vm.rounded,
506
+ 'is-loading': _vm.loading,
507
+ 'is-outlined': _vm.outlined,
508
+ 'is-fullwidth': _vm.expanded,
509
+ 'is-inverted': _vm.inverted,
510
+ 'is-focused': _vm.focused,
511
+ 'is-active': _vm.active,
512
+ 'is-hovered': _vm.hovered,
513
+ 'is-selected': _vm.selected
514
+ }],attrs:{"type":['button', 'input'].includes(_vm.computedTag) ? _vm.nativeType : undefined}},'component',_vm.$attrs,false),_vm.$listeners),[(_vm.iconLeft)?_c('b-icon',{attrs:{"pack":_vm.iconPack,"icon":_vm.iconLeft,"size":_vm.iconSize}}):_vm._e(),(_vm.label)?_c('span',[_vm._v(_vm._s(_vm.label))]):(_vm.$slots.default)?_c('span',[_vm._t("default")],2):_vm._e(),(_vm.iconRight)?_c('b-icon',{attrs:{"pack":_vm.iconPack,"icon":_vm.iconRight,"size":_vm.iconSize}}):_vm._e()],1)};
515
+ var __vue_staticRenderFns__ = [];
516
+
517
+ /* style */
518
+ const __vue_inject_styles__ = undefined;
519
+ /* scoped */
520
+ const __vue_scope_id__ = undefined;
521
+ /* module identifier */
522
+ const __vue_module_identifier__ = undefined;
523
+ /* functional template */
524
+ const __vue_is_functional_template__ = false;
525
+ /* style inject */
526
+
527
+ /* style inject SSR */
528
+
529
+ /* style inject shadow dom */
530
+
531
+
532
+
533
+ const __vue_component__ = /*#__PURE__*/normalizeComponent(
534
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
535
+ __vue_inject_styles__,
536
+ __vue_script__,
537
+ __vue_scope_id__,
538
+ __vue_is_functional_template__,
539
+ __vue_module_identifier__,
540
+ false,
541
+ undefined,
542
+ undefined,
543
+ undefined
544
+ );
545
+
546
+ var Button = __vue_component__;
547
+
548
+ var use = function use(plugin) {
549
+ if (typeof window !== 'undefined' && window.Vue) {
550
+ window.Vue.use(plugin);
551
+ }
552
+ };
553
+ var registerComponent = function registerComponent(Vue, component) {
554
+ Vue.component(component.name, component);
555
+ };
556
+
557
+ var Plugin = {
558
+ install: function install(Vue) {
559
+ registerComponent(Vue, Button);
560
+ }
561
+ };
562
+ use(Plugin);
563
+
564
+ exports.BButton = Button;
565
+ exports["default"] = Plugin;
566
+
567
+ Object.defineProperty(exports, '__esModule', { value: true });
568
+
569
+ }));
@@ -0,0 +1,2 @@
1
+ /*! Buefy v0.9.28 | MIT License | github.com/buefy/buefy */
2
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Button={})}(this,(function(e){"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function n(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function i(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function r(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var u={defaultContainerElement:null,defaultIconPack:"mdi",defaultIconComponent:null,defaultIconPrev:"chevron-left",defaultIconNext:"chevron-right",defaultLocale:void 0,defaultDialogConfirmText:null,defaultDialogCancelText:null,defaultSnackbarDuration:3500,defaultSnackbarPosition:null,defaultToastDuration:2e3,defaultToastPosition:null,defaultNotificationDuration:2e3,defaultNotificationPosition:null,defaultTooltipType:"is-primary",defaultTooltipDelay:null,defaultTooltipCloseDelay:null,defaultSidebarDelay:null,defaultInputAutocomplete:"on",defaultDateFormatter:null,defaultDateParser:null,defaultDateCreator:null,defaultTimeCreator:null,defaultDayNames:null,defaultMonthNames:null,defaultFirstDayOfWeek:null,defaultUnselectableDaysOfWeek:null,defaultTimeFormatter:null,defaultTimeParser:null,defaultModalCanCancel:["escape","x","outside","button"],defaultModalScroll:null,defaultDatepickerMobileNative:!0,defaultTimepickerMobileNative:!0,defaultTimepickerMobileModal:!0,defaultNoticeQueue:!0,defaultInputHasCounter:!0,defaultTaginputHasCounter:!0,defaultUseHtml5Validation:!0,defaultDropdownMobileModal:!0,defaultFieldLabelPosition:null,defaultDatepickerYearsRange:[-100,10],defaultDatepickerNearbyMonthDays:!0,defaultDatepickerNearbySelectableMonthDays:!1,defaultDatepickerShowWeekNumber:!1,defaultDatepickerWeekNumberClickable:!1,defaultDatepickerMobileModal:!0,defaultTrapFocus:!0,defaultAutoFocus:!0,defaultButtonRounded:!1,defaultSwitchRounded:!0,defaultCarouselInterval:3500,defaultTabsExpanded:!1,defaultTabsAnimated:!0,defaultTabsType:null,defaultStatusIcon:!0,defaultProgrammaticPromise:!1,defaultLinkTags:["a","button","input","router-link","nuxt-link","n-link","RouterLink","NuxtLink","NLink"],defaultImageWebpFallback:null,defaultImageLazy:!0,defaultImageResponsive:!0,defaultImageRatio:null,defaultImageSrcsetFormatter:null,defaultBreadcrumbTag:"a",defaultBreadcrumbAlign:"is-left",defaultBreadcrumbSeparator:"",defaultBreadcrumbSize:"is-medium",customIconPacks:null},s=function(e){return"object"===o(e)&&!Array.isArray(e)},c=function e(t,i){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(o||!Object.assign){var a=Object.getOwnPropertyNames(i).map((function(n){return r({},n,function(e){return s(i[e])&&null!==t&&t.hasOwnProperty(e)&&s(t[e])}(n)?e(t[n],i[n],o):i[n])})).reduce((function(e,t){return n(n({},e),t)}),{});return n(n({},t),a)}return Object.assign(t,i)},f={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},d=function(){var e=u&&u.defaultIconComponent?"":"fa-";return{sizes:{default:null,"is-small":null,"is-medium":e+"lg","is-large":e+"2x"},iconPrefix:e,internalIcons:{information:"info-circle",alert:"exclamation-triangle","alert-circle":"exclamation-circle","chevron-right":"angle-right","chevron-left":"angle-left","chevron-down":"angle-down","eye-off":"eye-slash","menu-down":"caret-down","menu-up":"caret-up","close-circle":"times-circle"}}},p=function(){var e={mdi:f,fa:d(),fas:d(),far:d(),fad:d(),fab:d(),fal:d(),"fa-solid":d(),"fa-regular":d(),"fa-light":d(),"fa-thin":d(),"fa-duotone":d(),"fa-brands":d()};return u&&u.customIconPacks&&(e=c(e,u.customIconPacks,!0)),e};function m(e,t,n,i,o,r,a,l,u,s){"boolean"!=typeof a&&(u=l,l=a,a=!1);const c="function"==typeof n?n.options:n;let f;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),i&&(c._scopeId=i),r?(f=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=f):t&&(f=a?function(e){t.call(this,s(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,l(e))}),f)if(c.functional){const e=c.render;c.render=function(t,n){return f.call(n),e(t,n)}}else{const e=c.beforeCreate;c.beforeCreate=e?[].concat(e,f):[f]}return n}var g=m({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"icon",class:[e.newType,e.size]},[e.useIconComponent?n(e.useIconComponent,{tag:"component",class:[e.customClass],attrs:{icon:[e.newPack,e.newIcon],size:e.newCustomSize}}):n("i",{class:[e.newPack,e.newIcon,e.newCustomSize,e.customClass]})],1)},staticRenderFns:[]},undefined,{name:"BIcon",props:{type:[String,Object],component:String,pack:String,icon:String,size:String,customSize:String,customClass:String,both:Boolean},computed:{iconConfig:function(){return p()[this.newPack]},iconPrefix:function(){return this.iconConfig&&this.iconConfig.iconPrefix?this.iconConfig.iconPrefix:""},newIcon:function(){return"".concat(this.iconPrefix).concat(this.getEquivalentIconOf(this.icon))},newPack:function(){return this.pack||u.defaultIconPack},newType:function(){if(this.type){var e=[];if("string"==typeof this.type)e=this.type.split("-");else for(var t in this.type)if(this.type[t]){e=t.split("-");break}if(!(e.length<=1)){var n=a(e).slice(1);return"has-text-".concat(n.join("-"))}}},newCustomSize:function(){return this.customSize||this.customSizeByPack},customSizeByPack:function(){if(this.iconConfig&&this.iconConfig.sizes){if(this.size&&void 0!==this.iconConfig.sizes[this.size])return this.iconConfig.sizes[this.size];if(this.iconConfig.sizes.default)return this.iconConfig.sizes.default}return null},useIconComponent:function(){return this.component||u.defaultIconComponent}},methods:{getEquivalentIconOf:function(e){return this.both&&this.iconConfig&&this.iconConfig.internalIcons&&this.iconConfig.internalIcons[e]?this.iconConfig.internalIcons[e]:e}}},undefined,false,undefined,!1,void 0,void 0,void 0);var b,h=m({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.computedTag,e._g(e._b({tag:"component",staticClass:"button",class:[e.size,e.type,{"is-rounded":e.rounded,"is-loading":e.loading,"is-outlined":e.outlined,"is-fullwidth":e.expanded,"is-inverted":e.inverted,"is-focused":e.focused,"is-active":e.active,"is-hovered":e.hovered,"is-selected":e.selected}],attrs:{type:["button","input"].includes(e.computedTag)?e.nativeType:void 0}},"component",e.$attrs,!1),e.$listeners),[e.iconLeft?n("b-icon",{attrs:{pack:e.iconPack,icon:e.iconLeft,size:e.iconSize}}):e._e(),e.label?n("span",[e._v(e._s(e.label))]):e.$slots.default?n("span",[e._t("default")],2):e._e(),e.iconRight?n("b-icon",{attrs:{pack:e.iconPack,icon:e.iconRight,size:e.iconSize}}):e._e()],1)},staticRenderFns:[]},undefined,{name:"BButton",components:r({},g.name,g),inheritAttrs:!1,props:{type:[String,Object],size:String,label:String,iconPack:String,iconLeft:String,iconRight:String,rounded:{type:Boolean,default:function(){return u.defaultButtonRounded}},loading:Boolean,outlined:Boolean,expanded:Boolean,inverted:Boolean,focused:Boolean,active:Boolean,hovered:Boolean,selected:Boolean,nativeType:{type:String,default:"button",validator:function(e){return["button","submit","reset"].indexOf(e)>=0}},tag:{type:String,default:"button",validator:function(e){return u.defaultLinkTags.indexOf(e)>=0}}},computed:{computedTag:function(){return void 0!==this.$attrs.disabled&&!1!==this.$attrs.disabled?"button":this.tag},iconSize:function(){return this.size&&"is-medium"!==this.size?"is-large"===this.size?"is-medium":this.size:"is-small"}}},undefined,false,undefined,!1,void 0,void 0,void 0),y={install:function(e){!function(e,t){e.component(t.name,t)}(e,h)}};b=y,"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),e.BButton=h,e.default=y,Object.defineProperty(e,"__esModule",{value:!0})}));