buefy 0.7.9 → 0.8.2

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 (347) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/dist/buefy.css +13759 -8263
  3. package/dist/buefy.js +9073 -14866
  4. package/dist/buefy.min.css +1 -5
  5. package/dist/buefy.min.js +2 -2
  6. package/dist/cjs/autocomplete.js +22 -0
  7. package/dist/cjs/button.js +106 -0
  8. package/dist/cjs/checkbox.js +135 -0
  9. package/dist/cjs/chunk-07fe6fc0.js +247 -0
  10. package/dist/cjs/chunk-0af453a7.js +105 -0
  11. package/dist/cjs/chunk-0e89e51b.js +394 -0
  12. package/dist/cjs/chunk-13e039f5.js +104 -0
  13. package/dist/cjs/chunk-143d9e6d.js +404 -0
  14. package/dist/cjs/chunk-19ebd649.js +114 -0
  15. package/dist/cjs/chunk-1b1231ce.js +94 -0
  16. package/dist/cjs/chunk-1e6abfcf.js +94 -0
  17. package/dist/cjs/chunk-28d164b1.js +172 -0
  18. package/dist/cjs/chunk-3396605d.js +394 -0
  19. package/dist/cjs/chunk-364a37a0.js +404 -0
  20. package/dist/cjs/chunk-3b066933.js +103 -0
  21. package/dist/cjs/chunk-3dffe6e7.js +54 -0
  22. package/dist/cjs/chunk-4a03b064.js +199 -0
  23. package/dist/cjs/chunk-50b06939.js +153 -0
  24. package/dist/cjs/chunk-52623128.js +105 -0
  25. package/dist/cjs/chunk-53d4f332.js +94 -0
  26. package/dist/cjs/chunk-544a95da.js +404 -0
  27. package/dist/cjs/chunk-545f01b1.js +49 -0
  28. package/dist/cjs/chunk-59b91990.js +64 -0
  29. package/dist/cjs/chunk-5b2a3329.js +394 -0
  30. package/dist/cjs/chunk-60061aa8.js +172 -0
  31. package/dist/cjs/chunk-67658e54.js +404 -0
  32. package/dist/cjs/chunk-6963026a.js +86 -0
  33. package/dist/cjs/chunk-6cece6b7.js +140 -0
  34. package/dist/cjs/chunk-6d6465c1.js +140 -0
  35. package/dist/cjs/chunk-6e9c0aca.js +94 -0
  36. package/dist/cjs/chunk-77f69fca.js +106 -0
  37. package/dist/cjs/chunk-7a25d736.js +114 -0
  38. package/dist/cjs/chunk-876befa8.js +247 -0
  39. package/dist/cjs/chunk-8985ffff.js +105 -0
  40. package/dist/cjs/chunk-8a05c8c9.js +207 -0
  41. package/dist/cjs/chunk-90407463.js +258 -0
  42. package/dist/cjs/chunk-956525c9.js +106 -0
  43. package/dist/cjs/chunk-96ce35a2.js +114 -0
  44. package/dist/cjs/chunk-9da1d120.js +86 -0
  45. package/dist/cjs/chunk-9f6a8079.js +54 -0
  46. package/dist/cjs/chunk-a60dc21d.js +281 -0
  47. package/dist/cjs/chunk-b628277d.js +199 -0
  48. package/dist/cjs/chunk-c146745e.js +153 -0
  49. package/dist/cjs/chunk-c2aec7a9.js +547 -0
  50. package/dist/cjs/chunk-c9641331.js +86 -0
  51. package/dist/cjs/chunk-d492406b.js +172 -0
  52. package/dist/cjs/chunk-e0aa62a0.js +404 -0
  53. package/dist/cjs/chunk-e45e0329.js +48 -0
  54. package/dist/cjs/chunk-e5de6583.js +207 -0
  55. package/dist/cjs/chunk-e85cceb6.js +258 -0
  56. package/dist/cjs/chunk-ed5addd6.js +547 -0
  57. package/dist/cjs/chunk-ef4753d5.js +283 -0
  58. package/dist/cjs/chunk-f0c597f9.js +199 -0
  59. package/dist/cjs/chunk-f1df1c63.js +9 -0
  60. package/dist/cjs/chunk-f1ee2f5c.js +207 -0
  61. package/dist/cjs/chunk-fbd4d545.js +247 -0
  62. package/dist/cjs/clockpicker.js +447 -0
  63. package/dist/cjs/collapse.js +102 -0
  64. package/dist/cjs/datepicker.js +1281 -0
  65. package/dist/cjs/dialog.js +237 -0
  66. package/dist/cjs/dropdown.js +19 -0
  67. package/dist/cjs/field.js +18 -0
  68. package/dist/cjs/icon.js +17 -0
  69. package/dist/cjs/index.js +164 -0
  70. package/dist/cjs/input.js +20 -0
  71. package/dist/cjs/loading.js +166 -0
  72. package/dist/cjs/menu.js +231 -0
  73. package/dist/cjs/message.js +65 -0
  74. package/dist/cjs/modal.js +48 -0
  75. package/dist/cjs/navbar.js +258 -0
  76. package/dist/cjs/notification.js +142 -0
  77. package/dist/cjs/numberinput.js +191 -0
  78. package/dist/cjs/pagination.js +19 -0
  79. package/dist/cjs/progress.js +151 -0
  80. package/dist/cjs/radio.js +224 -0
  81. package/dist/cjs/select.js +20 -0
  82. package/dist/cjs/slider.js +511 -0
  83. package/dist/cjs/snackbar.js +114 -0
  84. package/dist/cjs/steps.js +352 -0
  85. package/dist/cjs/switch.js +144 -0
  86. package/dist/cjs/table.js +877 -0
  87. package/dist/cjs/tabs.js +258 -0
  88. package/dist/cjs/tag.js +63 -0
  89. package/dist/cjs/taginput.js +297 -0
  90. package/dist/cjs/timepicker.js +75 -0
  91. package/dist/cjs/toast.js +89 -0
  92. package/dist/cjs/tooltip.js +17 -0
  93. package/dist/cjs/upload.js +210 -0
  94. package/dist/components/autocomplete/index.js +1084 -2
  95. package/dist/components/autocomplete/index.min.js +2 -0
  96. package/dist/components/button/index.js +425 -2
  97. package/dist/components/button/index.min.js +2 -0
  98. package/dist/components/checkbox/index.js +342 -2
  99. package/dist/components/checkbox/index.min.js +2 -0
  100. package/dist/components/clockpicker/index.js +2340 -2
  101. package/dist/components/clockpicker/index.min.js +2 -0
  102. package/dist/components/collapse/index.js +201 -2
  103. package/dist/components/collapse/index.min.js +2 -0
  104. package/dist/components/datepicker/index.js +2720 -2
  105. package/dist/components/datepicker/index.min.js +2 -0
  106. package/dist/components/dialog/index.js +768 -2
  107. package/dist/components/dialog/index.min.js +2 -0
  108. package/dist/components/dropdown/index.js +555 -2
  109. package/dist/components/dropdown/index.min.js +2 -0
  110. package/dist/components/field/index.js +447 -2
  111. package/dist/components/field/index.min.js +2 -0
  112. package/dist/components/icon/index.js +322 -2
  113. package/dist/components/icon/index.min.js +2 -0
  114. package/dist/components/input/index.js +675 -2
  115. package/dist/components/input/index.min.js +2 -0
  116. package/dist/components/loading/index.js +282 -2
  117. package/dist/components/loading/index.min.js +2 -0
  118. package/dist/components/menu/index.js +550 -2
  119. package/dist/components/menu/index.min.js +2 -0
  120. package/dist/components/message/index.js +482 -2
  121. package/dist/components/message/index.min.js +2 -0
  122. package/dist/components/modal/index.js +400 -2
  123. package/dist/components/modal/index.min.js +2 -0
  124. package/dist/components/navbar/index.js +371 -0
  125. package/dist/components/navbar/index.min.js +2 -0
  126. package/dist/components/notification/index.js +705 -2
  127. package/dist/components/notification/index.min.js +2 -0
  128. package/dist/components/numberinput/index.js +846 -2
  129. package/dist/components/numberinput/index.min.js +2 -0
  130. package/dist/components/pagination/index.js +577 -2
  131. package/dist/components/pagination/index.min.js +2 -0
  132. package/dist/components/progress/index.js +250 -0
  133. package/dist/components/progress/index.min.js +2 -0
  134. package/dist/components/radio/index.js +323 -2
  135. package/dist/components/radio/index.min.js +2 -0
  136. package/dist/components/select/index.js +571 -2
  137. package/dist/components/select/index.min.js +2 -0
  138. package/dist/components/slider/index.js +764 -0
  139. package/dist/components/slider/index.min.js +2 -0
  140. package/dist/components/snackbar/index.js +397 -2
  141. package/dist/components/snackbar/index.min.js +2 -0
  142. package/dist/components/steps/index.js +721 -2
  143. package/dist/components/steps/index.min.js +2 -0
  144. package/dist/components/switch/index.js +243 -2
  145. package/dist/components/switch/index.min.js +2 -0
  146. package/dist/components/table/index.js +1870 -2
  147. package/dist/components/table/index.min.js +2 -0
  148. package/dist/components/tabs/index.js +627 -2
  149. package/dist/components/tabs/index.min.js +2 -0
  150. package/dist/components/tag/index.js +262 -2
  151. package/dist/components/tag/index.min.js +2 -0
  152. package/dist/components/taginput/index.js +1459 -2
  153. package/dist/components/taginput/index.min.js +2 -0
  154. package/dist/components/timepicker/index.js +2053 -2
  155. package/dist/components/timepicker/index.min.js +2 -0
  156. package/dist/components/toast/index.js +372 -2
  157. package/dist/components/toast/index.min.js +2 -0
  158. package/dist/components/tooltip/index.js +236 -2
  159. package/dist/components/tooltip/index.min.js +2 -0
  160. package/dist/components/upload/index.js +501 -2
  161. package/dist/components/upload/index.min.js +2 -0
  162. package/dist/esm/autocomplete.js +18 -0
  163. package/dist/esm/button.js +102 -0
  164. package/dist/esm/checkbox.js +131 -0
  165. package/dist/esm/chunk-00e3e67f.js +401 -0
  166. package/dist/esm/chunk-051f8b06.js +105 -0
  167. package/dist/esm/chunk-0566c90d.js +152 -0
  168. package/dist/esm/chunk-07e19446.js +545 -0
  169. package/dist/esm/chunk-085a700d.js +7 -0
  170. package/dist/esm/chunk-0ad6938a.js +53 -0
  171. package/dist/esm/chunk-0e3f4fb5.js +52 -0
  172. package/dist/esm/chunk-10c85529.js +151 -0
  173. package/dist/esm/chunk-121b1efa.js +197 -0
  174. package/dist/esm/chunk-19dad95e.js +256 -0
  175. package/dist/esm/chunk-231b6066.js +113 -0
  176. package/dist/esm/chunk-24d1a01f.js +279 -0
  177. package/dist/esm/chunk-297bff6b.js +393 -0
  178. package/dist/esm/chunk-2b2ae5c6.js +245 -0
  179. package/dist/esm/chunk-2cb6f867.js +46 -0
  180. package/dist/esm/chunk-33717194.js +392 -0
  181. package/dist/esm/chunk-3b811b77.js +139 -0
  182. package/dist/esm/chunk-3e47308f.js +104 -0
  183. package/dist/esm/chunk-411d6eea.js +84 -0
  184. package/dist/esm/chunk-4535dec5.js +92 -0
  185. package/dist/esm/chunk-47a5f3a1.js +103 -0
  186. package/dist/esm/chunk-4a5384da.js +205 -0
  187. package/dist/esm/chunk-4b663574.js +112 -0
  188. package/dist/esm/chunk-4d393f09.js +170 -0
  189. package/dist/esm/chunk-4d695899.js +257 -0
  190. package/dist/esm/chunk-4f508891.js +171 -0
  191. package/dist/esm/chunk-531b8274.js +281 -0
  192. package/dist/esm/chunk-591ee4a2.js +151 -0
  193. package/dist/esm/chunk-5d3bf82e.js +170 -0
  194. package/dist/esm/chunk-5e0b0665.js +104 -0
  195. package/dist/esm/chunk-648b9aa4.js +45 -0
  196. package/dist/esm/chunk-666940cf.js +546 -0
  197. package/dist/esm/chunk-67c97e13.js +246 -0
  198. package/dist/esm/chunk-6844653e.js +401 -0
  199. package/dist/esm/chunk-699b7cb4.js +245 -0
  200. package/dist/esm/chunk-6f881e7d.js +51 -0
  201. package/dist/esm/chunk-7123d158.js +256 -0
  202. package/dist/esm/chunk-7cf87590.js +60 -0
  203. package/dist/esm/chunk-823177ac.js +545 -0
  204. package/dist/esm/chunk-8838757a.js +401 -0
  205. package/dist/esm/chunk-8ca878c0.js +198 -0
  206. package/dist/esm/chunk-8fc2e874.js +85 -0
  207. package/dist/esm/chunk-912ed715.js +92 -0
  208. package/dist/esm/chunk-92acc21f.js +392 -0
  209. package/dist/esm/chunk-98e86f40.js +197 -0
  210. package/dist/esm/chunk-99a1f9df.js +92 -0
  211. package/dist/esm/chunk-9a776697.js +112 -0
  212. package/dist/esm/chunk-9e3207cc.js +46 -0
  213. package/dist/esm/chunk-9ec14e09.js +112 -0
  214. package/dist/esm/chunk-a5ea70d0.js +205 -0
  215. package/dist/esm/chunk-ac3f4847.js +138 -0
  216. package/dist/esm/chunk-b5376f3e.js +92 -0
  217. package/dist/esm/chunk-b56eb2c8.js +197 -0
  218. package/dist/esm/chunk-b796d1b2.js +392 -0
  219. package/dist/esm/chunk-b822a5db.js +205 -0
  220. package/dist/esm/chunk-b9bdb0e4.js +6 -0
  221. package/dist/esm/chunk-bfe15983.js +401 -0
  222. package/dist/esm/chunk-c9039f68.js +104 -0
  223. package/dist/esm/chunk-cc718c15.js +245 -0
  224. package/dist/esm/chunk-cca88db8.js +99 -0
  225. package/dist/esm/chunk-d6200087.js +50 -0
  226. package/dist/esm/chunk-daeac852.js +138 -0
  227. package/dist/esm/chunk-db31c548.js +103 -0
  228. package/dist/esm/chunk-e5568f45.js +84 -0
  229. package/dist/esm/chunk-e5fce48f.js +59 -0
  230. package/dist/esm/chunk-e84b4047.js +170 -0
  231. package/dist/esm/chunk-e8d90b72.js +98 -0
  232. package/dist/esm/chunk-e932bb68.js +206 -0
  233. package/dist/esm/chunk-edd8ff91.js +103 -0
  234. package/dist/esm/chunk-f0465d8d.js +84 -0
  235. package/dist/esm/chunk-f743d154.js +93 -0
  236. package/dist/esm/chunk-f8036b32.js +402 -0
  237. package/dist/esm/chunk-f984748f.js +401 -0
  238. package/dist/esm/chunk-fd5b0e1e.js +99 -0
  239. package/dist/esm/clockpicker.js +443 -0
  240. package/dist/esm/collapse.js +98 -0
  241. package/dist/esm/datepicker.js +1277 -0
  242. package/dist/esm/dialog.js +231 -0
  243. package/dist/esm/dropdown.js +14 -0
  244. package/dist/esm/field.js +14 -0
  245. package/dist/esm/icon.js +13 -0
  246. package/dist/esm/index.js +154 -0
  247. package/dist/esm/input.js +16 -0
  248. package/dist/esm/loading.js +159 -0
  249. package/dist/esm/menu.js +225 -0
  250. package/dist/esm/message.js +61 -0
  251. package/dist/esm/modal.js +42 -0
  252. package/dist/esm/navbar.js +253 -0
  253. package/dist/esm/notification.js +135 -0
  254. package/dist/esm/numberinput.js +187 -0
  255. package/dist/esm/pagination.js +15 -0
  256. package/dist/esm/progress.js +147 -0
  257. package/dist/esm/radio.js +219 -0
  258. package/dist/esm/select.js +16 -0
  259. package/dist/esm/slider.js +506 -0
  260. package/dist/esm/snackbar.js +108 -0
  261. package/dist/esm/steps.js +347 -0
  262. package/dist/esm/switch.js +140 -0
  263. package/dist/esm/table.js +872 -0
  264. package/dist/esm/tabs.js +253 -0
  265. package/dist/esm/tag.js +59 -0
  266. package/dist/esm/taginput.js +293 -0
  267. package/dist/esm/timepicker.js +71 -0
  268. package/dist/esm/toast.js +83 -0
  269. package/dist/esm/tooltip.js +13 -0
  270. package/dist/esm/upload.js +206 -0
  271. package/package.json +26 -4
  272. package/src/components/checkbox/Checkbox.vue +12 -4
  273. package/src/components/checkbox/CheckboxButton.vue +10 -2
  274. package/src/components/clockpicker/Clockpicker.vue +0 -5
  275. package/src/components/datepicker/Datepicker.spec.js +60 -0
  276. package/src/components/datepicker/Datepicker.vue +46 -19
  277. package/src/components/datepicker/DatepickerTable.spec.js +107 -2
  278. package/src/components/datepicker/DatepickerTable.vue +73 -4
  279. package/src/components/datepicker/DatepickerTableRow.spec.js +127 -17
  280. package/src/components/datepicker/DatepickerTableRow.vue +103 -4
  281. package/src/components/dialog/Dialog.vue +5 -3
  282. package/src/components/dialog/index.js +2 -2
  283. package/src/components/dropdown/Dropdown.vue +1 -4
  284. package/src/components/dropdown/DropdownItem.vue +7 -3
  285. package/src/components/field/Field.spec.js +18 -0
  286. package/src/components/field/Field.vue +21 -2
  287. package/src/components/index.js +6 -0
  288. package/src/components/input/Input.vue +2 -2
  289. package/src/components/loading/index.js +1 -1
  290. package/src/components/modal/index.js +1 -1
  291. package/src/components/navbar/NavBar.spec.js +76 -0
  292. package/src/components/navbar/Navbar.vue +127 -0
  293. package/src/components/navbar/NavbarBurger.vue +25 -0
  294. package/src/components/navbar/NavbarItem.vue +21 -0
  295. package/src/components/navbar/index.js +20 -0
  296. package/src/components/notification/index.js +1 -1
  297. package/src/components/pagination/Pagination.vue +28 -6
  298. package/src/components/progress/Progress.spec.js +77 -0
  299. package/src/components/progress/Progress.vue +108 -0
  300. package/src/components/progress/__snapshots__/Progress.spec.js.snap +7 -0
  301. package/src/components/progress/index.js +17 -0
  302. package/src/components/radio/Radio.spec.js +18 -1
  303. package/src/components/radio/Radio.vue +11 -5
  304. package/src/components/radio/RadioButton.spec.js +18 -1
  305. package/src/components/radio/RadioButton.vue +20 -8
  306. package/src/components/select/Select.spec.js +22 -1
  307. package/src/components/select/Select.vue +2 -1
  308. package/src/components/select/__snapshots__/Select.spec.js.snap +7 -0
  309. package/src/components/slider/Slider.spec.js +10 -0
  310. package/src/components/slider/Slider.vue +240 -0
  311. package/src/components/slider/SliderThumb.vue +188 -0
  312. package/src/components/slider/SliderTick.vue +43 -0
  313. package/src/components/slider/index.js +20 -0
  314. package/src/components/snackbar/index.js +2 -2
  315. package/src/components/steps/StepItem.vue +2 -3
  316. package/src/components/steps/Steps.vue +7 -5
  317. package/src/components/switch/Switch.spec.js +29 -0
  318. package/src/components/switch/Switch.vue +29 -5
  319. package/src/components/switch/__snapshots__/Switch.spec.js.snap +3 -0
  320. package/src/components/table/Table.vue +30 -8
  321. package/src/components/table/TableColumn.vue +2 -2
  322. package/src/components/tag/Tag.vue +4 -1
  323. package/src/components/taginput/Taginput.spec.js +10 -0
  324. package/src/components/taginput/Taginput.vue +8 -3
  325. package/src/components/toast/index.js +2 -2
  326. package/src/components/tooltip/Tooltip.vue +5 -5
  327. package/src/components/upload/Upload.vue +15 -8
  328. package/src/index.js +11 -4
  329. package/src/scss/buefy-build.scss +3 -3
  330. package/src/scss/buefy.scss +4 -0
  331. package/src/scss/components/_datepicker.scss +40 -1
  332. package/src/scss/components/_form.scss +52 -1
  333. package/src/scss/components/_progress.scss +45 -0
  334. package/src/scss/components/_radio.scss +14 -14
  335. package/src/scss/components/_slider.scss +138 -0
  336. package/src/scss/components/_steps.scss +4 -4
  337. package/src/scss/components/_switch.scss +54 -2
  338. package/src/scss/components/_taginput.scss +3 -0
  339. package/src/scss/components/_upload.scss +1 -3
  340. package/src/utils/SlotComponent.js +9 -2
  341. package/src/utils/TimepickerMixin.js +17 -6
  342. package/src/utils/config.js +4 -1
  343. package/src/utils/helpers.spec.js +67 -0
  344. package/src/utils/plugins.js +2 -1
  345. package/types/components.d.ts +3 -3
  346. package/types/index.d.ts +24 -11
  347. package/dist/components/index.js +0 -2
