UNPKG

nutui-by-zchuhyy

Version:

一套轻量级移动端Vue组件库

7 lines 3.4 kB
/*! * nutui-by-zchuhyy v0.0.16 - col.js, 7c15ab32fbfb9d26339f, Wed Mar 17 2021 16:52:20 GMT+0800 (GMT+08:00) * (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("col",[],e):"object"==typeof exports?exports.col=e():t.col=e()}("undefined"!=typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=97)}({0:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,c){var u,a="function"==typeof t?t.options:t;if(e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),s?(u=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},a._ssrRegister=u):o&&(u=c?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(a.functional){a._injectStyles=u;var f=a.render;a.render=function(t,e){return u.call(e),f(t,e)}}else{var l=a.beforeCreate;a.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:a}}n.d(e,"a",(function(){return r}))},2:function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},n.apply(this,arguments)}t.exports=n},3:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},60:function(t,e,n){"use strict";var r=n(3),o=n.n(r),i=n(2),s=n.n(i),c={name:"nut-col",props:{span:{type:[String,Number],default:"24"},offset:{type:[String,Number],default:"0"}},data:function(){return{classObject:{}}},watch:{span:{handler:function(t){t&&(this.classObject=s()(this.classObject,o()({},"nut-col-"+t,this.span==t)))},immediate:!0},offset:{handler:function(t){t&&(this.classObject=s()(this.classObject,o()({},"nut-col-offset-"+t,this.offset==t)))},immediate:!0}}},u=n(0),a=Object(u.a)(c,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"nut-col",class:this.classObject},[this._t("default")],2)}),[],!1,null,null,null);e.a=a.exports},97:function(t,e,n){"use strict";n.r(e);var r=n(60);n(98);r.a.install=function(t){t.component(r.a.name,r.a)},e.default=r.a},98:function(t,e,n){}})})); //# sourceMappingURL=col.js.map