chore(assets): recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
nextcloud-command 2024-11-25 07:34:32 +00:00
Родитель 80be6b79a8
Коммит 2870198c59
87 изменённых файлов: 99 добавлений и 102 удалений

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

@ -0,0 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{n as t,k as r}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";import"./public-DZbdP70g.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";const i={name:"AvatarWrapper",components:{NcAvatar:r},props:{session:{type:Object,required:!0},size:{type:Number,default:()=>32}},computed:{sessionAvatarStyle(){return{...this.sessionBackgroundStyle,"border-color":this.session.color,"border-width":"2px","border-style":"solid","--size":this.size+"px","--font-size":this.size/2+"px"}},sessionBackgroundStyle(){return{"background-color":this.session.userId?this.session.color+" !important":"#b9b9b9"}},guestInitial(){return this.session.guestName===""?"?":this.session.guestName.slice(0,1).toUpperCase()}}};var o=function(){var s=this,e=s._self._c;return e("div",{staticClass:"avatar-wrapper",style:s.sessionAvatarStyle},[s.session.userId?e("NcAvatar",{attrs:{user:s.session.userId?s.session.userId:s.session.guestName,"is-guest":s.session.userId===null,"disable-menu":!0,"show-user-status":!1,"disable-tooltip":!0,size:s.size}}):e("div",{staticClass:"avatar",style:s.sessionBackgroundStyle},[s._v(" "+s._s(s.guestInitial)+" ")])],1)},a=[],n=t(i,o,a,!1,null,"c1137ffa");const d=n.exports;export{d as A};

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

@ -1 +1 @@
{"version":3,"file":"AvatarWrapper-DEt6C0uh.chunk.mjs","sources":["../src/components/Editor/AvatarWrapper.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<div class=\"avatar-wrapper\" :style=\"sessionAvatarStyle\">\n\t\t<NcAvatar v-if=\"session.userId\"\n\t\t\t:user=\"session.userId ? session.userId : session.guestName\"\n\t\t\t:is-guest=\"session.userId === null\"\n\t\t\t:disable-menu=\"true\"\n\t\t\t:show-user-status=\"false\"\n\t\t\t:disable-tooltip=\"true\"\n\t\t\t:size=\"size\" />\n\t\t<div v-else class=\"avatar\" :style=\"sessionBackgroundStyle\">\n\t\t\t{{ guestInitial }}\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { NcAvatar } from '@nextcloud/vue'\nexport default {\n\tname: 'AvatarWrapper',\n\tcomponents: {\n\t\tNcAvatar,\n\t},\n\tprops: {\n\t\tsession: {\n\t\t\ttype: Object,\n\t\t\trequired: true,\n\t\t},\n\t\tsize: {\n\t\t\ttype: Number,\n\t\t\tdefault: () => 32,\n\t\t},\n\t},\n\tcomputed: {\n\t\tsessionAvatarStyle() {\n\t\t\treturn {\n\t\t\t\t...this.sessionBackgroundStyle,\n\t\t\t\t'border-color': this.session.color,\n\t\t\t\t'border-width': '2px',\n\t\t\t\t'border-style': 'solid',\n\t\t\t\t'--size': this.size + 'px',\n\t\t\t\t'--font-size': this.size / 2 + 'px',\n\t\t\t}\n\t\t},\n\t\tsessionBackgroundStyle() {\n\t\t\treturn {\n\t\t\t\t'background-color': this.session.userId ? this.session.color + ' !important' : '#b9b9b9',\n\t\t\t}\n\t\t},\n\t\tguestInitial() {\n\t\t\treturn this.session.guestName === '' ? '?' : this.session.guestName.slice(0, 1).toUpperCase()\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.avatar, .avatar-wrapper {\n\tborder-radius: 50%;\n\twidth: var(--size);\n\theight: var(--size);\n\ttext-align: center;\n\tcolor: #ffffff;\n\tline-height: var(--size);\n\tfont-size: var(--font-size);\n\tfont-weight: normal;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n}\n</style>\n"],"names":["_sfc_main","NcAvatar"],"mappings":";gNAsBA,MAAAA,EAAA,CACA,KAAA,gBACA,WAAA,CACA,SAAAC,CACA,EACA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,EACA,KAAA,CACA,KAAA,OACA,QAAA,IAAA,EACA,CACA,EACA,SAAA,CACA,oBAAA,CACA,MAAA,CACA,GAAA,KAAA,uBACA,eAAA,KAAA,QAAA,MACA,eAAA,MACA,eAAA,QACA,SAAA,KAAA,KAAA,KACA,cAAA,KAAA,KAAA,EAAA,IACA,CACA,EACA,wBAAA,CACA,MAAA,CACA,mBAAA,KAAA,QAAA,OAAA,KAAA,QAAA,MAAA,cAAA,SACA,CACA,EACA,cAAA,CACA,OAAA,KAAA,QAAA,YAAA,GAAA,IAAA,KAAA,QAAA,UAAA,MAAA,EAAA,CAAA,EAAA,YAAA,CACA,CACA,CACA"}
{"version":3,"file":"AvatarWrapper-5mUXwXJY.chunk.mjs","sources":["../src/components/Editor/AvatarWrapper.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<div class=\"avatar-wrapper\" :style=\"sessionAvatarStyle\">\n\t\t<NcAvatar v-if=\"session.userId\"\n\t\t\t:user=\"session.userId ? session.userId : session.guestName\"\n\t\t\t:is-guest=\"session.userId === null\"\n\t\t\t:disable-menu=\"true\"\n\t\t\t:show-user-status=\"false\"\n\t\t\t:disable-tooltip=\"true\"\n\t\t\t:size=\"size\" />\n\t\t<div v-else class=\"avatar\" :style=\"sessionBackgroundStyle\">\n\t\t\t{{ guestInitial }}\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { NcAvatar } from '@nextcloud/vue'\nexport default {\n\tname: 'AvatarWrapper',\n\tcomponents: {\n\t\tNcAvatar,\n\t},\n\tprops: {\n\t\tsession: {\n\t\t\ttype: Object,\n\t\t\trequired: true,\n\t\t},\n\t\tsize: {\n\t\t\ttype: Number,\n\t\t\tdefault: () => 32,\n\t\t},\n\t},\n\tcomputed: {\n\t\tsessionAvatarStyle() {\n\t\t\treturn {\n\t\t\t\t...this.sessionBackgroundStyle,\n\t\t\t\t'border-color': this.session.color,\n\t\t\t\t'border-width': '2px',\n\t\t\t\t'border-style': 'solid',\n\t\t\t\t'--size': this.size + 'px',\n\t\t\t\t'--font-size': this.size / 2 + 'px',\n\t\t\t}\n\t\t},\n\t\tsessionBackgroundStyle() {\n\t\t\treturn {\n\t\t\t\t'background-color': this.session.userId ? this.session.color + ' !important' : '#b9b9b9',\n\t\t\t}\n\t\t},\n\t\tguestInitial() {\n\t\t\treturn this.session.guestName === '' ? '?' : this.session.guestName.slice(0, 1).toUpperCase()\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.avatar, .avatar-wrapper {\n\tborder-radius: 50%;\n\twidth: var(--size);\n\theight: var(--size);\n\ttext-align: center;\n\tcolor: #ffffff;\n\tline-height: var(--size);\n\tfont-size: var(--font-size);\n\tfont-weight: normal;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n}\n</style>\n"],"names":["_sfc_main","NcAvatar"],"mappings":";mMAsBA,MAAAA,EAAA,CACA,KAAA,gBACA,WAAA,CACA,SAAAC,CACA,EACA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,EACA,KAAA,CACA,KAAA,OACA,QAAA,IAAA,EACA,CACA,EACA,SAAA,CACA,oBAAA,CACA,MAAA,CACA,GAAA,KAAA,uBACA,eAAA,KAAA,QAAA,MACA,eAAA,MACA,eAAA,QACA,SAAA,KAAA,KAAA,KACA,cAAA,KAAA,KAAA,EAAA,IACA,CACA,EACA,wBAAA,CACA,MAAA,CACA,mBAAA,KAAA,QAAA,OAAA,KAAA,QAAA,MAAA,cAAA,SACA,CACA,EACA,cAAA,CACA,OAAA,KAAA,QAAA,YAAA,GAAA,IAAA,KAAA,QAAA,UAAA,MAAA,EAAA,CAAA,EAAA,YAAA,CACA,CACA,CACA"}

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

@ -1,2 +0,0 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{n as t,k as r}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";import"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";const i={name:"AvatarWrapper",components:{NcAvatar:r},props:{session:{type:Object,required:!0},size:{type:Number,default:()=>32}},computed:{sessionAvatarStyle(){return{...this.sessionBackgroundStyle,"border-color":this.session.color,"border-width":"2px","border-style":"solid","--size":this.size+"px","--font-size":this.size/2+"px"}},sessionBackgroundStyle(){return{"background-color":this.session.userId?this.session.color+" !important":"#b9b9b9"}},guestInitial(){return this.session.guestName===""?"?":this.session.guestName.slice(0,1).toUpperCase()}}};var o=function(){var s=this,e=s._self._c;return e("div",{staticClass:"avatar-wrapper",style:s.sessionAvatarStyle},[s.session.userId?e("NcAvatar",{attrs:{user:s.session.userId?s.session.userId:s.session.guestName,"is-guest":s.session.userId===null,"disable-menu":!0,"show-user-status":!1,"disable-tooltip":!0,size:s.size}}):e("div",{staticClass:"avatar",style:s.sessionBackgroundStyle},[s._v(" "+s._s(s.guestInitial)+" ")])],1)},a=[],n=t(i,o,a,!1,null,"c1137ffa");const d=n.exports;export{d as A};

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

@ -1,2 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{ar as n,as as o,ag as r,aw as i,Z as s}from"./RichText-jaafVDBg.chunk.mjs";import{i as a}from"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import{n as d}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";const c={name:"BaseReader",components:{EditorContent:n,EditorOutline:o},mixins:[r,i],provide(){const t={};return Object.defineProperties(t,{[a]:{get:()=>this.$editor}}),t},inject:["renderHtml","extensions"],props:{content:{type:String,required:!0}},computed:{htmlContent(){return this.renderHtml(this.content)},showOutline(){return this.$outlineState.visible}},watch:{content(){this.updateContent()}},created(){this.$editor=this.createEditor(),this.$editor.setEditable(!1)},beforeDestroy(){this.$editor.destroy()},methods:{createEditor(){return new s({content:this.htmlContent,extensions:this.extensions()})},updateContent(){this.$editor.commands.setContent(this.htmlContent,!0)}}};var l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"content-wrapper text-editor__content-wrapper",class:{"--show-outline":t.showOutline},attrs:{"data-text-el":"editor-content-wrapper"}},[t.showOutline?e("div",{staticClass:"text-editor__content-wrapper__left"},[e("EditorOutline")],1):t._e(),t.$editor?e("EditorContent",{staticClass:"editor__content text-editor__content",attrs:{id:"read-only-editor",editor:t.$editor}}):t._e(),e("div",{staticClass:"text-editor__content-wrapper__right"})],1)},h=[],p=d(c,l,h,!1,null,"d9558d7c");const w=p.exports;export{w as B};
import{ar as n,as as o,ag as r,aw as i,Z as s}from"./RichText-CG1HBbnD.chunk.mjs";import{i as a}from"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import{n as d}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";const c={name:"BaseReader",components:{EditorContent:n,EditorOutline:o},mixins:[r,i],provide(){const t={};return Object.defineProperties(t,{[a]:{get:()=>this.$editor}}),t},inject:["renderHtml","extensions"],props:{content:{type:String,required:!0}},computed:{htmlContent(){return this.renderHtml(this.content)},showOutline(){return this.$outlineState.visible}},watch:{content(){this.updateContent()}},created(){this.$editor=this.createEditor(),this.$editor.setEditable(!1)},beforeDestroy(){this.$editor.destroy()},methods:{createEditor(){return new s({content:this.htmlContent,extensions:this.extensions()})},updateContent(){this.$editor.commands.setContent(this.htmlContent,!0)}}};var l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"content-wrapper text-editor__content-wrapper",class:{"--show-outline":t.showOutline},attrs:{"data-text-el":"editor-content-wrapper"}},[t.showOutline?e("div",{staticClass:"text-editor__content-wrapper__left"},[e("EditorOutline")],1):t._e(),t.$editor?e("EditorContent",{staticClass:"editor__content text-editor__content",attrs:{id:"read-only-editor",editor:t.$editor}}):t._e(),e("div",{staticClass:"text-editor__content-wrapper__right"})],1)},h=[],p=d(c,l,h,!1,null,"d9558d7c");const w=p.exports;export{w as B};

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

