buefy 0.9.9 → 0.9.13

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 (278) hide show
  1. package/CHANGELOG.md +1639 -1609
  2. package/dist/buefy.css +20 -2
  3. package/dist/buefy.esm.js +2227 -1869
  4. package/dist/buefy.esm.min.js +2 -2
  5. package/dist/buefy.js +2266 -1907
  6. package/dist/buefy.min.css +1 -1
  7. package/dist/buefy.min.js +2 -2
  8. package/dist/cjs/autocomplete.js +6 -6
  9. package/dist/cjs/breadcrumb.js +127 -0
  10. package/dist/cjs/button.js +6 -107
  11. package/dist/cjs/carousel.js +9 -7
  12. package/dist/cjs/checkbox.js +5 -5
  13. package/dist/cjs/{chunk-d33a8a78.js → chunk-114191ae.js} +3 -3
  14. package/dist/cjs/{chunk-dafdb70c.js → chunk-2062216d.js} +39 -3
  15. package/dist/cjs/{chunk-64efc596.js → chunk-2911aa4b.js} +20 -16
  16. package/dist/cjs/{chunk-96ab31c1.js → chunk-2ae50815.js} +7 -7
  17. package/dist/cjs/{chunk-c3032504.js → chunk-2c7de785.js} +3 -3
  18. package/dist/cjs/{chunk-50ff3a78.js → chunk-30670fac.js} +96 -15
  19. package/dist/cjs/{chunk-e57b3891.js → chunk-34949503.js} +2 -2
  20. package/dist/cjs/{chunk-0abd2223.js → chunk-3b43d77a.js} +2 -2
  21. package/dist/cjs/{chunk-dcdbe2e8.js → chunk-3cc5d9a6.js} +1 -1
  22. package/dist/cjs/{chunk-0b57168e.js → chunk-61023b09.js} +3 -3
  23. package/dist/cjs/chunk-6cb902f8.js +314 -0
  24. package/dist/cjs/{chunk-adb01a93.js → chunk-7da0c017.js} +26 -24
  25. package/dist/cjs/{chunk-60255743.js → chunk-9103eeda.js} +4 -0
  26. package/dist/cjs/{chunk-14c82365.js → chunk-92621ff7.js} +37 -0
  27. package/dist/cjs/{chunk-816cba7a.js → chunk-9e4cf4c5.js} +1 -1
  28. package/dist/cjs/{chunk-33b9d1cf.js → chunk-a11294f9.js} +27 -26
  29. package/dist/cjs/{chunk-430b5370.js → chunk-bfcad370.js} +25 -2
  30. package/dist/cjs/{chunk-cc470e7c.js → chunk-c6fbc7b4.js} +7 -7
  31. package/dist/cjs/{chunk-993f89de.js → chunk-c7b2aa4b.js} +5 -4
  32. package/dist/cjs/{chunk-6474e963.js → chunk-d0f8ea39.js} +9 -9
  33. package/dist/cjs/{chunk-3acb500b.js → chunk-d120e215.js} +2 -2
  34. package/dist/cjs/{chunk-f5baaa70.js → chunk-d54e40f6.js} +2 -1
  35. package/dist/cjs/{chunk-916a2858.js → chunk-f5106717.js} +4 -4
  36. package/dist/cjs/chunk-fe2f57ee.js +110 -0
  37. package/dist/cjs/{chunk-2571dc7c.js → chunk-fefd7b77.js} +0 -0
  38. package/dist/cjs/clockpicker.js +11 -11
  39. package/dist/cjs/config.js +2 -2
  40. package/dist/cjs/datepicker.js +12 -12
  41. package/dist/cjs/datetimepicker.js +22 -15
  42. package/dist/cjs/dialog.js +13 -11
  43. package/dist/cjs/dropdown.js +8 -8
  44. package/dist/cjs/field.js +5 -5
  45. package/dist/cjs/helpers.js +2 -3
  46. package/dist/cjs/icon.js +3 -3
  47. package/dist/cjs/image.js +6 -311
  48. package/dist/cjs/index.js +29 -23
  49. package/dist/cjs/input.js +5 -5
  50. package/dist/cjs/loading.js +6 -6
  51. package/dist/cjs/menu.js +3 -3
  52. package/dist/cjs/message.js +6 -6
  53. package/dist/cjs/modal.js +6 -6
  54. package/dist/cjs/navbar.js +16 -4
  55. package/dist/cjs/notification.js +23 -11
  56. package/dist/cjs/numberinput.js +9 -7
  57. package/dist/cjs/pagination.js +8 -8
  58. package/dist/cjs/progress.js +10 -6
  59. package/dist/cjs/radio.js +3 -3
  60. package/dist/cjs/rate.js +3 -3
  61. package/dist/cjs/select.js +7 -7
  62. package/dist/cjs/sidebar.js +2 -2
  63. package/dist/cjs/slider.js +4 -4
  64. package/dist/cjs/snackbar.js +5 -5
  65. package/dist/cjs/steps.js +8 -8
  66. package/dist/cjs/switch.js +1 -1
  67. package/dist/cjs/table.js +13 -13
  68. package/dist/cjs/tabs.js +8 -8
  69. package/dist/cjs/tag.js +3 -3
  70. package/dist/cjs/taginput.js +34 -22
  71. package/dist/cjs/timepicker.js +13 -13
  72. package/dist/cjs/toast.js +5 -5
  73. package/dist/cjs/tooltip.js +5 -5
  74. package/dist/cjs/upload.js +5 -5
  75. package/dist/components/autocomplete/index.js +98 -13
  76. package/dist/components/autocomplete/index.min.js +2 -2
  77. package/dist/components/breadcrumb/index.js +293 -0
  78. package/dist/components/breadcrumb/index.min.js +2 -0
  79. package/dist/components/button/index.js +5 -1
  80. package/dist/components/button/index.min.js +2 -2
  81. package/dist/components/carousel/index.js +348 -15
  82. package/dist/components/carousel/index.min.js +2 -2
  83. package/dist/components/checkbox/index.js +1 -1
  84. package/dist/components/checkbox/index.min.js +1 -1
  85. package/dist/components/clockpicker/index.js +54 -47
  86. package/dist/components/clockpicker/index.min.js +2 -2
  87. package/dist/components/collapse/index.js +1 -1
  88. package/dist/components/collapse/index.min.js +1 -1
  89. package/dist/components/datepicker/index.js +41 -32
  90. package/dist/components/datepicker/index.min.js +2 -2
  91. package/dist/components/datetimepicker/index.js +75 -58
  92. package/dist/components/datetimepicker/index.min.js +2 -2
  93. package/dist/components/dialog/index.js +126 -18
  94. package/dist/components/dialog/index.min.js +2 -2
  95. package/dist/components/dropdown/index.js +5 -1
  96. package/dist/components/dropdown/index.min.js +1 -1
  97. package/dist/components/field/index.js +29 -23
  98. package/dist/components/field/index.min.js +2 -2
  99. package/dist/components/icon/index.js +5 -1
  100. package/dist/components/icon/index.min.js +2 -2
  101. package/dist/components/image/index.js +463 -444
  102. package/dist/components/image/index.min.js +2 -2
  103. package/dist/components/input/index.js +5 -1
  104. package/dist/components/input/index.min.js +2 -2
  105. package/dist/components/loading/index.js +2 -2
  106. package/dist/components/loading/index.min.js +2 -2
  107. package/dist/components/menu/index.js +5 -1
  108. package/dist/components/menu/index.min.js +2 -2
  109. package/dist/components/message/index.js +43 -3
  110. package/dist/components/message/index.min.js +2 -2
  111. package/dist/components/modal/index.js +7 -2
  112. package/dist/components/modal/index.min.js +2 -2
  113. package/dist/components/navbar/index.js +16 -4
  114. package/dist/components/navbar/index.min.js +2 -2
  115. package/dist/components/notification/index.js +59 -6
  116. package/dist/components/notification/index.min.js +2 -2
  117. package/dist/components/numberinput/index.js +9 -3
  118. package/dist/components/numberinput/index.min.js +2 -2
  119. package/dist/components/pagination/index.js +5 -1
  120. package/dist/components/pagination/index.min.js +2 -2
  121. package/dist/components/progress/index.js +10 -2
  122. package/dist/components/progress/index.min.js +2 -2
  123. package/dist/components/radio/index.js +1 -1
  124. package/dist/components/radio/index.min.js +1 -1
  125. package/dist/components/rate/index.js +5 -1
  126. package/dist/components/rate/index.min.js +2 -2
  127. package/dist/components/select/index.js +5 -1
  128. package/dist/components/select/index.min.js +2 -2
  129. package/dist/components/sidebar/index.js +5 -1
  130. package/dist/components/sidebar/index.min.js +1 -1
  131. package/dist/components/skeleton/index.js +1 -1
  132. package/dist/components/skeleton/index.min.js +1 -1
  133. package/dist/components/slider/index.js +5 -1
  134. package/dist/components/slider/index.min.js +2 -2
  135. package/dist/components/snackbar/index.js +7 -2
  136. package/dist/components/snackbar/index.min.js +2 -2
  137. package/dist/components/steps/index.js +5 -1
  138. package/dist/components/steps/index.min.js +2 -2
  139. package/dist/components/switch/index.js +5 -1
  140. package/dist/components/switch/index.min.js +1 -1
  141. package/dist/components/table/index.js +6 -2
  142. package/dist/components/table/index.min.js +2 -2
  143. package/dist/components/tabs/index.js +5 -1
  144. package/dist/components/tabs/index.min.js +2 -2
  145. package/dist/components/tag/index.js +26 -3
  146. package/dist/components/tag/index.min.js +2 -2
  147. package/dist/components/taginput/index.js +185 -29
  148. package/dist/components/taginput/index.min.js +2 -2
  149. package/dist/components/timepicker/index.js +54 -47
  150. package/dist/components/timepicker/index.min.js +2 -2
  151. package/dist/components/toast/index.js +7 -2
  152. package/dist/components/toast/index.min.js +2 -2
  153. package/dist/components/tooltip/index.js +5 -1
  154. package/dist/components/tooltip/index.min.js +1 -1
  155. package/dist/components/upload/index.js +5 -1
  156. package/dist/components/upload/index.min.js +2 -2
  157. package/dist/esm/autocomplete.js +7 -7
  158. package/dist/esm/breadcrumb.js +122 -0
  159. package/dist/esm/button.js +6 -107
  160. package/dist/esm/carousel.js +7 -5
  161. package/dist/esm/{chunk-56040896.js → chunk-18e8b067.js} +3 -3
  162. package/dist/esm/{chunk-fa404a2c.js → chunk-21fc0948.js} +7 -7
  163. package/dist/esm/{chunk-f9299099.js → chunk-22e9f916.js} +19 -15
  164. package/dist/esm/{chunk-1fafdf15.js → chunk-2452e3d3.js} +37 -1
  165. package/dist/esm/{chunk-1297c2c9.js → chunk-29ca0df8.js} +1 -1
  166. package/dist/esm/{chunk-3c2169d7.js → chunk-2f2f0a74.js} +25 -2
  167. package/dist/esm/{chunk-cf72ce36.js → chunk-3773c62d.js} +2 -2
  168. package/dist/esm/{chunk-2c957994.js → chunk-4b67a181.js} +3 -3
  169. package/dist/esm/{chunk-45740cdc.js → chunk-6019fd7a.js} +96 -15
  170. package/dist/esm/chunk-71a547bc.js +312 -0
  171. package/dist/esm/{chunk-516e4877.js → chunk-75a5af93.js} +1 -1
  172. package/dist/esm/{chunk-4e380ee2.js → chunk-799e084d.js} +2 -1
  173. package/dist/esm/{chunk-37678809.js → chunk-83eb0d37.js} +3 -3
  174. package/dist/esm/{chunk-34c74085.js → chunk-8d0f95b8.js} +4 -4
  175. package/dist/esm/{chunk-652f2dad.js → chunk-8ed29c41.js} +4 -0
  176. package/dist/esm/{chunk-742a9694.js → chunk-9f7f7441.js} +3 -2
  177. package/dist/esm/{chunk-f160efb9.js → chunk-ae8ab23a.js} +4 -4
  178. package/dist/esm/{chunk-c3b09672.js → chunk-b07e3182.js} +26 -24
  179. package/dist/esm/{chunk-e36a4f2c.js → chunk-b0c0c6b0.js} +0 -0
  180. package/dist/esm/{chunk-ee935ae6.js → chunk-c9c58d0c.js} +1 -1
  181. package/dist/esm/{chunk-1d62828e.js → chunk-d7f92d97.js} +39 -3
  182. package/dist/esm/{chunk-7fd02ffe.js → chunk-d92f0cd9.js} +2 -2
  183. package/dist/esm/chunk-e7c9b2cb.js +108 -0
  184. package/dist/esm/{chunk-0e22ae0a.js → chunk-ece062a7.js} +27 -26
  185. package/dist/esm/clockpicker.js +9 -9
  186. package/dist/esm/config.js +2 -2
  187. package/dist/esm/datepicker.js +11 -11
  188. package/dist/esm/datetimepicker.js +21 -14
  189. package/dist/esm/dialog.js +10 -8
  190. package/dist/esm/dropdown.js +5 -5
  191. package/dist/esm/field.js +4 -4
  192. package/dist/esm/helpers.js +2 -3
  193. package/dist/esm/icon.js +4 -4
  194. package/dist/esm/image.js +6 -311
  195. package/dist/esm/index.js +106 -100
  196. package/dist/esm/input.js +6 -6
  197. package/dist/esm/loading.js +4 -4
  198. package/dist/esm/menu.js +3 -3
  199. package/dist/esm/message.js +5 -5
  200. package/dist/esm/modal.js +4 -4
  201. package/dist/esm/navbar.js +16 -4
  202. package/dist/esm/notification.js +22 -10
  203. package/dist/esm/numberinput.js +9 -7
  204. package/dist/esm/pagination.js +5 -5
  205. package/dist/esm/progress.js +8 -4
  206. package/dist/esm/rate.js +3 -3
  207. package/dist/esm/select.js +6 -6
  208. package/dist/esm/sidebar.js +2 -2
  209. package/dist/esm/slider.js +3 -3
  210. package/dist/esm/snackbar.js +4 -4
  211. package/dist/esm/steps.js +6 -6
  212. package/dist/esm/switch.js +1 -1
  213. package/dist/esm/table.js +9 -9
  214. package/dist/esm/tabs.js +6 -6
  215. package/dist/esm/tag.js +2 -2
  216. package/dist/esm/taginput.js +33 -21
  217. package/dist/esm/timepicker.js +12 -12
  218. package/dist/esm/toast.js +4 -4
  219. package/dist/esm/tooltip.js +4 -4
  220. package/dist/esm/upload.js +3 -3
  221. package/dist/vetur/attributes.json +95 -19
  222. package/dist/vetur/tags.json +37 -4
  223. package/package.json +2 -2
  224. package/src/components/autocomplete/Autocomplete.spec.js +70 -0
  225. package/src/components/autocomplete/Autocomplete.vue +93 -18
  226. package/src/components/breadcrumb/Breadcrumb.spec.js +63 -0
  227. package/src/components/breadcrumb/Breadcrumb.vue +43 -0
  228. package/src/components/breadcrumb/BreadcrumbItem.spec.js +25 -0
  229. package/src/components/breadcrumb/BreadcrumbItem.vue +33 -0
  230. package/src/components/breadcrumb/__snapshots__/Breadcrumb.spec.js.snap +7 -0
  231. package/src/components/breadcrumb/__snapshots__/BreadcrumbItem.spec.js.snap +7 -0
  232. package/src/components/breadcrumb/index.js +20 -0
  233. package/src/components/carousel/CarouselList.vue +3 -1
  234. package/src/components/carousel/__snapshots__/CarouselList.spec.js.snap +128 -8
  235. package/src/components/clockpicker/Clockpicker.vue +259 -259
  236. package/src/components/datepicker/Datepicker.vue +10 -6
  237. package/src/components/datetimepicker/Datetimepicker.vue +8 -1
  238. package/src/components/dialog/Dialog.vue +10 -10
  239. package/src/components/field/Field.vue +271 -270
  240. package/src/components/image/Image.spec.js +197 -183
  241. package/src/components/image/Image.vue +4 -2
  242. package/src/components/index.js +2 -0
  243. package/src/components/loading/Loading.vue +1 -1
  244. package/src/components/loading/__snapshots__/Loading.spec.js.snap +1 -1
  245. package/src/components/message/Message.vue +7 -1
  246. package/src/components/message/__snapshots__/Message.spec.js.snap +1 -0
  247. package/src/components/modal/Modal.vue +2 -0
  248. package/src/components/navbar/Navbar.vue +5 -1
  249. package/src/components/navbar/NavbarBurger.vue +1 -0
  250. package/src/components/navbar/NavbarDropdown.vue +8 -2
  251. package/src/components/navbar/__snapshots__/NavBar.spec.js.snap +11 -11
  252. package/src/components/navbar/__snapshots__/NavBarBurger.spec.js.snap +3 -0
  253. package/src/components/navbar/__snapshots__/NavbarDropdown.spec.js.snap +1 -1
  254. package/src/components/notification/Notification.vue +6 -0
  255. package/src/components/notification/NotificationNotice.vue +16 -3
  256. package/src/components/notification/__snapshots__/Notification.spec.js.snap +1 -0
  257. package/src/components/numberinput/Numberinput.spec.js +10 -0
  258. package/src/components/numberinput/Numberinput.vue +4 -2
  259. package/src/components/progress/Progress.vue +6 -2
  260. package/src/components/snackbar/Snackbar.vue +2 -0
  261. package/src/components/tag/Tag.vue +25 -2
  262. package/src/components/tag/__snapshots__/Tag.spec.js.snap +1 -1
  263. package/src/components/taginput/Taginput.spec.js +57 -1
  264. package/src/components/taginput/Taginput.vue +373 -364
  265. package/src/components/toast/Toast.vue +1 -1
  266. package/src/index.js +2 -0
  267. package/src/scss/buefy.scss +1 -0
  268. package/src/scss/components/_loading.scss +2 -1
  269. package/src/scss/components/_message.scss +3 -0
  270. package/src/scss/components/_notification.scss +8 -0
  271. package/src/scss/components/_progress.scss +8 -0
  272. package/src/utils/MessageMixin.js +32 -1
  273. package/src/utils/NoticeMixin.js +1 -0
  274. package/src/utils/TimepickerMixin.js +718 -716
  275. package/src/utils/config.js +4 -0
  276. package/src/utils/helpers.js +1 -2
  277. package/types/components.d.ts +5 -0
  278. package/src/components/navbar/__snapshots__/NavbarBurger.spec.js.snap +0 -3
