UNPKG

meri-design

Version:

基于vue框架的ui库

7 lines 12.2 kB
/*! * @meri-design v2.2.19-beta10 * (c) 2019-2022 YuShu-Web * Released under the MIT License. * 2025-01-14 15:25:40 */ var t,n;t=this,n=function(){return function(){var t={55057:function(t,n,e){var r=e(27989);t.exports=r},24803:function(t,n,e){t.exports=e(31051)},31051:function(t,n,e){var r=e(55057);t.exports=r},24883:function(t,n,e){var r=e(57475),o=e(69826),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a function")}},96059:function(t,n,e){var r=e(10941),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not an object")}},93765:function(t,n,e){var r=e(95329);t.exports=r([].slice)},82532:function(t,n,e){var r=e(95329),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},32029:function(t,n,e){var r=e(55746),o=e(65988),i=e(31887);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},31887:function(t){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},75609:function(t,n,e){var r=e(21899),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}},55746:function(t,n,e){var r=e(95981);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},61333:function(t,n,e){var r=e(21899),o=e(10941),i=r.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},2861:function(t,n,e){var r=e(626);t.exports=r("navigator","userAgent")||""},53385:function(t,n,e){var r,o,i=e(21899),u=e(2861),c=i.process,a=i.Deno,f=c&&c.versions||a&&a.version,s=f&&f.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&u&&(!(r=u.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},76887:function(t,n,e){"use strict";var r=e(21899),o=e(79730),i=e(95329),u=e(57475),c=e(49677).f,a=e(37252),f=e(54058),s=e(86843),p=e(32029),l=e(90953),v=function(t){var n=function(e,r,i){if(this instanceof n){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,i)}return o(t,this,arguments)};return n.prototype=t.prototype,n};t.exports=function(t,n){var e,o,b,y,d,h,m,x,g=t.target,S=t.global,w=t.stat,j=t.proto,O=S?r:w?r[g]:(r[g]||{}).prototype,_=S?f:f[g]||p(f,g,{})[g],T=_.prototype;for(b in n)e=!a(S?b:g+(w?".":"#")+b,t.forced)&&O&&l(O,b),d=_[b],e&&(h=t.dontCallGetSet?(x=c(O,b))&&x.value:O[b]),y=e&&h?h:n[b],e&&typeof d==typeof y||(m=t.bind&&e?s(y,r):t.wrap&&e?v(y):j&&u(y)?i(y):y,(t.sham||y&&y.sham||d&&d.sham)&&p(m,"sham",!0),p(_,b,m),j&&(l(f,o=g+"Prototype")||p(f,o,{}),p(f[o],b,y),t.real&&T&&!T[b]&&p(T,b,y)))}},95981:function(t){t.exports=function(t){try{return!!t()}catch(n){return!0}}},79730:function(t,n,e){var r=e(18285),o=Function.prototype,i=o.apply,u=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?u.bind(i):function(){return u.apply(i,arguments)})},86843:function(t,n,e){var r=e(95329),o=e(24883),i=e(18285),u=r(r.bind);t.exports=function(t,n){return o(t),void 0===n?t:i?u(t,n):function(){return t.apply(n,arguments)}}},18285:function(t,n,e){var r=e(95981);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},78834:function(t,n,e){var r=e(18285),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},95329:function(t,n,e){var r=e(18285),o=Function.prototype,i=o.bind,u=o.call,c=r&&i.bind(u,u);t.exports=r?function(t){return t&&c(t)}:function(t){return t&&function(){return u.apply(t,arguments)}}},626:function(t,n,e){var r=e(54058),o=e(21899),i=e(57475),u=function(t){return i(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?u(r[t])||u(o[t]):r[t]&&r[t][n]||o[t]&&o[t][n]}},14229:function(t,n,e){var r=e(24883);t.exports=function(t,n){var e=t[n];return null==e?void 0:r(e)}},21899:function(t,n,e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e.g&&e.g)||function(){return this}()||Function("return this")()},90953:function(t,n,e){var r=e(95329),o=e(89678),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},2840:function(t,n,e){var r=e(55746),o=e(95981),i=e(61333);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},37026:function(t,n,e){var r=e(95329),o=e(95981),i=e(82532),u=Object,c=r("".split);t.exports=o((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?c(t,""):u(t)}:u},57475:function(t){t.exports=function(t){return"function"==typeof t}},37252:function(t,n,e){var r=e(95981),o=e(57475),i=/#|\.prototype\./,u=function(t,n){var e=a[c(t)];return e==s||e!=f&&(o(n)?r(n):!!n)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=u.data={},f=u.NATIVE="N",s=u.POLYFILL="P";t.exports=u},10941:function(t,n,e){var r=e(57475);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},82529:function(t){t.exports=!0},56664:function(t,n,e){var r=e(626),o=e(57475),i=e(7046),u=e(32302),c=Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var n=r("Symbol");return o(n)&&i(n.prototype,c(t))}},72497:function(t,n,e){var r=e(53385),o=e(95981);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},65988:function(t,n,e){var r=e(55746),o=e(2840),i=e(83937),u=e(96059),c=e(83894),a=TypeError,f=Object.defineProperty,s=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",v="writable";n.f=r?i?function(t,n,e){if(u(t),n=c(n),u(e),"function"==typeof t&&"prototype"===n&&"value"in e&&v in e&&!e.writable){var r=s(t,n);r&&r.writable&&(t[n]=e.value,e={configurable:l in e?e.configurable:r.configurable,enumerable:p in e?e.enumerable:r.enumerable,writable:!1})}return f(t,n,e)}:f:function(t,n,e){if(u(t),n=c(n),u(e),o)try{return f(t,n,e)}catch(r){}if("get"in e||"set"in e)throw a("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},49677:function(t,n,e){var r=e(55746),o=e(78834),i=e(36760),u=e(31887),c=e(74529),a=e(83894),f=e(90953),s=e(2840),p=Object.getOwnPropertyDescriptor;n.f=r?p:function(t,n){if(t=c(t),n=a(n),s)try{return p(t,n)}catch(e){}if(f(t,n))return u(!o(i.f,t,n),t[n])}},7046:function(t,n,e){var r=e(95329);t.exports=r({}.isPrototypeOf)},36760:function(t,n){"use strict";var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!e.call({1:2},1);n.f=o?function(t){var n=r(this,t);return!!n&&n.enumerable}:e},39811:function(t,n,e){var r=e(78834),o=e(57475),i=e(10941),u=TypeError;t.exports=function(t,n){var e,c;if("string"===n&&o(e=t.toString)&&!i(c=r(e,t)))return c;if(o(e=t.valueOf)&&!i(c=r(e,t)))return c;if("string"!==n&&o(e=t.toString)&&!i(c=r(e,t)))return c;throw u("Can't convert object to primitive value")}},54058:function(t){t.exports={}},48219:function(t){var n=TypeError;t.exports=function(t){if(null==t)throw n("Can't call method on "+t);return t}},37620:function(t,n,e){var r=e(21899),o=e(79730),i=e(57475),u=e(2861),c=e(93765),a=e(18348),f=/MSIE .\./.test(u),s=r.Function,p=function(t){return f?function(n,e){var r=a(arguments.length,1)>2,u=i(n)?n:s(n),f=r?c(arguments,2):void 0;return t(r?function(){o(u,this,f)}:u,e)}:t};t.exports={setTimeout:p(r.setTimeout),setInterval:p(r.setInterval)}},63030:function(t,n,e){var r=e(21899),o=e(75609),i="__core-js_shared__",u=r[i]||o(i,{});t.exports=u},68726:function(t,n,e){var r=e(82529),o=e(63030);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.23.4",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.4/LICENSE",source:"https://github.com/zloirock/core-js"})},74529:function(t,n,e){var r=e(37026),o=e(48219);t.exports=function(t){return r(o(t))}},89678:function(t,n,e){var r=e(48219),o=Object;t.exports=function(t){return o(r(t))}},46935:function(t,n,e){var r=e(78834),o=e(10941),i=e(56664),u=e(14229),c=e(39811),a=e(99813),f=TypeError,s=a("toPrimitive");t.exports=function(t,n){if(!o(t)||i(t))return t;var e,a=u(t,s);if(a){if(void 0===n&&(n="default"),e=r(a,t,n),!o(e)||i(e))return e;throw f("Can't convert object to primitive value")}return void 0===n&&(n="number"),c(t,n)}},83894:function(t,n,e){var r=e(46935),o=e(56664);t.exports=function(t){var n=r(t,"string");return o(n)?n:n+""}},69826:function(t){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},99418:function(t,n,e){var r=e(95329),o=0,i=Math.random(),u=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},32302:function(t,n,e){var r=e(72497);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},83937:function(t,n,e){var r=e(55746),o=e(95981);t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},18348:function(t){var n=TypeError;t.exports=function(t,e){if(t<e)throw n("Not enough arguments");return t}},99813:function(t,n,e){var r=e(21899),o=e(68726),i=e(90953),u=e(99418),c=e(72497),a=e(32302),f=o("wks"),s=r.Symbol,p=s&&s.for,l=a?s:s&&s.withoutSetter||u;t.exports=function(t){if(!i(f,t)||!c&&"string"!=typeof f[t]){var n="Symbol."+t;c&&i(s,t)?f[t]=s[t]:f[t]=a&&p?p(n):l(n)}return f[t]}},79229:function(t,n,e){var r=e(76887),o=e(21899),i=e(37620).setInterval;r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},17749:function(t,n,e){var r=e(76887),o=e(21899),i=e(37620).setTimeout;r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},71249:function(t,n,e){e(79229),e(17749)},27989:function(t,n,e){e(71249);var r=e(54058);t.exports=r.setTimeout},9938:function(t,n,e){t.exports=e(24803)}},n={};function e(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={exports:{}};return t[r](i,i.exports,e),i.exports}e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return function(){"use strict";e.r(r),e.d(r,{default:function(){return u}});var t=e(9938),n=e.n(t),o=function(t,n,e,r,o,i,u,c){var a,f="function"==typeof t?t.options:t;if(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)if(f.functional){f._injectStyles=a;var s=f.render;f.render=function(t,n){return a.call(n),s(t,n)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,a):[a]}return{exports:t,options:f}}({name:"Shake",props:{activate:{type:[Boolean,String,Number],default:!1}},data:()=>({activateStatus:null}),created(){this.setActivate(this.activate)},watch:{activate(t,n){t!==n&&this.setActivate(t)}},methods:{setActivate(t){"boolean"==typeof t?this.activateStatus=t:t!==this.activateStatus&&(this.activateStatus=t,n()((()=>{this.activateStatus=null}),1800))}}},(function(){var t=this,n=t.$createElement;return(t._self._c||n)("div",{class:["p-shake",t.activateStatus&&"p-shake-activate"]},[t._t("default")],2)}),[],!1,null,null,null),i=o.exports;i.install=t=>t.component(i.name,i);var u=i}(),r}()},"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("Shake",[],n):"object"==typeof exports?exports.Shake=n():t.Shake=n();