@ -1 +1 @@
{"version":3,"file":"BaseReader-BlN-7ENa.chunk.mjs","sources":["../src/components/BaseReader.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<div data-text-el=\"editor-content-wrapper\"\n\t\tclass=\"content-wrapper text-editor__content-wrapper\"\n\t\t:class=\"{\n\t\t\t'--show-outline': showOutline\n\t\t}\">\n\t\t<div v-if=\"showOutline\" class=\"text-editor__content-wrapper__left\">\n\t\t\t<EditorOutline />\n\t\t</div>\n\t\t<EditorContent v-if=\"$editor\"\n\t\t\tid=\"read-only-editor\"\n\t\t\tclass=\"editor__content text-editor__content\"\n\t\t\t:editor=\"$editor\" />\n\t\t<div class=\"text-editor__content-wrapper__right\" />\n\t</div>\n</template>\n\n<script>\nimport { Editor } from '@tiptap/core'\nimport { EditorContent } from '@tiptap/vue-2'\nimport { EDITOR } from './Editor.provider.js'\nimport { useOutlineStateMixin, useOutlineActions } from './Editor/Wrapper.provider.js'\nimport EditorOutline from './Editor/EditorOutline.vue'\n\nexport default {\n\tname: 'BaseReader',\n\tcomponents: {\n\t\tEditorContent,\n\t\tEditorOutline,\n\t},\n\n\tmixins: [useOutlineStateMixin, useOutlineActions],\n\n\tprovide() {\n\t\tconst val = {}\n\n\t\tObject.defineProperties(val, {\n\t\t\t[EDITOR]: {\n\t\t\t\tget: () => this.$editor,\n\t\t\t},\n\t\t})\n\n\t\treturn val\n\t},\n\n\t// extensions is a factory building a list of extensions for the editor\n\tinject: ['renderHtml', 'extensions'],\n\n\tprops: {\n\t\tcontent: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\tcomputed: {\n\t\thtmlContent() {\n\t\t\treturn this.renderHtml(this.content)\n\t\t},\n\t\tshowOutline() {\n\t\t\treturn this.$outlineState.visible\n\t\t},\n\t},\n\n\twatch: {\n\t\tcontent() {\n\t\t\tthis.updateContent()\n\t\t},\n\t},\n\n\tcreated() {\n\t\tthis.$editor = this.createEditor()\n\t\tthis.$editor.setEditable(false)\n\t},\n\n\tbeforeDestroy() {\n\t\tthis.$editor.destroy()\n\t},\n\n\tmethods: {\n\t\tcreateEditor() {\n\t\t\treturn new Editor({\n\t\t\t\tcontent: this.htmlContent,\n\t\t\t\textensions: this.extensions(),\n\t\t\t})\n\t\t},\n\n\t\tupdateContent() {\n\t\t\tthis.$editor.commands.setContent(this.htmlContent, true)\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\n.editor__content {\n\tmax-width: var(--text-editor-max-width);\n\tmargin: auto;\n\tposition: relative;\n\twidth: 100%;\n}\n\n.text-editor__content-wrapper {\n\t--side-width: calc((100% - var(--text-editor-max-width)) / 2);\n\tdisplay: grid;\n\tgrid-template-columns: 1fr auto;\n\t&.--show-outline {\n\t\tgrid-template-columns: var(--side-width) auto var(--side-width);\n\t}\n\t.text-editor__content-wrapper__left,\n\t.text-editor__content-wrapper__right {\n\t\theight: 100%;\n\t\tposition: relative;\n\t}\n}\n</style>\n"],"names":["_sfc_main","EditorContent","EditorOutline","useOutlineStateMixin","useOutlineActions","val","EDITOR","Editor"],"mappings":";kNA6BA,MAAAA,EAAA,CACA,KAAA,aACA,WAAA,CACA,cAAAC,EACA,cAAAC,CACA,EAEA,OAAA,CAAAC,EAAAC,CAAA,EAEA,SAAA,CACA,MAAAC,EAAA,CAAA,EAEA,OAAA,OAAA,iBAAAA,EAAA,CACA,CAAAC,CAAA,EAAA,CACA,IAAA,IAAA,KAAA,OACA,CACA,CAAA,EAEAD,CACA,EAGA,OAAA,CAAA,aAAA,YAAA,EAEA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,CACA,EAEA,SAAA,CACA,aAAA,CACA,OAAA,KAAA,WAAA,KAAA,OAAA,CACA,EACA,aAAA,CACA,OAAA,KAAA,cAAA,OACA,CACA,EAEA,MAAA,CACA,SAAA,CACA,KAAA,cAAA,CACA,CACA,EAEA,SAAA,CACA,KAAA,QAAA,KAAA,aAAA,EACA,KAAA,QAAA,YAAA,EAAA,CACA,EAEA,eAAA,CACA,KAAA,QAAA,QAAA,CACA,EAEA,QAAA,CACA,cAAA,CACA,OAAA,IAAAE,EAAA,CACA,QAAA,KAAA,YACA,WAAA,KAAA,WAAA,CACA,CAAA,CACA,EAEA,eAAA,CACA,KAAA,QAAA,SAAA,WAAA,KAAA,YAAA,EAAA,CACA,CACA,CACA"}
{"version":3,"file":"BaseReader-BlzYEAWM.chunk.mjs","sources":["../src/components/BaseReader.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<div data-text-el=\"editor-content-wrapper\"\n\t\tclass=\"content-wrapper text-editor__content-wrapper\"\n\t\t:class=\"{\n\t\t\t'--show-outline': showOutline\n\t\t}\">\n\t\t<div v-if=\"showOutline\" class=\"text-editor__content-wrapper__left\">\n\t\t\t<EditorOutline />\n\t\t</div>\n\t\t<EditorContent v-if=\"$editor\"\n\t\t\tid=\"read-only-editor\"\n\t\t\tclass=\"editor__content text-editor__content\"\n\t\t\t:editor=\"$editor\" />\n\t\t<div class=\"text-editor__content-wrapper__right\" />\n\t</div>\n</template>\n\n<script>\nimport { Editor } from '@tiptap/core'\nimport { EditorContent } from '@tiptap/vue-2'\nimport { EDITOR } from './Editor.provider.js'\nimport { useOutlineStateMixin, useOutlineActions } from './Editor/Wrapper.provider.js'\nimport EditorOutline from './Editor/EditorOutline.vue'\n\nexport default {\n\tname: 'BaseReader',\n\tcomponents: {\n\t\tEditorContent,\n\t\tEditorOutline,\n\t},\n\n\tmixins: [useOutlineStateMixin, useOutlineActions],\n\n\tprovide() {\n\t\tconst val = {}\n\n\t\tObject.defineProperties(val, {\n\t\t\t[EDITOR]: {\n\t\t\t\tget: () => this.$editor,\n\t\t\t},\n\t\t})\n\n\t\treturn val\n\t},\n\n\t// extensions is a factory building a list of extensions for the editor\n\tinject: ['renderHtml', 'extensions'],\n\n\tprops: {\n\t\tcontent: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\tcomputed: {\n\t\thtmlContent() {\n\t\t\treturn this.renderHtml(this.content)\n\t\t},\n\t\tshowOutline() {\n\t\t\treturn this.$outlineState.visible\n\t\t},\n\t},\n\n\twatch: {\n\t\tcontent() {\n\t\t\tthis.updateContent()\n\t\t},\n\t},\n\n\tcreated() {\n\t\tthis.$editor = this.createEditor()\n\t\tthis.$editor.setEditable(false)\n\t},\n\n\tbeforeDestroy() {\n\t\tthis.$editor.destroy()\n\t},\n\n\tmethods: {\n\t\tcreateEditor() {\n\t\t\treturn new Editor({\n\t\t\t\tcontent: this.htmlContent,\n\t\t\t\textensions: this.extensions(),\n\t\t\t})\n\t\t},\n\n\t\tupdateContent() {\n\t\t\tthis.$editor.commands.setContent(this.htmlContent, true)\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\n.editor__content {\n\tmax-width: var(--text-editor-max-width);\n\tmargin: auto;\n\tposition: relative;\n\twidth: 100%;\n}\n\n.text-editor__content-wrapper {\n\t--side-width: calc((100% - var(--text-editor-max-width)) / 2);\n\tdisplay: grid;\n\tgrid-template-columns: 1fr auto;\n\t&.--show-outline {\n\t\tgrid-template-columns: var(--side-width) auto var(--side-width);\n\t}\n\t.text-editor__content-wrapper__left,\n\t.text-editor__content-wrapper__right {\n\t\theight: 100%;\n\t\tposition: relative;\n\t}\n}\n</style>\n"],"names":["_sfc_main","EditorContent","EditorOutline","useOutlineStateMixin","useOutlineActions","val","EDITOR","Editor"],"mappings":";kNA6BA,MAAAA,EAAA,CACA,KAAA,aACA,WAAA,CACA,cAAAC,EACA,cAAAC,CACA,EAEA,OAAA,CAAAC,EAAAC,CAAA,EAEA,SAAA,CACA,MAAAC,EAAA,CAAA,EAEA,OAAA,OAAA,iBAAAA,EAAA,CACA,CAAAC,CAAA,EAAA,CACA,IAAA,IAAA,KAAA,OACA,CACA,CAAA,EAEAD,CACA,EAGA,OAAA,CAAA,aAAA,YAAA,EAEA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,CACA,EAEA,SAAA,CACA,aAAA,CACA,OAAA,KAAA,WAAA,KAAA,OAAA,CACA,EACA,aAAA,CACA,OAAA,KAAA,cAAA,OACA,CACA,EAEA,MAAA,CACA,SAAA,CACA,KAAA,cAAA,CACA,CACA,EAEA,SAAA,CACA,KAAA,QAAA,KAAA,aAAA,EACA,KAAA,QAAA,YAAA,EAAA,CACA,EAEA,eAAA,CACA,KAAA,QAAA,QAAA,CACA,EAEA,QAAA,CACA,cAAA,CACA,OAAA,IAAAE,EAAA,CACA,QAAA,KAAA,YACA,WAAA,KAAA,WAAA,CACA,CAAA,CACA,EAEA,eAAA,CACA,KAAA,QAAA,SAAA,WAAA,KAAA,YAAA,EAAA,CACA,CACA,CACA"}

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

@ -0,0 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{V as r}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import{E as d}from"./Editor-BPIIX_C5.chunk.mjs";import{l as n}from"./logger-B4T8Bva5.chunk.mjs";import{n as l}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./RichText-CG1HBbnD.chunk.mjs";import"./public-DZbdP70g.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./index-hXSjL27_.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs";import"./Wrapper-BAjVCzBn.chunk.mjs";import"./index-BavS4OFS.chunk.mjs";import"./_commonjs-dynamic-modules-CSduYUN4.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const o=r.observable({messages:[],mtime:0}),s=(e,i)=>{n.debug("callMobileMessage ".concat(e),{attributes:i});let a=e,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(a),window.postMessage(a)};window.addEventListener("message",function(e){o.messages.push(e.data),n.debug("postMessage",{message:e})});const c={name:"DirectEditing",components:{Editor:d},data(){return{initial:OCP.InitialState.loadState("text","file"),messages:o.messages,log:o,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",()=>{n.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)},w=[],u=l(c,m,w,!1,null,"942b8c7a");const O=u.exports;export{O as default};

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

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

@ -1,2 +0,0 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{V as r}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import{E as d}from"./Editor-D1jyfN__.chunk.mjs";import{l as n}from"./logger-B4T8Bva5.chunk.mjs";import{n as l}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./RichText-jaafVDBg.chunk.mjs";import"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./index-hXSjL27_.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./public-C5pi_lU4.chunk.mjs";import"./Wrapper-BmtlDyDC.chunk.mjs";import"./index-73BEy51l.chunk.mjs";import"./_commonjs-dynamic-modules-CSduYUN4.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const o=r.observable({messages:[],mtime:0}),s=(e,i)=>{n.debug("callMobileMessage ".concat(e),{attributes:i});let a=e,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(a),window.postMessage(a)};window.addEventListener("message",function(e){o.messages.push(e.data),n.debug("postMessage",{message:e})});const c={name:"DirectEditing",components:{Editor:d},data(){return{initial:OCP.InitialState.loadState("text","file"),messages:o.messages,log:o,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",()=>{n.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)},w=[],u=l(c,m,w,!1,null,"942b8c7a");const O=u.exports;export{O as default};

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

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

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

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

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-D1jyfN__.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-jaafVDBg.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-C6xb7vi0-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-DwzfP6jy.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/public-C5pi_lU4.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-BmtlDyDC.chunk.mjs'),window.OC.filePath('text', '', 'js/index-73BEy51l.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-hpoKoBsm.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-BPIIX_C5.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-CG1HBbnD.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DkHSqULE.chunk.mjs'),window.OC.filePath('text', '', 'js/public-DZbdP70g.chunk.mjs'),window.OC.filePath('text', '', 'css/public-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BVpmSrje.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-BAjVCzBn.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BavS4OFS.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-hpoKoBsm.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as i}from"./modulepreload-polyfill-DMTabKmO.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-D1jyfN__.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,21]),import.meta.url),{default:n}=await i(async()=>{const{default:t}=await import("./vue.runtime.esm-fZsuJKoo.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-DMTabKmO.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-BPIIX_C5.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,21]),import.meta.url),{default:n}=await i(async()=>{const{default:t}=await import("./vue.runtime.esm-fZsuJKoo.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,+FACrE,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-D2ce-bAH.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,+FACrE,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-B2x5v9qU.chunk.mjs"}

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

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

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

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

@ -0,0 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{e as o}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{c as s,_ as a}from"./index-WINsn-uD.chunk.mjs";import{n as r,N as i}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";import"./public-DZbdP70g.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const p={name:"FilesSettings",components:{NcCheckboxRadioSwitch:i},data(){return{showWorkspace:OCA.Text.RichWorkspaceEnabled}},methods:{toggle(){this.showWorkspace?(o("Text::showRichWorkspace"),s.post(a("/apps/text/settings"),{key:"workspace_enabled",value:"1"})):(o("Text::hideRichWorkspace"),s.post(a("/apps/text/settings"),{key:"workspace_enabled",value:"0"}))}}};var n=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"files-setting-richworkspace"}},[e("NcCheckboxRadioSwitch",{attrs:{checked:t.showWorkspace},on:{"update:checked":[function(c){t.showWorkspace=c},t.toggle]}},[t._v(" "+t._s(t.t("text","Show folder description"))+" ")])],1)},h=[],k=r(p,n,h,!1,null,null);const _=k.exports;export{_ as default};

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