@@ -1,2 +1,2 @@
1
- /*! Buefy v0.9.9 | 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).Upload={})}(this,function(e){"use strict";var t={defaultContainerElement:null,defaultIconPack:"mdi",defaultIconComponent:null,defaultIconPrev:"chevron-left",defaultIconNext:"chevron-right",defaultLocale:void 0,defaultDialogConfirmText:null,defaultDialogCancelText:null,defaultSnackbarDuration:3500,defaultSnackbarPosition:null,defaultToastDuration:2e3,defaultToastPosition:null,defaultNotificationDuration:2e3,defaultNotificationPosition:null,defaultTooltipType:"is-primary",defaultTooltipDelay:null,defaultSidebarDelay:null,defaultInputAutocomplete:"on",defaultDateFormatter:null,defaultDateParser:null,defaultDateCreator:null,defaultTimeCreator:null,defaultDayNames:null,defaultMonthNames:null,defaultFirstDayOfWeek:null,defaultUnselectableDaysOfWeek:null,defaultTimeFormatter:null,defaultTimeParser:null,defaultModalCanCancel:["escape","x","outside","button"],defaultModalScroll:null,defaultDatepickerMobileNative:!0,defaultTimepickerMobileNative:!0,defaultNoticeQueue:!0,defaultInputHasCounter:!0,defaultTaginputHasCounter:!0,defaultUseHtml5Validation:!0,defaultDropdownMobileModal:!0,defaultFieldLabelPosition:null,defaultDatepickerYearsRange:[-100,10],defaultDatepickerNearbyMonthDays:!0,defaultDatepickerNearbySelectableMonthDays:!1,defaultDatepickerShowWeekNumber:!1,defaultDatepickerWeekNumberClickable:!1,defaultDatepickerMobileModal:!0,defaultTrapFocus:!0,defaultAutoFocus:!0,defaultButtonRounded:!1,defaultSwitchRounded:!0,defaultCarouselInterval:3500,defaultTabsExpanded:!1,defaultTabsAnimated:!0,defaultTabsType:null,defaultStatusIcon:!0,defaultProgrammaticPromise:!1,defaultLinkTags:["a","button","input","router-link","nuxt-link","n-link","RouterLink","NuxtLink","NLink"],defaultImageWebpFallback:null,defaultImageLazy:!0,defaultImageResponsive:!0,defaultImageRatio:null,defaultImageSrcsetFormatter:null,customIconPacks:null};var a={props:{size:String,expanded:Boolean,loading:Boolean,rounded:Boolean,icon:String,iconPack:String,autocomplete:String,maxlength:[Number,String],useHtml5Validation:{type:Boolean,default:function(){return t.defaultUseHtml5Validation}},validationMessage:String,locale:{type:[String,Array],default:function(){return t.defaultLocale}},statusIcon:{type:Boolean,default:function(){return t.defaultStatusIcon}}},data:function(){return{isValid:!0,isFocused:!1,newIconPack:this.iconPack||t.defaultIconPack}},computed:{parentField:function(){for(var e=this.$parent,t=0;t<3;t++)e&&!e.$data._isField&&(e=e.$parent);return e},statusType:function(){var e=(this.parentField||{}).newType;if(e){if("string"==typeof e)return e;for(var t in e)if(e[t])return t}},statusMessage:function(){if(this.parentField)return this.parentField.newMessage||this.parentField.$slots.message},iconSize:function(){switch(this.size){case"is-small":return this.size;case"is-medium":return;case"is-large":return"mdi"===this.newIconPack?"is-medium":""}}},methods:{focus:function(){var e=this.getElement();void 0!==e&&this.$nextTick(function(){e&&e.focus()})},onBlur:function(e){this.isFocused=!1,this.$emit("blur",e),this.checkHtml5Validity()},onFocus:function(e){this.isFocused=!0,this.$emit("focus",e),this.checkHtml5Validity()},getElement:function(){for(var e,t=this.$refs[this.$data._elementRef];(e=t)&&e._isVue;)t=t.$refs[t.$data._elementRef];return t},setInvalid:function(){var e=this.validationMessage||this.getElement().validationMessage;this.setValidity("is-danger",e)},setValidity:function(e,t){var a=this;this.$nextTick(function(){a.parentField&&(a.parentField.type||(a.parentField.newType=e),a.parentField.message||(a.parentField.newMessage=t))})},checkHtml5Validity:function(){if(this.useHtml5Validation){var e=this.getElement();if(void 0!==e)return e.checkValidity()?(this.setValidity(null,null),this.isValid=!0):(this.setInvalid(),this.isValid=!1),this.isValid}}}},n="undefined"==typeof window,i=(n?Object:window.HTMLElement,n?Object:window.File);var l,o=function(e,t,a,n,i,l,o,u,r,s){"boolean"!=typeof o&&(r=u,u=o,o=!1);var d,f="function"==typeof a?a.options:a;if(e&&e.render&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns,f._compiled=!0,i&&(f.functional=!0)),n&&(f._scopeId=n),l?(d=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,r(e)),e&&e._registeredComponents&&e._registeredComponents.add(l)},f._ssrRegister=d):t&&(d=o?function(){t.call(this,s(this.$root.$options.shadowRoot))}:function(e){t.call(this,u(e))}),d)if(f.functional){var c=f.render;f.render=function(e,t){return d.call(t),c(e,t)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,d):[d]}return a}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("label",{staticClass:"upload control",class:{"is-expanded":e.expanded,"is-rounded":e.rounded}},[e.dragDrop?a("div",{staticClass:"upload-draggable",class:[e.type,{"is-loading":e.loading,"is-disabled":e.disabled,"is-hovered":e.dragDropFocus,"is-expanded":e.expanded}],on:{dragover:function(t){return t.preventDefault(),e.updateDragDropFocus(!0)},dragleave:function(t){return t.preventDefault(),e.updateDragDropFocus(!1)},dragenter:function(t){return t.preventDefault(),e.updateDragDropFocus(!0)},drop:function(t){return t.preventDefault(),e.onFileChange(t)}}},[e._t("default")],2):[e._t("default")],a("input",e._b({ref:"input",attrs:{type:"file",multiple:e.multiple,accept:e.accept,disabled:e.disabled},on:{change:e.onFileChange}},"input",e.$attrs,!1))],2)},staticRenderFns:[]},void 0,{name:"BUpload",mixins:[a],inheritAttrs:!1,props:{value:{type:[Object,Function,i,Array]},multiple:Boolean,disabled:Boolean,accept:String,dragDrop:Boolean,type:{type:String,default:"is-primary"},native:{type:Boolean,default:!1},expanded:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1}},data:function(){return{newValue:this.value,dragDropFocus:!1,_elementRef:"input"}},watch:{value:function(e){this.newValue=e,(!e||Array.isArray(e)&&0===e.length)&&(this.$refs.input.value=null),!this.isValid&&!this.dragDrop&&this.checkHtml5Validity()}},methods:{onFileChange:function(e){if(!this.disabled&&!this.loading){this.dragDrop&&this.updateDragDropFocus(!1);var t=e.target.files||e.dataTransfer.files;if(0===t.length){if(!this.newValue)return;this.native&&(this.newValue=null)}else if(this.multiple){var a=!1;!this.native&&this.newValue||(this.newValue=[],a=!0);for(var n=0;n<t.length;n++){var i=t[n];this.checkType(i)&&(this.newValue.push(i),a=!0)}if(!a)return}else{if(this.dragDrop&&1!==t.length)return;var l=t[0];if(this.checkType(l))this.newValue=l;else{if(!this.newValue)return;this.newValue=null}}this.$emit("input",this.newValue),!this.dragDrop&&this.checkHtml5Validity()}},updateDragDropFocus:function(e){this.disabled||this.loading||(this.dragDropFocus=e)},checkType:function(e){if(!this.accept)return!0;var t=this.accept.split(",");if(0===t.length)return!0;for(var a=!1,n=0;n<t.length&&!a;n++){var i=t[n].trim();if(i)if("."===i.substring(0,1)){var l=e.name.lastIndexOf(".");(l>=0?e.name.substring(l):"").toLowerCase()===i.toLowerCase()&&(a=!0)}else e.type.match(i)&&(a=!0)}return a||this.$emit("invalid"),a}}},void 0,!1,void 0,void 0,void 0),u={install:function(e){!function(e,t){e.component(t.name,t)}(e,o)}};l=u,"undefined"!=typeof window&&window.Vue&&window.Vue.use(l),e.BUpload=o,e.default=u,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ /*! Buefy v0.9.13 | 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).Upload={})}(this,function(e){"use strict";var t={defaultContainerElement:null,defaultIconPack:"mdi",defaultIconComponent:null,defaultIconPrev:"chevron-left",defaultIconNext:"chevron-right",defaultLocale:void 0,defaultDialogConfirmText:null,defaultDialogCancelText:null,defaultSnackbarDuration:3500,defaultSnackbarPosition:null,defaultToastDuration:2e3,defaultToastPosition:null,defaultNotificationDuration:2e3,defaultNotificationPosition:null,defaultTooltipType:"is-primary",defaultTooltipDelay:null,defaultSidebarDelay:null,defaultInputAutocomplete:"on",defaultDateFormatter:null,defaultDateParser:null,defaultDateCreator:null,defaultTimeCreator:null,defaultDayNames:null,defaultMonthNames:null,defaultFirstDayOfWeek:null,defaultUnselectableDaysOfWeek:null,defaultTimeFormatter:null,defaultTimeParser:null,defaultModalCanCancel:["escape","x","outside","button"],defaultModalScroll:null,defaultDatepickerMobileNative:!0,defaultTimepickerMobileNative:!0,defaultNoticeQueue:!0,defaultInputHasCounter:!0,defaultTaginputHasCounter:!0,defaultUseHtml5Validation:!0,defaultDropdownMobileModal:!0,defaultFieldLabelPosition:null,defaultDatepickerYearsRange:[-100,10],defaultDatepickerNearbyMonthDays:!0,defaultDatepickerNearbySelectableMonthDays:!1,defaultDatepickerShowWeekNumber:!1,defaultDatepickerWeekNumberClickable:!1,defaultDatepickerMobileModal:!0,defaultTrapFocus:!0,defaultAutoFocus:!0,defaultButtonRounded:!1,defaultSwitchRounded:!0,defaultCarouselInterval:3500,defaultTabsExpanded:!1,defaultTabsAnimated:!0,defaultTabsType:null,defaultStatusIcon:!0,defaultProgrammaticPromise:!1,defaultLinkTags:["a","button","input","router-link","nuxt-link","n-link","RouterLink","NuxtLink","NLink"],defaultImageWebpFallback:null,defaultImageLazy:!0,defaultImageResponsive:!0,defaultImageRatio:null,defaultImageSrcsetFormatter:null,defaultBreadcrumbTag:"a",defaultBreadcrumbAlign:"is-left",defaultBreadcrumbSeparator:"",defaultBreadcrumbSize:"is-medium",customIconPacks:null};var a={props:{size:String,expanded:Boolean,loading:Boolean,rounded:Boolean,icon:String,iconPack:String,autocomplete:String,maxlength:[Number,String],useHtml5Validation:{type:Boolean,default:function(){return t.defaultUseHtml5Validation}},validationMessage:String,locale:{type:[String,Array],default:function(){return t.defaultLocale}},statusIcon:{type:Boolean,default:function(){return t.defaultStatusIcon}}},data:function(){return{isValid:!0,isFocused:!1,newIconPack:this.iconPack||t.defaultIconPack}},computed:{parentField:function(){for(var e=this.$parent,t=0;t<3;t++)e&&!e.$data._isField&&(e=e.$parent);return e},statusType:function(){var e=(this.parentField||{}).newType;if(e){if("string"==typeof e)return e;for(var t in e)if(e[t])return t}},statusMessage:function(){if(this.parentField)return this.parentField.newMessage||this.parentField.$slots.message},iconSize:function(){switch(this.size){case"is-small":return this.size;case"is-medium":return;case"is-large":return"mdi"===this.newIconPack?"is-medium":""}}},methods:{focus:function(){var e=this.getElement();void 0!==e&&this.$nextTick(function(){e&&e.focus()})},onBlur:function(e){this.isFocused=!1,this.$emit("blur",e),this.checkHtml5Validity()},onFocus:function(e){this.isFocused=!0,this.$emit("focus",e),this.checkHtml5Validity()},getElement:function(){for(var e,t=this.$refs[this.$data._elementRef];(e=t)&&e._isVue;)t=t.$refs[t.$data._elementRef];return t},setInvalid:function(){var e=this.validationMessage||this.getElement().validationMessage;this.setValidity("is-danger",e)},setValidity:function(e,t){var a=this;this.$nextTick(function(){a.parentField&&(a.parentField.type||(a.parentField.newType=e),a.parentField.message||(a.parentField.newMessage=t))})},checkHtml5Validity:function(){if(this.useHtml5Validation){var e=this.getElement();if(void 0!==e)return e.checkValidity()?(this.setValidity(null,null),this.isValid=!0):(this.setInvalid(),this.isValid=!1),this.isValid}}}},n="undefined"==typeof window,i=(n?Object:window.HTMLElement,n?Object:window.File);var l,u=function(e,t,a,n,i,l,u,o,r,s){"boolean"!=typeof u&&(r=o,o=u,u=!1);var d,f="function"==typeof a?a.options:a;if(e&&e.render&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns,f._compiled=!0,i&&(f.functional=!0)),n&&(f._scopeId=n),l?(d=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,r(e)),e&&e._registeredComponents&&e._registeredComponents.add(l)},f._ssrRegister=d):t&&(d=u?function(){t.call(this,s(this.$root.$options.shadowRoot))}:function(e){t.call(this,o(e))}),d)if(f.functional){var c=f.render;f.render=function(e,t){return d.call(t),c(e,t)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,d):[d]}return a}({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("label",{staticClass:"upload control",class:{"is-expanded":e.expanded,"is-rounded":e.rounded}},[e.dragDrop?a("div",{staticClass:"upload-draggable",class:[e.type,{"is-loading":e.loading,"is-disabled":e.disabled,"is-hovered":e.dragDropFocus,"is-expanded":e.expanded}],on:{dragover:function(t){return t.preventDefault(),e.updateDragDropFocus(!0)},dragleave:function(t){return t.preventDefault(),e.updateDragDropFocus(!1)},dragenter:function(t){return t.preventDefault(),e.updateDragDropFocus(!0)},drop:function(t){return t.preventDefault(),e.onFileChange(t)}}},[e._t("default")],2):[e._t("default")],a("input",e._b({ref:"input",attrs:{type:"file",multiple:e.multiple,accept:e.accept,disabled:e.disabled},on:{change:e.onFileChange}},"input",e.$attrs,!1))],2)},staticRenderFns:[]},void 0,{name:"BUpload",mixins:[a],inheritAttrs:!1,props:{value:{type:[Object,Function,i,Array]},multiple:Boolean,disabled:Boolean,accept:String,dragDrop:Boolean,type:{type:String,default:"is-primary"},native:{type:Boolean,default:!1},expanded:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1}},data:function(){return{newValue:this.value,dragDropFocus:!1,_elementRef:"input"}},watch:{value:function(e){this.newValue=e,(!e||Array.isArray(e)&&0===e.length)&&(this.$refs.input.value=null),!this.isValid&&!this.dragDrop&&this.checkHtml5Validity()}},methods:{onFileChange:function(e){if(!this.disabled&&!this.loading){this.dragDrop&&this.updateDragDropFocus(!1);var t=e.target.files||e.dataTransfer.files;if(0===t.length){if(!this.newValue)return;this.native&&(this.newValue=null)}else if(this.multiple){var a=!1;!this.native&&this.newValue||(this.newValue=[],a=!0);for(var n=0;n<t.length;n++){var i=t[n];this.checkType(i)&&(this.newValue.push(i),a=!0)}if(!a)return}else{if(this.dragDrop&&1!==t.length)return;var l=t[0];if(this.checkType(l))this.newValue=l;else{if(!this.newValue)return;this.newValue=null}}this.$emit("input",this.newValue),!this.dragDrop&&this.checkHtml5Validity()}},updateDragDropFocus:function(e){this.disabled||this.loading||(this.dragDropFocus=e)},checkType:function(e){if(!this.accept)return!0;var t=this.accept.split(",");if(0===t.length)return!0;for(var a=!1,n=0;n<t.length&&!a;n++){var i=t[n].trim();if(i)if("."===i.substring(0,1)){var l=e.name.lastIndexOf(".");(l>=0?e.name.substring(l):"").toLowerCase()===i.toLowerCase()&&(a=!0)}else e.type.match(i)&&(a=!0)}return a||this.$emit("invalid"),a}}},void 0,!1,void 0,void 0,void 0),o={install:function(e){!function(e,t){e.component(t.name,t)}(e,u)}};l=o,"undefined"!=typeof window&&window.Vue&&window.Vue.use(l),e.BUpload=u,e.default=o,Object.defineProperty(e,"__esModule",{value:!0})});
@@ -1,12 +1,12 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import './chunk-652f2dad.js';
4
- import './chunk-516e4877.js';
5
- import './chunk-7fd02ffe.js';
3
+ import './chunk-8ed29c41.js';
4
+ import './chunk-75a5af93.js';
5
+ import './chunk-d92f0cd9.js';
6
6
  import { r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import './chunk-f160efb9.js';
8
- import { A as Autocomplete } from './chunk-45740cdc.js';
9
- export { A as BAutocomplete } from './chunk-45740cdc.js';
7
+ import './chunk-ae8ab23a.js';
8
+ import { A as Autocomplete } from './chunk-6019fd7a.js';
9
+ export { A as BAutocomplete } from './chunk-6019fd7a.js';
10
10
 
11
11
  var Plugin = {
12
12
  install: function install(Vue) {
@@ -0,0 +1,122 @@
1
+ import { c as config } from './chunk-8ed29c41.js';
2
+ import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
3
+
4
+ //
5
+ var script = {
6
+ name: 'BBreadcrumb',
7
+ props: {
8
+ align: {
9
+ type: String,
10
+ default: function _default() {
11
+ return config.defaultBreadcrumbAlign;
12
+ }
13
+ },
14
+ separator: {
15
+ type: String,
16
+ default: function _default() {
17
+ return config.defaultBreadcrumbSeparator;
18
+ }
19
+ },
20
+ size: {
21
+ type: String,
22
+ default: function _default() {
23
+ return config.defaultBreadcrumbSize;
24
+ }
25
+ }
26
+ },
27
+ computed: {
28
+ breadcrumbClasses: function breadcrumbClasses() {
29
+ return ['breadcrumb', this.align, this.separator, this.size];
30
+ }
31
+ }
32
+ };
33
+
34
+ /* script */
35
+ const __vue_script__ = script;
36
+
37
+ /* template */
38
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{class:_vm.breadcrumbClasses},[_c('ul',[_vm._t("default")],2)])};
39
+ var __vue_staticRenderFns__ = [];
40
+
41
+ /* style */
42
+ const __vue_inject_styles__ = undefined;
43
+ /* scoped */
44
+ const __vue_scope_id__ = undefined;
45
+ /* module identifier */
46
+ const __vue_module_identifier__ = undefined;
47
+ /* functional template */
48
+ const __vue_is_functional_template__ = false;
49
+ /* style inject */
50
+
51
+ /* style inject SSR */
52
+
53
+
54
+
55
+ var Breadcrumb = __vue_normalize__(
56
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
57
+ __vue_inject_styles__,
58
+ __vue_script__,
59
+ __vue_scope_id__,
60
+ __vue_is_functional_template__,
61
+ __vue_module_identifier__,
62
+ undefined,
63
+ undefined
64
+ );
65
+
66
+ //
67
+ var script$1 = {
68
+ name: 'BBreadcrumbItem',
69
+ inheritAttrs: false,
70
+ props: {
71
+ tag: {
72
+ type: String,
73
+ default: function _default() {
74
+ return config.defaultBreadcrumbTag;
75
+ }
76
+ },
77
+ active: Boolean
78
+ }
79
+ };
80
+
81
+ /* script */
82
+ const __vue_script__$1 = script$1;
83
+
84
+ /* template */
85
+ var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:{ 'is-active': _vm.active }},[_c(_vm.tag,_vm._g(_vm._b({tag:"component"},'component',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)],1)};
86
+ var __vue_staticRenderFns__$1 = [];
87
+
88
+ /* style */
89
+ const __vue_inject_styles__$1 = undefined;
90
+ /* scoped */
91
+ const __vue_scope_id__$1 = undefined;
92
+ /* module identifier */
93
+ const __vue_module_identifier__$1 = undefined;
94
+ /* functional template */
95
+ const __vue_is_functional_template__$1 = false;
96
+ /* style inject */
97
+
98
+ /* style inject SSR */
99
+
100
+
101
+
102
+ var BreadcrumbItem = __vue_normalize__(
103
+ { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
104
+ __vue_inject_styles__$1,
105
+ __vue_script__$1,
106
+ __vue_scope_id__$1,
107
+ __vue_is_functional_template__$1,
108
+ __vue_module_identifier__$1,
109
+ undefined,
110
+ undefined
111
+ );
112
+
113
+ var Plugin = {
114
+ install: function install(Vue) {
115
+ registerComponent(Vue, Breadcrumb);
116
+ registerComponent(Vue, BreadcrumbItem);
117
+ }
118
+ };
119
+ use(Plugin);
120
+
121
+ export default Plugin;
122
+ export { Breadcrumb as BBreadcrumb, BreadcrumbItem as BBreadcrumbItem };
@@ -1,110 +1,10 @@
1
- import { _ as _defineProperty } from './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
4
- import { I as Icon } from './chunk-7fd02ffe.js';
5
- import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
6
-
7
- var script = {
8
- name: 'BButton',
9
- components: _defineProperty({}, Icon.name, Icon),
10
- inheritAttrs: false,
11
- props: {
12
- type: [String, Object],
13
- size: String,
14
- label: String,
15
- iconPack: String,
16
- iconLeft: String,
17
- iconRight: String,
18
- rounded: {
19
- type: Boolean,
20
- default: function _default() {
21
- return config.defaultButtonRounded;
22
- }
23
- },
24
- loading: Boolean,
25
- outlined: Boolean,
26
- expanded: Boolean,
27
- inverted: Boolean,
28
- focused: Boolean,
29
- active: Boolean,
30
- hovered: Boolean,
31
- selected: Boolean,
32
- nativeType: {
33
- type: String,
34
- default: 'button',
35
- validator: function validator(value) {
36
- return ['button', 'submit', 'reset'].indexOf(value) >= 0;
37
- }
38
- },
39
- tag: {
40
- type: String,
41
- default: 'button',
42
- validator: function validator(value) {
43
- return config.defaultLinkTags.indexOf(value) >= 0;
44
- }
45
- }
46
- },
47
- computed: {
48
- computedTag: function computedTag() {
49
- if (this.$attrs.disabled !== undefined && this.$attrs.disabled !== false) {
50
- return 'button';
51
- }
52
-
53
- return this.tag;
54
- },
55
- iconSize: function iconSize() {
56
- if (!this.size || this.size === 'is-medium') {
57
- return 'is-small';
58
- } else if (this.size === 'is-large') {
59
- return 'is-medium';
60
- }
61
-
62
- return this.size;
63
- }
64
- }
65
- };
66
-
67
- /* script */
68
- const __vue_script__ = script;
69
-
70
- /* template */
71
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.computedTag,_vm._g(_vm._b({tag:"component",staticClass:"button",class:[_vm.size, _vm.type, {
72
- 'is-rounded': _vm.rounded,
73
- 'is-loading': _vm.loading,
74
- 'is-outlined': _vm.outlined,
75
- 'is-fullwidth': _vm.expanded,
76
- 'is-inverted': _vm.inverted,
77
- 'is-focused': _vm.focused,
78
- 'is-active': _vm.active,
79
- 'is-hovered': _vm.hovered,
80
- 'is-selected': _vm.selected
81
- }],attrs:{"type":_vm.nativeType}},'component',_vm.$attrs,false),_vm.$listeners),[(_vm.iconLeft)?_c('b-icon',{attrs:{"pack":_vm.iconPack,"icon":_vm.iconLeft,"size":_vm.iconSize}}):_vm._e(),(_vm.label)?_c('span',[_vm._v(_vm._s(_vm.label))]):(_vm.$slots.default)?_c('span',[_vm._t("default")],2):_vm._e(),(_vm.iconRight)?_c('b-icon',{attrs:{"pack":_vm.iconPack,"icon":_vm.iconRight,"size":_vm.iconSize}}):_vm._e()],1)};
82
- var __vue_staticRenderFns__ = [];
83
-
84
- /* style */
85
- const __vue_inject_styles__ = undefined;
86
- /* scoped */
87
- const __vue_scope_id__ = undefined;
88
- /* module identifier */
89
- const __vue_module_identifier__ = undefined;
90
- /* functional template */
91
- const __vue_is_functional_template__ = false;
92
- /* style inject */
93
-
94
- /* style inject SSR */
95
-
96
-
97
-
98
- var Button = __vue_normalize__(
99
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
100
- __vue_inject_styles__,
101
- __vue_script__,
102
- __vue_scope_id__,
103
- __vue_is_functional_template__,
104
- __vue_module_identifier__,
105
- undefined,
106
- undefined
107
- );
3
+ import './chunk-8ed29c41.js';
4
+ import './chunk-d92f0cd9.js';
5
+ import { r as registerComponent, u as use } from './chunk-cca88db8.js';
6
+ import { B as Button } from './chunk-e7c9b2cb.js';
7
+ export { B as BButton } from './chunk-e7c9b2cb.js';
108
8
 
