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

4 lines
2.5 KiB
JavaScript

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/files-CVaXL9Qa.chunk.mjs'),window.OC.filePath('text', '', 'js/index-CYtgifWR.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-B23JpFV7.chunk.mjs'),window.OC.filePath('text', '', 'js/NcLoadingIcon-zQCGdPwE.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fahCO3eG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DxwFe63_.chunk.mjs'),window.OC.filePath('text', '', 'css/NcLoadingIcon-CAC0K4sG.chunk.css'),window.OC.filePath('text', '', 'js/NcNoteCard-CwNXZ4vV-dRcgmGN6.chunk.mjs'),window.OC.filePath('text', '', 'js/index-D3wiQe9-.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CwNXZ4vV-GaPUWc2b.chunk.css'),window.OC.filePath('text', '', 'js/index-CULZQJrn.chunk.mjs'),window.OC.filePath('text', '', 'js/dav-Rt1kTtvI-PDCKXEjH.chunk.mjs'),window.OC.filePath('text', '', 'js/mime-DDg3sTIz.chunk.mjs'),window.OC.filePath('text', '', 'js/FilesSettings-DHC8QQo4.chunk.mjs'),window.OC.filePath('text', '', 'js/NcCheckboxRadioSwitch-CX3HXCEk-BE36-0KV.chunk.mjs'),window.OC.filePath('text', '', 'css/NcCheckboxRadioSwitch-CX3HXCEk-35V8jJy1.chunk.css'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-wd1ZAbRr.chunk.mjs')])))=>i.map(i=>d[i]);
import{_ as i}from"./index-CYtgifWR.chunk.mjs";import{l as r}from"./index-D3wiQe9-.chunk.mjs";import{l}from"./logger-DEhDull1.chunk.mjs";import"./emoji-picker-B23JpFV7.chunk.mjs";const s=r("text","workspace_available"),d=r("text","workspace_enabled"),c=r("text","open_read_only_enabled");document.addEventListener("DOMContentLoaded",async()=>{if(typeof OCA.Viewer>"u"){const{registerFileActionFallback:e}=await i(async()=>{const{registerFileActionFallback:a}=await import("./files-CVaXL9Qa.chunk.mjs");return{registerFileActionFallback:a}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url);l.error("Viewer app is not installed"),e()}if(s&&OCA&&OCA?.Files?.Settings){const{default:e}=await i(async()=>{const{default:t}=await import("./vue.runtime.esm-fahCO3eG.chunk.mjs").then(o=>o.z);return{default:t}},[],import.meta.url),{default:a}=await i(async()=>{const{default:t}=await import("./FilesSettings-DHC8QQo4.chunk.mjs");return{default:t}},__vite__mapDeps([13,3,2,1,4,5,6,14,15,16]),import.meta.url),n=new e({render:t=>t(a,{})}).$mount().$el;OCA.Files.Settings.register(new OCA.Files.Settings.Setting("text",{el:()=>n}))}}),OCA.Text={RichWorkspaceEnabled:d,OpenReadOnlyEnabled:c};
//# sourceMappingURL=text-files.mjs.map