@ -1 +1 @@
{"version":3,"file":"FilesSettings-TxswFiRz.chunk.mjs","sources":["../src/views/FilesSettings.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n<template>\n\t<div id=\"files-setting-richworkspace\">\n\t\t<NcCheckboxRadioSwitch :checked.sync=\"showWorkspace\" @update:checked=\"toggle\">\n\t\t\t{{ t('text', 'Show folder description') }}\n\t\t</NcCheckboxRadioSwitch>\n\t</div>\n</template>\n\n<script>\nimport { emit } from '@nextcloud/event-bus'\nimport axios from '@nextcloud/axios'\nimport { NcCheckboxRadioSwitch } from '@nextcloud/vue'\nimport { generateUrl } from '@nextcloud/router'\n\nexport default {\n\tname: 'FilesSettings',\n\tcomponents: {\n\t\tNcCheckboxRadioSwitch,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tshowWorkspace: OCA.Text.RichWorkspaceEnabled,\n\t\t}\n\t},\n\tmethods: {\n\t\ttoggle() {\n\t\t\t// FIXME: save to app config\n\t\t\tif (this.showWorkspace) {\n\t\t\t\temit('Text::showRichWorkspace')\n\t\t\t\taxios.post(generateUrl('/apps/text/settings'), {\n\t\t\t\t\tkey: 'workspace_enabled',\n\t\t\t\t\tvalue: '1',\n\t\t\t\t})\n\t\t\t} else {\n\t\t\t\temit('Text::hideRichWorkspace')\n\t\t\t\taxios.post(generateUrl('/apps/text/settings'), {\n\t\t\t\t\tkey: 'workspace_enabled',\n\t\t\t\t\tvalue: '0',\n\t\t\t\t})\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n"],"names":["_sfc_main","NcCheckboxRadioSwitch","emit","axios","generateUrl"],"mappings":";6cAkBA,MAAAA,EAAA,CACA,KAAA,gBACA,WAAA,CACA,sBAAAC,CACA,EACA,MAAA,CACA,MAAA,CACA,cAAA,IAAA,KAAA,oBACA,CACA,EACA,QAAA,CACA,QAAA,CAEA,KAAA,eACAC,EAAA,yBAAA,EACAC,EAAA,KAAAC,EAAA,qBAAA,EAAA,CACA,IAAA,oBACA,MAAA,GACA,CAAA,IAEAF,EAAA,yBAAA,EACAC,EAAA,KAAAC,EAAA,qBAAA,EAAA,CACA,IAAA,oBACA,MAAA,GACA,CAAA,EAEA,CACA,CACA"}
{"version":3,"file":"FilesSettings-CyPPo3Ki.chunk.mjs","sources":["../src/views/FilesSettings.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n<template>\n\t<div id=\"files-setting-richworkspace\">\n\t\t<NcCheckboxRadioSwitch :checked.sync=\"showWorkspace\" @update:checked=\"toggle\">\n\t\t\t{{ t('text', 'Show folder description') }}\n\t\t</NcCheckboxRadioSwitch>\n\t</div>\n</template>\n\n<script>\nimport { emit } from '@nextcloud/event-bus'\nimport axios from '@nextcloud/axios'\nimport { NcCheckboxRadioSwitch } from '@nextcloud/vue'\nimport { generateUrl } from '@nextcloud/router'\n\nexport default {\n\tname: 'FilesSettings',\n\tcomponents: {\n\t\tNcCheckboxRadioSwitch,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tshowWorkspace: OCA.Text.RichWorkspaceEnabled,\n\t\t}\n\t},\n\tmethods: {\n\t\ttoggle() {\n\t\t\t// FIXME: save to app config\n\t\t\tif (this.showWorkspace) {\n\t\t\t\temit('Text::showRichWorkspace')\n\t\t\t\taxios.post(generateUrl('/apps/text/settings'), {\n\t\t\t\t\tkey: 'workspace_enabled',\n\t\t\t\t\tvalue: '1',\n\t\t\t\t})\n\t\t\t} else {\n\t\t\t\temit('Text::hideRichWorkspace')\n\t\t\t\taxios.post(generateUrl('/apps/text/settings'), {\n\t\t\t\t\tkey: 'workspace_enabled',\n\t\t\t\t\tvalue: '0',\n\t\t\t\t})\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n"],"names":["_sfc_main","NcCheckboxRadioSwitch","emit","axios","generateUrl"],"mappings":";+XAkBA,MAAAA,EAAA,CACA,KAAA,gBACA,WAAA,CACA,sBAAAC,CACA,EACA,MAAA,CACA,MAAA,CACA,cAAA,IAAA,KAAA,oBACA,CACA,EACA,QAAA,CACA,QAAA,CAEA,KAAA,eACAC,EAAA,yBAAA,EACAC,EAAA,KAAAC,EAAA,qBAAA,EAAA,CACA,IAAA,oBACA,MAAA,GACA,CAAA,IAEAF,EAAA,yBAAA,EACAC,EAAA,KAAAC,EAAA,qBAAA,EAAA,CACA,IAAA,oBACA,MAAA,GACA,CAAA,EAEA,CACA,CACA"}

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

@ -1,2 +0,0 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{e as o}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{c as s,_ as r}from"./index-WINsn-uD.chunk.mjs";import{n as c}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";import"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import{N as i}from"./NcCheckboxRadioSwitch-l-6YVD9V-DgwyjUqi.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const p={name:"FilesSettings",components:{NcCheckboxRadioSwitch:i},data(){return{showWorkspace:OCA.Text.RichWorkspaceEnabled}},methods:{toggle(){this.showWorkspace?(o("Text::showRichWorkspace"),s.post(r("/apps/text/settings"),{key:"workspace_enabled",value:"1"})):(o("Text::hideRichWorkspace"),s.post(r("/apps/text/settings"),{key:"workspace_enabled",value:"0"}))}}};var n=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"files-setting-richworkspace"}},[e("NcCheckboxRadioSwitch",{attrs:{checked:t.showWorkspace},on:{"update:checked":[function(a){t.showWorkspace=a},t.toggle]}},[t._v(" "+t._s(t.t("text","Show folder description"))+" ")])],1)},h=[],k=c(p,n,h,!1,null,null);const W=k.exports;export{W as default};

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

@ -1,2 +0,0 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as a}from"./index-WINsn-uD.chunk.mjs";import{A as r}from"./AvatarWrapper-DEt6C0uh.chunk.mjs";import{d as o}from"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import{n as i}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";const u={name:"GuestNameDialog",components:{AvatarWrapper:r},mixins:[o],props:{session:{type:Object,required:!0}},data(){return{guestName:"",guestNameBuffered:""}},computed:{avatarUrl(){const e=a("/avatar/guest/{user}/{size}",{user:this.guestNameBuffered,size:32});return window.location.protocol+"//"+window.location.host+e}},beforeMount(){this.guestName=this.$syncService.guestName,this.updateBufferedGuestName()},methods:{setGuestName(){const e=this.$syncService.guestName;this.$syncService.updateSession(this.guestName).then(()=>{localStorage.setItem("nick",this.guestName),this.updateBufferedGuestName()}).catch(t=>{this.guestName=e})},updateBufferedGuestName(){this.guestNameBuffered=this.guestName}}};var m=function(){var e=this,t=e._self._c;return t("form",{staticClass:"guest-name-dialog",attrs:{title:e.t("text","Enter your name so other people can see who is editing")},on:{submit:function(s){return s.preventDefault(),e.setGuestName()}}},[t("label",[t("AvatarWrapper",{attrs:{session:e.session,size:32}})],1),t("input",{directives:[{name:"model",rawName:"v-model",value:e.guestName,expression:"guestName"}],attrs:{type:"text","aria-label":e.t("text","Edit guest name"),placeholder:e.t("text","Guest")},domProps:{value:e.guestName},on:{input:function(s){s.target.composing||(e.guestName=s.target.value)}}}),t("input",{staticClass:"icon-confirm",attrs:{type:"submit","aria-label":e.t("text","Save guest name"),value:""}})])},n=[],p=i(u,m,n,!1,null,"b4bfe8cd");const G=p.exports;export{G as default};

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

@ -0,0 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as a}from"./index-WINsn-uD.chunk.mjs";import{A as r}from"./AvatarWrapper-5mUXwXJY.chunk.mjs";import{d as o}from"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import{n as i}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./public-DZbdP70g.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const u={name:"GuestNameDialog",components:{AvatarWrapper:r},mixins:[o],props:{session:{type:Object,required:!0}},data(){return{guestName:"",guestNameBuffered:""}},computed:{avatarUrl(){const e=a("/avatar/guest/{user}/{size}",{user:this.guestNameBuffered,size:32});return window.location.protocol+"//"+window.location.host+e}},beforeMount(){this.guestName=this.$syncService.guestName,this.updateBufferedGuestName()},methods:{setGuestName(){const e=this.$syncService.guestName;this.$syncService.updateSession(this.guestName).then(()=>{localStorage.setItem("nick",this.guestName),this.updateBufferedGuestName()}).catch(t=>{this.guestName=e})},updateBufferedGuestName(){this.guestNameBuffered=this.guestName}}};var m=function(){var e=this,t=e._self._c;return t("form",{staticClass:"guest-name-dialog",attrs:{title:e.t("text","Enter your name so other people can see who is editing")},on:{submit:function(s){return s.preventDefault(),e.setGuestName()}}},[t("label",[t("AvatarWrapper",{attrs:{session:e.session,size:32}})],1),t("input",{directives:[{name:"model",rawName:"v-model",value:e.guestName,expression:"guestName"}],attrs:{type:"text","aria-label":e.t("text","Edit guest name"),placeholder:e.t("text","Guest")},domProps:{value:e.guestName},on:{input:function(s){s.target.composing||(e.guestName=s.target.value)}}}),t("input",{staticClass:"icon-confirm",attrs:{type:"submit","aria-label":e.t("text","Save guest name"),value:""}})])},n=[],p=i(u,m,n,!1,null,"b4bfe8cd");const G=p.exports;export{G as default};

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

@ -1 +1 @@
{"version":3,"file":"GuestNameDialog-CPdHOcBA.chunk.mjs","sources":["../src/components/Editor/GuestNameDialog.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<form :title=\"t('text', 'Enter your name so other people can see who is editing')\" class=\"guest-name-dialog\" @submit.prevent=\"setGuestName()\">\n\t\t<label><AvatarWrapper :session=\"session\" :size=\"32\" /></label>\n\t\t<input v-model=\"guestName\"\n\t\t\ttype=\"text\"\n\t\t\t:aria-label=\"t('text', 'Edit guest name')\"\n\t\t\t:placeholder=\"t('text', 'Guest')\">\n\t\t<input type=\"submit\"\n\t\t\tclass=\"icon-confirm\"\n\t\t\t:aria-label=\"t('text', 'Save guest name')\"\n\t\t\tvalue=\"\">\n\t</form>\n</template>\n\n<script>\nimport { generateUrl } from '@nextcloud/router'\nimport AvatarWrapper from './AvatarWrapper.vue'\nimport { useSyncServiceMixin } from '../Editor.provider.js'\n\nexport default {\n\tname: 'GuestNameDialog',\n\tcomponents: {\n\t\tAvatarWrapper,\n\t},\n\tmixins: [\n\t\tuseSyncServiceMixin,\n\t],\n\tprops: {\n\t\tsession: {\n\t\t\ttype: Object,\n\t\t\trequired: true,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tguestName: '',\n\t\t\tguestNameBuffered: '',\n\t\t}\n\t},\n\tcomputed: {\n\t\tavatarUrl() {\n\t\t\tconst size = 32\n\t\t\tconst avatarUrl = generateUrl(\n\t\t\t\t'/avatar/guest/{user}/{size}',\n\t\t\t\t{\n\t\t\t\t\tuser: this.guestNameBuffered,\n\t\t\t\t\tsize,\n\t\t\t\t})\n\t\t\treturn window.location.protocol + '//' + window.location.host + avatarUrl\n\t\t},\n\t},\n\tbeforeMount() {\n\t\tthis.guestName = this.$syncService.guestName\n\t\tthis.updateBufferedGuestName()\n\t},\n\tmethods: {\n\t\tsetGuestName() {\n\t\t\tconst previousGuestName = this.$syncService.guestName\n\t\t\tthis.$syncService.updateSession(this.guestName).then(() => {\n\t\t\t\tlocalStorage.setItem('nick', this.guestName)\n\t\t\t\tthis.updateBufferedGuestName()\n\t\t\t}).catch((e) => {\n\t\t\t\tthis.guestName = previousGuestName\n\t\t\t})\n\t\t},\n\t\tupdateBufferedGuestName() {\n\t\t\tthis.guestNameBuffered = this.guestName\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\n\tform.guest-name-dialog {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tpadding: 6px;\n\n\t\t&:deep(img) {\n\t\t\tmargin: 0 !important;\n\t\t}\n\n\t\tinput[type=text] {\n\t\t\tflex-grow: 1;\n\t\t}\n\t\tlabel {\n\t\t\tpadding-right: 3px;\n\t\t\theight: 32px;\n\t\t}\n\t}\n</style>\n"],"names":["_sfc_main","AvatarWrapper","useSyncServiceMixin","avatarUrl","generateUrl","previousGuestName","e"],"mappings":";4gBAwBA,MAAAA,EAAA,CACA,KAAA,kBACA,WAAA,CACA,cAAAC,CACA,EACA,OAAA,CACAC,CACA,EACA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,CACA,EACA,MAAA,CACA,MAAA,CACA,UAAA,GACA,kBAAA,EACA,CACA,EACA,SAAA,CACA,WAAA,CAEA,MAAAC,EAAAC,EACA,8BACA,CACA,KAAA,KAAA,kBACA,KAAA,EACA,CAAA,EACA,OAAA,OAAA,SAAA,SAAA,KAAA,OAAA,SAAA,KAAAD,CACA,CACA,EACA,aAAA,CACA,KAAA,UAAA,KAAA,aAAA,UACA,KAAA,wBAAA,CACA,EACA,QAAA,CACA,cAAA,CACA,MAAAE,EAAA,KAAA,aAAA,UACA,KAAA,aAAA,cAAA,KAAA,SAAA,EAAA,KAAA,IAAA,CACA,aAAA,QAAA,OAAA,KAAA,SAAA,EACA,KAAA,wBAAA,CACA,CAAA,EAAA,MAAAC,GAAA,CACA,KAAA,UAAAD,CACA,CAAA,CACA,EACA,yBAAA,CACA,KAAA,kBAAA,KAAA,SACA,CACA,CACA"}
{"version":3,"file":"GuestNameDialog-vAXkD_1B.chunk.mjs","sources":["../src/components/Editor/GuestNameDialog.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<form :title=\"t('text', 'Enter your name so other people can see who is editing')\" class=\"guest-name-dialog\" @submit.prevent=\"setGuestName()\">\n\t\t<label><AvatarWrapper :session=\"session\" :size=\"32\" /></label>\n\t\t<input v-model=\"guestName\"\n\t\t\ttype=\"text\"\n\t\t\t:aria-label=\"t('text', 'Edit guest name')\"\n\t\t\t:placeholder=\"t('text', 'Guest')\">\n\t\t<input type=\"submit\"\n\t\t\tclass=\"icon-confirm\"\n\t\t\t:aria-label=\"t('text', 'Save guest name')\"\n\t\t\tvalue=\"\">\n\t</form>\n</template>\n\n<script>\nimport { generateUrl } from '@nextcloud/router'\nimport AvatarWrapper from './AvatarWrapper.vue'\nimport { useSyncServiceMixin } from '../Editor.provider.js'\n\nexport default {\n\tname: 'GuestNameDialog',\n\tcomponents: {\n\t\tAvatarWrapper,\n\t},\n\tmixins: [\n\t\tuseSyncServiceMixin,\n\t],\n\tprops: {\n\t\tsession: {\n\t\t\ttype: Object,\n\t\t\trequired: true,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tguestName: '',\n\t\t\tguestNameBuffered: '',\n\t\t}\n\t},\n\tcomputed: {\n\t\tavatarUrl() {\n\t\t\tconst size = 32\n\t\t\tconst avatarUrl = generateUrl(\n\t\t\t\t'/avatar/guest/{user}/{size}',\n\t\t\t\t{\n\t\t\t\t\tuser: this.guestNameBuffered,\n\t\t\t\t\tsize,\n\t\t\t\t})\n\t\t\treturn window.location.protocol + '//' + window.location.host + avatarUrl\n\t\t},\n\t},\n\tbeforeMount() {\n\t\tthis.guestName = this.$syncService.guestName\n\t\tthis.updateBufferedGuestName()\n\t},\n\tmethods: {\n\t\tsetGuestName() {\n\t\t\tconst previousGuestName = this.$syncService.guestName\n\t\t\tthis.$syncService.updateSession(this.guestName).then(() => {\n\t\t\t\tlocalStorage.setItem('nick', this.guestName)\n\t\t\t\tthis.updateBufferedGuestName()\n\t\t\t}).catch((e) => {\n\t\t\t\tthis.guestName = previousGuestName\n\t\t\t})\n\t\t},\n\t\tupdateBufferedGuestName() {\n\t\t\tthis.guestNameBuffered = this.guestName\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\n\tform.guest-name-dialog {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tpadding: 6px;\n\n\t\t&:deep(img) {\n\t\t\tmargin: 0 !important;\n\t\t}\n\n\t\tinput[type=text] {\n\t\t\tflex-grow: 1;\n\t\t}\n\t\tlabel {\n\t\t\tpadding-right: 3px;\n\t\t\theight: 32px;\n\t\t}\n\t}\n</style>\n"],"names":["_sfc_main","AvatarWrapper","useSyncServiceMixin","avatarUrl","generateUrl","previousGuestName","e"],"mappings":";+fAwBA,MAAAA,EAAA,CACA,KAAA,kBACA,WAAA,CACA,cAAAC,CACA,EACA,OAAA,CACAC,CACA,EACA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,CACA,EACA,MAAA,CACA,MAAA,CACA,UAAA,GACA,kBAAA,EACA,CACA,EACA,SAAA,CACA,WAAA,CAEA,MAAAC,EAAAC,EACA,8BACA,CACA,KAAA,KAAA,kBACA,KAAA,EACA,CAAA,EACA,OAAA,OAAA,SAAA,SAAA,KAAA,OAAA,SAAA,KAAAD,CACA,CACA,EACA,aAAA,CACA,KAAA,UAAA,KAAA,aAAA,UACA,KAAA,wBAAA,CACA,EACA,QAAA,CACA,cAAA,CACA,MAAAE,EAAA,KAAA,aAAA,UACA,KAAA,aAAA,cAAA,KAAA,SAAA,EAAA,KAAA,IAAA,CACA,aAAA,QAAA,OAAA,KAAA,SAAA,EACA,KAAA,wBAAA,CACA,CAAA,EAAA,MAAAC,GAAA,CACA,KAAA,UAAAD,CACA,CAAA,CACA,EACA,yBAAA,CACA,KAAA,kBAAA,KAAA,SACA,CACA,CACA"}

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

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

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

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

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

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

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

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

