chore(assets): recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
nextcloud-command 2024-08-13 16:55:38 +00:00
Родитель 806bc9d538
Коммит c6e501d0df
26 изменённых файлов: 35 добавлений и 34 удалений

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,2 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{V as r}from"./vue.runtime.esm-DexIh3sa.chunk.mjs";import{E as l}from"./Editor-BFlNVq00.chunk.mjs";import{l as a}from"./logger-BVmsFChG.chunk.mjs";import{n as d}from"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./RichText-Cr6jEvg7.chunk.mjs";import"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import"./index-BcT2uKOB.chunk.mjs";import"./MediaHandler.provider-D-YH1kh0.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./Wrapper-Dik_-MAq.chunk.mjs";import"./_commonjs-dynamic-modules-CSduYUN4.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";const n=r.observable({messages:[],mtime:0}),s=(e,i)=>{a.debug("callMobileMessage ".concat(e),{attributes:i});let o=e;typeof i<"u"&&(o={MessageName:e,Values:i});let t=null;try{t=JSON.stringify(i)}catch{t=null}window.DirectEditingMobileInterface&&typeof window.DirectEditingMobileInterface[e]=="function"&&(t===null||typeof t>"u"?window.DirectEditingMobileInterface[e]():window.DirectEditingMobileInterface[e](t)),window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.DirectEditingMobileInterface&&window.webkit.messageHandlers.DirectEditingMobileInterface.postMessage(o),window.postMessage(o)};window.addEventListener("message",function(e){n.messages.push(e.data),a.debug("postMessage",{message:e})});const c={name:"DirectEditing",components:{Editor:l},data(){return{initial:OCP.InitialState.loadState("text","file"),messages:n.messages,log:n,saving:!1}},computed:{initialSession(){return JSON.parse(this.initial.session)||null},isMobile(){return window.DirectEditingMobileInterface||window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.DirectEditingMobileInterface}},beforeMount(){s("loading")},mounted(){document.querySelector('meta[name="viewport"]').setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"),this.$refs.editor.$on("push:forbidden",()=>{a.warn("push was forbidden due to invalidated session"),this.reload()})},methods:{async close(){this.saving=!0,setTimeout(async()=>{await this.$refs.editor.$destroy(),s("close")},0)},share(){s("share")},loaded(){s("loaded")},reload(){s("reload")}}};var m=function(){var e=this,i=e._self._c;return i("div",{class:{"icon-loading":e.saving},attrs:{id:"direct-editor"}},[i("Editor",{ref:"editor",attrs:{"initial-session":e.initialSession,"file-id":e.initial.fileId,active:!0,mime:e.initial.mimetype,"is-direct-editing":!0},on:{ready:e.loaded},scopedSlots:e._u([e.isMobile?{key:"header",fn:function(){return[i("button",{staticClass:"icon-share",on:{click:e.share}}),i("button",{staticClass:"icon-close",on:{click:e.close}})]},proxy:!0}:null],null,!0)})],1)},u=[],w=d(c,m,u,!1,null,"942b8c7a",null,null);const C=w.exports;export{C as default};
import{V as r}from"./vue.runtime.esm-DexIh3sa.chunk.mjs";import{E as l}from"./Editor-2dYw23I2.chunk.mjs";import{l as a}from"./logger-BVmsFChG.chunk.mjs";import{n as d}from"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./RichText-Cr6jEvg7.chunk.mjs";import"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import"./index-BcT2uKOB.chunk.mjs";import"./MediaHandler.provider-D-YH1kh0.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./Wrapper-Dik_-MAq.chunk.mjs";import"./_commonjs-dynamic-modules-CSduYUN4.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";const n=r.observable({messages:[],mtime:0}),s=(e,i)=>{a.debug("callMobileMessage ".concat(e),{attributes:i});let o=e;typeof i<"u"&&(o={MessageName:e,Values:i});let t=null;try{t=JSON.stringify(i)}catch{t=null}window.DirectEditingMobileInterface&&typeof window.DirectEditingMobileInterface[e]=="function"&&(t===null||typeof t>"u"?window.DirectEditingMobileInterface[e]():window.DirectEditingMobileInterface[e](t)),window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.DirectEditingMobileInterface&&window.webkit.messageHandlers.DirectEditingMobileInterface.postMessage(o),window.postMessage(o)};window.addEventListener("message",function(e){n.messages.push(e.data),a.debug("postMessage",{message:e})});const c={name:"DirectEditing",components:{Editor:l},data(){return{initial:OCP.InitialState.loadState("text","file"),messages:n.messages,log:n,saving:!1}},computed:{initialSession(){return JSON.parse(this.initial.session)||null},isMobile(){return window.DirectEditingMobileInterface||window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.DirectEditingMobileInterface}},beforeMount(){s("loading")},mounted(){document.querySelector('meta[name="viewport"]').setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"),this.$refs.editor.$on("push:forbidden",()=>{a.warn("push was forbidden due to invalidated session"),this.reload()})},methods:{async close(){this.saving=!0,setTimeout(async()=>{await this.$refs.editor.$destroy(),s("close")},0)},share(){s("share")},loaded(){s("loaded")},reload(){s("reload")}}};var m=function(){var e=this,i=e._self._c;return i("div",{class:{"icon-loading":e.saving},attrs:{id:"direct-editor"}},[i("Editor",{ref:"editor",attrs:{"initial-session":e.initialSession,"file-id":e.initial.fileId,active:!0,mime:e.initial.mimetype,"is-direct-editing":!0},on:{ready:e.loaded},scopedSlots:e._u([e.isMobile?{key:"header",fn:function(){return[i("button",{staticClass:"icon-share",on:{click:e.share}}),i("button",{staticClass:"icon-close",on:{click:e.close}})]},proxy:!0}:null],null,!0)})],1)},u=[],w=d(c,m,u,!1,null,"942b8c7a",null,null);const C=w.exports;export{C as default};

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-BFlNVq00.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-Dik_-MAq.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-BfLQoXX6.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-BLyMntzZ.chunk.css')])))=>i.map(i=>d[i]);
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-2dYw23I2.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-Dik_-MAq.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-BfLQoXX6.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-Byi0tyxS.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as i}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";async function a(){if(!window._nc_text_editor_instance){if(window._nc_text_editor_importing)return await new Promise(t=>{const e=setInterval(()=>{window._nc_text_editor_instance&&(t(window._nc_text_editor_instance),clearInterval(e))},200)});window._nc_text_editor_importing=!0;const o=await i(()=>import("./Editor-BFlNVq00.chunk.mjs").then(t=>t.b),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url),{default:n}=await i(async()=>{const{default:t}=await import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(e=>e.v);return{default:t}},[],import.meta.url);n.prototype.t=window.t,n.prototype.OCA=window.OCA;const _=n.extend(o.default);window._nc_text_editor_instance=_}return window._nc_text_editor_instance}export{a as g};
import{_ as i}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";async function a(){if(!window._nc_text_editor_instance){if(window._nc_text_editor_importing)return await new Promise(t=>{const e=setInterval(()=>{window._nc_text_editor_instance&&(t(window._nc_text_editor_instance),clearInterval(e))},200)});window._nc_text_editor_importing=!0;const o=await i(()=>import("./Editor-2dYw23I2.chunk.mjs").then(t=>t.b),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url),{default:n}=await i(async()=>{const{default:t}=await import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(e=>e.v);return{default:t}},[],import.meta.url);n.prototype.t=window.t,n.prototype.OCA=window.OCA;const _=n.extend(o.default);window._nc_text_editor_instance=_}return window._nc_text_editor_instance}export{a as g};

Просмотреть файл

