(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-522b42b4"],{dc67:function(e,a,t){"use strict";t.r(a);t("2c5e");var n=t("14fe"),r=t.n(n),l=(t("b855"),t("16bc")),c=t.n(l),m=(t("4116"),t("4d2b")),s=t.n(m),i=t("ab5b"),o=t.n(i),u=(t("64e3"),t("f1a2")),E=t.n(u),p=(t("c5ec"),t("24be")),b=t.n(p),d=(t("08c8"),t("4487")),f=t.n(d),g=t("2ef0"),w=t.n(g),L=t("f974"),v=t.n(L);function y(e){var a=e.item;return o.a.createElement(E.a,{title:o.a.createElement(b.a,null,o.a.createElement(f.a,{span:24},o.a.createElement("b",null,a.name))),className:v.a.item},o.a.createElement(b.a,{className:v.a.row},o.a.createElement(f.a,{span:16},o.a.createElement("b",null,"描述："),o.a.createElement("span",null,a.description)),o.a.createElement(f.a,{span:8},o.a.createElement("b",null,"模板ID："),o.a.createElement("span",null,a.id))),o.a.createElement(b.a,{className:v.a.row},o.a.createElement(f.a,{span:8},o.a.createElement("b",null,"版本："),o.a.createElement("span",null,a.version)),o.a.createElement(f.a,{span:8},o.a.createElement("b",null,"模板来源："),o.a.createElement("span",null,w.a.get(a,"token")?"第三方模板":"内置模板")),o.a.createElement(f.a,{span:8},o.a.createElement("b",null,"模板类型："),o.a.createElement("span",null,w.a.get(a,"template-config.composable")?"高级模板":"普通模板"))))}var k=t("9848"),I=t("aaf9");function h(){var e=function(){var e=Object(I.a)(),a=e.isLoading,t=e.setIsLoading,n=e.error,r=e.setError,l=Object(k.a)(r,{needDetailArray:!0}).templateListData;return Object(i.useEffect)((function(){l&&t(!1)}),[l]),{isLoading:a,error:n,templateList:l}}(),a=e.isLoading,t=e.error,n=e.templateList;return o.a.createElement(o.a.Fragment,null,t?o.a.createElement(s.a,{message:"请求数据错误",description:t.stack,type:"error",showIcon:!0}):a?o.a.createElement("div",{style:{marginTop:"50px",textAlign:"center"}},o.a.createElement(c.a,{size:"large"})):o.a.createElement(o.a.Fragment,null,o.a.createElement(r.a,{itemLayout:"horizontal",size:"large",dataSource:n,renderItem:function(e){return o.a.createElement(r.a.Item,null,o.a.createElement(y,{item:e}))}})))}t.d(a,"default",(function(){return h}))},f974:function(e,a,t){e.exports={item:"style-module_item_3-GQW",row:"style-module_row_1539Q"}}}]);