Skip to content

Commit 41fdfff

Browse files
chore(assets): recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 56a8505 commit 41fdfff

34 files changed

Lines changed: 37 additions & 37 deletions
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
import{W as s,M as d,C as l,c as u,F as p,R as m,E as h,p as c,u as f,e as y}from"./Wrapper-CO86Fptm.chunk.mjs";import{M as g,R as C,A as w}from"./MenuBar-CiHeCmJN.chunk.mjs";import{a as B}from"./index-fJgS8Kyx.chunk.mjs";import{H as O}from"./index-ye-Kz89R.chunk.mjs";import{w as i,p as M}from"./vue.runtime.esm-BeQ812EV.chunk.mjs";import{A as R}from"./MediaHandler.provider-BLmgT72c.chunk.mjs";import{n as $}from"./_plugin-vue2_normalizer-wd1ZAbRr.chunk.mjs";import"./NcLoadingIcon-DOhEMAAY.chunk.mjs";import"./emoji-picker-B23JpFV7.chunk.mjs";import"./index-DxwFe63_.chunk.mjs";import"./logger-SosuiilA.chunk.mjs";import"./index-D3wiQe9-.chunk.mjs";import"./NcCheckboxRadioSwitch-DJmw98x9-Bz9YzKGb.chunk.mjs";import"./NcNoteCard-CwNXZ4vV-hsSmjuLk.chunk.mjs";const v={name:"MarkdownContentEditor",components:{ContentContainer:l,ReadonlyBar:C,MenuBar:g,MainContainer:d,Wrapper:s},provide(){const t={};return Object.defineProperties(t,{[R]:{get:()=>this.$attachmentResolver??null}}),t},props:{fileId:{type:Number,default:null},content:{type:String,required:!0},readOnly:{type:Boolean,default:!1},relativePath:{type:String,default:""},shareToken:{type:String,default:null},showMenuBar:{type:Boolean,default:!0},showOutlineOutside:{type:Boolean,default:!1}},emits:["update:content"],setup(t){const e=[m.configure({extensions:[O]}),p],o=new h({extensions:e}),{setEditable:r,setContent:a}=f(o);return i(()=>t.content,n=>{a(n)}),r(!t.readOnly),i(()=>t.readOnly,n=>{r(!n)}),c(o),M(y,{isPublic:!1,isRichEditor:!0,isRichWorkspace:!1}),{editor:o,setContent:a}},created(){this.setContent(this.content,{addToHistory:!1}),this.editor.on("create",()=>{this.$emit("ready"),this.$parent.$emit("ready")}),this.editor.on("update",({editor:t})=>{const e=u(t.schema).serialize(t.state.doc);this.emit("update:content",{json:t.state.doc,markdown:e})}),this.fileId&&(this.$attachmentResolver=new w({currentDirectory:this.relativePath?.match(/.*\//),user:B(),shareToken:this.shareToken,fileId:this.fileId}))},beforeDestroy(){this.editor.destroy()},methods:{outlineToggled(t){this.emit("outline-toggled",t)},emit(t,e){this.$emit(t,e),this.$parent?.$emit(t,e)}}};var k=function(){var t=this,e=t._self._c;return e("Wrapper",{attrs:{"content-loaded":!0,"show-outline-outside":t.showOutlineOutside},on:{"outline-toggled":t.outlineToggled}},[e("MainContainer",[t.showMenuBar?[t.readOnly?t._t("readonlyBar",function(){return[e("ReadonlyBar")]}):e("MenuBar",{attrs:{autohide:!1}})]:t._e(),e("ContentContainer",{attrs:{"read-only":t.readOnly}})],2)],1)},T=[],b=$(v,k,T,!1,null,null);const N=b.exports;export{N as default};
2-
//# sourceMappingURL=MarkdownContentEditor-CJHLzqBr.chunk.mjs.map
2+
//# sourceMappingURL=MarkdownContentEditor-Cf7locaF.chunk.mjs.map
File renamed without changes.

js/MarkdownContentEditor-CJHLzqBr.chunk.mjs.map renamed to js/MarkdownContentEditor-Cf7locaF.chunk.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)