@ -1,2 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{W as r,av as n}from"./RichText-jaafVDBg.chunk.mjs";import{n as o,e as s}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";import{B as a}from"./BaseReader-BlN-7ENa.chunk.mjs";const p={name:"PlainTextReader",components:{BaseReader:a},provide:{renderHtml(e){return"<pre>"+s(e)+"</pre>"},extensions:()=>[r,n]},props:{content:{type:String,required:!0}}};var i=function(){var e=this,t=e._self._c;return t("BaseReader",{attrs:{content:e.content}})},c=[],m=o(p,i,c,!1,null,null);const u=m.exports;export{u as P};
import{W as r,av as n}from"./RichText-CG1HBbnD.chunk.mjs";import{n as o,e as s}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";import{B as a}from"./BaseReader-BlzYEAWM.chunk.mjs";const p={name:"PlainTextReader",components:{BaseReader:a},provide:{renderHtml(e){return"<pre>"+s(e)+"</pre>"},extensions:()=>[r,n]},props:{content:{type:String,required:!0}}};var i=function(){var e=this,t=e._self._c;return t("BaseReader",{attrs:{content:e.content}})},c=[],m=o(p,i,c,!1,null,null);const u=m.exports;export{u as P};

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

@ -1 +1 @@
{"version":3,"file":"PlainTextReader-BfwxgUIN.chunk.mjs","sources":["../src/components/PlainTextReader.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<BaseReader :content=\"content\" />\n</template>\n\n<script>\n/* eslint-disable import/no-named-as-default */\nimport CodeBlock from '@tiptap/extension-code-block'\nimport escapeHtml from 'escape-html'\nimport BaseReader from './BaseReader.vue'\nimport { PlainText } from './../extensions/index.js'\n\nexport default {\n\tname: 'PlainTextReader',\n\tcomponents: { BaseReader },\n\n\tprovide: {\n\t\trenderHtml(content) {\n\t\t\treturn '<pre>' + escapeHtml(content) + '</pre>'\n\t\t},\n\t\textensions: () => [PlainText, CodeBlock],\n\t},\n\n\tprops: {\n\t\tcontent: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n}\n</script>\n"],"names":["_sfc_main","BaseReader","content","escapeHtml","PlainText","CodeBlock"],"mappings":";sLAgBA,MAAAA,EAAA,CACA,KAAA,kBACA,WAAA,CAAA,WAAAC,CAAA,EAEA,QAAA,CACA,WAAAC,EAAA,CACA,MAAA,QAAAC,EAAAD,CAAA,EAAA,QACA,EACA,WAAA,IAAA,CAAAE,EAAAC,CAAA,CACA,EAEA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,CACA,CAEA"}
{"version":3,"file":"PlainTextReader-gGt0tGny.chunk.mjs","sources":["../src/components/PlainTextReader.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<BaseReader :content=\"content\" />\n</template>\n\n<script>\n/* eslint-disable import/no-named-as-default */\nimport CodeBlock from '@tiptap/extension-code-block'\nimport escapeHtml from 'escape-html'\nimport BaseReader from './BaseReader.vue'\nimport { PlainText } from './../extensions/index.js'\n\nexport default {\n\tname: 'PlainTextReader',\n\tcomponents: { BaseReader },\n\n\tprovide: {\n\t\trenderHtml(content) {\n\t\t\treturn '<pre>' + escapeHtml(content) + '</pre>'\n\t\t},\n\t\textensions: () => [PlainText, CodeBlock],\n\t},\n\n\tprops: {\n\t\tcontent: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n}\n</script>\n"],"names":["_sfc_main","BaseReader","content","escapeHtml","PlainText","CodeBlock"],"mappings":";sLAgBA,MAAAA,EAAA,CACA,KAAA,kBACA,WAAA,CAAA,WAAAC,CAAA,EAEA,QAAA,CACA,WAAAC,EAAA,CACA,MAAA,QAAAC,EAAAD,CAAA,EAAA,QACA,EACA,WAAA,IAAA,CAAAE,EAAAC,CAAA,CACA,EAEA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,CACA,CAEA"}

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