109
9
  var Plugin = {
110
10
  install: function install(Vue) {
@@ -114,4 +14,3 @@ var Plugin = {
114
14
  use(Plugin);
115
15
 
116
16
  export default Plugin;
117
- export { Button as BButton };
@@ -1,9 +1,10 @@
1
- import { _ as _defineProperty, a as _objectSpread2 } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty, a as _objectSpread2 } from './chunk-2452e3d3.js';
2
2
  import { mod, bound, sign } from './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
4
- import { I as Icon } from './chunk-7fd02ffe.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
+ import { I as Icon } from './chunk-d92f0cd9.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
6
- import { P as ProviderParentMixin, S as Sorted, I as InjectedChildMixin, a as Sorted$1 } from './chunk-1297c2c9.js';
6
+ import { P as ProviderParentMixin, S as Sorted, I as InjectedChildMixin, a as Sorted$1 } from './chunk-29ca0df8.js';
7
+ import { I as Image } from './chunk-71a547bc.js';
7
8
 
8
9
  var script = {
9
10
  name: 'BCarousel',
@@ -355,9 +356,10 @@ var __vue_staticRenderFns__$1 = [];
355
356
  undefined
356
357
  );
357
358
 
359
+ var _components;
358
360
  var script$2 = {
359
361
  name: 'BCarouselList',
360
- components: _defineProperty({}, Icon.name, Icon),
362
+ components: (_components = {}, _defineProperty(_components, Icon.name, Icon), _defineProperty(_components, Image.name, Image), _components),
361
363
  props: {
362
364
  data: {
363
365
  type: Array,
@@ -1,6 +1,6 @@
1
- import { _ as _defineProperty } from './chunk-1fafdf15.js';
2
- import { c as config } from './chunk-652f2dad.js';
3
- import { I as Icon } from './chunk-7fd02ffe.js';
1
+ import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
+ import { c as config } from './chunk-8ed29c41.js';
3
+ import { I as Icon } from './chunk-d92f0cd9.js';
4
4
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
5
5
 
6
6
  //
@@ -1,11 +1,11 @@
1
- import { _ as _defineProperty } from './chunk-1fafdf15.js';
2
- import { I as Icon } from './chunk-7fd02ffe.js';
1
+ import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
+ import { I as Icon } from './chunk-d92f0cd9.js';
3
3
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
4
- import { I as Input } from './chunk-f160efb9.js';
5
- import { T as TimepickerMixin } from './chunk-0e22ae0a.js';
6
- import { D as Dropdown, a as DropdownItem } from './chunk-2c957994.js';
7
- import { F as Field } from './chunk-c3b09672.js';
8
- import { S as Select } from './chunk-37678809.js';
4
+ import { I as Input } from './chunk-ae8ab23a.js';
5
+ import { T as TimepickerMixin } from './chunk-ece062a7.js';
6
+ import { D as Dropdown, a as DropdownItem } from './chunk-4b67a181.js';
7
+ import { F as Field } from './chunk-b07e3182.js';
8
+ import { S as Select } from './chunk-83eb0d37.js';
9
9
 
10
10
  var _components;
11
11
  var script = {
@@ -1,13 +1,13 @@
1
- import { _ as _defineProperty, d as _toConsumableArray } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty, d as _toConsumableArray } from './chunk-2452e3d3.js';
2
2
  import { isDefined, getMonthNames, getWeekdayNames, isMobile, matchWithGroups } from './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
4
- import { F as FormElementMixin } from './chunk-516e4877.js';
5
- import { I as Icon } from './chunk-7fd02ffe.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
+ import { F as FormElementMixin } from './chunk-75a5af93.js';
5
+ import { I as Icon } from './chunk-d92f0cd9.js';
6
6
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
7
- import { I as Input } from './chunk-f160efb9.js';
8
- import { D as Dropdown, a as DropdownItem } from './chunk-2c957994.js';
9
- import { F as Field } from './chunk-c3b09672.js';
10
- import { S as Select } from './chunk-37678809.js';
7
+ import { I as Input } from './chunk-ae8ab23a.js';
8
+ import { D as Dropdown, a as DropdownItem } from './chunk-4b67a181.js';
9
+ import { F as Field } from './chunk-b07e3182.js';
10
+ import { S as Select } from './chunk-83eb0d37.js';
11
11
 
12
12
  //
13
13
  //
@@ -1424,15 +1424,12 @@ var script$3 = {
1424
1424
  }).resolvedOptions();
1425
1425
  },
1426
1426
  dtf: function dtf() {
1427
- return new Intl.DateTimeFormat(this.locale, {
1428
- timeZone: 'UTC'
1429
- });
1427
+ return new Intl.DateTimeFormat(this.locale);
1430
1428
  },
1431
1429
  dtfMonth: function dtfMonth() {
1432
1430
  return new Intl.DateTimeFormat(this.locale, {
1433
1431
  year: this.localeOptions.year || 'numeric',
1434
- month: this.localeOptions.month || '2-digit',
1435
- timeZone: 'UTC'
1432
+ month: this.localeOptions.month || '2-digit'
1436
1433
  });
1437
1434
  },
1438
1435
  newMonthNames: function newMonthNames() {
@@ -1682,9 +1679,10 @@ var script$3 = {
1682
1679
  },
1683
1680
  updateInternalState: function updateInternalState(value) {
1684
1681
  if (this.dateSelected === value) return;
1685
- var currentDate = Array.isArray(value) ? !value.length ? this.dateCreator() : value[value.length - 1] : !value ? this.dateCreator() : value;
1682
+ var isArray = Array.isArray(value);
1683
+ var currentDate = isArray ? !value.length ? this.dateCreator() : value[value.length - 1] : !value ? this.dateCreator() : value;
1686
1684
 
1687
- if (Array.isArray(value) && this.dateSelected && value.length > this.dateSelected.length) {
1685
+ if (!isArray || isArray && this.dateSelected && value.length > this.dateSelected.length) {
1688
1686
  this.focusedDateData = {
1689
1687
  day: currentDate.getDate(),
1690
1688
  month: currentDate.getMonth(),
@@ -1762,6 +1760,12 @@ var script$3 = {
1762
1760
  if (!value) {
1763
1761
  this.onBlur();
1764
1762
  }
1763
+ /*
1764
+ * Emit 'active-change' when on dropdown active state change
1765
+ */
1766
+
1767
+
1768
+ this.$emit('active-change', value);
1765
1769
  },
1766
1770
  changeFocus: function changeFocus(day) {
1767
1771
  this.focusedDateData = {
@@ -63,6 +63,42 @@ function _objectSpread2(target) {
63
63
  return target;
64
64
  }
65
65
 
66
+ function _objectWithoutPropertiesLoose(source, excluded) {
67
+ if (source == null) return {};
68
+ var target = {};
69
+ var sourceKeys = Object.keys(source);
70
+ var key, i;
71
+
72
+ for (i = 0; i < sourceKeys.length; i++) {
73
+ key = sourceKeys[i];
74
+ if (excluded.indexOf(key) >= 0) continue;
75
+ target[key] = source[key];
76
+ }
77
+
78
+ return target;
79
+ }
80
+
81
+ function _objectWithoutProperties(source, excluded) {
82
+ if (source == null) return {};
83
+
84
+ var target = _objectWithoutPropertiesLoose(source, excluded);
85
+
86
+ var key, i;
87
+
88
+ if (Object.getOwnPropertySymbols) {
89
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
90
+
91
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
92
+ key = sourceSymbolKeys[i];
93
+ if (excluded.indexOf(key) >= 0) continue;
94
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
95
+ target[key] = source[key];
96
+ }
97
+ }
98
+
99
+ return target;
100
+ }
101
+
66
102
  function _toArray(arr) {
67
103
  return _arrayWithHoles(arr) || _iterableToArray(arr) || _nonIterableRest();
68
104
  }
@@ -95,4 +131,4 @@ function _nonIterableRest() {
95
131
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
96
132
  }
97
133
 
98
- export { _defineProperty as _, _objectSpread2 as a, _typeof as b, _toArray as c, _toConsumableArray as d };
134
+ export { _defineProperty as _, _objectSpread2 as a, _typeof as b, _toArray as c, _toConsumableArray as d, _objectWithoutProperties as e };
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty } from './chunk-1fafdf15.js';
1
+ import { _ as _defineProperty } from './chunk-2452e3d3.js';
2
2
  import { hasFlag } from './helpers.js';
3
3
 
4
4
  var items = 1;
@@ -53,6 +53,18 @@ import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
53
53
  //
54
54
  //
55
55
  //
56
+ //
57
+ //
58
+ //
59
+ //
60
+ //
61
+ //
62
+ //
63
+ //
64
+ //
65
+ //
66
+ //
67
+ //
56
68
  var script = {
57
69
  name: 'BTag',
58
70
  props: {
@@ -68,6 +80,9 @@ var script = {
68
80
  default: true
69
81
  },
70
82
  ariaCloseLabel: String,
83
+ icon: String,
84
+ iconType: String,
85
+ iconPack: String,
71
86
  closeType: String,
72
87
  closeIcon: String,
73
88
  closeIconPack: String,
@@ -81,6 +96,14 @@ var script = {
81
96
  close: function close(event) {
82
97
  if (this.disabled) return;
83
98
  this.$emit('close', event);
99
+ },
100
+
101
+ /**
102
+ * Emit click event when tag is clicked.
103
+ */
104
+ click: function click(event) {
105
+ if (this.disabled) return;
106
+ this.$emit('click', event);
84
107
  }
85
108
  }
86
109
  };
@@ -89,10 +112,10 @@ var script = {
89
112
  const __vue_script__ = script;
90
113
 
91
114
  /* template */
92
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.attached && _vm.closable)?_c('div',{staticClass:"tags has-addons"},[_c('span',{staticClass:"tag",class:[_vm.type, _vm.size, { 'is-rounded': _vm.rounded }]},[_c('span',{class:{ 'has-ellipsis': _vm.ellipsis }},[_vm._t("default")],2)]),_c('a',{staticClass:"tag",class:[_vm.size,
115
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.attached && _vm.closable)?_c('div',{staticClass:"tags has-addons"},[_c('span',{staticClass:"tag",class:[_vm.type, _vm.size, { 'is-rounded': _vm.rounded }]},[(_vm.icon)?_c('b-icon',{attrs:{"icon":_vm.icon,"size":_vm.size,"type":_vm.iconType,"pack":_vm.iconPack}}):_vm._e(),_c('span',{class:{ 'has-ellipsis': _vm.ellipsis },on:{"click":_vm.click}},[_vm._t("default")],2)],1),_c('a',{staticClass:"tag",class:[_vm.size,
93
116
  _vm.closeType,
94
117
  {'is-rounded': _vm.rounded},
95
- _vm.closeIcon ? 'has-delete-icon' : 'is-delete'],attrs:{"role":"button","aria-label":_vm.ariaCloseLabel,"tabindex":_vm.tabstop ? 0 : false,"disabled":_vm.disabled},on:{"click":_vm.close,"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"delete",[8,46],$event.key,["Backspace","Delete","Del"])){ return null; }$event.preventDefault();return _vm.close($event)}}},[(_vm.closeIcon)?_c('b-icon',{attrs:{"custom-class":"","icon":_vm.closeIcon,"size":_vm.size,"type":_vm.closeIconType,"pack":_vm.closeIconPack}}):_vm._e()],1)]):_c('span',{staticClass:"tag",class:[_vm.type, _vm.size, { 'is-rounded': _vm.rounded }]},[_c('span',{class:{ 'has-ellipsis': _vm.ellipsis }},[_vm._t("default")],2),(_vm.closable)?_c('a',{staticClass:"delete is-small",class:_vm.closeType,attrs:{"role":"button","aria-label":_vm.ariaCloseLabel,"disabled":_vm.disabled,"tabindex":_vm.tabstop ? 0 : false},on:{"click":_vm.close,"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"delete",[8,46],$event.key,["Backspace","Delete","Del"])){ return null; }$event.preventDefault();return _vm.close($event)}}}):_vm._e()])};
118
+ _vm.closeIcon ? 'has-delete-icon' : 'is-delete'],attrs:{"role":"button","aria-label":_vm.ariaCloseLabel,"tabindex":_vm.tabstop ? 0 : false,"disabled":_vm.disabled},on:{"click":_vm.close,"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"delete",[8,46],$event.key,["Backspace","Delete","Del"])){ return null; }$event.preventDefault();return _vm.close($event)}}},[(_vm.closeIcon)?_c('b-icon',{attrs:{"custom-class":"","icon":_vm.closeIcon,"size":_vm.size,"type":_vm.closeIconType,"pack":_vm.closeIconPack}}):_vm._e()],1)]):_c('span',{staticClass:"tag",class:[_vm.type, _vm.size, { 'is-rounded': _vm.rounded }]},[(_vm.icon)?_c('b-icon',{attrs:{"icon":_vm.icon,"size":_vm.size,"type":_vm.iconType,"pack":_vm.iconPack}}):_vm._e(),_c('span',{class:{ 'has-ellipsis': _vm.ellipsis },on:{"click":_vm.click}},[_vm._t("default")],2),(_vm.closable)?_c('a',{staticClass:"delete is-small",class:_vm.closeType,attrs:{"role":"button","aria-label":_vm.ariaCloseLabel,"disabled":_vm.disabled,"tabindex":_vm.tabstop ? 0 : false},on:{"click":_vm.close,"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"delete",[8,46],$event.key,["Backspace","Delete","Del"])){ return null; }$event.preventDefault();return _vm.close($event)}}}):_vm._e()],1)};
96
119
  var __vue_staticRenderFns__ = [];
97
120
 
98
121
  /* style */
@@ -1,6 +1,6 @@
1
- import { b as _typeof } from './chunk-1fafdf15.js';
1
+ import { b as _typeof } from './chunk-2452e3d3.js';
2
2
  import { createAbsoluteElement, removeElement } from './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
4
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
5
5
 
6
6
  var script = {
@@ -1,8 +1,8 @@
1
- import { d as _toConsumableArray, b as _typeof } from './chunk-1fafdf15.js';
1
+ import { d as _toConsumableArray, b as _typeof } from './chunk-2452e3d3.js';
2
2
  import { toCssWidth, isCustomElement, createAbsoluteElement, removeElement } from './helpers.js';
3
- import { c as config } from './chunk-652f2dad.js';
3
+ import { c as config } from './chunk-8ed29c41.js';
4
4
  import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
5
- import { P as ProviderParentMixin, I as InjectedChildMixin } from './chunk-1297c2c9.js';
5
+ import { P as ProviderParentMixin, I as InjectedChildMixin } from './chunk-29ca0df8.js';
6
6
  import { t as trapFocus } from './chunk-42f463e6.js';
7
7
 
8
8
  var DEFAULT_CLOSE_OPTIONS = ['escape', 'outside'];