Ben Lin
2024-04-25 e404c076586d9682c3d782a4ecb0dc254f0bfd48
1
var s=(r,i,c)=>new Promise((e,t)=>{var u=n=>{try{a(c.next(n))}catch(o){t(o)}},h=n=>{try{a(c.throw(n))}catch(o){t(o)}},a=n=>n.done?e(n.value):Promise.resolve(n.value).then(u,h);a((c=c.apply(r,i)).next())});import{l as T,x as I,__tla as A}from"./index-f0df2f76.js";import"./antd-057b41b1.js";let p,l,d,k,P,m,x=Promise.all([(()=>{try{return A}catch(r){}})()]).then(()=>s(void 0,null,function*(){const{t:r}=T();d=function(e){return e.includes("Input")||e.includes("Complete")?r("common.inputText"):e.includes("Picker")||e.includes("Select")||e.includes("Cascader")||e.includes("Checkbox")||e.includes("Radio")||e.includes("Switch")?r("common.chooseText"):""};const i=["DatePicker","MonthPicker","WeekPicker","TimePicker"];function c(){return[...i,"RangePicker"]}m=function(e,t,u){["DatePicker","MonthPicker","WeekPicker","TimePicker"].includes(t)?e.type=u?"string":"object":["RangePicker","Upload","CheckboxGroup","TimePicker"].includes(t)?e.type="array":["InputNumber"].includes(t)&&(e.type="number")},P=function(e,t){return e&&["Input","InputPassword","InputSearch","InputTextArea"].includes(e)&&t&&I(t)?`${t}`:t},l=c(),k=["Input","InputPassword","InputSearch","InputTextArea"],p=["Upload","ApiTransfer","ApiTree","ApiSelect","ApiTreeSelect","ApiRadioGroup","ApiCascader","AutoComplete","RadioButtonGroup"]}));export{p as N,x as __tla,l as a,d as c,k as d,P as h,m as s};