2026-03-23 14:57:47 +08:00

11 lines
21 KiB
JavaScript

require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subpackage/diyComponents/customComponent"],{"03c7":function(t,e,o){},"157f":function(t,e,o){"use strict";(function(t){var i=o("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(o("7ca3")),r=o("b8fd"),a=o("8f59");function c(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function l(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?c(Object(o),!0).forEach((function(e){(0,n.default)(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var s={name:"customComponent",components:{CommonWrapper:function(){o.e("subpackage/diyComponents/commonWrapper").then(function(){return resolve(o("11450"))}.bind(null,o)).catch(o.oe)}},props:{dataConfig:{type:Object,default:function(){return{}}}},data:function(){return{dataList:[],articleList:[],couponList:[],goodsList:[],userInfo:{}}},computed:l(l({},(0,a.mapGetters)(["isLogin"])),{},{configObj:function(){return this.dataConfig},customComponents:function(){return this.configObj.customComponents||{}},visibleComponents:function(){return this.customComponents&&this.customComponents.list?this.customComponents.list.filter((function(t){return!t.isHidden})):[]},contentScale:function(){var t=this.configObj,e=t.marginConfig,o=t.paddingConfig,i=t.borderConfig,n=t.paddingDataConfig,r=t.borderDataConfig,a=t.marginDataConfig,c=375;if(e&&(e.isAll?c-=(e.valList[1].val||0)+(e.valList[3].val||0):c-=2*(e.val||0)),o&&(o.isAll?c-=(o.valList[1].val||0)+(o.valList[3].val||0):c-=2*(o.val||0)),i&&i.tabVal){var l=2*(i.widthConfig.val||0);c-=l}if(a&&(a.isAll?c-=(a.valList[1].val||0)+(a.valList[3].val||0):c-=2*(a.val||0)),n&&(n.isAll?c-=(n.valList[1].val||0)+(n.valList[3].val||0):c-=2*(n.val||0)),r&&r.tabVal){var s=2*(r.widthConfig.val||0);c-=s}return c/375},currentDisplayMode:function(){return"article"===this.selectTypeValue?this.configObj.articleDisplayMode:"coupon"===this.selectTypeValue?this.configObj.couponDisplayMode:"goods"===this.selectTypeValue?this.configObj.goodsDisplayMode:null},currentColumnStyle:function(){return"article"===this.selectTypeValue?this.configObj.articleColumnStyle:"coupon"===this.selectTypeValue?this.configObj.couponColumnStyle:"goods"===this.selectTypeValue?this.configObj.goodsColumnStyle:null},selectTypeValue:function(){return this.configObj.selectType?this.configObj.selectType.activeValue:"user"},getDataWrapperStyle:function(){var t=this.configObj,e=t.filletDataConfig,o=t.marginDataConfig,i=t.paddingDataConfig,n=t.componentBgDataConfig,r=t.borderDataConfig,a=t.shadowDataConfig,c={};if(e&&(e.type?c.borderRadius="".concat(e.valList[0].val,"px ").concat(e.valList[1].val,"px ").concat(e.valList[3].val,"px ").concat(e.valList[2].val,"px"):c.borderRadius="".concat(e.val,"px")),o&&(o.isAll?(c.marginTop="".concat(o.valList[0].val,"px"),c.marginRight="".concat(o.valList[1].val,"px"),c.marginBottom="".concat(o.valList[2].val,"px"),c.marginLeft="".concat(o.valList[3].val,"px")):c.margin="".concat(o.val,"px")),i&&(i.isAll?(c.paddingTop="".concat(i.valList[0].val,"px"),c.paddingRight="".concat(i.valList[1].val,"px"),c.paddingBottom="".concat(i.valList[2].val,"px"),c.paddingLeft="".concat(i.valList[3].val,"px")):c.padding="".concat(i.val,"px")),n)if(0===n.tabVal){var l=n.colorConfig.color;l&&l.length>0&&(c.background="linear-gradient(".concat(0===n.colorDirection.tabVal?"90deg":1===n.colorDirection.tabVal?"180deg":2===n.colorDirection.tabVal?"135deg":"45deg",", ").concat(l[0].item," 0%, ").concat(l[1]?l[1].item:l[0].item," 100%)"))}else n.imageConfig.url&&(c.backgroundImage="url(".concat(n.imageConfig.url,")"),c.backgroundSize="100% 100%",c.backgroundRepeat="no-repeat");return r&&r.tabVal&&(c.borderStyle=0===r.styleConfig.tabVal?"solid":1===r.styleConfig.tabVal?"dashed":"dotted",c.borderWidth="".concat(r.widthConfig.val,"px"),c.borderColor=r.colorConfig.color[0].item),a&&a.tabVal&&(c.boxShadow="".concat(a.xConfig.val,"px ").concat(a.yConfig.val,"px ").concat(a.blurConfig.val,"px ").concat(a.spreadConfig.val,"px ").concat(a.colorConfig.color[0].item)),c},itemWrapperStyle:function(){var t=this.configObj,e=t.marginConfig,o=t.paddingConfig,i=t.borderConfig,n=t.marginDataConfig,r=t.paddingDataConfig,a=t.borderDataConfig,c=0,l=0,s=0;e&&(c+=e.isAll?e.valList[0].val+e.valList[2].val||0:e.val||0),o&&(l+=o.isAll?o.valList[0].val+o.valList[2].val||0:o.val||0),i&&i.tabVal&&(s+=i.widthConfig.val/2),n&&(c+=n.isAll?n.valList[0].val+n.valList[2].val||0:n.val||0),r&&(l+=r.isAll?r.valList[0].val+r.valList[2].val||0:r.val||0),a&&a.tabVal&&(s+=a.widthConfig.val/2);var u=this.contentScale;this.customComponents.canvasHeight;return{height:this.customComponents.canvasHeight*u*2+"rpx",position:"relative",width:"100%"}},getListContainerStyle:function(){var t;"article"===this.selectTypeValue?(t=this.configObj.articleDisplayMode,this.configObj.articleColumnStyle):"coupon"===this.selectTypeValue?(t=this.configObj.couponDisplayMode,this.configObj.couponColumnStyle):"goods"===this.selectTypeValue&&(t=this.configObj.goodsDisplayMode,this.configObj.goodsColumnStyle);var e={position:"relative",width:"100%"};return t&&1===t.tabVal?(e.display="flex",e.overflowX="auto",e.overflowY="hidden",e.flexWrap="nowrap"):(e.display="flex",e.flexWrap="wrap"),e},getListItemStyle:function(){var t,e;"article"===this.selectTypeValue?(t=this.configObj.articleDisplayMode,e=this.configObj.articleColumnStyle):"coupon"===this.selectTypeValue?(t=this.configObj.couponDisplayMode,e=this.configObj.couponColumnStyle):"goods"===this.selectTypeValue&&(t=this.configObj.goodsDisplayMode,e=this.configObj.goodsColumnStyle);var o={width:"100%"};if(t&&1===t.tabVal)if(o.flexShrink=0,e){var i=e.tabVal+1;o.width="".concat(100/i,"%")}else o.width="400rpx";else if(e){var n=e.tabVal+1;o.width="".concat(100/n,"%")}return o}}),watch:{dataConfig:{handler:function(t){this.fetchData()},deep:!0,immediate:!0}},methods:{fetchData:function(){if("user"===this.selectTypeValue)return this.fetchUserInfo(),void(this.dataList=[]);"article"===this.selectTypeValue?this.fetchArticleData():"coupon"===this.selectTypeValue?this.fetchCouponData():"goods"===this.selectTypeValue&&this.fetchGoodsData()},fetchArticleData:function(){var t=this;if(this.configObj.articleDataSource){var e={limit:this.configObj.articleNum.val,order:this.configObj.articleSort.tabVal,sort:this.configObj.articleSortRule.tabVal};if(0===this.configObj.articleDataSource.tabVal){if(!this.configObj.articleList||!this.configObj.articleList.list)return;if(e.ids=this.configObj.articleList.list.map((function(t){return t.id})).join(","),0===e.ids.length)return void(this.dataList=[])}else e.cid=Array.isArray(this.configObj.articleClass.activeValue)?this.configObj.articleClass.activeValue.join(","):this.configObj.articleClass.activeValue;(0,r.getThemeArticle)(e).then((function(e){t.dataList=e.data}))}},fetchCouponData:function(){var t=this;if(this.configObj.couponDataSource){var e={limit:this.configObj.couponNum.val,order:this.configObj.couponSort.tabVal,sort:this.configObj.couponSortRule.tabVal};if(0===this.configObj.couponDataSource.tabVal){if(!this.configObj.couponList||!this.configObj.couponList.list)return;if(e.ids=this.configObj.couponList.list.map((function(t){return t.id})).join(","),0===e.ids.length)return void(this.dataList=[])}else e.type=this.configObj.couponType.activeValue,e.user_type=this.configObj.couponUserType.activeValue,2!=this.configObj.couponUserType.activeValue&&(e.send_type=this.configObj.couponSendType.activeValue),e.is_min_price=this.configObj.couponThreshold.tabVal,1==e.is_min_price&&(e.min_price=this.configObj.couponThresholdValue.val),this.configObj.couponTime.val&&this.configObj.couponTime.val.length&&(e.start_time=this.configObj.couponTime.val[0],e.end_time=this.configObj.couponTime.val[1]);(0,r.getThemeCoupon)(e).then((function(e){t.dataList=e.data}))}},fetchGoodsData:function(){var t=this;if(this.configObj.goodsDataSource){var e={limit:this.configObj.goodsNum.val,order:this.configObj.goodsSort.tabVal,sort:this.configObj.goodsSortRule.tabVal};if(0===this.configObj.goodsDataSource.tabVal){if(!this.configObj.goodsList||!this.configObj.goodsList.list)return;if(e.ids=this.configObj.goodsList.list.map((function(t){return t.id})).join(","),0===e.ids.length)return void(this.dataList=[])}else e.cate_ids=Array.isArray(this.configObj.goodsClass.activeValue)?this.configObj.goodsClass.activeValue.join(","):this.configObj.goodsClass.activeValue;(0,r.getThemeProduct)(e).then((function(e){t.dataList=e.data}))}},fetchUserInfo:function(){var t=this;(0,r.getThemeUser)().then((function(e){t.userInfo=e.data||{}}))},getWrapperStyle:function(t,e){var o={width:"100%"};if(t&&1===t.tabVal)if(o.flexShrink=0,e){var i=e.tabVal+1;o.width="".concat(100/i,"%")}else o.width="200px";else if(e){var n=e.tabVal+1;o.width="".concat(100/n,"%")}return o},getComponentStyle:function(t){var e=this.contentScale;return{position:"absolute",left:t.left*e*2+"rpx",top:t.top*e*2+"rpx",width:t.width*e*2+"rpx",maxWidth:"100%",height:t.height*e*2+"rpx",zIndex:t.zIndex,transform:"rotate(".concat(t.rotate||0,"deg)")}},getPictureStyle:function(t){var e=0;e=t.isRadiusAll?2*t.borderRadius+"rpx":"".concat(2*t.borderRadiusTopLeft,"rpx ").concat(2*t.borderRadiusTopRight,"rpx ").concat(2*t.borderRadiusBottomRight,"rpx ").concat(2*t.borderRadiusBottomLeft,"rpx");var o={width:"100%",height:"100%",borderRadius:e};return t.showShadow&&(o.boxShadow="".concat(2*t.shadowX,"rpx ").concat(2*t.shadowY,"rpx ").concat(2*t.shadowBlur,"rpx ").concat(2*t.shadowSpread,"rpx ").concat(t.shadowColor)),t.showBorder&&(o.border="".concat(2*t.borderWidth,"rpx ").concat(t.borderStyle," ").concat(t.borderColor)),o},getTextStyle:function(t){var e=this.contentScale,o={width:"100%",fontSize:t.fontSize*e*2+"rpx",color:t.color,lineHeight:t.lineHeight,letterSpacing:(t.letterSpacing||0)*e*2+"rpx",fontWeight:t.fontWeight||"normal",fontStyle:t.fontStyle||"normal",textDecoration:t.textDecoration||"none",textAlign:t.textAlign||"left",boxSizing:"border-box",wordBreak:"break-all"};return 0==t.ellipsis&&(o.whiteSpace="normal"),t.showTextShadow&&(o.textShadow="".concat((t.shadowX||0)*e*2,"rpx ").concat((t.shadowY||0)*e*2,"rpx ").concat((t.shadowBlur||0)*e*2,"rpx ").concat(t.shadowColor||"rgba(0,0,0,0.5)")),o},getTextBgStyle:function(t){var e=this.contentScale,o={height:"100%",padding:"".concat((t.paddingTop||0)*e*2,"rpx ").concat((t.paddingRight||0)*e*2,"rpx ").concat((t.paddingBottom||0)*e*2,"rpx ").concat((t.paddingLeft||0)*e*2,"rpx"),borderWidth:(t.showBorder?t.borderWidth*e*2:0)+"rpx",borderColor:t.borderColor||"transparent",borderStyle:t.borderStyle||"solid"};if(t.bgColor2){var i={horizontal:"90deg",vertical:"180deg","left-diagonal":"135deg","right-diagonal":"45deg"}[t.bgDirection]||"180deg";o.backgroundImage="linear-gradient(".concat(i,", ").concat(t.backgroundColor||"transparent",", ").concat(t.bgColor2,")")}else o.backgroundColor=t.backgroundColor||"transparent";return t.showBorder&&t.borderWidth&&(o.backgroundSize="100% calc(100% + ".concat(t.borderWidth*e*4||0,"rpx)"),o.backgroundPosition="0rpx -".concat(t.borderWidth*e*2||0,"rpx")),t.isRadiusAll?o.borderRadius=(t.borderRadius||0)*e*2+"rpx":o.borderRadius="".concat((t.borderRadiusTopLeft||0)*e*2,"rpx ").concat((t.borderRadiusTopRight||0)*e*2,"rpx ").concat((t.borderRadiusBottomRight||0)*e*2,"rpx ").concat((t.borderRadiusBottomLeft||0)*e*2,"rpx"),o},getIconStyle:function(t){var e=this.contentScale,o={display:"flex",justifyContent:t.iconAlign||"center",alignItems:"center",width:"100%",height:"100%",boxSizing:"border-box",borderWidth:(t.showBorder?t.borderWidth*e*2:0)+"rpx",borderColor:t.borderColor||"transparent",borderStyle:t.borderStyle||"solid",padding:"".concat((t.paddingTop||0)*e*2,"rpx ").concat((t.paddingRight||0)*e*2,"rpx ").concat((t.paddingBottom||0)*e*2,"rpx ").concat((t.paddingLeft||0)*e*2,"rpx")};if(t.bgColor2){var i={horizontal:"90deg",vertical:"180deg","left-diagonal":"135deg","right-diagonal":"45deg"}[t.bgDirection]||"180deg";o.background="linear-gradient(".concat(i,", ").concat(t.backgroundColor||"transparent",", ").concat(t.bgColor2,")")}else o.backgroundColor=t.backgroundColor||"transparent";return t.showBorder&&t.borderWidth&&(o.backgroundSize="100% calc(100% + ".concat(t.borderWidth*e*4||0,"rpx)"),o.backgroundPosition="0rpx -".concat(t.borderWidth*e*2||0,"rpx")),t.isRadiusAll?o.borderRadius=(t.borderRadius||0)*e+"px":o.borderRadius="".concat((t.borderRadiusTopLeft||0)*e,"px ").concat((t.borderRadiusTopRight||0)*e,"px ").concat((t.borderRadiusBottomRight||0)*e,"px ").concat((t.borderRadiusBottomLeft||0)*e,"px"),o},getLineStyle:function(t){var e={};return"vertical"===t.direction?(e.width="0rpx",e.height="100%",e.borderLeft="".concat(2*t.height,"rpx ").concat(t.style," ").concat(t.color)):(e.width="100%",e.height="0rpx",e.borderTop="".concat(2*t.height,"rpx ").concat(t.style," ").concat(t.color)),e},getPanelStyle:function(t){var e=this.contentScale,o=0;o=t.isRadiusAll?2*t.borderRadius+"rpx":"".concat(2*t.borderRadiusTopLeft,"rpx ").concat(2*t.borderRadiusTopRight,"rpx ").concat(2*t.borderRadiusBottomRight,"rpx ").concat(2*t.borderRadiusBottomLeft,"rpx");var i={width:"100%",height:"100%",borderRadius:o,borderWidth:(t.showBorder?t.borderWidth*e:0)+"px",borderColor:t.borderColor||"transparent",borderStyle:t.borderStyle||"solid"};if(t.bgColor2){var n={horizontal:"90deg",vertical:"180deg","left-diagonal":"135deg","right-diagonal":"45deg"}[t.bgDirection]||"180deg";i.backgroundImage="linear-gradient(".concat(n,", ").concat(t.backgroundColor||"transparent",", ").concat(t.bgColor2,")")}else i.backgroundColor=t.backgroundColor||"transparent";return t.showBorder&&t.borderWidth&&(i.backgroundSize="100% calc(100% + ".concat(t.borderWidth*e*4||0,"rpx)"),i.backgroundPosition="0rpx -".concat(t.borderWidth*e*2||0,"rpx")),t.showShadow&&(i.boxShadow="".concat((t.shadowX||0)*e*2,"rpx ").concat((t.shadowY||0)*e*2,"rpx ").concat((t.shadowBlur||0)*e*2,"rpx ").concat((t.shadowSpread||0)*e*2,"rpx ").concat(t.shadowColor||"#000000")),t.showBorder&&(i.border="".concat(2*t.borderWidth,"rpx ").concat(t.borderStyle," ").concat(t.borderColor)),i},getPictureUrl:function(t,e){var o=t.propValue.fieldType;if("user"===this.selectTypeValue&&"image"===o)return this.isLogin?this.userInfo.image||t.propValue.url||"/static/images/f.png":t.propValue.url||"/static/images/f.png";if(e&&o){if("image"===o&&e.image_input)return e.image_input[0]||t.propValue.url;if("image"===o&&e.image)return e.image||t.propValue.url}return t.propValue.url},getDisplayText:function(t,e){var o=t.propValue.fieldType;if("article"===this.selectTypeValue){if("title"===o)return e.title;if("visit"===o)return e.visit;if("add_time"===o)return e.add_time;if("synopsis"===o)return e.synopsis}else if("coupon"===this.selectTypeValue){var i=t.propValue.fieldType;if("coupon_title"===i)return e.coupon_title||e.title;if("coupon_price"===i)return e.coupon_price;if("use_min_price"===i)return e.use_min_price;if("coupon_time"===i)return e.coupon_time;if("type"===i)return 1===e.type?"品类券":2===e.type?"商品券":"通用券";if("status"===i)return 1===e.status?"开启":"关闭";if("receive_time"===i)return e.receive_time;if("use_time"===i)return e.use_time;if("receive_count"===i)return e.receive_count;if("add_time"===i)return e.add_time}else if("goods"===this.selectTypeValue){if("store_name"===o)return e.store_name;if("id"===o)return e.id;if("image"===o)return e.image;if("store_info"===o)return e.store_info;if("unit_name"===o)return e.unit_name;if("cate_name"===o)return e.cate_name;if("label_name"===o)return e.label_name;if("stock"===o)return e.stock;if("price"===o)return e.price;if("max_price"===o)return e.max_price;if("min_price"===o)return e.min_price;if("ot_price"===o)return e.ot_price;if("max_ot_price"===o)return e.max_ot_price;if("min_ot_price"===o)return e.min_ot_price;if("min_qty"===o)return e.min_qty;if("sales"===o)return e.sales;if("browse"===o)return e.browse;if("add_time"===o)return e.add_time}else if("user"===this.selectTypeValue){if("nickname"===o)return e.nickname;if("uid"===o)return e.uid;if("image"===o)return e.avatar;if("collection_num"===o)return e.collection_num;if("cart_num"===o)return e.cart_num;if("order_num"===o)return e.order_num;if("integral"===o)return e.integral;if("now_money"===o)return e.now_money;if("brokerage_price"===o)return e.brokerage_price;if("unread_msg_num"===o)return e.unread_msg_num;if("mobile"===o)return e.mobile;if("add_time"===o)return e.add_time}return t.propValue.text},goDetail:function(e,o){"detail"===o.propValue.linkType?"goods"===this.selectTypeValue?t.navigateTo({url:"/pages/goods_details/index?id="+e.id}):"coupon"===this.selectTypeValue?this.receiveCoupon(e):"article"===this.selectTypeValue&&t.navigateTo({url:"/pages/extension/news_details/index?id="+e.id}):t.navigateTo({url:o.propValue.link,fail:function(){t.switchTab({url:o.propValue.link})}})},receiveCoupon:function(e){this.isLogin?(0,r.setCouponReceive)(e.id).then((function(){t.showToast({title:"领取成功",icon:"success"})})).catch((function(e){t.showToast({title:e,icon:"none"})})):this.$emit("changeLogin")},handleUserClick:function(e){e.propValue.link?"url"===e.propValue.linkType&&t.navigateTo({url:e.propValue.link}):this.isLogin||this.$emit("changeLogin")}}};e.default=s}).call(this,o("df3c")["default"])},"47a4":function(t,e,o){"use strict";o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return n})),o.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,o=(t._self._c,["article","coupon","goods"].includes(t.selectTypeValue)&&t.dataList.length>0),i=o?t.__get_style([t.getListContainerStyle]):null,n=o?t.__map(t.dataList,(function(e,o){var i=t.__get_orig(e),n=t.__get_style([t.getListItemStyle]),r=t.__get_style([t.getDataWrapperStyle]),a=t.__get_style([t.itemWrapperStyle]),c=t.__map(t.visibleComponents,(function(o,i){var n=t.__get_orig(o),r=t.__get_style([t.getComponentStyle(o.style)]),a="Picture"===o.component?t.__get_style([t.getPictureStyle(o.propValue)]):null,c="Picture"===o.component?t.getPictureUrl(o,e):null,l="Picture"!==o.component&&"Text"===o.component?t.__get_style([t.getTextBgStyle(o.propValue)]):null,s="Picture"!==o.component&&"Text"===o.component?t.__get_style([t.getTextStyle(o.propValue)]):null,u="Picture"!==o.component&&"Text"===o.component?t.getDisplayText(o,e):null,d="Picture"!==o.component&&"Text"!==o.component&&"Icon"===o.component?t.__get_style([t.getIconStyle(o.propValue)]):null,p="Picture"!==o.component&&"Text"!==o.component&&"Icon"!==o.component&&"Line"===o.component?t.__get_style([t.getLineStyle(o.propValue)]):null,g="Picture"!==o.component&&"Text"!==o.component&&"Icon"!==o.component&&"Line"!==o.component&&"Panel"===o.component?t.__get_style([t.getPanelStyle(o.propValue)]):null;return{$orig:n,s4:r,s5:a,m0:c,s6:l,s7:s,m1:u,s8:d,s9:p,s10:g}}));return{$orig:i,s1:n,s2:r,s3:a,l0:c}})):null,r=o?null:t.__get_style([t.getDataWrapperStyle]),a=o?null:t.__get_style([t.itemWrapperStyle]),c=o?null:t.__map(t.visibleComponents,(function(e,o){var i=t.__get_orig(e),n=t.__get_style([t.getComponentStyle(e.style)]),r="Picture"===e.component?t.__get_style([t.getPictureStyle(e.propValue)]):null,a="Picture"===e.component?t.getPictureUrl(e,t.userInfo):null,c="Picture"!==e.component&&"Text"===e.component?t.__get_style([t.getTextBgStyle(e.propValue)]):null,l="Picture"!==e.component&&"Text"===e.component?t.__get_style([t.getTextStyle(e.propValue)]):null,s="Picture"!==e.component&&"Text"===e.component?t.getDisplayText(e,t.userInfo):null,u="Picture"!==e.component&&"Text"!==e.component&&"Icon"===e.component?t.__get_style([t.getIconStyle(e.propValue)]):null,d="Picture"!==e.component&&"Text"!==e.component&&"Icon"!==e.component&&"Line"===e.component?t.__get_style([t.getLineStyle(e.propValue)]):null,p="Picture"!==e.component&&"Text"!==e.component&&"Icon"!==e.component&&"Line"!==e.component&&"Panel"===e.component?t.__get_style([t.getPanelStyle(e.propValue)]):null;return{$orig:i,s13:n,s14:r,m2:a,s15:c,s16:l,m3:s,s17:u,s18:d,s19:p}}));t.$mp.data=Object.assign({},{$root:{g0:o,s0:i,l1:n,s11:r,s12:a,l2:c}})},n=[]},5412:function(t,e,o){"use strict";o.r(e);var i=o("157f"),n=o.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},5891:function(t,e,o){"use strict";var i=o("03c7"),n=o.n(i);n.a},9545:function(t,e,o){"use strict";o.r(e);var i=o("47a4"),n=o("5412");for(var r in n)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(r);o("5891");var a=o("828b"),c=Object(a["a"])(n["default"],i["b"],i["c"],!1,null,"467dac50",null,!1,i["a"],void 0);e["default"]=c.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'subpackage/diyComponents/customComponent-create-component',
{
'subpackage/diyComponents/customComponent-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("9545"))
})
},
[['subpackage/diyComponents/customComponent-create-component']]
]);