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
@@ -0,0 +1,142 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
+
7
+ require('./chunk-9f6a8079.js');
8
+ require('./chunk-59b91990.js');
9
+ var __chunk_3 = require('./chunk-545f01b1.js');
10
+ require('./chunk-60061aa8.js');
11
+ var __chunk_6 = require('./chunk-13e039f5.js');
12
+ var Vue = _interopDefault(require('vue'));
13
+ var __chunk_16 = require('./chunk-8985ffff.js');
14
+ var __chunk_17 = require('./chunk-6d6465c1.js');
15
+
16
+ //
17
+ var script = {
18
+ name: 'BNotification',
19
+ mixins: [__chunk_16.MessageMixin],
20
+ props: {
21
+ position: String,
22
+ ariaCloseLabel: String
23
+ }
24
+ };
25
+
26
+ /* script */
27
+ const __vue_script__ = script;
28
+
29
+ /* template */
30
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"fade"}},[_c('article',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive),expression:"isActive"}],staticClass:"notification",class:[_vm.type, _vm.position]},[(_vm.closable)?_c('button',{staticClass:"delete",attrs:{"type":"button","aria-label":_vm.ariaCloseLabel},on:{"click":_vm.close}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"media"},[(_vm.icon && _vm.hasIcon)?_c('div',{staticClass:"media-left"},[_c('b-icon',{attrs:{"icon":_vm.icon,"pack":_vm.iconPack,"both":"","size":"is-large","aria-hidden":""}})],1):_vm._e(),_vm._v(" "),_c('div',{staticClass:"media-content"},[(_vm.message)?_c('p',{staticClass:"text",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._t("default")],2)])])])};
31
+ var __vue_staticRenderFns__ = [];
32
+
33
+ /* style */
34
+ const __vue_inject_styles__ = undefined;
35
+ /* scoped */
36
+ const __vue_scope_id__ = undefined;
37
+ /* module identifier */
38
+ const __vue_module_identifier__ = undefined;
39
+ /* functional template */
40
+ const __vue_is_functional_template__ = false;
41
+ /* style inject */
42
+
43
+ /* style inject SSR */
44
+
45
+
46
+
47
+ var Notification = __chunk_6.__vue_normalize__(
48
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
49
+ __vue_inject_styles__,
50
+ __vue_script__,
51
+ __vue_scope_id__,
52
+ __vue_is_functional_template__,
53
+ __vue_module_identifier__,
54
+ undefined,
55
+ undefined
56
+ );
57
+
58
+ //
59
+ var script$1 = {
60
+ name: 'BNotificationNotice',
61
+ mixins: [__chunk_17.NoticeMixin],
62
+ props: {
63
+ indefinite: {
64
+ type: Boolean,
65
+ default: false
66
+ }
67
+ },
68
+ data: function data() {
69
+ return {
70
+ newDuration: this.duration || __chunk_3.config.defaultNotificationDuration
71
+ };
72
+ }
73
+ };
74
+
75
+ /* script */
76
+ const __vue_script__$1 = script$1;
77
+
78
+ /* template */
79
+ var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-notification',_vm._b({on:{"close":_vm.close}},'b-notification',_vm.$options.propsData,false))};
80
+ var __vue_staticRenderFns__$1 = [];
81
+
82
+ /* style */
83
+ const __vue_inject_styles__$1 = undefined;
84
+ /* scoped */
85
+ const __vue_scope_id__$1 = undefined;
86
+ /* module identifier */
87
+ const __vue_module_identifier__$1 = undefined;
88
+ /* functional template */
89
+ const __vue_is_functional_template__$1 = false;
90
+ /* style inject */
91
+
92
+ /* style inject SSR */
93
+
94
+
95
+
96
+ var NotificationNotice = __chunk_6.__vue_normalize__(
97
+ { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
98
+ __vue_inject_styles__$1,
99
+ __vue_script__$1,
100
+ __vue_scope_id__$1,
101
+ __vue_is_functional_template__$1,
102
+ __vue_module_identifier__$1,
103
+ undefined,
104
+ undefined
105
+ );
106
+
107
+ var NotificationProgrammatic = {
108
+ open: function open(params) {
109
+ var message;
110
+ var parent;
111
+ if (typeof params === 'string') message = params;
112
+ var defaultParam = {
113
+ message: message,
114
+ position: __chunk_3.config.defaultNotificationPosition || 'is-top-right'
115
+ };
116
+
117
+ if (params.parent) {
118
+ parent = params.parent;
119
+ delete params.parent;
120
+ }
121
+
122
+ var propsData = Object.assign(defaultParam, typeof params === 'string' ? {} : params);
123
+ var vm = typeof window !== 'undefined' && window.Vue ? window.Vue : Vue;
124
+ var NotificationNoticeComponent = vm.extend(NotificationNotice);
125
+ return new NotificationNoticeComponent({
126
+ parent: parent,
127
+ el: document.createElement('div'),
128
+ propsData: propsData
129
+ });
130
+ }
131
+ };
132
+ var Plugin = {
133
+ install: function install(Vue) {
134
+ __chunk_6.registerComponent(Vue, Notification);
135
+ __chunk_6.registerComponentProgrammatic(Vue, 'notification', NotificationProgrammatic);
136
+ }
137
+ };
138
+ __chunk_6.use(Plugin);
139
+
140
+ exports.Notification = Notification;
141
+ exports.NotificationProgrammatic = NotificationProgrammatic;
142
+ exports.default = Plugin;
@@ -0,0 +1,191 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var __chunk_1 = require('./chunk-9f6a8079.js');
6
+ require('./chunk-545f01b1.js');
7
+ var __chunk_4 = require('./chunk-c146745e.js');
8
+ var __chunk_5 = require('./chunk-60061aa8.js');
9
+ var __chunk_6 = require('./chunk-13e039f5.js');
10
+ var __chunk_7 = require('./chunk-f0c597f9.js');
11
+
12
+ var _components;
13
+ var script = {
14
+ name: 'BNumberinput',
15
+ components: (_components = {}, __chunk_1._defineProperty(_components, __chunk_5.Icon.name, __chunk_5.Icon), __chunk_1._defineProperty(_components, __chunk_7.Input.name, __chunk_7.Input), _components),
16
+ mixins: [__chunk_4.FormElementMixin],
17
+ inheritAttrs: false,
18
+ props: {
19
+ value: Number,
20
+ min: [Number, String],
21
+ max: [Number, String],
22
+ step: [Number, String],
23
+ disabled: Boolean,
24
+ type: {
25
+ type: String,
26
+ default: 'is-primary'
27
+ },
28
+ editable: {
29
+ type: Boolean,
30
+ default: true
31
+ },
32
+ controlsRounded: {
33
+ type: Boolean,
34
+ default: false
35
+ },
36
+ controlsPosition: String
37
+ },
38
+ data: function data() {
39
+ return {
40
+ newValue: !isNaN(this.value) ? this.value : parseFloat(this.min) || 0,
41
+ newStep: this.step || 1,
42
+ _elementRef: 'input'
43
+ };
44
+ },
45
+ computed: {
46
+ computedValue: {
47
+ get: function get() {
48
+ return this.newValue;
49
+ },
50
+ set: function set(value) {
51
+ var newValue = value;
52
+
53
+ if (value === '') {
54
+ newValue = parseFloat(this.min) || 0;
55
+ }
56
+
57
+ this.newValue = newValue;
58
+ this.$emit('input', newValue);
59
+ !this.isValid && this.$refs.input.checkHtml5Validity();
60
+ }
61
+ },
62
+ fieldClasses: function fieldClasses() {
63
+ return [{
64
+ 'has-addons': this.controlsPosition === 'compact'
65
+ }, {
66
+ 'is-grouped': this.controlsPosition !== 'compact'
67
+ }];
68
+ },
69
+ buttonClasses: function buttonClasses() {
70
+ return [this.type, this.size, {
71
+ 'is-rounded': this.controlsRounded
72
+ }];
73
+ },
74
+ minNumber: function minNumber() {
75
+ return typeof this.min === 'string' ? parseFloat(this.min) : this.min;
76
+ },
77
+ maxNumber: function maxNumber() {
78
+ return typeof this.max === 'string' ? parseFloat(this.max) : this.max;
79
+ },
80
+ stepNumber: function stepNumber() {
81
+ return typeof this.newStep === 'string' ? parseFloat(this.newStep) : this.newStep;
82
+ },
83
+ disabledMin: function disabledMin() {
84
+ return this.computedValue - this.stepNumber < this.minNumber;
85
+ },
86
+ disabledMax: function disabledMax() {
87
+ return this.computedValue + this.stepNumber > this.maxNumber;
88
+ },
89
+ stepDecimals: function stepDecimals() {
90
+ var step = this.stepNumber.toString();
91
+ var index = step.indexOf('.');
92
+
93
+ if (index >= 0) {
94
+ return step.substring(index + 1).length;
95
+ }
96
+
97
+ return 0;
98
+ }
99
+ },
100
+ watch: {
101
+ /**
102
+ * When v-model is changed:
103
+ * 1. Set internal value.
104
+ */
105
+ value: function value(_value) {
106
+ this.newValue = _value;
107
+ }
108
+ },
109
+ methods: {
110
+ decrement: function decrement() {
111
+ if (typeof this.minNumber === 'undefined' || this.computedValue - this.stepNumber >= this.minNumber) {
112
+ var value = this.computedValue - this.stepNumber;
113
+ this.computedValue = parseFloat(value.toFixed(this.stepDecimals));
114
+ }
115
+ },
116
+ increment: function increment() {
117
+ if (typeof this.maxNumber === 'undefined' || this.computedValue + this.stepNumber <= this.maxNumber) {
118
+ var value = this.computedValue + this.stepNumber;
119
+ this.computedValue = parseFloat(value.toFixed(this.stepDecimals));
120
+ }
121
+ },
122
+ onControlClick: function onControlClick(event, inc) {
123
+ // IE 11 -> filter click event
124
+ if (event.detail !== 0 || event.type === 'click') return;
125
+ if (inc) this.increment();else this.decrement();
126
+ },
127
+ onStartLongPress: function onStartLongPress(event, inc) {
128
+ var _this = this;
129
+
130
+ if (event.button !== 0 && event.type !== 'touchstart') return;
131
+ this._$intervalTime = new Date();
132
+ clearInterval(this._$intervalRef);
133
+ this._$intervalRef = setInterval(function () {
134
+ if (inc) _this.increment();else _this.decrement();
135
+ }, 250);
136
+ },
137
+ onStopLongPress: function onStopLongPress(inc) {
138
+ if (!this._$intervalRef) return;
139
+ var d = new Date();
140
+
141
+ if (d - this._$intervalTime < 250) {
142
+ if (inc) this.increment();else this.decrement();
143
+ }
144
+
145
+ clearInterval(this._$intervalRef);
146
+ this._$intervalRef = null;
147
+ }
148
+ }
149
+ };
150
+
151
+ /* script */
152
+ const __vue_script__ = script;
153
+
154
+ /* template */
155
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-numberinput field",class:_vm.fieldClasses},[_c('p',{staticClass:"control",on:{"mouseup":function($event){_vm.onStopLongPress(false);},"mouseleave":function($event){_vm.onStopLongPress(false);},"touchend":function($event){_vm.onStopLongPress(false);},"touchcancel":function($event){_vm.onStopLongPress(false);}}},[_c('button',{staticClass:"button",class:_vm.buttonClasses,attrs:{"type":"button","disabled":_vm.disabled || _vm.disabledMin},on:{"mousedown":function($event){_vm.onStartLongPress($event, false);},"touchstart":function($event){$event.preventDefault();_vm.onStartLongPress($event, false);},"click":function($event){_vm.onControlClick($event, false);}}},[_c('b-icon',{attrs:{"icon":"minus","pack":_vm.iconPack,"size":_vm.iconSize}})],1)]),_vm._v(" "),_c('b-input',_vm._b({ref:"input",attrs:{"type":"number","step":_vm.newStep,"max":_vm.max,"min":_vm.min,"size":_vm.size,"disabled":_vm.disabled,"readonly":!_vm.editable,"loading":_vm.loading,"rounded":_vm.rounded,"icon":_vm.icon,"icon-pack":_vm.iconPack,"autocomplete":_vm.autocomplete,"expanded":_vm.expanded,"use-html5-validation":_vm.useHtml5Validation},on:{"focus":function($event){_vm.$emit('focus', $event);},"blur":function($event){_vm.$emit('blur', $event);}},model:{value:(_vm.computedValue),callback:function ($$v) {_vm.computedValue=_vm._n($$v);},expression:"computedValue"}},'b-input',_vm.$attrs,false)),_vm._v(" "),_c('p',{staticClass:"control",on:{"mouseup":function($event){_vm.onStopLongPress(true);},"mouseleave":function($event){_vm.onStopLongPress(true);},"touchend":function($event){_vm.onStopLongPress(true);},"touchcancel":function($event){_vm.onStopLongPress(true);}}},[_c('button',{staticClass:"button",class:_vm.buttonClasses,attrs:{"type":"button","disabled":_vm.disabled || _vm.disabledMax},on:{"mousedown":function($event){_vm.onStartLongPress($event, true);},"touchstart":function($event){$event.preventDefault();_vm.onStartLongPress($event, true);},"click":function($event){_vm.onControlClick($event, true);}}},[_c('b-icon',{attrs:{"icon":"plus","pack":_vm.iconPack,"size":_vm.iconSize}})],1)])],1)};
156
+ var __vue_staticRenderFns__ = [];
157
+
158
+ /* style */
159
+ const __vue_inject_styles__ = undefined;
160
+ /* scoped */
161
+ const __vue_scope_id__ = undefined;
162
+ /* module identifier */
163
+ const __vue_module_identifier__ = undefined;
164
+ /* functional template */
165
+ const __vue_is_functional_template__ = false;
166
+ /* style inject */
167
+
168
+ /* style inject SSR */
169
+
170
+
171
+
172
+ var Numberinput = __chunk_6.__vue_normalize__(
173
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
174
+ __vue_inject_styles__,
175
+ __vue_script__,
176
+ __vue_scope_id__,
177
+ __vue_is_functional_template__,
178
+ __vue_module_identifier__,
179
+ undefined,
180
+ undefined
181
+ );
182
+
183
+ var Plugin = {
184
+ install: function install(Vue) {
185
+ __chunk_6.registerComponent(Vue, Numberinput);
186
+ }
187
+ };
188
+ __chunk_6.use(Plugin);
189
+
190
+ exports.Numberinput = Numberinput;
191
+ exports.default = Plugin;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ require('./chunk-9f6a8079.js');
6
+ require('./chunk-545f01b1.js');
7
+ require('./chunk-60061aa8.js');
8
+ var __chunk_6 = require('./chunk-13e039f5.js');
9
+ var __chunk_18 = require('./chunk-876befa8.js');
10
+
11
+ var Plugin = {
12
+ install: function install(Vue) {
13
+ __chunk_6.registerComponent(Vue, __chunk_18.Pagination);
14
+ }
15
+ };
16
+ __chunk_6.use(Plugin);
17
+
18
+ exports.Pagination = __chunk_18.Pagination;
19
+ exports.default = Plugin;
@@ -0,0 +1,151 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var __chunk_6 = require('./chunk-13e039f5.js');
6
+
7
+ //
8
+ //
9
+ //
10
+ //
11
+ //
12
+ //
13
+ //
14
+ //
15
+ //
16
+ //
17
+ //
18
+ //
19
+ //
20
+ var script = {
21
+ name: 'BProgress',
22
+ props: {
23
+ type: {
24
+ type: [String, Object],
25
+ default: 'is-darkgrey'
26
+ },
27
+ size: String,
28
+ value: {
29
+ type: Number,
30
+ default: undefined
31
+ },
32
+ max: {
33
+ type: Number,
34
+ default: 100
35
+ },
36
+ showValue: {
37
+ type: Boolean,
38
+ default: false
39
+ },
40
+ format: {
41
+ type: String,
42
+ default: 'raw',
43
+ validator: function validator(value) {
44
+ return ['raw', 'percent'].indexOf(value) >= 0;
45
+ }
46
+ },
47
+ precision: {
48
+ type: Number,
49
+ default: 2
50
+ },
51
+ keepTrailingZeroes: {
52
+ type: Boolean,
53
+ default: false
54
+ }
55
+ },
56
+ computed: {
57
+ isIndeterminate: function isIndeterminate() {
58
+ return this.value === undefined || this.value === null;
59
+ },
60
+ newType: function newType() {
61
+ return [this.size, this.type];
62
+ },
63
+ newValue: function newValue() {
64
+ if (this.value === undefined || this.value === null || isNaN(this.value)) {
65
+ return undefined;
66
+ }
67
+
68
+ if (this.format === 'percent') {
69
+ var _val = this.toFixed(this.value * this.max / 100);
70
+
71
+ return "".concat(_val, "%");
72
+ }
73
+
74
+ var val = this.toFixed(this.value);
75
+ return val;
76
+ }
77
+ },
78
+ watch: {
79
+ value: function value(_value) {
80
+ this.setValue(_value);
81
+ }
82
+ },
83
+ methods: {
84
+ /**
85
+ * When value is changed back to undefined, value of native progress get reset to 0.
86
+ * Need to add and remove the value attribute to have the indeterminate or not.
87
+ */
88
+ setValue: function setValue(value) {
89
+ if (this.isIndeterminate) {
90
+ this.$refs.progress.removeAttribute('value');
91
+ } else {
92
+ this.$refs.progress.setAttribute('value', value);
93
+ }
94
+ },
95
+ // Custom function that imitate the javascript toFixed method with improved rounding
96
+ toFixed: function toFixed(num) {
97
+ var fixed = (+"".concat(Math.round(+"".concat(num, "e").concat(this.precision)), "e").concat(-this.precision)).toFixed(this.precision);
98
+
99
+ if (!this.keepTrailingZeroes) {
100
+ fixed = fixed.replace(/\.?0+$/, '');
101
+ }
102
+
103
+ return fixed;
104
+ }
105
+ },
106
+ mounted: function mounted() {
107
+ this.setValue(this.value);
108
+ }
109
+ };
110
+
111
+ /* script */
112
+ const __vue_script__ = script;
113
+
114
+ /* template */
115
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"progress-wrapper"},[_c('progress',{ref:"progress",staticClass:"progress",class:_vm.newType,attrs:{"max":_vm.max}},[_vm._v(_vm._s(_vm.newValue))]),_vm._v(" "),(_vm.showValue)?_c('p',{staticClass:"progress-value has-text-white"},[_vm._t("default",[_vm._v(_vm._s(_vm.newValue))])],2):_vm._e()])};
116
+ var __vue_staticRenderFns__ = [];
117
+
118
+ /* style */
119
+ const __vue_inject_styles__ = undefined;
120
+ /* scoped */
121
+ const __vue_scope_id__ = undefined;
122
+ /* module identifier */
123
+ const __vue_module_identifier__ = undefined;
124
+ /* functional template */
125
+ const __vue_is_functional_template__ = false;
126
+ /* style inject */
127
+
128
+ /* style inject SSR */
129
+
130
+
131
+
132
+ var Progress = __chunk_6.__vue_normalize__(
133
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
134
+ __vue_inject_styles__,
135
+ __vue_script__,
136
+ __vue_scope_id__,
137
+ __vue_is_functional_template__,
138
+ __vue_module_identifier__,
139
+ undefined,
140
+ undefined
141
+ );
142
+
143
+ var Plugin = {
144
+ install: function install(Vue) {
145
+ __chunk_6.registerComponent(Vue, Progress);
146
+ }
147
+ };
148
+ __chunk_6.use(Plugin);
149
+
150
+ exports.Progress = Progress;
151
+ exports.default = Plugin;