import{t as c,c as o}from"./NcLoadingIcon-DJQ7xT8B.chunk.mjs";import{e as s}from"./index-CRQM6PVi.chunk.mjs";import{_ as a}from"./index-CCUE3e_p.chunk.mjs";import{N as i}from"./NcCheckboxRadioSwitch-DAPHFb0L-BV64zEto.chunk.mjs";import{n as p}from"./_plugin-vue2_normalizer-wd1ZAbRr.chunk.mjs";import"./emoji-picker-MDCGxHB0.chunk.mjs";import"./vue.runtime.esm-CLeelJur.chunk.mjs";const n={name:"FilesSettings",components:{NcCheckboxRadioSwitch:i},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:c}};var h=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(r){t.showWorkspace=r},t.toggle]}},[t._v(" "+t._s(t.t("text","Show folder description"))+" ")])],1)},d=[],k=p(n,h,d,!1,null,null);const W=k.exports;export{W as default};
//# sourceMappingURL=FilesSettings-CigxtM9P.chunk.mjs.map
