(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-77131672"],{bae13:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return g}));var r=n("3af9"),c=n("7a23"),o=n("9127"),a=n("b90b"),i=Object(c["defineComponent"])({name:"EmptyData",props:{currentWidget:{type:Object,required:!0},errorMessage:{type:String}},components:{OioIcon:a["Q"]}});const s={class:"mobile-empty-data"},d={class:"icon"},l={class:"empty-data-text"};function p(e,t,n,r,o,a){const i=Object(c["resolveComponent"])("oio-icon");return Object(c["openBlock"])(),Object(c["createElementBlock"])("div",s,[Object(c["createElementVNode"])("span",d,[Object(c["createVNode"])(i,{icon:"oinone-tixing",size:"14px",color:"var(--oio-error-color)"})]),Object(c["createElementVNode"])("span",l,[e.errorMessage?(Object(c["openBlock"])(),Object(c["createElementBlock"])(c["Fragment"],{key:0},[Object(c["createTextVNode"])(Object(c["toDisplayString"])(e.errorMessage),1)],64)):(Object(c["openBlock"])(),Object(c["createElementBlock"])(c["Fragment"],{key:1},[Object(c["createTextVNode"])("未设置"+Object(c["toDisplayString"])(e.currentWidget.widgetDisplayName),1)],64))])])}i.render=p,i.__file="src/view/component/designer-draggable/component/element/media/EmptyData.vue";var m=Object(c["defineComponent"])({name:"SimpleMediaData",props:{currentInstance:{type:Object,required:!0},disable:{type:Boolean,default:!1}},setup(e){return{}}});const u={class:"mobile-simple-media-data"};function b(e,t,n,r,o,a){return Object(c["openBlock"])(),Object(c["createElementBlock"])("div",u,[Object(c["renderSlot"])(e.$slots,"default")])}function O(e,t){return Object(c["createVNode"])(i,{currentWidget:e,errorMessage:t})}m.render=b,m.__file="src/view/component/designer-draggable/component/element/media/SimpleMediaData.vue";var j=Object(c["defineComponent"])({name:"SimpleMedia",components:{EmptyData:i,SimpleMediaData:m},props:{currentInstance:{type:Object,required:!0}},setup(e){const t=Object(c["computed"])(()=>{const t=e.currentInstance.currentWidget,n={widget:t.widgetName},r=o["a"].Selector(n);return r?(new o["P"]).createWidget(r,t.widgetName,{}).getComponent():O(t,"无法正确获取组件")});return{finalComponent:Object(c["toRaw"])(t)}},render(){return Object(c["createVNode"])(m,{currentInstance:this.currentInstance,disable:!0},{default:()=>{var e;return[Object(c["createVNode"])(this.finalComponent,(null===(e=this.currentInstance)||void 0===e?void 0:e.element.properties)||{})]}})}}),g=Object(c["defineComponent"])({name:"DesignerMobileMedia",mixins:[r["u"]],components:{SimpleMedia:j}});const f=["id"];function v(e,t,n,r,o,a){const i=Object(c["resolveComponent"])("simple-media");return Object(c["openBlock"])(),Object(c["createElementBlock"])("div",{id:e.fetchInstanceDomId(e.currentInstance.id)},[Object(c["createVNode"])(i,{"current-instance":e.currentInstance},null,8,["current-instance"])],8,f)}g.render=v,g.__file="src/view/component/designer-draggable/component/element/DesignerMedia.vue"}}]);