{"size": 2548, "ext": "js", "max_stars_repo_path": "dist/components/toggle/index.js", "max_stars_repo_name": "huiianyue007/vue-tkui", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "dist/components/toggle/index.js", "max_issues_repo_name": "huiianyue007/vue-tkui", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "dist/components/toggle/index.js", "max_forks_repo_name": "huiianyue007/vue-tkui", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 637.0, "max_line_length": 2527, "alphanum_fraction": 0.6970172684}
/*!
* Vue Tkui
*/   
!(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueTkui=t():e.VueTkui=t()})(this,(function(){return (function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=199)})({0:function(e,t){e.exports=function(e,t,n,o,r){var u,s=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(u=e,s=e.default);var c="function"==typeof s?s.options:s;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns),o&&(c._scopeId=o);var a;if(r?(a=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=a):n&&(a=n),a){var l=c.functional,f=l?c.render:c.beforeCreate;l?c.render=function(e,t){return a.call(t),f(e,t)}:c.beforeCreate=f?[].concat(f,a):[a]}return{esModule:u,exports:s,options:c}}},100:function(e,t,n){"use strict";var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"tkui-toggle",class:{checked:e.value},on:{click:e.toggle}},["check"===e.type?n("span",{staticClass:"tcon tcon-remove tcon-remove--check"},[n("span",{staticClass:"tcon-visuallyhidden"})]):n("span",{class:e.type})])},r=[],u={render:o,staticRenderFns:r};t.a=u},114:function(e,t,n){"use strict";function o(e){e.component("tkui-toggle",u.default)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(83),u=(function(e){return e&&e.__esModule?e:{default:e}})(r);e.exports=t.default},199:function(e,t,n){e.exports=n(114)},83:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(91),r=n.n(o),u=n(100),s=n(0),i=s(r.a,u.a,null,null,null);t.default=i.exports},91:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"tkui-toggle",props:{value:Boolean,type:{type:String,default:"checkbox"}},methods:{toggle:function(){this.$emit("input",!this.value)}}},e.exports=t.default}})}));