UNPKG

@reasy-team/reasy-ui

Version:

Tenda基于Vue2.x的PC组件库。[在线示例](https://reasyteam.github.io/Reasy-UI/)

1 lines 8.76 kB
module.exports=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=227)}({0:function(t,n,e){(function(n){function e(t){return t&&t.Math==Math&&t}t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(85))},1:function(t,n){var e=Function.prototype,r=e.bind,o=e.call,i=r&&r.bind(o);t.exports=r?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},11:function(t,n){var e=Function.prototype.call;t.exports=e.bind?e.bind(e):function(){return e.apply(e,arguments)}},13:function(t,n,e){var r=e(0),o=e(3);t.exports=function(t,n){return arguments.length<2?(e=r[t],o(e)?e:void 0):r[t]&&r[t][n];var e}},16:function(t,n,e){var r=e(0).TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},2:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},22:function(t,n,e){var r=e(0),o=e(16),i=r.Object;t.exports=function(t){return i(o(t))}},227:function(t,n,e){"use strict";function r(){var t=this,n=t.$createElement;return(n=t._self._c||n)("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"v-loading"},[t.hasMask?n("div",{staticClass:"v-loading__mask"}):t._e(),t._v(" "),n("div",{staticClass:"v-loading__wrapper"},[n("div",{class:["v-loading__dots","v-loading__dots--"+t.size]},[n("div",{staticClass:"v-loading__dot__item",style:t.dotStyle}),t._v(" "),n("div",{staticClass:"v-loading__dot__item",style:t.dotStyle}),t._v(" "),n("div",{staticClass:"v-loading__dot__item",style:t.dotStyle}),t._v(" "),n("div",{staticClass:"v-loading__dot__item",style:t.dotStyle})]),t._v(" "),t.text||t.$slots.default?n("div",{staticClass:"v-loading__text"},[t._t("default",(function(){return[t._v(t._s(t.text))]}))],2):t._e()])])}e.r(n),e(70),r._withStripped=!0;var o={name:"v-loading",props:{target:{type:HTMLElement},hasMask:{type:Boolean,default:!0},text:String,background:{type:String,default:"#ff8f00"},size:{type:String,default:"M",validator:function(t){return-1<["S","M","L"].indexOf(t)}},visible:{type:Boolean,default:!1}},computed:{dotStyle:function(){return{backgroundColor:this.background}}},mounted:function(){this.target&&this.target!==this.$el.parentNode&&this.target.appendChild(this.$el)}};e=e(24);(o=Object(e.a)(o,r,[],!1,null,null,null)).options.__file="src/components/loading/v-loading.vue";var i=o.exports;i.install=function(t){t.component(i.name,i)},n.default=i},24:function(t,n,e){"use strict";function r(t,n,e,r,o,i,u,c){var a,s,f="function"==typeof t?t.options:t;return n&&(f.render=n,f.staticRenderFns=e,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),u?(a=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(u)},f._ssrRegister=a):o&&(a=c?function(){o.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:o),a&&(f.functional?(f._injectStyles=a,s=f.render,f.render=function(t,n){return a.call(n),s(t,n)}):(c=f.beforeCreate,f.beforeCreate=c?[].concat(c,a):[a])),{exports:t,options:f}}e.d(n,"a",(function(){return r}))},25:function(t,n,e){e=e(1),t.exports=e({}.isPrototypeOf)},27:function(t,n,e){var r=e(0),o=e(30);e=r[e="__core-js_shared__"]||o(e,{});t.exports=e},28:function(t,n,e){var r=e(0),o=e(13),i=e(3),u=e(25),c=(e=e(56),r.Object);t.exports=e?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&u(n.prototype,c(t))}},29:function(t,n,e){var r=e(63),o=e(28);t.exports=function(t){return t=r(t,"string"),o(t)?t:t+""}},3:function(t,n){t.exports=function(t){return"function"==typeof t}},30:function(t,n,e){var r=e(0),o=Object.defineProperty;t.exports=function(t,n){try{o(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}},32:function(t,n,e){var r=e(76),o=e(27);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.19.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},33:function(t,n,e){var r=e(5),o=e(9),i=Function.prototype,u=r&&Object.getOwnPropertyDescriptor;o=(e=o(i,"name"))&&"something"===function(){}.name,i=e&&(!r||u(i,"name").configurable);t.exports={EXISTS:e,PROPER:o,CONFIGURABLE:i}},34:function(t,n,e){var r,o,i=e(0),u=e(79);e=i.process,i=i.Deno;!(o=(i=(i=e&&e.versions||i&&i.version)&&i.v8)?0<(r=i.split("."))[0]&&r[0]<4?1:+(r[0]+r[1]):o)&&u&&(!(r=u.match(/Edge\/(\d+)/))||74<=r[1])&&(r=u.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},37:function(t,n,e){var r=e(60);t.exports=function(t,n){return null==(n=t[n])?void 0:r(n)}},4:function(t,n,e){var r=e(0),o=e(32),i=e(9),u=e(57),c=e(54),a=e(56),s=o("wks"),f=r.Symbol,l=f&&f.for,p=a?f:f&&f.withoutSetter||u;t.exports=function(t){var n;return i(s,t)&&(c||"string"==typeof s[t])||(n="Symbol."+t,c&&i(f,t)?s[t]=f[t]:s[t]=(a&&l?l:p)(n)),s[t]}},5:function(t,n,e){e=e(2),t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},54:function(t,n,e){var r=e(34);e=e(2);t.exports=!!Object.getOwnPropertySymbols&&!e((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},55:function(t,n,e){var r=e(0),o=(e=e(6),r.document),i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},56:function(t,n,e){e=e(54),t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},57:function(t,n,e){e=e(1);var r=0,o=Math.random(),i=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++r+o,36)}},58:function(t,n,e){var r=e(5),o=e(2),i=e(55);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6:function(t,n,e){var r=e(3);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},60:function(t,n,e){var r=e(0),o=e(3),i=e(62),u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},62:function(t,n,e){var r=e(0).String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},63:function(t,n,e){var r=e(0),o=e(11),i=e(6),u=e(28),c=e(37),a=e(86),s=(e=e(4),r.TypeError),f=e("toPrimitive");t.exports=function(t,n){if(!i(t)||u(t))return t;var e=c(t,f);if(e){if(e=o(e,t,n=void 0===n?"default":n),!i(e)||u(e))return e;throw s("Can't convert object to primitive value")}return a(t,n=void 0===n?"number":n)}},7:function(t,n,e){var r=e(0),o=e(5),i=e(58),u=e(8),c=e(29),a=r.TypeError,s=Object.defineProperty;n.f=o?s:function(t,n,e){if(u(t),n=c(n),u(e),i)try{return s(t,n,e)}catch(t){}if("get"in e||"set"in e)throw a("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},70:function(t,n,e){var r=e(5),o=e(33).EXISTS,i=e(1),u=e(7).f,c=i((e=Function.prototype).toString),a=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=i(a.exec);r&&!o&&u(e,"name",{configurable:!0,get:function(){try{return s(a,c(this))[1]}catch(t){return""}}})},76:function(t,n){t.exports=!1},79:function(t,n,e){e=e(13),t.exports=e("navigator","userAgent")||""},8:function(t,n,e){var r=e(0),o=e(6),i=r.String,u=r.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},85:function(t,n){var e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},86:function(t,n,e){var r=e(0),o=e(11),i=e(3),u=e(6),c=r.TypeError;t.exports=function(t,n){var e,r;if("string"===n&&i(e=t.toString)&&!u(r=o(e,t)))return r;if(i(e=t.valueOf)&&!u(r=o(e,t)))return r;if("string"!==n&&i(e=t.toString)&&!u(r=o(e,t)))return r;throw c("Can't convert object to primitive value")}},9:function(t,n,e){var r=e(1),o=e(22),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}}}).default;