;/*!amis-saas:static/uni.webview.1.5.4.js*/ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e=e||self).uni=n()}(this,(function(){"use strict";try{var e={};Object.defineProperty(e,"passive",{get:function(){}}),window.addEventListener("test-passive",null,e)}catch(e){}var n=Object.prototype.hasOwnProperty;function i(e,i){return n.call(e,i)}var t=[];function o(){return window.__dcloud_weex_postMessage||window.__dcloud_weex_}for(var r,a=function(e,n){var i={options:{timestamp:+new Date},name:e,arg:n};if(o()){if("postMessage"===e){var r={data:[n]};return window.__dcloud_weex_postMessage?window.__dcloud_weex_postMessage(r):window.__dcloud_weex_.postMessage(JSON.stringify(r))}var a={type:"WEB_INVOKE_APPSERVICE",args:{data:i,webviewIds:t}};window.__dcloud_weex_postMessage?window.__dcloud_weex_postMessageToService(a):window.__dcloud_weex_.postMessageToService(JSON.stringify(a))}if(!window.plus)return window.parent.postMessage({type:"WEB_INVOKE_APPSERVICE",data:i,pageId:""},"*");if(0===t.length){var d=plus.webview.currentWebview();if(!d)throw new Error("plus.webview.currentWebview() is undefined");var s,w=d.parent();s=w?w.id:d.id,t.push(s)}if(plus.webview.getWebviewById("__uniapp__service"))plus.webview.postMessageToUniNView({type:"WEB_INVOKE_APPSERVICE",args:{data:i,webviewIds:t}},"__uniapp__service");else{var u=JSON.stringify(i);plus.webview.getLaunchWebview().evalJS('UniPlusBridge.subscribeHandler("'.concat("WEB_INVOKE_APPSERVICE",'",').concat(u,",").concat(JSON.stringify(t),");"))}},d={navigateTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;a("navigateTo",{url:encodeURI(n)})},navigateBack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.delta;a("navigateBack",{delta:parseInt(n)||1})},switchTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;a("switchTab",{url:encodeURI(n)})},reLaunch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;a("reLaunch",{url:encodeURI(n)})},redirectTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;a("redirectTo",{url:encodeURI(n)})},getEnv:function(e){o()?e({nvue:!0}):window.plus?e({plus:!0}):e({h5:!0})},postMessage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a("postMessage",e.data||{})}},s=/uni-app/i.test(navigator.userAgent),w=/Html5Plus/i.test(navigator.userAgent),u=/complete|loaded|interactive/,g=window.my&&navigator.userAgent.indexOf(["t","n","e","i","l","C","y","a","p","i","l","A"].reverse().join(""))>-1,c=window.swan&&window.swan.webView&&/swan/i.test(navigator.userAgent),v=window.qq&&window.qq.miniProgram&&/QQ/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent),m=window.tt&&window.tt.miniProgram&&/toutiaomicroapp/i.test(navigator.userAgent),p=window.wx&&window.wx.miniProgram&&/micromessenger/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent),f=window.qa&&/quickapp/i.test(navigator.userAgent),l=window.ks&&window.ks.miniProgram&&/micromessenger/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent),_=window.tt&&window.tt.miniProgram&&/Lark|Feishu/i.test(navigator.userAgent),E=window.jd&&window.jd.miniProgram&&/micromessenger/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent),h=window.xhs&&window.xhs.miniProgram&&/xhsminiapp/i.test(navigator.userAgent),P=function(){window.UniAppJSBridge=!0,document.dispatchEvent(new CustomEvent("UniAppJSBridgeReady",{bubbles:!0,cancelable:!0}))},b=[function(e){if(s||w)return window.__dcloud_weex_postMessage||window.__dcloud_weex_?document.addEventListener("DOMContentLoaded",e):window.plus&&u.test(document.readyState)?setTimeout(e,0):document.addEventListener("plusready",e),d},function(e){if(p)return window.WeixinJSBridge&&window.WeixinJSBridge.invoke?setTimeout(e,0):document.addEventListener("WeixinJSBridgeReady",e),window.wx.miniProgram},function(e){if(v)return window.QQJSBridge&&window.QQJSBridge.invoke?setTimeout(e,0):document.addEventListener("QQJSBridgeReady",e),window.qq.miniProgram},function(e){if(g){document.addEventListener("DOMContentLoaded",e);var n=window.my;return{navigateTo:n.navigateTo,navigateBack:n.navigateBack,switchTab:n.switchTab,reLaunch:n.reLaunch,redirectTo:n.redirectTo,postMessage:n.postMessage,getEnv:n.getEnv}}},function(e){if(c)return document.addEventListener("DOMContentLoaded",e),window.swan.webView},function(e){if(m)return document.addEventListener("DOMContentLoaded",e),window.tt.miniProgram},function(e){if(f){window.QaJSBridge&&window.QaJSBridge.invoke?setTimeout(e,0):document.addEventListener("QaJSBridgeReady",e);var n=window.qa;return{navigateTo:n.navigateTo,navigateBack:n.navigateBack,switchTab:n.switchTab,reLaunch:n.reLaunch,redirectTo:n.redirectTo,postMessage:n.postMessage,getEnv:n.getEnv}}},function(e){if(l)return window.WeixinJSBridge&&window.WeixinJSBridge.invoke?setTimeout(e,0):document.addEventListener("WeixinJSBridgeReady",e),window.ks.miniProgram},function(e){if(_)return document.addEventListener("DOMContentLoaded",e),window.tt.miniProgram},function(e){if(E)return window.JDJSBridgeReady&&window.JDJSBridgeReady.invoke?setTimeout(e,0):document.addEventListener("JDJSBridgeReady",e),window.jd.miniProgram},function(e){if(h)return window.xhs.miniProgram},function(e){return document.addEventListener("DOMContentLoaded",e),d}],y=0;y {context.props.click(context.props.data.type)})"}]}}}]}]},(0,v.i18n)("402d19e50fff44c827a4f3b608bd5812",{})),L=(0,c.default)({type:"form",api:"/auth/phone?method=password",wrapWithPanel:!1,controls:[{name:"redirect",type:"hidden"},{name:"email",type:"input-text",label:"",placeholder:(0,v.i18n)("37b4b3c997f8c852d66c1e628266a6b7"),className:"Email-control",required:!0},{name:"token",type:"password",label:"",className:"Token-control",placeholder:(0,v.i18n)("9605419d3d1a5922202f13e3ec16999e"),required:!0},{type:"submit",label:(0,v.i18n)("402d19e50fff44c827a4f3b608bd5812"),block:!0,level:"primary",size:"lg",className:"Submit-control"},{type:"container",body:[{type:"button",label:(0,v.i18n)("0974fb72f657f7be1cc33bd253aa0c0f"),level:"link",className:"forget-btn",onEvent:{click:{actions:[{actionType:"custom",script:"return new Promise((resolve, reject) => {context.props.click()})"}]}}}]}]},(0,v.i18n)("402d19e50fff44c827a4f3b608bd5812",{})),q=(0,c.default)({type:"form",api:"/auth/ldap",wrapWithPanel:!1,controls:[{name:"redirect",type:"hidden"},{name:"username",type:"text",label:"",placeholder:(0,v.i18n)("160be641bcb25beb799dbe704b7d378a")},{name:"password",type:"password",label:"",placeholder:(0,v.i18n)("ec0706fb746e8c2a25f93a3c9c66d10b")},{type:"submit",label:(0,v.i18n)("402d19e50fff44c827a4f3b608bd5812"),block:!0,level:"primary",size:"lg",className:"Submit-control"}]},(0,v.i18n)("402d19e50fff44c827a4f3b608bd5812",{})),P=(0,c.default)({type:"form",api:"/auth/phone",initApi:"",wrapWithPanel:!1,controls:[{name:"redirect",type:"hidden"},{name:"phone",type:"input-text",label:"",validations:{isPhoneNumber:!0},placeholder:(0,v.i18n)("6e4f4b3329799f539ee6b9064370e7be"),className:"Phone-control",required:!0},{name:"token",type:"text",label:"",className:"Token-control",placeholder:(0,v.i18n)("78c83be2eff78ebacc8755b9123d1a3f"),required:!0,addOn:{type:"button",component:z,noCaptcha:!0}},{type:"submit",label:(0,v.i18n)("402d19e50fff44c827a4f3b608bd5812"),block:!0,level:"primary",size:"lg",className:"Submit-control"}]},(0,v.i18n)("402d19e50fff44c827a4f3b608bd5812",{})),B=(0,c.default)({type:"form",wrapWithPanel:!1,api:{method:"post",url:"/resetpwd",data:{"&":"$$",accountType:"${type}"}},controls:[{type:"container",className:"relative reset-header",body:[{type:"button",label:(0,v.i18n)("5f411223ca5a01a5adf20fe735a433d0"),icon:i.default.createElement(u.Icon,{icon:"return-login",className:"w-4 h-4"}),level:"link",className:"absolute -mt-1.5 p-0 back-to-login",onEvent:{click:{actions:[{actionType:"custom",script:"return new Promise((resolve, reject) => {context.props.click()})"}]}}},{type:"tpl",tpl:(0,v.i18n)("0719aa2bb09a63f0d59e0df2c4b0a3f8"),wrapperComponent:"h3",className:"text-center m-0"}]},{type:"divider",className:"mt-3 mb-8"},{type:"group",name:"group",className:"Captcha-group m-0 p-0",body:[{type:"select",name:"type",columnRatio:0,className:"mb-0",options:[{label:(0,v.i18n)("3bc5e602b2d4c7fffe79258e2ac6952e"),value:"email"},{label:(0,v.i18n)("8098e2b4e82c9fff83ec2d91bda6f1a6"),value:"phone"}],value:"email"},{type:"input-text",name:"email",columnRatio:12,label:!1,placeholder:(0,v.i18n)("dbf6d02ab9ff7fc2f7dfa2c7134ab881"),visibleOn:"this.type === 'email'",required:!0,clearValueOnHidden:!0,validations:{isEmail:!0}},{type:"input-text",name:"phone",columnRatio:12,label:!1,placeholder:(0,v.i18n)("6e4f4b3329799f539ee6b9064370e7be"),visibleOn:"this.type === 'phone'",required:!0,clearValueOnHidden:!0,validations:{isPhoneNumber:!0}}]},{name:"graphCode",type:"input-text",label:!1,className:"Token-control",visibleOn:"this.type === 'phone'",required:!0,placeholder:(0,v.i18n)("ab6e795370695502c9358d44826f629d"),clearValueOnHidden:!0,addOn:{type:"button",component:$,noGraphCode:!0}},{name:"token",type:"input-text",label:!1,placeholder:(0,v.i18n)("d0c06a0df1ee1d97e869e447071af73b"),className:"Token-control",visibleOn:"this.type === 'email'",required:!0,addOn:{type:"button",component:I},clearValueOnHidden:!0,validations:{isLength:6},validationErrors:{isLength:(0,v.i18n)("dc752759dc0dddc130b0723b8b57def2")}},{name:"token",type:"input-text",label:!1,placeholder:(0,v.i18n)("d0c06a0df1ee1d97e869e447071af73b"),className:"Token-control",visibleOn:"this.type === 'phone'",required:!0,addOn:{type:"button",component:z},clearValueOnHidden:!0,validations:{isLength:6},validationErrors:{isLength:(0,v.i18n)("dc752759dc0dddc130b0723b8b57def2")}},{name:"tokenNew",type:"input-password",label:!1,placeholder:(0,v.i18n)("2835356d32dd8736b1110dc15f2b7cb7"),className:"Token-control",required:!0,validations:{matchRegexp:/^(?=.*\d)(?=.*[a-zA-Z])(?=.*[~!@#$%^&*])[\da-zA-Z~!@#$%^&*]{8,16}/},validationErrors:{isRequired:(0,v.i18n)("89b5d3d5bfb3510565a32a76316fc6a5"),matchRegexp:(0,v.i18n)("fb52c6dcd1ce1c274e23ebb544829bcd")}},{name:"tokenRepeat",type:"input-password",label:!1,placeholder:(0,v.i18n)("2835356d32dd8736b1110dc15f2b7cb7"),className:"Token-control",required:!0,validations:{equalsField:"tokenNew"},validationErrors:{isRequired:(0,v.i18n)("89b5d3d5bfb3510565a32a76316fc6a5"),equalsField:(0,v.i18n)("9bf90f4c9e9b552bb08fc25f40d7d6ae")}},{type:"submit",label:(0,v.i18n)("0719aa2bb09a63f0d59e0df2c4b0a3f8"),block:!0,level:"primary",size:"lg",className:"Submit-control"}],onEvent:{submitSucc:{actions:[{actionType:"toast",args:{msgType:"success",msg:(0,v.i18n)("4fa9bade6cbea67a3cb1067409c215b2")}},{actionType:"custom",script:"return new Promise((resolve, reject) => {context.props.click()})"}]}},className:"overflow-hidden"});function R(){return i.default.createElement("div",{className:"Login-container-content-uuap"},i.default.createElement("a",{href:(0,m.normalizePath)("/auth/uuap".concat(location.search))},i.default.createElement(u.Icon,{icon:"baidu-oauth"}),(0,v.i18n)("d234db84881e335d62ecf70ce4730f66")))}(0,c.default)({type:"remark",className:"EmailRemark",content:(0,v.i18n)("b1a92d48043e6eeba07d006215f1650e",{"@1":f.config.siteName}),placement:"top"});var A=(0,c.default)({type:"container",className:"detaule-qrcode-container",body:[{type:"qr-code",codeSize:140,value:"https://suda.baidu.com"},{type:"container",className:"detaule-qrcode-container-mask",body:{type:"spinner"}}]});function I(e){var t=e.env,a=e.store,n=e.disabled,c=i.default.useState(!1),d=c[0],r=c[1],u=i.default.useState(0),f=u[0],s=u[1];return i.default.useEffect((function(){var e=f?setTimeout((function(){return s(f-1)}),1e3):0;return function(){return clearTimeout(e)}}),[f]),i.default.createElement(o.Button,{onClick:function(){var e,n;return(0,l.__awaiter)(this,void 0,void 0,(function(){var i,c;return(0,l.__generator)(this,(function(l){switch(l.label){case 0:return[4,a.validateFields([{name:"email",rules:{isEmail:!0}}])];case 1:return i=l.sent(),(null===(e=null==a?void 0:a.data)||void 0===e?void 0:e.email)&&"undefined"!==(null===(n=null==a?void 0:a.data)||void 0===n?void 0:n.email)?i?(r(!0),[4,t.fetcher("post:/verifyEmail",{email:a.data.email})]):[2,t.notify("error",(0,v.i18n)("53d1b4f2736c9dcfb454b7d372965172"))]:[2,t.notify("error",(0,v.i18n)("dbf6d02ab9ff7fc2f7dfa2c7134ab881"))];case 2:return c=l.sent(),r(!1),c.ok?(t.notify("success",c.msg),s(60),[2]):[2,t.notify("error",c.msg||(0,v.i18n)("1f0d5f57ed40cd06c2c4b18af8333477"))]}}))}))},disabled:n||!!f||d,level:"info"},f>0?i.default.createElement("span",null,(0,v.i18n)("787aac5104ff5c4a67f0a678ad8e589a"),f,"s)"):(0,v.i18n)("d369f43aace46c7b30cb9a6e642b718b"))}function z(e){var t=e.env,a=e.store,n=e.disabled,c=e.noCaptcha,d=i.default.useState(!1),r=d[0],u=d[1],f=i.default.useState(0),s=f[0],m=f[1];return i.default.useEffect((function(){var e=s?setTimeout((function(){return m(s-1)}),1e3):0;return function(){return clearTimeout(e)}}),[s]),i.default.createElement(o.Button,{onClick:function(){return(0,l.__awaiter)(this,void 0,void 0,(function(){var e;return(0,l.__generator)(this,(function(n){switch(n.label){case 0:return[4,a.validateFields([{name:"phone",rules:{isPhoneNumber:!0}}])];case 1:return n.sent()?(u(!0),[4,t.fetcher("post:/auth/verifyPhone",{phone:a.data.phone,graphCode:a.data.graphCode,noCaptcha:c})]):[2,t.notify("error",(0,v.i18n)("a750e88b75c4089b5a73c2495a93dfc8"))];case 2:return e=n.sent(),u(!1),e.ok?(t.notify("success",e.msg),m(60),[2]):[2,t.notify("error",e.msg||(0,v.i18n)("1f0d5f57ed40cd06c2c4b18af8333477"))]}}))}))},disabled:n||!!s||r,level:"info"},s>0?i.default.createElement("span",null,(0,v.i18n)("787aac5104ff5c4a67f0a678ad8e589a"),s,"s)"):(0,v.i18n)("d369f43aace46c7b30cb9a6e642b718b"))}function $(e){var t=e.env,a=e.store,n=e.disabled,c=e.noGraphCode,d=i.default.useState(!1),r=d[0],u=d[1],f=(0,i.useState)({svg:""}),s=f[0],m=f[1];return i.default.useEffect((function(){t.fetcher("post:/auth/captcha",{phone:a.data.phone,noGraphCode:c}).then((function(e){e.ok&&m(e.data)}))}),[]),i.default.createElement(o.Button,{className:"GraphCode",onClick:function(){return(0,l.__awaiter)(this,void 0,void 0,(function(){var e;return(0,l.__generator)(this,(function(n){switch(n.label){case 0:return[4,a.validateFields(["phone"])];case 1:return n.sent()?(u(!0),[4,t.fetcher("post:/auth/captcha",{phone:a.data.phone,noGraphCode:c})]):[2,t.notify("error",(0,v.i18n)("a750e88b75c4089b5a73c2495a93dfc8"))];case 2:return e=n.sent(),u(!1),e.ok&&m(e.data),[2]}}))}))},disabled:n||r,level:"primary"},i.default.createElement("div",{dangerouslySetInnerHTML:{__html:s.svg}}))}function V(){var e=i.default.useState(!0),t=e[0],a=e[1],n=i.default.useState(!1),l=n[0],c=n[1];function o(){c(!0)}return i.default.useEffect((function(){!t&&a(!0),t&&setTimeout((function(){o()}),1e3)}),[t]),i.default.createElement("div",{className:"Login-container-content-weixin"},i.default.createElement("div",{className:"qrcode-wrapper",id:"weixin-login-container"},i.default.createElement("div",{className:"Login-container-content-weixin-mask-wrapper"},t?i.default.createElement("iframe",{onLoad:o,src:"/auth/weixin".concat(location.search),sandbox:"allow-scripts allow-same-origin allow-top-navigation"}):null,l?null:i.default.createElement(A,null))),i.default.createElement("div",{className:"Login-container-content-weixin-operation"},l?i.default.createElement("a",{onClick:function(){a(!1),c(!1)}},(0,v.i18n)("cc860ffa3a23ca375ea9320efc8f11d0")):null))}t.VerifyEmail=I,t.VerifyPhone=z,t.Captcha=$,t.default=function(e){var t=(0,d.qsparse)(e.location.search.substring(1)),a=-1!==f.config.authTypes.indexOf("phone")&&-1!==f.config.authTypes.indexOf("email"),n=-1!==f.config.authTypes.indexOf("email")&&f.config.authTypes.indexOf("phone")<0,l=-1!==f.config.authTypes.indexOf("bce"),c=-1!==f.config.authTypes.indexOf("uuap"),u=-1!==f.config.authTypes.indexOf("oauth"),A=-1!==f.config.authTypes.indexOf("workweixin"),I=-1!==f.config.authTypes.indexOf("baidu"),z=-1!==f.config.authTypes.indexOf("weixin"),$=-1!==f.config.authTypes.indexOf("third"),H=-1!==f.config.authTypes.indexOf("password"),F=-1!==f.config.authTypes.indexOf("idaas"),W=-1!==f.config.authTypes.indexOf("ldap"),j=-1!==f.config.authTypes.indexOf("phone")&&f.config.authTypes.indexOf("email")<0,D=-1!==f.config.authTypes.indexOf("cas2"),G=-1!==f.config.authTypes.indexOf("third-company"),M=i.default.useState(160),Z=M[0],K=M[1],J=i.default.useRef(null),Q=(0,g.useStores)().store;(0,i.useEffect)((function(){(0,h.silentLogin)(Q,t)}),[]);var U=(0,s.default)([n&&{type:E,title:(0,v.i18n)("4bc8beba4974f753d0b311bb9f5fdc5d"),remark:!0},a&&{type:k,title:(0,v.i18n)("4bc8beba4974f753d0b311bb9f5fdc5d")},j&&{type:O,title:(0,v.i18n)("4bc8beba4974f753d0b311bb9f5fdc5d")},H&&{type:N,title:(0,v.i18n)("0d96310edffe304884c9a6ad66b57338")},z&&{type:w,title:(0,v.i18n)("8ed5d46ad77d5c23b905d415fe0b8d54")},c&&{type:x,title:(0,v.i18n)("d234db84881e335d62ecf70ce4730f66")},W&&{type:T,title:"LDAP"},l&&{type:C,title:(0,v.i18n)("7c5c2c4b271fc07785d4ea2f73360cee"),url:"/auth/bce".concat(location.search)}]),X=i.default.useState(localStorage.getItem("currentType"))[0],Y=i.default.useState(X&&U.find((function(e){return e.type===X}))?X:f.config.defaultAuth&&U.some((function(e){return e.type===f.config.defaultAuth}))?f.config.defaultAuth:U.length>0?U[0].type:""),ee=Y[0],te=Y[1],ae=i.default.useState("private"===f.config.mode)[0],ne=i.default.useState(!!localStorage.getItem("forget")&&"true"===localStorage.getItem("forget")),le=ne[0],ie=ne[1],ce=i.default.useState("email"),oe=ce[0],de=ce[1],re=i.default.useState(["email","phone","captcha","password"]),ue=re[0],fe=(re[1],i.default.useState(!X||ue.includes(X))),se=fe[0],me=fe[1],pe=i.default.useState(ae&&U.find((function(e){return!ue.includes(e.type)}))),be=pe[0],he=(pe[1],(0,s.default)([I&&{title:(0,v.i18n)("a3f4a5b080e2a4ef4a708b9c9f5ad003"),href:"/auth/baidu".concat(location.search)},u&&{title:"OAuth",href:"/auth/oauth".concat(location.search)},A&&{title:(0,v.i18n)("ff17b9f9cd551e7ea926599a8a6fe9f6"),href:"/auth/workweixin".concat(location.search)},F&&{title:(0,v.i18n)("3938309b2b4c26e7d7936070c2929bbf"),href:"/auth/idaas".concat(location.search)},$&&{title:(0,v.i18n)("0f004c4cf751040108a50de72e8210fc"),href:"/auth/third".concat(location.search)},G&&{title:(0,v.i18n)("fa731618653ec98406ea811a5c8fe3a4"),href:"/auth/third-company".concat(location.search)},D&&{title:"CAS 2.0",href:"/auth/cas2".concat(location.search)}]));function ge(e){e.url?window.location.href=e.url:(te(e.type),localStorage.setItem("currentType",e.type),ae&&(ue.includes(e.type)?me(!0):me(!1))),we()&&(ie(!1),localStorage.setItem("forget","false"))}if((1===f.config.authTypes.length||f.config.defaultAuth&&"manual"!==t.authType&&~["third","idaas","oauth","cas2","third-company"].indexOf(f.config.defaultAuth))&&($||F||u||D||G))return location.reload(),i.default.createElement(o.Spinner,{show:!0,size:"lg",overlay:!0});var ye=i.default.useCallback((function(e){null!==e&&(e.getBoundingClientRect().width>=1440&&K(160))}),[]),ve=i.default.createElement("img",{height:"55",alt:f.config.siteName,src:"/static/static/brand-login_f0b014f.png"}),Ee=i.default.createElement("div",{className:"Login-BaiduCloud-Left-Image"},i.default.createElement("img",{src:"/static/static/login-image-s-new_817ecc6.png"})),ke=i.default.createElement("img",{src:"/static/static/login-bg-s-new_d1d40fe.png",onLoad:function(){var e;null===(e=J.current)||void 0===e||e.classList.add("bg--loaded")},width:0}),Ne=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobi/i;function we(){return Ne.test(navigator.userAgent)}function xe(){return i.default.createElement("div",{className:"Login-container-auth-list"},(he.length||U.length>1)&&"saas"===f.config.mode||(he.length||be)&&ae?i.default.createElement("div",{className:"Login-container-auth-list-title"},i.default.createElement("div",null),i.default.createElement("span",null,(0,v.i18n)("accb0abb3b4ace85d4c7e312aaebfd39")),i.default.createElement("div",null)):null,i.default.createElement("ul",null,("saas"===f.config.mode||we())&&U.map((function(e,t){return ee!==e.type&&i.default.createElement("li",{key:t},i.default.createElement("a",{onClick:function(){return ge(e)}},e.title))})),!we()&&ae&&U.map((function(e,t){return(!ue.includes(e.type)&&se||!se&&ee!==e.type)&&i.default.createElement("li",{key:t},i.default.createElement("a",{onClick:function(){return ge(e)}},e.title))})),he.map((function(e,t){return i.default.createElement("li",{key:t},i.default.createElement("a",{href:(0,m.normalizePath)(e.href)},e.title))}))))}return i.default.createElement(r.Layout,null,i.default.createElement(p.default,{title:(0,v.i18n)("7e331b7f15b4af18d714314a7a3ba50c",{"@1":f.config.siteName})}),i.default.createElement("div",{className:"Login-BaiduCloud",ref:ye},i.default.createElement("div",{className:"Login-BaiduCloud-Container"},i.default.createElement("div",{className:"Login-BaiduCloud-Left ".concat(f.config.loginBackground?"customBg":"bg"),style:f.config.loginBackground?{backgroundImage:"url(".concat(f.config.loginBackground,")")}:{}},i.default.createElement("div",{className:"w-full h-full",ref:J},i.default.createElement("div",{className:"Login-BaiduCloud-Logo"},f.config.isBaiduCloud?ve:null),i.default.createElement("div",{className:"Login-BaiduCloud-Title"},f.config.isBaiduCloud?i.default.createElement(i.default.Fragment,null,i.default.createElement("h3",null,(0,v.i18n)("c8be11c131e50e6108301adf76b9897d")),i.default.createElement("p",{className:"description"},(0,v.i18n)("64a7de8dcbf28d18fe32bbd4f981c660"))):f.config.logo?i.default.createElement("img",{alt:f.config.siteName,src:f.config.logo}):i.default.createElement("h3",null,f.config.siteName)),f.config.loginBackground?null:i.default.createElement(i.default.Fragment,null,Ee,ke),f.config.isBaiduCloud?i.default.createElement("div",{className:"Login-BaiduCloud-footer"},"©2021 Baidu",i.default.createElement("a",{href:"http://www.baidu.com/duty/",target:"_blank"},(0,v.i18n)("60a883c6af090d0d6a92ff7e3f4c46fa")),"    ",i.default.createElement("a",{href:"https://cloud.baidu.com/qualification/isp.html",target:"_blank"},(0,v.i18n)("ca5b6a833d16abc6aff4702643b58805")),i.default.createElement("br",null),i.default.createElement("span",null,(0,v.i18n)("cc16aa10ba426b44d53d28bcbc396400")),"    ",i.default.createElement("a",{target:"blank",href:"https://cloud.baidu.com/doc/Agreements/s/Kjwvy245m/"},(0,v.i18n)("cc953ad14a08eb8ca0a26b65b45fcbc2"))):null)),i.default.createElement("div",{className:"Login-BaiduCloud-Right"},i.default.createElement(y.default,{history:e.history,placement:"bottom"}),i.default.createElement("div",{className:"Login-BaiduCloud-Wrapper",style:{marginTop:"".concat(Z,"px")}},le?i.default.createElement("div",{className:"Login-container"},i.default.createElement("div",{className:"Login-container-tabs"},i.default.createElement("div",{className:"Login-container-content reset"},i.default.createElement(B,{click:function(){ie(!1),localStorage.setItem("forget","false")},data:{type:oe}}),we()&&xe()))):function(){var e,t;return i.default.createElement("div",{className:"Login-container"},i.default.createElement("div",{className:"Login-container-tabs"},ae&&se&&!we()&&i.default.createElement("ul",{className:U.length>1?"text-center":""},U.map((function(e){return ue.includes(e.type)&&i.default.createElement("li",{key:e.type,className:ee===e.type?"selected":""},i.default.createElement("a",{className:"item",onClick:function(){ge(e)}},e.title))}))),ae&&!se&&!we()&&i.default.createElement("div",null,i.default.createElement("h3",null,null===(e=U.find((function(e){return ee===e.type})))||void 0===e?void 0:e.title),i.default.createElement("hr",null)),(!ae||we())&&i.default.createElement("div",null,i.default.createElement("h3",null,null===(t=U.find((function(e){return ee===e.type})))||void 0===t?void 0:t.title),i.default.createElement("hr",null))),i.default.createElement("div",{className:(0,b.default)("Login-container-content",ee)},ee===E?i.default.createElement(S,null):null,ee===k?i.default.createElement(_,{click:function(e){de(e),ie(!0),localStorage.setItem("forget","true")},data:{hasPassword:!!U.find((function(e){return e.type===N}))}}):null,ee===N?i.default.createElement(L,{click:function(e){de(e),ie(!0),localStorage.setItem("forget","true")}}):null,ee===T?i.default.createElement(q,null):null,ee===w?i.default.createElement(V,null):null,ee===x?i.default.createElement(R,null):null,ee===O?i.default.createElement(P,null):null),xe())}())))))}})); ;/*!amis-saas:route/Bind.tsx*/ amis.define("0e2e09f",(function(e,a,i,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var t=(0,e("f61a25a").__importDefault)(e("f140b46")),l=e("685a428"),d=e("83b90d9"),c=e("3e58922");a.default=(0,t.default)({type:"page",className:"Portal-body Bind-body",title:(0,c.i18n)("6442220313a446b00fe479a91d86c09b"),body:{type:"wrapper",className:"Bind-body-wrapper",body:{type:"form",api:"/bind",wrapWithPanel:!1,mode:"horizontal",horizontal:{left:1},data:{name:"amisUser.name"},controls:[{type:"alert",level:"info",body:{component:function(){return(0,c.i18n)("7500692d1b3ada37823f728609bd02bc",{"@1":d.config.siteName})}}},{name:"redirect",type:"hidden"},{name:"amisUser.name",type:"text",required:!0,label:(0,c.i18n)("17327f9c774b7b09dd2f781cf8eb84eb"),size:"lg",disabled:!0},{name:"email",type:"email",label:(0,c.i18n)("3bc5e602b2d4c7fffe79258e2ac6952e"),placeholder:(0,c.i18n)("2ba4c815875437de0ead44231cc16be1"),className:"Email-control",required:!0,size:"lg"},{name:"token",type:"text",label:(0,c.i18n)("983f59c9d49a93bb265a311d48d81a74"),size:"lg",className:"Token-control",placeholder:(0,c.i18n)("78c83be2eff78ebacc8755b9123d1a3f"),required:!0,addOn:{type:"button",component:l.VerifyEmail}},{type:"submit",label:(0,c.i18n)("f4f12c7a2c38440ac06aae42cce36673"),level:"primary",className:"m-b-none"}]}}},(0,c.i18n)("8a3672168f700e1601df84ac46b561ff"))})); ;/*!amis-saas:route/Logout.tsx*/ amis.define("b658527",(function(e,f,a,t){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var r=(0,e("f61a25a").__importDefault)(e("f2bfafc")),n=e("cb6763d"),c=e("a85d1f4"),b=e("3e58922");f.default=function(){return r.default.createElement(n.ErrorPage,null,(0,b.i18n)("b724f4e8b2c8e3e3383f27d6a43094ec"),r.default.createElement("a",{href:(0,c.normalizePath)("/")},(0,b.i18n)("db1c89e0f6e62f9642018cbb531bbd4f")))}})); ;/*!amis-saas:route/i/index.tsx*/ amis.define("3a50d7b",(function(e,t,a,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0});var l=e("f61a25a"),r=e("b1997d5"),i=(0,l.__importDefault)(e("f2bfafc")),c=e("e8bd6d2"),d=e("f0957da"),f=(0,l.__importDefault)(e("10ab73b")),u=(0,l.__importDefault)(e("47a6342")),s=e("83b90d9"),m=e("a85d1f4"),p=e("bdee665"),b=e("3e58922"),h=i.default.lazy((function(){return Promise.resolve().then((function(){return new Promise((function(t){e(["84b608e"],(function(e){t(l.__importStar(e))}))}))}))})),E=i.default.lazy((function(){return Promise.resolve().then((function(){return new Promise((function(t){e(["07ff37c"],(function(e){t(l.__importStar(e))}))}))}))})),g=i.default.lazy((function(){return Promise.resolve().then((function(){return new Promise((function(t){e(["601644f"],(function(e){t(l.__importStar(e))}))}))}))})),v=i.default.lazy((function(){return Promise.resolve().then((function(){return new Promise((function(t){e(["5a3122f"],(function(e){t(l.__importStar(e))}))}))}))})),y=i.default.lazy((function(){return Promise.resolve().then((function(){return new Promise((function(t){e(["5112aea"],(function(e){t(l.__importStar(e))}))}))}))})),N=i.default.lazy((function(){return Promise.resolve().then((function(){return new Promise((function(t){e(["cb1b66c"],(function(e){t(l.__importStar(e))}))}))}))})),P=i.default.lazy((function(){return Promise.resolve().then((function(){return new Promise((function(t){e(["4a56d85"],(function(e){t(l.__importStar(e))}))}))}))})),_=[{label:(0,b.i18n)("749ba571353bcd8c5e837f7aba7b2e4f"),path:(0,m.normalizePath)("/i/profile"),icon:i.default.createElement(p.Icon,{icon:"profile-user",className:"Header-icon"}),component:g,entryId:"userProfile"},"saas"===s.config.mode?{label:(0,b.i18n)("c1ecd65445f32a8d7eccc44c0bbd1b14"),path:"/i/companies",icon:i.default.createElement(p.Icon,{icon:"profile-company",className:"Header-icon"}),component:h,entryId:"userCompany"}:null].filter((function(e){return e}));_.push({label:(0,b.i18n)("2a028860d12d4eaf44ebd8fa54e4894a"),path:(0,m.normalizePath)("/i/roles"),icon:i.default.createElement(p.Icon,{icon:"aside-role",className:"Header-icon"}),component:v,entryId:"userRole"}),-1!==s.config.authTypes.indexOf("password")&&_.push({label:(0,b.i18n)("7fc88aeedae8d92a749abc4e9815923d"),path:"/i/password",icon:i.default.createElement(p.Icon,{icon:"aside-setting",className:"Header-icon"}),component:y}),(null===(o=null===s.config||void 0===s.config?void 0:s.config.featureFlag)||void 0===o?void 0:o.standaloneGitPush)&&_.push({label:(0,b.i18n)("198c223000bfa91b1e57eaa98ff4c372"),path:"/i/developer",icon:i.default.createElement(p.Icon,{icon:"aside-role",className:"Header-icon"}),component:N});var I=r.utils.flattenTree(_).filter((function(e){return e.path}));t.default=(0,d.inject)("store")((0,d.observer)((function(e){var t,a=e.store,n=e.history;return i.default.createElement(r.Layout,{boxed:!0,bodyClassName:"portal",header:a.embedMode?null:i.default.createElement("div",{className:"Header"},i.default.createElement("div",{className:"Header-brand"},i.default.createElement(c.Link,{to:(0,m.normalizePath)("/")},s.config.isBaiduCloud?i.default.createElement("span",{className:"Header-brandImg"},i.default.createElement("img",{alt:s.config.siteName,height:"25",src:"/static/static/brand_5b2b943.png"})):s.config.logo?i.default.createElement("span",{className:"Header-brandImg"},i.default.createElement("img",{className:"Header-brandImg",alt:s.config.siteName,height:"25",src:s.config.logo})):i.default.createElement("span",{className:"Header-brandName"},s.config.siteName||(0,b.i18n)("4d7b03657f2db8137adc9d81b146f31e")))),i.default.createElement("ul",{className:"Header-headerBar-navlinks"},i.default.createElement("li",null,s.config.docLink?i.default.createElement("a",{href:(0,m.normalizePath)(s.config.docLink),target:"_blank"},i.default.createElement(r.TooltipWrapper,{rootClose:!0,placement:"bottom",tooltip:(0,b.i18n)("c39ced2c54153ccc0c756e9fb76b366a"),tooltipClassName:"Icon-Tooltip--dark"},i.default.createElement(p.Icon,{icon:"desk-help",className:"Header-icon"}))):i.default.createElement("a",{href:(0,m.normalizePath)("/aisuda-docs/"),target:"_blank"},i.default.createElement(r.TooltipWrapper,{rootClose:!0,placement:"bottom",tooltip:(0,b.i18n)("c39ced2c54153ccc0c756e9fb76b366a"),tooltipClassName:"Icon-Tooltip--dark"},i.default.createElement(p.Icon,{icon:"desk-help",className:"Header-icon"})))),a.user?i.default.createElement(P,{user:a.user,app:a.app,hideHomeLink:"private"===s.config.mode,env:a.env,history:n}):null)),aside:a.embedMode?null:(t=_.filter((function(e){return!e.entryId||!s.config.isEntryDisable(e.entryId)})),[i.default.createElement("div",{key:"profile",className:"UserAdmin-title"},i.default.createElement("div",null,i.default.createElement(p.Icon,{icon:"desk-user",className:"Header-icon UserDropDown-icon"}),i.default.createElement("span",null,(0,b.i18n)("409120b562eac58d04bbca0fb5f24f52")))),i.default.createElement(u.default,{key:"nav",mode:"vertical",collapsed:a.asideFolded,location:n.location,navigations:t,store:a}),i.default.createElement(f.default,{key:"togger",store:a,themeColor:"light"})]),folded:a.asideFolded,offScreen:a.offScreen,theme:a.theme,asideFixed:!0,className:"App-main UserAdmin"},i.default.createElement(i.default.Suspense,{fallback:i.default.createElement(r.Spinner,{overlay:!0,spinnerClassName:"m-t-lg",size:"lg"})},i.default.createElement(c.Switch,null,i.default.createElement(c.Redirect,{to:(0,m.normalizePath)("/i/profile"),from:(0,m.normalizePath)("/i"),exact:!0}),I.map((function(e,t){return i.default.createElement(c.Route,{key:t,component:e.component,path:(0,m.normalizePath)(e.path),exact:!0})})),i.default.createElement(c.Route,{component:E}))))})))})); ;/*!amis-saas:route/NotFound.tsx*/ amis.define("07ff37c",(function(e,a,f,d){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var t=(0,e("f61a25a").__importDefault)(e("f2bfafc")),b=e("e8bd6d2"),n=e("cb6763d"),r=e("a85d1f4"),c=e("3e58922");a.default=function(e){var a;return t.default.createElement(n.ErrorPage,{code:"404"},(0,c.i18n)("7b14551d91f44f3be8aaa0b8ee95289b")," ",t.default.createElement(b.Link,{to:(0,r.normalizePath)(null!==(a=e.homeUrl)&&void 0!==a?a:"/")},(0,c.i18n)("db1c89e0f6e62f9642018cbb531bbd4f"))," ",(0,c.i18n)("d73152b8b80edd482cf2ade1d31e6923"),">")}})); ;/*!amis-saas:route/Forbidden.tsx*/ amis.define("37e6d15",(function(e,d,f,t){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var a=(0,e("f61a25a").__importDefault)(e("f2bfafc")),c=e("cb6763d"),n=e("e8bd6d2"),r=e("a85d1f4"),b=e("3e58922");d.default=function(){return a.default.createElement(c.ErrorPage,{code:403},(0,b.i18n)("23edb47c864f3e7c75077867c33c3dec"),a.default.createElement(n.Link,{key:"key",to:(0,r.normalizePath)("/")},(0,b.i18n)("db1c89e0f6e62f9642018cbb531bbd4f")),(0,b.i18n)("d73152b8b80edd482cf2ade1d31e6923"),">")}})); ;/*!amis-saas:route/Home.tsx*/ amis.define("ba42ac5",(function(e,a,t,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var d=e("f61a25a"),n=(0,d.__importDefault)(e("f2bfafc")),l=e("83b90d9"),m=(0,d.__importDefault)(e("f140b46")),i=e("a85d1f4"),o=e("3e58922");a.default=(0,m.default)({type:"page",className:"Portal-body Home-body",title:(0,o.i18n)("1f3c8802a60934be4dc84f6d8b61807b"),initApi:{method:"get",url:"/api/company",cache:1e3},body:{type:"wrapper",body:{type:"cards",className:"Home-body-company",itemClassName:"Home-body-company-items",source:"$items",placeholder:{children:function(e){return e.data.items?n.default.createElement("div",{className:"empty-company-wrapper"},n.default.createElement("img",{src:"/static/static/empty@2x_25d7aa6.png"}),n.default.createElement("div",{className:"empty-company-wrapper-tip"},l.config.applyLink?n.default.createElement("a",{href:(0,i.normalizePath)(l.config.applyLink)},(0,o.i18n)("197041e0cf61b7eabc7c4f4e988ad0ce")):n.default.createElement("p",null,(0,o.i18n)("c86e469e28cb61f8bddd81fa6018d594")))):n.default.createElement(n.default.Fragment,null)}},card:{body:{type:"card",className:"Home-body-company-item",header:{title:"$name",avatar:"<%= data.logo %>",avatarText:"${nameshort}",avatarClassName:"rounded-none"},actions:[{type:"button",label:(0,o.i18n)("a2de753af4d0e3c44528ff9a8f087023"),actionType:"link",link:"/company/${key}/"}]}}}}},(0,o.i18n)("db1c89e0f6e62f9642018cbb531bbd4f"))})); ;/*!amis-saas:route/Templates.tsx*/ amis.define("3c5684c",(function(e,a,t,l){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=e("f61a25a"),n=(0,i.__importDefault)(e("f2bfafc")),p=(0,i.__importDefault)(e("f140b46")),d=e("83b90d9"),c=e("a85d1f4"),m=e("3e58922");a.default=(0,p.default)({title:"",initApi:{method:"get",url:"/api/apptemplate/list",cache:1e3},name:"templates",id:"templates",body:[{type:"grid",className:"templateCenterList",columns:[{type:"cards",md:12,title:(0,m.i18n)("09a5dd13f63793b0d9442d19341ef157"),source:"${items}",columnsCount:5,placeholder:{children:n.default.createElement("div",null,(0,m.i18n)("6d48633368be644c5b3b8e03c7954df1"))},card:{body:[{type:"image",name:"logo",className:"templateThumb",thumbRatio:"1:1",thumbMode:"cover"},{type:"tpl",tpl:'
${name}
'}],actions:[{type:"tpl",tpl:(0,m.i18n)("92a3dc3a4ae68fd3763bf61f47c91ba3"),className:"installTimesLabel"},{name:"installTimes",type:"tpl",className:"installTimesValue"},{type:"button",label:(0,m.i18n)("607e7a4f377fa66b0b28ce318aab841f"),onEvent:{click:{actions:[{actionType:"setValue",componentId:"templates",args:{value:{templateId:"${id}"}}}]}}}]}}]},{type:"dialog",title:(0,m.i18n)("c2003199815551e8d762ff9e306f4777"),className:"templateDetail",visibleOn:"this.templateId",size:"lg",body:{type:"form",initApi:{method:"get",url:"/api/apptemplate/${templateId}",cache:1e3},body:[{type:"grid",columns:[{md:4,body:[{type:"image",name:"logo"}]},{md:8,body:[{type:"tpl",tpl:"