@ -0,0 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-BPIIX_C5.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-CG1HBbnD.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DkHSqULE.chunk.mjs'),window.OC.filePath('text', '', 'js/public-DZbdP70g.chunk.mjs'),window.OC.filePath('text', '', 'css/public-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BVpmSrje.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-BAjVCzBn.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BavS4OFS.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-hpoKoBsm.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as i}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{n as r}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";import{b as a}from"./public-DZbdP70g.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const l={name:"PublicFilesEditor",components:{NcModal:a,Editor:()=>i(()=>import("./Editor-BPIIX_C5.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,21]),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()},m=[],n=r(l,o,m,!1,null,null);const _=n.exports;export{_ as default};

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

@ -1 +1 @@
{"version":3,"mappings":";;8XAkBA,MAAAA,EAAA,CACA,yBACA,YACA,QAAAC,EACA,WAAAC,EAAA,+CAAAC,KAAA,8FACA,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-i35ldc4a.chunk.mjs"}
{"version":3,"mappings":";;iXAkBA,MAAAA,EAAA,CACA,yBACA,YACA,QAAAC,EACA,WAAAC,EAAA,+CAAAC,KAAA,8FACA,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-CPuTPYsi.chunk.mjs"}

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

@ -1,3 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-D1jyfN__.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-jaafVDBg.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-C6xb7vi0-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-DwzfP6jy.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/public-C5pi_lU4.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-BmtlDyDC.chunk.mjs'),window.OC.filePath('text', '', 'js/index-73BEy51l.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-hpoKoBsm.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as i}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{n as r}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";import{b as a}from"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const l={name:"PublicFilesEditor",components:{NcModal:a,Editor:()=>i(()=>import("./Editor-D1jyfN__.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,21]),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()},m=[],n=r(l,o,m,!1,null,null);const _=n.exports;export{_ as default};

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

@ -0,0 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{P as o}from"./PlainTextReader-gGt0tGny.chunk.mjs";import{R as e}from"./RichTextReader-z5IzUXxi.chunk.mjs";import{n as i}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";import"./RichText-CG1HBbnD.chunk.mjs";import"./public-DZbdP70g.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./index-hXSjL27_.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs";import"./BaseReader-BlzYEAWM.chunk.mjs";const n={name:"Reader",components:{PlainTextReader:o,RichTextReader:e},props:{content:{type:String,required:!0},isRichEditor:{type:Boolean,default:!0}}};var p=function(){var t=this,r=t._self._c;return t.isRichEditor?r("RichTextReader",{attrs:{content:t.content}}):r("PlainTextReader",{attrs:{content:t.content}})},m=[],a=i(n,p,m,!1,null,null);const q=a.exports;export{q as default};

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

@ -1 +1 @@
{"version":3,"file":"Reader-CC7Y2nSX.chunk.mjs","sources":["../src/components/Reader.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<RichTextReader v-if=\"isRichEditor\"\n\t\t:content=\"content\" />\n\t<PlainTextReader v-else\n\t\t:content=\"content\" />\n</template>\n\n<script>\nimport PlainTextReader from './PlainTextReader.vue'\nimport RichTextReader from './RichTextReader.vue'\n\nexport default {\n\tname: 'Reader',\n\tcomponents: { PlainTextReader, RichTextReader },\n\tprops: {\n\t\tcontent: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tisRichEditor: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\">\n\n\t#read-only-editor {\n\t\toverflow: scroll;\n\t}\n\n\t.thumbnailContainer #read-only-editor {\n\t\twidth: 100%;\n\n\t\t.ProseMirror {\n\t\t\theight: auto;\n\t\t\tmargin: 0 0 0 0;\n\t\t\tpadding: 0;\n\t\t}\n\t}\n\n</style>\n"],"names":["_sfc_main","PlainTextReader","RichTextReader"],"mappings":";msBAgBA,MAAAA,EAAA,CACA,KAAA,SACA,WAAA,CAAA,gBAAAC,EAAA,eAAAC,CAAA,EACA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,EACA,aAAA,CACA,KAAA,QACA,QAAA,EACA,CACA,CACA"}
{"version":3,"file":"Reader-BCDOaY-0.chunk.mjs","sources":["../src/components/Reader.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<RichTextReader v-if=\"isRichEditor\"\n\t\t:content=\"content\" />\n\t<PlainTextReader v-else\n\t\t:content=\"content\" />\n</template>\n\n<script>\nimport PlainTextReader from './PlainTextReader.vue'\nimport RichTextReader from './RichTextReader.vue'\n\nexport default {\n\tname: 'Reader',\n\tcomponents: { PlainTextReader, RichTextReader },\n\tprops: {\n\t\tcontent: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tisRichEditor: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\">\n\n\t#read-only-editor {\n\t\toverflow: scroll;\n\t}\n\n\t.thumbnailContainer #read-only-editor {\n\t\twidth: 100%;\n\n\t\t.ProseMirror {\n\t\t\theight: auto;\n\t\t\tmargin: 0 0 0 0;\n\t\t\tpadding: 0;\n\t\t}\n\t}\n\n</style>\n"],"names":["_sfc_main","PlainTextReader","RichTextReader"],"mappings":";gtBAgBA,MAAAA,EAAA,CACA,KAAA,SACA,WAAA,CAAA,gBAAAC,EAAA,eAAAC,CAAA,EACA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,EACA,aAAA,CACA,KAAA,QACA,QAAA,EACA,CACA,CACA"}

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

@ -1,2 +0,0 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{P as o}from"./PlainTextReader-BfwxgUIN.chunk.mjs";import{R as e}from"./RichTextReader-DO3OsfIt.chunk.mjs";import{n as i}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";import"./RichText-jaafVDBg.chunk.mjs";import"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./index-hXSjL27_.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./public-C5pi_lU4.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./BaseReader-BlN-7ENa.chunk.mjs";const n={name:"Reader",components:{PlainTextReader:o,RichTextReader:e},props:{content:{type:String,required:!0},isRichEditor:{type:Boolean,default:!0}}};var p=function(){var t=this,r=t._self._c;return t.isRichEditor?r("RichTextReader",{attrs:{content:t.content}}):r("PlainTextReader",{attrs:{content:t.content}})},m=[],a=i(n,p,m,!1,null,null);const q=a.exports;export{q as default};

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

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

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

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

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

@ -1,2 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{B as o}from"./BaseReader-BlN-7ENa.chunk.mjs";import{_ as i,R as s}from"./RichText-jaafVDBg.chunk.mjs";import{n as c}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";const a={name:"RichTextReader",components:{BaseReader:o},provide:{renderHtml(e){return i.render(e)},extensions(){return[s.configure({editing:!1})]}},props:{content:{type:String,required:!0}}};var l=function(){var e=this,r=e._self._c;return r("BaseReader",{attrs:{content:e.content},on:{"click-link":(t,n)=>e.$emit("click-link",t,n)}})},m=[],p=c(a,l,m,!1,null,null);const R=p.exports;export{R};
import{B as o}from"./BaseReader-BlzYEAWM.chunk.mjs";import{_ as i,R as s}from"./RichText-CG1HBbnD.chunk.mjs";import{n as c}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";const a={name:"RichTextReader",components:{BaseReader:o},provide:{renderHtml(e){return i.render(e)},extensions(){return[s.configure({editing:!1})]}},props:{content:{type:String,required:!0}}};var l=function(){var e=this,r=e._self._c;return r("BaseReader",{attrs:{content:e.content},on:{"click-link":(t,n)=>e.$emit("click-link",t,n)}})},m=[],p=c(a,l,m,!1,null,null);const R=p.exports;export{R};

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

@ -1 +1 @@
{"version":3,"file":"RichTextReader-DO3OsfIt.chunk.mjs","sources":["../src/components/RichTextReader.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<BaseReader :content=\"content\" @click-link=\"(e, a) => $emit('click-link', e, a)\" />\n</template>\n\n<script>\nimport BaseReader from './BaseReader.vue'\nimport { RichText } from './../extensions/index.js'\nimport markdownit from './../markdownit/index.js'\n\nexport default {\n\tname: 'RichTextReader',\n\tcomponents: { BaseReader },\n\n\tprovide: {\n\t\trenderHtml(content) {\n\t\t\treturn markdownit.render(content)\n\t\t},\n\t\textensions() {\n\t\t\treturn [\n\t\t\t\tRichText.configure({\n\t\t\t\t\tediting: false,\n\t\t\t\t}),\n\t\t\t]\n\t\t},\n\t},\n\n\tprops: {\n\t\tcontent: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\">\n\t@import './../css/prosemirror';\n\t@import './../css/print';\n</style>\n"],"names":["_sfc_main","BaseReader","content","markdownit","RichText"],"mappings":";8KAcA,MAAAA,EAAA,CACA,KAAA,iBACA,WAAA,CAAA,WAAAC,CAAA,EAEA,QAAA,CACA,WAAAC,EAAA,CACA,OAAAC,EAAA,OAAAD,CAAA,CACA,EACA,YAAA,CACA,MAAA,CACAE,EAAA,UAAA,CACA,QAAA,EACA,CAAA,CACA,CACA,CACA,EAEA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,CACA,CACA"}
{"version":3,"file":"RichTextReader-z5IzUXxi.chunk.mjs","sources":["../src/components/RichTextReader.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<BaseReader :content=\"content\" @click-link=\"(e, a) => $emit('click-link', e, a)\" />\n</template>\n\n<script>\nimport BaseReader from './BaseReader.vue'\nimport { RichText } from './../extensions/index.js'\nimport markdownit from './../markdownit/index.js'\n\nexport default {\n\tname: 'RichTextReader',\n\tcomponents: { BaseReader },\n\n\tprovide: {\n\t\trenderHtml(content) {\n\t\t\treturn markdownit.render(content)\n\t\t},\n\t\textensions() {\n\t\t\treturn [\n\t\t\t\tRichText.configure({\n\t\t\t\t\tediting: false,\n\t\t\t\t}),\n\t\t\t]\n\t\t},\n\t},\n\n\tprops: {\n\t\tcontent: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\">\n\t@import './../css/prosemirror';\n\t@import './../css/print';\n</style>\n"],"names":["_sfc_main","BaseReader","content","markdownit","RichText"],"mappings":";8KAcA,MAAAA,EAAA,CACA,KAAA,iBACA,WAAA,CAAA,WAAAC,CAAA,EAEA,QAAA,CACA,WAAAC,EAAA,CACA,OAAAC,EAAA,OAAAD,CAAA,CACA,EACA,YAAA,CACA,MAAA,CACAE,EAAA,UAAA,CACA,QAAA,EACA,CAAA,CACA,CACA,CACA,EAEA,MAAA,CACA,QAAA,CACA,KAAA,OACA,SAAA,EACA,CACA,CACA"}

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

@ -1,2 +0,0 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{v as n,c}from"./index-WINsn-uD.chunk.mjs";import{s,u as o}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{g as l}from"./Editor.singleton-D2ce-bAH.chunk.mjs";import{R as d}from"./RichTextReader-DO3OsfIt.chunk.mjs";import{n as p}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./BaseReader-BlN-7ENa.chunk.mjs";import"./RichText-jaafVDBg.chunk.mjs";import"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import"./index-hXSjL27_.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./public-C5pi_lU4.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";const h=!!document.getElementById("isPublic"),u=n("apps/text"+(h?"/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 h&&(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");const D=R.exports;export{D as default};

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

@ -0,0 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{v as n,c}from"./index-WINsn-uD.chunk.mjs";import{s,u as o}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{g as l}from"./Editor.singleton-B2x5v9qU.chunk.mjs";import{R as d}from"./RichTextReader-z5IzUXxi.chunk.mjs";import{n as p}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./BaseReader-BlzYEAWM.chunk.mjs";import"./RichText-CG1HBbnD.chunk.mjs";import"./public-DZbdP70g.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-hXSjL27_.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs";const h=!!document.getElementById("isPublic"),u=n("apps/text"+(h?"/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 h&&(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");const D=R.exports;export{D as default};

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

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

@ -1,2 +0,0 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{n as i}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";import{d as n}from"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import{A as o}from"./AvatarWrapper-DEt6C0uh.chunk.mjs";import{C as p,a as l}from"./Editor-D1jyfN__.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./RichText-jaafVDBg.chunk.mjs";import"./index-hXSjL27_.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./public-C5pi_lU4.chunk.mjs";import"./Wrapper-BmtlDyDC.chunk.mjs";import"./index-73BEy51l.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-p&&(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-l?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");const w=v.exports;export{w as default};

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

@ -0,0 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{n as i}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";import{d as n}from"./public-DZbdP70g.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import{A as o}from"./AvatarWrapper-5mUXwXJY.chunk.mjs";import{C as p,a as l}from"./Editor-BPIIX_C5.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./RichText-CG1HBbnD.chunk.mjs";import"./index-hXSjL27_.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs";import"./Wrapper-BAjVCzBn.chunk.mjs";import"./index-BavS4OFS.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-p&&(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-l?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");const w=v.exports;export{w as default};

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

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

@ -1,2 +0,0 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{V as e}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import{c as d}from"./index-WINsn-uD.chunk.mjs";import{a6 as s}from"./RichText-jaafVDBg.chunk.mjs";import{N as a}from"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import{P as i}from"./PlainTextReader-BfwxgUIN.chunk.mjs";import n from"./MarkdownContentEditor-Do8Z4Lqr.chunk.mjs";import{t as r,f as m,n as l}from"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";import{g as u}from"./token-DpxtlN7K.chunk.mjs";import{g as c}from"./Editor.singleton-D2ce-bAH.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-hXSjL27_.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./public-C5pi_lU4.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./BaseReader-BlN-7ENa.chunk.mjs";import"./Wrapper-BmtlDyDC.chunk.mjs";import"./index-73BEy51l.chunk.mjs";e.prototype.t=r,e.prototype.n=m;const p={name:"ViewerComponent",components:{NcButton:e.extend(a),PencilIcon:e.extend(s),PlainTextReader:e.extend(i),MarkdownContentEditor:e.extend(n),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 t=await d.get(this.source);this.content=t.data,this.contentLoaded=!0}this.$emit("update:loaded",!0)},toggleEdit(){this.hasToggledInteractiveEmbedding=!0}}};var f=function(){var t=this,o=t._self._c;return t.useSourceView?o("div",{staticClass:"text-editor source-viewer",attrs:{id:"editor-container","data-text-el":"editor-container"}},[o(t.readerComponent,{tag:"Component",attrs:{content:t.content,"file-id":t.fileid,"read-only":!0,"show-menu-bar":!1}}),t.isEmbedded?o("NcButton",{staticClass:"toggle-interactive",on:{click:t.toggleEdit},scopedSlots:t._u([{key:"icon",fn:function(){return[o("PencilIcon")]},proxy:!0}],null,!1,411976917)},[t._v(" "+t._s(t.t("text","Edit"))+" ")]):t._e()],1):o("Editor",{class:{"text-editor--embedding":t.isEmbedded},attrs:{"file-id":t.fileid,"relative-path":t.filename,active:t.active||t.isEmbedded,autofocus:t.autofocus,"share-token":t.shareToken,mime:t.mime,"show-outline-outside":t.showOutlineOutside}})},h=[],g=l(p,f,h,!1,null,"368f5325");const R=g.exports;export{R as default};

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

@ -0,0 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{V as e}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import{c as d}from"./index-WINsn-uD.chunk.mjs";import{a6 as s}from"./RichText-CG1HBbnD.chunk.mjs";import{N as a}from"./public-DZbdP70g.chunk.mjs";import{P as i}from"./PlainTextReader-gGt0tGny.chunk.mjs";import n from"./MarkdownContentEditor-D_aFTPJl.chunk.mjs";import{t as r,g as m,n as l}from"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";import{g as u}from"./token-DpxtlN7K.chunk.mjs";import{g as c}from"./Editor.singleton-B2x5v9qU.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-hXSjL27_.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./BaseReader-BlzYEAWM.chunk.mjs";import"./Wrapper-BAjVCzBn.chunk.mjs";import"./index-BavS4OFS.chunk.mjs";e.prototype.t=r,e.prototype.n=m;const p={name:"ViewerComponent",components:{NcButton:e.extend(a),PencilIcon:e.extend(s),PlainTextReader:e.extend(i),MarkdownContentEditor:e.extend(n),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 t=await d.get(this.source);this.content=t.data,this.contentLoaded=!0}this.$emit("update:loaded",!0)},toggleEdit(){this.hasToggledInteractiveEmbedding=!0}}};var f=function(){var t=this,o=t._self._c;return t.useSourceView?o("div",{staticClass:"text-editor source-viewer",attrs:{id:"editor-container","data-text-el":"editor-container"}},[o(t.readerComponent,{tag:"Component",attrs:{content:t.content,"file-id":t.fileid,"read-only":!0,"show-menu-bar":!1}}),t.isEmbedded?o("NcButton",{staticClass:"toggle-interactive",on:{click:t.toggleEdit},scopedSlots:t._u([{key:"icon",fn:function(){return[o("PencilIcon")]},proxy:!0}],null,!1,411976917)},[t._v(" "+t._s(t.t("text","Edit"))+" ")]):t._e()],1):o("Editor",{class:{"text-editor--embedding":t.isEmbedded},attrs:{"file-id":t.fileid,"relative-path":t.filename,active:t.active||t.isEmbedded,autofocus:t.autofocus,"share-token":t.shareToken,mime:t.mime,"show-outline-outside":t.showOutlineOutside}})},h=[],g=l(p,f,h,!1,null,"368f5325");const R=g.exports;export{R as default};

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

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

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

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

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

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

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

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

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

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

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

@ -1,3 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/PublicFilesEditor-i35ldc4a.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-C6xb7vi0-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-DwzfP6jy.chunk.css'),window.OC.filePath('text', '', 'js/RichWorkspace-CAQr6oF_.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor.singleton-D2ce-bAH.chunk.mjs'),window.OC.filePath('text', '', 'js/RichTextReader-DO3OsfIt.chunk.mjs'),window.OC.filePath('text', '', 'js/BaseReader-BlN-7ENa.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-jaafVDBg.chunk.mjs'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/public-C5pi_lU4.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'css/BaseReader-CsLFhfbT.chunk.css'),window.OC.filePath('text', '', 'css/RichTextReader-JiRvR_QI.chunk.css'),window.OC.filePath('text', '', 'css/RichWorkspace-BVKGbF73.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as f,g as _,e as O}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{s as E,a as g,p as F}from"./public-C5pi_lU4.chunk.mjs";import"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import{H as v,b as I,N as b,P as A,F as k}from"./index-G3TClGow.chunk.mjs";import{l as x}from"./index-Ubm2itxG.chunk.mjs";import{h as R,c as N}from"./index-WINsn-uD.chunk.mjs";import{g as P}from"./token-DpxtlN7K.chunk.mjs";import{o as w}from"./mime-ChWVRLiA.chunk.mjs";import{s as T}from"./index-hXSjL27_.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const V='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-text" viewBox="0 0 24 24"><path d="M21,6V8H3V6H21M3,18H12V16H3V18M3,13H21V11H3V13Z" /></svg>',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(n,d){const s=new OCA.Files.FileInfoModel(d);typeof OCA.Viewer<"u"?OCA.Files.fileActions.triggerAction("view",s,o):typeof OCA.Viewer>"u"&&OCA.Files.fileActions.triggerAction(h,s,o)})}})}};OC.Plugins.register("OCA.Files.NewFileMenu",i)},G=()=>{const i=P(),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=n=>OCA.Files.fileActions.register(n,h,OC.PERMISSION_UPDATE|OC.PERMISSION_READ,R("core","actions/rename"),d=>{const s=window.FileList.findFile(d);Promise.all([f(()=>import("./vue.runtime.esm-fZsuJKoo.chunk.mjs").then(r=>r.v),[],import.meta.url),f(()=>import("./PublicFilesEditor-i35ldc4a.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)]).then(r=>{const a=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:s?s.id:null,active:!0,shareToken:i,relativePath:a,mimeType:s.mimetype},on:{close:function(){C.$destroy()}}})}}).$mount(o)})},t("text","Edit"));for(let n=0;n<w.length;n++)c(w[n]),OCA.Files.fileActions.setDefault(w[n],h)}};let m=!1;const J=()=>{const i=t("text","Readme")+"."+x("text","default_file_extension");I({id:"rich-workspace-init",displayName:t("text","Add folder description"),category:b.Other,enabled(e){return Number(e.attributes["rich-workspace-file"])?!1:(e.permissions&A.CREATE)!==0},iconSvgInline:V,async handler(e,o){var a,l;const c=o.map(u=>u.basename);if(c.includes(i)){E(t("text",'"{name}" already exist!',{name:i}));return}const n=e.encodedSource+"/"+encodeURIComponent(i),d=await N({method:"PUT",url:n,headers:{Overwrite:"F"}}),s=parseInt(d.headers["oc-fileid"]),r=new k({source:e.source+"/"+i,id:s,mtime:new Date,mime:"text/markdown",owner:((a=_())==null?void 0:a.uid)||null,permissions:A.ALL,root:(e==null?void 0:e.root)||"/files/"+((l=_())==null?void 0:l.uid)});g(t("text",'Created "{name}"',{name:i})),c.length===0&&(m=r),O("files:node:created",r)}})};let p=null;const K=new v({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,n=m?F.dirname(m.path):e.path,d=m?"":e.attributes["rich-workspace"];m=!1;const{default:s}=await f(async()=>{const{default:r}=await import("./RichWorkspace-CAQr6oF_.chunk.mjs");return{default:r}},__vite__mapDeps([11,7,4,1,2,12,13,14,15,3,5,6,8,9,10,16,17,18,19,20,21,22,23]),import.meta.url);f(()=>import("./vue.runtime.esm-fZsuJKoo.chunk.mjs").then(r=>r.v),[],import.meta.url).then(r=>{i.id="files-workspace-wrapper";const a=r.default;a.prototype.t=window.t,a.prototype.n=window.n,a.prototype.OCA=window.OCA;const l=a.extend(s);p=new l({propsData:{path:n,hasRichWorkspace:c,content:d},store:T}).$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};

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

@ -0,0 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/PublicFilesEditor-CPuTPYsi.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DkHSqULE.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/public-DZbdP70g.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'css/public-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BVpmSrje.chunk.css'),window.OC.filePath('text', '', 'js/RichWorkspace-DOJP2hUD.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor.singleton-B2x5v9qU.chunk.mjs'),window.OC.filePath('text', '', 'js/RichTextReader-z5IzUXxi.chunk.mjs'),window.OC.filePath('text', '', 'js/BaseReader-BlzYEAWM.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-CG1HBbnD.chunk.mjs'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'css/BaseReader-CsLFhfbT.chunk.css'),window.OC.filePath('text', '', 'css/RichTextReader-JiRvR_QI.chunk.css'),window.OC.filePath('text', '', 'css/RichWorkspace-BVKGbF73.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as f,g as _,e as O}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{s as E,a as g,p as F}from"./_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs";import"./public-DZbdP70g.chunk.mjs";import{H as v,b as I,N as b,P as A,F as k}from"./index-V7uPY_hn.chunk.mjs";import{l as x}from"./index-Ubm2itxG.chunk.mjs";import{h as R,c as N}from"./index-WINsn-uD.chunk.mjs";import{g as P}from"./token-DpxtlN7K.chunk.mjs";import{o as w}from"./mime-ChWVRLiA.chunk.mjs";import{s as T}from"./index-hXSjL27_.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const V='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-text" viewBox="0 0 24 24"><path d="M21,6V8H3V6H21M3,18H12V16H3V18M3,13H21V11H3V13Z" /></svg>',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(n,d){const s=new OCA.Files.FileInfoModel(d);typeof OCA.Viewer<"u"?OCA.Files.fileActions.triggerAction("view",s,o):typeof OCA.Viewer>"u"&&OCA.Files.fileActions.triggerAction(h,s,o)})}})}};OC.Plugins.register("OCA.Files.NewFileMenu",i)},G=()=>{const i=P(),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=n=>OCA.Files.fileActions.register(n,h,OC.PERMISSION_UPDATE|OC.PERMISSION_READ,R("core","actions/rename"),d=>{const s=window.FileList.findFile(d);Promise.all([f(()=>import("./vue.runtime.esm-fZsuJKoo.chunk.mjs").then(r=>r.v),[],import.meta.url),f(()=>import("./PublicFilesEditor-CPuTPYsi.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)]).then(r=>{const a=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:s?s.id:null,active:!0,shareToken:i,relativePath:a,mimeType:s.mimetype},on:{close:function(){C.$destroy()}}})}}).$mount(o)})},t("text","Edit"));for(let n=0;n<w.length;n++)c(w[n]),OCA.Files.fileActions.setDefault(w[n],h)}};let m=!1;const J=()=>{const i=t("text","Readme")+"."+x("text","default_file_extension");I({id:"rich-workspace-init",displayName:t("text","Add folder description"),category:b.Other,enabled(e){return Number(e.attributes["rich-workspace-file"])?!1:(e.permissions&A.CREATE)!==0},iconSvgInline:V,async handler(e,o){var a,l;const c=o.map(u=>u.basename);if(c.includes(i)){E(t("text",'"{name}" already exist!',{name:i}));return}const n=e.encodedSource+"/"+encodeURIComponent(i),d=await N({method:"PUT",url:n,headers:{Overwrite:"F"}}),s=parseInt(d.headers["oc-fileid"]),r=new k({source:e.source+"/"+i,id:s,mtime:new Date,mime:"text/markdown",owner:((a=_())==null?void 0:a.uid)||null,permissions:A.ALL,root:(e==null?void 0:e.root)||"/files/"+((l=_())==null?void 0:l.uid)});g(t("text",'Created "{name}"',{name:i})),c.length===0&&(m=r),O("files:node:created",r)}})};let p=null;const K=new v({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,n=m?F.dirname(m.path):e.path,d=m?"":e.attributes["rich-workspace"];m=!1;const{default:s}=await f(async()=>{const{default:r}=await import("./RichWorkspace-DOJP2hUD.chunk.mjs");return{default:r}},__vite__mapDeps([11,8,4,1,2,12,13,14,15,3,5,6,7,9,10,16,17,18,19,20,21,22,23]),import.meta.url);f(()=>import("./vue.runtime.esm-fZsuJKoo.chunk.mjs").then(r=>r.v),[],import.meta.url).then(r=>{i.id="files-workspace-wrapper";const a=r.default;a.prototype.t=window.t,a.prototype.n=window.n,a.prototype.OCA=window.OCA;const l=a.extend(s);p=new l({propsData:{path:n,hasRichWorkspace:c,content:d},store:T}).$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,2 +0,0 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import{o as a,n as r,e as s,f as u,u as e,b as f}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";function l(o){return s()?(u(o),!0):!1}function b(o){return typeof o=="function"?o():e(o)}const m=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function c(o){return f()}function y(o,t=!0,n){c()?a(o,n):t?o():r(o)}export{b as a,l as b,m as i,y as t};

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

@ -0,0 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import"./public-DZbdP70g.chunk.mjs";import{o as a,n as r,e as s,f as u,u as e,b as f}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";function l(o){return s()?(u(o),!0):!1}function b(o){return typeof o=="function"?o():e(o)}const m=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function c(o){return f()}function y(o,t=!0,n){c()?a(o,n):t?o():r(o)}export{b as a,l as b,m as i,y as t};

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

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

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

@ -0,0 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/FilePicker-ajWx2Snh-CE3LU_oT.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/public-DZbdP70g.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'css/public-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-V7uPY_hn.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DkHSqULE.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BVpmSrje.chunk.css'),window.OC.filePath('text', '', 'js/index-BavS4OFS.chunk.mjs')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as t}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{a as o}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";const m=o(()=>t(()=>import("./FilePicker-ajWx2Snh-CE3LU_oT.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url));export{m as FilePickerVue};

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

