newb-ui-package
Version:
newbtech ui for manage system
1 lines • 1.5 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["vue-nb-ui"]=t():e["vue-nb-ui"]=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=66)}({66:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67);r.a.install=function(e){e.component(r.a.name,r.a)},t.default=r.a},67:function(e,t,n){"use strict";t.a={name:"NbTabPanel",props:{label:String,name:String},data:function(){return{index:null}},computed:{active:function(){return this.$parent.currentName===this.name||this.$parent.currentName===this.index}},render:function(){return(0,arguments[0])("div",{class:"nb-tab-panel",directives:[{name:"show",value:this.active}]},[this.$slots.default])},mounted:function(){this.$parent.addPanels(this)},destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el),this.$parent.removePanels(this)},watch:{label:function(){this.$parent.$forceUpdate()}}}}})});