${name}

"},{type:"tpl",tpl:"
${description}
"},{type:"grid",columns:[{md:3,body:[{type:"tpl",tpl:(0,m.i18n)("92a3dc3a4ae68fd3763bf61f47c91ba3"),className:"installTimesLabel"}]},{md:9,body:[{name:"installTimes",type:"tpl",className:"installTimesValue"}]}]}]}]},{type:"divider"},{type:"tpl",tpl:(0,m.i18n)("d98b6a64e3b8eaf017d60dd07fb882cd")},{type:"tpl",tpl:"${detail|raw}"},{type:"tpl",tpl:(0,m.i18n)("968f0e44398f7272abe7b358054fa95e")},{type:"images",name:"screenshot",enlargeAble:!0}]},onClose:function(e,a){},onEvent:{cancel:{actions:[{actionType:"setValue",componentId:"templates",args:{value:{templateId:""}}}]}},actions:[{type:"button",actionType:"link",visibleOn:"!data.amisUser.id",label:(0,m.i18n)("53436e25c53b73a4962ad7206163c787"),link:"/login?redirect=${pathname}",level:"primary",className:"m"},{type:"button",visibleOn:"data.amisUser.id",label:(0,m.i18n)("e655a410ff21cd07e7a0150491e04371"),className:"m",level:"primary",actionType:"dialog",dialog:{title:(0,m.i18n)("ecd6ae1be82940ca29e7d351931d9650"),body:{type:"form",api:"saas"===d.config.mode?"/api/company/${companyKey}/app":"post:company://app",body:[{visible:"saas"===d.config.mode,label:(0,m.i18n)("e0968a8aecfb6d12c47332d64f70ea25"),required:"saas"===d.config.mode,type:"select",name:"companyKey",size:"md",source:{method:"get",url:"/api/company",adaptor:function(e,a){return{data:e.data.items.map((function(e){return{label:e.name,value:e.key}})),msg:"",status:0}}}},{type:"hidden",name:"templateId"},{label:(0,m.i18n)("27c3862a86325ca60b6306825379e6fa"),name:"name",placeholder:(0,m.i18n)("27c3862a86325ca60b6306825379e6fa"),type:"input-text",required:!0,size:"md"},{label:(0,m.i18n)("42621f10f6d9000c0d2a3a6547011289"),name:"key",type:"input-text",placeholder:(0,m.i18n)("d7bd3661c3f67c6986274261e1507100"),description:(0,m.i18n)("56a6e2cfdbf8a12f4e5870e2cbf72d4f"),size:"md"},{label:(0,m.i18n)("3bdd08adab6ea90b9164b20a0e4151ac"),name:"description",type:"textarea",size:"md",placeholder:(0,m.i18n)("578e80e8020708c968e802ebfc529a63")},{label:"logo",name:"logo",type:"input-image",reCropable:!1,crop:{aspectRatio:1}}],redirect:"saas"===d.config.mode?"".concat((0,c.normalizePath)("/company/${companyKey}/app")):"".concat((0,c.normalizePath)("/app"))}}}]}]},(0,m.i18n)("9d1f7006f6114cfc789535969d534ab4"))})); ;/*!amis-saas:route/TemplateDetail.tsx*/ amis.define("df46396",(function(e,a,t,d){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var l=e("f61a25a"),i=(0,l.__importDefault)(e("f2bfafc")),n=(0,l.__importDefault)(e("f140b46")),c=e("83b90d9"),p=e("a85d1f4"),r=e("3e58922");a.default=(0,n.default)({title:"",initApi:{method:"get",url:"/api/apptemplate/${params.templateId}",cache:1e3},name:"templateDetail",body:[{type:"grid",className:"templateCenterDetail",columns:[{md:2,children:function(e){var a=e.data;return i.default.createElement("img",{src:a.logo})}},{md:6,children:function(e){var a=e.data;return i.default.createElement("div",null,i.default.createElement("h3",null,a.name),i.default.createElement("p",null,a.description),i.default.createElement("p",{className:"installTimes"},a.installTimes,(0,r.i18n)("18658a6e48e4dc8dfcf37ddddcd11c42")))}},{md:4,type:"container",body:['

'.concat((0,r.i18n)("aa2c9140248b914809d04ec8db4567c6"),"

"),{type:"button",label:(0,r.i18n)("7b659241c24dd4b9970e05c1952c7487"),actionType:"link",link:"/template/${previewKey}-dev",blank:!0},{type:"button",actionType:"link",visibleOn:"!data.amisUser.id",label:(0,r.i18n)("53436e25c53b73a4962ad7206163c787"),link:"/login?redirect=${pathname}",level:"primary",className:"m"},{type:"button",visibleOn:"data.amisUser.id",label:(0,r.i18n)("e655a410ff21cd07e7a0150491e04371"),className:"m",level:"primary",actionType:"dialog",dialog:{title:(0,r.i18n)("ecd6ae1be82940ca29e7d351931d9650"),body:{type:"form",api:"post:company://app",controls:[{label:(0,r.i18n)("e0968a8aecfb6d12c47332d64f70ea25"),required:!0,type:"select",name:"companyKey",size:"md",source:{method:"get",url:"/api/company",adaptor:function(e,a){return{data:e.data.items.map((function(e){return{label:e.name,value:e.key}})),msg:"",status:0}}}},{type:"hidden",name:"templateId",value:"${params.templateId}"},{label:(0,r.i18n)("27c3862a86325ca60b6306825379e6fa"),name:"name",placeholder:(0,r.i18n)("27c3862a86325ca60b6306825379e6fa"),type:"text",required:!0,size:"md"},{label:(0,r.i18n)("42621f10f6d9000c0d2a3a6547011289"),name:"key",type:"text",placeholder:(0,r.i18n)("d7bd3661c3f67c6986274261e1507100"),description:(0,r.i18n)("56a6e2cfdbf8a12f4e5870e2cbf72d4f"),size:"md"},{label:(0,r.i18n)("3bdd08adab6ea90b9164b20a0e4151ac"),name:"description",type:"textarea",size:"md",placeholder:(0,r.i18n)("578e80e8020708c968e802ebfc529a63")},{label:"logo",name:"logo",type:"image",reCropable:!1,crop:{aspectRatio:1}}],redirect:"saas"===c.config.mode?"".concat((0,p.normalizePath)("/company/${companyKey}/app")):"".concat((0,p.normalizePath)("/app"))}}}]}]},"

".concat((0,r.i18n)("90241666956e0425abbed92de11bad8d"),"

"),{type:"divider"},"

${detail|raw}

","

".concat((0,r.i18n)("db31b1d160bb731dbd05a87154674eda"),"

"),{type:"divider"},{type:"images",source:"${screenshot}",enlargeAble:!0,thumbMode:"cover"}]},(0,r.i18n)("c2003199815551e8d762ff9e306f4777"))})); ;/*!amis-saas:route/Apply.tsx*/ amis.define("de70914",(function(e,a,l,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var f=e("f61a25a"),i=(0,f.__importDefault)(e("f2bfafc")),d=e("a85d1f4"),c=(0,f.__importDefault)(e("f140b46")),n=e("3e58922"),r=(0,c.default)({title:"",body:['

'.concat((0,n.i18n)("601efab6ed4a4979f4f2929ee2423db4"),"

