buefy 0.9.21 → 0.9.22
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 +1764 -1741
- package/dist/buefy.css +6 -5
- package/dist/buefy.esm.js +16 -8
- package/dist/buefy.esm.min.js +2 -2
- package/dist/buefy.js +16 -8
- package/dist/buefy.min.css +1 -1
- package/dist/buefy.min.js +2 -2
- package/dist/cjs/autocomplete.js +2 -2
- package/dist/cjs/{chunk-f8eb56c6.js → chunk-4702fda4.js} +1 -1
- package/dist/cjs/{chunk-85b00a19.js → chunk-660b0dfb.js} +3 -3
- package/dist/cjs/{chunk-befea70a.js → chunk-7cf23f94.js} +1 -1
- package/dist/cjs/{chunk-95c4b826.js → chunk-a39776c7.js} +4 -1
- package/dist/cjs/{chunk-bcab8905.js → chunk-bf0893c4.js} +2 -2
- package/dist/cjs/clockpicker.js +2 -2
- package/dist/cjs/colorpicker.js +3 -3
- package/dist/cjs/datepicker.js +3 -3
- package/dist/cjs/datetimepicker.js +4 -4
- package/dist/cjs/field.js +1 -1
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/input.js +1 -1
- package/dist/cjs/numberinput.js +7 -2
- package/dist/cjs/table.js +3 -3
- package/dist/cjs/taginput.js +2 -2
- package/dist/cjs/timepicker.js +3 -3
- package/dist/components/autocomplete/index.js +5 -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 +1 -1
- package/dist/components/button/index.min.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/index.min.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.min.js +1 -1
- package/dist/components/clockpicker/index.js +6 -3
- 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 +7 -4
- package/dist/components/colorpicker/index.min.js +2 -2
- package/dist/components/datepicker/index.js +7 -4
- package/dist/components/datepicker/index.min.js +2 -2
- package/dist/components/datetimepicker/index.js +7 -4
- package/dist/components/datetimepicker/index.min.js +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.min.js +1 -1
- package/dist/components/dropdown/index.js +1 -1
- package/dist/components/dropdown/index.min.js +1 -1
- package/dist/components/field/index.js +2 -2
- package/dist/components/field/index.min.js +2 -2
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon/index.min.js +1 -1
- package/dist/components/image/index.js +1 -1
- package/dist/components/image/index.min.js +1 -1
- package/dist/components/input/index.js +5 -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 +1 -1
- package/dist/components/menu/index.min.js +1 -1
- package/dist/components/message/index.js +1 -1
- package/dist/components/message/index.min.js +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/index.min.js +1 -1
- package/dist/components/navbar/index.js +1 -1
- package/dist/components/navbar/index.min.js +1 -1
- package/dist/components/notification/index.js +1 -1
- package/dist/components/notification/index.min.js +1 -1
- package/dist/components/numberinput/index.js +11 -3
- package/dist/components/numberinput/index.min.js +2 -2
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.min.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.min.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.min.js +1 -1
- package/dist/components/rate/index.js +1 -1
- package/dist/components/rate/index.min.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.min.js +1 -1
- 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 +1 -1
- package/dist/components/slider/index.min.js +1 -1
- package/dist/components/snackbar/index.js +1 -1
- package/dist/components/snackbar/index.min.js +1 -1
- package/dist/components/steps/index.js +1 -1
- package/dist/components/steps/index.min.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.min.js +1 -1
- package/dist/components/table/index.js +7 -4
- package/dist/components/table/index.min.js +2 -2
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.min.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/index.min.js +1 -1
- package/dist/components/taginput/index.js +5 -2
- package/dist/components/taginput/index.min.js +2 -2
- package/dist/components/timepicker/index.js +6 -3
- package/dist/components/timepicker/index.min.js +2 -2
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.min.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.min.js +1 -1
- package/dist/components/upload/index.js +1 -1
- package/dist/components/upload/index.min.js +1 -1
- package/dist/esm/autocomplete.js +3 -3
- package/dist/esm/{chunk-293c457c.js → chunk-35c20328.js} +2 -2
- package/dist/esm/{chunk-d46e7ff0.js → chunk-53788519.js} +1 -1
- package/dist/esm/{chunk-83c8b459.js → chunk-72ecb544.js} +4 -1
- package/dist/esm/{chunk-b0123b89.js → chunk-abcf9a94.js} +1 -1
- package/dist/esm/{chunk-6c64686f.js → chunk-ea6777b6.js} +3 -3
- package/dist/esm/clockpicker.js +2 -2
- package/dist/esm/colorpicker.js +3 -3
- package/dist/esm/datepicker.js +4 -4
- package/dist/esm/datetimepicker.js +4 -4
- package/dist/esm/field.js +2 -2
- package/dist/esm/index.js +5 -5
- package/dist/esm/input.js +2 -2
- package/dist/esm/numberinput.js +7 -2
- package/dist/esm/table.js +3 -3
- package/dist/esm/taginput.js +2 -2
- package/dist/esm/timepicker.js +4 -4
- package/dist/vetur/attributes.json +4 -0
- package/dist/vetur/tags.json +2 -1
- package/package.json +2 -2
- package/src/components/colorpicker/Colorpicker.vue +1 -1
- package/src/components/datepicker/Datepicker.spec.js +4 -4
- package/src/components/datepicker/Datepicker.vue +2 -2
- package/src/components/field/Field.spec.js +11 -2
- package/src/components/field/Field.vue +5 -1
- package/src/components/input/Input.spec.js +11 -0
- package/src/components/input/Input.vue +4 -1
- package/src/components/numberinput/Numberinput.spec.js +31 -0
- package/src/components/numberinput/Numberinput.vue +6 -1
- package/src/components/table/TableColumn.vue +121 -121
- package/src/scss/components/_colorpicker.scss +1 -1
- package/src/scss/components/_datepicker.scss +2 -2
- package/src/scss/components/_table.scss +1 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! Buefy v0.9.
|
|
2
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).Table={})}(this,function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?i(Object(a),!0).forEach(function(e){n(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}function o(t){return function(t){if(Array.isArray(t))return t}(t)||r(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function s(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||r(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function l(t,e){return e.split(".").reduce(function(t,e){return t?t[e]:null},t)}function u(t,e,n){if(!t)return-1;if(!n||"function"!=typeof n)return t.indexOf(e);for(var i=0;i<t.length;i++)if(n(t[i],e))return i;return-1}var c=function(t){return"object"===e(t)&&!Array.isArray(t)},d=function t(e,i){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(o||!Object.assign){var s=Object.getOwnPropertyNames(i).map(function(a){return n({},a,function(t){return c(i[t])&&null!==e&&e.hasOwnProperty(t)&&c(e[t])}(a)?t(e[a],i[a],o):i[a])}).reduce(function(t,e){return a({},t,{},e)},{});return a({},e,{},s)}return Object.assign(e,i)};function h(t){return t&&t._isVue}function f(t){return t?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):t}function p(t,e){var n;return JSON.parse(JSON.stringify(t)).sort((n=e,function(t,e){return n.map(function(n){var i=1;"-"===n[0]&&(i=-1,n=n.substring(1));var a=l(t,n),o=l(e,n);return a>o?i:a<o?-i:0}).reduce(function(t,e){return t||e},0)}))}function g(t){return void 0===t?null:isNaN(t)?t:t+"px"}var m=function(t){return null==t};function b(t,e,n){var i;return function(){var a=this,o=arguments,s=n&&!i;clearTimeout(i),i=setTimeout(function(){i=null,n||t.apply(a,o)},e),s&&t.apply(a,o)}}var v,y={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,defaultTooltipCloseDelay:null,defaultSidebarDelay:null,defaultInputAutocomplete:"on",defaultDateFormatter:null,defaultDateParser:null,defaultDateCreator:null,defaultTimeCreator:null,defaultDayNames:null,defaultMonthNames:null,defaultFirstDayOfWeek:null,defaultUnselectableDaysOfWeek:null,defaultTimeFormatter:null,defaultTimeParser:null,defaultModalCanCancel:["escape","x","outside","button"],defaultModalScroll:null,defaultDatepickerMobileNative:!0,defaultTimepickerMobileNative:!0,defaultNoticeQueue:!0,defaultInputHasCounter:!0,defaultTaginputHasCounter:!0,defaultUseHtml5Validation:!0,defaultDropdownMobileModal:!0,defaultFieldLabelPosition:null,defaultDatepickerYearsRange:[-100,10],defaultDatepickerNearbyMonthDays:!0,defaultDatepickerNearbySelectableMonthDays:!1,defaultDatepickerShowWeekNumber:!1,defaultDatepickerWeekNumberClickable:!1,defaultDatepickerMobileModal:!0,defaultTrapFocus:!0,defaultAutoFocus:!0,defaultButtonRounded:!1,defaultSwitchRounded:!0,defaultCarouselInterval:3500,defaultTabsExpanded:!1,defaultTabsAnimated:!0,defaultTabsType:null,defaultStatusIcon:!0,defaultProgrammaticPromise:!1,defaultLinkTags:["a","button","input","router-link","nuxt-link","n-link","RouterLink","NuxtLink","NLink"],defaultImageWebpFallback:null,defaultImageLazy:!0,defaultImageResponsive:!0,defaultImageRatio:null,defaultImageSrcsetFormatter:null,defaultBreadcrumbTag:"a",defaultBreadcrumbAlign:"is-left",defaultBreadcrumbSeparator:"",defaultBreadcrumbSize:"is-medium",customIconPacks:null};var C=function(t,e,n,i,a,o,s,r,l,u){"boolean"!=typeof s&&(l=r,r=s,s=!1);var c,d="function"==typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,a&&(d.functional=!0)),i&&(d._scopeId=i),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=c):e&&(c=s?function(){e.call(this,u(this.$root.$options.shadowRoot))}:function(t){e.call(this,r(t))}),c)if(d.functional){var h=d.render;d.render=function(t,e){return c.call(e),h(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,c):[c]}return n};var w=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{ref:"label",staticClass:"b-checkbox checkbox",class:[t.size,{"is-disabled":t.disabled}],attrs:{disabled:t.disabled},on:{click:t.focus,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.$refs.label.click())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),t.$refs.label.click())}]}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"checkbox",autocomplete:t.autocomplete,disabled:t.disabled,required:t.required,name:t.name,"true-value":t.trueValue,"false-value":t.falseValue,"aria-labelledby":t.ariaLabelledby},domProps:{indeterminate:t.indeterminate,value:t.nativeValue,checked:Array.isArray(t.computedValue)?t._i(t.computedValue,t.nativeValue)>-1:t._q(t.computedValue,t.trueValue)},on:{click:function(t){t.stopPropagation()},change:function(e){var n=t.computedValue,i=e.target,a=i.checked?t.trueValue:t.falseValue;if(Array.isArray(n)){var o=t.nativeValue,s=t._i(n,o);i.checked?s<0&&(t.computedValue=n.concat([o])):s>-1&&(t.computedValue=n.slice(0,s).concat(n.slice(s+1)))}else t.computedValue=a}}}),n("span",{staticClass:"check",class:t.type}),n("span",{staticClass:"control-label",attrs:{id:t.ariaLabelledby}},[t._t("default")],2)])},staticRenderFns:[]},void 0,{name:"BCheckbox",mixins:[{props:{value:[String,Number,Boolean,Function,Object,Array],nativeValue:[String,Number,Boolean,Function,Object,Array],type:String,disabled:Boolean,required:Boolean,name:String,size:String},data:function(){return{newValue:this.value}},computed:{computedValue:{get:function(){return this.newValue},set:function(t){this.newValue=t,this.$emit("input",t)}}},watch:{value:function(t){this.newValue=t}},methods:{focus:function(){this.$refs.input.focus()}}}],props:{indeterminate:Boolean,ariaLabelledby:String,trueValue:{type:[String,Number,Boolean,Function,Object,Array],default:!0},falseValue:{type:[String,Number,Boolean,Function,Object,Array],default:!1},autocomplete:{type:String,default:"on"}}},void 0,!1,void 0,void 0,void 0),k={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},S=function(){var t=y&&y.defaultIconComponent?"":"fa-";return{sizes:{default:null,"is-small":null,"is-medium":t+"lg","is-large":t+"2x"},iconPrefix:t,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 P=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"icon",class:[t.newType,t.size]},[t.useIconComponent?n(t.useIconComponent,{tag:"component",class:[t.customClass],attrs:{icon:[t.newPack,t.newIcon],size:t.newCustomSize}}):n("i",{class:[t.newPack,t.newIcon,t.newCustomSize,t.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 t;return(t={mdi:k,fa:S(),fas:S(),far:S(),fad:S(),fab:S(),fal:S(),"fa-solid":S(),"fa-regular":S(),"fa-light":S(),"fa-thin":S(),"fa-duotone":S(),"fa-brands":S()},y&&y.customIconPacks&&(t=d(t,y.customIconPacks,!0)),t)[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||y.defaultIconPack},newType:function(){if(this.type){var t=[];if("string"==typeof this.type)t=this.type.split("-");else for(var e in this.type)if(this.type[e]){t=e.split("-");break}if(!(t.length<=1)){var n=o(t).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||y.defaultIconComponent}},methods:{getEquivalentIconOf:function(t){return this.both&&this.iconConfig&&this.iconConfig.internalIcons&&this.iconConfig.internalIcons[t]?this.iconConfig.internalIcons[t]:t}}},void 0,!1,void 0,void 0,void 0),D={props:{size:String,expanded:Boolean,loading:Boolean,rounded:Boolean,icon:String,iconPack:String,autocomplete:String,maxlength:[Number,String],useHtml5Validation:{type:Boolean,default:function(){return y.defaultUseHtml5Validation}},validationMessage:String,locale:{type:[String,Array],default:function(){return y.defaultLocale}},statusIcon:{type:Boolean,default:function(){return y.defaultStatusIcon}}},data:function(){return{isValid:!0,isFocused:!1,newIconPack:this.iconPack||y.defaultIconPack}},computed:{parentField:function(){for(var t=this.$parent,e=0;e<3;e++)t&&!t.$data._isField&&(t=t.$parent);return t},statusType:function(){var t=(this.parentField||{}).newType;if(t){if("string"==typeof t)return t;for(var e in t)if(t[e])return e}},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 t=this.getElement();void 0!==t&&this.$nextTick(function(){t&&t.focus()})},onBlur:function(t){this.isFocused=!1,this.$emit("blur",t),this.checkHtml5Validity()},onFocus:function(t){this.isFocused=!0,this.$emit("focus",t)},getElement:function(){for(var t=this.$refs[this.$data._elementRef];h(t);)t=t.$refs[t.$data._elementRef];return t},setInvalid:function(){var t=this.validationMessage||this.getElement().validationMessage;this.setValidity("is-danger",t)},setValidity:function(t,e){var n=this;this.$nextTick(function(){n.parentField&&(n.parentField.type||(n.parentField.newType=t),n.parentField.message||(n.parentField.newMessage=e))})},checkHtml5Validity:function(){if(this.useHtml5Validation){var t=this.getElement();if(void 0!==t)return t.checkValidity()?(this.setValidity(null,null),this.isValid=!0):(this.setInvalid(),this.isValid=!1),this.isValid}}}};var _=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"control",class:t.rootClasses},["textarea"!==t.type?n("input",t._b({ref:"input",staticClass:"input",class:[t.inputClasses,t.customClass],attrs:{type:t.newType,autocomplete:t.newAutocomplete,maxlength:t.maxlength},domProps:{value:t.computedValue},on:{input:t.onInput,change:t.onChange,blur:t.onBlur,focus:t.onFocus}},"input",t.$attrs,!1)):n("textarea",t._b({ref:"textarea",staticClass:"textarea",class:[t.inputClasses,t.customClass],attrs:{maxlength:t.maxlength},domProps:{value:t.computedValue},on:{input:t.onInput,change:t.onChange,blur:t.onBlur,focus:t.onFocus}},"textarea",t.$attrs,!1)),t.icon?n("b-icon",{staticClass:"is-left",class:{"is-clickable":t.iconClickable},attrs:{icon:t.icon,pack:t.iconPack,size:t.iconSize},nativeOn:{click:function(e){return t.iconClick("icon-click",e)}}}):t._e(),!t.loading&&t.hasIconRight?n("b-icon",{staticClass:"is-right",class:{"is-clickable":t.passwordReveal||t.iconRightClickable},attrs:{icon:t.rightIcon,pack:t.iconPack,size:t.iconSize,type:t.rightIconType,both:""},nativeOn:{click:function(e){return t.rightIconClick(e)}}}):t._e(),t.maxlength&&t.hasCounter&&"number"!==t.type?n("small",{staticClass:"help counter",class:{"is-invisible":!t.isFocused}},[t._v(" "+t._s(t.valueLength)+" / "+t._s(t.maxlength)+" ")]):t._e()],1)},staticRenderFns:[]},void 0,{name:"BInput",components:n({},P.name,P),mixins:[D],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 y.defaultInputHasCounter}},customClass:{type:String,default:""},iconRight:String,iconRightClickable:Boolean,iconRightType:String},data:function(){return{newValue:this.value,newType:this.type,newAutocomplete:this.autocomplete||y.defaultInputAutocomplete,isPasswordVisible:!1,_elementRef:"textarea"===this.type?"textarea":"input"}},computed:{computedValue:{get:function(){return this.newValue},set:function(t){this.newValue=t,this.$emit("input",t)}},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 t="";return this.icon&&(t+="has-icons-left "),this.hasIconRight&&(t+="has-icons-right"),t},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(t){this.newValue=t}},methods:{togglePasswordVisibility:function(){var t=this;this.isPasswordVisible=!this.isPasswordVisible,this.newType=this.isPasswordVisible?"text":"password",this.$nextTick(function(){t.focus()})},iconClick:function(t,e){var n=this;this.$emit(t,e),this.$nextTick(function(){n.focus()})},rightIconClick:function(t){this.passwordReveal?this.togglePasswordVisibility():this.iconRightClickable&&this.iconClick("icon-right-click",t)},onInput:function(t){if(!this.lazy){var e=t.target.value;this.updateValue(e)}},onChange:function(t){if(this.lazy){var e=t.target.value;this.updateValue(e)}},updateValue:function(t){this.computedValue=t,!this.isValid&&this.checkHtml5Validity()}}},void 0,!1,void 0,void 0,void 0),x="undefined"==typeof window,R=x?Object:window.HTMLElement;x?Object:window.File;var I=C({render:function(){var t=this.$createElement,e=this._self._c||t;return e("transition",{attrs:{name:this.animation}},[e("div",{directives:[{name:"show",rawName:"v-show",value:this.isActive,expression:"isActive"}],staticClass:"loading-overlay is-active",class:{"is-full-page":this.displayInFullPage}},[e("div",{staticClass:"loading-background",on:{click:this.cancel}}),this._t("default",[e("div",{staticClass:"loading-icon"})])],2)])},staticRenderFns:[]},void 0,{name:"BLoading",model:{prop:"active",event:"update:active"},props:{active:Boolean,programmatic:Boolean,container:[Object,Function,R],isFullPage:{type:Boolean,default:!0},animation:{type:String,default:"fade"},canCancel:{type:Boolean,default:!1},onCancel:{type:Function,default:function(){}}},data:function(){return{isActive:this.active||!1,displayInFullPage:this.isFullPage}},watch:{active:function(t){this.isActive=t},isFullPage:function(t){this.displayInFullPage=t}},methods:{cancel:function(){this.canCancel&&this.isActive&&this.close()},close:function(){var t=this;this.onCancel.apply(null,arguments),this.$emit("close"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout(function(){var e;t.$destroy(),void 0!==(e=t.$el).remove?e.remove():void 0!==e.parentNode&&null!==e.parentNode&&e.parentNode.removeChild(e)},150))},keyPress:function(t){var e=t.key;"Escape"!==e&&"Esc"!==e||this.cancel()}},created:function(){"undefined"!=typeof window&&document.addEventListener("keyup",this.keyPress)},beforeMount:function(){this.programmatic&&(this.container?(this.displayInFullPage=!1,this.$emit("update:is-full-page",!1),this.container.appendChild(this.$el)):document.body.appendChild(this.$el))},mounted:function(){this.programmatic&&(this.isActive=!0)},beforeDestroy:function(){"undefined"!=typeof window&&document.removeEventListener("keyup",this.keyPress)}},void 0,!1,void 0,void 0,void 0),$={name:"BSlotComponent",props:{component:{type:Object,required:!0},name:{type:String,default:"default"},scoped:{type:Boolean},props:{type:Object},tag:{type:String,default:"div"},event:{type:String,default:"hook:updated"}},methods:{refresh:function(){this.$forceUpdate()}},created:function(){h(this.component)&&this.component.$on(this.event,this.refresh)},beforeDestroy:function(){h(this.component)&&this.component.$off(this.event,this.refresh)},render:function(t){if(h(this.component))return t(this.tag,{},this.scoped?this.component.$scopedSlots[this.name](this.props):this.component.$slots[this.name])}};var B,V=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"control",class:{"is-expanded":t.expanded,"has-icons-left":t.icon}},[n("span",{staticClass:"select",class:t.spanClasses},[n("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.computedValue,expression:"computedValue"}],ref:"select",attrs:{multiple:t.multiple,size:t.nativeSize},on:{blur:function(e){t.$emit("blur",e)&&t.checkHtml5Validity()},focus:function(e){return t.$emit("focus",e)},change:function(e){var n=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.computedValue=e.target.multiple?n:n[0]}}},"select",t.$attrs,!1),[t.placeholder?[null==t.computedValue?n("option",{attrs:{disabled:"",hidden:""},domProps:{value:null}},[t._v(" "+t._s(t.placeholder)+" ")]):t._e()]:t._e(),t._t("default")],2)]),t.icon?n("b-icon",{staticClass:"is-left",attrs:{icon:t.icon,pack:t.iconPack,size:t.iconSize}}):t._e()],1)},staticRenderFns:[]},void 0,{name:"BSelect",components:n({},P.name,P),mixins:[D],inheritAttrs:!1,props:{value:{type:[String,Number,Boolean,Object,Array,Function,Date],default:null},placeholder:String,multiple:Boolean,nativeSize:[String,Number]},data:function(){return{selected:this.value,_elementRef:"select"}},computed:{computedValue:{get:function(){return this.selected},set:function(t){this.selected=t,this.$emit("input",t),!this.isValid&&this.checkHtml5Validity()}},spanClasses:function(){return[this.size,this.statusType,{"is-fullwidth":this.expanded,"is-loading":this.loading,"is-multiple":this.multiple,"is-rounded":this.rounded,"is-empty":null===this.selected}]}},watch:{value:function(t){this.selected=t,!this.isValid&&this.checkHtml5Validity()}}},void 0,!1,void 0,void 0,void 0);var O=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"field table-mobile-sort"},[n("div",{staticClass:"field has-addons"},[t.sortMultiple?n("b-select",{attrs:{expanded:""},model:{value:t.sortMultipleSelect,callback:function(e){t.sortMultipleSelect=e},expression:"sortMultipleSelect"}},t._l(t.columns,function(e,i){return e.sortable?n("option",{key:i,domProps:{value:e}},[t._v(" "+t._s(t.getLabel(e))+" "),t.getSortingObjectOfColumn(e)?[t.columnIsDesc(e)?[t._v(" ↓ ")]:[t._v(" ↑ ")]]:t._e()],2):t._e()}),0):n("b-select",{attrs:{expanded:""},model:{value:t.mobileSort,callback:function(e){t.mobileSort=e},expression:"mobileSort"}},[t.placeholder?[n("option",{directives:[{name:"show",rawName:"v-show",value:t.showPlaceholder,expression:"showPlaceholder"}],attrs:{selected:"",disabled:"",hidden:""},domProps:{value:{}}},[t._v(" "+t._s(t.placeholder)+" ")])]:t._e(),t._l(t.columns,function(e,i){return e.sortable?n("option",{key:i,domProps:{value:e}},[t._v(" "+t._s(e.label)+" ")]):t._e()})],2),n("div",{staticClass:"control"},[t.sortMultiple&&t.sortMultipleData.length>0?[n("button",{staticClass:"button is-primary",on:{click:t.sort}},[n("b-icon",{class:{"is-desc":t.columnIsDesc(t.sortMultipleSelect)},attrs:{icon:t.sortIcon,pack:t.iconPack,size:t.sortIconSize,both:""}})],1),n("button",{staticClass:"button is-primary",on:{click:t.removePriority}},[n("b-icon",{attrs:{icon:"delete",size:t.sortIconSize,both:""}})],1)]:t.sortMultiple?t._e():n("button",{staticClass:"button is-primary",on:{click:t.sort}},[n("b-icon",{directives:[{name:"show",rawName:"v-show",value:t.currentSortColumn===t.mobileSort,expression:"currentSortColumn === mobileSort"}],class:{"is-desc":!t.isAsc},attrs:{icon:t.sortIcon,pack:t.iconPack,size:t.sortIconSize,both:""}})],1)],2)],1)])},staticRenderFns:[]},void 0,{name:"BTableMobileSort",components:(B={},n(B,V.name,V),n(B,P.name,P),B),props:{currentSortColumn:Object,sortMultipleData:Array,isAsc:Boolean,columns:Array,placeholder:String,iconPack:String,sortIcon:{type:String,default:"arrow-up"},sortIconSize:{type:String,default:"is-small"},sortMultiple:{type:Boolean,default:!1}},data:function(){return{sortMultipleSelect:"",mobileSort:this.currentSortColumn,defaultEvent:{shiftKey:!0,altKey:!0,ctrlKey:!0},ignoreSort:!1}},computed:{showPlaceholder:function(){var t=this;return!this.columns||!this.columns.some(function(e){return e===t.mobileSort})}},watch:{sortMultipleSelect:function(t){this.ignoreSort?this.ignoreSort=!1:this.$emit("sort",t,this.defaultEvent)},mobileSort:function(t){this.currentSortColumn!==t&&this.$emit("sort",t,this.defaultEvent)},currentSortColumn:function(t){this.mobileSort=t}},methods:{removePriority:function(){var t=this;this.$emit("removePriority",this.sortMultipleSelect),this.ignoreSort=!0;var e=this.sortMultipleData.filter(function(e){return e.field!==t.sortMultipleSelect.field}).map(function(t){return t.field});this.sortMultipleSelect=this.columns.filter(function(t){return e.includes(t.field)})[0]},getSortingObjectOfColumn:function(t){return this.sortMultipleData.filter(function(e){return e.field===t.field})[0]},columnIsDesc:function(t){var e=this.getSortingObjectOfColumn(t);return!e||!(!e.order||"desc"!==e.order)},getLabel:function(t){var e=this.getSortingObjectOfColumn(t);return e?t.label+"("+(this.sortMultipleData.indexOf(e)+1)+")":t.label},sort:function(){this.$emit("sort",this.sortMultiple?this.sortMultipleSelect:this.mobileSort,this.defaultEvent)}}},void 0,!1,void 0,void 0,void 0);var M=C({},void 0,{name:"BTableColumn",inject:{$table:{name:"$table",default:!1}},props:{label:String,customKey:[String,Number],field:String,meta:[String,Number,Boolean,Function,Object,Array],width:[Number,String],numeric:Boolean,centered:Boolean,searchable:Boolean,sortable:Boolean,visible:{type:Boolean,default:!0},subheading:[String,Number],customSort:Function,customSearch:Function,sticky:Boolean,headerSelectable:Boolean,headerClass:String,cellClass:String,thAttrs:{type:Function,default:function(){return{}}},tdAttrs:{type:Function,default:function(){return{}}}},data:function(){return{newKey:this.customKey||this.label,_isTableColumn:!0}},computed:{thClasses:function(){var t=this.thAttrs(this),e=[this.headerClass,{"is-sortable":this.sortable,"is-sticky":this.sticky,"is-unselectable":this.isHeaderUnSelectable}];return t&&t.class&&e.push(t.class),e},thStyle:function(){var t=this.thAttrs(this),e=[this.style];return t&&t.style&&e.push(t.style),e},rootClasses:function(){return[this.cellClass,{"has-text-right":this.numeric&&!this.centered,"has-text-centered":this.centered,"is-sticky":this.sticky}]},style:function(){return{width:g(this.width)}},hasDefaultSlot:function(){return!!this.$scopedSlots.default},isHeaderUnSelectable:function(){return!this.headerSelectable&&this.sortable}},methods:{getRootClasses:function(t){var e=this.tdAttrs(t,this),n=[this.rootClasses];return e&&e.class&&n.push(e.class),n},getRootStyle:function(t){var e=this.tdAttrs(t,this),n=[];return e&&e.style&&n.push(e.style),n}},created:function(){if(!this.$table)throw this.$destroy(),new Error("You should wrap bTableColumn on a bTable");this.$table.refreshSlots()},beforeDestroy:function(){this.$table.refreshSlots()},render:function(t){return null}},void 0,void 0,void 0,void 0,void 0);var A,T=C({render:function(){var t,e=this,n=e.$createElement;return(e._self._c||n)(e.tag,e._b({tag:"component",staticClass:"pagination-link",class:(t={"is-current":e.page.isCurrent},t[e.page.class]=!0,t),attrs:{role:"button",href:e.href,disabled:e.isDisabled,"aria-label":e.page["aria-label"],"aria-current":e.page.isCurrent},on:{click:function(t){return t.preventDefault(),e.page.click(t)}}},"component",e.$attrs,!1),[e._t("default",[e._v(e._s(e.page.number))])],2)},staticRenderFns:[]},void 0,{name:"BPaginationButton",props:{page:{type:Object,required:!0},tag:{type:String,default:"a",validator:function(t){return y.defaultLinkTags.indexOf(t)>=0}},disabled:{type:Boolean,default:!1}},computed:{href:function(){if("a"===this.tag)return"#"},isDisabled:function(){return this.disabled||this.page.disabled}}},void 0,!1,void 0,void 0,void 0);var F=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"pagination",class:t.rootClasses},[t.$scopedSlots.previous?t._t("previous",[n("b-icon",{attrs:{icon:t.iconPrev,pack:t.iconPack,both:"","aria-hidden":"true"}})],{page:t.getPage(t.current-1,{disabled:!t.hasPrev,class:"pagination-previous","aria-label":t.ariaPreviousLabel})}):n("BPaginationButton",{staticClass:"pagination-previous",attrs:{disabled:!t.hasPrev,page:t.getPage(t.current-1),"aria-label":t.ariaPreviousLabel}},[n("b-icon",{attrs:{icon:t.iconPrev,pack:t.iconPack,both:"","aria-hidden":"true"}})],1),t.$scopedSlots.next?t._t("next",[n("b-icon",{attrs:{icon:t.iconNext,pack:t.iconPack,both:"","aria-hidden":"true"}})],{page:t.getPage(t.current+1,{disabled:!t.hasNext,class:"pagination-next","aria-label":t.ariaNextLabel})}):n("BPaginationButton",{staticClass:"pagination-next",attrs:{disabled:!t.hasNext,page:t.getPage(t.current+1),"aria-label":t.ariaNextLabel}},[n("b-icon",{attrs:{icon:t.iconNext,pack:t.iconPack,both:"","aria-hidden":"true"}})],1),n("div",{staticClass:"control pagination-input"},[t.pageInput?n("input",{staticClass:"input",attrs:{size:t.pageCount.toString().length,maxlength:t.pageCount.toString().length},domProps:{value:t.inputValue},on:{input:t.handleAllowableInputPageRange,keypress:t.handleOnKeyPress}}):t._e()]),t.simple?n("small",{staticClass:"info"},[1==t.perPage?[t._v(" "+t._s(t.firstItem)+" / "+t._s(t.total)+" ")]:[t._v(" "+t._s(t.firstItem)+"-"+t._s(Math.min(t.current*t.perPage,t.total))+" / "+t._s(t.total)+" ")]],2):n("ul",{staticClass:"pagination-list"},[t.hasFirst?n("li",[t.$scopedSlots.default?t._t("default",null,{page:t.getPage(1)}):n("BPaginationButton",{attrs:{page:t.getPage(1)}})],2):t._e(),t.hasFirstEllipsis?n("li",[n("span",{staticClass:"pagination-ellipsis"},[t._v("…")])]):t._e(),t._l(t.pagesInRange,function(e){return n("li",{key:e.number},[t.$scopedSlots.default?t._t("default",null,{page:e}):n("BPaginationButton",{attrs:{page:e}})],2)}),t.hasLastEllipsis?n("li",[n("span",{staticClass:"pagination-ellipsis"},[t._v("…")])]):t._e(),t.hasLast?n("li",[t.$scopedSlots.default?t._t("default",null,{page:t.getPage(t.pageCount)}):n("BPaginationButton",{attrs:{page:t.getPage(t.pageCount)}})],2):t._e()],2)],2)},staticRenderFns:[]},void 0,{name:"BPagination",components:(A={},n(A,P.name,P),n(A,T.name,T),A),model:{prop:"current",event:"update:current"},props:{total:[Number,String],perPage:{type:[Number,String],default:20},current:{type:[Number,String],default:1},rangeBefore:{type:[Number,String],default:1},rangeAfter:{type:[Number,String],default:1},size:String,simple:Boolean,rounded:Boolean,order:String,iconPack:String,iconPrev:{type:String,default:function(){return y.defaultIconPrev}},iconNext:{type:String,default:function(){return y.defaultIconNext}},ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,pageInput:{type:Boolean,default:!1},pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{inputValue:this.current}},computed:{rootClasses:function(){return[this.order,this.size,this.pageInputPosition,{"is-simple":this.simple,"is-rounded":this.rounded,"has-input":this.pageInput}]},beforeCurrent:function(){return parseInt(this.rangeBefore)},afterCurrent:function(){return parseInt(this.rangeAfter)},pageCount:function(){return Math.ceil(this.total/this.perPage)},firstItem:function(){var t=this.current*this.perPage-this.perPage+1;return t>=0?t:0},hasPrev:function(){return this.current>1},hasFirst:function(){return this.current>=2+this.beforeCurrent},hasFirstEllipsis:function(){return this.current>=this.beforeCurrent+4},hasLast:function(){return this.current<=this.pageCount-(1+this.afterCurrent)},hasLastEllipsis:function(){return this.current<this.pageCount-(2+this.afterCurrent)},hasNext:function(){return this.current<this.pageCount},pagesInRange:function(){if(!this.simple){var t=Math.max(1,this.current-this.beforeCurrent);t-1==2&&t--;var e=Math.min(this.current+this.afterCurrent,this.pageCount);this.pageCount-e==2&&e++;for(var n=[],i=t;i<=e;i++)n.push(this.getPage(i));return n}}},watch:{pageCount:function(t){this.current>t&&this.last()},current:function(t){this.inputValue=t},debouncePageInput:{handler:function(t){this.debounceHandlePageInput=b(this.handleOnInputPageChange,t)},immediate:!0}},methods:{prev:function(t){this.changePage(this.current-1,t)},next:function(t){this.changePage(this.current+1,t)},first:function(t){this.changePage(1,t)},last:function(t){this.changePage(this.pageCount,t)},changePage:function(t,e){this.current===t||t<1||t>this.pageCount||(this.$emit("update:current",t),this.$emit("change",t),e&&e.target&&this.$nextTick(function(){return e.target.focus()}))},getPage:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{number:t,isCurrent:this.current===t,click:function(n){return e.changePage(t,n)},input:function(t,n){return e.changePage(+n,t)},disabled:n.disabled||!1,class:n.class||"","aria-label":n["aria-label"]||this.getAriaPageLabel(t,this.current===t)}},getAriaPageLabel:function(t,e){return!this.ariaPageLabel||e&&this.ariaCurrentLabel?this.ariaPageLabel&&e&&this.ariaCurrentLabel?this.ariaCurrentLabel+", "+this.ariaPageLabel+" "+t+".":null:this.ariaPageLabel+" "+t+"."},handleOnInputPageChange:function(t){this.getPage(this.inputValue).input(t,this.inputValue)},handleOnInputDebounce:function(t){this.debouncePageInput?this.debounceHandlePageInput(t):this.handleOnInputPageChange(t)},handleOnKeyPress:function(t){var e=t.which||t.keyCode;return e>=48&&e<=57||t.preventDefault()},handleAllowableInputPageRange:function(t){+t.target.value>0&&+t.target.value<=this.pageCount?this.handleOnInputValue(t):(this.inputValue=1,this.inputValue="")},handleOnInputValue:function(t){var e=+t.target.value;this.inputValue=e,Number.isInteger(this.inputValue)?this.handleOnInputDebounce(t):this.inputValue=this.current}}},void 0,!1,void 0,void 0,void 0);var L,N=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"top level"},[n("div",{staticClass:"level-left"},[t._t("default")],2),n("div",{staticClass:"level-right"},[t.paginated?n("div",{staticClass:"level-item"},[n("b-pagination",{attrs:{"icon-pack":t.iconPack,total:t.total,"per-page":t.perPage,simple:t.paginationSimple,size:t.paginationSize,current:t.newCurrentPage,rounded:t.rounded,"aria-next-label":t.ariaNextLabel,"aria-previous-label":t.ariaPreviousLabel,"aria-page-label":t.ariaPageLabel,"aria-current-label":t.ariaCurrentLabel,"page-input":t.pageInput,order:t.paginationOrder,"page-input-position":t.pageInputPosition,"debounce-page-input":t.debouncePageInput},on:{change:t.pageChanged}})],1):t._e()])])},staticRenderFns:[]},void 0,{name:"BTablePagination",components:n({},F.name,F),props:{paginated:Boolean,total:[Number,String],perPage:[Number,String],currentPage:[Number,String],paginationSimple:Boolean,paginationSize:String,rounded:Boolean,iconPack:String,ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,pageInput:Boolean,paginationOrder:String,pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{newCurrentPage:this.currentPage}},watch:{currentPage:function(t){this.newCurrentPage=t}},methods:{pageChanged:function(t){this.newCurrentPage=t>0?t:1,this.$emit("update:currentPage",this.newCurrentPage),this.$emit("page-change",this.newCurrentPage)}}},void 0,!1,void 0,void 0,void 0);var z,E=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-table"},[t._t("default"),t.mobileCards&&t.hasSortablenewColumns?n("b-table-mobile-sort",{attrs:{"current-sort-column":t.currentSortColumn,"sort-multiple":t.sortMultiple,"sort-multiple-data":t.sortMultipleDataComputed,"is-asc":t.isAsc,columns:t.newColumns,placeholder:t.mobileSortPlaceholder,"icon-pack":t.iconPack,"sort-icon":t.sortIcon,"sort-icon-size":t.sortIconSize},on:{sort:function(e,n){return t.sort(e,null,n)},removePriority:function(e){return t.removeSortingPriority(e)}}}):t._e(),!t.paginated||"top"!==t.paginationPosition&&"both"!==t.paginationPosition?t._e():[t._t("pagination",[n("b-table-pagination",t._b({attrs:{"per-page":t.perPage,paginated:t.paginated,rounded:t.paginationRounded,"icon-pack":t.iconPack,total:t.newDataTotal,"current-page":t.newCurrentPage,"aria-next-label":t.ariaNextLabel,"aria-previous-label":t.ariaPreviousLabel,"aria-page-label":t.ariaPageLabel,"aria-current-label":t.ariaCurrentLabel,"page-input":t.pageInput,"pagination-order":t.paginationOrder,"page-input-position":t.pageInputPosition,"debounce-page-input":t.debouncePageInput},on:{"update:currentPage":function(e){t.newCurrentPage=e},"update:current-page":function(e){t.newCurrentPage=e},"page-change":function(e){return t.$emit("page-change",e)}}},"b-table-pagination",t.$attrs,!1),[t._t("top-left")],2)])],n("div",{staticClass:"table-wrapper",class:t.tableWrapperClasses,style:t.tableStyle},[n("table",{staticClass:"table",class:t.tableClasses,attrs:{tabindex:!!t.focusable&&0},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:e.target!==e.currentTarget?null:(e.preventDefault(),t.pressedArrow(-1))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:e.target!==e.currentTarget?null:(e.preventDefault(),t.pressedArrow(1))}]}},[t.caption?n("caption",{directives:[{name:"show",rawName:"v-show",value:t.showCaption,expression:"showCaption"}]},[t._v(t._s(t.caption))]):t._e(),t.newColumns.length&&t.showHeader?n("thead",[n("tr",[t.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):t._e(),t.checkable&&"left"===t.checkboxPosition?n("th",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[t.headerCheckable?[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isAllChecked,type:t.checkboxType,disabled:t.isAllUncheckable},nativeOn:{change:function(e){return t.checkAll(e)}}})]:t._e()],2):t._e(),t._l(t.visibleColumns,function(e,i){return n("th",t._b({key:e.newKey+":"+i+"header",class:[e.thClasses,{"is-current-sort":!t.sortMultiple&&t.currentSortColumn===e}],style:e.thStyle,attrs:{draggable:t.canDragColumn},on:{click:function(n){return n.stopPropagation(),t.sort(e,null,n)},dragstart:function(n){return t.handleColumnDragStart(n,e,i)},dragend:function(n){return t.handleColumnDragEnd(n,e,i)},drop:function(n){return t.handleColumnDrop(n,e,i)},dragover:function(n){return t.handleColumnDragOver(n,e,i)},dragleave:function(n){return t.handleColumnDragLeave(n,e,i)}}},"th",e.thAttrs(e),!1),[n("div",{staticClass:"th-wrap",class:{"is-numeric":e.numeric,"is-centered":e.centered}},[e.$scopedSlots&&e.$scopedSlots.header?[n("b-slot-component",{attrs:{component:e,scoped:"",name:"header",tag:"span",props:{column:e,index:i}}})]:[n("span",{staticClass:"is-relative"},[t._v(" "+t._s(e.label)+" "),t.sortMultiple&&t.sortMultipleDataComputed&&t.sortMultipleDataComputed.length>0&&t.sortMultipleDataComputed.filter(function(t){return t.field===e.field}).length>0?[n("b-icon",{class:{"is-desc":"desc"===t.sortMultipleDataComputed.filter(function(t){return t.field===e.field})[0].order},attrs:{icon:t.sortIcon,pack:t.iconPack,both:"",size:t.sortIconSize}}),t._v(" "+t._s(t.findIndexOfSortData(e))+" "),n("button",{staticClass:"delete is-small multi-sort-cancel-icon",attrs:{type:"button"},on:{click:function(n){return n.stopPropagation(),t.removeSortingPriority(e)}}})]:n("b-icon",{staticClass:"sort-icon",class:{"is-desc":!t.isAsc,"is-invisible":t.currentSortColumn!==e},attrs:{icon:t.sortIcon,pack:t.iconPack,both:"",size:t.sortIconSize}})],2)]],2)])}),t.checkable&&"right"===t.checkboxPosition?n("th",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[t.headerCheckable?[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isAllChecked,type:t.checkboxType,disabled:t.isAllUncheckable},nativeOn:{change:function(e){return t.checkAll(e)}}})]:t._e()],2):t._e()],2),t.hasCustomSubheadings?n("tr",{staticClass:"is-subheading"},[t.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):t._e(),t.checkable&&"left"===t.checkboxPosition?n("th"):t._e(),t._l(t.visibleColumns,function(e,i){return n("th",{key:e.newKey+":"+i+"subheading",style:e.style},[n("div",{staticClass:"th-wrap",class:{"is-numeric":e.numeric,"is-centered":e.centered}},[e.$scopedSlots&&e.$scopedSlots.subheading?[n("b-slot-component",{attrs:{component:e,scoped:"",name:"subheading",tag:"span",props:{column:e,index:i}}})]:[t._v(t._s(e.subheading))]],2)])}),t.checkable&&"right"===t.checkboxPosition?n("th"):t._e()],2):t._e(),t.hasSearchablenewColumns?n("tr",[t.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):t._e(),t.checkable&&"left"===t.checkboxPosition?n("th"):t._e(),t._l(t.visibleColumns,function(e,i){return n("th",t._b({key:e.newKey+":"+i+"searchable",class:{"is-sticky":e.sticky},style:e.thStyle},"th",e.thAttrs(e),!1),[n("div",{staticClass:"th-wrap"},[e.searchable?[e.$scopedSlots&&e.$scopedSlots.searchable?[n("b-slot-component",{attrs:{component:e,scoped:!0,name:"searchable",tag:"span",props:{column:e,filters:t.filters}}})]:n("b-input",{attrs:{type:e.numeric?"number":"text"},nativeOn:t._d({},[t.filtersEvent,function(e){return t.onFiltersEvent(e)}]),model:{value:t.filters[e.field],callback:function(n){t.$set(t.filters,e.field,n)},expression:"filters[column.field]"}})]:t._e()],2)])}),t.checkable&&"right"===t.checkboxPosition?n("th"):t._e()],2):t._e()]):t._e(),n("tbody",[t._l(t.visibleData,function(e,i){return[n("tr",{key:t.customRowKey?e[t.customRowKey]:i,class:[t.rowClass(e,i),{"is-selected":t.isRowSelected(e,t.selected),"is-checked":t.isRowChecked(e)}],attrs:{draggable:t.canDragRow},on:{click:function(n){return t.selectRow(e)},dblclick:function(n){return t.$emit("dblclick",e)},mouseenter:function(n){return t.emitEventForRow("mouseenter",n,e)},mouseleave:function(n){return t.emitEventForRow("mouseleave",n,e)},contextmenu:function(n){return t.$emit("contextmenu",e,n)},dragstart:function(n){return t.handleDragStart(n,e,i)},dragend:function(n){return t.handleDragEnd(n,e,i)},drop:function(n){return t.handleDrop(n,e,i)},dragover:function(n){return t.handleDragOver(n,e,i)},dragleave:function(n){return t.handleDragLeave(n,e,i)}}},[t.showDetailRowIcon?n("td",{staticClass:"chevron-cell"},[t.hasDetailedVisible(e)?n("a",{attrs:{role:"button"},on:{click:function(n){return n.stopPropagation(),t.toggleDetails(e)}}},[n("b-icon",{class:{"is-expanded":t.isVisibleDetailRow(e)},attrs:{icon:t.detailIcon,pack:t.iconPack,both:""}})],1):t._e()]):t._e(),t.checkable&&"left"===t.checkboxPosition?n("td",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isRowChecked(e),type:t.checkboxType,disabled:!t.isRowCheckable(e)},nativeOn:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.checkRow(e,i,n)}}})],1):t._e(),t._l(t.visibleColumns,function(a,o){return[a.$scopedSlots&&a.$scopedSlots.default?[n("b-slot-component",t._b({key:a.newKey+":"+i+":"+o,class:a.getRootClasses(e),style:a.getRootStyle(e),attrs:{component:a,scoped:"",name:"default",tag:"td","data-label":a.label,props:{row:e,column:a,index:i,colindex:o,toggleDetails:t.toggleDetails}},nativeOn:{click:function(n){return t.$emit("cellclick",e,a,i,o)}}},"b-slot-component",a.tdAttrs(e,a),!1))]:t._e()]}),t.checkable&&"right"===t.checkboxPosition?n("td",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isRowChecked(e),type:t.checkboxType,disabled:!t.isRowCheckable(e)},nativeOn:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.checkRow(e,i,n)}}})],1):t._e()],2),n("transition",{key:(t.customRowKey?e[t.customRowKey]:i)+"detail",attrs:{name:t.detailTransition}},[t.isActiveDetailRow(e)?n("tr",{staticClass:"detail"},[n("td",{attrs:{colspan:t.columnCount}},[n("div",{staticClass:"detail-container"},[t._t("detail",null,{row:e,index:i})],2)])]):t._e()]),t.isActiveCustomDetailRow(e)?t._t("detail",null,{row:e,index:i}):t._e()]}),t.visibleData.length?t._e():n("tr",{staticClass:"is-empty"},[n("td",{attrs:{colspan:t.columnCount}},[t._t("empty")],2)])],2),void 0!==t.$slots.footer?n("tfoot",[n("tr",{staticClass:"table-footer"},[t.hasCustomFooterSlot()?t._t("footer"):n("th",{attrs:{colspan:t.columnCount}},[t._t("footer")],2)],2)]):t._e()]),t.loading?[t._t("loading",[n("b-loading",{attrs:{"is-full-page":!1,active:t.loading},on:{"update:active":function(e){t.loading=e}}})])]:t._e()],2),t.checkable&&t.hasBottomLeftSlot()||t.paginated&&("bottom"===t.paginationPosition||"both"===t.paginationPosition)?[t._t("pagination",[n("b-table-pagination",t._b({attrs:{"per-page":t.perPage,paginated:t.paginated,rounded:t.paginationRounded,"icon-pack":t.iconPack,total:t.newDataTotal,"current-page":t.newCurrentPage,"aria-next-label":t.ariaNextLabel,"aria-previous-label":t.ariaPreviousLabel,"aria-page-label":t.ariaPageLabel,"aria-current-label":t.ariaCurrentLabel,"page-input":t.pageInput,"pagination-order":t.paginationOrder,"page-input-position":t.pageInputPosition,"debounce-page-input":t.debouncePageInput},on:{"update:currentPage":function(e){t.newCurrentPage=e},"update:current-page":function(e){t.newCurrentPage=e},"page-change":function(e){return t.$emit("page-change",e)}}},"b-table-pagination",t.$attrs,!1),[t._t("bottom-left")],2)])]:t._e()],2)},staticRenderFns:[]},void 0,{name:"BTable",components:(L={},n(L,w.name,w),n(L,P.name,P),n(L,_.name,_),n(L,I.name,I),n(L,$.name,$),n(L,O.name,O),n(L,M.name,M),n(L,N.name,N),L),inheritAttrs:!1,provide:function(){return{$table:this}},props:{data:{type:Array,default:function(){return[]}},columns:{type:Array,default:function(){return[]}},bordered:Boolean,striped:Boolean,narrowed:Boolean,hoverable:Boolean,loading:Boolean,detailed:Boolean,checkable:Boolean,headerCheckable:{type:Boolean,default:!0},checkboxType:{type:String,default:"is-primary"},checkboxPosition:{type:String,default:"left",validator:function(t){return["left","right"].indexOf(t)>=0}},stickyCheckbox:{type:Boolean,default:!1},selected:Object,isRowSelectable:{type:Function,default:function(){return!0}},focusable:Boolean,customIsChecked:Function,isRowCheckable:{type:Function,default:function(){return!0}},checkedRows:{type:Array,default:function(){return[]}},mobileCards:{type:Boolean,default:!0},defaultSort:[String,Array],defaultSortDirection:{type:String,default:"asc"},sortIcon:{type:String,default:"arrow-up"},sortIconSize:{type:String,default:"is-small"},sortMultiple:{type:Boolean,default:!1},sortMultipleData:{type:Array,default:function(){return[]}},sortMultipleKey:{type:String,default:null},paginated:Boolean,currentPage:{type:Number,default:1},perPage:{type:[Number,String],default:20},showDetailIcon:{type:Boolean,default:!0},detailIcon:{type:String,default:"chevron-right"},paginationPosition:{type:String,default:"bottom",validator:function(t){return["bottom","top","both"].indexOf(t)>=0}},paginationRounded:Boolean,backendSorting:Boolean,backendFiltering:Boolean,rowClass:{type:Function,default:function(){return""}},openedDetailed:{type:Array,default:function(){return[]}},hasDetailedVisible:{type:Function,default:function(){return!0}},detailKey:{type:String,default:""},detailTransition:{type:String,default:""},customDetailRow:{type:Boolean,default:!1},backendPagination:Boolean,total:{type:[Number,String],default:0},iconPack:String,mobileSortPlaceholder:String,customRowKey:String,draggable:{type:Boolean,default:!1},draggableColumn:{type:Boolean,default:!1},scrollable:Boolean,ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,stickyHeader:Boolean,height:[Number,String],filtersEvent:{type:String,default:""},cardLayout:Boolean,showHeader:{type:Boolean,default:!0},debounceSearch:Number,caption:String,showCaption:{type:Boolean,default:!0},pageInput:{type:Boolean,default:!1},paginationOrder:String,pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{sortMultipleDataLocal:[],getValueByPath:l,visibleDetailRows:this.openedDetailed,newData:this.data,newDataTotal:this.backendPagination?this.total:this.data.length,newCheckedRows:s(this.checkedRows),lastCheckedRowIndex:null,newCurrentPage:this.currentPage,currentSortColumn:{},isAsc:!0,filters:{},defaultSlots:[],firstTimeSort:!0,_isTable:!0,isDraggingRow:!1,isDraggingColumn:!1}},computed:{sortMultipleDataComputed:function(){return this.backendSorting?this.sortMultipleData:this.sortMultipleDataLocal},tableClasses:function(){return{"is-bordered":this.bordered,"is-striped":this.striped,"is-narrow":this.narrowed,"is-hoverable":(this.hoverable||this.focusable)&&this.visibleData.length}},tableWrapperClasses:function(){return{"has-mobile-cards":this.mobileCards,"has-sticky-header":this.stickyHeader,"is-card-list":this.cardLayout,"table-container":this.isScrollable}},tableStyle:function(){return{height:g(this.height)}},visibleData:function(){if(!this.paginated)return this.newData;var t=this.newCurrentPage,e=this.perPage;if(this.newData.length<=e)return this.newData;var n=(t-1)*e,i=parseInt(n,10)+parseInt(e,10);return this.newData.slice(n,i)},visibleColumns:function(){return this.newColumns?this.newColumns.filter(function(t){return t.visible||void 0===t.visible}):this.newColumns},isAllChecked:function(){var t=this,e=this.visibleData.filter(function(e){return t.isRowCheckable(e)});if(0===e.length)return!1;var n=e.some(function(e){return u(t.newCheckedRows,e,t.customIsChecked)<0});return!n},isAllUncheckable:function(){var t=this;return 0===this.visibleData.filter(function(e){return t.isRowCheckable(e)}).length},hasSortablenewColumns:function(){return this.newColumns.some(function(t){return t.sortable})},hasSearchablenewColumns:function(){return this.newColumns.some(function(t){return t.searchable})},hasCustomSubheadings:function(){return!(!this.$scopedSlots||!this.$scopedSlots.subheading)||this.newColumns.some(function(t){return t.subheading||t.$scopedSlots&&t.$scopedSlots.subheading})},columnCount:function(){var t=this.visibleColumns.length;return t+=this.checkable?1:0,t+=this.detailed&&this.showDetailIcon?1:0},showDetailRowIcon:function(){return this.detailed&&this.showDetailIcon},isScrollable:function(){return!!this.scrollable||!!this.newColumns&&this.newColumns.some(function(t){return t.sticky})},newColumns:function(){var t=this;return this.columns&&this.columns.length?this.columns.map(function(e){var n=new(v.extend(M))({parent:t,propsData:e});return n.$scopedSlots={default:function(t){return[n.$createElement("span",{domProps:{innerHTML:l(t.row,e.field)}})]}},n}):this.defaultSlots.filter(function(t){return t.componentInstance&&t.componentInstance.$data&&t.componentInstance.$data._isTableColumn}).map(function(t){return t.componentInstance})},canDragRow:function(){return this.draggable&&!this.isDraggingColumn},canDragColumn:function(){return this.draggableColumn&&!this.isDraggingRow}},watch:{data:function(t){var e=this;this.newData=t,this.backendFiltering||(this.newData=t.filter(function(t){return e.isRowFiltered(t)})),this.backendSorting||this.sort(this.currentSortColumn,!0),this.backendPagination||(this.newDataTotal=this.newData.length)},total:function(t){this.backendPagination&&(this.newDataTotal=t)},currentPage:function(t){this.newCurrentPage=t},newCurrentPage:function(t){this.$emit("update:currentPage",t)},checkedRows:function(t){this.newCheckedRows=s(t)},debounceSearch:{handler:function(t){this.debouncedHandleFiltersChange=b(this.handleFiltersChange,t)},immediate:!0},filters:{handler:function(t){this.debounceSearch?this.debouncedHandleFiltersChange(t):this.handleFiltersChange(t)},deep:!0},openedDetailed:function(t){this.visibleDetailRows=t}},methods:{onFiltersEvent:function(t){this.$emit("filters-event-".concat(this.filtersEvent),{event:t,filters:this.filters})},handleFiltersChange:function(t){var e=this;this.backendFiltering?this.$emit("filters-change",t):(this.newData=this.data.filter(function(t){return e.isRowFiltered(t)}),this.backendPagination||(this.newDataTotal=this.newData.length),this.backendSorting||(this.sortMultiple&&this.sortMultipleDataLocal&&this.sortMultipleDataLocal.length>0?this.doSortMultiColumn():Object.keys(this.currentSortColumn).length>0&&this.doSortSingleColumn(this.currentSortColumn)))},findIndexOfSortData:function(t){var e=this.sortMultipleDataComputed.filter(function(e){return e.field===t.field})[0];return this.sortMultipleDataComputed.indexOf(e)+1},removeSortingPriority:function(t){if(this.backendSorting)this.$emit("sorting-priority-removed",t.field);else{this.sortMultipleDataLocal=this.sortMultipleDataLocal.filter(function(e){return e.field!==t.field});var e=this.sortMultipleDataLocal.map(function(t){return(t.order&&"desc"===t.order?"-":"")+t.field});0===e.length?this.resetMultiSorting():this.newData=p(this.newData,e)}},resetMultiSorting:function(){this.sortMultipleDataLocal=[],this.currentSortColumn={},this.newData=this.data},sortBy:function(t,e,n,i){return n&&"function"==typeof n?s(t).sort(function(t,e){return n(t,e,i)}):s(t).sort(function(t,n){var a=l(t,e),o=l(n,e);return"boolean"==typeof a&&"boolean"==typeof o?i?a-o:o-a:!m(o)&&m(a)?i?1:-1:!m(a)&&m(o)?i?-1:1:a===o?0:(a="string"==typeof a?a.toUpperCase():a,o="string"==typeof o?o.toUpperCase():o,i?a>o?1:-1:a>o?-1:1)})},sortMultiColumn:function(t){if(this.currentSortColumn={},!this.backendSorting){var e=this.sortMultipleDataLocal.filter(function(e){return e.field===t.field})[0];e?e.order="desc"===e.order?"asc":"desc":this.sortMultipleDataLocal.push({field:t.field,order:t.isAsc}),this.doSortMultiColumn()}},doSortMultiColumn:function(){var t=this.sortMultipleDataLocal.map(function(t){return(t.order&&"desc"===t.order?"-":"")+t.field});this.newData=p(this.newData,t)},sort:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t&&t.sortable&&(!this.backendSorting&&this.sortMultiple&&(this.sortMultipleKey&&n[this.sortMultipleKey]||!this.sortMultipleKey)?e?this.doSortMultiColumn():this.sortMultiColumn(t):(this.sortMultiple&&(this.sortMultipleDataLocal=[]),e||(this.isAsc=t===this.currentSortColumn?!this.isAsc:"desc"!==this.defaultSortDirection.toLowerCase()),this.firstTimeSort||this.$emit("sort",t.field,this.isAsc?"asc":"desc",n),this.backendSorting||this.doSortSingleColumn(t),this.currentSortColumn=t))},doSortSingleColumn:function(t){this.newData=this.sortBy(this.newData,t.field,t.customSort,this.isAsc)},isRowSelected:function(t,e){return!!e&&(this.customRowKey?t[this.customRowKey]===e[this.customRowKey]:t===e)},isRowChecked:function(t){return u(this.newCheckedRows,t,this.customIsChecked)>=0},removeCheckedRow:function(t){var e=u(this.newCheckedRows,t,this.customIsChecked);e>=0&&this.newCheckedRows.splice(e,1)},checkAll:function(){var t=this,e=this.isAllChecked;this.visibleData.forEach(function(n){t.isRowCheckable(n)&&t.removeCheckedRow(n),e||t.isRowCheckable(n)&&t.newCheckedRows.push(n)}),this.$emit("check",this.newCheckedRows),this.$emit("check-all",this.newCheckedRows),this.$emit("update:checkedRows",this.newCheckedRows)},checkRow:function(t,e,n){if(this.isRowCheckable(t)){var i=this.lastCheckedRowIndex;this.lastCheckedRowIndex=e,n.shiftKey&&null!==i&&e!==i?this.shiftCheckRow(t,e,i):this.isRowChecked(t)?this.removeCheckedRow(t):this.newCheckedRows.push(t),this.$emit("check",this.newCheckedRows,t),this.$emit("update:checkedRows",this.newCheckedRows)}},shiftCheckRow:function(t,e,n){var i=this,a=this.visibleData.slice(Math.min(e,n),Math.max(e,n)+1),o=!this.isRowChecked(t);a.forEach(function(t){i.removeCheckedRow(t),o&&i.isRowCheckable(t)&&i.newCheckedRows.push(t)})},selectRow:function(t,e){this.$emit("click",t),this.selected!==t&&this.isRowSelectable(t)&&(this.$emit("select",t,this.selected),this.$emit("update:selected",t))},toggleDetails:function(t){this.isVisibleDetailRow(t)?(this.closeDetailRow(t),this.$emit("details-close",t)):(this.openDetailRow(t),this.$emit("details-open",t)),this.$emit("update:openedDetailed",this.visibleDetailRows)},openDetailRow:function(t){var e=this.handleDetailKey(t);this.visibleDetailRows.push(e)},closeDetailRow:function(t){var e=this.handleDetailKey(t),n=this.visibleDetailRows.indexOf(e);n>=0&&this.visibleDetailRows.splice(n,1)},isVisibleDetailRow:function(t){var e=this.handleDetailKey(t);return this.visibleDetailRows.indexOf(e)>=0},isActiveDetailRow:function(t){return this.detailed&&!this.customDetailRow&&this.isVisibleDetailRow(t)},isActiveCustomDetailRow:function(t){return this.detailed&&this.customDetailRow&&this.isVisibleDetailRow(t)},isRowFiltered:function(t){var n=this,i=function(e){if(!n.filters[e])return"continue";var i=n.filters[e],a=n.newColumns.filter(function(t){return t.field===e})[0];if(a&&a.customSearch&&"function"==typeof a.customSearch){if(!a.customSearch(t,i))return{v:!1}}else{var o=n.getValueByPath(t,e);if(null==o)return{v:!1};if(Number.isInteger(o)){if(o!==Number(i))return{v:!1}}else{var s=new RegExp(function(t){return t?t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):t}(i),"i");if(Array.isArray(o)){if(!o.some(function(t){return s.test(f(t))||s.test(t)}))return{v:!1}}else if(!s.test(f(o))&&!s.test(o))return{v:!1}}}};for(var a in this.filters){var o=i(a);switch(o){case"continue":continue;default:if("object"===e(o))return o.v}}return!0},handleDetailKey:function(t){var e=this.detailKey;return e.length&&t?t[e]:t},checkPredefinedDetailedRows:function(){if(this.openedDetailed.length>0&&!this.detailKey.length)throw new Error('If you set a predefined opened-detailed, you must provide a unique key using the prop "detail-key"')},checkSort:function(){if(this.newColumns.length&&this.firstTimeSort)this.initSort(),this.firstTimeSort=!1;else if(this.newColumns.length&&Object.keys(this.currentSortColumn).length>0)for(var t=0;t<this.newColumns.length;t++)if(this.newColumns[t].field===this.currentSortColumn.field){this.currentSortColumn=this.newColumns[t];break}},hasCustomFooterSlot:function(){if(this.$slots.footer.length>1)return!0;var t=this.$slots.footer[0].tag;return"th"===t||"td"===t},hasBottomLeftSlot:function(){return void 0!==this.$slots["bottom-left"]},pressedArrow:function(t){if(this.visibleData.length){var e=this.visibleData.indexOf(this.selected)+t;e=e<0?0:e>this.visibleData.length-1?this.visibleData.length-1:e;var n=this.visibleData[e];if(this.isRowSelectable(n))this.selectRow(n);else{var i=null;if(t>0)for(var a=e;a<this.visibleData.length&&null===i;a++)this.isRowSelectable(this.visibleData[a])&&(i=a);else for(var o=e;o>=0&&null===i;o--)this.isRowSelectable(this.visibleData[o])&&(i=o);i>=0&&this.selectRow(this.visibleData[i])}}},focus:function(){this.focusable&&this.$el.querySelector("table").focus()},initSort:function(){var t=this;if(this.sortMultiple&&this.sortMultipleData)this.sortMultipleData.forEach(function(e){t.sortMultiColumn(e)});else{if(!this.defaultSort)return;var e="",n=this.defaultSortDirection;Array.isArray(this.defaultSort)?(e=this.defaultSort[0],this.defaultSort[1]&&(n=this.defaultSort[1])):e=this.defaultSort;var i=this.newColumns.filter(function(t){return t.field===e})[0];i&&(this.isAsc="desc"!==n.toLowerCase(),this.sort(i,!0))}},handleDragStart:function(t,e,n){this.canDragRow&&(this.isDraggingRow=!0,this.$emit("dragstart",{event:t,row:e,index:n}))},handleDragEnd:function(t,e,n){this.canDragRow&&(this.isDraggingRow=!1,this.$emit("dragend",{event:t,row:e,index:n}))},handleDrop:function(t,e,n){this.canDragRow&&this.$emit("drop",{event:t,row:e,index:n})},handleDragOver:function(t,e,n){this.canDragRow&&this.$emit("dragover",{event:t,row:e,index:n})},handleDragLeave:function(t,e,n){this.canDragRow&&this.$emit("dragleave",{event:t,row:e,index:n})},emitEventForRow:function(t,e,n){return this.$listeners[t]?this.$emit(t,n,e):null},handleColumnDragStart:function(t,e,n){this.canDragColumn&&(this.isDraggingColumn=!0,this.$emit("columndragstart",{event:t,column:e,index:n}))},handleColumnDragEnd:function(t,e,n){this.canDragColumn&&(this.isDraggingColumn=!1,this.$emit("columndragend",{event:t,column:e,index:n}))},handleColumnDrop:function(t,e,n){this.canDragColumn&&this.$emit("columndrop",{event:t,column:e,index:n})},handleColumnDragOver:function(t,e,n){this.canDragColumn&&this.$emit("columndragover",{event:t,column:e,index:n})},handleColumnDragLeave:function(t,e,n){this.canDragColumn&&this.$emit("columndragleave",{event:t,column:e,index:n})},refreshSlots:function(){this.defaultSlots=this.$slots.default||[]}},mounted:function(){this.refreshSlots(),this.checkPredefinedDetailedRows(),this.checkSort()}},void 0,!1,void 0,void 0,void 0),j=function(t,e){t.component(e.name,e)},K={install:function(t){void 0===v&&function(t){v=t}(t),j(t,E),j(t,M)}};z=K,"undefined"!=typeof window&&window.Vue&&window.Vue.use(z),t.BTable=E,t.BTableColumn=M,t.default=K,Object.defineProperty(t,"__esModule",{value:!0})});
|
|
1
|
+
/*! Buefy v0.9.22 | MIT License | github.com/buefy/buefy */
|
|
2
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).Table={})}(this,function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?i(Object(a),!0).forEach(function(e){n(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}function o(t){return function(t){if(Array.isArray(t))return t}(t)||r(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function s(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||r(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function l(t,e){return e.split(".").reduce(function(t,e){return t?t[e]:null},t)}function u(t,e,n){if(!t)return-1;if(!n||"function"!=typeof n)return t.indexOf(e);for(var i=0;i<t.length;i++)if(n(t[i],e))return i;return-1}var c=function(t){return"object"===e(t)&&!Array.isArray(t)},d=function t(e,i){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(o||!Object.assign){var s=Object.getOwnPropertyNames(i).map(function(a){return n({},a,function(t){return c(i[t])&&null!==e&&e.hasOwnProperty(t)&&c(e[t])}(a)?t(e[a],i[a],o):i[a])}).reduce(function(t,e){return a({},t,{},e)},{});return a({},e,{},s)}return Object.assign(e,i)};function h(t){return t&&t._isVue}function f(t){return t?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):t}function p(t,e){var n;return JSON.parse(JSON.stringify(t)).sort((n=e,function(t,e){return n.map(function(n){var i=1;"-"===n[0]&&(i=-1,n=n.substring(1));var a=l(t,n),o=l(e,n);return a>o?i:a<o?-i:0}).reduce(function(t,e){return t||e},0)}))}function g(t){return void 0===t?null:isNaN(t)?t:t+"px"}var m=function(t){return null==t};function b(t,e,n){var i;return function(){var a=this,o=arguments,s=n&&!i;clearTimeout(i),i=setTimeout(function(){i=null,n||t.apply(a,o)},e),s&&t.apply(a,o)}}var v,y={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,defaultTooltipCloseDelay:null,defaultSidebarDelay:null,defaultInputAutocomplete:"on",defaultDateFormatter:null,defaultDateParser:null,defaultDateCreator:null,defaultTimeCreator:null,defaultDayNames:null,defaultMonthNames:null,defaultFirstDayOfWeek:null,defaultUnselectableDaysOfWeek:null,defaultTimeFormatter:null,defaultTimeParser:null,defaultModalCanCancel:["escape","x","outside","button"],defaultModalScroll:null,defaultDatepickerMobileNative:!0,defaultTimepickerMobileNative:!0,defaultNoticeQueue:!0,defaultInputHasCounter:!0,defaultTaginputHasCounter:!0,defaultUseHtml5Validation:!0,defaultDropdownMobileModal:!0,defaultFieldLabelPosition:null,defaultDatepickerYearsRange:[-100,10],defaultDatepickerNearbyMonthDays:!0,defaultDatepickerNearbySelectableMonthDays:!1,defaultDatepickerShowWeekNumber:!1,defaultDatepickerWeekNumberClickable:!1,defaultDatepickerMobileModal:!0,defaultTrapFocus:!0,defaultAutoFocus:!0,defaultButtonRounded:!1,defaultSwitchRounded:!0,defaultCarouselInterval:3500,defaultTabsExpanded:!1,defaultTabsAnimated:!0,defaultTabsType:null,defaultStatusIcon:!0,defaultProgrammaticPromise:!1,defaultLinkTags:["a","button","input","router-link","nuxt-link","n-link","RouterLink","NuxtLink","NLink"],defaultImageWebpFallback:null,defaultImageLazy:!0,defaultImageResponsive:!0,defaultImageRatio:null,defaultImageSrcsetFormatter:null,defaultBreadcrumbTag:"a",defaultBreadcrumbAlign:"is-left",defaultBreadcrumbSeparator:"",defaultBreadcrumbSize:"is-medium",customIconPacks:null};var C=function(t,e,n,i,a,o,s,r,l,u){"boolean"!=typeof s&&(l=r,r=s,s=!1);var c,d="function"==typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,a&&(d.functional=!0)),i&&(d._scopeId=i),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=c):e&&(c=s?function(){e.call(this,u(this.$root.$options.shadowRoot))}:function(t){e.call(this,r(t))}),c)if(d.functional){var h=d.render;d.render=function(t,e){return c.call(e),h(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,c):[c]}return n};var w=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{ref:"label",staticClass:"b-checkbox checkbox",class:[t.size,{"is-disabled":t.disabled}],attrs:{disabled:t.disabled},on:{click:t.focus,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.$refs.label.click())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),t.$refs.label.click())}]}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.computedValue,expression:"computedValue"}],ref:"input",attrs:{type:"checkbox",autocomplete:t.autocomplete,disabled:t.disabled,required:t.required,name:t.name,"true-value":t.trueValue,"false-value":t.falseValue,"aria-labelledby":t.ariaLabelledby},domProps:{indeterminate:t.indeterminate,value:t.nativeValue,checked:Array.isArray(t.computedValue)?t._i(t.computedValue,t.nativeValue)>-1:t._q(t.computedValue,t.trueValue)},on:{click:function(t){t.stopPropagation()},change:function(e){var n=t.computedValue,i=e.target,a=i.checked?t.trueValue:t.falseValue;if(Array.isArray(n)){var o=t.nativeValue,s=t._i(n,o);i.checked?s<0&&(t.computedValue=n.concat([o])):s>-1&&(t.computedValue=n.slice(0,s).concat(n.slice(s+1)))}else t.computedValue=a}}}),n("span",{staticClass:"check",class:t.type}),n("span",{staticClass:"control-label",attrs:{id:t.ariaLabelledby}},[t._t("default")],2)])},staticRenderFns:[]},void 0,{name:"BCheckbox",mixins:[{props:{value:[String,Number,Boolean,Function,Object,Array],nativeValue:[String,Number,Boolean,Function,Object,Array],type:String,disabled:Boolean,required:Boolean,name:String,size:String},data:function(){return{newValue:this.value}},computed:{computedValue:{get:function(){return this.newValue},set:function(t){this.newValue=t,this.$emit("input",t)}}},watch:{value:function(t){this.newValue=t}},methods:{focus:function(){this.$refs.input.focus()}}}],props:{indeterminate:Boolean,ariaLabelledby:String,trueValue:{type:[String,Number,Boolean,Function,Object,Array],default:!0},falseValue:{type:[String,Number,Boolean,Function,Object,Array],default:!1},autocomplete:{type:String,default:"on"}}},void 0,!1,void 0,void 0,void 0),k={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},S=function(){var t=y&&y.defaultIconComponent?"":"fa-";return{sizes:{default:null,"is-small":null,"is-medium":t+"lg","is-large":t+"2x"},iconPrefix:t,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 P=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"icon",class:[t.newType,t.size]},[t.useIconComponent?n(t.useIconComponent,{tag:"component",class:[t.customClass],attrs:{icon:[t.newPack,t.newIcon],size:t.newCustomSize}}):n("i",{class:[t.newPack,t.newIcon,t.newCustomSize,t.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 t;return(t={mdi:k,fa:S(),fas:S(),far:S(),fad:S(),fab:S(),fal:S(),"fa-solid":S(),"fa-regular":S(),"fa-light":S(),"fa-thin":S(),"fa-duotone":S(),"fa-brands":S()},y&&y.customIconPacks&&(t=d(t,y.customIconPacks,!0)),t)[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||y.defaultIconPack},newType:function(){if(this.type){var t=[];if("string"==typeof this.type)t=this.type.split("-");else for(var e in this.type)if(this.type[e]){t=e.split("-");break}if(!(t.length<=1)){var n=o(t).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||y.defaultIconComponent}},methods:{getEquivalentIconOf:function(t){return this.both&&this.iconConfig&&this.iconConfig.internalIcons&&this.iconConfig.internalIcons[t]?this.iconConfig.internalIcons[t]:t}}},void 0,!1,void 0,void 0,void 0),D={props:{size:String,expanded:Boolean,loading:Boolean,rounded:Boolean,icon:String,iconPack:String,autocomplete:String,maxlength:[Number,String],useHtml5Validation:{type:Boolean,default:function(){return y.defaultUseHtml5Validation}},validationMessage:String,locale:{type:[String,Array],default:function(){return y.defaultLocale}},statusIcon:{type:Boolean,default:function(){return y.defaultStatusIcon}}},data:function(){return{isValid:!0,isFocused:!1,newIconPack:this.iconPack||y.defaultIconPack}},computed:{parentField:function(){for(var t=this.$parent,e=0;e<3;e++)t&&!t.$data._isField&&(t=t.$parent);return t},statusType:function(){var t=(this.parentField||{}).newType;if(t){if("string"==typeof t)return t;for(var e in t)if(t[e])return e}},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 t=this.getElement();void 0!==t&&this.$nextTick(function(){t&&t.focus()})},onBlur:function(t){this.isFocused=!1,this.$emit("blur",t),this.checkHtml5Validity()},onFocus:function(t){this.isFocused=!0,this.$emit("focus",t)},getElement:function(){for(var t=this.$refs[this.$data._elementRef];h(t);)t=t.$refs[t.$data._elementRef];return t},setInvalid:function(){var t=this.validationMessage||this.getElement().validationMessage;this.setValidity("is-danger",t)},setValidity:function(t,e){var n=this;this.$nextTick(function(){n.parentField&&(n.parentField.type||(n.parentField.newType=t),n.parentField.message||(n.parentField.newMessage=e))})},checkHtml5Validity:function(){if(this.useHtml5Validation){var t=this.getElement();if(void 0!==t)return t.checkValidity()?(this.setValidity(null,null),this.isValid=!0):(this.setInvalid(),this.isValid=!1),this.isValid}}}};var _=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"control",class:t.rootClasses},["textarea"!==t.type?n("input",t._b({ref:"input",staticClass:"input",class:[t.inputClasses,t.customClass],attrs:{type:t.newType,autocomplete:t.newAutocomplete,maxlength:t.maxlength},domProps:{value:t.computedValue},on:{input:t.onInput,change:t.onChange,blur:t.onBlur,focus:t.onFocus}},"input",t.$attrs,!1)):n("textarea",t._b({ref:"textarea",staticClass:"textarea",class:[t.inputClasses,t.customClass],attrs:{maxlength:t.maxlength},domProps:{value:t.computedValue},on:{input:t.onInput,change:t.onChange,blur:t.onBlur,focus:t.onFocus}},"textarea",t.$attrs,!1)),t.icon?n("b-icon",{staticClass:"is-left",class:{"is-clickable":t.iconClickable},attrs:{icon:t.icon,pack:t.iconPack,size:t.iconSize},nativeOn:{click:function(e){return t.iconClick("icon-click",e)}}}):t._e(),!t.loading&&t.hasIconRight?n("b-icon",{staticClass:"is-right",class:{"is-clickable":t.passwordReveal||t.iconRightClickable},attrs:{icon:t.rightIcon,pack:t.iconPack,size:t.iconSize,type:t.rightIconType,both:""},nativeOn:{click:function(e){return t.rightIconClick(e)}}}):t._e(),t.maxlength&&t.hasCounter&&"number"!==t.type?n("small",{staticClass:"help counter",class:{"is-invisible":!t.isFocused}},[t._v(" "+t._s(t.valueLength)+" / "+t._s(t.maxlength)+" ")]):t._e()],1)},staticRenderFns:[]},void 0,{name:"BInput",components:n({},P.name,P),mixins:[D],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 y.defaultInputHasCounter}},customClass:{type:String,default:""},iconRight:String,iconRightClickable:Boolean,iconRightType:String},data:function(){return{newValue:this.value,newType:this.type,newAutocomplete:this.autocomplete||y.defaultInputAutocomplete,isPasswordVisible:!1,_elementRef:"textarea"===this.type?"textarea":"input"}},computed:{computedValue:{get:function(){return this.newValue},set:function(t){this.newValue=t,this.$emit("input",t)}},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 t="";return this.icon&&(t+="has-icons-left "),this.hasIconRight&&(t+="has-icons-right"),t},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?Array.from(this.computedValue).length:"number"==typeof this.computedValue?this.computedValue.toString().length:0}},watch:{value:function(t){this.newValue=t},type:function(t){this.newType=t}},methods:{togglePasswordVisibility:function(){var t=this;this.isPasswordVisible=!this.isPasswordVisible,this.newType=this.isPasswordVisible?"text":"password",this.$nextTick(function(){t.focus()})},iconClick:function(t,e){var n=this;this.$emit(t,e),this.$nextTick(function(){n.focus()})},rightIconClick:function(t){this.passwordReveal?this.togglePasswordVisibility():this.iconRightClickable&&this.iconClick("icon-right-click",t)},onInput:function(t){if(!this.lazy){var e=t.target.value;this.updateValue(e)}},onChange:function(t){if(this.lazy){var e=t.target.value;this.updateValue(e)}},updateValue:function(t){this.computedValue=t,!this.isValid&&this.checkHtml5Validity()}}},void 0,!1,void 0,void 0,void 0),x="undefined"==typeof window,R=x?Object:window.HTMLElement;x?Object:window.File;var I=C({render:function(){var t=this.$createElement,e=this._self._c||t;return e("transition",{attrs:{name:this.animation}},[e("div",{directives:[{name:"show",rawName:"v-show",value:this.isActive,expression:"isActive"}],staticClass:"loading-overlay is-active",class:{"is-full-page":this.displayInFullPage}},[e("div",{staticClass:"loading-background",on:{click:this.cancel}}),this._t("default",[e("div",{staticClass:"loading-icon"})])],2)])},staticRenderFns:[]},void 0,{name:"BLoading",model:{prop:"active",event:"update:active"},props:{active:Boolean,programmatic:Boolean,container:[Object,Function,R],isFullPage:{type:Boolean,default:!0},animation:{type:String,default:"fade"},canCancel:{type:Boolean,default:!1},onCancel:{type:Function,default:function(){}}},data:function(){return{isActive:this.active||!1,displayInFullPage:this.isFullPage}},watch:{active:function(t){this.isActive=t},isFullPage:function(t){this.displayInFullPage=t}},methods:{cancel:function(){this.canCancel&&this.isActive&&this.close()},close:function(){var t=this;this.onCancel.apply(null,arguments),this.$emit("close"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout(function(){var e;t.$destroy(),void 0!==(e=t.$el).remove?e.remove():void 0!==e.parentNode&&null!==e.parentNode&&e.parentNode.removeChild(e)},150))},keyPress:function(t){var e=t.key;"Escape"!==e&&"Esc"!==e||this.cancel()}},created:function(){"undefined"!=typeof window&&document.addEventListener("keyup",this.keyPress)},beforeMount:function(){this.programmatic&&(this.container?(this.displayInFullPage=!1,this.$emit("update:is-full-page",!1),this.container.appendChild(this.$el)):document.body.appendChild(this.$el))},mounted:function(){this.programmatic&&(this.isActive=!0)},beforeDestroy:function(){"undefined"!=typeof window&&document.removeEventListener("keyup",this.keyPress)}},void 0,!1,void 0,void 0,void 0),$={name:"BSlotComponent",props:{component:{type:Object,required:!0},name:{type:String,default:"default"},scoped:{type:Boolean},props:{type:Object},tag:{type:String,default:"div"},event:{type:String,default:"hook:updated"}},methods:{refresh:function(){this.$forceUpdate()}},created:function(){h(this.component)&&this.component.$on(this.event,this.refresh)},beforeDestroy:function(){h(this.component)&&this.component.$off(this.event,this.refresh)},render:function(t){if(h(this.component))return t(this.tag,{},this.scoped?this.component.$scopedSlots[this.name](this.props):this.component.$slots[this.name])}};var B,V=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"control",class:{"is-expanded":t.expanded,"has-icons-left":t.icon}},[n("span",{staticClass:"select",class:t.spanClasses},[n("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.computedValue,expression:"computedValue"}],ref:"select",attrs:{multiple:t.multiple,size:t.nativeSize},on:{blur:function(e){t.$emit("blur",e)&&t.checkHtml5Validity()},focus:function(e){return t.$emit("focus",e)},change:function(e){var n=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.computedValue=e.target.multiple?n:n[0]}}},"select",t.$attrs,!1),[t.placeholder?[null==t.computedValue?n("option",{attrs:{disabled:"",hidden:""},domProps:{value:null}},[t._v(" "+t._s(t.placeholder)+" ")]):t._e()]:t._e(),t._t("default")],2)]),t.icon?n("b-icon",{staticClass:"is-left",attrs:{icon:t.icon,pack:t.iconPack,size:t.iconSize}}):t._e()],1)},staticRenderFns:[]},void 0,{name:"BSelect",components:n({},P.name,P),mixins:[D],inheritAttrs:!1,props:{value:{type:[String,Number,Boolean,Object,Array,Function,Date],default:null},placeholder:String,multiple:Boolean,nativeSize:[String,Number]},data:function(){return{selected:this.value,_elementRef:"select"}},computed:{computedValue:{get:function(){return this.selected},set:function(t){this.selected=t,this.$emit("input",t),!this.isValid&&this.checkHtml5Validity()}},spanClasses:function(){return[this.size,this.statusType,{"is-fullwidth":this.expanded,"is-loading":this.loading,"is-multiple":this.multiple,"is-rounded":this.rounded,"is-empty":null===this.selected}]}},watch:{value:function(t){this.selected=t,!this.isValid&&this.checkHtml5Validity()}}},void 0,!1,void 0,void 0,void 0);var O=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"field table-mobile-sort"},[n("div",{staticClass:"field has-addons"},[t.sortMultiple?n("b-select",{attrs:{expanded:""},model:{value:t.sortMultipleSelect,callback:function(e){t.sortMultipleSelect=e},expression:"sortMultipleSelect"}},t._l(t.columns,function(e,i){return e.sortable?n("option",{key:i,domProps:{value:e}},[t._v(" "+t._s(t.getLabel(e))+" "),t.getSortingObjectOfColumn(e)?[t.columnIsDesc(e)?[t._v(" ↓ ")]:[t._v(" ↑ ")]]:t._e()],2):t._e()}),0):n("b-select",{attrs:{expanded:""},model:{value:t.mobileSort,callback:function(e){t.mobileSort=e},expression:"mobileSort"}},[t.placeholder?[n("option",{directives:[{name:"show",rawName:"v-show",value:t.showPlaceholder,expression:"showPlaceholder"}],attrs:{selected:"",disabled:"",hidden:""},domProps:{value:{}}},[t._v(" "+t._s(t.placeholder)+" ")])]:t._e(),t._l(t.columns,function(e,i){return e.sortable?n("option",{key:i,domProps:{value:e}},[t._v(" "+t._s(e.label)+" ")]):t._e()})],2),n("div",{staticClass:"control"},[t.sortMultiple&&t.sortMultipleData.length>0?[n("button",{staticClass:"button is-primary",on:{click:t.sort}},[n("b-icon",{class:{"is-desc":t.columnIsDesc(t.sortMultipleSelect)},attrs:{icon:t.sortIcon,pack:t.iconPack,size:t.sortIconSize,both:""}})],1),n("button",{staticClass:"button is-primary",on:{click:t.removePriority}},[n("b-icon",{attrs:{icon:"delete",size:t.sortIconSize,both:""}})],1)]:t.sortMultiple?t._e():n("button",{staticClass:"button is-primary",on:{click:t.sort}},[n("b-icon",{directives:[{name:"show",rawName:"v-show",value:t.currentSortColumn===t.mobileSort,expression:"currentSortColumn === mobileSort"}],class:{"is-desc":!t.isAsc},attrs:{icon:t.sortIcon,pack:t.iconPack,size:t.sortIconSize,both:""}})],1)],2)],1)])},staticRenderFns:[]},void 0,{name:"BTableMobileSort",components:(B={},n(B,V.name,V),n(B,P.name,P),B),props:{currentSortColumn:Object,sortMultipleData:Array,isAsc:Boolean,columns:Array,placeholder:String,iconPack:String,sortIcon:{type:String,default:"arrow-up"},sortIconSize:{type:String,default:"is-small"},sortMultiple:{type:Boolean,default:!1}},data:function(){return{sortMultipleSelect:"",mobileSort:this.currentSortColumn,defaultEvent:{shiftKey:!0,altKey:!0,ctrlKey:!0},ignoreSort:!1}},computed:{showPlaceholder:function(){var t=this;return!this.columns||!this.columns.some(function(e){return e===t.mobileSort})}},watch:{sortMultipleSelect:function(t){this.ignoreSort?this.ignoreSort=!1:this.$emit("sort",t,this.defaultEvent)},mobileSort:function(t){this.currentSortColumn!==t&&this.$emit("sort",t,this.defaultEvent)},currentSortColumn:function(t){this.mobileSort=t}},methods:{removePriority:function(){var t=this;this.$emit("removePriority",this.sortMultipleSelect),this.ignoreSort=!0;var e=this.sortMultipleData.filter(function(e){return e.field!==t.sortMultipleSelect.field}).map(function(t){return t.field});this.sortMultipleSelect=this.columns.filter(function(t){return e.includes(t.field)})[0]},getSortingObjectOfColumn:function(t){return this.sortMultipleData.filter(function(e){return e.field===t.field})[0]},columnIsDesc:function(t){var e=this.getSortingObjectOfColumn(t);return!e||!(!e.order||"desc"!==e.order)},getLabel:function(t){var e=this.getSortingObjectOfColumn(t);return e?t.label+"("+(this.sortMultipleData.indexOf(e)+1)+")":t.label},sort:function(){this.$emit("sort",this.sortMultiple?this.sortMultipleSelect:this.mobileSort,this.defaultEvent)}}},void 0,!1,void 0,void 0,void 0);var A=C({},void 0,{name:"BTableColumn",inject:{$table:{name:"$table",default:!1}},props:{label:String,customKey:[String,Number],field:String,meta:[String,Number,Boolean,Function,Object,Array],width:[Number,String],numeric:Boolean,centered:Boolean,searchable:Boolean,sortable:Boolean,visible:{type:Boolean,default:!0},subheading:[String,Number],customSort:Function,customSearch:Function,sticky:Boolean,headerSelectable:Boolean,headerClass:String,cellClass:String,thAttrs:{type:Function,default:function(){return{}}},tdAttrs:{type:Function,default:function(){return{}}}},data:function(){return{newKey:this.customKey||this.label,_isTableColumn:!0}},computed:{thClasses:function(){var t=this.thAttrs(this),e=[this.headerClass,{"is-sortable":this.sortable,"is-sticky":this.sticky,"is-unselectable":this.isHeaderUnSelectable}];return t&&t.class&&e.push(t.class),e},thStyle:function(){var t=this.thAttrs(this),e=[this.style];return t&&t.style&&e.push(t.style),e},rootClasses:function(){return[this.cellClass,{"has-text-right":this.numeric&&!this.centered,"has-text-centered":this.centered,"is-sticky":this.sticky}]},style:function(){return{width:g(this.width)}},hasDefaultSlot:function(){return!!this.$scopedSlots.default},isHeaderUnSelectable:function(){return!this.headerSelectable&&this.sortable}},methods:{getRootClasses:function(t){var e=this.tdAttrs(t,this),n=[this.rootClasses];return e&&e.class&&n.push(e.class),n},getRootStyle:function(t){var e=this.tdAttrs(t,this),n=[];return e&&e.style&&n.push(e.style),n}},created:function(){if(!this.$table)throw this.$destroy(),new Error("You should wrap bTableColumn on a bTable");this.$table.refreshSlots()},beforeDestroy:function(){this.$table.refreshSlots()},render:function(t){return null}},void 0,void 0,void 0,void 0,void 0);var M,T=C({render:function(){var t,e=this,n=e.$createElement;return(e._self._c||n)(e.tag,e._b({tag:"component",staticClass:"pagination-link",class:(t={"is-current":e.page.isCurrent},t[e.page.class]=!0,t),attrs:{role:"button",href:e.href,disabled:e.isDisabled,"aria-label":e.page["aria-label"],"aria-current":e.page.isCurrent},on:{click:function(t){return t.preventDefault(),e.page.click(t)}}},"component",e.$attrs,!1),[e._t("default",[e._v(e._s(e.page.number))])],2)},staticRenderFns:[]},void 0,{name:"BPaginationButton",props:{page:{type:Object,required:!0},tag:{type:String,default:"a",validator:function(t){return y.defaultLinkTags.indexOf(t)>=0}},disabled:{type:Boolean,default:!1}},computed:{href:function(){if("a"===this.tag)return"#"},isDisabled:function(){return this.disabled||this.page.disabled}}},void 0,!1,void 0,void 0,void 0);var F=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"pagination",class:t.rootClasses},[t.$scopedSlots.previous?t._t("previous",[n("b-icon",{attrs:{icon:t.iconPrev,pack:t.iconPack,both:"","aria-hidden":"true"}})],{page:t.getPage(t.current-1,{disabled:!t.hasPrev,class:"pagination-previous","aria-label":t.ariaPreviousLabel})}):n("BPaginationButton",{staticClass:"pagination-previous",attrs:{disabled:!t.hasPrev,page:t.getPage(t.current-1),"aria-label":t.ariaPreviousLabel}},[n("b-icon",{attrs:{icon:t.iconPrev,pack:t.iconPack,both:"","aria-hidden":"true"}})],1),t.$scopedSlots.next?t._t("next",[n("b-icon",{attrs:{icon:t.iconNext,pack:t.iconPack,both:"","aria-hidden":"true"}})],{page:t.getPage(t.current+1,{disabled:!t.hasNext,class:"pagination-next","aria-label":t.ariaNextLabel})}):n("BPaginationButton",{staticClass:"pagination-next",attrs:{disabled:!t.hasNext,page:t.getPage(t.current+1),"aria-label":t.ariaNextLabel}},[n("b-icon",{attrs:{icon:t.iconNext,pack:t.iconPack,both:"","aria-hidden":"true"}})],1),n("div",{staticClass:"control pagination-input"},[t.pageInput?n("input",{staticClass:"input",attrs:{size:t.pageCount.toString().length,maxlength:t.pageCount.toString().length},domProps:{value:t.inputValue},on:{input:t.handleAllowableInputPageRange,keypress:t.handleOnKeyPress}}):t._e()]),t.simple?n("small",{staticClass:"info"},[1==t.perPage?[t._v(" "+t._s(t.firstItem)+" / "+t._s(t.total)+" ")]:[t._v(" "+t._s(t.firstItem)+"-"+t._s(Math.min(t.current*t.perPage,t.total))+" / "+t._s(t.total)+" ")]],2):n("ul",{staticClass:"pagination-list"},[t.hasFirst?n("li",[t.$scopedSlots.default?t._t("default",null,{page:t.getPage(1)}):n("BPaginationButton",{attrs:{page:t.getPage(1)}})],2):t._e(),t.hasFirstEllipsis?n("li",[n("span",{staticClass:"pagination-ellipsis"},[t._v("…")])]):t._e(),t._l(t.pagesInRange,function(e){return n("li",{key:e.number},[t.$scopedSlots.default?t._t("default",null,{page:e}):n("BPaginationButton",{attrs:{page:e}})],2)}),t.hasLastEllipsis?n("li",[n("span",{staticClass:"pagination-ellipsis"},[t._v("…")])]):t._e(),t.hasLast?n("li",[t.$scopedSlots.default?t._t("default",null,{page:t.getPage(t.pageCount)}):n("BPaginationButton",{attrs:{page:t.getPage(t.pageCount)}})],2):t._e()],2)],2)},staticRenderFns:[]},void 0,{name:"BPagination",components:(M={},n(M,P.name,P),n(M,T.name,T),M),model:{prop:"current",event:"update:current"},props:{total:[Number,String],perPage:{type:[Number,String],default:20},current:{type:[Number,String],default:1},rangeBefore:{type:[Number,String],default:1},rangeAfter:{type:[Number,String],default:1},size:String,simple:Boolean,rounded:Boolean,order:String,iconPack:String,iconPrev:{type:String,default:function(){return y.defaultIconPrev}},iconNext:{type:String,default:function(){return y.defaultIconNext}},ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,pageInput:{type:Boolean,default:!1},pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{inputValue:this.current}},computed:{rootClasses:function(){return[this.order,this.size,this.pageInputPosition,{"is-simple":this.simple,"is-rounded":this.rounded,"has-input":this.pageInput}]},beforeCurrent:function(){return parseInt(this.rangeBefore)},afterCurrent:function(){return parseInt(this.rangeAfter)},pageCount:function(){return Math.ceil(this.total/this.perPage)},firstItem:function(){var t=this.current*this.perPage-this.perPage+1;return t>=0?t:0},hasPrev:function(){return this.current>1},hasFirst:function(){return this.current>=2+this.beforeCurrent},hasFirstEllipsis:function(){return this.current>=this.beforeCurrent+4},hasLast:function(){return this.current<=this.pageCount-(1+this.afterCurrent)},hasLastEllipsis:function(){return this.current<this.pageCount-(2+this.afterCurrent)},hasNext:function(){return this.current<this.pageCount},pagesInRange:function(){if(!this.simple){var t=Math.max(1,this.current-this.beforeCurrent);t-1==2&&t--;var e=Math.min(this.current+this.afterCurrent,this.pageCount);this.pageCount-e==2&&e++;for(var n=[],i=t;i<=e;i++)n.push(this.getPage(i));return n}}},watch:{pageCount:function(t){this.current>t&&this.last()},current:function(t){this.inputValue=t},debouncePageInput:{handler:function(t){this.debounceHandlePageInput=b(this.handleOnInputPageChange,t)},immediate:!0}},methods:{prev:function(t){this.changePage(this.current-1,t)},next:function(t){this.changePage(this.current+1,t)},first:function(t){this.changePage(1,t)},last:function(t){this.changePage(this.pageCount,t)},changePage:function(t,e){this.current===t||t<1||t>this.pageCount||(this.$emit("update:current",t),this.$emit("change",t),e&&e.target&&this.$nextTick(function(){return e.target.focus()}))},getPage:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{number:t,isCurrent:this.current===t,click:function(n){return e.changePage(t,n)},input:function(t,n){return e.changePage(+n,t)},disabled:n.disabled||!1,class:n.class||"","aria-label":n["aria-label"]||this.getAriaPageLabel(t,this.current===t)}},getAriaPageLabel:function(t,e){return!this.ariaPageLabel||e&&this.ariaCurrentLabel?this.ariaPageLabel&&e&&this.ariaCurrentLabel?this.ariaCurrentLabel+", "+this.ariaPageLabel+" "+t+".":null:this.ariaPageLabel+" "+t+"."},handleOnInputPageChange:function(t){this.getPage(this.inputValue).input(t,this.inputValue)},handleOnInputDebounce:function(t){this.debouncePageInput?this.debounceHandlePageInput(t):this.handleOnInputPageChange(t)},handleOnKeyPress:function(t){var e=t.which||t.keyCode;return e>=48&&e<=57||t.preventDefault()},handleAllowableInputPageRange:function(t){+t.target.value>0&&+t.target.value<=this.pageCount?this.handleOnInputValue(t):(this.inputValue=1,this.inputValue="")},handleOnInputValue:function(t){var e=+t.target.value;this.inputValue=e,Number.isInteger(this.inputValue)?this.handleOnInputDebounce(t):this.inputValue=this.current}}},void 0,!1,void 0,void 0,void 0);var L,N=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"top level"},[n("div",{staticClass:"level-left"},[t._t("default")],2),n("div",{staticClass:"level-right"},[t.paginated?n("div",{staticClass:"level-item"},[n("b-pagination",{attrs:{"icon-pack":t.iconPack,total:t.total,"per-page":t.perPage,simple:t.paginationSimple,size:t.paginationSize,current:t.newCurrentPage,rounded:t.rounded,"aria-next-label":t.ariaNextLabel,"aria-previous-label":t.ariaPreviousLabel,"aria-page-label":t.ariaPageLabel,"aria-current-label":t.ariaCurrentLabel,"page-input":t.pageInput,order:t.paginationOrder,"page-input-position":t.pageInputPosition,"debounce-page-input":t.debouncePageInput},on:{change:t.pageChanged}})],1):t._e()])])},staticRenderFns:[]},void 0,{name:"BTablePagination",components:n({},F.name,F),props:{paginated:Boolean,total:[Number,String],perPage:[Number,String],currentPage:[Number,String],paginationSimple:Boolean,paginationSize:String,rounded:Boolean,iconPack:String,ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,pageInput:Boolean,paginationOrder:String,pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{newCurrentPage:this.currentPage}},watch:{currentPage:function(t){this.newCurrentPage=t}},methods:{pageChanged:function(t){this.newCurrentPage=t>0?t:1,this.$emit("update:currentPage",this.newCurrentPage),this.$emit("page-change",this.newCurrentPage)}}},void 0,!1,void 0,void 0,void 0);var z,E=C({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-table"},[t._t("default"),t.mobileCards&&t.hasSortablenewColumns?n("b-table-mobile-sort",{attrs:{"current-sort-column":t.currentSortColumn,"sort-multiple":t.sortMultiple,"sort-multiple-data":t.sortMultipleDataComputed,"is-asc":t.isAsc,columns:t.newColumns,placeholder:t.mobileSortPlaceholder,"icon-pack":t.iconPack,"sort-icon":t.sortIcon,"sort-icon-size":t.sortIconSize},on:{sort:function(e,n){return t.sort(e,null,n)},removePriority:function(e){return t.removeSortingPriority(e)}}}):t._e(),!t.paginated||"top"!==t.paginationPosition&&"both"!==t.paginationPosition?t._e():[t._t("pagination",[n("b-table-pagination",t._b({attrs:{"per-page":t.perPage,paginated:t.paginated,rounded:t.paginationRounded,"icon-pack":t.iconPack,total:t.newDataTotal,"current-page":t.newCurrentPage,"aria-next-label":t.ariaNextLabel,"aria-previous-label":t.ariaPreviousLabel,"aria-page-label":t.ariaPageLabel,"aria-current-label":t.ariaCurrentLabel,"page-input":t.pageInput,"pagination-order":t.paginationOrder,"page-input-position":t.pageInputPosition,"debounce-page-input":t.debouncePageInput},on:{"update:currentPage":function(e){t.newCurrentPage=e},"update:current-page":function(e){t.newCurrentPage=e},"page-change":function(e){return t.$emit("page-change",e)}}},"b-table-pagination",t.$attrs,!1),[t._t("top-left")],2)])],n("div",{staticClass:"table-wrapper",class:t.tableWrapperClasses,style:t.tableStyle},[n("table",{staticClass:"table",class:t.tableClasses,attrs:{tabindex:!!t.focusable&&0},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:e.target!==e.currentTarget?null:(e.preventDefault(),t.pressedArrow(-1))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:e.target!==e.currentTarget?null:(e.preventDefault(),t.pressedArrow(1))}]}},[t.caption?n("caption",{directives:[{name:"show",rawName:"v-show",value:t.showCaption,expression:"showCaption"}]},[t._v(t._s(t.caption))]):t._e(),t.newColumns.length&&t.showHeader?n("thead",[n("tr",[t.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):t._e(),t.checkable&&"left"===t.checkboxPosition?n("th",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[t.headerCheckable?[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isAllChecked,type:t.checkboxType,disabled:t.isAllUncheckable},nativeOn:{change:function(e){return t.checkAll(e)}}})]:t._e()],2):t._e(),t._l(t.visibleColumns,function(e,i){return n("th",t._b({key:e.newKey+":"+i+"header",class:[e.thClasses,{"is-current-sort":!t.sortMultiple&&t.currentSortColumn===e}],style:e.thStyle,attrs:{draggable:t.canDragColumn},on:{click:function(n){return n.stopPropagation(),t.sort(e,null,n)},dragstart:function(n){return t.handleColumnDragStart(n,e,i)},dragend:function(n){return t.handleColumnDragEnd(n,e,i)},drop:function(n){return t.handleColumnDrop(n,e,i)},dragover:function(n){return t.handleColumnDragOver(n,e,i)},dragleave:function(n){return t.handleColumnDragLeave(n,e,i)}}},"th",e.thAttrs(e),!1),[n("div",{staticClass:"th-wrap",class:{"is-numeric":e.numeric,"is-centered":e.centered}},[e.$scopedSlots&&e.$scopedSlots.header?[n("b-slot-component",{attrs:{component:e,scoped:"",name:"header",tag:"span",props:{column:e,index:i}}})]:[n("span",{staticClass:"is-relative"},[t._v(" "+t._s(e.label)+" "),t.sortMultiple&&t.sortMultipleDataComputed&&t.sortMultipleDataComputed.length>0&&t.sortMultipleDataComputed.filter(function(t){return t.field===e.field}).length>0?[n("b-icon",{class:{"is-desc":"desc"===t.sortMultipleDataComputed.filter(function(t){return t.field===e.field})[0].order},attrs:{icon:t.sortIcon,pack:t.iconPack,both:"",size:t.sortIconSize}}),t._v(" "+t._s(t.findIndexOfSortData(e))+" "),n("button",{staticClass:"delete is-small multi-sort-cancel-icon",attrs:{type:"button"},on:{click:function(n){return n.stopPropagation(),t.removeSortingPriority(e)}}})]:n("b-icon",{staticClass:"sort-icon",class:{"is-desc":!t.isAsc,"is-invisible":t.currentSortColumn!==e},attrs:{icon:t.sortIcon,pack:t.iconPack,both:"",size:t.sortIconSize}})],2)]],2)])}),t.checkable&&"right"===t.checkboxPosition?n("th",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[t.headerCheckable?[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isAllChecked,type:t.checkboxType,disabled:t.isAllUncheckable},nativeOn:{change:function(e){return t.checkAll(e)}}})]:t._e()],2):t._e()],2),t.hasCustomSubheadings?n("tr",{staticClass:"is-subheading"},[t.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):t._e(),t.checkable&&"left"===t.checkboxPosition?n("th"):t._e(),t._l(t.visibleColumns,function(e,i){return n("th",{key:e.newKey+":"+i+"subheading",style:e.style},[n("div",{staticClass:"th-wrap",class:{"is-numeric":e.numeric,"is-centered":e.centered}},[e.$scopedSlots&&e.$scopedSlots.subheading?[n("b-slot-component",{attrs:{component:e,scoped:"",name:"subheading",tag:"span",props:{column:e,index:i}}})]:[t._v(t._s(e.subheading))]],2)])}),t.checkable&&"right"===t.checkboxPosition?n("th"):t._e()],2):t._e(),t.hasSearchablenewColumns?n("tr",[t.showDetailRowIcon?n("th",{attrs:{width:"40px"}}):t._e(),t.checkable&&"left"===t.checkboxPosition?n("th"):t._e(),t._l(t.visibleColumns,function(e,i){return n("th",t._b({key:e.newKey+":"+i+"searchable",class:{"is-sticky":e.sticky},style:e.thStyle},"th",e.thAttrs(e),!1),[n("div",{staticClass:"th-wrap"},[e.searchable?[e.$scopedSlots&&e.$scopedSlots.searchable?[n("b-slot-component",{attrs:{component:e,scoped:!0,name:"searchable",tag:"span",props:{column:e,filters:t.filters}}})]:n("b-input",{attrs:{type:e.numeric?"number":"text"},nativeOn:t._d({},[t.filtersEvent,function(e){return t.onFiltersEvent(e)}]),model:{value:t.filters[e.field],callback:function(n){t.$set(t.filters,e.field,n)},expression:"filters[column.field]"}})]:t._e()],2)])}),t.checkable&&"right"===t.checkboxPosition?n("th"):t._e()],2):t._e()]):t._e(),n("tbody",[t._l(t.visibleData,function(e,i){return[n("tr",{key:t.customRowKey?e[t.customRowKey]:i,class:[t.rowClass(e,i),{"is-selected":t.isRowSelected(e,t.selected),"is-checked":t.isRowChecked(e)}],attrs:{draggable:t.canDragRow},on:{click:function(n){return t.selectRow(e)},dblclick:function(n){return t.$emit("dblclick",e)},mouseenter:function(n){return t.emitEventForRow("mouseenter",n,e)},mouseleave:function(n){return t.emitEventForRow("mouseleave",n,e)},contextmenu:function(n){return t.$emit("contextmenu",e,n)},dragstart:function(n){return t.handleDragStart(n,e,i)},dragend:function(n){return t.handleDragEnd(n,e,i)},drop:function(n){return t.handleDrop(n,e,i)},dragover:function(n){return t.handleDragOver(n,e,i)},dragleave:function(n){return t.handleDragLeave(n,e,i)}}},[t.showDetailRowIcon?n("td",{staticClass:"chevron-cell"},[t.hasDetailedVisible(e)?n("a",{attrs:{role:"button"},on:{click:function(n){return n.stopPropagation(),t.toggleDetails(e)}}},[n("b-icon",{class:{"is-expanded":t.isVisibleDetailRow(e)},attrs:{icon:t.detailIcon,pack:t.iconPack,both:""}})],1):t._e()]):t._e(),t.checkable&&"left"===t.checkboxPosition?n("td",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isRowChecked(e),type:t.checkboxType,disabled:!t.isRowCheckable(e)},nativeOn:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.checkRow(e,i,n)}}})],1):t._e(),t._l(t.visibleColumns,function(a,o){return[a.$scopedSlots&&a.$scopedSlots.default?[n("b-slot-component",t._b({key:a.newKey+":"+i+":"+o,class:a.getRootClasses(e),style:a.getRootStyle(e),attrs:{component:a,scoped:"",name:"default",tag:"td","data-label":a.label,props:{row:e,column:a,index:i,colindex:o,toggleDetails:t.toggleDetails}},nativeOn:{click:function(n){return t.$emit("cellclick",e,a,i,o)}}},"b-slot-component",a.tdAttrs(e,a),!1))]:t._e()]}),t.checkable&&"right"===t.checkboxPosition?n("td",{class:["checkbox-cell",{"is-sticky":t.stickyCheckbox}]},[n("b-checkbox",{attrs:{autocomplete:"off",value:t.isRowChecked(e),type:t.checkboxType,disabled:!t.isRowCheckable(e)},nativeOn:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.checkRow(e,i,n)}}})],1):t._e()],2),n("transition",{key:(t.customRowKey?e[t.customRowKey]:i)+"detail",attrs:{name:t.detailTransition}},[t.isActiveDetailRow(e)?n("tr",{staticClass:"detail"},[n("td",{attrs:{colspan:t.columnCount}},[n("div",{staticClass:"detail-container"},[t._t("detail",null,{row:e,index:i})],2)])]):t._e()]),t.isActiveCustomDetailRow(e)?t._t("detail",null,{row:e,index:i}):t._e()]}),t.visibleData.length?t._e():n("tr",{staticClass:"is-empty"},[n("td",{attrs:{colspan:t.columnCount}},[t._t("empty")],2)])],2),void 0!==t.$slots.footer?n("tfoot",[n("tr",{staticClass:"table-footer"},[t.hasCustomFooterSlot()?t._t("footer"):n("th",{attrs:{colspan:t.columnCount}},[t._t("footer")],2)],2)]):t._e()]),t.loading?[t._t("loading",[n("b-loading",{attrs:{"is-full-page":!1,active:t.loading},on:{"update:active":function(e){t.loading=e}}})])]:t._e()],2),t.checkable&&t.hasBottomLeftSlot()||t.paginated&&("bottom"===t.paginationPosition||"both"===t.paginationPosition)?[t._t("pagination",[n("b-table-pagination",t._b({attrs:{"per-page":t.perPage,paginated:t.paginated,rounded:t.paginationRounded,"icon-pack":t.iconPack,total:t.newDataTotal,"current-page":t.newCurrentPage,"aria-next-label":t.ariaNextLabel,"aria-previous-label":t.ariaPreviousLabel,"aria-page-label":t.ariaPageLabel,"aria-current-label":t.ariaCurrentLabel,"page-input":t.pageInput,"pagination-order":t.paginationOrder,"page-input-position":t.pageInputPosition,"debounce-page-input":t.debouncePageInput},on:{"update:currentPage":function(e){t.newCurrentPage=e},"update:current-page":function(e){t.newCurrentPage=e},"page-change":function(e){return t.$emit("page-change",e)}}},"b-table-pagination",t.$attrs,!1),[t._t("bottom-left")],2)])]:t._e()],2)},staticRenderFns:[]},void 0,{name:"BTable",components:(L={},n(L,w.name,w),n(L,P.name,P),n(L,_.name,_),n(L,I.name,I),n(L,$.name,$),n(L,O.name,O),n(L,A.name,A),n(L,N.name,N),L),inheritAttrs:!1,provide:function(){return{$table:this}},props:{data:{type:Array,default:function(){return[]}},columns:{type:Array,default:function(){return[]}},bordered:Boolean,striped:Boolean,narrowed:Boolean,hoverable:Boolean,loading:Boolean,detailed:Boolean,checkable:Boolean,headerCheckable:{type:Boolean,default:!0},checkboxType:{type:String,default:"is-primary"},checkboxPosition:{type:String,default:"left",validator:function(t){return["left","right"].indexOf(t)>=0}},stickyCheckbox:{type:Boolean,default:!1},selected:Object,isRowSelectable:{type:Function,default:function(){return!0}},focusable:Boolean,customIsChecked:Function,isRowCheckable:{type:Function,default:function(){return!0}},checkedRows:{type:Array,default:function(){return[]}},mobileCards:{type:Boolean,default:!0},defaultSort:[String,Array],defaultSortDirection:{type:String,default:"asc"},sortIcon:{type:String,default:"arrow-up"},sortIconSize:{type:String,default:"is-small"},sortMultiple:{type:Boolean,default:!1},sortMultipleData:{type:Array,default:function(){return[]}},sortMultipleKey:{type:String,default:null},paginated:Boolean,currentPage:{type:Number,default:1},perPage:{type:[Number,String],default:20},showDetailIcon:{type:Boolean,default:!0},detailIcon:{type:String,default:"chevron-right"},paginationPosition:{type:String,default:"bottom",validator:function(t){return["bottom","top","both"].indexOf(t)>=0}},paginationRounded:Boolean,backendSorting:Boolean,backendFiltering:Boolean,rowClass:{type:Function,default:function(){return""}},openedDetailed:{type:Array,default:function(){return[]}},hasDetailedVisible:{type:Function,default:function(){return!0}},detailKey:{type:String,default:""},detailTransition:{type:String,default:""},customDetailRow:{type:Boolean,default:!1},backendPagination:Boolean,total:{type:[Number,String],default:0},iconPack:String,mobileSortPlaceholder:String,customRowKey:String,draggable:{type:Boolean,default:!1},draggableColumn:{type:Boolean,default:!1},scrollable:Boolean,ariaNextLabel:String,ariaPreviousLabel:String,ariaPageLabel:String,ariaCurrentLabel:String,stickyHeader:Boolean,height:[Number,String],filtersEvent:{type:String,default:""},cardLayout:Boolean,showHeader:{type:Boolean,default:!0},debounceSearch:Number,caption:String,showCaption:{type:Boolean,default:!0},pageInput:{type:Boolean,default:!1},paginationOrder:String,pageInputPosition:String,debouncePageInput:[Number,String]},data:function(){return{sortMultipleDataLocal:[],getValueByPath:l,visibleDetailRows:this.openedDetailed,newData:this.data,newDataTotal:this.backendPagination?this.total:this.data.length,newCheckedRows:s(this.checkedRows),lastCheckedRowIndex:null,newCurrentPage:this.currentPage,currentSortColumn:{},isAsc:!0,filters:{},defaultSlots:[],firstTimeSort:!0,_isTable:!0,isDraggingRow:!1,isDraggingColumn:!1}},computed:{sortMultipleDataComputed:function(){return this.backendSorting?this.sortMultipleData:this.sortMultipleDataLocal},tableClasses:function(){return{"is-bordered":this.bordered,"is-striped":this.striped,"is-narrow":this.narrowed,"is-hoverable":(this.hoverable||this.focusable)&&this.visibleData.length}},tableWrapperClasses:function(){return{"has-mobile-cards":this.mobileCards,"has-sticky-header":this.stickyHeader,"is-card-list":this.cardLayout,"table-container":this.isScrollable}},tableStyle:function(){return{height:g(this.height)}},visibleData:function(){if(!this.paginated)return this.newData;var t=this.newCurrentPage,e=this.perPage;if(this.newData.length<=e)return this.newData;var n=(t-1)*e,i=parseInt(n,10)+parseInt(e,10);return this.newData.slice(n,i)},visibleColumns:function(){return this.newColumns?this.newColumns.filter(function(t){return t.visible||void 0===t.visible}):this.newColumns},isAllChecked:function(){var t=this,e=this.visibleData.filter(function(e){return t.isRowCheckable(e)});if(0===e.length)return!1;var n=e.some(function(e){return u(t.newCheckedRows,e,t.customIsChecked)<0});return!n},isAllUncheckable:function(){var t=this;return 0===this.visibleData.filter(function(e){return t.isRowCheckable(e)}).length},hasSortablenewColumns:function(){return this.newColumns.some(function(t){return t.sortable})},hasSearchablenewColumns:function(){return this.newColumns.some(function(t){return t.searchable})},hasCustomSubheadings:function(){return!(!this.$scopedSlots||!this.$scopedSlots.subheading)||this.newColumns.some(function(t){return t.subheading||t.$scopedSlots&&t.$scopedSlots.subheading})},columnCount:function(){var t=this.visibleColumns.length;return t+=this.checkable?1:0,t+=this.detailed&&this.showDetailIcon?1:0},showDetailRowIcon:function(){return this.detailed&&this.showDetailIcon},isScrollable:function(){return!!this.scrollable||!!this.newColumns&&this.newColumns.some(function(t){return t.sticky})},newColumns:function(){var t=this;return this.columns&&this.columns.length?this.columns.map(function(e){var n=new(v.extend(A))({parent:t,propsData:e});return n.$scopedSlots={default:function(t){return[n.$createElement("span",{domProps:{innerHTML:l(t.row,e.field)}})]}},n}):this.defaultSlots.filter(function(t){return t.componentInstance&&t.componentInstance.$data&&t.componentInstance.$data._isTableColumn}).map(function(t){return t.componentInstance})},canDragRow:function(){return this.draggable&&!this.isDraggingColumn},canDragColumn:function(){return this.draggableColumn&&!this.isDraggingRow}},watch:{data:function(t){var e=this;this.newData=t,this.backendFiltering||(this.newData=t.filter(function(t){return e.isRowFiltered(t)})),this.backendSorting||this.sort(this.currentSortColumn,!0),this.backendPagination||(this.newDataTotal=this.newData.length)},total:function(t){this.backendPagination&&(this.newDataTotal=t)},currentPage:function(t){this.newCurrentPage=t},newCurrentPage:function(t){this.$emit("update:currentPage",t)},checkedRows:function(t){this.newCheckedRows=s(t)},debounceSearch:{handler:function(t){this.debouncedHandleFiltersChange=b(this.handleFiltersChange,t)},immediate:!0},filters:{handler:function(t){this.debounceSearch?this.debouncedHandleFiltersChange(t):this.handleFiltersChange(t)},deep:!0},openedDetailed:function(t){this.visibleDetailRows=t}},methods:{onFiltersEvent:function(t){this.$emit("filters-event-".concat(this.filtersEvent),{event:t,filters:this.filters})},handleFiltersChange:function(t){var e=this;this.backendFiltering?this.$emit("filters-change",t):(this.newData=this.data.filter(function(t){return e.isRowFiltered(t)}),this.backendPagination||(this.newDataTotal=this.newData.length),this.backendSorting||(this.sortMultiple&&this.sortMultipleDataLocal&&this.sortMultipleDataLocal.length>0?this.doSortMultiColumn():Object.keys(this.currentSortColumn).length>0&&this.doSortSingleColumn(this.currentSortColumn)))},findIndexOfSortData:function(t){var e=this.sortMultipleDataComputed.filter(function(e){return e.field===t.field})[0];return this.sortMultipleDataComputed.indexOf(e)+1},removeSortingPriority:function(t){if(this.backendSorting)this.$emit("sorting-priority-removed",t.field);else{this.sortMultipleDataLocal=this.sortMultipleDataLocal.filter(function(e){return e.field!==t.field});var e=this.sortMultipleDataLocal.map(function(t){return(t.order&&"desc"===t.order?"-":"")+t.field});0===e.length?this.resetMultiSorting():this.newData=p(this.newData,e)}},resetMultiSorting:function(){this.sortMultipleDataLocal=[],this.currentSortColumn={},this.newData=this.data},sortBy:function(t,e,n,i){return n&&"function"==typeof n?s(t).sort(function(t,e){return n(t,e,i)}):s(t).sort(function(t,n){var a=l(t,e),o=l(n,e);return"boolean"==typeof a&&"boolean"==typeof o?i?a-o:o-a:!m(o)&&m(a)?i?1:-1:!m(a)&&m(o)?i?-1:1:a===o?0:(a="string"==typeof a?a.toUpperCase():a,o="string"==typeof o?o.toUpperCase():o,i?a>o?1:-1:a>o?-1:1)})},sortMultiColumn:function(t){if(this.currentSortColumn={},!this.backendSorting){var e=this.sortMultipleDataLocal.filter(function(e){return e.field===t.field})[0];e?e.order="desc"===e.order?"asc":"desc":this.sortMultipleDataLocal.push({field:t.field,order:t.isAsc}),this.doSortMultiColumn()}},doSortMultiColumn:function(){var t=this.sortMultipleDataLocal.map(function(t){return(t.order&&"desc"===t.order?"-":"")+t.field});this.newData=p(this.newData,t)},sort:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t&&t.sortable&&(!this.backendSorting&&this.sortMultiple&&(this.sortMultipleKey&&n[this.sortMultipleKey]||!this.sortMultipleKey)?e?this.doSortMultiColumn():this.sortMultiColumn(t):(this.sortMultiple&&(this.sortMultipleDataLocal=[]),e||(this.isAsc=t===this.currentSortColumn?!this.isAsc:"desc"!==this.defaultSortDirection.toLowerCase()),this.firstTimeSort||this.$emit("sort",t.field,this.isAsc?"asc":"desc",n),this.backendSorting||this.doSortSingleColumn(t),this.currentSortColumn=t))},doSortSingleColumn:function(t){this.newData=this.sortBy(this.newData,t.field,t.customSort,this.isAsc)},isRowSelected:function(t,e){return!!e&&(this.customRowKey?t[this.customRowKey]===e[this.customRowKey]:t===e)},isRowChecked:function(t){return u(this.newCheckedRows,t,this.customIsChecked)>=0},removeCheckedRow:function(t){var e=u(this.newCheckedRows,t,this.customIsChecked);e>=0&&this.newCheckedRows.splice(e,1)},checkAll:function(){var t=this,e=this.isAllChecked;this.visibleData.forEach(function(n){t.isRowCheckable(n)&&t.removeCheckedRow(n),e||t.isRowCheckable(n)&&t.newCheckedRows.push(n)}),this.$emit("check",this.newCheckedRows),this.$emit("check-all",this.newCheckedRows),this.$emit("update:checkedRows",this.newCheckedRows)},checkRow:function(t,e,n){if(this.isRowCheckable(t)){var i=this.lastCheckedRowIndex;this.lastCheckedRowIndex=e,n.shiftKey&&null!==i&&e!==i?this.shiftCheckRow(t,e,i):this.isRowChecked(t)?this.removeCheckedRow(t):this.newCheckedRows.push(t),this.$emit("check",this.newCheckedRows,t),this.$emit("update:checkedRows",this.newCheckedRows)}},shiftCheckRow:function(t,e,n){var i=this,a=this.visibleData.slice(Math.min(e,n),Math.max(e,n)+1),o=!this.isRowChecked(t);a.forEach(function(t){i.removeCheckedRow(t),o&&i.isRowCheckable(t)&&i.newCheckedRows.push(t)})},selectRow:function(t,e){this.$emit("click",t),this.selected!==t&&this.isRowSelectable(t)&&(this.$emit("select",t,this.selected),this.$emit("update:selected",t))},toggleDetails:function(t){this.isVisibleDetailRow(t)?(this.closeDetailRow(t),this.$emit("details-close",t)):(this.openDetailRow(t),this.$emit("details-open",t)),this.$emit("update:openedDetailed",this.visibleDetailRows)},openDetailRow:function(t){var e=this.handleDetailKey(t);this.visibleDetailRows.push(e)},closeDetailRow:function(t){var e=this.handleDetailKey(t),n=this.visibleDetailRows.indexOf(e);n>=0&&this.visibleDetailRows.splice(n,1)},isVisibleDetailRow:function(t){var e=this.handleDetailKey(t);return this.visibleDetailRows.indexOf(e)>=0},isActiveDetailRow:function(t){return this.detailed&&!this.customDetailRow&&this.isVisibleDetailRow(t)},isActiveCustomDetailRow:function(t){return this.detailed&&this.customDetailRow&&this.isVisibleDetailRow(t)},isRowFiltered:function(t){var n=this,i=function(e){if(!n.filters[e])return"continue";var i=n.filters[e],a=n.newColumns.filter(function(t){return t.field===e})[0];if(a&&a.customSearch&&"function"==typeof a.customSearch){if(!a.customSearch(t,i))return{v:!1}}else{var o=n.getValueByPath(t,e);if(null==o)return{v:!1};if(Number.isInteger(o)){if(o!==Number(i))return{v:!1}}else{var s=new RegExp(function(t){return t?t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):t}(i),"i");if(Array.isArray(o)){if(!o.some(function(t){return s.test(f(t))||s.test(t)}))return{v:!1}}else if(!s.test(f(o))&&!s.test(o))return{v:!1}}}};for(var a in this.filters){var o=i(a);switch(o){case"continue":continue;default:if("object"===e(o))return o.v}}return!0},handleDetailKey:function(t){var e=this.detailKey;return e.length&&t?t[e]:t},checkPredefinedDetailedRows:function(){if(this.openedDetailed.length>0&&!this.detailKey.length)throw new Error('If you set a predefined opened-detailed, you must provide a unique key using the prop "detail-key"')},checkSort:function(){if(this.newColumns.length&&this.firstTimeSort)this.initSort(),this.firstTimeSort=!1;else if(this.newColumns.length&&Object.keys(this.currentSortColumn).length>0)for(var t=0;t<this.newColumns.length;t++)if(this.newColumns[t].field===this.currentSortColumn.field){this.currentSortColumn=this.newColumns[t];break}},hasCustomFooterSlot:function(){if(this.$slots.footer.length>1)return!0;var t=this.$slots.footer[0].tag;return"th"===t||"td"===t},hasBottomLeftSlot:function(){return void 0!==this.$slots["bottom-left"]},pressedArrow:function(t){if(this.visibleData.length){var e=this.visibleData.indexOf(this.selected)+t;e=e<0?0:e>this.visibleData.length-1?this.visibleData.length-1:e;var n=this.visibleData[e];if(this.isRowSelectable(n))this.selectRow(n);else{var i=null;if(t>0)for(var a=e;a<this.visibleData.length&&null===i;a++)this.isRowSelectable(this.visibleData[a])&&(i=a);else for(var o=e;o>=0&&null===i;o--)this.isRowSelectable(this.visibleData[o])&&(i=o);i>=0&&this.selectRow(this.visibleData[i])}}},focus:function(){this.focusable&&this.$el.querySelector("table").focus()},initSort:function(){var t=this;if(this.sortMultiple&&this.sortMultipleData)this.sortMultipleData.forEach(function(e){t.sortMultiColumn(e)});else{if(!this.defaultSort)return;var e="",n=this.defaultSortDirection;Array.isArray(this.defaultSort)?(e=this.defaultSort[0],this.defaultSort[1]&&(n=this.defaultSort[1])):e=this.defaultSort;var i=this.newColumns.filter(function(t){return t.field===e})[0];i&&(this.isAsc="desc"!==n.toLowerCase(),this.sort(i,!0))}},handleDragStart:function(t,e,n){this.canDragRow&&(this.isDraggingRow=!0,this.$emit("dragstart",{event:t,row:e,index:n}))},handleDragEnd:function(t,e,n){this.canDragRow&&(this.isDraggingRow=!1,this.$emit("dragend",{event:t,row:e,index:n}))},handleDrop:function(t,e,n){this.canDragRow&&this.$emit("drop",{event:t,row:e,index:n})},handleDragOver:function(t,e,n){this.canDragRow&&this.$emit("dragover",{event:t,row:e,index:n})},handleDragLeave:function(t,e,n){this.canDragRow&&this.$emit("dragleave",{event:t,row:e,index:n})},emitEventForRow:function(t,e,n){return this.$listeners[t]?this.$emit(t,n,e):null},handleColumnDragStart:function(t,e,n){this.canDragColumn&&(this.isDraggingColumn=!0,this.$emit("columndragstart",{event:t,column:e,index:n}))},handleColumnDragEnd:function(t,e,n){this.canDragColumn&&(this.isDraggingColumn=!1,this.$emit("columndragend",{event:t,column:e,index:n}))},handleColumnDrop:function(t,e,n){this.canDragColumn&&this.$emit("columndrop",{event:t,column:e,index:n})},handleColumnDragOver:function(t,e,n){this.canDragColumn&&this.$emit("columndragover",{event:t,column:e,index:n})},handleColumnDragLeave:function(t,e,n){this.canDragColumn&&this.$emit("columndragleave",{event:t,column:e,index:n})},refreshSlots:function(){this.defaultSlots=this.$slots.default||[]}},mounted:function(){this.refreshSlots(),this.checkPredefinedDetailedRows(),this.checkSort()}},void 0,!1,void 0,void 0,void 0),j=function(t,e){t.component(e.name,e)},K={install:function(t){void 0===v&&function(t){v=t}(t),j(t,E),j(t,A)}};z=K,"undefined"!=typeof window&&window.Vue&&window.Vue.use(z),t.BTable=E,t.BTableColumn=A,t.default=K,Object.defineProperty(t,"__esModule",{value:!0})});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Buefy v0.9.
|
|
1
|
+
/*! Buefy v0.9.22 | 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.22 | MIT License | github.com/buefy/buefy */
|
|
2
2
|
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).Tabs={})}(this,function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?i(Object(a),!0).forEach(function(e){n(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}function o(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||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,defaultTooltipCloseDelay: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};function s(t,e){return(t&e)===e}function l(t,e,n){return Math.max(e,Math.min(n,t))}var u=function(t){return"object"===e(t)&&!Array.isArray(t)},c=function t(e,i){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(o||!Object.assign){var r=Object.getOwnPropertyNames(i).map(function(a){return n({},a,function(t){return u(i[t])&&null!==e&&e.hasOwnProperty(t)&&u(e[t])}(a)?t(e[a],i[a],o):i[a])}).reduce(function(t,e){return a({},t,{},e)},{});return a({},e,{},r)}return Object.assign(e,i)};function d(t){return t&&t._isVue}var f={sizes:{default:"mdi-24px","is-small":null,"is-medium":"mdi-36px","is-large":"mdi-48px"},iconPrefix:"mdi-"},h=function(){var t=r&&r.defaultIconComponent?"":"fa-";return{sizes:{default:null,"is-small":null,"is-medium":t+"lg","is-large":t+"2x"},iconPrefix:t,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(t,e,n,i,a,o,r,s,l,u){"boolean"!=typeof r&&(l=s,s=r,r=!1);var c,d="function"==typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,a&&(d.functional=!0)),i&&(d._scopeId=i),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=c):e&&(c=r?function(){e.call(this,u(this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),c)if(d.functional){var f=d.render;d.render=function(t,e){return c.call(e),f(t,e)}}else{var h=d.beforeCreate;d.beforeCreate=h?[].concat(h,c):[c]}return n};var p,v,b=m({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"icon",class:[t.newType,t.size]},[t.useIconComponent?n(t.useIconComponent,{tag:"component",class:[t.customClass],attrs:{icon:[t.newPack,t.newIcon],size:t.newCustomSize}}):n("i",{class:[t.newPack,t.newIcon,t.newCustomSize,t.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 t;return(t={mdi:f,fa:h(),fas:h(),far:h(),fad:h(),fab:h(),fal:h(),"fa-solid":h(),"fa-regular":h(),"fa-light":h(),"fa-thin":h(),"fa-duotone":h(),"fa-brands":h()},r&&r.customIconPacks&&(t=c(t,r.customIconPacks,!0)),t)[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 t=[];if("string"==typeof this.type)t=this.type.split("-");else for(var e in this.type)if(this.type[e]){t=e.split("-");break}if(!(t.length<=1)){var n=o(t).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(t){return this.both&&this.iconConfig&&this.iconConfig.internalIcons&&this.iconConfig.internalIcons[t]?this.iconConfig.internalIcons[t]:t}}},void 0,!1,void 0,void 0,void 0),g={name:"BSlotComponent",props:{component:{type:Object,required:!0},name:{type:String,default:"default"},scoped:{type:Boolean},props:{type:Object},tag:{type:String,default:"div"},event:{type:String,default:"hook:updated"}},methods:{refresh:function(){this.$forceUpdate()}},created:function(){d(this.component)&&this.component.$on(this.event,this.refresh)},beforeDestroy:function(){d(this.component)&&this.component.$off(this.event,this.refresh)},render:function(t){if(d(this.component))return t(this.tag,{},this.scoped?this.component.$scopedSlots[this.name](this.props):this.component.$slots[this.name])}};var y,I=m({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"b-tabs",class:t.mainClasses},[n("nav",{staticClass:"tabs",class:t.navClasses,on:{keydown:t.manageTablistKeydown}},[t._t("start"),n("ul",{attrs:{"aria-orientation":t.vertical?"vertical":"horizontal",role:"tablist"}},t._l(t.items,function(e,i){return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"childItem.visible"}],key:e.value,class:[e.headerClass,{"is-active":e.isActive,"is-disabled":e.disabled}],attrs:{role:"tab","aria-controls":e.value+"-content","aria-selected":""+e.isActive}},[e.$scopedSlots.header?n("b-slot-component",{ref:"tabLink",refInFor:!0,attrs:{component:e,name:"header",tag:"a",id:e.value+"-label",tabindex:e.isActive?0:-1},on:{keydown:function(n){return t.manageTabKeydown(n,e)}},nativeOn:{focus:function(e){t.currentFocus=i},click:function(n){return t.childClick(e)}}}):n("a",{ref:"tabLink",refInFor:!0,attrs:{id:e.value+"-label",tabindex:e.isActive?0:-1},on:{focus:function(e){t.currentFocus=i},click:function(n){return t.childClick(e)},keydown:function(n){return t.manageTabKeydown(n,e)}}},[e.icon?n("b-icon",{attrs:{icon:e.icon,pack:e.iconPack,size:t.size}}):t._e(),n("span",[t._v(t._s(e.label))])],1)],1)}),0),t._t("end")],2),n("section",{staticClass:"tab-content",class:{"is-transitioning":t.isTransitioning}},[t._t("default")],2)])},staticRenderFns:[]},void 0,{name:"BTabs",mixins:[(p="tab",{mixins:[function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i={provide:function(){return n({},"b"+t,this)}};return s(e,1)&&(i.data=function(){return{childItems:[]}},i.methods={_registerItem:function(t){this.childItems.push(t)},_unregisterItem:function(t){this.childItems=this.childItems.filter(function(e){return e!==t})}},s(e,3)&&(i.watch={childItems:function(t){if(t.length>0&&this.$scopedSlots.default){var e=t[0].$vnode.tag,n=0;!function i(a){var o=!0,r=!1,s=void 0;try{for(var l,u=function(){var a=l.value;if(a.tag===e){var o=t.find(function(t){return t.$vnode===a});o&&(o.index=n++)}else if(a.tag){var r=a.componentInstance?a.componentInstance.$scopedSlots.default?a.componentInstance.$scopedSlots.default():a.componentInstance.$children:a.children;Array.isArray(r)&&r.length>0&&i(r.map(function(t){return t.$vnode}))}},c=a[Symbol.iterator]();!(o=(l=c.next()).done);o=!0)u()}catch(t){r=!0,s=t}finally{try{o||null==c.return||c.return()}finally{if(r)throw s}}return!1}(this.$scopedSlots.default())}}},i.computed={sortedItems:function(){return this.childItems.slice().sort(function(t,e){return t.index-e.index})}})),i}(p,3)],components:(v={},n(v,b.name,b),n(v,g.name,g),v),props:{value:{type:[String,Number],default:void 0},size:String,animated:{type:Boolean,default:!0},animation:String,animateInitially:Boolean,vertical:{type:Boolean,default:!1},position:String,destroyOnHide:{type:Boolean,default:!1}},data:function(){return{activeId:this.value,defaultSlots:[],contentHeight:0,isTransitioning:!1}},mounted:function(){if("number"==typeof this.value){var t=l(this.value,0,this.items.length-1);this.activeId=this.items[t].value}else this.activeId=this.value},computed:{activeItem:function(){var t=this;return void 0===this.activeId?this.items[0]:null===this.activeId?null:this.childItems.find(function(e){return e.value===t.activeId})},items:function(){return this.sortedItems}},watch:{value:function(t){"number"==typeof t?(t=l(t,0,this.items.length-1),this.activeId=this.items[t].value):this.activeId=t},activeId:function(t,e){var n=null!=e?this.childItems.find(function(t){return t.value===e}):null;n&&this.activeItem&&(n.deactivate(this.activeItem.index),this.activeItem.activate(n.index)),(t=this.activeItem?"number"==typeof this.value?this.items.indexOf(this.activeItem):this.activeItem.value:void 0)!==this.value&&this.$emit("input",t)}},methods:{childClick:function(t){this.activeId=t.value},getNextItemIdx:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null,i=t+1;i<this.items.length;i++){var a=this.items[i];if(a.visible&&(!e||e&&!a.disabled)){n=i;break}}return n},getPrevItemIdx:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null,i=t-1;i>=0;i--){var a=this.items[i];if(a.visible&&(!e||e&&!a.disabled)){n=i;break}}return n}}})],props:{expanded:{type:Boolean,default:function(){return r.defaultTabsExpanded}},type:{type:[String,Object],default:function(){return r.defaultTabsType}},animated:{type:Boolean,default:function(){return r.defaultTabsAnimated}},multiline:Boolean},data:function(){return{currentFocus:this.value}},computed:{mainClasses:function(){return n({"is-fullwidth":this.expanded,"is-vertical":this.vertical,"is-multiline":this.multiline},this.position,this.position&&this.vertical)},navClasses:function(){var t;return[this.type,this.size,(t={},n(t,this.position,this.position&&!this.vertical),n(t,"is-fullwidth",this.expanded),n(t,"is-toggle","is-toggle-rounded"===this.type),t)]}},methods:{giveFocusToTab:function(t){t.$el&&t.$el.focus?t.$el.focus():t.focus&&t.focus()},manageTablistKeydown:function(t){switch(t.key){case this.vertical?"ArrowUp":"ArrowLeft":case this.vertical?"Up":"Left":var e=this.getPrevItemIdx(this.currentFocus,!0);null===e&&(e=this.getPrevItemIdx(this.items.length,!0)),null!==e&&this.$refs.tabLink&&e<this.$refs.tabLink.length&&!this.items[e].disabled&&this.giveFocusToTab(this.$refs.tabLink[e]),t.preventDefault();break;case this.vertical?"ArrowDown":"ArrowRight":case this.vertical?"Down":"Right":var n=this.getNextItemIdx(this.currentFocus,!0);null===n&&(n=this.getNextItemIdx(-1,!0)),null!==n&&this.$refs.tabLink&&n<this.$refs.tabLink.length&&!this.items[n].disabled&&this.giveFocusToTab(this.$refs.tabLink[n]),t.preventDefault()}},manageTabKeydown:function(t,e){switch(t.key){case" ":case"Space":case"Spacebar":case"Enter":this.childClick(e),t.preventDefault()}}}},void 0,!1,void 0,void 0,void 0);var w,k=m({},void 0,{name:"BTabItem",mixins:[(y="tab",{mixins:[function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n={inject:{parent:{from:"b"+t,default:!1}},created:function(){if(this.parent)this.parent._registerItem&&this.parent._registerItem(this);else if(!s(e,2))throw this.$destroy(),new Error("You should wrap "+this.$options.name+" in a "+t)},beforeDestroy:function(){this.parent&&this.parent._unregisterItem&&this.parent._unregisterItem(this)}};return s(e,1)&&(n.data=function(){return{index:null}}),n}(y,1)],props:{label:String,icon:String,iconPack:String,visible:{type:Boolean,default:!0},value:{type:String,default:function(){return this._uid.toString()}},headerClass:{type:[String,Array,Object],default:null}},data:function(){return{transitionName:null,elementClass:"item",elementRole:null}},computed:{isActive:function(){return this.parent.activeItem===this}},methods:{activate:function(t){this.transitionName=this.index<t?this.parent.vertical?"slide-down":"slide-next":this.parent.vertical?"slide-up":"slide-prev"},deactivate:function(t){this.transitionName=t<this.index?this.parent.vertical?"slide-down":"slide-next":this.parent.vertical?"slide-up":"slide-prev"}},render:function(t){var e=this;if(!this.parent.destroyOnHide||this.isActive&&this.visible){var n=t("div",{directives:[{name:"show",value:this.isActive&&this.visible}],attrs:{class:this.elementClass,role:this.elementRole,id:"".concat(this.value,"-content"),"aria-labelledby":this.elementRole?"".concat(this.value,"-label"):null,tabindex:this.isActive?0:-1}},this.$slots.default);return this.parent.animated?t("transition",{props:{name:this.parent.animation||this.transitionName,appear:!0===this.parent.animateInitially||void 0},on:{"before-enter":function(){e.parent.isTransitioning=!0},"after-enter":function(){e.parent.isTransitioning=!1}}},[n]):n}}})],props:{disabled:Boolean},data:function(){return{elementClass:"tab-item",elementRole:"tabpanel"}}},void 0,void 0,void 0,void 0,void 0),C=function(t,e){t.component(e.name,e)},S={install:function(t){C(t,I),C(t,k)}};w=S,"undefined"!=typeof window&&window.Vue&&window.Vue.use(w),t.BTabItem=k,t.BTabs=I,t.default=S,Object.defineProperty(t,"__esModule",{value:!0})});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Buefy v0.9.
|
|
1
|
+
/*! Buefy v0.9.22 | 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.22 | 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).Tag={})}(this,function(e){"use strict";var t=function(e,t,s,n,o,i,a,c,l,d){"boolean"!=typeof a&&(l=c,c=a,a=!1);var r,p="function"==typeof s?s.options:s;if(e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,o&&(p.functional=!0)),n&&(p._scopeId=n),i?(r=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(i)},p._ssrRegister=r):t&&(r=a?function(){t.call(this,d(this.$root.$options.shadowRoot))}:function(e){t.call(this,c(e))}),r)if(p.functional){var u=p.render;p.render=function(e,t){return r.call(t),u(e,t)}}else{var f=p.beforeCreate;p.beforeCreate=f?[].concat(f,r):[r]}return s};var s=t({render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.attached&&e.closable?s("div",{staticClass:"tags has-addons"},[s("span",{staticClass:"tag",class:[e.type,e.size,{"is-rounded":e.rounded}]},[e.icon?s("b-icon",{attrs:{icon:e.icon,size:e.size,type:e.iconType,pack:e.iconPack}}):e._e(),s("span",{class:{"has-ellipsis":e.ellipsis},on:{click:e.click}},[e._t("default")],2)],1),s("a",{staticClass:"tag",class:[e.size,e.closeType,{"is-rounded":e.rounded},e.closeIcon?"has-delete-icon":"is-delete"],attrs:{role:"button","aria-label":e.ariaCloseLabel,tabindex:!!e.tabstop&&0,disabled:e.disabled},on:{click:e.close,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:(t.preventDefault(),e.close(t))}}},[e.closeIcon?s("b-icon",{attrs:{"custom-class":"",icon:e.closeIcon,size:e.size,type:e.closeIconType,pack:e.closeIconPack}}):e._e()],1)]):s("span",{staticClass:"tag",class:[e.type,e.size,{"is-rounded":e.rounded}]},[e.icon?s("b-icon",{attrs:{icon:e.icon,size:e.size,type:e.iconType,pack:e.iconPack}}):e._e(),s("span",{class:{"has-ellipsis":e.ellipsis},on:{click:e.click}},[e._t("default")],2),e.closable?s("a",{staticClass:"delete is-small",class:e.closeType,attrs:{role:"button","aria-label":e.ariaCloseLabel,disabled:e.disabled,tabindex:!!e.tabstop&&0},on:{click:e.close,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:(t.preventDefault(),e.close(t))}}}):e._e()],1)},staticRenderFns:[]},void 0,{name:"BTag",props:{attached:Boolean,closable:Boolean,type:String,size:String,rounded:Boolean,disabled:Boolean,ellipsis:Boolean,tabstop:{type:Boolean,default:!0},ariaCloseLabel:String,icon:String,iconType:String,iconPack:String,closeType:String,closeIcon:String,closeIconPack:String,closeIconType:String},methods:{close:function(e){this.disabled||this.$emit("close",e)},click:function(e){this.disabled||this.$emit("click",e)}}},void 0,!1,void 0,void 0,void 0);var n,o=t({render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"tags",class:{"has-addons":this.attached}},[this._t("default")],2)},staticRenderFns:[]},void 0,{name:"BTaglist",props:{attached:Boolean}},void 0,!1,void 0,void 0,void 0),i=function(e,t){e.component(t.name,t)},a={install:function(e){i(e,s),i(e,o)}};n=a,"undefined"!=typeof window&&window.Vue&&window.Vue.use(n),e.BTag=s,e.BTaglist=o,e.default=a,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Buefy v0.9.
|
|
1
|
+
/*! Buefy v0.9.22 | 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) :
|
|
@@ -1001,7 +1001,7 @@
|
|
|
1001
1001
|
*/
|
|
1002
1002
|
valueLength: function valueLength() {
|
|
1003
1003
|
if (typeof this.computedValue === 'string') {
|
|
1004
|
-
return this.computedValue.length;
|
|
1004
|
+
return Array.from(this.computedValue).length;
|
|
1005
1005
|
} else if (typeof this.computedValue === 'number') {
|
|
1006
1006
|
return this.computedValue.toString().length;
|
|
1007
1007
|
}
|
|
@@ -1016,6 +1016,9 @@
|
|
|
1016
1016
|
*/
|
|
1017
1017
|
value: function value(_value) {
|
|
1018
1018
|
this.newValue = _value;
|
|
1019
|
+
},
|
|
1020
|
+
type: function type(_type) {
|
|
1021
|
+
this.newType = _type;
|
|
1019
1022
|
}
|
|
1020
1023
|
},
|
|
1021
1024
|
methods: {
|