import{e as o}from"./modulepreload-polyfill-nb9XBeg7.chunk.mjs";import{c as s,g as a}from"./index-Dtu68Mmq.chunk.mjs";import{N as r}from"./NcCheckboxRadioSwitch-ip_mRd2T-kNk9kCSa.chunk.mjs";import{n as i}from"./_plugin-vue2_normalizer-wd1ZAbRr.chunk.mjs";import"./emoji-picker-DlAAdvrL.chunk.mjs";import"./vue.runtime.esm-C7aVrvtW.chunk.mjs";import"./NcLoadingIcon-CHw5fok5.chunk.mjs";const p={name:"FilesSettings",components:{NcCheckboxRadioSwitch:r},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 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)},h=[],k=i(p,n,h,!1,null,null);const g=k.exports;export{g as default};
//# sourceMappingURL=FilesSettings-Dv6T6LNB.chunk.mjs.map
