f7cloud_client/apps/text/js/FilesSettings-DHC8QQo4.chunk.mjs
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

3 lines
1.1 KiB
JavaScript

import{t as c,c as o}from"./NcLoadingIcon-zQCGdPwE.chunk.mjs";import{e as s}from"./index-CYtgifWR.chunk.mjs";import{g as a}from"./index-DxwFe63_.chunk.mjs";import{N as i}from"./NcCheckboxRadioSwitch-CX3HXCEk-BE36-0KV.chunk.mjs";import{n as p}from"./_plugin-vue2_normalizer-wd1ZAbRr.chunk.mjs";import"./emoji-picker-B23JpFV7.chunk.mjs";import"./vue.runtime.esm-fahCO3eG.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-DHC8QQo4.chunk.mjs.map