text: (this["webpackJsonpdsearch-console"]=this["webpackJsonpdsearch-console"]||[]).push([[51],{1500:function(e,t,n){"use strict";n.r(t);var a=n(59),l=n(0),r=n.n(l),c=n(38),i=n(28),o=n(11),u=n(131),m=n.n(u),s=n(713),d=n(648),f=n(170),p=n(598),y=n(607),E=n(696),g=n(661),h=n(858),b=n.n(h),v=n(731),O=n(2),x=n(892),C=n(1107),S=n.n(C),j=n(1061),k=n.n(j),w=n(718),T=n(749),N=n(168),_=n(719),M=n(720),Y=n(721),U=n(703),I=n(841),R=n(1046),P=n(604),W=n(722),A=n(694),D=n(36),B=n(156),L=n(567),z=Object(o.c)(s.a)(g.a),F=Object(A.a)((function(e){return{formControl:{minWidth:250},root:{flexGrow:1,width:"100%"},edit:{width:"100%"},link:{cursor:"pointer"},fab:{margin:e.spacing(2)},absolute:{position:"absolute",bottom:e.spacing(2),right:e.spacing(3)}}})),H="\uc544\uc774\ub514",G="\uc774\ub984",X="\ud0c0\uc785",J="\ub300/\uc18c\ubb38\uc790\ubb34\uc2dc",q="\ud1a0\ud070 \ud0c0\uc785",Z="\ud544\ub4dc(\uc544\uc774\ub514)",$="\ud544\ub4dc(\ud0a4\uc6cc\ub4dc)",K="\ud544\ub4dc(\uac12)",Q="\uc0ad\uc81c";var V=Object(c.b)((function(e){return{authUser:e.dsearchReducers.authUser,settings:e.dictionaryReducers.settings,active:e.dictionaryReducers.active}}))((function(e){var t=e.dispatch,n=e.authUser;return function(e){var c=F(),i=Object(L.a)(Object(D.a)().breakpoints.down("sm")),o=r.a.useState(e),u=Object(a.a)(o,2),s=u[0],f=u[1],E=r.a.useState(!1),g=Object(a.a)(E,2),h=g[0],b=g[1],C=r.a.useState({}),j=Object(a.a)(C,2),A=j[0],V=j[1],ee=r.a.useState(!1),te=Object(a.a)(ee,2),ne=te[0],ae=te[1],le=r.a.useState({id:"",name:"",type:"",tokenType:"",ignoreCase:"",column_id:"",column_keyword:"",column_value:""}),re=Object(a.a)(le,2),ce=re[0],ie=re[1],oe=r.a.useRef({value:""}),ue=r.a.useRef({value:""}),me=r.a.useRef({value:""}),se=r.a.useRef({value:""}),de=r.a.useRef({value:""}),fe=r.a.useState({}),pe=Object(a.a)(fe,2),ye=pe[0],Ee=pe[1];Object(l.useEffect)((function(){t(Object(v.k)()),console.log(e)}),[]);var ge={onDragEnd:function(e,n){var a=Object(x.a)(s),l=a.splice(e,1)[0];a.splice(n,0,l),f(a),function(e,n,a){if(n!==a){for(var l=0;l<e.length;l++)e[l].index=l+1;f(e),t(Object(v.n)(e))}}(a,e,n)},nodeSelector:"div",handleSelector:"svg"};return r.a.createElement(r.a.Fragment,null,r.a.createElement(m.a,{title:"\uc0ac\uc804 \uc124\uc815"}),r.a.createElement(p.a,{align:"right"},n.role.index?r.a.createElement(w.a,{className:c.link,onClick:function(){ie({id:"",name:"",type:"",tokenType:"",ignoreCase:"",column_id:"",column_keyword:"",column_value:""}),b(!0)},color:"primary"},"\uc0ac\uc804 \uc0dd\uc131"):r.a.createElement(r.a.Fragment,null)),r.a.createElement("br",null),r.a.createElement(T.a,{component:N.a},r.a.createElement(p.a,{style:{width:"100%",marginTop:"12px",marginBottom:"12px"}},r.a.createElement(p.a,{style:{width:"100%",display:"flex",paddingTop:"8px",paddingBottom:"8px"}},r.a.createElement(p.a,{align:"center",style:{width:"5%"}},r.a.createElement("b",null,"#")),r.a.createElement(p.a,{align:"center",style:{width:"10%"}},r.a.createElement("b",null,H)),r.a.createElement(p.a,{align:"center",style:{width:"15%"}},r.a.createElement("b",null,G)),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},r.a.createElement("b",null,X)),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},r.a.createElement("b",null,J)),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},r.a.createElement("b",null,q)),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},r.a.createElement("b",null,Z)),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},r.a.createElement("b",null,$)),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},r.a.createElement("b",null,K)),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},r.a.createElement("b",null,Q))),r.a.createElement(z,null)),r.a.createElement(k.a,ge,s.map((function(e,t){return r.a.createElement(p.a,{key:t,style:{width:"100%",display:"flex",marginTop:"8px",marginBottom:"8px",paddingTop:"12px",paddingBottom:"12px"}},r.a.createElement(S.a,{style:{cursor:"move",width:"5%"}}),r.a.createElement(p.a,{align:"center",style:{width:"10%"}},e.id),r.a.createElement(p.a,{align:"center",style:{width:"15%"}},e.name),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},e.type),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},e.ignoreCase),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},e.tokenType),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},e.columns.filter((function(e){return"id"===e.type})).map((function(e){return e.label})).join("")),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},e.columns.filter((function(e){return"keyword"===e.type})).map((function(e){return e.label})).join("")),r.a.createElement(p.a,{align:"center",style:{width:"10%",margin:"4px"}},e.columns.filter((function(e){return"value"===e.type})).map((function(e){return e.label})).join("")),r.a.createElement(p.a,{align:"center",style:{width:"10%"}},r.a.createElement(y.a,{size:"small",variant:"outlined",style:{color:B.a[400]},onClick:function(){return V(e),void ae(!0)}},"\uc0ad\uc81c")))})))),r.a.createElement(_.a,{open:h,fullWidth:!0,fullScreen:i,onClose:function(){return b(!1)}},r.a.createElement(M.a,null,"\uc0ac\uc804 \ucd94\uac00"),r.a.createElement(Y.a,null,r.a.createElement(p.a,null,r.a.createElement(p.a,null,r.a.createElement(p.a,{my:3},r.a.createElement(d.a,{container:!0},r.a.createElement(d.a,{item:!0,xs:3,style:{alignItems:"center",justifyContent:"center",display:"flex"}},"\uc544\uc774\ub514"),r.a.createElement(d.a,{item:!0,xs:9},r.a.createElement(U.a,{fullWidth:!0,autoFocus:!0,placeholder:"Synonym",inputRef:oe,error:ye.id,helperText:ye.id||""})))),r.a.createElement(p.a,{my:3},r.a.createElement(d.a,{container:!0},r.a.createElement(d.a,{item:!0,xs:3,style:{alignItems:"center",justifyContent:"center",display:"flex"}},"\uc774\ub984"),r.a.createElement(d.a,{item:!0,xs:9},r.a.createElement(U.a,{fullWidth:!0,placeholder:"\ub3d9\uc758\uc5b4 \uc0ac\uc804",inputRef:ue,error:ye.name,helperText:ye.name||""})))),r.a.createElement(p.a,{my:3},r.a.createElement(d.a,{container:!0},r.a.createElement(d.a,{item:!0,xs:3,style:{alignItems:"center",justifyContent:"center",display:"flex"}},"\ud0c0\uc785"),r.a.createElement(d.a,{item:!0,xs:9},r.a.createElement(I.a,{className:c.select,fullWidth:!0},r.a.createElement(R.a,{placeholder:"SYNONYM",value:ce.type,onChange:function(e){ie(Object(O.a)(Object(O.a)({},ce),{},{column_id:"",column_keyword:"",column_value:"",type:e.target.value}))},error:ye.type},r.a.createElement(P.a,{value:"",disabled:!0},"\uc120\ud0dd\ud558\uc138\uc694."),r.a.createElement(P.a,{value:"SET"},"SET"),r.a.createElement(P.a,{value:"SYNONYM"},"SYNONYM"),r.a.createElement(P.a,{value:"SPACE"},"SPACE"),r.a.createElement(P.a,{value:"COMPOUND"},"COMPOUND"),r.a.createElement(P.a,{value:"SYNONYM_2WAY"},"SYNONYM_2WAY"),r.a.createElement(P.a,{value:"CUSTOM"},"CUSTOM")))))),r.a.createElement(p.a,{my:3},r.a.createElement(d.a,{container:!0},r.a.createElement(d.a,{item:!0,xs:3,style:{alignItems:"center",justifyContent:"center",display:"flex"}},"\ud1a0\ud070 \ud0c0\uc785"),r.a.createElement(d.a,{item:!0,xs:9},r.a.createElement(I.a,{className:c.select,fullWidth:!0},r.a.createElement(R.a,{placeholder:"MAX",value:ce.tokenType,onChange:function(e){console.log(e.target.value),ie(Object(O.a)(Object(O.a)({},ce),{},{tokenType:e.target.value}))},error:ye.tokenType},r.a.createElement(P.a,{value:"",disabled:!0},"\uc120\ud0dd\ud558\uc138\uc694."),r.a.createElement(P.a,{value:"MAX"},"MAX"),r.a.createElement(P.a,{value:"MIN"},"MIN"),r.a.createElement(P.a,{value:"MID"},"MID"),r.a.createElement(P.a,{value:"HIGH"},"HIGH"),r.a.createElement(P.a,{value:"NONE"},"NONE")))))),r.a.createElement(p.a,{my:3},r.a.createElement(d.a,{container:!0},r.a.createElement(d.a,{item:!0,xs:3,style:{alignItems:"center",justifyContent:"center",display:"flex"}},"\ub300/\uc18c\ubb38\uc790 \ubb34\uc2dc"),r.a.createElement(d.a,{item:!0,xs:9},r.a.createElement(I.a,{className:c.select,fullWidth:!0},r.a.createElement(R.a,{value:ce.ignoreCase,onChange:function(e){console.log(e.target.value),ie(Object(O.a)(Object(O.a)({},ce),{},{ignoreCase:e.target.value}))},error:ye.ignoreCase},r.a.createElement(P.a,{value:"",disabled:!0},"\uc120\ud0dd\ud558\uc138\uc694."),r.a.createElement(P.a,{value:"true"},"true"),r.a.createElement(P.a,{value:"false"},"false")))))),r.a.createElement(p.a,{my:3},r.a.createElement(d.a,{container:!0},r.a.createElement(d.a,{item:!0,xs:3,style:{alignItems:"center",justifyContent:"center",display:"flex"}},"\ud544\ub4dc"),r.a.createElement(d.a,{item:!0,xs:9},r.a.createElement(p.a,{my:3},r.a.createElement(d.a,{container:!0},r.a.createElement(d.a,{item:!0,xs:3,style:{alignItems:"center",justifyContent:"center",display:"flex"}},"\uc544\uc774\ub514"),r.a.createElement(d.a,{item:!0,xs:9},r.a.createElement(U.a,{fullWidth:!0,inputRef:me,placeholder:"",style:{backgroundColor:["CUSTOM"].includes(ce.type)?null:"#bdbdbd"},disabled:!["CUSTOM"].includes(ce.type),error:ye.columns_id,helperText:ye.column_id||""})))),r.a.createElement(p.a,{my:3},r.a.createElement(d.a,{container:!0},r.a.createElement(d.a,{item:!0,xs:3,style:{alignItems:"center",justifyContent:"center",display:"flex"}},"\ud0a4\uc6cc\ub4dc"),r.a.createElement(d.a,{item:!0,xs:9},r.a.createElement(U.a,{fullWidth:!0,placeholder:"",inputRef:se,style:{backgroundColor:["SET","SYNONYM","SPACE","COMPOUND","CUSTOM"].includes(ce.type)?null:"#bdbdbd"},disabled:!["SET","SYNONYM","SPACE","COMPOUND","CUSTOM"].includes(ce.type),error:ye.column_keyword,helperText:ye.column_keyword||""})))),r.a.createElement(p.a,{my:3},r.a.createElement(d.a,{container:!0},r.a.createElement(d.a,{item:!0,xs:3,style:{alignItems:"center",justifyContent:"center",display:"flex"}},"\uac12"),r.a.createElement(d.a,{item:!0,xs:9},r.a.createElement(U.a,{fullWidth:!0,placeholder:"",inputRef:de,style:{backgroundColor:["SYNONYM","COMPOUND","SYNONYM_2WAY","CUSTOM"].includes(ce.type)?null:"#bdbdbd"},disabled:!["SYNONYM","COMPOUND","SYNONYM_2WAY","CUSTOM"].includes(ce.type),error:ye.column_value,helperText:ye.column_value||""})))))))))),r.a.createElement(W.a,null,r.a.createElement(p.a,{mx:3},r.a.createElement(y.a,{variant:"contained",color:"primary",style:{marginRight:"5px"},onClick:function(){console.log(ce);var n=ce;n.id=oe.current.value,n.name=ue.current.value,n.column_id=me.current.value,n.column_keyword=se.current.value,n.column_value=de.current.value,ie(n),console.log(ce);var a={};if((""===ce.id.trim()||/[^a-z0-9_]+/gi.test(ce.id.trim()))&&(a.id="\uc544\uc774\ub514\ub97c \ud655\uc778\ud558\uc138\uc694. (a-zA-Z0-9_ \uae00\uc790\ub9cc \uac00\ub2a5\ud569\ub2c8\ub2e4.)"),""===ce.name.trim()&&(a.name="\uc774\ub984\ub97c \ud655\uc778\ud558\uc138\uc694."),""===ce.type&&(a.type="\ud0c0\uc785\uc744 \uc120\ud0dd\ud558\uc138\uc694."),""===ce.tokenType&&(a.tokenType="\ud1a0\ud070\ud0c0\uc785\uc744 \uc120\ud0dd\ud558\uc138\uc694."),""===ce.ignoreCase&&(a.ignoreCase="\ub300/\uc18c\ubb38\uc790 \ubb34\uc2dc\ub97c \uc120\ud0dd\ud558\uc138\uc694."),ce.type){var l=ce.type;["CUSTOM"].includes(l)&&""===String(ce.column_id||"").trim()&&(a.column_id="\ud544\ub4dc \uc544\uc774\ub514\ub97c \ud655\uc778\ud558\uc138\uc694."),["SET","SYNONYM","SPACE","COMPOUND","CUSTOM"].includes(l)&&""===String(ce.column_keyword||"").trim()&&(a.column_keyword="\ud544\ub4dc\uc758 \ud0a4\uc6cc\ub4dc\ub97c \ud655\uc778\ud558\uc138\uc694."),["SYNONYM","COMPOUND","SYNONYM_2WAY","CUSTOM"].includes(l)&&""===String(ce.column_value||"").trim()&&(a.column_value="\ud544\ub4dc\uc758 \uac12\ub97c \ud655\uc778\ud558\uc138\uc694.")}if(Object.keys(a).length>0)return console.log(a),void Ee(a);t(Object(v.h)({id:ce.id,name:ce.name,ignoreCase:ce.ignoreCase,type:ce.type,tokenType:ce.tokenType,columns_id:ce.column_id,columns_keyword:ce.column_keyword,columns_value:ce.column_value})).then((function(n){var a=[];""!=ce.column_id&&a.push({type:"id",label:ce.column_id}),""!=ce.column_keyword&&a.push({type:"keyword",label:ce.column_keyword}),""!=ce.column_value&&a.push({type:"value",label:ce.column_value}),f(s.concat({id:ce.id,name:ce.name,ignoreCase:ce.ignoreCase,type:ce.type,tokenType:ce.tokenType,index:e.length,columns:a})),setTimeout((function(){t(Object(v.k)()),b(!1)}),1e3)}))}},"\ucd94\uac00"),r.a.createElement(y.a,{variant:"outlined",onClick:function(){return b(!1)},style:{marginLeft:"5px"}},"\ub2eb\uae30")))),r.a.createElement(_.a,{open:ne,fullWidth:!0,fullScreen:i,onClose:function(){return ae(!1)}},r.a.createElement(M.a,null,"\uc0ac\uc804 \uc0ad\uc81c"),r.a.createElement(Y.a,null,A.name||""," \uc0ac\uc804\uc744 \uc0ad\uc81c\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?"),r.a.createElement(W.a,null,r.a.createElement(y.a,{variant:"contained",color:"primary",onClick:function(){t(Object(v.e)(A.documentId)).then((function(e){var n=s,a=n.findIndex((function(e){return e.documentId===A.documentId}));n.splice(a,1),f(n),setTimeout((function(){t(Object(v.k)()),ae(!1)}),1e3)}))}},"\uc0ad\uc81c"),r.a.createElement(y.a,{variant:"outlined",onClick:function(){return ae(!1)}},"\ucde8\uc18c"))))}(e.settings)})),ee=Object(o.c)(s.a)(g.a),te=[{icon:r.a.createElement(b.a,null),component:Object(i.a)((function(){return n.e(53).then(n.bind(null,1486))}),{time:0})},{label:"\uac1c\uc694",component:Object(i.a)((function(){return Promise.all([n.e(32),n.e(60)]).then(n.bind(null,1487))}))}];t.default=Object(c.b)((function(e){return{authUser:e.dsearchReducers.authUser,settings:e.dictionaryReducers.settings,active:e.dictionaryReducers.active}}))((function(e){var t=e.dispatch,c=e.authUser,o=e.settings,u=e.active,s=r.a.useState(!1),g=Object(a.a)(s,2),h=g[0],b=g[1],O=r.a.useState({}),x=Object(a.a)(O,2),C=x[0],S=x[1],j=te.concat(o.map((function(e){return{label:e.name,component:Object(i.a)((function(){return Promise.all([n.e(23),n.e(61)]).then(n.bind(null,1495))}))}})));return Object(l.useEffect)((function(){t(Object(v.k)()),t(Object(v.j)()).then((function(e){S(e)}))}),[]),r.a.createElement(r.a.Fragment,null,r.a.createElement(m.a,{title:"\uc0ac\uc804"}),r.a.createElement(d.a,{container:!0},r.a.createElement(d.a,{item:!0,xs:10},r.a.createElement(f.a,{variant:"h3",gutterBottom:!0,display:"inline"},"\uc0ac\uc804 ",h?"\uc124\uc815":""),r.a.createElement(p.a,{style:{fontSize:"0.9em"},mt:3},C.remote&&!0===C.remote?"\uc0ac\uc804\uc18c\uc2a4\uc815\ubcf4: ".concat(C.host||"",":").concat(C.port||""):"")),r.a.createElement(d.a,{item:!0,xs:2},r.a.createElement(p.a,{align:"right"},r.a.createElement(y.a,{color:"primary",variant:"outlined",onClick:function(){return b(!h)}},h?"\ub2eb\uae30":"\uc124\uc815")))),r.a.createElement(ee,{my:6}),h?r.a.createElement(V,null):r.a.createElement(d.a,{container:!0,spacing:6},r.a.createElement(d.a,{item:!0,xs:12},r.a.createElement(E.a,{authUser:c,tabs:j,tabIndex:u,onChange:function(e){t(Object(v.g)(e-te.length))}}))))}))},696:function(e,t,n){"use strict";var a=n(59),l=n(0),r=n.n(l),c=n(9),i=n(713),o=n(598),u=n(1466),m=(n(170),n(1496)),s=n(11),d=n(661),f=Object(s.c)(i.a)(d.a),p=Object(s.c)(o.a)(d.a),y=Object(c.a)((function(e){return{root:{textTransform:"none",minWidth:72,fontWeight:e.typography.fontWeightRegular,marginRight:e.spacing(2),"&:hover":{color:"#40a9ff",opacity:1},"&$selected":{color:"#1890ff",fontWeight:e.typography.fontWeightMedium},"&:focus":{color:"#40a9ff"}},selected:{}}}),{index:1})((function(e){return r.a.createElement(u.a,Object.assign({disableRipple:!0},e))}));t.a=function(e){var t=e.tabs,n=e.tabIndex,l=void 0===n?0:n,c=e.onChange,i=r.a.useState({tabIndex:l}),o=Object(a.a)(i,2),u=o[0],s=o[1];return r.a.createElement(r.a.Fragment,null,r.a.createElement(m.a,{value:u.tabIndex,onChange:function(e,t){s({tabIndex:t}),"function"===typeof c&&c(t)},indicatorColor:"primary",textColor:"primary",variant:"scrollable",scrollButtons:"auto"},t.map((function(e,t){return r.a.createElement(y,{key:t,id:t,icon:e.icon,label:e.label||""})}))),r.a.createElement(f,null),t.map((function(e,t){return r.a.createElement(p,{key:t,role:"tabpanel",hidden:u.tabIndex!==t,id:"scrollable-auto-tabpanel-".concat(t),"aria-labelledby":"scrollable-auto-tab-".concat(t)},t===u.tabIndex&&e.component&&r.a.createElement(p,null," ",r.a.createElement(e.component,{tabs:e})," "))})))}},731:function(e,t,n){"use strict";n.d(t,"g",(function(){return c})),n.d(t,"k",(function(){return i})),n.d(t,"n",(function(){return o})),n.d(t,"i",(function(){return u})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return d})),n.d(t,"m",(function(){return f})),n.d(t,"f",(function(){return p})),n.d(t,"l",(function(){return y})),n.d(t,"a",(function(){return E})),n.d(t,"h",(function(){return g})),n.d(t,"e",(function(){return h})),n.d(t,"j",(function(){return b}));var a=n(76),l=n(4),r=new a.a,c=function(e){return function(t){return t({type:l.c,payload:e})}},i=function(){return function(e){return r.call({uri:"/dictionaries/settings"}).then((function(t){var n=t.data;e({type:l.jb,payload:n.sort((function(e,t){return e.index-t.index}))})})).catch((function(e){return console.error(e)}))}},o=function(e){return function(t){return r.call({uri:"/dictionaries/settings/updateList",method:"POST",data:e}).then((function(){console.log("success")})).catch((function(e){console.log(e)}))}},u=function(e,t,n,a,c,i){return function(o){return r.call({uri:"/dictionaries/".concat(e),params:{pageNum:t,rowSize:n,isMatch:a,value:c,searchColumns:i}}).then((function(t){return o({type:l.r,dictionary:e,payload:t.data})})).catch((function(e){return console.error(e)}))}},m=function(e){return r.call({uri:"/dictionaries/".concat(e,"/download"),responseType:"blob"}).then((function(t){var n=document.createElement("a");n.href=window.URL.createObjectURL(new Blob([t.data],{type:t.headers["content-type"]})),n.setAttribute("download","".concat(e,".txt")),document.body.appendChild(n),n.click()}))},s=function(e,t){return r.call({uri:"/dictionaries/".concat(e,"/").concat(t),method:"DELETE"})},d=function(e,t){return r.call({uri:"/dictionaries/".concat(e),method:"POST",data:t}).then((function(e){console.log(e)})).catch((function(e){return console.error(e)}))},f=function(e,t,n){return r.call({uri:"/dictionaries/".concat(e,"/").concat(t),method:"PUT",data:n}).then((function(e){console.log(e)})).catch((function(e){return console.error(e)}))},p=function(e){return function(t){return r.call({uri:"/dictionaries/find-dict",method:"POST",data:e}).then((function(e){return t({type:l.s,payload:e.data})}))}},y=function(){return function(e){return r.call({uri:"/dictionaries/summary"}).then((function(t){return e({type:l.lb,payload:t.data})}))}},E=function(e){return function(t){return r.call({uri:"/dictionaries/compile-dict",method:"POST",data:e}).then((function(e){return t({type:l.q,payload:e.data})}))}},g=function(e){var t=e.id,n=e.name,a=e.type,l=e.tokenType,c=e.ignoreCase,i=e.columns_id,o=e.columns_keyword,u=e.columns_value;return function(e){return r.call({uri:"/dictionaries/settings",method:"POST",data:{id:t,name:n,type:a,tokenType:l,ignoreCase:c,columns:[i.length>0?{type:"id",label:i}:null,o.length>0?{type:"keyword",label:o}:null,u.length>0?{type:"value",label:u}:null]}}).then((function(e){return e.data}))}},h=function(e){return function(t){return r.call({uri:"/dictionaries/settings/"+e,method:"DELETE"}).then((function(e){return e.data}))}},b=function(){return function(e){return r.call({uri:"/dictionaries/remote"}).then((function(e){return e.data})).catch((function(e){return console.error(e)}))}}}}]);
  //# sourceMappingURL=51.7f709bbf.chunk.js.map