@ -1 +1 @@
{"version":3,"mappings":";;mKACK,MAACA,EAAgBC,EAAqB,IAAKC,EAAA,IAAC,OAAO,0CAA2B,EAAC","names":["FilePickerVue","defineAsyncComponent","__vitePreload"],"ignoreList":[0],"sources":["../node_modules/@nextcloud/dialogs/dist/chunks/index-Kg2hZgGF.mjs"],"sourcesContent":["import { defineAsyncComponent } from \"vue\";\nconst FilePickerVue = defineAsyncComponent(() => import(\"./FilePicker-ajWx2Snh.mjs\"));\nexport {\n FilePickerVue\n};\n"],"file":"js/index-Kg2hZgGF-cmeyxit_.chunk.mjs"}
{"version":3,"mappings":";;mKACK,MAACA,EAAgBC,EAAqB,IAAKC,EAAA,IAAC,OAAO,0CAA2B,EAAC","names":["FilePickerVue","defineAsyncComponent","__vitePreload"],"ignoreList":[0],"sources":["../node_modules/@nextcloud/dialogs/dist/chunks/index-Kg2hZgGF.mjs"],"sourcesContent":["import { defineAsyncComponent } from \"vue\";\nconst FilePickerVue = defineAsyncComponent(() => import(\"./FilePicker-ajWx2Snh.mjs\"));\nexport {\n FilePickerVue\n};\n"],"file":"js/index-Kg2hZgGF-ByYFU6ge.chunk.mjs"}

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