"),{type:"form",api:"/api/company/apply",redirect:(0,d.normalizePath)("/"),submitText:"",title:"",panelClassName:"no-border no-shadow",mode:"horizontal",horizontal:{left:5,right:4},controls:[{label:(0,n.i18n)("4c12d831e36386981052eebce255278a"),type:"text",name:"name",placeholder:(0,n.i18n)("a5bf36a322df35b07096b2ed69f242cd"),required:!0,size:"lg"},{label:(0,n.i18n)("64c3efa568af1cdb4a1a51e38621fdac"),type:"text",name:"key",placeholder:(0,n.i18n)("08b819ef977a8333c1d501c604b98f0f"),size:"lg",validations:{isUrlPath:!0}},{label:"Logo",type:"image",name:"logo",size:"lg",reCropable:!1},{label:(0,n.i18n)("60d0458ac6ebef0fff1331af196b3c82"),type:"text",size:"lg",name:"ownerName",placeholder:(0,n.i18n)("629b2e62c4e6feaab27394f657fc283c"),required:!0},{label:(0,n.i18n)("8098e2b4e82c9fff83ec2d91bda6f1a6"),type:"text",size:"lg",name:"phone",placeholder:(0,n.i18n)("2628fc81082c13e294fa026d72313e17"),validations:{isPhoneNumber:!0},required:!0},{label:(0,n.i18n)("b652de80d6a54f83ce3cb04aaddc0c7e"),type:"text",size:"lg",name:"position",placeholder:(0,n.i18n)("5cc14efff3a0bbcb66214c93c82112b3")},{label:(0,n.i18n)("2432b57515b3627faddccb1dd1df206e"),type:"textarea",size:"lg",name:"remark",placeholder:(0,n.i18n)("4a414dd5316cebf63c05505d38724f25")},{type:"submit",label:(0,n.i18n)("a40f35541cedf24d2e4fd2a0f9053c0a"),level:"primary",size:"lg"}]}]});a.default=function(){return i.default.createElement("div",{className:"ApplyPage"},i.default.createElement(r,{onSaved:function(){}}))}})); ;/*!amis-saas:route/Doc.tsx*/ amis.define("092c858",(function(e,t,a,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=e("f61a25a"),c=(0,l.__importDefault)(e("f2bfafc")),o=e("f0957da"),r=e("e8bd6d2"),i=e("b1997d5"),s=e("36e5c87"),d=(0,l.__importDefault)(e("5554e7e")),u=e("e91d2b9"),f=(0,l.__importDefault)(e("198162b")),m=e("a85d1f4"),h=e("36e5c87"),v=(0,l.__importDefault)(e("ebfb2e8")),p=e("83b90d9"),E=e("f2bfafc"),g=(0,l.__importDefault)(e("b62850d")),N=e("3e58922");function b(e){var t,a,n,o,u=null===(t=e.location.state)||void 0===t?void 0:t.docId,b=e.offScreen,D=c.default.useState(null),_=D[0],w=D[1],y=c.default.useState([]),L=y[0],I=y[1],P=c.default.useState(!1),S=P[0],x=P[1],C=c.default.useState(!1),O=C[0],A=C[1],R=(n=u,o=c.default.useRef(),c.default.useEffect((function(){o.current=n})),o.current);c.default.useEffect((function(){return k()}),[e.location.hash]),c.default.useEffect((function(){return function(t,a){void 0===t&&(t=0);void 0===a&&(a=!1);(0,m.getFetcher)()("/api/doc").then((function(t){if(!t.ok)throw new Error(t.msg);var a=(0,h.mapTree)(t.data.items,(function(e){var t=e.parentPathname?"".concat(e.parentPathname,"/").concat(e.key):"/docs/".concat(e.key);return(0,l.__assign)((0,l.__assign)({},e),{docId:e.id,pathname:(0,m.normalizePath)(t),children:e.children.map((function(e){return(0,l.__assign)((0,l.__assign)({},e),{parentPathname:t})}))})}));if(I(a),x(!0),!u){var n=(0,h.findTree)(a,(function(e){return e.pathname===decodeURIComponent(location.pathname)}));n?M(n.docId):a.length&&e.history.replace({pathname:(0,m.normalizePath)("/docs/".concat(a[0].key)),state:{docId:a[0].docId}})}}))}()}),[]),c.default.useEffect((function(){u&&R!==u&&M()}),[u,L]);var T=c.default.useState(null),j=T[0],z=T[1],H=c.default.useState(null),B=H[0],F=H[1];function M(t){return(0,l.__awaiter)(this,void 0,void 0,(function(){var a,n,c;return(0,l.__generator)(this,(function(l){switch(l.label){case 0:return[4,(0,m.getFetcher)()("/api/doc/".concat(t||u))];case 1:if(!(a=l.sent()).ok)throw new Error(a.msg);return w(a.data),e.location.hash?k():scrollTo({top:0}),n=(0,h.flattenTree)(L),c=n.findIndex((function(e){return e.docId===(t||u)})),z(n[c-1]),F(n[c+1]),[2]}}))}))}function q(){var t=(0,v.default)(L,(function(e){return e.group})),a=Object.keys(t).map((function(e){return{label:e,children:t[e].map((function(e){return(0,l.__assign)((0,l.__assign)({},e),{className:"is-top"})}))}}));return c.default.createElement("div",{className:"Doc-navigation b-r"},c.default.createElement(i.AsideNav,{navigations:a,renderLink:function(e){var t=e.link,a=(e.active,e.toggleExpand),n=e.classnames,l=(e.depth,[]);return t.children&&t.children.length&&l.push(c.default.createElement("span",{key:"expand-toggle",className:n("AsideNav-itemArrow"),onClick:function(e){return a(t,e)}})),l.push(c.default.createElement("span",{className:n("AsideNav-itemLabel"),key:"title"},t.title)),t.pathname&&t.hasBody?/^https?\:/.test(t.pathname)?c.default.createElement("a",{target:"_blank",href:t.pathname},l):c.default.createElement(r.Link,{to:{pathname:t.pathname,state:{docId:t.docId}}},l):c.default.createElement("a",{onClick:t.children?function(){return a(t)}:void 0},l)},isActive:function(t){return function(e,t,a){return!(!e.pathname||e.pathname!==t.pathname)}(t,e.history.location,e.match.url)}}))}function U(t){return t.map((function(t,a){return c.default.createElement("div",{key:"".concat(t.fullPath,"-").concat(a),className:(0,d.default)("Doc-headingList-item",{"is-active":e.location.hash===t.fullPath})},c.default.createElement(r.Link,{to:{hash:t.fullPath,state:{docId:u}}},t.label),t.children&&t.children.length?U(t.children):null)}))}function V(e){A(!1),e.stopPropagation(),e.preventDefault()}var G=(0,E.useRef)(null);return _?c.default.createElement("div",{className:"Doc"},c.default.createElement(g.default,{title:"".concat(_.title," -- ").concat(p.config.siteName)}),c.default.createElement("div",{className:"Doc-nav"},q()),c.default.createElement(i.Drawer,{size:"xs",className:"Doc-navDrawer",overlay:!0,closeOnOutside:!0,onHide:function(){return e.store.changeOffScreen(!1)},show:b,position:"left"},q()),c.default.createElement("div",{className:"Doc-content"},c.default.createElement("div",{className:"Doc-title"},c.default.createElement("h1",null,_.title),(null===(a=null==_?void 0:_.toc.children)||void 0===a?void 0:a.length)?c.default.createElement("div",{ref:G,onClick:function(e){return A(!O)},className:"Doc-headingPopBtn visible-xs"},c.default.createElement("i",{className:"fa fa-align-right"}),O?c.default.createElement(s.Overlay,{target:G.current,container:G.current,rootClose:!1,placement:"right-bottom-right-top",show:!0},c.default.createElement(s.PopOver,{classPrefix:"cxd-",className:":Doc-headingPopover",onHide:function(){return A(!1)},overlay:!0,onClick:V},U(_.toc.children))):null):null),c.default.createElement(f.default,{html:_.html}),c.default.createElement("div",{className:"Doc-footer"},c.default.createElement("div",{className:"Doc-navLinks"},j?c.default.createElement(r.Link,{className:"Doc-navLinks--prev",to:{pathname:j.pathname,state:{docId:j.docId}}},c.default.createElement("div",{className:"Doc-navLinks-icon"},c.default.createElement("i",{className:"iconfont icon-arrow-left"})),c.default.createElement("div",{className:"Doc-navLinks-body text-right"},c.default.createElement("div",{className:"Doc-navLinks-subtitle"},(0,N.i18n)("3b1c7363d4285e7d128bc546432d1142"),j.group?" - "+j.group:""),c.default.createElement("div",{className:"Doc-navLinks-title"},j.title," "))):null,B?c.default.createElement(r.Link,{className:"Doc-navLinks--next",to:{pathname:B.pathname,state:{docId:B.docId}}},c.default.createElement("div",{className:"Doc-navLinks-body"},c.default.createElement("div",{className:"Doc-navLinks-subtitle"},(0,N.i18n)("41a6b5c7928a3e9bfb943686f243e714"),B.group?" - "+B.group:""),c.default.createElement("div",{className:"Doc-navLinks-title"},B.title)),c.default.createElement("div",{className:"Doc-navLinks-icon"},c.default.createElement("i",{className:"iconfont icon-arrow-right"}))):null))),c.default.createElement("div",{className:"Doc-toc"},c.default.createElement("div",{className:"Doc-headingList"},U(_.toc.children)))):S?c.default.createElement("div",{className:"container p-t"},c.default.createElement("p",null,(0,N.i18n)("9ce2cda66d6d348d9a5e57e40d54370c"))):null}function k(){if(location.hash&&location.hash.length>1){window.history&&"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var e=document.querySelector('[name="'.concat(location.hash.substring(1),'"]'));e&&e.scrollIntoView()}else window.scrollTo(0,0)}t.default=(0,o.inject)("store")((0,o.observer)((function(e){var t=e.store;return c.default.createElement(i.Layout,{bodyClassName:"portal",boxed:!0,header:t.embedMode?null:c.default.createElement(u.Header,{user:e.store.user,store:e.store})},c.default.createElement(b,(0,l.__assign)({},e,{offScreen:e.store.offScreen})))})))})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/locale/en-US.js*/ amis.define("0e1aa3f",(function(e,a,c,d){"use strict";e("3e58922").extendLocale("en-US",{ca746b1ff10193a3ce20878dec04a733:"Word","6b36c6f7ec834692ec6c8e3816349fdd":"Color","8e1b944f4389bdaab6f11d5bc83190c8":"Background","803205e38834280d9e6a75993ac00764":"Shadow","961534b4ea37e4e88aada736b299d063":"Border",d7ec2d3fea4756bc1642e0f10c180cf5:"Name","3fea7ca76cdece641436d7ab0d02ab1b":"Status","22b777e6fcb613b8ba83ced9594cd07e":"Ordinary","062d0b688adb10f3af5ebc2fd2667f1c":"Floating","4363c17ebb346b646af55bd8c8075915":"Click","710ad08b11419332713360d2750cd707":"Disable",d3d74355a85ba0b1cca7e45e5fd552d6:"Width and height",c1df04eec5fa0857bc0df2d68d8e953c:"Height",a2b62974f4d7564bb68b570116f25a10:"Minimum width","226b0912184333c81babf2f1894ec0c1":"Type","0103eb2d3dca70270d1a74e9ec987ac9":"Rounded corner","9a233b241eef54521cfe9365bfaa7b2f":"Padding/margin","5ef69f62dc668c1a3e68b51c50a2530a":"Icon",ef79da787ad206e5d5f8cf62e195c836:"Icon size",a68e1efc4cfb1c098588ba307a83e5b7:"Icon icon",b64b6367b8ed2c8e4dc2c5fd71ae4cd5:"Button",b98fb12243485a38b772cac849f6abf5:"Size configuration-{{@1}}","12c05fcb4242a7ccc3c6045334a3e07e":"Button",e6c4f19590b2e1b31987408d021a3df6:"Add a button type",c8339fd2a85af4ba66084d28df808de4:"Size","86cacbf6b3a5b15d4240a5c934f5f9d4":"Add a button size",b6453aea1848b65a9a76cccca94715ec:"Basic configuration","32c65d8d7431e76029678ec7bb73a5ab":"Title","2f97db95d75280bfedc5afa72d2c717d":"Background color","2c1aed77938b834cd47776db9cf202a6":"Word type","7ec907e7059b758ace2f3adb9bb803ff":"Word color","893c1942ed1aa7dbcd16dc53f0446e6b":"Padding and margin of title area","2d711b09bd0db0ad240cc83b30dd8014":"Content",a968fb0ea7adbeb28e9bc9f8b014b278:"Padding and margin of content area","1ef2788efa657b7e203a477711c8ff2e":"Padding and margin of option area",c3e817974de836e80c95cc6ce5718eff:"Search box","71d28ba30822ccef85721f6d1b8b556d":"Tip color",b12dcddb01b1ea624859ac3bfc2cb0c9:"Click status color","9a560acb5065e8debaa854aaa182aac4":"Padding and margin of input box","829abe5a8dcd0579a340d20636b59276":"Grouping",d58ba4b5e94680fcb08300e176502fb8:"List form",c8278544a2a3a953bd85dd47ca7cca3f:"List padding and margin","43d4003fba770f541626ea254aeebece":"Right padding of the last column","5a650643929151fbb27bae1dad436b9a":"Tree form","13789c907189a33af08aa9850304fb81":"Floating background color",caa1672f1fb8102b80b2f7dde375c144:"Selected background color",d2fedacfc0f313fcc5d0a24d4d6d81db:"Cascaded selection","255da7aa3f139351703714476d427cb5":"Shuttle box","0aeca07a02601a8e701a46d1a8b5ce43":"Basic settings","04903192ff663cd0069ed6cd284d33ce":"Example I","67763f8a91ba5cbb4cdf9b5758ea14a3":"Example II","716b1ad4cb45e166cc9f1e283f7026b9":"Example III","365a28f752cf3ab62be9ccc8db0d9b16":"Group I","52b79e6e219197901dfbd50b41c2cf1b":"Group II",fe7509e0ed085b86f07e3e9975cc5b3d:"Value",b3652bdb239c558126e9981229c46adf:"Design system","16e90fff8cc77b24a91541b5d76b2c8b":"Component style",cf209d136a55c008586b4d75832a55e0:"Custom CSS","4ae7f423d9ed9ffa48c3e404f96bb51f":"Word Typesetting","7a09f792d887ba2808fcf118f4fb5762":"Stroking and rounded corner",fa966345577ba81af19408f203db968f:"Button",f410776cb3c2ae88c0366bc8713423af:"Shuttle box",b9420c6f66a59ff2d7e324dc736dcd47:"Theme attributes","2cdc6176e4ee0e11c71235932d3619ce":"Name","45235f6c8fa2f6bbb0d5b69742eb1076":"Identification",a4fc4861372386ea02156f4c9dd01ce9:"Status","7854b52a889b3ef0590d9f542efeb4c8":"Enable","5c56a8894551d4937b4f9ff8b6cd9f48":"Disable","3bdd08adab6ea90b9164b20a0e4151ac":"Description","03b6472ec3f65ccbfb197aafa22bf437":"Be editing the theme ",d8acae3bcfbc9ec9ade58c2dbacf65aa:"Save Draft",be5fbbe34ce9979bfb6576d9eddc5612:"Save","6d7743c690d8567abef98c80cd0059e4":"Rounded corner configuration","571676150e82f411aa2a6c068e770a3d":"Size","62691548000101534e8e58988db66b46":"Wireframe configuration",c28479019e24e0e4745f4948e9e97ee7:"Width","39003734d1d700d5bd97bf1e7a2fcf73":"Style","18061f8051a7cd0affeb8ea672f9877c":"Stroke and rounded corner Border","1f1f785249ba769e146b69191ff1fb6f":"Add a rounded corner.","61fba05e8a3b6d794be725a68c3a8957":"Stroking",d5fa0ac3fb033291acadd025db40cf8c:"Highlight/text title","7835fd1dece3cf3750cb0db039b2ae73":"Sub-highlight/text title",b97ef9fe546e82e4b5f84661006a8ca7:"Secondary information","54c155a9c985b0244666f36abe342b7a":"Greyed information","8318e9299a55c306333b4a2a43dbb6e2":"Stroking/divider","5acee66278595588a270bad3bc307562":"Background color of the bottom layer","9f83cbd8f26e028346ecb459c4be9c01":"Background color of the card","2e3b124c3a564f528a2f689b6c726fb0":"{{@1}} configuration",fbae87bcc352f6933541fb77a07418ed:"Primary color","1829e78daa9d85efbfa48a23266e0096":"Common color",b6fc6606a091254f7fe0073ccbd5e5ab:"Color",d5a760176f52fec8e5626df7494a385a:"Color","2b250fe214bc8b93fb78d795a47d7a6c":"Brand color","7798cd972013b79e475969ec5535ad03":"Brand color configuration",af09bd51b66a26d8db3119e95b5d28fe:"Neutral color","2a1c8012992e31140da55f535c44821b":"Neutral color configuration",b6c3e2dcf4053e5f24d15b63a29f5afd:"Secondary color","2aa66d41e052d5370e86d008b08dc93d":"Add a secondary color","224e2ccda861c2514faa683b3683c361":"Configuration",fc55aff8c7e01416e93ac218d98b3b74:"Font size",c988dd65ce45c335db5c4354eec7c110:"Font weight","17169fd8c2ffa82c4e1d08e7267725f4":"Line height",a9071b454b601bc837a3703ca215bc56:"Times","7c495878ebe02c83e9bf8bca6b3df3f2":"Default setting","8456bc40d48da5af833f1c63385e9879":"Font",f83dff59f77338048dadea786176625a:"Typesetting Font","3c1b6b40f031129f4d80bddae7b9f375":"Basic text","60915a3c678fbd96eeb88c6694a71b15":"This is a word example. You can preview its effect in real time by editing the font size, weight, line height, and font properties.","0a7a7df949ee519c22ce731924a29d9a":"auxiliary word","23bb9c5b7d272346e51cf2577db7deb0":"Add auxiliary word","8a987304fa8cbb29e9299ab98644814d":"Shadow configuration",fbb09a94bfe93285c3dc3b04eaf91fa8:"Shadow","0b019d236934a3944b3d04c4c573ff80":"Add a shadow","5eb25cf20dc0bf5a673398f9e14b9cf0":"Ordinary color disk",ac1e94aa56d34a1e71768dabb2fae0d2:"Size configuration",bd338a14a5c0d1c4b115ea94e02d0fab:"Size","7a15ee1272a4104e5cb702e0b2c3d0b4":"Add a size",e0dfa25ebceabddb2180720d36d4c3b6:"Top border",a8b0c20416853bda54120bf19477ad11:"All",a80a25b59908402cf7ee31a07d0e7739:"Left border","57463587977a534f7859eb9d7c536629":"Right border","154d5216e42c916884431f0eea951999":"Bottom border",df68a5dc8f8847179b7afdf943f80796:"Top left corner",e717b4ae480e7c073fd5a44647a7f0da:"Top right corner","2a97dfb2d236c87c41fd588f006111dc":"Bottom left corner","1c9bc9dab33944e953412f8b22cb024a":"Bottom right corner","3398b89052b04eef3befdb0392b2d806":"Fixed margin","8cb8474a4bce1082a3dd6223c5ac45d9":"Define these parameters separately.","95b351c86267f3aedf89520959bce689":"Edit","122afa60000b5367d28fe360cc1ab400":"Style ID","9771f4b7a5077b7d80e0f914047998f1":"Border Configuration","96b15b89fd7df6180780a7ac7305ba7c":"Border thickness","84fafbb9668c30ba550e8bd3ebab65a6":"Border Style",e366ccf1556c0672dcecba135ed5472e:"Setting",c91314c81f9f6c7edc0476b6f1c169db:"After clicking, a set of color scales will be automatically generated based on the current primary color",bbed50fd3a066f9974441671d541b212:"Are you sure to generate color scale automatically?","67179ff9e68ecae99931d84d42eb9316":"Confirm that the original settings will be overwritten after the color scale is generated","5b72549d59ffd2803c3a2e58228ece0c":"Whether to link all color changes","625fb26b4b3340f7872b411f401e754c":"cancel",e83a256e4f5bb4ff8b3d804b5473217a:"confirm","3649bbe5c9b1627ff779ef11058ce176":"Description","6e196ba10b126b5c96ae29984967efa2":"Configuration of all color values","549c3eb3ef1d8c0142c27ac6fa6e5e57":"Base","92544546c88558b7ecda8ce79b579803":"Edit Brand Color","769d88e425e03120b83ee4ed6b9d588e":"OK",da6c2f0517bbf679d63b2cb641c0093f:"Edit {{@1}}",f85468b5bdcaf00f836ad9adac470e4a:"Take what you want","7ff29e9085ecbdf1af3e2e5d53af90d3":"Font size configuration","9c8031130d6ad438fa8a532888a698b5":"Line height configuration",e55434b9eb24e90b62631515be590f07:"Font Family","4325df71731e219dcaf9f279cde5a0d8":"speed",d2c934469bfa13f30a8ebc0433177d6d:"Configuration is not supported temporarily","5f36fee5ac7f5a7201e8a7b0a719d7e3":"Add Shadow Layer","3abb611d8381b687e2ab858730aa875e":"The system will automatically generate a set of dimensions based on the dimension base as a supplement to the basic dimensions to meet the special scenarios of dimension configuration",e8f9bedc0c2f65f8fb2932cc89486819:"Dimension base","3f3dce32033e81d6efb310063e34dd4b":"Dimension start value",a039b29aab1210feb9533ea379c15bf0:"Dimension example",fb0af8105da1f0f57ce265340239a376:"thickness",ce0aa1714cde2342fa6583664845fc94:"Color value configuration",efb399e557c1f444ba215c8e2dbfb891:"Bold Jane","4e9edbb054a1fc52fe2012ff8cb3b20e":"Bold Traditional",bd8e7ebd31bd804a20986f7dd3739900:"Holly Black Simplified Chinese",d55a1b98030839c3ce3606d7d2c80235:"Ping Fang Hong Kong",c9045965fa0fbf29323518d79c9da0f1:"Pingfang Jane",c1ef096e25d96c451fd39c172b3f569a:"Ping Fang Fan","09e4d5659a11cf8a55f59e867b30ab75":"Song typeface - Jane","56d3dcaab79fe10dfbc4b80f0d9d72a4":"Tahoma Traditional Chinese","2c1605abdc63ac897a76aeba5dcf36a4":"Chinese bold",db37a0bd2e60503e939e8eee02511550:"Chinese Song typeface","92d393c2ae53f424856479d090de718f":"Vulvar shadow",b24a723b73f96ab3340fe9502370ee13:"Inner Shadow","常规":"default","点击":"active","悬浮":"hover","背景":"background","强调/正文标题":"strong/title","次强调/正文标题":"secondary/title","辅助说明":"description","禁用":"disabled","纯白文字":"white","纯白填充":"white","浅/禁用背景":"light/disabled","分割线":"dividing","深/灰底悬浮":"dark/grey hover","品牌色":"Brand color","中性色":"Neutral color","辅助色":"Secondary color","浅":"light","深":"dark","重":"heavy","文字":"Text","填充":"Fill","线条":"Line","失败色":"Error","成功色":"Success","警告色":"Warning","链接色":"Link","提示色":"Info","其他色":"Others","实线":"solid","虚线":"dashed","点线":"dotted","5aecb03c8e3edbaf88327052c6cb5190":"Starting value","4092ed98e9035652d4c9ca9441701ed7":"basic","9e4ab3933a0281a681412c59e51546cc":"Parameter setting","86b06e8ad3751e440b5620eaa6c68d6e":"Type Configuration -{{@1}}",d9113e3454eb76a4c602d73211b58a27:"Main button","3cc9a19ad16b320e151ce7973a029582":"Main operations","3ee6ef6f2ee1717130698fdabcbe1636":"Button Type",fe805d91ae93be775670c61214dd2f28:"Button size","454e60f5759903d7d3dba58e3f9bd590":"Tick box","0c1001673b467bf750dc8327155fde2a":"Check box group",e1371d733ff347664655629011b4130f:"Base Style","282363b659599b7fc8d418f0cfbc151f":"Tick box (unchecked)",c51efb736b7b9d54241ab06fd71e68b4:"Default Configuration",fb235ec9bf44cb55437a95ba625ed969:"A tick option",a6b1c1a809d2dd4ef85e389b388ee9cc:"Tick box (checked)","477a18d8dc1cb1b7149ab90c7adbf3b3":"Tick box group",e8ed49e9fde0bb778e2185876c2d2697:"Margins",db98f889ce6bc235e66bd4b2a788d137:"check box",fdf1b23f0ddfeb888519a33d71df753d:"Collapse","18c63459a2c069022c7790430f761214":"default","030c8cb75e9707285b28c4931bfeddc5":"Title area","841d77223f0ec8cd0b530ed8e0775b20":"padding ","9ede71f52e1499d3968d09a97249ea6d":"General background","8b47539aaa82598d99b28094547418a8":"Floating background",c0b513c835e841fbdbb0a117e8769161:"Floating text","132a78bdf68d6d17bde00aa807bbf032":"Content area","17dcbf1f144607d4af0bb718e008682f":"Heading 1",f7fb20f6cacd5e40c7f5732cb377d0bf:"Here is the content 1","72d41bd9eb3882f7da6f55d0ff0a39f6":"Heading 2",b8238063c31674ae07e69d1a22498c1d:"Here is content 2","5ee791c074edd8d49d78c16c20f36862":"Heading 3","31001189cc3b5f124bc59731b3d9641f":"Here is content 3","774b2bcaca8a64f46c84b510cec89109":"Icon Configuration","598f69a9b640508d8e124fd7d33131f0":"Select icon","988d7b545c09108379a54a1e6060f563":"Icon Color","31e3752986d64c8b36897c8641c8628d":"Right margin","8c47ecd40d7f739e308567de89accd56":"Split line","4e7f76261f8c4c6d78998f85fc1f4c6e":"Margin ",a570fb905a78a803b76ec27eee4bfbef:"Link","4af1215ffa45b8245f055eb676fd6970":"Basic usage","60d0458ac6ebef0fff1331af196b3c82":"full name",f99b9e155fff98ff8472170264afa40c:"Form Item Description",a01a9963238df560a9b974f45c7e253a:"Age","787b5677e325beec788727cd1a327f1f":"Gender","36a4908a557796858a347c063a73ce60":"male","87c835a6b1749374a7524a596087b296":"female","55b45c73ae417c4dead67905b1550e85":"Form Item","9bbeaf90ee1fa6234ad7d433425cff15":"asterisk","58f966670529f4753fb3c5a0647606be":"size","8b4046555c06c7cb247740baa006a6fa":"Error Configuration",e637279acf2be77255f49808fa5b02ce:"Form Component","9b4bae5d8251de0b6f00b704936b00d3":"Border Color","4573a75803e7724664b158582b7ed243":"background color ",d7a169e81b60ee08c82b5d9de473e362:"Error prompt","1a0ff4a892c19d0b6b81a9606318f23f":"Conventional state",b972b48ebb6203bf3c9ab846a073c9bf:"Error state","3c7f787e17c0c1d186d89b2ccb8c0e96":"Default Mode",de515eb98fa2a33edb2523356036a440:"Label width",cf8852316501c22ea19c4e432c59e7d7:"Default Width","1d03636aec0ad2d34e5ae8cee99d3086":"Ultra small width",aafba653c803bbccd1dcb2e04882ce3a:"Smaller width","024d52b060773d4c0babdf3279427453":"Medium Width","30d2724ac49254e03c13525093c58b49":"Larger width",bb79667f37035e9562ec6bcffd6cf8ef:"Component","99b57d8c9244ff9a695fcd519b4e2e57":"Maximum width","2fb0853874c2cc8cc42f0c7520af662a":"inline model ",faac320e697c1db2e0aefcfcc7aa7a20:"Horizontal mode","675728aaaf6196263b107b69d2726141":"Ultra small xs","56dba4943b0f73ff56a6defc82dad420":"Smaller sm","8a11d92644e622367ebbe04d6fb0a309":"Medium md","942345f2121ee08fa2405c4bfb401b96":"Larger lg","9ac4c7206f1a26393c6f5f1af0d3b1d1":"Form",f44b331cde71687ef54592e749c5eca7:"Form display",cc7f67aad65b76298e5de891ec7b9557:"Input field","9b6425cd2d496c9cb5a6c6b8ff125d1b":"Input box","09bbfb387dce6201df1ccef2aab161a6":"Clearable","795ab5e9d90b73cefa6945c341e92a6a":"Configuration can be cleared","839719675015aaa0c6445237bc0d8838":"Regular color","2d8298e7eef04b26702988a895e9b0f3":"Suspension color",f46311c27b57b8e51263866572347e21:"Click Color","94621f44f98c996e49d5b214aebefffc":"word count ",ff98f910bbbb5a6d3c6ba78faa9c30ab:"Word Count Configuration","56f40e132c8369340439255fa1073070":"Single line input box","8685115115e4f8c8daf97a31528721ff":"Multiline input box","57d14839d1098d99811f44d68dd0957e":"Prefix/Suffix",e3ba10bbb2b5e2d82e3cfd680ef37294:"Prefix/suffix configuration","055293fb3cf2b1fcbc60317a2ae6916a":"Password input box",fa1541b5caf79ce1a897e038e8addbee:"Password Input Box Configuration","13764c3962e7b8a8babdc7aa3fb247aa":"Encryption icon","7893f221dae53be8e3bfe72d2eb8a240":"Icon Size","731f9b470e0948cbf56341a53c423213":"Show Icons","17729892bf3ba3625c58ea4e630ccee6":"Multiline Input Box Configuration","67b958a2d172f2b3474629f9f6724109":"Add ons",b10577822dd19ea69814a976a960de11:"Add on Configuration",e5f71fc31e7246dd6ccc5539570471b0:"search",d9d1239c53a060d7a0acd0bf3941b561:"File upload InputFile",a80f36ea893b8135df8d9266bf13afac:"Descriptive text",af0a841cabd4caa59be93dd5934f7315:"Distance between description text and button","60bac4c0a381a42b320a703227be59eb":"spacing","1fff10a67dcf1197e1d2108cf31a21cf":"File List","788f315c367fff61e70d1e94acd876de":"File icon",a3a36a013c7e5e647062a8467940b618:"delete icon","92c9c4b21c52dffc165f7ba3e1aaa17c":"Sample file.txt","26d384ebe61b6ffe0e64310331f9e998":"Drag upload","8d218da5b2c876de27a1fb95f7dd5348":"Border when levitating",ac9bc1d9de94a867f55b06739616da11:"Bottom margin","2e0d7113183b02e5e205ccee89109a3f":"Image Upload InputImage",ce8d43bf61b6ffde2336599c6dc8620d:"Left button area","8dc8b7928a9f47aa5bc16e586ff990b8":"Right button area","3033af8ad4ba541ff05edbad313af306":"Stepper",e16eefa7a89a6eb99569437515e25ca5:"Input Number","6d609769ad11b37dd509ec06362f0b73":"Enhanced Edition",d796e07e03ad1cf1c5c2f0b38797dc5a:"Enhanced configuration","3e08fbf3806981c18666fff59718c85c":"With unit selection","3954d7a9c047b7522ef92ddd5fc35852":"Internal spacing","55d4790c5d819cd0462cbe89561b0dd4":"number",a4a6add4d9e91273e7e405e895011c64:"Default Link",e8a0ca6c8deddec868ee3875e6609a4e:"Hover Link","8d35e7e473227c7e314e6033ec127db4":"Click Link","04deb1572a3d86a8a96022645ca243ea":"Disabled Link","67c5d85363745c8dd722313da3ef5bb7":"Default Configuration","783531bd0ac6363fa5b7c5287696d518":"Slide Path","91c66c9e7a44fdea7f788ef81e1bdb3b":"Selected range","945306c99516f417b20be5aaf337bc64":"Slide button",ae3816c5b00fcff4111842ac19f0a706:"Button icon","0d98c74797e49d00bcc4c17c9d557a2b":"other",fe8950e54c6b0a6931f810279bfea646:"Disabled Configuration",a0f4d32038590aca9a5d549118ee13e1:"Tick mark style configuration",bdf747b1abf6a56214352494e81b7c72:"Tick mark configuration","461d364c67ec6a45e011ed13f2f7154f":"top margin",fde316967955e85527dfaefd1e2fc037:"Label Configuration",ab8f9736932027e99e366212fbde4095:"Input box configuration","4fa732b8d2ac6dd87658429339625a70":"Clear button",c4b07f2e6b60c5752a70551ff77ccedf:"Default state",b26c7d64b1e0abbdc9df81d81e1edcd4:"Disabled state","4840ea0b6e549245048aa96af2e49017":"Tick mark style","939225437300ee080cfef0839365cdab":"Tick mark","624952f3a4c833893454db4ec21a7318":"Show Label","804fab8580515919bdda57a15636fab2":"Slider Inputrange","811eaba71737bcc8496a33f9530177ca":"Slider Style",e8740d3309ad2ee5ea2a68c3603eebdf:"Scoring Style Configuration","37ae4f181d4f139be90fb80cae3fc493":"Icon Style","8d2317049ce73eac66887bfdbcbd3d27":"Default color","076d83a2f933060a26b575adfb820c45":"Select Color","4c5fead0489fbc7651c91400dec5d379":"Text Style","6c47d4c8b22cc1a5aef5eb9d33edb5fc":"Very bad",a3d534d9fef05a97bdce9895e2fffa9d:"Poor","2ab01e418dca1500dcb133d50656deea":"commonly","1d865f5530071cb9e80f214fc15cb970":"preferably","745e25a85ec598a719c35a508a86bd98":"very good","74f8228d0403c4a9ef6e73c07c08ae2b":"Score InputRating","36937385dcb5b205cd1892d6416f32c5":"Scoring Style",faf1f0172b1960d369011c68794e5056:"State linking",b783fe0ed9ccac4709fa53e48626e7f7:"Link Add Icon","3712972d84adf48acbd6ad24b4d75ad0":"list",ae7e62862639fffed2ec9eecd5860e0c:"ListListSelect","0fd8c6a15323966b5ec33c28c62d01a8":"Style Configuration",cd6f79e7bff1337c12c86a15ceedd6da:"panel",b3b287010ea79586507a77e0580d9cad:"Bottom area","1ddb54c8369b5a8706fdd6b64a3f4484":"Panel Title",e5a88d6b4826a7e0d3fcd9e84e0be275:"Panel Content",a5681e29ad7dedd3068a0570751b665e:"Button 1","02d9819ddaaaeb1b7b22b12608c7e5ca":"Tips","930dcc01ce6501d2ece3235288bafcb2":"Yes, you just clicked!",b1ec0d9e3a470f5bc919edf8a2287003:"Button 2",ded3b8a54c8c5b475fdfd4fc9872c784:"Panel",d614b4f0555dbb3c7eb13e778fd77293:"Panel Style","5b7183e64703529babab5caa6c50ea9b":"Dot",fad7c8a21fe3d7b3eb1db3d8a3212503:"Check","2bcd5b5670c24afc461f2ba24dbd0ec5":"Dot size",e6b83f8e996ea466549d169d6f94eb05:"Inner dot","107fe92b267785861723a1dced25b34a":"Distance between dot and text","2033941fa24faa8ec2db2c17bb1e750e":"Radio",f99484b21ba7a64a748c60b52ea0401e:"Column Display","6a7d82ac2df03b7df35546daaded404c":"Column Display Configuration","6036c91d6b0b6d1a2468684e597d9f70":"slider",d58a55bceec7591f43232e958928ed10:"shut","8493205602379573013b8d3335981175":"open","316d1065b381f0dce8fa58fab730fcfc":"Switch","911bafa046cd76ecbc80ae199bd4a6e8":"Switch description","5f3d73d5c8061d61a7363cefd50573f0":"Switch Description Configuration",fb090c01ee012eac2bb26751aeb5a3c4:"Switch status text","91c446b04976092839d5f6ec69702ed9":"Switch Status Text Configuration","9db7a84fcd85195b36d7df987fde5d0b":"Opened","9c58505de3e05426b5443ff89518fc4b":"Closed",ba9ab4bc74d5217ea2fdb541fe910833:"Size Default Configuration","9de8b70a3405761c23bd6c53ce426ca3":"Slider size",d362b43129c4b890bbf8867258208521:"Slider margin","3ec2bba02a859a90b023ee793a2381d5":"distance","391b8fa9c747a1799353ab856e666ad5":"Small","4ea51786a01ad5701c6c1957f106cfdd":"Small size configuration","61c98cffc01819f0b2d0b13af4d98ae7":"reduction mode ",cd7a7556acac6bfef89fb9bb43219951:"Status related",d372819567bedeecae443c0a2a726388:"Enhanced model",c207a40edfb78055793eedf2c1810dba:"linear model ","80f403d3cb7ea324e3ee370e6cef36c2":"Tab spacing",f6f8ea0815881fe9a4aa9352a7fe2299:"Underline","8706b778c211b35a31d524d34941cef5":"Card Mode",c5b8044dacf2e63931d85e5e307a9168:"Horizontal paving","75ac842f8e77305846f1d776f97dfaf8":"vertical","8cc73fa067c5fa735aab196289b9ca0b":"Highlight indication",b30f254eccefa14c9980235bcbec74f9:"Simplicity","3d7443aeba7c8eaf1cbb42ad5232fa10":"strengthen",ecfcea4b381d761fecd512761bc07954:"Linetype",d87f215d9ac688b1d3399bf575a0ef6f:"card","0fe54c7be3c1a103974261b0b967161f":"Selector type",eeb04ac57104692b0de5e3348a065198:"Sidebar Mode",f9b4ea522c9b1767568f9b6bd59cd944:"Tabs","1fdadb49bcabfdc36a4a9e020f597f4d":"Display mode",aa05fd09a619ddbf07d8d903e6d32c5e:"currency",bfe68d5844f8e54602760e18f45954f7:"link","5aefca559c5a41d10078e21e6d616825":"layout",e90e6ff080f179215c3566a61ca62367:"Folder","9377e388f7189d6103a3985a321115c8":"tab ","9f03503d5c6df67ce0f7a8942734f7ca":"data input",eee1e2258d7ea163fec625ee44be9637:"form ","53069052573de671c6e5108de745b036":"Digital input box","9913107b19cb6012250134ff91377430":"Radio ",a6beb974cc0b50eebd18120b8110a88b:"switch","108db12ed4454cf1ab4242ca98442b7a":"score","481e034e6026969aae4ce7ce7c8a7b6f":"File upload","6bfb9bb2218ff32b6139e98bc93707c0":"Image upload","11e9d79e5e4152d28b299d2bd53c4a0b":"Edit Data Color","328215447d0e128a845729dab5ce9837":"Data color",db31a89fcdba29c16f19d5c5bc7c82f2:"New data color",cc4c575642609fbf059a5df81eb86bfc:"Solid line","61f6f4fc0b806ac9d41ad0792e6155f6":"Dotted line",b1e0ebac23ed95807ecc566da3ffab48:"Dotted line",d81bb206a889656035b929cd8bb1ef10:"nothing","1110ba0bda5a251c55247f122e923848":"transparent",ee5841a88da34c5a0e0515c4d863752a:"transparent",c7706039e8ad85969df13ce3458d199a:"Gradient angle",a1c76c6e1bd796959e536718e04d10ca:"Theme Colors","255f442c4a1b92624a6e96541202a0be":"Custom Color","879f4e7bd863a00f77d30f05076ac6cb":"1.3x","4905c69b940b0d94cf8aec83bc8dcc83":"1.5x","268c43e529c54fb458397b9c13351a67":"1.7x","81d6da77d656c6a9c3cbd795ae4444ea":"italic",a120a873412470089bec1dfd1b581fc9:"Strikethrough","413f48cc71f71083ce532a86e3efdc21":"Align Left","56c17ba6a56c01706ae00a31611deb03":"Align Center",fd8e9572cc6bf87653c4d8f8b8dd0db9:"Align Right",da1b972efb29f850b50e219ad4d98ba5:"Justify","2af8c8235ae57c6a7486883f86701ab3":"Top alignment","8bc0ba58bf73b03668ca9b6a74c99f89":"align vertical center",a6d154c4db5068074e32863821c450e1:"Bottom ","9c07532d0c9acfecfc4ec2eb265c3e03":"character","9cf15d01ed2846c4104d1607836bbe79":"Shadow preview",f1d4ff50f3828f9b73412e7d94e6dd6e:"custom","26db990dad6d76c6725375b24c0941e1":"Shadow layer","392f6fc3cee2d453359856cd92db2fed":"Bottom space","9d10187a72e379ac7c6e66a9bdf7a320":"Top Spacing","0640c136fc6056181391eeb9be16f040":"Vertical mode","5a00168d3cac733b8a128c9639e66b64":"space on right","76815cb6401ed99ee5d3944a9ae35015":"Rotation angle","96968134ef7fd7b77bd51e2f16100837":"Check box (unchecked) Configuration","5a76d053498d5e09b56a9eb23e4a56c6":"Check box (selected) Configuration",e41b25815dd56f49cb401a30cda55190:"Check box group configuration",a381364954fa81c14e2743345e54a8da:"Input Box Settings","86c6876a6379e56ae31d7fcbf7029a9d":"Date icon","7c5f468f51162d29c90f146a296e1371":"Date Option Settings","41ff026d4075053f24666341e7f91d49":"Today's Border","7523f06aca1a77db5c8f56285c6e1033":"Date Title Settings",b5a15cf44a9b3fd7efaf276c6738cda9:"arrow",fad8b42e1ed63b54f63c71e2ea236c99:"Other types","2aafc8011eec22ee269853b9f23614b8":"Option settings","9df643ddd5b6122c6ed1bcde5a0e18b6":"Date selector inputDate","3607ff776765cd3178c9d4d25196cc6d":"Other types of configurations",a0fc142384ddee4823bfbf464d6a7aa5:"Month selector",b3907ebd1f522f2a577ba9b596bcf2c7:"Quarter selector",ed82101599c90fc49b929d6aea1a5dad:"Year selector","7866226eb814f681dcc4037e7489aab8":"Date Range","73fb66653995d4aa5ce9bd8c92ec4cb9":"Select Horizontal Line",bc9d5a034781e33d1ef3f156c2e53070:"Interval background",a55d501e08cd08df3b85c95818b90aad:"Date Pickers ",e8d47b1f0dd0edb47dd29a3edec29255:"Input box-","6967be4d05cbec57ea69e9beb002a549":"Left button area-",d631da76b44cc13be78ba5f3577fec4c:"Right button area-","2f1448085b4bec952ffdb627d136cf78":"Basic Style Configuration",d71a8b1ec14affe0c0407cadb2190254:"Configuration with unit selection",ac9571cd665c66c2e444bf2c556f985d:"Time icon","601fd75542cb0690568b273e67580ff0":"Time selector inputTime","824e6f89eb435901caf46539c4598460":"Time selector","54f15b374c1b1e4d70de811011221344":"List Configuration","37e87e4e3cba3916686a8d708a143501":"Input Box Background",ea15ae2b7fba76c83eec6d0986d15197:"option",f21d5a97648a8baeaffc95e49ba4198e:"Click/Select","0c22455538fc5b2e9c64de1722198d9b":"Input box text","22562a4469011b233b4ba7f73a8a02d8":"Option Text","785812ea5aa89fb6f9df4ca1aca0c1e4":"Option row height","7dfc7333ba140d84972da7c267caf2c6":"Option Inner Margin",d7454c8f6ca91776d7ed879952dc7f09:"Dropdown box Select","70f764a242e45271d75a9c1c0fefea05":"Option Disabled","443f46c76ebe6ec4eb502f95c451e4b0":"Multiple Choice","0bfbe723b691ab8b0d8d3b67c6c99886":"Multiple Selection Configuration",a8f5c84641ae86ab453e20b1b3f11f4a:"Select mode","73e0299c2fb3a564af0a7cff42540542":"Group mode","3ef17fa1e33b05e14fdb4a6b7f92b7f5":"Group Title Configuration","0e2eeb150583b23ed4234d58b81c18e4":"Table Mode","5def09014bfbdefffb90e8fecd8760d7":"Table Mode Configuration",ce41de9d7a77387932c1a25ad371d666:"Inner margin of meter head",da5cb3af41b15678ca2be8f573c63442:"Table Inner Margin",c2981042c21c8b5fa4451337d484d7db:"Tree mode","3fa7369c9b82d5c1256ed3635c0bdbe8":"Tree Mode Configuration","9bd3aaa1092222e5b14e015f19d77918":"Cascade Selection Configuration","006ded9fa277cf030592021f595a07d5":"Dropdown box","141221925427fb90099bc38f2aa60f70":"Steps",eded9ed93a453c3f790126e30b776a22:"Title Text","53e358698db8d7c8ad042a4b1cea2097":"Subtitle Text","36285b8c01571203859d6b8ce7af0cba":"Descriptive text","84fe608676a8fe47637b824434cb225d":"line","83a991d77ce351f5edbbf8c0aa878d11":"activation","04973a384346228eb6a9c162cc7c2cd2":"Status Configuration","7624b2ba5e1553423449b32af3896981":"End state",d06df0afa9415ecd1ff341d40ed3c93a:"In progress status",a8778e0baf087bd57cf5747a559d5857:"error status ","2a7edee2a66055ec3dcfe05170d13cb0":"Waiting state",b746ccf9cfbbb3b247558e1dbe7f23d4:"Point-shaped step bar","576c2d8b14434259f5d07f3e6d42f000":"Point like step bar configuration","87d88a457161f2a09f95f6aa29b38051":"Step Bar","14d342362f66aa86e2aa1c1e11aa1204":"label","0043ac9f2741312535b4d1faf06446b2":"Text background","7a0f36303025a80b4b1bc8f6c218ea4a":"Text tpl","1a3604364d21443dbea5b48255590545":"Text configuration",b590af8d54b0b9151594c51239acffdc:"Data presentation",a4f758412c3797290c957544c56db443:"Inherit General",d8a4e8cdc29e9aa576e669ed165892c9:"Configure separately","203bab8001257b60e1aed951a0939393":"vague","2dc90225b8033d17c41b08f39fa42de2":"extend",e4e625f8f933ccfd0fe44a41fb02655f:"Extended Configuration","2e1a9927fd82e77c858fac42a1d5e2de":"Tag","2da6f66b128eb34f721590b5a0bd32e8":"Ordinary labels","8dc9d3b24abde9e1b1fcabe4298fba91":"This is a very long, long, long, long label","402ec0fce6798362d380d64f4e0e15fd":"Different modes",da8bcf3db178c0a360c4d52d054d6b0c:"Mode Configuration","2009e3d873e6f5e0978b1e123692c024":"Facial labels","8cc6e3e65831f4e034d2a9ce6c68863a":"Linear label","507d869237db8b0c47b07bdf824d4ae2":"Status label","0a6bfb272dbc96746b7d4ff0f12ebd6e":"Label Color",eb1062a1af27d339dd0be0207ef87426:"Configure Colors","2e46d251ee6188bb1b3ff20656276572":"left ","7e3a0925d338b3df41c7d11f2888150c":"Label size","8a4996604c742bebb1ea44f9595b7733":"color setting","67716d93e5d216f05549eb3cf7bb22d6":"Time selector Alert","4503235d1020c150be47796fb582e8b9":"With title",abc9f7586d510eda0f71bab744c02132:"Title Bottom Margin","6f2b01db04cbf7e460b5c6f4e37a5e76":"Prompt content",dc19704991f1476fa4dcbb80c50bedd6:"Prompt Title","816092589b5295a35df51ad6ae320bbb":"Reminder class",adc3746ea8c20dcaf4c5c99bf9c33e4c:"Prompt class configuration",db192abe6a437b8112323ffa69e4f755:"Success Class","29886af7b705d873e5dc6c9581e18421":"Success Class Configuration","1355fe575eb18dba13fe01d56982f6e9":"Success content","8e7f1838341541a554672e5edb570397":"Success Title",ba158c0d9039a3b64335dd90885a2874:"Warning class",f3febbf03c21f90fcaaefdeeb43cccc6:"Warning class configuration","10cdf98bfecd1a891288c375fcd6e1fe":"Warning content",efd0e8d635968ee53e9dcc6840c5a132:"Warning Title",bbc4ff0ef76fe3519e8bc205f18f8862:"Hazardous category",a1b4ced0e723cb2e044798ffbb266340:"Hazardous configuration","6b907b3ff77c788b7455851ef9dee2d8":"Hazardous content","476ef8a2a97f93123c4c17ca3b2e14b4":"Hazard Title","1d50fa5b3a01d0b513df8f4b8be40158":"feedback",de9ab361daa6ad98a25275abfb43ce82:"Prompt Alert",e37847c1cfbd2fcf4794389e2250a35e:"Smaller bounding box","540835392409bac76c02133d3adcccab":"This is a simple bullet box","387c1cca5dc46b5456fb8d77d60b280e":"Standard Bullet Box","5f911d90c074bfbcc362ea97a2d623b9":"Large bounding box",bd0ef9fb94134120a1d98c08733c4466:"A large bullet box","165d878a8b2ae7c67fdb01f2f55454b7":"Overall configuration","5babfafd769570de3bba47605753361a":"Border width",d413ba550e328c4653d0f4b837211d88:"Upper and lower inner margins","19c3a04488f2de8a9e73d37b357ce709":"Confirm and cancel button spacing",a7d4244698ad6b0208d18b7a219b9d39:"less","544fac400db790f57ea8ee4207cbeb6b":"standard",a5b2a4e0b10787c032287ceb8870555f:"more",b1e62d2cbcaf703003f3f2ab59c24b61:"great","8382c27e72870259074096aca0924763":"Click on the bullet box","8a089992349df754f182a5d02de8e8e0":"Bullet Title",a1b8372c2828ace73f6640bceab6d5b4:"This is a bullet box",d62f7bf6fd81b9ce1d757cd7cc0a36bf:"Configuration size","90c9bc5d8cfd9e7cbdfd92e8c9375be7":"Dialogs","841028314f63bd9ee3423727250b6f41":"dialog box","40c8b8b095c7fd260543d2e567a1e217":"Minimal Box","274018049ce921fe366cb965d8dfe6a7":"Small box","8a1b0b947d2dfd64a58d92f4637b085b":"Middle box","849b798e69df10532118a964dc9d25aa":"Large box",e893af2835bc40cfba48afb3541428ff:"Extra large box","43bf11d8fcad0a7843563f147dc04c7d":"eject","4cb9c4bc5cb960fcd03fceb2d2e62f3a":"Drawer Title","89bb9374be268779727ef01ad6f86e65":"Drawer","2a2924380dfcaea998bd8a49703545a9":"drawer","6a04fec740a9454aade1a505133e06e0":"Content-","6704ffe2922cd6bdce754ac6600878c2":"Expand and collapse icon-","9fd51696a4f356286ac845e144980979":"Icon color","2fa7e8a7ac426fd43b720f5440de7b98":"Node icon-","5ff2517600918e8e5a45063c1f81ec97":"Tree selection box inputTree","65189f26368d52d06a6f1a7f86b6c174":"Checkbox Tree",a95f178e0a6fef57f235f12639a67778:"Checkbox Tree Configuration",ab4df3d184901ee930f4157b56f78b10:"Tree selection box","5578cb0a3bbcddee19497debcf900ab2":"Load Spinner",f345f09f14a525226197090b86d769b3:"Copywriting character","7d721088a016eac0c59388d1fda68e72":"Text distance","26b5bd4947df8be257c59dde927b400c":"Loading","4793ea431592921524fc31117e9a662e":"load",eedfc4d3b93ca4831e94efa2ac3be6f8:"Simple mode","693be0e4301fe1d54abf7453d1de1b4d":"Simple mode configuration","2f1ef751e729716cf08735cbbf745479":"Display Title Mode",bfc11572b8e9040c30a819a719b13dc0:"Combo","9fc1105215d759d88e70ac45bc7cfbe8":"Border floating","97d07614380da93d257f9fbf81aa56fb":"text","93dee976f68681ec6950380d757d8c18":"Multiple selection mode","5f912a0a8e501c948fd42da54201d664":"Multiple selection mode configuration","254bb8aa6b92d588d957a383df24db1e":"Combined input",b1287a42a995c59ffd437c3b53fc701f:"ConditionBuilder for condition combinations",de57798cd524166ddd2c5eca4af5a90d:"Left tool","429c52964b87568559415163f335cc64":"Vertical line","97b0b6499334ed889b372513290a2a52":"Boolean","29a2e6aa7f060d1068b0b97ab5927760":"Conditional combination",b451a456d28ea678735172cb49e581f9:"Close icon","418ebfe485710b614e09a4e6e103b826":"Button spacing","4a5e8d95ba997e2c5c97018d53cd5d60":"Form Item Set FieldSet","9d7d47399cb2cdebe94cb3b0a0484c09":"Title Area Configuration",cba0d61936703636d3ab45914c9e754a:"Basic configuration",a13a2fa224ca5b6f44d5aee33ec29d58:"Text 1","37dd6f28ffb87d8907a286e0ef4dc7fe":"Text 2","6e97790977be29974024cf08bad7bcd6":"Different sizes","23ecf42cada8bf2715792d718544d107":"minimum",b2dfb75fa1e97f124231f4d3c4d9436d:"Minimally sized configuration",c0215e2abf0fe27597acba2be64f6993:"Small size","8c3113e6986da3dcca4d608f73a74729":"Normal size",ea6a8917aac60aeb19789983a763eeef:"Normal size configuration","1f23b9dd74b629ba5bfd5eaf8e2f498d":"Large size",e368f8115109ead633d9d4c66a26aa54:"Large size configuration","883109ebc626731a50be09d6cbb01482":"Extremely large in size",f20a1eddad240dcc18b96d4153d6a285:"Extremely sized configuration","6d36d88078b28530bd4a236b1033c1db":"Form Item Collection","16a20243f9b741c08216dc9548de2968":"whole",aaf20517d24c1f28f6e6d38e55af765a:"Distance to image",d0ea59170f279c57dda7cc825f87ce32:"Distance to Title","3fca5e5be30a99b8ca5e14173773f47c":"Picture Item","999bd6b9123e102268afd2dbb91ad2e4":"Picture preview toggle arrow",b95351567e5445e1de3899b2661a22cc:"Picture Preview Toolbar","7572d9baf4681e0c962268bc3e3470dc":"Image","20def7942674282277c3714ed7ea6ce0":"picture","11bb6310326a93c191bce926a990bd41":"Title and Description","6a0b83890926debf2e24b3b3f49b339f":"This is the title","40f55a65afcebaea209ad2373a0220fc":"This is an explanation",e040fc4bf539dd1cf6ebca6b4bff857a:"Picture Collection","33618b4ab12dd6c8cc394e137b71b943":"Picture Set Preview","6b7ab4f984739ad5a6389b865857dca3":"Rich Text Editor InputRichText","24b6d4c0892a8f3ee2a982e3ab0afe38":"Rich Text Editor ","2411e6a4b03f859794603606f5f4b8a4":"Tag selector inputTag","3e0fe687ac1d7bc5dea7b369c5e3dca2":"Option Configuration",a0d2d27fe320721bd5b0157fd5466b9d:"tag chooser ",b81300b202a70f8283f5c11623154168:"List Picker","528609917710d813a55e5a6cecf1e458":"Selected value",c258ec0e05c06d4c55a78fe6ef86e410:"Icon hover",a82a5a0b2b5bd2c1554187e568afbc70:"Different states","93e9afc43da2f6eda96c6fc916d6f0c0":"Disable state",ab7c4bf8e1f3d2779d62d0e5e038e2de:"List selector","600581dd35ba9623a57ba705c2a114b0":"General usage configuration","6710ecbf297cc24f78ad94c9ba28a06d":"Background color of progress bar","13bae4ffa8d0ae1c5c523bec44d81059":"Progress Color",d89e2e6cbaf8f7d907a4803044fbc1ed:"Configuration of circular progress bar","745d7686aee3bfbe132927427f815e06":"Conventional usage","069dc3f8454b741ea38924c867567352":"Progress bar Progress","76b0fbc6b43d20b7a1b8c473f145eda1":"Progress bar style",e2e33e2c41a9f6f71fe37343f89a72d4:"Progress bar","0796ba76b4b553687e5ffaeb78512ccb":"Basics","2aa762be727d1828e507931e418ba065":"Spacing between text and icons",b966a7fa5b60bb5c973dc31aeace5ca7:"Default size configuration",ab18e30c0dc4093ceeda8961fac3d1f4:"large",f013ea9dcba3f5ca1278aa850931fec8:"Loading","566894e6c347b5ee768d07d454149c66":"Status","93ab99d761c9ca97dc926e6db10469a3":"Text size",a5eb20164cdaa49fac13c24f990bec82:"Different states","21a82d25c04e82b3f873de47c46ef645":"Right margin of title area","8df9679426be0efef42e49a73a9745d5":"Spacing between main and subheadings",f43f2f6298b4df2da085e325dd667bb9:"Internal text","0ffd8c2b18a95ab2dcb43625a7703917":"Table 2","380a6ce8a517ac2fdd8b0598d52ad634":"Border/Divider",fbd9998b10e690230b0f2fa9b24087ac:"Cell Inner Margin","19cc47aa177f9d0e16ed9754f13e993d":"Margin on both sides","703cb4e22041256b9060d77a662ae22c":"Meter header","1ebd0cd417700f3f4a7ee5f64518fcd1":"Cells",c3477ef585cd59b46a4214a4d6cddbd2:"Title/Footer","06c49fc8d637aae5118791a47f6645a5":"Header icon","2e2b8d4b0c1337936a6a8c55a604ea48":"Sort icon","11ac60e0589b350864421efb8b23bd07":"Ascending Icon",ce421b557cf63d165dcdd760505b5b4a:"Descending Icons","658aa0239db5ef954c5b48ebc35d4ad2":"Filter icon",c320dd0b99727bef76e0a2d0bb7b0895:"Search icon","11d00f37d934b2464f3258952a398626":"Table Title","540f84ddc0883866b229f71c2844199a":"danger","2f4aaddde33c9b93c36fd2503f3d122b":"delete","99870816d119174e5f66a001184edf91":"Table Footer",f9b2914b8cc684e826bf5d0150adb1e7:"Custom Action Column",d7d849d4e103b98ace60c1b46d53b8c6:"Custom Action Column Configuration","38fd93ebb74fd6c8e464550def36952b":"Option Background",b339aa87104709397ba68e7ebbc6e5ba:"form","40563497c58ce63e56d831b8c0771aca":"Status icon",ee66d7a2d02188816d633d11cf1a8b27:"Normal label",bd61c0c28964f1ac6c193909240fbad9:"Fillet label","690660d9dbd7312ad2825e554736e2f8":"Font Color","3470c809d2ac5fbeb7f4ae1098c79465":"Timeline","6a8429c235f15fed9409245f6e182b79":"Time text",a49227c3377f637d875f9eaadde7700b:"Left spacing","29b9a41815a1aef792a0937e74f600f7":"line color","05b13a621386fa10bc72cc64d2416587":"Expand Region","149bd3353906e4b3295f85cb2f80221f":"Expand button text","4d45c2e49276dbbd8a342ec808675a0d":"Expand button icon","5517fcf5e66b74ff7f77acd2b1b5045d":"Expand the inner margin of the area","726b84c7845deb421083f32f281a9c71":"Expand area fillets",d080dbd950acab2f012491d786057d08:"Expand Content Text","1aa46d7cdc632756dfbf16c55436bcdf":"Node data","01f2895cef02a670e0268e1f97ee9445":"Color status",ae2030df77d1cbd5c4c37e0766e7d8b6:"Different state colors","1e50464392cf328549eff24142917787":"Info Status Configuration",cf9db4ba84bc0850717a8a39f1be2708:"Success Status Configuration","44d3e4c8d80d10ba2637c535b60e5311":"Warning status configuration","443f1399615aee5a0add3ac698f226a7":"DANGER State Configuration",f181f16967d04268ba94b628c0943f56:"Horizontal timeline","7cef725b75da8afecda59900b780be75":"time axis",adbcc5fe77f25f8b6b2904575bd48bd4:"Toast","7f451fc6ae67ca480a41728757466d83":"This is a reminder",ae480d05373baebcef4b69b725d580e5:"Different types of message prompts","4dee00ae2b76d132732f194738bcada9":"Normal message prompt",f4ef94bdfe2ee4374a14313642969970:"Success message prompt",b76927814a0ffbc41f4460c79c32449a:"Error message prompt",da0020ead54cf9227db2048ee08c5086:"Warning message prompt","72e3de72640d26a3988eff6c36ed4dca":"Light reminder","0944fb3e88fb7d76f63022d6f0d20f5e":"Title Area Margins","726c627e165f3b0d7b593be23ccc7045":"Content Area Margins","9b14c9051067bef2dd9a15683201dd18":"Prompt text","34fec318e4dafe2381b500ce680693dd":"Border click","7ffe332f455aaf2ff90f588da624bc67":"Input box margin","35944c2aca6853bfa9f9cf58e4f52071":"Title Characters","341c4671a75e4b5ebf7b78e811ecf7bd":"Meter head margin","531436df7353051ba62b33d52458c9f6":"Table Margins",a74700f0b7c1025e1c3b9a305121967f:"Right Inner Margin","2f01247ddd9c425f1bad555a9a8b062e":"Option Margins",d1445892f0486effddf33eb81e68daae:"Different modes","29f92d09e59e0d30d5e61ecd375ec586":"Search Box Configuration","5a267ddca74be823927a80ea84b76efb":"Wizard",d19f2c10a4724688ff6be34e2c4d8343:"Basic usage","61a0f15d97d17d595dc75dd8b53eca10":"Step area",f0496f26c805a20c5fcc6fc1cfddc9b7:"Icon Basic Style",eb22fddae8e458ea48368db22ae6ba73:"Icon Text","95eb4869cd31db47c51b62167a794b62":"Step in progress/completion status","7905c0b8616905b9625e0924b6bab154":"Icon font","0670e0f6db743d25b73e9d3c18dbe355":"Icon background","731ae15762357825abe4257e5d4f5509":"Arrow Color","863a8583132d087e57aebb7d89e18a50":"Step 1",b3b91f771617e69bdeb3610dcd28e766:"website","9757f2c59c17e9aea46e0c8adb69597e":"Step 2","3bc5e602b2d4c7fffe79258e2ac6952e":"mailbox","207e30c0e7318027d521dd7c6fab6a99":"Step 3",bdefe31b3805f826bce721882336e335:"This is the last step","5acec91385a3b9093e3c803f6b0d869a":"guide","21f3929a4484e6e992af64ec1dd3a576":"Original size","0f1fd39145bad43e18f81337e0144c8c":"full",e0d76824dfe5e09c7068b44f605266d2:"appropriate",e39d3b7a3600d9327221a637f910fc0b:"stretching",e1ff2c83c09f2dc6cc74ae02ab6b8222:"Tile","7ddd9dbf373f760acfd63778469b5c4b":"Horizontal tiling","4ab931e0f709f9b493e660156925a113":"Tile Vertically","61a87a021904dc65995e99d4c476cb21":"Image position","6f9c7d7109f2b4b5a759359a455201e9":"No Shadow","48110cb1579623335cf6a1e2327e5af1":"Lock Scale","17399f02e23b5f5b9b3dedee03a2d538":"Unlock","8f68a7f0132dfa55224f88a21dbb12fa":"Setting","8d81823ea62fc676658ae560a27879a7":"Search component","517c1de3f9f069c1c33003ec8d75c3da":"Enter color value or name to search",d6a80fc3f53d0b11e5f96a538b096c06:"No color matched","7778401c65bfef9c0ad4d543e3b5b310":"Common colors",ec8baa57611b5a89a37b31c7432a01d7:"Click on the color above to add"})})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/locale/zh-CN.js*/ amis.define("a84c5c7",(function(b,e,a,d){"use strict";b("3e58922").extendLocale("zh-CN",{ca746b1ff10193a3ce20878dec04a733:"文字","6b36c6f7ec834692ec6c8e3816349fdd":"颜色","8e1b944f4389bdaab6f11d5bc83190c8":"背景","803205e38834280d9e6a75993ac00764":"阴影","961534b4ea37e4e88aada736b299d063":"边框",d7ec2d3fea4756bc1642e0f10c180cf5:"名称","3fea7ca76cdece641436d7ab0d02ab1b":"状态","22b777e6fcb613b8ba83ced9594cd07e":"常规","062d0b688adb10f3af5ebc2fd2667f1c":"悬浮","4363c17ebb346b646af55bd8c8075915":"点击","710ad08b11419332713360d2750cd707":"禁用",d3d74355a85ba0b1cca7e45e5fd552d6:"宽高",c1df04eec5fa0857bc0df2d68d8e953c:"高度",a2b62974f4d7564bb68b570116f25a10:"最小宽度","226b0912184333c81babf2f1894ec0c1":"类型","0103eb2d3dca70270d1a74e9ec987ac9":"圆角","9a233b241eef54521cfe9365bfaa7b2f":"内外边距","5ef69f62dc668c1a3e68b51c50a2530a":"图标",ef79da787ad206e5d5f8cf62e195c836:"图标大小",a68e1efc4cfb1c098588ba307a83e5b7:"图标边距",b64b6367b8ed2c8e4dc2c5fd71ae4cd5:"按钮 BUTTON",b98fb12243485a38b772cac849f6abf5:"尺寸配置-{{@1}}","12c05fcb4242a7ccc3c6045334a3e07e":"按钮 Button",e6c4f19590b2e1b31987408d021a3df6:"新增按钮类型",c8339fd2a85af4ba66084d28df808de4:"尺寸","86cacbf6b3a5b15d4240a5c934f5f9d4":"新增按钮尺寸",b6453aea1848b65a9a76cccca94715ec:"基础配置","32c65d8d7431e76029678ec7bb73a5ab":"标题","2f97db95d75280bfedc5afa72d2c717d":"背景色","2c1aed77938b834cd47776db9cf202a6":"文字类型","7ec907e7059b758ace2f3adb9bb803ff":"文字颜色","893c1942ed1aa7dbcd16dc53f0446e6b":"标题区域内外边距","2d711b09bd0db0ad240cc83b30dd8014":"内容",a968fb0ea7adbeb28e9bc9f8b014b278:"内容区域内外边距","1ef2788efa657b7e203a477711c8ff2e":"选项内外边距",c3e817974de836e80c95cc6ce5718eff:"搜索框","71d28ba30822ccef85721f6d1b8b556d":"提示文字颜色",b12dcddb01b1ea624859ac3bfc2cb0c9:"点击状态颜色","9a560acb5065e8debaa854aaa182aac4":"输入框内外边距","829abe5a8dcd0579a340d20636b59276":"分组",d58ba4b5e94680fcb08300e176502fb8:"表格形式",c8278544a2a3a953bd85dd47ca7cca3f:"表格内外边距","43d4003fba770f541626ea254aeebece":"最后一列右内边距","5a650643929151fbb27bae1dad436b9a":"树形","13789c907189a33af08aa9850304fb81":"悬浮背景色",caa1672f1fb8102b80b2f7dde375c144:"选中背景色",d2fedacfc0f313fcc5d0a24d4d6d81db:"级联选择","255da7aa3f139351703714476d427cb5":"穿梭框 Transfer","0aeca07a02601a8e701a46d1a8b5ce43":"基础设置","04903192ff663cd0069ed6cd284d33ce":"示例一","67763f8a91ba5cbb4cdf9b5758ea14a3":"示例二","716b1ad4cb45e166cc9f1e283f7026b9":"示例三","365a28f752cf3ab62be9ccc8db0d9b16":"分组一","52b79e6e219197901dfbd50b41c2cf1b":"分组二",fe7509e0ed085b86f07e3e9975cc5b3d:"值",b3652bdb239c558126e9981229c46adf:"设计体系","16e90fff8cc77b24a91541b5d76b2c8b":"组件风格",cf209d136a55c008586b4d75832a55e0:"自定义CSS","4ae7f423d9ed9ffa48c3e404f96bb51f":"文字排版","7a09f792d887ba2808fcf118f4fb5762":"描边与圆角",fa966345577ba81af19408f203db968f:"按钮",f410776cb3c2ae88c0366bc8713423af:"穿梭框",b9420c6f66a59ff2d7e324dc736dcd47:"主题属性","2cdc6176e4ee0e11c71235932d3619ce":"主题名","45235f6c8fa2f6bbb0d5b69742eb1076":"标识",a4fc4861372386ea02156f4c9dd01ce9:"启用状态","7854b52a889b3ef0590d9f542efeb4c8":"启用","5c56a8894551d4937b4f9ff8b6cd9f48":"停用","3bdd08adab6ea90b9164b20a0e4151ac":"描述","03b6472ec3f65ccbfb197aafa22bf437":"正在编辑主题",d8acae3bcfbc9ec9ade58c2dbacf65aa:"暂存",be5fbbe34ce9979bfb6576d9eddc5612:"保存","6d7743c690d8567abef98c80cd0059e4":"圆角配置","571676150e82f411aa2a6c068e770a3d":"圆角大小","62691548000101534e8e58988db66b46":"线框配置",c28479019e24e0e4745f4948e9e97ee7:"宽度","39003734d1d700d5bd97bf1e7a2fcf73":"样式","18061f8051a7cd0affeb8ea672f9877c":"描边与圆角 Border","1f1f785249ba769e146b69191ff1fb6f":"添加圆角","61fba05e8a3b6d794be725a68c3a8957":"描边",d5fa0ac3fb033291acadd025db40cf8c:"强调/正文标题","7835fd1dece3cf3750cb0db039b2ae73":"次强调/正文标题",b97ef9fe546e82e4b5f84661006a8ca7:"次要信息","54c155a9c985b0244666f36abe342b7a":"置灰信息","8318e9299a55c306333b4a2a43dbb6e2":"描边/分割线","5acee66278595588a270bad3bc307562":"最底层背景色","9f83cbd8f26e028346ecb459c4be9c01":"卡片背景色","2e3b124c3a564f528a2f689b6c726fb0":"{{@1}}配置",fbae87bcc352f6933541fb77a07418ed:"主色","1829e78daa9d85efbfa48a23266e0096":"常用色",b6fc6606a091254f7fe0073ccbd5e5ab:"色阶",d5a760176f52fec8e5626df7494a385a:"颜色 Color","2b250fe214bc8b93fb78d795a47d7a6c":"品牌色","7798cd972013b79e475969ec5535ad03":"品牌色配置",af09bd51b66a26d8db3119e95b5d28fe:"中性色","2a1c8012992e31140da55f535c44821b":"中性色配置",b6c3e2dcf4053e5f24d15b63a29f5afd:"辅助色","2aa66d41e052d5370e86d008b08dc93d":"新增辅助色","224e2ccda861c2514faa683b3683c361":"配置",fc55aff8c7e01416e93ac218d98b3b74:"字号",c988dd65ce45c335db5c4354eec7c110:"字重","17169fd8c2ffa82c4e1d08e7267725f4":"行高",a9071b454b601bc837a3703ca215bc56:"倍","7c495878ebe02c83e9bf8bca6b3df3f2":"默认设置","8456bc40d48da5af833f1c63385e9879":"字体",f83dff59f77338048dadea786176625a:"文字排版 Font","3c1b6b40f031129f4d80bddae7b9f375":"基础正文","60915a3c678fbd96eeb88c6694a71b15":"这是一段示例文字,你可以通过编辑文字的字号、字重、行高、字体属性来实时预览文字效果。","0a7a7df949ee519c22ce731924a29d9a":"辅助文字","23bb9c5b7d272346e51cf2577db7deb0":"新增辅助文字","8a987304fa8cbb29e9299ab98644814d":"阴影配置",fbb09a94bfe93285c3dc3b04eaf91fa8:"阴影 Shadow","0b019d236934a3944b3d04c4c573ff80":"添加阴影","5eb25cf20dc0bf5a673398f9e14b9cf0":"普通色盘",ac1e94aa56d34a1e71768dabb2fae0d2:"尺寸配置",bd338a14a5c0d1c4b115ea94e02d0fab:"尺寸 Size","7a15ee1272a4104e5cb702e0b2c3d0b4":"添加尺寸",e0dfa25ebceabddb2180720d36d4c3b6:"上边框",a8b0c20416853bda54120bf19477ad11:"全部",a80a25b59908402cf7ee31a07d0e7739:"左边框","57463587977a534f7859eb9d7c536629":"右边框","154d5216e42c916884431f0eea951999":"下边框",df68a5dc8f8847179b7afdf943f80796:"左上角",e717b4ae480e7c073fd5a44647a7f0da:"右上角","2a97dfb2d236c87c41fd588f006111dc":"左下角","1c9bc9dab33944e953412f8b22cb024a":"右下角","3398b89052b04eef3befdb0392b2d806":"固定边距","8cb8474a4bce1082a3dd6223c5ac45d9":"分别定义","95b351c86267f3aedf89520959bce689":"编辑","122afa60000b5367d28fe360cc1ab400":"样式标识","9771f4b7a5077b7d80e0f914047998f1":"边框配置","96b15b89fd7df6180780a7ac7305ba7c":"边框粗细","84fafbb9668c30ba550e8bd3ebab65a6":"边框样式","34f2ce7d4a21dfa674a95d296e9bb316":"边框与圆角",e366ccf1556c0672dcecba135ed5472e:"设置",c91314c81f9f6c7edc0476b6f1c169db:"点击后将会基于当前基色自动生成一套色阶",bbed50fd3a066f9974441671d541b212:"确定自动生成色阶吗?","67179ff9e68ecae99931d84d42eb9316":"确定生成色阶后将覆盖原有设置","5b72549d59ffd2803c3a2e58228ece0c":"是否联动所有颜色更改","625fb26b4b3340f7872b411f401e754c":"取消",e83a256e4f5bb4ff8b3d804b5473217a:"确认","3649bbe5c9b1627ff779ef11058ce176":"样式描述","6e196ba10b126b5c96ae29984967efa2":"全部色值配置","549c3eb3ef1d8c0142c27ac6fa6e5e57":"基色","92544546c88558b7ecda8ce79b579803":"编辑品牌色","769d88e425e03120b83ee4ed6b9d588e":"完成",da6c2f0517bbf679d63b2cb641c0093f:"编辑{{@1}}",f85468b5bdcaf00f836ad9adac470e4a:"速搭你所想","7ff29e9085ecbdf1af3e2e5d53af90d3":"字号配置","9c8031130d6ad438fa8a532888a698b5":"行高配置","3ed0ea63b4045dc60a274b440e10ef8f":"字体排版",e55434b9eb24e90b62631515be590f07:"字族设置","4325df71731e219dcaf9f279cde5a0d8":"速",d2c934469bfa13f30a8ebc0433177d6d:"暂不支持配置","5f36fee5ac7f5a7201e8a7b0a719d7e3":"添加阴影层","3abb611d8381b687e2ab858730aa875e":"系统会基于尺寸基数自动生成一套尺寸,作为基础尺寸的补充,用于满足尺寸配置的特殊场景",e8f9bedc0c2f65f8fb2932cc89486819:"尺寸基数","3f3dce32033e81d6efb310063e34dd4b":"尺寸起始值",a039b29aab1210feb9533ea379c15bf0:"尺寸示例","542a74c37bcd0c0b6b587db23b564538":"尺寸上限为100px",fb0af8105da1f0f57ce265340239a376:"粗细",ce0aa1714cde2342fa6583664845fc94:"色值配置",efb399e557c1f444ba215c8e2dbfb891:"黑体-简","4e9edbb054a1fc52fe2012ff8cb3b20e":"黑体-繁",bd8e7ebd31bd804a20986f7dd3739900:"冬青黑体简体中文",d55a1b98030839c3ce3606d7d2c80235:"苹方-港",c9045965fa0fbf29323518d79c9da0f1:"苹方-简",c1ef096e25d96c451fd39c172b3f569a:"苹方-繁","09e4d5659a11cf8a55f59e867b30ab75":"宋体-简","56d3dcaab79fe10dfbc4b80f0d9d72a4":"宋体-繁","2c1605abdc63ac897a76aeba5dcf36a4":"华文黑体",db37a0bd2e60503e939e8eee02511550:"华文宋体","92d393c2ae53f424856479d090de718f":"外阴影",b24a723b73f96ab3340fe9502370ee13:"内阴影","5aecb03c8e3edbaf88327052c6cb5190":"起始值","4092ed98e9035652d4c9ca9441701ed7":"基本","9e4ab3933a0281a681412c59e51546cc":"参数设置","86b06e8ad3751e440b5620eaa6c68d6e":"类型配置-{{@1}}",d9113e3454eb76a4c602d73211b58a27:"主要按钮","3cc9a19ad16b320e151ce7973a029582":"主要操作","3ee6ef6f2ee1717130698fdabcbe1636":"按钮类型",fe805d91ae93be775670c61214dd2f28:"按钮尺寸","454e60f5759903d7d3dba58e3f9bd590":"勾选框","0c1001673b467bf750dc8327155fde2a":"勾选框组 Checkbox",e1371d733ff347664655629011b4130f:"基础样式","282363b659599b7fc8d418f0cfbc151f":"勾选框(未选中)",c51efb736b7b9d54241ab06fd71e68b4:"默认配置",fb235ec9bf44cb55437a95ba625ed969:"一个勾选选项",a6b1c1a809d2dd4ef85e389b388ee9cc:"勾选框(已选中)","477a18d8dc1cb1b7149ab90c7adbf3b3":"勾选框组",e8ed49e9fde0bb778e2185876c2d2697:"边距",db98f889ce6bc235e66bd4b2a788d137:"复选框",fdf1b23f0ddfeb888519a33d71df753d:"折叠器 Collapse","18c63459a2c069022c7790430f761214":"默认","030c8cb75e9707285b28c4931bfeddc5":"标题区","841d77223f0ec8cd0b530ed8e0775b20":"内边距","9ede71f52e1499d3968d09a97249ea6d":"常规背景","8b47539aaa82598d99b28094547418a8":"悬浮背景",c0b513c835e841fbdbb0a117e8769161:"悬浮文字","132a78bdf68d6d17bde00aa807bbf032":"内容区","17dcbf1f144607d4af0bb718e008682f":"标题1",f7fb20f6cacd5e40c7f5732cb377d0bf:"这里是内容1","72d41bd9eb3882f7da6f55d0ff0a39f6":"标题2",b8238063c31674ae07e69d1a22498c1d:"这里是内容2","5ee791c074edd8d49d78c16c20f36862":"标题3","31001189cc3b5f124bc59731b3d9641f":"这里是内容3","774b2bcaca8a64f46c84b510cec89109":"图标配置","598f69a9b640508d8e124fd7d33131f0":"选择图标","988d7b545c09108379a54a1e6060f563":"图标颜色","31e3752986d64c8b36897c8641c8628d":"右边距","8c47ecd40d7f739e308567de89accd56":"分割线","4e7f76261f8c4c6d78998f85fc1f4c6e":"外边距",a570fb905a78a803b76ec27eee4bfbef:"链接 Link","4af1215ffa45b8245f055eb676fd6970":"基础用法","60d0458ac6ebef0fff1331af196b3c82":"姓名",f99b9e155fff98ff8472170264afa40c:"表单项描述",a01a9963238df560a9b974f45c7e253a:"年龄","787b5677e325beec788727cd1a327f1f":"性别","36a4908a557796858a347c063a73ce60":"男","87c835a6b1749374a7524a596087b296":"女","55b45c73ae417c4dead67905b1550e85":"表单项","9bbeaf90ee1fa6234ad7d433425cff15":"星号","58f966670529f4753fb3c5a0647606be":"大小","8b4046555c06c7cb247740baa006a6fa":"错误态配置",e637279acf2be77255f49808fa5b02ce:"表单组件","9b4bae5d8251de0b6f00b704936b00d3":"边框颜色","4573a75803e7724664b158582b7ed243":"背景颜色",d7a169e81b60ee08c82b5d9de473e362:"错误提示","1a0ff4a892c19d0b6b81a9606318f23f":"常规态",b972b48ebb6203bf3c9ab846a073c9bf:"错误态","3c7f787e17c0c1d186d89b2ccb8c0e96":"默认模式",de515eb98fa2a33edb2523356036a440:"Label宽度",cf8852316501c22ea19c4e432c59e7d7:"默认宽度","1d03636aec0ad2d34e5ae8cee99d3086":"超小宽度",aafba653c803bbccd1dcb2e04882ce3a:"较小宽度","024d52b060773d4c0babdf3279427453":"中等宽度","30d2724ac49254e03c13525093c58b49":"较大宽度",bb79667f37035e9562ec6bcffd6cf8ef:"组件","99b57d8c9244ff9a695fcd519b4e2e57":"最大宽度","2fb0853874c2cc8cc42f0c7520af662a":"内联模式",faac320e697c1db2e0aefcfcc7aa7a20:"水平模式","675728aaaf6196263b107b69d2726141":"超小 xs","56dba4943b0f73ff56a6defc82dad420":"较小 sm","8a11d92644e622367ebbe04d6fb0a309":"中等 md","942345f2121ee08fa2405c4bfb401b96":"较大 lg","9ac4c7206f1a26393c6f5f1af0d3b1d1":"表单 Form",f44b331cde71687ef54592e749c5eca7:"表单展示",cc7f67aad65b76298e5de891ec7b9557:"输入框 Input","9b6425cd2d496c9cb5a6c6b8ff125d1b":"输入框","09bbfb387dce6201df1ccef2aab161a6":"可清除","795ab5e9d90b73cefa6945c341e92a6a":"可清除配置","839719675015aaa0c6445237bc0d8838":"常规色","2d8298e7eef04b26702988a895e9b0f3":"悬浮色",f46311c27b57b8e51263866572347e21:"点击色","94621f44f98c996e49d5b214aebefffc":"字数统计",ff98f910bbbb5a6d3c6ba78faa9c30ab:"字数统计配置","56f40e132c8369340439255fa1073070":"单行输入框","8685115115e4f8c8daf97a31528721ff":"多行输入框","57d14839d1098d99811f44d68dd0957e":"前缀/后缀",e3ba10bbb2b5e2d82e3cfd680ef37294:"前缀/后缀配置","055293fb3cf2b1fcbc60317a2ae6916a":"密码输入框",fa1541b5caf79ce1a897e038e8addbee:"密码输入框配置","13764c3962e7b8a8babdc7aa3fb247aa":"加密图标","7893f221dae53be8e3bfe72d2eb8a240":"图标尺寸","731f9b470e0948cbf56341a53c423213":"显示图标","17729892bf3ba3625c58ea4e630ccee6":"多行输入框配置","67b958a2d172f2b3474629f9f6724109":"附加组件",b10577822dd19ea69814a976a960de11:"附加组件配置",e5f71fc31e7246dd6ccc5539570471b0:"搜索",d9d1239c53a060d7a0acd0bf3941b561:"文件上传 InputFile",a80f36ea893b8135df8d9266bf13afac:"说明文字",af0a841cabd4caa59be93dd5934f7315:"说明文字与按钮距离","60bac4c0a381a42b320a703227be59eb":"间距","1fff10a67dcf1197e1d2108cf31a21cf":"文件列表","788f315c367fff61e70d1e94acd876de":"文件图标",a3a36a013c7e5e647062a8467940b618:"删除图标","92c9c4b21c52dffc165f7ba3e1aaa17c":"示例文件.txt","26d384ebe61b6ffe0e64310331f9e998":"拖拽上传","8d218da5b2c876de27a1fb95f7dd5348":"悬浮时边框",ac9bc1d9de94a867f55b06739616da11:"底边距","2e0d7113183b02e5e205ccee89109a3f":"图片上传 InputImage",ce8d43bf61b6ffde2336599c6dc8620d:"左侧按钮区","8dc8b7928a9f47aa5bc16e586ff990b8":"右侧按钮区","3033af8ad4ba541ff05edbad313af306":"步长器",e16eefa7a89a6eb99569437515e25ca5:"数字输入框 InputNumber","6d609769ad11b37dd509ec06362f0b73":"加强版",d796e07e03ad1cf1c5c2f0b38797dc5a:"加强版配置","3e08fbf3806981c18666fff59718c85c":"带单位选择","3954d7a9c047b7522ef92ddd5fc35852":"内间距","55d4790c5d819cd0462cbe89561b0dd4":"数字",a4a6add4d9e91273e7e405e895011c64:"常规态链接 Default Link",e8a0ca6c8deddec868ee3875e6609a4e:"悬浮态链接 Hover Link","8d35e7e473227c7e314e6033ec127db4":"点击态链接 Click Link","04deb1572a3d86a8a96022645ca243ea":"禁用态链接 Disabled Link","67c5d85363745c8dd722313da3ef5bb7":"默认态配置","783531bd0ac6363fa5b7c5287696d518":"滑动路径","91c66c9e7a44fdea7f788ef81e1bdb3b":"已选范围","945306c99516f417b20be5aaf337bc64":"滑动按钮",ae3816c5b00fcff4111842ac19f0a706:"按钮图标","0d98c74797e49d00bcc4c17c9d557a2b":"其他",fe8950e54c6b0a6931f810279bfea646:"禁用态配置",a0f4d32038590aca9a5d549118ee13e1:"刻度线样式配置",bdf747b1abf6a56214352494e81b7c72:"刻度线标记配置","461d364c67ec6a45e011ed13f2f7154f":"上边距",fde316967955e85527dfaefd1e2fc037:"标签配置",ab8f9736932027e99e366212fbde4095:"输入框配置","4fa732b8d2ac6dd87658429339625a70":"清除按钮",c4b07f2e6b60c5752a70551ff77ccedf:"默认态",b26c7d64b1e0abbdc9df81d81e1edcd4:"禁用态","4840ea0b6e549245048aa96af2e49017":"刻度线样式","939225437300ee080cfef0839365cdab":"刻度线标记","624952f3a4c833893454db4ec21a7318":"显示标签","804fab8580515919bdda57a15636fab2":"滑块 Inputrange","811eaba71737bcc8496a33f9530177ca":"滑块样式",e8740d3309ad2ee5ea2a68c3603eebdf:"评分样式配置","37ae4f181d4f139be90fb80cae3fc493":"图标样式","8d2317049ce73eac66887bfdbcbd3d27":"默认颜色","076d83a2f933060a26b575adfb820c45":"选中颜色","4c5fead0489fbc7651c91400dec5d379":"文字样式","6c47d4c8b22cc1a5aef5eb9d33edb5fc":"很差",a3d534d9fef05a97bdce9895e2fffa9d:"较差","2ab01e418dca1500dcb133d50656deea":"一般","1d865f5530071cb9e80f214fc15cb970":"较好","745e25a85ec598a719c35a508a86bd98":"很好","74f8228d0403c4a9ef6e73c07c08ae2b":"评分 InputRating","36937385dcb5b205cd1892d6416f32c5":"评分样式","8f68a7f0132dfa55224f88a21dbb12fa":" 配置",faf1f0172b1960d369011c68794e5056:"态链接",b783fe0ed9ccac4709fa53e48626e7f7:"链接添加图标","3712972d84adf48acbd6ad24b4d75ad0":"列表",ae7e62862639fffed2ec9eecd5860e0c:"列表 ListSelect","0fd8c6a15323966b5ec33c28c62d01a8":"样式配置",cd6f79e7bff1337c12c86a15ceedd6da:"面板",b3b287010ea79586507a77e0580d9cad:"底部区","1ddb54c8369b5a8706fdd6b64a3f4484":"面板标题",e5a88d6b4826a7e0d3fcd9e84e0be275:"面板内容",a5681e29ad7dedd3068a0570751b665e:"按钮 1","02d9819ddaaaeb1b7b22b12608c7e5ca":"提示","930dcc01ce6501d2ece3235288bafcb2":"对,你刚点击了!",b1ec0d9e3a470f5bc919edf8a2287003:"按钮 2",ded3b8a54c8c5b475fdfd4fc9872c784:"面板 Panel",d614b4f0555dbb3c7eb13e778fd77293:"面板样式","5b7183e64703529babab5caa6c50ea9b":"圆点",fad7c8a21fe3d7b3eb1db3d8a3212503:"选中","2bcd5b5670c24afc461f2ba24dbd0ec5":"圆点尺寸",e6b83f8e996ea466549d169d6f94eb05:"内圆点","107fe92b267785861723a1dced25b34a":"圆点与文字距离","2033941fa24faa8ec2db2c17bb1e750e":"单选框 Radios",f99484b21ba7a64a748c60b52ea0401e:"列显示","6a7d82ac2df03b7df35546daaded404c":"列显示配置","6036c91d6b0b6d1a2468684e597d9f70":"滑块",d58a55bceec7591f43232e958928ed10:"关","8493205602379573013b8d3335981175":"开","316d1065b381f0dce8fa58fab730fcfc":"开关 Switch","911bafa046cd76ecbc80ae199bd4a6e8":"开关说明","5f3d73d5c8061d61a7363cefd50573f0":"开关说明配置",fb090c01ee012eac2bb26751aeb5a3c4:"开关状态文本","91c446b04976092839d5f6ec69702ed9":"开关状态文本配置","9db7a84fcd85195b36d7df987fde5d0b":"已开启","9c58505de3e05426b5443ff89518fc4b":"已关闭",ba9ab4bc74d5217ea2fdb541fe910833:"尺寸默认配置","9de8b70a3405761c23bd6c53ce426ca3":"滑块尺寸",d362b43129c4b890bbf8867258208521:"滑块边距","3ec2bba02a859a90b023ee793a2381d5":"距离","391b8fa9c747a1799353ab856e666ad5":"小","4ea51786a01ad5701c6c1957f106cfdd":"尺寸小配置","61c98cffc01819f0b2d0b13af4d98ae7":"简约模式",cd7a7556acac6bfef89fb9bb43219951:"状态相关",d372819567bedeecae443c0a2a726388:"加强模式",c207a40edfb78055793eedf2c1810dba:"线型模式","80f403d3cb7ea324e3ee370e6cef36c2":"Tab间距",f6f8ea0815881fe9a4aa9352a7fe2299:"下划线","8706b778c211b35a31d524d34941cef5":"卡片模式",c5b8044dacf2e63931d85e5e307a9168:"水平铺满","75ac842f8e77305846f1d776f97dfaf8":"垂直","8cc73fa067c5fa735aab196289b9ca0b":"高亮指示",b30f254eccefa14c9980235bcbec74f9:"简约","3d7443aeba7c8eaf1cbb42ad5232fa10":"加强",ecfcea4b381d761fecd512761bc07954:"线型",d87f215d9ac688b1d3399bf575a0ef6f:"卡片","0fe54c7be3c1a103974261b0b967161f":"选择器型",eeb04ac57104692b0de5e3348a065198:"侧边栏模式",f9b4ea522c9b1767568f9b6bd59cd944:"选项卡 Tabs","1fdadb49bcabfdc36a4a9e020f597f4d":"展示模式",aa05fd09a619ddbf07d8d903e6d32c5e:"通用",bfe68d5844f8e54602760e18f45954f7:"链接","5aefca559c5a41d10078e21e6d616825":"布局",e90e6ff080f179215c3566a61ca62367:"折叠器","9377e388f7189d6103a3985a321115c8":"选项卡","9f03503d5c6df67ce0f7a8942734f7ca":"数据输入",eee1e2258d7ea163fec625ee44be9637:"表单","53069052573de671c6e5108de745b036":"数字输入框","9913107b19cb6012250134ff91377430":"单选框",a6beb974cc0b50eebd18120b8110a88b:"开关","108db12ed4454cf1ab4242ca98442b7a":"评分","481e034e6026969aae4ce7ce7c8a7b6f":"文件上传","6bfb9bb2218ff32b6139e98bc93707c0":"图片上传","11e9d79e5e4152d28b299d2bd53c4a0b":"编辑数据色","328215447d0e128a845729dab5ce9837":"数据色",db31a89fcdba29c16f19d5c5bc7c82f2:"新增数据色",cc4c575642609fbf059a5df81eb86bfc:"实线","61f6f4fc0b806ac9d41ad0792e6155f6":"虚线",b1e0ebac23ed95807ecc566da3ffab48:"点线",d81bb206a889656035b929cd8bb1ef10:"无","1110ba0bda5a251c55247f122e923848":"透明",ee5841a88da34c5a0e0515c4d863752a:"透明-transparent",c7706039e8ad85969df13ce3458d199a:"渐变角度",a1c76c6e1bd796959e536718e04d10ca:"主题颜色","255f442c4a1b92624a6e96541202a0be":"自定义颜色","879f4e7bd863a00f77d30f05076ac6cb":"1.3倍","4905c69b940b0d94cf8aec83bc8dcc83":"1.5倍","268c43e529c54fb458397b9c13351a67":"1.7倍","81d6da77d656c6a9c3cbd795ae4444ea":"斜体",a120a873412470089bec1dfd1b581fc9:"删除线","413f48cc71f71083ce532a86e3efdc21":"左对齐","56c17ba6a56c01706ae00a31611deb03":"居中对齐",fd8e9572cc6bf87653c4d8f8b8dd0db9:"右对齐",da1b972efb29f850b50e219ad4d98ba5:"两端对齐","2af8c8235ae57c6a7486883f86701ab3":"顶对齐","8bc0ba58bf73b03668ca9b6a74c99f89":"垂直居中对齐",a6d154c4db5068074e32863821c450e1:"底对齐","9c07532d0c9acfecfc4ec2eb265c3e03":"字符","9cf15d01ed2846c4104d1607836bbe79":"阴影预览",f1d4ff50f3828f9b73412e7d94e6dd6e:"自定义","26db990dad6d76c6725375b24c0941e1":"阴影层","392f6fc3cee2d453359856cd92db2fed":"下间距","9d10187a72e379ac7c6e66a9bdf7a320":"上间距","0640c136fc6056181391eeb9be16f040":"垂直模式","5a00168d3cac733b8a128c9639e66b64":"右间距","76815cb6401ed99ee5d3944a9ae35015":"旋转角度","96968134ef7fd7b77bd51e2f16100837":"勾选框(未选中)配置","5a76d053498d5e09b56a9eb23e4a56c6":"勾选框(已选中)配置",e41b25815dd56f49cb401a30cda55190:"勾选框组配置",a381364954fa81c14e2743345e54a8da:"输入框设置","86c6876a6379e56ae31d7fcbf7029a9d":"日期图标","7c5f468f51162d29c90f146a296e1371":"日期选项设置","41ff026d4075053f24666341e7f91d49":"今日边框","7523f06aca1a77db5c8f56285c6e1033":"日期标题设置",b5a15cf44a9b3fd7efaf276c6738cda9:"箭头",fad8b42e1ed63b54f63c71e2ea236c99:"其他类型","2aafc8011eec22ee269853b9f23614b8":"选项设置","9df643ddd5b6122c6ed1bcde5a0e18b6":"日期选择器 inputDate","3607ff776765cd3178c9d4d25196cc6d":"其他类型配置",a0fc142384ddee4823bfbf464d6a7aa5:"月份选择器",b3907ebd1f522f2a577ba9b596bcf2c7:"季度选择器",ed82101599c90fc49b929d6aea1a5dad:"年份选择器","7866226eb814f681dcc4037e7489aab8":"日期范围","73fb66653995d4aa5ce9bd8c92ec4cb9":"选中横线",bc9d5a034781e33d1ef3f156c2e53070:"区间背景",a55d501e08cd08df3b85c95818b90aad:"日期选择器",e8d47b1f0dd0edb47dd29a3edec29255:"输入框-","6967be4d05cbec57ea69e9beb002a549":"左侧按钮区-",d631da76b44cc13be78ba5f3577fec4c:"右侧按钮区-","2f1448085b4bec952ffdb627d136cf78":"基础样式配置",d71a8b1ec14affe0c0407cadb2190254:"带单位选择配置",ac9571cd665c66c2e444bf2c556f985d:"时间图标","601fd75542cb0690568b273e67580ff0":"时间选择器 inputTime","824e6f89eb435901caf46539c4598460":"时间选择器","54f15b374c1b1e4d70de811011221344":"列表配置","37e87e4e3cba3916686a8d708a143501":"输入框背景",ea15ae2b7fba76c83eec6d0986d15197:"选项",f21d5a97648a8baeaffc95e49ba4198e:"点击/选中","0c22455538fc5b2e9c64de1722198d9b":"输入框文字","22562a4469011b233b4ba7f73a8a02d8":"选项文字","785812ea5aa89fb6f9df4ca1aca0c1e4":"选项行高","7dfc7333ba140d84972da7c267caf2c6":"选项内边距",d7454c8f6ca91776d7ed879952dc7f09:"下拉框 Select","70f764a242e45271d75a9c1c0fefea05":"选项禁用","443f46c76ebe6ec4eb502f95c451e4b0":"多选","0bfbe723b691ab8b0d8d3b67c6c99886":"多选选中项配置",a8f5c84641ae86ab453e20b1b3f11f4a:"选择模式","73e0299c2fb3a564af0a7cff42540542":"分组模式","3ef17fa1e33b05e14fdb4a6b7f92b7f5":"分组标题配置","0e2eeb150583b23ed4234d58b81c18e4":"表格模式","5def09014bfbdefffb90e8fecd8760d7":"表格模式配置",ce41de9d7a77387932c1a25ad371d666:"表头内边距",da5cb3af41b15678ca2be8f573c63442:"表格内边距",c2981042c21c8b5fa4451337d484d7db:"树模式","3fa7369c9b82d5c1256ed3635c0bdbe8":"树模式配置","9bd3aaa1092222e5b14e015f19d77918":"级联选择配置","006ded9fa277cf030592021f595a07d5":"下拉框","141221925427fb90099bc38f2aa60f70":"步骤条 Steps",eded9ed93a453c3f790126e30b776a22:"标题文字","53e358698db8d7c8ad042a4b1cea2097":"副标题文字","36285b8c01571203859d6b8ce7af0cba":"描述文字","84fe608676a8fe47637b824434cb225d":"线条","83a991d77ce351f5edbbf8c0aa878d11":"激活","04973a384346228eb6a9c162cc7c2cd2":"状态配置","7624b2ba5e1553423449b32af3896981":"结束状态",d06df0afa9415ecd1ff341d40ed3c93a:"进行中状态",a8778e0baf087bd57cf5747a559d5857:"出错状态","2a7edee2a66055ec3dcfe05170d13cb0":"等待状态",b746ccf9cfbbb3b247558e1dbe7f23d4:"点状步骤条","576c2d8b14434259f5d07f3e6d42f000":"点状步骤条配置","87d88a457161f2a09f95f6aa29b38051":"步骤条","14d342362f66aa86e2aa1c1e11aa1204":"标签","0043ac9f2741312535b4d1faf06446b2":"文字背景","7a0f36303025a80b4b1bc8f6c218ea4a":"文字 tpl","1a3604364d21443dbea5b48255590545":"文字配置",b590af8d54b0b9151594c51239acffdc:"数据展示",a4f758412c3797290c957544c56db443:"继承常规",d8a4e8cdc29e9aa576e669ed165892c9:"分别配置","203bab8001257b60e1aed951a0939393":"模糊","2dc90225b8033d17c41b08f39fa42de2":"扩展",e4e625f8f933ccfd0fe44a41fb02655f:"扩展配置","2e1a9927fd82e77c858fac42a1d5e2de":"标签 Tag","2da6f66b128eb34f721590b5a0bd32e8":"普通的标签","8dc9d3b24abde9e1b1fcabe4298fba91":"这是一个很长长长长长长长长长长长长长的标签","402ec0fce6798362d380d64f4e0e15fd":"不同的模式",da8bcf3db178c0a360c4d52d054d6b0c:"模式配置","2009e3d873e6f5e0978b1e123692c024":"面性标签","8cc6e3e65831f4e034d2a9ce6c68863a":"线性标签","507d869237db8b0c47b07bdf824d4ae2":"状态标签","0a6bfb272dbc96746b7d4ff0f12ebd6e":"标签颜色",eb1062a1af27d339dd0be0207ef87426:"配置颜色","2e46d251ee6188bb1b3ff20656276572":"左边距","7e3a0925d338b3df41c7d11f2888150c":"标签尺寸","8a4996604c742bebb1ea44f9595b7733":"颜色设置","67716d93e5d216f05549eb3cf7bb22d6":"时间选择器 Alert","4503235d1020c150be47796fb582e8b9":"带标题",abc9f7586d510eda0f71bab744c02132:"标题下边距","6f2b01db04cbf7e460b5c6f4e37a5e76":"提示内容",dc19704991f1476fa4dcbb80c50bedd6:"提示标题","816092589b5295a35df51ad6ae320bbb":"提示类",adc3746ea8c20dcaf4c5c99bf9c33e4c:"提示类配置",db192abe6a437b8112323ffa69e4f755:"成功类","29886af7b705d873e5dc6c9581e18421":"成功类配置","1355fe575eb18dba13fe01d56982f6e9":"成功内容","8e7f1838341541a554672e5edb570397":"成功标题",ba158c0d9039a3b64335dd90885a2874:"警告类",f3febbf03c21f90fcaaefdeeb43cccc6:"警告类配置","10cdf98bfecd1a891288c375fcd6e1fe":"警告内容",efd0e8d635968ee53e9dcc6840c5a132:"警告标题",bbc4ff0ef76fe3519e8bc205f18f8862:"危险类",a1b4ced0e723cb2e044798ffbb266340:"危险类配置","6b907b3ff77c788b7455851ef9dee2d8":"危险内容","476ef8a2a97f93123c4c17ca3b2e14b4":"危险标题","1d50fa5b3a01d0b513df8f4b8be40158":"反馈",de9ab361daa6ad98a25275abfb43ce82:"提示 Alert",e37847c1cfbd2fcf4794389e2250a35e:"较小的弹框","540835392409bac76c02133d3adcccab":"这是个简单的弹框","387c1cca5dc46b5456fb8d77d60b280e":"标准弹框","5f911d90c074bfbcc362ea97a2d623b9":"较大的弹框",bd0ef9fb94134120a1d98c08733c4466:"很大的弹框","165d878a8b2ae7c67fdb01f2f55454b7":"整体配置","5babfafd769570de3bba47605753361a":"边框宽度",d413ba550e328c4653d0f4b837211d88:"上下内边距","19c3a04488f2de8a9e73d37b357ce709":"确认和取消按钮间距",a7d4244698ad6b0208d18b7a219b9d39:"较小","544fac400db790f57ea8ee4207cbeb6b":"标准",a5b2a4e0b10787c032287ceb8870555f:"较大",b1e62d2cbcaf703003f3f2ab59c24b61:"很大","8382c27e72870259074096aca0924763":"点击弹框","8a089992349df754f182a5d02de8e8e0":"弹框标题",a1b8372c2828ace73f6640bceab6d5b4:"这是一个弹框",d62f7bf6fd81b9ce1d757cd7cc0a36bf:"配置尺寸","90c9bc5d8cfd9e7cbdfd92e8c9375be7":"对话框 Dialog","841028314f63bd9ee3423727250b6f41":"对话框","40c8b8b095c7fd260543d2e567a1e217":"极小框","274018049ce921fe366cb965d8dfe6a7":"小框","8a1b0b947d2dfd64a58d92f4637b085b":"中框","849b798e69df10532118a964dc9d25aa":"大框",e893af2835bc40cfba48afb3541428ff:"超大框","43bf11d8fcad0a7843563f147dc04c7d":"弹出","4cb9c4bc5cb960fcd03fceb2d2e62f3a":"抽屉标题","89bb9374be268779727ef01ad6f86e65":"抽屉 Drawer","2a2924380dfcaea998bd8a49703545a9":"抽屉","6a04fec740a9454aade1a505133e06e0":"内容-","6704ffe2922cd6bdce754ac6600878c2":"展开收起图标-","9fd51696a4f356286ac845e144980979":"图标色","2fa7e8a7ac426fd43b720f5440de7b98":"节点图标-","5ff2517600918e8e5a45063c1f81ec97":"树形选择框 inputTree","65189f26368d52d06a6f1a7f86b6c174":"复选框树",a95f178e0a6fef57f235f12639a67778:"复选框树配置",ab4df3d184901ee930f4157b56f78b10:"树形选择框","5578cb0a3bbcddee19497debcf900ab2":"加载 Spinner",f345f09f14a525226197090b86d769b3:"文案字符","7d721088a016eac0c59388d1fda68e72":"文字距离","26b5bd4947df8be257c59dde927b400c":"加载中...","4793ea431592921524fc31117e9a662e":"加载",eedfc4d3b93ca4831e94efa2ac3be6f8:"简单模式","693be0e4301fe1d54abf7453d1de1b4d":"简单模式配置","2f1ef751e729716cf08735cbbf745479":"展示标题模式",bfc11572b8e9040c30a819a719b13dc0:"组合 Combo","9fc1105215d759d88e70ac45bc7cfbe8":"边框悬浮","97d07614380da93d257f9fbf81aa56fb":"文本","93dee976f68681ec6950380d757d8c18":"多选模式","5f912a0a8e501c948fd42da54201d664":"多选模式配置","254bb8aa6b92d588d957a383df24db1e":"组合输入",b1287a42a995c59ffd437c3b53fc701f:"条件组合 ConditionBuilder",de57798cd524166ddd2c5eca4af5a90d:"左侧工具","429c52964b87568559415163f335cc64":"竖线","97b0b6499334ed889b372513290a2a52":"布尔","29a2e6aa7f060d1068b0b97ab5927760":"条件组合",b451a456d28ea678735172cb49e581f9:"关闭图标","418ebfe485710b614e09a4e6e103b826":"按钮间距","4a5e8d95ba997e2c5c97018d53cd5d60":"表单项集合 FieldSet","9d7d47399cb2cdebe94cb3b0a0484c09":"标题区配置",cba0d61936703636d3ab45914c9e754a:"基本配置",a13a2fa224ca5b6f44d5aee33ec29d58:"文本1","37dd6f28ffb87d8907a286e0ef4dc7fe":"文本2","6e97790977be29974024cf08bad7bcd6":"不同大小","23ecf42cada8bf2715792d718544d107":"极小",b2dfb75fa1e97f124231f4d3c4d9436d:"尺寸极小配置",c0215e2abf0fe27597acba2be64f6993:"尺寸小","8c3113e6986da3dcca4d608f73a74729":"正常尺寸",ea6a8917aac60aeb19789983a763eeef:"正常尺寸配置","1f23b9dd74b629ba5bfd5eaf8e2f498d":"尺寸大",e368f8115109ead633d9d4c66a26aa54:"尺寸大配置","883109ebc626731a50be09d6cbb01482":"尺寸极大",f20a1eddad240dcc18b96d4153d6a285:"尺寸极大配置","6d36d88078b28530bd4a236b1033c1db":"表单项集合","16a20243f9b741c08216dc9548de2968":"整体",aaf20517d24c1f28f6e6d38e55af765a:"到图片的距离",d0ea59170f279c57dda7cc825f87ce32:"到标题的距离","3fca5e5be30a99b8ca5e14173773f47c":"图片项","999bd6b9123e102268afd2dbb91ad2e4":"图片预览 切换箭头",b95351567e5445e1de3899b2661a22cc:"图片预览 工具栏","7572d9baf4681e0c962268bc3e3470dc":"图片 Image","20def7942674282277c3714ed7ea6ce0":"图片","11bb6310326a93c191bce926a990bd41":"标题和说明","6a0b83890926debf2e24b3b3f49b339f":"这是标题","40f55a65afcebaea209ad2373a0220fc":"这是一段说明",e040fc4bf539dd1cf6ebca6b4bff857a:"图片集","33618b4ab12dd6c8cc394e137b71b943":"图片集预览","6b7ab4f984739ad5a6389b865857dca3":"富文本编辑器 InputRichText","24b6d4c0892a8f3ee2a982e3ab0afe38":"富文本编辑器","2411e6a4b03f859794603606f5f4b8a4":"标签选择器 inputTag","3e0fe687ac1d7bc5dea7b369c5e3dca2":"选项配置",a0d2d27fe320721bd5b0157fd5466b9d:"标签选择器",b81300b202a70f8283f5c11623154168:"列表选择器 Picker","528609917710d813a55e5a6cecf1e458":"选中值",c258ec0e05c06d4c55a78fe6ef86e410:"图标hover",a82a5a0b2b5bd2c1554187e568afbc70:"不同状态","93e9afc43da2f6eda96c6fc916d6f0c0":"disable状态",ab7c4bf8e1f3d2779d62d0e5e038e2de:"列表选择器","600581dd35ba9623a57ba705c2a114b0":"常规用法配置","6710ecbf297cc24f78ad94c9ba28a06d":"进度条底色","13bae4ffa8d0ae1c5c523bec44d81059":"进度颜色",d89e2e6cbaf8f7d907a4803044fbc1ed:"环形进度条配置","745d7686aee3bfbe132927427f815e06":"常规用法","069dc3f8454b741ea38924c867567352":"进度条 Progress","76b0fbc6b43d20b7a1b8c473f145eda1":"进度条样式",e2e33e2c41a9f6f71fe37343f89a72d4:"进度条","0796ba76b4b553687e5ffaeb78512ccb":"基础","2aa762be727d1828e507931e418ba065":"文字与图标间距",b966a7fa5b60bb5c973dc31aeace5ca7:"默认尺寸配置",ab18e30c0dc4093ceeda8961fac3d1f4:"大",f013ea9dcba3f5ca1278aa850931fec8:"加载中","566894e6c347b5ee768d07d454149c66":"状态 Status","93ab99d761c9ca97dc926e6db10469a3":"文字大小",a5eb20164cdaa49fac13c24f990bec82:"不同的状态","21a82d25c04e82b3f873de47c46ef645":"标题区右边距","8df9679426be0efef42e49a73a9745d5":"主副标题间距",f43f2f6298b4df2da085e325dd667bb9:"内部文字","0ffd8c2b18a95ab2dcb43625a7703917":"表格 Table2","380a6ce8a517ac2fdd8b0598d52ad634":"边框/分割线",fbd9998b10e690230b0f2fa9b24087ac:"单元格内边距","19cc47aa177f9d0e16ed9754f13e993d":"两侧边距","703cb4e22041256b9060d77a662ae22c":"表头","1ebd0cd417700f3f4a7ee5f64518fcd1":"单元格",c3477ef585cd59b46a4214a4d6cddbd2:"标题/Footer","06c49fc8d637aae5118791a47f6645a5":"表头图标","2e2b8d4b0c1337936a6a8c55a604ea48":"排序图标","11ac60e0589b350864421efb8b23bd07":"升序图标",ce421b557cf63d165dcdd760505b5b4a:"降序图标","658aa0239db5ef954c5b48ebc35d4ad2":"筛选图标",c320dd0b99727bef76e0a2d0bb7b0895:"搜索图标","11d00f37d934b2464f3258952a398626":"表格标题","540f84ddc0883866b229f71c2844199a":"危险","2f4aaddde33c9b93c36fd2503f3d122b":"删除","99870816d119174e5f66a001184edf91":"表格Footer",f9b2914b8cc684e826bf5d0150adb1e7:"自定义操作列",d7d849d4e103b98ace60c1b46d53b8c6:"自定义操作列配置","38fd93ebb74fd6c8e464550def36952b":"选项背景",b339aa87104709397ba68e7ebbc6e5ba:"表格","40563497c58ce63e56d831b8c0771aca":"状态图标",ee66d7a2d02188816d633d11cf1a8b27:"普通标签",bd61c0c28964f1ac6c193909240fbad9:"圆角标签","690660d9dbd7312ad2825e554736e2f8":"字体颜色","3470c809d2ac5fbeb7f4ae1098c79465":"时间轴 Timeline","6a8429c235f15fed9409245f6e182b79":"时间文字",a49227c3377f637d875f9eaadde7700b:"左间距","29b9a41815a1aef792a0937e74f600f7":"线条颜色","05b13a621386fa10bc72cc64d2416587":"展开区域","149bd3353906e4b3295f85cb2f80221f":"展开按钮文字","4d45c2e49276dbbd8a342ec808675a0d":"展开按钮图标","5517fcf5e66b74ff7f77acd2b1b5045d":"展开区域内边距","726b84c7845deb421083f32f281a9c71":"展开区域圆角",d080dbd950acab2f012491d786057d08:"展开内容文字","1aa46d7cdc632756dfbf16c55436bcdf":"节点数据","01f2895cef02a670e0268e1f97ee9445":"颜色状态",ae2030df77d1cbd5c4c37e0766e7d8b6:"不同状态颜色","1e50464392cf328549eff24142917787":"info状态配置",cf9db4ba84bc0850717a8a39f1be2708:"success状态配置","44d3e4c8d80d10ba2637c535b60e5311":"warning状态配置","443f1399615aee5a0add3ac698f226a7":"danger状态配置",f181f16967d04268ba94b628c0943f56:"横向时间轴","7cef725b75da8afecda59900b780be75":"时间轴",adbcc5fe77f25f8b6b2904575bd48bd4:"轻提示 Toast","7f451fc6ae67ca480a41728757466d83":"这是个提示",ae480d05373baebcef4b69b725d580e5:"不同类型的消息提示","4dee00ae2b76d132732f194738bcada9":"普通消息提示",f4ef94bdfe2ee4374a14313642969970:"成功消息提示",b76927814a0ffbc41f4460c79c32449a:"错误消息提示",da0020ead54cf9227db2048ee08c5086:"警告消息提示","72e3de72640d26a3988eff6c36ed4dca":"轻提示","0944fb3e88fb7d76f63022d6f0d20f5e":"标题区域边距","726c627e165f3b0d7b593be23ccc7045":"内容区域边距","9b14c9051067bef2dd9a15683201dd18":"提示文字","34fec318e4dafe2381b500ce680693dd":"边框点击","7ffe332f455aaf2ff90f588da624bc67":"输入框边距","35944c2aca6853bfa9f9cf58e4f52071":"标题字符","341c4671a75e4b5ebf7b78e811ecf7bd":"表头边距","531436df7353051ba62b33d52458c9f6":"表格边距",a74700f0b7c1025e1c3b9a305121967f:"右内边距","2f01247ddd9c425f1bad555a9a8b062e":"选项边距",d1445892f0486effddf33eb81e68daae:"不同模式","29f92d09e59e0d30d5e61ecd375ec586":"搜索框配置","5a267ddca74be823927a80ea84b76efb":"向导 Wizard",d19f2c10a4724688ff6be34e2c4d8343:"基本使用","61a0f15d97d17d595dc75dd8b53eca10":"步骤区",f0496f26c805a20c5fcc6fc1cfddc9b7:"图标基本样式",eb22fddae8e458ea48368db22ae6ba73:"图标文字","95eb4869cd31db47c51b62167a794b62":"步骤进行中/完成状态","7905c0b8616905b9625e0924b6bab154":"图标字体","0670e0f6db743d25b73e9d3c18dbe355":"图标背景","731ae15762357825abe4257e5d4f5509":"箭头颜色","863a8583132d087e57aebb7d89e18a50":"第一步",b3b91f771617e69bdeb3610dcd28e766:"网址","9757f2c59c17e9aea46e0c8adb69597e":"第二步","3bc5e602b2d4c7fffe79258e2ac6952e":"邮箱","207e30c0e7318027d521dd7c6fab6a99":"第三步",bdefe31b3805f826bce721882336e335:"这是最后一步了","5acec91385a3b9093e3c803f6b0d869a":"向导","21f3929a4484e6e992af64ec1dd3a576":"原始尺寸","0f1fd39145bad43e18f81337e0144c8c":"充满",e0d76824dfe5e09c7068b44f605266d2:"合适",e39d3b7a3600d9327221a637f910fc0b:"拉伸",e1ff2c83c09f2dc6cc74ae02ab6b8222:"平铺","7ddd9dbf373f760acfd63778469b5c4b":"横向平铺","4ab931e0f709f9b493e660156925a113":"纵向平铺","61a87a021904dc65995e99d4c476cb21":"图片位置","6f9c7d7109f2b4b5a759359a455201e9":"无阴影","48110cb1579623335cf6a1e2327e5af1":"锁定比例","17399f02e23b5f5b9b3dedee03a2d538":"解除锁定","8d81823ea62fc676658ae560a27879a7":"查询组件","517c1de3f9f069c1c33003ec8d75c3da":"输入色值或名称搜索",d6a80fc3f53d0b11e5f96a538b096c06:"未匹配到颜色","7778401c65bfef9c0ad4d543e3b5b310":"常用颜色",ec8baa57611b5a89a37b31c7432a01d7:"点击上方颜色添加"})})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/tpl.js*/ amis.define("ed7c93a",(function(e,n,t,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=e("f61a25a"),c={};n.getSchemaTpl=function(e,n,t){var a=c[e]||{};return"function"==typeof a?a(n,t):a?n?i.__assign(i.__assign({},a),n):a:null},n.setSchemaTpl=function(e,n){c[e]=n}})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/commom.js*/ amis.define("a595cb5",(function(e,a,o,t){"use strict";var n=e("f61a25a"),r=e("f649ba9"),l=e("ed7c93a");l.setSchemaTpl("normal",(function(e){return{type:"wrapper",style:{padding:"0.75rem"},body:n.__spreadArray([],e,!0)}})),l.setSchemaTpl("collapseGroup",(function(e){var a=e.filter((function(e){return e&&Array.isArray(null==e?void 0:e.body)&&(null==e?void 0:e.body.length)>0})).map((function(e){return n.__assign(n.__assign({type:"collapse",collapsed:!1,headingClassName:"ae-formItemControl-header",bodyClassName:"ae-formItemControl-body"},e),{key:e.title,body:r.flatten(e.body)})}));return{type:"collapse-group",activeKey:a.map((function(e){return e.title})),expandIconPosition:"right",expandIcon:{type:"icon",icon:"chevron-right"},className:"ae-formItemControl ae-styleControl",body:a}}))})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/icons/checkbox-check.svg.js*/ amis.define("d130f2b",(function(e,t,n,r){"use strict";function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(t,"__esModule",{value:!0});var o,c=a(e("f2bfafc"));function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t-1)return"inherit";if(!t||"object"!=typeof t)return t;for(var e in t=f.default(t))"string"==typeof t[e]&&t[e].indexOf("inherit:")>-1&&(t[e]="inherit");return t},e.getInheritValue=function(t,e){try{if(!t||!e)return null;var r={},n=function(t){for(var r=t.split("."),n=f.default(e.themeConfig.component),i="",a=function(t){var f=r[t],a=/\$\{(.*)\}/.exec(f)||[];if(a[1]&&(f=e[a[1]]||"default"),Array.isArray(n)?n=n.find((function(t){return t.type===f})):"hover"===f||"active"===f||"disabled"===f?(i=n.default.token,n=n.default):n=n[f],!n)return"break"},o=0;o0&&i.push.apply(i,u);var o=parseFloat(e),d=r.cloneDeep(l);/^\d*$/.test(e)||(d=d.filter((function(t){return(o+t).includes(e)})));var f=d.map((function(e){var t=o+e;return"rem"===e&&(t+="(".concat(o*p,"px)")),{value:o+e,label:t,realValue:o+e}}))||[];i.unshift.apply(i,f),l.includes("rem")&&d.includes("px")&&i.unshift({value:o/p+"rem",label:"".concat(o,"px->").concat(o/p,"rem"),realValue:o/p+"rem"}),F(i.map((function(t){return a.__assign(a.__assign({},t),{html:c.highlight(t.label,e)})})))}function j(){s||I(!0)}u.useEffect((function(){var e=null==t?void 0:t.find((function(e){return e.value===_}));T(e),e||(P(_),C.current&&(C.current.value=_))}),[_]);var U="inherit"===_?f.i18n("a4f758412c3797290c957544c56db443"):(null==S?void 0:S.label)||f.i18n("d8a4e8cdc29e9aa576e669ed165892c9");return v.default.createElement(v.default.Fragment,null,S||"custom"===_||(null==_?void 0:_.includes("var"))||"inherit"===_?v.default.createElement("div",{onClick:j,className:m.default("theme-select",s&&"theme-select--disabled",D,D&&"theme-select--active")},v.default.createElement(i.TooltipWrapper,{trigger:"hover",placement:"top",tooltip:{children:function(){return v.default.createElement("div",null,U)}},disabled:!!h},v.default.createElement("div",{className:"ThemeSelectContent-theme"},h?v.default.createElement("div",null,S&&S[h]||f.i18n("d8a4e8cdc29e9aa576e669ed165892c9")):v.default.createElement("div",null,U),s?null:v.default.createElement(i.Icon,{icon:"close",className:"icon",onClick:function(){n(void 0),setTimeout((function(){var e;null===(e=C.current)||void 0===e||e.focus()}),10)}})))):v.default.createElement("div",{className:m.default("theme-select",s&&"theme-select--disabled",D&&"theme-select--active")},v.default.createElement("input",{className:"ThemeSelectContent-input",type:"text",onChange:function(e){var t=e.currentTarget.value;P(t),function(e){r.debounce((function(){n(e?y?d.setInheritData(e,O):e:void 0)}))()}(t)},onFocus:j,ref:C,disabled:s,placeholder:function(e){if("inherit"===e)return f.i18n("a4f758412c3797290c957544c56db443");var n=null==t?void 0:t.find((function(t){return t.value===e}));return n?n.label:"custom"===e?f.i18n("d8a4e8cdc29e9aa576e669ed165892c9"):e}(y?w:b)})),v.default.createElement(i.Overlay,{container:document.body,target:o,show:D&&!!(null==V?void 0:V.length),rootClose:!0},v.default.createElement(i.PopOver,{overlay:!0,onHide:function(){return I(!1)}},v.default.createElement("div",{className:"ThemeSelectContent-input-select",style:{minWidth:(null==o?void 0:o.clientWidth)+"px"}},null==V?void 0:V.map((function(e){return v.default.createElement("div",{key:e.label,onClick:function(){return function(e){n(y?d.setInheritData(e.value,O):e.value),I(!1),C.current&&(C.current.value=e.value)}(e)},className:m.default((null==S?void 0:S.value)===e.value&&"ThemeSelectContent-input-select-item--active")},e.html||e.label)}))))))}function b(e){var t=e.data,n=e.value,l=e.options,i=e.extraUnit,o=void 0===i?["px","rem","%"]:i,d=e.disabled,s=e.state,m=e.itemName,p=e.inheritValue,b=e.isEditorTpl,g=u.useRef(null),E=v.default.useState(C()),y=E[0],_=E[1];function C(){var e,n,a=r.cloneDeep("string"==typeof l?c.resolveVariableAndFilter(l,t,"| raw"):b&&!l?(null==t?void 0:t.sizesOptions)||[]:l||[]);if(s&&"default"!==s&&a[0]&&a[0].value!=="var(".concat(null===(e=null==t?void 0:t.default)||void 0===e?void 0:e.token).concat(m,")")){var u=b?"inherit":"var(".concat(null===(n=null==t?void 0:t.default)||void 0===n?void 0:n.token).concat(m,")");a.unshift({label:f.i18n("a4f758412c3797290c957544c56db443"),value:p||u,realValue:f.i18n("a4f758412c3797290c957544c56db443")})}return a}return u.useEffect((function(){_(C())}),[l]),v.default.createElement("div",{ref:g},v.default.createElement(h,a.__assign({},e,{value:n||"",options:y,extraUnit:o,target:g.current,disabled:d})))}!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}a.__extends(t,e),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){return v.default.createElement(b,a.__assign({},this.props))}}),t=a.__decorate([c.FormItem({type:"amis-theme-select",strictMode:!1,renderLabel:!0})],t)}(v.default.Component),t.default=b})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/renderers/PaddingAndMargin.js*/ amis.define("3d9968e",(function(e,a,n,t){"use strict";var i=e("f61a25a"),d=e("36e5c87"),l=e("c683f68"),u=e("f2bfafc"),o=e("5554e7e"),r=e("f649ba9"),g=e("52ac928"),m=e("2753fc4");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=c(u),s=c(o);function v(e){var a=e.onChange,n=e.value,t=e.data,d=e.custom,o=e.label,c=e.options,v=e.hideMargin,p=e.hidePadding,h=e.state,T=e.editorThemePath,E=u.useState("all"),P=E[0],M=E[1],b=u.useState(null),A=b[0],B=b[1],N=u.useState(!1),R=N[0],L=N[1],_=u.useState(0),y=_[0],C=_[1],k=u.useState("marginTop"),S=k[0],O=k[1],V=u.useState(!1),D=V[0],I=V[1],x=u.useState(!1),j=x[0],w=x[1],F=[{value:"marginTop"},{value:"marginRight"},{value:"marginBottom"},{value:"marginLeft"},{value:"paddingTop"},{value:"paddingRight"},{value:"paddingBottom"},{value:"paddingLeft"}].filter((function(e){return v?!!~e.value.indexOf("padding"):p?!!~e.value.indexOf("margin"):e})),z=J(m.getValueByPath(T,t)),H=m.getInheritValue(T,t),q=J(n||{}),G=c||t.sizesOptions||[];function J(e){if(!e)return null;var a=m.formatInheritData(r.cloneDeep(e));return(null==a?void 0:a.marginTop)===(null==a?void 0:a.marginRight)&&(null==a?void 0:a.marginRight)===(null==a?void 0:a.marginBottom)&&(null==a?void 0:a.marginBottom)===(null==a?void 0:a.marginLeft)?a.margin=null==a?void 0:a.marginTop:a.margin="custom",(null==a?void 0:a.paddingTop)===(null==a?void 0:a.paddingRight)&&(null==a?void 0:a.paddingRight)===(null==a?void 0:a.paddingBottom)&&(null==a?void 0:a.paddingBottom)===(null==a?void 0:a.paddingLeft)?a.padding=null==a?void 0:a.paddingTop:a.padding="custom",a}function K(e){return function(n){var i=r.cloneDeep(q);if(delete i.margin,delete i.padding,"custom"!==n){if("margin-all"===e)if(null==n?void 0:n.includes("all")){var d=function(e){return"var(".concat(t.default.token).concat(e,")")};i.marginTop=d("marginTop"),i.marginRight=d("marginRight"),i.marginBottom=d("marginBottom"),i.marginLeft=d("marginLeft")}else i.marginTop=n,i.marginRight=n,i.marginBottom=n,i.marginLeft=n;else if("padding-all"===e)if(null==n?void 0:n.includes("all")){d=function(e){return"var(".concat(t.default.token).concat(e,")")};i.paddingTop=d("paddingTop"),i.paddingRight=d("paddingRight"),i.paddingBottom=d("paddingBottom"),i.paddingLeft=d("paddingLeft")}else i.paddingTop=n,i.paddingRight=n,i.paddingBottom=n,i.paddingLeft=n;else if("number"==typeof e){var l=F[e].value;i[l]=n,l.includes("padding")?I(!1):w(!1)}a(m.setInheritData(i,H))}}}return u.useEffect((function(){var e,a,t,i,d,l,u,o;h&&"default"!==h&&n&&((null===(e=n.paddingTop)||void 0===e?void 0:e.includes("default-paddingTop"))&&(null===(a=n.paddingBottom)||void 0===a?void 0:a.includes("default-paddingBottom"))&&(null===(t=n.paddingRight)||void 0===t?void 0:t.includes("default-paddingRight"))&&(null===(i=n.paddingLeft)||void 0===i?void 0:i.includes("default-paddingLeft"))&&I(!0),(null===(d=n.marginTop)||void 0===d?void 0:d.includes("default-marginTop"))&&(null===(l=n.marginBottom)||void 0===l?void 0:l.includes("default-marginBottom"))&&(null===(u=n.marginRight)||void 0===u?void 0:u.includes("default-marginRight"))&&(null===(o=n.marginLeft)||void 0===o?void 0:o.includes("default-marginLeft"))&&w(!0))}),[n]),u.useEffect((function(){"custom"!==q.margin&&"custom"!==q.padding||M("custom")}),[]),f.default.createElement("div",{className:"Theme-PaddingAndMargin"},o?f.default.createElement("div",{className:"Theme-PaddingAndMargin-title"},o):null,f.default.createElement("div",{className:"Theme-PaddingAndMargin-inner"},f.default.createElement("div",{className:s.default("Theme-PaddingAndMargin-label",d&&"Theme-PaddingAndMargin-label--custom")},f.default.createElement("div",{className:s.default("Theme-PaddingAndMargin-label-all","all"===P&&"Theme-PaddingAndMargin-label-all--active"),onClick:function(){return M("all")}}),d?f.default.createElement("div",{className:s.default("Theme-PaddingAndMargin-label-custom","custom"===P&&"Theme-PaddingAndMargin-label-custom--active"),onClick:function(){return M("custom")}},f.default.createElement("div",null),f.default.createElement("div",null)):null),"all"===P?f.default.createElement(f.default.Fragment,null,!v&&f.default.createElement("div",{className:"Theme-PaddingAndMargin-input"},f.default.createElement(g.default,i.__assign({},e,{options:G,value:j?"var(".concat(t.default.token,"margin-all)"):q.margin,onChange:K("margin-all"),itemName:"margin-all",state:h,inheritValue:T?"inherit":"",placeholder:null==z?void 0:z.margin})),f.default.createElement("div",{className:"Theme-PaddingAndMargin-input-label"},"Margin")),!p&&f.default.createElement("div",{className:"Theme-PaddingAndMargin-input"},f.default.createElement(g.default,i.__assign({},e,{options:G,value:D?"var(".concat(t.default.token,"padding-all)"):q.padding,onChange:K("padding-all"),itemName:"padding-all",state:h,inheritValue:T?"inherit":"",placeholder:null==z?void 0:z.padding})),f.default.createElement("div",{className:"Theme-PaddingAndMargin-input-label"},"Padding"))):null),"all"!==P?f.default.createElement("div",{className:s.default("Theme-PaddingAndMargin-custom",!p&&"Theme-PaddingAndMargin-custom--padding",!v&&"Theme-PaddingAndMargin-custom--margin")},F.map((function(e,a){return f.default.createElement("div",{key:e.value,className:s.default("Theme-PaddingAndMargin-custom-"+e.value),onClick:function(n){return function(e,a,n){L(!0),B(e.currentTarget),C(a),O(n)}(n,a,e.value)}},f.default.createElement("div",null,function(e){var a;return(null===(a=G.find((function(a){return a.value===e})))||void 0===a?void 0:a.realValue)||e}(q[e.value]||(null==z?void 0:z[e.value]))||"-"))})),f.default.createElement(l.Overlay,{container:document.body,target:A,show:R,rootClose:!1},f.default.createElement(l.PopOver,{overlay:!0,onHide:function(){return L(!1)}},f.default.createElement("div",{className:"Theme-PaddingAndMargin-custom-popover"},f.default.createElement(g.default,i.__assign({},e,{options:G,value:q[S],onChange:K(y),itemName:S,state:h,inheritValue:T?"inherit":"",placeholder:null==z?void 0:z[S]})))))):null)}!function(e){function a(){return null!==e&&e.apply(this,arguments)||this}i.__extends(a,e),Object.defineProperty(a.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e;return f.default.createElement(v,i.__assign({},this.props,{custom:null===(e=this.props.custom)||void 0===e||e}))}}),a=i.__decorate([d.FormItem({type:"amis-theme-padding-and-margin",strictMode:!1,renderLabel:!1})],a)}(f.default.Component)})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/renderers/ColorPicker.js*/ amis.define("9411b34",(function(e,t,n,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=e("f61a25a"),o=e("f2bfafc"),r=e("36e5c87"),c=e("5554e7e"),i=e("7082700"),u=e("c683f68"),d=e("f649ba9"),s=e("3e58922"),m=e("2753fc4");e("2317efe");var f=e("b1997d5");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=v(o),p=v(c),g=["left top","center top","right top","left center","center center","right center","left bottom","center bottom","right bottom"];function b(e,t){var n={label:e,value:e};if("string"==typeof e&&0===(null==e?void 0:e.indexOf("var"))){var a=r.findTree(t,(function(t){return t.value===e}));a?n={label:"".concat(a.label,"-").concat(a.realValue),value:a.realValue}:e.includes("--colors-")||(n={label:s.i18n("a4f758412c3797290c957544c56db443"),value:e})}return"transparent"===e&&(n={label:s.i18n("1110ba0bda5a251c55247f122e923848"),value:"transparent"}),"custom"===e&&(n={label:s.i18n("d8a4e8cdc29e9aa576e669ed165892c9"),value:"transparent"}),"inherit"===e&&(n={label:s.i18n("a4f758412c3797290c957544c56db443"),value:e}),n}function C(e){var t,n=e.themeList,a=e.onChange,c=e.value,i=e.data,d=e.itemName,f=e.state,v=e.editorThemePath,g=e.editorInheritValue||m.getInheritValue(v,i),b=f&&"default"!==f?"inherit":"var(".concat(null===(t=null==i?void 0:i.default)||void 0===t?void 0:t.token).concat(d,")"),C=o.useState(n),E=C[0],T=C[1],N=o.useState(!0),I=N[0],y=N[1];function k(e){a(m.setInheritData(e,g))}return h.default.createElement("div",{className:"ThemeColorList"},h.default.createElement("div",{className:"ThemeColorList-content ThemeColorList-content--top"},h.default.createElement("div",{className:"ThemeColorList-content-title"},s.i18n("aa05fd09a619ddbf07d8d903e6d32c5e")),h.default.createElement("div",{className:"ThemeColorList-content-labels"},h.default.createElement(u.TooltipWrapper,{trigger:"hover",placement:"top",tooltip:{children:function(){return h.default.createElement("div",null,s.i18n("ee5841a88da34c5a0e0515c4d863752a"))}}},h.default.createElement("div",{className:p.default("ThemeColorList-content-label","transparent"===c&&"ThemeColorList-content-label--active"),onClick:function(){return k("transparent")}},h.default.createElement("div",{className:p.default("ThemeColorList-content-label-inner","ThemeColor--transparent")}))),h.default.createElement(u.TooltipWrapper,{trigger:"hover",placement:"top",tooltip:{children:function(){return h.default.createElement("div",null,s.i18n("d81bb206a889656035b929cd8bb1ef10"))}}},h.default.createElement("div",{className:p.default("ThemeColorList-content-label"),onClick:function(){return k(void 0)}},h.default.createElement("div",{className:"ThemeColorList-content-label-inner"},h.default.createElement("div",{className:"ThemeColor--delete"})))),(null==i?void 0:i.state)&&"default"!==i.state||f&&"default"!==f?h.default.createElement(u.TooltipWrapper,{trigger:"hover",placement:"top",tooltip:{children:function(){return h.default.createElement("div",null,s.i18n("a4f758412c3797290c957544c56db443"))}}},h.default.createElement("div",{className:p.default("ThemeColorList-content-label",c===b&&"ThemeColorList-content-label--active"),onClick:function(){return k(b)}},h.default.createElement("div",{className:p.default("ThemeColorList-content-label-inner","ThemeColor--transparent")},h.default.createElement("div",{className:"ThemeColorList-content-label-inner",style:{background:b}})))):null),h.default.createElement("div",{className:"ThemeColorList-content--search"},h.default.createElement(u.SearchBox,{placeholder:s.i18n("517c1de3f9f069c1c33003ec8d75c3da"),onChange:function(e){var t=l.__spreadArray([],E||[],!0),n=!1;r.eachTree(t,(function(t,a,l,o){var r,c,i,u;t.children&&(t.show=(null===(r=t.label)||void 0===r?void 0:r.includes(e))||!e),o&&(null===(c=o[l-2])||void 0===c?void 0:c.show)?t.show=!0:e.startsWith("#")?t.show=(null===(i=t.realValue)||void 0===i?void 0:i.includes(e))||!e:t.show=(null===(u=t.label)||void 0===u?void 0:u.includes(e))||!e,t.show&&(n=!0)})),y(n),T(t)}}))),I?null==E?void 0:E.map((function(e,t){var n,a,l=e.show;return null===(n=e.children)||void 0===n||n.forEach((function(e){var t;null===(t=e.children)||void 0===t||t.forEach((function(e){!1!==e.show&&(l=!0)}))})),l?h.default.createElement("div",{key:t},h.default.createElement("div",{className:"ThemeColorList-title"},s.i18n(e.label)),null===(a=e.children)||void 0===a?void 0:a.map((function(e,t){var n,a,l=e.show;return null===(n=e.children)||void 0===n||n.forEach((function(e){!1!==e.show&&(l=!0)})),l?h.default.createElement("div",{className:"ThemeColorList-content",key:t},h.default.createElement("div",{className:"ThemeColorList-content-title"},s.i18n(e.label)),h.default.createElement("div",{className:"ThemeColorList-content-labels"},null===(a=e.children)||void 0===a?void 0:a.map((function(e,t){return!1!==e.show?h.default.createElement(u.TooltipWrapper,{key:t,trigger:"hover",placement:"top",tooltip:{children:function(){return h.default.createElement("div",null,"".concat(s.i18n(e.label),"-").concat(e.realValue))}}},h.default.createElement("div",{className:p.default("ThemeColorList-content-label",c===e.value&&"ThemeColorList-content-label--active"),onClick:function(){return k(e.value)}},h.default.createElement("div",{className:p.default("ThemeColorList-content-label-inner","#ffffff"===e.realValue&&"ThemeColorList-content-label--border"),style:{background:e.value}}))):null})))):null}))):null})):h.default.createElement("span",{className:"ThemeColorList-content-title"},s.i18n("d6a80fc3f53d0b11e5f96a538b096c06")))}function E(e){var t=e.value,n=e.onChange,a=e.themeList;0===(null==t?void 0:t.indexOf("var"))&&(t=b(t,a).value);return h.default.createElement("div",{className:"Theme-CustomColor"},h.default.createElement(i.SketchPicker,{width:"216px",color:t,presetColors:[],onChangeComplete:function(e){if(1===e.rgb.a)n(e.hex);else{var t=e.rgb;n("rgba(".concat(t.r,", ").concat(t.g,", ").concat(t.b,", ").concat(t.a,")"))}}}))}function T(e){var t,n=o.useRef(null),a=o.useRef(null),l=o.useRef(null),r=e.value,c=e.onChange,m=e.themeList,f=o.useState([]),v=f[0],g=f[1],C=o.useState(0),E=C[0],T=C[1],N=o.useState(0),I=N[0],y=N[1],k=o.useState(!1),L=k[0],S=k[1],w=o.useState(!1),x=w[0],P=w[1],O=E;function G(e,t){c("linear-gradient(".concat(e,"deg,").concat(t.map((function(e){return"".concat(e.color," ").concat(e.position,"%")})).join(","),")"))}function _(e){var t=n.current.getBoundingClientRect(),a=Math.round((e.x-t.x)/t.width*100),l=d.cloneDeep(v);if(Math.abs(e.y-t.y)>30&&l.length>2)l.splice(O,1),T(0),g(l),G(I,l);else if(a>=0&&a<=100){if(l[O].position=a,l[O-1]&&al[O+1].position){o=d.cloneDeep(l[O+1]);l[O+1]=d.cloneDeep(l[O]),l[O]=o,T(O+1)}g(l),G(I,l)}}function M(){window.removeEventListener("mousemove",_),window.removeEventListener("mouseup",M),setTimeout((function(){P(!1)}),0)}function D(e){void 0===e&&(e=0);var t=Math.PI/180*e;return{left:21+25*Math.sin(t),top:21-25*Math.cos(t)}}function R(e){var t=l.current.getBoundingClientRect(),n=t.x+25,a=t.y+25,o=Math.abs(e.x-n),r=Math.abs(e.y-a),c=Math.round(180*Math.atan(o/r)/Math.PI);e.y>a&&e.x>n&&(c=180-c),e.x<=n&&e.y>a&&(c=180+c),e.xn)a.unshift({color:a[0].color,position:n});else if(a[l-1].positionn){o=r+1,a.splice(o,0,{color:a[r].color,position:n});break}g(a),T(o),G(I,a)}}},v.map((function(e,t){return h.default.createElement("div",{key:t,className:p.default("Theme-GradientColor-slider-inner-item",t===E&&"Theme-GradientColor-slider-inner-item--active"),onMouseDown:function(e){!function(e,t){T(t),P(!0),O=t,window.addEventListener("mousemove",_),window.addEventListener("mouseup",M)}(0,t)},onClick:function(e){e.stopPropagation()},style:{left:"calc(".concat(e.position,"% - 7px)"),background:e.color}})}))),h.default.createElement("div",{className:"Theme-GradientColor-range",ref:a,onClick:function(e){S(!0),e.stopPropagation(),window.addEventListener("click",(function(){S(!1)}))}},h.default.createElement(u.NumberInput,{formatter:function(e){return e+"°"},max:360,min:0,value:I,onChange:function(e){y(e),G(e,v)}}),h.default.createElement(u.Overlay,{container:document.body,target:a.current,show:L,placement:"center-bottom-center-top",rootClose:!1,offset:[0,4]},h.default.createElement(u.PopOver,null,h.default.createElement("div",{className:"Theme-GradientColor-range-panel"},h.default.createElement("div",{className:"Theme-GradientColor-range-panel-title"},s.i18n("c7706039e8ad85969df13ce3458d199a")),h.default.createElement("div",{className:"Theme-GradientColor-range-panel-content",ref:l},h.default.createElement("div",{className:"Theme-GradientColor-range-panel-content-handler",onMouseDown:function(){window.addEventListener("mousemove",R),window.addEventListener("mouseup",V)},style:{left:D(I).left+"px",top:D(I).top+"px"}}))))))),h.default.createElement(i.SketchPicker,{width:"216px",color:null===(t=v[E])||void 0===t?void 0:t.color,presetColors:[],onChangeComplete:function(e){var t=e.hex;if(1!==e.rgb.a){var n=e.rgb;t="rgba(".concat(n.r,", ").concat(n.g,", ").concat(n.b,", ").concat(n.a,")")}var a=d.cloneDeep(v);a[E].color=t,g(a),G(I,a)}}))}function N(e){var t=e.onChange,n=e.value,a=e.imageType,c=e.receiver,i=e.env,d=o.useState(""),m=d[0],f=d[1],v=o.useState("auto"),p=v[0],b=v[1],C=o.useState(4),E=C[0],T=C[1],N=o.useState(""),k=N[0],L=N[1];return o.useEffect((function(){!function(){var e,t,a=n.split(" "),l=/url\((.*)\)/.exec(a[0]);if(l){var o=l[1];f(o);var r=n.replace(l[0]+" ",""),c=r.split(" "),i=c[0]+" "+c[1],u=g.findIndex((function(e){return e===i}));T(u);var d=(c=(r=r.replace(i+" / ","")).split(" "))[0];~(null===(e=c[1])||void 0===e?void 0:e.indexOf("repeat"))&&(d+=" "+c[1]),~(null===(t=c[1])||void 0===t?void 0:t.indexOf("100%"))&&(d="100% 100% no-repeat"),b(d);var s=r.replace(d+" ","");L(s)}}()}),[n]),h.default.createElement("div",{className:"Theme-ImageInput"},r.render({type:a||"input-image",receiver:c,name:"image",onChange:function(e){e&&t("url(".concat(e,") ").concat(g[E]," / ").concat(p," ").concat(k))}},{data:{image:m}},l.__assign({},i)),h.default.createElement("div",{className:"Theme-ImageInput-func"},h.default.createElement(u.Select,{className:":Theme-ImageInput-fill",value:p,clearable:!1,options:[{label:s.i18n("21f3929a4484e6e992af64ec1dd3a576"),value:"auto no-repeat"},{label:s.i18n("0f1fd39145bad43e18f81337e0144c8c"),value:"cover no-repeat"},{label:s.i18n("e0d76824dfe5e09c7068b44f605266d2"),value:"contain no-repeat"},{label:s.i18n("e39d3b7a3600d9327221a637f910fc0b"),value:"100% 100% no-repeat"},{label:s.i18n("e1ff2c83c09f2dc6cc74ae02ab6b8222"),value:"auto repeat"},{label:s.i18n("7ddd9dbf373f760acfd63778469b5c4b"),value:"auto repeat-x"},{label:s.i18n("4ab931e0f709f9b493e660156925a113"),value:"auto repeat-y"}],onChange:function(e){m&&(null==e?void 0:e.value)&&t("url(".concat(m,") ").concat(g[E]," / ").concat(e.value," ").concat(k))}}),h.default.createElement(I,{value:E,onChange:function(e){t("url(".concat(m,") ").concat(g[e]," / ").concat(p," ").concat(k))}}),h.default.createElement(y,l.__assign({},e,{value:k,onChange:function(e){t("url(".concat(m,") ").concat(g[E]," / ").concat(p," ").concat(e))}}))))}function I(e){var t=e.value,n=e.onChange,a=Array.from(Array(9).keys()),l=o.useState(!1),r=l[0],c=l[1],i=o.useRef(null);return h.default.createElement(h.default.Fragment,null,h.default.createElement("div",{className:"Theme-ImageInput-position",ref:i,onClick:function(){c(!0)}},a.map((function(e){return h.default.createElement("div",{key:e,className:p.default("Theme-ImageInput-position-item",t===e&&"Theme-ImageInput-position-item--active")})}))),h.default.createElement(u.Overlay,{container:document.body,target:i.current,show:r,offset:[0,4]},h.default.createElement(u.PopOver,{overlay:!0,onHide:function(){c(!1)}},h.default.createElement("div",{className:"Theme-ImageInput-position-container"},h.default.createElement("div",{className:"Theme-ImageInput-position-title"},s.i18n("61a87a021904dc65995e99d4c476cb21")),h.default.createElement("div",{className:"Theme-ImageInput-position-content"},a.map((function(e){return h.default.createElement("div",{key:e,className:p.default("Theme-ImageInput-position-content-item",t===e&&"Theme-ImageInput-position-content-item--active"),onClick:function(){!function(e){n(e)}(e)}})})))))))}function y(e){var t=e.value,n=e.onChange,a=e.themeList,r=e.subTabList,c=o.useState(!1),i=c[0],d=c[1],s=o.useState(0),m=s[0],f=s[1],v=o.useRef(null);function g(){d(!1)}return o.useEffect((function(){~t.indexOf("var")?f(0):f(1)}),[t]),h.default.createElement(h.default.Fragment,null,h.default.createElement("div",{ref:v,className:"Theme-ImageInput-color",style:{background:t},onClick:function(){d(!0)}}),h.default.createElement(u.Overlay,{container:document.body,target:v.current,show:i,offset:[0,4]},h.default.createElement(u.PopOver,{overlay:!0,onHide:g},h.default.createElement("div",{className:"Theme-ImageInput-color-container"},h.default.createElement("div",{className:"Theme-ImageInput-color-content"},h.default.createElement("div",{className:"Theme-ImageInput-color-content-tab"},r.map((function(e){return h.default.createElement("div",{className:p.default("Theme-ImageInput-color-content-tab-item",m===e.id&&"Theme-ImageInput-color-content-tab-item--active"),onClick:function(){!function(e){f(e)}(e.id)},key:e.id},e.name)}))),0===m?h.default.createElement(C,l.__assign({},e,{themeList:a,onChange:function(e){n(e),g()},value:t})):null,1===m?h.default.createElement(E,{onChange:n,value:t,themeList:a}):null)))))}function k(e){var t=e.themeList,n=e.onChange,a=e.onRef,l=e.needGradient,r=e.needImage,c=e.needTheme,i=e.needCustom,m=o.useState({colors:[],linearGradient:[],img:[]}),f=m[0],v=m[1],g=o.useState(!1),C=g[0],E=g[1];function T(e){if(e){var n=d.cloneDeep(f);if(~e.indexOf("linear-gradient"))n.linearGradient.length<8&&!f.linearGradient.find((function(t){return t.color===e}))&&n.linearGradient.unshift({color:e,title:e});else{if(~e.indexOf("url"))return;if(n.colors.length<8&&!f.colors.find((function(t){return t.color===e}))){var a=void 0;0===e.indexOf("var(")&&(a=b(e,t).label),n.colors.unshift({color:e,title:a})}}localStorage.setItem("presetColors",JSON.stringify(n)),v(n)}}function N(e){return e.colors.length+e.linearGradient.length+e.img.length}return o.useImperativeHandle(a,(function(){return{setPresetColor:d.debounce(T,500)}})),o.useEffect((function(){var e;try{e=JSON.parse(localStorage.getItem("presetColors")||"")}catch(t){e={colors:[],linearGradient:[],img:[]}}v(e)}),[]),h.default.createElement("div",{className:"Theme-ColorSelect-PresetColors"},h.default.createElement("div",{className:"Theme-ColorSelect-PresetColors-header"},h.default.createElement("span",{className:"Theme-ColorSelect-PresetColors-title"},s.i18n("7778401c65bfef9c0ad4d543e3b5b310")),N(f)>0?h.default.createElement("span",{className:p.default("Theme-ColorSelect-PresetColors-edit",C&&"Theme-ColorSelect-PresetColors-editing"),onClick:function(){E(!C)}},C?s.i18n("769d88e425e03120b83ee4ed6b9d588e"):s.i18n("95b351c86267f3aedf89520959bce689")):null),h.default.createElement("div",null,N(f)>0?Object.keys(f).map((function(e){return(l||"linearGradient"!==e)&&(r||"img"!==e)&&(c||i||"colors"!==e)&&f[e].length>0?h.default.createElement("div",{key:e,className:p.default("Theme-ColorSelect-PresetColors-content",C&&"Theme-ColorSelect-PresetColors-content-editing")},f[e].map((function(t,a){return h.default.createElement(u.TooltipWrapper,{trigger:"hover",placement:"left",tooltip:{children:function(){return h.default.createElement("div",null,t.title||t.color)}},key:t.color,container:document.body},h.default.createElement("div",{className:"ThemeColor--transparent Theme-ColorPicker-label-out",onClick:function(){!function(e,t,a){if(C){var l=d.cloneDeep(f);l[a].splice(t,1),v(l),localStorage.setItem("presetColors",JSON.stringify(l)),0===N(l)&&E(!1)}else n(e)}(t.color,a,e)}},h.default.createElement("div",{style:{background:t.color},className:"Theme-ColorSelect-PresetColors-content-item"})))}))):null})):h.default.createElement("span",{className:"Theme-ColorSelect-PresetColors-content-placeholder"},s.i18n("ec8baa57611b5a89a37b31c7432a01d7"))))}function L(e){var t=e.show,n=e.target,a=e.themeList,r=e.onChange,c=e.close,i=e.value,d=e.needGradient,m=e.needImage,v=e.needTheme,g=e.needCustom,b=o.useState("color"),I=b[0],y=b[1],L=o.useState(0),S=L[0],w=L[1],x=o.useRef(),P={color:{name:"color"}};d&&(P.gradient={name:"gradient"}),m&&(P.img={name:"img",icon:h.default.createElement(f.Icon,{icon:"color-picker-img"}),activeIcon:h.default.createElement(f.Icon,{icon:"color-picker-img-active"})});var O,G=[v&&a&&a.length>0&&{name:s.i18n("a1c76c6e1bd796959e536718e04d10ca"),parent:"color",id:0},g&&{name:s.i18n("255f442c4a1b92624a6e96541202a0be"),parent:"color",id:1}].filter((function(e){return e}));function _(e){var t;r(e),null===(t=x.current)||void 0===t||t.setPresetColor(e)}return o.useEffect((function(){!v||0!==(null==i?void 0:i.indexOf("var"))&&"transparent"!==i&&i?d&&0===(null==i?void 0:i.indexOf("linear-gradient"))?y("gradient"):m&&0===(null==i?void 0:i.indexOf("url"))?y("img"):g&&(y("color"),w(1)):(y("color"),w(0))}),[t]),o.useEffect((function(){v?w(0):g&&w(1)}),[g,v]),h.default.createElement(u.Overlay,{container:document.body,target:n.current,show:t,placement:"left"},h.default.createElement(u.PopOver,{overlay:!0,onHide:c},h.default.createElement("div",{className:"Theme-ColorSelect"},Object.keys(P).length>1?h.default.createElement("div",{className:"Theme-ColorSelect-tab"},Object.keys(P).map((function(e){return h.default.createElement("div",{key:e,className:p.default("Theme-ColorSelect-tab-"+e,I===e&&"Theme-ColorSelect-tab-".concat(e,"--active")),onClick:function(){y(e),v&&0!==i.indexOf("#")&&0!==i.indexOf("rgba")?w(0):g&&w(1)}},I===e?P[e].activeIcon:P[e].icon)}))):null,(O=G.filter((function(e){return e.parent===I}))).length>1?h.default.createElement("div",{className:"Theme-ColorSelect-tab-sub"},O.map((function(e){return h.default.createElement("div",{key:e.id,className:p.default("Theme-ColorSelect-tab-sub-item",S===e.id&&"Theme-ColorSelect-tab-sub--active"),onClick:function(){return w(e.id)}},e.name)}))):null,h.default.createElement("div",{className:"Theme-ColorSelect-content"},"color"===I?h.default.createElement("div",{className:"Theme-ColorSelect-content-color"},0===S?h.default.createElement(C,l.__assign({},e,{themeList:a,onChange:_,value:i})):null,1===S?h.default.createElement(E,{onChange:_,value:i,themeList:a}):null):null,"gradient"===I?h.default.createElement(T,{value:i,onChange:_,themeList:a}):null,"img"===I?h.default.createElement(N,l.__assign({},e,{value:i,onChange:_,subTabList:G})):null,h.default.createElement(k,{onRef:x,onChange:_,themeList:a,needGradient:d,needImage:m,needTheme:v,needCustom:g})))))}function S(e){var t,n=e.value,a=e.options,c=e.data,i=e.onChange,d=e.labelMode,s=e.needGradient,m=e.needImage,f=e.needTheme,v=e.needCustom,g=e.placeholder,C=e.disabled,E=e.readOnly,T=a;"string"==typeof a&&(T=r.resolveVariableAndFilter(a,c,"| raw"));var N=o.useRef(null),I=o.useRef(null),y=o.useState(n),k=y[0],S=y[1],w=o.useState(!1),x=w[0],P=w[1];return o.useEffect((function(){S(n)}),[n]),h.default.createElement("div",{className:p.default("Theme-ColorPicker",C&&"is-disabled",E&&"is-readOnly"),ref:N},h.default.createElement("div",{className:p.default("Theme-ColorPicker","input"===d&&"Theme-ColorPicker--input"),onClick:function(){!C&&P(!x)},ref:I},h.default.createElement("div",{className:"ThemeColor--transparent Theme-ColorPicker-label-out"},b(k||g,T).value?h.default.createElement(u.TooltipWrapper,{trigger:"hover",placement:"left",disabled:"input"===d,tooltip:{children:function(){return h.default.createElement("div",null,b(k||g,T).label)}}},h.default.createElement("div",{className:p.default("Theme-ColorPicker-label"),style:{background:b(k||g,T).value}})):h.default.createElement("div",{className:"ThemeColor--delete"})),"input"===d?h.default.createElement(h.default.Fragment,null,h.default.createElement("div",{className:p.default("Theme-ColorPicker-input")},k?h.default.createElement("div",null,b(k,T).label):h.default.createElement("div",{className:p.default("Theme-ColorPicker-input--placeholder")},(null===(t=b(g,T))||void 0===t?void 0:t.label)||g)),!n||C||E?null:h.default.createElement("span",{className:r.classnames("Select-clear"),onClick:function(e){S(void 0),i(void 0),e.preventDefault(),e.stopPropagation()}},h.default.createElement(u.Icon,{icon:"input-clear",className:"icon"})),h.default.createElement("span",{className:p.default("Theme-ColorPicker-arrow",x&&"Theme-ColorPicker-arrow--active")},h.default.createElement(u.Icon,{icon:"right-arrow-bold",className:"icon"}))):null),h.default.createElement(L,l.__assign({},e,{needGradient:null!=s&&s,needImage:null!=m&&m,needTheme:null==f||f,needCustom:null!=v&&v,value:n||g||"",show:x,close:function(){P(!1)},container:N,target:I,themeList:T,onChange:i})))}function w(e){var t,n=m.getValueByPath(e.editorThemePath||"",e.data),a=m.formatInheritData(e.value)||n;return h.default.createElement(h.default.Fragment,null,h.default.createElement(S,l.__assign({},e,{placeholder:a,options:e.options||e.data.colorOptions,labelMode:null!==(t=e.labelMode)&&void 0!==t?t:"default",needGradient:e.needGradient,needImage:e.needImage,needTheme:e.needTheme,needCustom:e.needCustom})))}!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}l.__extends(t,e),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e;return h.default.createElement(w,l.__assign({},this.props,{labelMode:null!==(e=this.props.labelMode)&&void 0!==e?e:"default",needGradient:this.props.needGradient,needImage:this.props.needImage,needTheme:this.props.needTheme,needCustom:this.props.needCustom}))}}),t=l.__decorate([r.FormItem({type:"amis-theme-color-picker",strictMode:!1,renderLabel:!0})],t)}(h.default.Component),t.default=S})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/renderers/Border.js*/ amis.define("842b3f5",(function(e,t,a,l){"use strict";var n=e("f61a25a"),r=e("5554e7e"),o=e("f2bfafc"),c=e("36e5c87"),i=e("f649ba9"),d=e("c683f68"),u=e("9411b34"),s=e("52ac928"),f=e("3e58922"),m=e("2753fc4");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=b(r),v=b(o),h=[{label:f.i18n("cc4c575642609fbf059a5df81eb86bfc"),value:"solid",realValue:"solid"},{label:f.i18n("61f6f4fc0b806ac9d41ad0792e6155f6"),value:"dashed",realValue:"dashed"},{label:f.i18n("b1e0ebac23ed95807ecc566da3ffab48"),value:"dotted",realValue:"dotted"}],y=[{value:"none",label:f.i18n("d81bb206a889656035b929cd8bb1ef10"),realValue:"none"},{value:"1px",label:"1px",realValue:"1px"},{value:"2px",label:"2px",realValue:"2px"},{value:"4px",label:"4px",realValue:"4px"}],E=[{item:"top",tip:f.i18n("e0dfa25ebceabddb2180720d36d4c3b6")},{item:"all",tip:f.i18n("a8b0c20416853bda54120bf19477ad11")},{item:"left",tip:f.i18n("a80a25b59908402cf7ee31a07d0e7739")},{item:"right",tip:f.i18n("57463587977a534f7859eb9d7c536629")},{item:"bottom",tip:f.i18n("154d5216e42c916884431f0eea951999")}];function g(e){var t=e.onChange,a=e.value,l=void 0===a?{}:a,r=e.data,c=e.custom,b=e.label,g=e.needColorCustom,_=e.state,T=e.editorThemePath,V=o.useState(i.cloneDeep(e.borderWidthOptions||r.borderWidthOptions||y)),B=V[0];V[1];var N=o.useState(i.cloneDeep(e.borderStyleOptions||r.borderStyleOptions||h)),x=N[0],C=N[1],S=o.useState(i.cloneDeep(e.colorOptions||r.colorOptions)),D=S[0];S[1];var O=o.useState("all"),w=O[0],k=O[1],I=L(m.getValueByPath(T,r)),P=m.getInheritValue(T,r),j=L(l||{});function L(e){if(!e)return null;var t=m.formatInheritData(i.cloneDeep(e)),a=function(e){t["top-border-".concat(e)]===t["right-border-".concat(e)]&&t["right-border-".concat(e)]===t["bottom-border-".concat(e)]&&t["bottom-border-".concat(e)]===t["left-border-".concat(e)]?t["all-border-".concat(e)]=t["top-border-".concat(e)]:t["all-border-".concat(e)]="custom"};return a("width"),a("style"),a("color"),t}function M(e){return"".concat(w,"-border-").concat(e)}function W(e){return function(a){var r,o=M(e);if("custom"!==a){var c={};if("all"===w){var i={};E.filter((function(e){return"all"!==(null==e?void 0:e.item)})).forEach((function(t){var l="".concat(t.item,"-border-").concat(e);i[l]=a})),c=n.__assign(n.__assign({},l),i)}else c=n.__assign(n.__assign({},l),((r={})[o]=a,r));t(m.setInheritData(c,P))}}}return o.useEffect((function(){var e;if(_&&"default"!==_){var t="all"===w?"top":w,a=i.cloneDeep(x);a[0].parent?(a[0].value=T?"inherit":"var(".concat(r.default.token).concat(t,"-border-style)"),a[0].realValue=f.i18n("a4f758412c3797290c957544c56db443")):a.unshift({label:f.i18n("a4f758412c3797290c957544c56db443"),value:T?"inherit":"var(".concat(null===(e=null==r?void 0:r.default)||void 0===e?void 0:e.token).concat(t,"-border-style)"),parent:!0,realValue:f.i18n("a4f758412c3797290c957544c56db443")}),C(a)}}),[w]),v.default.createElement("div",{className:"Theme-Border"},b?v.default.createElement("div",{className:"Theme-Border-label"},b):null,v.default.createElement("div",{className:"Theme-Border-content"},c?v.default.createElement("div",{className:"Theme-Border-items"},E.map((function(e){var t="border-".concat(e.item);return v.default.createElement("div",{key:t,className:p.default("Theme-Border-item Theme-Border-item--".concat(e.item),{"Theme-Border-item--active":w===e.item}),onClick:function(){return function(e){k(e)}(e.item)}},v.default.createElement("span",{"data-tooltip":e.tip,"data-position":"top"}))}))):v.default.createElement("div",{className:"Theme-Border-all"}),v.default.createElement("div",{className:p.default("Theme-Border-settings",!c&&"Theme-Border-settings--all")},v.default.createElement(s.default,n.__assign({},e,{options:B,value:j[M("width")],onChange:function(e){return W("width")(e)},itemName:"".concat("all"===w?"top":w,"-border-width"),state:_,inheritValue:T?"inherit":"",placeholder:null==I?void 0:I[M("width")]})),v.default.createElement("div",{className:"Theme-Border-settings-style-color"},v.default.createElement(d.Select,{options:x,value:j[M("style")],placeholder:function(e,t){if("inherit"===e)return f.i18n("a4f758412c3797290c957544c56db443");var a=null==t?void 0:t.find((function(t){return t.value===e}));return a?a.label:e}(null==I?void 0:I[M("style")],x),onChange:function(e){return W("style")(e.value)},clearable:!!I,renderMenu:function(e){return"none"===e.realValue?v.default.createElement("span",null,f.i18n("d81bb206a889656035b929cd8bb1ef10")):e.parent?v.default.createElement("span",null,e.label):v.default.createElement("div",{className:"Theme-Border-style"},v.default.createElement("div",{className:"Theme-Border-style-line",style:{borderStyle:e.realValue}}),v.default.createElement("span",null,f.i18n(e.label)))},renderValueLabel:function(e){return"none"===e.realValue?v.default.createElement("span",null,f.i18n("d81bb206a889656035b929cd8bb1ef10")):e.parent?v.default.createElement("span",null,e.label):v.default.createElement("div",{className:"Theme-Border-style"},v.default.createElement("div",{className:"Theme-Border-style-line",style:{borderStyle:e.realValue}}))}}),v.default.createElement(u.default,n.__assign({},e,{value:j[M("color")],options:D,onChange:W("color"),needCustom:null!=g&&g,needTheme:!0,itemName:"".concat("all"===w?"top":w,"-border-color"),placeholder:null==I?void 0:I[M("color")]}))))))}!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}n.__extends(t,e),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e;return v.default.createElement(g,n.__assign({},this.props,{custom:null===(e=this.props.custom)||void 0===e||e}))}}),t=n.__decorate([c.FormItem({type:"amis-theme-border",strictMode:!1,renderLabel:!1})],t)}(v.default.Component)})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/renderers/Radius.js*/ amis.define("2197e6b",(function(e,t,a,i){"use strict";var r=e("f61a25a"),l=e("5554e7e"),u=e("f2bfafc"),d=e("36e5c87"),o=e("f649ba9"),s=e("52ac928"),n=e("2753fc4"),c=e("3e58922");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=m(l),b=m(u),h=[{item:"top-left",tip:c.i18n("df68a5dc8f8847179b7afdf943f80796")},{item:"top-right",tip:c.i18n("e717b4ae480e7c073fd5a44647a7f0da")},{item:"bottom-left",tip:c.i18n("2a97dfb2d236c87c41fd588f006111dc")},{item:"bottom-right",tip:c.i18n("1c9bc9dab33944e953412f8b22cb024a")}];function v(e){var t=e.onChange,a=e.value,i=void 0===a?{}:a,l=e.data,c=e.custom,m=e.label,v=e.borderRadiusOptions,p=e.state,g=e.editorThemePath,_=o.cloneDeep(v||l.borderRadiusOptions);"string"==typeof v&&(_=d.resolveVariableAndFilter(v,l,"| raw"));var E=u.useState("all"),R=E[0],T=E[1],N=u.useState(!1),y=N[0],C=N[1],V=D(n.getValueByPath(g,l)),k=n.getInheritValue(g,l),x=D(i||{});function D(e){if(!e)return null;var t=n.formatInheritData(o.cloneDeep(e));return t["top-right-border-radius"]===t["top-left-border-radius"]&&t["top-left-border-radius"]===t["bottom-right-border-radius"]&&t["bottom-right-border-radius"]===t["bottom-left-border-radius"]?t["all-border-radius"]=t["top-right-border-radius"]:t["all-border-radius"]="custom",t}function I(e){return"".concat(e,"-border-radius")}function O(e){return function(a){var u,d=I(e);if("custom"!==a){var o={};if("all"===e){var s={};h.forEach((function(e){var t,i="".concat(e.item,"-border-radius");if(p&&"default"!==p&&(null==a?void 0:a.includes("all-border-radius"))){s[i]=(t=i,"var(".concat(l.default.token).concat(t,")"))}else s[i]=a})),o=r.__assign(r.__assign({},i),s)}else o=r.__assign(r.__assign({},i),((u={})[d]=a,u));t(n.setInheritData(o,k)),C(!1)}}}return u.useEffect((function(){var e,t,a,r;p&&"default"!==p&&(null===(e=i["top-left-border-radius"])||void 0===e?void 0:e.includes("default-top-left-border-radius"))&&(null===(t=i["top-right-border-radius"])||void 0===t?void 0:t.includes("default-top-right-border-radius"))&&(null===(a=i["bottom-left-border-radius"])||void 0===a?void 0:a.includes("default-bottom-left-border-radius"))&&(null===(r=i["bottom-right-border-radius"])||void 0===r?void 0:r.includes("default-bottom-right-border-radius"))&&C(!0)}),[i]),u.useEffect((function(){"custom"===x["all-border-radius"]&&T("custom")}),[]),b.default.createElement("div",{className:"Theme-Radius"},m?b.default.createElement("div",{className:"Theme-Radius-label"},m):null,b.default.createElement("div",{className:"Theme-Radius-inner"},b.default.createElement("div",{className:f.default("Theme-Radius-item",c&&"Theme-Radius-item--custom")},b.default.createElement("div",{className:f.default("Theme-Radius-item-all","all"===R&&"Theme-Radius-item-all--active"),onClick:function(){return T("all")}}),c?b.default.createElement("div",{className:f.default("Theme-Radius-item-custom","custom"===R&&"Theme-Radius-item-custom--active"),onClick:function(){return T("custom")}}):null),b.default.createElement("div",{className:"Theme-Radius-settings"},b.default.createElement(s.default,r.__assign({},e,{options:_,value:y?"var(".concat(l.default.token,"all-border-radius)"):x[I("all")],onChange:O("all"),extraUnit:["px"],disabled:"custom"===R,itemName:"all-border-radius",state:p,inheritValue:g?"inherit":"",placeholder:null==V?void 0:V[I("all")]})))),b.default.createElement("div",{className:"Theme-Radius-settings-custom"},"custom"===R?h.map((function(t){var a=t.item;return b.default.createElement("div",{className:"Theme-Radius-settings-custom-item",key:t.item},b.default.createElement(s.default,r.__assign({},e,{options:_,value:x[I(a)],onChange:O(a),extraUnit:["px"],itemName:a+"-border-radius",state:p,inheritValue:g?"inherit":"",placeholder:null==V?void 0:V[I(a)],menuTpl:"realValue"})),b.default.createElement("div",{className:f.default("Theme-Radius-settings-custom-item-label","Theme-Radius-settings-custom-item-"+a)}))})):null))}!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}r.__extends(t,e),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e;return b.default.createElement(v,r.__assign({},this.props,{custom:null===(e=this.props.custom)||void 0===e||e}))}}),t=r.__decorate([d.FormItem({type:"amis-theme-radius",strictMode:!1,renderLabel:!1})],t)}(b.default.Component)})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/renderers/Size.js*/ amis.define("a86017f",(function(e,t,i,a){"use strict";var n=e("f61a25a"),l=e("f2bfafc"),r=e("f0957da"),d=e("36e5c87");e("2317efe");var o=e("5554e7e"),u=e("c683f68"),m=e("52ac928"),c=e("f649ba9"),f=e("2753fc4"),h=e("3e58922"),s=e("b1997d5");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=v(l),g=v(o);function b(e){var t=e.data,i=e.sizesOptions,a=void 0===i?t.sizesOptions:i,l=e.value,r=e.onChange,d=e.hideWidth,o=e.hideHeight,v=e.hideMinWidth,b=e.editorThemePath,p=e.label,N=E.default.useState(0),z=N[0],_=N[1],S=E.default.useState({width:"",height:"",minWidth:""}),T=S[0],w=S[1],y=/[0-9\.]*/,W=f.getValueByPath(b,t),C=f.getInheritValue(b,t);function I(e){if(a&&a.length){var t={};return["width","height","minWidth"].forEach((function(i){var n=c.find(a,(function(t){return t.realValue===e[i]}));t[i]=n?n.value:e[i]})),void r(f.setInheritData(t,C))}r(e)}function k(e,t){var i;if(!z||"width"!==t&&"height"!==t){var l=n.__assign(n.__assign({},T),((i={})[t]=e,i));w(l),I(l)}else!function(e){var t,i=e.data,l=e.type;if(z){var r="width"===l?"height":"width",d="",o=P(i),u="width"===l?o/z:o*z;if(u=Number(u.toFixed(2)),1===z)d=i;else if(i.indexOf("var")>-1){var m=c.find(a,(function(e){return e.realValue===u+"rem"}));d=m?m.value:u+"rem"}else{var f=i.replace(o.toString(),"");d=u+f}var h=n.__assign(n.__assign({},T),((t={})[l]=i,t[r]=d,t));w(h),I(h)}}({data:e,type:t})}function P(e){if(!e)return 0;var t=e.match(y);if(t&&t[0])return Number(t[0]);if(!a||!a.length)return 0;var i=c.find(a,(function(t){return t.value===e})),n=i?i.realValue.match(y):0;return n&&n[0]?Number(n[0]):0}return E.default.useEffect((function(){var e=setTimeout((function(){l&&w(f.formatInheritData(l))}),100);return function(){return clearTimeout(e)}}),[l]),E.default.createElement("div",{className:"Theme-SizeEditor"},p?E.default.createElement("div",{className:"Theme-SizeEditor-label"},p):null,E.default.createElement("div",{className:"Theme-SizeEditor-body"},E.default.createElement("div",{className:g.default("Theme-SizeEditor-line",(d||o)&&"Theme-SizeEditor-item-sigle",!d&&!o&&"Theme-SizeEditor-line-no-hide")},E.default.createElement("div",{className:"Theme-SizeEditor-size"},!d&&E.default.createElement("div",{className:"Theme-SizeEditor-item"},E.default.createElement("div",{className:"Theme-SizeEditor-item-label"},"W"),E.default.createElement(m.default,n.__assign({},e,{options:a,value:T.width,onChange:function(e){return k(e,"width")},itemName:"width",placeholder:null==W?void 0:W.width}))),!o&&E.default.createElement("div",{className:"Theme-SizeEditor-item"},E.default.createElement("div",{className:"Theme-SizeEditor-item-label"},"H"),E.default.createElement(m.default,n.__assign({},e,{options:a,value:T.height,onChange:function(e){return k(e,"height")},itemName:"height",placeholder:null==W?void 0:W.height})))),!d&&!o&&E.default.createElement("div",{className:"Theme-SizeEditor-lock"},z?E.default.createElement(u.Button,{tooltip:h.i18n("17399f02e23b5f5b9b3dedee03a2d538"),tooltipPlacement:"left",onClick:function(){_(0)}},E.default.createElement(s.Icon,{icon:"lock",className:"common-icon"})):E.default.createElement(u.Button,{tooltip:h.i18n("48110cb1579623335cf6a1e2327e5af1"),tooltipPlacement:"left",onClick:function(){if(T.width&&T.height){var e=P(T.width),t=P(T.height);_(e&&t?Number((e/t).toFixed(2)):0)}else _(0)}},E.default.createElement(s.Icon,{icon:"unlock",className:"common-icon"})))),!v&&E.default.createElement("div",{className:"Theme-SizeEditor-line Theme-SizeEditor-item-sigle"},E.default.createElement("div",{className:"Theme-SizeEditor-item"},E.default.createElement("div",{className:"Theme-SizeEditor-item-label"},h.i18n("a2b62974f4d7564bb68b570116f25a10")),E.default.createElement(m.default,n.__assign({},e,{options:a,value:T.minWidth,onChange:function(e){return k(e,"minWidth")},itemName:"minWidth",placeholder:null==W?void 0:W.minWidth}))))))}r.observer(b),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}n.__extends(t,e),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){return E.default.createElement(b,n.__assign({},this.props))}}),t=n.__decorate([d.FormItem({type:"amis-theme-size-editor",strictMode:!1,renderLabel:!1})],t)}(E.default.Component)})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/renderers/ThemeWrapper.js*/ amis.define("c2caf31",(function(e,t,a,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("f61a25a"),l=e("f2bfafc"),o=e("b1997d5");e("2317efe");var i=e("5554e7e"),c=e("f649ba9"),d=e("c683f68"),f=e("3e58922");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=s(l),p=s(i);function m(e){var t=e.hasSenior,a=e.hasOpen,r=e.senior,n=e.toggleSenior,l=e.open,i=e.toggleOpen,c=e.title;return u.default.createElement("div",{className:"Theme-Wrapper"},u.default.createElement("div",{className:"Theme-Wrapper-header"},u.default.createElement("div",{className:"Theme-Wrapper-header-left"},c),u.default.createElement("div",{className:"Theme-Wrapper-header-right"},t&&u.default.createElement(d.TooltipWrapper,{tooltip:f.i18n("e4e625f8f933ccfd0fe44a41fb02655f"),tooltipTheme:"dark",placement:"left"},u.default.createElement(o.Icon,{icon:"custom",className:"common-icon",onClick:function(){return n&&n(!r)}})),a&&u.default.createElement(o.Icon,{icon:"right-arrow-bold",className:p.default("arrow-icon",l?"arrow-icon-reverse":""),onClick:function(){return i&&i(!l)}}))))}function h(e){var t=e.hasSenior,a=void 0!==t&&t,r=e.hasOpen,n=void 0!==r&&r,l=e.body,i=e.seniorBody,d=e.title,f=u.default.useState(!0),s=f[0],p=f[1],h=u.default.useState(!1),b=h[0],v=h[1],g=c.pick(e,["data","formMode","formLabelAlign","formLabelWidth","formHorizontal","onChange"]);return u.default.createElement("div",{className:"Theme-Wrapper"},d||""===d?u.default.createElement(m,{hasSenior:a,hasOpen:n,senior:b,toggleSenior:v,open:s,toggleOpen:p,title:d}):null,u.default.createElement("div",{className:"Theme-Wrapper-body",style:{display:s?"block":"none"}},l?o.render(l,g):null,u.default.createElement("div",{className:"Theme-Wrapper-senior",style:{display:b?"block":"none"}},i?o.render(i,g):null)))}!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}n.__extends(t,e),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){return u.default.createElement(h,n.__assign({},this.props))}}),t=n.__decorate([o.Renderer({type:"amis-theme-wrapper"})],t)}(u.default.Component),t.ThemeWrapperHeader=m})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/renderers/Font.js*/ amis.define("2e8b711",(function(e,a,l,n){"use strict";var t=e("f61a25a"),i=e("f2bfafc"),o=e("36e5c87");e("2317efe");var u=e("5554e7e"),r=e("c683f68"),b=e("9411b34"),v=e("f649ba9"),d=e("c2caf31"),c=e("52ac928"),m=e("2753fc4"),f=e("3e58922"),s=e("b1997d5");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var S=h(i),p=h(u),g=["12px","14px","16px","18px","20px","22px","24px","26px","28px","30px","32px","34px","36px","38px","40px"].map((function(e){return{value:e,label:e,realValue:e}})),T=["100","200","300","400","500","600","700","800","900"].map((function(e){return{value:e,label:e,realValue:e}})),N=[{label:f.i18n("879f4e7bd863a00f77d30f05076ac6cb"),value:"1.3",realValue:"1.3"},{label:f.i18n("4905c69b940b0d94cf8aec83bc8dcc83"),value:"1.5",realValue:"1.5"},{label:f.i18n("268c43e529c54fb458397b9c13351a67"),value:"1.7",realValue:"1.7"}],M=[{label:"Academy Engraved LET",value:"Academy Engraved LET"},{label:"Al Bayan",value:"Al Bayan"},{label:"Al Nile",value:"Al Nile"},{label:"Al Tarikh",value:"Al Tarikh"},{label:"American Typewriter",value:"American Typewriter"},{label:"Andale Mono",value:"Andale Mono"},{label:"Apple Braille",value:"Apple Braille"},{label:"Apple Chancery",value:"Apple Chancery"},{label:"Apple Color Emoji",value:"Apple Color Emoji"},{label:"Apple SD Gothic Neo",value:"Apple SD Gothic Neo"},{label:"Apple Symbols",value:"Apple Symbols"},{label:"AppleGothic",value:"AppleGothic"},{label:"AppleMyungjo",value:"AppleMyungjo"},{label:"Arial",value:"Arial"},{label:"Arial Black",value:"Arial Black"},{label:"Arial Hebrew",value:"Arial Hebrew"},{label:"Arial Hebrew Scholar",value:"Arial Hebrew Scholar"},{label:"Arial Narrow",value:"Arial Narrow"},{label:"Arial Rounded MT Bold",value:"Arial Rounded MT Bold"},{label:"Arial Unicode MS",value:"Arial Unicode MS"},{label:"Avenir",value:"Avenir"},{label:"Avenir Next",value:"Avenir Next"},{label:"Avenir Next Condensed",value:"Avenir Next Condensed"},{label:"Ayuthaya",value:"Ayuthaya"},{label:"Baghdad",value:"Baghdad"},{label:"Bangla MN",value:"Bangla MN"},{label:"Bangla Sangam MN",value:"Bangla Sangam MN"},{label:"Baskerville",value:"Baskerville"},{label:"Beirut",value:"Beirut"},{label:"Big Caslon",value:"Big Caslon"},{label:"Bodoni 72",value:"Bodoni 72"},{label:"Bodoni 72 Oldstyle",value:"Bodoni 72 Oldstyle"},{label:"Bodoni 72 Smallcaps",value:"Bodoni 72 Smallcaps"},{label:"Bodoni Ornaments",value:"Bodoni Ornaments"},{label:"Bradley Hand",value:"Bradley Hand"},{label:"Brush Script MT",value:"Brush Script MT"},{label:"Chalkboard",value:"Chalkboard"},{label:"Chalkboard SE",value:"Chalkboard SE"},{label:"Chalkduster",value:"Chalkduster"},{label:"Charter",value:"Charter"},{label:"Cochin",value:"Cochin"},{label:"Comic Sans MS",value:"Comic Sans MS"},{label:"Copperplate",value:"Copperplate"},{label:"Corsiva Hebrew",value:"Corsiva Hebrew"},{label:"Courier New",value:"Courier New"},{label:"Damascus",value:"Damascus"},{label:"DecoType Naskh",value:"DecoType Naskh"},{label:"Devanagari MT",value:"Devanagari MT"},{label:"Devanagari Sangam MN",value:"Devanagari Sangam MN"},{label:"Didot",value:"Didot"},{label:"DIN Alternate",value:"DIN Alternate"},{label:"DIN Condensed",value:"DIN Condensed"},{label:"Diwan Kufi",value:"Diwan Kufi"},{label:"Diwan Thuluth",value:"Diwan Thuluth"},{label:"Euphemia UCAS",value:"Euphemia UCAS"},{label:"Farah",value:"Farah"},{label:"Farisi",value:"Farisi"},{label:"Futura",value:"Futura"},{label:"Galvji",value:"Galvji"},{label:"GB18030 Bitmap",value:"GB18030 Bitmap"},{label:"Geeza Pro",value:"Geeza Pro"},{label:"Geneva",value:"Geneva"},{label:"Georgia",value:"Georgia"},{label:"Gill Sans",value:"Gill Sans"},{label:"Grantha Sangam MN",value:"Grantha Sangam MN"},{label:"Gujarati MT",value:"Gujarati MT"},{label:"Gujarati Sangam MN",value:"Gujarati Sangam MN"},{label:"Gurmukhi MN",value:"Gurmukhi MN"},{label:"Gurmukhi MT",value:"Gurmukhi MT"},{label:"Gurmukhi Sangam MN",value:"Gurmukhi Sangam MN"},{label:f.i18n("efb399e557c1f444ba215c8e2dbfb891"),value:f.i18n("efb399e557c1f444ba215c8e2dbfb891")},{label:f.i18n("4e9edbb054a1fc52fe2012ff8cb3b20e"),value:f.i18n("4e9edbb054a1fc52fe2012ff8cb3b20e")},{label:"Helvetica",value:"Helvetica"},{label:"Helvetica Neue",value:"Helvetica Neue"},{label:"Herculanum",value:"Herculanum"},{label:"Hiragino Maru Gothic ProN",value:"Hiragino Maru Gothic ProN"},{label:"Hiragino Mincho ProN",value:"Hiragino Mincho ProN"},{label:"Hiragino Sans",value:"Hiragino Sans"},{label:f.i18n("bd8e7ebd31bd804a20986f7dd3739900"),value:f.i18n("bd8e7ebd31bd804a20986f7dd3739900")},{label:"Hoefler Text",value:"Hoefler Text"},{label:"Impact",value:"Impact"},{label:"InaiMathi",value:"InaiMathi"},{label:"ITF Devanagari",value:"ITF Devanagari"},{label:"ITF Devanagari Marathi",value:"ITF Devanagari Marathi"},{label:"Kailasa",value:"Kailasa"},{label:"Kannada MN",value:"Kannada MN"},{label:"Kannada Sangam MN",value:"Kannada Sangam MN"},{label:"Kefa",value:"Kefa"},{label:"Khmer MN",value:"Khmer MN"},{label:"Khmer Sangam MN",value:"Khmer Sangam MN"},{label:"Kohinoor Bangla",value:"Kohinoor Bangla"},{label:"Kohinoor Devanagari",value:"Kohinoor Devanagari"},{label:"Kohinoor Gujarati",value:"Kohinoor Gujarati"},{label:"Kohinoor Telugu",value:"Kohinoor Telugu"},{label:"Kokonor",value:"Kokonor"},{label:"Krungthep",value:"Krungthep"},{label:"KufiStandardGK",value:"KufiStandardGK"},{label:"Lao MN",value:"Lao MN"},{label:"Lao Sangam MN",value:"Lao Sangam MN"},{label:"Lucida Grande",value:"Lucida Grande"},{label:"Luminari",value:"Luminari"},{label:"Malayalam MN",value:"Malayalam MN"},{label:"Malayalam Sangam MN",value:"Malayalam Sangam MN"},{label:"Marker Felt",value:"Marker Felt"},{label:"Menlo",value:"Menlo"},{label:"Microsoft Sans Serif",value:"Microsoft Sans Serif"},{label:"Mishafi",value:"Mishafi"},{label:"Mishafi Gold",value:"Mishafi Gold"},{label:"Monaco",value:"Monaco"},{label:"Mshtakan",value:"Mshtakan"},{label:"Mukta Mahee",value:"Mukta Mahee"},{label:"Muna",value:"Muna"},{label:"Myanmar MN",value:"Myanmar MN"},{label:"Myanmar Sangam MN",value:"Myanmar Sangam MN"},{label:"Nadeem",value:"Nadeem"},{label:"New Peninim MT",value:"New Peninim MT"},{label:"Noteworthy",value:"Noteworthy"},{label:"Noto Nastaliq Urdu",value:"Noto Nastaliq Urdu"},{label:"Noto Sans Kannada",value:"Noto Sans Kannada"},{label:"Noto Sans Myanmar",value:"Noto Sans Myanmar"},{label:"Noto Sans Oriya",value:"Noto Sans Oriya"},{label:"Noto Serif Myanman",value:"Noto Serif Myanman"},{label:"Optima",value:"Optima"},{label:"Oriya MN",value:"Oriya MN"},{label:"Oriya Sangam MN",value:"Oriya Sangam MN"},{label:"Palatino",value:"Palatino"},{label:"Papyrus",value:"Papyrus"},{label:"Party LET",value:"Party LET"},{label:"Phosphate",value:"Phosphate"},{label:f.i18n("d55a1b98030839c3ce3606d7d2c80235"),value:f.i18n("d55a1b98030839c3ce3606d7d2c80235")},{label:f.i18n("c9045965fa0fbf29323518d79c9da0f1"),value:f.i18n("c9045965fa0fbf29323518d79c9da0f1")},{label:f.i18n("c1ef096e25d96c451fd39c172b3f569a"),value:f.i18n("c1ef096e25d96c451fd39c172b3f569a")},{label:"Plantagenet Cherokee",value:"Plantagenet Cherokee"},{label:"PT Mono",value:"PT Mono"},{label:"PT Sans",value:"PT Sans"},{label:"PT Sans Caption",value:"PT Sans Caption"},{label:"PT Sans Narrow",value:"PT Sans Narrow"},{label:"PT Serif",value:"PT Serif"},{label:"PT Serif Caption",value:"PT Serif Caption"},{label:"Raanana",value:"Raanana"},{label:"Rockwell",value:"Rockwell"},{label:"Sana",value:"Sana"},{label:"Sathu",value:"Sathu"},{label:"Savoye LET",value:"Savoye LET"},{label:"Shree Devanagari 714",value:"Shree Devanagari 714"},{label:"SignPainter",value:"SignPainter"},{label:"Silom",value:"Silom"},{label:"Sinhala MN",value:"Sinhala MN"},{label:"Sinhala Sangam MN",value:"Sinhala Sangam MN"},{label:"Skia",value:"Skia"},{label:"Snell Roundhand",value:"Snell Roundhand"},{label:f.i18n("09e4d5659a11cf8a55f59e867b30ab75"),value:f.i18n("09e4d5659a11cf8a55f59e867b30ab75")},{label:f.i18n("56d3dcaab79fe10dfbc4b80f0d9d72a4"),value:f.i18n("56d3dcaab79fe10dfbc4b80f0d9d72a4")},{label:f.i18n("2c1605abdc63ac897a76aeba5dcf36a4"),value:f.i18n("2c1605abdc63ac897a76aeba5dcf36a4")},{label:"STIXGeneral",value:"STIXGeneral"},{label:"STIXIntegralsD",value:"STIXIntegralsD"},{label:"STIXIntegralsSm",value:"STIXIntegralsSm"},{label:"STIXIntegralsUp",value:"STIXIntegralsUp"},{label:"STIXIntegralsUpD",value:"STIXIntegralsUpD"},{label:"STIXIntegralsUpSm",value:"STIXIntegralsUpSm"},{label:"STIXNonUnicode",value:"STIXNonUnicode"},{label:"STIXSizeFiveSym",value:"STIXSizeFiveSym"},{label:"STIXSizeFourSym",value:"STIXSizeFourSym"},{label:"STIXSizeOneSym",value:"STIXSizeOneSym"},{label:"STIXSizeThreeSym",value:"STIXSizeThreeSym"},{label:"STIXSizeTwoSym",value:"STIXSizeTwoSym"},{label:"STIXVariants",value:"STIXVariants"},{label:f.i18n("db37a0bd2e60503e939e8eee02511550"),value:f.i18n("db37a0bd2e60503e939e8eee02511550")},{label:"Sukhumvit Set",value:"Sukhumvit Set"},{label:"Symbol",value:"Symbol"},{label:"Tahoma",value:"Tahoma"},{label:"Tamil MN",value:"Tamil MN"},{label:"Tamil Sangam MN",value:"Tamil Sangam MN"},{label:"Telugu MN",value:"Telugu MN"},{label:"Teluau nasmln",value:"Teluau nasmln"},{label:"Thonburi",value:"Thonburi"},{label:"Times New Roman",value:"Times New Roman"},{label:"Trattatello",value:"Trattatello"},{label:"Trebuchet MS",value:"Trebuchet MS"},{label:"Verdana",value:"Verdana"},{label:"Waseem",value:"Waseem"},{label:"Webdings",value:"Webdings"},{label:"Wingdings",value:"Wingdings"},{label:"Wingdings 2",value:"Wingdings 2"},{label:"Wingdings 3",value:"Wingdings 3"},{label:"Zapf Dingbats",value:"Zapf Dingbats"},{label:"Zapfino",value:"Zapfino"}],y=[{label:f.i18n("81d6da77d656c6a9c3cbd795ae4444ea"),type:"font-style",value:"italic"},{label:f.i18n("f6f8ea0815881fe9a4aa9352a7fe2299"),type:"text-decoration",value:"underline"},{label:f.i18n("a120a873412470089bec1dfd1b581fc9"),type:"text-decoration",value:"line-through"}],E=[{label:f.i18n("413f48cc71f71083ce532a86e3efdc21"),type:"text-align",value:"left"},{label:f.i18n("56c17ba6a56c01706ae00a31611deb03"),type:"text-align",value:"center"},{label:f.i18n("fd8e9572cc6bf87653c4d8f8b8dd0db9"),type:"text-align",value:"right"},{label:f.i18n("da1b972efb29f850b50e219ad4d98ba5"),type:"text-align",value:"justify"}],I=[{label:f.i18n("2af8c8235ae57c6a7486883f86701ab3"),type:"vertical-align",value:"top"},{label:f.i18n("8bc0ba58bf73b03668ca9b6a74c99f89"),type:"vertical-align",value:"middle"},{label:f.i18n("a6d154c4db5068074e32863821c450e1"),type:"vertical-align",value:"bottom"}];function A(e){var a=e.state,l=e.data,n=e.title,o=e.label,u=e.value,h=e.onChange,A=e.hideColor,C=e.hideFontSize,F=e.hideFontWeight,k=e.hideLineHeight,G=e.hideFontFamily,B=e.hasSenior,D=void 0===B||B,P=e.hasVertical,K=void 0===P||P,x=e.fontStyle,H=void 0===x||x,w=e.textAlign,O=void 0===w||w,X=e.needColorCustom,W=void 0!==X&&X,_=e.colorOptions,z=void 0===_?l.colorOptions:_,V=e.fontSizeOptions,L=void 0===V?l.fontSizeOptions||g:V,j=e.fontWeightOptions,U=void 0===j?l.fontWeightOptions||T:j,R=e.lineHeightOptions,Z=void 0===R?l.lineHeightOptions||N:R,q=e.fontFamilyOptions,J=void 0===q?l.fontFamilyOptions||M:q,Q=e.editorThemePath,Y=K?t.__spreadArray(t.__spreadArray([],E,!0),I,!0):E,$=S.default.useState(!0),ee=$[0],ae=$[1],le=S.default.useState(!1),ne=le[0],te=le[1],ie=m.getValueByPath(Q,l),oe=m.getInheritValue(Q,l),ue=S.default.useState(v.assign({},m.formatInheritData(u))),re=ue[0],be=ue[1];function ve(e,a){var l=v.cloneDeep(re);["font-style","text-decoration","text-align","vertical-align"].includes(a)&&l[a]===e?l[a]=void 0:l[a]=e,be(l),h(m.setInheritData(l,oe))}return i.useEffect((function(){var e=setTimeout((function(){u&&be(v.assign({},m.formatInheritData(u)))}),100);return function(){return clearTimeout(e)}}),[u]),S.default.createElement("div",{className:"Theme-FontEditor"},S.default.createElement(d.ThemeWrapperHeader,{title:n||o||f.i18n("9c07532d0c9acfecfc4ec2eb265c3e03"),hasSenior:D,senior:ne,toggleSenior:te,open:ee,toggleOpen:ae}),ee&&S.default.createElement("div",{className:"Theme-FontEditor-body"},S.default.createElement("div",{className:"Theme-FontEditor-line"},!A&&S.default.createElement("div",{className:"Theme-FontEditor-item Theme-FontEditor-item-color-picker"},S.default.createElement(b.default,t.__assign({},e,{needCustom:null!=W&&W,value:re.color,options:z,onChange:function(e){ve(e,"color")},itemName:"color",state:a,placeholder:null==ie?void 0:ie.color,editorInheritValue:null==oe?void 0:oe.color}))),!C&&S.default.createElement("div",{className:"Theme-FontEditor-item"},S.default.createElement(c.default,t.__assign({},e,{options:L,value:re.fontSize,onChange:function(e){ve(e,"fontSize")},itemName:"fontSize",menuTpl:"label",state:a,inheritValue:Q?"inherit":"",placeholder:null==ie?void 0:ie.fontSize})))),S.default.createElement("div",{className:"Theme-FontEditor-line Theme-FontEditor-font-line"},!F&&S.default.createElement("div",{className:"Theme-FontEditor-item"},S.default.createElement(c.default,t.__assign({},e,{options:U,value:re.fontWeight,onChange:function(e){ve(e,"fontWeight")},itemName:"fontWeight",menuTpl:"label",state:a,inheritValue:Q?"inherit":"",placeholder:null==ie?void 0:ie.fontWeight})),(!k||!G)&&S.default.createElement("div",{className:"Theme-FontEditor-item-label"},f.i18n("c988dd65ce45c335db5c4354eec7c110"))),!k&&S.default.createElement("div",{className:"Theme-FontEditor-item"},S.default.createElement(c.default,t.__assign({},e,{options:Z,value:re.lineHeight,onChange:function(e){ve(e,"lineHeight")},itemName:"lineHeight",menuTpl:"label",state:a,inheritValue:Q?"inherit":"",placeholder:null==ie?void 0:ie.lineHeight})),S.default.createElement("div",{className:"Theme-FontEditor-item-label"},f.i18n("17169fd8c2ffa82c4e1d08e7267725f4"))),!G&&S.default.createElement("div",{className:"Theme-FontEditor-item Theme-FontEditor-item-font-family"},S.default.createElement(c.default,t.__assign({},e,{options:J,value:re["font-family"],onChange:function(e){ve(e,"font-family")},itemName:"fontFamily",menuTpl:"label",state:a,inheritValue:Q?"inherit":""})),S.default.createElement("div",{className:"Theme-FontEditor-item-label"},f.i18n("8456bc40d48da5af833f1c63385e9879")))),ne&&H&&S.default.createElement("div",{className:"Theme-FontEditor-font-style"},y.map((function(e,a){return S.default.createElement(r.TooltipWrapper,{tooltip:e.label,tooltipTheme:"dark",key:e.value},S.default.createElement("div",{className:p.default("Theme-FontEditor-font-style-icon",re[e.type]===e.value&&"Theme-FontEditor-font-style-selected")},S.default.createElement(s.Icon,{icon:e.value,className:"common-icon",onClick:function(){return ve(e.value,e.type)}})))}))),ne&&O&&S.default.createElement("div",{className:"Theme-FontEditor-font-style"},Y.map((function(e,a){return S.default.createElement(r.TooltipWrapper,{tooltip:e.label,tooltipTheme:"dark",key:e.value},S.default.createElement("div",{className:p.default("Theme-FontEditor-font-style-icon",K&&3===a&&"right-line",re[e.type]===e.value&&"Theme-FontEditor-font-style-selected")},S.default.createElement(s.Icon,{icon:"".concat(e.type,"-").concat(e.value),className:"common-icon",onClick:function(){return ve(e.value,e.type)}})))})))))}!function(e){function a(){return null!==e&&e.apply(this,arguments)||this}t.__extends(a,e),Object.defineProperty(a.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){return S.default.createElement(A,t.__assign({},this.props))}}),a=t.__decorate([o.FormItem({type:"amis-theme-font-editor",strictMode:!1,renderLabel:!1})],a)}(S.default.Component)})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/renderers/Shadow.js*/ amis.define("32574ef",(function(e,a,t,l){"use strict";var n=e("f61a25a"),r=e("f2bfafc"),d=e("f0957da"),o=e("36e5c87");e("2317efe");var u=e("c683f68"),i=e("9411b34"),c=e("f649ba9"),s=e("c2caf31"),f=e("5554e7e"),m=e("2753fc4"),h=e("3e58922"),v=e("b1997d5");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var b=p(r),E=p(f);function w(e){var a=e.show,t=e.target,l=e.name,n=e.value,r=e.close;return b.default.createElement(u.Overlay,{container:document.body,target:t.current,show:a,placement:"top",offset:[0,-8]},b.default.createElement(u.PopOver,{overlay:!1,onHide:r},b.default.createElement("div",{className:"Theme-ShadowView"},b.default.createElement("div",{className:"Theme-ShadowView-header"},h.i18n("9cf15d01ed2846c4104d1607836bbe79")),b.default.createElement("div",{className:"Theme-ShadowView-body"},b.default.createElement("div",{className:"Theme-ShadowView-body-shadow"},b.default.createElement("div",{className:"Theme-ShadowView-body-shadow-square",style:{boxShadow:(null==n?void 0:n.join(", "))||"none"}})),b.default.createElement("div",{className:"Theme-ShadowView-body-title"},l),b.default.createElement("div",{className:"Theme-ShadowView-body-value"},null==n?void 0:n.map((function(e,a){return b.default.createElement("div",{className:"Theme-ShadowView-body-value-item",key:a},e)})))))))}function S(e){var a=e.data,t=e.onChange,l=e.value,r=e.hasSenior,d=e.options,f=e.colorOptions,p=e.state,S=e.itemName,N=e.editorThemePath,T=b.default.useRef(null),y=b.default.useState(!0),g=y[0],V=y[1],_=b.default.useState(!1),x=_[0],C=_[1],O=b.default.useState(!1),k=O[0],I=O[1],A={label:h.i18n("f1d4ff50f3828f9b73412e7d94e6dd6e"),value:"custom",realValue:[{inset:!1,x:"0px",y:"0px",blur:"0px",spread:"0px",color:"transparent"}],visible:!1},F=d?n.__spreadArray(n.__spreadArray([],d,!0),[A],!1):n.__spreadArray(n.__spreadArray([],c.cloneDeep(a.shadowOptions||[]),!0),[A],!1);p&&"default"!==p&&F.unshift({value:N?"inherit":"var(".concat(a.default.token,"shadow)"),label:h.i18n("a4f758412c3797290c957544c56db443"),realValue:N?[h.i18n("a4f758412c3797290c957544c56db443")]:["var(".concat(a.default.token).concat(S,")")]});var j=m.getValueByPath(N,a),D=m.getInheritValue(N,a),P=l?(l.indexOf("inherit:")>-1?"inherit":c.find(c.cloneDeep(F),(function(e){return e.value===l})))||function(e){var a={},t=0,l=(e=e.trim().replace(/((rgba|rgb|var)\(.*?\))|(#.{6})/g,(function(e){var l="$"+t;return t++,a[l]=e,l}))).split(",").map((function(e){var t=!1;e.includes("inset")&&(t=!0,e=e.replace("inset",""));var l=(e=e.trim()).split(" ");return{inset:t,x:l[0],y:l[1],blur:l[2],spread:l[3],color:a[l[4]]}}));return{label:h.i18n("f1d4ff50f3828f9b73412e7d94e6dd6e"),value:"custom",realValue:l}}(l):null,W=b.default.useState(P),M=W[0],q=W[1];function H(e){if(!e)return{value:"",source:[]};var a=e.map((function(e){return"".concat(e.inset?"inset":""," ").concat(e.x||""," ").concat(e.y||""," ").concat(e.blur||""," ").concat(e.spread||""," ").concat(e.color||"transparent")}));return{value:a.join(", "),source:a}}function B(e){if(!e.value)return e;var a=c.find(F,(function(a){return a.value===e.value}));return c.isEqual(e.realValue,a.realValue)?e:n.__assign(n.__assign({},e),{label:h.i18n("f1d4ff50f3828f9b73412e7d94e6dd6e"),value:"custom"})}function L(e,a,l){"color"!==a&&(e+="px"),M.realValue[l][a]=e;var n=B(M);q(n),t(H(n.realValue).value)}b.default.useEffect((function(){!P||M&&P.value===M.value||q(P)}),[P]);var R=function(e){return e+"px"},X=function(e){return parseFloat(e)};return b.default.createElement("div",{className:"Theme-ShadowEditor"},b.default.createElement(s.ThemeWrapperHeader,{title:h.i18n("803205e38834280d9e6a75993ac00764"),hasSenior:r,senior:x,toggleSenior:C,open:g,toggleOpen:V}),g&&b.default.createElement("div",{className:"Theme-ShadowEditor-body"},b.default.createElement("div",{className:"Theme-ShadowEditor-line"},b.default.createElement("div",{ref:T,className:"Theme-ShadowEditor-view",onMouseOver:function(){return I(!0)},onMouseOut:function(){return I(!1)}},b.default.createElement("div",{style:{boxShadow:H(null==M?void 0:M.realValue).value},className:"Theme-ShadowEditor-view-inner"})),b.default.createElement(w,{target:T,show:k,close:function(){I(!1)},name:(null==M?void 0:M.label)||h.i18n("6f9c7d7109f2b4b5a759359a455201e9"),value:H(null==M?void 0:M.realValue).source}),b.default.createElement("div",{className:"Theme-ShadowEditor-item"},b.default.createElement(u.Select,{options:F,clearable:!0,value:null==M?void 0:M.value,onChange:function(e){!function(e){if("custom"!==e)if(e){var a=c.find(F,(function(a){return a.value===e}));(null==a?void 0:a.value)&&(q(a),t(m.setInheritData(a.value,D)))}else q(void 0),t(void 0)}(e.value)},placeholder:j||h.i18n("6f9c7d7109f2b4b5a759359a455201e9")}))),x||"custom"===(null==M?void 0:M.value)?b.default.createElement("div",{className:"Theme-ShadowEditor-customContent"},b.default.createElement("div",{className:"Theme-Wrapper-header Theme-ShadowEditor-sub-header"},b.default.createElement("div",{className:"Theme-Wrapper-header-left"},h.i18n("26db990dad6d76c6725375b24c0941e1")),b.default.createElement("div",{className:"Theme-Wrapper-header-right"},o.render({type:"dropdown-button",level:"link",btnClassName:"Theme-ShadowEditor-add",icon:"plus",hideCaret:!0,closeOnClick:!0,align:"right",buttons:["","inset"].map((function(e){return{label:e?h.i18n("b24a723b73f96ab3340fe9502370ee13"):h.i18n("92d393c2ae53f424856479d090de718f"),onClick:function(){return a=!!e,l=B(n.__assign(n.__assign({},M||{label:h.i18n("f1d4ff50f3828f9b73412e7d94e6dd6e"),value:"custom"}),{realValue:n.__spreadArray(n.__spreadArray([],(null==M?void 0:M.realValue)||[],!0),[{inset:a,x:"0px",y:"0px",blur:"0px",spread:"0px",color:"transparent"}],!1)})),q(l),void t(H(l.realValue).value);var a,l}}}))}))),(null==M?void 0:M.realValue.length)?M.realValue.map((function(e,l){return b.default.createElement("div",{className:"Theme-ShadowEditor-line",key:l},b.default.createElement("div",{className:"Theme-ShadowEditor-item"},b.default.createElement("div",{className:"Theme-ShadowEditor-color-picker"},b.default.createElement(i.default,{needCustom:!0,needTheme:!0,value:e.color,options:f||a.colorOptions||[],onChange:function(e){L(e,"color",l)}})),b.default.createElement("div",{className:"Theme-ShadowEditor-item-label"},e.inset?h.i18n("b24a723b73f96ab3340fe9502370ee13"):h.i18n("92d393c2ae53f424856479d090de718f"))),b.default.createElement("div",{className:"Theme-ShadowEditor-item"},b.default.createElement(u.NumberInput,{value:parseFloat(e.x),parser:X,formatter:R,onChange:function(e){L(e,"x",l)}}),b.default.createElement("div",{className:"Theme-ShadowEditor-item-label"},"X")),b.default.createElement("div",{className:"Theme-ShadowEditor-item"},b.default.createElement(u.NumberInput,{value:parseFloat(e.y),parser:X,formatter:R,onChange:function(e){L(e,"y",l)}}),b.default.createElement("div",{className:"Theme-ShadowEditor-item-label"},"Y")),b.default.createElement("div",{className:"Theme-ShadowEditor-item"},b.default.createElement(u.NumberInput,{value:parseFloat(e.blur),parser:X,formatter:R,onChange:function(e){L(e,"blur",l)}}),b.default.createElement("div",{className:"Theme-ShadowEditor-item-label"},h.i18n("203bab8001257b60e1aed951a0939393"))),b.default.createElement("div",{className:"Theme-ShadowEditor-item"},b.default.createElement(u.NumberInput,{value:parseFloat(e.spread),parser:X,formatter:R,onChange:function(e){L(e,"spread",l)}}),b.default.createElement("div",{className:"Theme-ShadowEditor-item-label"},h.i18n("2dc90225b8033d17c41b08f39fa42de2"))),b.default.createElement("div",{className:"Theme-ShadowEditor-item trash-icon"},b.default.createElement(v.Icon,{icon:"trash",className:E.default("common-icon",1===M.realValue.length&&"disabled-icon"),onClick:function(){!function(e){if(1!==M.realValue.length){var a=c.cloneDeep(M);a.realValue.splice(e,1);var l=B(a);q(l),t(H(l.realValue).value)}}(l)}})))})):null):null))}d.observer(S),function(e){function a(){return null!==e&&e.apply(this,arguments)||this}n.__extends(a,e),Object.defineProperty(a.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){return b.default.createElement(S,n.__assign({},this.props))}}),a=n.__decorate([o.FormItem({type:"amis-theme-shadow-editor",strictMode:!1,renderLabel:!1})],a)}(b.default.Component)})); ;/*!amis-saas:node_modules/@fex/amis-theme-editor/lib/global/Color.js*/ amis.define("76e7f9c",(function(e,o,t,a){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=e("f61a25a"),l=e("c683f68"),c=e("5ebbfc6"),r=e("f2bfafc"),d=e("5d88a32");e("2317efe");var i=e("5554e7e"),b=e("36e5c87"),f=e("8291652"),m=e("3e58922"),u=e("7082700"),s=e("ed7c93a"),h=e("b1997d5");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var E=v(c),g=v(r),y=v(i),k=v(f);function p(e,o,t){e.colors=o.map((function(e,o){return{token:t+(o+1),label:"".concat(o+1,"-").concat(e.hex),color:e.hex,index:o}}))}function C(e,o){var t,a=E.default(o),n=new d.ColorGenerator(e),l=n.getDerivedColor(),c=n.getFunctionalColor(),r=n.getNeutralColor(),i=n.getDataColor();return p(a.global.colors.brand.body,l,a.global.colors.brand.token),a.global.colors.neutral.body.forEach((function(e){e.body.colors=r.map((function(o,t){return{token:e.token+(t+1),label:"".concat(t,"-").concat(o.hex),color:o.hex,index:t}}))})),c.forEach((function(e,o){a.global.colors.func.body[o].body.main=e.hex;var t=new d.ColorGenerator(e.hex).getDerivedColor();p(a.global.colors.func.body[o].body,t,a.global.colors.func.body[o].token)})),null===(t=a.global.colors.data)||void 0===t||t.body.forEach((function(e,o){o<3&&(e.colors=i[o].map((function(e){return{value:e.checkedColor}})))})),a}function T(e){var o=!1;return b.render({type:"button",level:"link",label:m.i18n("e366ccf1556c0672dcecba135ed5472e"),size:"xs",tooltip:m.i18n("c91314c81f9f6c7edc0476b6f1c169db"),tooltipPlacement:"top",actionType:"dialog",dialog:{className:"theme-color-config-dialog",title:[{type:"icon",icon:"alert-warning",className:"icon title-color"},m.i18n("bbed50fd3a066f9974441671d541b212")],body:m.i18n("67179ff9e68ecae99931d84d42eb9316"),actions:[{type:"checkbox",name:"checkbox",visible:!!e.isBrand,className:"brand-color-check",option:m.i18n("5b72549d59ffd2803c3a2e58228ece0c"),onChange:function(e){o=e}},{type:"button",actionType:"cancel",label:m.i18n("625fb26b4b3340f7872b411f401e754c")},{type:"button",actionType:"confirm",label:m.i18n("e83a256e4f5bb4ff8b3d804b5473217a"),primary:!0,onClick:function(){for(var t=E.default(e.data),a=e.path.split("."),n=t[a[0]],l=1;l-1,T="--colors-neutral-text-"===t;function x(e,o,t){if(o||!t){for(var a=r.split("."),n=i[a[0]],l=1;l0?i.default.createElement("span",null,(0,b.i18n)("5f8781f5b5d30840b22c82c500ecaafd"),f,"s)"):(0,b.i18n)("d369f43aace46c7b30cb9a6e642b718b"))}function k(){var e=i.default.useState(!0),a=e[0],t=e[1],n=i.default.useState(!1),l=n[0],c=n[1];function o(){c(!0)}return i.default.useEffect((function(){!a&&t(!0),a&&setTimeout((function(){o()}),1e3)}),[a]),i.default.createElement("div",{className:"StandaloneLogin-container-content-weixin"},i.default.createElement("div",{className:"qrcode-wrapper",id:"weixin-login-container"},i.default.createElement("div",{className:"StandaloneLogin-container-content-weixin-mask-wrapper"},a?i.default.createElement("iframe",{onLoad:o,src:"/auth/weixin".concat(location.search),sandbox:"allow-scripts allow-same-origin allow-top-navigation"}):null,l?null:i.default.createElement(w,null))),i.default.createElement("div",{className:"StandaloneLogin-container-content-weixin-operation"},l?i.default.createElement("a",{onClick:function(){t(!1),c(!1)}},(0,b.i18n)("cc860ffa3a23ca375ea9320efc8f11d0")):null))}a.VerifyEmail=S,a.default=(0,m.inject)("store")((0,m.observer)((function(e){var a,t,n,c,o;(0,i.useEffect)((function(){f.config.loginBackground&&(document.body.style.backgroundImage="url('".concat(f.config.loginBackground,"')"))}),[]);var u=null===(a=f.config.authTypes)||void 0===a?void 0:a.includes("ldap"),m=null===(t=f.config.authTypes)||void 0===t?void 0:t.includes("oauth"),w=null===(n=f.config.authTypes)||void 0===n?void 0:n.includes("third"),S=null===(c=f.config.authTypes)||void 0===c?void 0:c.includes("cas2"),L=null===(o=e.store.app)||void 0===o?void 0:o.appAuthCustomLoginPage;if(L)return i.default.createElement(h,{data:{pageId:L}});var _=(0,s.default)([{type:l.Pwd,title:(0,b.i18n)("0d96310edffe304884c9a6ad66b57338"),remark:!1},u&&{type:l.Ldap,title:"LDAP"}]),x=i.default.useState(_.length>0?_[0].type:""),P=x[0],T=x[1],C=(0,s.default)([m&&{title:"OAuth",href:"/auth/oauth".concat(location.search)},w&&{title:(0,b.i18n)("0f004c4cf751040108a50de72e8210fc"),href:"/auth/third".concat(location.search)},S&&{title:"CAS 2.0",href:"/auth/cas2".concat(location.search)}]);return i.default.createElement(d.Layout,{bodyClassName:"bg",boxed:!0},i.default.createElement("div",{className:"StandaloneLogin"},i.default.createElement("h1",{className:"StandaloneLogin-logo"},i.default.createElement(r.Link,{to:(0,p.normalizePath)("/")},f.config.logo?i.default.createElement("img",{height:"55",alt:f.config.siteName,src:f.config.logo}):i.default.createElement("span",null,f.config.siteName))),i.default.createElement("div",{className:"StandaloneLogin-container"},i.default.createElement("div",{className:"StandaloneLogin-container-tabs"},i.default.createElement("ul",{className:_.length>1?"text-center":""},_.map((function(e){return i.default.createElement("li",{key:e.type,className:P===e.type?"selected":""},i.default.createElement("a",{className:"item",onClick:function(){T(e.type)}},e.title),e.remark?i.default.createElement(N,null):null)})))),i.default.createElement("div",{className:"StandaloneLogin-container-content"},P===l.Pwd?i.default.createElement(g,null):null,P===l.Ldap?i.default.createElement(y,null):null,P===l.Email?i.default.createElement(v,null):null,P===l.Weixin?i.default.createElement(k,null):null,P===l.Uuap?i.default.createElement(E,null):null),i.default.createElement("div",{className:"StandaloneLogin-container-auth-list"},i.default.createElement("ul",null,C.map((function(e,a){return i.default.createElement("li",{key:a},i.default.createElement("a",{href:(0,p.normalizePath)(e.href)},e.title))})))))))})))})); ;/*!amis-saas:route/i/Company.tsx*/ amis.define("84b608e",(function(e,a,c,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var l=(0,e("f61a25a").__importDefault)(e("f140b46")),n=e("3e58922");a.default=(0,l.default)({title:(0,n.i18n)("c1ecd65445f32a8d7eccc44c0bbd1b14"),className:"AppBody",toolbar:[{actionType:"reload",icon:"iconfont icon-refresh",target:"companycrud",type:"button",className:"pull-right"}],body:{type:"crud",api:"/api/i/company",columnsTogglable:!1,name:"companycrud",bodyClassName:"no-border",columns:[{label:(0,n.i18n)("d7ec2d3fea4756bc1642e0f10c180cf5"),name:"name",type:"tpl",tpl:'${name}'},{label:"Key",name:"key",type:"tpl",tpl:'${key}'},{label:"Logo",name:"logo",type:"image"},{label:(0,n.i18n)("eca37cb0726c51702f70c486c1c38cf3"),name:"createdAt",type:"datetime"},{type:"operation",label:(0,n.i18n)("2b6bc0f293f5ca01b006206c2535ccbc"),buttons:[{label:(0,n.i18n)("1233a6f2fbabe6d497ba4eecd25564de"),type:"button",level:"link",actionType:"ajax",className:"text-danger",api:"/api/i/company/leave/${id}",disabledOn:"this.isOwner"}]}]}},(0,n.i18n)("c1ecd65445f32a8d7eccc44c0bbd1b14"))})); ;/*!amis-saas:route/i/Profile.tsx*/ amis.define("601644f",(function(e,a,i,d){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var b=(0,e("f61a25a").__importDefault)(e("f140b46")),n=e("83b90d9"),t=e("36e5c87"),l=e("3e58922"),s=[{type:"form",api:"/api/user/info",title:"",panelClassName:"no-border no-shadow m-b-none",mode:"horizontal",actions:[{type:"submit",label:(0,l.i18n)("be5fbbe34ce9979bfb6576d9eddc5612"),level:"primary",className:"pull-left m-l-none"}],body:[{type:"hidden",name:"id"},{type:"static",label:(0,l.i18n)("9a6ab2a95432add21421ebea78175800"),name:"name"},{type:"static",label:(0,l.i18n)("da4495b1b41d6830f5e0c45404d8ab53"),name:"email"},{type:"input-text",label:(0,l.i18n)("f5d015ab17ec6ebae6508016f17b110b"),size:"md",name:"username"},{type:"input-text",size:"md",validations:{isPhoneNumber:!0},label:(0,l.i18n)("41fe816cd38eaea5f0c7ff5e6028c259"),name:"phone"},{type:"input-text",label:(0,l.i18n)("d1618031f2c696518789c6c204858bbd"),size:"md",name:"nickName"},{label:(0,l.i18n)("92e21ee1365ce8b248dbe14fa9a2f0a9"),type:"input-image",reCropable:!1,name:"avatar",crop:{aspectRatio:""}},{type:"switch",label:(0,l.i18n)("7fc88aeedae8d92a749abc4e9815923d"),name:"changePassword",value:!1,visible:"app-standalone"===n.config.mode},{type:"wrapper",size:"none",visibleOn:"this.changePassword",body:[{type:"input-password",label:(0,l.i18n)("a8105204604a0b11e916f3879aae3b0b"),size:"md",name:"password",required:!0,placeholder:(0,l.i18n)("2835356d32dd8736b1110dc15f2b7cb7"),validations:{matchRegexp:/^(?=.*\d)(?=.*[a-zA-Z])(?=.*[~!@#$%^&*])[\da-zA-Z~!@#$%^&*]{8,16}/},validationErrors:{isRequired:(0,l.i18n)("89b5d3d5bfb3510565a32a76316fc6a5"),matchRegexp:(0,l.i18n)("fb52c6dcd1ce1c274e23ebb544829bcd")}},{type:"input-password",label:(0,l.i18n)("3fbdde139cb1c9c51e7503d67b0b8bbd"),size:"md",name:"surePassword",placeholder:(0,l.i18n)("2835356d32dd8736b1110dc15f2b7cb7"),required:!0,validations:{equalsField:"password"},validationErrors:{isRequired:(0,l.i18n)("89b5d3d5bfb3510565a32a76316fc6a5"),equalsField:(0,l.i18n)("9bf90f4c9e9b552bb08fc25f40d7d6ae")}}]}]}];a.default=(0,b.default)({title:(0,l.i18n)("749ba571353bcd8c5e837f7aba7b2e4f"),className:"AppBody AppBody-Form ".concat((0,t.isMobile)()?"is-mobile":""),body:{type:"service",api:"/api/user/info",body:s}},(0,l.i18n)("749ba571353bcd8c5e837f7aba7b2e4f"))})); ;/*!amis-saas:route/i/Roles.tsx*/ amis.define("5a3122f",(function(e,a,d,f){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("f61a25a"),b=e("83b90d9"),l=(0,n.__importDefault)(e("f140b46")),c=e("3e58922");a.default=(0,l.default)({title:(0,c.i18n)("2a028860d12d4eaf44ebd8fa54e4894a"),className:"AppBody",body:{type:"service",api:"/api/user/roles",body:{type:"table",source:"$roles",combineNum:2,columns:(0,n.__spreadArray)((0,n.__spreadArray)([],"app-standalone"!==b.config.mode?[{name:"companyName",label:(0,c.i18n)("f4323a72dc0faea3d440b15bc87d14a1")},{name:"appName",label:(0,c.i18n)("ed16f8c39d0b0b29fa6207364de9ebfa")}]:[],!0),[{name:"name",label:(0,c.i18n)("577c73c20a347c709fbeaa11306916c0")}],!1)}}},(0,c.i18n)("2a028860d12d4eaf44ebd8fa54e4894a"))})); ;/*!amis-saas:route/i/Password.tsx*/ amis.define("5112aea",(function(e,a,i,d){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=(0,e("f61a25a").__importDefault)(e("f140b46")),b=e("3e58922");a.default=(0,s.default)({title:(0,b.i18n)("7fc88aeedae8d92a749abc4e9815923d"),className:"AppBody AppBody-Form",body:{type:"service",api:"/api/user/info",body:[{type:"alert",title:(0,b.i18n)("ed2a0caefcbfd0f2beaeafd51c59637e"),body:(0,b.i18n)("512beafb8baf78d04bc9da560f150466"),level:"info",showIcon:!0,visibleOn:"isPlatformSuper"},{type:"form",mode:"horizontal",visibleOn:"!isPlatformSuper",title:"",panelClassName:"no-border no-shadow m-b-none",api:"post:/api/user/password",initApi:"get:/passwordDesc",resetAfterSubmit:!0,actions:[{type:"submit",label:(0,b.i18n)("be5fbbe34ce9979bfb6576d9eddc5612"),level:"primary",className:"pull-left m-l-none"}],body:[{type:"hidden",name:"id"},{type:"input-password",name:"originalPassword",label:(0,b.i18n)("a806ce954b6e6c38a34e5fd3125a8962"),size:"lg",required:!0},{type:"input-password",name:"password",label:(0,b.i18n)("bf7da0bf02678cace7540fa0f6b091d7"),size:"lg",required:!0,description:"${passwordDesc}"},{type:"input-password",name:"repeatPassword",label:(0,b.i18n)("3fbdde139cb1c9c51e7503d67b0b8bbd"),size:"lg",required:!0,description:(0,b.i18n)("5b92f7b9469ab7b7c972e393d900ebe9")}]}]}},(0,b.i18n)("7fc88aeedae8d92a749abc4e9815923d"))})); ;/*!amis-saas:route/i/DeveloperInfo.tsx*/ amis.define("cb1b66c",(function(e,a,t,i){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var d=e("f61a25a"),c=((0,d.__importDefault)(e("f2bfafc")),e("b1997d5"),(0,d.__importDefault)(e("f140b46"))),l=e("3e58922");a.default=(0,c.default)({title:(0,l.i18n)("198c223000bfa91b1e57eaa98ff4c372"),className:"AppBody",body:{type:"crud",id:"gitAccountList",api:{url:"/api/user/git/accounts",method:"get"},headerToolbar:[{label:(0,l.i18n)("66ab5e9f24c8f46012a25c89919fb191"),type:"button",icon:"fa fa-plus",level:"primary",onEvent:{click:{actions:[{dialog:{type:"dialog",title:(0,l.i18n)("3dc33fda8fc3150937f4159a4ac5616a"),size:"md",body:[{type:"form",api:{url:"/api/user/git/accountAdd",method:"post",requestAdaptor:function(e){var a=(0,d.__assign)({},e.data);return delete a.sshPublicKey,"auto"===a.method&&delete a.sshPrivateKey,delete a.method,e.data=a,e}},title:"",submitText:"",panelClassName:"setting-panel with-fixed-footer",affixFooter:!0,actions:[{type:"submit",label:(0,l.i18n)("be5fbbe34ce9979bfb6576d9eddc5612"),level:"primary",className:"float-left"}],body:[{type:"input-text",label:(0,l.i18n)("5d69fe24ba6ac2e69be4aced6e3b1716"),required:!0,name:"gitUsername",id:"u:a0399d758fba",description:(0,l.i18n)("b704aa71749de98ee97af5db475d86b1")},{type:"input-email",label:(0,l.i18n)("59566a273be081dbd8686a363ef0f2ca"),required:!0,name:"gitEmail",id:"u:db3f10fca2c9",description:(0,l.i18n)("d72f9e3a28b069c08333d576a507234a")},{type:"select",label:(0,l.i18n)("bd6c6a710edd2d358473f1ed96ab79c1"),required:!0,selectFirst:!0,name:"protocolType",id:"u:db3f10fca2c9",options:[{label:"SSH",value:"SSH"}]},{type:"radios",label:(0,l.i18n)("7a558e4763ef7e5662b4ae6fabb4b90d"),name:"method",options:[{label:(0,l.i18n)("cc2177391a48aa3ac5484ce5a0cc70e0"),value:"auto"}],id:"u:2657d9cdb48f",value:"auto",className:"git-method",description:(0,l.i18n)("4a75306c6d49e833b782a2008d2169f2")},{label:(0,l.i18n)("3bdd08adab6ea90b9164b20a0e4151ac"),type:"textarea",name:"desc",mode:"horizontal"}],apiFromAPICenter:!1,initApiFromAPICenter:!1,mode:"horizontal",onEvent:{submitSucc:{actions:[{componentId:"gitAccountList",actionType:"reload",data:{},args:{resetPage:!1}}]}}}],showCloseButton:!0},actionType:"dialog"}]}}},{type:"alert",body:(0,l.i18n)("0bc90c6aeb8df29526d61ca21179905e"),level:"info",align:"right",showIcon:!0,className:"m-0 mr-5"}],columnsTogglable:!1,name:"companycrud",bodyClassName:"no-border",columns:[{label:(0,l.i18n)("5d69fe24ba6ac2e69be4aced6e3b1716"),name:"gitUsername"},{label:(0,l.i18n)("59566a273be081dbd8686a363ef0f2ca"),name:"gitEmail"},{label:(0,l.i18n)("bd6c6a710edd2d358473f1ed96ab79c1"),name:"protocolType"},{label:(0,l.i18n)("fb213c4de5e7bb049d59c16f238e7839"),name:"method",type:"mapping",map:{hand:(0,l.i18n)("8c8763c0ad7da1e9b355eebf3635a7a4"),auto:(0,l.i18n)("cc2177391a48aa3ac5484ce5a0cc70e0")}},{label:(0,l.i18n)("bffcff99d14c3bebbc9517df00c48bed"),name:"desc"},{type:"operation",label:(0,l.i18n)("2b6bc0f293f5ca01b006206c2535ccbc"),buttons:[{label:(0,l.i18n)("8347a927c09a4ec2fe473b0a93f667d0"),type:"button",level:"link",actionType:"dialog",dialog:{type:"dialog",title:(0,l.i18n)("e27b971394e8d4203dbfb40fbbb13161"),size:"md",body:[{type:"form",id:"editAccount",data:{"&":"$$"},api:{url:"/api/user/git/accountUpdate",method:"post",requestAdaptor:function(e){var a=(0,d.__assign)({},e.data);return"auto"===a.method&&(a.sshPrivateKey||a.reGen)&&(delete a.sshPublicKey,delete a.sshPrivateKey),"hand"===a.method&&delete a.sshPublicKey,e.data=a,e}},body:[{type:"input-text",label:(0,l.i18n)("5d69fe24ba6ac2e69be4aced6e3b1716"),required:!0,name:"gitUsername",id:"u:a0399d758fba",description:(0,l.i18n)("b704aa71749de98ee97af5db475d86b1")},{type:"input-email",label:(0,l.i18n)("59566a273be081dbd8686a363ef0f2ca"),required:!0,name:"gitEmail",id:"u:db3f10fca2c9",description:(0,l.i18n)("d72f9e3a28b069c08333d576a507234a")},{type:"select",label:(0,l.i18n)("bd6c6a710edd2d358473f1ed96ab79c1"),required:!0,name:"protocolType",id:"u:db3f10fca2c9",options:[{label:"SSH",value:"SSH"}]},{type:"radios",label:(0,l.i18n)("7a558e4763ef7e5662b4ae6fabb4b90d"),name:"method",options:[{label:(0,l.i18n)("cc2177391a48aa3ac5484ce5a0cc70e0"),value:"auto"}],onEvent:{change:{actions:[{actionType:"setValue",componentId:"sshPrivateKeyInput",args:{value:""}}]}},description:(0,l.i18n)("4a75306c6d49e833b782a2008d2169f2")},{type:"radios",label:(0,l.i18n)("c95a863a935fec4ba82618ee2062a695"),name:"reGen",options:[{label:(0,l.i18n)("0a60ac8f02ccd2cf723f927284877851"),value:!0},{label:(0,l.i18n)("c9744f45e76d885ae1c74d4f4a934b2e"),value:!1}],visibleOn:"method === 'auto' && sshPublicKey",value:!1,description:(0,l.i18n)("4a79ccd51e3a61e90e0f53426c9e1ef6")},{label:(0,l.i18n)("3bdd08adab6ea90b9164b20a0e4151ac"),type:"textarea",require:!0,name:"desc",mode:"horizontal"}],apiFromAPICenter:!1,initApiFromAPICenter:!1,mode:"horizontal"}],showCloseButton:!0}},{label:(0,l.i18n)("2364037c1134532d9da989548f1592d2"),type:"button",level:"link",actionType:"dialog",visibleOn:"${sshPublicKey}",dialog:{type:"dialog",title:(0,l.i18n)("643d2ccf8a5e984d4896fc56331e4240"),size:"md",bodyClassName:"git-publickey",body:{type:"tpl",tpl:"${sshPublicKey}"},actions:[{label:(0,l.i18n)("8187f95fea0a87e884e4bd1b0791db62"),type:"button",level:"primary",actionType:"copy",content:"${sshPublicKey}"}]}},{label:(0,l.i18n)("2f4aaddde33c9b93c36fd2503f3d122b"),type:"button",level:"link",actionType:"ajax",api:"/api/user/git/accountDelete/${id}"}]}]}},(0,l.i18n)("198c223000bfa91b1e57eaa98ff4c372"))})); ;/*!amis-saas:route/widget-template/TemplateItem.tsx*/ amis.define("fb8f605",(function(e,a,t,c){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getWidgetSettingSchema=a.getWidgetTplEditorUrl=a.getWidgetGroupLevel=a.getWidgetTplLevel=a.getFrameworkLabel=void 0;var i=e("f61a25a"),d=(0,i.__importDefault)(e("f2bfafc")),l=(0,i.__importDefault)(e("f140b46")),n=e("bdee665"),f=e("3e58922");function b(e){var a;switch(e){case 0:a=(0,f.i18n)("31bcd6f10ca0d993dfbf1be031bc55b7");break;case 1:a=(0,f.i18n)("c2b15235499bc308fbbff67341a8fca7");break;case 2:a=(0,f.i18n)("564b4b7dc2b1900743fffaeb99ceac19");break;case 3:a=(0,f.i18n)("d749e49a591a54a0c678609df4db1971");break;case 4:a=(0,f.i18n)("3c83fb1d9089495812d29aec138e419a");break;default:a=(0,f.i18n)("9b4ec289bb8a55561656d616d692e733")}return a}function o(e){var a=e.amisCompany,t=e.amisApp,c=e.appKey||(null==t?void 0:t.key),i=1;return/admin\/widget-template/.test(window.location.pathname)?i=1:a&&c?i=3:a&&(i=2),i}function m(e,a,t){var c=a.amisCompany;"/platform/widget-template/edit/".concat(t);return 1===e?"/platform/widget-template/edit/".concat(t):2===e&&c?"/company/".concat(c.key,"/widget-template/edit/").concat(t):"/design/widget-template/edit/".concat(t)}function r(e,a,t,c,i){return Object.assign({type:"button",label:t,actionType:"dialog",dialog:{title:t,body:{type:"form",api:c,reload:"widgetTemplateList",debugger:!0,mode:"horizontal",body:[{type:"hidden",label:"",name:"id",value:e.id},{type:"input-text",label:(0,f.i18n)("d7ec2d3fea4756bc1642e0f10c180cf5"),name:"name",value:t===(0,f.i18n)("79d3abe929f67f0644a78bf32adb3a89")?"".concat(e.name||"xx","-01"):e.name,required:!0,showCounter:!0,maxLength:12,validations:{matchRegexp:/^[\u4e00-\u9fa5a-zA-Z_0-9]+[\u4e00-\u9fa5a-zA-Z_0-9-:]*$/},validationErrors:{matchRegexp:(0,f.i18n)("116ac67643392ea6048c8af6109df1d6")}},{type:"select",label:(0,f.i18n)("d0771a42bbc49a6941f59913fcda35e3"),name:"typeId",value:e.type||"${type}",required:!0,source:"get:".concat(a||"${apiPrefix}","/group/current"),searchable:!0,creatable:!0,createBtnLabel:(0,f.i18n)("b6cb2be4e160cdb18f3d7f3ca7353581"),addApi:"post:".concat(a||"${apiPrefix}","/group/create"),addControls:[{type:"input-text",label:(0,f.i18n)("04d7d88ebfc2d2077df3115834237173"),name:"name",required:!0,showCounter:!0,maxLength:8,validations:{matchRegexp:/^[\u4e00-\u9fa5a-zA-Z_]+[\u4e00-\u9fa5a-zA-Z_0-9-]*$/},validationErrors:{matchRegexp:(0,f.i18n)("12882cdf1ab2730443c695fdd045ac9c")}},{type:"textarea",label:(0,f.i18n)("8eeee28d76cdcb14c3efce69f15ffaf3"),name:"description",showCounter:!0,maxLength:100}]},{type:"select",name:"widgetType",label:(0,f.i18n)("785c1a41ae4bd2cc7ab34eb88bfc77df"),desc:(0,f.i18n)("eb909959c776442a742c902c63815c75"),value:void 0!==e.widgetType&&b(e.widgetType),disabled:!0,options:[{label:(0,f.i18n)("31bcd6f10ca0d993dfbf1be031bc55b7"),value:0},{label:(0,f.i18n)("c2b15235499bc308fbbff67341a8fca7"),value:1},{label:(0,f.i18n)("564b4b7dc2b1900743fffaeb99ceac19"),value:2},{label:(0,f.i18n)("d749e49a591a54a0c678609df4db1971"),value:3},{label:(0,f.i18n)("3c83fb1d9089495812d29aec138e419a"),value:4}]},{type:"input-image",name:"custom_preview_img",label:(0,f.i18n)("641cfa0a6b78a3cc0c29526c98ab7fb2"),value:e.custom_preview_img,maxSize:1048576,desc:(0,f.i18n)("7d2fb191fbf4f05e457dce99f35c730a")},{type:"switch",label:(0,f.i18n)("3fea7ca76cdece641436d7ab0d02ab1b"),name:"status",value:e.status,trueValue:1,falseValue:0,onText:(0,f.i18n)("7854b52a889b3ef0590d9f542efeb4c8"),offText:(0,f.i18n)("710ad08b11419332713360d2750cd707")},{type:"textarea",label:(0,f.i18n)("3bdd08adab6ea90b9164b20a0e4151ac"),name:"description",value:e.description,showCounter:!0,maxLength:100}]}}},i)}a.getFrameworkLabel=b,a.getWidgetTplLevel=o,a.getWidgetGroupLevel=function(e){var a=e.appId,t=e.companyId,c="";return-1===a&&-1===t?c=(0,f.i18n)("4981287fe504b9c36ebc2f6d3b2d9911"):-1===a&&-1!==t?c=(0,f.i18n)("74fe5f9e99dcf491781c9b5474d8ae53"):a&&t&&-1!==a&&-1!==t&&(c=(0,f.i18n)("5b0520a9bf5e8d87c0b8c6e58766e184")),c},a.getWidgetTplEditorUrl=m,a.getWidgetSettingSchema=r;a.default=function(e){var a=e.data,t=e.editable,c=void 0===t||t,i=a.__super.__super.apiPrefix;i=null!=i?i:e.apiPrefix;var b=-1===a.companyId&&-1===a.appId,p=-1!==a.companyId&&-1===a.appId,s=o(a.__super),u=!1;(2===s&&b||3===s&&(b||p))&&(u=!0);var g=(0,l.default)({type:"button",className:"btn-hide",label:(0,f.i18n)("95b351c86267f3aedf89520959bce689"),tooltip:(0,f.i18n)("a756ce2851443bb2c74d0886a3034c0e"),tooltipPlacement:"top",actionType:"url",level:"link",url:m(s,a.__super,a.id)}),v=(0,l.default)(r(a,i,(0,f.i18n)("e366ccf1556c0672dcecba135ed5472e"),"post:".concat(i,"/info/").concat(a.id),{className:"btn-hide"})),w=((0,l.default)({label:(0,f.i18n)("2f4aaddde33c9b93c36fd2503f3d122b"),type:"button",className:"btn-hide",level:"link",actionType:"ajax",confirmText:(0,f.i18n)("370c9623f93fa285f8d4204b1ecbdb20",{"@1":a.name}),api:"delete:".concat(i,"/delete/").concat(a.id),reload:"widgetTemplateList,asideNav"}),(0,l.default)({type:"dropdown-button",level:"link",icon:"fa fa-ellipsis-h m-0",hideCaret:!0,tooltip:(0,f.i18n)("fff96edebc4ff70831d31425a084f74c"),buttons:[{label:(0,f.i18n)("2f4aaddde33c9b93c36fd2503f3d122b"),type:"button",level:"link",actionType:"ajax",confirmText:(0,f.i18n)("370c9623f93fa285f8d4204b1ecbdb20",{"@1":a.name}),api:"delete:".concat(i,"/delete/").concat(a.id),reload:"widgetTemplateList,asideNav"},r(a,i,(0,f.i18n)("79d3abe929f67f0644a78bf32adb3a89"),"post:".concat(i,"/copy/").concat(a.id))]})),y=2===s&&b?(0,f.i18n)("4981287fe504b9c36ebc2f6d3b2d9911"):3===s&&(b||p)?b?(0,f.i18n)("4981287fe504b9c36ebc2f6d3b2d9911"):(0,f.i18n)("74fe5f9e99dcf491781c9b5474d8ae53"):(0,f.i18n)("5b0520a9bf5e8d87c0b8c6e58766e184");return d.default.createElement("div",{className:"widgetTemplate-item ".concat(e.selected?"active":""," ").concat(b?"is-platform-level":p?"is-company-level":""," ").concat(u?"disabled-pointer-events":""),onClick:function(e){if(u)return e.stopPropagation(),void e.preventDefault()},title:u?(0,f.i18n)("32963e6025eb8d672504c8dcd5a6d760",{"@1":y}):""},u?null:d.default.createElement(d.default.Fragment,null,d.default.createElement("div",{className:"widgetTemplate-item-actions"},d.default.createElement("span",{className:"widgetTemplate-item-actionBtn"},d.default.createElement(g,null),d.default.createElement(n.Icon,{icon:"widget-template-editor",className:"icon"})),c?d.default.createElement("span",{className:"widgetTemplate-item-actionBtn"},d.default.createElement(v,null),d.default.createElement(n.Icon,{icon:"widget-template-setting",className:"icon"})):null,d.default.createElement("span",{className:"widgetTemplate-item-actionBtn"},d.default.createElement(w,{data:{editable:c}})))),d.default.createElement("div",{className:"widgetTemplate-item-imgBox"},e.selected?d.default.createElement("div",{className:"widgetTemplate-item-checkbox"},d.default.createElement(n.Icon,{icon:"resource-check",className:"icon"})):null,u?d.default.createElement("div",{className:"widget-template-level"},d.default.createElement("span",{title:(0,f.i18n)("651d3449bdc1a658498f6799ef52ee77",{"@1":y})},y)):null,a.custom_preview_img||a.screenshot?d.default.createElement("img",{className:"widgetTemplate-item-img",src:a.custom_preview_img||a.screenshot,alt:a.name}):d.default.createElement("img",{className:"widgetTemplate-item-img",src:"/static/static/default-preview_58ceabe.png",alt:a.name}),u?null:d.default.createElement("div",{className:"widgetTemplate-item-shadow"})),d.default.createElement("div",{className:"widgetTemplate-item-imgTitle",title:a.name},a.name))}})); ;/*!amis-saas:route/widget-template/index.tsx*/ amis.define("f1a6d5a",(function(e,a,t,i){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.navAction=a.editTypeDialog=void 0;var d=e("f61a25a"),l=(0,d.__importDefault)(e("f2bfafc")),c=(0,d.__importDefault)(e("f140b46")),n=e("83b90d9"),p=e("bdee665"),o=e("36e5c87"),b=d.__importStar(e("fb8f605")),f=e("3e58922"),r={type:"form",api:"post:${apiPrefix}/group/create",reload:"asideNav",body:[{type:"input-text",label:(0,f.i18n)("04d7d88ebfc2d2077df3115834237173"),name:"name",required:!0,showCounter:!0,maxLength:8,validations:{matchRegexp:/^[\u4e00-\u9fa5a-zA-Z_0-9]+[\u4e00-\u9fa5a-zA-Z_0-9-]*$/},validationErrors:{matchRegexp:(0,f.i18n)("12882cdf1ab2730443c695fdd045ac9c")}},{type:"textarea",label:(0,f.i18n)("8eeee28d76cdcb14c3efce69f15ffaf3"),name:"description",showCounter:!0,maxLength:100}]};a.editTypeDialog={type:"form",reload:"asideNav",api:"post:${apiPrefix}/group/info/${id}",body:[{type:"input-text",label:(0,f.i18n)("04d7d88ebfc2d2077df3115834237173"),name:"name",required:!0,showCounter:!0,maxLength:8,validations:{matchRegexp:/^[\u4e00-\u9fa5a-zA-Z_]+[\u4e00-\u9fa5a-zA-Z_0-9-]*$/},validationErrors:{matchRegexp:(0,f.i18n)("12882cdf1ab2730443c695fdd045ac9c")}},{type:"textarea",label:(0,f.i18n)("8eeee28d76cdcb14c3efce69f15ffaf3"),name:"description",showCounter:!0,maxLength:100},{type:"input-text",label:"id",name:"id",hidden:!0}]},a.navAction=[{type:"dropdown-button",level:"link",icon:"fa fa-ellipsis-v text-dark widget-menu-edit",popOverContainer:function(){return document.body},hideCaret:!0,hiddenOn:(0,f.i18n)("37c4ed9605a5418b485d1e51e7677f53"),buttons:[{type:"button",label:(0,f.i18n)("95b351c86267f3aedf89520959bce689"),reload:"asideNav",actionType:"dialog",disabledOn:"data.widgetTplLevel === 2 && data.companyId === -1 || data.widgetTplLevel === 3 && data.appId === -1",dialog:{title:(0,f.i18n)("95b351c86267f3aedf89520959bce689"),body:a.editTypeDialog}},{label:(0,f.i18n)("2f4aaddde33c9b93c36fd2503f3d122b"),type:"button",level:"link",actionType:"ajax",tooltipTrigger:"hover",disabledOn:"data.isUsed || data.widgetTplLevel === 2 && data.companyId === -1 || data.widgetTplLevel === 3 && data.appId === -1",confirmText:(0,f.i18n)("f733ea764e718a274f10ed7c496460e1"),reload:"asideNav",api:"delete:${apiPrefix}/group/delete/${id}"}]}];var s={type:"form",api:"post:${apiPrefix}/create",reload:"widgetTemplateList,asideNav",mode:"horizontal",body:[{type:"input-text",label:(0,f.i18n)("d7ec2d3fea4756bc1642e0f10c180cf5"),name:"name",required:!0,showCounter:!0,maxLength:12,validations:{matchRegexp:/^[\u4e00-\u9fa5a-zA-Z_0-9]+[\u4e00-\u9fa5a-zA-Z_0-9-:]*$/},validationErrors:{matchRegexp:(0,f.i18n)("116ac67643392ea6048c8af6109df1d6")}},{type:"select",label:(0,f.i18n)("d0771a42bbc49a6941f59913fcda35e3"),name:"type",value:"${tplType}",required:!0,searchable:!0,creatable:!0,createBtnLabel:(0,f.i18n)("b6cb2be4e160cdb18f3d7f3ca7353581"),addApi:"post:${apiPrefix}/group/create",addControls:[{type:"input-text",label:(0,f.i18n)("04d7d88ebfc2d2077df3115834237173"),name:"name",required:!0,showCounter:!0,maxLength:8,validations:{matchRegexp:/^[\u4e00-\u9fa5a-zA-Z_]+[\u4e00-\u9fa5a-zA-Z_0-9-]*$/},validationErrors:{matchRegexp:(0,f.i18n)("12882cdf1ab2730443c695fdd045ac9c")}},{type:"textarea",label:(0,f.i18n)("8eeee28d76cdcb14c3efce69f15ffaf3"),name:"description",showCounter:!0,maxLength:100}],source:"get:${apiPrefix}/group/current"},{type:"select",name:"widgetType",label:(0,f.i18n)("785c1a41ae4bd2cc7ab34eb88bfc77df"),clearable:!0,required:!0,value:"${defaultTplType}",options:[{label:(0,f.i18n)("ee5185fffaaec22455291abddbe03090"),value:0,visibleOn:"widgetTplLevel !== 3 || data.amisApp.type == 1"},{label:(0,f.i18n)("c2b15235499bc308fbbff67341a8fca7"),value:1,visibleOn:"widgetTplLevel !== 3 || data.amisApp.type == 1"},{label:(0,f.i18n)("6794298f52041647dceec15fe7842469"),value:2,visibleOn:"widgetTplLevel !== 3 || data.amisApp.type == 2"},{label:(0,f.i18n)("d749e49a591a54a0c678609df4db1971"),value:3,visibleOn:"showQuickapp && (widgetTplLevel !== 3 || data.amisApp.type == 4)"},{label:(0,f.i18n)("3c83fb1d9089495812d29aec138e419a"),value:4,visibleOn:"showQuickapp && (widgetTplLevel !== 3 || data.amisApp.type == 3)"}]},{type:"input-image",name:"custom_preview_img",label:(0,f.i18n)("641cfa0a6b78a3cc0c29526c98ab7fb2"),maxSize:1048576,desc:(0,f.i18n)("7d2fb191fbf4f05e457dce99f35c730a")},{type:"switch",label:(0,f.i18n)("3fea7ca76cdece641436d7ab0d02ab1b"),name:"status",value:1,trueValue:1,falseValue:0,onText:(0,f.i18n)("7854b52a889b3ef0590d9f542efeb4c8"),offText:(0,f.i18n)("710ad08b11419332713360d2750cd707")},{type:"textarea",label:(0,f.i18n)("f411d0f1f925d9b48d8c1d451bd809b1"),name:"description",showCounter:!0,maxLength:100}]},m=[{type:"button",label:(0,f.i18n)("c6b2bfc5309483bff37db449dd7163d1"),actionType:"url",url:"${apiPrefix}/exports/${ids}"},{label:(0,f.i18n)("7fb62b30119c3797a843a48368463314"),reload:"widgetTemplateList,asideNav",type:"button",actionType:"dialog",dialog:{title:(0,f.i18n)("7fb62b30119c3797a843a48368463314"),body:{type:"form",reload:"widgetTemplateList",api:"delete:${apiPrefix}/deletes/${ids}",body:[{type:"tpl",text:(0,f.i18n)("1496ae4409122df6309205ece7d98954")}]}}}],u=[{type:"button",level:"primary",label:(0,f.i18n)("5ee033b590048a8107bb7d592841f7a0"),actionType:"dialog",dialog:{title:(0,f.i18n)("4ac5764d1718158fc21a512dade2006c"),body:s}},{type:"button",label:(0,f.i18n)("a717a2e0e8a005a836fe3f747714a9f8"),actionType:"dialog",dialog:{title:(0,f.i18n)("9ca08a0a970196b12d181276416794d8"),body:[{type:"form",api:"post:${apiPrefix}/import",reload:"widgetTemplateList,asideNav",controls:[{label:(0,f.i18n)("d06bf7c931bacaafbcb51ac3e80e740b"),required:!0,name:"file",type:"input-file",tooltip:(0,f.i18n)("aa6c58890fde752d77ad0b9843f3d896"),accept:".amis",maxSize:20971520,asBlob:!0}]}]}},{type:"button",label:(0,f.i18n)("a52bc1b06a0b3d76e1b423289f33c2c0"),actionType:"url",url:"${apiPrefix}/exportWidgetTpl",tooltip:(0,f.i18n)("ff79c99b41b4cc73009ce1473b85e977")},"bulkActions",{type:"form",wrapWithPanel:!1,target:"widgetTemplateList",mode:"inline",body:[{type:"select",name:"tplStatus",className:"mb-0",float:"right",placeholder:(0,f.i18n)("80c4e1d46ab2448a60a2f630508df57f"),submitOnChange:!0,clearable:!0,options:[{label:(0,f.i18n)("a4fc4861372386ea02156f4c9dd01ce9"),value:1},{label:(0,f.i18n)("5a7392a0d78bdde002d8df9f362707c3"),value:0}]},{type:"nested-select",name:"sortBy",className:"mb-0",float:"right",placeholder:(0,f.i18n)("c360e994dbcffdf31e86d2d8875370e1"),submitOnChange:!0,clearable:!0,onlyLeaf:!0,options:[{label:(0,f.i18n)("d7ec2d3fea4756bc1642e0f10c180cf5"),children:[{label:(0,f.i18n)("6999e4e09d6a7c18a9cc71e73701a700"),value:"name-asc"},{label:(0,f.i18n)("99e8e63980b7a8b139fb1680793c5ce6"),value:"name-desc"}]},{label:(0,f.i18n)("eca37cb0726c51702f70c486c1c38cf3"),children:[{label:(0,f.i18n)("8612a5e66aa82f04a8d365a75a9fe187"),value:"createdAt-asc"},{label:(0,f.i18n)("9bad023268851b8edebb789449b8dba6"),value:"createdAt-desc"}]},{label:(0,f.i18n)("a001a226fdc34fd7121f9c4839c759a2"),children:[{label:(0,f.i18n)("49288bb281b9c8da703c9848c6a57366"),value:"updatedAt-asc"},{label:(0,f.i18n)("3e1029fe964c522141cafdc336c3c38d"),value:"updatedAt-desc"}]}]},{type:"select",name:"tplFramework",className:"mb-0",align:"pull-right",placeholder:(0,f.i18n)("bfd6cc2b19f61de0b46638a4474b920c"),submitOnChange:!0,clearable:!0,options:[{label:(0,f.i18n)("ee5185fffaaec22455291abddbe03090"),value:"amis"},{label:(0,f.i18n)("c2b15235499bc308fbbff67341a8fca7"),value:"aipage"},{label:(0,f.i18n)("6794298f52041647dceec15fe7842469"),value:"uniapp"},{label:(0,f.i18n)("d749e49a591a54a0c678609df4db1971"),value:"quickapp",visibleOn:"showQuickapp"},{label:(0,f.i18n)("3c83fb1d9089495812d29aec138e419a"),value:"quickapp-card",visibleOn:"showQuickapp"}]}]},{type:"button-group-select",align:"right",className:"inline-block pl-2.5",label:"",name:"mode",value:"card",options:[{type:"button",icon:l.default.createElement(p.Icon,{icon:"theme-card",className:"icon"}),tooltip:(0,f.i18n)("8706b778c211b35a31d524d34941cef5"),size:"sm",value:"card"},{type:"button",icon:l.default.createElement(p.Icon,{icon:"theme-table",className:"icon"}),size:"sm",tooltip:(0,f.i18n)("421d8e656235482c4cc9d26cf4b8a2a9"),value:"list"}],onEvent:{change:{actions:[{actionType:"setValue",componentId:"widget-template-manage",args:{value:{mode:"${event.data.value}"}}}]}}},{name:"keywords",type:"search-box",className:"widget-template-search-box",placeholder:(0,f.i18n)("5ef2f469ac3118d932df9c87c05b516e"),align:"right",clearable:!0}],g=[{type:"wrapper",className:"px-4 flex flex-row h-12 items-center justify-between",body:[{type:"tpl",className:"font-semibold",tpl:(0,f.i18n)("ee1e2407305c18e41200d4e3c3d9ee10",{}),inline:!1},{type:"button",icon:"fa fa-plus",className:"p-0 text-blue",level:"link",label:(0,f.i18n)("26bb8418786593149c0bf9f8970ab6de"),actionType:"dialog",reload:"asideNav",dialog:{title:(0,f.i18n)("472b0fb4c93ee110552979451f91dce9"),body:r}}]},{type:"wrapper",className:"overflow-y-auto p-0",body:[{type:"nav",stacked:!0,name:"asideNav",draggable:!1,className:"widgetTemplate-group-nav",itemActions:a.navAction,source:{method:"get",url:"${apiPrefix}/group?tplType=${tplType}",autoRefresh:!1,reload:"widgetTemplateList",adaptor:function(e){return(0,d.__assign)((0,d.__assign)({},e),{data:(0,o.mapTree)(e.data,(function(e){return(0,d.__assign)((0,d.__assign)({},e),{label:e.name,to:"?tplType="+e.id,target:"widgetTemplateList",unfolded:!0})}))})}}}]}];var y="${!(widgetTplLevel === 1 && companyId === -1 && appId === -1 || widgetTplLevel === 2 && companyId !== -1 && appId === -1 || widgetTplLevel === 3 && companyId !== -1 && appId !== -1)}";a.default=(0,c.default)({className:"widget-template-manage",id:"widget-template-manage",data:{apiPrefix:function(e){return function(e){var a,t,i=e.amisCompany||(null===(a=e.__super)||void 0===a?void 0:a.amisCompany),d=e.appKey||(null===(t=e.__super)||void 0===t?void 0:t.appKey),l="/api/widgetTemplate";return/admin\/widget-template/.test(window.location.pathname)?l="/api/widgetTemplate":i&&i.key&&d?l="/api/company/".concat(i.key,"/app/").concat(d,"/widgetTemplate"):i&&i.key&&(l="/api/company/".concat(i.key,"/widgetTemplate")),l}(e)},widgetTplLevel:function(e){return(0,b.getWidgetTplLevel)(e.__super)},defaultTplType:function(e){return function(e){var a,t=(null===(a=e.amisApp)||void 0===a?void 0:a.type)||1;return 3!==(0,b.getWidgetTplLevel)(e)?1:3===t?4:4===t?3:t}(e.__super)},showQuickapp:function(){var e;return null===(e=n.config.featureFlag)||void 0===e?void 0:e.quickapp},curWidgetTplEditorUrl:function(e){var a=e.__super,t=a.amisApp,i=a.amisCompany,d=(null==t?void 0:t.id)||-1,l=(null==i?void 0:i.id)||-1,c="/platform/widget-template/edit";return-1===d&&-1===l?c="/platform/widget-template/edit":-1===d&&-1!==l?c="/company/".concat(null==i?void 0:i.key,"/widget-template/edit"):d&&l&&-1!==d&&-1!==l&&(c="/design/widget-template/edit"),c},mode:"card"},aside:g,body:[{type:"crud",name:"widgetTemplateList",visibleOn:'mode === "card"',columnsTogglable:!1,checkOnItemClick:!0,defaultParams:{perPage:30,page:1},perPage:30,api:"get:${apiPrefix}/list?page=${page}&perPage=${perPage}&type=${tplType}&framework=${tplFramework}&keywords=${keywords}&status=${tplStatus}&sortBy=${sortBy}",bulkActions:m,headerToolbar:u,footerToolbar:["pagination"],mode:"cards",className:"widgetTemplate-Content",itemClassName:"widgetTemplate-item-box",card:{actions:[],header:{},showFooter:!1,body:[{name:"widgetTemplate",label:!1,component:function(e){return l.default.createElement(b.default,(0,d.__assign)({},e,{apiPrefix:"${apiPrefix|raw}"}))}}]}},{type:"crud",name:"widgetTemplateList",visibleOn:'mode === "list"',columnsTogglable:!1,checkOnItemClick:!0,defaultParams:{perPage:30,page:1},perPage:30,api:"get:${apiPrefix}/list?page=${page}&perPage=${perPage}&type=${tplType}&framework=${tplFramework}&keywords=${keywords}&status=${tplStatus}&sortBy=${sortBy}",bulkActions:m,headerToolbar:u,footerToolbar:["pagination"],className:"widgetTemplate-Content",itemClassName:"widgetTemplate-item-box",columns:[{name:"name",label:(0,f.i18n)("d7ec2d3fea4756bc1642e0f10c180cf5")},{type:"tpl",tpl:"${description|truncate:20}",label:(0,f.i18n)("3bdd08adab6ea90b9164b20a0e4151ac"),width:"180px"},{type:"tpl",name:"widgetType",label:(0,f.i18n)("226b0912184333c81babf2f1894ec0c1"),tpl:"<%=".concat(JSON.stringify({0:(0,f.i18n)("cd2c178ef5c59d43abc28799cb0c9404"),1:(0,f.i18n)("516af51b4862651d284bcd05fb038eb8"),2:(0,f.i18n)("586fe2a3cf55d72f0cf5ce2609e1129d"),3:(0,f.i18n)("d749e49a591a54a0c678609df4db1971"),4:(0,f.i18n)("3c83fb1d9089495812d29aec138e419a")}),"[data.widgetType]%>")},{type:"tpl",name:"appId",label:(0,f.i18n)("07da77afaba1b90ea2568d2f8e891c74"),tpl:'<%= data.companyId === -1 ? "'.concat((0,f.i18n)("5f93cd335349d26b632d8f283ebec974"),'" : data.appId === -1 ? "').concat((0,f.i18n)("4bda8b64c40d7f18a4781cd7ca3e87d5"),'" : "').concat((0,f.i18n)("b551de7a80c6f82d1a31bbb154abbce4"),'" %>'),breakpoint:"xs md sm"},{type:"mapping",name:"status",label:(0,f.i18n)("3fea7ca76cdece641436d7ab0d02ab1b"),breakpoint:"xs md sm",map:{0:(0,f.i18n)("f9fc3edcf3f3c523d4ff7ed504cbf664"),1:(0,f.i18n)("5ba12b7b6ec2f4a3a51fa68f1229103e")}},{type:"operation",label:(0,f.i18n)("2b6bc0f293f5ca01b006206c2535ccbc"),buttons:[{type:"button-toolbar",buttons:[{type:"button",className:"btn-hide p-0.5",label:(0,f.i18n)("95b351c86267f3aedf89520959bce689"),tooltip:(0,f.i18n)("a756ce2851443bb2c74d0886a3034c0e"),tooltipPlacement:"top",actionType:"url",level:"link",disabledOn:y,url:"${curWidgetTplEditorUrl}/${id}"},(0,b.getWidgetSettingSchema)({},"",(0,f.i18n)("e366ccf1556c0672dcecba135ed5472e"),"post:${apiPrefix}/info/${id}",{level:"link",className:"p-0.5",disabledOn:y}),(0,b.getWidgetSettingSchema)({},"",(0,f.i18n)("79d3abe929f67f0644a78bf32adb3a89"),"post:${apiPrefix}/copy/${id}",{level:"link",className:"p-0.5",disabledOn:y}),{label:(0,f.i18n)("2f4aaddde33c9b93c36fd2503f3d122b"),type:"button",level:"link",className:"p-0.5",actionType:"ajax",confirmText:(0,f.i18n)("d96f8af8a9249fc57700ff6177a2c7b7"),api:"delete:${apiPrefix}/delete/${id}",reload:"widgetTemplateList,asideNav",disabledOn:y}]}]}]}]},(0,f.i18n)("d06bf7c931bacaafbcb51ac3e80e740b"))}));