buefy 0.9.13 → 0.9.17
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.
- package/CHANGELOG.md +1706 -1639
- package/README.md +1 -1
- package/dist/buefy.css +313 -1
- package/dist/buefy.esm.js +4431 -2331
- package/dist/buefy.esm.min.js +2 -2
- package/dist/buefy.js +4467 -2364
- package/dist/buefy.min.css +1 -1
- package/dist/buefy.min.js +2 -2
- package/dist/cjs/autocomplete.js +5 -5
- package/dist/cjs/button.js +3 -3
- package/dist/cjs/carousel.js +4 -4
- package/dist/cjs/{chunk-34949503.js → chunk-0d6f213f.js} +2 -2
- package/dist/cjs/{chunk-2c7de785.js → chunk-0e3108f5.js} +2 -2
- package/dist/cjs/{chunk-2911aa4b.js → chunk-1438658c.js} +14 -11
- package/dist/cjs/{chunk-114191ae.js → chunk-1f7e4ed3.js} +3 -3
- package/dist/cjs/{chunk-a11294f9.js → chunk-334bc809.js} +1 -1
- package/dist/cjs/chunk-45739695.js +332 -0
- package/dist/cjs/{chunk-c7b2aa4b.js → chunk-4bcfaf1c.js} +0 -0
- package/dist/cjs/{chunk-f5106717.js → chunk-5058e659.js} +3 -3
- package/dist/cjs/{chunk-61023b09.js → chunk-545e1c7f.js} +102 -16
- package/dist/cjs/{chunk-30670fac.js → chunk-54b0042d.js} +19 -3
- package/dist/cjs/{chunk-fe2f57ee.js → chunk-5ed8a75a.js} +2 -2
- package/dist/cjs/{chunk-d120e215.js → chunk-73f8eef8.js} +8 -2
- package/dist/cjs/{chunk-2062216d.js → chunk-7c11fdde.js} +5 -4
- package/dist/cjs/{chunk-3cc5d9a6.js → chunk-841c0e0f.js} +1 -1
- package/dist/cjs/{chunk-9e4cf4c5.js → chunk-87a116d9.js} +0 -0
- package/dist/cjs/{chunk-fefd7b77.js → chunk-a53b7aff.js} +0 -0
- package/dist/cjs/{chunk-d0f8ea39.js → chunk-c0a093d7.js} +7 -7
- package/dist/cjs/{chunk-7da0c017.js → chunk-c8abb3ed.js} +21 -21
- package/dist/cjs/{chunk-c6fbc7b4.js → chunk-d0df905a.js} +15 -2
- package/dist/cjs/{chunk-d54e40f6.js → chunk-e86d3eeb.js} +1 -8
- package/dist/cjs/{chunk-6cb902f8.js → chunk-e872f5e2.js} +1 -1
- package/dist/cjs/{chunk-2ae50815.js → chunk-f5285f14.js} +4 -4
- package/dist/cjs/clockpicker.js +8 -8
- package/dist/cjs/colorpicker.js +1752 -0
- package/dist/cjs/config.js +1 -1
- package/dist/cjs/datepicker.js +11 -11
- package/dist/cjs/datetimepicker.js +30 -14
- package/dist/cjs/dialog.js +5 -5
- package/dist/cjs/dropdown.js +3 -3
- package/dist/cjs/field.js +2 -2
- package/dist/cjs/helpers.js +21 -1
- package/dist/cjs/icon.js +2 -2
- package/dist/cjs/image.js +2 -2
- package/dist/cjs/index.js +27 -22
- package/dist/cjs/input.js +4 -4
- package/dist/cjs/loading.js +5 -5
- package/dist/cjs/menu.js +2 -2
- package/dist/cjs/message.js +4 -9
- package/dist/cjs/modal.js +5 -5
- package/dist/cjs/navbar.js +4 -1
- package/dist/cjs/notification.js +7 -7
- package/dist/cjs/numberinput.js +30 -21
- package/dist/cjs/pagination.js +7 -7
- package/dist/cjs/progress.js +3 -3
- package/dist/cjs/rate.js +2 -2
- package/dist/cjs/select.js +4 -4
- package/dist/cjs/sidebar.js +1 -1
- package/dist/cjs/slider.js +3 -3
- package/dist/cjs/snackbar.js +5 -4
- package/dist/cjs/steps.js +5 -5
- package/dist/cjs/table.js +157 -146
- package/dist/cjs/tabs.js +7 -7
- package/dist/cjs/taginput.js +5 -5
- package/dist/cjs/timepicker.js +12 -12
- package/dist/cjs/toast.js +3 -3
- package/dist/cjs/tooltip.js +4 -4
- package/dist/cjs/upload.js +23 -9
- package/dist/components/autocomplete/index.js +24 -2
- package/dist/components/autocomplete/index.min.js +2 -2
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/breadcrumb/index.min.js +1 -1
- package/dist/components/button/index.js +8 -2
- package/dist/components/button/index.min.js +2 -2
- package/dist/components/carousel/index.js +8 -2
- package/dist/components/carousel/index.min.js +2 -2
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.min.js +1 -1
- package/dist/components/clockpicker/index.js +41 -22
- package/dist/components/clockpicker/index.min.js +2 -2
- package/dist/components/collapse/index.js +1 -1
- package/dist/components/collapse/index.min.js +1 -1
- package/dist/components/colorpicker/index.js +4318 -0
- package/dist/components/colorpicker/index.min.js +2 -0
- package/dist/components/datepicker/index.js +48 -26
- package/dist/components/datepicker/index.min.js +2 -2
- package/dist/components/datetimepicker/index.js +66 -28
- package/dist/components/datetimepicker/index.min.js +2 -2
- package/dist/components/dialog/index.js +8 -2
- package/dist/components/dialog/index.min.js +2 -2
- package/dist/components/dropdown/index.js +14 -1
- package/dist/components/dropdown/index.min.js +2 -2
- package/dist/components/field/index.js +21 -21
- package/dist/components/field/index.min.js +1 -1
- package/dist/components/icon/index.js +8 -2
- package/dist/components/icon/index.min.js +2 -2
- package/dist/components/image/index.js +1 -1
- package/dist/components/image/index.min.js +1 -1
- package/dist/components/input/index.js +8 -2
- package/dist/components/input/index.min.js +2 -2
- package/dist/components/loading/index.js +1 -1
- package/dist/components/loading/index.min.js +1 -1
- package/dist/components/menu/index.js +8 -2
- package/dist/components/menu/index.min.js +2 -2
- package/dist/components/message/index.js +11 -9
- package/dist/components/message/index.min.js +2 -2
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/index.min.js +1 -1
- package/dist/components/navbar/index.js +4 -1
- package/dist/components/navbar/index.min.js +2 -2
- package/dist/components/notification/index.js +13 -13
- package/dist/components/notification/index.min.js +2 -2
- package/dist/components/numberinput/index.js +34 -19
- package/dist/components/numberinput/index.min.js +2 -2
- package/dist/components/pagination/index.js +107 -16
- package/dist/components/pagination/index.min.js +2 -2
- package/dist/components/progress/index.js +2 -2
- package/dist/components/progress/index.min.js +2 -2
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.min.js +1 -1
- package/dist/components/rate/index.js +8 -2
- package/dist/components/rate/index.min.js +2 -2
- package/dist/components/select/index.js +8 -2
- package/dist/components/select/index.min.js +2 -2
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/index.min.js +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/index.min.js +1 -1
- package/dist/components/slider/index.js +2 -2
- package/dist/components/slider/index.min.js +2 -2
- package/dist/components/snackbar/index.js +4 -10
- package/dist/components/snackbar/index.min.js +2 -2
- package/dist/components/steps/index.js +8 -2
- package/dist/components/steps/index.min.js +2 -2
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.min.js +1 -1
- package/dist/components/table/index.js +253 -133
- package/dist/components/table/index.min.js +2 -2
- package/dist/components/tabs/index.js +10 -4
- package/dist/components/tabs/index.min.js +2 -2
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/index.min.js +1 -1
- package/dist/components/taginput/index.js +24 -2
- package/dist/components/taginput/index.min.js +2 -2
- package/dist/components/timepicker/index.js +41 -22
- package/dist/components/timepicker/index.min.js +2 -2
- package/dist/components/toast/index.js +2 -9
- package/dist/components/toast/index.min.js +2 -2
- package/dist/components/tooltip/index.js +2 -2
- package/dist/components/tooltip/index.min.js +2 -2
- package/dist/components/upload/index.js +20 -6
- package/dist/components/upload/index.min.js +2 -2
- package/dist/esm/autocomplete.js +6 -6
- package/dist/esm/button.js +4 -4
- package/dist/esm/carousel.js +4 -4
- package/dist/esm/{chunk-18e8b067.js → chunk-1a4fde6d.js} +102 -17
- package/dist/esm/{chunk-3773c62d.js → chunk-22cf6667.js} +2 -2
- package/dist/esm/{chunk-ece062a7.js → chunk-262b3f82.js} +1 -1
- package/dist/esm/chunk-455cdeae.js +317 -0
- package/dist/esm/{chunk-d7f92d97.js → chunk-5435bd9a.js} +5 -4
- package/dist/esm/{chunk-e7c9b2cb.js → chunk-58cdbf2b.js} +2 -2
- package/dist/esm/{chunk-29ca0df8.js → chunk-60a03517.js} +1 -1
- package/dist/esm/{chunk-21fc0948.js → chunk-66cef090.js} +7 -7
- package/dist/esm/{chunk-71a547bc.js → chunk-690d5be4.js} +1 -1
- package/dist/esm/{chunk-83eb0d37.js → chunk-6adc5c5d.js} +3 -3
- package/dist/esm/{chunk-c9c58d0c.js → chunk-6d0f2352.js} +0 -0
- package/dist/esm/{chunk-8d0f95b8.js → chunk-6d96579e.js} +4 -4
- package/dist/esm/{chunk-22e9f916.js → chunk-6fb4a069.js} +14 -11
- package/dist/esm/{chunk-75a5af93.js → chunk-84c6dfd6.js} +0 -0
- package/dist/esm/{chunk-ae8ab23a.js → chunk-a628d44d.js} +3 -3
- package/dist/esm/{chunk-b0c0c6b0.js → chunk-c9c18b2f.js} +0 -0
- package/dist/esm/{chunk-9f7f7441.js → chunk-d35985c7.js} +0 -0
- package/dist/esm/{chunk-799e084d.js → chunk-d9232770.js} +1 -8
- package/dist/esm/{chunk-4b67a181.js → chunk-dbd43ef1.js} +15 -2
- package/dist/esm/{chunk-d92f0cd9.js → chunk-e044aa02.js} +8 -2
- package/dist/esm/{chunk-b07e3182.js → chunk-effa4d25.js} +21 -21
- package/dist/esm/{chunk-6019fd7a.js → chunk-f9eaeac4.js} +19 -3
- package/dist/esm/clockpicker.js +8 -8
- package/dist/esm/colorpicker.js +1748 -0
- package/dist/esm/config.js +1 -1
- package/dist/esm/datepicker.js +10 -10
- package/dist/esm/datetimepicker.js +29 -13
- package/dist/esm/dialog.js +4 -4
- package/dist/esm/dropdown.js +4 -4
- package/dist/esm/field.js +3 -3
- package/dist/esm/helpers.js +20 -2
- package/dist/esm/icon.js +3 -3
- package/dist/esm/image.js +3 -3
- package/dist/esm/index.js +94 -91
- package/dist/esm/input.js +5 -5
- package/dist/esm/loading.js +3 -3
- package/dist/esm/menu.js +2 -2
- package/dist/esm/message.js +3 -8
- package/dist/esm/modal.js +3 -3
- package/dist/esm/navbar.js +4 -1
- package/dist/esm/notification.js +5 -5
- package/dist/esm/numberinput.js +30 -21
- package/dist/esm/pagination.js +4 -4
- package/dist/esm/progress.js +3 -3
- package/dist/esm/rate.js +2 -2
- package/dist/esm/select.js +5 -5
- package/dist/esm/sidebar.js +1 -1
- package/dist/esm/slider.js +2 -2
- package/dist/esm/snackbar.js +4 -3
- package/dist/esm/steps.js +5 -5
- package/dist/esm/table.js +155 -144
- package/dist/esm/tabs.js +7 -7
- package/dist/esm/taginput.js +5 -5
- package/dist/esm/timepicker.js +11 -11
- package/dist/esm/toast.js +2 -2
- package/dist/esm/tooltip.js +3 -3
- package/dist/esm/upload.js +21 -7
- package/dist/vetur/attributes.json +96 -0
- package/dist/vetur/tags.json +30 -1
- package/package.json +1 -1
- package/src/components/autocomplete/Autocomplete.vue +10 -0
- package/src/components/breadcrumb/__snapshots__/BreadcrumbItem.spec.js.snap +1 -5
- package/src/components/carousel/__snapshots__/CarouselList.spec.js.snap +48 -48
- package/src/components/colorpicker/Colorpicker.spec.js +10 -0
- package/src/components/colorpicker/Colorpicker.vue +354 -0
- package/src/components/colorpicker/ColorpickerAlphaSlider.spec.js +14 -0
- package/src/components/colorpicker/ColorpickerAlphaSlider.vue +194 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.spec.js +22 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.vue +366 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.spec.js +22 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.vue +442 -0
- package/src/components/colorpicker/__snapshots__/ColorPickerHSLRepresentationSquare.spec.js.snap +12 -0
- package/src/components/colorpicker/__snapshots__/Colorpicker.spec.js.snap +32 -0
- package/src/components/colorpicker/__snapshots__/ColorpickerAlphaSlider.spec.js.snap +11 -0
- package/src/components/colorpicker/__snapshots__/ColorpickerHSLRepresentationTriangle.spec.js.snap +36 -0
- package/src/components/colorpicker/index.js +17 -0
- package/src/components/datepicker/DatepickerTableRow.spec.js +26 -0
- package/src/components/datepicker/DatepickerTableRow.vue +4 -5
- package/src/components/datetimepicker/Datetimepicker.vue +17 -1
- package/src/components/dropdown/Dropdown.vue +13 -0
- package/src/components/field/Field.vue +271 -271
- package/src/components/index.js +2 -0
- package/src/components/message/Message.vue +0 -5
- package/src/components/navbar/NavbarDropdown.vue +4 -0
- package/src/components/notification/Notification.vue +1 -1
- package/src/components/numberinput/Numberinput.spec.js +62 -0
- package/src/components/numberinput/Numberinput.vue +22 -15
- package/src/components/pagination/Pagination.vue +141 -51
- package/src/components/progress/Progress.vue +1 -1
- package/src/components/snackbar/index.js +2 -1
- package/src/components/table/Table.spec.js +17 -3
- package/src/components/table/Table.vue +1436 -1409
- package/src/components/table/TablePagination.vue +10 -2
- package/src/components/tabs/Tabs.vue +2 -0
- package/src/components/timepicker/__snapshots__/Timepicker.spec.js.snap +18 -47
- package/src/components/tooltip/Tooltip.vue +2 -2
- package/src/components/upload/Upload.vue +19 -7
- package/src/scss/buefy.scss +1 -0
- package/src/scss/components/_colorpicker.scss +283 -0
- package/src/scss/components/_pagination.scss +38 -0
- package/src/utils/MessageMixin.js +2 -1
- package/src/utils/NoticeMixin.js +1 -5
- package/src/utils/color.js +441 -0
- package/src/utils/color.spec.js +52 -0
- package/src/utils/helpers.js +16 -0
- package/src/utils/icons.js +7 -1
- package/types/components.d.ts +7 -2
- package/types/helpers.d.ts +2 -1
- package/dist/cjs/chunk-92621ff7.js +0 -141
- package/dist/esm/chunk-2452e3d3.js +0 -134
package/dist/cjs/tabs.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var __chunk_1 = require('./chunk-
|
|
5
|
+
var __chunk_1 = require('./chunk-45739695.js');
|
|
6
6
|
require('./helpers.js');
|
|
7
7
|
var __chunk_2 = require('./chunk-9103eeda.js');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-73f8eef8.js');
|
|
9
9
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
var __chunk_28 = require('./chunk-
|
|
10
|
+
require('./chunk-841c0e0f.js');
|
|
11
|
+
require('./chunk-a53b7aff.js');
|
|
12
|
+
var __chunk_28 = require('./chunk-f5285f14.js');
|
|
13
13
|
|
|
14
14
|
var script = {
|
|
15
15
|
name: 'BTabs',
|
|
@@ -127,8 +127,8 @@ var script = {
|
|
|
127
127
|
const __vue_script__ = script;
|
|
128
128
|
|
|
129
129
|
/* template */
|
|
130
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-tabs",class:_vm.mainClasses},[_c('nav',{staticClass:"tabs",class:_vm.navClasses,attrs:{"role":"tablist","aria-orientation":_vm.vertical ? 'vertical' : 'horizontal'},on:{"keydown":_vm.manageTablistKeydown}},[_c('ul',_vm._l((_vm.items),function(childItem,childIdx){return _c('li',{directives:[{name:"show",rawName:"v-show",value:(childItem.visible),expression:"childItem.visible"}],key:childItem.value,class:[ childItem.headerClass, { 'is-active': childItem.isActive,
|
|
131
|
-
'is-disabled': childItem.disabled }],attrs:{"role":"presentation"}},[(childItem.$scopedSlots.header)?_c('b-slot-component',{ref:"tabLink",refInFor:true,attrs:{"component":childItem,"name":"header","tag":"a","role":"tab","id":((childItem.value) + "-label"),"aria-controls":((childItem.value) + "-content"),"aria-selected":("" + (childItem.isActive)),"tabindex":childItem.isActive ? 0 : -1},on:{"keydown":function($event){return _vm.manageTabKeydown($event, childItem)}},nativeOn:{"focus":function($event){_vm.currentFocus = childIdx;},"click":function($event){return _vm.childClick(childItem)}}}):_c('a',{ref:"tabLink",refInFor:true,attrs:{"role":"tab","id":((childItem.value) + "-tab"),"aria-controls":((childItem.value) + "-content"),"aria-selected":("" + (childItem.isActive)),"tabindex":childItem.isActive ? 0 : -1},on:{"focus":function($event){_vm.currentFocus = childIdx;},"click":function($event){return _vm.childClick(childItem)},"keydown":function($event){return _vm.manageTabKeydown($event, childItem)}}},[(childItem.icon)?_c('b-icon',{attrs:{"icon":childItem.icon,"pack":childItem.iconPack,"size":_vm.size}}):_vm._e(),_c('span',[_vm._v(_vm._s(childItem.label))])],1)],1)}),0)]),_c('section',{staticClass:"tab-content",class:{'is-transitioning': _vm.isTransitioning}},[_vm._t("default")],2)])};
|
|
130
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-tabs",class:_vm.mainClasses},[_c('nav',{staticClass:"tabs",class:_vm.navClasses,attrs:{"role":"tablist","aria-orientation":_vm.vertical ? 'vertical' : 'horizontal'},on:{"keydown":_vm.manageTablistKeydown}},[_vm._t("start"),_c('ul',_vm._l((_vm.items),function(childItem,childIdx){return _c('li',{directives:[{name:"show",rawName:"v-show",value:(childItem.visible),expression:"childItem.visible"}],key:childItem.value,class:[ childItem.headerClass, { 'is-active': childItem.isActive,
|
|
131
|
+
'is-disabled': childItem.disabled }],attrs:{"role":"presentation"}},[(childItem.$scopedSlots.header)?_c('b-slot-component',{ref:"tabLink",refInFor:true,attrs:{"component":childItem,"name":"header","tag":"a","role":"tab","id":((childItem.value) + "-label"),"aria-controls":((childItem.value) + "-content"),"aria-selected":("" + (childItem.isActive)),"tabindex":childItem.isActive ? 0 : -1},on:{"keydown":function($event){return _vm.manageTabKeydown($event, childItem)}},nativeOn:{"focus":function($event){_vm.currentFocus = childIdx;},"click":function($event){return _vm.childClick(childItem)}}}):_c('a',{ref:"tabLink",refInFor:true,attrs:{"role":"tab","id":((childItem.value) + "-tab"),"aria-controls":((childItem.value) + "-content"),"aria-selected":("" + (childItem.isActive)),"tabindex":childItem.isActive ? 0 : -1},on:{"focus":function($event){_vm.currentFocus = childIdx;},"click":function($event){return _vm.childClick(childItem)},"keydown":function($event){return _vm.manageTabKeydown($event, childItem)}}},[(childItem.icon)?_c('b-icon',{attrs:{"icon":childItem.icon,"pack":childItem.iconPack,"size":_vm.size}}):_vm._e(),_c('span',[_vm._v(_vm._s(childItem.label))])],1)],1)}),0),_vm._t("end")],2),_c('section',{staticClass:"tab-content",class:{'is-transitioning': _vm.isTransitioning}},[_vm._t("default")],2)])};
|
|
132
132
|
var __vue_staticRenderFns__ = [];
|
|
133
133
|
|
|
134
134
|
/* style */
|
package/dist/cjs/taginput.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var __chunk_1 = require('./chunk-
|
|
5
|
+
var __chunk_1 = require('./chunk-45739695.js');
|
|
6
6
|
var helpers = require('./helpers.js');
|
|
7
7
|
var __chunk_2 = require('./chunk-9103eeda.js');
|
|
8
|
-
var __chunk_3 = require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var __chunk_3 = require('./chunk-87a116d9.js');
|
|
9
|
+
require('./chunk-73f8eef8.js');
|
|
10
10
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
11
|
-
require('./chunk-
|
|
12
|
-
var __chunk_7 = require('./chunk-
|
|
11
|
+
require('./chunk-5058e659.js');
|
|
12
|
+
var __chunk_7 = require('./chunk-54b0042d.js');
|
|
13
13
|
var __chunk_29 = require('./chunk-bfcad370.js');
|
|
14
14
|
|
|
15
15
|
var _components;
|
package/dist/cjs/timepicker.js
CHANGED
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-45739695.js');
|
|
6
6
|
require('./helpers.js');
|
|
7
7
|
require('./chunk-9103eeda.js');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-87a116d9.js');
|
|
9
|
+
require('./chunk-73f8eef8.js');
|
|
10
10
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-5058e659.js');
|
|
12
|
+
require('./chunk-841c0e0f.js');
|
|
13
|
+
require('./chunk-334bc809.js');
|
|
14
14
|
require('./chunk-ae7e641a.js');
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
17
|
-
require('./chunk-
|
|
18
|
-
var
|
|
15
|
+
require('./chunk-d0df905a.js');
|
|
16
|
+
require('./chunk-c8abb3ed.js');
|
|
17
|
+
require('./chunk-1f7e4ed3.js');
|
|
18
|
+
var __chunk_20 = require('./chunk-c0a093d7.js');
|
|
19
19
|
|
|
20
20
|
var Plugin = {
|
|
21
21
|
install: function install(Vue) {
|
|
22
|
-
__chunk_5.registerComponent(Vue,
|
|
22
|
+
__chunk_5.registerComponent(Vue, __chunk_20.Timepicker);
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
__chunk_5.use(Plugin);
|
|
26
26
|
|
|
27
|
-
exports.BTimepicker =
|
|
27
|
+
exports.BTimepicker = __chunk_20.Timepicker;
|
|
28
28
|
exports.default = Plugin;
|
package/dist/cjs/toast.js
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-45739695.js');
|
|
6
6
|
var helpers = require('./helpers.js');
|
|
7
7
|
var __chunk_2 = require('./chunk-9103eeda.js');
|
|
8
8
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
9
|
-
var
|
|
9
|
+
var __chunk_25 = require('./chunk-e86d3eeb.js');
|
|
10
10
|
|
|
11
11
|
//
|
|
12
12
|
var script = {
|
|
13
13
|
name: 'BToast',
|
|
14
|
-
mixins: [
|
|
14
|
+
mixins: [__chunk_25.NoticeMixin],
|
|
15
15
|
data: function data() {
|
|
16
16
|
return {
|
|
17
17
|
newDuration: this.duration || __chunk_2.config.defaultToastDuration
|
package/dist/cjs/tooltip.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-45739695.js');
|
|
6
6
|
require('./helpers.js');
|
|
7
7
|
require('./chunk-9103eeda.js');
|
|
8
8
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
9
|
-
var
|
|
9
|
+
var __chunk_18 = require('./chunk-0d6f213f.js');
|
|
10
10
|
|
|
11
11
|
var Plugin = {
|
|
12
12
|
install: function install(Vue) {
|
|
13
|
-
__chunk_5.registerComponent(Vue,
|
|
13
|
+
__chunk_5.registerComponent(Vue, __chunk_18.Tooltip);
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
__chunk_5.use(Plugin);
|
|
17
17
|
|
|
18
|
-
exports.BTooltip =
|
|
18
|
+
exports.BTooltip = __chunk_18.Tooltip;
|
|
19
19
|
exports.default = Plugin;
|
package/dist/cjs/upload.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-45739695.js');
|
|
6
6
|
require('./helpers.js');
|
|
7
7
|
require('./chunk-9103eeda.js');
|
|
8
|
-
var __chunk_3 = require('./chunk-
|
|
8
|
+
var __chunk_3 = require('./chunk-87a116d9.js');
|
|
9
9
|
var __chunk_5 = require('./chunk-13e039f5.js');
|
|
10
|
-
var
|
|
10
|
+
var __chunk_22 = require('./chunk-f1df1c63.js');
|
|
11
11
|
|
|
12
12
|
//
|
|
13
13
|
var script = {
|
|
@@ -16,7 +16,7 @@ var script = {
|
|
|
16
16
|
inheritAttrs: false,
|
|
17
17
|
props: {
|
|
18
18
|
value: {
|
|
19
|
-
type: [Object, Function,
|
|
19
|
+
type: [Object, Function, __chunk_22.File, Array]
|
|
20
20
|
},
|
|
21
21
|
multiple: Boolean,
|
|
22
22
|
disabled: Boolean,
|
|
@@ -50,7 +50,7 @@ var script = {
|
|
|
50
50
|
/**
|
|
51
51
|
* When v-model is changed:
|
|
52
52
|
* 1. Set internal value.
|
|
53
|
-
* 2. Reset
|
|
53
|
+
* 2. Reset internal input file value
|
|
54
54
|
* 3. If it's invalid, validate again.
|
|
55
55
|
*/
|
|
56
56
|
value: function value(_value) {
|
|
@@ -80,7 +80,15 @@ var script = {
|
|
|
80
80
|
// only one element in case drag drop mode and isn't multiple
|
|
81
81
|
if (this.dragDrop && value.length !== 1) return;else {
|
|
82
82
|
var file = value[0];
|
|
83
|
-
if (this.checkType(file)) this.newValue = file;else if (this.newValue)
|
|
83
|
+
if (this.checkType(file)) this.newValue = file;else if (this.newValue) {
|
|
84
|
+
this.newValue = null;
|
|
85
|
+
this.clearInput();
|
|
86
|
+
} else {
|
|
87
|
+
// Force input back to empty state and recheck validity
|
|
88
|
+
this.clearInput();
|
|
89
|
+
this.checkHtml5Validity();
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
84
92
|
}
|
|
85
93
|
} else {
|
|
86
94
|
// always new values if native or undefined local
|
|
@@ -107,6 +115,13 @@ var script = {
|
|
|
107
115
|
!this.dragDrop && this.checkHtml5Validity();
|
|
108
116
|
},
|
|
109
117
|
|
|
118
|
+
/*
|
|
119
|
+
* Reset file input value
|
|
120
|
+
*/
|
|
121
|
+
clearInput: function clearInput() {
|
|
122
|
+
this.$refs.input.value = null;
|
|
123
|
+
},
|
|
124
|
+
|
|
110
125
|
/**
|
|
111
126
|
* Listen drag-drop to update internal variable
|
|
112
127
|
*/
|
|
@@ -131,10 +146,9 @@ var script = {
|
|
|
131
146
|
if (type) {
|
|
132
147
|
if (type.substring(0, 1) === '.') {
|
|
133
148
|
// check extension
|
|
134
|
-
var
|
|
135
|
-
var extension = extIndex >= 0 ? file.name.substring(extIndex) : '';
|
|
149
|
+
var extension = file.name.toLowerCase().slice(-type.length);
|
|
136
150
|
|
|
137
|
-
if (extension
|
|
151
|
+
if (extension === type.toLowerCase()) {
|
|
138
152
|
valid = true;
|
|
139
153
|
}
|
|
140
154
|
} else {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Buefy v0.9.
|
|
1
|
+
/*! Buefy v0.9.17 | MIT License | github.com/buefy/buefy */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -453,7 +453,13 @@
|
|
|
453
453
|
far: faIcons(),
|
|
454
454
|
fad: faIcons(),
|
|
455
455
|
fab: faIcons(),
|
|
456
|
-
fal: faIcons()
|
|
456
|
+
fal: faIcons(),
|
|
457
|
+
'fa-solid': faIcons(),
|
|
458
|
+
'fa-regular': faIcons(),
|
|
459
|
+
'fa-light': faIcons(),
|
|
460
|
+
'fa-thin': faIcons(),
|
|
461
|
+
'fa-duotone': faIcons(),
|
|
462
|
+
'fa-brands': faIcons()
|
|
457
463
|
};
|
|
458
464
|
|
|
459
465
|
if (config && config.customIconPacks) {
|
|
@@ -1220,6 +1226,22 @@
|
|
|
1220
1226
|
_this3.setHovered(null);
|
|
1221
1227
|
}
|
|
1222
1228
|
});
|
|
1229
|
+
} else {
|
|
1230
|
+
if (this.hovered) {
|
|
1231
|
+
// reset hovered if list doesn't contain it
|
|
1232
|
+
var hoveredValue = this.getValue(this.hovered);
|
|
1233
|
+
var data = this.computedData.map(function (d) {
|
|
1234
|
+
return d.items;
|
|
1235
|
+
}).reduce(function (a, b) {
|
|
1236
|
+
return [].concat(_toConsumableArray(a), _toConsumableArray(b));
|
|
1237
|
+
}, []);
|
|
1238
|
+
|
|
1239
|
+
if (!data.some(function (d) {
|
|
1240
|
+
return _this3.getValue(d) === hoveredValue;
|
|
1241
|
+
})) {
|
|
1242
|
+
this.setHovered(null);
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1223
1245
|
}
|
|
1224
1246
|
}
|
|
1225
1247
|
},
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! Buefy v0.9.
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Autocomplete={})}(this,function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function n(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function o(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach(function(t){i(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function s(e){return function(e){if(Array.isArray(e))return e}(e)||a(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(e){return function(e){if(Array.isArray(e)){for(var t=0,i=new Array(e.length);t<e.length;t++)i[t]=e[t];return i}}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function l(e,t){return t.split(".").reduce(function(e,t){return e?e[t]:null},e)}var c=function(e){return"object"===t(e)&&!Array.isArray(e)},u=function e(t,n){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(s||!Object.assign){var r=Object.getOwnPropertyNames(n).map(function(o){return i({},o,function(e){return c(n[e])&&null!==t&&t.hasOwnProperty(e)&&c(t[e])}(o)?e(t[o],n[o],s):n[o])}).reduce(function(e,t){return o({},e,{},t)},{});return o({},t,{},r)}return Object.assign(t,n)};var d={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},h={props:{size:String,expanded:Boolean,loading:Boolean,rounded:Boolean,icon:String,iconPack:String,autocomplete:String,maxlength:[Number,String],useHtml5Validation:{type:Boolean,default:function(){return d.defaultUseHtml5Validation}},validationMessage:String,locale:{type:[String,Array],default:function(){return d.defaultLocale}},statusIcon:{type:Boolean,default:function(){return d.defaultStatusIcon}}},data:function(){return{isValid:!0,isFocused:!1,newIconPack:this.iconPack||d.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 i=this;this.$nextTick(function(){i.parentField&&(i.parentField.type||(i.parentField.newType=e),i.parentField.message||(i.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}}}},f={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},p=function(){var e=d&&d.defaultIconComponent?"":"fa-";return{sizes:{default:null,"is-small":null,"is-medium":e+"lg","is-large":e+"2x"},iconPrefix:e,internalIcons:{information:"info-circle",alert:"exclamation-triangle","alert-circle":"exclamation-circle","chevron-right":"angle-right","chevron-left":"angle-left","chevron-down":"angle-down","eye-off":"eye-slash","menu-down":"caret-down","menu-up":"caret-up","close-circle":"times-circle"}}};var m=function(e,t,i,n,o,s,r,a,l,c){"boolean"!=typeof r&&(l=a,a=r,r=!1);var u,d="function"==typeof i?i.options:i;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,o&&(d.functional=!0)),n&&(d._scopeId=n),s?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=u):t&&(u=r?function(){t.call(this,c(this.$root.$options.shadowRoot))}:function(e){t.call(this,a(e))}),u)if(d.functional){var h=d.render;d.render=function(e,t){return u.call(t),h(e,t)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return i};var v=m({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",{staticClass:"icon",class:[e.newType,e.size]},[e.useIconComponent?i(e.useIconComponent,{tag:"component",class:[e.customClass],attrs:{icon:[e.newPack,e.newIcon],size:e.newCustomSize}}):i("i",{class:[e.newPack,e.newIcon,e.newCustomSize,e.customClass]})],1)},staticRenderFns:[]},void 0,{name:"BIcon",props:{type:[String,Object],component:String,pack:String,icon:String,size:String,customSize:String,customClass:String,both:Boolean},computed:{iconConfig:function(){var e;return(e={mdi:f,fa:p(),fas:p(),far:p(),fad:p(),fab:p(),fal:p()},d&&d.customIconPacks&&(e=u(e,d.customIconPacks,!0)),e)[this.newPack]},iconPrefix:function(){return this.iconConfig&&this.iconConfig.iconPrefix?this.iconConfig.iconPrefix:""},newIcon:function(){return"".concat(this.iconPrefix).concat(this.getEquivalentIconOf(this.icon))},newPack:function(){return this.pack||d.defaultIconPack},newType:function(){if(this.type){var e=[];if("string"==typeof this.type)e=this.type.split("-");else for(var t in this.type)if(this.type[t]){e=t.split("-");break}if(!(e.length<=1)){var i=s(e).slice(1);return"has-text-".concat(i.join("-"))}}},newCustomSize:function(){return this.customSize||this.customSizeByPack},customSizeByPack:function(){if(this.iconConfig&&this.iconConfig.sizes){if(this.size&&void 0!==this.iconConfig.sizes[this.size])return this.iconConfig.sizes[this.size];if(this.iconConfig.sizes.default)return this.iconConfig.sizes.default}return null},useIconComponent:function(){return this.component||d.defaultIconComponent}},methods:{getEquivalentIconOf:function(e){return this.both&&this.iconConfig&&this.iconConfig.internalIcons&&this.iconConfig.internalIcons[e]?this.iconConfig.internalIcons[e]:e}}},void 0,!1,void 0,void 0,void 0);var g=m({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"control",class:e.rootClasses},["textarea"!==e.type?i("input",e._b({ref:"input",staticClass:"input",class:[e.inputClasses,e.customClass],attrs:{type:e.newType,autocomplete:e.newAutocomplete,maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,change:e.onChange,blur:e.onBlur,focus:e.onFocus}},"input",e.$attrs,!1)):i("textarea",e._b({ref:"textarea",staticClass:"textarea",class:[e.inputClasses,e.customClass],attrs:{maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,change:e.onChange,blur:e.onBlur,focus:e.onFocus}},"textarea",e.$attrs,!1)),e.icon?i("b-icon",{staticClass:"is-left",class:{"is-clickable":e.iconClickable},attrs:{icon:e.icon,pack:e.iconPack,size:e.iconSize},nativeOn:{click:function(t){return e.iconClick("icon-click",t)}}}):e._e(),!e.loading&&e.hasIconRight?i("b-icon",{staticClass:"is-right",class:{"is-clickable":e.passwordReveal||e.iconRightClickable},attrs:{icon:e.rightIcon,pack:e.iconPack,size:e.iconSize,type:e.rightIconType,both:""},nativeOn:{click:function(t){return e.rightIconClick(t)}}}):e._e(),e.maxlength&&e.hasCounter&&"number"!==e.type?i("small",{staticClass:"help counter",class:{"is-invisible":!e.isFocused}},[e._v(" "+e._s(e.valueLength)+" / "+e._s(e.maxlength)+" ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"BInput",components:i({},v.name,v),mixins:[h],inheritAttrs:!1,props:{value:[Number,String],type:{type:String,default:"text"},lazy:{type:Boolean,default:!1},passwordReveal:Boolean,iconClickable:Boolean,hasCounter:{type:Boolean,default:function(){return d.defaultInputHasCounter}},customClass:{type:String,default:""},iconRight:String,iconRightClickable:Boolean,iconRightType:String},data:function(){return{newValue:this.value,newType:this.type,newAutocomplete:this.autocomplete||d.defaultInputAutocomplete,isPasswordVisible:!1,_elementRef:"textarea"===this.type?"textarea":"input"}},computed:{computedValue:{get:function(){return this.newValue},set:function(e){this.newValue=e,this.$emit("input",e)}},rootClasses:function(){return[this.iconPosition,this.size,{"is-expanded":this.expanded,"is-loading":this.loading,"is-clearfix":!this.hasMessage}]},inputClasses:function(){return[this.statusType,this.size,{"is-rounded":this.rounded}]},hasIconRight:function(){return this.passwordReveal||this.loading||this.statusIcon&&this.statusTypeIcon||this.iconRight},rightIcon:function(){return this.passwordReveal?this.passwordVisibleIcon:this.iconRight?this.iconRight:this.statusTypeIcon},rightIconType:function(){return this.passwordReveal?"is-primary":this.iconRight?this.iconRightType||null:this.statusType},iconPosition:function(){var e="";return this.icon&&(e+="has-icons-left "),this.hasIconRight&&(e+="has-icons-right"),e},statusTypeIcon:function(){switch(this.statusType){case"is-success":return"check";case"is-danger":return"alert-circle";case"is-info":return"information";case"is-warning":return"alert"}},hasMessage:function(){return!!this.statusMessage},passwordVisibleIcon:function(){return this.isPasswordVisible?"eye-off":"eye"},valueLength:function(){return"string"==typeof this.computedValue?this.computedValue.length:"number"==typeof this.computedValue?this.computedValue.toString().length:0}},watch:{value:function(e){this.newValue=e}},methods:{togglePasswordVisibility:function(){var e=this;this.isPasswordVisible=!this.isPasswordVisible,this.newType=this.isPasswordVisible?"text":"password",this.$nextTick(function(){e.focus()})},iconClick:function(e,t){var i=this;this.$emit(e,t),this.$nextTick(function(){i.focus()})},rightIconClick:function(e){this.passwordReveal?this.togglePasswordVisibility():this.iconRightClickable&&this.iconClick("icon-right-click",e)},onInput:function(e){if(!this.lazy){var t=e.target.value;this.updateValue(t)}},onChange:function(e){if(this.lazy){var t=e.target.value;this.updateValue(t)}},updateValue:function(e){this.computedValue=e,!this.isValid&&this.checkHtml5Validity()}}},void 0,!1,void 0,void 0,void 0);var y,w=m({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"autocomplete control",class:{"is-expanded":e.expanded}},[i("b-input",e._b({ref:"input",attrs:{type:e.type,size:e.size,loading:e.loading,rounded:e.rounded,icon:e.icon,"icon-right":e.newIconRight,"icon-right-clickable":e.newIconRightClickable,"icon-pack":e.iconPack,maxlength:e.maxlength,autocomplete:e.newAutocomplete,"use-html5-validation":!1,"aria-autocomplete":e.ariaAutocomplete},on:{input:e.onInput,focus:e.focused,blur:e.onBlur,"icon-right-click":e.rightIconClick,"icon-click":function(t){return e.$emit("icon-click",t)}},nativeOn:{keydown:[function(t){return e.keydown(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.keyArrows("up"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.keyArrows("down"))}]},model:{value:e.newValue,callback:function(t){e.newValue=t},expression:"newValue"}},"b-input",e.$attrs,!1)),i("transition",{attrs:{name:"fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive&&(!e.isEmpty||e.hasEmptySlot||e.hasHeaderSlot),expression:"isActive && (!isEmpty || hasEmptySlot || hasHeaderSlot)"}],ref:"dropdown",staticClass:"dropdown-menu",class:{"is-opened-top":e.isOpenedTop&&!e.appendToBody},style:e.style},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"dropdown-content",style:e.contentStyle},[e.hasHeaderSlot?i("div",{staticClass:"dropdown-item dropdown-header",class:{"is-hovered":e.headerHovered},attrs:{role:"button",tabindex:"0"},on:{click:function(t){return e.selectHeaderOrFoterByClick(t,"header")}}},[e._t("header")],2):e._e(),e._l(e.computedData,function(t,n){return[t.group?i("div",{key:n+"group",staticClass:"dropdown-item"},[e.hasGroupSlot?e._t("group",null,{group:t.group,index:n}):i("span",{staticClass:"has-text-weight-bold"},[e._v(" "+e._s(t.group)+" ")])],2):e._e(),e._l(t.items,function(t,o){return i("a",{key:n+":"+o,staticClass:"dropdown-item",class:{"is-hovered":t===e.hovered},attrs:{role:"button",tabindex:"0"},on:{click:function(i){return i.stopPropagation(),e.setSelected(t,!e.keepOpen,i)}}},[e.hasDefaultSlot?e._t("default",null,{option:t,index:o}):i("span",[e._v(" "+e._s(e.getValue(t,!0))+" ")])],2)})]}),e.isEmpty&&e.hasEmptySlot?i("div",{staticClass:"dropdown-item is-disabled"},[e._t("empty")],2):e._e(),e.hasFooterSlot?i("div",{staticClass:"dropdown-item dropdown-footer",class:{"is-hovered":e.footerHovered},attrs:{role:"button",tabindex:"0"},on:{click:function(t){return e.selectHeaderOrFoterByClick(t,"footer")}}},[e._t("footer")],2):e._e()],2)])])],1)},staticRenderFns:[]},void 0,{name:"BAutocomplete",components:i({},g.name,g),mixins:[h],inheritAttrs:!1,props:{value:[Number,String],data:{type:Array,default:function(){return[]}},field:{type:String,default:"value"},keepFirst:Boolean,clearOnSelect:Boolean,openOnFocus:Boolean,customFormatter:Function,checkInfiniteScroll:Boolean,keepOpen:Boolean,selectOnClickOutside:Boolean,clearable:Boolean,maxHeight:[String,Number],dropdownPosition:{type:String,default:"auto"},groupField:String,groupOptions:String,iconRight:String,iconRightClickable:Boolean,appendToBody:Boolean,type:{type:String,default:"text"},confirmKeys:{type:Array,default:function(){return["Tab","Enter"]}},selectableHeader:Boolean,selectableFooter:Boolean},data:function(){return{selected:null,hovered:null,headerHovered:null,footerHovered:null,isActive:!1,newValue:this.value,newAutocomplete:this.autocomplete||"off",ariaAutocomplete:this.keepFirst?"both":"list",isListInViewportVertically:!0,hasFocus:!1,style:{},_isAutocomplete:!0,_elementRef:"input",_bodyEl:void 0}},computed:{computedData:function(){var e=this;if(this.groupField){if(this.groupOptions){var t=[];return this.data.forEach(function(i){var n=l(i,e.groupField),o=l(i,e.groupOptions);t.push({group:n,items:o})}),t}var i={};this.data.forEach(function(t){var n=l(t,e.groupField);i[n]||(i[n]=[]),i[n].push(t)});var n=[];return Object.keys(i).forEach(function(e){n.push({group:e,items:i[e]})}),n}return[{items:this.data}]},isEmpty:function(){return!this.computedData||!this.computedData.some(function(e){return e.items&&e.items.length})},whiteList:function(){var e=[];if(e.push(this.$refs.input.$el.querySelector("input")),e.push(this.$refs.dropdown),void 0!==this.$refs.dropdown){var t=this.$refs.dropdown.querySelectorAll("*"),i=!0,n=!1,o=void 0;try{for(var s,r=t[Symbol.iterator]();!(i=(s=r.next()).done);i=!0){var a=s.value;e.push(a)}}catch(e){n=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(n)throw o}}}if(this.$parent.$data._isTaginput){e.push(this.$parent.$el);var l=this.$parent.$el.querySelectorAll("*"),c=!0,u=!1,d=void 0;try{for(var h,f=l[Symbol.iterator]();!(c=(h=f.next()).done);c=!0){var p=h.value;e.push(p)}}catch(e){u=!0,d=e}finally{try{c||null==f.return||f.return()}finally{if(u)throw d}}}return e},hasDefaultSlot:function(){return!!this.$scopedSlots.default},hasGroupSlot:function(){return!!this.$scopedSlots.group},hasEmptySlot:function(){return!!this.$slots.empty},hasHeaderSlot:function(){return!!this.$slots.header},hasFooterSlot:function(){return!!this.$slots.footer},isOpenedTop:function(){return"top"===this.dropdownPosition||"auto"===this.dropdownPosition&&!this.isListInViewportVertically},newIconRight:function(){return this.clearable&&this.newValue?"close-circle":this.iconRight},newIconRightClickable:function(){return!!this.clearable||this.iconRightClickable},contentStyle:function(){return{maxHeight:(e=this.maxHeight,void 0===e?null:isNaN(e)?e:e+"px")};var e}},watch:{isActive:function(e){var t=this;"auto"===this.dropdownPosition&&(e?this.calcDropdownInViewportVertical():setTimeout(function(){t.calcDropdownInViewportVertical()},100))},newValue:function(e){this.$emit("input",e);var t=this.getValue(this.selected);t&&t!==e&&this.setSelected(null,!1),!this.hasFocus||this.openOnFocus&&!e||(this.isActive=!!e)},value:function(e){this.newValue=e},data:function(){var e=this;this.keepFirst&&this.$nextTick(function(){e.isActive?e.selectFirstOption(e.computedData):e.setHovered(null)})}},methods:{setHovered:function(e){void 0!==e&&(this.hovered=e)},setSelected:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(void 0!==e){if(this.selected=e,this.$emit("select",this.selected,n),null!==this.selected){if(this.clearOnSelect){var o=this.$refs.input;o.newValue="",o.$refs.input.value=""}else this.newValue=this.getValue(this.selected);this.setHovered(null)}i&&this.$nextTick(function(){t.isActive=!1}),this.checkValidity()}},selectFirstOption:function(e){var t=this;this.$nextTick(function(){var i=e.filter(function(e){return e.items&&e.items.length});if(i.length){var n=i[0].items[0];t.setHovered(n)}else t.setHovered(null)})},keydown:function(e){var t=e.key;if("Enter"===t&&e.preventDefault(),"Escape"!==t&&"Tab"!==t||(this.isActive=!1),this.confirmKeys.indexOf(t)>=0){","===t&&e.preventDefault();var i=!this.keepOpen||"Tab"===t;if(null===this.hovered)return void this.checkIfHeaderOrFooterSelected(e,null,i);this.setSelected(this.hovered,i,e)}},selectHeaderOrFoterByClick:function(e,t){this.checkIfHeaderOrFooterSelected(e,{origin:t})},checkIfHeaderOrFooterSelected:function(e,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.selectableHeader&&(this.headerHovered||t&&"header"===t.origin)&&(this.$emit("select-header",e),this.headerHovered=!1,t&&this.setHovered(null),i&&(this.isActive=!1)),this.selectableFooter&&(this.footerHovered||t&&"footer"===t.origin)&&(this.$emit("select-footer",e),this.footerHovered=!1,t&&this.setHovered(null),i&&(this.isActive=!1))},clickedOutside:function(e){var t="shadowRoot"in this.$root.$options?e.composedPath()[0]:e.target;!this.hasFocus&&this.whiteList.indexOf(t)<0&&(this.keepFirst&&this.hovered&&this.selectOnClickOutside?this.setSelected(this.hovered,!0):this.isActive=!1)},getValue:function(e){if(null!==e)return void 0!==this.customFormatter?this.customFormatter(e):"object"===t(e)?l(e,this.field):e},checkIfReachedTheEndOfScroll:function(e){e.clientHeight!==e.scrollHeight&&e.scrollTop+e.clientHeight>=e.scrollHeight&&this.$emit("infinite-scroll")},calcDropdownInViewportVertical:function(){var e=this;this.$nextTick(function(){if(void 0!==e.$refs.dropdown){var t=e.$refs.dropdown.getBoundingClientRect();e.isListInViewportVertically=t.top>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight),e.appendToBody&&e.updateAppendToBody()}})},keyArrows:function(e){var t="down"===e?1:-1;if(this.isActive){var i,n=this.computedData.map(function(e){return e.items}).reduce(function(e,t){return[].concat(r(e),r(t))},[]);this.hasHeaderSlot&&this.selectableHeader&&n.unshift(void 0),this.hasFooterSlot&&this.selectableFooter&&n.push(void 0),i=(i=(i=this.headerHovered?0+t:this.footerHovered?n.length-1+t:n.indexOf(this.hovered)+t)>n.length-1?n.length-1:i)<0?0:i,this.footerHovered=!1,this.headerHovered=!1,this.setHovered(void 0!==n[i]?n[i]:null),this.hasFooterSlot&&this.selectableFooter&&i===n.length-1&&(this.footerHovered=!0),this.hasHeaderSlot&&this.selectableHeader&&0===i&&(this.headerHovered=!0);var o=this.$refs.dropdown.querySelector(".dropdown-content"),s="a.dropdown-item:not(.is-disabled)";this.hasHeaderSlot&&this.selectableHeader&&(s+=",div.dropdown-header"),this.hasFooterSlot&&this.selectableFooter&&(s+=",div.dropdown-footer");var a=o.querySelectorAll(s)[i];if(!a)return;var l=o.scrollTop,c=o.scrollTop+o.clientHeight-a.clientHeight;a.offsetTop<l?o.scrollTop=a.offsetTop:a.offsetTop>=c&&(o.scrollTop=a.offsetTop-o.clientHeight+a.clientHeight)}else this.isActive=!0},focused:function(e){this.getValue(this.selected)===this.newValue&&this.$el.querySelector("input").select(),this.openOnFocus&&(this.isActive=!0,this.keepFirst&&this.selectFirstOption(this.computedData)),this.hasFocus=!0,this.$emit("focus",e)},onBlur:function(e){this.hasFocus=!1,this.$emit("blur",e)},onInput:function(){var e=this.getValue(this.selected);e&&e===this.newValue||(this.$emit("typing",this.newValue),this.checkValidity())},rightIconClick:function(e){this.clearable?(this.newValue="",this.setSelected(null,!1),this.openOnFocus&&this.$refs.input.$el.focus()):this.$emit("icon-right-click",e)},checkValidity:function(){var e=this;this.useHtml5Validation&&this.$nextTick(function(){e.checkHtml5Validity()})},updateAppendToBody:function(){var e=this.$refs.dropdown,t=this.$refs.input.$el;if(e&&t){var i=this.$data._bodyEl;i.classList.forEach(function(e){return i.classList.remove(e)}),i.classList.add("autocomplete"),i.classList.add("control"),this.expandend&&i.classList.add("is-expandend");var n=t.getBoundingClientRect(),o=n.top+window.scrollY,s=n.left+window.scrollX;this.isOpenedTop?o-=e.clientHeight:o+=t.clientHeight,this.style={position:"absolute",top:"".concat(o,"px"),left:"".concat(s,"px"),width:"".concat(t.clientWidth,"px"),maxWidth:"".concat(t.clientWidth,"px"),zIndex:"99"}}}},created:function(){"undefined"!=typeof window&&(document.addEventListener("click",this.clickedOutside),"auto"===this.dropdownPosition&&window.addEventListener("resize",this.calcDropdownInViewportVertical))},mounted:function(){var e=this;if(this.checkInfiniteScroll&&this.$refs.dropdown&&this.$refs.dropdown.querySelector(".dropdown-content")){var t=this.$refs.dropdown.querySelector(".dropdown-content");t.addEventListener("scroll",function(){return e.checkIfReachedTheEndOfScroll(t)})}this.appendToBody&&(this.$data._bodyEl=function(e){var t=document.createElement("div");t.style.position="absolute",t.style.left="0px",t.style.top="0px",t.style.width="100%";var i=document.createElement("div");return t.appendChild(i),i.appendChild(e),document.body.appendChild(t),t}(this.$refs.dropdown),this.updateAppendToBody())},beforeDestroy:function(){var e;("undefined"!=typeof window&&(document.removeEventListener("click",this.clickedOutside),"auto"===this.dropdownPosition&&window.removeEventListener("resize",this.calcDropdownInViewportVertical)),this.checkInfiniteScroll&&this.$refs.dropdown&&this.$refs.dropdown.querySelector(".dropdown-content"))&&this.$refs.dropdown.querySelector(".dropdown-content").removeEventListener("scroll",this.checkIfReachedTheEndOfScroll);this.appendToBody&&(void 0!==(e=this.$data._bodyEl).remove?e.remove():void 0!==e.parentNode&&null!==e.parentNode&&e.parentNode.removeChild(e))}},void 0,!1,void 0,void 0,void 0),b={install:function(e){!function(e,t){e.component(t.name,t)}(e,w)}};y=b,"undefined"!=typeof window&&window.Vue&&window.Vue.use(y),e.BAutocomplete=w,e.default=b,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
1
|
+
/*! Buefy v0.9.17 | 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).Autocomplete={})}(this,function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function n(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function o(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach(function(t){i(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function s(e){return function(e){if(Array.isArray(e))return e}(e)||a(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(e){return function(e){if(Array.isArray(e)){for(var t=0,i=new Array(e.length);t<e.length;t++)i[t]=e[t];return i}}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function l(e,t){return t.split(".").reduce(function(e,t){return e?e[t]:null},e)}var c=function(e){return"object"===t(e)&&!Array.isArray(e)},u=function e(t,n){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(s||!Object.assign){var r=Object.getOwnPropertyNames(n).map(function(o){return i({},o,function(e){return c(n[e])&&null!==t&&t.hasOwnProperty(e)&&c(t[e])}(o)?e(t[o],n[o],s):n[o])}).reduce(function(e,t){return o({},e,{},t)},{});return o({},t,{},r)}return Object.assign(t,n)};var d={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},h={props:{size:String,expanded:Boolean,loading:Boolean,rounded:Boolean,icon:String,iconPack:String,autocomplete:String,maxlength:[Number,String],useHtml5Validation:{type:Boolean,default:function(){return d.defaultUseHtml5Validation}},validationMessage:String,locale:{type:[String,Array],default:function(){return d.defaultLocale}},statusIcon:{type:Boolean,default:function(){return d.defaultStatusIcon}}},data:function(){return{isValid:!0,isFocused:!1,newIconPack:this.iconPack||d.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 i=this;this.$nextTick(function(){i.parentField&&(i.parentField.type||(i.parentField.newType=e),i.parentField.message||(i.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}}}},f={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},p=function(){var e=d&&d.defaultIconComponent?"":"fa-";return{sizes:{default:null,"is-small":null,"is-medium":e+"lg","is-large":e+"2x"},iconPrefix:e,internalIcons:{information:"info-circle",alert:"exclamation-triangle","alert-circle":"exclamation-circle","chevron-right":"angle-right","chevron-left":"angle-left","chevron-down":"angle-down","eye-off":"eye-slash","menu-down":"caret-down","menu-up":"caret-up","close-circle":"times-circle"}}};var m=function(e,t,i,n,o,s,r,a,l,c){"boolean"!=typeof r&&(l=a,a=r,r=!1);var u,d="function"==typeof i?i.options:i;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,o&&(d.functional=!0)),n&&(d._scopeId=n),s?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=u):t&&(u=r?function(){t.call(this,c(this.$root.$options.shadowRoot))}:function(e){t.call(this,a(e))}),u)if(d.functional){var h=d.render;d.render=function(e,t){return u.call(t),h(e,t)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,u):[u]}return i};var v=m({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",{staticClass:"icon",class:[e.newType,e.size]},[e.useIconComponent?i(e.useIconComponent,{tag:"component",class:[e.customClass],attrs:{icon:[e.newPack,e.newIcon],size:e.newCustomSize}}):i("i",{class:[e.newPack,e.newIcon,e.newCustomSize,e.customClass]})],1)},staticRenderFns:[]},void 0,{name:"BIcon",props:{type:[String,Object],component:String,pack:String,icon:String,size:String,customSize:String,customClass:String,both:Boolean},computed:{iconConfig:function(){var e;return(e={mdi:f,fa:p(),fas:p(),far:p(),fad:p(),fab:p(),fal:p(),"fa-solid":p(),"fa-regular":p(),"fa-light":p(),"fa-thin":p(),"fa-duotone":p(),"fa-brands":p()},d&&d.customIconPacks&&(e=u(e,d.customIconPacks,!0)),e)[this.newPack]},iconPrefix:function(){return this.iconConfig&&this.iconConfig.iconPrefix?this.iconConfig.iconPrefix:""},newIcon:function(){return"".concat(this.iconPrefix).concat(this.getEquivalentIconOf(this.icon))},newPack:function(){return this.pack||d.defaultIconPack},newType:function(){if(this.type){var e=[];if("string"==typeof this.type)e=this.type.split("-");else for(var t in this.type)if(this.type[t]){e=t.split("-");break}if(!(e.length<=1)){var i=s(e).slice(1);return"has-text-".concat(i.join("-"))}}},newCustomSize:function(){return this.customSize||this.customSizeByPack},customSizeByPack:function(){if(this.iconConfig&&this.iconConfig.sizes){if(this.size&&void 0!==this.iconConfig.sizes[this.size])return this.iconConfig.sizes[this.size];if(this.iconConfig.sizes.default)return this.iconConfig.sizes.default}return null},useIconComponent:function(){return this.component||d.defaultIconComponent}},methods:{getEquivalentIconOf:function(e){return this.both&&this.iconConfig&&this.iconConfig.internalIcons&&this.iconConfig.internalIcons[e]?this.iconConfig.internalIcons[e]:e}}},void 0,!1,void 0,void 0,void 0);var g=m({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"control",class:e.rootClasses},["textarea"!==e.type?i("input",e._b({ref:"input",staticClass:"input",class:[e.inputClasses,e.customClass],attrs:{type:e.newType,autocomplete:e.newAutocomplete,maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,change:e.onChange,blur:e.onBlur,focus:e.onFocus}},"input",e.$attrs,!1)):i("textarea",e._b({ref:"textarea",staticClass:"textarea",class:[e.inputClasses,e.customClass],attrs:{maxlength:e.maxlength},domProps:{value:e.computedValue},on:{input:e.onInput,change:e.onChange,blur:e.onBlur,focus:e.onFocus}},"textarea",e.$attrs,!1)),e.icon?i("b-icon",{staticClass:"is-left",class:{"is-clickable":e.iconClickable},attrs:{icon:e.icon,pack:e.iconPack,size:e.iconSize},nativeOn:{click:function(t){return e.iconClick("icon-click",t)}}}):e._e(),!e.loading&&e.hasIconRight?i("b-icon",{staticClass:"is-right",class:{"is-clickable":e.passwordReveal||e.iconRightClickable},attrs:{icon:e.rightIcon,pack:e.iconPack,size:e.iconSize,type:e.rightIconType,both:""},nativeOn:{click:function(t){return e.rightIconClick(t)}}}):e._e(),e.maxlength&&e.hasCounter&&"number"!==e.type?i("small",{staticClass:"help counter",class:{"is-invisible":!e.isFocused}},[e._v(" "+e._s(e.valueLength)+" / "+e._s(e.maxlength)+" ")]):e._e()],1)},staticRenderFns:[]},void 0,{name:"BInput",components:i({},v.name,v),mixins:[h],inheritAttrs:!1,props:{value:[Number,String],type:{type:String,default:"text"},lazy:{type:Boolean,default:!1},passwordReveal:Boolean,iconClickable:Boolean,hasCounter:{type:Boolean,default:function(){return d.defaultInputHasCounter}},customClass:{type:String,default:""},iconRight:String,iconRightClickable:Boolean,iconRightType:String},data:function(){return{newValue:this.value,newType:this.type,newAutocomplete:this.autocomplete||d.defaultInputAutocomplete,isPasswordVisible:!1,_elementRef:"textarea"===this.type?"textarea":"input"}},computed:{computedValue:{get:function(){return this.newValue},set:function(e){this.newValue=e,this.$emit("input",e)}},rootClasses:function(){return[this.iconPosition,this.size,{"is-expanded":this.expanded,"is-loading":this.loading,"is-clearfix":!this.hasMessage}]},inputClasses:function(){return[this.statusType,this.size,{"is-rounded":this.rounded}]},hasIconRight:function(){return this.passwordReveal||this.loading||this.statusIcon&&this.statusTypeIcon||this.iconRight},rightIcon:function(){return this.passwordReveal?this.passwordVisibleIcon:this.iconRight?this.iconRight:this.statusTypeIcon},rightIconType:function(){return this.passwordReveal?"is-primary":this.iconRight?this.iconRightType||null:this.statusType},iconPosition:function(){var e="";return this.icon&&(e+="has-icons-left "),this.hasIconRight&&(e+="has-icons-right"),e},statusTypeIcon:function(){switch(this.statusType){case"is-success":return"check";case"is-danger":return"alert-circle";case"is-info":return"information";case"is-warning":return"alert"}},hasMessage:function(){return!!this.statusMessage},passwordVisibleIcon:function(){return this.isPasswordVisible?"eye-off":"eye"},valueLength:function(){return"string"==typeof this.computedValue?this.computedValue.length:"number"==typeof this.computedValue?this.computedValue.toString().length:0}},watch:{value:function(e){this.newValue=e}},methods:{togglePasswordVisibility:function(){var e=this;this.isPasswordVisible=!this.isPasswordVisible,this.newType=this.isPasswordVisible?"text":"password",this.$nextTick(function(){e.focus()})},iconClick:function(e,t){var i=this;this.$emit(e,t),this.$nextTick(function(){i.focus()})},rightIconClick:function(e){this.passwordReveal?this.togglePasswordVisibility():this.iconRightClickable&&this.iconClick("icon-right-click",e)},onInput:function(e){if(!this.lazy){var t=e.target.value;this.updateValue(t)}},onChange:function(e){if(this.lazy){var t=e.target.value;this.updateValue(t)}},updateValue:function(e){this.computedValue=e,!this.isValid&&this.checkHtml5Validity()}}},void 0,!1,void 0,void 0,void 0);var y,w=m({render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"autocomplete control",class:{"is-expanded":e.expanded}},[i("b-input",e._b({ref:"input",attrs:{type:e.type,size:e.size,loading:e.loading,rounded:e.rounded,icon:e.icon,"icon-right":e.newIconRight,"icon-right-clickable":e.newIconRightClickable,"icon-pack":e.iconPack,maxlength:e.maxlength,autocomplete:e.newAutocomplete,"use-html5-validation":!1,"aria-autocomplete":e.ariaAutocomplete},on:{input:e.onInput,focus:e.focused,blur:e.onBlur,"icon-right-click":e.rightIconClick,"icon-click":function(t){return e.$emit("icon-click",t)}},nativeOn:{keydown:[function(t){return e.keydown(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.keyArrows("up"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.keyArrows("down"))}]},model:{value:e.newValue,callback:function(t){e.newValue=t},expression:"newValue"}},"b-input",e.$attrs,!1)),i("transition",{attrs:{name:"fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive&&(!e.isEmpty||e.hasEmptySlot||e.hasHeaderSlot),expression:"isActive && (!isEmpty || hasEmptySlot || hasHeaderSlot)"}],ref:"dropdown",staticClass:"dropdown-menu",class:{"is-opened-top":e.isOpenedTop&&!e.appendToBody},style:e.style},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"dropdown-content",style:e.contentStyle},[e.hasHeaderSlot?i("div",{staticClass:"dropdown-item dropdown-header",class:{"is-hovered":e.headerHovered},attrs:{role:"button",tabindex:"0"},on:{click:function(t){return e.selectHeaderOrFoterByClick(t,"header")}}},[e._t("header")],2):e._e(),e._l(e.computedData,function(t,n){return[t.group?i("div",{key:n+"group",staticClass:"dropdown-item"},[e.hasGroupSlot?e._t("group",null,{group:t.group,index:n}):i("span",{staticClass:"has-text-weight-bold"},[e._v(" "+e._s(t.group)+" ")])],2):e._e(),e._l(t.items,function(t,o){return i("a",{key:n+":"+o,staticClass:"dropdown-item",class:{"is-hovered":t===e.hovered},attrs:{role:"button",tabindex:"0"},on:{click:function(i){return i.stopPropagation(),e.setSelected(t,!e.keepOpen,i)}}},[e.hasDefaultSlot?e._t("default",null,{option:t,index:o}):i("span",[e._v(" "+e._s(e.getValue(t,!0))+" ")])],2)})]}),e.isEmpty&&e.hasEmptySlot?i("div",{staticClass:"dropdown-item is-disabled"},[e._t("empty")],2):e._e(),e.hasFooterSlot?i("div",{staticClass:"dropdown-item dropdown-footer",class:{"is-hovered":e.footerHovered},attrs:{role:"button",tabindex:"0"},on:{click:function(t){return e.selectHeaderOrFoterByClick(t,"footer")}}},[e._t("footer")],2):e._e()],2)])])],1)},staticRenderFns:[]},void 0,{name:"BAutocomplete",components:i({},g.name,g),mixins:[h],inheritAttrs:!1,props:{value:[Number,String],data:{type:Array,default:function(){return[]}},field:{type:String,default:"value"},keepFirst:Boolean,clearOnSelect:Boolean,openOnFocus:Boolean,customFormatter:Function,checkInfiniteScroll:Boolean,keepOpen:Boolean,selectOnClickOutside:Boolean,clearable:Boolean,maxHeight:[String,Number],dropdownPosition:{type:String,default:"auto"},groupField:String,groupOptions:String,iconRight:String,iconRightClickable:Boolean,appendToBody:Boolean,type:{type:String,default:"text"},confirmKeys:{type:Array,default:function(){return["Tab","Enter"]}},selectableHeader:Boolean,selectableFooter:Boolean},data:function(){return{selected:null,hovered:null,headerHovered:null,footerHovered:null,isActive:!1,newValue:this.value,newAutocomplete:this.autocomplete||"off",ariaAutocomplete:this.keepFirst?"both":"list",isListInViewportVertically:!0,hasFocus:!1,style:{},_isAutocomplete:!0,_elementRef:"input",_bodyEl:void 0}},computed:{computedData:function(){var e=this;if(this.groupField){if(this.groupOptions){var t=[];return this.data.forEach(function(i){var n=l(i,e.groupField),o=l(i,e.groupOptions);t.push({group:n,items:o})}),t}var i={};this.data.forEach(function(t){var n=l(t,e.groupField);i[n]||(i[n]=[]),i[n].push(t)});var n=[];return Object.keys(i).forEach(function(e){n.push({group:e,items:i[e]})}),n}return[{items:this.data}]},isEmpty:function(){return!this.computedData||!this.computedData.some(function(e){return e.items&&e.items.length})},whiteList:function(){var e=[];if(e.push(this.$refs.input.$el.querySelector("input")),e.push(this.$refs.dropdown),void 0!==this.$refs.dropdown){var t=this.$refs.dropdown.querySelectorAll("*"),i=!0,n=!1,o=void 0;try{for(var s,r=t[Symbol.iterator]();!(i=(s=r.next()).done);i=!0){var a=s.value;e.push(a)}}catch(e){n=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(n)throw o}}}if(this.$parent.$data._isTaginput){e.push(this.$parent.$el);var l=this.$parent.$el.querySelectorAll("*"),c=!0,u=!1,d=void 0;try{for(var h,f=l[Symbol.iterator]();!(c=(h=f.next()).done);c=!0){var p=h.value;e.push(p)}}catch(e){u=!0,d=e}finally{try{c||null==f.return||f.return()}finally{if(u)throw d}}}return e},hasDefaultSlot:function(){return!!this.$scopedSlots.default},hasGroupSlot:function(){return!!this.$scopedSlots.group},hasEmptySlot:function(){return!!this.$slots.empty},hasHeaderSlot:function(){return!!this.$slots.header},hasFooterSlot:function(){return!!this.$slots.footer},isOpenedTop:function(){return"top"===this.dropdownPosition||"auto"===this.dropdownPosition&&!this.isListInViewportVertically},newIconRight:function(){return this.clearable&&this.newValue?"close-circle":this.iconRight},newIconRightClickable:function(){return!!this.clearable||this.iconRightClickable},contentStyle:function(){return{maxHeight:(e=this.maxHeight,void 0===e?null:isNaN(e)?e:e+"px")};var e}},watch:{isActive:function(e){var t=this;"auto"===this.dropdownPosition&&(e?this.calcDropdownInViewportVertical():setTimeout(function(){t.calcDropdownInViewportVertical()},100))},newValue:function(e){this.$emit("input",e);var t=this.getValue(this.selected);t&&t!==e&&this.setSelected(null,!1),!this.hasFocus||this.openOnFocus&&!e||(this.isActive=!!e)},value:function(e){this.newValue=e},data:function(){var e=this;if(this.keepFirst)this.$nextTick(function(){e.isActive?e.selectFirstOption(e.computedData):e.setHovered(null)});else if(this.hovered){var t=this.getValue(this.hovered),i=this.computedData.map(function(e){return e.items}).reduce(function(e,t){return[].concat(r(e),r(t))},[]);i.some(function(i){return e.getValue(i)===t})||this.setHovered(null)}}},methods:{setHovered:function(e){void 0!==e&&(this.hovered=e)},setSelected:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(void 0!==e){if(this.selected=e,this.$emit("select",this.selected,n),null!==this.selected){if(this.clearOnSelect){var o=this.$refs.input;o.newValue="",o.$refs.input.value=""}else this.newValue=this.getValue(this.selected);this.setHovered(null)}i&&this.$nextTick(function(){t.isActive=!1}),this.checkValidity()}},selectFirstOption:function(e){var t=this;this.$nextTick(function(){var i=e.filter(function(e){return e.items&&e.items.length});if(i.length){var n=i[0].items[0];t.setHovered(n)}else t.setHovered(null)})},keydown:function(e){var t=e.key;if("Enter"===t&&e.preventDefault(),"Escape"!==t&&"Tab"!==t||(this.isActive=!1),this.confirmKeys.indexOf(t)>=0){","===t&&e.preventDefault();var i=!this.keepOpen||"Tab"===t;if(null===this.hovered)return void this.checkIfHeaderOrFooterSelected(e,null,i);this.setSelected(this.hovered,i,e)}},selectHeaderOrFoterByClick:function(e,t){this.checkIfHeaderOrFooterSelected(e,{origin:t})},checkIfHeaderOrFooterSelected:function(e,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.selectableHeader&&(this.headerHovered||t&&"header"===t.origin)&&(this.$emit("select-header",e),this.headerHovered=!1,t&&this.setHovered(null),i&&(this.isActive=!1)),this.selectableFooter&&(this.footerHovered||t&&"footer"===t.origin)&&(this.$emit("select-footer",e),this.footerHovered=!1,t&&this.setHovered(null),i&&(this.isActive=!1))},clickedOutside:function(e){var t="shadowRoot"in this.$root.$options?e.composedPath()[0]:e.target;!this.hasFocus&&this.whiteList.indexOf(t)<0&&(this.keepFirst&&this.hovered&&this.selectOnClickOutside?this.setSelected(this.hovered,!0):this.isActive=!1)},getValue:function(e){if(null!==e)return void 0!==this.customFormatter?this.customFormatter(e):"object"===t(e)?l(e,this.field):e},checkIfReachedTheEndOfScroll:function(e){e.clientHeight!==e.scrollHeight&&e.scrollTop+e.clientHeight>=e.scrollHeight&&this.$emit("infinite-scroll")},calcDropdownInViewportVertical:function(){var e=this;this.$nextTick(function(){if(void 0!==e.$refs.dropdown){var t=e.$refs.dropdown.getBoundingClientRect();e.isListInViewportVertically=t.top>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight),e.appendToBody&&e.updateAppendToBody()}})},keyArrows:function(e){var t="down"===e?1:-1;if(this.isActive){var i,n=this.computedData.map(function(e){return e.items}).reduce(function(e,t){return[].concat(r(e),r(t))},[]);this.hasHeaderSlot&&this.selectableHeader&&n.unshift(void 0),this.hasFooterSlot&&this.selectableFooter&&n.push(void 0),i=(i=(i=this.headerHovered?0+t:this.footerHovered?n.length-1+t:n.indexOf(this.hovered)+t)>n.length-1?n.length-1:i)<0?0:i,this.footerHovered=!1,this.headerHovered=!1,this.setHovered(void 0!==n[i]?n[i]:null),this.hasFooterSlot&&this.selectableFooter&&i===n.length-1&&(this.footerHovered=!0),this.hasHeaderSlot&&this.selectableHeader&&0===i&&(this.headerHovered=!0);var o=this.$refs.dropdown.querySelector(".dropdown-content"),s="a.dropdown-item:not(.is-disabled)";this.hasHeaderSlot&&this.selectableHeader&&(s+=",div.dropdown-header"),this.hasFooterSlot&&this.selectableFooter&&(s+=",div.dropdown-footer");var a=o.querySelectorAll(s)[i];if(!a)return;var l=o.scrollTop,c=o.scrollTop+o.clientHeight-a.clientHeight;a.offsetTop<l?o.scrollTop=a.offsetTop:a.offsetTop>=c&&(o.scrollTop=a.offsetTop-o.clientHeight+a.clientHeight)}else this.isActive=!0},focused:function(e){this.getValue(this.selected)===this.newValue&&this.$el.querySelector("input").select(),this.openOnFocus&&(this.isActive=!0,this.keepFirst&&this.selectFirstOption(this.computedData)),this.hasFocus=!0,this.$emit("focus",e)},onBlur:function(e){this.hasFocus=!1,this.$emit("blur",e)},onInput:function(){var e=this.getValue(this.selected);e&&e===this.newValue||(this.$emit("typing",this.newValue),this.checkValidity())},rightIconClick:function(e){this.clearable?(this.newValue="",this.setSelected(null,!1),this.openOnFocus&&this.$refs.input.$el.focus()):this.$emit("icon-right-click",e)},checkValidity:function(){var e=this;this.useHtml5Validation&&this.$nextTick(function(){e.checkHtml5Validity()})},updateAppendToBody:function(){var e=this.$refs.dropdown,t=this.$refs.input.$el;if(e&&t){var i=this.$data._bodyEl;i.classList.forEach(function(e){return i.classList.remove(e)}),i.classList.add("autocomplete"),i.classList.add("control"),this.expandend&&i.classList.add("is-expandend");var n=t.getBoundingClientRect(),o=n.top+window.scrollY,s=n.left+window.scrollX;this.isOpenedTop?o-=e.clientHeight:o+=t.clientHeight,this.style={position:"absolute",top:"".concat(o,"px"),left:"".concat(s,"px"),width:"".concat(t.clientWidth,"px"),maxWidth:"".concat(t.clientWidth,"px"),zIndex:"99"}}}},created:function(){"undefined"!=typeof window&&(document.addEventListener("click",this.clickedOutside),"auto"===this.dropdownPosition&&window.addEventListener("resize",this.calcDropdownInViewportVertical))},mounted:function(){var e=this;if(this.checkInfiniteScroll&&this.$refs.dropdown&&this.$refs.dropdown.querySelector(".dropdown-content")){var t=this.$refs.dropdown.querySelector(".dropdown-content");t.addEventListener("scroll",function(){return e.checkIfReachedTheEndOfScroll(t)})}this.appendToBody&&(this.$data._bodyEl=function(e){var t=document.createElement("div");t.style.position="absolute",t.style.left="0px",t.style.top="0px",t.style.width="100%";var i=document.createElement("div");return t.appendChild(i),i.appendChild(e),document.body.appendChild(t),t}(this.$refs.dropdown),this.updateAppendToBody())},beforeDestroy:function(){var e;("undefined"!=typeof window&&(document.removeEventListener("click",this.clickedOutside),"auto"===this.dropdownPosition&&window.removeEventListener("resize",this.calcDropdownInViewportVertical)),this.checkInfiniteScroll&&this.$refs.dropdown&&this.$refs.dropdown.querySelector(".dropdown-content"))&&this.$refs.dropdown.querySelector(".dropdown-content").removeEventListener("scroll",this.checkIfReachedTheEndOfScroll);this.appendToBody&&(void 0!==(e=this.$data._bodyEl).remove?e.remove():void 0!==e.parentNode&&null!==e.parentNode&&e.parentNode.removeChild(e))}},void 0,!1,void 0,void 0,void 0),b={install:function(e){!function(e,t){e.component(t.name,t)}(e,w)}};y=b,"undefined"!=typeof window&&window.Vue&&window.Vue.use(y),e.BAutocomplete=w,e.default=b,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Buefy v0.9.
|
|
1
|
+
/*! Buefy v0.9.17 | MIT License | github.com/buefy/buefy */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! Buefy v0.9.
|
|
1
|
+
/*! Buefy v0.9.17 | MIT License | github.com/buefy/buefy */
|
|
2
2
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Breadcrumb={})}(this,function(e){"use strict";var t="a",n="is-left",i="",r="is-medium";var o=function(e,t,n,i,r,o,s,a,d,u){"boolean"!=typeof s&&(d=a,a=s,s=!1);var c,f="function"==typeof n?n.options:n;if(e&&e.render&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns,f._compiled=!0,r&&(f.functional=!0)),i&&(f._scopeId=i),o?(c=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,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},f._ssrRegister=c):t&&(c=s?function(){t.call(this,u(this.$root.$options.shadowRoot))}:function(e){t.call(this,a(e))}),c)if(f.functional){var l=f.render;f.render=function(e,t){return c.call(t),l(e,t)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,c):[c]}return n};var s=o({render:function(){var e=this.$createElement,t=this._self._c||e;return t("nav",{class:this.breadcrumbClasses},[t("ul",[this._t("default")],2)])},staticRenderFns:[]},void 0,{name:"BBreadcrumb",props:{align:{type:String,default:function(){return n}},separator:{type:String,default:function(){return i}},size:{type:String,default:function(){return r}}},computed:{breadcrumbClasses:function(){return["breadcrumb",this.align,this.separator,this.size]}}},void 0,!1,void 0,void 0,void 0);var a,d=o({render:function(){var e=this.$createElement,t=this._self._c||e;return t("li",{class:{"is-active":this.active}},[t(this.tag,this._g(this._b({tag:"component"},"component",this.$attrs,!1),this.$listeners),[this._t("default")],2)],1)},staticRenderFns:[]},void 0,{name:"BBreadcrumbItem",inheritAttrs:!1,props:{tag:{type:String,default:function(){return t}},active:Boolean}},void 0,!1,void 0,void 0,void 0),u=function(e,t){e.component(t.name,t)},c={install:function(e){u(e,s),u(e,d)}};a=c,"undefined"!=typeof window&&window.Vue&&window.Vue.use(a),e.BBreadcrumb=s,e.BBreadcrumbItem=d,e.default=c,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Buefy v0.9.
|
|
1
|
+
/*! Buefy v0.9.17 | MIT License | github.com/buefy/buefy */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -226,7 +226,13 @@
|
|
|
226
226
|
far: faIcons(),
|
|
227
227
|
fad: faIcons(),
|
|
228
228
|
fab: faIcons(),
|
|
229
|
-
fal: faIcons()
|
|
229
|
+
fal: faIcons(),
|
|
230
|
+
'fa-solid': faIcons(),
|
|
231
|
+
'fa-regular': faIcons(),
|
|
232
|
+
'fa-light': faIcons(),
|
|
233
|
+
'fa-thin': faIcons(),
|
|
234
|
+
'fa-duotone': faIcons(),
|
|
235
|
+
'fa-brands': faIcons()
|
|
230
236
|
};
|
|
231
237
|
|
|
232
238
|
if (config && config.customIconPacks) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! Buefy v0.9.
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Button={})}(this,function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach(function(t){n(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function a(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var r={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},l=function(e){return"object"===t(e)&&!Array.isArray(e)},u=function e(t,i){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(a||!Object.assign){var r=Object.getOwnPropertyNames(i).map(function(o){return n({},o,function(e){return l(i[e])&&null!==t&&t.hasOwnProperty(e)&&l(t[e])}(o)?e(t[o],i[o],a):i[o])}).reduce(function(e,t){return o({},e,{},t)},{});return o({},t,{},r)}return Object.assign(t,i)},
|
|
1
|
+
/*! Buefy v0.9.17 | 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).Button={})}(this,function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach(function(t){n(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function a(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var r={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},l=function(e){return"object"===t(e)&&!Array.isArray(e)},u=function e(t,i){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(a||!Object.assign){var r=Object.getOwnPropertyNames(i).map(function(o){return n({},o,function(e){return l(i[e])&&null!==t&&t.hasOwnProperty(e)&&l(t[e])}(o)?e(t[o],i[o],a):i[o])}).reduce(function(e,t){return o({},e,{},t)},{});return o({},t,{},r)}return Object.assign(t,i)},s={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},c=function(){var e=r&&r.defaultIconComponent?"":"fa-";return{sizes:{default:null,"is-small":null,"is-medium":e+"lg","is-large":e+"2x"},iconPrefix:e,internalIcons:{information:"info-circle",alert:"exclamation-triangle","alert-circle":"exclamation-circle","chevron-right":"angle-right","chevron-left":"angle-left","chevron-down":"angle-down","eye-off":"eye-slash","menu-down":"caret-down","menu-up":"caret-up","close-circle":"times-circle"}}};var f=function(e,t,n,i,o,a,r,l,u,s){"boolean"!=typeof r&&(u=l,l=r,r=!1);var c,f="function"==typeof n?n.options:n;if(e&&e.render&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns,f._compiled=!0,o&&(f.functional=!0)),i&&(f._scopeId=i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},f._ssrRegister=c):t&&(c=r?function(){t.call(this,s(this.$root.$options.shadowRoot))}:function(e){t.call(this,l(e))}),c)if(f.functional){var d=f.render;f.render=function(e,t){return c.call(t),d(e,t)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,c):[c]}return n};var d=f({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"icon",class:[e.newType,e.size]},[e.useIconComponent?n(e.useIconComponent,{tag:"component",class:[e.customClass],attrs:{icon:[e.newPack,e.newIcon],size:e.newCustomSize}}):n("i",{class:[e.newPack,e.newIcon,e.newCustomSize,e.customClass]})],1)},staticRenderFns:[]},void 0,{name:"BIcon",props:{type:[String,Object],component:String,pack:String,icon:String,size:String,customSize:String,customClass:String,both:Boolean},computed:{iconConfig:function(){var e;return(e={mdi:s,fa:c(),fas:c(),far:c(),fad:c(),fab:c(),fal:c(),"fa-solid":c(),"fa-regular":c(),"fa-light":c(),"fa-thin":c(),"fa-duotone":c(),"fa-brands":c()},r&&r.customIconPacks&&(e=u(e,r.customIconPacks,!0)),e)[this.newPack]},iconPrefix:function(){return this.iconConfig&&this.iconConfig.iconPrefix?this.iconConfig.iconPrefix:""},newIcon:function(){return"".concat(this.iconPrefix).concat(this.getEquivalentIconOf(this.icon))},newPack:function(){return this.pack||r.defaultIconPack},newType:function(){if(this.type){var e=[];if("string"==typeof this.type)e=this.type.split("-");else for(var t in this.type)if(this.type[t]){e=t.split("-");break}if(!(e.length<=1)){var n=a(e).slice(1);return"has-text-".concat(n.join("-"))}}},newCustomSize:function(){return this.customSize||this.customSizeByPack},customSizeByPack:function(){if(this.iconConfig&&this.iconConfig.sizes){if(this.size&&void 0!==this.iconConfig.sizes[this.size])return this.iconConfig.sizes[this.size];if(this.iconConfig.sizes.default)return this.iconConfig.sizes.default}return null},useIconComponent:function(){return this.component||r.defaultIconComponent}},methods:{getEquivalentIconOf:function(e){return this.both&&this.iconConfig&&this.iconConfig.internalIcons&&this.iconConfig.internalIcons[e]?this.iconConfig.internalIcons[e]:e}}},void 0,!1,void 0,void 0,void 0);var p,m=f({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.computedTag,e._g(e._b({tag:"component",staticClass:"button",class:[e.size,e.type,{"is-rounded":e.rounded,"is-loading":e.loading,"is-outlined":e.outlined,"is-fullwidth":e.expanded,"is-inverted":e.inverted,"is-focused":e.focused,"is-active":e.active,"is-hovered":e.hovered,"is-selected":e.selected}],attrs:{type:e.nativeType}},"component",e.$attrs,!1),e.$listeners),[e.iconLeft?n("b-icon",{attrs:{pack:e.iconPack,icon:e.iconLeft,size:e.iconSize}}):e._e(),e.label?n("span",[e._v(e._s(e.label))]):e.$slots.default?n("span",[e._t("default")],2):e._e(),e.iconRight?n("b-icon",{attrs:{pack:e.iconPack,icon:e.iconRight,size:e.iconSize}}):e._e()],1)},staticRenderFns:[]},void 0,{name:"BButton",components:n({},d.name,d),inheritAttrs:!1,props:{type:[String,Object],size:String,label:String,iconPack:String,iconLeft:String,iconRight:String,rounded:{type:Boolean,default:function(){return r.defaultButtonRounded}},loading:Boolean,outlined:Boolean,expanded:Boolean,inverted:Boolean,focused:Boolean,active:Boolean,hovered:Boolean,selected:Boolean,nativeType:{type:String,default:"button",validator:function(e){return["button","submit","reset"].indexOf(e)>=0}},tag:{type:String,default:"button",validator:function(e){return r.defaultLinkTags.indexOf(e)>=0}}},computed:{computedTag:function(){return void 0!==this.$attrs.disabled&&!1!==this.$attrs.disabled?"button":this.tag},iconSize:function(){return this.size&&"is-medium"!==this.size?"is-large"===this.size?"is-medium":this.size:"is-small"}}},void 0,!1,void 0,void 0,void 0),g={install:function(e){!function(e,t){e.component(t.name,t)}(e,m)}};p=g,"undefined"!=typeof window&&window.Vue&&window.Vue.use(p),e.BButton=m,e.default=g,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Buefy v0.9.
|
|
1
|
+
/*! Buefy v0.9.17 | MIT License | github.com/buefy/buefy */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -290,7 +290,13 @@
|
|
|
290
290
|
far: faIcons(),
|
|
291
291
|
fad: faIcons(),
|
|
292
292
|
fab: faIcons(),
|
|
293
|
-
fal: faIcons()
|
|
293
|
+
fal: faIcons(),
|
|
294
|
+
'fa-solid': faIcons(),
|
|
295
|
+
'fa-regular': faIcons(),
|
|
296
|
+
'fa-light': faIcons(),
|
|
297
|
+
'fa-thin': faIcons(),
|
|
298
|
+
'fa-duotone': faIcons(),
|
|
299
|
+
'fa-brands': faIcons()
|
|
294
300
|
};
|
|
295
301
|
|
|
296
302
|
if (config && config.customIconPacks) {
|