meri-design
Version:
基于vue框架的ui库
7 lines • 2.53 kB
JavaScript
/*!
* @meri-design v2.2.19-beta10
* (c) 2019-2022 YuShu-Web
* Released under the MIT License.
* 2025-01-14 15:25:40
*/
var t,e;t=this,e=function(){return function(){"use strict";var t={d:function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{default:function(){return r}});var n=function(t,e,n,o,r,s,i,a){var p,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),i?(p=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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=p):r&&(p=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),p)if(l.functional){l._injectStyles=p;var u=l.render;l.render=function(t,e){return p.call(e),u(t,e)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,p):[p]}return{exports:t,options:l}}({name:"EmptyStatus",props:{type:{type:String,default:""},custom:{type:Boolean,default:!1}},computed:{typeArr:()=>["404","500","administration","collect","completed","content","data","download","graph","load","login","message","network","picture","remark","search","statement","table","waiting"]}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"p-empty"},[t.custom?t._e():t._l(t.typeArr,(function(t){return n("link",{key:t,ref:"preload",refInFor:!0,attrs:{as:"image",href:"http://47.95.122.141:8200/persagy_ui_kit/empty/"+t+".png"}})})),t._v(" "),n("img",{staticClass:"p-empty-img",attrs:{src:t.custom?t.type:"http://47.95.122.141:8200/persagy_ui_kit/empty/"+t.type+".png"}}),t._v(" "),n("section",{staticClass:"p-empty-text"},[t.$slots.title?t._t("title"):t._e(),t._v(" "),t.$slots.text?t._t("text"):t._e(),t._v(" "),t.$slots.button?t._t("button"):t._e()],2)],2)}),[],!1,null,null,null),o=n.exports;o.install=t=>t.component(o.name,o);var r=o;return e}()},"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("EmptyStatus",[],e):"object"==typeof exports?exports.EmptyStatus=e():t.EmptyStatus=e();