@ -1 +1 @@
{"version":3,"mappings":";;gEAUe,eAAeA,GAAoB,CACjD,GAAI,CAAC,OAAO,yBAA0B,CACrC,GAAI,OAAO,0BACV,OAAO,MAAM,IAAI,QAASC,GAAY,CACrC,MAAMC,EAAa,YAAY,IAAM,CAC/B,OAAO,2BAGZD,EAAQ,OAAO,wBAAwB,EACvC,cAAcC,CAAU,EACxB,EAAE,GAAG,CACV,CAAI,EAED,OAAO,0BAA4B,GAEpC,MAAMC,EAAS,MAAMC,EAAA,WAAuC,6BAAc,EAAC,KAAAC,KAAA,4FACrE,CAAE,QAASC,CAAK,EAAG,MAAKF,EAAA,wBAAAE,CAAA,OAAC,QAAO,sCAAK,eAAC,eAAAA,CAAA,uBAC5CA,EAAI,UAAU,EAAI,OAAO,EACzBA,EAAI,UAAU,IAAM,OAAO,IAC3B,MAAMC,EAAoBD,EAAI,OAAOH,EAAO,OAAO,EACnD,OAAO,yBAA2BI,CAClC,CACD,OAAO,OAAO,wBACf","names":["getEditorInstance","resolve","intervalId","Editor","__vitePreload","n","Vue","EditorConstructor"],"ignoreList":[],"sources":["../src/components/Editor.singleton.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Get instance of Editor component\n * Using singleton approach here to avoid duplicate yjs import error\n * @return {Promise<*>}\n */\nexport default async function getEditorInstance() {\n\tif (!window._nc_text_editor_instance) {\n\t\tif (window._nc_text_editor_importing) {\n\t\t\treturn await new Promise((resolve) => {\n\t\t\t\tconst intervalId = setInterval(() => {\n\t\t\t\t\tif (!window._nc_text_editor_instance) {\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\tresolve(window._nc_text_editor_instance)\n\t\t\t\t\tclearInterval(intervalId)\n\t\t\t\t}, 200)\n\t\t\t})\n\t\t} else {\n\t\t\twindow._nc_text_editor_importing = true\n\t\t}\n\t\tconst Editor = await import(/* webpackChunkName: \"editor\" */'./Editor.vue')\n\t\tconst { default: Vue } = await import('vue')\n\t\tVue.prototype.t = window.t\n\t\tVue.prototype.OCA = window.OCA\n\t\tconst EditorConstructor = Vue.extend(Editor.default)\n\t\twindow._nc_text_editor_instance = EditorConstructor\n\t}\n\treturn window._nc_text_editor_instance\n}\n"],"file":"js/Editor.singleton-Dt_yL0G8.chunk.mjs"}
{"version":3,"mappings":";;gEAUe,eAAeA,GAAoB,CACjD,GAAI,CAAC,OAAO,yBAA0B,CACrC,GAAI,OAAO,0BACV,OAAO,MAAM,IAAI,QAASC,GAAY,CACrC,MAAMC,EAAa,YAAY,IAAM,CAC/B,OAAO,2BAGZD,EAAQ,OAAO,wBAAwB,EACvC,cAAcC,CAAU,EACxB,EAAE,GAAG,CACV,CAAI,EAED,OAAO,0BAA4B,GAEpC,MAAMC,EAAS,MAAMC,EAAA,WAAuC,6BAAc,EAAC,KAAAC,KAAA,4FACrE,CAAE,QAASC,CAAK,EAAG,MAAKF,EAAA,wBAAAE,CAAA,OAAC,QAAO,sCAAK,eAAC,eAAAA,CAAA,uBAC5CA,EAAI,UAAU,EAAI,OAAO,EACzBA,EAAI,UAAU,IAAM,OAAO,IAC3B,MAAMC,EAAoBD,EAAI,OAAOH,EAAO,OAAO,EACnD,OAAO,yBAA2BI,CAClC,CACD,OAAO,OAAO,wBACf","names":["getEditorInstance","resolve","intervalId","Editor","__vitePreload","n","Vue","EditorConstructor"],"ignoreList":[],"sources":["../src/components/Editor.singleton.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Get instance of Editor component\n * Using singleton approach here to avoid duplicate yjs import error\n * @return {Promise<*>}\n */\nexport default async function getEditorInstance() {\n\tif (!window._nc_text_editor_instance) {\n\t\tif (window._nc_text_editor_importing) {\n\t\t\treturn await new Promise((resolve) => {\n\t\t\t\tconst intervalId = setInterval(() => {\n\t\t\t\t\tif (!window._nc_text_editor_instance) {\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\tresolve(window._nc_text_editor_instance)\n\t\t\t\t\tclearInterval(intervalId)\n\t\t\t\t}, 200)\n\t\t\t})\n\t\t} else {\n\t\t\twindow._nc_text_editor_importing = true\n\t\t}\n\t\tconst Editor = await import(/* webpackChunkName: \"editor\" */'./Editor.vue')\n\t\tconst { default: Vue } = await import('vue')\n\t\tVue.prototype.t = window.t\n\t\tVue.prototype.OCA = window.OCA\n\t\tconst EditorConstructor = Vue.extend(Editor.default)\n\t\twindow._nc_text_editor_instance = EditorConstructor\n\t}\n\treturn window._nc_text_editor_instance\n}\n"],"file":"js/Editor.singleton-D5KpL5c4.chunk.mjs"}

Просмотреть файл

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-BFlNVq00.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-Dik_-MAq.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-BfLQoXX6.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-BLyMntzZ.chunk.css')])))=>i.map(i=>d[i]);
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-2dYw23I2.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-Dik_-MAq.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-BfLQoXX6.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-Byi0tyxS.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as i}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{n as l}from"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import{b as r}from"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";const a={name:"PublicFilesEditor",components:{NcModal:r,Editor:()=>i(()=>import("./Editor-BFlNVq00.chunk.mjs").then(t=>t.b),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url)},props:{fileId:{type:Number,default:null},relativePath:{type:String,default:null},active:{type:Boolean,default:!1},shareToken:{type:String,default:null},mimeType:{type:String,default:null}},computed:{fileName(){return this.relativePath.substring(this.relativePath.lastIndexOf("/")+1)}},methods:{close(){this.$emit("close")}}};var o=function(){var t=this,e=t._self._c;return t.active?e("NcModal",{attrs:{name:t.fileName},on:{close:t.close}},[e("Editor",{attrs:{"file-id":t.fileId,"relative-path":t.relativePath,active:t.active,"share-token":t.shareToken,mime:t.mimeType}})],1):t._e()},n=[],m=l(a,o,n,!1,null,null,null,null);const _=m.exports;export{_ as default};
import{_ as i}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{n as l}from"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import{b as r}from"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";const a={name:"PublicFilesEditor",components:{NcModal:r,Editor:()=>i(()=>import("./Editor-2dYw23I2.chunk.mjs").then(t=>t.b),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url)},props:{fileId:{type:Number,default:null},relativePath:{type:String,default:null},active:{type:Boolean,default:!1},shareToken:{type:String,default:null},mimeType:{type:String,default:null}},computed:{fileName(){return this.relativePath.substring(this.relativePath.lastIndexOf("/")+1)}},methods:{close(){this.$emit("close")}}};var o=function(){var t=this,e=t._self._c;return t.active?e("NcModal",{attrs:{name:t.fileName},on:{close:t.close}},[e("Editor",{attrs:{"file-id":t.fileId,"relative-path":t.relativePath,active:t.active,"share-token":t.shareToken,mime:t.mimeType}})],1):t._e()},n=[],m=l(a,o,n,!1,null,null,null,null);const _=m.exports;export{_ as default};

Просмотреть файл

@ -1 +1 @@
{"version":3,"mappings":";;8XAkBA,MAAAA,EAAA,CACA,yBACA,YACA,QAAAC,EACA,WAAAC,EAAA,+CAAAC,KAAA,2FACA,EACA,OACA,QACA,YACA,YACA,EACA,cACA,YACA,YACA,EACA,QACA,aACA,UACA,EACA,YACA,YACA,YACA,EACA,UACA,YACA,YACA,CACA,EACA,UACA,WACA,wEACA,CACA,EACA,SACA,QACA,mBACA,CACA,CACA","names":["_sfc_main","NcModal","__vitePreload","n"],"ignoreList":[],"sources":["../src/components/PublicFilesEditor.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<NcModal v-if=\"active\" :name=\"fileName\" @close=\"close\">\n\t\t<Editor :file-id=\"fileId\"\n\t\t\t:relative-path=\"relativePath\"\n\t\t\t:active=\"active\"\n\t\t\t:share-token=\"shareToken\"\n\t\t\t:mime=\"mimeType\" />\n\t</NcModal>\n</template>\n\n<script>\nimport { NcModal } from '@nextcloud/vue'\n\nexport default {\n\tname: 'PublicFilesEditor',\n\tcomponents: {\n\t\tNcModal,\n\t\tEditor: () => import(/* webpackChunkName: \"editor\" */'./Editor.vue'),\n\t},\n\tprops: {\n\t\tfileId: {\n\t\t\ttype: Number,\n\t\t\tdefault: null,\n\t\t},\n\t\trelativePath: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\tactive: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\tshareToken: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\tmimeType: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\tcomputed: {\n\t\tfileName() {\n\t\t\treturn this.relativePath.substring(this.relativePath.lastIndexOf('/') + 1)\n\t\t},\n\t},\n\tmethods: {\n\t\tclose() {\n\t\t\tthis.$emit('close')\n\t\t},\n\t},\n}\n</script>\n"],"file":"js/PublicFilesEditor-DtfzPuxT.chunk.mjs"}
{"version":3,"mappings":";;8XAkBA,MAAAA,EAAA,CACA,yBACA,YACA,QAAAC,EACA,WAAAC,EAAA,+CAAAC,KAAA,2FACA,EACA,OACA,QACA,YACA,YACA,EACA,cACA,YACA,YACA,EACA,QACA,aACA,UACA,EACA,YACA,YACA,YACA,EACA,UACA,YACA,YACA,CACA,EACA,UACA,WACA,wEACA,CACA,EACA,SACA,QACA,mBACA,CACA,CACA","names":["_sfc_main","NcModal","__vitePreload","n"],"ignoreList":[],"sources":["../src/components/PublicFilesEditor.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<NcModal v-if=\"active\" :name=\"fileName\" @close=\"close\">\n\t\t<Editor :file-id=\"fileId\"\n\t\t\t:relative-path=\"relativePath\"\n\t\t\t:active=\"active\"\n\t\t\t:share-token=\"shareToken\"\n\t\t\t:mime=\"mimeType\" />\n\t</NcModal>\n</template>\n\n<script>\nimport { NcModal } from '@nextcloud/vue'\n\nexport default {\n\tname: 'PublicFilesEditor',\n\tcomponents: {\n\t\tNcModal,\n\t\tEditor: () => import(/* webpackChunkName: \"editor\" */'./Editor.vue'),\n\t},\n\tprops: {\n\t\tfileId: {\n\t\t\ttype: Number,\n\t\t\tdefault: null,\n\t\t},\n\t\trelativePath: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\tactive: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\tshareToken: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\tmimeType: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\tcomputed: {\n\t\tfileName() {\n\t\t\treturn this.relativePath.substring(this.relativePath.lastIndexOf('/') + 1)\n\t\t},\n\t},\n\tmethods: {\n\t\tclose() {\n\t\t\tthis.$emit('close')\n\t\t},\n\t},\n}\n</script>\n"],"file":"js/PublicFilesEditor-D1hPH9ML.chunk.mjs"}

Просмотреть файл

