%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/FilesSettings-Dh-rNDjJ.chunk.mjs |
/*! third party licenses: js/vendor.LICENSE.txt */ import{e as o}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{c as s,_ as r}from"./index-Br6XaFoY.chunk.mjs";import{n as c}from"./_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs";import"./NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs";import{N as i}from"./NcCheckboxRadioSwitch-CvMEEI9x-HpgEZPax.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const p={name:"FilesSettings",components:{NcCheckboxRadioSwitch:i},data(){return{showWorkspace:OCA.Text.RichWorkspaceEnabled}},methods:{toggle(){this.showWorkspace?(o("Text::showRichWorkspace"),s.post(r("/apps/text/settings"),{key:"workspace_enabled",value:"1"})):(o("Text::hideRichWorkspace"),s.post(r("/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(a){t.showWorkspace=a},t.toggle]}},[t._v(" "+t._s(t.t("text","Show folder description"))+" ")])],1)},h=[],k=c(p,n,h,!1,null,null);const W=k.exports;export{W as default};