@beterdichtbij/component-library 0.36.1 → 0.36.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -124,7 +124,7 @@ img.ProseMirror-separator {
|
|
|
124
124
|
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
125
125
|
2. Cannot start or end with "-"
|
|
126
126
|
3. "-" cannot repeat`);ze.customSchemes.push([n,e])}function T8(){ze.scanner=v8(ze.customSchemes);for(let n=0;n<ze.tokenQueue.length;n++)ze.tokenQueue[n][1]({scanner:ze.scanner});ze.parser=C8(ze.scanner.tokens);for(let n=0;n<ze.pluginQueue.length;n++)ze.pluginQueue[n][1]({scanner:ze.scanner,parser:ze.parser});ze.initialized=!0}function A8(n){return ze.initialized||T8(),S8(ze.parser.start,n,y8(ze.scanner.start,n))}function Hc(n,e,t){if(e===void 0&&(e=null),t===void 0&&(t=null),e&&typeof e=="object"){if(t)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);t=e,e=null}const r=new zc(t),o=A8(n),s=[];for(let i=0;i<o.length;i++){const l=o[i];l.isLink&&(!e||l.t===e)&&r.check(l)&&s.push(l.toFormattedObject(r))}return s}function O8(n){return new Ct({key:new Gt("autolink"),appendTransaction:(e,t,r)=>{const o=e.some(c=>c.docChanged)&&!t.doc.eq(r.doc),s=e.some(c=>c.getMeta("preventAutolink"));if(!o||s)return;const{tr:i}=r,l=Jb(t.doc,[...e]);if(oE(l).forEach(({newRange:c})=>{const u=Xb(r.doc,c,p=>p.isTextblock);let f,h;if(u.length>1?(f=u[0],h=r.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):u.length&&r.doc.textBetween(c.from,c.to," "," ").endsWith(" ")&&(f=u[0],h=r.doc.textBetween(f.pos,c.to,void 0," ")),f&&h){const p=h.split(" ").filter(v=>v!=="");if(p.length<=0)return!1;const m=p[p.length-1],g=f.pos+h.lastIndexOf(m);if(!m)return!1;Hc(m).filter(v=>v.isLink).map(v=>({...v,from:g+v.start+1,to:g+v.end+1})).filter(v=>r.schema.marks.code?!r.doc.rangeHasMark(v.from,v.to,r.schema.marks.code):!0).filter(v=>n.validate?n.validate(v.value):!0).forEach(v=>{Sc(v.from,v.to,r.doc).some(C=>C.mark.type===n.type)||i.addMark(v.from,v.to,n.type.create({href:v.href}))})}}),!!i.steps.length)return i}})}function M8(n){return new Ct({key:new Gt("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,s;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=kp(e.state,n.type.name),a=r.target,c=(o=a==null?void 0:a.href)!==null&&o!==void 0?o:l.href,u=(s=a==null?void 0:a.target)!==null&&s!==void 0?s:l.target;return a&&c?(e.editable&&window.open(c,u),!0):!1}}})}function N8(n){return new Ct({key:new Gt("handlePasteLink"),props:{handlePaste:(e,t,r)=>{var o;const{state:s}=e,{selection:i}=s,{empty:l}=i;if(l)return!1;let a="";r.content.forEach(m=>{a+=m.textContent});const c=Hc(a).find(m=>m.isLink&&m.value===a);if(!a||!c)return!1;const u=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),f=/href="([^"]*)"/,h=u==null?void 0:u.match(f),p=h?h[1]:c.href;return n.editor.commands.setMark(n.type,{href:p}),!0}}})}const _8=ln.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){Xd(n);return}Xd(n.scheme,n.optionalSlashes)})},onDestroy(){x8()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:void 0}},addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:'a[href]:not([href *= "javascript:" i])'}]},renderHTML({HTMLAttributes:n}){return["a",gt(this.options.HTMLAttributes,n),0]},addCommands(){return{setLink:n=>({chain:e})=>e().setMark(this.name,n).setMeta("preventAutolink",!0).run(),toggleLink:n=>({chain:e})=>e().toggleMark(this.name,n,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:n})=>n().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[$o({find:n=>Hc(n).filter(e=>this.options.validate?this.options.validate(e.value):!0).filter(e=>e.isLink).map(e=>({text:e.value,index:e.start,data:e})),type:this.type,getAttributes:(n,e)=>{var t,r;const o=(t=e==null?void 0:e.clipboardData)===null||t===void 0?void 0:t.getData("text/html"),s=/href="([^"]*)"/,i=o==null?void 0:o.match(s);return i?{href:i[1]}:{href:(r=n.data)===null||r===void 0?void 0:r.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(O8({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(M8({type:this.type})),this.options.linkOnPaste&&n.push(N8({editor:this.editor,type:this.type})),n}}),I8=_8.extend({addAttributes(){var n;return{...(n=this.parent)==null?void 0:n.call(this),title:{default:null,parseHTML:e=>e.getAttribute("title"),renderHTML:e=>({title:e.title})}}}}),D8=$t.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new Ct({key:new Gt("placeholder"),props:{decorations:({doc:n,selection:e})=>{const t=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,o=[];if(!t)return null;const s=n.type.createAndFill(),i=(s==null?void 0:s.sameMarkup(n))&&s.content.findDiffStart(n.content)===null;return n.descendants((l,a)=>{const c=r>=a&&r<=a+l.nodeSize,u=!l.isLeaf&&!l.childCount;if((c||!this.options.showOnlyCurrent)&&u){const f=[this.options.emptyNodeClass];i&&f.push(this.options.emptyEditorClass);const h=Bt.node(a,a+l.nodeSize,{class:f.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:l,pos:a,hasAnchor:c}):this.options.placeholder});o.push(h)}return this.options.includeChildren}),Ye.create(n,o)}}})]}}),L8=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,R8=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,B8=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,P8=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,$8=ln.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:n=>n.style.fontWeight!=="normal"&&null},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}]},renderHTML({HTMLAttributes:n}){return["strong",gt(this.options.HTMLAttributes,n),0]},addCommands(){return{setBold:()=>({commands:n})=>n.setMark(this.name),toggleBold:()=>({commands:n})=>n.toggleMark(this.name),unsetBold:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Gs({find:L8,type:this.type}),Gs({find:B8,type:this.type})]},addPasteRules(){return[$o({find:R8,type:this.type}),$o({find:P8,type:this.type})]}}),F8=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,V8=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,z8=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,H8=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,U8=ln.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:n=>n.style.fontStyle!=="normal"&&null},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:n}){return["em",gt(this.options.HTMLAttributes,n),0]},addCommands(){return{setItalic:()=>({commands:n})=>n.setMark(this.name),toggleItalic:()=>({commands:n})=>n.toggleMark(this.name),unsetItalic:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Gs({find:F8,type:this.type}),Gs({find:z8,type:this.type})]},addPasteRules(){return[$o({find:V8,type:this.type}),$o({find:H8,type:this.type})]}}),j8=ln.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:n=>n.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["u",gt(this.options.HTMLAttributes,n),0]},addCommands(){return{setUnderline:()=>({commands:n})=>n.setMark(this.name),toggleUnderline:()=>({commands:n})=>n.toggleMark(this.name),unsetUnderline:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),W8=En.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",gt(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),K8=En.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",gt(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Qd=ln.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",gt(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Zi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),qd=/^\s*([-+*])\s$/,G8=En.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:n}){return["ul",gt(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleBulletList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(K8.name,this.editor.getAttributes(Qd.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Ys({find:qd,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Ys({find:qd,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Qd.name),editor:this.editor})),[n]}}),Y8=En.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",gt(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),ef=ln.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",gt(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Zi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),tf=/^(\d+)\.\s$/,J8=En.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:n=>n.hasAttribute("start")?parseInt(n.getAttribute("start")||"",10):1}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:n}){const{start:e,...t}=n;return e===1?["ol",gt(this.options.HTMLAttributes,t),0]:["ol",gt(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleOrderedList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Y8.name,this.editor.getAttributes(ef.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Ys({find:tf,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Ys({find:tf,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(ef.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),Z8=En.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",gt(this.options.HTMLAttributes,n)]},renderText(){return`
|
|
127
|
-
`},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:s}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:i}=this.options,{splittableMarks:l}=r.extensionManager,a=s||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&a&&i){const f=a.filter(h=>l.includes(h.type.name));c.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),za={BASIC:"basic",FULL:"full"},X8={class:"attachment-list"},Q8={class:"attachment-link"},q8={key:1,class:"attachment-no-download"},e4=["href"],na=d.defineComponent({__name:"BDAttachmentPreviewList",props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete"],setup(n,{emit:e}){const t=r=>{e("delete",r)};return(r,o)=>(d.openBlock(),d.createElementBlock("ul",X8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.files,s=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:s.CorrelationId},[d.createElementVNode("div",Q8,[r.showDelete?(d.openBlock(),d.createBlock(Ze,{key:0,variant:"remove",onClick:i=>t(s),"aria-label":"verwijder"},{default:d.withCtx(()=>[d.createVNode(d.unref(jo))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),r.noDownload?(d.openBlock(),d.createElementBlock("div",q8,[d.createVNode(d.unref(hr)),d.createTextVNode(" "+d.toDisplayString(s.Naam.trim()),1)])):(d.openBlock(),d.createElementBlock("a",{key:2,href:s.downloadUrl},[d.createVNode(d.unref(hr)),d.createTextVNode(" "+d.toDisplayString(s.Naam.trim()),1)],8,e4))])]))),128))]))}}),t4={class:"attachment-list"},n4={class:"attachment"},r4=["onClick"],o4=["src","alt"],s4=["onClick"],i4=["href"],a4={class:"btn btn-light download-button-image"},l4=["src","alt"],ra=d.defineComponent({__name:"BDImageAttachmentPreviewList",props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete","show"],setup(n,{emit:e}){const t=n,r=s=>{e("delete",s)},o=(s,i)=>{s.target&&s.target.className==="img-preview"&&e("show",i)};return(s,i)=>(d.openBlock(),d.createElementBlock("ul",t4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(s.files,l=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[d.createElementVNode("div",n4,[s.showDelete?(d.openBlock(),d.createBlock(Ze,{key:0,variant:"remove","aria-label":"verwijder",onClick:d.withModifiers(a=>r(l),["prevent"])},{default:d.withCtx(()=>[d.createVNode(d.unref(jo))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),t.noDownload?(d.openBlock(),d.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[d.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,o4)],8,r4)):(d.openBlock(),d.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(d.openBlock(),d.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[d.createElementVNode("button",a4,[d.createVNode(d.unref(Os))])],8,i4)):d.createCommentVNode("",!0),d.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,l4)],8,s4))])]))),128))]))}}),nf=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),c4=n=>n.DownloadUrl?n.DownloadUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlage/"+n.Id:n.FileId?`/Portaal/DownloadStandardMessageAttachment/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlage/"+n.CorrelationId,u4=n=>n.ThumbnailUrl?n.ThumbnailUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlageThumbnail/"+n.Id:n.StandardAttachmentId||n.standardAttachmentId?`/Portaal/DownloadStandardMessageAttachmentThumbnail/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlageThumbnail/"+n.CorrelationId,d4=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,f4=(n,e)=>e?nf(n):!nf(n),Ai=(n,e)=>n===void 0?void 0:n.filter(r=>f4(r,e)).map(r=>{const o=typeof r.CorrelationId=="string"?r.CorrelationId:r.CorrelationId!==void 0?r.CorrelationId.toString():"";return{downloadUrl:c4(r),previewUrl:u4(r),fullImageUrl:d4(r),altName:`${r.Naam}`,...r,CorrelationId:o}}),h4={key:0,class:"pills-list__wrapper"},p4={class:"pills-list__ul"},m4={class:"bd-markdown-editor__menu-bottom"},g4={key:0,class:"vr"},pm=d.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:za.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=br(t,"modelValue",e),s=[i8,a8,l8,D8.configure({placeholder:t.placeholder}),Z8,I8.configure({openOnClick:!1,validate:M=>/^https?:\/\//i.test(M)})];t.variant===za.FULL&&s.push($8,U8,j8,W8,G8,J8);const i=s8({content:o.value,extensions:s,onUpdate:({editor:M})=>{const{view:x,state:z}=M,{from:U,to:j}=x.state.selection;if(z.doc.textBetween(U-1,j,"")==" "&&M.getAttributes("link").href!=null&&M.chain().setTextSelection({from:U-1,to:j}).toggleLink({href:M.getAttributes("link").href}).setTextSelection({from:j,to:j}).run(),M.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",M.getHTML())}});d.watch(()=>t.modelValue,M=>{i.value.getHTML()!==M&&i.value.commands.setContent(M,!0,{preserveWhitespace:"full"})});const l=d.computed(()=>t.state===!1?"is-invalid":null),a=d.computed(()=>g("bold")),c=d.computed(()=>g("italic")),u=d.computed(()=>g("underline")),f=d.computed(()=>g("bulletList")),h=d.computed(()=>g("orderedList")),p=d.computed(()=>g("link")),m=d.computed(()=>t.variant===za.FULL),g=M=>i.value&&i.value.isActive(M)?"active":null,v=d.computed(()=>t.files&&t.files.length>0?Ai(t.files,!1):null),C=d.computed(()=>t.files&&t.files.length>0?Ai(t.files,!0):null),S=M=>{e("action",{name:"delete-attachment",obj:M})},k=M=>{e("action",{name:"image-attachment",obj:M})},b=()=>{const M=i.value.getAttributes("link").href,x=window.prompt("Voeg link toe",M);if(x!==null){if(x===""){i.value.chain().focus().unsetLink().run();return}i.value.chain().focus().toggleLink({href:x}).run()}};return(M,x)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:d.normalizeClass(["bd-markdown-editor",l.value])},[d.createVNode(d.unref(o8),{editor:d.unref(i)},null,8,["editor"]),M.pills?(d.openBlock(),d.createElementBlock("div",h4,[d.createElementVNode("ul",p4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(M.pills,(z,U)=>(d.openBlock(),d.createElementBlock("li",{key:U,class:"pills-list__li"},[d.createVNode($i,d.normalizeProps(d.guardReactiveProps(z)),null,16)]))),128))])])):d.createCommentVNode("",!0),d.renderSlot(M.$slots,"default"),v.value?(d.openBlock(),d.createBlock(na,{key:1,files:v.value,"no-download":!0,"show-delete":!0,onDelete:S},null,8,["files"])):d.createCommentVNode("",!0),C.value?(d.openBlock(),d.createBlock(ra,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:S,onShow:k},null,8,["files"])):d.createCommentVNode("",!0),d.createElementVNode("div",m4,[d.createVNode(Ze,{variant:"light",type:"button",onClick:r},{default:d.withCtx(()=>[d.createVNode(d.unref(hr))]),_:1}),m.value?(d.openBlock(),d.createElementBlock("div",g4)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:1,variant:"light",type:"button",class:d.normalizeClass(a.value),onClick:x[0]||(x[0]=z=>d.unref(i).chain().focus().toggleBold().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(zl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:2,variant:"light",type:"button",class:d.normalizeClass(c.value),onClick:x[1]||(x[1]=z=>d.unref(i).chain().focus().toggleItalic().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Gl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:3,variant:"light",type:"button",class:d.normalizeClass(u.value),onClick:x[2]||(x[2]=z=>d.unref(i).chain().focus().toggleUnderline().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Ql))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:4,variant:"light",type:"button",class:d.normalizeClass(f.value),onClick:x[3]||(x[3]=z=>d.unref(i).chain().focus().toggleBulletList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Hl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:5,variant:"light",type:"button",class:d.normalizeClass(h.value),onClick:x[4]||(x[4]=z=>d.unref(i).chain().focus().toggleOrderedList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Yl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:6,variant:"light",type:"button",class:d.normalizeClass(p.value),onClick:b},{default:d.withCtx(()=>[d.createVNode(d.unref(Li))]),_:1},8,["class"])):d.createCommentVNode("",!0)])],2),d.createVNode(d.unref(Pi),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),v4={class:"header"},y4=d.createElementVNode("div",null,"Menu",-1),b4={class:"icon-close-wrapper"},E4={class:"navbar"},C4={class:"nav navbar-nav w-100"},S4={class:"nav-item"},w4={class:"nav-item"},Uc=d.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-mobile-menu",r.value])},[d.createElementVNode("div",v4,[y4,d.createElementVNode("div",b4,[d.createVNode(Ii,{onClick:o})])]),d.createElementVNode("nav",E4,[d.createElementVNode("ul",C4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.options,a=>(d.openBlock(),d.createElementBlock("li",S4,[d.createVNode(jr,d.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),d.renderSlot(i.$slots,"special-options"),d.createElementVNode("li",w4,[d.createVNode(jr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),k4={class:"bd-user"},x4={class:"bd-user__information"},T4={class:"text-break"},A4={class:"overflow-x-hidden"},mm=d.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=d.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(d.openBlock(),d.createElementBlock("div",k4,[e.hideImage?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(Wo,d.mergeProps({key:0},e.img,{size:"sm"}),null,16)),d.createElementVNode("div",x4,[d.createElementVNode("header",null,[d.createElementVNode("h5",T4,d.toDisplayString(e.name),1),d.renderSlot(r.$slots,"header-extra")]),d.createElementVNode("span",A4,d.toDisplayString(t.value),1)])]))}}),O4={class:"bd-chat-cloud-card"},M4={class:"bd-chat-cloud-card__header"},N4={class:"bd-chat-cloud-card__body"},_4=["innerHTML"],I4={class:"bd-chat-cloud-card__footer"},D4={key:0,class:"pills-list__wrapper"},L4={class:"pills-list__ul"},gm=d.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},AltProfileImage:{default:""},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=d.computed(()=>t.isSender?"sender":We),o=d.computed(()=>Ai(t.files,!1)),s=d.computed(()=>Ai(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,c)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-chat-cloud",r.value])},[d.createVNode(Wo,{src:t.src,size:"sm"},null,8,["src"]),d.createElementVNode("div",O4,[d.createElementVNode("div",M4,[d.renderSlot(a.$slots,"header",{},()=>[d.createTextVNode(d.toDisplayString(a.headerTitle),1)]),d.createVNode(Ze,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:d.withCtx(()=>[d.createTextVNode(" kopieer ")]),_:1})]),d.createElementVNode("div",N4,[d.renderSlot(a.$slots,"body",{},()=>[d.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,_4)])]),d.createElementVNode("div",I4,[d.renderSlot(a.$slots,"footer",{},()=>[a.pills?(d.openBlock(),d.createElementBlock("div",D4,[d.createElementVNode("ul",L4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(a.pills,(u,f)=>(d.openBlock(),d.createElementBlock("li",{key:f,class:"pills-list__li"},[d.createVNode($i,d.normalizeProps(d.guardReactiveProps(u)),null,16)]))),128))])])):d.createCommentVNode("",!0),o.value&&o.value.length>0?(d.openBlock(),d.createBlock(na,{key:1,files:o.value},null,8,["files"])):d.createCommentVNode("",!0),s.value&&s.value.length>0?(d.openBlock(),d.createBlock(ra,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):d.createCommentVNode("",!0)])])])],2))}}),R4=d.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=d.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=d.computed(()=>({"bd-table-sort":!0,active:t.active}));return d.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(d.openBlock(),d.createElementBlock("th",{class:d.normalizeClass(i.value),onClick:a[0]||(a[0]=c=>{o(),s()})},[d.createElementVNode("span",null,d.toDisplayString(t.label),1),t.active&&!r.value?(d.openBlock(),d.createBlock(d.unref(Jl),{key:0})):t.active&&r.value?(d.openBlock(),d.createBlock(d.unref(Zl),{key:1})):(d.openBlock(),d.createBlock(d.unref(Xl),{key:2}))],2))}}),B4={class:"bd-table"},P4={key:0,class:"table"},$4={key:1},F4=["onClick"],V4={key:0},z4={key:1,class:"empty-text"},vm=d.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=d.ref(r.items),s=d.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const v=m.toString(),C=g.toString();return v.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},c=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},u=()=>{o.value=r.items};return d.watch(()=>r.items,f=>{o.value=f}),e({Refresh:u}),(f,h)=>(d.openBlock(),d.createElementBlock("div",B4,[r.items&&r.items.length>0?(d.openBlock(),d.createElementBlock("table",P4,[d.createElementVNode("thead",null,[d.createElementVNode("tr",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.fields,p=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[p.isVisible?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[p.sortable?(d.openBlock(),d.createBlock(R4,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>c(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(d.openBlock(),d.createElementBlock("th",$4,d.toDisplayString(p.label),1))],64)):d.createCommentVNode("",!0)],64))),256))])]),d.createElementVNode("tbody",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.value,p=>(d.openBlock(),d.createElementBlock("tr",{class:d.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.fields,m=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[m.isVisible?(d.openBlock(),d.createElementBlock("td",V4,[f.$slots.hasOwnProperty(m.key)?d.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createTextVNode(d.toDisplayString(p[m.key]),1)],64))])):d.createCommentVNode("",!0)],64))),256))],10,F4))),256))])])):(d.openBlock(),d.createElementBlock("p",z4,d.toDisplayString(r.emptyText),1))]))}}),H4={class:"template change-password-template"},U4={class:"template-title"},j4={key:0},W4={key:1},K4=["onSubmit","onReset"],G4={class:"bd-form-field"},Y4={class:"bd-form-field"},J4={class:"bd-form-field"},Z4={class:"bd-form-buttons"},ym=d.defineComponent({__name:"BDChangePasswordTemplate",props:{data:{},validation:{},serverErrors:{},errorMessages:{},errorMessageText:{},title:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{}},emits:["submit","reset"],setup(n,{emit:e}){const t=()=>e("submit"),r=()=>e("reset");return(o,s)=>(d.openBlock(),d.createElementBlock("main",H4,[d.createVNode(As,{class:"container-xl"},{default:d.withCtx(()=>[d.createVNode(qn,{class:"justify-content-md-center template-header"},{default:d.withCtx(()=>[d.createVNode(Qn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createElementVNode("h2",U4,d.toDisplayString(o.title),1)]),_:1})]),_:1}),d.createVNode(qn,{class:"justify-content-md-center"},{default:d.withCtx(()=>[d.createVNode(Qn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createVNode(Bi,{class:"bd-card-template",noHeader:!0},{body:d.withCtx(()=>[d.createVNode(As,{class:"container-fluid"},{default:d.withCtx(()=>[d.createVNode(qn,null,{default:d.withCtx(()=>[d.createVNode(Qn,null,{default:d.withCtx(()=>[d.createVNode(Ns,{variant:"warning"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.alertText),1)]),_:1})]),_:1})]),_:1}),o.errorMessages||o.errorMessageText?(d.openBlock(),d.createBlock(qn,{key:0},{default:d.withCtx(()=>[d.createVNode(Qn,null,{default:d.withCtx(()=>[d.createVNode(Ns,{variant:"danger"},{default:d.withCtx(()=>[o.errorMessages?(d.openBlock(),d.createElementBlock("div",j4,[d.createElementVNode("ul",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.errorMessages,(i,l)=>(d.openBlock(),d.createElementBlock("li",{key:l},[d.createVNode(oo),d.createTextVNode(" "+d.toDisplayString(i),1)]))),128))])])):(d.openBlock(),d.createElementBlock("div",W4,d.toDisplayString(o.errorMessageText),1))]),_:1})]),_:1})]),_:1})):d.createCommentVNode("",!0),d.createVNode(qn,null,{default:d.withCtx(()=>[d.createVNode(Qn,{class:"bd-card-form",sm:12,md:12},{default:d.withCtx(()=>[d.createElementVNode("form",{onSubmit:d.withModifiers(t,["prevent"]),onReset:d.withModifiers(r,["prevent"]),class:"form"},[d.createElementVNode("div",G4,[d.createVNode(bo,{modelValue:o.data.password,"onUpdate:modelValue":s[0]||(s[0]=i=>o.data.password=i),label:o.currentPasswordLabel,state:o.validation.password.state,type:"password",invalidFeedbackText:o.validation.password.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",Y4,[d.createVNode(bo,{modelValue:o.data.passwordNew,"onUpdate:modelValue":s[1]||(s[1]=i=>o.data.passwordNew=i),label:o.newPasswordLabel,state:o.validation.passwordNew.state,type:"password",invalidFeedbackText:o.validation.passwordNew.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",J4,[d.createVNode(bo,{modelValue:o.data.passwordRepeat,"onUpdate:modelValue":s[2]||(s[2]=i=>o.data.passwordRepeat=i),label:o.confirmNewPasswordLabel,state:o.validation.passwordRepeat.state,type:"password",invalidFeedbackText:o.validation.passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",Z4,[d.createVNode(Ze,{type:"submit"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.submitButtonText),1)]),_:1}),d.createVNode(Ze,{type:"reset",variant:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.cancelButtonText),1)]),_:1})])],40,K4)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),jc=d.defineComponent({__name:"BDDropdown",props:{size:{default:ct.MD},variant:{default:Ri.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=so(),r=`__BD__DROPDOWN__${t.value}`,o=d.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),s=d.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=d.computed(()=>({"aria-labelledby":r})),l=d.ref(),a=d.ref(),c=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(u,f)=>(d.openBlock(),d.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=d.withModifiers(()=>{},["stop"]))},[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(e.toggleTag),d.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:d.withCtx(()=>[d.createElementVNode("span",null,d.toDisplayString(e.text),1)]),_:1},16)),d.createElementVNode("ul",d.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:c}),[d.renderSlot(u.$slots,"default")],16)]))}}),X4={class:"row bd-header"},Q4={class:"col logo-mix"},q4=["src","alt"],e6=d.createElementVNode("div",null,"Menu",-1),t6={key:0,class:"col header-options"},n6={class:"col bd-btn-settings"},r6="sm",bm=d.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>{let c=[];return t.headerOptions&&(c=c.concat(t.headerOptions)),t.dropdownOptions&&(c=c.concat(t.dropdownOptions)),c}),o=d.ref(void 0),s=()=>e("click"),i=()=>e("signout"),l=()=>o.value=!0,a=()=>o.value=!1;return(c,u)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("nav",X4,[d.createElementVNode("div",Q4,[d.createVNode(ql,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:s}),t.organizationLogoSrc?(d.openBlock(),d.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,q4)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[e6,d.createVNode(Ms)]),t.headerOptions&&t.headerOptions.length!==0?(d.openBlock(),d.createElementBlock("div",t6,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.headerOptions,f=>(d.openBlock(),d.createBlock(Ze,{class:"btn-header",to:f.to},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(f.text),1)]),_:2},1032,["to"]))),256))])):d.createCommentVNode("",!0),d.createElementVNode("div",n6,[d.renderSlot(c.$slots,"profile-side"),t.profileImageSrc?(d.openBlock(),d.createBlock(Wo,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:r6},null,8,["src","alt"])):d.createCommentVNode("",!0),d.createVNode(jc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.dropdownOptions,(f,h)=>(d.openBlock(),d.createBlock(Is,d.mergeProps({key:h},f),null,16))),128)),d.createVNode(Is,{text:"Uitloggen",onClick:i})]),_:1},8,["text"])])]),d.createVNode(Uc,{active:o.value,options:r.value,onHide:a,onSignout:i},{"special-options":d.withCtx(()=>[d.renderSlot(c.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"])],64))}}),o6={class:"modal bd-modal modal-lg",tabindex:"-1"},s6={class:"modal-dialog"},i6={class:"modal-content"},a6={class:"modal-header"},l6={class:"modal-title"},c6=["src"],u6=d.createElementVNode("span",null,"Sluiten",-1),d6={class:"modal-body"},f6={key:0,class:"modal-footer"},h6=["disabled"],Wc=d.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=()=>e("submit"),o=()=>e("cancel");return(s,i)=>(d.openBlock(),d.createElementBlock("div",o6,[d.createElementVNode("div",s6,[d.createElementVNode("div",i6,[d.createElementVNode("div",a6,[d.createElementVNode("h2",l6,[t.titleImage?(d.openBlock(),d.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,c6)):d.createCommentVNode("",!0),d.createElementVNode("span",null,d.toDisplayString(t.title),1)]),d.renderSlot(s.$slots,"modal-header-space-between"),d.createElementVNode("button",{type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:o},[u6,d.createVNode(d.unref(Ii))])]),d.createElementVNode("div",d6,[d.renderSlot(s.$slots,"default")]),s.hideFooter?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",f6,[t.hideFooterSubmitButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},d.toDisplayString(t.submitButtonTitle),9,h6)),d.renderSlot(s.$slots,"buttons"),t.hideFooterCancelButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:o,"aria-label":"Annuleren"},d.toDisplayString(t.closeButtonTitle),1))]))])])]))}});/*!
|
|
127
|
+
`},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:s}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:i}=this.options,{splittableMarks:l}=r.extensionManager,a=s||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&a&&i){const f=a.filter(h=>l.includes(h.type.name));c.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),za={BASIC:"basic",FULL:"full"},X8={class:"attachment-list"},Q8={class:"attachment-link"},q8={key:1,class:"attachment-no-download"},e4=["href"],na=d.defineComponent({__name:"BDAttachmentPreviewList",props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete"],setup(n,{emit:e}){const t=r=>{e("delete",r)};return(r,o)=>(d.openBlock(),d.createElementBlock("ul",X8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.files,s=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:s.CorrelationId},[d.createElementVNode("div",Q8,[r.showDelete?(d.openBlock(),d.createBlock(Ze,{key:0,variant:"remove",onClick:i=>t(s),"aria-label":"verwijder"},{default:d.withCtx(()=>[d.createVNode(d.unref(jo))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),r.noDownload?(d.openBlock(),d.createElementBlock("div",q8,[d.createVNode(d.unref(hr)),d.createTextVNode(" "+d.toDisplayString(s.Naam.trim()),1)])):(d.openBlock(),d.createElementBlock("a",{key:2,href:s.downloadUrl},[d.createVNode(d.unref(hr)),d.createTextVNode(" "+d.toDisplayString(s.Naam.trim()),1)],8,e4))])]))),128))]))}}),t4={class:"attachment-list"},n4={class:"attachment"},r4=["onClick"],o4=["src","alt"],s4=["onClick"],i4=["href"],a4={class:"btn btn-light download-button-image"},l4=["src","alt"],ra=d.defineComponent({__name:"BDImageAttachmentPreviewList",props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete","show"],setup(n,{emit:e}){const t=n,r=s=>{e("delete",s)},o=(s,i)=>{s.target&&s.target.className==="img-preview"&&e("show",i)};return(s,i)=>(d.openBlock(),d.createElementBlock("ul",t4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(s.files,l=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[d.createElementVNode("div",n4,[s.showDelete?(d.openBlock(),d.createBlock(Ze,{key:0,variant:"remove","aria-label":"verwijder",onClick:d.withModifiers(a=>r(l),["prevent"])},{default:d.withCtx(()=>[d.createVNode(d.unref(jo))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),t.noDownload?(d.openBlock(),d.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[d.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,o4)],8,r4)):(d.openBlock(),d.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(d.openBlock(),d.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[d.createElementVNode("button",a4,[d.createVNode(d.unref(Os))])],8,i4)):d.createCommentVNode("",!0),d.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,l4)],8,s4))])]))),128))]))}}),nf=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),c4=n=>n.DownloadUrl?n.DownloadUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlage/"+n.Id:n.FileId?`/Portaal/DownloadStandardMessageAttachment/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlage/"+n.CorrelationId,u4=n=>n.ThumbnailUrl?n.ThumbnailUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlageThumbnail/"+n.Id:n.StandardAttachmentId||n.standardAttachmentId?`/Portaal/DownloadStandardMessageAttachmentThumbnail/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlageThumbnail/"+n.CorrelationId,d4=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,f4=(n,e)=>e?nf(n):!nf(n),Ai=(n,e)=>n===void 0?void 0:n.filter(r=>f4(r,e)).map(r=>{const o=typeof r.CorrelationId=="string"?r.CorrelationId:r.CorrelationId!=null?r.CorrelationId.toString():"";return{downloadUrl:c4(r),previewUrl:u4(r),fullImageUrl:d4(r),altName:`${r.Naam}`,...r,CorrelationId:o}}),h4={key:0,class:"pills-list__wrapper"},p4={class:"pills-list__ul"},m4={class:"bd-markdown-editor__menu-bottom"},g4={key:0,class:"vr"},pm=d.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:za.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=br(t,"modelValue",e),s=[i8,a8,l8,D8.configure({placeholder:t.placeholder}),Z8,I8.configure({openOnClick:!1,validate:M=>/^https?:\/\//i.test(M)})];t.variant===za.FULL&&s.push($8,U8,j8,W8,G8,J8);const i=s8({content:o.value,extensions:s,onUpdate:({editor:M})=>{const{view:x,state:z}=M,{from:U,to:j}=x.state.selection;if(z.doc.textBetween(U-1,j,"")==" "&&M.getAttributes("link").href!=null&&M.chain().setTextSelection({from:U-1,to:j}).toggleLink({href:M.getAttributes("link").href}).setTextSelection({from:j,to:j}).run(),M.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",M.getHTML())}});d.watch(()=>t.modelValue,M=>{i.value.getHTML()!==M&&i.value.commands.setContent(M,!0,{preserveWhitespace:"full"})});const l=d.computed(()=>t.state===!1?"is-invalid":null),a=d.computed(()=>g("bold")),c=d.computed(()=>g("italic")),u=d.computed(()=>g("underline")),f=d.computed(()=>g("bulletList")),h=d.computed(()=>g("orderedList")),p=d.computed(()=>g("link")),m=d.computed(()=>t.variant===za.FULL),g=M=>i.value&&i.value.isActive(M)?"active":null,v=d.computed(()=>t.files&&t.files.length>0?Ai(t.files,!1):null),C=d.computed(()=>t.files&&t.files.length>0?Ai(t.files,!0):null),S=M=>{e("action",{name:"delete-attachment",obj:M})},k=M=>{e("action",{name:"image-attachment",obj:M})},b=()=>{const M=i.value.getAttributes("link").href,x=window.prompt("Voeg link toe",M);if(x!==null){if(x===""){i.value.chain().focus().unsetLink().run();return}i.value.chain().focus().toggleLink({href:x}).run()}};return(M,x)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:d.normalizeClass(["bd-markdown-editor",l.value])},[d.createVNode(d.unref(o8),{editor:d.unref(i)},null,8,["editor"]),M.pills?(d.openBlock(),d.createElementBlock("div",h4,[d.createElementVNode("ul",p4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(M.pills,(z,U)=>(d.openBlock(),d.createElementBlock("li",{key:U,class:"pills-list__li"},[d.createVNode($i,d.normalizeProps(d.guardReactiveProps(z)),null,16)]))),128))])])):d.createCommentVNode("",!0),d.renderSlot(M.$slots,"default"),v.value?(d.openBlock(),d.createBlock(na,{key:1,files:v.value,"no-download":!0,"show-delete":!0,onDelete:S},null,8,["files"])):d.createCommentVNode("",!0),C.value?(d.openBlock(),d.createBlock(ra,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:S,onShow:k},null,8,["files"])):d.createCommentVNode("",!0),d.createElementVNode("div",m4,[d.createVNode(Ze,{variant:"light",type:"button",onClick:r},{default:d.withCtx(()=>[d.createVNode(d.unref(hr))]),_:1}),m.value?(d.openBlock(),d.createElementBlock("div",g4)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:1,variant:"light",type:"button",class:d.normalizeClass(a.value),onClick:x[0]||(x[0]=z=>d.unref(i).chain().focus().toggleBold().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(zl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:2,variant:"light",type:"button",class:d.normalizeClass(c.value),onClick:x[1]||(x[1]=z=>d.unref(i).chain().focus().toggleItalic().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Gl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:3,variant:"light",type:"button",class:d.normalizeClass(u.value),onClick:x[2]||(x[2]=z=>d.unref(i).chain().focus().toggleUnderline().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Ql))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:4,variant:"light",type:"button",class:d.normalizeClass(f.value),onClick:x[3]||(x[3]=z=>d.unref(i).chain().focus().toggleBulletList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Hl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:5,variant:"light",type:"button",class:d.normalizeClass(h.value),onClick:x[4]||(x[4]=z=>d.unref(i).chain().focus().toggleOrderedList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Yl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Ze,{key:6,variant:"light",type:"button",class:d.normalizeClass(p.value),onClick:b},{default:d.withCtx(()=>[d.createVNode(d.unref(Li))]),_:1},8,["class"])):d.createCommentVNode("",!0)])],2),d.createVNode(d.unref(Pi),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),v4={class:"header"},y4=d.createElementVNode("div",null,"Menu",-1),b4={class:"icon-close-wrapper"},E4={class:"navbar"},C4={class:"nav navbar-nav w-100"},S4={class:"nav-item"},w4={class:"nav-item"},Uc=d.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-mobile-menu",r.value])},[d.createElementVNode("div",v4,[y4,d.createElementVNode("div",b4,[d.createVNode(Ii,{onClick:o})])]),d.createElementVNode("nav",E4,[d.createElementVNode("ul",C4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.options,a=>(d.openBlock(),d.createElementBlock("li",S4,[d.createVNode(jr,d.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),d.renderSlot(i.$slots,"special-options"),d.createElementVNode("li",w4,[d.createVNode(jr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),k4={class:"bd-user"},x4={class:"bd-user__information"},T4={class:"text-break"},A4={class:"overflow-x-hidden"},mm=d.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=d.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(d.openBlock(),d.createElementBlock("div",k4,[e.hideImage?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(Wo,d.mergeProps({key:0},e.img,{size:"sm"}),null,16)),d.createElementVNode("div",x4,[d.createElementVNode("header",null,[d.createElementVNode("h5",T4,d.toDisplayString(e.name),1),d.renderSlot(r.$slots,"header-extra")]),d.createElementVNode("span",A4,d.toDisplayString(t.value),1)])]))}}),O4={class:"bd-chat-cloud-card"},M4={class:"bd-chat-cloud-card__header"},N4={class:"bd-chat-cloud-card__body"},_4=["innerHTML"],I4={class:"bd-chat-cloud-card__footer"},D4={key:0,class:"pills-list__wrapper"},L4={class:"pills-list__ul"},gm=d.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},AltProfileImage:{default:""},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=d.computed(()=>t.isSender?"sender":We),o=d.computed(()=>Ai(t.files,!1)),s=d.computed(()=>Ai(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,c)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-chat-cloud",r.value])},[d.createVNode(Wo,{src:t.src,size:"sm"},null,8,["src"]),d.createElementVNode("div",O4,[d.createElementVNode("div",M4,[d.renderSlot(a.$slots,"header",{},()=>[d.createTextVNode(d.toDisplayString(a.headerTitle),1)]),d.createVNode(Ze,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:d.withCtx(()=>[d.createTextVNode(" kopieer ")]),_:1})]),d.createElementVNode("div",N4,[d.renderSlot(a.$slots,"body",{},()=>[d.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,_4)])]),d.createElementVNode("div",I4,[d.renderSlot(a.$slots,"footer",{},()=>[a.pills?(d.openBlock(),d.createElementBlock("div",D4,[d.createElementVNode("ul",L4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(a.pills,(u,f)=>(d.openBlock(),d.createElementBlock("li",{key:f,class:"pills-list__li"},[d.createVNode($i,d.normalizeProps(d.guardReactiveProps(u)),null,16)]))),128))])])):d.createCommentVNode("",!0),o.value&&o.value.length>0?(d.openBlock(),d.createBlock(na,{key:1,files:o.value},null,8,["files"])):d.createCommentVNode("",!0),s.value&&s.value.length>0?(d.openBlock(),d.createBlock(ra,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):d.createCommentVNode("",!0)])])])],2))}}),R4=d.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=d.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=d.computed(()=>({"bd-table-sort":!0,active:t.active}));return d.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(d.openBlock(),d.createElementBlock("th",{class:d.normalizeClass(i.value),onClick:a[0]||(a[0]=c=>{o(),s()})},[d.createElementVNode("span",null,d.toDisplayString(t.label),1),t.active&&!r.value?(d.openBlock(),d.createBlock(d.unref(Jl),{key:0})):t.active&&r.value?(d.openBlock(),d.createBlock(d.unref(Zl),{key:1})):(d.openBlock(),d.createBlock(d.unref(Xl),{key:2}))],2))}}),B4={class:"bd-table"},P4={key:0,class:"table"},$4={key:1},F4=["onClick"],V4={key:0},z4={key:1,class:"empty-text"},vm=d.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=d.ref(r.items),s=d.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const v=m.toString(),C=g.toString();return v.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},c=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},u=()=>{o.value=r.items};return d.watch(()=>r.items,f=>{o.value=f}),e({Refresh:u}),(f,h)=>(d.openBlock(),d.createElementBlock("div",B4,[r.items&&r.items.length>0?(d.openBlock(),d.createElementBlock("table",P4,[d.createElementVNode("thead",null,[d.createElementVNode("tr",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.fields,p=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[p.isVisible?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[p.sortable?(d.openBlock(),d.createBlock(R4,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>c(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(d.openBlock(),d.createElementBlock("th",$4,d.toDisplayString(p.label),1))],64)):d.createCommentVNode("",!0)],64))),256))])]),d.createElementVNode("tbody",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.value,p=>(d.openBlock(),d.createElementBlock("tr",{class:d.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.fields,m=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[m.isVisible?(d.openBlock(),d.createElementBlock("td",V4,[f.$slots.hasOwnProperty(m.key)?d.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createTextVNode(d.toDisplayString(p[m.key]),1)],64))])):d.createCommentVNode("",!0)],64))),256))],10,F4))),256))])])):(d.openBlock(),d.createElementBlock("p",z4,d.toDisplayString(r.emptyText),1))]))}}),H4={class:"template change-password-template"},U4={class:"template-title"},j4={key:0},W4={key:1},K4=["onSubmit","onReset"],G4={class:"bd-form-field"},Y4={class:"bd-form-field"},J4={class:"bd-form-field"},Z4={class:"bd-form-buttons"},ym=d.defineComponent({__name:"BDChangePasswordTemplate",props:{data:{},validation:{},serverErrors:{},errorMessages:{},errorMessageText:{},title:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{}},emits:["submit","reset"],setup(n,{emit:e}){const t=()=>e("submit"),r=()=>e("reset");return(o,s)=>(d.openBlock(),d.createElementBlock("main",H4,[d.createVNode(As,{class:"container-xl"},{default:d.withCtx(()=>[d.createVNode(qn,{class:"justify-content-md-center template-header"},{default:d.withCtx(()=>[d.createVNode(Qn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createElementVNode("h2",U4,d.toDisplayString(o.title),1)]),_:1})]),_:1}),d.createVNode(qn,{class:"justify-content-md-center"},{default:d.withCtx(()=>[d.createVNode(Qn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createVNode(Bi,{class:"bd-card-template",noHeader:!0},{body:d.withCtx(()=>[d.createVNode(As,{class:"container-fluid"},{default:d.withCtx(()=>[d.createVNode(qn,null,{default:d.withCtx(()=>[d.createVNode(Qn,null,{default:d.withCtx(()=>[d.createVNode(Ns,{variant:"warning"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.alertText),1)]),_:1})]),_:1})]),_:1}),o.errorMessages||o.errorMessageText?(d.openBlock(),d.createBlock(qn,{key:0},{default:d.withCtx(()=>[d.createVNode(Qn,null,{default:d.withCtx(()=>[d.createVNode(Ns,{variant:"danger"},{default:d.withCtx(()=>[o.errorMessages?(d.openBlock(),d.createElementBlock("div",j4,[d.createElementVNode("ul",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.errorMessages,(i,l)=>(d.openBlock(),d.createElementBlock("li",{key:l},[d.createVNode(oo),d.createTextVNode(" "+d.toDisplayString(i),1)]))),128))])])):(d.openBlock(),d.createElementBlock("div",W4,d.toDisplayString(o.errorMessageText),1))]),_:1})]),_:1})]),_:1})):d.createCommentVNode("",!0),d.createVNode(qn,null,{default:d.withCtx(()=>[d.createVNode(Qn,{class:"bd-card-form",sm:12,md:12},{default:d.withCtx(()=>[d.createElementVNode("form",{onSubmit:d.withModifiers(t,["prevent"]),onReset:d.withModifiers(r,["prevent"]),class:"form"},[d.createElementVNode("div",G4,[d.createVNode(bo,{modelValue:o.data.password,"onUpdate:modelValue":s[0]||(s[0]=i=>o.data.password=i),label:o.currentPasswordLabel,state:o.validation.password.state,type:"password",invalidFeedbackText:o.validation.password.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",Y4,[d.createVNode(bo,{modelValue:o.data.passwordNew,"onUpdate:modelValue":s[1]||(s[1]=i=>o.data.passwordNew=i),label:o.newPasswordLabel,state:o.validation.passwordNew.state,type:"password",invalidFeedbackText:o.validation.passwordNew.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",J4,[d.createVNode(bo,{modelValue:o.data.passwordRepeat,"onUpdate:modelValue":s[2]||(s[2]=i=>o.data.passwordRepeat=i),label:o.confirmNewPasswordLabel,state:o.validation.passwordRepeat.state,type:"password",invalidFeedbackText:o.validation.passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",Z4,[d.createVNode(Ze,{type:"submit"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.submitButtonText),1)]),_:1}),d.createVNode(Ze,{type:"reset",variant:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.cancelButtonText),1)]),_:1})])],40,K4)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),jc=d.defineComponent({__name:"BDDropdown",props:{size:{default:ct.MD},variant:{default:Ri.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=so(),r=`__BD__DROPDOWN__${t.value}`,o=d.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),s=d.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=d.computed(()=>({"aria-labelledby":r})),l=d.ref(),a=d.ref(),c=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(u,f)=>(d.openBlock(),d.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=d.withModifiers(()=>{},["stop"]))},[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(e.toggleTag),d.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:d.withCtx(()=>[d.createElementVNode("span",null,d.toDisplayString(e.text),1)]),_:1},16)),d.createElementVNode("ul",d.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:c}),[d.renderSlot(u.$slots,"default")],16)]))}}),X4={class:"row bd-header"},Q4={class:"col logo-mix"},q4=["src","alt"],e6=d.createElementVNode("div",null,"Menu",-1),t6={key:0,class:"col header-options"},n6={class:"col bd-btn-settings"},r6="sm",bm=d.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>{let c=[];return t.headerOptions&&(c=c.concat(t.headerOptions)),t.dropdownOptions&&(c=c.concat(t.dropdownOptions)),c}),o=d.ref(void 0),s=()=>e("click"),i=()=>e("signout"),l=()=>o.value=!0,a=()=>o.value=!1;return(c,u)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("nav",X4,[d.createElementVNode("div",Q4,[d.createVNode(ql,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:s}),t.organizationLogoSrc?(d.openBlock(),d.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,q4)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[e6,d.createVNode(Ms)]),t.headerOptions&&t.headerOptions.length!==0?(d.openBlock(),d.createElementBlock("div",t6,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.headerOptions,f=>(d.openBlock(),d.createBlock(Ze,{class:"btn-header",to:f.to},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(f.text),1)]),_:2},1032,["to"]))),256))])):d.createCommentVNode("",!0),d.createElementVNode("div",n6,[d.renderSlot(c.$slots,"profile-side"),t.profileImageSrc?(d.openBlock(),d.createBlock(Wo,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:r6},null,8,["src","alt"])):d.createCommentVNode("",!0),d.createVNode(jc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.dropdownOptions,(f,h)=>(d.openBlock(),d.createBlock(Is,d.mergeProps({key:h},f),null,16))),128)),d.createVNode(Is,{text:"Uitloggen",onClick:i})]),_:1},8,["text"])])]),d.createVNode(Uc,{active:o.value,options:r.value,onHide:a,onSignout:i},{"special-options":d.withCtx(()=>[d.renderSlot(c.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"])],64))}}),o6={class:"modal bd-modal modal-lg",tabindex:"-1"},s6={class:"modal-dialog"},i6={class:"modal-content"},a6={class:"modal-header"},l6={class:"modal-title"},c6=["src"],u6=d.createElementVNode("span",null,"Sluiten",-1),d6={class:"modal-body"},f6={key:0,class:"modal-footer"},h6=["disabled"],Wc=d.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=()=>e("submit"),o=()=>e("cancel");return(s,i)=>(d.openBlock(),d.createElementBlock("div",o6,[d.createElementVNode("div",s6,[d.createElementVNode("div",i6,[d.createElementVNode("div",a6,[d.createElementVNode("h2",l6,[t.titleImage?(d.openBlock(),d.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,c6)):d.createCommentVNode("",!0),d.createElementVNode("span",null,d.toDisplayString(t.title),1)]),d.renderSlot(s.$slots,"modal-header-space-between"),d.createElementVNode("button",{type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:o},[u6,d.createVNode(d.unref(Ii))])]),d.createElementVNode("div",d6,[d.renderSlot(s.$slots,"default")]),s.hideFooter?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",f6,[t.hideFooterSubmitButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},d.toDisplayString(t.submitButtonTitle),9,h6)),d.renderSlot(s.$slots,"buttons"),t.hideFooterCancelButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:o,"aria-label":"Annuleren"},d.toDisplayString(t.closeButtonTitle),1))]))])])]))}});/*!
|
|
128
128
|
* Bootstrap v5.3.0 (https://getbootstrap.com/)
|
|
129
129
|
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
130
130
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -22858,7 +22858,7 @@ const fE = An.create({
|
|
|
22858
22858
|
]));
|
|
22859
22859
|
}
|
|
22860
22860
|
}), pf = (n) => n.Naam.toLowerCase().endsWith(".png") || n.Naam.toLowerCase().endsWith(".jpg") || n.Naam.toLowerCase().endsWith(".jpeg") || n.Naam.toLowerCase().endsWith(".gif"), jE = (n) => n.DownloadUrl ? n.DownloadUrl : n.identifier ? `/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}` : n.url ? n.url : n.Id ? "/Portaal/DownloadBerichtBijlage/" + n.Id : n.FileId ? `/Portaal/DownloadStandardMessageAttachment/${n.StandardAttachmentId}/${n.FileId}` : "/Portaal/DownloadBerichtStagingBijlage/" + n.CorrelationId, WE = (n) => n.ThumbnailUrl ? n.ThumbnailUrl : n.identifier ? `/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}` : n.url ? n.url : n.Id ? "/Portaal/DownloadBerichtBijlageThumbnail/" + n.Id : n.StandardAttachmentId || n.standardAttachmentId ? `/Portaal/DownloadStandardMessageAttachmentThumbnail/${n.StandardAttachmentId}/${n.FileId}` : "/Portaal/DownloadBerichtStagingBijlageThumbnail/" + n.CorrelationId, KE = (n) => n.identifier ? `/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}` : null, GE = (n, e) => e ? pf(n) : !pf(n), Uo = (n, e) => n === void 0 ? void 0 : n.filter((r) => GE(r, e)).map((r) => {
|
|
22861
|
-
const s = typeof r.CorrelationId == "string" ? r.CorrelationId : r.CorrelationId
|
|
22861
|
+
const s = typeof r.CorrelationId == "string" ? r.CorrelationId : r.CorrelationId != null ? r.CorrelationId.toString() : "";
|
|
22862
22862
|
return {
|
|
22863
22863
|
downloadUrl: jE(r),
|
|
22864
22864
|
previewUrl: WE(r),
|
|
@@ -124,7 +124,7 @@ img.ProseMirror-separator {
|
|
|
124
124
|
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
125
125
|
2. Cannot start or end with "-"
|
|
126
126
|
3. "-" cannot repeat`);ze.customSchemes.push([n,e])}function I7(){ze.scanner=w7(ze.customSchemes);for(let n=0;n<ze.tokenQueue.length;n++)ze.tokenQueue[n][1]({scanner:ze.scanner});ze.parser=x7(ze.scanner.tokens);for(let n=0;n<ze.pluginQueue.length;n++)ze.pluginQueue[n][1]({scanner:ze.scanner,parser:ze.parser});ze.initialized=!0}function D7(n){return ze.initialized||I7(),O7(ze.parser.start,n,k7(ze.scanner.start,n))}function vc(n,e,t){if(e===void 0&&(e=null),t===void 0&&(t=null),e&&typeof e=="object"){if(t)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);t=e,e=null}const r=new gc(t),o=D7(n),i=[];for(let s=0;s<o.length;s++){const l=o[s];l.isLink&&(!e||l.t===e)&&r.check(l)&&i.push(l.toFormattedObject(r))}return i}function L7(n){return new vt({key:new jt("autolink"),appendTransaction:(e,t,r)=>{const o=e.some(c=>c.docChanged)&&!t.doc.eq(r.doc),i=e.some(c=>c.getMeta("preventAutolink"));if(!o||i)return;const{tr:s}=r,l=db(t.doc,[...e]);if(Eb(l).forEach(({newRange:c})=>{const u=hb(r.doc,c,p=>p.isTextblock);let f,h;if(u.length>1?(f=u[0],h=r.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):u.length&&r.doc.textBetween(c.from,c.to," "," ").endsWith(" ")&&(f=u[0],h=r.doc.textBetween(f.pos,c.to,void 0," ")),f&&h){const p=h.split(" ").filter(y=>y!=="");if(p.length<=0)return!1;const m=p[p.length-1],g=f.pos+h.lastIndexOf(m);if(!m)return!1;vc(m).filter(y=>y.isLink).map(y=>({...y,from:g+y.start+1,to:g+y.end+1})).filter(y=>r.schema.marks.code?!r.doc.rangeHasMark(y.from,y.to,r.schema.marks.code):!0).filter(y=>n.validate?n.validate(y.value):!0).forEach(y=>{Ol(y.from,y.to,r.doc).some(C=>C.mark.type===n.type)||s.addMark(y.from,y.to,n.type.create({href:y.href}))})}}),!!s.steps.length)return s}})}function R7(n){return new vt({key:new jt("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,i;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=qf(e.state,n.type.name),a=r.target,c=(o=a==null?void 0:a.href)!==null&&o!==void 0?o:l.href,u=(i=a==null?void 0:a.target)!==null&&i!==void 0?i:l.target;return a&&c?(e.editable&&window.open(c,u),!0):!1}}})}function B7(n){return new vt({key:new jt("handlePasteLink"),props:{handlePaste:(e,t,r)=>{var o;const{state:i}=e,{selection:s}=i,{empty:l}=s;if(l)return!1;let a="";r.content.forEach(m=>{a+=m.textContent});const c=vc(a).find(m=>m.isLink&&m.value===a);if(!a||!c)return!1;const u=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),f=/href="([^"]*)"/,h=u==null?void 0:u.match(f),p=h?h[1]:c.href;return n.editor.commands.setMark(n.type,{href:p}),!0}}})}const $7=tn.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){Ep(n);return}Ep(n.scheme,n.optionalSlashes)})},onDestroy(){_7()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:void 0}},addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:'a[href]:not([href *= "javascript:" i])'}]},renderHTML({HTMLAttributes:n}){return["a",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{setLink:n=>({chain:e})=>e().setMark(this.name,n).setMeta("preventAutolink",!0).run(),toggleLink:n=>({chain:e})=>e().toggleMark(this.name,n,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:n})=>n().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Ro({find:n=>vc(n).filter(e=>this.options.validate?this.options.validate(e.value):!0).filter(e=>e.isLink).map(e=>({text:e.value,index:e.start,data:e})),type:this.type,getAttributes:(n,e)=>{var t,r;const o=(t=e==null?void 0:e.clipboardData)===null||t===void 0?void 0:t.getData("text/html"),i=/href="([^"]*)"/,s=o==null?void 0:o.match(i);return s?{href:s[1]}:{href:(r=n.data)===null||r===void 0?void 0:r.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(L7({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(R7({type:this.type})),this.options.linkOnPaste&&n.push(B7({editor:this.editor,type:this.type})),n}}).extend({addAttributes(){var n;return{...(n=this.parent)==null?void 0:n.call(this),title:{default:null,parseHTML:e=>e.getAttribute("title"),renderHTML:e=>({title:e.title})}}}}),P7=Dt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new vt({key:new jt("placeholder"),props:{decorations:({doc:n,selection:e})=>{const t=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,o=[];if(!t)return null;const i=n.type.createAndFill(),s=(i==null?void 0:i.sameMarkup(n))&&i.content.findDiffStart(n.content)===null;return n.descendants((l,a)=>{const c=r>=a&&r<=a+l.nodeSize,u=!l.isLeaf&&!l.childCount;if((c||!this.options.showOnlyCurrent)&&u){const f=[this.options.emptyNodeClass];s&&f.push(this.options.emptyEditorClass);const h=It.node(a,a+l.nodeSize,{class:f.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:l,pos:a,hasAnchor:c}):this.options.placeholder});o.push(h)}return this.options.includeChildren}),Ge.create(n,o)}}})]}}),F7=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,V7=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,z7=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,H7=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,U7=tn.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:n=>n.style.fontWeight!=="normal"&&null},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}]},renderHTML({HTMLAttributes:n}){return["strong",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{setBold:()=>({commands:n})=>n.setMark(this.name),toggleBold:()=>({commands:n})=>n.toggleMark(this.name),unsetBold:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Gi({find:F7,type:this.type}),Gi({find:z7,type:this.type})]},addPasteRules(){return[Ro({find:V7,type:this.type}),Ro({find:H7,type:this.type})]}}),j7=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,W7=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,K7=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,Y7=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,G7=tn.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:n=>n.style.fontStyle!=="normal"&&null},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:n}){return["em",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{setItalic:()=>({commands:n})=>n.setMark(this.name),toggleItalic:()=>({commands:n})=>n.toggleMark(this.name),unsetItalic:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Gi({find:j7,type:this.type}),Gi({find:K7,type:this.type})]},addPasteRules(){return[Ro({find:W7,type:this.type}),Ro({find:Y7,type:this.type})]}}),J7=tn.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:n=>n.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["u",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{setUnderline:()=>({commands:n})=>n.setMark(this.name),toggleUnderline:()=>({commands:n})=>n.toggleMark(this.name),unsetUnderline:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),Z7=mn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ht(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),X7=mn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ht(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Cp=tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Ki(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Sp=/^\s*([-+*])\s$/,Q7=mn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:n}){return["ul",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleBulletList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(X7.name,this.editor.getAttributes(Cp.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Ji({find:Sp,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Ji({find:Sp,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Cp.name),editor:this.editor})),[n]}}),q7=mn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ht(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),wp=tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Ki(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),kp=/^(\d+)\.\s$/,e8=mn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:n=>n.hasAttribute("start")?parseInt(n.getAttribute("start")||"",10):1}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:n}){const{start:e,...t}=n;return e===1?["ol",ht(this.options.HTMLAttributes,t),0]:["ol",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleOrderedList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(q7.name,this.editor.getAttributes(wp.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Ji({find:kp,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Ji({find:kp,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(wp.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),t8=mn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",ht(this.options.HTMLAttributes,n)]},renderText(){return`
|
|
127
|
-
`},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:i}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:l}=r.extensionManager,a=i||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&a&&s){const f=a.filter(h=>l.includes(h.type.name));c.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),bc={BASIC:"basic",FULL:"full"},n8={class:"attachment-list"},r8={class:"attachment-link"},o8={key:1,class:"attachment-no-download"},i8=["href"],Us=d.defineComponent({__name:"BDAttachmentPreviewList",props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete"],setup(n,{emit:e}){const t=r=>{e("delete",r)};return(r,o)=>(d.openBlock(),d.createElementBlock("ul",n8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.files,i=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:i.CorrelationId},[d.createElementVNode("div",r8,[r.showDelete?(d.openBlock(),d.createBlock(Qe,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:d.withCtx(()=>[d.createVNode(d.unref(ho))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),r.noDownload?(d.openBlock(),d.createElementBlock("div",o8,[d.createVNode(d.unref(Qn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)])):(d.openBlock(),d.createElementBlock("a",{key:2,href:i.downloadUrl},[d.createVNode(d.unref(Qn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)],8,i8))])]))),128))]))}}),s8={class:"attachment-list"},a8={class:"attachment"},l8=["onClick"],c8=["src","alt"],u8=["onClick"],d8=["href"],f8={class:"btn btn-light download-button-image"},h8=["src","alt"],js=d.defineComponent({__name:"BDImageAttachmentPreviewList",props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete","show"],setup(n,{emit:e}){const t=n,r=i=>{e("delete",i)},o=(i,s)=>{i.target&&i.target.className==="img-preview"&&e("show",s)};return(i,s)=>(d.openBlock(),d.createElementBlock("ul",s8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(i.files,l=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[d.createElementVNode("div",a8,[i.showDelete?(d.openBlock(),d.createBlock(Qe,{key:0,variant:"remove","aria-label":"verwijder",onClick:d.withModifiers(a=>r(l),["prevent"])},{default:d.withCtx(()=>[d.createVNode(d.unref(ho))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),t.noDownload?(d.openBlock(),d.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[d.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,c8)],8,l8)):(d.openBlock(),d.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(d.openBlock(),d.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[d.createElementVNode("button",f8,[d.createVNode(d.unref(oi))])],8,d8)):d.createCommentVNode("",!0),d.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,h8)],8,u8))])]))),128))]))}}),Tp=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),p8=n=>n.DownloadUrl?n.DownloadUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlage/"+n.Id:n.FileId?`/Portaal/DownloadStandardMessageAttachment/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlage/"+n.CorrelationId,m8=n=>n.ThumbnailUrl?n.ThumbnailUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlageThumbnail/"+n.Id:n.StandardAttachmentId||n.standardAttachmentId?`/Portaal/DownloadStandardMessageAttachmentThumbnail/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlageThumbnail/"+n.CorrelationId,g8=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,y8=(n,e)=>e?Tp(n):!Tp(n),Ws=(n,e)=>n===void 0?void 0:n.filter(r=>y8(r,e)).map(r=>{const o=typeof r.CorrelationId=="string"?r.CorrelationId:r.CorrelationId!==void 0?r.CorrelationId.toString():"";return{downloadUrl:p8(r),previewUrl:m8(r),fullImageUrl:g8(r),altName:`${r.Naam}`,...r,CorrelationId:o}}),v8={key:0,class:"pills-list__wrapper"},b8={class:"pills-list__ul"},E8={class:"bd-markdown-editor__menu-bottom"},C8={key:0,class:"vr"},Ap=d.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:bc.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=qn(t,"modelValue",e),i=[f7,h7,p7,P7.configure({placeholder:t.placeholder}),t8,$7.configure({openOnClick:!1,validate:M=>/^https?:\/\//i.test(M)})];t.variant===bc.FULL&&i.push(U7,G7,J7,Z7,Q7,e8);const s=d7({content:o.value,extensions:i,onUpdate:({editor:M})=>{const{view:T,state:z}=M,{from:U,to:j}=T.state.selection;if(z.doc.textBetween(U-1,j,"")==" "&&M.getAttributes("link").href!=null&&M.chain().setTextSelection({from:U-1,to:j}).toggleLink({href:M.getAttributes("link").href}).setTextSelection({from:j,to:j}).run(),M.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",M.getHTML())}});d.watch(()=>t.modelValue,M=>{s.value.getHTML()!==M&&s.value.commands.setContent(M,!0,{preserveWhitespace:"full"})});const l=d.computed(()=>t.state===!1?"is-invalid":null),a=d.computed(()=>g("bold")),c=d.computed(()=>g("italic")),u=d.computed(()=>g("underline")),f=d.computed(()=>g("bulletList")),h=d.computed(()=>g("orderedList")),p=d.computed(()=>g("link")),m=d.computed(()=>t.variant===bc.FULL),g=M=>s.value&&s.value.isActive(M)?"active":null,y=d.computed(()=>t.files&&t.files.length>0?Ws(t.files,!1):null),C=d.computed(()=>t.files&&t.files.length>0?Ws(t.files,!0):null),S=M=>{e("action",{name:"delete-attachment",obj:M})},k=M=>{e("action",{name:"image-attachment",obj:M})},b=()=>{const M=s.value.getAttributes("link").href,T=window.prompt("Voeg link toe",M);if(T!==null){if(T===""){s.value.chain().focus().unsetLink().run();return}s.value.chain().focus().toggleLink({href:T}).run()}};return(M,T)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:d.normalizeClass(["bd-markdown-editor",l.value])},[d.createVNode(d.unref(u7),{editor:d.unref(s)},null,8,["editor"]),M.pills?(d.openBlock(),d.createElementBlock("div",v8,[d.createElementVNode("ul",b8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(M.pills,(z,U)=>(d.openBlock(),d.createElementBlock("li",{key:U,class:"pills-list__li"},[d.createVNode(mi,d.normalizeProps(d.guardReactiveProps(z)),null,16)]))),128))])])):d.createCommentVNode("",!0),d.renderSlot(M.$slots,"default"),y.value?(d.openBlock(),d.createBlock(Us,{key:1,files:y.value,"no-download":!0,"show-delete":!0,onDelete:S},null,8,["files"])):d.createCommentVNode("",!0),C.value?(d.openBlock(),d.createBlock(js,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:S,onShow:k},null,8,["files"])):d.createCommentVNode("",!0),d.createElementVNode("div",E8,[d.createVNode(Qe,{variant:"light",type:"button",onClick:r},{default:d.withCtx(()=>[d.createVNode(d.unref(Qn))]),_:1}),m.value?(d.openBlock(),d.createElementBlock("div",C8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:1,variant:"light",type:"button",class:d.normalizeClass(a.value),onClick:T[0]||(T[0]=z=>d.unref(s).chain().focus().toggleBold().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ca))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:2,variant:"light",type:"button",class:d.normalizeClass(c.value),onClick:T[1]||(T[1]=z=>d.unref(s).chain().focus().toggleItalic().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ga))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:3,variant:"light",type:"button",class:d.normalizeClass(u.value),onClick:T[2]||(T[2]=z=>d.unref(s).chain().focus().toggleUnderline().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Ca))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:4,variant:"light",type:"button",class:d.normalizeClass(f.value),onClick:T[3]||(T[3]=z=>d.unref(s).chain().focus().toggleBulletList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ua))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:5,variant:"light",type:"button",class:d.normalizeClass(h.value),onClick:T[4]||(T[4]=z=>d.unref(s).chain().focus().toggleOrderedList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ya))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:6,variant:"light",type:"button",class:d.normalizeClass(p.value),onClick:b},{default:d.withCtx(()=>[d.createVNode(d.unref(si))]),_:1},8,["class"])):d.createCommentVNode("",!0)])],2),d.createVNode(d.unref(hi),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),S8={class:"header"},w8=d.createElementVNode("div",null,"Menu",-1),k8={class:"icon-close-wrapper"},T8={class:"navbar"},A8={class:"nav navbar-nav w-100"},x8={class:"nav-item"},O8={class:"nav-item"},Ec=d.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),i=()=>e("signout");return(s,l)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-mobile-menu",r.value])},[d.createElementVNode("div",S8,[w8,d.createElementVNode("div",k8,[d.createVNode(ri,{onClick:o})])]),d.createElementVNode("nav",T8,[d.createElementVNode("ul",A8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.options,a=>(d.openBlock(),d.createElementBlock("li",x8,[d.createVNode(Ar,d.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),d.renderSlot(s.$slots,"special-options"),d.createElementVNode("li",O8,[d.createVNode(Ar,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),M8={class:"bd-user"},N8={class:"bd-user__information"},_8={class:"text-break"},I8={class:"overflow-x-hidden"},xp=d.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=d.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(d.openBlock(),d.createElementBlock("div",M8,[e.hideImage?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(po,d.mergeProps({key:0},e.img,{size:"sm"}),null,16)),d.createElementVNode("div",N8,[d.createElementVNode("header",null,[d.createElementVNode("h5",_8,d.toDisplayString(e.name),1),d.renderSlot(r.$slots,"header-extra")]),d.createElementVNode("span",I8,d.toDisplayString(t.value),1)])]))}}),D8={class:"bd-chat-cloud-card"},L8={class:"bd-chat-cloud-card__header"},R8={class:"bd-chat-cloud-card__body"},B8=["innerHTML"],$8={class:"bd-chat-cloud-card__footer"},P8={key:0,class:"pills-list__wrapper"},F8={class:"pills-list__ul"},Op=d.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},AltProfileImage:{default:""},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=d.computed(()=>t.isSender?"sender":We),o=d.computed(()=>Ws(t.files,!1)),i=d.computed(()=>Ws(t.files,!0)),s=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,c)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-chat-cloud",r.value])},[d.createVNode(po,{src:t.src,size:"sm"},null,8,["src"]),d.createElementVNode("div",D8,[d.createElementVNode("div",L8,[d.renderSlot(a.$slots,"header",{},()=>[d.createTextVNode(d.toDisplayString(a.headerTitle),1)]),d.createVNode(Qe,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:d.withCtx(()=>[d.createTextVNode(" kopieer ")]),_:1})]),d.createElementVNode("div",R8,[d.renderSlot(a.$slots,"body",{},()=>[d.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,B8)])]),d.createElementVNode("div",$8,[d.renderSlot(a.$slots,"footer",{},()=>[a.pills?(d.openBlock(),d.createElementBlock("div",P8,[d.createElementVNode("ul",F8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(a.pills,(u,f)=>(d.openBlock(),d.createElementBlock("li",{key:f,class:"pills-list__li"},[d.createVNode(mi,d.normalizeProps(d.guardReactiveProps(u)),null,16)]))),128))])])):d.createCommentVNode("",!0),o.value&&o.value.length>0?(d.openBlock(),d.createBlock(Us,{key:1,files:o.value},null,8,["files"])):d.createCommentVNode("",!0),i.value&&i.value.length>0?(d.openBlock(),d.createBlock(js,{key:2,"fast-download":!0,files:i.value,onShow:l},null,8,["files"])):d.createCommentVNode("",!0)])])])],2))}}),V8=d.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=d.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},i=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},s=d.computed(()=>({"bd-table-sort":!0,active:t.active}));return d.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),i(),(l,a)=>(d.openBlock(),d.createElementBlock("th",{class:d.normalizeClass(s.value),onClick:a[0]||(a[0]=c=>{o(),i()})},[d.createElementVNode("span",null,d.toDisplayString(t.label),1),t.active&&!r.value?(d.openBlock(),d.createBlock(d.unref(va),{key:0})):t.active&&r.value?(d.openBlock(),d.createBlock(d.unref(ba),{key:1})):(d.openBlock(),d.createBlock(d.unref(Ea),{key:2}))],2))}}),z8={class:"bd-table"},H8={key:0,class:"table"},U8={key:1},j8=["onClick"],W8={key:0},K8={key:1,class:"empty-text"},Mp=d.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=d.ref(r.items),i=d.ref(r.sortBy),s=f=>i.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const y=m.toString(),C=g.toString();return y.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},c=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},u=()=>{o.value=r.items};return d.watch(()=>r.items,f=>{o.value=f}),e({Refresh:u}),(f,h)=>(d.openBlock(),d.createElementBlock("div",z8,[r.items&&r.items.length>0?(d.openBlock(),d.createElementBlock("table",H8,[d.createElementVNode("thead",null,[d.createElementVNode("tr",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.fields,p=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[p.isVisible?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[p.sortable?(d.openBlock(),d.createBlock(V8,{key:0,label:p.label,active:p.key==i.value,sortDesc:r.sortDesc,onClick:m=>s(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>c(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(d.openBlock(),d.createElementBlock("th",U8,d.toDisplayString(p.label),1))],64)):d.createCommentVNode("",!0)],64))),256))])]),d.createElementVNode("tbody",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.value,p=>(d.openBlock(),d.createElementBlock("tr",{class:d.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.fields,m=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[m.isVisible?(d.openBlock(),d.createElementBlock("td",W8,[f.$slots.hasOwnProperty(m.key)?d.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createTextVNode(d.toDisplayString(p[m.key]),1)],64))])):d.createCommentVNode("",!0)],64))),256))],10,j8))),256))])])):(d.openBlock(),d.createElementBlock("p",K8,d.toDisplayString(r.emptyText),1))]))}}),Y8={class:"template change-password-template"},G8={class:"template-title"},J8={key:0},Z8={key:1},X8=["onSubmit","onReset"],Q8={class:"bd-form-field"},q8={class:"bd-form-field"},e4={class:"bd-form-field"},t4={class:"bd-form-buttons"},Np=d.defineComponent({__name:"BDChangePasswordTemplate",props:{data:{},validation:{},serverErrors:{},errorMessages:{},errorMessageText:{},title:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{}},emits:["submit","reset"],setup(n,{emit:e}){const t=()=>e("submit"),r=()=>e("reset");return(o,i)=>(d.openBlock(),d.createElementBlock("main",Y8,[d.createVNode(ni,{class:"container-xl"},{default:d.withCtx(()=>[d.createVNode(Xn,{class:"justify-content-md-center template-header"},{default:d.withCtx(()=>[d.createVNode(Zn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createElementVNode("h2",G8,d.toDisplayString(o.title),1)]),_:1})]),_:1}),d.createVNode(Xn,{class:"justify-content-md-center"},{default:d.withCtx(()=>[d.createVNode(Zn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createVNode(fi,{class:"bd-card-template",noHeader:!0},{body:d.withCtx(()=>[d.createVNode(ni,{class:"container-fluid"},{default:d.withCtx(()=>[d.createVNode(Xn,null,{default:d.withCtx(()=>[d.createVNode(Zn,null,{default:d.withCtx(()=>[d.createVNode(ci,{variant:"warning"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.alertText),1)]),_:1})]),_:1})]),_:1}),o.errorMessages||o.errorMessageText?(d.openBlock(),d.createBlock(Xn,{key:0},{default:d.withCtx(()=>[d.createVNode(Zn,null,{default:d.withCtx(()=>[d.createVNode(ci,{variant:"danger"},{default:d.withCtx(()=>[o.errorMessages?(d.openBlock(),d.createElementBlock("div",J8,[d.createElementVNode("ul",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.errorMessages,(s,l)=>(d.openBlock(),d.createElementBlock("li",{key:l},[d.createVNode(Tr),d.createTextVNode(" "+d.toDisplayString(s),1)]))),128))])])):(d.openBlock(),d.createElementBlock("div",Z8,d.toDisplayString(o.errorMessageText),1))]),_:1})]),_:1})]),_:1})):d.createCommentVNode("",!0),d.createVNode(Xn,null,{default:d.withCtx(()=>[d.createVNode(Zn,{class:"bd-card-form",sm:12,md:12},{default:d.withCtx(()=>[d.createElementVNode("form",{onSubmit:d.withModifiers(t,["prevent"]),onReset:d.withModifiers(r,["prevent"]),class:"form"},[d.createElementVNode("div",Q8,[d.createVNode(go,{modelValue:o.data.password,"onUpdate:modelValue":i[0]||(i[0]=s=>o.data.password=s),label:o.currentPasswordLabel,state:o.validation.password.state,type:"password",invalidFeedbackText:o.validation.password.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",q8,[d.createVNode(go,{modelValue:o.data.passwordNew,"onUpdate:modelValue":i[1]||(i[1]=s=>o.data.passwordNew=s),label:o.newPasswordLabel,state:o.validation.passwordNew.state,type:"password",invalidFeedbackText:o.validation.passwordNew.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",e4,[d.createVNode(go,{modelValue:o.data.passwordRepeat,"onUpdate:modelValue":i[2]||(i[2]=s=>o.data.passwordRepeat=s),label:o.confirmNewPasswordLabel,state:o.validation.passwordRepeat.state,type:"password",invalidFeedbackText:o.validation.passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",t4,[d.createVNode(Qe,{type:"submit"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.submitButtonText),1)]),_:1}),d.createVNode(Qe,{type:"reset",variant:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.cancelButtonText),1)]),_:1})])],40,X8)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),Cc=d.defineComponent({__name:"BDDropdown",props:{size:{default:lt.MD},variant:{default:li.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=xr(),r=`__BD__DROPDOWN__${t.value}`,o=d.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),i=d.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),s=d.computed(()=>({"aria-labelledby":r})),l=d.ref(),a=d.ref(),c=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(u,f)=>(d.openBlock(),d.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=d.withModifiers(()=>{},["stop"]))},[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(e.toggleTag),d.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:d.withCtx(()=>[d.createElementVNode("span",null,d.toDisplayString(e.text),1)]),_:1},16)),d.createElementVNode("ul",d.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",i.value]},s.value,{onClick:c}),[d.renderSlot(u.$slots,"default")],16)]))}}),n4={class:"row bd-header"},r4={class:"col logo-mix"},o4=["src","alt"],i4=d.createElementVNode("div",null,"Menu",-1),s4={key:0,class:"col header-options"},a4={class:"col bd-btn-settings"},l4="sm",_p=d.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>{let c=[];return t.headerOptions&&(c=c.concat(t.headerOptions)),t.dropdownOptions&&(c=c.concat(t.dropdownOptions)),c}),o=d.ref(void 0),i=()=>e("click"),s=()=>e("signout"),l=()=>o.value=!0,a=()=>o.value=!1;return(c,u)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("nav",n4,[d.createElementVNode("div",r4,[d.createVNode(Sa,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(d.openBlock(),d.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,o4)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[i4,d.createVNode(ai)]),t.headerOptions&&t.headerOptions.length!==0?(d.openBlock(),d.createElementBlock("div",s4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.headerOptions,f=>(d.openBlock(),d.createBlock(Qe,{class:"btn-header",to:f.to},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(f.text),1)]),_:2},1032,["to"]))),256))])):d.createCommentVNode("",!0),d.createElementVNode("div",a4,[d.renderSlot(c.$slots,"profile-side"),t.profileImageSrc?(d.openBlock(),d.createBlock(po,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:l4},null,8,["src","alt"])):d.createCommentVNode("",!0),d.createVNode(Cc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.dropdownOptions,(f,h)=>(d.openBlock(),d.createBlock(gi,d.mergeProps({key:h},f),null,16))),128)),d.createVNode(gi,{text:"Uitloggen",onClick:s})]),_:1},8,["text"])])]),d.createVNode(Ec,{active:o.value,options:r.value,onHide:a,onSignout:s},{"special-options":d.withCtx(()=>[d.renderSlot(c.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"])],64))}}),c4={class:"modal bd-modal modal-lg",tabindex:"-1"},u4={class:"modal-dialog"},d4={class:"modal-content"},f4={class:"modal-header"},h4={class:"modal-title"},p4=["src"],m4=d.createElementVNode("span",null,"Sluiten",-1),g4={class:"modal-body"},y4={key:0,class:"modal-footer"},v4=["disabled"],Sc=d.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=()=>e("submit"),o=()=>e("cancel");return(i,s)=>(d.openBlock(),d.createElementBlock("div",c4,[d.createElementVNode("div",u4,[d.createElementVNode("div",d4,[d.createElementVNode("div",f4,[d.createElementVNode("h2",h4,[t.titleImage?(d.openBlock(),d.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,p4)):d.createCommentVNode("",!0),d.createElementVNode("span",null,d.toDisplayString(t.title),1)]),d.renderSlot(i.$slots,"modal-header-space-between"),d.createElementVNode("button",{type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:o},[m4,d.createVNode(d.unref(ri))])]),d.createElementVNode("div",g4,[d.renderSlot(i.$slots,"default")]),i.hideFooter?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",y4,[t.hideFooterSubmitButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},d.toDisplayString(t.submitButtonTitle),9,v4)),d.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:o,"aria-label":"Annuleren"},d.toDisplayString(t.closeButtonTitle),1))]))])])]))}});/*!
|
|
127
|
+
`},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:i}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:l}=r.extensionManager,a=i||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&a&&s){const f=a.filter(h=>l.includes(h.type.name));c.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),bc={BASIC:"basic",FULL:"full"},n8={class:"attachment-list"},r8={class:"attachment-link"},o8={key:1,class:"attachment-no-download"},i8=["href"],Us=d.defineComponent({__name:"BDAttachmentPreviewList",props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete"],setup(n,{emit:e}){const t=r=>{e("delete",r)};return(r,o)=>(d.openBlock(),d.createElementBlock("ul",n8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.files,i=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:i.CorrelationId},[d.createElementVNode("div",r8,[r.showDelete?(d.openBlock(),d.createBlock(Qe,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:d.withCtx(()=>[d.createVNode(d.unref(ho))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),r.noDownload?(d.openBlock(),d.createElementBlock("div",o8,[d.createVNode(d.unref(Qn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)])):(d.openBlock(),d.createElementBlock("a",{key:2,href:i.downloadUrl},[d.createVNode(d.unref(Qn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)],8,i8))])]))),128))]))}}),s8={class:"attachment-list"},a8={class:"attachment"},l8=["onClick"],c8=["src","alt"],u8=["onClick"],d8=["href"],f8={class:"btn btn-light download-button-image"},h8=["src","alt"],js=d.defineComponent({__name:"BDImageAttachmentPreviewList",props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete","show"],setup(n,{emit:e}){const t=n,r=i=>{e("delete",i)},o=(i,s)=>{i.target&&i.target.className==="img-preview"&&e("show",s)};return(i,s)=>(d.openBlock(),d.createElementBlock("ul",s8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(i.files,l=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[d.createElementVNode("div",a8,[i.showDelete?(d.openBlock(),d.createBlock(Qe,{key:0,variant:"remove","aria-label":"verwijder",onClick:d.withModifiers(a=>r(l),["prevent"])},{default:d.withCtx(()=>[d.createVNode(d.unref(ho))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),t.noDownload?(d.openBlock(),d.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[d.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,c8)],8,l8)):(d.openBlock(),d.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(d.openBlock(),d.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[d.createElementVNode("button",f8,[d.createVNode(d.unref(oi))])],8,d8)):d.createCommentVNode("",!0),d.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,h8)],8,u8))])]))),128))]))}}),Tp=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),p8=n=>n.DownloadUrl?n.DownloadUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlage/"+n.Id:n.FileId?`/Portaal/DownloadStandardMessageAttachment/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlage/"+n.CorrelationId,m8=n=>n.ThumbnailUrl?n.ThumbnailUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlageThumbnail/"+n.Id:n.StandardAttachmentId||n.standardAttachmentId?`/Portaal/DownloadStandardMessageAttachmentThumbnail/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlageThumbnail/"+n.CorrelationId,g8=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,y8=(n,e)=>e?Tp(n):!Tp(n),Ws=(n,e)=>n===void 0?void 0:n.filter(r=>y8(r,e)).map(r=>{const o=typeof r.CorrelationId=="string"?r.CorrelationId:r.CorrelationId!=null?r.CorrelationId.toString():"";return{downloadUrl:p8(r),previewUrl:m8(r),fullImageUrl:g8(r),altName:`${r.Naam}`,...r,CorrelationId:o}}),v8={key:0,class:"pills-list__wrapper"},b8={class:"pills-list__ul"},E8={class:"bd-markdown-editor__menu-bottom"},C8={key:0,class:"vr"},Ap=d.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:bc.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=qn(t,"modelValue",e),i=[f7,h7,p7,P7.configure({placeholder:t.placeholder}),t8,$7.configure({openOnClick:!1,validate:M=>/^https?:\/\//i.test(M)})];t.variant===bc.FULL&&i.push(U7,G7,J7,Z7,Q7,e8);const s=d7({content:o.value,extensions:i,onUpdate:({editor:M})=>{const{view:T,state:z}=M,{from:U,to:j}=T.state.selection;if(z.doc.textBetween(U-1,j,"")==" "&&M.getAttributes("link").href!=null&&M.chain().setTextSelection({from:U-1,to:j}).toggleLink({href:M.getAttributes("link").href}).setTextSelection({from:j,to:j}).run(),M.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",M.getHTML())}});d.watch(()=>t.modelValue,M=>{s.value.getHTML()!==M&&s.value.commands.setContent(M,!0,{preserveWhitespace:"full"})});const l=d.computed(()=>t.state===!1?"is-invalid":null),a=d.computed(()=>g("bold")),c=d.computed(()=>g("italic")),u=d.computed(()=>g("underline")),f=d.computed(()=>g("bulletList")),h=d.computed(()=>g("orderedList")),p=d.computed(()=>g("link")),m=d.computed(()=>t.variant===bc.FULL),g=M=>s.value&&s.value.isActive(M)?"active":null,y=d.computed(()=>t.files&&t.files.length>0?Ws(t.files,!1):null),C=d.computed(()=>t.files&&t.files.length>0?Ws(t.files,!0):null),S=M=>{e("action",{name:"delete-attachment",obj:M})},k=M=>{e("action",{name:"image-attachment",obj:M})},b=()=>{const M=s.value.getAttributes("link").href,T=window.prompt("Voeg link toe",M);if(T!==null){if(T===""){s.value.chain().focus().unsetLink().run();return}s.value.chain().focus().toggleLink({href:T}).run()}};return(M,T)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:d.normalizeClass(["bd-markdown-editor",l.value])},[d.createVNode(d.unref(u7),{editor:d.unref(s)},null,8,["editor"]),M.pills?(d.openBlock(),d.createElementBlock("div",v8,[d.createElementVNode("ul",b8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(M.pills,(z,U)=>(d.openBlock(),d.createElementBlock("li",{key:U,class:"pills-list__li"},[d.createVNode(mi,d.normalizeProps(d.guardReactiveProps(z)),null,16)]))),128))])])):d.createCommentVNode("",!0),d.renderSlot(M.$slots,"default"),y.value?(d.openBlock(),d.createBlock(Us,{key:1,files:y.value,"no-download":!0,"show-delete":!0,onDelete:S},null,8,["files"])):d.createCommentVNode("",!0),C.value?(d.openBlock(),d.createBlock(js,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:S,onShow:k},null,8,["files"])):d.createCommentVNode("",!0),d.createElementVNode("div",E8,[d.createVNode(Qe,{variant:"light",type:"button",onClick:r},{default:d.withCtx(()=>[d.createVNode(d.unref(Qn))]),_:1}),m.value?(d.openBlock(),d.createElementBlock("div",C8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:1,variant:"light",type:"button",class:d.normalizeClass(a.value),onClick:T[0]||(T[0]=z=>d.unref(s).chain().focus().toggleBold().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ca))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:2,variant:"light",type:"button",class:d.normalizeClass(c.value),onClick:T[1]||(T[1]=z=>d.unref(s).chain().focus().toggleItalic().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ga))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:3,variant:"light",type:"button",class:d.normalizeClass(u.value),onClick:T[2]||(T[2]=z=>d.unref(s).chain().focus().toggleUnderline().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Ca))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:4,variant:"light",type:"button",class:d.normalizeClass(f.value),onClick:T[3]||(T[3]=z=>d.unref(s).chain().focus().toggleBulletList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ua))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:5,variant:"light",type:"button",class:d.normalizeClass(h.value),onClick:T[4]||(T[4]=z=>d.unref(s).chain().focus().toggleOrderedList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ya))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(Qe,{key:6,variant:"light",type:"button",class:d.normalizeClass(p.value),onClick:b},{default:d.withCtx(()=>[d.createVNode(d.unref(si))]),_:1},8,["class"])):d.createCommentVNode("",!0)])],2),d.createVNode(d.unref(hi),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),S8={class:"header"},w8=d.createElementVNode("div",null,"Menu",-1),k8={class:"icon-close-wrapper"},T8={class:"navbar"},A8={class:"nav navbar-nav w-100"},x8={class:"nav-item"},O8={class:"nav-item"},Ec=d.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),i=()=>e("signout");return(s,l)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-mobile-menu",r.value])},[d.createElementVNode("div",S8,[w8,d.createElementVNode("div",k8,[d.createVNode(ri,{onClick:o})])]),d.createElementVNode("nav",T8,[d.createElementVNode("ul",A8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.options,a=>(d.openBlock(),d.createElementBlock("li",x8,[d.createVNode(Ar,d.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),d.renderSlot(s.$slots,"special-options"),d.createElementVNode("li",O8,[d.createVNode(Ar,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),M8={class:"bd-user"},N8={class:"bd-user__information"},_8={class:"text-break"},I8={class:"overflow-x-hidden"},xp=d.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=d.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(d.openBlock(),d.createElementBlock("div",M8,[e.hideImage?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(po,d.mergeProps({key:0},e.img,{size:"sm"}),null,16)),d.createElementVNode("div",N8,[d.createElementVNode("header",null,[d.createElementVNode("h5",_8,d.toDisplayString(e.name),1),d.renderSlot(r.$slots,"header-extra")]),d.createElementVNode("span",I8,d.toDisplayString(t.value),1)])]))}}),D8={class:"bd-chat-cloud-card"},L8={class:"bd-chat-cloud-card__header"},R8={class:"bd-chat-cloud-card__body"},B8=["innerHTML"],$8={class:"bd-chat-cloud-card__footer"},P8={key:0,class:"pills-list__wrapper"},F8={class:"pills-list__ul"},Op=d.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},AltProfileImage:{default:""},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=d.computed(()=>t.isSender?"sender":We),o=d.computed(()=>Ws(t.files,!1)),i=d.computed(()=>Ws(t.files,!0)),s=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,c)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-chat-cloud",r.value])},[d.createVNode(po,{src:t.src,size:"sm"},null,8,["src"]),d.createElementVNode("div",D8,[d.createElementVNode("div",L8,[d.renderSlot(a.$slots,"header",{},()=>[d.createTextVNode(d.toDisplayString(a.headerTitle),1)]),d.createVNode(Qe,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:d.withCtx(()=>[d.createTextVNode(" kopieer ")]),_:1})]),d.createElementVNode("div",R8,[d.renderSlot(a.$slots,"body",{},()=>[d.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,B8)])]),d.createElementVNode("div",$8,[d.renderSlot(a.$slots,"footer",{},()=>[a.pills?(d.openBlock(),d.createElementBlock("div",P8,[d.createElementVNode("ul",F8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(a.pills,(u,f)=>(d.openBlock(),d.createElementBlock("li",{key:f,class:"pills-list__li"},[d.createVNode(mi,d.normalizeProps(d.guardReactiveProps(u)),null,16)]))),128))])])):d.createCommentVNode("",!0),o.value&&o.value.length>0?(d.openBlock(),d.createBlock(Us,{key:1,files:o.value},null,8,["files"])):d.createCommentVNode("",!0),i.value&&i.value.length>0?(d.openBlock(),d.createBlock(js,{key:2,"fast-download":!0,files:i.value,onShow:l},null,8,["files"])):d.createCommentVNode("",!0)])])])],2))}}),V8=d.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=d.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},i=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},s=d.computed(()=>({"bd-table-sort":!0,active:t.active}));return d.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),i(),(l,a)=>(d.openBlock(),d.createElementBlock("th",{class:d.normalizeClass(s.value),onClick:a[0]||(a[0]=c=>{o(),i()})},[d.createElementVNode("span",null,d.toDisplayString(t.label),1),t.active&&!r.value?(d.openBlock(),d.createBlock(d.unref(va),{key:0})):t.active&&r.value?(d.openBlock(),d.createBlock(d.unref(ba),{key:1})):(d.openBlock(),d.createBlock(d.unref(Ea),{key:2}))],2))}}),z8={class:"bd-table"},H8={key:0,class:"table"},U8={key:1},j8=["onClick"],W8={key:0},K8={key:1,class:"empty-text"},Mp=d.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=d.ref(r.items),i=d.ref(r.sortBy),s=f=>i.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const y=m.toString(),C=g.toString();return y.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},c=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},u=()=>{o.value=r.items};return d.watch(()=>r.items,f=>{o.value=f}),e({Refresh:u}),(f,h)=>(d.openBlock(),d.createElementBlock("div",z8,[r.items&&r.items.length>0?(d.openBlock(),d.createElementBlock("table",H8,[d.createElementVNode("thead",null,[d.createElementVNode("tr",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.fields,p=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[p.isVisible?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[p.sortable?(d.openBlock(),d.createBlock(V8,{key:0,label:p.label,active:p.key==i.value,sortDesc:r.sortDesc,onClick:m=>s(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>c(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(d.openBlock(),d.createElementBlock("th",U8,d.toDisplayString(p.label),1))],64)):d.createCommentVNode("",!0)],64))),256))])]),d.createElementVNode("tbody",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.value,p=>(d.openBlock(),d.createElementBlock("tr",{class:d.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.fields,m=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[m.isVisible?(d.openBlock(),d.createElementBlock("td",W8,[f.$slots.hasOwnProperty(m.key)?d.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createTextVNode(d.toDisplayString(p[m.key]),1)],64))])):d.createCommentVNode("",!0)],64))),256))],10,j8))),256))])])):(d.openBlock(),d.createElementBlock("p",K8,d.toDisplayString(r.emptyText),1))]))}}),Y8={class:"template change-password-template"},G8={class:"template-title"},J8={key:0},Z8={key:1},X8=["onSubmit","onReset"],Q8={class:"bd-form-field"},q8={class:"bd-form-field"},e4={class:"bd-form-field"},t4={class:"bd-form-buttons"},Np=d.defineComponent({__name:"BDChangePasswordTemplate",props:{data:{},validation:{},serverErrors:{},errorMessages:{},errorMessageText:{},title:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{}},emits:["submit","reset"],setup(n,{emit:e}){const t=()=>e("submit"),r=()=>e("reset");return(o,i)=>(d.openBlock(),d.createElementBlock("main",Y8,[d.createVNode(ni,{class:"container-xl"},{default:d.withCtx(()=>[d.createVNode(Xn,{class:"justify-content-md-center template-header"},{default:d.withCtx(()=>[d.createVNode(Zn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createElementVNode("h2",G8,d.toDisplayString(o.title),1)]),_:1})]),_:1}),d.createVNode(Xn,{class:"justify-content-md-center"},{default:d.withCtx(()=>[d.createVNode(Zn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createVNode(fi,{class:"bd-card-template",noHeader:!0},{body:d.withCtx(()=>[d.createVNode(ni,{class:"container-fluid"},{default:d.withCtx(()=>[d.createVNode(Xn,null,{default:d.withCtx(()=>[d.createVNode(Zn,null,{default:d.withCtx(()=>[d.createVNode(ci,{variant:"warning"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.alertText),1)]),_:1})]),_:1})]),_:1}),o.errorMessages||o.errorMessageText?(d.openBlock(),d.createBlock(Xn,{key:0},{default:d.withCtx(()=>[d.createVNode(Zn,null,{default:d.withCtx(()=>[d.createVNode(ci,{variant:"danger"},{default:d.withCtx(()=>[o.errorMessages?(d.openBlock(),d.createElementBlock("div",J8,[d.createElementVNode("ul",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.errorMessages,(s,l)=>(d.openBlock(),d.createElementBlock("li",{key:l},[d.createVNode(Tr),d.createTextVNode(" "+d.toDisplayString(s),1)]))),128))])])):(d.openBlock(),d.createElementBlock("div",Z8,d.toDisplayString(o.errorMessageText),1))]),_:1})]),_:1})]),_:1})):d.createCommentVNode("",!0),d.createVNode(Xn,null,{default:d.withCtx(()=>[d.createVNode(Zn,{class:"bd-card-form",sm:12,md:12},{default:d.withCtx(()=>[d.createElementVNode("form",{onSubmit:d.withModifiers(t,["prevent"]),onReset:d.withModifiers(r,["prevent"]),class:"form"},[d.createElementVNode("div",Q8,[d.createVNode(go,{modelValue:o.data.password,"onUpdate:modelValue":i[0]||(i[0]=s=>o.data.password=s),label:o.currentPasswordLabel,state:o.validation.password.state,type:"password",invalidFeedbackText:o.validation.password.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",q8,[d.createVNode(go,{modelValue:o.data.passwordNew,"onUpdate:modelValue":i[1]||(i[1]=s=>o.data.passwordNew=s),label:o.newPasswordLabel,state:o.validation.passwordNew.state,type:"password",invalidFeedbackText:o.validation.passwordNew.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",e4,[d.createVNode(go,{modelValue:o.data.passwordRepeat,"onUpdate:modelValue":i[2]||(i[2]=s=>o.data.passwordRepeat=s),label:o.confirmNewPasswordLabel,state:o.validation.passwordRepeat.state,type:"password",invalidFeedbackText:o.validation.passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",t4,[d.createVNode(Qe,{type:"submit"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.submitButtonText),1)]),_:1}),d.createVNode(Qe,{type:"reset",variant:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.cancelButtonText),1)]),_:1})])],40,X8)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),Cc=d.defineComponent({__name:"BDDropdown",props:{size:{default:lt.MD},variant:{default:li.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=xr(),r=`__BD__DROPDOWN__${t.value}`,o=d.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),i=d.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),s=d.computed(()=>({"aria-labelledby":r})),l=d.ref(),a=d.ref(),c=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(u,f)=>(d.openBlock(),d.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=d.withModifiers(()=>{},["stop"]))},[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(e.toggleTag),d.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:d.withCtx(()=>[d.createElementVNode("span",null,d.toDisplayString(e.text),1)]),_:1},16)),d.createElementVNode("ul",d.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",i.value]},s.value,{onClick:c}),[d.renderSlot(u.$slots,"default")],16)]))}}),n4={class:"row bd-header"},r4={class:"col logo-mix"},o4=["src","alt"],i4=d.createElementVNode("div",null,"Menu",-1),s4={key:0,class:"col header-options"},a4={class:"col bd-btn-settings"},l4="sm",_p=d.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>{let c=[];return t.headerOptions&&(c=c.concat(t.headerOptions)),t.dropdownOptions&&(c=c.concat(t.dropdownOptions)),c}),o=d.ref(void 0),i=()=>e("click"),s=()=>e("signout"),l=()=>o.value=!0,a=()=>o.value=!1;return(c,u)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("nav",n4,[d.createElementVNode("div",r4,[d.createVNode(Sa,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(d.openBlock(),d.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,o4)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[i4,d.createVNode(ai)]),t.headerOptions&&t.headerOptions.length!==0?(d.openBlock(),d.createElementBlock("div",s4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.headerOptions,f=>(d.openBlock(),d.createBlock(Qe,{class:"btn-header",to:f.to},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(f.text),1)]),_:2},1032,["to"]))),256))])):d.createCommentVNode("",!0),d.createElementVNode("div",a4,[d.renderSlot(c.$slots,"profile-side"),t.profileImageSrc?(d.openBlock(),d.createBlock(po,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:l4},null,8,["src","alt"])):d.createCommentVNode("",!0),d.createVNode(Cc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.dropdownOptions,(f,h)=>(d.openBlock(),d.createBlock(gi,d.mergeProps({key:h},f),null,16))),128)),d.createVNode(gi,{text:"Uitloggen",onClick:s})]),_:1},8,["text"])])]),d.createVNode(Ec,{active:o.value,options:r.value,onHide:a,onSignout:s},{"special-options":d.withCtx(()=>[d.renderSlot(c.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"])],64))}}),c4={class:"modal bd-modal modal-lg",tabindex:"-1"},u4={class:"modal-dialog"},d4={class:"modal-content"},f4={class:"modal-header"},h4={class:"modal-title"},p4=["src"],m4=d.createElementVNode("span",null,"Sluiten",-1),g4={class:"modal-body"},y4={key:0,class:"modal-footer"},v4=["disabled"],Sc=d.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=()=>e("submit"),o=()=>e("cancel");return(i,s)=>(d.openBlock(),d.createElementBlock("div",c4,[d.createElementVNode("div",u4,[d.createElementVNode("div",d4,[d.createElementVNode("div",f4,[d.createElementVNode("h2",h4,[t.titleImage?(d.openBlock(),d.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,p4)):d.createCommentVNode("",!0),d.createElementVNode("span",null,d.toDisplayString(t.title),1)]),d.renderSlot(i.$slots,"modal-header-space-between"),d.createElementVNode("button",{type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:o},[m4,d.createVNode(d.unref(ri))])]),d.createElementVNode("div",g4,[d.renderSlot(i.$slots,"default")]),i.hideFooter?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",y4,[t.hideFooterSubmitButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},d.toDisplayString(t.submitButtonTitle),9,v4)),d.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:o,"aria-label":"Annuleren"},d.toDisplayString(t.closeButtonTitle),1))]))])])]))}});/*!
|
|
128
128
|
* Bootstrap v5.3.0 (https://getbootstrap.com/)
|
|
129
129
|
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
130
130
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -137,9 +137,7 @@ $form-label-margin-bottom: 0.25rem; //deze lijkt niet te werken
|
|
|
137
137
|
$input-color: $font-color-primary;
|
|
138
138
|
$input-border-color: #abb1bf;
|
|
139
139
|
$input-border-width:1px;
|
|
140
|
-
$input-disabled-color: $gray-300;
|
|
141
140
|
$input-disabled-bg: $color-bg;
|
|
142
|
-
$input-disabled-border-color: $gray-300;
|
|
143
141
|
$form-feedback-icon-invalid: none;
|
|
144
142
|
$form-feedback-icon-valid: none;
|
|
145
143
|
// scss-docs-end form-input-variables
|