vue-mini-ui-yx
Version:
一个简单的vue基础组件
1 lines • 17.3 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.yueUI=t():e.yueUI=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(e,t,n){"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),r=[];function s(e){for(var t=-1,n=0;n<r.length;n++)if(r[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},o=[],i=0;i<e.length;i++){var a=e[i],c=t.base?a[0]+t.base:a[0],l=n[c]||0,d="".concat(c," ").concat(l);n[c]=l+1;var u=s(d),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(r[u].references++,r[u].updater(f)):r.push({identifier:d,updater:g(f,t),references:1}),o.push(d)}return o}function l(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var i=n.nc;i&&(o.nonce=i)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var r=a(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function f(e,t,n,o){var i=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var a=document.createTextNode(i),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(a,r[t]):e.appendChild(a)}}function p(e,t,n){var o=n.css,i=n.media,a=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var v=null,m=0;function g(e,t){var n,o,i;if(t.singleton){var a=m++;n=v||(v=l(t)),o=f.bind(null,n,a,!1),i=f.bind(null,n,a,!0)}else n=l(t),o=p.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var i=s(n[o]);r[i].references--}for(var a=c(e,t),l=0;l<n.length;l++){var d=s(n[l]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}n=a}}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(o)for(var a=0;a<this.length;a++){var r=this[a][0];null!=r&&(i[r]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);o&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},function(e,t,n){"use strict";var o=n(1),i=n.n(o)()((function(e){return e[1]}));i.push([e.i,".mask[data-v-35197279]{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,0.6);z-index:1}.mask .spinner[data-v-35197279]{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);background-color:#000;border-radius:6px;padding:10px 20px;color:#fff;line-height:1.4;font-size:14px}.fade-enter-active[data-v-35197279],.fade-leave-active[data-v-35197279]{transition:opacity 0.3s}.fade-enter[data-v-35197279],.fade-leave-to[data-v-35197279]{opacity:0}\n",""]),t.a=i},function(e,t,n){"use strict";var o=n(1),i=n.n(o)()((function(e){return e[1]}));i.push([e.i,".mask[data-v-84e476e4]{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,0.6);z-index:1}.mask .spinner[data-v-84e476e4]{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);background-color:#000;border-radius:6px;padding:10px 20px;display:flex;flex-direction:column;align-items:center}.mask .spinner .loading[data-v-84e476e4]{width:40px;height:30px;margin:0 auto;display:flex;justify-content:space-between;margin-bottom:10px}.mask .spinner .loading .dot[data-v-84e476e4]{width:4px;border-radius:4px;background:#fff;animation:load-data-v-84e476e4 0.8s ease infinite}.mask .spinner .loading .dot2[data-v-84e476e4]{animation-delay:0.2s}.mask .spinner .loading .dot3[data-v-84e476e4]{animation-delay:0.4s}.mask .spinner .loading .dot4[data-v-84e476e4]{animation-delay:0.1s}.mask .spinner .loading .dot5[data-v-84e476e4]{animation-delay:0.3s}.mask .spinner .text[data-v-84e476e4]{text-align:center;line-height:1.5;font-size:14px;color:#fff}.fade-enter-active[data-v-84e476e4],.fade-leave-active[data-v-84e476e4]{transition:opacity 0.3s}.fade-enter[data-v-84e476e4],.fade-leave-to[data-v-84e476e4]{opacity:0}@keyframes load-data-v-84e476e4{0%,100%{transform:scaleY(1)}50%{transform:scaleY(0.5)}}\n",""]),t.a=i},function(e,t,n){"use strict";var o=n(1),i=n.n(o),a=n(5),r=n.n(a),s=n(6),c=i()((function(e){return e[1]})),l=r()(s.a);c.push([e.i,".mask[data-v-637479a4]{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,0.6);z-index:1}.mask .panel[data-v-637479a4]{position:absolute;left:50%;top:50%;width:200px;transform:translate(-50%, -50%);background-color:#fff;border-radius:6px;padding:10px 20px}.mask .panel .close[data-v-637479a4]{position:absolute;right:0px;top:0px;width:40px;height:40px;background:url("+l+") no-repeat center;background-size:24px 24px}.mask .panel .msg[data-v-637479a4]{text-align:center;font-size:14px;line-height:1.5;color:#444;padding-top:30px;margin-bottom:20px}.mask .panel .btn-bar[data-v-637479a4]{display:flex;justify-content:center;font-size:14px}.mask .panel .btn-bar .btn[data-v-637479a4]{margin:0;padding:0;width:40%;height:34px;border-radius:4px;border:1px solid #ccc;background-color:#ccc;color:#333;outline:none;margin:0 5%}.mask .panel .btn-bar .btn.ok-btn[data-v-637479a4]{background-color:#409eff;color:#fff;border:1px solid #409eff}.fade-enter-active[data-v-637479a4],.fade-leave-active[data-v-637479a4]{transition:opacity 0.3s}.fade-enter[data-v-637479a4],.fade-leave-to[data-v-637479a4]{opacity:0}\n",""]),t.a=c},function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'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AASUVORK5CYII="},function(e,t,n){"use strict";n.r(t);var o=function(){var e=this.$createElement,t=this._self._c||e;return t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:this.isShow,expression:"isShow"}],staticClass:"mask",style:{zIndex:this.zindex},on:{touchmove:function(e){e.preventDefault()}}},[t("div",{staticClass:"spinner"},[this._v("\n "+this._s(this.msg)+"\n ")])])])};o._withStripped=!0;var i={name:"toast",props:{msg:{type:String,default:function(){return"正在加载"}},isShow:{type:Boolean,default:function(){return!1}},duration:{type:Number,default:function(){return 1500}},zindex:1},watch:{isShow:function(e,t){var n=this;if(e)var o=setTimeout((function(){n.isShow=!1,clearTimeout(o)}),this.duration),i=setTimeout((function(){console.log("aaa",n.dom),document.body.removeChild(n.dom),clearTimeout(i)}),this.duration+300)}}},a=n(0),r=n.n(a),s=n(2),c={insert:"head",singleton:!1};r()(s.a,c),s.a.locals;function l(e,t,n,o,i,a,r,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:l}}var d=l(i,o,[],!1,null,"35197279",null);d.options.__file="src/basePlugin/componentTem/toast.vue";var u=d.exports,f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"isShow"}],staticClass:"mask",style:{zIndex:e.zindex},on:{touchmove:function(e){e.preventDefault()}}},[n("div",{staticClass:"spinner"},[n("div",{staticClass:"loading"},[n("span",{staticClass:"dot dot1"}),e._v(" "),n("span",{staticClass:"dot dot2"}),e._v(" "),n("span",{staticClass:"dot dot3"}),e._v(" "),n("span",{staticClass:"dot dot4"}),e._v(" "),n("span",{staticClass:"dot dot5"})]),e._v(" "),n("div",{staticClass:"text"},[e._v(e._s(e.msg))])])])])};f._withStripped=!0;var p={name:"loading",props:{msg:{type:String,default:function(){return"正在加载..."}},isShow:{type:Boolean,default:function(){return!1}},duration:{type:Number,default:function(){return 1500}},zindex:1}},v=n(3),m={insert:"head",singleton:!1},g=(r()(v.a,m),v.a.locals,l(p,f,[],!1,null,"84e476e4",null));g.options.__file="src/basePlugin/componentTem/loading.vue";var h=g.exports,C=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"isShow"}],staticClass:"mask",style:{zIndex:e.zindex},on:{touchmove:function(e){e.preventDefault()}}},[n("div",{staticClass:"panel"},[e.isShowClose?n("div",{staticClass:"close",on:{click:function(t){return t.target!==t.currentTarget?null:e.close(t)}}}):e._e(),e._v(" "),n("div",{staticClass:"msg"},[e._v(e._s(e.content))]),e._v(" "),n("div",{staticClass:"btn-bar"},["alert"!==e.type?n("button",{staticClass:"btn",on:{click:e.clickCancel}},[e._v("\n "+e._s(e.cancelBtnText)+"\n ")]):e._e(),e._v(" "),n("button",{staticClass:"btn ok-btn",on:{click:function(t){return t.target!==t.currentTarget?null:e.clickConfirm(t)}}},[e._v(e._s(e.confirmBtnText))])])])])])};C._withStripped=!0;var x={name:"alert",props:{content:{type:String,default:function(){return"aler的文字内容"}},type:{type:String,default:function(){return"alert"}},confirmFn:Function,cancelFn:Function,confirmBtnText:{type:String,default:function(){return"确定"}},cancelBtnText:{type:String,default:function(){return"取消"}},isShow:{type:Boolean,default:function(){return!1}},zindex:1,isShowClose:{type:Boolean,default:function(){return!1}}},methods:{close:function(){var e=this;this.isShow=!1;var t=setTimeout((function(){document.body.removeChild(e.dom),clearTimeout(t)}),300)},clickConfirm:function(){this.close(),this.confirmFn&&this.confirmFn()},clickCancel:function(){this.close(),this.cancelFn&&this.cancelFn()}}},y=n(4),A={insert:"head",singleton:!1},E=(r()(y.a,A),y.a.locals,l(x,C,[],!1,null,"637479a4",null));E.options.__file="src/basePlugin/componentTem/alert.vue";var I=E.exports,S={install:function(e){var t=null,n=e.extend(u),o=null,i=e.extend(h),a=null,r=null,s=e.extend(I);e.prototype.$toast=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"提示";t||(t=new n),console.log(t);var o=t.$mount(document.createElement("div")).$el;t.msg=e,t.duration=1500,t.zindex=1,t.isShow=!0,t.dom=o,document.body.appendChild(o)},e.prototype.$loadingShow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"正在加载...";o||(o=new i),a=o.$mount(document.createElement("div")).$el,o.msg=e,o.zindex=1,o.isShow=!0,document.body.appendChild(a)},e.prototype.$loadingHide=function(){o.isShow=!1;var e=setTimeout((function(){document.body.removeChild(a),clearTimeout(e)}),300)},e.prototype.$alert=function(e){var t=e.content,n=void 0===t?"内容":t,o=e.isShowClose,i=void 0!==o&&o,a=e.confirmBtnText,c=void 0===a?"确定":a,l=e.confirmFn,d=void 0===l?function(){console.log("click me")}:l;r||(r=new s);var u=r.$mount(document.createElement("div")).$el;r.isShow=!0,r.content=n,r.type="alert",r.confirmBtnText=c,r.isShowClose=i,r.confirmFn=d,r.dom=u,document.body.appendChild(u)},e.prototype.$confirm=function(e){var t=e.content,n=void 0===t?"内容":t,o=e.isShowClose,i=void 0!==o&&o,a=e.confirmBtnText,c=void 0===a?"确定":a,l=e.cancelBtnText,d=void 0===l?"取消":l,u=e.confirmFn,f=void 0===u?function(){console.log("click me")}:u,p=e.cancelFn,v=void 0===p?function(){console.log("click-cancel")}:p;r||(r=new s);var m=r.$mount(document.createElement("div")).$el;r.isShow=!0,r.content=n,r.type="confirm",r.confirmBtnText=c,r.cancelBtnText=d,r.isShowClose=i,r.confirmFn=f,r.cancelFn=v,r.dom=m,document.body.appendChild(m)}}};t.default=S}]).default}));