@@ -1,2 +1,550 @@
1
- /*! Buefy v0.7.9 | MIT License | github.com/buefy/buefy */
2
- !(function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}})("undefined"!=typeof self?self:this,(function(){return (function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=281)})({0:function(e,t){e.exports=function(e,t,n,r,i){var o,a=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(o=e,a=e.default);var c="function"==typeof a?a.options:a;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns),r&&(c._scopeId=r);var l;if(i?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=l):n&&(l=n),l){var s=c.functional,f=s?c.render:c.beforeCreate;s?c.render=function(e,t){return l.call(t),f(e,t)}:c.beforeCreate=f?[].concat(f,l):[l]}return{esModule:o,exports:a,options:c}}},1:function(e,t,n){e.exports=!n(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},10:function(e,t,n){var r=n(5);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},12:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=function(e){"undefined"!=typeof window&&window.Vue&&window.Vue.use(e)},i=function(e,t){e.component(t.name,t)},o=function(e,t,n){e.prototype[t]=n}},14:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},15:function(e,t,n){var r=n(5);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},16:function(e,t,n){var r=n(2),i=n(3),o=n(29),a=n(9),u=n(6),c=function(e,t,n){var l,s,f,d=e&c.F,p=e&c.G,v=e&c.S,m=e&c.P,h=e&c.B,x=e&c.W,y=p?i:i[t]||(i[t]={}),w=y.prototype,b=p?r:v?r[t]:(r[t]||{}).prototype;p&&(n=t);for(l in n)(s=!d&&b&&void 0!==b[l])&&u(y,l)||(f=s?b[l]:n[l],y[l]=p&&"function"!=typeof b[l]?n[l]:h&&s?o(f,r):x&&b[l]==f?(function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t})(f):m&&"function"==typeof f?o(Function.call,f):f,m&&((y.virtual||(y.virtual={}))[l]=f,e&c.R&&w&&!w[l]&&a(w,l,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},172:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(173),i=n.n(r),o=n(176),a=n.n(o),u=n(178),c=n.n(u),l=n(12);n.d(t,"Menu",(function(){return i.a})),n.d(t,"MenuList",(function(){return a.a})),n.d(t,"MenuItem",(function(){return c.a}));var s={install:function(e){Object(l.a)(e,i.a),Object(l.a)(e,a.a),Object(l.a)(e,c.a)}};Object(l.c)(s),t.default=s},173:function(e,t,n){var r=n(0)(n(174),n(175),null,null,null);e.exports=r.exports},174:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"BMenu"}},175:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"menu"},[e._t("default")],2)},staticRenderFns:[]}},176:function(e,t,n){var r=n(0)(n(177),null,null,null,null);e.exports=r.exports},177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"BMenuList",functional:!0,props:{label:String,icon:String,iconPack:String},render:function(e,t){var n=null,r=t.slots();(t.props.label||r.label)&&(n=e("p",{attrs:{class:"menu-label"}},t.props.label?t.props.icon?[e("b-icon",{props:{icon:t.props.icon,pack:t.props.iconPack,size:"is-small"}}),e("span",{},t.props.label)]:t.props.label:r.label));var i=e("ul",{attrs:{class:"menu-list"}},r.default);return n?[n,i]:i}}},178:function(e,t,n){var r=n(0)(n(179),n(180),null,null,null);e.exports=r.exports},179:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),i=n.n(r),o=n(23),a=n.n(o);t.default={name:"BMenuItem",components:i()({},a.a.name,a.a),inheritAttrs:!1,props:{label:String,active:Boolean,expanded:Boolean,disabled:Boolean,iconPack:String,icon:String,animation:{type:String,default:"fade"},tag:{type:String,default:"a",validator:function(e){return["a","router-link","nuxt-link","n-link","NuxtLink","NLink"].indexOf(e)>=0}}},data:function(){return{newActive:this.active,newExpanded:this.expanded}},watch:{active:function(e){this.newActive=e},expanded:function(e){this.newExpanded=e}},methods:{onClick:function(e){this.disabled||(this.reset(this.$parent),this.newExpanded=!0,this.$emit("update:expanded",this.newActive),this.newActive=!0,this.$emit("update:active",this.newActive),this.$emit("click",e))},reset:function(e){var t=this;e.$children.filter((function(e){return e.name===t.name})).forEach((function(e){e!==t&&(t.reset(e),e.newExpanded=!1,e.$emit("update:expanded",e.newActive),e.newActive=!1,e.$emit("update:active",e.newActive))}))}}}},18:function(e,t,n){"use strict";t.__esModule=!0;var r=n(42),i=(function(e){return e&&e.__esModule?e:{default:e}})(r);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},180:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",[n(e.tag,e._b({tag:"component",class:{"is-active":e.newActive,"is-disabled":e.disabled},on:{click:function(t){e.onClick(t)}}},"component",e.$attrs,!1),[e.icon?n("b-icon",{attrs:{icon:e.icon,pack:e.iconPack,size:"is-small"}}):e._e(),e._v(" "),e.label?n("span",[e._v(e._s(e.label))]):e._t("label",null,{expanded:e.newExpanded,active:e.newActive})],2),e._v(" "),e.$slots.default?[n("transition",{attrs:{name:e.animation}},[n("ul",{directives:[{name:"show",rawName:"v-show",value:e.newExpanded,expression:"newExpanded"}]},[e._t("default")],2)])]:e._e()],2)},staticRenderFns:[]}},2:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},20:function(e,t,n){e.exports=!n(1)&&!n(7)((function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a}))},21:function(e,t,n){var r=n(5),i=n(2).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},23:function(e,t,n){var r=n(0)(n(46),n(47),null,null,null);e.exports=r.exports},281:function(e,t,n){e.exports=n(172)},29:function(e,t,n){var r=n(32);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},3:function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},32:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},4:function(e,t,n){var r=n(10),i=n(20),o=n(15),a=Object.defineProperty;t.f=n(1)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},42:function(e,t,n){e.exports={default:n(43),__esModule:!0}},43:function(e,t,n){n(44);var r=n(3).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},44:function(e,t,n){var r=n(16);r(r.S+r.F*!n(1),"Object",{defineProperty:n(4).f})},46:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8);t.default={name:"BIcon",props:{type:[String,Object],pack:String,icon:String,size:String,customSize:String,customClass:String,both:Boolean},computed:{newIcon:function(){return"mdi"===this.newPack?this.newPack+"-"+this.icon:this.addFAPrefix(this.getEquivalentIconOf(this.icon))},newPack:function(){return this.pack||r.a.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))return"has-text-"+e[1]}},newCustomSize:function(){return this.customSize||this.customSizeByPack},customSizeByPack:function(){var e="mdi"===this.newPack?"mdi-24px":this.addFAPrefix("lg"),t="mdi"===this.newPack?"mdi-36px":this.addFAPrefix("2x"),n="mdi"===this.newPack?"mdi-48px":this.addFAPrefix("3x");switch(this.size){case"is-small":return;case"is-medium":return t;case"is-large":return n;default:return e}},useIconComponent:function(){return r.a.defaultIconComponent}},methods:{addFAPrefix:function(e){return this.useIconComponent?e:"fa-"+e},getEquivalentIconOf:function(e){if(!this.both)return e;switch(e){case"check":return"check";case"information":return"info-circle";case"check-circle":return"check-circle";case"alert":return"exclamation-triangle";case"alert-circle":return"exclamation-circle";case"arrow-up":return"arrow-up";case"chevron-right":return"angle-right";case"chevron-left":return"angle-left";case"chevron-down":return"angle-down";case"eye":return"eye";case"eye-off":return"eye-slash";case"menu-down":return"caret-down";case"menu-up":return"caret-up";default:return e}}}}},47:function(e,t){e.exports={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:[]}},5:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},6:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},7:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},8:function(e,t,n){"use strict";var r={defaultContainerElement:null,defaultIconPack:"mdi",defaultIconComponent:null,defaultDialogConfirmText:null,defaultDialogCancelText:null,defaultSnackbarDuration:3500,defaultSnackbarPosition:null,defaultToastDuration:2e3,defaultToastPosition:null,defaultNotificationDuration:2e3,defaultNotificationPosition:null,defaultTooltipType:"is-primary",defaultTooltipAnimated:!1,defaultInputAutocomplete:"on",defaultDateFormatter:null,defaultDateParser:null,defaultDateCreator:null,defaultDayNames:null,defaultMonthNames:null,defaultFirstDayOfWeek:null,defaultUnselectableDaysOfWeek:null,defaultTimeFormatter:null,defaultTimeParser:null,defaultModalCanCancel:["escape","x","outside","button"],defaultModalScroll:null,defaultDatepickerMobileNative:!0,defaultTimepickerMobileNative:!0,defaultNoticeQueue:!0,defaultInputHasCounter:!0,defaultUseHtml5Validation:!0,defaultDropdownMobileModal:!0,defaultFieldLabelPosition:null,defaultDatepickerYearsRange:[-100,3],defaultDatepickerNearbyMonthDays:!0,defaultDatepickerNearbySelectableMonthDays:!1};t.a=r},9:function(e,t,n){var r=n(4),i=n(14);e.exports=n(1)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}}})}));
1
+ /*! Buefy v0.8.2 | 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 = global || self, factory(global.Menu = {}));
6
+ }(this, function (exports) { 'use strict';
7
+
8
+ //
9
+ //
10
+ //
11
+ //
12
+ //
13
+ //
14
+ var script = {
15
+ name: 'BMenu'
16
+ };
17
+
18
+ function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier
19
+ /* server only */
20
+ , shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
21
+ if (typeof shadowMode !== 'boolean') {
22
+ createInjectorSSR = createInjector;
23
+ createInjector = shadowMode;
24
+ shadowMode = false;
25
+ } // Vue.extend constructor export interop.
26
+
27
+
28
+ var options = typeof script === 'function' ? script.options : script; // render functions
29
+
30
+ if (template && template.render) {
31
+ options.render = template.render;
32
+ options.staticRenderFns = template.staticRenderFns;
33
+ options._compiled = true; // functional template
34
+
35
+ if (isFunctionalTemplate) {
36
+ options.functional = true;
37
+ }
38
+ } // scopedId
39
+
40
+
41
+ if (scopeId) {
42
+ options._scopeId = scopeId;
43
+ }
44
+
45
+ var hook;
46
+
47
+ if (moduleIdentifier) {
48
+ // server build
49
+ hook = function hook(context) {
50
+ // 2.3 injection
51
+ context = context || // cached call
52
+ this.$vnode && this.$vnode.ssrContext || // stateful
53
+ this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional
54
+ // 2.2 with runInNewContext: true
55
+
56
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
57
+ context = __VUE_SSR_CONTEXT__;
58
+ } // inject component styles
59
+
60
+
61
+ if (style) {
62
+ style.call(this, createInjectorSSR(context));
63
+ } // register component module identifier for async chunk inference
64
+
65
+
66
+ if (context && context._registeredComponents) {
67
+ context._registeredComponents.add(moduleIdentifier);
68
+ }
69
+ }; // used by ssr in case component is cached and beforeCreate
70
+ // never gets called
71
+
72
+
73
+ options._ssrRegister = hook;
74
+ } else if (style) {
75
+ hook = shadowMode ? function () {
76
+ style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));
77
+ } : function (context) {
78
+ style.call(this, createInjector(context));
79
+ };
80
+ }
81
+
82
+ if (hook) {
83
+ if (options.functional) {
84
+ // register for functional component in vue file
85
+ var originalRender = options.render;
86
+
87
+ options.render = function renderWithStyleInjection(h, context) {
88
+ hook.call(context);
89
+ return originalRender(h, context);
90
+ };
91
+ } else {
92
+ // inject component registration as beforeCreate hook
93
+ var existing = options.beforeCreate;
94
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
95
+ }
96
+ }
97
+
98
+ return script;
99
+ }
100
+
101
+ var normalizeComponent_1 = normalizeComponent;
102
+
103
+ /* script */
104
+ const __vue_script__ = script;
105
+
106
+ /* template */
107
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"menu"},[_vm._t("default")],2)};
108
+ var __vue_staticRenderFns__ = [];
109
+
110
+ /* style */
111
+ const __vue_inject_styles__ = undefined;
112
+ /* scoped */
113
+ const __vue_scope_id__ = undefined;
114
+ /* module identifier */
115
+ const __vue_module_identifier__ = undefined;
116
+ /* functional template */
117
+ const __vue_is_functional_template__ = false;
118
+ /* style inject */
119
+
120
+ /* style inject SSR */
121
+
122
+
123
+
124
+ var Menu = normalizeComponent_1(
125
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
126
+ __vue_inject_styles__,
127
+ __vue_script__,
128
+ __vue_scope_id__,
129
+ __vue_is_functional_template__,
130
+ __vue_module_identifier__,
131
+ undefined,
132
+ undefined
133
+ );
134
+
135
+ var script$1 = {
136
+ name: 'BMenuList',
137
+ functional: true,
138
+ props: {
139
+ label: String,
140
+ icon: String,
141
+ iconPack: String
142
+ },
143
+ render: function render(createElement, context) {
144
+ var vlabel = null;
145
+ var slots = context.slots();
146
+
147
+ if (context.props.label || slots.label) {
148
+ vlabel = createElement('p', {
149
+ attrs: {
150
+ 'class': 'menu-label'
151
+ }
152
+ }, context.props.label ? context.props.icon ? [createElement('b-icon', {
153
+ props: {
154
+ 'icon': context.props.icon,
155
+ 'pack': context.props.iconPack,
156
+ 'size': 'is-small'
157
+ }
158
+ }), createElement('span', {}, context.props.label)] : context.props.label : slots.label);
159
+ }
160
+
161
+ var vnode = createElement('ul', {
162
+ attrs: {
163
+ 'class': 'menu-list'
164
+ }
165
+ }, slots.default);
166
+ return vlabel ? [vlabel, vnode] : vnode;
167
+ }
168
+ };
169
+
170
+ /* script */
171
+ const __vue_script__$1 = script$1;
172
+
173
+ /* template */
174
+
175
+ /* style */
176
+ const __vue_inject_styles__$1 = undefined;
177
+ /* scoped */
178
+ const __vue_scope_id__$1 = undefined;
179
+ /* module identifier */
180
+ const __vue_module_identifier__$1 = undefined;
181
+ /* functional template */
182
+ const __vue_is_functional_template__$1 = undefined;
183
+ /* style inject */
184
+
185
+ /* style inject SSR */
186
+
187
+
188
+
189
+ var MenuList = normalizeComponent_1(
190
+ {},
191
+ __vue_inject_styles__$1,
192
+ __vue_script__$1,
193
+ __vue_scope_id__$1,
194
+ __vue_is_functional_template__$1,
195
+ __vue_module_identifier__$1,
196
+ undefined,
197
+ undefined
198
+ );
199
+
200
+ function _defineProperty(obj, key, value) {
201
+ if (key in obj) {
202
+ Object.defineProperty(obj, key, {
203
+ value: value,
204
+ enumerable: true,
205
+ configurable: true,
206
+ writable: true
207
+ });
208
+ } else {
209
+ obj[key] = value;
210
+ }
211
+
212
+ return obj;
213
+ }
214
+
215
+ var config = {
216
+ defaultContainerElement: null,
217
+ defaultIconPack: 'mdi',
218
+ defaultIconComponent: null,
219
+ defaultDialogConfirmText: null,
220
+ defaultDialogCancelText: null,
221
+ defaultSnackbarDuration: 3500,
222
+ defaultSnackbarPosition: null,
223
+ defaultToastDuration: 2000,
224
+ defaultToastPosition: null,
225
+ defaultNotificationDuration: 2000,
226
+ defaultNotificationPosition: null,
227
+ defaultTooltipType: 'is-primary',
228
+ defaultTooltipAnimated: false,
229
+ defaultTooltipDelay: 0,
230
+ defaultInputAutocomplete: 'on',
231
+ defaultDateFormatter: null,
232
+ defaultDateParser: null,
233
+ defaultDateCreator: null,
234
+ defaultDayNames: null,
235
+ defaultMonthNames: null,
236
+ defaultFirstDayOfWeek: null,
237
+ defaultUnselectableDaysOfWeek: null,
238
+ defaultTimeFormatter: null,
239
+ defaultTimeParser: null,
240
+ defaultModalCanCancel: ['escape', 'x', 'outside', 'button'],
241
+ defaultModalScroll: null,
242
+ defaultDatepickerMobileNative: true,
243
+ defaultTimepickerMobileNative: true,
244
+ defaultNoticeQueue: true,
245
+ defaultInputHasCounter: true,
246
+ defaultTaginputHasCounter: true,
247
+ defaultUseHtml5Validation: true,
248
+ defaultDropdownMobileModal: true,
249
+ defaultFieldLabelPosition: null,
250
+ defaultDatepickerYearsRange: [-100, 3],
251
+ defaultDatepickerNearbyMonthDays: true,
252
+ defaultDatepickerNearbySelectableMonthDays: false,
253
+ defaultDatepickerShowWeekNumber: false
254
+ };
255
+ var config$1 = config;
256
+
257
+ //
258
+ var script$2 = {
259
+ name: 'BIcon',
260
+ props: {
261
+ type: [String, Object],
262
+ pack: String,
263
+ icon: String,
264
+ size: String,
265
+ customSize: String,
266
+ customClass: String,
267
+ both: Boolean // This is used internally to show both MDI and FA icon
268
+
269
+ },
270
+ computed: {
271
+ /**
272
+ * Internal icon name based on the pack.
273
+ * If pack is 'fa', gets the equivalent FA icon name of the MDI,
274
+ * internal icons are always MDI.
275
+ */
276
+ newIcon: function newIcon() {
277
+ return this.newPack === 'mdi' ? "".concat(this.newPack, "-").concat(this.icon) : this.addFAPrefix(this.getEquivalentIconOf(this.icon));
278
+ },
279
+ newPack: function newPack() {
280
+ return this.pack || config$1.defaultIconPack;
281
+ },
282
+ newType: function newType() {
283
+ if (!this.type) return;
284
+ var splitType = [];
285
+
286
+ if (typeof this.type === 'string') {
287
+ splitType = this.type.split('-');
288
+ } else {
289
+ for (var key in this.type) {
290
+ if (this.type[key]) {
291
+ splitType = key.split('-');
292
+ break;
293
+ }
294
+ }
295
+ }
296
+
297
+ if (splitType.length <= 1) return;
298
+ return "has-text-".concat(splitType[1]);
299
+ },
300
+ newCustomSize: function newCustomSize() {
301
+ return this.customSize || this.customSizeByPack;
302
+ },
303
+ customSizeByPack: function customSizeByPack() {
304
+ var defaultSize = this.newPack === 'mdi' ? 'mdi-24px' : this.addFAPrefix('lg');
305
+ var mediumSize = this.newPack === 'mdi' ? 'mdi-36px' : this.addFAPrefix('2x');
306
+ var largeSize = this.newPack === 'mdi' ? 'mdi-48px' : this.addFAPrefix('3x');
307
+
308
+ switch (this.size) {
309
+ case 'is-small':
310
+ return;
311
+
312
+ case 'is-medium':
313
+ return mediumSize;
314
+
315
+ case 'is-large':
316
+ return largeSize;
317
+
318
+ default:
319
+ return defaultSize;
320
+ }
321
+ },
322
+ useIconComponent: function useIconComponent() {
323
+ return config$1.defaultIconComponent;
324
+ }
325
+ },
326
+ methods: {
327
+ addFAPrefix: function addFAPrefix(value) {
328
+ if (this.useIconComponent) {
329
+ return value;
330
+ }
331
+
332
+ return "fa-".concat(value);
333
+ },
334
+
335
+ /**
336
+ * Equivalent FA icon name of the MDI.
337
+ */
338
+ getEquivalentIconOf: function getEquivalentIconOf(value) {
339
+ // Only transform the class if the both prop is set to true
340
+ if (!this.both) {
341
+ return value;
342
+ }
343
+
344
+ switch (value) {
345
+ case 'check':
346
+ return 'check';
347
+
348
+ case 'information':
349
+ return 'info-circle';
350
+
351
+ case 'check-circle':
352
+ return 'check-circle';
353
+
354
+ case 'alert':
355
+ return 'exclamation-triangle';
356
+
357
+ case 'alert-circle':
358
+ return 'exclamation-circle';
359
+
360
+ case 'arrow-up':
361
+ return 'arrow-up';
362
+
363
+ case 'chevron-right':
364
+ return 'angle-right';
365
+
366
+ case 'chevron-left':
367
+ return 'angle-left';
368
+
369
+ case 'chevron-down':
370
+ return 'angle-down';
371
+
372
+ case 'eye':
373
+ return 'eye';
374
+
375
+ case 'eye-off':
376
+ return 'eye-slash';
377
+
378
+ case 'menu-down':
379
+ return 'caret-down';
380
+
381
+ case 'menu-up':
382
+ return 'caret-up';
383
+
384
+ default:
385
+ return value;
386
+ }
387
+ }
388
+ }
389
+ };
390
+
391
+ /* script */
392
+ const __vue_script__$2 = script$2;
393
+
394
+ /* template */
395
+ 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)};
396
+ var __vue_staticRenderFns__$1 = [];
397
+
398
+ /* style */
399
+ const __vue_inject_styles__$2 = undefined;
400
+ /* scoped */
401
+ const __vue_scope_id__$2 = undefined;
402
+ /* module identifier */
403
+ const __vue_module_identifier__$2 = undefined;
404
+ /* functional template */
405
+ const __vue_is_functional_template__$2 = false;
406
+ /* style inject */
407
+
408
+ /* style inject SSR */
409
+
410
+
411
+
412
+ var Icon = normalizeComponent_1(
413
+ { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
414
+ __vue_inject_styles__$2,
415
+ __vue_script__$2,
416
+ __vue_scope_id__$2,
417
+ __vue_is_functional_template__$2,
418
+ __vue_module_identifier__$2,
419
+ undefined,
420
+ undefined
421
+ );
422
+
423
+ var script$3 = {
424
+ name: 'BMenuItem',
425
+ components: _defineProperty({}, Icon.name, Icon),
426
+ inheritAttrs: false,
427
+ props: {
428
+ label: String,
429
+ active: Boolean,
430
+ expanded: Boolean,
431
+ disabled: Boolean,
432
+ iconPack: String,
433
+ icon: String,
434
+ animation: {
435
+ type: String,
436
+ default: 'fade'
437
+ },
438
+ tag: {
439
+ type: String,
440
+ default: 'a',
441
+ validator: function validator(value) {
442
+ return ['a', 'router-link', 'nuxt-link', 'n-link', 'NuxtLink', 'NLink'].indexOf(value) >= 0;
443
+ }
444
+ }
445
+ },
446
+ data: function data() {
447
+ return {
448
+ newActive: this.active,
449
+ newExpanded: this.expanded
450
+ };
451
+ },
452
+ watch: {
453
+ active: function active(value) {
454
+ this.newActive = value;
455
+ },
456
+ expanded: function expanded(value) {
457
+ this.newExpanded = value;
458
+ }
459
+ },
460
+ methods: {
461
+ onClick: function onClick(event) {
462
+ if (this.disabled) return;
463
+ this.reset(this.$parent);
464
+ this.newExpanded = true;
465
+ this.$emit('update:expanded', this.newActive);
466
+ this.newActive = true;
467
+ this.$emit('update:active', this.newActive);
468
+ this.$emit('click', event);
469
+ },
470
+ reset: function reset(parent) {
471
+ var _this = this;
472
+
473
+ var items = parent.$children.filter(function (c) {
474
+ return c.name === _this.name;
475
+ });
476
+ items.forEach(function (item) {
477
+ if (item !== _this) {
478
+ _this.reset(item);
479
+
480
+ item.newExpanded = false;
481
+ item.$emit('update:expanded', item.newActive);
482
+ item.newActive = false;
483
+ item.$emit('update:active', item.newActive);
484
+ }
485
+ });
486
+ }
487
+ }
488
+ };
489
+
490
+ /* script */
491
+ const __vue_script__$3 = script$3;
492
+
493
+ /* template */
494
+ var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',[_c(_vm.tag,_vm._b({tag:"component",class:{
495
+ 'is-active': _vm.newActive,
496
+ 'is-disabled': _vm.disabled
497
+ },on:{"click":function($event){_vm.onClick($event);}}},'component',_vm.$attrs,false),[(_vm.icon)?_c('b-icon',{attrs:{"icon":_vm.icon,"pack":_vm.iconPack,"size":"is-small"}}):_vm._e(),_vm._v(" "),(_vm.label)?_c('span',[_vm._v(_vm._s(_vm.label))]):_vm._t("label",null,{expanded:_vm.newExpanded,active:_vm.newActive})],2),_vm._v(" "),(_vm.$slots.default)?[_c('transition',{attrs:{"name":_vm.animation}},[_c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.newExpanded),expression:"newExpanded"}]},[_vm._t("default")],2)])]:_vm._e()],2)};
498
+ var __vue_staticRenderFns__$2 = [];
499
+
500
+ /* style */
501
+ const __vue_inject_styles__$3 = undefined;
502
+ /* scoped */
503
+ const __vue_scope_id__$3 = undefined;
504
+ /* module identifier */
505
+ const __vue_module_identifier__$3 = undefined;
506
+ /* functional template */
507
+ const __vue_is_functional_template__$3 = false;
508
+ /* style inject */
509
+
510
+ /* style inject SSR */
511
+
512
+
513
+
514
+ var MenuItem = normalizeComponent_1(
515
+ { render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },
516
+ __vue_inject_styles__$3,
517
+ __vue_script__$3,
518
+ __vue_scope_id__$3,
519
+ __vue_is_functional_template__$3,
520
+ __vue_module_identifier__$3,
521
+ undefined,
522
+ undefined
523
+ );
524
+
525
+ var use = function use(plugin) {
526
+ if (typeof window !== 'undefined' && window.Vue) {
527
+ window.Vue.use(plugin);
528
+ }
529
+ };
530
+ var registerComponent = function registerComponent(Vue, component) {
531
+ Vue.component(component.name, component);
532
+ };
533
+
534
+ var Plugin = {
535
+ install: function install(Vue) {
536
+ registerComponent(Vue, Menu);
537
+ registerComponent(Vue, MenuList);
538
+ registerComponent(Vue, MenuItem);
539
+ }
540
+ };
541
+ use(Plugin);
542
+
543
+ exports.Menu = Menu;
544
+ exports.MenuItem = MenuItem;
545
+ exports.MenuList = MenuList;
546
+ exports.default = Plugin;
547
+
548
+ Object.defineProperty(exports, '__esModule', { value: true });
549
+
550
+ }));
@@ -0,0 +1,2 @@
1
+ /*! Buefy v0.8.2 | 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=e||self).Menu={})}(this,function(e){"use strict";var t=function(e,t,n,i,a,o,r,s,l,c){"boolean"!=typeof r&&(l=s,s=r,r=!1);var u,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,a&&(d.functional=!0)),i&&(d._scopeId=i),o?(u=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,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=u):t&&(u=r?function(){t.call(this,c(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(d.functional){var f=d.render;d.render=function(e,t){return u.call(t),f(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,u):[u]}return n};var n=t({render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"menu"},[this._t("default")],2)},staticRenderFns:[]},void 0,{name:"BMenu"},void 0,!1,void 0,void 0,void 0);var i=t({},void 0,{name:"BMenuList",functional:!0,props:{label:String,icon:String,iconPack:String},render:function(e,t){var n=null,i=t.slots();(t.props.label||i.label)&&(n=e("p",{attrs:{class:"menu-label"}},t.props.label?t.props.icon?[e("b-icon",{props:{icon:t.props.icon,pack:t.props.iconPack,size:"is-small"}}),e("span",{},t.props.label)]:t.props.label:i.label));var a=e("ul",{attrs:{class:"menu-list"}},i.default);return n?[n,a]:a}},void 0,void 0,void 0,void 0,void 0);var a={defaultContainerElement:null,defaultIconPack:"mdi",defaultIconComponent:null,defaultDialogConfirmText:null,defaultDialogCancelText:null,defaultSnackbarDuration:3500,defaultSnackbarPosition:null,defaultToastDuration:2e3,defaultToastPosition:null,defaultNotificationDuration:2e3,defaultNotificationPosition:null,defaultTooltipType:"is-primary",defaultTooltipAnimated:!1,defaultTooltipDelay:0,defaultInputAutocomplete:"on",defaultDateFormatter:null,defaultDateParser:null,defaultDateCreator:null,defaultDayNames:null,defaultMonthNames:null,defaultFirstDayOfWeek:null,defaultUnselectableDaysOfWeek:null,defaultTimeFormatter:null,defaultTimeParser:null,defaultModalCanCancel:["escape","x","outside","button"],defaultModalScroll:null,defaultDatepickerMobileNative:!0,defaultTimepickerMobileNative:!0,defaultNoticeQueue:!0,defaultInputHasCounter:!0,defaultTaginputHasCounter:!0,defaultUseHtml5Validation:!0,defaultDropdownMobileModal:!0,defaultFieldLabelPosition:null,defaultDatepickerYearsRange:[-100,3],defaultDatepickerNearbyMonthDays:!0,defaultDatepickerNearbySelectableMonthDays:!1,defaultDatepickerShowWeekNumber:!1};var o,r,s,l=t({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:[]},void 0,{name:"BIcon",props:{type:[String,Object],pack:String,icon:String,size:String,customSize:String,customClass:String,both:Boolean},computed:{newIcon:function(){return"mdi"===this.newPack?"".concat(this.newPack,"-").concat(this.icon):this.addFAPrefix(this.getEquivalentIconOf(this.icon))},newPack:function(){return this.pack||a.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))return"has-text-".concat(e[1])}},newCustomSize:function(){return this.customSize||this.customSizeByPack},customSizeByPack:function(){var e="mdi"===this.newPack?"mdi-24px":this.addFAPrefix("lg"),t="mdi"===this.newPack?"mdi-36px":this.addFAPrefix("2x"),n="mdi"===this.newPack?"mdi-48px":this.addFAPrefix("3x");switch(this.size){case"is-small":return;case"is-medium":return t;case"is-large":return n;default:return e}},useIconComponent:function(){return a.defaultIconComponent}},methods:{addFAPrefix:function(e){return this.useIconComponent?e:"fa-".concat(e)},getEquivalentIconOf:function(e){if(!this.both)return e;switch(e){case"check":return"check";case"information":return"info-circle";case"check-circle":return"check-circle";case"alert":return"exclamation-triangle";case"alert-circle":return"exclamation-circle";case"arrow-up":return"arrow-up";case"chevron-right":return"angle-right";case"chevron-left":return"angle-left";case"chevron-down":return"angle-down";case"eye":return"eye";case"eye-off":return"eye-slash";case"menu-down":return"caret-down";case"menu-up":return"caret-up";default:return e}}}},void 0,!1,void 0,void 0,void 0);var c,u=t({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",[n(e.tag,e._b({tag:"component",class:{"is-active":e.newActive,"is-disabled":e.disabled},on:{click:function(t){e.onClick(t)}}},"component",e.$attrs,!1),[e.icon?n("b-icon",{attrs:{icon:e.icon,pack:e.iconPack,size:"is-small"}}):e._e(),e._v(" "),e.label?n("span",[e._v(e._s(e.label))]):e._t("label",null,{expanded:e.newExpanded,active:e.newActive})],2),e._v(" "),e.$slots.default?[n("transition",{attrs:{name:e.animation}},[n("ul",{directives:[{name:"show",rawName:"v-show",value:e.newExpanded,expression:"newExpanded"}]},[e._t("default")],2)])]:e._e()],2)},staticRenderFns:[]},void 0,{name:"BMenuItem",components:(o={},r=l.name,s=l,r in o?Object.defineProperty(o,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[r]=s,o),inheritAttrs:!1,props:{label:String,active:Boolean,expanded:Boolean,disabled:Boolean,iconPack:String,icon:String,animation:{type:String,default:"fade"},tag:{type:String,default:"a",validator:function(e){return["a","router-link","nuxt-link","n-link","NuxtLink","NLink"].indexOf(e)>=0}}},data:function(){return{newActive:this.active,newExpanded:this.expanded}},watch:{active:function(e){this.newActive=e},expanded:function(e){this.newExpanded=e}},methods:{onClick:function(e){this.disabled||(this.reset(this.$parent),this.newExpanded=!0,this.$emit("update:expanded",this.newActive),this.newActive=!0,this.$emit("update:active",this.newActive),this.$emit("click",e))},reset:function(e){var t=this;e.$children.filter(function(e){return e.name===t.name}).forEach(function(e){e!==t&&(t.reset(e),e.newExpanded=!1,e.$emit("update:expanded",e.newActive),e.newActive=!1,e.$emit("update:active",e.newActive))})}}},void 0,!1,void 0,void 0,void 0),d=function(e,t){e.component(t.name,t)},f={install:function(e){d(e,n),d(e,i),d(e,u)}};c=f,"undefined"!=typeof window&&window.Vue&&window.Vue.use(c),e.Menu=n,e.MenuItem=u,e.MenuList=i,e.default=f,Object.defineProperty(e,"__esModule",{value:!0})});