import{e as o}from"./modulepreload-polyfill-DCUwxYMh.chunk.mjs";import{c as s,_ as a}from"./index-jVSJWteM.chunk.mjs";import{n as r,N as i}from"./_plugin-vue2_normalizer-DLE8eHQU.chunk.mjs";import"./public-CX3DIv4G.chunk.mjs";import"./emoji-picker-Coav-X6q.chunk.mjs";import"./vue.runtime.esm-BrouV0Mr.chunk.mjs";import"./index-CJ7wDv5l.chunk.mjs";import"./index-DtTpkYe5.chunk.mjs";const p={name:"FilesSettings",components:{NcCheckboxRadioSwitch:i},data(){return{showWorkspace:OCA.Text.RichWorkspaceEnabled}},methods:{toggle(){this.showWorkspace?(o("Text::showRichWorkspace"),s.post(a("/apps/text/settings"),{key:"workspace_enabled",value:"1"})):(o("Text::hideRichWorkspace"),s.post(a("/apps/text/settings"),{key:"workspace_enabled",value:"0"}))}}};var n=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"files-setting-richworkspace"}},[e("NcCheckboxRadioSwitch",{attrs:{checked:t.showWorkspace},on:{"update:checked":[function(c){t.showWorkspace=c},t.toggle]}},[t._v(" "+t._s(t.t("text","Show folder description"))+" ")])],1)},h=[],k=r(p,n,h,!1,null,null);const _=k.exports;export{_ as default};
