import{t as r,c as o}from"./NcLoadingIcon-CBTC2zMe.chunk.mjs";import{e as s}from"./index-CdM8BgQf.chunk.mjs";import{g as a}from"./index-DCzdQJ7L.chunk.mjs";import{n as i,N as p}from"./NcCheckboxRadioSwitch-CgbTELjq-BFpDVXaF.chunk.mjs";import"./vue.runtime.esm-B7-PK3p1.chunk.mjs";import"./emoji-picker-hi3Hwbeu.chunk.mjs";const n={name:"FilesSettings",components:{NcCheckboxRadioSwitch:p},data(){return{showWorkspace:OCA.Text.RichWorkspaceEnabled}},methods:{toggle(){this.showWorkspace?(s("Text::showRichWorkspace"),o.post(a("/apps/text/settings"),{key:"workspace_enabled",value:"1"})):(s("Text::hideRichWorkspace"),o.post(a("/apps/text/settings"),{key:"workspace_enabled",value:"0"}))},t:r}};var h=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"files-setting-richworkspace"}},[t("NcCheckboxRadioSwitch",{attrs:{checked:e.showWorkspace},on:{"update:checked":[function(c){e.showWorkspace=c},e.toggle]}},[e._v(" "+e._s(e.t("text","Show folder description"))+" ")])],1)},d=[],k=i(n,h,d,!1,null,null);const g=k.exports;export{g as default}; //# sourceMappingURL=FilesSettings-DWxw7B-r.chunk.mjs.map