@ -1,2 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{v as h,c}from"./index-C2LDH5Ba.chunk.mjs";import{s,u as o}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{g as l}from"./Editor.singleton-Dt_yL0G8.chunk.mjs";import{R as d}from"./RichTextReader-BTuOeTkV.chunk.mjs";import{n as p}from"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./RichText-Cr6jEvg7.chunk.mjs";import"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./index-BcT2uKOB.chunk.mjs";import"./MediaHandler.provider-D-YH1kh0.chunk.mjs";import"./logger-BVmsFChG.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";const n=!!document.getElementById("isPublic"),u=h("apps/text"+(n?"/public":"")+"/workspace",2),r=["Readme.md","README.md","readme.md"],f={name:"RichWorkspace",components:{RichTextReader:d,Editor:l},props:{content:{type:String,default:""},path:{type:String,required:!0},active:{type:Boolean,default:!0},hasRichWorkspace:{type:Boolean,default:!1}},data(){return{localHasRichWorkspace:!1,focus:!1,folder:null,file:null,loaded:!1,ready:!1,autofocus:!1,hideMenu:!0,darkTheme:OCA.Accessibility&&OCA.Accessibility.theme==="dark",enabled:OCA.Text.RichWorkspaceEnabled}},computed:{shareToken(){var e;return(e=document.getElementById("sharingToken"))==null?void 0:e.value}},watch:{path(){this.getFileInfo()},focus(e){e||document.querySelector("#rich-workspace .text-editor__main").scrollTo(0,0)},hasRichWorkspace(e){this.localHasRichWorkspace=e}},mounted(){this.localHasRichWorkspace=this.hasRichWorkspace,this.enabled&&this.hasRichWorkspace&&this.getFileInfo(),s("Text::showRichWorkspace",this.showRichWorkspace),s("Text::hideRichWorkspace",this.hideRichWorkspace),s("files:node:created",this.onFileCreated),s("files:node:deleted",this.onFileDeleted),s("files:node:renamed",this.onFileRenamed),this.listenKeydownEvents()},beforeDestroy(){o("Text::showRichWorkspace",this.showRichWorkspace),o("Text::hideRichWorkspace",this.hideRichWorkspace),o("files:node:created",this.onFileCreated),o("files:node:deleted",this.onFileDeleted),o("files:node:renamed",this.onFileRenamed),this.unlistenKeydownEvents()},methods:{onFocus(){this.focus=!0,this.hideMenu=!1,this.unlistenKeydownEvents()},reset(){this.localHasRichWorkspace=!1,this.file=null,this.focus=!1,this.$nextTick(()=>{this.creating=!1,this.getFileInfo()})},getFileInfo(e){if(!this.enabled)return;this.file=null,this.ready=!1,this.loaded=!0,this.autofocus=!1;const t={path:this.path};return n&&(t.shareToken=this.shareToken),c.get(u,{params:t}).then(i=>{const a=i.data.ocs.data;return this.folder=a.folder||null,this.file=a.file,this.editing=!0,this.loaded=!0,this.autofocus=e||!1,this.localHasRichWorkspace=!0,!0}).catch(i=>(i.response.data.ocs&&i.response.data.ocs.data.folder?this.folder=i.response.data.ocs.data.folder:this.folder=null,this.file=null,this.loaded=!0,this.ready=!0,this.creating=!1,!1))},showRichWorkspace(e){this.enabled=!0,this.getFileInfo((e==null?void 0:e.autofocus)||!1)},hideRichWorkspace(){this.enabled=!1},listenKeydownEvents(){window.addEventListener("keydown",this.onKeydown)},unlistenKeydownEvents(){window.removeEventListener("keydown",this.onKeydown)},onKeydown(e){e.key==="Tab"&&(this.hideMenu=!1)},onFileCreated(e){r.includes(e.basename)&&(this.localHasRichWorkspace=!0,this.getFileInfo(!0))},onFileDeleted(e){var t;e.path===((t=this.file)==null?void 0:t.path)&&(this.localHasRichWorkspace=!1)},onFileRenamed(e){var t,i;r.includes(e.basename)?this.localHasRichWorkspace=!0:e.fileid===((t=this.file)==null?void 0:t.id)&&e.path!==((i=this.file)==null?void 0:i.path)&&(this.localHasRichWorkspace=!1)}}};var m=function(){var e=this,t=e._self._c;return e.enabled&&e.localHasRichWorkspace?t("div",{class:{focus:e.focus,dark:e.darkTheme},attrs:{id:"rich-workspace"}},[!e.loaded||!e.ready?t("RichTextReader",{staticClass:"rich-workspace--preview",attrs:{content:e.content}}):e._e(),e.file?t("Editor",{directives:[{name:"show",rawName:"v-show",value:e.ready,expression:"ready"}],key:e.file.path,attrs:{"file-id":e.file.id,"relative-path":e.file.path,"share-token":e.shareToken,mime:e.file.mimetype,autofocus:e.autofocus,"hide-menu":e.hideMenu,active:"","rich-workspace":""},on:{ready:function(i){e.ready=!0},focus:e.onFocus,error:e.reset}}):e._e()],1):e._e()},k=[],R=p(f,m,k,!1,null,"2a5116a9",null,null);const A=R.exports;export{A as default};
import{v as h,c}from"./index-C2LDH5Ba.chunk.mjs";import{s,u as o}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{g as l}from"./Editor.singleton-D5KpL5c4.chunk.mjs";import{R as d}from"./RichTextReader-BTuOeTkV.chunk.mjs";import{n as p}from"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./RichText-Cr6jEvg7.chunk.mjs";import"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./index-BcT2uKOB.chunk.mjs";import"./MediaHandler.provider-D-YH1kh0.chunk.mjs";import"./logger-BVmsFChG.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";const n=!!document.getElementById("isPublic"),u=h("apps/text"+(n?"/public":"")+"/workspace",2),r=["Readme.md","README.md","readme.md"],f={name:"RichWorkspace",components:{RichTextReader:d,Editor:l},props:{content:{type:String,default:""},path:{type:String,required:!0},active:{type:Boolean,default:!0},hasRichWorkspace:{type:Boolean,default:!1}},data(){return{localHasRichWorkspace:!1,focus:!1,folder:null,file:null,loaded:!1,ready:!1,autofocus:!1,hideMenu:!0,darkTheme:OCA.Accessibility&&OCA.Accessibility.theme==="dark",enabled:OCA.Text.RichWorkspaceEnabled}},computed:{shareToken(){var e;return(e=document.getElementById("sharingToken"))==null?void 0:e.value}},watch:{path(){this.getFileInfo()},focus(e){e||document.querySelector("#rich-workspace .text-editor__main").scrollTo(0,0)},hasRichWorkspace(e){this.localHasRichWorkspace=e}},mounted(){this.localHasRichWorkspace=this.hasRichWorkspace,this.enabled&&this.hasRichWorkspace&&this.getFileInfo(),s("Text::showRichWorkspace",this.showRichWorkspace),s("Text::hideRichWorkspace",this.hideRichWorkspace),s("files:node:created",this.onFileCreated),s("files:node:deleted",this.onFileDeleted),s("files:node:renamed",this.onFileRenamed),this.listenKeydownEvents()},beforeDestroy(){o("Text::showRichWorkspace",this.showRichWorkspace),o("Text::hideRichWorkspace",this.hideRichWorkspace),o("files:node:created",this.onFileCreated),o("files:node:deleted",this.onFileDeleted),o("files:node:renamed",this.onFileRenamed),this.unlistenKeydownEvents()},methods:{onFocus(){this.focus=!0,this.hideMenu=!1,this.unlistenKeydownEvents()},reset(){this.localHasRichWorkspace=!1,this.file=null,this.focus=!1,this.$nextTick(()=>{this.creating=!1,this.getFileInfo()})},getFileInfo(e){if(!this.enabled)return;this.file=null,this.ready=!1,this.loaded=!0,this.autofocus=!1;const t={path:this.path};return n&&(t.shareToken=this.shareToken),c.get(u,{params:t}).then(i=>{const a=i.data.ocs.data;return this.folder=a.folder||null,this.file=a.file,this.editing=!0,this.loaded=!0,this.autofocus=e||!1,this.localHasRichWorkspace=!0,!0}).catch(i=>(i.response.data.ocs&&i.response.data.ocs.data.folder?this.folder=i.response.data.ocs.data.folder:this.folder=null,this.file=null,this.loaded=!0,this.ready=!0,this.creating=!1,!1))},showRichWorkspace(e){this.enabled=!0,this.getFileInfo((e==null?void 0:e.autofocus)||!1)},hideRichWorkspace(){this.enabled=!1},listenKeydownEvents(){window.addEventListener("keydown",this.onKeydown)},unlistenKeydownEvents(){window.removeEventListener("keydown",this.onKeydown)},onKeydown(e){e.key==="Tab"&&(this.hideMenu=!1)},onFileCreated(e){r.includes(e.basename)&&(this.localHasRichWorkspace=!0,this.getFileInfo(!0))},onFileDeleted(e){var t;e.path===((t=this.file)==null?void 0:t.path)&&(this.localHasRichWorkspace=!1)},onFileRenamed(e){var t,i;r.includes(e.basename)?this.localHasRichWorkspace=!0:e.fileid===((t=this.file)==null?void 0:t.id)&&e.path!==((i=this.file)==null?void 0:i.path)&&(this.localHasRichWorkspace=!1)}}};var m=function(){var e=this,t=e._self._c;return e.enabled&&e.localHasRichWorkspace?t("div",{class:{focus:e.focus,dark:e.darkTheme},attrs:{id:"rich-workspace"}},[!e.loaded||!e.ready?t("RichTextReader",{staticClass:"rich-workspace--preview",attrs:{content:e.content}}):e._e(),e.file?t("Editor",{directives:[{name:"show",rawName:"v-show",value:e.ready,expression:"ready"}],key:e.file.path,attrs:{"file-id":e.file.id,"relative-path":e.file.path,"share-token":e.shareToken,mime:e.file.mimetype,autofocus:e.autofocus,"hide-menu":e.hideMenu,active:"","rich-workspace":""},on:{ready:function(i){e.ready=!0},focus:e.onFocus,error:e.reset}}):e._e()],1):e._e()},k=[],R=p(f,m,k,!1,null,"2a5116a9",null,null);const A=R.exports;export{A as default};

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,2 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{n as i}from"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import{c as n}from"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import{A as o}from"./AvatarWrapper-D3aFeAwk.chunk.mjs";import{C as l,a as p}from"./Editor-BFlNVq00.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./RichText-Cr6jEvg7.chunk.mjs";import"./index-BcT2uKOB.chunk.mjs";import"./MediaHandler.provider-D-YH1kh0.chunk.mjs";import"./logger-BVmsFChG.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./Wrapper-Dik_-MAq.chunk.mjs";import"./_commonjs-dynamic-modules-CSduYUN4.chunk.mjs";const u={name:"SessionList",components:{AvatarWrapper:o,NcPopover:n},props:{sessions:{type:Object,default:()=>({})}},data(){return{myName:""}},computed:{label(){return t("text","Active people")},participantsPopover(){var s;return(s=this.currentSession)!=null&&s.guestName?this.participantsWithoutCurrent:this.participants},participantsWithoutCurrent(){return this.participants.filter(s=>!s.isCurrent)},participants(){return Object.values(this.sessions).filter(s=>s.lastContact>Date.now()/1e3-l&&(s.userId!==null||s.guestName!==null)).sort((s,e)=>s.lastContact<e.lastContact)},currentSession(){return Object.values(this.sessions).find(s=>s.isCurrent)},avatarStyle(){return s=>({opacity:s.lastContact>Date.now()/1e3-p?1:.5})},sessionsVisible(){return this.participantsWithoutCurrent.slice(0,3)}}};var c=function(){var s=this,e=s._self._c;return e("NcPopover",{staticClass:"session-list",attrs:{placement:"bottom"},scopedSlots:s._u([{key:"trigger",fn:function({attrs:r}){return[e("div",[e("button",s._b({staticClass:"avatar-list",attrs:{title:s.label,"aria-label":s.label}},"button",r,!1),[e("div",{staticClass:"avatardiv icon-group"}),s._l(s.sessionsVisible,function(a){return e("AvatarWrapper",{key:a.id,attrs:{session:a,size:30}})})],2)])]}},{key:"default",fn:function(){return[e("div",{staticClass:"session-menu"},[s._t("lastSaved"),e("ul",[s._t("default"),s._l(s.participantsPopover,function(r){return e("li",{key:r.id,style:s.avatarStyle(r)},[e("AvatarWrapper",{attrs:{session:r,size:36}}),e("span",{staticClass:"session-label"},[s._v(" "+s._s(r.userId?r.displayName:r.guestName?r.guestName:s.t("text","Guest"))+" ")]),r.userId===null?e("span",{staticClass:"guest-label"},[s._v("("+s._s(s.t("text","guest"))+")")]):s._e()],1)})],2)],2)]},proxy:!0}],null,!0)})},m=[],v=i(u,c,m,!1,null,"6c8e0995",null,null);const O=v.exports;export{O as default};
import{n as i}from"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import{c as n}from"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import{A as o}from"./AvatarWrapper-D3aFeAwk.chunk.mjs";import{C as l,a as p}from"./Editor-2dYw23I2.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./RichText-Cr6jEvg7.chunk.mjs";import"./index-BcT2uKOB.chunk.mjs";import"./MediaHandler.provider-D-YH1kh0.chunk.mjs";import"./logger-BVmsFChG.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./Wrapper-Dik_-MAq.chunk.mjs";import"./_commonjs-dynamic-modules-CSduYUN4.chunk.mjs";const u={name:"SessionList",components:{AvatarWrapper:o,NcPopover:n},props:{sessions:{type:Object,default:()=>({})}},data(){return{myName:""}},computed:{label(){return t("text","Active people")},participantsPopover(){var s;return(s=this.currentSession)!=null&&s.guestName?this.participantsWithoutCurrent:this.participants},participantsWithoutCurrent(){return this.participants.filter(s=>!s.isCurrent)},participants(){return Object.values(this.sessions).filter(s=>s.lastContact>Date.now()/1e3-l&&(s.userId!==null||s.guestName!==null)).sort((s,e)=>s.lastContact<e.lastContact)},currentSession(){return Object.values(this.sessions).find(s=>s.isCurrent)},avatarStyle(){return s=>({opacity:s.lastContact>Date.now()/1e3-p?1:.5})},sessionsVisible(){return this.participantsWithoutCurrent.slice(0,3)}}};var c=function(){var s=this,e=s._self._c;return e("NcPopover",{staticClass:"session-list",attrs:{placement:"bottom"},scopedSlots:s._u([{key:"trigger",fn:function({attrs:r}){return[e("div",[e("button",s._b({staticClass:"avatar-list",attrs:{title:s.label,"aria-label":s.label}},"button",r,!1),[e("div",{staticClass:"avatardiv icon-group"}),s._l(s.sessionsVisible,function(a){return e("AvatarWrapper",{key:a.id,attrs:{session:a,size:30}})})],2)])]}},{key:"default",fn:function(){return[e("div",{staticClass:"session-menu"},[s._t("lastSaved"),e("ul",[s._t("default"),s._l(s.participantsPopover,function(r){return e("li",{key:r.id,style:s.avatarStyle(r)},[e("AvatarWrapper",{attrs:{session:r,size:36}}),e("span",{staticClass:"session-label"},[s._v(" "+s._s(r.userId?r.displayName:r.guestName?r.guestName:s.t("text","Guest"))+" ")]),r.userId===null?e("span",{staticClass:"guest-label"},[s._v("("+s._s(s.t("text","guest"))+")")]):s._e()],1)})],2)],2)]},proxy:!0}],null,!0)})},m=[],v=i(u,c,m,!1,null,"6c8e0995",null,null);const O=v.exports;export{O as default};

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,2 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{V as t}from"./vue.runtime.esm-DexIh3sa.chunk.mjs";import{c as d}from"./index-C2LDH5Ba.chunk.mjs";import{a4 as s}from"./RichText-Cr6jEvg7.chunk.mjs";import{N as a}from"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import{P as i}from"./PlainTextReader-BUnLFPqt.chunk.mjs";import{R as n}from"./RichTextReader-BTuOeTkV.chunk.mjs";import{t as r,f as l,n as m}from"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import{g as u}from"./token-DpxtlN7K.chunk.mjs";import{g as c}from"./Editor.singleton-Dt_yL0G8.chunk.mjs";import"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-BcT2uKOB.chunk.mjs";import"./MediaHandler.provider-D-YH1kh0.chunk.mjs";import"./logger-BVmsFChG.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";t.prototype.t=r,t.prototype.n=l;const p={name:"ViewerComponent",components:{NcButton:t.extend(a),PencilIcon:t.extend(s),RichTextReader:t.extend(n),PlainTextReader:t.extend(i),Editor:c},provide(){return{isEmbedded:this.isEmbedded}},props:{filename:{type:String,default:null},fileid:{type:Number,default:null},active:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!0},shareToken:{type:String,default:()=>u()},mime:{type:String,default:null},showOutlineOutside:{type:Boolean,default:!1},permissions:{type:String,default:""},source:{type:String,default:void 0},isEmbedded:{type:Boolean,default:!1}},data(){return{content:"",hasToggledInteractiveEmbedding:!1}},computed:{useSourceView(){return this.source&&(this.fileVersion||!this.fileid||this.isEmbedded)&&!this.hasToggledInteractiveEmbedding},readerComponent(){return this.mime==="text/markdown"?n:i}},watch:{source(){this.loadFileContent()}},mounted(){this.loadFileContent()},methods:{t:r,async loadFileContent(){if(this.useSourceView){const e=await d.get(this.source);this.content=e.data,this.contentLoaded=!0}this.$emit("update:loaded",!0)},toggleEdit(){this.hasToggledInteractiveEmbedding=!0}}};var f=function(){var e=this,o=e._self._c;return e.useSourceView?o("div",{staticClass:"text-editor source-viewer",attrs:{id:"editor-container","data-text-el":"editor-container"}},[o(e.readerComponent,{tag:"Component",attrs:{content:e.content}}),e.isEmbedded?o("NcButton",{staticClass:"toggle-interactive",on:{click:e.toggleEdit},scopedSlots:e._u([{key:"icon",fn:function(){return[o("PencilIcon")]},proxy:!0}],null,!1,411976917)},[e._v(" "+e._s(e.t("text","Edit"))+" ")]):e._e()],1):o("Editor",{class:{"text-editor--embedding":e.isEmbedded},attrs:{"file-id":e.fileid,"relative-path":e.filename,active:e.active||e.isEmbedded,autofocus:e.autofocus,"share-token":e.shareToken,mime:e.mime,"show-outline-outside":e.showOutlineOutside}})},h=[],g=m(p,f,h,!1,null,"e6b62ae8",null,null);const R=g.exports;export{R as default};
import{V as t}from"./vue.runtime.esm-DexIh3sa.chunk.mjs";import{c as d}from"./index-C2LDH5Ba.chunk.mjs";import{a4 as s}from"./RichText-Cr6jEvg7.chunk.mjs";import{N as a}from"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import{P as i}from"./PlainTextReader-BUnLFPqt.chunk.mjs";import{R as n}from"./RichTextReader-BTuOeTkV.chunk.mjs";import{t as r,f as l,n as m}from"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import{g as u}from"./token-DpxtlN7K.chunk.mjs";import{g as c}from"./Editor.singleton-D5KpL5c4.chunk.mjs";import"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-BcT2uKOB.chunk.mjs";import"./MediaHandler.provider-D-YH1kh0.chunk.mjs";import"./logger-BVmsFChG.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";t.prototype.t=r,t.prototype.n=l;const p={name:"ViewerComponent",components:{NcButton:t.extend(a),PencilIcon:t.extend(s),RichTextReader:t.extend(n),PlainTextReader:t.extend(i),Editor:c},provide(){return{isEmbedded:this.isEmbedded}},props:{filename:{type:String,default:null},fileid:{type:Number,default:null},active:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!0},shareToken:{type:String,default:()=>u()},mime:{type:String,default:null},showOutlineOutside:{type:Boolean,default:!1},permissions:{type:String,default:""},source:{type:String,default:void 0},isEmbedded:{type:Boolean,default:!1}},data(){return{content:"",hasToggledInteractiveEmbedding:!1}},computed:{useSourceView(){return this.source&&(this.fileVersion||!this.fileid||this.isEmbedded)&&!this.hasToggledInteractiveEmbedding},readerComponent(){return this.mime==="text/markdown"?n:i}},watch:{source(){this.loadFileContent()}},mounted(){this.loadFileContent()},methods:{t:r,async loadFileContent(){if(this.useSourceView){const e=await d.get(this.source);this.content=e.data,this.contentLoaded=!0}this.$emit("update:loaded",!0)},toggleEdit(){this.hasToggledInteractiveEmbedding=!0}}};var f=function(){var e=this,o=e._self._c;return e.useSourceView?o("div",{staticClass:"text-editor source-viewer",attrs:{id:"editor-container","data-text-el":"editor-container"}},[o(e.readerComponent,{tag:"Component",attrs:{content:e.content}}),e.isEmbedded?o("NcButton",{staticClass:"toggle-interactive",on:{click:e.toggleEdit},scopedSlots:e._u([{key:"icon",fn:function(){return[o("PencilIcon")]},proxy:!0}],null,!1,411976917)},[e._v(" "+e._s(e.t("text","Edit"))+" ")]):e._e()],1):o("Editor",{class:{"text-editor--embedding":e.isEmbedded},attrs:{"file-id":e.fileid,"relative-path":e.filename,active:e.active||e.isEmbedded,autofocus:e.autofocus,"share-token":e.shareToken,mime:e.mime,"show-outline-outside":e.showOutlineOutside}})},h=[],g=m(p,f,h,!1,null,"e6b62ae8",null,null);const R=g.exports;export{R as default};

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/PublicFilesEditor-DtfzPuxT.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/RichWorkspace-BtANjD3-.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor.singleton-Dt_yL0G8.chunk.mjs'),window.OC.filePath('text', '', 'js/RichTextReader-BTuOeTkV.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'css/RichTextReader-jSftILGk.chunk.css'),window.OC.filePath('text', '', 'css/RichWorkspace-irRpBmr3.chunk.css')])))=>i.map(i=>d[i]);
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/PublicFilesEditor-D1hPH9ML.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/RichWorkspace-Agq8hrez.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor.singleton-D5KpL5c4.chunk.mjs'),window.OC.filePath('text', '', 'js/RichTextReader-BTuOeTkV.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'css/RichTextReader-jSftILGk.chunk.css'),window.OC.filePath('text', '', 'css/RichWorkspace-irRpBmr3.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as f,l as _,e as O}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{H as g,b as E,N as v,P as A,F}from"./index-C2AIlEM1.chunk.mjs";import{h as I,c as b}from"./index-C2LDH5Ba.chunk.mjs";import{l as x}from"./index-Ubm2itxG.chunk.mjs";import{g as k}from"./token-DpxtlN7K.chunk.mjs";import{o as w}from"./mime-ChWVRLiA.chunk.mjs";import{s as R}from"./index-BcT2uKOB.chunk.mjs";import{s as N,a as P,p as T}from"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";const V="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='mdi-text'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M21,6V8H3V6H21M3,18H12V16H3V18M3,13H21V11H3V13Z'%20/%3e%3c/svg%3e",h="Edit with text app",z=()=>{const i={attach(e){const o=e.fileList;o.id!=="files"&&o.id!=="files.public"||e.addMenuEntry({id:"file",displayName:t("text","New text file"),templateName:t("text","New text file")+"."+x("text","default_file_extension"),iconClass:"icon-filetype-text",fileType:"file",actionLabel:t("text","Create new text file"),actionHandler(c){o.createFile(c).then(function(a,d){const n=new OCA.Files.FileInfoModel(d);typeof OCA.Viewer<"u"?OCA.Files.fileActions.triggerAction("view",n,o):typeof OCA.Viewer>"u"&&OCA.Files.fileActions.triggerAction(h,n,o)})}})}};OC.Plugins.register("OCA.Files.NewFileMenu",i)},G=()=>{const i=k(),e=document.querySelector("#preview table.files-filestable");if(!i||!e){const o=document.createElement("div");o.id="text-viewer-fallback",document.body.appendChild(o);const c=a=>OCA.Files.fileActions.register(a,h,OC.PERMISSION_UPDATE|OC.PERMISSION_READ,I("core","actions/rename"),d=>{const n=window.FileList.findFile(d);Promise.all([f(()=>import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(r=>r.v),[],import.meta.url),f(()=>import("./PublicFilesEditor-DtfzPuxT.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)]).then(r=>{const s=window.FileList.getCurrentDirectory()+"/"+d,l=r[0].default;l.prototype.t=window.t,l.prototype.n=window.n,l.prototype.OCA=window.OCA;const u=r[1].default;new l({render:function(y){const C=this;return y(u,{props:{fileId:n?n.id:null,active:!0,shareToken:i,relativePath:s,mimeType:n.mimetype},on:{close:function(){C.$destroy()}}})}}).$mount(o)})},t("text","Edit"));for(let a=0;a<w.length;a++)c(w[a]),OCA.Files.fileActions.setDefault(w[a],h)}};let m=!1;const J=()=>{const i=t("text","Readme")+"."+x("text","default_file_extension");E({id:"rich-workspace-init",displayName:t("text","Add folder description"),category:v.CreateNew,enabled(e){return Number(e.attributes["rich-workspace-file"])?!1:(e.permissions&A.CREATE)!==0},iconSvgInline:V,async handler(e,o){var s,l;const c=o.map(u=>u.basename);if(c.includes(i)){N(t("text",'"{name}" already exist!',{name:i}));return}const a=e.encodedSource+"/"+encodeURIComponent(i),d=await b({method:"PUT",url:a,headers:{Overwrite:"F"}}),n=parseInt(d.headers["oc-fileid"]),r=new F({source:e.source+"/"+i,id:n,mtime:new Date,mime:"text/markdown",owner:((s=_())==null?void 0:s.uid)||null,permissions:A.ALL,root:(e==null?void 0:e.root)||"/files/"+((l=_())==null?void 0:l.uid)});P(t("text",'Created "{name}"',{name:i})),c.length===0&&(m=r),O("files:node:created",r)}})};let p=null;const K=new g({id:"workspace",order:10,enabled(i,e){return e.id==="files"||e.id==="favorites"},async render(i,e,o){p&&(p.$destroy(),p=null);const c=!!e.attributes["rich-workspace-file"]||!!m,a=m?T.dirname(m.path):e.path,d=m?"":e.attributes["rich-workspace"];m=!1;const{default:n}=await f(async()=>{const{default:r}=await import("./RichWorkspace-BtANjD3-.chunk.mjs");return{default:r}},__vite__mapDeps([11,7,4,1,2,12,13,14,3,5,6,8,9,10,15,16,17,18,19,20,21]),import.meta.url);f(()=>import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(r=>r.v),[],import.meta.url).then(r=>{i.id="files-workspace-wrapper";const s=r.default;s.prototype.t=window.t,s.prototype.n=window.n,s.prototype.OCA=window.OCA;const l=s.extend(n);p=new l({propsData:{path:a,hasRichWorkspace:c,content:d},store:R}).$mount(i)})},updated(i,e){m=!1;const o=!!i.attributes["rich-workspace-file"];p.path=i.path,p.hasRichWorkspace=o,p.content=i.attributes["rich-workspace"]}});export{h as FILE_ACTION_IDENTIFIER,K as FilesWorkspaceHeader,J as addMenuRichWorkspace,G as registerFileActionFallback,z as registerFileCreate};
import{_ as f,l as _,e as O}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{H as g,b as E,N as v,P as A,F}from"./index-C2AIlEM1.chunk.mjs";import{h as I,c as b}from"./index-C2LDH5Ba.chunk.mjs";import{l as x}from"./index-Ubm2itxG.chunk.mjs";import{g as k}from"./token-DpxtlN7K.chunk.mjs";import{o as w}from"./mime-ChWVRLiA.chunk.mjs";import{s as R}from"./index-BcT2uKOB.chunk.mjs";import{s as N,a as P,p as T}from"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";const V="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='mdi-text'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M21,6V8H3V6H21M3,18H12V16H3V18M3,13H21V11H3V13Z'%20/%3e%3c/svg%3e",h="Edit with text app",z=()=>{const i={attach(e){const o=e.fileList;o.id!=="files"&&o.id!=="files.public"||e.addMenuEntry({id:"file",displayName:t("text","New text file"),templateName:t("text","New text file")+"."+x("text","default_file_extension"),iconClass:"icon-filetype-text",fileType:"file",actionLabel:t("text","Create new text file"),actionHandler(c){o.createFile(c).then(function(a,d){const n=new OCA.Files.FileInfoModel(d);typeof OCA.Viewer<"u"?OCA.Files.fileActions.triggerAction("view",n,o):typeof OCA.Viewer>"u"&&OCA.Files.fileActions.triggerAction(h,n,o)})}})}};OC.Plugins.register("OCA.Files.NewFileMenu",i)},G=()=>{const i=k(),e=document.querySelector("#preview table.files-filestable");if(!i||!e){const o=document.createElement("div");o.id="text-viewer-fallback",document.body.appendChild(o);const c=a=>OCA.Files.fileActions.register(a,h,OC.PERMISSION_UPDATE|OC.PERMISSION_READ,I("core","actions/rename"),d=>{const n=window.FileList.findFile(d);Promise.all([f(()=>import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(r=>r.v),[],import.meta.url),f(()=>import("./PublicFilesEditor-D1hPH9ML.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)]).then(r=>{const s=window.FileList.getCurrentDirectory()+"/"+d,l=r[0].default;l.prototype.t=window.t,l.prototype.n=window.n,l.prototype.OCA=window.OCA;const u=r[1].default;new l({render:function(y){const C=this;return y(u,{props:{fileId:n?n.id:null,active:!0,shareToken:i,relativePath:s,mimeType:n.mimetype},on:{close:function(){C.$destroy()}}})}}).$mount(o)})},t("text","Edit"));for(let a=0;a<w.length;a++)c(w[a]),OCA.Files.fileActions.setDefault(w[a],h)}};let m=!1;const J=()=>{const i=t("text","Readme")+"."+x("text","default_file_extension");E({id:"rich-workspace-init",displayName:t("text","Add folder description"),category:v.CreateNew,enabled(e){return Number(e.attributes["rich-workspace-file"])?!1:(e.permissions&A.CREATE)!==0},iconSvgInline:V,async handler(e,o){var s,l;const c=o.map(u=>u.basename);if(c.includes(i)){N(t("text",'"{name}" already exist!',{name:i}));return}const a=e.encodedSource+"/"+encodeURIComponent(i),d=await b({method:"PUT",url:a,headers:{Overwrite:"F"}}),n=parseInt(d.headers["oc-fileid"]),r=new F({source:e.source+"/"+i,id:n,mtime:new Date,mime:"text/markdown",owner:((s=_())==null?void 0:s.uid)||null,permissions:A.ALL,root:(e==null?void 0:e.root)||"/files/"+((l=_())==null?void 0:l.uid)});P(t("text",'Created "{name}"',{name:i})),c.length===0&&(m=r),O("files:node:created",r)}})};let p=null;const K=new g({id:"workspace",order:10,enabled(i,e){return e.id==="files"||e.id==="favorites"},async render(i,e,o){p&&(p.$destroy(),p=null);const c=!!e.attributes["rich-workspace-file"]||!!m,a=m?T.dirname(m.path):e.path,d=m?"":e.attributes["rich-workspace"];m=!1;const{default:n}=await f(async()=>{const{default:r}=await import("./RichWorkspace-Agq8hrez.chunk.mjs");return{default:r}},__vite__mapDeps([11,7,4,1,2,12,13,14,3,5,6,8,9,10,15,16,17,18,19,20,21]),import.meta.url);f(()=>import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(r=>r.v),[],import.meta.url).then(r=>{i.id="files-workspace-wrapper";const s=r.default;s.prototype.t=window.t,s.prototype.n=window.n,s.prototype.OCA=window.OCA;const l=s.extend(n);p=new l({propsData:{path:a,hasRichWorkspace:c,content:d},store:R}).$mount(i)})},updated(i,e){m=!1;const o=!!i.attributes["rich-workspace-file"];p.path=i.path,p.hasRichWorkspace=o,p.content=i.attributes["rich-workspace"]}});export{h as FILE_ACTION_IDENTIFIER,K as FilesWorkspaceHeader,J as addMenuRichWorkspace,G as registerFileActionFallback,z as registerFileCreate};

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/MarkdownContentEditor-hggF5nLT.chunk.mjs'),window.OC.filePath('text', '', 'js/Wrapper-Dik_-MAq.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'css/Wrapper-BfLQoXX6.chunk.css'),window.OC.filePath('text', '', 'css/MarkdownContentEditor-B_SY1GJM.chunk.css'),window.OC.filePath('text', '', 'js/Editor-BFlNVq00.chunk.mjs'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-BLyMntzZ.chunk.css')])))=>i.map(i=>d[i]);
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/MarkdownContentEditor-hggF5nLT.chunk.mjs'),window.OC.filePath('text', '', 'js/Wrapper-Dik_-MAq.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'css/Wrapper-BfLQoXX6.chunk.css'),window.OC.filePath('text', '', 'css/MarkdownContentEditor-B_SY1GJM.chunk.css'),window.OC.filePath('text', '', 'js/Editor-2dYw23I2.chunk.mjs'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-Byi0tyxS.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
var $=o=>{throw TypeError(o)};var v=(o,t,e)=>t.has(o)||$("Cannot "+e);var n=(o,t,e)=>(v(o,t,"read from private field"),e?e.call(o):t.get(o)),O=(o,t,e)=>t.has(o)?$("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(o):t.set(o,e),f=(o,t,e,i)=>(v(o,t,"write to private field"),i?i.call(o,e):t.set(o,e),e),d=(o,t,e)=>(v(o,t,"access private method"),e);import{_,s as H}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{V as m}from"./vue.runtime.esm-DexIh3sa.chunk.mjs";import{s as R}from"./index-BcT2uKOB.chunk.mjs";import{A as U,E as B,H as D,a as N,b as Q}from"./MediaHandler.provider-D-YH1kh0.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import"./logger-BVmsFChG.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";const F="1.1";m.prototype.t=window.t,m.prototype.n=window.n,m.prototype.OCA=window.OCA,window.OCA.Text={...window.OCA.Text};var r,h,s,u,g;class j{constructor(t,e){O(this,s);O(this,r);O(this,h);return f(this,r,t),f(this,h,e),d(this,s,g).call(this),this}onLoaded(t=()=>{}){return n(this,r).$on("ready",()=>{t()}),this}onUpdate(t=()=>{}){return n(this,r).$on("update:content",e=>{t(e)}),this}onOutlineToggle(t=()=>{}){return n(this,r).$on("outline-toggled",e=>{t(e)}),this}onSearch(t=()=>{}){return H("text:editor:search-results",t),this}render(t){t.innerHTML="";const e=document.createElement("div");return t.appendChild(e),n(this,r).$mount(e),this}destroy(){n(this,r).$destroy(),n(this,r).$el.innerHTML=""}setContent(t){var e,i;return n(this,r).$set(n(this,h),"content",t),(i=(e=d(this,s,u).call(this))==null?void 0:e.setContent)==null||i.call(e,t),this}setSearchQuery(t,e){var i;((i=d(this,s,u).call(this))==null?void 0:i.$editor).commands.setSearchQuery(t,e)}searchNext(){var t;((t=d(this,s,u).call(this))==null?void 0:t.$editor).commands.nextMatch()}searchPrevious(){var t;((t=d(this,s,u).call(this))==null?void 0:t.$editor).commands.previousMatch()}async save(){var t,e;return(e=(t=d(this,s,u).call(this)).save)==null?void 0:e.call(t)}setShowOutline(t){return n(this,r).$set(n(this,h),"showOutlineOutside",t),this}setReadOnly(t){return n(this,r).$set(n(this,h),"readOnly",t),this}insertAtCursor(t){d(this,s,u).call(this).$editor.chain().insertContent(t).focus().run()}focus(){d(this,s,u).call(this).$editor.commands.focus()}}r=new WeakMap,h=new WeakMap,s=new WeakSet,u=function(){return n(this,r).$children[0]},g=function(){var t;window!=null&&window._oc_debug&&(this.vm=n(this,r),window.OCA.Text._debug=[...(t=window.OCA.Text._debug)!=null?t:[],this])};window.OCA.Text.apiVersion=F,window.OCA.Text.createEditor=async function({el:o,fileId:t=void 0,useSession:e=!0,filePath:i=void 0,shareToken:T=null,content:C="",readOnly:x=!1,autofocus:A=!0,readonlyBar:c={component:null,props:null},onLoaded:S=()=>{},onUpdate:b=({markdown:y})=>{},onOutlineToggle:I=y=>{},onFileInsert:E=void 0,onMentionSearch:L=void 0,onMentionInsert:M=void 0,onSearch:P=void 0}){const{default:y}=await _(async()=>{const{default:a}=await import("./MarkdownContentEditor-hggF5nLT.chunk.mjs");return{default:a}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),{default:k}=await _(async()=>{const{default:a}=await import("./Editor-BFlNVq00.chunk.mjs").then(p=>p.b);return{default:a}},__vite__mapDeps([20,9,6,2,10,3,4,5,7,8,11,12,13,14,15,16,17,1,18,21,22]),import.meta.url),l=m.observable({showOutlineOutside:!1,readOnly:x,content:C}),w=t&&e,V=new m({provide(){return{[U]:E,[B]:!!w,[D]:w?!0:L,[N]:w?!0:M,[Q]:{resolve(a,p){return[{type:"image",url:a}]}}}},data(){return l},render:a=>{const p=c!=null&&c.component?{readonlyBar:()=>a(c.component,{props:c.props})}:{};return w?a(k,{props:{fileId:t,relativePath:i,shareToken:T,mime:"text/markdown",active:!0,autofocus:A,showOutlineOutside:l.showOutlineOutside},scopedSlots:p}):a(y,{props:{fileId:t,content:l.content,relativePath:i,shareToken:T,readOnly:l.readOnly,showOutlineOutside:l.showOutlineOutside},scopedSlots:p})},store:R});return new j(V,l).onLoaded(S).onUpdate(b).onOutlineToggle(I).onSearch(P).render(o)};
var $=o=>{throw TypeError(o)};var v=(o,t,e)=>t.has(o)||$("Cannot "+e);var n=(o,t,e)=>(v(o,t,"read from private field"),e?e.call(o):t.get(o)),O=(o,t,e)=>t.has(o)?$("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(o):t.set(o,e),f=(o,t,e,i)=>(v(o,t,"write to private field"),i?i.call(o,e):t.set(o,e),e),d=(o,t,e)=>(v(o,t,"access private method"),e);import{_,s as H}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{V as m}from"./vue.runtime.esm-DexIh3sa.chunk.mjs";import{s as R}from"./index-BcT2uKOB.chunk.mjs";import{A as U,E as B,H as D,a as N,b as Q}from"./MediaHandler.provider-D-YH1kh0.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import"./logger-BVmsFChG.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";const F="1.1";m.prototype.t=window.t,m.prototype.n=window.n,m.prototype.OCA=window.OCA,window.OCA.Text={...window.OCA.Text};var r,h,s,u,g;class j{constructor(t,e){O(this,s);O(this,r);O(this,h);return f(this,r,t),f(this,h,e),d(this,s,g).call(this),this}onLoaded(t=()=>{}){return n(this,r).$on("ready",()=>{t()}),this}onUpdate(t=()=>{}){return n(this,r).$on("update:content",e=>{t(e)}),this}onOutlineToggle(t=()=>{}){return n(this,r).$on("outline-toggled",e=>{t(e)}),this}onSearch(t=()=>{}){return H("text:editor:search-results",t),this}render(t){t.innerHTML="";const e=document.createElement("div");return t.appendChild(e),n(this,r).$mount(e),this}destroy(){n(this,r).$destroy(),n(this,r).$el.innerHTML=""}setContent(t){var e,i;return n(this,r).$set(n(this,h),"content",t),(i=(e=d(this,s,u).call(this))==null?void 0:e.setContent)==null||i.call(e,t),this}setSearchQuery(t,e){var i;((i=d(this,s,u).call(this))==null?void 0:i.$editor).commands.setSearchQuery(t,e)}searchNext(){var t;((t=d(this,s,u).call(this))==null?void 0:t.$editor).commands.nextMatch()}searchPrevious(){var t;((t=d(this,s,u).call(this))==null?void 0:t.$editor).commands.previousMatch()}async save(){var t,e;return(e=(t=d(this,s,u).call(this)).save)==null?void 0:e.call(t)}setShowOutline(t){return n(this,r).$set(n(this,h),"showOutlineOutside",t),this}setReadOnly(t){return n(this,r).$set(n(this,h),"readOnly",t),this}insertAtCursor(t){d(this,s,u).call(this).$editor.chain().insertContent(t).focus().run()}focus(){d(this,s,u).call(this).$editor.commands.focus()}}r=new WeakMap,h=new WeakMap,s=new WeakSet,u=function(){return n(this,r).$children[0]},g=function(){var t;window!=null&&window._oc_debug&&(this.vm=n(this,r),window.OCA.Text._debug=[...(t=window.OCA.Text._debug)!=null?t:[],this])};window.OCA.Text.apiVersion=F,window.OCA.Text.createEditor=async function({el:o,fileId:t=void 0,useSession:e=!0,filePath:i=void 0,shareToken:T=null,content:C="",readOnly:x=!1,autofocus:A=!0,readonlyBar:c={component:null,props:null},onLoaded:S=()=>{},onUpdate:b=({markdown:y})=>{},onOutlineToggle:I=y=>{},onFileInsert:E=void 0,onMentionSearch:L=void 0,onMentionInsert:M=void 0,onSearch:P=void 0}){const{default:y}=await _(async()=>{const{default:a}=await import("./MarkdownContentEditor-hggF5nLT.chunk.mjs");return{default:a}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),{default:k}=await _(async()=>{const{default:a}=await import("./Editor-2dYw23I2.chunk.mjs").then(p=>p.b);return{default:a}},__vite__mapDeps([20,9,6,2,10,3,4,5,7,8,11,12,13,14,15,16,17,1,18,21,22]),import.meta.url),l=m.observable({showOutlineOutside:!1,readOnly:x,content:C}),w=t&&e,V=new m({provide(){return{[U]:E,[B]:!!w,[D]:w?!0:L,[N]:w?!0:M,[Q]:{resolve(a,p){return[{type:"image",url:a}]}}}},data(){return l},render:a=>{const p=c!=null&&c.component?{readonlyBar:()=>a(c.component,{props:c.props})}:{};return w?a(k,{props:{fileId:t,relativePath:i,shareToken:T,mime:"text/markdown",active:!0,autofocus:A,showOutlineOutside:l.showOutlineOutside},scopedSlots:p}):a(y,{props:{fileId:t,content:l.content,relativePath:i,shareToken:T,readOnly:l.readOnly,showOutlineOutside:l.showOutlineOutside},scopedSlots:p})},store:R});return new j(V,l).onLoaded(S).onUpdate(b).onOutlineToggle(I).onSearch(P).render(o)};

Просмотреть файл

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/files-CDfvk3xW.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/index-C2AIlEM1.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/token-DpxtlN7K.chunk.mjs'),window.OC.filePath('text', '', 'js/mime-ChWVRLiA.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/FilesSettings-CQFhYsyh.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/NcCheckboxRadioSwitch-Dxh5eqs0-XcIS0h-5.chunk.mjs')])))=>i.map(i=>d[i]);
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/files-IRpLSidw.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/index-C2AIlEM1.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/token-DpxtlN7K.chunk.mjs'),window.OC.filePath('text', '', 'js/mime-ChWVRLiA.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/FilesSettings-CQFhYsyh.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/NcCheckboxRadioSwitch-Dxh5eqs0-XcIS0h-5.chunk.mjs')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as a}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{l as n}from"./index-Ubm2itxG.chunk.mjs";import{l as d}from"./logger-BVmsFChG.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";const p=n("text","workspace_available"),c=n("text","workspace_enabled");document.addEventListener("DOMContentLoaded",async()=>{var o;if(typeof OCA.Viewer>"u"){const{registerFileActionFallback:e}=await a(async()=>{const{registerFileActionFallback:r}=await import("./files-CDfvk3xW.chunk.mjs");return{registerFileActionFallback:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url);d.error("Viewer app is not installed"),e()}if(p&&OCA&&((o=OCA==null?void 0:OCA.Files)!=null&&o.Settings)){const{default:e}=await a(async()=>{const{default:t}=await import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(i=>i.v);return{default:t}},[],import.meta.url),{default:r}=await a(async()=>{const{default:t}=await import("./FilesSettings-CQFhYsyh.chunk.mjs");return{default:t}},__vite__mapDeps([14,1,2,10,8,15,7,9,6,4,16,17]),import.meta.url),{default:l}=await a(async()=>{const{default:t}=await import("./index-BcT2uKOB.chunk.mjs").then(i=>i.i);return{default:t}},__vite__mapDeps([13,8,10,1,2]),import.meta.url);e.prototype.t=window.t,e.prototype.n=window.n,e.prototype.OCA=window.OCA;const s=new e({render:t=>t(r,{}),store:l}).$mount().$el;OCA.Files.Settings.register(new OCA.Files.Settings.Setting("text",{el:()=>s}))}}),OCA.Text={RichWorkspaceEnabled:c};
import{_ as a}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{l as n}from"./index-Ubm2itxG.chunk.mjs";import{l as d}from"./logger-BVmsFChG.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";const p=n("text","workspace_available"),c=n("text","workspace_enabled");document.addEventListener("DOMContentLoaded",async()=>{var o;if(typeof OCA.Viewer>"u"){const{registerFileActionFallback:e}=await a(async()=>{const{registerFileActionFallback:r}=await import("./files-IRpLSidw.chunk.mjs");return{registerFileActionFallback:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url);d.error("Viewer app is not installed"),e()}if(p&&OCA&&((o=OCA==null?void 0:OCA.Files)!=null&&o.Settings)){const{default:e}=await a(async()=>{const{default:t}=await import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(i=>i.v);return{default:t}},[],import.meta.url),{default:r}=await a(async()=>{const{default:t}=await import("./FilesSettings-CQFhYsyh.chunk.mjs");return{default:t}},__vite__mapDeps([14,1,2,10,8,15,7,9,6,4,16,17]),import.meta.url),{default:l}=await a(async()=>{const{default:t}=await import("./index-BcT2uKOB.chunk.mjs").then(i=>i.i);return{default:t}},__vite__mapDeps([13,8,10,1,2]),import.meta.url);e.prototype.t=window.t,e.prototype.n=window.n,e.prototype.OCA=window.OCA;const s=new e({render:t=>t(r,{}),store:l}).$mount().$el;OCA.Files.Settings.register(new OCA.Files.Settings.Setting("text",{el:()=>s}))}}),OCA.Text={RichWorkspaceEnabled:c};

Просмотреть файл

@ -1,2 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{r as o,a as r}from"./index-C2AIlEM1.chunk.mjs";import{l as t}from"./index-Ubm2itxG.chunk.mjs";import{addMenuRichWorkspace as p,FilesWorkspaceHeader as i}from"./files-CDfvk3xW.chunk.mjs";import"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import"./token-DpxtlN7K.chunk.mjs";import"./mime-ChWVRLiA.chunk.mjs";import"./index-BcT2uKOB.chunk.mjs";const a=t("text","workspace_available");o("nc:rich-workspace",{nc:"http://nextcloud.org/ns"}),o("nc:rich-workspace-file",{nc:"http://nextcloud.org/ns"}),a&&(p(),r(i));
import{r as o,a as r}from"./index-C2AIlEM1.chunk.mjs";import{l as t}from"./index-Ubm2itxG.chunk.mjs";import{addMenuRichWorkspace as p,FilesWorkspaceHeader as i}from"./files-IRpLSidw.chunk.mjs";import"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import"./token-DpxtlN7K.chunk.mjs";import"./mime-ChWVRLiA.chunk.mjs";import"./index-BcT2uKOB.chunk.mjs";const a=t("text","workspace_available");o("nc:rich-workspace",{nc:"http://nextcloud.org/ns"}),o("nc:rich-workspace-file",{nc:"http://nextcloud.org/ns"}),a&&(p(),r(i));

Просмотреть файл

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-BFlNVq00.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-Dik_-MAq.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-BfLQoXX6.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-BLyMntzZ.chunk.css')])))=>i.map(i=>d[i]);
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-2dYw23I2.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-Dik_-MAq.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-BfLQoXX6.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-Byi0tyxS.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as d,s as c,e as u}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{l as s}from"./index-Ubm2itxG.chunk.mjs";import{registerFileActionFallback as f,registerFileCreate as h}from"./files-CDfvk3xW.chunk.mjs";import{l as g}from"./logger-BVmsFChG.chunk.mjs";import{o as w}from"./mime-ChWVRLiA.chunk.mjs";import{s as p}from"./index-BcT2uKOB.chunk.mjs";import y from"./RichWorkspace-BtANjD3-.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-C2AIlEM1.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import"./token-DpxtlN7K.chunk.mjs";import"./Editor.singleton-Dt_yL0G8.chunk.mjs";import"./RichTextReader-BTuOeTkV.chunk.mjs";import"./RichText-Cr6jEvg7.chunk.mjs";import"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import"./MediaHandler.provider-D-YH1kh0.chunk.mjs";const _=function(e){const i=()=>setTimeout(e,0);(document.attachEvent?document.readyState==="complete":document.readyState!=="loading")?i():document.addEventListener("DOMContentLoaded",e)},E={attach(e){const i=e.fileList,r=t("text","Readme")+"."+s("text","default_file_extension");i.id!=="files"&&i.id!=="files.public"||e.addMenuEntry({id:"rich-workspace-init",displayName:t("text","Add folder description"),templateName:r,iconClass:"icon-add-folder-description",fileType:"file",useInput:!1,actionHandler(){return window.FileList.createFile(r,{scrollTo:!1,animate:!1}).then(()=>u("Text::showRichWorkspace",{autofocus:!0}))},shouldShow(){return!i.findFile(r)}})}},v={el:null,attach(e){e.id!=="files"&&e.id!=="files.public"||(this.el=document.createElement("div"),e.registerHeader({id:"workspace",el:this.el,render:this.render.bind(this),priority:10}))},render(e){e.id!=="files"&&e.id!=="files.public"||(OC.Plugins.register("OCA.Files.NewFileMenu",E),d(()=>import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(i=>i.v),[],import.meta.url).then(i=>{const r=i.default;this.el.id="files-workspace-wrapper",r.prototype.t=window.t,r.prototype.n=window.n,r.prototype.OCA=window.OCA;const a=r.extend(y),n=new a({propsData:{path:e.getCurrentDirectory(),hasRichWorkspace:!0},store:p}).$mount(this.el);c("files:navigation:changed",()=>{n.active=OCA.Files.App.getCurrentFileList()===e}),e.$el.on("urlChanged",o=>{n.path=o.dir.toString()}),e.$el.on("changeDirectory",o=>{n.path=o.dir.toString()})}))}},C=({sharingToken:e,mimetype:i,fileId:r,$el:a})=>{const n=document.createElement("div");n.id="texteditor",document.getElementById("app-content").appendChild(n),Promise.all([d(()=>import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(o=>o.v),[],import.meta.url),d(()=>import("./Editor-BFlNVq00.chunk.mjs").then(o=>o.b),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url)]).then(([o,l])=>({Vue:o.default,Editor:l.default})).then(({Vue:o,Editor:l})=>{o.prototype.t=window.t,o.prototype.OCA=window.OCA,new o({render:m=>m(l,{props:{active:!0,shareToken:e,mime:i,fileId:r}}),store:p}).$mount(a)}).catch(o=>g.error("Failed to attach editor",{error:o}))};_(()=>{var r;const e=document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null;if(!e)return;if(document.querySelector("#preview table.files-filestable")){OC.Plugins.register("OCA.Files.FileList",v),f(),h();return}const i=(r=document.getElementById("mimetype"))==null?void 0:r.value;if(i&&w.indexOf(i)!==-1){const a=document.getElementById("preview"),n=s("text","file_id");C({mimetype:i,sharingToken:e,fileId:n,$el:a})}}),OCA.Text={RichWorkspaceEnabled:s("text","workspace_available")};
import{_ as d,s as c,e as u}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{l as s}from"./index-Ubm2itxG.chunk.mjs";import{registerFileActionFallback as f,registerFileCreate as h}from"./files-IRpLSidw.chunk.mjs";import{l as g}from"./logger-BVmsFChG.chunk.mjs";import{o as w}from"./mime-ChWVRLiA.chunk.mjs";import{s as p}from"./index-BcT2uKOB.chunk.mjs";import y from"./RichWorkspace-Agq8hrez.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-C2AIlEM1.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";import"./_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs";import"./NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";import"./token-DpxtlN7K.chunk.mjs";import"./Editor.singleton-D5KpL5c4.chunk.mjs";import"./RichTextReader-BTuOeTkV.chunk.mjs";import"./RichText-Cr6jEvg7.chunk.mjs";import"./_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs";import"./MediaHandler.provider-D-YH1kh0.chunk.mjs";const _=function(e){const i=()=>setTimeout(e,0);(document.attachEvent?document.readyState==="complete":document.readyState!=="loading")?i():document.addEventListener("DOMContentLoaded",e)},E={attach(e){const i=e.fileList,r=t("text","Readme")+"."+s("text","default_file_extension");i.id!=="files"&&i.id!=="files.public"||e.addMenuEntry({id:"rich-workspace-init",displayName:t("text","Add folder description"),templateName:r,iconClass:"icon-add-folder-description",fileType:"file",useInput:!1,actionHandler(){return window.FileList.createFile(r,{scrollTo:!1,animate:!1}).then(()=>u("Text::showRichWorkspace",{autofocus:!0}))},shouldShow(){return!i.findFile(r)}})}},v={el:null,attach(e){e.id!=="files"&&e.id!=="files.public"||(this.el=document.createElement("div"),e.registerHeader({id:"workspace",el:this.el,render:this.render.bind(this),priority:10}))},render(e){e.id!=="files"&&e.id!=="files.public"||(OC.Plugins.register("OCA.Files.NewFileMenu",E),d(()=>import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(i=>i.v),[],import.meta.url).then(i=>{const r=i.default;this.el.id="files-workspace-wrapper",r.prototype.t=window.t,r.prototype.n=window.n,r.prototype.OCA=window.OCA;const a=r.extend(y),n=new a({propsData:{path:e.getCurrentDirectory(),hasRichWorkspace:!0},store:p}).$mount(this.el);c("files:navigation:changed",()=>{n.active=OCA.Files.App.getCurrentFileList()===e}),e.$el.on("urlChanged",o=>{n.path=o.dir.toString()}),e.$el.on("changeDirectory",o=>{n.path=o.dir.toString()})}))}},C=({sharingToken:e,mimetype:i,fileId:r,$el:a})=>{const n=document.createElement("div");n.id="texteditor",document.getElementById("app-content").appendChild(n),Promise.all([d(()=>import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(o=>o.v),[],import.meta.url),d(()=>import("./Editor-2dYw23I2.chunk.mjs").then(o=>o.b),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url)]).then(([o,l])=>({Vue:o.default,Editor:l.default})).then(({Vue:o,Editor:l})=>{o.prototype.t=window.t,o.prototype.OCA=window.OCA,new o({render:m=>m(l,{props:{active:!0,shareToken:e,mime:i,fileId:r}}),store:p}).$mount(a)}).catch(o=>g.error("Failed to attach editor",{error:o}))};_(()=>{var r;const e=document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null;if(!e)return;if(document.querySelector("#preview table.files-filestable")){OC.Plugins.register("OCA.Files.FileList",v),f(),h();return}const i=(r=document.getElementById("mimetype"))==null?void 0:r.value;if(i&&w.indexOf(i)!==-1){const a=document.getElementById("preview"),n=s("text","file_id");C({mimetype:i,sharingToken:e,fileId:n,$el:a})}}),OCA.Text={RichWorkspaceEnabled:s("text","workspace_available")};

Просмотреть файл

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/DirectEditing-CwTo__JL.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor-BFlNVq00.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-Dik_-MAq.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-BfLQoXX6.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-BLyMntzZ.chunk.css'),window.OC.filePath('text', '', 'css/DirectEditing-F1ck-_g2.chunk.css')])))=>i.map(i=>d[i]);
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/DirectEditing-BAqLHZ4G.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor-2dYw23I2.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-Dik_-MAq.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-BfLQoXX6.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-Byi0tyxS.chunk.css'),window.OC.filePath('text', '', 'css/DirectEditing-F1ck-_g2.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as e}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{s as n}from"./index-BcT2uKOB.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";document.getElementById("app-content")&&Promise.all([e(()=>import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(t=>t.v),[],import.meta.url),e(()=>import("./DirectEditing-CwTo__JL.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url)]).then(t=>{const o=t[0].default;o.prototype.t=window.t,o.prototype.OCA=window.OCA;const r=t[1].default;new o({render:m=>m(r),store:n}).$mount(document.getElementById("app-content"))});
import{_ as e}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{s as n}from"./index-BcT2uKOB.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./vue.runtime.esm-DexIh3sa.chunk.mjs";import"./index-C2LDH5Ba.chunk.mjs";document.getElementById("app-content")&&Promise.all([e(()=>import("./vue.runtime.esm-DexIh3sa.chunk.mjs").then(t=>t.v),[],import.meta.url),e(()=>import("./DirectEditing-BAqLHZ4G.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url)]).then(t=>{const o=t[0].default;o.prototype.t=window.t,o.prototype.OCA=window.OCA;const r=t[1].default;new o({render:m=>m(r),store:n}).$mount(document.getElementById("app-content"))});

Просмотреть файл

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/ViewerComponent-CdJh6yND.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'js/PlainTextReader-BUnLFPqt.chunk.mjs'),window.OC.filePath('text', '', 'js/RichTextReader-BTuOeTkV.chunk.mjs'),window.OC.filePath('text', '', 'css/RichTextReader-jSftILGk.chunk.css'),window.OC.filePath('text', '', 'js/token-DpxtlN7K.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor.singleton-Dt_yL0G8.chunk.mjs'),window.OC.filePath('text', '', 'css/ViewerComponent-B60SU6pG.chunk.css')])))=>i.map(i=>d[i]);
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/ViewerComponent-Civi_kOz.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DexIh3sa.chunk.mjs'),window.OC.filePath('text', '', 'js/index-C2LDH5Ba.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BV4VlZ1o.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-I9E7i3AY.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-Cr6jEvg7.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-E4-fa2wn.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-Cqtx687c.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-DRHbZemr.chunk.css'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-UmbwO-28.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BYq5wWTa.chunk.css'),window.OC.filePath('text', '', 'js/index-BcT2uKOB.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-D-YH1kh0.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-BVmsFChG.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ds4SJl6Q-DQicnQZ3.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-CRlZObVv.chunk.css'),window.OC.filePath('text', '', 'js/PlainTextReader-BUnLFPqt.chunk.mjs'),window.OC.filePath('text', '', 'js/RichTextReader-BTuOeTkV.chunk.mjs'),window.OC.filePath('text', '', 'css/RichTextReader-jSftILGk.chunk.css'),window.OC.filePath('text', '', 'js/token-DpxtlN7K.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor.singleton-D5KpL5c4.chunk.mjs'),window.OC.filePath('text', '', 'css/ViewerComponent-B60SU6pG.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as r}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{l as e}from"./logger-BVmsFChG.chunk.mjs";import{a as t,b as o}from"./mime-ChWVRLiA.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";function i(){return r(()=>import("./ViewerComponent-CdJh6yND.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url)}typeof OCA.Viewer>"u"?e.error("Viewer app is not installed"):OCA.Viewer.registerHandler({id:"text",mimes:[...t,...o],component:i,group:null,theme:"default",canCompare:!0});
import{_ as r}from"./modulepreload-polyfill-BV4VlZ1o.chunk.mjs";import{l as e}from"./logger-BVmsFChG.chunk.mjs";import{a as t,b as o}from"./mime-ChWVRLiA.chunk.mjs";import"./emoji-picker-I9E7i3AY.chunk.mjs";import"./index-UmbwO-28.chunk.mjs";function i(){return r(()=>import("./ViewerComponent-Civi_kOz.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url)}typeof OCA.Viewer>"u"?e.error("Viewer app is not installed"):OCA.Viewer.registerHandler({id:"text",mimes:[...t,...o],component:i,group:null,theme:"default",canCompare:!0});

Просмотреть файл

@ -65,7 +65,7 @@ version: 2.2.0
license: GPL-3.0-or-later
@nextcloud/l10n
version: 2.2.0
version: 3.1.0
license: GPL-3.0-or-later
@nextcloud/logger
@ -85,7 +85,7 @@ version: 2.2.1
license: GPL-3.0-or-later
@nextcloud/router
version: 2.2.1
version: 3.0.1
license: GPL-3.0-or-later
@nextcloud/sharing