зеркало из https://github.com/nextcloud/text.git
chore(assets): recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
Родитель
9908ebad17
Коммит
620c039eea
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,2 +1,2 @@
|
|||
/* extracted by css-entry-points-plugin */
|
||||
@import './NcNoteCard-CImn6F9p-BBud9Daj.chunk.css';
|
||||
@import './NcNoteCard-CImn6F9p-B6WZzrWi.chunk.css';
|
|
@ -1,6 +1,6 @@
|
|||
/* extracted by css-entry-points-plugin */
|
||||
@import './NcNoteCard-CImn6F9p-BBud9Daj.chunk.css';
|
||||
@import './_plugin-vue2_normalizer-B3zc_yip.chunk.css';
|
||||
@import './NcNoteCard-CImn6F9p-B6WZzrWi.chunk.css';
|
||||
@import './_plugin-vue2_normalizer--tuJJ_aO.chunk.css';
|
||||
@import './RichText-BSA-kvOi.chunk.css';
|
||||
@import './BaseReader-BJvsPn00.chunk.css';
|
||||
@import './RichTextReader-GsS_EREA.chunk.css';
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{n as t,k as r}from"./_plugin-vue2_normalizer-DE43HRmV.chunk.mjs";import"./NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-DawwgdjB.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};
|
||||
import{n as t,k as r}from"./_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs";import"./NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-Br6XaFoY.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-CAdY-gxu.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-PsSM0l9U.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"}
|
|
@ -1,2 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{aq as n,ar as o,af as r,av as i,W as s}from"./RichText-8gCpOmbd.chunk.mjs";import{i as a}from"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import{n as d}from"./_plugin-vue2_normalizer-DE43HRmV.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 x=p.exports;export{x as B};
|
||||
import{aq as n,ar as o,af as r,av as i,W as s}from"./RichText-BbI1dRRP.chunk.mjs";import{i as a}from"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import{n as d}from"./_plugin-vue2_normalizer-CBD_Jxxq.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 x=p.exports;export{x as B};
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"BaseReader-UjtX526e.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-Cj9MYAos.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"}
|
|
@ -1,2 +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-DRCMI7FU.chunk.mjs";import{l as n}from"./logger-B4T8Bva5.chunk.mjs";import{n as l}from"./_plugin-vue2_normalizer-DE43HRmV.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./RichText-8gCpOmbd.chunk.mjs";import"./NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs";import"./index-DawwgdjB.chunk.mjs";import"./index-DPHjx3Ha.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./public-BZ_SeVlU.chunk.mjs";import"./Wrapper-u7Zr90sc.chunk.mjs";import"./index-B3zsA-GS.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};
|
||||
import{V as r}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import{E as d}from"./Editor-Bof1QbLV.chunk.mjs";import{l as n}from"./logger-B4T8Bva5.chunk.mjs";import{n as l}from"./_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./RichText-BbI1dRRP.chunk.mjs";import"./NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs";import"./index-Br6XaFoY.chunk.mjs";import"./index-COlIf7vj.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./public-BnJZpQLY.chunk.mjs";import"./Wrapper-C5fSsDjW.chunk.mjs";import"./index-BpvrP2W2.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-DRCMI7FU.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-8gCpOmbd.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DE43HRmV.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-BBud9Daj.chunk.css'),window.OC.filePath('text', '', 'js/index-DawwgdjB.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-B3zc_yip.chunk.css'),window.OC.filePath('text', '', 'js/index-DPHjx3Ha.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-BZ_SeVlU.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-BSA-kvOi.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-u7Zr90sc.chunk.mjs'),window.OC.filePath('text', '', 'js/index-B3zsA-GS.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-B_yljjF_.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-C5euUIBu.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-Bof1QbLV.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-BbI1dRRP.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-B6WZzrWi.chunk.css'),window.OC.filePath('text', '', 'js/index-Br6XaFoY.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer--tuJJ_aO.chunk.css'),window.OC.filePath('text', '', 'js/index-COlIf7vj.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-BnJZpQLY.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-BSA-kvOi.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-C5fSsDjW.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BpvrP2W2.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-B_yljjF_.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-C5euUIBu.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-DRCMI7FU.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-Bof1QbLV.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-BXzMGDmQ.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-yhJG9WPW.chunk.mjs"}
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,2 +1,2 @@
|
|||
/*! 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-DawwgdjB.chunk.mjs";import{n as c}from"./_plugin-vue2_normalizer-DE43HRmV.chunk.mjs";import"./NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs";import{N as i}from"./NcCheckboxRadioSwitch-CvMEEI9x-DSKqVAcE.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};
|
||||
import{e as o}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{c as s,_ as r}from"./index-Br6XaFoY.chunk.mjs";import{n as c}from"./_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs";import"./NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs";import{N as i}from"./NcCheckboxRadioSwitch-CvMEEI9x-HpgEZPax.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";const p={name:"FilesSettings",components:{NcCheckboxRadioSwitch:i},data(){return{showWorkspace:OCA.Text.RichWorkspaceEnabled}},methods:{toggle(){this.showWorkspace?(o("Text::showRichWorkspace"),s.post(r("/apps/text/settings"),{key:"workspace_enabled",value:"1"})):(o("Text::hideRichWorkspace"),s.post(r("/apps/text/settings"),{key:"workspace_enabled",value:"0"}))}}};var n=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"files-setting-richworkspace"}},[e("NcCheckboxRadioSwitch",{attrs:{checked:t.showWorkspace},on:{"update:checked":[function(a){t.showWorkspace=a},t.toggle]}},[t._v(" "+t._s(t.t("text","Show folder description"))+" ")])],1)},h=[],k=c(p,n,h,!1,null,null);const W=k.exports;export{W as default};
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"FilesSettings-CfLx-A3C.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-Dh-rNDjJ.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"}
|
|
@ -1,2 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{_ as a}from"./index-DawwgdjB.chunk.mjs";import{A as r}from"./AvatarWrapper-CAdY-gxu.chunk.mjs";import{d as o}from"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import{n as i}from"./_plugin-vue2_normalizer-DE43HRmV.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./NcNoteCard-CImn6F9p-5Amat3yb.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};
|
||||
import{_ as a}from"./index-Br6XaFoY.chunk.mjs";import{A as r}from"./AvatarWrapper-PsSM0l9U.chunk.mjs";import{d as o}from"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import{n as i}from"./_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./NcNoteCard-CImn6F9p-7OG_jBLc.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};
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"GuestNameDialog-Dx1bUKZV.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-DsOpY-UD.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"}
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,2 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{T as r,au as n}from"./RichText-8gCpOmbd.chunk.mjs";import{n as o,e as s}from"./_plugin-vue2_normalizer-DE43HRmV.chunk.mjs";import{B as a}from"./BaseReader-UjtX526e.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 f=m.exports;export{f as P};
|
||||
import{T as r,au as n}from"./RichText-BbI1dRRP.chunk.mjs";import{n as o,e as s}from"./_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs";import{B as a}from"./BaseReader-Cj9MYAos.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 f=m.exports;export{f as P};
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"PlainTextReader-BnTRidcK.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-BA83qRgl.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"}
|
|
@ -1,3 +1,3 @@
|
|||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-DRCMI7FU.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-8gCpOmbd.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DE43HRmV.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-BBud9Daj.chunk.css'),window.OC.filePath('text', '', 'js/index-DawwgdjB.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-B3zc_yip.chunk.css'),window.OC.filePath('text', '', 'js/index-DPHjx3Ha.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-BZ_SeVlU.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-BSA-kvOi.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-u7Zr90sc.chunk.mjs'),window.OC.filePath('text', '', 'js/index-B3zsA-GS.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-B_yljjF_.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-C5euUIBu.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-Bof1QbLV.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-BbI1dRRP.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-B6WZzrWi.chunk.css'),window.OC.filePath('text', '', 'js/index-Br6XaFoY.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer--tuJJ_aO.chunk.css'),window.OC.filePath('text', '', 'js/index-COlIf7vj.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-BnJZpQLY.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-BSA-kvOi.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-C5fSsDjW.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BpvrP2W2.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-B_yljjF_.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-CSduYUN4.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-C5euUIBu.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-DE43HRmV.chunk.mjs";import{b as a}from"./NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs";import"./index-DawwgdjB.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-DRCMI7FU.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};
|
||||
import{_ as i}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{n as r}from"./_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs";import{b as a}from"./NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs";import"./index-Br6XaFoY.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-Bof1QbLV.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-Z2E8JJ7c.chunk.mjs"}
|
||||
{"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-UGz8QNPW.chunk.mjs"}
|
|
@ -1,2 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{P as o}from"./PlainTextReader-BnTRidcK.chunk.mjs";import{R as e}from"./RichTextReader-C2iKIQeu.chunk.mjs";import{n as i}from"./_plugin-vue2_normalizer-DE43HRmV.chunk.mjs";import"./RichText-8gCpOmbd.chunk.mjs";import"./NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-DawwgdjB.chunk.mjs";import"./index-DPHjx3Ha.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./public-BZ_SeVlU.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./BaseReader-UjtX526e.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};
|
||||
import{P as o}from"./PlainTextReader-BA83qRgl.chunk.mjs";import{R as e}from"./RichTextReader-B1FGa-zN.chunk.mjs";import{n as i}from"./_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs";import"./RichText-BbI1dRRP.chunk.mjs";import"./NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-Br6XaFoY.chunk.mjs";import"./index-COlIf7vj.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./public-BnJZpQLY.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./BaseReader-Cj9MYAos.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-CVTbpk3x.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-BT0C8TtC.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"}
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,2 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{B as o}from"./BaseReader-UjtX526e.chunk.mjs";import{X as i,R as s}from"./RichText-8gCpOmbd.chunk.mjs";import{n as c}from"./_plugin-vue2_normalizer-DE43HRmV.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-Cj9MYAos.chunk.mjs";import{X as i,R as s}from"./RichText-BbI1dRRP.chunk.mjs";import{n as c}from"./_plugin-vue2_normalizer-CBD_Jxxq.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-C2iKIQeu.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-B1FGa-zN.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 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{v as n,c}from"./index-DawwgdjB.chunk.mjs";import{s,u as o}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{g as l}from"./Editor.singleton-BXzMGDmQ.chunk.mjs";import{R as d}from"./RichTextReader-C2iKIQeu.chunk.mjs";import{n as p}from"./_plugin-vue2_normalizer-DE43HRmV.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./BaseReader-UjtX526e.chunk.mjs";import"./RichText-8gCpOmbd.chunk.mjs";import"./NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs";import"./index-DPHjx3Ha.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./public-BZ_SeVlU.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};
|
||||
import{v as n,c}from"./index-Br6XaFoY.chunk.mjs";import{s,u as o}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{g as l}from"./Editor.singleton-yhJG9WPW.chunk.mjs";import{R as d}from"./RichTextReader-B1FGa-zN.chunk.mjs";import{n as p}from"./_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./BaseReader-Cj9MYAos.chunk.mjs";import"./RichText-BbI1dRRP.chunk.mjs";import"./NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs";import"./index-COlIf7vj.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./public-BnJZpQLY.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};
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,2 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{n as i}from"./_plugin-vue2_normalizer-DE43HRmV.chunk.mjs";import{d as n}from"./NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-DawwgdjB.chunk.mjs";import{A as o}from"./AvatarWrapper-CAdY-gxu.chunk.mjs";import{C as p,a as l}from"./Editor-DRCMI7FU.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-8gCpOmbd.chunk.mjs";import"./index-DPHjx3Ha.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./public-BZ_SeVlU.chunk.mjs";import"./Wrapper-u7Zr90sc.chunk.mjs";import"./index-B3zsA-GS.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};
|
||||
import{n as i}from"./_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs";import{d as n}from"./NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-Br6XaFoY.chunk.mjs";import{A as o}from"./AvatarWrapper-PsSM0l9U.chunk.mjs";import{C as p,a as l}from"./Editor-Bof1QbLV.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-BbI1dRRP.chunk.mjs";import"./index-COlIf7vj.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./public-BnJZpQLY.chunk.mjs";import"./Wrapper-C5fSsDjW.chunk.mjs";import"./index-BpvrP2W2.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 +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-DawwgdjB.chunk.mjs";import{a4 as s}from"./RichText-8gCpOmbd.chunk.mjs";import{N as a}from"./NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs";import{P as i}from"./PlainTextReader-BnTRidcK.chunk.mjs";import n from"./MarkdownContentEditor-DDjMvoB0.chunk.mjs";import{t as r,f as m,n as l}from"./_plugin-vue2_normalizer-DE43HRmV.chunk.mjs";import{g as u}from"./token-DpxtlN7K.chunk.mjs";import{g as c}from"./Editor.singleton-BXzMGDmQ.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-DPHjx3Ha.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./public-BZ_SeVlU.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./BaseReader-UjtX526e.chunk.mjs";import"./Wrapper-u7Zr90sc.chunk.mjs";import"./index-B3zsA-GS.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};
|
||||
import{V as e}from"./vue.runtime.esm-fZsuJKoo.chunk.mjs";import{c as d}from"./index-Br6XaFoY.chunk.mjs";import{a4 as s}from"./RichText-BbI1dRRP.chunk.mjs";import{N as a}from"./NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs";import{P as i}from"./PlainTextReader-BA83qRgl.chunk.mjs";import n from"./MarkdownContentEditor-CAz5DkoZ.chunk.mjs";import{t as r,f as m,n as l}from"./_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs";import{g as u}from"./token-DpxtlN7K.chunk.mjs";import{g as c}from"./Editor.singleton-yhJG9WPW.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./index-COlIf7vj.chunk.mjs";import"./MediaHandler.provider-CSBQhvYP.chunk.mjs";import"./logger-B4T8Bva5.chunk.mjs";import"./index-DkzhscpN.chunk.mjs";import"./public-BnJZpQLY.chunk.mjs";import"./index-Ubm2itxG.chunk.mjs";import"./BaseReader-Cj9MYAos.chunk.mjs";import"./Wrapper-C5fSsDjW.chunk.mjs";import"./index-BpvrP2W2.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,2 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{w as on,c as S}from"./path-D16fQfbf.chunk.mjs";import{aM as an,aN as E,aO as I,aP as rn,aQ as f,aI as un,aR as k,aS as O,aT as cn,aU as y,aV as sn,aW as yn,aX as ln}from"./mermaid.core-DY0PheJ_.chunk.mjs";function en(i){return i.innerRadius}function fn(i){return i.outerRadius}function pn(i){return i.startAngle}function gn(i){return i.endAngle}function xn(i){return i&&i.padAngle}function mn(i,v,X,M,d,T,_,a){var B=X-i,s=M-v,n=_-d,g=a-T,r=g*B-n*s;if(!(r*r<f))return r=(n*(v-T)-g*(i-d))/r,[i+r*B,v+r*s]}function F(i,v,X,M,d,T,_){var a=i-X,B=v-M,s=(_?T:-T)/k(a*a+B*B),n=s*B,g=-s*a,r=i+n,o=v+g,l=X+n,e=M+g,q=(r+l)/2,u=(o+e)/2,x=l-r,p=e-o,R=x*x+p*p,V=d-T,A=r*e-l*o,K=(p<0?-1:1)*k(ln(0,V*V*R-A*A)),N=(A*p-x*K)/R,P=(-A*x-p*K)/R,U=(A*p+x*K)/R,m=(-A*x+p*K)/R,h=N-q,t=P-u,c=U-q,D=m-u;return h*h+t*t>c*c+D*D&&(N=U,P=m),{cx:N,cy:P,x01:-n,y01:-g,x11:N*(d/V-1),y11:P*(d/V-1)}}function dn(){var i=en,v=fn,X=S(0),M=null,d=pn,T=gn,_=xn,a=null,B=on(s);function s(){var n,g,r=+i.apply(this,arguments),o=+v.apply(this,arguments),l=d.apply(this,arguments)-rn,e=T.apply(this,arguments)-rn,q=cn(e-l),u=e>l;if(a||(a=n=B()),o<r&&(g=o,o=r,r=g),!(o>f))a.moveTo(0,0);else if(q>un-f)a.moveTo(o*E(l),o*I(l)),a.arc(0,0,o,l,e,!u),r>f&&(a.moveTo(r*E(e),r*I(e)),a.arc(0,0,r,e,l,u));else{var x=l,p=e,R=l,V=e,A=q,K=q,N=_.apply(this,arguments)/2,P=N>f&&(M?+M.apply(this,arguments):k(r*r+o*o)),U=O(cn(o-r)/2,+X.apply(this,arguments)),m=U,h=U,t,c;if(P>f){var D=sn(P/r*I(N)),L=sn(P/o*I(N));(A-=D*2)>f?(D*=u?1:-1,R+=D,V-=D):(A=0,R=V=(l+e)/2),(K-=L*2)>f?(L*=u?1:-1,x+=L,p-=L):(K=0,x=p=(l+e)/2)}var W=o*E(x),b=o*I(x),Y=r*E(V),Z=r*I(V);if(U>f){var $=o*E(p),C=o*I(p),G=r*E(R),H=r*I(R),Q;if(q<an)if(Q=mn(W,b,G,H,$,C,Y,Z)){var J=W-Q[0],w=b-Q[1],j=$-Q[0],z=C-Q[1],nn=1/I(yn((J*j+w*z)/(k(J*J+w*w)*k(j*j+z*z)))/2),tn=k(Q[0]*Q[0]+Q[1]*Q[1]);m=O(U,(r-tn)/(nn-1)),h=O(U,(o-tn)/(nn+1))}else m=h=0}K>f?h>f?(t=F(G,H,W,b,o,h,u),c=F($,C,Y,Z,o,h,u),a.moveTo(t.cx+t.x01,t.cy+t.y01),h<U?a.arc(t.cx,t.cy,h,y(t.y01,t.x01),y(c.y01,c.x01),!u):(a.arc(t.cx,t.cy,h,y(t.y01,t.x01),y(t.y11,t.x11),!u),a.arc(0,0,o,y(t.cy+t.y11,t.cx+t.x11),y(c.cy+c.y11,c.cx+c.x11),!u),a.arc(c.cx,c.cy,h,y(c.y11,c.x11),y(c.y01,c.x01),!u))):(a.moveTo(W,b),a.arc(0,0,o,x,p,!u)):a.moveTo(W,b),!(r>f)||!(A>f)?a.lineTo(Y,Z):m>f?(t=F(Y,Z,$,C,r,-m,u),c=F(W,b,G,H,r,-m,u),a.lineTo(t.cx+t.x01,t.cy+t.y01),m<U?a.arc(t.cx,t.cy,m,y(t.y01,t.x01),y(c.y01,c.x01),!u):(a.arc(t.cx,t.cy,m,y(t.y01,t.x01),y(t.y11,t.x11),!u),a.arc(0,0,r,y(t.cy+t.y11,t.cx+t.x11),y(c.cy+c.y11,c.cx+c.x11),u),a.arc(c.cx,c.cy,m,y(c.y11,c.x11),y(c.y01,c.x01),!u))):a.arc(0,0,r,V,R,u)}if(a.closePath(),n)return a=null,n+""||null}return s.centroid=function(){var n=(+i.apply(this,arguments)+ +v.apply(this,arguments))/2,g=(+d.apply(this,arguments)+ +T.apply(this,arguments))/2-an/2;return[E(g)*n,I(g)*n]},s.innerRadius=function(n){return arguments.length?(i=typeof n=="function"?n:S(+n),s):i},s.outerRadius=function(n){return arguments.length?(v=typeof n=="function"?n:S(+n),s):v},s.cornerRadius=function(n){return arguments.length?(X=typeof n=="function"?n:S(+n),s):X},s.padRadius=function(n){return arguments.length?(M=n==null?null:typeof n=="function"?n:S(+n),s):M},s.startAngle=function(n){return arguments.length?(d=typeof n=="function"?n:S(+n),s):d},s.endAngle=function(n){return arguments.length?(T=typeof n=="function"?n:S(+n),s):T},s.padAngle=function(n){return arguments.length?(_=typeof n=="function"?n:S(+n),s):_},s.context=function(n){return arguments.length?(a=n!=null?n:null,s):a},s}export{dn as a};
|
||||
import{w as on,c as S}from"./path-D16fQfbf.chunk.mjs";import{aM as an,aN as E,aO as I,aP as rn,aQ as f,aI as un,aR as k,aS as O,aT as cn,aU as y,aV as sn,aW as yn,aX as ln}from"./mermaid.core-CHhv7cmw.chunk.mjs";function en(i){return i.innerRadius}function fn(i){return i.outerRadius}function pn(i){return i.startAngle}function gn(i){return i.endAngle}function xn(i){return i&&i.padAngle}function mn(i,v,X,M,d,T,_,a){var B=X-i,s=M-v,n=_-d,g=a-T,r=g*B-n*s;if(!(r*r<f))return r=(n*(v-T)-g*(i-d))/r,[i+r*B,v+r*s]}function F(i,v,X,M,d,T,_){var a=i-X,B=v-M,s=(_?T:-T)/k(a*a+B*B),n=s*B,g=-s*a,r=i+n,o=v+g,l=X+n,e=M+g,q=(r+l)/2,u=(o+e)/2,x=l-r,p=e-o,R=x*x+p*p,V=d-T,A=r*e-l*o,K=(p<0?-1:1)*k(ln(0,V*V*R-A*A)),N=(A*p-x*K)/R,P=(-A*x-p*K)/R,U=(A*p+x*K)/R,m=(-A*x+p*K)/R,h=N-q,t=P-u,c=U-q,D=m-u;return h*h+t*t>c*c+D*D&&(N=U,P=m),{cx:N,cy:P,x01:-n,y01:-g,x11:N*(d/V-1),y11:P*(d/V-1)}}function dn(){var i=en,v=fn,X=S(0),M=null,d=pn,T=gn,_=xn,a=null,B=on(s);function s(){var n,g,r=+i.apply(this,arguments),o=+v.apply(this,arguments),l=d.apply(this,arguments)-rn,e=T.apply(this,arguments)-rn,q=cn(e-l),u=e>l;if(a||(a=n=B()),o<r&&(g=o,o=r,r=g),!(o>f))a.moveTo(0,0);else if(q>un-f)a.moveTo(o*E(l),o*I(l)),a.arc(0,0,o,l,e,!u),r>f&&(a.moveTo(r*E(e),r*I(e)),a.arc(0,0,r,e,l,u));else{var x=l,p=e,R=l,V=e,A=q,K=q,N=_.apply(this,arguments)/2,P=N>f&&(M?+M.apply(this,arguments):k(r*r+o*o)),U=O(cn(o-r)/2,+X.apply(this,arguments)),m=U,h=U,t,c;if(P>f){var D=sn(P/r*I(N)),L=sn(P/o*I(N));(A-=D*2)>f?(D*=u?1:-1,R+=D,V-=D):(A=0,R=V=(l+e)/2),(K-=L*2)>f?(L*=u?1:-1,x+=L,p-=L):(K=0,x=p=(l+e)/2)}var W=o*E(x),b=o*I(x),Y=r*E(V),Z=r*I(V);if(U>f){var $=o*E(p),C=o*I(p),G=r*E(R),H=r*I(R),Q;if(q<an)if(Q=mn(W,b,G,H,$,C,Y,Z)){var J=W-Q[0],w=b-Q[1],j=$-Q[0],z=C-Q[1],nn=1/I(yn((J*j+w*z)/(k(J*J+w*w)*k(j*j+z*z)))/2),tn=k(Q[0]*Q[0]+Q[1]*Q[1]);m=O(U,(r-tn)/(nn-1)),h=O(U,(o-tn)/(nn+1))}else m=h=0}K>f?h>f?(t=F(G,H,W,b,o,h,u),c=F($,C,Y,Z,o,h,u),a.moveTo(t.cx+t.x01,t.cy+t.y01),h<U?a.arc(t.cx,t.cy,h,y(t.y01,t.x01),y(c.y01,c.x01),!u):(a.arc(t.cx,t.cy,h,y(t.y01,t.x01),y(t.y11,t.x11),!u),a.arc(0,0,o,y(t.cy+t.y11,t.cx+t.x11),y(c.cy+c.y11,c.cx+c.x11),!u),a.arc(c.cx,c.cy,h,y(c.y11,c.x11),y(c.y01,c.x01),!u))):(a.moveTo(W,b),a.arc(0,0,o,x,p,!u)):a.moveTo(W,b),!(r>f)||!(A>f)?a.lineTo(Y,Z):m>f?(t=F(Y,Z,$,C,r,-m,u),c=F(W,b,G,H,r,-m,u),a.lineTo(t.cx+t.x01,t.cy+t.y01),m<U?a.arc(t.cx,t.cy,m,y(t.y01,t.x01),y(c.y01,c.x01),!u):(a.arc(t.cx,t.cy,m,y(t.y01,t.x01),y(t.y11,t.x11),!u),a.arc(0,0,r,y(t.cy+t.y11,t.cx+t.x11),y(c.cy+c.y11,c.cx+c.x11),u),a.arc(c.cx,c.cy,m,y(c.y11,c.x11),y(c.y01,c.x01),!u))):a.arc(0,0,r,V,R,u)}if(a.closePath(),n)return a=null,n+""||null}return s.centroid=function(){var n=(+i.apply(this,arguments)+ +v.apply(this,arguments))/2,g=(+d.apply(this,arguments)+ +T.apply(this,arguments))/2-an/2;return[E(g)*n,I(g)*n]},s.innerRadius=function(n){return arguments.length?(i=typeof n=="function"?n:S(+n),s):i},s.outerRadius=function(n){return arguments.length?(v=typeof n=="function"?n:S(+n),s):v},s.cornerRadius=function(n){return arguments.length?(X=typeof n=="function"?n:S(+n),s):X},s.padRadius=function(n){return arguments.length?(M=n==null?null:typeof n=="function"?n:S(+n),s):M},s.startAngle=function(n){return arguments.length?(d=typeof n=="function"?n:S(+n),s):d},s.endAngle=function(n){return arguments.length?(T=typeof n=="function"?n:S(+n),s):T},s.padAngle=function(n){return arguments.length?(_=typeof n=="function"?n:S(+n),s):_},s.context=function(n){return arguments.length?(a=n!=null?n:null,s):a},s}export{dn as a};
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,2 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{al as t,am as o}from"./mermaid.core-DY0PheJ_.chunk.mjs";const n=(a,s)=>t.lang.round(o.parse(a)[s]);export{n as c};
|
||||
import{al as t,am as o}from"./mermaid.core-CHhv7cmw.chunk.mjs";const n=(a,s)=>t.lang.round(o.parse(a)[s]);export{n as c};
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"channel-nbdM4U3D.chunk.mjs","sources":["../node_modules/khroma/dist/methods/channel.js"],"sourcesContent":["/* IMPORT */\nimport _ from '../utils/index.js';\nimport Color from '../color/index.js';\n/* MAIN */\nconst channel = (color, channel) => {\n return _.lang.round(Color.parse(color)[channel]);\n};\n/* EXPORT */\nexport default channel;\n"],"names":["channel","color","_","Color"],"mappings":";+DAIK,MAACA,EAAU,CAACC,EAAOD,IACbE,EAAE,KAAK,MAAMC,EAAM,MAAMF,CAAK,EAAED,CAAO,CAAC","x_google_ignoreList":[0]}
|
||||
{"version":3,"file":"channel-JpSG4_AT.chunk.mjs","sources":["../node_modules/khroma/dist/methods/channel.js"],"sourcesContent":["/* IMPORT */\nimport _ from '../utils/index.js';\nimport Color from '../color/index.js';\n/* MAIN */\nconst channel = (color, channel) => {\n return _.lang.round(Color.parse(color)[channel]);\n};\n/* EXPORT */\nexport default channel;\n"],"names":["channel","color","_","Color"],"mappings":";+DAIK,MAACA,EAAU,CAACC,EAAOD,IACbE,EAAE,KAAK,MAAMC,EAAM,MAAMF,CAAK,EAAED,CAAO,CAAC","x_google_ignoreList":[0]}
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,2 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{a as r}from"./graph-B4AgqSd6.chunk.mjs";var n=4;function e(t){return r(t,n)}export{e as c};
|
||||
import{a as r}from"./graph-AfIIf9fP.chunk.mjs";var n=4;function e(t){return r(t,n)}export{e as c};
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"clone-DkEmsYqL.chunk.mjs","sources":["../node_modules/lodash-es/clone.js"],"sourcesContent":["import baseClone from './_baseClone.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\nfunction clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n}\n\nexport default clone;\n"],"names":["CLONE_SYMBOLS_FLAG","clone","value","baseClone"],"mappings":";+CAGA,IAAIA,EAAqB,EA4BzB,SAASC,EAAMC,EAAO,CACpB,OAAOC,EAAUD,EAAOF,CAAkB,CAC5C","x_google_ignoreList":[0]}
|
||||
{"version":3,"file":"clone-CfxKHCfg.chunk.mjs","sources":["../node_modules/lodash-es/clone.js"],"sourcesContent":["import baseClone from './_baseClone.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\nfunction clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n}\n\nexport default clone;\n"],"names":["CLONE_SYMBOLS_FLAG","clone","value","baseClone"],"mappings":";+CAGA,IAAIA,EAAqB,EA4BzB,SAASC,EAAMC,EAAO,CACpB,OAAOC,EAAUD,EAAOF,CAAkB,CAC5C","x_google_ignoreList":[0]}
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,3 +1,3 @@
|
|||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/PublicFilesEditor-Z2E8JJ7c.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-DE43HRmV.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-BBud9Daj.chunk.css'),window.OC.filePath('text', '', 'js/index-DawwgdjB.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-B3zc_yip.chunk.css'),window.OC.filePath('text', '', 'js/RichWorkspace-Cv-yWGUy.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor.singleton-BXzMGDmQ.chunk.mjs'),window.OC.filePath('text', '', 'js/RichTextReader-C2iKIQeu.chunk.mjs'),window.OC.filePath('text', '', 'js/BaseReader-UjtX526e.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-8gCpOmbd.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DPHjx3Ha.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-BZ_SeVlU.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-BSA-kvOi.chunk.css'),window.OC.filePath('text', '', 'css/BaseReader-BJvsPn00.chunk.css'),window.OC.filePath('text', '', 'css/RichTextReader-GsS_EREA.chunk.css'),window.OC.filePath('text', '', 'css/RichWorkspace-irRpBmr3.chunk.css')])))=>i.map(i=>d[i]);
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/PublicFilesEditor-UGz8QNPW.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-CBD_Jxxq.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-B6WZzrWi.chunk.css'),window.OC.filePath('text', '', 'js/index-Br6XaFoY.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--tuJJ_aO.chunk.css'),window.OC.filePath('text', '', 'js/RichWorkspace-CnLoSSZq.chunk.mjs'),window.OC.filePath('text', '', 'js/Editor.singleton-yhJG9WPW.chunk.mjs'),window.OC.filePath('text', '', 'js/RichTextReader-B1FGa-zN.chunk.mjs'),window.OC.filePath('text', '', 'js/BaseReader-Cj9MYAos.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-BbI1dRRP.chunk.mjs'),window.OC.filePath('text', '', 'js/index-COlIf7vj.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-BnJZpQLY.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-BSA-kvOi.chunk.css'),window.OC.filePath('text', '', 'css/BaseReader-BJvsPn00.chunk.css'),window.OC.filePath('text', '', 'css/RichTextReader-GsS_EREA.chunk.css'),window.OC.filePath('text', '', 'css/RichWorkspace-irRpBmr3.chunk.css')])))=>i.map(i=>d[i]);
|
||||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{_ as f,g as _,e as O}from"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import{s as E,a as g,p as F}from"./public-BZ_SeVlU.chunk.mjs";import"./NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs";import{H as v,b as I,N as b,P as A,F as k}from"./index-0UkD2Lrp.chunk.mjs";import{l as x}from"./index-Ubm2itxG.chunk.mjs";import{h as R,c as N}from"./index-DawwgdjB.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-DPHjx3Ha.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-Z2E8JJ7c.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-Cv-yWGUy.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};
|
||||
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-BnJZpQLY.chunk.mjs";import"./NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs";import{H as v,b as I,N as b,P as A,F as k}from"./index-CZpehzPA.chunk.mjs";import{l as x}from"./index-Ubm2itxG.chunk.mjs";import{h as R,c as N}from"./index-Br6XaFoY.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-COlIf7vj.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-UGz8QNPW.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-CnLoSSZq.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};
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,2 +0,0 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{p as a,f as o}from"./flowDb-c1833063-D4icbj_h.chunk.mjs";import{f as t,g as m}from"./styles-483fbfea-C9vDy3RU.chunk.mjs";import{aq as e}from"./mermaid.core-DY0PheJ_.chunk.mjs";import"./graph-B4AgqSd6.chunk.mjs";import"./layout-CiW90Fn8.chunk.mjs";import"./NcNoteCard-CImn6F9p-5Amat3yb.chunk.mjs";import"./index-01f381cb-DhN0323g.chunk.mjs";import"./clone-DkEmsYqL.chunk.mjs";import"./edges-066a5561-X1RWHNaD.chunk.mjs";import"./createText-ca0c5216-L_ozCcaj.chunk.mjs";import"./line-wAqpfLEr.chunk.mjs";import"./array-CNYCUCI1.chunk.mjs";import"./path-D16fQfbf.chunk.mjs";import"./channel-nbdM4U3D.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";const q={parser:a,db:o,renderer:t,styles:m,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,e({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{q as diagram};
|
|
@ -0,0 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import{p as a,f as o}from"./flowDb-c1833063-CSsn8Gwm.chunk.mjs";import{f as t,g as m}from"./styles-483fbfea-CL8ByvQb.chunk.mjs";import{aq as e}from"./mermaid.core-CHhv7cmw.chunk.mjs";import"./graph-AfIIf9fP.chunk.mjs";import"./layout-OOz8CTlC.chunk.mjs";import"./NcNoteCard-CImn6F9p-7OG_jBLc.chunk.mjs";import"./index-01f381cb-1vf3Y6b9.chunk.mjs";import"./clone-CfxKHCfg.chunk.mjs";import"./edges-066a5561-GQrjvVdy.chunk.mjs";import"./createText-ca0c5216-zBmLklPS.chunk.mjs";import"./line-CKWJWi_3.chunk.mjs";import"./array-CNYCUCI1.chunk.mjs";import"./path-D16fQfbf.chunk.mjs";import"./channel-JpSG4_AT.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./emoji-picker-SoWZqoso.chunk.mjs";import"./vue.runtime.esm-fZsuJKoo.chunk.mjs";const q={parser:a,db:o,renderer:t,styles:m,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,e({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{q as diagram};
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"flowDiagram-v2-13329dc7-BwT6K1K3.chunk.mjs","sources":["../node_modules/mermaid/dist/flowDiagram-v2-13329dc7.js"],"sourcesContent":["import { p as parser, f as flowDb } from \"./flowDb-c1833063.js\";\nimport { f as flowRendererV2, a as flowStyles } from \"./styles-483fbfea.js\";\nimport { p as setConfig } from \"./mermaid-6dc72991.js\";\nimport \"d3\";\nimport \"dagre-d3-es/src/graphlib/index.js\";\nimport \"./index-01f381cb.js\";\nimport \"dagre-d3-es/src/dagre/index.js\";\nimport \"dagre-d3-es/src/graphlib/json.js\";\nimport \"./edges-066a5561.js\";\nimport \"./createText-ca0c5216.js\";\nimport \"mdast-util-from-markdown\";\nimport \"ts-dedent\";\nimport \"dagre-d3-es/src/dagre-js/label/add-html-label.js\";\nimport \"khroma\";\nimport \"dayjs\";\nimport \"@braintree/sanitize-url\";\nimport \"dompurify\";\nimport \"lodash-es/memoize.js\";\nimport \"lodash-es/merge.js\";\nimport \"stylis\";\nimport \"lodash-es/isEmpty.js\";\nconst diagram = {\n parser,\n db: flowDb,\n renderer: flowRendererV2,\n styles: flowStyles,\n init: (cnf) => {\n if (!cnf.flowchart) {\n cnf.flowchart = {};\n }\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n setConfig({ flowchart: { arrowMarkerAbsolute: cnf.arrowMarkerAbsolute } });\n flowRendererV2.setConf(cnf.flowchart);\n flowDb.clear();\n flowDb.setGen(\"gen-2\");\n }\n};\nexport {\n diagram\n};\n"],"names":["diagram","parser","flowDb","flowRendererV2","flowStyles","cnf","setConfig"],"mappings":";kvBAqBK,MAACA,EAAU,CAChB,OAAEC,EACA,GAAIC,EACJ,SAAUC,EACV,OAAQC,EACR,KAAOC,GAAQ,CACRA,EAAI,YACPA,EAAI,UAAY,IAElBA,EAAI,UAAU,oBAAsBA,EAAI,oBACxCC,EAAU,CAAE,UAAW,CAAE,oBAAqBD,EAAI,mBAAqB,CAAA,CAAE,EACzEF,EAAe,QAAQE,EAAI,SAAS,EACpCH,EAAO,MAAK,EACZA,EAAO,OAAO,OAAO,CACtB,CACH","x_google_ignoreList":[0]}
|
||||
{"version":3,"file":"flowDiagram-v2-13329dc7-CGYnbad1.chunk.mjs","sources":["../node_modules/mermaid/dist/flowDiagram-v2-13329dc7.js"],"sourcesContent":["import { p as parser, f as flowDb } from \"./flowDb-c1833063.js\";\nimport { f as flowRendererV2, a as flowStyles } from \"./styles-483fbfea.js\";\nimport { p as setConfig } from \"./mermaid-6dc72991.js\";\nimport \"d3\";\nimport \"dagre-d3-es/src/graphlib/index.js\";\nimport \"./index-01f381cb.js\";\nimport \"dagre-d3-es/src/dagre/index.js\";\nimport \"dagre-d3-es/src/graphlib/json.js\";\nimport \"./edges-066a5561.js\";\nimport \"./createText-ca0c5216.js\";\nimport \"mdast-util-from-markdown\";\nimport \"ts-dedent\";\nimport \"dagre-d3-es/src/dagre-js/label/add-html-label.js\";\nimport \"khroma\";\nimport \"dayjs\";\nimport \"@braintree/sanitize-url\";\nimport \"dompurify\";\nimport \"lodash-es/memoize.js\";\nimport \"lodash-es/merge.js\";\nimport \"stylis\";\nimport \"lodash-es/isEmpty.js\";\nconst diagram = {\n parser,\n db: flowDb,\n renderer: flowRendererV2,\n styles: flowStyles,\n init: (cnf) => {\n if (!cnf.flowchart) {\n cnf.flowchart = {};\n }\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n setConfig({ flowchart: { arrowMarkerAbsolute: cnf.arrowMarkerAbsolute } });\n flowRendererV2.setConf(cnf.flowchart);\n flowDb.clear();\n flowDb.setGen(\"gen-2\");\n }\n};\nexport {\n diagram\n};\n"],"names":["diagram","parser","flowDb","flowRendererV2","flowStyles","cnf","setConfig"],"mappings":";kvBAqBK,MAACA,EAAU,CAChB,OAAEC,EACA,GAAIC,EACJ,SAAUC,EACV,OAAQC,EACR,KAAOC,GAAQ,CACRA,EAAI,YACPA,EAAI,UAAY,IAElBA,EAAI,UAAU,oBAAsBA,EAAI,oBACxCC,EAAU,CAAE,UAAW,CAAE,oBAAqBD,EAAI,mBAAqB,CAAA,CAAE,EACzEF,EAAe,QAAQE,EAAI,SAAS,EACpCH,EAAO,MAAK,EACZA,EAAO,OAAO,OAAO,CACtB,CACH","x_google_ignoreList":[0]}
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,2 +1,2 @@
|
|||
/*! third party licenses: js/vendor.LICENSE.txt */
|
||||
import"./NcNoteCard-CImn6F9p-5Amat3yb.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};
|
||||
import"./NcNoteCard-CImn6F9p-7OG_jBLc.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};
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,3 +1,3 @@
|
|||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/FilePicker-CDU2njOJ-lNur_aBQ.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/public-BZ_SeVlU.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-CImn6F9p-5Amat3yb.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-BBud9Daj.chunk.css'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-0UkD2Lrp.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DawwgdjB.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DE43HRmV.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-B3zc_yip.chunk.css'),window.OC.filePath('text', '', 'js/NcCheckboxRadioSwitch-CvMEEI9x-DSKqVAcE.chunk.mjs'),window.OC.filePath('text', '', 'js/index-B3zsA-GS.chunk.mjs')])))=>i.map(i=>d[i]);
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/FilePicker-CDU2njOJ-DJRGAqlw.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-fZsuJKoo.chunk.mjs'),window.OC.filePath('text', '', 'js/public-BnJZpQLY.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-CImn6F9p-7OG_jBLc.chunk.mjs'),window.OC.filePath('text', '', 'css/NcNoteCard-CImn6F9p-B6WZzrWi.chunk.css'),window.OC.filePath('text', '', 'js/index-Ubm2itxG.chunk.mjs'),window.OC.filePath('text', '', 'js/index-CZpehzPA.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DkzhscpN.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Br6XaFoY.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CBD_Jxxq.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer--tuJJ_aO.chunk.css'),window.OC.filePath('text', '', 'js/NcCheckboxRadioSwitch-CvMEEI9x-HpgEZPax.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BpvrP2W2.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-CDU2njOJ-lNur_aBQ.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};
|
||||
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-CDU2njOJ-DJRGAqlw.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 +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-C1azEbgd.mjs"],"sourcesContent":["import { defineAsyncComponent } from \"vue\";\nconst FilePickerVue = defineAsyncComponent(() => import(\"./FilePicker-CDU2njOJ.mjs\"));\nexport {\n FilePickerVue\n};\n"],"file":"js/index-C1azEbgd-CkHAMFNg.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-C1azEbgd.mjs"],"sourcesContent":["import { defineAsyncComponent } from \"vue\";\nconst FilePickerVue = defineAsyncComponent(() => import(\"./FilePicker-CDU2njOJ.mjs\"));\nexport {\n FilePickerVue\n};\n"],"file":"js/index-C1azEbgd-qDYxBT-w.chunk.mjs"}
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче