UNPKG

@minix-iot/ui

Version:

基于Vue的移动端轻量级UI组件库

7 lines 2.74 kB
/*! * @minix-iot/ui v0.2.4 - buttongroup.js, 2709badeb34a699cd765, Wed Nov 24 2021 14:21:12 GMT+0800 (中国标准时间) * (c) 2017-2020 JDC * Released under the MIT License. */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("buttongroup",[],e):"object"==typeof exports?exports.buttongroup=e():t.buttongroup=e()}("undefined"!=typeof self?self:this,(function(){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="./",n(n.s=100)}({100:function(t,e,n){"use strict";n.r(e);var o={name:"mx-button-group",props:{shape:{type:String,default:""},type:{type:String,default:""}},data:function(){return{cls:""}},mounted:function(){this.cls="mx-button-group ".concat(this.shape," ").concat(this.type)}},r=n(37),u=Object(r.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("div",{class:this.cls},[this._t("default")],2)}),[],!1,null,null,null).exports;n(46);u.install=function(t){t.component(u.name,u)};e.default=u},37:function(t,e,n){"use strict";function o(t,e,n,o,r,u,i,s){var f,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),u&&(c._scopeId="data-v-"+u),i?(f=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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},c._ssrRegister=f):r&&(f=s?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),f)if(c.functional){c._injectStyles=f;var a=c.render;c.render=function(t,e){return f.call(e),a(t,e)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,f):[f]}return{exports:t,options:c}}n.d(e,"a",(function(){return o}))},46:function(t,e,n){}})})); //# sourceMappingURL=buttongroup.js.map