import{e as o}from"./modulepreload-polyfill-DE-oIJqv.chunk.mjs";import{c as s,_ as a}from"./index-BGFdrNqh.chunk.mjs";import{n as r,N as i}from"./_plugin-vue2_normalizer-khdWz7r2.chunk.mjs";import"./public-BSZ20KYR.chunk.mjs";import"./emoji-picker-KVqjnXYv.chunk.mjs";import"./vue.runtime.esm-DO2cz8pp.chunk.mjs";import"./index-DfiDB3im.chunk.mjs";import"./index-Bc2S5k6V.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};
//# sourceMappingURL=FilesSettings-CsLrZFEN.chunk.mjs.map