@ -1,3 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/FilePicker-ajWx2Snh-Bi72x6k2.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/public-C5pi_lU4.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-C6xb7vi0-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-G3TClGow.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-DwzfP6jy.chunk.css'),window.OC.filePath('text', '', 'js/NcCheckboxRadioSwitch-l-6YVD9V-DgwyjUqi.chunk.mjs'),window.OC.filePath('text', '', 'js/index-73BEy51l.chunk.mjs')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as t}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{a as o}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";const m=o(()=>t(()=>import("./FilePicker-ajWx2Snh-Bi72x6k2.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url));export{m as FilePickerVue};

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

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

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

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

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

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

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

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/MarkdownContentEditor-Do8Z4Lqr.chunk.mjs'),window.OC.filePath('text', '', 'js/Wrapper-BmtlDyDC.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-jaafVDBg.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-C6xb7vi0-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-DwzfP6jy.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/public-C5pi_lU4.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/index-73BEy51l.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'css/MarkdownContentEditor-DbRr9cV9.chunk.css'),window.OC.filePath('text', '', 'js/Editor-D1jyfN__.chunk.mjs'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-hpoKoBsm.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-D_aFTPJl.chunk.mjs'),window.OC.filePath('text', '', 'js/Wrapper-BAjVCzBn.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-CG1HBbnD.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DkHSqULE.chunk.mjs'),window.OC.filePath('text', '', 'js/public-DZbdP70g.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'css/public-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BVpmSrje.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/index-BavS4OFS.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'css/MarkdownContentEditor-DbRr9cV9.chunk.css'),window.OC.filePath('text', '', 'js/Editor-BPIIX_C5.chunk.mjs'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-hpoKoBsm.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
var T=o=>{throw TypeError(o)};var v=(o,t,e)=>t.has(o)||T("Cannot "+e);var n=(o,t,e)=>(v(o,t,"read from private field"),e?e.call(o):t.get(o)),y=(o,t,e)=>t.has(o)?T("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(o):t.set(o,e),g=(o,t,e,i)=>(v(o,t,"write to private field"),i?i.call(o,e):t.set(o,e),e),a=(o,t,e)=>(v(o,t,"access private method"),e);import{_ as b,s as R}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{V as m}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import{s as V}from"./index-hXSjL27_.chunk.mjs";import{A as D,E as H,H as N,a as U,b as Y}from"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const F="1.2";m.prototype.t=window.t,m.prototype.n=window.n,m.prototype.OCA=window.OCA,window.OCA.Text={...window.OCA.Text};var r,u,s,h,_;class Q{constructor(t,e){y(this,s);y(this,r);y(this,u);return g(this,r,t),g(this,u,e),a(this,s,_).call(this),this}onCreate(t=()=>{}){return n(this,r).$on("create:content",e=>{t(e)}),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 R("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,u),"content",t),(i=(e=a(this,s,h).call(this))==null?void 0:e.setContent)==null||i.call(e,t),this}setSearchQuery(t,e){var i;((i=a(this,s,h).call(this))==null?void 0:i.$editor).commands.setSearchQuery(t,e)}searchNext(){var t;((t=a(this,s,h).call(this))==null?void 0:t.$editor).commands.nextMatch()}searchPrevious(){var t;((t=a(this,s,h).call(this))==null?void 0:t.$editor).commands.previousMatch()}async save(){var t,e;return(e=(t=a(this,s,h).call(this)).save)==null?void 0:e.call(t)}setShowOutline(t){return n(this,r).$set(n(this,u),"showOutlineOutside",t),this}setReadOnly(t){return n(this,r).$set(n(this,u),"readOnly",t),this}updateReadonlyBarProps(t){return n(this,r).$set(n(this,u),"readonlyBarProps",t),this}insertAtCursor(t){a(this,s,h).call(this).$editor.chain().insertContent(t).focus().run()}focus(){a(this,s,h).call(this).$editor.commands.focus()}debugYjs(){const t=a(this,s,h).call(this).debugYjsData();console.warn(JSON.stringify(t,null," ")),console.warn("%c%s\n%c%s\n%s","font-weight: bold;",'Editor Yjs debug data. Copy the object below that starts with "clientId".',"font-weight: normal; font-style: italic;",'- In Chrome, select "Copy" at the end of the line.','- In Firefox, right-click on the object and select "Copy object".')}}r=new WeakMap,u=new WeakMap,s=new WeakSet,h=function(){return n(this,r).$children[0]},_=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:f=null,content:C="",readOnly:$=!1,autofocus:x=!0,readonlyBar:l={component:null,props:null},onCreate:A=({markdown:w})=>{},onLoaded:S=()=>{},onUpdate:I=({markdown:w})=>{},onOutlineToggle:P=w=>{},onFileInsert:E=void 0,onMentionSearch:k=void 0,onMentionInsert:L=void 0,onSearch:M=void 0}){const{default:w}=await b(async()=>{const{default:d}=await import("./MarkdownContentEditor-Do8Z4Lqr.chunk.mjs");return{default:d}},__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:j}=await b(async()=>{const{default:d}=await import("./Editor-D1jyfN__.chunk.mjs").then(p=>p.b);return{default:d}},__vite__mapDeps([21,9,6,2,10,3,4,5,7,8,11,12,13,14,15,16,17,1,18,19,22,23]),import.meta.url),c=m.observable({showOutlineOutside:!1,readonlyBarProps:l.props,readOnly:$,content:C}),O=t&&e,B=new m({provide(){return{[D]:E,[H]:!!O,[N]:O?!0:k,[U]:O?!0:L,[Y]:{resolve(d,p){return[{type:"image",url:d}]}}}},data(){return c},render:d=>{const p=l!=null&&l.component?{readonlyBar:()=>d(l.component,{props:c.readonlyBarProps})}:{};return O?d(j,{props:{fileId:t,relativePath:i,shareToken:f,mime:"text/markdown",active:!0,autofocus:x,showOutlineOutside:c.showOutlineOutside},scopedSlots:p}):d(w,{props:{fileId:t,content:c.content,relativePath:i,shareToken:f,readOnly:c.readOnly,showOutlineOutside:c.showOutlineOutside},scopedSlots:p})},store:V});return new Q(B,c).onCreate(A).onLoaded(S).onUpdate(I).onOutlineToggle(P).onSearch(M).render(o)};
var T=o=>{throw TypeError(o)};var v=(o,t,e)=>t.has(o)||T("Cannot "+e);var n=(o,t,e)=>(v(o,t,"read from private field"),e?e.call(o):t.get(o)),y=(o,t,e)=>t.has(o)?T("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(o):t.set(o,e),g=(o,t,e,i)=>(v(o,t,"write to private field"),i?i.call(o,e):t.set(o,e),e),a=(o,t,e)=>(v(o,t,"access private method"),e);import{_ as b,s as R}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{V as m}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import{s as V}from"./index-hXSjL27_.chunk.mjs";import{A as D,E as H,H as N,a as U,b as Y}from"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const F="1.2";m.prototype.t=window.t,m.prototype.n=window.n,m.prototype.OCA=window.OCA,window.OCA.Text={...window.OCA.Text};var r,u,s,h,_;class Q{constructor(t,e){y(this,s);y(this,r);y(this,u);return g(this,r,t),g(this,u,e),a(this,s,_).call(this),this}onCreate(t=()=>{}){return n(this,r).$on("create:content",e=>{t(e)}),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 R("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,u),"content",t),(i=(e=a(this,s,h).call(this))==null?void 0:e.setContent)==null||i.call(e,t),this}setSearchQuery(t,e){var i;((i=a(this,s,h).call(this))==null?void 0:i.$editor).commands.setSearchQuery(t,e)}searchNext(){var t;((t=a(this,s,h).call(this))==null?void 0:t.$editor).commands.nextMatch()}searchPrevious(){var t;((t=a(this,s,h).call(this))==null?void 0:t.$editor).commands.previousMatch()}async save(){var t,e;return(e=(t=a(this,s,h).call(this)).save)==null?void 0:e.call(t)}setShowOutline(t){return n(this,r).$set(n(this,u),"showOutlineOutside",t),this}setReadOnly(t){return n(this,r).$set(n(this,u),"readOnly",t),this}updateReadonlyBarProps(t){return n(this,r).$set(n(this,u),"readonlyBarProps",t),this}insertAtCursor(t){a(this,s,h).call(this).$editor.chain().insertContent(t).focus().run()}focus(){a(this,s,h).call(this).$editor.commands.focus()}debugYjs(){const t=a(this,s,h).call(this).debugYjsData();console.warn(JSON.stringify(t,null," ")),console.warn("%c%s\n%c%s\n%s","font-weight: bold;",'Editor Yjs debug data. Copy the object below that starts with "clientId".',"font-weight: normal; font-style: italic;",'- In Chrome, select "Copy" at the end of the line.','- In Firefox, right-click on the object and select "Copy object".')}}r=new WeakMap,u=new WeakMap,s=new WeakSet,h=function(){return n(this,r).$children[0]},_=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:f=null,content:C="",readOnly:$=!1,autofocus:x=!0,readonlyBar:l={component:null,props:null},onCreate:A=({markdown:w})=>{},onLoaded:S=()=>{},onUpdate:I=({markdown:w})=>{},onOutlineToggle:P=w=>{},onFileInsert:E=void 0,onMentionSearch:k=void 0,onMentionInsert:L=void 0,onSearch:M=void 0}){const{default:w}=await b(async()=>{const{default:d}=await import("./MarkdownContentEditor-D_aFTPJl.chunk.mjs");return{default:d}},__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:j}=await b(async()=>{const{default:d}=await import("./Editor-BPIIX_C5.chunk.mjs").then(p=>p.b);return{default:d}},__vite__mapDeps([21,10,6,2,7,3,4,5,8,9,11,12,13,14,15,16,17,1,18,19,22,23]),import.meta.url),c=m.observable({showOutlineOutside:!1,readonlyBarProps:l.props,readOnly:$,content:C}),O=t&&e,B=new m({provide(){return{[D]:E,[H]:!!O,[N]:O?!0:k,[U]:O?!0:L,[Y]:{resolve(d,p){return[{type:"image",url:d}]}}}},data(){return c},render:d=>{const p=l!=null&&l.component?{readonlyBar:()=>d(l.component,{props:c.readonlyBarProps})}:{};return O?d(j,{props:{fileId:t,relativePath:i,shareToken:f,mime:"text/markdown",active:!0,autofocus:x,showOutlineOutside:c.showOutlineOutside},scopedSlots:p}):d(w,{props:{fileId:t,content:c.content,relativePath:i,shareToken:f,readOnly:c.readOnly,showOutlineOutside:c.showOutlineOutside},scopedSlots:p})},store:V});return new Q(B,c).onCreate(A).onLoaded(S).onUpdate(I).onOutlineToggle(P).onSearch(M).render(o)};

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

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/files-2Ic2HPbU.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/public-C5pi_lU4.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-C6xb7vi0-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-G3TClGow.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'js/index-WINsn-uD.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-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/FilesSettings-TxswFiRz.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-DwzfP6jy.chunk.css'),window.OC.filePath('text', '', 'js/NcCheckboxRadioSwitch-l-6YVD9V-DgwyjUqi.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-BBUkcoxQ.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs'),window.OC.filePath('text', '', 'js/public-DZbdP70g.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'css/public-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-V7uPY_hn.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'js/index-WINsn-uD.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-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/FilesSettings-CyPPo3Ki.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DkHSqULE.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BVpmSrje.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as a}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{l as n}from"./index-Ubm2itxG.chunk.mjs";import{l as d}from"./logger-B4T8Bva5.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-DkzhscpN.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-2Ic2HPbU.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-fZsuJKoo.chunk.mjs").then(i=>i.v);return{default:t}},[],import.meta.url),{default:r}=await a(async()=>{const{default:t}=await import("./FilesSettings-TxswFiRz.chunk.mjs");return{default:t}},__vite__mapDeps([14,1,2,10,5,15,4,6,7,9,16,17]),import.meta.url),{default:l}=await a(async()=>{const{default:t}=await import("./index-hXSjL27_.chunk.mjs").then(i=>i.i);return{default:t}},__vite__mapDeps([13,5,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-DMTabKmO.chunk.mjs";import{l as n}from"./index-Ubm2itxG.chunk.mjs";import{l as d}from"./logger-B4T8Bva5.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-DkzhscpN.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-BBUkcoxQ.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-fZsuJKoo.chunk.mjs").then(i=>i.v);return{default:t}},[],import.meta.url),{default:r}=await a(async()=>{const{default:t}=await import("./FilesSettings-CyPPo3Ki.chunk.mjs");return{default:t}},__vite__mapDeps([14,1,2,10,5,15,4,6,7,9,16]),import.meta.url),{default:l}=await a(async()=>{const{default:t}=await import("./index-hXSjL27_.chunk.mjs").then(i=>i.i);return{default:t}},__vite__mapDeps([13,5,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 +1 @@
{"version":3,"mappings":";;4OAUA,MAAMA,EAAqBC,EAAU,OAAQ,qBAAqB,EAC5DC,EAAmBD,EAAU,OAAQ,mBAAmB,EAE9D,SAAS,iBAAiB,mBAAoB,SAAY,OACzD,GAAI,OAAO,IAAI,OAAW,IAAa,CACtC,KAAM,CAAE,2BAAAE,CAA4B,EAAG,2DAAa,oCAAoB,EAAC,kCAAAA,CAAA,uEACzEC,EAAO,MAAM,6BAA6B,EAC1CD,EAA4B,CAC5B,CAED,GAAIH,GAAsB,OAAOK,EAAA,qBAAK,QAAL,MAAAA,EAAY,UAAU,CACtD,KAAM,CAAE,QAASC,CAAK,EAAG,MAAKC,EAAA,wBAAAD,CAAA,OAAQ,8CAAK,eAAC,eAAAA,CAAA,uBACtC,CAAE,QAASE,CAAe,EAAG,MAAMD,EAAA,wBAAAC,CAAA,eAAO,oCAA2B,EAAC,eAAAA,CAAA,oEACtE,CAAE,QAASC,CAAO,EAAG,MAAMF,EAAA,wBAAAE,CAAA,OAAO,oCAAkB,eAAC,eAAAA,CAAA,mDAE3DH,EAAI,UAAU,EAAI,OAAO,EACzBA,EAAI,UAAU,EAAI,OAAO,EACzBA,EAAI,UAAU,IAAM,OAAO,IAK3B,MAAMI,EAJK,IAAIJ,EAAI,CAClB,OAAQK,GAAKA,EAAEH,EAAe,EAAE,EAChC,MAAAC,CACH,CAAG,EACa,OAAM,EAAG,IACvB,IAAI,MAAM,SAAS,SAAS,IAAI,IAAI,MAAM,SAAS,QAAQ,OAAQ,CAClE,GAAI,IAAeC,CACtB,CAAG,CAAC,CACF,CACF,CAAC,EAED,IAAI,KAAO,CACV,qBAAsBR,CACvB","names":["workspaceAvailable","loadState","workspaceEnabled","registerFileActionFallback","logger","_a","Vue","__vitePreload","FilesSettings","store","el","h"],"ignoreList":[],"sources":["../src/files.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { loadState } from '@nextcloud/initial-state'\n\nimport { logger } from './helpers/logger.js'\n// eslint-disable-next-line import/no-unresolved, n/no-missing-import\nimport 'vite/modulepreload-polyfill'\n\nconst workspaceAvailable = loadState('text', 'workspace_available')\nconst workspaceEnabled = loadState('text', 'workspace_enabled')\n\ndocument.addEventListener('DOMContentLoaded', async () => {\n\tif (typeof OCA.Viewer === 'undefined') {\n\t\tconst { registerFileActionFallback } = await import('./helpers/files.js')\n\t\tlogger.error('Viewer app is not installed')\n\t\tregisterFileActionFallback()\n\t}\n\n\tif (workspaceAvailable && OCA && OCA?.Files?.Settings) {\n\t\tconst { default: Vue } = await import('vue')\n\t\tconst { default: FilesSettings } = await import('./views/FilesSettings.vue')\n\t\tconst { default: store } = await import('./store/index.js')\n\n\t\tVue.prototype.t = window.t\n\t\tVue.prototype.n = window.n\n\t\tVue.prototype.OCA = window.OCA\n\t\tconst vm = new Vue({\n\t\t\trender: h => h(FilesSettings, {}),\n\t\t\tstore,\n\t\t})\n\t\tconst el = vm.$mount().$el\n\t\tOCA.Files.Settings.register(new OCA.Files.Settings.Setting('text', {\n\t\t\tel: () => { return el },\n\t\t}))\n\t}\n})\n\nOCA.Text = {\n\tRichWorkspaceEnabled: workspaceEnabled,\n}\n"],"file":"js/text-files.mjs"}
{"version":3,"mappings":";;4OAUA,MAAMA,EAAqBC,EAAU,OAAQ,qBAAqB,EAC5DC,EAAmBD,EAAU,OAAQ,mBAAmB,EAE9D,SAAS,iBAAiB,mBAAoB,SAAY,OACzD,GAAI,OAAO,IAAI,OAAW,IAAa,CACtC,KAAM,CAAE,2BAAAE,CAA4B,EAAG,2DAAa,oCAAoB,EAAC,kCAAAA,CAAA,uEACzEC,EAAO,MAAM,6BAA6B,EAC1CD,EAA4B,CAC5B,CAED,GAAIH,GAAsB,OAAOK,EAAA,qBAAK,QAAL,MAAAA,EAAY,UAAU,CACtD,KAAM,CAAE,QAASC,CAAK,EAAG,MAAKC,EAAA,wBAAAD,CAAA,OAAQ,8CAAK,eAAC,eAAAA,CAAA,uBACtC,CAAE,QAASE,CAAe,EAAG,MAAMD,EAAA,wBAAAC,CAAA,eAAO,oCAA2B,EAAC,eAAAA,CAAA,iEACtE,CAAE,QAASC,CAAO,EAAG,MAAMF,EAAA,wBAAAE,CAAA,OAAO,oCAAkB,eAAC,eAAAA,CAAA,mDAE3DH,EAAI,UAAU,EAAI,OAAO,EACzBA,EAAI,UAAU,EAAI,OAAO,EACzBA,EAAI,UAAU,IAAM,OAAO,IAK3B,MAAMI,EAJK,IAAIJ,EAAI,CAClB,OAAQK,GAAKA,EAAEH,EAAe,EAAE,EAChC,MAAAC,CACH,CAAG,EACa,OAAM,EAAG,IACvB,IAAI,MAAM,SAAS,SAAS,IAAI,IAAI,MAAM,SAAS,QAAQ,OAAQ,CAClE,GAAI,IAAeC,CACtB,CAAG,CAAC,CACF,CACF,CAAC,EAED,IAAI,KAAO,CACV,qBAAsBR,CACvB","names":["workspaceAvailable","loadState","workspaceEnabled","registerFileActionFallback","logger","_a","Vue","__vitePreload","FilesSettings","store","el","h"],"ignoreList":[],"sources":["../src/files.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { loadState } from '@nextcloud/initial-state'\n\nimport { logger } from './helpers/logger.js'\n// eslint-disable-next-line import/no-unresolved, n/no-missing-import\nimport 'vite/modulepreload-polyfill'\n\nconst workspaceAvailable = loadState('text', 'workspace_available')\nconst workspaceEnabled = loadState('text', 'workspace_enabled')\n\ndocument.addEventListener('DOMContentLoaded', async () => {\n\tif (typeof OCA.Viewer === 'undefined') {\n\t\tconst { registerFileActionFallback } = await import('./helpers/files.js')\n\t\tlogger.error('Viewer app is not installed')\n\t\tregisterFileActionFallback()\n\t}\n\n\tif (workspaceAvailable && OCA && OCA?.Files?.Settings) {\n\t\tconst { default: Vue } = await import('vue')\n\t\tconst { default: FilesSettings } = await import('./views/FilesSettings.vue')\n\t\tconst { default: store } = await import('./store/index.js')\n\n\t\tVue.prototype.t = window.t\n\t\tVue.prototype.n = window.n\n\t\tVue.prototype.OCA = window.OCA\n\t\tconst vm = new Vue({\n\t\t\trender: h => h(FilesSettings, {}),\n\t\t\tstore,\n\t\t})\n\t\tconst el = vm.$mount().$el\n\t\tOCA.Files.Settings.register(new OCA.Files.Settings.Setting('text', {\n\t\t\tel: () => { return el },\n\t\t}))\n\t}\n})\n\nOCA.Text = {\n\tRichWorkspaceEnabled: workspaceEnabled,\n}\n"],"file":"js/text-files.mjs"}

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

@ -1,2 +1,2 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{r as o,a as r}from"./index-G3TClGow.chunk.mjs";import{l as t}from"./index-Ubm2itxG.chunk.mjs";import{addMenuRichWorkspace as p,FilesWorkspaceHeader as i}from"./files-2Ic2HPbU.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./public-C5pi_lU4.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./token-DpxtlN7K.chunk.mjs";import"./mime-ChWVRLiA.chunk.mjs";import"./index-hXSjL27_.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-V7uPY_hn.chunk.mjs";import{l as t}from"./index-Ubm2itxG.chunk.mjs";import{addMenuRichWorkspace as p,FilesWorkspaceHeader as i}from"./files-BBUkcoxQ.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./public-DZbdP70g.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./token-DpxtlN7K.chunk.mjs";import"./mime-ChWVRLiA.chunk.mjs";import"./index-hXSjL27_.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 +1 @@
{"version":3,"file":"text-init.mjs","sources":["../src/init.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { registerFileListHeaders, registerDavProperty } from '@nextcloud/files'\nimport { loadState } from '@nextcloud/initial-state'\nimport { addMenuRichWorkspace, FilesWorkspaceHeader } from './helpers/files.js'\n// eslint-disable-next-line import/no-unresolved, n/no-missing-import\nimport 'vite/modulepreload-polyfill'\n\nconst workspaceAvailable = loadState('text', 'workspace_available')\n\nregisterDavProperty('nc:rich-workspace', { nc: 'http://nextcloud.org/ns' })\nregisterDavProperty('nc:rich-workspace-file', { nc: 'http://nextcloud.org/ns' })\n\nif (workspaceAvailable) {\n\taddMenuRichWorkspace()\n\tregisterFileListHeaders(FilesWorkspaceHeader)\n}\n"],"names":["workspaceAvailable","loadState","registerDavProperty","addMenuRichWorkspace","registerFileListHeaders","FilesWorkspaceHeader"],"mappings":";+kBAWA,MAAMA,EAAqBC,EAAU,OAAQ,qBAAqB,EAElEC,EAAoB,oBAAqB,CAAE,GAAI,0BAA2B,EAC1EA,EAAoB,yBAA0B,CAAE,GAAI,0BAA2B,EAE3EF,IACHG,EAAsB,EACtBC,EAAwBC,CAAoB"}
{"version":3,"file":"text-init.mjs","sources":["../src/init.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { registerFileListHeaders, registerDavProperty } from '@nextcloud/files'\nimport { loadState } from '@nextcloud/initial-state'\nimport { addMenuRichWorkspace, FilesWorkspaceHeader } from './helpers/files.js'\n// eslint-disable-next-line import/no-unresolved, n/no-missing-import\nimport 'vite/modulepreload-polyfill'\n\nconst workspaceAvailable = loadState('text', 'workspace_available')\n\nregisterDavProperty('nc:rich-workspace', { nc: 'http://nextcloud.org/ns' })\nregisterDavProperty('nc:rich-workspace-file', { nc: 'http://nextcloud.org/ns' })\n\nif (workspaceAvailable) {\n\taddMenuRichWorkspace()\n\tregisterFileListHeaders(FilesWorkspaceHeader)\n}\n"],"names":["workspaceAvailable","loadState","registerDavProperty","addMenuRichWorkspace","registerFileListHeaders","FilesWorkspaceHeader"],"mappings":";4lBAWA,MAAMA,EAAqBC,EAAU,OAAQ,qBAAqB,EAElEC,EAAoB,oBAAqB,CAAE,GAAI,0BAA2B,EAC1EA,EAAoB,yBAA0B,CAAE,GAAI,0BAA2B,EAE3EF,IACHG,EAAsB,EACtBC,EAAwBC,CAAoB"}

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

@ -1,3 +1,3 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-D1jyfN__.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-jaafVDBg.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-C6xb7vi0-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-DwzfP6jy.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/public-C5pi_lU4.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-BmtlDyDC.chunk.mjs'),window.OC.filePath('text', '', 'js/index-73BEy51l.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-hpoKoBsm.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-BPIIX_C5.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-CG1HBbnD.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DkHSqULE.chunk.mjs'),window.OC.filePath('text', '', 'js/public-DZbdP70g.chunk.mjs'),window.OC.filePath('text', '', 'css/public-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BVpmSrje.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-BAjVCzBn.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BavS4OFS.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-hpoKoBsm.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-DMTabKmO.chunk.mjs";import{l as s}from"./index-Ubm2itxG.chunk.mjs";import{registerFileActionFallback as f,registerFileCreate as h}from"./files-2Ic2HPbU.chunk.mjs";import{l as g}from"./logger-B4T8Bva5.chunk.mjs";import{o as w}from"./mime-ChWVRLiA.chunk.mjs";import{s as p}from"./index-hXSjL27_.chunk.mjs";import y from"./RichWorkspace-CAQr6oF_.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./public-C5pi_lU4.chunk.mjs";import"./NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-G3TClGow.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./token-DpxtlN7K.chunk.mjs";import"./Editor.singleton-D2ce-bAH.chunk.mjs";import"./RichTextReader-DO3OsfIt.chunk.mjs";import"./BaseReader-BlN-7ENa.chunk.mjs";import"./RichText-jaafVDBg.chunk.mjs";import"./_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.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-fZsuJKoo.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-fZsuJKoo.chunk.mjs").then(o=>o.v),[],import.meta.url),d(()=>import("./Editor-D1jyfN__.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,21]),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-DMTabKmO.chunk.mjs";import{l as s}from"./index-Ubm2itxG.chunk.mjs";import{registerFileActionFallback as f,registerFileCreate as h}from"./files-BBUkcoxQ.chunk.mjs";import{l as g}from"./logger-B4T8Bva5.chunk.mjs";import{o as w}from"./mime-ChWVRLiA.chunk.mjs";import{s as p}from"./index-hXSjL27_.chunk.mjs";import y from"./RichWorkspace-DOJP2hUD.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs";import"./public-DZbdP70g.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-V7uPY_hn.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";import"./token-DpxtlN7K.chunk.mjs";import"./Editor.singleton-B2x5v9qU.chunk.mjs";import"./RichTextReader-z5IzUXxi.chunk.mjs";import"./BaseReader-BlzYEAWM.chunk.mjs";import"./RichText-CG1HBbnD.chunk.mjs";import"./_plugin-vue2_normalizer-DkHSqULE.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.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-fZsuJKoo.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-fZsuJKoo.chunk.mjs").then(o=>o.v),[],import.meta.url),d(()=>import("./Editor-BPIIX_C5.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,21]),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-YxZnZ72X.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor-D1jyfN__.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-jaafVDBg.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-C6xb7vi0-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-DwzfP6jy.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/public-C5pi_lU4.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-BmtlDyDC.chunk.mjs'),window.OC.filePath('text', '', 'js/index-73BEy51l.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-hpoKoBsm.chunk.css'),window.OC.filePath('text', '', 'css/DirectEditing-BEQtyMtU.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-1-FdPEtf.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor-BPIIX_C5.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-CG1HBbnD.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DkHSqULE.chunk.mjs'),window.OC.filePath('text', '', 'js/public-DZbdP70g.chunk.mjs'),window.OC.filePath('text', '', 'css/public-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BVpmSrje.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-BAjVCzBn.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BavS4OFS.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-hpoKoBsm.chunk.css'),window.OC.filePath('text', '', 'css/DirectEditing-BEQtyMtU.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as e}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{s as n}from"./index-hXSjL27_.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";document.getElementById("app-content")&&Promise.all([e(()=>import("./vue.runtime.esm-fZsuJKoo.chunk.mjs").then(t=>t.v),[],import.meta.url),e(()=>import("./DirectEditing-YxZnZ72X.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,23]),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-DMTabKmO.chunk.mjs";import{s as n}from"./index-hXSjL27_.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";document.getElementById("app-content")&&Promise.all([e(()=>import("./vue.runtime.esm-fZsuJKoo.chunk.mjs").then(t=>t.v),[],import.meta.url),e(()=>import("./DirectEditing-1-FdPEtf.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,23]),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-CP7U02AK.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-jaafVDBg.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DZ9SNF0w.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-C6xb7vi0-BTIzXVw5.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-C6xb7vi0-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-DwzfP6jy.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/public-C5pi_lU4.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/PlainTextReader-BfwxgUIN.chunk.mjs'),window.OC.filePath('text', '', 'js/BaseReader-BlN-7ENa.chunk.mjs'),window.OC.filePath('text', '', 'css/BaseReader-CsLFhfbT.chunk.css'),window.OC.filePath('text', '', 'js/MarkdownContentEditor-Do8Z4Lqr.chunk.mjs'),window.OC.filePath('text', '', 'js/Wrapper-BmtlDyDC.chunk.mjs'),window.OC.filePath('text', '', 'js/index-73BEy51l.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'css/MarkdownContentEditor-DbRr9cV9.chunk.css'),window.OC.filePath('text', '', 'js/token-DpxtlN7K.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor.singleton-D2ce-bAH.chunk.mjs'),window.OC.filePath('text', '', 'css/ViewerComponent-BHXOIZlg.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-NnqAxf3m.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/index-WINsn-uD.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DMTabKmO.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-SoWZqoso.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-CG1HBbnD.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DkHSqULE.chunk.mjs'),window.OC.filePath('text', '', 'js/public-DZbdP70g.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'css/public-8w2LAIqc.chunk.css'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-BVpmSrje.chunk.css'),window.OC.filePath('text', '', 'js/index-hXSjL27_.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-CSBQhvYP.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-B4T8Bva5.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-CZj3y2V7.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-C17nUFcp.chunk.css'),window.OC.filePath('text', '', 'js/PlainTextReader-gGt0tGny.chunk.mjs'),window.OC.filePath('text', '', 'js/BaseReader-BlzYEAWM.chunk.mjs'),window.OC.filePath('text', '', 'css/BaseReader-CsLFhfbT.chunk.css'),window.OC.filePath('text', '', 'js/MarkdownContentEditor-D_aFTPJl.chunk.mjs'),window.OC.filePath('text', '', 'js/Wrapper-BAjVCzBn.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BavS4OFS.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-9Tt0kL-G.chunk.css'),window.OC.filePath('text', '', 'css/MarkdownContentEditor-DbRr9cV9.chunk.css'),window.OC.filePath('text', '', 'js/token-DpxtlN7K.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor.singleton-B2x5v9qU.chunk.mjs'),window.OC.filePath('text', '', 'css/ViewerComponent-BHXOIZlg.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as r}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{l as e}from"./logger-B4T8Bva5.chunk.mjs";import{a as t,b as o}from"./mime-ChWVRLiA.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";function i(){return r(()=>import("./ViewerComponent-CP7U02AK.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,23,24,25,26,27]),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-DMTabKmO.chunk.mjs";import{l as e}from"./logger-B4T8Bva5.chunk.mjs";import{a as t,b as o}from"./mime-ChWVRLiA.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";function i(){return r(()=>import("./ViewerComponent-NnqAxf3m.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,23,24,25,26,27]),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});

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

@ -97,7 +97,7 @@ version: 0.1.1
license: AGPL-3.0-or-later
@nextcloud/vue
version: 8.20.0
version: 8.21.0
license: AGPL-3.0-or-later
@nextcloud/vue-select
@ -161,7 +161,7 @@ version: 2.9.1
license: MIT
@tiptap/extension-floating-menu
version: 2.9.1
version: 2.10.2
license: MIT
@tiptap/extension-gapcursor
@ -257,7 +257,7 @@ version: 2.9.1
license: MIT
@tiptap/vue-2
version: 2.9.1
version: 2.10.2
license: MIT
@vueuse/components
@ -345,8 +345,8 @@ version: 3.0.1
license: ISC
d3-path
version: 3.1.0
license: ISC
version: 1.0.9
license: BSD-3-Clause
d3-sankey
version: 0.12.3
@ -365,8 +365,8 @@ version: 3.0.0
license: ISC
d3-shape
version: 3.2.0
license: ISC
version: 1.3.7
license: BSD-3-Clause
d3-time
version: 3.1.0
@ -817,7 +817,7 @@ version: 3.6.5
license: MIT
vue-ts-types
version: 1.6.0
version: 1.6.2
license: MIT
vue2-datepicker