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,253 @@
1
+ import { _ as _defineProperty } from './chunk-d6200087.js';
2
+ import './chunk-9e3207cc.js';
3
+ import { I as Icon } from './chunk-e84b4047.js';
4
+ import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
5
+ import { S as SlotComponent } from './chunk-0e3f4fb5.js';
6
+
7
+ var _components;
8
+ var script = {
9
+ name: 'BTabs',
10
+ components: (_components = {}, _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, SlotComponent.name, SlotComponent), _components),
11
+ props: {
12
+ value: Number,
13
+ expanded: Boolean,
14
+ type: String,
15
+ size: String,
16
+ position: String,
17
+ animated: {
18
+ type: Boolean,
19
+ default: true
20
+ },
21
+ destroyOnHide: {
22
+ type: Boolean,
23
+ default: false
24
+ }
25
+ },
26
+ data: function data() {
27
+ return {
28
+ activeTab: this.value || 0,
29
+ tabItems: [],
30
+ contentHeight: 0,
31
+ isTransitioning: false,
32
+ _isTabs: true // Used internally by TabItem
33
+
34
+ };
35
+ },
36
+ computed: {
37
+ navClasses: function navClasses() {
38
+ return [this.type, this.size, this.position, {
39
+ 'is-fullwidth': this.expanded,
40
+ 'is-toggle-rounded is-toggle': this.type === 'is-toggle-rounded'
41
+ }];
42
+ }
43
+ },
44
+ watch: {
45
+ /**
46
+ * When v-model is changed set the new active tab.
47
+ */
48
+ value: function value(_value) {
49
+ this.changeTab(_value);
50
+ },
51
+
52
+ /**
53
+ * When tab-items are updated, set active one.
54
+ */
55
+ tabItems: function tabItems() {
56
+ if (this.activeTab < this.tabItems.length) {
57
+ this.tabItems[this.activeTab].isActive = true;
58
+ }
59
+ }
60
+ },
61
+ methods: {
62
+ /**
63
+ * Change the active tab and emit change event.
64
+ */
65
+ changeTab: function changeTab(newIndex) {
66
+ if (this.activeTab === newIndex) return;
67
+
68
+ if (this.activeTab < this.tabItems.length) {
69
+ this.tabItems[this.activeTab].deactivate(this.activeTab, newIndex);
70
+ }
71
+
72
+ this.tabItems[newIndex].activate(this.activeTab, newIndex);
73
+ this.activeTab = newIndex;
74
+ this.$emit('change', newIndex);
75
+ },
76
+
77
+ /**
78
+ * Tab click listener, emit input event and change active tab.
79
+ */
80
+ tabClick: function tabClick(value) {
81
+ this.$emit('input', value);
82
+ this.changeTab(value);
83
+ }
84
+ },
85
+ mounted: function mounted() {
86
+ if (this.activeTab < this.tabItems.length) {
87
+ this.tabItems[this.activeTab].isActive = true;
88
+ }
89
+ }
90
+ };
91
+
92
+ /* script */
93
+ const __vue_script__ = script;
94
+
95
+ /* template */
96
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-tabs",class:{ 'is-fullwidth': _vm.expanded }},[_c('nav',{staticClass:"tabs",class:_vm.navClasses},[_c('ul',_vm._l((_vm.tabItems),function(tabItem,index){return _c('li',{directives:[{name:"show",rawName:"v-show",value:(tabItem.visible),expression:"tabItem.visible"}],key:index,class:{ 'is-active': _vm.activeTab === index, 'is-disabled': tabItem.disabled }},[_c('a',{on:{"click":function($event){_vm.tabClick(index);}}},[(tabItem.$slots.header)?[_c('b-slot-component',{attrs:{"component":tabItem,"name":"header","tag":"span"}})]:[(tabItem.icon)?_c('b-icon',{attrs:{"icon":tabItem.icon,"pack":tabItem.iconPack,"size":_vm.size}}):_vm._e(),_vm._v(" "),_c('span',[_vm._v(_vm._s(tabItem.label))])]],2)])}))]),_vm._v(" "),_c('section',{staticClass:"tab-content",class:{'is-transitioning': _vm.isTransitioning}},[_vm._t("default")],2)])};
97
+ var __vue_staticRenderFns__ = [];
98
+
99
+ /* style */
100
+ const __vue_inject_styles__ = undefined;
101
+ /* scoped */
102
+ const __vue_scope_id__ = undefined;
103
+ /* module identifier */
104
+ const __vue_module_identifier__ = undefined;
105
+ /* functional template */
106
+ const __vue_is_functional_template__ = false;
107
+ /* style inject */
108
+
109
+ /* style inject SSR */
110
+
111
+
112
+
113
+ var Tabs = __vue_normalize__(
114
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
115
+ __vue_inject_styles__,
116
+ __vue_script__,
117
+ __vue_scope_id__,
118
+ __vue_is_functional_template__,
119
+ __vue_module_identifier__,
120
+ undefined,
121
+ undefined
122
+ );
123
+
124
+ var script$1 = {
125
+ name: 'BTabItem',
126
+ props: {
127
+ label: String,
128
+ icon: String,
129
+ iconPack: String,
130
+ disabled: Boolean,
131
+ visible: {
132
+ type: Boolean,
133
+ default: true
134
+ }
135
+ },
136
+ data: function data() {
137
+ return {
138
+ isActive: false,
139
+ transitionName: null
140
+ };
141
+ },
142
+ methods: {
143
+ /**
144
+ * Activate tab, alter animation name based on the index.
145
+ */
146
+ activate: function activate(oldIndex, index) {
147
+ this.transitionName = index < oldIndex ? 'slide-next' : 'slide-prev';
148
+ this.isActive = true;
149
+ },
150
+
151
+ /**
152
+ * Deactivate tab, alter animation name based on the index.
153
+ */
154
+ deactivate: function deactivate(oldIndex, index) {
155
+ this.transitionName = index < oldIndex ? 'slide-next' : 'slide-prev';
156
+ this.isActive = false;
157
+ }
158
+ },
159
+ created: function created() {
160
+ if (!this.$parent.$data._isTabs) {
161
+ this.$destroy();
162
+ throw new Error('You should wrap bTabItem on a bTabs');
163
+ }
164
+
165
+ this.$parent.tabItems.push(this);
166
+ },
167
+ beforeDestroy: function beforeDestroy() {
168
+ var index = this.$parent.tabItems.indexOf(this);
169
+
170
+ if (index >= 0) {
171
+ this.$parent.tabItems.splice(index, 1);
172
+ }
173
+ },
174
+ render: function render(createElement) {
175
+ var _this = this;
176
+
177
+ // if destroy apply v-if
178
+ if (this.$parent.destroyOnHide) {
179
+ if (!this.isActive || !this.visible) {
180
+ return;
181
+ }
182
+ }
183
+
184
+ var vnode = createElement('div', {
185
+ directives: [{
186
+ name: 'show',
187
+ value: this.isActive && this.visible
188
+ }],
189
+ attrs: {
190
+ 'class': 'tab-item'
191
+ }
192
+ }, this.$slots.default); // check animated prop
193
+
194
+ if (this.$parent.animated) {
195
+ return createElement('transition', {
196
+ props: {
197
+ 'name': this.transitionName
198
+ },
199
+ on: {
200
+ 'before-enter': function beforeEnter() {
201
+ _this.$parent.isTransitioning = true;
202
+ },
203
+ 'after-enter': function afterEnter() {
204
+ _this.$parent.isTransitioning = false;
205
+ }
206
+ }
207
+ }, [vnode]);
208
+ }
209
+
210
+ return vnode;
211
+ }
212
+ };
213
+
214
+ /* script */
215
+ const __vue_script__$1 = script$1;
216
+
217
+ /* template */
218
+
219
+ /* style */
220
+ const __vue_inject_styles__$1 = undefined;
221
+ /* scoped */
222
+ const __vue_scope_id__$1 = undefined;
223
+ /* module identifier */
224
+ const __vue_module_identifier__$1 = undefined;
225
+ /* functional template */
226
+ const __vue_is_functional_template__$1 = undefined;
227
+ /* style inject */
228
+
229
+ /* style inject SSR */
230
+
231
+
232
+
233
+ var TabItem = __vue_normalize__(
234
+ {},
235
+ __vue_inject_styles__$1,
236
+ __vue_script__$1,
237
+ __vue_scope_id__$1,
238
+ __vue_is_functional_template__$1,
239
+ __vue_module_identifier__$1,
240
+ undefined,
241
+ undefined
242
+ );
243
+
244
+ var Plugin = {
245
+ install: function install(Vue) {
246
+ registerComponent(Vue, Tabs);
247
+ registerComponent(Vue, TabItem);
248
+ }
249
+ };
250
+ use(Plugin);
251
+
252
+ export default Plugin;
253
+ export { TabItem, Tabs };
@@ -0,0 +1,59 @@
1
+ import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
2
+ import { T as Tag } from './chunk-3e47308f.js';
3
+ export { T as Tag } from './chunk-3e47308f.js';
4
+
5
+ //
6
+ //
7
+ //
8
+ //
9
+ //
10
+ //
11
+ var script = {
12
+ name: 'BTaglist',
13
+ props: {
14
+ attached: Boolean
15
+ }
16
+ };
17
+
18
+ /* script */
19
+ const __vue_script__ = script;
20
+
21
+ /* template */
22
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tags",class:{ 'has-addons': _vm.attached }},[_vm._t("default")],2)};
23
+ var __vue_staticRenderFns__ = [];
24
+
25
+ /* style */
26
+ const __vue_inject_styles__ = undefined;
27
+ /* scoped */
28
+ const __vue_scope_id__ = undefined;
29
+ /* module identifier */
30
+ const __vue_module_identifier__ = undefined;
31
+ /* functional template */
32
+ const __vue_is_functional_template__ = false;
33
+ /* style inject */
34
+
35
+ /* style inject SSR */
36
+
37
+
38
+
39
+ var Taglist = __vue_normalize__(
40
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
41
+ __vue_inject_styles__,
42
+ __vue_script__,
43
+ __vue_scope_id__,
44
+ __vue_is_functional_template__,
45
+ __vue_module_identifier__,
46
+ undefined,
47
+ undefined
48
+ );
49
+
50
+ var Plugin = {
51
+ install: function install(Vue) {
52
+ registerComponent(Vue, Tag);
53
+ registerComponent(Vue, Taglist);
54
+ }
55
+ };
56
+ use(Plugin);
57
+
58
+ export default Plugin;
59
+ export { Taglist };
@@ -0,0 +1,293 @@
1
+ import { _ as _defineProperty, a as _typeof } from './chunk-d6200087.js';
2
+ import { g as getValueByPath } from './chunk-e5fce48f.js';
3
+ import { c as config } from './chunk-9e3207cc.js';
4
+ import { F as FormElementMixin } from './chunk-10c85529.js';
5
+ import './chunk-e84b4047.js';
6
+ import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
7
+ import './chunk-98e86f40.js';
8
+ import { A as Autocomplete } from './chunk-92acc21f.js';
9
+ import { T as Tag } from './chunk-3e47308f.js';
10
+
11
+ var _components;
12
+ var script = {
13
+ name: 'BTaginput',
14
+ components: (_components = {}, _defineProperty(_components, Autocomplete.name, Autocomplete), _defineProperty(_components, Tag.name, Tag), _components),
15
+ mixins: [FormElementMixin],
16
+ inheritAttrs: false,
17
+ props: {
18
+ value: {
19
+ type: Array,
20
+ default: function _default() {
21
+ return [];
22
+ }
23
+ },
24
+ data: {
25
+ type: Array,
26
+ default: function _default() {
27
+ return [];
28
+ }
29
+ },
30
+ type: String,
31
+ rounded: {
32
+ type: Boolean,
33
+ default: false
34
+ },
35
+ attached: {
36
+ type: Boolean,
37
+ default: false
38
+ },
39
+ maxtags: {
40
+ type: [Number, String],
41
+ required: false
42
+ },
43
+ hasCounter: {
44
+ type: Boolean,
45
+ default: function _default() {
46
+ return config.defaultTaginputHasCounter;
47
+ }
48
+ },
49
+ field: {
50
+ type: String,
51
+ default: 'value'
52
+ },
53
+ autocomplete: Boolean,
54
+ nativeAutocomplete: String,
55
+ disabled: Boolean,
56
+ ellipsis: Boolean,
57
+ closable: {
58
+ type: Boolean,
59
+ default: true
60
+ },
61
+ confirmKeyCodes: {
62
+ type: Array,
63
+ default: function _default() {
64
+ return [13, 188];
65
+ }
66
+ },
67
+ removeOnKeys: {
68
+ type: Array,
69
+ default: function _default() {
70
+ return [8];
71
+ }
72
+ },
73
+ allowNew: Boolean,
74
+ onPasteSeparators: {
75
+ type: Array,
76
+ default: function _default() {
77
+ return [','];
78
+ }
79
+ },
80
+ beforeAdding: {
81
+ type: Function,
82
+ default: function _default() {
83
+ return true;
84
+ }
85
+ },
86
+ allowDuplicates: {
87
+ type: Boolean,
88
+ default: false
89
+ }
90
+ },
91
+ data: function data() {
92
+ return {
93
+ tags: Array.isArray(this.value) ? this.value.slice(0) : this.value || [],
94
+ newTag: '',
95
+ _elementRef: 'input',
96
+ _isTaginput: true
97
+ };
98
+ },
99
+ computed: {
100
+ rootClasses: function rootClasses() {
101
+ return {
102
+ 'is-expanded': this.expanded
103
+ };
104
+ },
105
+ containerClasses: function containerClasses() {
106
+ return {
107
+ 'is-focused': this.isFocused,
108
+ 'is-focusable': this.hasInput
109
+ };
110
+ },
111
+ valueLength: function valueLength() {
112
+ return this.newTag.trim().length;
113
+ },
114
+ defaultSlotName: function defaultSlotName() {
115
+ return this.hasDefaultSlot ? 'default' : 'dontrender';
116
+ },
117
+ emptySlotName: function emptySlotName() {
118
+ return this.hasEmptySlot ? 'empty' : 'dontrender';
119
+ },
120
+ headerSlotName: function headerSlotName() {
121
+ return this.hasHeaderSlot ? 'header' : 'dontrender';
122
+ },
123
+ footerSlotName: function footerSlotName() {
124
+ return this.hasHeaderSlot ? 'footer' : 'dontrender';
125
+ },
126
+ hasDefaultSlot: function hasDefaultSlot() {
127
+ return !!this.$scopedSlots.default;
128
+ },
129
+ hasEmptySlot: function hasEmptySlot() {
130
+ return !!this.$slots.empty;
131
+ },
132
+ hasHeaderSlot: function hasHeaderSlot() {
133
+ return !!this.$slots.header;
134
+ },
135
+ hasFooterSlot: function hasFooterSlot() {
136
+ return !!this.$slots.footer;
137
+ },
138
+
139
+ /**
140
+ * Show the input field if a maxtags hasn't been set or reached.
141
+ */
142
+ hasInput: function hasInput() {
143
+ return this.maxtags == null || this.tagsLength < this.maxtags;
144
+ },
145
+ tagsLength: function tagsLength() {
146
+ return this.tags.length;
147
+ },
148
+
149
+ /**
150
+ * If Taginput has onPasteSeparators prop,
151
+ * returning new RegExp used to split pasted string.
152
+ */
153
+ separatorsAsRegExp: function separatorsAsRegExp() {
154
+ var sep = this.onPasteSeparators;
155
+ return sep.length ? new RegExp(sep.map(function (s) {
156
+ return s ? s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&') : null;
157
+ }).join('|'), 'g') : null;
158
+ }
159
+ },
160
+ watch: {
161
+ /**
162
+ * When v-model is changed set internal value.
163
+ */
164
+ value: function value(_value) {
165
+ this.tags = _value;
166
+ },
167
+ hasInput: function hasInput() {
168
+ if (!this.hasInput) this.onBlur();
169
+ }
170
+ },
171
+ methods: {
172
+ addTag: function addTag(tag) {
173
+ var tagToAdd = tag || this.newTag.trim();
174
+
175
+ if (tagToAdd) {
176
+ if (!this.autocomplete) {
177
+ var reg = this.separatorsAsRegExp;
178
+
179
+ if (reg && tagToAdd.match(reg)) {
180
+ tagToAdd.split(reg).map(function (t) {
181
+ return t.trim();
182
+ }).filter(function (t) {
183
+ return t.length !== 0;
184
+ }).map(this.addTag);
185
+ return;
186
+ }
187
+ } // Add the tag input if it is not blank
188
+ // or previously added (if not allowDuplicates).
189
+
190
+
191
+ var add = !this.allowDuplicates ? this.tags.indexOf(tagToAdd) === -1 : true;
192
+
193
+ if (add && this.beforeAdding(tagToAdd)) {
194
+ this.tags.push(tagToAdd);
195
+ this.$emit('input', this.tags);
196
+ this.$emit('add', tagToAdd);
197
+ }
198
+ }
199
+
200
+ this.newTag = '';
201
+ },
202
+ getNormalizedTagText: function getNormalizedTagText(tag) {
203
+ if (_typeof(tag) === 'object') {
204
+ return getValueByPath(tag, this.field);
205
+ }
206
+
207
+ return tag;
208
+ },
209
+ customOnBlur: function customOnBlur($event) {
210
+ // Add tag on-blur if not select only
211
+ if (!this.autocomplete) this.addTag();
212
+ this.onBlur($event);
213
+ },
214
+ onSelect: function onSelect(option) {
215
+ var _this = this;
216
+
217
+ if (!option) return;
218
+ this.addTag(option);
219
+ this.$nextTick(function () {
220
+ _this.newTag = '';
221
+ });
222
+ },
223
+ removeTag: function removeTag(index) {
224
+ var tag = this.tags.splice(index, 1)[0];
225
+ this.$emit('input', this.tags);
226
+ this.$emit('remove', tag);
227
+ return tag;
228
+ },
229
+ removeLastTag: function removeLastTag() {
230
+ if (this.tagsLength > 0) {
231
+ this.removeTag(this.tagsLength - 1);
232
+ }
233
+ },
234
+ keydown: function keydown(event) {
235
+ if (this.removeOnKeys.indexOf(event.keyCode) !== -1 && !this.newTag.length) {
236
+ this.removeLastTag();
237
+ } // Stop if is to accept select only
238
+
239
+
240
+ if (this.autocomplete && !this.allowNew) return;
241
+
242
+ if (this.confirmKeyCodes.indexOf(event.keyCode) >= 0) {
243
+ event.preventDefault();
244
+ this.addTag();
245
+ }
246
+ },
247
+ onTyping: function onTyping($event) {
248
+ this.$emit('typing', $event.trim());
249
+ }
250
+ }
251
+ };
252
+
253
+ /* script */
254
+ const __vue_script__ = script;
255
+
256
+ /* template */
257
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"taginput control",class:_vm.rootClasses},[_c('div',{staticClass:"taginput-container",class:[_vm.statusType, _vm.size, _vm.containerClasses],attrs:{"disabled":_vm.disabled},on:{"click":function($event){_vm.hasInput && _vm.focus($event);}}},[_vm._l((_vm.tags),function(tag,index){return _c('b-tag',{key:index,attrs:{"type":_vm.type,"size":_vm.size,"rounded":_vm.rounded,"attached":_vm.attached,"tabstop":false,"disabled":_vm.disabled,"ellipsis":_vm.ellipsis,"closable":_vm.closable,"title":_vm.ellipsis && _vm.getNormalizedTagText(tag)},on:{"close":function($event){_vm.removeTag(index);}}},[_vm._v("\n "+_vm._s(_vm.getNormalizedTagText(tag))+"\n ")])}),_vm._v(" "),(_vm.hasInput)?_c('b-autocomplete',_vm._b({ref:"autocomplete",attrs:{"data":_vm.data,"field":_vm.field,"icon":_vm.icon,"icon-pack":_vm.iconPack,"maxlength":_vm.maxlength,"has-counter":false,"size":_vm.size,"disabled":_vm.disabled,"loading":_vm.loading,"autocomplete":_vm.nativeAutocomplete,"keep-first":!_vm.allowNew,"use-html5-validation":_vm.useHtml5Validation},on:{"typing":_vm.onTyping,"focus":_vm.onFocus,"blur":_vm.customOnBlur,"select":_vm.onSelect},nativeOn:{"keydown":function($event){_vm.keydown($event);}},scopedSlots:_vm._u([{key:_vm.defaultSlotName,fn:function(props){return [_vm._t("default",null,{option:props.option,index:props.index})]}}]),model:{value:(_vm.newTag),callback:function ($$v) {_vm.newTag=$$v;},expression:"newTag"}},'b-autocomplete',_vm.$attrs,false),[_c('template',{slot:_vm.headerSlotName},[_vm._t("header")],2),_vm._v(" "),_c('template',{slot:_vm.emptySlotName},[_vm._t("empty")],2),_vm._v(" "),_c('template',{slot:_vm.footerSlotName},[_vm._t("footer")],2)],2):_vm._e()],2),_vm._v(" "),(_vm.hasCounter && (_vm.maxtags || _vm.maxlength))?_c('small',{staticClass:"help counter"},[(_vm.maxlength && _vm.valueLength > 0)?[_vm._v("\n "+_vm._s(_vm.valueLength)+" / "+_vm._s(_vm.maxlength)+"\n ")]:(_vm.maxtags)?[_vm._v("\n "+_vm._s(_vm.tagsLength)+" / "+_vm._s(_vm.maxtags)+"\n ")]:_vm._e()],2):_vm._e()])};
258
+ var __vue_staticRenderFns__ = [];
259
+
260
+ /* style */
261
+ const __vue_inject_styles__ = undefined;
262
+ /* scoped */
263
+ const __vue_scope_id__ = undefined;
264
+ /* module identifier */
265
+ const __vue_module_identifier__ = undefined;
266
+ /* functional template */
267
+ const __vue_is_functional_template__ = false;
268
+ /* style inject */
269
+
270
+ /* style inject SSR */
271
+
272
+
273
+
274
+ var Taginput = __vue_normalize__(
275
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
276
+ __vue_inject_styles__,
277
+ __vue_script__,
278
+ __vue_scope_id__,
279
+ __vue_is_functional_template__,
280
+ __vue_module_identifier__,
281
+ undefined,
282
+ undefined
283
+ );
284
+
285
+ var Plugin = {
286
+ install: function install(Vue) {
287
+ registerComponent(Vue, Taginput);
288
+ }
289
+ };
290
+ use(Plugin);
291
+
292
+ export default Plugin;
293
+ export { Taginput };
@@ -0,0 +1,71 @@
1
+ import { _ as _defineProperty } from './chunk-d6200087.js';
2
+ import './chunk-e5fce48f.js';
3
+ import './chunk-9e3207cc.js';
4
+ import './chunk-10c85529.js';
5
+ import { I as Icon } from './chunk-e84b4047.js';
6
+ import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
7
+ import { I as Input } from './chunk-98e86f40.js';
8
+ import { T as TimepickerMixin } from './chunk-07e19446.js';
9
+ import { D as Dropdown, a as DropdownItem } from './chunk-00e3e67f.js';
10
+ import { F as Field } from './chunk-531b8274.js';
11
+ import { S as Select } from './chunk-912ed715.js';
12
+
13
+ var _components;
14
+ var script = {
15
+ name: 'BTimepicker',
16
+ components: (_components = {}, _defineProperty(_components, Input.name, Input), _defineProperty(_components, Field.name, Field), _defineProperty(_components, Select.name, Select), _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, Dropdown.name, Dropdown), _defineProperty(_components, DropdownItem.name, DropdownItem), _components),
17
+ mixins: [TimepickerMixin],
18
+ inheritAttrs: false,
19
+ data: function data() {
20
+ return {
21
+ _isTimepicker: true
22
+ };
23
+ },
24
+ computed: {
25
+ nativeStep: function nativeStep() {
26
+ if (this.enableSeconds) return '1';
27
+ }
28
+ }
29
+ };
30
+
31
+ /* script */
32
+ const __vue_script__ = script;
33
+
34
+ /* template */
35
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"timepicker control",class:[_vm.size, {'is-expanded': _vm.expanded}]},[(!_vm.isMobile || _vm.inline)?_c('b-dropdown',{ref:"dropdown",attrs:{"position":_vm.position,"disabled":_vm.disabled,"inline":_vm.inline}},[(!_vm.inline)?_c('b-input',_vm._b({ref:"input",attrs:{"slot":"trigger","autocomplete":"off","value":_vm.formatValue(_vm.computedValue),"placeholder":_vm.placeholder,"size":_vm.size,"icon":_vm.icon,"icon-pack":_vm.iconPack,"loading":_vm.loading,"disabled":_vm.disabled,"readonly":!_vm.editable,"rounded":_vm.rounded,"use-html5-validation":_vm.useHtml5Validation},on:{"focus":_vm.handleOnFocus,"blur":function($event){_vm.onBlur() && _vm.checkHtml5Validity();}},nativeOn:{"keyup":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,"enter",13,$event.key)){ return null; }_vm.toggle(true);},"change":function($event){_vm.onChange($event.target.value);}},slot:"trigger"},'b-input',_vm.$attrs,false)):_vm._e(),_vm._v(" "),_c('b-dropdown-item',{attrs:{"disabled":_vm.disabled,"custom":""}},[_c('b-field',{attrs:{"grouped":"","position":"is-centered"}},[_c('b-select',{attrs:{"disabled":_vm.disabled,"placeholder":"00"},nativeOn:{"change":function($event){_vm.onHoursChange($event.target.value);}},model:{value:(_vm.hoursSelected),callback:function ($$v) {_vm.hoursSelected=$$v;},expression:"hoursSelected"}},_vm._l((_vm.hours),function(hour){return _c('option',{key:hour.value,attrs:{"disabled":_vm.isHourDisabled(hour.value)},domProps:{"value":hour.value}},[_vm._v("\n "+_vm._s(hour.label)+"\n ")])})),_vm._v(" "),_c('span',{staticClass:"control is-colon"},[_vm._v(":")]),_vm._v(" "),_c('b-select',{attrs:{"disabled":_vm.disabled,"placeholder":"00"},nativeOn:{"change":function($event){_vm.onMinutesChange($event.target.value);}},model:{value:(_vm.minutesSelected),callback:function ($$v) {_vm.minutesSelected=$$v;},expression:"minutesSelected"}},_vm._l((_vm.minutes),function(minute){return _c('option',{key:minute.value,attrs:{"disabled":_vm.isMinuteDisabled(minute.value)},domProps:{"value":minute.value}},[_vm._v("\n "+_vm._s(minute.label)+"\n ")])})),_vm._v(" "),(_vm.enableSeconds)?[_c('span',{staticClass:"control is-colon"},[_vm._v(":")]),_vm._v(" "),_c('b-select',{attrs:{"disabled":_vm.disabled,"placeholder":"00"},nativeOn:{"change":function($event){_vm.onSecondsChange($event.target.value);}},model:{value:(_vm.secondsSelected),callback:function ($$v) {_vm.secondsSelected=$$v;},expression:"secondsSelected"}},_vm._l((_vm.seconds),function(second){return _c('option',{key:second.value,attrs:{"disabled":_vm.isSecondDisabled(second.value)},domProps:{"value":second.value}},[_vm._v("\n "+_vm._s(second.label)+"\n ")])}))]:_vm._e(),_vm._v(" "),(!_vm.isHourFormat24)?_c('b-select',{attrs:{"disabled":_vm.disabled},nativeOn:{"change":function($event){_vm.onMeridienChange($event.target.value);}},model:{value:(_vm.meridienSelected),callback:function ($$v) {_vm.meridienSelected=$$v;},expression:"meridienSelected"}},_vm._l((_vm.meridiens),function(meridien){return _c('option',{key:meridien,domProps:{"value":meridien}},[_vm._v("\n "+_vm._s(meridien)+"\n ")])})):_vm._e()],2),_vm._v(" "),(_vm.$slots.default !== undefined && _vm.$slots.default.length)?_c('footer',{staticClass:"timepicker-footer"},[_vm._t("default")],2):_vm._e()],1)],1):_c('b-input',_vm._b({ref:"input",attrs:{"type":"time","step":_vm.nativeStep,"autocomplete":"off","value":_vm.formatHHMMSS(_vm.computedValue),"placeholder":_vm.placeholder,"size":_vm.size,"icon":_vm.icon,"icon-pack":_vm.iconPack,"loading":_vm.loading,"max":_vm.formatHHMMSS(_vm.maxTime),"min":_vm.formatHHMMSS(_vm.minTime),"disabled":_vm.disabled,"readonly":false,"use-html5-validation":_vm.useHtml5Validation},on:{"focus":_vm.handleOnFocus,"blur":function($event){_vm.onBlur() && _vm.checkHtml5Validity();}},nativeOn:{"change":function($event){_vm.onChange($event.target.value);}}},'b-input',_vm.$attrs,false))],1)};
36
+ var __vue_staticRenderFns__ = [];
37
+
38
+ /* style */
39
+ const __vue_inject_styles__ = undefined;
40
+ /* scoped */
41
+ const __vue_scope_id__ = undefined;
42
+ /* module identifier */
43
+ const __vue_module_identifier__ = undefined;
44
+ /* functional template */
45
+ const __vue_is_functional_template__ = false;
46
+ /* style inject */
47
+
48
+ /* style inject SSR */
49
+
50
+
51
+
52
+ var Timepicker = __vue_normalize__(
53
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
54
+ __vue_inject_styles__,
55
+ __vue_script__,
56
+ __vue_scope_id__,
57
+ __vue_is_functional_template__,
58
+ __vue_module_identifier__,
59
+ undefined,
60
+ undefined
61
+ );
62
+
63
+ var Plugin = {
64
+ install: function install(Vue) {
65
+ registerComponent(Vue, Timepicker);
66
+ }
67
+ };
68
+ use(Plugin);
69
+
70
+ export default Plugin;
71
+ export { Timepicker };