@beterdichtbij/component-library 0.31.3 → 0.31.4
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 l8(){ze.scanner=q7(ze.customSchemes);for(let n=0;n<ze.tokenQueue.length;n++)ze.tokenQueue[n][1]({scanner:ze.scanner});ze.parser=r8(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 c8(n){return ze.initialized||l8(),o8(ze.parser.start,n,e8(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 Fc(t),o=c8(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 u8(n){return new Et({key:new Kt("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=Ib(t.doc,[...e]);if(Vb(l).forEach(({newRange:c})=>{const u=Db(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;Vc(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=>{Ec(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 d8(n){return new Et({key:new Kt("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,s;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=Sp(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 f8(n){return new Et({key:new Kt("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=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 h8=an.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){Yd(n);return}Yd(n.scheme,n.optionalSlashes)})},onDestroy(){a8()},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",mt(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[Lo({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"),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(u8({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(d8({type:this.type})),this.options.linkOnPaste&&n.push(f8({editor:this.editor,type:this.type})),n}}),p8=h8.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})}}}}),m8=Pt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new Et({key:new Kt("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=Rt.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)}}})]}}),g8=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,v8=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,y8=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,b8=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,E8=an.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",mt(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[Ks({find:g8,type:this.type}),Ks({find:y8,type:this.type})]},addPasteRules(){return[Lo({find:v8,type:this.type}),Lo({find:b8,type:this.type})]}}),C8=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,S8=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,w8=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,k8=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,x8=an.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",mt(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[Ks({find:C8,type:this.type}),Ks({find:w8,type:this.type})]},addPasteRules(){return[Lo({find:S8,type:this.type}),Lo({find:k8,type:this.type})]}}),T8=an.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",mt(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()}}}),A8=bn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",mt(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)}}}),O8=bn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",mt(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)}}}),Jd=an.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Gi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Zd=/^\s*([-+*])\s$/,M8=bn.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",mt(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(O8.name,this.editor.getAttributes(Jd.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Gs({find:Zd,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Gs({find:Zd,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Jd.name),editor:this.editor})),[n]}}),N8=bn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",mt(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)}}}),Xd=an.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Gi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Qd=/^(\d+)\.\s$/,I8=bn.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",mt(this.options.HTMLAttributes,t),0]:["ol",mt(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(N8.name,this.editor.getAttributes(Xd.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Gs({find:Qd,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=Gs({find:Qd,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Xd.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),_8=bn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",mt(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()}}}),$a={BASIC:"basic",FULL:"full"},D8={class:"attachment-list"},L8={class:"attachment-link"},R8={key:1,class:"attachment-no-download"},B8=["href"],qi=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",D8,[(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",L8,[r.showDelete?(d.openBlock(),d.createBlock(qe,{key:0,variant:"remove",onClick:i=>t(s),"aria-label":"verwijder"},{default:d.withCtx(()=>[d.createVNode(d.unref(Ho))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),r.noDownload?(d.openBlock(),d.createElementBlock("div",R8,[d.createVNode(d.unref(dr)),d.createTextVNode(" "+d.toDisplayString(s.Naam.trim()),1)])):(d.openBlock(),d.createElementBlock("a",{key:2,href:s.downloadUrl},[d.createVNode(d.unref(dr)),d.createTextVNode(" "+d.toDisplayString(s.Naam.trim()),1)],8,B8))])]))),128))]))}}),P8={class:"attachment-list"},$8={class:"attachment"},F8=["onClick"],V8=["src","alt"],z8=["onClick"],H8=["href"],U8={class:"btn btn-light download-button-image"},j8=["src","alt"],ea=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",P8,[(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",$8,[s.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,V8)],8,F8)):(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",U8,[d.createVNode(d.unref(As))])],8,H8)):d.createCommentVNode("",!0),d.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,j8)],8,z8))])]))),128))]))}}),qd=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),W8=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,K8=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?qd(n):!qd(n),Ti=(n,e)=>n===void 0?void 0:n.filter(o=>Y8(o,e)).map(o=>{const s=typeof o.CorrelationId=="string"?o.CorrelationId:o.CorrelationId!==void 0?o.CorrelationId.toString():"";return{downloadUrl:W8(o),previewUrl:K8(o),fullImageUrl:G8(o),altName:`${o.Naam}`,...o,CorrelationId:s}}),J8={class:"bd-markdown-editor__menu-bottom"},Z8={key:0,class:"vr"},X8={key:4,class:"vr"},Q8={key:7,class:"vr"},fm=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:$a.BASIC},files:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=yr(t,"modelValue",e),s=[H7,U7,j7,m8.configure({placeholder:t.placeholder}),_8,p8.configure({openOnClick:!1,validate:N=>/^https?:\/\//i.test(N)})];t.variant===$a.FULL&&s.push(E8,x8,T8,A8,M8,I8);const i=z7({content:o.value,extensions:s,onUpdate:({editor:N})=>{const{view:x,state:z}=N,{from:U,to:j}=x.state.selection;if(z.doc.textBetween(U-1,j,"")==" "&&N.getAttributes("link").href!=null&&N.chain().setTextSelection({from:U-1,to:j}).toggleLink({href:N.getAttributes("link").href}).setTextSelection({from:j,to:j}).run(),N.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",N.getHTML())}});d.watch(()=>t.modelValue,N=>{i.value.getHTML()!==N&&i.value.commands.setContent(N,!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===$a.FULL),g=N=>i.value&&i.value.isActive(N)?"active":null,v=d.computed(()=>t.files&&t.files.length>0?Ti(t.files,!1):null),C=d.computed(()=>t.files&&t.files.length>0?Ti(t.files,!0):null),S=N=>{e("action",{name:"delete-attachment",obj:N})},k=N=>{e("action",{name:"image-attachment",obj:N})},b=()=>{const N=i.value.getAttributes("link").href,x=window.prompt("Enter a URL",N);if(x!==null){if(x===""){i.value.chain().focus().unsetLink().run();return}i.value.chain().focus().toggleLink({href:x}).run()}};return(N,x)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:d.normalizeClass(["bd-markdown-editor",l.value])},[d.createVNode(d.unref(V7),{editor:d.unref(i)},null,8,["editor"]),d.renderSlot(N.$slots,"default"),v.value?(d.openBlock(),d.createBlock(qi,{key:0,files:v.value,"no-download":!0,"show-delete":!0,onDelete:S},null,8,["files"])):d.createCommentVNode("",!0),C.value?(d.openBlock(),d.createBlock(ea,{key:1,files:C.value,"no-download":!0,"show-delete":!0,onDelete:S,onShow:k},null,8,["files"])):d.createCommentVNode("",!0),d.createElementVNode("div",J8,[d.createVNode(qe,{variant:"light",type:"button",onClick:r},{default:d.withCtx(()=>[d.createVNode(d.unref(dr))]),_:1}),m.value?(d.openBlock(),d.createElementBlock("div",Z8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(qe,{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(Fl))]),_: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:x[1]||(x[1]=z=>d.unref(i).chain().focus().toggleItalic().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Kl))]),_: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:x[2]||(x[2]=z=>d.unref(i).chain().focus().toggleUnderline().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Xl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createElementBlock("div",X8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(qe,{key:5,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(Vl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(qe,{key:6,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(Gl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createElementBlock("div",Q8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(qe,{key:8,variant:"light",type:"button",class:d.normalizeClass(p.value),onClick:b},{default:d.withCtx(()=>[d.createVNode(d.unref(Wl))]),_:1},8,["class"])):d.createCommentVNode("",!0)])],2),d.createVNode(d.unref(Ri),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),q8={class:"header"},e4=d.createElementVNode("div",null,"Menu",-1),t4={class:"icon-close-wrapper"},n4={class:"navbar"},r4={class:"nav navbar-nav w-100"},o4={class:"nav-item"},s4={class:"nav-item"},zc=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",q8,[e4,d.createElementVNode("div",t4,[d.createVNode(Ii,{onClick:o})])]),d.createElementVNode("nav",n4,[d.createElementVNode("ul",r4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.options,a=>(d.openBlock(),d.createElementBlock("li",o4,[d.createVNode(Ur,d.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),d.renderSlot(i.$slots,"special-options"),d.createElementVNode("li",s4,[d.createVNode(Ur,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),i4={class:"bd-user"},a4={class:"bd-user__information"},l4={class:"text-break"},c4={class:"overflow-x-hidden"},hm=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",i4,[e.hideImage?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(Uo,d.mergeProps({key:0},e.img,{size:"sm"}),null,16)),d.createElementVNode("div",a4,[d.createElementVNode("header",null,[d.createElementVNode("h5",l4,d.toDisplayString(e.name),1),d.renderSlot(r.$slots,"header-extra")]),d.createElementVNode("span",c4,d.toDisplayString(t.value),1)])]))}}),Ll="",fs=n=>typeof n=="string"||n instanceof String,u4={class:"bd-chat-cloud-card"},d4={class:"bd-chat-cloud-card__header"},f4={class:"bd-chat-cloud-card__body"},h4=["innerHTML"],p4={class:"bd-chat-cloud-card__footer"},pm=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":Ll),o=d.computed(()=>Ti(t.files,!1)),s=d.computed(()=>Ti(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(Uo,{src:t.src,size:"sm"},null,8,["src"]),d.createElementVNode("div",u4,[d.createElementVNode("div",d4,[d.renderSlot(a.$slots,"header",{},()=>[d.createTextVNode(d.toDisplayString(a.headerTitle),1)]),d.createVNode(qe,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:d.withCtx(()=>[d.createTextVNode("kopieer")]),_:1})]),d.createElementVNode("div",f4,[d.renderSlot(a.$slots,"body",{},()=>[d.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,h4)])]),d.createElementVNode("div",p4,[d.renderSlot(a.$slots,"footer",{},()=>[o.value?(d.openBlock(),d.createBlock(qi,{key:0,files:o.value},null,8,["files"])):d.createCommentVNode("",!0),s.value?(d.openBlock(),d.createBlock(ea,{key:1,files:s.value,onShow:l,"fast-download":!0},null,8,["files"])):d.createCommentVNode("",!0)])])])],2))}}),m4=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(Yl),{key:0})):t.active&&r.value?(d.openBlock(),d.createBlock(d.unref(Jl),{key:1})):(d.openBlock(),d.createBlock(d.unref(Zl),{key:2}))],2))}}),g4={class:"bd-table"},v4={key:0,class:"table"},y4={key:1},b4=["onClick"],E4={key:0},C4={key:1,class:"empty-text"},mm=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",g4,[r.items&&r.items.length>0?(d.openBlock(),d.createElementBlock("table",v4,[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(m4,{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",y4,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",E4,[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,b4))),256))])])):(d.openBlock(),d.createElementBlock("p",C4,d.toDisplayString(r.emptyText),1))]))}}),Hc=d.defineComponent({__name:"BDDropdown",props:{size:{default:lt.MD},variant:{default:Di.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}=jo(),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)]))}}),S4={class:"row bd-header"},w4={class:"col logo-mix"},k4=["src","alt"],x4=d.createElementVNode("div",null,"Menu",-1),T4={key:0,class:"col header-options"},A4={class:"col bd-btn-settings"},O4="sm",gm=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",S4,[d.createElementVNode("div",w4,[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,k4)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[x4,d.createVNode(Os)]),t.headerOptions&&t.headerOptions.length!==0?(d.openBlock(),d.createElementBlock("div",T4,[(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(Uo,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:O4},null,8,["src","alt"])):d.createCommentVNode("",!0),d.createVNode(Hc,{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(zc,{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))}}),M4={class:"modal bd-modal modal-lg",tabindex:"-1"},N4={class:"modal-dialog"},I4={class:"modal-content"},_4={class:"modal-header"},D4={class:"modal-title"},L4=d.createElementVNode("span",null,"Sluiten",-1),R4={class:"modal-body"},B4={key:0,class:"modal-footer"},P4=["disabled"],vm=d.defineComponent({__name:"BDModal",props:{title:{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",M4,[d.createElementVNode("div",N4,[d.createElementVNode("div",I4,[d.createElementVNode("div",_4,[d.createElementVNode("h2",D4,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},[L4,d.createVNode(d.unref(Ii),{class:"bg-primary"})])]),d.createElementVNode("div",R4,[d.renderSlot(s.$slots,"default")]),s.hideFooter?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",B4,[t.hideFooterSubmitButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},d.toDisplayString(t.submitButtonTitle),9,P4)),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))]))])])]))}}),$4={class:"template change-password-template"},F4={class:"template-title"},V4={key:0},z4={key:1},H4=["onSubmit","onReset"],U4={class:"bd-form-field"},j4={class:"bd-form-field"},W4={class:"bd-form-field"},K4={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",$4,[d.createVNode(Ts,{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",F4,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(Li,{class:"bd-card-template",noHeader:!0},{body:d.withCtx(()=>[d.createVNode(Ts,{class:"container-fluid"},{default:d.withCtx(()=>[d.createVNode(Xn,null,{default:d.withCtx(()=>[d.createVNode(Zn,null,{default:d.withCtx(()=>[d.createVNode(Ms,{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(Ms,{variant:"danger"},{default:d.withCtx(()=>[o.errorMessages?(d.openBlock(),d.createElementBlock("div",V4,[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(zo),d.createTextVNode(" "+d.toDisplayString(i),1)]))),128))])])):(d.openBlock(),d.createElementBlock("div",z4,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",U4,[d.createVNode(mo,{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",j4,[d.createVNode(mo,{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",W4,[d.createVNode(mo,{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",K4,[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,H4)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_: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()}}}),$a={BASIC:"basic",FULL:"full"},D8={class:"attachment-list"},L8={class:"attachment-link"},R8={key:1,class:"attachment-no-download"},B8=["href"],qi=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",D8,[(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",L8,[r.showDelete?(d.openBlock(),d.createBlock(qe,{key:0,variant:"remove",onClick:i=>t(s),"aria-label":"verwijder"},{default:d.withCtx(()=>[d.createVNode(d.unref(Ho))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),r.noDownload?(d.openBlock(),d.createElementBlock("div",R8,[d.createVNode(d.unref(dr)),d.createTextVNode(" "+d.toDisplayString(s.Naam.trim()),1)])):(d.openBlock(),d.createElementBlock("a",{key:2,href:s.downloadUrl},[d.createVNode(d.unref(dr)),d.createTextVNode(" "+d.toDisplayString(s.Naam.trim()),1)],8,B8))])]))),128))]))}}),P8={class:"attachment-list"},$8={class:"attachment"},F8=["onClick"],V8=["src","alt"],z8=["onClick"],H8=["href"],U8={class:"btn btn-light download-button-image"},j8=["src","alt"],ea=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",P8,[(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",$8,[s.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,V8)],8,F8)):(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",U8,[d.createVNode(d.unref(As))])],8,H8)):d.createCommentVNode("",!0),d.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,j8)],8,z8))])]))),128))]))}}),qd=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),W8=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,K8=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?qd(n):!qd(n),Ti=(n,e)=>n===void 0?void 0:n.filter(o=>Y8(o,e)).map(o=>{const s=typeof o.CorrelationId=="string"?o.CorrelationId:o.CorrelationId!==void 0?o.CorrelationId.toString():"";return{downloadUrl:W8(o),previewUrl:K8(o),fullImageUrl:G8(o),altName:`${o.Naam}`,...o,CorrelationId:s}}),J8={class:"bd-markdown-editor__menu-bottom"},Z8={key:0,class:"vr"},X8={key:4,class:"vr"},Q8={key:7,class:"vr"},fm=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:$a.BASIC},files:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=yr(t,"modelValue",e),s=[H7,U7,j7,m8.configure({placeholder:t.placeholder}),_8,p8.configure({openOnClick:!1,validate:N=>/^https?:\/\//i.test(N)})];t.variant===$a.FULL&&s.push(E8,x8,T8,A8,M8,I8);const i=z7({content:o.value,extensions:s,onUpdate:({editor:N})=>{const{view:x,state:z}=N,{from:U,to:j}=x.state.selection;if(z.doc.textBetween(U-1,j,"")==" "&&N.getAttributes("link").href!=null&&N.chain().setTextSelection({from:U-1,to:j}).toggleLink({href:N.getAttributes("link").href}).setTextSelection({from:j,to:j}).run(),N.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",N.getHTML())}});d.watch(()=>t.modelValue,N=>{i.value.getHTML()!==N&&i.value.commands.setContent(N,!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===$a.FULL),g=N=>i.value&&i.value.isActive(N)?"active":null,v=d.computed(()=>t.files&&t.files.length>0?Ti(t.files,!1):null),C=d.computed(()=>t.files&&t.files.length>0?Ti(t.files,!0):null),S=N=>{e("action",{name:"delete-attachment",obj:N})},k=N=>{e("action",{name:"image-attachment",obj:N})},b=()=>{const N=i.value.getAttributes("link").href,x=window.prompt("Enter a URL",N);if(x!==null){if(x===""){i.value.chain().focus().unsetLink().run();return}i.value.chain().focus().toggleLink({href:x}).run()}};return(N,x)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:d.normalizeClass(["bd-markdown-editor",l.value])},[d.createVNode(d.unref(V7),{editor:d.unref(i)},null,8,["editor"]),d.renderSlot(N.$slots,"default"),v.value?(d.openBlock(),d.createBlock(qi,{key:0,files:v.value,"no-download":!0,"show-delete":!0,onDelete:S},null,8,["files"])):d.createCommentVNode("",!0),C.value?(d.openBlock(),d.createBlock(ea,{key:1,files:C.value,"no-download":!0,"show-delete":!0,onDelete:S,onShow:k},null,8,["files"])):d.createCommentVNode("",!0),d.createElementVNode("div",J8,[d.createVNode(qe,{variant:"light",type:"button",onClick:r},{default:d.withCtx(()=>[d.createVNode(d.unref(dr))]),_:1}),m.value?(d.openBlock(),d.createElementBlock("div",Z8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(qe,{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(Fl))]),_: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:x[1]||(x[1]=z=>d.unref(i).chain().focus().toggleItalic().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Kl))]),_: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:x[2]||(x[2]=z=>d.unref(i).chain().focus().toggleUnderline().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(Xl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createElementBlock("div",X8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(qe,{key:5,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(Vl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(qe,{key:6,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(Gl))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createElementBlock("div",Q8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(qe,{key:8,variant:"light",type:"button",class:d.normalizeClass(p.value),onClick:b},{default:d.withCtx(()=>[d.createVNode(d.unref(Wl))]),_:1},8,["class"])):d.createCommentVNode("",!0)])],2),d.createVNode(d.unref(Ri),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),q8={class:"header"},e4=d.createElementVNode("div",null,"Menu",-1),t4={class:"icon-close-wrapper"},n4={class:"navbar"},r4={class:"nav navbar-nav w-100"},o4={class:"nav-item"},s4={class:"nav-item"},zc=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",q8,[e4,d.createElementVNode("div",t4,[d.createVNode(Ii,{onClick:o})])]),d.createElementVNode("nav",n4,[d.createElementVNode("ul",r4,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.options,a=>(d.openBlock(),d.createElementBlock("li",o4,[d.createVNode(Ur,d.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),d.renderSlot(i.$slots,"special-options"),d.createElementVNode("li",s4,[d.createVNode(Ur,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),i4={class:"bd-user"},a4={class:"bd-user__information"},l4={class:"text-break"},c4={class:"overflow-x-hidden"},hm=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",i4,[e.hideImage?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(Uo,d.mergeProps({key:0},e.img,{size:"sm"}),null,16)),d.createElementVNode("div",a4,[d.createElementVNode("header",null,[d.createElementVNode("h5",l4,d.toDisplayString(e.name),1),d.renderSlot(r.$slots,"header-extra")]),d.createElementVNode("span",c4,d.toDisplayString(t.value),1)])]))}}),Ll="",fs=n=>typeof n=="string"||n instanceof String,u4={class:"bd-chat-cloud-card"},d4={class:"bd-chat-cloud-card__header"},f4={class:"bd-chat-cloud-card__body"},h4=["innerHTML"],p4={class:"bd-chat-cloud-card__footer"},pm=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":Ll),o=d.computed(()=>Ti(t.files,!1)),s=d.computed(()=>Ti(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(Uo,{src:t.src,size:"sm"},null,8,["src"]),d.createElementVNode("div",u4,[d.createElementVNode("div",d4,[d.renderSlot(a.$slots,"header",{},()=>[d.createTextVNode(d.toDisplayString(a.headerTitle),1)]),d.createVNode(qe,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:d.withCtx(()=>[d.createTextVNode("kopieer")]),_:1})]),d.createElementVNode("div",f4,[d.renderSlot(a.$slots,"body",{},()=>[d.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,h4)])]),d.createElementVNode("div",p4,[d.renderSlot(a.$slots,"footer",{},()=>[o.value?(d.openBlock(),d.createBlock(qi,{key:0,files:o.value},null,8,["files"])):d.createCommentVNode("",!0),s.value?(d.openBlock(),d.createBlock(ea,{key:1,files:s.value,onShow:l,"fast-download":!0},null,8,["files"])):d.createCommentVNode("",!0)])])])],2))}}),m4=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(Yl),{key:0})):t.active&&r.value?(d.openBlock(),d.createBlock(d.unref(Jl),{key:1})):(d.openBlock(),d.createBlock(d.unref(Zl),{key:2}))],2))}}),g4={class:"bd-table"},v4={key:0,class:"table"},y4={key:1},b4=["onClick"],E4={key:0},C4={key:1,class:"empty-text"},mm=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",g4,[r.items&&r.items.length>0?(d.openBlock(),d.createElementBlock("table",v4,[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(m4,{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",y4,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",E4,[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,b4))),256))])])):(d.openBlock(),d.createElementBlock("p",C4,d.toDisplayString(r.emptyText),1))]))}}),Hc=d.defineComponent({__name:"BDDropdown",props:{size:{default:lt.MD},variant:{default:Di.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}=jo(),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)]))}}),S4={class:"row bd-header"},w4={class:"col logo-mix"},k4=["src","alt"],x4=d.createElementVNode("div",null,"Menu",-1),T4={key:0,class:"col header-options"},A4={class:"col bd-btn-settings"},O4="sm",gm=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",S4,[d.createElementVNode("div",w4,[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,k4)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[x4,d.createVNode(Os)]),t.headerOptions&&t.headerOptions.length!==0?(d.openBlock(),d.createElementBlock("div",T4,[(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(Uo,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:O4},null,8,["src","alt"])):d.createCommentVNode("",!0),d.createVNode(Hc,{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(zc,{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))}}),M4={class:"modal bd-modal modal-lg",tabindex:"-1"},N4={class:"modal-dialog"},I4={class:"modal-content"},_4={class:"modal-header"},D4={class:"modal-title"},L4=d.createElementVNode("span",null,"Sluiten",-1),R4={class:"modal-body"},B4={key:0,class:"modal-footer"},P4=["disabled"],vm=d.defineComponent({__name:"BDModal",props:{title:{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",M4,[d.createElementVNode("div",N4,[d.createElementVNode("div",I4,[d.createElementVNode("div",_4,[d.createElementVNode("h2",D4,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},[L4,d.createVNode(d.unref(Ii),{class:"bg-primary"})])]),d.createElementVNode("div",R4,[d.renderSlot(s.$slots,"default")]),s.hideFooter?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",B4,[t.hideFooterSubmitButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},d.toDisplayString(t.submitButtonTitle),9,P4)),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))]))])])]))}}),$4={class:"template change-password-template"},F4={class:"template-title"},V4={key:0},z4={key:1},H4=["onSubmit","onReset"],U4={class:"bd-form-field"},j4={class:"bd-form-field"},W4={class:"bd-form-field"},K4={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",$4,[d.createVNode(Ts,{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",F4,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(Li,{class:"bd-card-template",noHeader:!0},{body:d.withCtx(()=>[d.createVNode(Ts,{class:"container-fluid"},{default:d.withCtx(()=>[d.createVNode(Xn,null,{default:d.withCtx(()=>[d.createVNode(Zn,null,{default:d.withCtx(()=>[d.createVNode(Ms,{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(Ms,{variant:"danger"},{default:d.withCtx(()=>[o.errorMessages?(d.openBlock(),d.createElementBlock("div",V4,[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(zo),d.createTextVNode(" "+d.toDisplayString(i),1)]))),128))])])):(d.openBlock(),d.createElementBlock("div",z4,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",U4,[d.createVNode(mo,{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",j4,[d.createVNode(mo,{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",W4,[d.createVNode(mo,{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",K4,[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,H4)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_: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)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $e, computed as _e, openBlock as J, createElementBlock as te, normalizeClass as Ke, renderSlot as
|
|
1
|
+
import { defineComponent as $e, computed as _e, openBlock as J, createElementBlock as te, normalizeClass as Ke, renderSlot as je, createElementVNode as ee, createStaticVNode as ws, mergeProps as an, resolveComponent as Zm, createBlock as Ge, resolveDynamicComponent as Wo, withCtx as Re, createTextVNode as ct, toDisplayString as Pe, createVNode as Te, unref as Ae, createCommentVNode as He, getCurrentScope as Xm, onScopeDispose as Qm, ref as at, watch as Cn, getCurrentInstance as Ff, nextTick as Bf, withDirectives as ls, isRef as rc, vModelText as qm, withKeys as e1, useAttrs as t1, withModifiers as cs, onMounted as ai, vShow as vu, Fragment as rt, renderList as Bt, vModelSelect as n1, vModelCheckbox as r1, normalizeProps as s1, guardReactiveProps as i1, onBeforeUnmount as Ko, h as Qn, watchEffect as o1, Teleport as a1, shallowRef as l1, reactive as c1, markRaw as u1, customRef as d1, createApp as f1 } from "vue";
|
|
2
2
|
const Wr = /* @__PURE__ */ $e({
|
|
3
3
|
__name: "BDCol",
|
|
4
4
|
props: {
|
|
@@ -28,7 +28,7 @@ const Wr = /* @__PURE__ */ $e({
|
|
|
28
28
|
return (r, s) => (J(), te("div", {
|
|
29
29
|
class: Ke(t.value)
|
|
30
30
|
}, [
|
|
31
|
-
|
|
31
|
+
je(r.$slots, "default")
|
|
32
32
|
], 2));
|
|
33
33
|
}
|
|
34
34
|
}), hl = /* @__PURE__ */ $e({
|
|
@@ -47,7 +47,7 @@ const Wr = /* @__PURE__ */ $e({
|
|
|
47
47
|
return (r, s) => (J(), te("div", {
|
|
48
48
|
class: Ke(t.value)
|
|
49
49
|
}, [
|
|
50
|
-
|
|
50
|
+
je(r.$slots, "default")
|
|
51
51
|
], 2));
|
|
52
52
|
}
|
|
53
53
|
}), Kr = /* @__PURE__ */ $e({
|
|
@@ -59,7 +59,7 @@ const Wr = /* @__PURE__ */ $e({
|
|
|
59
59
|
return (e, t) => (J(), te("div", {
|
|
60
60
|
class: Ke(["row", e.class])
|
|
61
61
|
}, [
|
|
62
|
-
|
|
62
|
+
je(e.$slots, "default")
|
|
63
63
|
], 2));
|
|
64
64
|
}
|
|
65
65
|
}), wt = {
|
|
@@ -67,7 +67,7 @@ const Wr = /* @__PURE__ */ $e({
|
|
|
67
67
|
SM: "sm",
|
|
68
68
|
MD: "md",
|
|
69
69
|
LG: "lg"
|
|
70
|
-
},
|
|
70
|
+
}, We = (n, e) => {
|
|
71
71
|
const t = n.__vccOpts || n;
|
|
72
72
|
for (const [r, s] of e)
|
|
73
73
|
t[r] = s;
|
|
@@ -82,7 +82,7 @@ const Wr = /* @__PURE__ */ $e({
|
|
|
82
82
|
function v1(n, e) {
|
|
83
83
|
return J(), te("svg", p1, g1);
|
|
84
84
|
}
|
|
85
|
-
const y1 = /* @__PURE__ */
|
|
85
|
+
const y1 = /* @__PURE__ */ We(h1, [["render", v1]]), b1 = {}, E1 = {
|
|
86
86
|
class: "icon",
|
|
87
87
|
viewBox: "0 0 20 20",
|
|
88
88
|
height: "20",
|
|
@@ -101,7 +101,7 @@ const y1 = /* @__PURE__ */ je(h1, [["render", v1]]), b1 = {}, E1 = {
|
|
|
101
101
|
function w1(n, e) {
|
|
102
102
|
return J(), te("svg", E1, C1);
|
|
103
103
|
}
|
|
104
|
-
const T1 = /* @__PURE__ */
|
|
104
|
+
const T1 = /* @__PURE__ */ We(b1, [["render", w1]]), x1 = {}, A1 = {
|
|
105
105
|
class: "icon",
|
|
106
106
|
viewBox: "0 0 20 20",
|
|
107
107
|
height: "20",
|
|
@@ -120,7 +120,7 @@ const T1 = /* @__PURE__ */ je(b1, [["render", w1]]), x1 = {}, A1 = {
|
|
|
120
120
|
function M1(n, e) {
|
|
121
121
|
return J(), te("svg", A1, O1);
|
|
122
122
|
}
|
|
123
|
-
const _1 = /* @__PURE__ */
|
|
123
|
+
const _1 = /* @__PURE__ */ We(x1, [["render", M1]]), I1 = {}, D1 = {
|
|
124
124
|
class: "icon icon-attachment",
|
|
125
125
|
width: "17",
|
|
126
126
|
height: "18",
|
|
@@ -132,7 +132,7 @@ const _1 = /* @__PURE__ */ je(x1, [["render", M1]]), I1 = {}, D1 = {
|
|
|
132
132
|
function R1(n, e) {
|
|
133
133
|
return J(), te("svg", D1, L1);
|
|
134
134
|
}
|
|
135
|
-
const us = /* @__PURE__ */
|
|
135
|
+
const us = /* @__PURE__ */ We(I1, [["render", R1]]), P1 = {}, $1 = {
|
|
136
136
|
width: "11",
|
|
137
137
|
height: "13",
|
|
138
138
|
viewBox: "0 0 11 13",
|
|
@@ -144,7 +144,7 @@ const us = /* @__PURE__ */ je(I1, [["render", R1]]), P1 = {}, $1 = {
|
|
|
144
144
|
function V1(n, e) {
|
|
145
145
|
return J(), te("svg", $1, B1);
|
|
146
146
|
}
|
|
147
|
-
const Vf = /* @__PURE__ */
|
|
147
|
+
const Vf = /* @__PURE__ */ We(P1, [["render", V1]]), H1 = {}, z1 = {
|
|
148
148
|
width: "16",
|
|
149
149
|
height: "14",
|
|
150
150
|
viewBox: "0 0 16 14",
|
|
@@ -156,7 +156,7 @@ const Vf = /* @__PURE__ */ je(P1, [["render", V1]]), H1 = {}, z1 = {
|
|
|
156
156
|
function W1(n, e) {
|
|
157
157
|
return J(), te("svg", z1, j1);
|
|
158
158
|
}
|
|
159
|
-
const Hf = /* @__PURE__ */
|
|
159
|
+
const Hf = /* @__PURE__ */ We(H1, [["render", W1]]), K1 = {}, G1 = {
|
|
160
160
|
class: "icon icon-calendar",
|
|
161
161
|
xmlns: "http://www.w3.org/2000/svg",
|
|
162
162
|
width: "17",
|
|
@@ -168,7 +168,7 @@ const Hf = /* @__PURE__ */ je(H1, [["render", W1]]), K1 = {}, G1 = {
|
|
|
168
168
|
function Z1(n, e) {
|
|
169
169
|
return J(), te("svg", G1, J1);
|
|
170
170
|
}
|
|
171
|
-
const yu = /* @__PURE__ */
|
|
171
|
+
const yu = /* @__PURE__ */ We(K1, [["render", Z1]]), X1 = {}, Q1 = {
|
|
172
172
|
class: "icon icon-card-view",
|
|
173
173
|
viewBox: "0 0 24 19",
|
|
174
174
|
fill: "red",
|
|
@@ -182,7 +182,7 @@ const yu = /* @__PURE__ */ je(K1, [["render", Z1]]), X1 = {}, Q1 = {
|
|
|
182
182
|
function t0(n, e) {
|
|
183
183
|
return J(), te("svg", Q1, e0);
|
|
184
184
|
}
|
|
185
|
-
const n0 = /* @__PURE__ */
|
|
185
|
+
const n0 = /* @__PURE__ */ We(X1, [["render", t0]]), r0 = {}, s0 = {
|
|
186
186
|
xmlns: "http://www.w3.org/2000/svg",
|
|
187
187
|
width: "18",
|
|
188
188
|
height: "10"
|
|
@@ -195,7 +195,7 @@ const n0 = /* @__PURE__ */ je(X1, [["render", t0]]), r0 = {}, s0 = {
|
|
|
195
195
|
function a0(n, e) {
|
|
196
196
|
return J(), te("svg", s0, o0);
|
|
197
197
|
}
|
|
198
|
-
const zf = /* @__PURE__ */
|
|
198
|
+
const zf = /* @__PURE__ */ We(r0, [["render", a0]]), l0 = {}, c0 = {
|
|
199
199
|
class: "icon icon-caret-left",
|
|
200
200
|
xmlns: "http://www.w3.org/2000/svg",
|
|
201
201
|
width: "6",
|
|
@@ -207,7 +207,7 @@ const zf = /* @__PURE__ */ je(r0, [["render", a0]]), l0 = {}, c0 = {
|
|
|
207
207
|
function f0(n, e) {
|
|
208
208
|
return J(), te("svg", c0, d0);
|
|
209
209
|
}
|
|
210
|
-
const Uf = /* @__PURE__ */
|
|
210
|
+
const Uf = /* @__PURE__ */ We(l0, [["render", f0]]), h0 = {}, p0 = {
|
|
211
211
|
class: "icon icon-caret-right",
|
|
212
212
|
xmlns: "http://www.w3.org/2000/svg",
|
|
213
213
|
width: "7",
|
|
@@ -219,7 +219,7 @@ const Uf = /* @__PURE__ */ je(l0, [["render", f0]]), h0 = {}, p0 = {
|
|
|
219
219
|
function v0(n, e) {
|
|
220
220
|
return J(), te("svg", p0, g0);
|
|
221
221
|
}
|
|
222
|
-
const jf = /* @__PURE__ */
|
|
222
|
+
const jf = /* @__PURE__ */ We(h0, [["render", v0]]), y0 = {}, b0 = {
|
|
223
223
|
class: "icon icon-check",
|
|
224
224
|
xmlns: "http://www.w3.org/2000/svg",
|
|
225
225
|
width: "18",
|
|
@@ -231,7 +231,7 @@ const jf = /* @__PURE__ */ je(h0, [["render", v0]]), y0 = {}, b0 = {
|
|
|
231
231
|
function C0(n, e) {
|
|
232
232
|
return J(), te("svg", b0, S0);
|
|
233
233
|
}
|
|
234
|
-
const Go = /* @__PURE__ */
|
|
234
|
+
const Go = /* @__PURE__ */ We(y0, [["render", C0]]), w0 = {}, T0 = {
|
|
235
235
|
class: "icon icon-close",
|
|
236
236
|
xmlns: "http://www.w3.org/2000/svg",
|
|
237
237
|
width: "16",
|
|
@@ -243,7 +243,7 @@ const Go = /* @__PURE__ */ je(y0, [["render", C0]]), w0 = {}, T0 = {
|
|
|
243
243
|
function k0(n, e) {
|
|
244
244
|
return J(), te("svg", T0, A0);
|
|
245
245
|
}
|
|
246
|
-
const sc = /* @__PURE__ */
|
|
246
|
+
const sc = /* @__PURE__ */ We(w0, [["render", k0]]), O0 = {}, M0 = {
|
|
247
247
|
viewBox: "0 0 20 20",
|
|
248
248
|
height: "20",
|
|
249
249
|
width: "20",
|
|
@@ -255,7 +255,7 @@ const sc = /* @__PURE__ */ je(w0, [["render", k0]]), O0 = {}, M0 = {
|
|
|
255
255
|
function D0(n, e) {
|
|
256
256
|
return J(), te("svg", M0, I0);
|
|
257
257
|
}
|
|
258
|
-
const pl = /* @__PURE__ */
|
|
258
|
+
const pl = /* @__PURE__ */ We(O0, [["render", D0]]), N0 = {}, L0 = {
|
|
259
259
|
xmlns: "http://www.w3.org/2000/svg",
|
|
260
260
|
width: "18",
|
|
261
261
|
height: "18"
|
|
@@ -265,7 +265,7 @@ const pl = /* @__PURE__ */ je(O0, [["render", D0]]), N0 = {}, L0 = {
|
|
|
265
265
|
function $0(n, e) {
|
|
266
266
|
return J(), te("svg", L0, P0);
|
|
267
267
|
}
|
|
268
|
-
const F0 = /* @__PURE__ */
|
|
268
|
+
const F0 = /* @__PURE__ */ We(N0, [["render", $0]]), B0 = {}, V0 = {
|
|
269
269
|
class: "icon icon-error",
|
|
270
270
|
xmlns: "http://www.w3.org/2000/svg",
|
|
271
271
|
width: "18",
|
|
@@ -277,7 +277,7 @@ const F0 = /* @__PURE__ */ je(N0, [["render", $0]]), B0 = {}, V0 = {
|
|
|
277
277
|
function U0(n, e) {
|
|
278
278
|
return J(), te("svg", V0, z0);
|
|
279
279
|
}
|
|
280
|
-
const ic = /* @__PURE__ */
|
|
280
|
+
const ic = /* @__PURE__ */ We(B0, [["render", U0]]), j0 = {}, W0 = {
|
|
281
281
|
width: "30px",
|
|
282
282
|
height: "30px",
|
|
283
283
|
viewBox: "0 0 24 24",
|
|
@@ -295,7 +295,7 @@ const ic = /* @__PURE__ */ je(B0, [["render", U0]]), j0 = {}, W0 = {
|
|
|
295
295
|
function Y0(n, e) {
|
|
296
296
|
return J(), te("svg", W0, G0);
|
|
297
297
|
}
|
|
298
|
-
const J0 = /* @__PURE__ */
|
|
298
|
+
const J0 = /* @__PURE__ */ We(j0, [["render", Y0]]), Z0 = {}, X0 = {
|
|
299
299
|
fill: "#000000",
|
|
300
300
|
width: "30px",
|
|
301
301
|
height: "30px",
|
|
@@ -309,7 +309,7 @@ const J0 = /* @__PURE__ */ je(j0, [["render", Y0]]), Z0 = {}, X0 = {
|
|
|
309
309
|
function eg(n, e) {
|
|
310
310
|
return J(), te("svg", X0, q0);
|
|
311
311
|
}
|
|
312
|
-
const tg = /* @__PURE__ */
|
|
312
|
+
const tg = /* @__PURE__ */ We(Z0, [["render", eg]]), ng = {}, rg = {
|
|
313
313
|
version: "1.1",
|
|
314
314
|
id: "Layer_1",
|
|
315
315
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -332,7 +332,7 @@ const tg = /* @__PURE__ */ je(Z0, [["render", eg]]), ng = {}, rg = {
|
|
|
332
332
|
function ag(n, e) {
|
|
333
333
|
return J(), te("svg", rg, og);
|
|
334
334
|
}
|
|
335
|
-
const Wf = /* @__PURE__ */
|
|
335
|
+
const Wf = /* @__PURE__ */ We(ng, [["render", ag]]), lg = {}, cg = {
|
|
336
336
|
class: "icon icon-hyperlink",
|
|
337
337
|
xmlns: "http://www.w3.org/2000/svg",
|
|
338
338
|
version: "1.1",
|
|
@@ -362,7 +362,7 @@ const Wf = /* @__PURE__ */ je(ng, [["render", ag]]), lg = {}, cg = {
|
|
|
362
362
|
function fg(n, e) {
|
|
363
363
|
return J(), te("svg", cg, dg);
|
|
364
364
|
}
|
|
365
|
-
const Kf = /* @__PURE__ */
|
|
365
|
+
const Kf = /* @__PURE__ */ We(lg, [["render", fg]]), hg = {}, pg = {
|
|
366
366
|
class: "icon icon-info",
|
|
367
367
|
xmlns: "http://www.w3.org/2000/svg",
|
|
368
368
|
width: "18",
|
|
@@ -374,7 +374,7 @@ const Kf = /* @__PURE__ */ je(lg, [["render", fg]]), hg = {}, pg = {
|
|
|
374
374
|
function vg(n, e) {
|
|
375
375
|
return J(), te("svg", pg, gg);
|
|
376
376
|
}
|
|
377
|
-
const Yo = /* @__PURE__ */
|
|
377
|
+
const Yo = /* @__PURE__ */ We(hg, [["render", vg]]), yg = {}, bg = {
|
|
378
378
|
width: "12",
|
|
379
379
|
height: "14",
|
|
380
380
|
viewBox: "0 0 12 14",
|
|
@@ -386,7 +386,7 @@ const Yo = /* @__PURE__ */ je(hg, [["render", vg]]), yg = {}, bg = {
|
|
|
386
386
|
function Cg(n, e) {
|
|
387
387
|
return J(), te("svg", bg, Sg);
|
|
388
388
|
}
|
|
389
|
-
const Gf = /* @__PURE__ */
|
|
389
|
+
const Gf = /* @__PURE__ */ We(yg, [["render", Cg]]), wg = {}, Tg = {
|
|
390
390
|
class: "icon icon-list-view",
|
|
391
391
|
width: "20",
|
|
392
392
|
height: "19",
|
|
@@ -402,7 +402,7 @@ const Gf = /* @__PURE__ */ je(yg, [["render", Cg]]), wg = {}, Tg = {
|
|
|
402
402
|
function kg(n, e) {
|
|
403
403
|
return J(), te("svg", Tg, Ag);
|
|
404
404
|
}
|
|
405
|
-
const Og = /* @__PURE__ */
|
|
405
|
+
const Og = /* @__PURE__ */ We(wg, [["render", kg]]), Mg = {}, _g = {
|
|
406
406
|
class: "icon icon-menu",
|
|
407
407
|
xmlns: "http://www.w3.org/2000/svg",
|
|
408
408
|
width: "19",
|
|
@@ -414,7 +414,7 @@ const Og = /* @__PURE__ */ je(wg, [["render", kg]]), Mg = {}, _g = {
|
|
|
414
414
|
function Ng(n, e) {
|
|
415
415
|
return J(), te("svg", _g, Dg);
|
|
416
416
|
}
|
|
417
|
-
const ml = /* @__PURE__ */
|
|
417
|
+
const ml = /* @__PURE__ */ We(Mg, [["render", Ng]]), Lg = {}, Rg = {
|
|
418
418
|
width: "17",
|
|
419
419
|
height: "15",
|
|
420
420
|
viewBox: "0 0 17 15",
|
|
@@ -426,7 +426,7 @@ const ml = /* @__PURE__ */ je(Mg, [["render", Ng]]), Lg = {}, Rg = {
|
|
|
426
426
|
function Fg(n, e) {
|
|
427
427
|
return J(), te("svg", Rg, $g);
|
|
428
428
|
}
|
|
429
|
-
const Yf = /* @__PURE__ */
|
|
429
|
+
const Yf = /* @__PURE__ */ We(Lg, [["render", Fg]]), Bg = {}, Vg = {
|
|
430
430
|
class: "icon icon-remove",
|
|
431
431
|
width: "11",
|
|
432
432
|
height: "11",
|
|
@@ -438,7 +438,7 @@ const Yf = /* @__PURE__ */ je(Lg, [["render", Fg]]), Bg = {}, Vg = {
|
|
|
438
438
|
function Ug(n, e) {
|
|
439
439
|
return J(), te("svg", Vg, zg);
|
|
440
440
|
}
|
|
441
|
-
const Jo = /* @__PURE__ */
|
|
441
|
+
const Jo = /* @__PURE__ */ We(Bg, [["render", Ug]]), jg = {}, Wg = {
|
|
442
442
|
class: "icon icon-service",
|
|
443
443
|
viewBox: "0 0 20 21",
|
|
444
444
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -448,7 +448,7 @@ const Jo = /* @__PURE__ */ je(Bg, [["render", Ug]]), jg = {}, Wg = {
|
|
|
448
448
|
function Yg(n, e) {
|
|
449
449
|
return J(), te("svg", Wg, Gg);
|
|
450
450
|
}
|
|
451
|
-
const Jg = /* @__PURE__ */
|
|
451
|
+
const Jg = /* @__PURE__ */ We(jg, [["render", Yg]]), Zg = {}, Xg = {
|
|
452
452
|
xmlns: "http://www.w3.org/2000/svg",
|
|
453
453
|
width: "9",
|
|
454
454
|
height: "14",
|
|
@@ -459,7 +459,7 @@ const Jg = /* @__PURE__ */ je(jg, [["render", Yg]]), Zg = {}, Xg = {
|
|
|
459
459
|
function ev(n, e) {
|
|
460
460
|
return J(), te("svg", Xg, qg);
|
|
461
461
|
}
|
|
462
|
-
const tv = /* @__PURE__ */
|
|
462
|
+
const tv = /* @__PURE__ */ We(Zg, [["render", ev]]), nv = {}, rv = {
|
|
463
463
|
xmlns: "http://www.w3.org/2000/svg",
|
|
464
464
|
width: "9",
|
|
465
465
|
height: "14",
|
|
@@ -470,7 +470,7 @@ const tv = /* @__PURE__ */ je(Zg, [["render", ev]]), nv = {}, rv = {
|
|
|
470
470
|
function ov(n, e) {
|
|
471
471
|
return J(), te("svg", rv, iv);
|
|
472
472
|
}
|
|
473
|
-
const Jf = /* @__PURE__ */
|
|
473
|
+
const Jf = /* @__PURE__ */ We(nv, [["render", ov]]), av = {}, lv = {
|
|
474
474
|
xmlns: "http://www.w3.org/2000/svg",
|
|
475
475
|
width: "9",
|
|
476
476
|
height: "14",
|
|
@@ -481,7 +481,7 @@ const Jf = /* @__PURE__ */ je(nv, [["render", ov]]), av = {}, lv = {
|
|
|
481
481
|
function dv(n, e) {
|
|
482
482
|
return J(), te("svg", lv, uv);
|
|
483
483
|
}
|
|
484
|
-
const Zf = /* @__PURE__ */
|
|
484
|
+
const Zf = /* @__PURE__ */ We(av, [["render", dv]]), fv = {}, hv = {
|
|
485
485
|
xmlns: "http://www.w3.org/2000/svg",
|
|
486
486
|
width: "9",
|
|
487
487
|
height: "14",
|
|
@@ -492,7 +492,7 @@ const Zf = /* @__PURE__ */ je(av, [["render", dv]]), fv = {}, hv = {
|
|
|
492
492
|
function gv(n, e) {
|
|
493
493
|
return J(), te("svg", hv, mv);
|
|
494
494
|
}
|
|
495
|
-
const Xf = /* @__PURE__ */
|
|
495
|
+
const Xf = /* @__PURE__ */ We(fv, [["render", gv]]), vv = {}, yv = {
|
|
496
496
|
width: "40",
|
|
497
497
|
height: "34",
|
|
498
498
|
viewBox: "0 0 40 34",
|
|
@@ -507,7 +507,7 @@ const Xf = /* @__PURE__ */ je(fv, [["render", gv]]), vv = {}, yv = {
|
|
|
507
507
|
function Sv(n, e) {
|
|
508
508
|
return J(), te("svg", yv, Ev);
|
|
509
509
|
}
|
|
510
|
-
const Cv = /* @__PURE__ */
|
|
510
|
+
const Cv = /* @__PURE__ */ We(vv, [["render", Sv]]), wv = {}, Tv = {
|
|
511
511
|
width: "14",
|
|
512
512
|
height: "16",
|
|
513
513
|
viewBox: "0 0 14 16",
|
|
@@ -519,7 +519,7 @@ const Cv = /* @__PURE__ */ je(vv, [["render", Sv]]), wv = {}, Tv = {
|
|
|
519
519
|
function kv(n, e) {
|
|
520
520
|
return J(), te("svg", Tv, Av);
|
|
521
521
|
}
|
|
522
|
-
const Qf = /* @__PURE__ */
|
|
522
|
+
const Qf = /* @__PURE__ */ We(wv, [["render", kv]]), Ov = {}, Mv = {
|
|
523
523
|
xmlns: "http://www.w3.org/2000/svg",
|
|
524
524
|
width: "23",
|
|
525
525
|
height: "17",
|
|
@@ -534,7 +534,7 @@ const Qf = /* @__PURE__ */ je(wv, [["render", kv]]), Ov = {}, Mv = {
|
|
|
534
534
|
function Dv(n, e) {
|
|
535
535
|
return J(), te("svg", Mv, Iv);
|
|
536
536
|
}
|
|
537
|
-
const Nv = /* @__PURE__ */ je(Ov, [["render", Dv]]), Lv = {}, Rv = /* @__PURE__ */ ws('<title>BeterDichtbij logo</title><g id="Logo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Group-3-Copy-2" transform="translate(0.000000, -14.000000)"><g id="Master-Copy" transform="translate(0.000000, 21.000000)" fill="#E1523D"><g id="Group-36-Copy-2"><path d="M0,7.07801038 C0,4.71449972 1.60969434,3.38479666 3.84879725,3.38479666 L13.2067282,3.38479666 C18.2745524,3.38479666 22.3693254,6.83325734 22.3693254,12.0497847 C22.3693254,15.4945924 20.9549647,17.8069606 17.8368602,19.2827849 L17.8368602,19.3814167 C21.978658,19.9732076 25.2450714,23.4655047 25.2450714,27.7468563 C25.2450714,34.687614 20.6619642,38.4283171 13.9374209,38.4283171 L3.89943932,38.4283171 C1.65671912,38.4283171 0,36.9999822 0,34.687614 L0,7.07801038 Z M7.3105444,17.2663121 L11.1123169,17.2663121 C13.4997287,17.2663121 15.058781,15.8379772 15.058781,13.3758348 C15.058781,11.0634665 13.2537529,9.88353771 11.1123169,9.88353771 L7.3105444,9.88353771 L7.3105444,17.2663121 Z M7.3105444,31.9332291 L13.0620365,31.9332291 C15.6918068,31.9332291 17.6415265,30.4062624 17.6415265,27.6482244 C17.6415265,25.3358562 15.8871405,23.7614001 12.4760354,23.7614001 L7.3105444,23.7614001 L7.3105444,31.9332291 Z" id="Fill-10"></path><path d="M33.6758908,27.6990016 C34.164225,31.1912986 37.0399711,32.8168971 40.3027672,32.8168971 C43.909206,32.8168971 46.3942847,29.9638804 48.2463375,29.9638804 C49.758365,29.9638804 51.1220836,31.4871941 51.1220836,33.0141608 C51.1220836,36.0644411 44.8858745,39.0197427 39.6697414,39.0197427 C31.7768132,39.0197427 26.5136553,33.2114244 26.5136553,25.3866333 C26.5136553,18.2011226 31.6791463,11.6548921 39.0873576,11.6548921 C46.6872852,11.6548921 51.7080846,18.6431393 51.7080846,24.5500894 C51.7080846,26.665194 50.7820582,27.6990016 48.6370049,27.6990016 L33.6758908,27.6990016 Z M44.6905408,22.9756333 C44.2998734,19.8742105 42.3501537,17.5618423 39.0873576,17.5618423 C35.9656357,17.5618423 33.8712245,19.9728423 33.5311991,22.9756333 L44.6905408,22.9756333 Z" id="Fill-12"></path><path d="M55.9001628,18.4462409 L54.3411105,18.4462409 C52.4384156,18.4462409 51.2700307,17.2663121 51.2700307,15.3448181 C51.2700307,13.5730984 52.5867245,12.2470484 54.3411105,12.2470484 L55.9001628,12.2470484 L55.9001628,8.01318615 C55.9001628,5.6496755 57.3615482,4.0752194 59.4089347,4.0752194 C61.4563212,4.0752194 62.9177066,5.6496755 62.9177066,8.01318615 L62.9177066,12.2470484 L64.9144511,12.2470484 C66.7194791,12.2470484 68.2785314,13.0799393 68.2785314,15.3448181 C68.2785314,17.5585545 66.7194791,18.4462409 64.9144511,18.4462409 L62.9177066,18.4462409 L62.9177066,34.7862458 C62.9177066,37.1497565 61.4563212,38.7205595 59.4089347,38.7205595 C57.3615482,38.7205595 55.9001628,37.1497565 55.9001628,34.7862458 L55.9001628,18.4462409 Z" id="Fill-14"></path><path d="M74.2727437,27.6990016 C74.761078,31.1912986 77.636824,32.8168971 80.8996202,32.8168971 C84.506059,32.8168971 86.9911376,29.9638804 88.8431905,29.9638804 C90.3552179,29.9638804 91.7189365,31.4871941 91.7189365,33.0141608 C91.7189365,36.0644411 85.4827274,39.0197427 80.2665943,39.0197427 C72.3736661,39.0197427 67.1105082,33.2114244 67.1105082,25.3866333 C67.1105082,18.2011226 72.2759993,11.6548921 79.6805932,11.6548921 C87.2841382,11.6548921 92.3049376,18.6431393 92.3049376,24.5500894 C92.3049376,26.665194 91.3789112,27.6990016 89.2338578,27.6990016 L74.2727437,27.6990016 Z M85.2873937,22.9756333 C84.8967264,19.8742105 82.9470067,17.5618423 79.6805932,17.5618423 C76.5624887,17.5618423 74.4680774,19.9728423 74.1280521,22.9756333 L85.2873937,22.9756333 Z" id="Fill-16"></path><path d="M94.6934346,15.4934965 C94.6934346,13.1299858 96.5454874,11.950057 98.2998734,11.950057 C100.151926,11.950057 101.710978,12.6404797 101.710978,14.9017055 L101.808645,14.9017055 C103.125339,12.9327222 104.5397,11.950057 106.731778,11.950057 C108.435522,11.950057 110.142883,13.1811282 110.142883,15.7382495 C110.142883,18.0506177 108.044854,18.200392 105.950443,19.1830571 C103.856032,20.1693753 101.710978,21.1045511 101.710978,23.9100785 L101.710978,34.7851499 C101.710978,37.1486606 100.249593,38.7231166 98.2022065,38.7231166 C96.15482,38.7231166 94.6934346,37.1486606 94.6934346,34.7851499 L94.6934346,15.4934965 Z" id="Fill-18"></path><path d="M114.139266,7.17591159 C114.139266,4.91103276 115.698318,3.38771909 117.890396,3.38771909 L125.982275,3.38771909 C136.899258,3.38771909 143.135468,10.474598 143.135468,21.4008119 C143.135468,31.7352348 136.508591,38.4275865 126.47061,38.4275865 L117.988063,38.4275865 C116.381986,38.4275865 114.139266,37.5435531 114.139266,34.7380258 L114.139266,7.17591159 Z M121.44981,31.636603 L126.369325,31.636603 C132.659794,31.636603 135.531923,26.9607241 135.531923,21.053774 C135.531923,14.7559496 132.609152,10.1787026 125.884608,10.1787026 L121.44981,10.1787026 L121.44981,31.636603 Z" id="Fill-20"></path><path d="M153.809731,5.20729352 C153.809731,7.42102993 152.055345,9.29138148 149.863266,9.29138148 C147.765238,9.29138148 145.913185,7.37354053 145.913185,5.20729352 C145.913185,3.19082075 147.765238,1.32046919 149.863266,1.32046919 C151.957678,1.32046919 153.809731,3.13967832 153.809731,5.20729352 L153.809731,5.20729352 Z M146.354494,15.8887543 C146.354494,13.5252437 147.81588,11.9507876 149.863266,11.9507876 C151.910653,11.9507876 153.372038,13.5252437 153.372038,15.8887543 L153.372038,34.7858805 C153.372038,37.1493912 151.910653,38.7238473 149.863266,38.7238473 C147.81588,38.7238473 146.354494,37.1493912 146.354494,34.7858805 L146.354494,15.8887543 Z" id="Fill-22"></path><path d="M174.716947,19.5289991 C172.962561,19.5289991 171.403509,18.1518067 169.160789,18.1518067 C165.163682,18.1518067 163.264605,21.7427355 163.264605,25.3848068 C163.264605,28.8807569 165.359016,32.5228282 169.160789,32.5228282 C170.915175,32.5228282 173.548562,31.0470039 174.376922,31.0470039 C176.033641,31.0470039 177.397359,32.4716858 177.397359,34.1447737 C177.397359,37.786845 171.352867,39.0179162 168.820763,39.0179162 C161.26786,39.0179162 156.247061,32.7675812 156.247061,25.3848068 C156.247061,18.1992961 161.412552,11.6530656 168.820763,11.6530656 C171.598842,11.6530656 177.397359,12.6868732 177.397359,16.1316809 C177.397359,17.6075051 176.373666,19.5289991 174.716947,19.5289991" id="Fill-24"></path><path d="M179.83469,4.46901608 C179.83469,2.10550542 181.296075,0.531049329 183.343462,0.531049329 C185.390848,0.531049329 186.852234,2.10550542 186.852234,4.46901608 L186.852234,14.1166693 L186.949901,14.1166693 C188.411286,12.2938072 191.14234,11.6545268 193.334419,11.6545268 C198.839935,11.6545268 202.934708,15.1979663 202.934708,21.2035482 L202.934708,34.7855152 C202.934708,37.1490259 201.473322,38.723482 199.425936,38.723482 C197.378549,38.723482 195.917164,37.1490259 195.917164,34.7855152 L195.917164,22.4346195 C195.917164,19.1359331 193.869778,17.561477 191.337674,17.561477 C188.461928,17.561477 186.852234,19.6765816 186.852234,22.4346195 L186.852234,34.7855152 C186.852234,37.1490259 185.390848,38.723482 183.343462,38.723482 C181.296075,38.723482 179.83469,37.1490259 179.83469,34.7855152 L179.83469,4.46901608 Z" id="Fill-26"></path><path d="M208.63809,18.4462409 L207.079038,18.4462409 C205.17996,18.4462409 204.007958,17.2663121 204.007958,15.3448181 C204.007958,13.5730984 205.324652,12.2470484 207.079038,12.2470484 L208.63809,12.2470484 L208.63809,8.01318615 C208.63809,5.6496755 210.099475,4.0752194 212.146862,4.0752194 C214.194249,4.0752194 215.655634,5.6496755 215.655634,8.01318615 L215.655634,12.2470484 L217.652378,12.2470484 C219.457406,12.2470484 221.016459,13.0799393 221.016459,15.3448181 C221.016459,17.5585545 219.457406,18.4462409 217.652378,18.4462409 L215.655634,18.4462409 L215.655634,34.7862458 C215.655634,37.1497565 214.194249,38.7205595 212.146862,38.7205595 C210.099475,38.7205595 208.63809,37.1497565 208.63809,34.7862458 L208.63809,18.4462409 Z" id="Fill-28"></path><path d="M222.820402,4.46865078 C222.820402,2.10514012 224.281787,0.530684026 226.329173,0.530684026 C228.37656,0.530684026 229.837945,2.10514012 229.837945,4.46865078 L229.837945,14.116304 C231.689998,12.4907055 234.07741,11.6541615 236.515464,11.6541615 C244.068367,11.6541615 247.819497,18.7921829 247.819497,25.6817982 C247.819497,32.3741498 243.337674,39.0190121 236.269488,39.0190121 C233.882076,39.0190121 231.154639,37.9340621 229.837945,35.7714681 C229.400253,37.6418197 228.278893,38.7231166 226.329173,38.7231166 C224.281787,38.7231166 222.820402,37.1486606 222.820402,34.7851499 L222.820402,4.46865078 Z M235.343462,32.5202711 C239.000543,32.5202711 240.801953,28.6845892 240.801953,25.3859027 C240.801953,22.0397269 239.000543,18.1492495 235.343462,18.1492495 C231.592331,18.1492495 229.837945,21.692689 229.837945,25.1411497 C229.837945,28.5859573 231.494664,32.5202711 235.343462,32.5202711 L235.343462,32.5202711 Z" id="Fill-30"></path><path d="M258.153735,5.20729352 C258.153735,7.42102993 256.399349,9.29138148 254.207271,9.29138148 C252.109242,9.29138148 250.257189,7.37354053 250.257189,5.20729352 C250.257189,3.19082075 252.109242,1.32046919 254.207271,1.32046919 C256.301682,1.32046919 258.153735,3.13967832 258.153735,5.20729352 L258.153735,5.20729352 Z M250.698499,15.8887543 C250.698499,13.5252437 252.159884,11.9507876 254.207271,11.9507876 C256.254657,11.9507876 257.716043,13.5252437 257.716043,15.8887543 L257.716043,34.7858805 C257.716043,37.1493912 256.254657,38.7238473 254.207271,38.7238473 C252.159884,38.7238473 250.698499,37.1493912 250.698499,34.7858805 L250.698499,15.8887543 Z" id="Fill-32"></path><path d="M268.972689,5.20729352 C268.972689,7.42102993 267.218303,9.29138148 265.026225,9.29138148 C262.928197,9.29138148 261.076144,7.37354053 261.076144,5.20729352 C261.076144,3.19082075 262.928197,1.32046919 265.026225,1.32046919 C267.120637,1.32046919 268.972689,3.13967832 268.972689,5.20729352 L268.972689,5.20729352 Z M261.517453,15.8887543 C261.517453,13.5252437 262.978839,11.9507876 265.026225,11.9507876 C267.073612,11.9507876 268.534997,13.5252437 268.534997,15.8887543 L268.534997,45.2189353 C268.534997,47.5824459 267.073612,49.156902 265.026225,49.156902 C262.978839,49.156902 261.517453,47.5824459 261.517453,45.2189353 L261.517453,15.8887543 Z" id="Fill-34"></path></g></g><polyline id="Path" stroke="#E1523D" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(346.970563, 44.470563) rotate(-45.000000) translate(-346.970563, -44.470563) " points="334.970563 56.4705627 334.970563 32.4705627 334.970563 32.4705627 358.970563 32.4705627"></polyline><g id="Group-2" transform="translate(319.970563, 44.500000) rotate(90.000000) translate(-319.970563, -44.500000) translate(275.970563, 27.500000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.4"><polyline id="Path-Copy-2" stroke="#418FDE" transform="translate(70.970563, 17.000000) rotate(-45.000000) translate(-70.970563, -17.000000) " points="58.9705627 29 58.9705627 5 82.9705627 5"></polyline><polyline id="Path-Copy-3" stroke="#FFC72C" transform="translate(16.970563, 17.000000) scale(-1, 1) rotate(-45.000000) translate(-16.970563, -17.000000) " points="4.97056275 29 4.97056275 5 28.9705627 5"></polyline></g><polyline id="Path-Copy" stroke="#00BF6F" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(292.970563, 44.470563) scale(-1, 1) rotate(-45.000000) translate(-292.970563, -44.470563) " points="280.970563 56.4705627 280.970563 32.4705627 280.970563 32.4705627 304.970563 32.4705627"></polyline></g></g>', 2), Pv = [
|
|
537
|
+
const Nv = /* @__PURE__ */ We(Ov, [["render", Dv]]), Lv = {}, Rv = /* @__PURE__ */ ws('<title>BeterDichtbij logo</title><g id="Logo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Group-3-Copy-2" transform="translate(0.000000, -14.000000)"><g id="Master-Copy" transform="translate(0.000000, 21.000000)" fill="#E1523D"><g id="Group-36-Copy-2"><path d="M0,7.07801038 C0,4.71449972 1.60969434,3.38479666 3.84879725,3.38479666 L13.2067282,3.38479666 C18.2745524,3.38479666 22.3693254,6.83325734 22.3693254,12.0497847 C22.3693254,15.4945924 20.9549647,17.8069606 17.8368602,19.2827849 L17.8368602,19.3814167 C21.978658,19.9732076 25.2450714,23.4655047 25.2450714,27.7468563 C25.2450714,34.687614 20.6619642,38.4283171 13.9374209,38.4283171 L3.89943932,38.4283171 C1.65671912,38.4283171 0,36.9999822 0,34.687614 L0,7.07801038 Z M7.3105444,17.2663121 L11.1123169,17.2663121 C13.4997287,17.2663121 15.058781,15.8379772 15.058781,13.3758348 C15.058781,11.0634665 13.2537529,9.88353771 11.1123169,9.88353771 L7.3105444,9.88353771 L7.3105444,17.2663121 Z M7.3105444,31.9332291 L13.0620365,31.9332291 C15.6918068,31.9332291 17.6415265,30.4062624 17.6415265,27.6482244 C17.6415265,25.3358562 15.8871405,23.7614001 12.4760354,23.7614001 L7.3105444,23.7614001 L7.3105444,31.9332291 Z" id="Fill-10"></path><path d="M33.6758908,27.6990016 C34.164225,31.1912986 37.0399711,32.8168971 40.3027672,32.8168971 C43.909206,32.8168971 46.3942847,29.9638804 48.2463375,29.9638804 C49.758365,29.9638804 51.1220836,31.4871941 51.1220836,33.0141608 C51.1220836,36.0644411 44.8858745,39.0197427 39.6697414,39.0197427 C31.7768132,39.0197427 26.5136553,33.2114244 26.5136553,25.3866333 C26.5136553,18.2011226 31.6791463,11.6548921 39.0873576,11.6548921 C46.6872852,11.6548921 51.7080846,18.6431393 51.7080846,24.5500894 C51.7080846,26.665194 50.7820582,27.6990016 48.6370049,27.6990016 L33.6758908,27.6990016 Z M44.6905408,22.9756333 C44.2998734,19.8742105 42.3501537,17.5618423 39.0873576,17.5618423 C35.9656357,17.5618423 33.8712245,19.9728423 33.5311991,22.9756333 L44.6905408,22.9756333 Z" id="Fill-12"></path><path d="M55.9001628,18.4462409 L54.3411105,18.4462409 C52.4384156,18.4462409 51.2700307,17.2663121 51.2700307,15.3448181 C51.2700307,13.5730984 52.5867245,12.2470484 54.3411105,12.2470484 L55.9001628,12.2470484 L55.9001628,8.01318615 C55.9001628,5.6496755 57.3615482,4.0752194 59.4089347,4.0752194 C61.4563212,4.0752194 62.9177066,5.6496755 62.9177066,8.01318615 L62.9177066,12.2470484 L64.9144511,12.2470484 C66.7194791,12.2470484 68.2785314,13.0799393 68.2785314,15.3448181 C68.2785314,17.5585545 66.7194791,18.4462409 64.9144511,18.4462409 L62.9177066,18.4462409 L62.9177066,34.7862458 C62.9177066,37.1497565 61.4563212,38.7205595 59.4089347,38.7205595 C57.3615482,38.7205595 55.9001628,37.1497565 55.9001628,34.7862458 L55.9001628,18.4462409 Z" id="Fill-14"></path><path d="M74.2727437,27.6990016 C74.761078,31.1912986 77.636824,32.8168971 80.8996202,32.8168971 C84.506059,32.8168971 86.9911376,29.9638804 88.8431905,29.9638804 C90.3552179,29.9638804 91.7189365,31.4871941 91.7189365,33.0141608 C91.7189365,36.0644411 85.4827274,39.0197427 80.2665943,39.0197427 C72.3736661,39.0197427 67.1105082,33.2114244 67.1105082,25.3866333 C67.1105082,18.2011226 72.2759993,11.6548921 79.6805932,11.6548921 C87.2841382,11.6548921 92.3049376,18.6431393 92.3049376,24.5500894 C92.3049376,26.665194 91.3789112,27.6990016 89.2338578,27.6990016 L74.2727437,27.6990016 Z M85.2873937,22.9756333 C84.8967264,19.8742105 82.9470067,17.5618423 79.6805932,17.5618423 C76.5624887,17.5618423 74.4680774,19.9728423 74.1280521,22.9756333 L85.2873937,22.9756333 Z" id="Fill-16"></path><path d="M94.6934346,15.4934965 C94.6934346,13.1299858 96.5454874,11.950057 98.2998734,11.950057 C100.151926,11.950057 101.710978,12.6404797 101.710978,14.9017055 L101.808645,14.9017055 C103.125339,12.9327222 104.5397,11.950057 106.731778,11.950057 C108.435522,11.950057 110.142883,13.1811282 110.142883,15.7382495 C110.142883,18.0506177 108.044854,18.200392 105.950443,19.1830571 C103.856032,20.1693753 101.710978,21.1045511 101.710978,23.9100785 L101.710978,34.7851499 C101.710978,37.1486606 100.249593,38.7231166 98.2022065,38.7231166 C96.15482,38.7231166 94.6934346,37.1486606 94.6934346,34.7851499 L94.6934346,15.4934965 Z" id="Fill-18"></path><path d="M114.139266,7.17591159 C114.139266,4.91103276 115.698318,3.38771909 117.890396,3.38771909 L125.982275,3.38771909 C136.899258,3.38771909 143.135468,10.474598 143.135468,21.4008119 C143.135468,31.7352348 136.508591,38.4275865 126.47061,38.4275865 L117.988063,38.4275865 C116.381986,38.4275865 114.139266,37.5435531 114.139266,34.7380258 L114.139266,7.17591159 Z M121.44981,31.636603 L126.369325,31.636603 C132.659794,31.636603 135.531923,26.9607241 135.531923,21.053774 C135.531923,14.7559496 132.609152,10.1787026 125.884608,10.1787026 L121.44981,10.1787026 L121.44981,31.636603 Z" id="Fill-20"></path><path d="M153.809731,5.20729352 C153.809731,7.42102993 152.055345,9.29138148 149.863266,9.29138148 C147.765238,9.29138148 145.913185,7.37354053 145.913185,5.20729352 C145.913185,3.19082075 147.765238,1.32046919 149.863266,1.32046919 C151.957678,1.32046919 153.809731,3.13967832 153.809731,5.20729352 L153.809731,5.20729352 Z M146.354494,15.8887543 C146.354494,13.5252437 147.81588,11.9507876 149.863266,11.9507876 C151.910653,11.9507876 153.372038,13.5252437 153.372038,15.8887543 L153.372038,34.7858805 C153.372038,37.1493912 151.910653,38.7238473 149.863266,38.7238473 C147.81588,38.7238473 146.354494,37.1493912 146.354494,34.7858805 L146.354494,15.8887543 Z" id="Fill-22"></path><path d="M174.716947,19.5289991 C172.962561,19.5289991 171.403509,18.1518067 169.160789,18.1518067 C165.163682,18.1518067 163.264605,21.7427355 163.264605,25.3848068 C163.264605,28.8807569 165.359016,32.5228282 169.160789,32.5228282 C170.915175,32.5228282 173.548562,31.0470039 174.376922,31.0470039 C176.033641,31.0470039 177.397359,32.4716858 177.397359,34.1447737 C177.397359,37.786845 171.352867,39.0179162 168.820763,39.0179162 C161.26786,39.0179162 156.247061,32.7675812 156.247061,25.3848068 C156.247061,18.1992961 161.412552,11.6530656 168.820763,11.6530656 C171.598842,11.6530656 177.397359,12.6868732 177.397359,16.1316809 C177.397359,17.6075051 176.373666,19.5289991 174.716947,19.5289991" id="Fill-24"></path><path d="M179.83469,4.46901608 C179.83469,2.10550542 181.296075,0.531049329 183.343462,0.531049329 C185.390848,0.531049329 186.852234,2.10550542 186.852234,4.46901608 L186.852234,14.1166693 L186.949901,14.1166693 C188.411286,12.2938072 191.14234,11.6545268 193.334419,11.6545268 C198.839935,11.6545268 202.934708,15.1979663 202.934708,21.2035482 L202.934708,34.7855152 C202.934708,37.1490259 201.473322,38.723482 199.425936,38.723482 C197.378549,38.723482 195.917164,37.1490259 195.917164,34.7855152 L195.917164,22.4346195 C195.917164,19.1359331 193.869778,17.561477 191.337674,17.561477 C188.461928,17.561477 186.852234,19.6765816 186.852234,22.4346195 L186.852234,34.7855152 C186.852234,37.1490259 185.390848,38.723482 183.343462,38.723482 C181.296075,38.723482 179.83469,37.1490259 179.83469,34.7855152 L179.83469,4.46901608 Z" id="Fill-26"></path><path d="M208.63809,18.4462409 L207.079038,18.4462409 C205.17996,18.4462409 204.007958,17.2663121 204.007958,15.3448181 C204.007958,13.5730984 205.324652,12.2470484 207.079038,12.2470484 L208.63809,12.2470484 L208.63809,8.01318615 C208.63809,5.6496755 210.099475,4.0752194 212.146862,4.0752194 C214.194249,4.0752194 215.655634,5.6496755 215.655634,8.01318615 L215.655634,12.2470484 L217.652378,12.2470484 C219.457406,12.2470484 221.016459,13.0799393 221.016459,15.3448181 C221.016459,17.5585545 219.457406,18.4462409 217.652378,18.4462409 L215.655634,18.4462409 L215.655634,34.7862458 C215.655634,37.1497565 214.194249,38.7205595 212.146862,38.7205595 C210.099475,38.7205595 208.63809,37.1497565 208.63809,34.7862458 L208.63809,18.4462409 Z" id="Fill-28"></path><path d="M222.820402,4.46865078 C222.820402,2.10514012 224.281787,0.530684026 226.329173,0.530684026 C228.37656,0.530684026 229.837945,2.10514012 229.837945,4.46865078 L229.837945,14.116304 C231.689998,12.4907055 234.07741,11.6541615 236.515464,11.6541615 C244.068367,11.6541615 247.819497,18.7921829 247.819497,25.6817982 C247.819497,32.3741498 243.337674,39.0190121 236.269488,39.0190121 C233.882076,39.0190121 231.154639,37.9340621 229.837945,35.7714681 C229.400253,37.6418197 228.278893,38.7231166 226.329173,38.7231166 C224.281787,38.7231166 222.820402,37.1486606 222.820402,34.7851499 L222.820402,4.46865078 Z M235.343462,32.5202711 C239.000543,32.5202711 240.801953,28.6845892 240.801953,25.3859027 C240.801953,22.0397269 239.000543,18.1492495 235.343462,18.1492495 C231.592331,18.1492495 229.837945,21.692689 229.837945,25.1411497 C229.837945,28.5859573 231.494664,32.5202711 235.343462,32.5202711 L235.343462,32.5202711 Z" id="Fill-30"></path><path d="M258.153735,5.20729352 C258.153735,7.42102993 256.399349,9.29138148 254.207271,9.29138148 C252.109242,9.29138148 250.257189,7.37354053 250.257189,5.20729352 C250.257189,3.19082075 252.109242,1.32046919 254.207271,1.32046919 C256.301682,1.32046919 258.153735,3.13967832 258.153735,5.20729352 L258.153735,5.20729352 Z M250.698499,15.8887543 C250.698499,13.5252437 252.159884,11.9507876 254.207271,11.9507876 C256.254657,11.9507876 257.716043,13.5252437 257.716043,15.8887543 L257.716043,34.7858805 C257.716043,37.1493912 256.254657,38.7238473 254.207271,38.7238473 C252.159884,38.7238473 250.698499,37.1493912 250.698499,34.7858805 L250.698499,15.8887543 Z" id="Fill-32"></path><path d="M268.972689,5.20729352 C268.972689,7.42102993 267.218303,9.29138148 265.026225,9.29138148 C262.928197,9.29138148 261.076144,7.37354053 261.076144,5.20729352 C261.076144,3.19082075 262.928197,1.32046919 265.026225,1.32046919 C267.120637,1.32046919 268.972689,3.13967832 268.972689,5.20729352 L268.972689,5.20729352 Z M261.517453,15.8887543 C261.517453,13.5252437 262.978839,11.9507876 265.026225,11.9507876 C267.073612,11.9507876 268.534997,13.5252437 268.534997,15.8887543 L268.534997,45.2189353 C268.534997,47.5824459 267.073612,49.156902 265.026225,49.156902 C262.978839,49.156902 261.517453,47.5824459 261.517453,45.2189353 L261.517453,15.8887543 Z" id="Fill-34"></path></g></g><polyline id="Path" stroke="#E1523D" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(346.970563, 44.470563) rotate(-45.000000) translate(-346.970563, -44.470563) " points="334.970563 56.4705627 334.970563 32.4705627 334.970563 32.4705627 358.970563 32.4705627"></polyline><g id="Group-2" transform="translate(319.970563, 44.500000) rotate(90.000000) translate(-319.970563, -44.500000) translate(275.970563, 27.500000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.4"><polyline id="Path-Copy-2" stroke="#418FDE" transform="translate(70.970563, 17.000000) rotate(-45.000000) translate(-70.970563, -17.000000) " points="58.9705627 29 58.9705627 5 82.9705627 5"></polyline><polyline id="Path-Copy-3" stroke="#FFC72C" transform="translate(16.970563, 17.000000) scale(-1, 1) rotate(-45.000000) translate(-16.970563, -17.000000) " points="4.97056275 29 4.97056275 5 28.9705627 5"></polyline></g><polyline id="Path-Copy" stroke="#00BF6F" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(292.970563, 44.470563) scale(-1, 1) rotate(-45.000000) translate(-292.970563, -44.470563) " points="280.970563 56.4705627 280.970563 32.4705627 280.970563 32.4705627 304.970563 32.4705627"></polyline></g></g>', 2), Pv = [
|
|
538
538
|
Rv
|
|
539
539
|
];
|
|
540
540
|
function $v(n, e) {
|
|
@@ -544,7 +544,7 @@ function $v(n, e) {
|
|
|
544
544
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
545
545
|
}), Pv, 16);
|
|
546
546
|
}
|
|
547
|
-
const qf = /* @__PURE__ */
|
|
547
|
+
const qf = /* @__PURE__ */ We(Lv, [["render", $v]]), bu = /^https:/i, Gs = /* @__PURE__ */ $e({
|
|
548
548
|
__name: "BDLink",
|
|
549
549
|
props: {
|
|
550
550
|
to: { default: "" },
|
|
@@ -564,7 +564,7 @@ const qf = /* @__PURE__ */ je(Lv, [["render", $v]]), bu = /^https:/i, Gs = /* @_
|
|
|
564
564
|
});
|
|
565
565
|
return (s, i) => (J(), Ge(Wo(t.value), an({ class: "bd-link" }, r.value), {
|
|
566
566
|
default: Re(() => [
|
|
567
|
-
|
|
567
|
+
je(s.$slots, "default", {}, () => [
|
|
568
568
|
ct(Pe(e.text), 1)
|
|
569
569
|
])
|
|
570
570
|
]),
|
|
@@ -600,7 +600,7 @@ const qf = /* @__PURE__ */ je(Lv, [["render", $v]]), bu = /^https:/i, Gs = /* @_
|
|
|
600
600
|
ee("strong", null, Pe(e.title), 1)
|
|
601
601
|
])
|
|
602
602
|
])) : He("", !0),
|
|
603
|
-
|
|
603
|
+
je(r.$slots, "default")
|
|
604
604
|
], 2));
|
|
605
605
|
}
|
|
606
606
|
}), Bv = ["src", "alt"], Vv = ["textContent"], Xo = /* @__PURE__ */ $e({
|
|
@@ -880,7 +880,7 @@ const i2 = ["id"], o2 = { key: 0 }, oc = /* @__PURE__ */ $e({
|
|
|
880
880
|
key: 0,
|
|
881
881
|
class: Ke(i.value)
|
|
882
882
|
}, [
|
|
883
|
-
|
|
883
|
+
je(l.$slots, "header", {}, () => [
|
|
884
884
|
l.title ? (J(), te("h2", o2, Pe(l.title), 1)) : He("", !0)
|
|
885
885
|
])
|
|
886
886
|
], 2)) : He("", !0),
|
|
@@ -888,7 +888,7 @@ const i2 = ["id"], o2 = { key: 0 }, oc = /* @__PURE__ */ $e({
|
|
|
888
888
|
key: 1,
|
|
889
889
|
class: Ke(o.value)
|
|
890
890
|
}, [
|
|
891
|
-
|
|
891
|
+
je(l.$slots, "body")
|
|
892
892
|
], 2))
|
|
893
893
|
], 10, i2));
|
|
894
894
|
}
|
|
@@ -936,7 +936,7 @@ const i2 = ["id"], o2 = { key: 0 }, oc = /* @__PURE__ */ $e({
|
|
|
936
936
|
header: Re(() => [
|
|
937
937
|
a.title ? (J(), te("h2", a2, Pe(a.title), 1)) : He("", !0),
|
|
938
938
|
ee("div", l2, [
|
|
939
|
-
|
|
939
|
+
je(a.$slots, "action"),
|
|
940
940
|
!a.disabled && a.visible ? (J(), te("button", {
|
|
941
941
|
key: 0,
|
|
942
942
|
class: Ke(["btn btn-white btn-caret", i.value]),
|
|
@@ -950,7 +950,7 @@ const i2 = ["id"], o2 = { key: 0 }, oc = /* @__PURE__ */ $e({
|
|
|
950
950
|
])
|
|
951
951
|
]),
|
|
952
952
|
body: Re(() => [
|
|
953
|
-
|
|
953
|
+
je(a.$slots, "body")
|
|
954
954
|
]),
|
|
955
955
|
_: 3
|
|
956
956
|
}, 8, ["title", "header-class", "body-class"]));
|
|
@@ -1172,7 +1172,7 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1172
1172
|
class: Ke(["bd-form-input", h.formGroupClass]),
|
|
1173
1173
|
id: o
|
|
1174
1174
|
}, [
|
|
1175
|
-
|
|
1175
|
+
je(h.$slots, "label", {}, () => [
|
|
1176
1176
|
h.label ? (J(), te("label", {
|
|
1177
1177
|
key: 0,
|
|
1178
1178
|
for: l,
|
|
@@ -1197,7 +1197,7 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1197
1197
|
}), null, 16, y2), [
|
|
1198
1198
|
[Ae(v2)]
|
|
1199
1199
|
]),
|
|
1200
|
-
|
|
1200
|
+
je(h.$slots, "default")
|
|
1201
1201
|
], 2),
|
|
1202
1202
|
Te(Ae(ac), {
|
|
1203
1203
|
text: h.invalidFeedbackText,
|
|
@@ -1224,7 +1224,7 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1224
1224
|
ee("div", {
|
|
1225
1225
|
class: Ke(Ae(t).class)
|
|
1226
1226
|
}, [
|
|
1227
|
-
|
|
1227
|
+
je(r.$slots, "default")
|
|
1228
1228
|
], 2)
|
|
1229
1229
|
]));
|
|
1230
1230
|
}
|
|
@@ -1252,7 +1252,7 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1252
1252
|
role: "status",
|
|
1253
1253
|
class: Ke(t.value)
|
|
1254
1254
|
}, [
|
|
1255
|
-
|
|
1255
|
+
je(r.$slots, "default")
|
|
1256
1256
|
], 2));
|
|
1257
1257
|
}
|
|
1258
1258
|
}), T2 = ["onSubmit", "onReset"], x2 = /* @__PURE__ */ $e({
|
|
@@ -1269,7 +1269,7 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1269
1269
|
onSubmit: cs(t, ["prevent"]),
|
|
1270
1270
|
onReset: cs(r, ["prevent"])
|
|
1271
1271
|
}, [
|
|
1272
|
-
|
|
1272
|
+
je(s.$slots, "default")
|
|
1273
1273
|
], 40, T2));
|
|
1274
1274
|
}
|
|
1275
1275
|
}), A2 = {
|
|
@@ -1394,7 +1394,7 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1394
1394
|
onInput: l,
|
|
1395
1395
|
onChange: a
|
|
1396
1396
|
}, [
|
|
1397
|
-
|
|
1397
|
+
je(u.$slots, "first"),
|
|
1398
1398
|
t.options && t.options.length > 0 && t.options[0].label && t.options[0].options ? (J(!0), te(rt, { key: 0 }, Bt(t.options, (f) => (J(), te("optgroup", {
|
|
1399
1399
|
label: f.label
|
|
1400
1400
|
}, [
|
|
@@ -1444,9 +1444,9 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1444
1444
|
class: "form-check-label",
|
|
1445
1445
|
for: i
|
|
1446
1446
|
}, [
|
|
1447
|
-
|
|
1447
|
+
je(c.$slots, "default")
|
|
1448
1448
|
]),
|
|
1449
|
-
|
|
1449
|
+
je(c.$slots, "last")
|
|
1450
1450
|
], 2));
|
|
1451
1451
|
}
|
|
1452
1452
|
}), V2 = {
|
|
@@ -1469,17 +1469,17 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1469
1469
|
onClick: r
|
|
1470
1470
|
}, [
|
|
1471
1471
|
ee("header", null, [
|
|
1472
|
-
|
|
1472
|
+
je(s.$slots, "header", {}, () => [
|
|
1473
1473
|
ee("h5", null, Pe(t.title), 1)
|
|
1474
1474
|
])
|
|
1475
1475
|
]),
|
|
1476
1476
|
t.hideBody ? He("", !0) : (J(), te("div", V2, [
|
|
1477
|
-
|
|
1477
|
+
je(s.$slots, "default", {}, () => [
|
|
1478
1478
|
ct(Pe(t.text), 1)
|
|
1479
1479
|
])
|
|
1480
1480
|
])),
|
|
1481
1481
|
t.hideFooter ? He("", !0) : (J(), te("footer", H2, [
|
|
1482
|
-
|
|
1482
|
+
je(s.$slots, "footer")
|
|
1483
1483
|
]))
|
|
1484
1484
|
]));
|
|
1485
1485
|
}
|
|
@@ -1542,7 +1542,7 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
|
|
|
1542
1542
|
onClick: r
|
|
1543
1543
|
}, t), {
|
|
1544
1544
|
default: Re(() => [
|
|
1545
|
-
|
|
1545
|
+
je(s.$slots, "default", {}, () => [
|
|
1546
1546
|
ct(Pe(t.text), 1)
|
|
1547
1547
|
])
|
|
1548
1548
|
]),
|
|
@@ -22880,7 +22880,7 @@ const Z4 = xn.create({
|
|
|
22880
22880
|
class: Ke(["bd-markdown-editor", l.value])
|
|
22881
22881
|
}, [
|
|
22882
22882
|
Te(Ae(w4), { editor: Ae(o) }, null, 8, ["editor"]),
|
|
22883
|
-
|
|
22883
|
+
je(M.$slots, "default"),
|
|
22884
22884
|
g.value ? (J(), Ge(Jc, {
|
|
22885
22885
|
key: 0,
|
|
22886
22886
|
files: g.value,
|
|
@@ -23016,7 +23016,7 @@ const Z4 = xn.create({
|
|
|
23016
23016
|
(J(!0), te(rt, null, Bt(t.options, (a) => (J(), te("li", zE, [
|
|
23017
23017
|
Te(Gs, an({ class: "nav-link" }, a, { onClick: s }), null, 16)
|
|
23018
23018
|
]))), 256)),
|
|
23019
|
-
|
|
23019
|
+
je(o.$slots, "special-options"),
|
|
23020
23020
|
ee("li", UE, [
|
|
23021
23021
|
Te(Gs, {
|
|
23022
23022
|
class: "nav-link",
|
|
@@ -23046,7 +23046,7 @@ const Z4 = xn.create({
|
|
|
23046
23046
|
ee("div", WE, [
|
|
23047
23047
|
ee("header", null, [
|
|
23048
23048
|
ee("h5", KE, Pe(e.name), 1),
|
|
23049
|
-
|
|
23049
|
+
je(r.$slots, "header-extra")
|
|
23050
23050
|
]),
|
|
23051
23051
|
ee("span", GE, Pe(t.value), 1)
|
|
23052
23052
|
])
|
|
@@ -23079,7 +23079,7 @@ const Z4 = xn.create({
|
|
|
23079
23079
|
}, null, 8, ["src"]),
|
|
23080
23080
|
ee("div", JE, [
|
|
23081
23081
|
ee("div", ZE, [
|
|
23082
|
-
|
|
23082
|
+
je(a.$slots, "header", {}, () => [
|
|
23083
23083
|
ct(Pe(a.headerTitle), 1)
|
|
23084
23084
|
]),
|
|
23085
23085
|
Te(yt, {
|
|
@@ -23094,7 +23094,7 @@ const Z4 = xn.create({
|
|
|
23094
23094
|
})
|
|
23095
23095
|
]),
|
|
23096
23096
|
ee("div", XE, [
|
|
23097
|
-
|
|
23097
|
+
je(a.$slots, "body", {}, () => [
|
|
23098
23098
|
ee("div", {
|
|
23099
23099
|
class: "bd-chat-cloud-card__message",
|
|
23100
23100
|
innerHTML: t.message
|
|
@@ -23102,7 +23102,7 @@ const Z4 = xn.create({
|
|
|
23102
23102
|
])
|
|
23103
23103
|
]),
|
|
23104
23104
|
ee("div", qE, [
|
|
23105
|
-
|
|
23105
|
+
je(a.$slots, "footer", {}, () => [
|
|
23106
23106
|
s.value ? (J(), Ge(Jc, {
|
|
23107
23107
|
key: 0,
|
|
23108
23108
|
files: s.value
|
|
@@ -23208,7 +23208,7 @@ const Z4 = xn.create({
|
|
|
23208
23208
|
}, [
|
|
23209
23209
|
(J(!0), te(rt, null, Bt(n.fields, (p) => (J(), te(rt, null, [
|
|
23210
23210
|
p.isVisible ? (J(), te("td", o6, [
|
|
23211
|
-
d.$slots.hasOwnProperty(p.key) ?
|
|
23211
|
+
d.$slots.hasOwnProperty(p.key) ? je(d.$slots, p.key, {
|
|
23212
23212
|
key: 0,
|
|
23213
23213
|
row: h,
|
|
23214
23214
|
item: h,
|
|
@@ -23279,7 +23279,7 @@ const Z4 = xn.create({
|
|
|
23279
23279
|
ref: l,
|
|
23280
23280
|
class: ["dropdown-menu", i.value]
|
|
23281
23281
|
}, o.value, { onClick: c }), [
|
|
23282
|
-
|
|
23282
|
+
je(u.$slots, "default")
|
|
23283
23283
|
], 16)
|
|
23284
23284
|
]));
|
|
23285
23285
|
}
|
|
@@ -23337,7 +23337,7 @@ const Z4 = xn.create({
|
|
|
23337
23337
|
}, 1032, ["to"]))), 256))
|
|
23338
23338
|
])) : He("", !0),
|
|
23339
23339
|
ee("div", p6, [
|
|
23340
|
-
|
|
23340
|
+
je(c.$slots, "profile-side"),
|
|
23341
23341
|
t.profileImageSrc ? (J(), Ge(Xo, {
|
|
23342
23342
|
key: 0,
|
|
23343
23343
|
src: t.profileImageSrc,
|
|
@@ -23368,7 +23368,7 @@ const Z4 = xn.create({
|
|
|
23368
23368
|
onSignout: o
|
|
23369
23369
|
}, {
|
|
23370
23370
|
"special-options": Re(() => [
|
|
23371
|
-
|
|
23371
|
+
je(c.$slots, "mobile-menu-special-options")
|
|
23372
23372
|
]),
|
|
23373
23373
|
_: 3
|
|
23374
23374
|
}, 8, ["active", "options"])
|
|
@@ -23403,7 +23403,7 @@ const Z4 = xn.create({
|
|
|
23403
23403
|
ee("div", b6, [
|
|
23404
23404
|
ee("div", E6, [
|
|
23405
23405
|
ee("h2", S6, Pe(t.title), 1),
|
|
23406
|
-
|
|
23406
|
+
je(i.$slots, "modal-header-space-between"),
|
|
23407
23407
|
ee("button", {
|
|
23408
23408
|
type: "button",
|
|
23409
23409
|
class: "btn-close w-auto",
|
|
@@ -23416,7 +23416,7 @@ const Z4 = xn.create({
|
|
|
23416
23416
|
])
|
|
23417
23417
|
]),
|
|
23418
23418
|
ee("div", w6, [
|
|
23419
|
-
|
|
23419
|
+
je(i.$slots, "default")
|
|
23420
23420
|
]),
|
|
23421
23421
|
i.hideFooter ? He("", !0) : (J(), te("div", T6, [
|
|
23422
23422
|
t.hideFooterSubmitButton ? He("", !0) : (J(), te("button", {
|
|
@@ -23426,6 +23426,7 @@ const Z4 = xn.create({
|
|
|
23426
23426
|
disabled: t.disableSubmitButton,
|
|
23427
23427
|
onClick: r
|
|
23428
23428
|
}, Pe(t.submitButtonTitle), 9, x6)),
|
|
23429
|
+
je(i.$slots, "buttons"),
|
|
23429
23430
|
t.hideFooterCancelButton ? He("", !0) : (J(), te("button", {
|
|
23430
23431
|
key: 1,
|
|
23431
23432
|
type: "button",
|
|
@@ -26519,7 +26520,7 @@ const ix = {
|
|
|
26519
26520
|
class: ["bd-btn", r.value]
|
|
26520
26521
|
}, i.value, { onClick: o }), {
|
|
26521
26522
|
default: Re(() => [
|
|
26522
|
-
|
|
26523
|
+
je(l.$slots, "default", {}, () => [
|
|
26523
26524
|
ct(Pe(t.text), 1)
|
|
26524
26525
|
])
|
|
26525
26526
|
]),
|
|
@@ -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 m7(){ze.scanner=s7(ze.customSchemes);for(let n=0;n<ze.tokenQueue.length;n++)ze.tokenQueue[n][1]({scanner:ze.scanner});ze.parser=u7(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 g7(n){return ze.initialized||m7(),d7(ze.parser.start,n,a7(ze.scanner.start,n))}function mc(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 hc(t),o=g7(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 y7(n){return new yt({key:new Ut("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=G3(t.doc,[...e]);if(rb(l).forEach(({newRange:c})=>{const u=Z3(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;mc(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=>{Tl(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 v7(n){return new yt({key:new Ut("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,i;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=Xf(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 yt({key:new Ut("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=mc(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 E7=en.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){vp(n);return}vp(n.scheme,n.optionalSlashes)})},onDestroy(){p7()},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",ft(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[Lo({find:n=>mc(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(y7({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(v7({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})}}}}),C7=It.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new yt({key:new Ut("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=_t.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)}}})]}}),S7=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,w7=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,k7=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,T7=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,A7=en.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",ft(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[ji({find:S7,type:this.type}),ji({find:k7,type:this.type})]},addPasteRules(){return[Lo({find:w7,type:this.type}),Lo({find:T7,type:this.type})]}}),x7=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,O7=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,M7=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,N7=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,_7=en.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",ft(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[ji({find:x7,type:this.type}),ji({find:M7,type:this.type})]},addPasteRules(){return[Lo({find:O7,type:this.type}),Lo({find:N7,type:this.type})]}}),I7=en.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",ft(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()}}}),D7=pn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ft(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)}}}),L7=pn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ft(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)}}}),bp=en.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",ft(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Hi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Ep=/^\s*([-+*])\s$/,R7=pn.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",ft(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(L7.name,this.editor.getAttributes(bp.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Wi({find:Ep,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Wi({find:Ep,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(bp.name),editor:this.editor})),[n]}}),B7=pn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ft(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=en.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",ft(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Hi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Sp=/^(\d+)\.\s$/,$7=pn.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",ft(this.options.HTMLAttributes,t),0]:["ol",ft(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(B7.name,this.editor.getAttributes(Cp.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Wi({find:Sp,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=Wi({find:Sp,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Cp.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),P7=pn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",ft(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()}}}),gc={BASIC:"basic",FULL:"full"},F7={class:"attachment-list"},V7={class:"attachment-link"},z7={key:1,class:"attachment-no-download"},H7=["href"],Fs=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",F7,[(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",V7,[r.showDelete?(d.openBlock(),d.createBlock(tt,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:d.withCtx(()=>[d.createVNode(d.unref(uo))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),r.noDownload?(d.openBlock(),d.createElementBlock("div",z7,[d.createVNode(d.unref(Zn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)])):(d.openBlock(),d.createElementBlock("a",{key:2,href:i.downloadUrl},[d.createVNode(d.unref(Zn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)],8,H7))])]))),128))]))}}),U7={class:"attachment-list"},j7={class:"attachment"},W7=["onClick"],K7=["src","alt"],Y7=["onClick"],G7=["href"],J7={class:"btn btn-light download-button-image"},Z7=["src","alt"],Vs=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",U7,[(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",j7,[i.showDelete?(d.openBlock(),d.createBlock(tt,{key:0,variant:"remove","aria-label":"verwijder",onClick:d.withModifiers(a=>r(l),["prevent"])},{default:d.withCtx(()=>[d.createVNode(d.unref(uo))]),_: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,K7)],8,W7)):(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",J7,[d.createVNode(d.unref(ri))])],8,G7)):d.createCommentVNode("",!0),d.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,Z7)],8,Y7))])]))),128))]))}}),wp=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),X7=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,Q7=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,q7=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,e8=(n,e)=>e?wp(n):!wp(n),zs=(n,e)=>n===void 0?void 0:n.filter(o=>e8(o,e)).map(o=>{const i=typeof o.CorrelationId=="string"?o.CorrelationId:o.CorrelationId!==void 0?o.CorrelationId.toString():"";return{downloadUrl:X7(o),previewUrl:Q7(o),fullImageUrl:q7(o),altName:`${o.Naam}`,...o,CorrelationId:i}}),t8={class:"bd-markdown-editor__menu-bottom"},n8={key:0,class:"vr"},r8={key:4,class:"vr"},o8={key:7,class:"vr"},kp=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:gc.BASIC},files:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=Xn(t,"modelValue",e),i=[JE,ZE,XE,C7.configure({placeholder:t.placeholder}),P7,E7.configure({openOnClick:!1,validate:N=>/^https?:\/\//i.test(N)})];t.variant===gc.FULL&&i.push(A7,_7,I7,D7,R7,$7);const s=GE({content:o.value,extensions:i,onUpdate:({editor:N})=>{const{view:T,state:z}=N,{from:U,to:j}=T.state.selection;if(z.doc.textBetween(U-1,j,"")==" "&&N.getAttributes("link").href!=null&&N.chain().setTextSelection({from:U-1,to:j}).toggleLink({href:N.getAttributes("link").href}).setTextSelection({from:j,to:j}).run(),N.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",N.getHTML())}});d.watch(()=>t.modelValue,N=>{s.value.getHTML()!==N&&s.value.commands.setContent(N,!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===gc.FULL),g=N=>s.value&&s.value.isActive(N)?"active":null,y=d.computed(()=>t.files&&t.files.length>0?zs(t.files,!1):null),C=d.computed(()=>t.files&&t.files.length>0?zs(t.files,!0):null),S=N=>{e("action",{name:"delete-attachment",obj:N})},k=N=>{e("action",{name:"image-attachment",obj:N})},b=()=>{const N=s.value.getAttributes("link").href,T=window.prompt("Enter a URL",N);if(T!==null){if(T===""){s.value.chain().focus().unsetLink().run();return}s.value.chain().focus().toggleLink({href:T}).run()}};return(N,T)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:d.normalizeClass(["bd-markdown-editor",l.value])},[d.createVNode(d.unref(YE),{editor:d.unref(s)},null,8,["editor"]),d.renderSlot(N.$slots,"default"),y.value?(d.openBlock(),d.createBlock(Fs,{key:0,files:y.value,"no-download":!0,"show-delete":!0,onDelete:S},null,8,["files"])):d.createCommentVNode("",!0),C.value?(d.openBlock(),d.createBlock(Vs,{key:1,files:C.value,"no-download":!0,"show-delete":!0,onDelete:S,onShow:k},null,8,["files"])):d.createCommentVNode("",!0),d.createElementVNode("div",t8,[d.createVNode(tt,{variant:"light",type:"button",onClick:r},{default:d.withCtx(()=>[d.createVNode(d.unref(Zn))]),_:1}),m.value?(d.openBlock(),d.createElementBlock("div",n8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{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(sa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{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(pa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{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(ba))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createElementBlock("div",r8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:5,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(aa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:6,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(ma))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createElementBlock("div",o8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:8,variant:"light",type:"button",class:d.normalizeClass(p.value),onClick:b},{default:d.withCtx(()=>[d.createVNode(d.unref(ha))]),_:1},8,["class"])):d.createCommentVNode("",!0)])],2),d.createVNode(d.unref(di),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),i8={class:"header"},s8=d.createElementVNode("div",null,"Menu",-1),a8={class:"icon-close-wrapper"},l8={class:"navbar"},c8={class:"nav navbar-nav w-100"},u8={class:"nav-item"},d8={class:"nav-item"},yc=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",i8,[s8,d.createElementVNode("div",a8,[d.createVNode(ni,{onClick:o})])]),d.createElementVNode("nav",l8,[d.createElementVNode("ul",c8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.options,a=>(d.openBlock(),d.createElementBlock("li",u8,[d.createVNode(wr,d.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),d.renderSlot(s.$slots,"special-options"),d.createElementVNode("li",d8,[d.createVNode(wr,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),f8={class:"bd-user"},h8={class:"bd-user__information"},p8={class:"text-break"},m8={class:"overflow-x-hidden"},Tp=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",f8,[e.hideImage?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(fo,d.mergeProps({key:0},e.img,{size:"sm"}),null,16)),d.createElementVNode("div",h8,[d.createElementVNode("header",null,[d.createElementVNode("h5",p8,d.toDisplayString(e.name),1),d.renderSlot(r.$slots,"header-extra")]),d.createElementVNode("span",m8,d.toDisplayString(t.value),1)])]))}}),vc="",Hs=n=>typeof n=="string"||n instanceof String,g8={class:"bd-chat-cloud-card"},y8={class:"bd-chat-cloud-card__header"},v8={class:"bd-chat-cloud-card__body"},b8=["innerHTML"],E8={class:"bd-chat-cloud-card__footer"},Ap=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":vc),o=d.computed(()=>zs(t.files,!1)),i=d.computed(()=>zs(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(fo,{src:t.src,size:"sm"},null,8,["src"]),d.createElementVNode("div",g8,[d.createElementVNode("div",y8,[d.renderSlot(a.$slots,"header",{},()=>[d.createTextVNode(d.toDisplayString(a.headerTitle),1)]),d.createVNode(tt,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:d.withCtx(()=>[d.createTextVNode("kopieer")]),_:1})]),d.createElementVNode("div",v8,[d.renderSlot(a.$slots,"body",{},()=>[d.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,b8)])]),d.createElementVNode("div",E8,[d.renderSlot(a.$slots,"footer",{},()=>[o.value?(d.openBlock(),d.createBlock(Fs,{key:0,files:o.value},null,8,["files"])):d.createCommentVNode("",!0),i.value?(d.openBlock(),d.createBlock(Vs,{key:1,files:i.value,onShow:l,"fast-download":!0},null,8,["files"])):d.createCommentVNode("",!0)])])])],2))}}),C8=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(ga),{key:0})):t.active&&r.value?(d.openBlock(),d.createBlock(d.unref(ya),{key:1})):(d.openBlock(),d.createBlock(d.unref(va),{key:2}))],2))}}),S8={class:"bd-table"},w8={key:0,class:"table"},k8={key:1},T8=["onClick"],A8={key:0},x8={key:1,class:"empty-text"},xp=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",S8,[r.items&&r.items.length>0?(d.openBlock(),d.createElementBlock("table",w8,[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(C8,{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",k8,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",A8,[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,T8))),256))])])):(d.openBlock(),d.createElementBlock("p",x8,d.toDisplayString(r.emptyText),1))]))}}),bc=d.defineComponent({__name:"BDDropdown",props:{size:{default:at.MD},variant:{default:si.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}=ho(),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)]))}}),O8={class:"row bd-header"},M8={class:"col logo-mix"},N8=["src","alt"],_8=d.createElementVNode("div",null,"Menu",-1),I8={key:0,class:"col header-options"},D8={class:"col bd-btn-settings"},L8="sm",Op=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",O8,[d.createElementVNode("div",M8,[d.createVNode(Ea,{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,N8)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[_8,d.createVNode(ii)]),t.headerOptions&&t.headerOptions.length!==0?(d.openBlock(),d.createElementBlock("div",I8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.headerOptions,f=>(d.openBlock(),d.createBlock(tt,{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",D8,[d.renderSlot(c.$slots,"profile-side"),t.profileImageSrc?(d.openBlock(),d.createBlock(fo,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:L8},null,8,["src","alt"])):d.createCommentVNode("",!0),d.createVNode(bc,{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(fi,d.mergeProps({key:h},f),null,16))),128)),d.createVNode(fi,{text:"Uitloggen",onClick:s})]),_:1},8,["text"])])]),d.createVNode(yc,{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))}}),R8={class:"modal bd-modal modal-lg",tabindex:"-1"},B8={class:"modal-dialog"},$8={class:"modal-content"},P8={class:"modal-header"},F8={class:"modal-title"},V8=d.createElementVNode("span",null,"Sluiten",-1),z8={class:"modal-body"},H8={key:0,class:"modal-footer"},U8=["disabled"],Mp=d.defineComponent({__name:"BDModal",props:{title:{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",R8,[d.createElementVNode("div",B8,[d.createElementVNode("div",$8,[d.createElementVNode("div",P8,[d.createElementVNode("h2",F8,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},[V8,d.createVNode(d.unref(ni),{class:"bg-primary"})])]),d.createElementVNode("div",z8,[d.renderSlot(i.$slots,"default")]),i.hideFooter?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",H8,[t.hideFooterSubmitButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},d.toDisplayString(t.submitButtonTitle),9,U8)),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))]))])])]))}}),j8={class:"template change-password-template"},W8={class:"template-title"},K8={key:0},Y8={key:1},G8=["onSubmit","onReset"],J8={class:"bd-form-field"},Z8={class:"bd-form-field"},X8={class:"bd-form-field"},Q8={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",j8,[d.createVNode(ti,{class:"container-xl"},{default:d.withCtx(()=>[d.createVNode(Jn,{class:"justify-content-md-center template-header"},{default:d.withCtx(()=>[d.createVNode(Gn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createElementVNode("h2",W8,d.toDisplayString(o.title),1)]),_:1})]),_:1}),d.createVNode(Jn,{class:"justify-content-md-center"},{default:d.withCtx(()=>[d.createVNode(Gn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createVNode(ui,{class:"bd-card-template",noHeader:!0},{body:d.withCtx(()=>[d.createVNode(ti,{class:"container-fluid"},{default:d.withCtx(()=>[d.createVNode(Jn,null,{default:d.withCtx(()=>[d.createVNode(Gn,null,{default:d.withCtx(()=>[d.createVNode(ai,{variant:"warning"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.alertText),1)]),_:1})]),_:1})]),_:1}),o.errorMessages||o.errorMessageText?(d.openBlock(),d.createBlock(Jn,{key:0},{default:d.withCtx(()=>[d.createVNode(Gn,null,{default:d.withCtx(()=>[d.createVNode(ai,{variant:"danger"},{default:d.withCtx(()=>[o.errorMessages?(d.openBlock(),d.createElementBlock("div",K8,[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(co),d.createTextVNode(" "+d.toDisplayString(s),1)]))),128))])])):(d.openBlock(),d.createElementBlock("div",Y8,d.toDisplayString(o.errorMessageText),1))]),_:1})]),_:1})]),_:1})):d.createCommentVNode("",!0),d.createVNode(Jn,null,{default:d.withCtx(()=>[d.createVNode(Gn,{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",J8,[d.createVNode(mo,{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",Z8,[d.createVNode(mo,{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",X8,[d.createVNode(mo,{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",Q8,[d.createVNode(tt,{type:"submit"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.submitButtonText),1)]),_:1}),d.createVNode(tt,{type:"reset",variant:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.cancelButtonText),1)]),_:1})])],40,G8)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_: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()}}}),gc={BASIC:"basic",FULL:"full"},F7={class:"attachment-list"},V7={class:"attachment-link"},z7={key:1,class:"attachment-no-download"},H7=["href"],Fs=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",F7,[(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",V7,[r.showDelete?(d.openBlock(),d.createBlock(tt,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:d.withCtx(()=>[d.createVNode(d.unref(uo))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),r.noDownload?(d.openBlock(),d.createElementBlock("div",z7,[d.createVNode(d.unref(Zn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)])):(d.openBlock(),d.createElementBlock("a",{key:2,href:i.downloadUrl},[d.createVNode(d.unref(Zn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)],8,H7))])]))),128))]))}}),U7={class:"attachment-list"},j7={class:"attachment"},W7=["onClick"],K7=["src","alt"],Y7=["onClick"],G7=["href"],J7={class:"btn btn-light download-button-image"},Z7=["src","alt"],Vs=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",U7,[(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",j7,[i.showDelete?(d.openBlock(),d.createBlock(tt,{key:0,variant:"remove","aria-label":"verwijder",onClick:d.withModifiers(a=>r(l),["prevent"])},{default:d.withCtx(()=>[d.createVNode(d.unref(uo))]),_: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,K7)],8,W7)):(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",J7,[d.createVNode(d.unref(ri))])],8,G7)):d.createCommentVNode("",!0),d.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,Z7)],8,Y7))])]))),128))]))}}),wp=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),X7=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,Q7=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,q7=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,e8=(n,e)=>e?wp(n):!wp(n),zs=(n,e)=>n===void 0?void 0:n.filter(o=>e8(o,e)).map(o=>{const i=typeof o.CorrelationId=="string"?o.CorrelationId:o.CorrelationId!==void 0?o.CorrelationId.toString():"";return{downloadUrl:X7(o),previewUrl:Q7(o),fullImageUrl:q7(o),altName:`${o.Naam}`,...o,CorrelationId:i}}),t8={class:"bd-markdown-editor__menu-bottom"},n8={key:0,class:"vr"},r8={key:4,class:"vr"},o8={key:7,class:"vr"},kp=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:gc.BASIC},files:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=Xn(t,"modelValue",e),i=[JE,ZE,XE,C7.configure({placeholder:t.placeholder}),P7,E7.configure({openOnClick:!1,validate:N=>/^https?:\/\//i.test(N)})];t.variant===gc.FULL&&i.push(A7,_7,I7,D7,R7,$7);const s=GE({content:o.value,extensions:i,onUpdate:({editor:N})=>{const{view:T,state:z}=N,{from:U,to:j}=T.state.selection;if(z.doc.textBetween(U-1,j,"")==" "&&N.getAttributes("link").href!=null&&N.chain().setTextSelection({from:U-1,to:j}).toggleLink({href:N.getAttributes("link").href}).setTextSelection({from:j,to:j}).run(),N.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",N.getHTML())}});d.watch(()=>t.modelValue,N=>{s.value.getHTML()!==N&&s.value.commands.setContent(N,!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===gc.FULL),g=N=>s.value&&s.value.isActive(N)?"active":null,y=d.computed(()=>t.files&&t.files.length>0?zs(t.files,!1):null),C=d.computed(()=>t.files&&t.files.length>0?zs(t.files,!0):null),S=N=>{e("action",{name:"delete-attachment",obj:N})},k=N=>{e("action",{name:"image-attachment",obj:N})},b=()=>{const N=s.value.getAttributes("link").href,T=window.prompt("Enter a URL",N);if(T!==null){if(T===""){s.value.chain().focus().unsetLink().run();return}s.value.chain().focus().toggleLink({href:T}).run()}};return(N,T)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:d.normalizeClass(["bd-markdown-editor",l.value])},[d.createVNode(d.unref(YE),{editor:d.unref(s)},null,8,["editor"]),d.renderSlot(N.$slots,"default"),y.value?(d.openBlock(),d.createBlock(Fs,{key:0,files:y.value,"no-download":!0,"show-delete":!0,onDelete:S},null,8,["files"])):d.createCommentVNode("",!0),C.value?(d.openBlock(),d.createBlock(Vs,{key:1,files:C.value,"no-download":!0,"show-delete":!0,onDelete:S,onShow:k},null,8,["files"])):d.createCommentVNode("",!0),d.createElementVNode("div",t8,[d.createVNode(tt,{variant:"light",type:"button",onClick:r},{default:d.withCtx(()=>[d.createVNode(d.unref(Zn))]),_:1}),m.value?(d.openBlock(),d.createElementBlock("div",n8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{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(sa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{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(pa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{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(ba))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createElementBlock("div",r8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:5,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(aa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:6,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(ma))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createElementBlock("div",o8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:8,variant:"light",type:"button",class:d.normalizeClass(p.value),onClick:b},{default:d.withCtx(()=>[d.createVNode(d.unref(ha))]),_:1},8,["class"])):d.createCommentVNode("",!0)])],2),d.createVNode(d.unref(di),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),i8={class:"header"},s8=d.createElementVNode("div",null,"Menu",-1),a8={class:"icon-close-wrapper"},l8={class:"navbar"},c8={class:"nav navbar-nav w-100"},u8={class:"nav-item"},d8={class:"nav-item"},yc=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",i8,[s8,d.createElementVNode("div",a8,[d.createVNode(ni,{onClick:o})])]),d.createElementVNode("nav",l8,[d.createElementVNode("ul",c8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.options,a=>(d.openBlock(),d.createElementBlock("li",u8,[d.createVNode(wr,d.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),d.renderSlot(s.$slots,"special-options"),d.createElementVNode("li",d8,[d.createVNode(wr,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),f8={class:"bd-user"},h8={class:"bd-user__information"},p8={class:"text-break"},m8={class:"overflow-x-hidden"},Tp=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",f8,[e.hideImage?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(fo,d.mergeProps({key:0},e.img,{size:"sm"}),null,16)),d.createElementVNode("div",h8,[d.createElementVNode("header",null,[d.createElementVNode("h5",p8,d.toDisplayString(e.name),1),d.renderSlot(r.$slots,"header-extra")]),d.createElementVNode("span",m8,d.toDisplayString(t.value),1)])]))}}),vc="",Hs=n=>typeof n=="string"||n instanceof String,g8={class:"bd-chat-cloud-card"},y8={class:"bd-chat-cloud-card__header"},v8={class:"bd-chat-cloud-card__body"},b8=["innerHTML"],E8={class:"bd-chat-cloud-card__footer"},Ap=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":vc),o=d.computed(()=>zs(t.files,!1)),i=d.computed(()=>zs(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(fo,{src:t.src,size:"sm"},null,8,["src"]),d.createElementVNode("div",g8,[d.createElementVNode("div",y8,[d.renderSlot(a.$slots,"header",{},()=>[d.createTextVNode(d.toDisplayString(a.headerTitle),1)]),d.createVNode(tt,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:d.withCtx(()=>[d.createTextVNode("kopieer")]),_:1})]),d.createElementVNode("div",v8,[d.renderSlot(a.$slots,"body",{},()=>[d.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,b8)])]),d.createElementVNode("div",E8,[d.renderSlot(a.$slots,"footer",{},()=>[o.value?(d.openBlock(),d.createBlock(Fs,{key:0,files:o.value},null,8,["files"])):d.createCommentVNode("",!0),i.value?(d.openBlock(),d.createBlock(Vs,{key:1,files:i.value,onShow:l,"fast-download":!0},null,8,["files"])):d.createCommentVNode("",!0)])])])],2))}}),C8=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(ga),{key:0})):t.active&&r.value?(d.openBlock(),d.createBlock(d.unref(ya),{key:1})):(d.openBlock(),d.createBlock(d.unref(va),{key:2}))],2))}}),S8={class:"bd-table"},w8={key:0,class:"table"},k8={key:1},T8=["onClick"],A8={key:0},x8={key:1,class:"empty-text"},xp=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",S8,[r.items&&r.items.length>0?(d.openBlock(),d.createElementBlock("table",w8,[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(C8,{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",k8,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",A8,[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,T8))),256))])])):(d.openBlock(),d.createElementBlock("p",x8,d.toDisplayString(r.emptyText),1))]))}}),bc=d.defineComponent({__name:"BDDropdown",props:{size:{default:at.MD},variant:{default:si.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}=ho(),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)]))}}),O8={class:"row bd-header"},M8={class:"col logo-mix"},N8=["src","alt"],_8=d.createElementVNode("div",null,"Menu",-1),I8={key:0,class:"col header-options"},D8={class:"col bd-btn-settings"},L8="sm",Op=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",O8,[d.createElementVNode("div",M8,[d.createVNode(Ea,{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,N8)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[_8,d.createVNode(ii)]),t.headerOptions&&t.headerOptions.length!==0?(d.openBlock(),d.createElementBlock("div",I8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.headerOptions,f=>(d.openBlock(),d.createBlock(tt,{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",D8,[d.renderSlot(c.$slots,"profile-side"),t.profileImageSrc?(d.openBlock(),d.createBlock(fo,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:L8},null,8,["src","alt"])):d.createCommentVNode("",!0),d.createVNode(bc,{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(fi,d.mergeProps({key:h},f),null,16))),128)),d.createVNode(fi,{text:"Uitloggen",onClick:s})]),_:1},8,["text"])])]),d.createVNode(yc,{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))}}),R8={class:"modal bd-modal modal-lg",tabindex:"-1"},B8={class:"modal-dialog"},$8={class:"modal-content"},P8={class:"modal-header"},F8={class:"modal-title"},V8=d.createElementVNode("span",null,"Sluiten",-1),z8={class:"modal-body"},H8={key:0,class:"modal-footer"},U8=["disabled"],Mp=d.defineComponent({__name:"BDModal",props:{title:{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",R8,[d.createElementVNode("div",B8,[d.createElementVNode("div",$8,[d.createElementVNode("div",P8,[d.createElementVNode("h2",F8,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},[V8,d.createVNode(d.unref(ni),{class:"bg-primary"})])]),d.createElementVNode("div",z8,[d.renderSlot(i.$slots,"default")]),i.hideFooter?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",H8,[t.hideFooterSubmitButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},d.toDisplayString(t.submitButtonTitle),9,U8)),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))]))])])]))}}),j8={class:"template change-password-template"},W8={class:"template-title"},K8={key:0},Y8={key:1},G8=["onSubmit","onReset"],J8={class:"bd-form-field"},Z8={class:"bd-form-field"},X8={class:"bd-form-field"},Q8={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",j8,[d.createVNode(ti,{class:"container-xl"},{default:d.withCtx(()=>[d.createVNode(Jn,{class:"justify-content-md-center template-header"},{default:d.withCtx(()=>[d.createVNode(Gn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createElementVNode("h2",W8,d.toDisplayString(o.title),1)]),_:1})]),_:1}),d.createVNode(Jn,{class:"justify-content-md-center"},{default:d.withCtx(()=>[d.createVNode(Gn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createVNode(ui,{class:"bd-card-template",noHeader:!0},{body:d.withCtx(()=>[d.createVNode(ti,{class:"container-fluid"},{default:d.withCtx(()=>[d.createVNode(Jn,null,{default:d.withCtx(()=>[d.createVNode(Gn,null,{default:d.withCtx(()=>[d.createVNode(ai,{variant:"warning"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.alertText),1)]),_:1})]),_:1})]),_:1}),o.errorMessages||o.errorMessageText?(d.openBlock(),d.createBlock(Jn,{key:0},{default:d.withCtx(()=>[d.createVNode(Gn,null,{default:d.withCtx(()=>[d.createVNode(ai,{variant:"danger"},{default:d.withCtx(()=>[o.errorMessages?(d.openBlock(),d.createElementBlock("div",K8,[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(co),d.createTextVNode(" "+d.toDisplayString(s),1)]))),128))])])):(d.openBlock(),d.createElementBlock("div",Y8,d.toDisplayString(o.errorMessageText),1))]),_:1})]),_:1})]),_:1})):d.createCommentVNode("",!0),d.createVNode(Jn,null,{default:d.withCtx(()=>[d.createVNode(Gn,{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",J8,[d.createVNode(mo,{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",Z8,[d.createVNode(mo,{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",X8,[d.createVNode(mo,{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",Q8,[d.createVNode(tt,{type:"submit"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.submitButtonText),1)]),_:1}),d.createVNode(tt,{type:"reset",variant:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.cancelButtonText),1)]),_:1})])],40,G8)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_: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)
|
package/dist/scss/_modal.scss
CHANGED
|
@@ -66,6 +66,18 @@
|
|
|
66
66
|
.modal-footer {
|
|
67
67
|
justify-content: flex-start;
|
|
68
68
|
|
|
69
|
+
button {
|
|
70
|
+
margin: 0 2px;
|
|
71
|
+
|
|
72
|
+
&:first-child {
|
|
73
|
+
margin-left: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:last-child {
|
|
77
|
+
margin-right: 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
69
81
|
@include media-breakpoint-up(md) {
|
|
70
82
|
padding: 30px 65px;
|
|
71
83
|
}
|
|
@@ -76,8 +88,17 @@
|
|
|
76
88
|
justify-content: center;
|
|
77
89
|
padding: .75rem;
|
|
78
90
|
|
|
79
|
-
>
|
|
91
|
+
> button {
|
|
80
92
|
width: 100%;
|
|
93
|
+
margin: 2px 0;
|
|
94
|
+
|
|
95
|
+
&:first-child {
|
|
96
|
+
margin-top: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:last-child {
|
|
100
|
+
margin-bottom: 0;
|
|
101
|
+
}
|
|
81
102
|
}
|
|
82
103
|
}
|
|
83
104
|
}
|