iview-ui
Version:
some vue components based on iview from projects
2 lines • 4.99 kB
JavaScript
(function(e,n){"object"===typeof exports&&"object"===typeof module?module.exports=n():"function"===typeof define&&define.amd?define([],n):"object"===typeof exports?exports["iview-ui"]=n():e["iview-ui"]=n()})("undefined"!==typeof self?self:this,function(){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},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,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s="fae3")}({"230e":function(e,n,t){var r=t("d3f4"),o=t("7726").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"6a99":function(e,n,t){var r=t("d3f4");e.exports=function(e,n){if(!r(e))return e;var t,o;if(n&&"function"==typeof(t=e.toString)&&!r(o=t.call(e)))return o;if("function"==typeof(t=e.valueOf)&&!r(o=t.call(e)))return o;if(!n&&"function"==typeof(t=e.toString)&&!r(o=t.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},7726:function(e,n){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},"79e5":function(e,n){e.exports=function(e){try{return!!e()}catch(n){return!0}}},"7f7f":function(e,n,t){var r=t("86cc").f,o=Function.prototype,i=/^\s*function ([^ (]*)/,u="name";u in o||t("9e1e")&&r(o,u,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},"86cc":function(e,n,t){var r=t("cb7c"),o=t("c69a"),i=t("6a99"),u=Object.defineProperty;n.f=t("9e1e")?Object.defineProperty:function(e,n,t){if(r(e),n=i(n,!0),r(t),o)try{return u(e,n,t)}catch(f){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(e[n]=t.value),e}},"9e1e":function(e,n,t){e.exports=!t("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},c69a:function(e,n,t){e.exports=!t("9e1e")&&!t("79e5")(function(){return 7!=Object.defineProperty(t("230e")("div"),"a",{get:function(){return 7}}).a})},cb7c:function(e,n,t){var r=t("d3f4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},d3f4:function(e,n){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},fae3:function(e,n,t){"use strict";var r;(t.r(n),"undefined"!==typeof window)&&((r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(t.p=r[1]));t("7f7f");var o=function(){var e=this,n=e.$createElement;e._self._c;return e._m(0)},i=[function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"calendar-components-page"},[t("div",{staticClass:"calendar-wrap"}),e._v("\n 这是一个日历组件\n ")])}],u={name:"Calendar"},f=u;function c(e,n,t,r,o,i,u,f){var c,a="function"===typeof e?e.options:e;if(n&&(a.render=n,a.staticRenderFns=t,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),u?(c=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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(u)},a._ssrRegister=c):o&&(c=f?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(a.functional){a._injectStyles=c;var d=a.render;a.render=function(e,n){return c.call(n),d(e,n)}}else{var s=a.beforeCreate;a.beforeCreate=s?[].concat(s,c):[c]}return{exports:e,options:a}}var a=c(f,o,i,!1,null,null,null),d=a.exports;d.install=function(e){return e.component(d.name,d)},"undefined"!==typeof window&&window.Vue&&window.Vue.use(d);var s=d,l=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",[e._v("\n 这是一个侧边栏组件,正在更新中...\n")])},p=[],v={name:"SideBar"},y=v,_=c(y,l,p,!1,null,null,null),w=_.exports;w.install=function(e){return e.component(w.name,w)},"undefined"!==typeof window&&window.Vue&&window.Vue.use(w);var m=w,b=[s,m],h=function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];b.map(function(n){e.component(n.name,n)})};"undefined"!==typeof window&&window.Vue&&h(window.Vue),t.d(n,"install",function(){return h}),t.d(n,"Calendar",function(){return s}),t.d(n,"SideBar",function(){return m})}})});
//# sourceMappingURL=iview-ui.umd.min.js.map