@beterdichtbij/component-library 0.58.4 → 0.59.0
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.
- package/dist/bd-component-lib.cjs.js +49 -49
- package/dist/bd-component-lib.css +1 -1
- package/dist/bd-component-lib.es.js +153 -145
- package/dist/bd-component-lib.umd.js +3 -3
- package/dist/scss/_content-library-card-message-template.scss +128 -0
- package/dist/scss/_content-library-card.scss +0 -118
- package/dist/scss/_content-library-overview.scss +1 -1
- package/dist/scss/component-library-styling.scss +1 -0
- package/dist/scss/templates/_content-library-template.scss +5 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`vue`)):typeof define==`function`&&define.amd?define([`exports`,`vue`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.BDComponentLibrary={},e.Vue))})(this,function(e,t){var n=document.createElement(`style`);n.textContent=`:root{--vs-colors--lightest:#3c3c3c42;--vs-colors--light:#3c3c3c80;--vs-colors--dark:#333;--vs-colors--darkest:#00000026;--vs-search-input-color:inherit;--vs-search-input-placeholder-color:inherit;--vs-font-size:1rem;--vs-line-height:1.4;--vs-state-disabled-bg:#f8f8f8;--vs-state-disabled-color:var(--vs-colors--light);--vs-state-disabled-controls-color:var(--vs-colors--light);--vs-state-disabled-cursor:not-allowed;--vs-border-color:var(--vs-colors--lightest);--vs-border-width:1px;--vs-border-style:solid;--vs-border-radius:4px;--vs-actions-padding:4px 6px 0 3px;--vs-controls-color:var(--vs-colors--light);--vs-controls-size:1;--vs-controls--deselect-text-shadow:0 1px 0 #fff;--vs-selected-bg:#f0f0f0;--vs-selected-color:var(--vs-colors--dark);--vs-selected-border-color:var(--vs-border-color);--vs-selected-border-style:var(--vs-border-style);--vs-selected-border-width:var(--vs-border-width);--vs-dropdown-bg:#fff;--vs-dropdown-color:inherit;--vs-dropdown-z-index:1000;--vs-dropdown-min-width:160px;--vs-dropdown-max-height:350px;--vs-dropdown-box-shadow:0px 3px 6px 0px var(--vs-colors--darkest);--vs-dropdown-option-bg:#000;--vs-dropdown-option-color:var(--vs-dropdown-color);--vs-dropdown-option-padding:3px 20px;--vs-dropdown-option--active-bg:#5897fb;--vs-dropdown-option--active-color:#fff;--vs-dropdown-option--deselect-bg:#fb5858;--vs-dropdown-option--deselect-color:#fff;--vs-transition-timing-function:cubic-bezier(1, -.115, .975, .855);--vs-transition-duration:.15s}.v-select{font-family:inherit;position:relative}.v-select,.v-select *{box-sizing:border-box}:root{--vs-transition-timing-function:cubic-bezier(1, .5, .8, 1);--vs-transition-duration:.15s}@keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;transition:opacity var(--vs-transition-duration) var(--vs-transition-timing-function)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}:root{--vs-disabled-bg:var(--vs-state-disabled-bg);--vs-disabled-color:var(--vs-state-disabled-color);--vs-disabled-cursor:var(--vs-state-disabled-cursor)}.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__clear,.vs--disabled .vs__search,.vs--disabled .vs__selected,.vs--disabled .vs__open-indicator{cursor:var(--vs-disabled-cursor);background-color:var(--vs-disabled-bg)}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{appearance:none;border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:var(--vs-border-radius);white-space:normal;background:0 0;padding:0 0 4px;display:flex}.vs__selected-options{flex-wrap:wrap;flex-grow:1;flex-basis:100%;padding:0 2px;display:flex;position:relative}.vs__actions{padding:var(--vs-actions-padding);align-items:center;display:flex}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:#0000;border-bottom-right-radius:0;border-bottom-left-radius:0}.vs__open-indicator{fill:var(--vs-controls-color);transform:scale(var(--vs-controls-size));transition:transform var(--vs-transition-duration) var(--vs-transition-timing-function);transition-timing-function:var(--vs-transition-timing-function)}.vs--open .vs__open-indicator{transform:rotate(180deg) scale(var(--vs-controls-size))}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:var(--vs-controls-color);cursor:pointer;background-color:#0000;border:0;margin-right:8px;padding:0}.vs__dropdown-menu{box-sizing:border-box;top:calc(100% - var(--vs-border-width));z-index:var(--vs-dropdown-z-index);width:100%;max-height:var(--vs-dropdown-max-height);min-width:var(--vs-dropdown-min-width);box-shadow:var(--vs-dropdown-box-shadow);border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);text-align:left;background:var(--vs-dropdown-bg);color:var(--vs-dropdown-color);border-top-style:none;margin:0;padding:5px 0;list-style:none;display:block;position:absolute;left:0;overflow-y:auto}.vs__no-options{text-align:center}.vs__dropdown-option{padding:var(--vs-dropdown-option-padding);clear:both;color:var(--vs-dropdown-option-color);white-space:nowrap;cursor:pointer;line-height:1.42857;display:block}.vs__dropdown-option--highlight{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-option--deselect{background:var(--vs-dropdown-option--deselect-bg);color:var(--vs-dropdown-option--deselect-color)}.vs__dropdown-option--disabled{background:var(--vs-state-disabled-bg);color:var(--vs-state-disabled-color);cursor:var(--vs-state-disabled-cursor)}.vs__selected{background-color:var(--vs-selected-bg);border:var(--vs-selected-border-width) var(--vs-selected-border-style) var(--vs-selected-border-color);border-radius:var(--vs-border-radius);color:var(--vs-selected-color);line-height:var(--vs-line-height);z-index:0;align-items:center;margin:4px 2px 0;padding:0 .25em;display:flex}.vs__deselect{appearance:none;cursor:pointer;fill:var(--vs-controls-color);text-shadow:var(--vs-controls--deselect-text-shadow);background:0 0;border:0;margin-left:4px;padding:0;display:inline-flex}.vs--single .vs__selected{background-color:#0000;border-color:#0000}.vs--single.vs--open .vs__selected,.vs--single.vs--loading .vs__selected{opacity:.4;position:absolute}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-webkit-search-decoration{display:none}.vs__search::-webkit-search-results-button{display:none}.vs__search::-webkit-search-results-decoration{display:none}.vs__search::-ms-clear{display:none}.vs__search,.vs__search:focus{color:var(--vs-search-input-color);appearance:none;line-height:var(--vs-line-height);font-size:var(--vs-font-size);box-shadow:none;z-index:1;background:0 0;border:1px solid #0000;border-left:none;outline:none;flex-grow:1;width:0;max-width:100%;margin:4px 0 0;padding:0 7px}.vs__search::placeholder{color:var(--vs-search-input-placeholder-color)}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{opacity:0;text-indent:-9999em;transform:translateZ(0) scale(var(--vs-controls--spinner-size,var(--vs-controls-size)));border:.9em solid #6464641a;border-left-color:#3c3c3c73;align-self:center;font-size:5px;transition:opacity .1s;animation:1.1s linear infinite vSelectSpinner;overflow:hidden}.vs__spinner,.vs__spinner:after{width:5em;height:5em;transform:scale(var(--vs-controls--spinner-size,var(--vs-controls-size)));border-radius:50%}.vs--loading .vs__spinner{opacity:1}.alert[data-v-
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`vue`)):typeof define==`function`&&define.amd?define([`exports`,`vue`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.BDComponentLibrary={},e.Vue))})(this,function(e,t){var n=document.createElement(`style`);n.textContent=`:root{--vs-colors--lightest:#3c3c3c42;--vs-colors--light:#3c3c3c80;--vs-colors--dark:#333;--vs-colors--darkest:#00000026;--vs-search-input-color:inherit;--vs-search-input-placeholder-color:inherit;--vs-font-size:1rem;--vs-line-height:1.4;--vs-state-disabled-bg:#f8f8f8;--vs-state-disabled-color:var(--vs-colors--light);--vs-state-disabled-controls-color:var(--vs-colors--light);--vs-state-disabled-cursor:not-allowed;--vs-border-color:var(--vs-colors--lightest);--vs-border-width:1px;--vs-border-style:solid;--vs-border-radius:4px;--vs-actions-padding:4px 6px 0 3px;--vs-controls-color:var(--vs-colors--light);--vs-controls-size:1;--vs-controls--deselect-text-shadow:0 1px 0 #fff;--vs-selected-bg:#f0f0f0;--vs-selected-color:var(--vs-colors--dark);--vs-selected-border-color:var(--vs-border-color);--vs-selected-border-style:var(--vs-border-style);--vs-selected-border-width:var(--vs-border-width);--vs-dropdown-bg:#fff;--vs-dropdown-color:inherit;--vs-dropdown-z-index:1000;--vs-dropdown-min-width:160px;--vs-dropdown-max-height:350px;--vs-dropdown-box-shadow:0px 3px 6px 0px var(--vs-colors--darkest);--vs-dropdown-option-bg:#000;--vs-dropdown-option-color:var(--vs-dropdown-color);--vs-dropdown-option-padding:3px 20px;--vs-dropdown-option--active-bg:#5897fb;--vs-dropdown-option--active-color:#fff;--vs-dropdown-option--deselect-bg:#fb5858;--vs-dropdown-option--deselect-color:#fff;--vs-transition-timing-function:cubic-bezier(1, -.115, .975, .855);--vs-transition-duration:.15s}.v-select{font-family:inherit;position:relative}.v-select,.v-select *{box-sizing:border-box}:root{--vs-transition-timing-function:cubic-bezier(1, .5, .8, 1);--vs-transition-duration:.15s}@keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;transition:opacity var(--vs-transition-duration) var(--vs-transition-timing-function)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}:root{--vs-disabled-bg:var(--vs-state-disabled-bg);--vs-disabled-color:var(--vs-state-disabled-color);--vs-disabled-cursor:var(--vs-state-disabled-cursor)}.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__clear,.vs--disabled .vs__search,.vs--disabled .vs__selected,.vs--disabled .vs__open-indicator{cursor:var(--vs-disabled-cursor);background-color:var(--vs-disabled-bg)}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{appearance:none;border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:var(--vs-border-radius);white-space:normal;background:0 0;padding:0 0 4px;display:flex}.vs__selected-options{flex-wrap:wrap;flex-grow:1;flex-basis:100%;padding:0 2px;display:flex;position:relative}.vs__actions{padding:var(--vs-actions-padding);align-items:center;display:flex}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:#0000;border-bottom-right-radius:0;border-bottom-left-radius:0}.vs__open-indicator{fill:var(--vs-controls-color);transform:scale(var(--vs-controls-size));transition:transform var(--vs-transition-duration) var(--vs-transition-timing-function);transition-timing-function:var(--vs-transition-timing-function)}.vs--open .vs__open-indicator{transform:rotate(180deg) scale(var(--vs-controls-size))}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:var(--vs-controls-color);cursor:pointer;background-color:#0000;border:0;margin-right:8px;padding:0}.vs__dropdown-menu{box-sizing:border-box;top:calc(100% - var(--vs-border-width));z-index:var(--vs-dropdown-z-index);width:100%;max-height:var(--vs-dropdown-max-height);min-width:var(--vs-dropdown-min-width);box-shadow:var(--vs-dropdown-box-shadow);border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);text-align:left;background:var(--vs-dropdown-bg);color:var(--vs-dropdown-color);border-top-style:none;margin:0;padding:5px 0;list-style:none;display:block;position:absolute;left:0;overflow-y:auto}.vs__no-options{text-align:center}.vs__dropdown-option{padding:var(--vs-dropdown-option-padding);clear:both;color:var(--vs-dropdown-option-color);white-space:nowrap;cursor:pointer;line-height:1.42857;display:block}.vs__dropdown-option--highlight{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-option--deselect{background:var(--vs-dropdown-option--deselect-bg);color:var(--vs-dropdown-option--deselect-color)}.vs__dropdown-option--disabled{background:var(--vs-state-disabled-bg);color:var(--vs-state-disabled-color);cursor:var(--vs-state-disabled-cursor)}.vs__selected{background-color:var(--vs-selected-bg);border:var(--vs-selected-border-width) var(--vs-selected-border-style) var(--vs-selected-border-color);border-radius:var(--vs-border-radius);color:var(--vs-selected-color);line-height:var(--vs-line-height);z-index:0;align-items:center;margin:4px 2px 0;padding:0 .25em;display:flex}.vs__deselect{appearance:none;cursor:pointer;fill:var(--vs-controls-color);text-shadow:var(--vs-controls--deselect-text-shadow);background:0 0;border:0;margin-left:4px;padding:0;display:inline-flex}.vs--single .vs__selected{background-color:#0000;border-color:#0000}.vs--single.vs--open .vs__selected,.vs--single.vs--loading .vs__selected{opacity:.4;position:absolute}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-webkit-search-decoration{display:none}.vs__search::-webkit-search-results-button{display:none}.vs__search::-webkit-search-results-decoration{display:none}.vs__search::-ms-clear{display:none}.vs__search,.vs__search:focus{color:var(--vs-search-input-color);appearance:none;line-height:var(--vs-line-height);font-size:var(--vs-font-size);box-shadow:none;z-index:1;background:0 0;border:1px solid #0000;border-left:none;outline:none;flex-grow:1;width:0;max-width:100%;margin:4px 0 0;padding:0 7px}.vs__search::placeholder{color:var(--vs-search-input-placeholder-color)}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{opacity:0;text-indent:-9999em;transform:translateZ(0) scale(var(--vs-controls--spinner-size,var(--vs-controls-size)));border:.9em solid #6464641a;border-left-color:#3c3c3c73;align-self:center;font-size:5px;transition:opacity .1s;animation:1.1s linear infinite vSelectSpinner;overflow:hidden}.vs__spinner,.vs__spinner:after{width:5em;height:5em;transform:scale(var(--vs-controls--spinner-size,var(--vs-controls-size)));border-radius:50%}.vs--loading .vs__spinner{opacity:1}.alert[data-v-7c017b1d]{text-align:center}
|
|
2
2
|
/*$vite$:1*/`,document.head.appendChild(n),Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),u=(e,t)=>{let n={};for(var r in e)i(n,r,{get:e[r],enumerable:!0});return t||i(n,Symbol.toStringTag,{value:`Module`}),n},d=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var s=o(t),l=0,u=s.length,d;l<u;l++)d=s[l],!c.call(e,d)&&d!==n&&i(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=a(t,d))||r.enumerable});return e},f=(e,t,n)=>(n=e==null?{}:r(s(e)),d(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e));t=f(t);var p=(0,t.defineComponent)({__name:`BDCol`,props:{class:{},cols:{},xs:{},sm:{},md:{},lg:{},xl:{},xxl:{},orderClass:{},offsetClass:{}},setup(e){let n=e,r=(0,t.computed)(()=>({col:!n.cols&&!n.xs&&!n.sm&&!n.md&&!n.lg&&!n.xxl,[`col-${n.cols}`]:n.cols,[`col-xs-${n.xs}`]:n.xs,[`col-sm-${n.sm}`]:n.sm,[`col-md-${n.md}`]:n.md,[`col-lg-${n.lg}`]:n.lg,[`col-xl-${n.xl}`]:n.xl,[`col-xxl-${n.xxl}`]:n.xxl,[`${n.orderClass}`]:n.orderClass,[`${n.offsetClass}`]:n.offsetClass,[`${n.class}`]:n.class}));return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)(r.value)},[(0,t.renderSlot)(e.$slots,`default`)],2))}}),m=(0,t.defineComponent)({__name:`BDContainer`,props:{class:{default:``},fluid:{type:Boolean,default:!1}},setup(e){let n=e,r=(0,t.computed)(()=>({container:!n.fluid,"container-fluid":n.fluid===!0,[`container-${n.fluid}`]:n.fluid&&n.fluid!==!0,[n.class]:!0}));return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)(r.value)},[(0,t.renderSlot)(e.$slots,`default`)],2))}}),h=(0,t.defineComponent)({__name:`BDRow`,props:{class:{}},setup(e){return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`row`,e.class])},[(0,t.renderSlot)(n.$slots,`default`)],2))}}),g={XS:`xs`,SM:`sm`,MD:`md`,LG:`lg`,XL:`xl`},_=(0,t.defineComponent)({__name:`BDLink`,props:{to:{default:``},target:{default:`_blank`},text:{default:void 0},rel:{default:`noopener noreferrer`}},setup(e){let n=e,r=/^https:/i,i=(0,t.computed)(()=>typeof n.to==`string`&&r.test(n.to)?`a`:typeof n.to!=`string`&&typeof(0,t.resolveComponent)(`router-link`)!=`string`?`router-link`:`div`),a=(0,t.computed)(()=>{if(typeof n.to==`string`&&r.test(n.to)){let{to:e,target:t,rel:r}=n;return{href:e,target:t,rel:r}}else{let{to:e}=n;return{to:e}}});return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(i.value),(0,t.mergeProps)({class:`bd-link`},a.value),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(n.text),1)])]),_:3},16))}}),v=(0,t.defineComponent)({__name:`BDButton`,props:{size:{default:g.MD},variant:{default:{PRIMARY:`primary`,SECONDARY:`secondary`,COLLEAGUE:`colleague`,SUCCESS:`success`,DANGER:`danger`,OUT_PRIMARY:`outline-primary`,OUT_PRIMARY_DARK:`outline-primary-dark`,OUT_TERTIARY:`outline-tertiary`,OUT_LINK:`link`,LIGHT:`light`,DARK:`dark`,REMOVE:`remove`,NEUTRAL:`neutral`,ICON:`icon`}.PRIMARY},blockElement:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{},target:{},text:{},rel:{}},emits:[`click`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.computed)(()=>({btn:!0,[`btn-${r.variant}`]:r.variant,[`btn-${r.size}`]:!0,"d-grid":r.blockElement&&typeof r.to==`string`,disabled:r.disabled})),o=(0,t.computed)(()=>r.to?_:`button`),s=(0,t.computed)(()=>{let e={};return r.to?(e.to=r.to,e.role=`button`):e.type=`submit`,e}),c=e=>{i(`click`,e)};return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(o.value),(0,t.mergeProps)({class:[`bd-btn`,a.value]},s.value,{onClick:c}),{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r.text),1)])]),_:3},16,[`class`]))}}),y=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},b={};function x(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,(0,t.mergeProps)({class:`bd-logo`},e.$attrs,{version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`}),[...n[0]||=[(0,t.createStaticVNode)(`<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)]],16)}var S=y(b,[[`render`,x]]),C={},w={class:`icon icon-academy`,viewBox:`0 0 40 40`,xmlns:`http://www.w3.org/2000/svg`};function T(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,w,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M30.6523 16.0664C31.0039 16.207 31.25 16.5234 31.25 16.875C31.25 17.2617 31.0039 17.5781 30.6523 17.7188L20.7383 21.2695C20.4922 21.3398 20.2461 21.375 20 21.375C19.7188 21.375 19.4727 21.3398 19.2266 21.2695L12.5469 18.8789C12.125 19.3359 11.8086 19.8984 11.668 20.5312C11.9141 20.707 12.125 21.0234 12.125 21.375C12.125 21.7266 11.9492 22.043 11.7031 22.2539L12.5469 27.4922C12.6172 27.8438 12.3359 28.125 12.0195 28.125H9.94531C9.62891 28.125 9.34766 27.8438 9.41797 27.4922L10.2617 22.2539C10.0156 22.043 9.875 21.7266 9.875 21.375C9.875 20.918 10.1562 20.5312 10.543 20.3555C10.6836 19.6523 11 19.0195 11.4219 18.457L9.3125 17.7188C8.96094 17.5781 8.75 17.2617 8.75 16.875C8.75 16.5234 8.96094 16.207 9.3125 16.0664L19.2266 12.5156C19.4727 12.4453 19.7188 12.375 20 12.375C20.2461 12.375 20.4922 12.4453 20.7031 12.5156L30.6523 16.0664ZM20.1758 19.6875L27.9453 16.875L20.1406 14.0977C20.0703 14.0977 19.9297 14.0625 19.7891 14.0977L12.0195 16.875L13.1445 17.2969L19.8242 15.2227C20.1055 15.1172 20.4219 15.293 20.5273 15.6094C20.5977 15.8906 20.457 16.207 20.1406 16.3125L14.9023 17.9297L19.8242 19.6875C19.8594 19.6875 20 19.7227 20.1758 19.6875ZM24.6406 21.0586L26.2578 20.4961L26.7148 24.9258C26.75 27.0703 23.3398 28.125 20 28.125C16.625 28.125 13.25 27.0703 13.25 24.9258L13.707 20.4961L15.3242 21.0586L14.9375 24.9961C14.9375 25.3828 16.6602 26.4375 20 26.4375C23.3047 26.4375 25.0625 25.3828 25.0625 24.9961L24.6406 21.0586Z`},null,-1)]])}var E=y(C,[[`render`,T]]),D={},O={class:`icon`,viewBox:`0 0 20 20`,height:`20`,width:`20`,xmlns:`http://www.w3.org/2000/svg`};function k(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,O,[...n[0]||=[(0,t.createElementVNode)(`g`,{transform:`matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)`},[(0,t.createElementVNode)(`path`,{d:`M12,19.5a2.3,2.3,0,0,1-1.729-.78L.46,7.568A1.847,1.847,0,0,1,3.233,5.129l8.579,9.752a.25.25,0,0,0,.376,0l8.579-9.752A1.847,1.847,0,1,1,23.54,7.568L13.732,18.716A2.31,2.31,0,0,1,12,19.5Z`,stroke:`none`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1)]])}var A=y(D,[[`render`,k]]),j={},M={class:`icon`,viewBox:`0 0 20 20`,height:`20`,width:`20`,xmlns:`http://www.w3.org/2000/svg`};function ee(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,M,[...n[0]||=[(0,t.createElementVNode)(`g`,{transform:`matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)`},[(0,t.createElementVNode)(`path`,{d:`M12,4.5a2.3,2.3,0,0,1,1.729.78l9.811,11.15a1.847,1.847,0,1,1-2.773,2.439L12.188,9.119a.25.25,0,0,0-.376,0L3.233,18.871A1.847,1.847,0,1,1,.46,16.432L10.268,5.284A2.31,2.31,0,0,1,12,4.5Z`,stroke:`none`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1)]])}var te=y(j,[[`render`,ee]]),ne={},re={class:`icon icon-attachment`,width:`17`,height:`18`,viewBox:`0 0 17 18`,xmlns:`http://www.w3.org/2000/svg`};function ie(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,re,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M15.56 7.97l-7.135 7.135a3.91 3.91 0 0 1-5.53-5.53L10.03 2.44a2.357 2.357 0 0 1 3.333 3.334L6.22 12.907a.804.804 0 1 1-1.137-1.136l6.591-6.582a.75.75 0 0 0-1.06-1.062l-6.59 6.583a2.304 2.304 0 1 0 3.256 3.258l7.142-7.134A3.857 3.857 0 1 0 8.97 1.38L1.835 8.514a5.41 5.41 0 0 0 7.651 7.651l7.134-7.134a.75.75 0 1 0-1.06-1.06z`},null,-1)]])}var ae=y(ne,[[`render`,ie]]),oe={},se={width:`11`,height:`13`,viewBox:`0 0 11 13`,xmlns:`http://www.w3.org/2000/svg`,class:`icon icon-bold`};function ce(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,se,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M8.85547 6.25781C9.21094 5.84766 9.53906 5.05469 9.59375 4.48047C9.78516 2.40234 8.17188 0.625 6.12109 0.625H0.679688C0.433594 0.625 0.242188 0.84375 0.242188 1.0625V2.375C0.242188 2.62109 0.433594 2.8125 0.679688 2.8125H1.52734V10.6875H0.679688C0.433594 10.6875 0.242188 10.9062 0.242188 11.125V12.4375C0.242188 12.6836 0.433594 12.875 0.679688 12.875H6.39453C8.33594 12.875 10.0586 11.4805 10.25 9.53906C10.3867 8.22656 9.78516 7.02344 8.85547 6.25781ZM3.71484 2.8125H6.12109C6.83203 2.8125 7.43359 3.41406 7.43359 4.125C7.43359 4.86328 6.83203 5.4375 6.12109 5.4375H3.71484V2.8125ZM6.12109 10.6875H3.71484V7.625H6.12109C6.96875 7.625 7.65234 8.33594 7.65234 9.15625C7.65234 10.0039 6.96875 10.6875 6.12109 10.6875Z`},null,-1)]])}var le=y(oe,[[`render`,ce]]),N={},ue={width:`16`,height:`14`,viewBox:`0 0 16 14`,xmlns:`http://www.w3.org/2000/svg`,class:`icon icon-bullet-list`};function de(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ue,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M2.5 5.5H0.5C0.21875 5.5 0 5.75 0 6V8C0 8.28125 0.21875 8.5 0.5 8.5H2.5C2.75 8.5 3 8.28125 3 8V6C3 5.75 2.75 5.5 2.5 5.5ZM2.5 10.5H0.5C0.21875 10.5 0 10.75 0 11V13C0 13.2812 0.21875 13.5 0.5 13.5H2.5C2.75 13.5 3 13.2812 3 13V11C3 10.75 2.75 10.5 2.5 10.5ZM2.5 0.5H0.5C0.21875 0.5 0 0.75 0 1V3C0 3.28125 0.21875 3.5 0.5 3.5H2.5C2.75 3.5 3 3.28125 3 3V1C3 0.75 2.75 0.5 2.5 0.5ZM15.25 6.25H5.71875C5.3125 6.25 5 6.59375 5 7C5 7.4375 5.3125 7.75 5.71875 7.75H15.25C15.6562 7.75 16 7.4375 16 7C16 6.59375 15.6562 6.25 15.25 6.25ZM15.25 1.25H5.71875C5.3125 1.25 5 1.59375 5 2C5 2.375 5.3125 2.75 5.71875 2.75H15.25C15.6562 2.75 16 2.4375 16 2.03125C16 1.65625 15.6562 1.25 15.25 1.25ZM15.25 11.25H5.71875C5.3125 11.25 5 11.5938 5 12C5 12.4375 5.3125 12.75 5.71875 12.75H15.25C15.6562 12.75 16 12.4375 16 12C16 11.5938 15.6562 11.25 15.25 11.25Z`},null,-1)]])}var fe=y(N,[[`render`,de]]),pe={},me={class:`icon icon-calendar`,xmlns:`http://www.w3.org/2000/svg`,width:`17`,height:`18`,viewBox:`0 0 17 18`};function he(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,me,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M4.25 3.35H3c-.69 0-1.25.56-1.25 1.25v2.05h12.9V4.6c0-.69-.56-1.25-1.25-1.25h-1.25v.85a.75.75 0 1 1-1.5 0v-.85h-4.9v.85a.75.75 0 0 1-1.5 0v-.85zm1.5-1.5h4.9V1a.75.75 0 1 1 1.5 0v.85h1.25a2.75 2.75 0 0 1 2.75 2.75V15a2.75 2.75 0 0 1-2.75 2.75H3A2.75 2.75 0 0 1 .25 15V4.6A2.75 2.75 0 0 1 3 1.85h1.25V1a.75.75 0 0 1 1.5 0v.85zm8.9 6.3H1.75V15c0 .69.56 1.25 1.25 1.25h10.4c.69 0 1.25-.56 1.25-1.25V8.15z`},null,-1)]])}var ge=y(pe,[[`render`,he]]),_e={},ve={class:`icon icon-call`,width:`16`,height:`17`,viewBox:`0 0 16 17`,xmlns:`http://www.w3.org/2000/svg`};function ye(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ve,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M5.80469 1.60731C5.59961 1.05067 4.98438 0.787001 4.42773 0.933486L1.84961 1.63661C1.35156 1.7831 1 2.22255 1 2.74989C1 10.0155 6.85938 15.8749 14.125 15.8749C14.6523 15.8749 15.0918 15.5233 15.2383 15.0253L15.9414 12.4472C16.0879 11.8905 15.8242 11.2753 15.2676 11.0702L12.4551 9.89833C11.9863 9.69325 11.4297 9.81044 11.1074 10.2206L9.90625 11.6561C7.85547 10.6893 6.18555 9.01942 5.21875 6.96864L6.6543 5.76747C7.06445 5.4452 7.18164 4.88856 6.97656 4.41981L5.80469 1.60731Z`},null,-1)]])}var be=y(_e,[[`render`,ye]]),xe={},Se={class:`icon icon-call-reject`,width:`16`,height:`17`,viewBox:`0 0 16 17`,xmlns:`http://www.w3.org/2000/svg`};function Ce(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Se,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M5.80469 1.60731C5.59961 1.05067 4.98438 0.787001 4.42773 0.933486L1.84961 1.63661C1.35156 1.7831 1 2.22255 1 2.74989C1 10.0155 6.85938 15.8749 14.125 15.8749C14.6523 15.8749 15.0918 15.5233 15.2383 15.0253L15.9414 12.4472C16.0879 11.8905 15.8242 11.2753 15.2676 11.0702L12.4551 9.89833C11.9863 9.69325 11.4297 9.81044 11.1074 10.2206L9.90625 11.6561C7.85547 10.6893 6.18555 9.01942 5.21875 6.96864L6.6543 5.76747C7.06445 5.4452 7.18164 4.88856 6.97656 4.41981L5.80469 1.60731Z`},null,-1)]])}var we=y(xe,[[`render`,Ce]]),Te={},Ee={class:`icon icon-card-view`,viewBox:`0 0 24 19`,fill:`red`,xmlns:`http://www.w3.org/2000/svg`};function De(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ee,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M21.375 0.75H2.625C1.57031 0.75 0.75 1.60938 0.75 2.625V16.375C0.75 17.4297 1.57031 18.25 2.625 18.25H21.375C22.3906 18.25 23.25 17.4297 23.25 16.375V2.625C23.25 1.60938 22.3906 0.75 21.375 0.75ZM21.375 16.375H2.625V2.625H21.375V16.375ZM8.875 9.5C10.2422 9.5 11.375 8.40625 11.375 7C11.375 5.63281 10.2422 4.5 8.875 4.5C7.46875 4.5 6.375 5.63281 6.375 7C6.375 8.40625 7.46875 9.5 8.875 9.5ZM5.35938 14.5H12.3516C12.8594 14.5 13.25 14.1875 13.25 13.7578V13.0156C13.25 11.7656 12.0391 10.75 10.5938 10.75C10.2031 10.75 9.89062 11.0625 8.875 11.0625C7.82031 11.0625 7.54688 10.75 7.11719 10.75C5.67188 10.75 4.5 11.7656 4.5 13.0156V13.7578C4.5 14.1875 4.89062 14.5 5.35938 14.5ZM14.8125 12H19.1875C19.3438 12 19.5 11.8828 19.5 11.6875V11.0625C19.5 10.9062 19.3438 10.75 19.1875 10.75H14.8125C14.6172 10.75 14.5 10.9062 14.5 11.0625V11.6875C14.5 11.8828 14.6172 12 14.8125 12ZM14.8125 9.5H19.1875C19.3438 9.5 19.5 9.38281 19.5 9.1875V8.5625C19.5 8.40625 19.3438 8.25 19.1875 8.25H14.8125C14.6172 8.25 14.5 8.40625 14.5 8.5625V9.1875C14.5 9.38281 14.6172 9.5 14.8125 9.5ZM14.8125 7H19.1875C19.3438 7 19.5 6.88281 19.5 6.6875V6.0625C19.5 5.90625 19.3438 5.75 19.1875 5.75H14.8125C14.6172 5.75 14.5 5.90625 14.5 6.0625V6.6875C14.5 6.88281 14.6172 7 14.8125 7Z`,fill:`#6B758A`},null,-1)]])}var Oe=y(Te,[[`render`,De]]),ke={},Ae={xmlns:`http://www.w3.org/2000/svg`,width:`18`,height:`10`};function je(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ae,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M8.828 6.207L14.632.404a1 1 0 0 1 1.414 0l.707.707a1 1 0 0 1 0 1.414L9.682 9.596a.999.999 0 0 1-.854.282.999.999 0 0 1-.853-.282L.904 2.526a1 1 0 0 1 0-1.415L1.61.404a1 1 0 0 1 1.414 0l5.803 5.803z`,fill:`#3594CF`},null,-1)]])}var Me=y(ke,[[`render`,je]]),Ne={},Pe={class:`icon icon-caret-left`,xmlns:`http://www.w3.org/2000/svg`,width:`6`,height:`10`,viewBox:`0 0 6 10`};function Fe(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Pe,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M2.276 4.897l3.27 3.27A.9.9 0 1 1 4.273 9.44L.454 5.62a.898.898 0 0 1-.259-.724.898.898 0 0 1 .26-.724L4.272.354a.9.9 0 1 1 1.273 1.273l-3.27 3.27z`},null,-1)]])}var Ie=y(Ne,[[`render`,Fe]]),Le={},Re={class:`icon icon-caret-right`,xmlns:`http://www.w3.org/2000/svg`,width:`7`,height:`11`,viewBox:`0 0 7 11`};function ze(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Re,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M4.324 5.703l-3.27-3.27A.9.9 0 1 1 2.327 1.16L6.146 4.98a.898.898 0 0 1 .259.724.898.898 0 0 1-.26.724l-3.818 3.819a.9.9 0 1 1-1.273-1.273l3.27-3.27z`},null,-1)]])}var Be=y(Le,[[`render`,ze]]),Ve={},He={class:`icon icon-check`,xmlns:`http://www.w3.org/2000/svg`,width:`18`,height:`13`,viewBox:`0 0 18 13`};function Ue(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,He,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M6 10.586L1.707 6.293A1 1 0 0 0 .293 7.707l5 5a1 1 0 0 0 1.414 0l11-11A1 1 0 1 0 16.293.293L6 10.586z`},null,-1)]])}var We=y(Ve,[[`render`,Ue]]),Ge={},Ke={class:`icon icon-clipboard`,viewBox:`0 0 48 48`,height:`48`,width:`48`,xmlns:`http://www.w3.org/2000/svg`};function qe(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ke,[...n[0]||=[(0,t.createStaticVNode)(`<g transform="matrix(2,0,0,2,0,0)"><path d="M20.25,8.249v-3a1.5,1.5,0,0,0-1.5-1.5h-4" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M6.25,3.749h-4a1.5,1.5,0,0,0-1.5,1.5v16.5a1.5,1.5,0,0,0,1.5,1.5h6" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.421,4.736a.751.751,0,0,1-.712.513H7.291a.751.751,0,0,1-.712-.513l-1-3A.749.749,0,0,1,6.291.749h8.418a.749.749,0,0,1,.712.987Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M11.250 11.249 L23.250 11.249 L23.250 23.249 L11.250 23.249 Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.25 14.249L20.25 14.249" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.25 17.249L20.25 17.249" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.25 20.249L16.5 20.249" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></g>`,1)]])}var Je=y(Ge,[[`render`,qe]]),Ye={},Xe={class:`icon icon-close`,xmlns:`http://www.w3.org/2000/svg`,width:`16`,height:`16`,viewBox:`-4 -4 22 22`};function Ze(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Xe,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M8.414 7l5.293 5.293a1 1 0 0 1-1.414 1.414L7 8.414l-5.293 5.293a1 1 0 1 1-1.414-1.414L5.586 7 .293 1.707A1 1 0 1 1 1.707.293L7 5.586 12.293.293a1 1 0 0 1 1.414 1.414L8.414 7z`},null,-1)]])}var Qe=y(Ye,[[`render`,Ze]]),$e={},et={class:`icon icon-comment`,xmlns:`http://www.w3.org/2000/svg`,width:`18`,height:`18`,viewBox:`0 0 18 18`};function tt(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,et,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M1.139 8.555a8.304 8.304 0 0 1 4.59-7.424A8.198 8.198 0 0 1 9.444.25L9.93.25c4.218.233 7.586 3.6 7.82 7.86v.445-.002a8.197 8.197 0 0 1-.88 3.715 8.305 8.305 0 0 1-7.424 4.592 8.199 8.199 0 0 1-3.43-.742l-4.779 1.593a.75.75 0 0 1-.949-.95l1.593-4.778a8.197 8.197 0 0 1-.742-3.429zm1.047 7.26L5.829 14.6a.75.75 0 0 1 .576.042 6.7 6.7 0 0 0 3.04.72 6.807 6.807 0 0 0 6.086-3.767 6.7 6.7 0 0 0 .719-3.038l.001-.405c-.19-3.454-2.949-6.213-6.362-6.402h-.446a6.703 6.703 0 0 0-3.041.72 6.806 6.806 0 0 0-3.763 6.088 6.699 6.699 0 0 0 .72 3.037.75.75 0 0 1 .041.576l-1.214 3.643z`},null,-1)]])}var nt=y($e,[[`render`,tt]]),rt={},it={class:`icon icon-comment-active`,xmlns:`http://www.w3.org/2000/svg`,width:`18`,height:`18`,viewBox:`0 0 18 18`};function at(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,it,[...n[0]||=[(0,t.createElementVNode)(`g`,{"fill-rule":`nonzero`,fill:`none`},[(0,t.createElementVNode)(`path`,{fill:`#4D5875`,d:`M10.845 1.872a6.686 6.686 0 0 0-.956-.122h-.446a6.704 6.704 0 0 0-3.041.72 6.806 6.806 0 0 0-3.763 6.088 6.699 6.699 0 0 0 .72 3.037.75.75 0 0 1 .041.576l-1.214 3.643L5.829 14.6a.75.75 0 0 1 .576.042 6.7 6.7 0 0 0 3.04.72 6.807 6.807 0 0 0 6.086-3.767 6.702 6.702 0 0 0 .72-3.04v-.403a6.83 6.83 0 0 0-.128-.995 4.01 4.01 0 0 0 1.307-.934 8.43 8.43 0 0 1 .32 1.888v.444a8.198 8.198 0 0 1-.88 3.714 8.305 8.305 0 0 1-7.424 4.592 8.199 8.199 0 0 1-3.43-.742l-4.779 1.593a.75.75 0 0 1-.949-.95l1.593-4.778A8.304 8.304 0 0 1 5.728 1.13 8.199 8.199 0 0 1 9.445.25L9.93.25c.64.035 1.26.143 1.852.314a4.01 4.01 0 0 0-.937 1.307z`}),(0,t.createElementVNode)(`path`,{fill:`#30B451`,d:`M14.5 6.5a3 3 0 1 1 0-6 3 3 0 0 1 0 6z`})],-1)]])}var ot=y(rt,[[`render`,at]]),st={},ct={class:`icon icon-comment-static`,xmlns:`http://www.w3.org/2000/svg`,width:`18`,height:`18`,viewBox:`0 0 18 18`};function lt(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ct,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M9.889 1.75h-.446a6.704 6.704 0 0 0-3.041.72 6.806 6.806 0 0 0-3.763 6.088 6.699 6.699 0 0 0 .72 3.037.75.75 0 0 1 .041.576l-1.214 3.643L5.829 14.6a.75.75 0 0 1 .576.042 6.7 6.7 0 0 0 3.04.72 6.807 6.807 0 0 0 6.086-3.767 6.702 6.702 0 0 0 .72-3.04v-.403a6.83 6.83 0 0 0-.128-.995 4.01 4.01 0 0 0 1.307-.934c.175.603.284 1.235.32 1.888v.444a8.198 8.198 0 0 1-.88 3.714 8.305 8.305 0 0 1-7.424 4.592 8.199 8.199 0 0 1-3.43-.742l-4.779 1.593a.75.75 0 0 1-.949-.95l1.593-4.778A8.304 8.304 0 0 1 5.728 1.13 8.2 8.2 0 0 1 9.445.25L9.93.25c.64.035 1.26.143 1.852.314a4.01 4.01 0 0 0-.937 1.307 6.687 6.687 0 0 0-.956-.122zM14.5 6.5a3 3 0 1 1 0-6 3 3 0 0 1 0 6z`},null,-1)]])}var ut=y(st,[[`render`,lt]]),dt={},ft={version:`1.1`,id:`Layer_1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,x:`0px`,y:`0px`,viewBox:`0 0 24 24`,style:{"enable-background":`new 0 0 24 24`},"xml:space":`preserve`,class:`icon icon-common-file-empty`};function pt(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ft,[...n[0]||=[(0,t.createElementVNode)(`title`,null,`common-file-empty`,-1),(0,t.createElementVNode)(`g`,null,[(0,t.createElementVNode)(`path`,{d:`M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883
|
|
3
3
|
c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5
|
|
4
4
|
c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883
|
|
@@ -1302,6 +1302,6 @@ ${t.slice(l+2)}`,d+=1;else break}t.push({indent:l,number:parseInt(s,10),content:
|
|
|
1302
1302
|
<a href='${r}' target='_blank'>${i}</a>
|
|
1303
1303
|
`});return(e,n)=>o.value?((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:0,ref_key:`notificationButton`,ref:a,tabindex:`0`,class:`bd-notification-button`,role:`button`,"data-bs-toggle":`popover`,"data-bs-placement":`bottom`,"data-bs-title":c.value,"data-bs-content":l.value,"data-bs-html":!0,onClick:n[0]||=(...e)=>(0,t.unref)(i)&&(0,t.unref)(i)(...e)},[(0,t.withDirectives)((0,t.createElementVNode)(`img`,{src:dU,alt:`BeterDichtbij nieuws notificatie bel.`,title:s.value},null,8,_U),[[(0,t.unref)(dH)]]),(0,t.unref)(r)?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,vU)):(0,t.createCommentVNode)(``,!0)],8,gU)):(0,t.createCommentVNode)(``,!0)}}),bU={class:`profile-side`},xU=[`href`],SU={class:`nav-item`},CU=[`textContent`],wU=(0,t.defineComponent)({__name:`BDPractitionerHeader`,props:{academyUrl:{},userId:{},getNotification:{}},setup(e){let{t:n}=gu(),r=e,i=(0,t.computed)(()=>n(`practitionerHeader.academyTooltip`)),a=(0,t.computed)(()=>n(`practitionerHeader.academyMenuItem`));return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(uU,null,(0,t.createSlots)({"profile-side":(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,bU,[(0,t.createVNode)(yU,{"user-id":r.userId,"get-notification":r.getNotification},null,8,[`user-id`,`get-notification`]),r.academyUrl?((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:0,href:r.academyUrl,target:`_blank`,rel:`noopener,noreferrer`},[(0,t.withDirectives)((0,t.createVNode)((0,t.unref)(E),{title:i.value},null,8,[`title`]),[[(0,t.unref)(dH)]])],8,xU)):(0,t.createCommentVNode)(``,!0)])]),_:2},[r.academyUrl?{name:`mobile-menu-special-options`,fn:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`li`,SU,[(0,t.createVNode)(_,{class:`nav-link`,to:r.academyUrl},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(E)),(0,t.createElementVNode)(`span`,{textContent:(0,t.toDisplayString)(a.value)},null,8,CU)]),_:1},8,[`to`])])]),key:`0`}:void 0]),1024))}}),TU={class:`modal-dialog`},EU={class:`modal-content`},DU={class:`modal-header`},OU={class:`modal-title`},kU=[`src`],AU={class:`modal-body`},jU={key:0,class:`modal-footer`},MU=[`disabled`],NU=(0,t.defineComponent)({__name:`BDModal`,props:{title:{default:``},titleImage:{default:``},submitButtonTitle:{default:`Opslaan`},closeButtonTitle:{default:`Annuleren`},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideCloseButton:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1},size:{default:`lg`}},emits:[`submit`,`cancel`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.computed)(()=>`modal bd-modal modal-${r.size}`),o=()=>i(`submit`),s=()=>i(`cancel`);return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)(a.value),tabindex:`-1`},[(0,t.createElementVNode)(`div`,TU,[(0,t.createElementVNode)(`div`,EU,[(0,t.createElementVNode)(`div`,DU,[(0,t.createElementVNode)(`h2`,OU,[r.titleImage?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:0,src:r.titleImage,class:`title-image`,alt:``},null,8,kU)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(r.title),1)]),(0,t.renderSlot)(n.$slots,`modal-header-space-between`),r.hideCloseButton?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,type:`button`,class:`btn-close w-auto`,"data-bs-dismiss":`modal`,"aria-label":`Sluiten`,onClick:s},[i[0]||=(0,t.createElementVNode)(`span`,null,`Sluiten`,-1),(0,t.createVNode)((0,t.unref)(Qe))]))]),(0,t.createElementVNode)(`div`,AU,[(0,t.renderSlot)(n.$slots,`default`)]),e.hideFooter?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,jU,[r.hideFooterSubmitButton?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,class:`btn btn-primary`,disabled:r.disableSubmitButton,onClick:o},(0,t.toDisplayString)(r.submitButtonTitle),9,MU)),(0,t.renderSlot)(n.$slots,`buttons`),r.hideFooterCancelButton?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:1,type:`button`,class:`btn btn-link`,"data-bs-dismiss":`modal`,onClick:s,"aria-label":`Annuleren`},(0,t.toDisplayString)(r.closeButtonTitle),1))]))])])],2))}}),PU=e=>{let n=(0,t.ref)(null);return{showModal:()=>{let t=document.getElementById(e);t instanceof HTMLElement?(n.value=Hz.getOrCreateInstance(t),n.value.show()):console.error(`Modal '${e}' niet gevonden.`)},closeModal:()=>{if(n.value){n.value.hide();return}let t=document.getElementById(e);if(t instanceof HTMLElement){let e=Hz.getInstance(t);e&&e.hide()}}}};function FU(e=void 0){let n=e=>o(`Succesvol`,e,Uh.SUCCESS),r=e=>o(`Waarschuwing`,e,Uh.WARNING),i=e=>o(`Informatie`,e,Uh.INFO),a=e=>o(`Mislukt`,e,Uh.DANGER);function o(n,r,i){let a=`toast-${Qa()}`,o={id:a,variant:i,title:n,text:r},c=document.querySelector(`.toast-container`);if(!c){console.error(`There was no element with class 'toast-container' found, which is required for useToaster.`);return}let l=(0,t.h)(qh,o),u=(0,t.createApp)({render:()=>l}).mount(document.createElement(`div`));c.appendChild(u.$el);let d=document.querySelector(`#${a}`);d&&(lH.getOrCreateInstance(d,e).show(),s(d))}function s(e){function t(e,t){e.forEach(e=>{if(e.attributeName!=`class`)return;let n=e.target;if(n.classList.contains(`hide`)){n.remove(),t.disconnect();return}})}new MutationObserver(t).observe(e,{attributes:!0})}return{showSuccessToast:n,showInformationToast:i,showWarningToast:r,showDangerToast:a}}var{showDangerToast:IU}=FU();function LU(e){let n=(0,t.ref)(null),r=(e,t=`serverErrors`)=>{let r=[];if(r=Array.isArray(e?.response?.data)?e.response.data.filter(e=>Jh(e.ErrorMessage)&&e.ErrorMessage!==``):e.response.data.ErrorMessage?[e.response.data.ErrorMessage]:null,Jh(t))n.value=r;else if(Array.isArray(t)){let e=n.value;for(let n=0;n<t.length;n++)n===t.length-1?e[t[n]]=r:e=e[t[n]]}i(e),s(n)},i=t=>{if(e==null)return;let n=new URL(t.request.responseURL).pathname;if(n in e.error){let t=e.error[n];t&&IU(t)}},a=(0,t.ref)(null),o=(0,t.ref)(``),s=e=>{ng(e.value)?a.value=e.value.map(e=>Jh(e)?e:e.ErrorMessage):Jh(e.value)&&(o.value=e.value)};function c(){n.value=null,a.value=null,o.value=``}return{serverErrors:n,errorMessages:a,errorMessageText:o,MapErrors:s,MapServerErrors:r,ResetServerErrors:c}}var RU={key:0},zU={key:1},BU={class:`bd-form-field`},VU={class:`bd-form-field`},HU=(0,t.defineComponent)({__name:`BDPhoneNumberEditModal`,props:[`modalTitle`,`submitButtonTitle`,`phoneNumberLabel`,`phoneNumberUnchangedText`,`confirmationCodeLabel`,`confirmationCodeRequiredText`,`confirmationCodeSentText`,`editSuccessText`,`editCanceledText`,`sendConfirmationCodeText`,`startPhoneNumberUpdate`,`confirmPhoneNumberUpdate`],emits:[`startPhoneNumberUpdate`,`confirmPhoneNumberUpdate`,`setPhoneNumber`],setup(e,{expose:n,emit:r}){let{showSuccessToast:i,showWarningToast:a}=FU(),{serverErrors:o,errorMessages:s,errorMessageText:c,MapServerErrors:l,ResetServerErrors:u}=LU(null),{closeModal:d}=PU(`phone-number-edit-modal`),f=e,p=r,m=``,h=(0,t.ref)(),g=(0,t.ref)(null),_=(0,t.ref)(),y=(0,t.ref)(),b=(0,t.ref)(null),x=(0,t.computed)(()=>y.value==null||y.value==``),S=()=>{if(g.value=null,u(),!h.value||h.value==m){g.value=!1;return}let e={newPhonenumber:h.value};f.startPhoneNumberUpdate(e).then(w).catch(l)},C=()=>{if(!y.value){b.value=!1;return}let e={requestIdentifier:_.value,token:y.value};f.confirmPhoneNumberUpdate(e).then(T).catch(l)},w=e=>{g.value=null,i(f.confirmationCodeSentText),_.value=e.data.RequestIdentifier},T=()=>{p(`setPhoneNumber`,h.value),i(f.editSuccessText),d(),g.value=null,b.value=null},E=e=>{m=e,h.value=m,g.value=null,_.value=void 0,y.value=void 0,b.value=null},D=()=>{E(m),u(),a(f.editCanceledText)};return n({Reset:E}),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`phone-number-edit-modal`,class:(0,t.normalizeClass)((0,t.unref)(``)),title:f.modalTitle,submitButtonTitle:f.submitButtonTitle,hideFooterCancelButton:!1,"disable-submit-button":x.value,serverErrors:(0,t.unref)(o),errorMessages:(0,t.unref)(s),errorMessageText:(0,t.unref)(c),onSubmit:C,onCancel:D},{default:(0,t.withCtx)(()=>[(0,t.unref)(c)||(0,t.unref)(s)?((0,t.openBlock)(),(0,t.createBlock)(Ta,{key:0,variant:`danger`},{default:(0,t.withCtx)(()=>[(0,t.unref)(s)?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,RU,[(0,t.createElementVNode)(`ul`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(s),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:n},[(0,t.createVNode)(Gn),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(e),1)]))),128))])])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,zU,(0,t.toDisplayString)((0,t.unref)(c)),1))]),_:1})):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,BU,[(0,t.createVNode)(vh,{id:`form-input-phone-number`,label:f.phoneNumberLabel,modelValue:h.value,"onUpdate:modelValue":n[0]||=e=>h.value=e,state:g.value,type:`text`,"form-field-class":`form-input-with-button`,"invalid-feedback-text":f.phoneNumberUnchangedText},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(v,{textContent:(0,t.toDisplayString)(f.sendConfirmationCodeText),class:`tablet-device-up`,type:`button`,onClick:S},null,8,[`textContent`])]),_:1},8,[`label`,`modelValue`,`state`,`invalid-feedback-text`]),(0,t.createVNode)(v,{textContent:(0,t.toDisplayString)(f.sendConfirmationCodeText),class:`mobile-device`,type:`button`,onClick:S},null,8,[`textContent`])]),(0,t.createElementVNode)(`div`,VU,[_.value?((0,t.openBlock)(),(0,t.createBlock)(vh,{key:0,label:f.confirmationCodeLabel,modelValue:y.value,"onUpdate:modelValue":n[1]||=e=>y.value=e,state:b.value,"invalid-feedback-text":f.confirmationCodeRequiredText},null,8,[`label`,`modelValue`,`state`,`invalid-feedback-text`])):(0,t.createCommentVNode)(``,!0)])]),_:1},8,[`class`,`title`,`submitButtonTitle`,`disable-submit-button`,`serverErrors`,`errorMessages`,`errorMessageText`]))}}),UU=(e,n,r,i,a,o)=>{let s=(0,t.ref)(null),c=(0,t.ref)(null),l=(0,t.ref)(!1),u=(0,t.ref)(null),{showModal:d,closeModal:f}=PU(`session-time-out-modal`),p=(0,t.computed)(()=>s.value&&e?e-(s.value+1):0),m=(0,t.computed)(()=>c.value?60-c.value:0),h=(0,t.computed)(()=>l.value),g=()=>{u.value=setInterval(v,1e3),i(u.value)},_=()=>{u.value&&clearInterval(u.value)},v=()=>{s.value=(0,mg.default)().diff(r(),`m`),c.value=(0,mg.default)().subtract(s.value,`m`).diff(r(),`s`);let t=e??2**53-1,i=n??0;s.value>=t?(l.value=!0,d(),localStorage.setItem(`session-timeout`,`true`),window.onbeforeunload=y):s.value>=t-i?d():f()},y=e=>{e.stopPropagation(),x()},b=()=>{a(),_(),s.value=null,c.value=null,g()},x=()=>{_(),s.value=null,c.value=null,localStorage.removeItem(`session-timeout`),o()},S=()=>{l.value?x():b()};return(0,t.onMounted)(()=>{let e=document.getElementById(`session-time-out-modal`);e&&e.addEventListener(`hidden.bs.modal`,S),_(),g()}),{IsExpired:h,Minutes:p,Seconds:m,OnLogOut:()=>{x()},OnSubmit:()=>{l.value?x():f()}}},WU=(0,t.defineComponent)({__name:`BDSessionTimeOutModal`,props:[`expiredTitle`,`expiredMessage`,`expiredButtonText`,`almostExpiredTitle`,`almostExpiredMessage`,`almostExpiredButtonText`,`almostExpiredCancelButtonText`,`threshold`,`warningThreshold`,`getTime`,`setTaskId`,`setNewTime`,`logout`,`hideCancelButton`],setup(e){let n=e,{IsExpired:r,Minutes:i,Seconds:a,OnLogOut:o,OnSubmit:s}=UU(n.threshold,n.warningThreshold,n.getTime,n.setTaskId,n.setNewTime,n.logout),c=(0,t.computed)(()=>r.value?n.expiredTitle:n.almostExpiredTitle),l=(0,t.computed)(()=>r.value?n.expiredMessage:`${n.almostExpiredMessage} ${i.value}:${a.value<10?`0`+a.value:a.value}`),u=(0,t.computed)(()=>n.hideCancelButton||r.value),d=(0,t.computed)(()=>r.value?n.expiredButtonText:n.almostExpiredButtonText);return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`session-time-out-modal`,title:c.value,"hide-close-button":!0,"hide-footer-cancel-button":u.value,"close-button-title":n.almostExpiredCancelButtonText,"submit-button-title":d.value,size:`md`,onSubmit:(0,t.unref)(s),onCancel:(0,t.unref)(o)},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(l.value),1)]),_:1},8,[`title`,`hide-footer-cancel-button`,`close-button-title`,`submit-button-title`,`onSubmit`,`onCancel`]))}}),GU={__name:`BDConfirmationModal`,props:[`modalId`,`modalTitle`,`description`,`submitButtonText`,`cancelButtonText`],setup(e,{expose:n}){let r=e,{closeModal:i,showModal:a}=PU(r.modalId),o=(0,t.ref)(null);n({Confirm:async()=>(a(),new Promise(e=>o.value=e))});let s=()=>{i(),o.value(!0)},c=()=>o.value(!1);return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:r.modalId,title:r.modalTitle,"submit-button-title":r.submitButtonText,"close-button-title":r.cancelButtonText,"hide-close-button":!0,size:`md`,onSubmit:s,onCancel:c},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`p`,null,(0,t.toDisplayString)(r.description),1)]),_:1},8,[`id`,`title`,`submit-button-title`,`close-button-title`]))}},KU={__name:`BDAssignConversationModal`,emits:[`update:isConcluded`,`update:isUnread`],setup(e,{emit:n}){let{t:r}=gu(),i=(0,t.ref)(!1),a=(0,t.ref)(!1),o=n,s=()=>o(`update:isConcluded`,i.value),c=()=>o(`update:isUnread`,a.value);return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`assign-conversation-modal`,title:(0,t.unref)(r)(`assignConversationModal.title`),submitButtonTitle:(0,t.unref)(r)(`assignConversationModal.submitButton`)},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`body`),(0,t.createVNode)(xh,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(zh,{modelValue:i.value,"onUpdate:modelValue":n[0]||=e=>i.value=e,onChange:s},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)((0,t.unref)(r)(`assignConversationModal.conclude`)),1),(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createBlock)(v,{variant:`placeholder`,class:`btn-tooltip`,title:(0,t.unref)(r)(`assignConversationModal.concludeTooltip`)},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(Gn)]),_:1},8,[`title`])),[[(0,t.unref)(dH)]])]),_:1},8,[`modelValue`])]),_:1}),(0,t.createVNode)(xh,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(zh,{modelValue:a.value,"onUpdate:modelValue":n[1]||=e=>a.value=e,onChange:c},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`assignConversationModal.makeUnread`)),1)]),_:1},8,[`modelValue`])]),_:1}),(0,t.renderSlot)(e.$slots,`footer`)]),_:3},8,[`title`,`submitButtonTitle`]))}},qU=(0,t.defineComponent)({__name:`BDAttachmentUploadModal`,props:{dropzoneUrl:{},token:{}},emits:[`cancel`,`on-submit`],setup(e,{emit:n}){let{closeModal:r}=PU(`attachment-upload-modal`),{t:i}=gu(),a=e,o=n,s=()=>{o(`on-submit`,l.value),l.value=[],r()},c=()=>{o(`cancel`),l.value=[]},l=(0,t.ref)([]),u=(0,t.computed)(()=>i(`attachmentUploadModal.title`)),d=(0,t.computed)(()=>i(`attachmentUploadModal.submitButton`)),f=(0,t.computed)(()=>i(`attachmentUploadModal.infoMessage`)),p=(0,t.computed)(()=>i(`attachmentUploadModal.addAttachmentButton`)),m=(0,t.computed)(()=>i(`attachmentUploadModal.errorMessage`)),h=(0,t.computed)(()=>i(`attachmentUploadModal.fileTooBigErrorMessage`)),g=(0,t.computed)(()=>i(`attachmentUploadModal.fileSizeExceededMessage`));return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`attachment-upload-modal`,title:u.value,"submit-button-title":d.value,onSubmit:s,onCancel:c},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`p`,null,(0,t.toDisplayString)(f.value),1),(0,t.createVNode)(Ig,{modelValue:l.value,"onUpdate:modelValue":n[0]||=e=>l.value=e,"button-text":p.value,"error-message":m.value,multiple:!0,"file-size-exceeded-message":h.value,"accepted-files":`.png,.jpg,.jpeg,.gif,.docx,.doc,.xls,.xlsx,.txt,.csv,.pdf,.wav,.mp3,.m4a,.aiff,.flac,.mp4,.avi,.mov`,url:a.dropzoneUrl,tag:`div`,token:a.token},null,8,[`modelValue`,`button-text`,`error-message`,`file-size-exceeded-message`,`url`,`token`]),(0,t.createElementVNode)(`p`,null,(0,t.toDisplayString)(g.value),1),(0,t.renderSlot)(e.$slots,`default`)]),_:3},8,[`title`,`submit-button-title`]))}}),JU=Object.defineProperty,YU=Object.defineProperties,XU=Object.getOwnPropertyDescriptors,ZU=Object.getOwnPropertySymbols,QU=Object.prototype.hasOwnProperty,$U=Object.prototype.propertyIsEnumerable,eW=(e,t,n)=>t in e?JU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tW=(e,t)=>{for(var n in t||={})QU.call(t,n)&&eW(e,n,t[n]);if(ZU)for(var n of ZU(t))$U.call(t,n)&&eW(e,n,t[n]);return e},nW=(e,t)=>YU(e,XU(t)),rW={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(e){this.autoscroll&&e&&this.$nextTick(()=>this.maybeAdjustScroll())}},methods:{maybeAdjustScroll(){let e=this.$refs.dropdownMenu?.children[this.typeAheadPointer]||!1;if(e){let t=this.getDropdownViewport(),{top:n,bottom:r,height:i}=e.getBoundingClientRect();if(n<t.top)return this.$refs.dropdownMenu.scrollTop=e.offsetTop;if(r>t.bottom)return this.$refs.dropdownMenu.scrollTop=e.offsetTop-(t.height-i)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},iW={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){for(let e=0;e<this.filteredOptions.length;e++)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},open(e){e&&this.typeAheadToLastSelected()},selectedValue(){this.open&&this.typeAheadToLastSelected()}},methods:{typeAheadUp(){for(let e=this.typeAheadPointer-1;e>=0;e--)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadDown(){for(let e=this.typeAheadPointer+1;e<this.filteredOptions.length;e++)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadSelect(){let e=this.filteredOptions[this.typeAheadPointer];e&&this.selectable(e)&&this.select(e)},typeAheadToLastSelected(){this.typeAheadPointer=this.selectedValue.length===0?-1:this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length-1])}}},aW={props:{loading:{type:Boolean,default:!1}},data(){return{mutableLoading:!1}},watch:{search(){this.$emit(`search`,this.search,this.toggleLoading)},loading(e){this.mutableLoading=e}},methods:{toggleLoading(e=null){return e==null?this.mutableLoading=!this.mutableLoading:this.mutableLoading=e}}},oW=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},sW={},cW={xmlns:`http://www.w3.org/2000/svg`,width:`10`,height:`10`},lW=[(0,t.createElementVNode)(`path`,{d:`M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z`},null,-1)];function uW(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,cW,lW)}var dW=oW(sW,[[`render`,uW]]),fW={},pW={xmlns:`http://www.w3.org/2000/svg`,width:`14`,height:`10`},mW=[(0,t.createElementVNode)(`path`,{d:`M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z`},null,-1)];function hW(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,pW,mW)}var gW={Deselect:dW,OpenIndicator:oW(fW,[[`render`,hW]])},_W={mounted(e,{instance:t}){if(t.appendToBody){let{height:n,top:r,left:i,width:a}=t.$refs.toggle.getBoundingClientRect(),o=window.scrollX||window.pageXOffset,s=window.scrollY||window.pageYOffset;e.unbindPosition=t.calculatePosition(e,t,{width:a+`px`,left:o+i+`px`,top:s+r+n+`px`}),document.body.appendChild(e)}},unmounted(e,{instance:t}){t.appendToBody&&(e.unbindPosition&&typeof e.unbindPosition==`function`&&e.unbindPosition(),e.parentNode&&e.parentNode.removeChild(e))}};function vW(e){let t={};return Object.keys(e).sort().forEach(n=>{t[n]=e[n]}),JSON.stringify(t)}var yW=0;function bW(){return++yW}var xW={components:tW({},gW),directives:{appendToBody:_W},mixins:[rW,iW,aW],compatConfig:{MODE:3},emits:[`open`,`close`,`update:modelValue`,`search`,`search:compositionstart`,`search:compositionend`,`search:keydown`,`search:blur`,`search:focus`,`search:input`,`option:created`,`option:selecting`,`option:selected`,`option:deselecting`,`option:deselected`],props:{modelValue:{},components:{type:Object,default:()=>({})},options:{type:Array,default(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:``},transition:{type:String,default:`vs__fade`},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:`label`},autocomplete:{type:String,default:`off`},reduce:{type:Function,default:e=>e},selectable:{type:Function,default:e=>!0},getOptionLabel:{type:Function,default(e){return typeof e==`object`?e.hasOwnProperty(this.label)?e[this.label]:console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(e)}.
|
|
1304
1304
|
https://vue-select.org/api/props.html#getoptionlabel`):e}},getOptionKey:{type:Function,default(e){if(typeof e!=`object`)return e;try{return e.hasOwnProperty(`id`)?e.id:vW(e)}catch(t){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
|
|
1305
|
-
https://vue-select.org/api/props.html#getoptionkey`,e,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(e,t,n){return(t||``).toLocaleLowerCase().indexOf(n.toLocaleLowerCase())>-1}},filter:{type:Function,default(e,t){return e.filter(e=>{let n=this.getOptionLabel(e);return typeof n==`number`&&(n=n.toString()),this.filterBy(e,n,t)})}},createOption:{type:Function,default(e){return typeof this.optionList[0]==`object`?{[this.label]:e}:e}},resetOnOptionsChange:{default:!1,validator:e=>[`function`,`boolean`].includes(typeof e)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:e,multiple:t}){return e&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:`auto`},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:`[type=search]`},mapKeydown:{type:Function,default:(e,t)=>e},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(e,t,{width:n,top:r,left:i}){e.style.top=r,e.style.left=i,e.style.width=n}},dropdownShouldOpen:{type:Function,default({noDrop:e,open:t,mutableLoading:n}){return e?!1:t&&!n}},uid:{type:[String,Number],default:()=>bW()}},data(){return{search:``,open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return this.modelValue===void 0||this.isReducingValues},selectedValue(){let e=this.modelValue;return this.isTrackingValues&&(e=this.$data._value),e!=null&&e!==``?[].concat(e):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){let e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:tW({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":`list`,"aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:`search`,type:`search`,autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:e=>this.search=e.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:`openIndicator`,role:`presentation`,class:`vs__open-indicator`}},listHeader:e,listFooter:e,header:nW(tW({},e),{deselect:this.deselect}),footer:nW(tW({},e),{deselect:this.deselect})}},childComponents(){return tW(tW({},gW),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){let e=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return e;let t=this.search.length?this.filter(e,this.search,this):e;if(this.taggable&&this.search.length){let e=this.createOption(this.search);this.optionExists(e)||t.unshift(e)}return t},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(e,t){!this.taggable&&(typeof this.resetOnOptionsChange==`function`?this.resetOnOptionsChange(e,t,this.selectedValue):this.resetOnOptionsChange)&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)}},multiple(){this.clearSelection()},open(e){this.$emit(e?`open`:`close`)}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(e){Array.isArray(e)?this.$data._value=e.map(e=>this.findOptionFromReducedValue(e)):this.$data._value=this.findOptionFromReducedValue(e)},select(e){this.$emit(`option:selecting`,e),this.isOptionSelected(e)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(e):(this.taggable&&!this.optionExists(e)&&(this.$emit(`option:created`,e),this.pushTag(e)),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit(`option:selected`,e)),this.onAfterSelect(e)},deselect(e){this.$emit(`option:deselecting`,e),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,e))),this.$emit(`option:deselected`,e)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(e){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search=``)},updateValue(e){this.modelValue===void 0&&(this.$data._value=e),e!==null&&(e=Array.isArray(e)?e.map(e=>this.reduce(e)):this.reduce(e)),this.$emit(`update:modelValue`,e)},toggleDropdown(e){let t=e.target!==this.searchEl;t&&e.preventDefault();let n=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||n.filter(Boolean).some(t=>t.contains(e.target)||t===e.target)){e.preventDefault();return}this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(e){return this.selectedValue.some(t=>this.optionComparator(t,e))},isOptionDeselectable(e){return this.isOptionSelected(e)&&this.deselectFromDropdown},optionComparator(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue(e){let t=t=>JSON.stringify(this.reduce(t))===JSON.stringify(e),n=[...this.options,...this.pushedTags].filter(t);return n.length===1?n[0]:n.find(e=>this.optionComparator(e,this.$data._value))||e},closeSearchOptions(){this.open=!1,this.$emit(`search:blur`)},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let e=null;this.multiple&&(e=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(e)}},optionExists(e){return this.optionList.some(t=>this.optionComparator(t,e))},normalizeOptionForSlot(e){return typeof e==`object`?e:{[this.label]:e}},pushTag(e){this.pushedTags.push(e)},onEscape(){this.search.length?this.search=``:this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{let{clearSearchOnSelect:e,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=``),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit(`search:focus`)},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(e){let t=e=>(e.preventDefault(),!this.isComposing&&this.typeAheadSelect()),n={8:e=>this.maybeDeleteValue(),9:e=>this.onTab(),27:e=>this.onEscape(),38:e=>(e.preventDefault(),this.typeAheadUp()),40:e=>(e.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(e=>n[e]=t);let r=this.mapKeydown(n,this);if(typeof r[e.keyCode]==`function`)return r[e.keyCode](e)}}},SW=[`dir`],CW=[`id`,`aria-expanded`,`aria-owns`],wW={ref:`selectedOptions`,class:`vs__selected-options`},TW=[`disabled`,`title`,`aria-label`,`onClick`],EW={ref:`actions`,class:`vs__actions`},DW=[`disabled`],OW={class:`vs__spinner`},kW=[`id`],AW=[`id`,`aria-selected`,`onMouseover`,`onClick`],jW={key:0,class:`vs__no-options`},MW=(0,t.createTextVNode)(` Sorry, no matching options. `),NW=[`id`];function PW(e,n,r,i,a,o){let s=(0,t.resolveDirective)(`append-to-body`);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,{dir:r.dir,class:(0,t.normalizeClass)([`v-select`,o.stateClasses])},[(0,t.renderSlot)(e.$slots,`header`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.header))),(0,t.createElementVNode)(`div`,{id:`vs${r.uid}__combobox`,ref:`toggle`,class:`vs__dropdown-toggle`,role:`combobox`,"aria-expanded":o.dropdownOpen.toString(),"aria-owns":`vs${r.uid}__listbox`,"aria-label":`Search for option`,onMousedown:n[1]||=e=>o.toggleDropdown(e)},[(0,t.createElementVNode)(`div`,wW,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(o.selectedValue,(n,i)=>(0,t.renderSlot)(e.$slots,`selected-option-container`,{option:o.normalizeOptionForSlot(n),deselect:o.deselect,multiple:r.multiple,disabled:r.disabled},()=>[((0,t.openBlock)(),(0,t.createElementBlock)(`span`,{key:r.getOptionKey(n),class:`vs__selected`},[(0,t.renderSlot)(e.$slots,`selected-option`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.normalizeOptionForSlot(n))),()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r.getOptionLabel(n)),1)]),r.multiple?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,ref_for:!0,ref:e=>a.deselectButtons[i]=e,disabled:r.disabled,type:`button`,class:`vs__deselect`,title:`Deselect ${r.getOptionLabel(n)}`,"aria-label":`Deselect ${r.getOptionLabel(n)}`,onClick:e=>o.deselect(n)},[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(o.childComponents.Deselect)))],8,TW)):(0,t.createCommentVNode)(``,!0)]))])),256)),(0,t.renderSlot)(e.$slots,`search`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.search)),()=>[(0,t.createElementVNode)(`input`,(0,t.mergeProps)({class:`vs__search`},o.scope.search.attributes,(0,t.toHandlers)(o.scope.search.events)),null,16)])],512),(0,t.createElementVNode)(`div`,EW,[(0,t.withDirectives)((0,t.createElementVNode)(`button`,{ref:`clearButton`,disabled:r.disabled,type:`button`,class:`vs__clear`,title:`Clear Selected`,"aria-label":`Clear Selected`,onClick:n[0]||=(...e)=>o.clearSelection&&o.clearSelection(...e)},[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(o.childComponents.Deselect)))],8,DW),[[t.vShow,o.showClearButton]]),(0,t.renderSlot)(e.$slots,`open-indicator`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.openIndicator)),()=>[r.noDrop?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(o.childComponents.OpenIndicator),(0,t.normalizeProps)((0,t.mergeProps)({key:0},o.scope.openIndicator.attributes)),null,16))]),(0,t.renderSlot)(e.$slots,`spinner`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.spinner)),()=>[(0,t.withDirectives)((0,t.createElementVNode)(`div`,OW,`Loading...`,512),[[t.vShow,e.mutableLoading]])])],512)],40,CW),(0,t.createVNode)(t.Transition,{name:r.transition},{default:(0,t.withCtx)(()=>[o.dropdownOpen?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)(`ul`,{id:`vs${r.uid}__listbox`,ref:`dropdownMenu`,key:`vs${r.uid}__listbox`,class:`vs__dropdown-menu`,role:`listbox`,tabindex:`-1`,onMousedown:n[2]||=(0,t.withModifiers)((...e)=>o.onMousedown&&o.onMousedown(...e),[`prevent`]),onMouseup:n[3]||=(...e)=>o.onMouseUp&&o.onMouseUp(...e)},[(0,t.renderSlot)(e.$slots,`list-header`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.listHeader))),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(o.filteredOptions,(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{id:`vs${r.uid}__option-${i}`,key:r.getOptionKey(n),role:`option`,class:(0,t.normalizeClass)([`vs__dropdown-option`,{"vs__dropdown-option--deselect":o.isOptionDeselectable(n)&&i===e.typeAheadPointer,"vs__dropdown-option--selected":o.isOptionSelected(n),"vs__dropdown-option--highlight":i===e.typeAheadPointer,"vs__dropdown-option--disabled":!r.selectable(n)}]),"aria-selected":i===e.typeAheadPointer?!0:null,onMouseover:t=>r.selectable(n)?e.typeAheadPointer=i:null,onClick:(0,t.withModifiers)(e=>r.selectable(n)?o.select(n):null,[`prevent`,`stop`])},[(0,t.renderSlot)(e.$slots,`option`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.normalizeOptionForSlot(n))),()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r.getOptionLabel(n)),1)])],42,AW))),128)),o.filteredOptions.length===0?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,jW,[(0,t.renderSlot)(e.$slots,`no-options`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.noOptions)),()=>[MW])])):(0,t.createCommentVNode)(``,!0),(0,t.renderSlot)(e.$slots,`list-footer`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.listFooter)))],40,kW)),[[s]]):((0,t.openBlock)(),(0,t.createElementBlock)(`ul`,{key:1,id:`vs${r.uid}__listbox`,role:`listbox`,style:{display:`none`,visibility:`hidden`}},null,8,NW))]),_:3},8,[`name`]),(0,t.renderSlot)(e.$slots,`footer`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.footer)))],10,SW)}var FW=oW(xW,[[`render`,PW]]),IW=e=>typeof e==`number`,LW=[`textContent`],RW=[`textContent`],zW={key:0,class:`content-library-card__body`},BW=[`textContent`],VW={key:1},HW=(0,t.defineComponent)({__name:`BDContentLibraryCard`,props:{itemId:{type:[String,Number],required:!0},title:{type:String},subtitle:{type:String},description:{type:String},uri:{type:String},showFooter:{type:Boolean,default:!0},showBody:{type:Boolean,default:!0},cardClass:{type:String},provider:{type:String}},emits:[`on-insert`],setup(e,{emit:n}){let{t:r}=gu(),i=e,a=n,o=(0,t.computed)(()=>`Open ${i.provider} in nieuw venster`),s=()=>{a(`on-insert`,i.itemId)},c=()=>{window.open(i.uri,`_blank`,`noopener,noreferrer`)};return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`article`,{class:(0,t.normalizeClass)([`content-library-card`,i.cardClass])},[(0,t.createElementVNode)(`header`,null,[(0,t.renderSlot)(e.$slots,`header`,{},()=>[(0,t.createElementVNode)(`h6`,{textContent:(0,t.toDisplayString)(i.title)},null,8,LW),i.subtitle?((0,t.openBlock)(),(0,t.createElementBlock)(`small`,{key:0,textContent:(0,t.toDisplayString)(i.subtitle)},null,8,RW)):(0,t.createCommentVNode)(``,!0)])]),i.showBody?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,zW,[(0,t.renderSlot)(e.$slots,`default`,{},()=>[(0,t.createElementVNode)(`p`,{textContent:(0,t.toDisplayString)(i.description),class:`content-library-card__description`},null,8,BW)])])):(0,t.createCommentVNode)(``,!0),i.showFooter?((0,t.openBlock)(),(0,t.createElementBlock)(`footer`,VW,[(0,t.renderSlot)(e.$slots,`footer`,{},()=>[(0,t.createVNode)(v,{variant:`secondary`,onClick:s},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryCard.insert`)),1)]),_:1}),(0,t.createVNode)(v,{title:o.value,variant:`icon`,onClick:c},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(en)]),_:1},8,[`title`])])])):(0,t.createCommentVNode)(``,!0)],2))}}),UW=(0,t.defineComponent)({__name:`BDContentLibraryCardBasic`,props:{item:{type:Object,required:!0}},setup(e){return(n,r)=>((0,t.openBlock)(),(0,t.createBlock)(HW,(0,t.normalizeProps)((0,t.guardReactiveProps)(e.item)),null,16))}}),WW={class:`content-library-card-image__titles`},GW=[`textContent`],KW=[`textContent`],qW=[`src`],JW=(0,t.defineComponent)({__name:`BDContentLibraryCardImage`,props:{item:{type:Object,required:!0}},setup(e){let n=e,r=(0,t.computed)(()=>{let{itemId:e,uri:t,title:r,provider:i}=n.item;return{itemId:e,uri:t,title:r,provider:i}});return(n,i)=>((0,t.openBlock)(),(0,t.createBlock)(HW,(0,t.mergeProps)(r.value,{"card-class":`content-library-card-image`,"show-body":!1}),{header:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,WW,[(0,t.createElementVNode)(`h6`,{textContent:(0,t.toDisplayString)(e.item.title)},null,8,GW),(0,t.createElementVNode)(`small`,{textContent:(0,t.toDisplayString)(e.item.subtitle)},null,8,KW)]),(0,t.createElementVNode)(`img`,{src:e.item.imageUri,class:`content-library-card-image__figure`},null,8,qW)]),_:1},16))}}),YW=(0,t.defineComponent)({__name:`BDContentLibraryCardTitle`,props:{item:{type:Object,required:!0}},setup(e){let n=e,r=(0,t.computed)(()=>{let{itemId:e,title:t,subtitle:r,uri:i,provider:a}=n.item;return{itemId:e,title:t,subtitle:r,uri:i,provider:a}});return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(HW,(0,t.mergeProps)(r.value,{"show-body":!1,"card-class":`content-library-card-title`}),null,16))}}),XW=e=>e.replace(/<\/?[^>]+(>|$)/g,``),ZW=e=>e.replace(/<li>/g,` `).replace(/<(br|\/p)>/g,` \r`),QW=e=>e.replace(/(?:\r\n|\r|\n)/g,`<br>`),$W={class:`content-library-card-message-template__tag`},eG=[`textContent`],tG=[`textContent`],nG=[`textContent`],rG=[`id`],iG=[`innerHTML`],aG={class:`collapsed-hide`},oG={class:`collapsed-show`},sG={key:2,class:`edit-btn-group`},cG={key:3,class:`attachment-occurence`},lG={class:`number-icon`},uG=(0,t.defineComponent)({__name:`BDContentLibraryCardMessageTemplate`,props:{item:{type:Object,required:!0},variant:{type:String,default:`insert`,validator(e){return[`insert`,`edit`,`shared`].includes(e)}},apiUrl:{type:String,default:``}},emits:[`on-insert`,`show-attachment`,`on-change`,`delete`],setup(e,{emit:n}){let{t:r}=gu(),i=e,a=n,o=(0,t.ref)(null),s=(0,t.ref)(!1),c=(0,t.ref)(!1),l=(0,t.computed)(()=>`collapse-preview-${i.item.itemId}`),u=(0,t.computed)(()=>ag(i.item.files)?null:i.item.files.length),d=(0,t.computed)(()=>i.variant===`insert`),f=(0,t.computed)(()=>i.variant===`edit`),p=(0,t.computed)(()=>i.variant===`shared`),m=(0,t.computed)(()=>c.value?``:`content-library-card-not-collapsable`),h=(0,t.computed)(()=>i.item.text?QW(i.item.text):``),g=(0,t.computed)(()=>jN(i.apiUrl,i.item.files,!1)),_=(0,t.computed)(()=>jN(i.apiUrl,i.item.files,!0)),y=()=>{o.value&&(c.value=s.value||o.value.scrollHeight>o.value.clientHeight||i.item.files&&i.item.files.length>0)},b=()=>{a(`on-insert`,i.item.itemId)},x=e=>{a(`show-attachment`,e)},S=()=>{a(`on-change`,i.item.itemId)},C=()=>{a(`delete`,i.item.itemId)};return(0,t.watch)(()=>i.item,()=>{o.value&&(0,t.nextTick)().then(()=>{y()})},{immediate:!0,deep:!0}),(0,t.onMounted)(()=>{(0,t.nextTick)(()=>{y()})}),(n,i)=>((0,t.openBlock)(),(0,t.createBlock)(HW,(0,t.mergeProps)(e.item,{cardClass:`content-library-card-message-template ${m.value}`,onOnInsert:b}),{header:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,$W,[(0,t.createElementVNode)(`span`,{textContent:(0,t.toDisplayString)(e.item.category)},null,8,eG)]),(0,t.createElementVNode)(`h6`,{textContent:(0,t.toDisplayString)(e.item.title)},null,8,tG),(0,t.createElementVNode)(`small`,{textContent:(0,t.toDisplayString)(e.item.practitionerName)},null,8,nG)]),footer:(0,t.withCtx)(()=>[d.value?((0,t.openBlock)(),(0,t.createBlock)(v,{key:0,variant:`secondary`,onClick:b},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryCardMessageTemplate.insert`)),1)]),_:1})):(0,t.createCommentVNode)(``,!0),p.value?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createBlock)(v,{key:1,variant:`icon`,title:(0,t.unref)(r)(`contentLibraryCardMessageTemplate.popoverIsSharedByOtherUser`)},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(Yn)]),_:1},8,[`title`])),[[(0,t.unref)(dH)]]):(0,t.createCommentVNode)(``,!0),f.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,sG,[(0,t.createVNode)(v,{title:(0,t.unref)(r)(`contentLibraryCardMessageTemplate.edit`),variant:`icon`,onClick:S},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(Ht)]),_:1},8,[`title`]),(0,t.createVNode)(v,{title:(0,t.unref)(r)(`contentLibraryCardMessageTemplate.delete`),variant:`icon`,onClick:C},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(At)]),_:1},8,[`title`])])):(0,t.createCommentVNode)(``,!0),u.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,cG,[(0,t.createVNode)(ae),(0,t.createElementVNode)(`div`,lG,(0,t.toDisplayString)(u.value),1)])):(0,t.createCommentVNode)(``,!0)]),default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,{id:l.value,class:`content-library-card-message-template__collapse collapse`,ref_key:`content`,ref:o},[(0,t.createElementVNode)(`p`,{class:`message-text`,innerHTML:h.value},null,8,iG),e.item.files?((0,t.openBlock)(),(0,t.createBlock)(hN,{key:0,"no-download":!0,files:g.value},null,8,[`files`])):(0,t.createCommentVNode)(``,!0),e.item.files?((0,t.openBlock)(),(0,t.createBlock)(wN,{key:1,"no-download":!0,files:_.value,onShow:x},null,8,[`files`])):(0,t.createCommentVNode)(``,!0)],8,rG),c.value?((0,t.openBlock)(),(0,t.createBlock)(v,{key:0,class:`content-library-card-message-template__link-button collapse-button collapsed`,variant:`link`,"data-bs-toggle":`collapse`,"data-bs-target":`#${l.value}`},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`span`,aG,(0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryCardMessageTemplate.collapseOpen`)),1),(0,t.createElementVNode)(`span`,oG,(0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryCardMessageTemplate.collapseClosed`)),1)]),_:1},8,[`data-bs-target`])):(0,t.createCommentVNode)(``,!0)]),_:1},16,[`cardClass`]))}}),dG={class:`content-library-overview`},fG=y({__name:`BDContentLibraryOverview`,props:{items:{type:Array,default:null},cols:{type:Number,default:2}},emits:[`on-insert`,`on-change`,`delete`,`show-attachment`],setup(e,{emit:n}){let{t:r}=gu(),i={BDContentLibraryCardBasic:UW,BDContentLibraryCardImage:JW,BDContentLibraryCardTitle:YW,BDContentLibraryCardMessageTemplate:uG},a=e,o=n,s=(0,t.computed)(()=>ag(a.items)),c=(0,t.computed)(()=>Math.floor(12/a.cols)),l=e=>{o(`on-insert`,e)},u=e=>{o(`on-change`,e)},d=e=>{o(`delete`,e)},f=e=>{o(`show-attachment`,e)};return(n,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,dG,[(0,t.createVNode)(h,null,{default:(0,t.withCtx)(()=>[s.value?((0,t.openBlock)(),(0,t.createBlock)(p,{key:0,sm:12},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(Ta,{show:``},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryOverview.noResults`)),1)]),_:1})]),_:1})):(0,t.createCommentVNode)(``,!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.items,e=>((0,t.openBlock)(),(0,t.createBlock)(p,{class:`card-container`,key:e.itemId,sm:12,md:6,lg:c.value},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(i[e.componentToRender]),(0,t.mergeProps)({ref_for:!0},e,{item:e,onOnInsert:l,onOnChange:u,onDelete:d,onShowAttachment:f}),null,16,[`item`]))]),_:2},1032,[`lg`]))),128))]),_:1})]))}},[[`__scopeId`,`data-v-de8a1bfb`]]),pG={class:`content-library-template`},mG={class:`number-of-messages`},hG=[`src`],gG=[`src`],_G=[`id`],vG={class:`collapse-button-container`},yG={class:`collapsed-show`},bG={class:`collapsed-hide`},xG=(0,t.defineComponent)({__name:`BDContentLibraryTemplate`,props:{modelValue:{},showAddButton:{type:Boolean,default:!1},providerSelectOptions:{default:()=>[]},provider:{},editCategory:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:[`create`,`on-insert`,`on-change`,`delete`,`update`,`on-input`,`show-attachment`,`provider-changed`],setup(e,{emit:n}){let{t:r}=gu(),i=e,a=n,o=(0,t.ref)(i.modelValue);(0,t.watch)(()=>i.modelValue,e=>{o.value=e},{immediate:!0,deep:!0});let s=(0,t.computed)(()=>i.modelValue?.provider?.SupportsSearch?r(`contentLibraryTemplate.searchPlaceholderSearch`):r(`contentLibraryTemplate.searchPlaceholder`)),c=(0,t.computed)(()=>ig(i.providerSelectOptions)&&i.providerSelectOptions.length>1),l=(0,t.computed)(()=>i.provider&&ig(i.provider.items)?i.provider.items:[]),u=(0,t.computed)(()=>i.provider&&ig(i.provider.filters)),d=(0,t.computed)(()=>{let e=0;return i.provider&&IW(i.provider.totalNumber)&&(e=i.provider.totalNumber),e===1?`${e} ${r(`contentLibraryTemplate.message`)}`:`${e} ${r(`contentLibraryTemplate.messages`)}`}),f=(0,t.computed)(()=>i.provider&&i.provider.pageSize&&i.provider.totalNumber&&i.provider.pageSize<=i.provider.totalNumber),m=(0,t.computed)(()=>i.provider&&i.provider.totalNumber?i.provider.totalNumber:0),g=(0,t.computed)(()=>u.value?9:12),_=(0,t.computed)(()=>i.provider&&!u.value?3:2),y=(0,t.computed)(()=>i.showAddButton||c.value),b=(0,t.computed)(()=>({md:3,lg:3})),x=(0,t.computed)(()=>({md:9,lg:9})),S=(0,t.computed)(()=>({sm:12,md:12,lg:c.value?7:8,"offset-lg":y.value?0:3,"offset-md":y.value?0:3})),C=(0,t.computed)(()=>({sm:12,md:y.value?6:3,lg:c.value?5:4})),w=e=>e.replace(/\s/g,`-`),T=()=>{a(`create`)},E=e=>{a(`on-insert`,e)},D=e=>{a(`on-change`,e)},O=e=>{a(`delete`,e)},k=()=>{a(`update`,`category`)},j=()=>{o.value.currentPage=1,a(`on-input`,o.value)},M=()=>{a(`on-input`,o.value)},ee=e=>{a(`show-attachment`,e)},ne=e=>{a(`provider-changed`,e.value)};return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,pG,[(0,t.createVNode)(h,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,(0,t.mergeProps)(b.value,{class:`content-library-header content-library-header__messages`}),{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`span`,mG,(0,t.toDisplayString)(d.value),1),e.showAddButton?((0,t.openBlock)(),(0,t.createBlock)(v,{key:0,class:`d-md-none`,onClick:T},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(ci),(0,t.createTextVNode)(` `+(0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryTemplate.newMessageText`)),1)]),_:1})):(0,t.createCommentVNode)(``,!0)]),_:1},16),(0,t.createVNode)(p,(0,t.mergeProps)(x.value,{class:`content-library-header`}),{default:(0,t.withCtx)(()=>[(0,t.createVNode)(h,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,(0,t.mergeProps)(S.value,{class:`search-block`}),{default:(0,t.withCtx)(()=>[(0,t.createVNode)(vh,{type:`text`,modelValue:o.value.searchTerm,"onUpdate:modelValue":i[0]||=e=>o.value.searchTerm=e,placeholder:s.value,delayTimeMs:500,class:`search-input`,onInput:j,autofocus:``},null,8,[`modelValue`,`placeholder`])]),_:1},16),e.showAddButton?((0,t.openBlock)(),(0,t.createBlock)(p,(0,t.mergeProps)({key:0},C.value,{class:`add-button-block d-none d-md-block`}),{default:(0,t.withCtx)(()=>[e.showAddButton?((0,t.openBlock)(),(0,t.createBlock)(v,{key:0,onClick:T},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(ci),(0,t.createTextVNode)(` `+(0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryTemplate.newMessageText`)),1)]),_:1})):(0,t.createCommentVNode)(``,!0)]),_:1},16)):(0,t.createCommentVNode)(``,!0),c.value?((0,t.openBlock)(),(0,t.createBlock)(p,(0,t.mergeProps)({key:1},C.value,{class:`select-button-block`}),{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(FW),{modelValue:o.value.provider,"onUpdate:modelValue":i[1]||=e=>o.value.provider=e,options:e.providerSelectOptions,clearable:!1,searchable:!1,"onOption:selected":ne},{"open-indicator":(0,t.withCtx)(({attributes:e})=>[(0,t.createElementVNode)(`span`,(0,t.normalizeProps)((0,t.guardReactiveProps)(e)),[(0,t.createVNode)(Me)],16)]),option:(0,t.withCtx)(({icon:e,label:n,img:r})=>[e?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e),{key:0})):(0,t.createCommentVNode)(``,!0),r?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:1,src:r},null,8,hG)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(n),1)]),"selected-option":(0,t.withCtx)(({icon:e,label:n,img:r})=>[e?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e),{key:0})):(0,t.createCommentVNode)(``,!0),r?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:1,src:r},null,8,gG)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(n),1)]),_:1},8,[`modelValue`,`options`])]),_:1},16)):(0,t.createCommentVNode)(``,!0)]),_:1})]),_:1},16),u.value?((0,t.openBlock)(),(0,t.createBlock)(p,{key:0,md:12,lg:3,class:`content-library-body`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(oo,{title:`Filter`,"show-on":`md`,"collapse-on":`md`},{body:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.provider.filters,(n,a)=>((0,t.openBlock)(),(0,t.createBlock)(xh,{key:n.label,label:n.label},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(n.options,(e,r)=>((0,t.openBlock)(),(0,t.createBlock)(zh,{modelValue:o.value.selectedFilters,"onUpdate:modelValue":i[2]||=e=>o.value.selectedFilters=e,key:r,value:`${n.id}-${e.item}`,onChange:j},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.name),1)]),_:2},1032,[`modelValue`,`value`]))),128)),n.moreOptions?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`div`,{id:`collapse-${w(n.label)}`,class:`collapse`},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(n.moreOptions,(e,r)=>((0,t.openBlock)(),(0,t.createBlock)(zh,{modelValue:o.value.selectedFilters,"onUpdate:modelValue":i[3]||=e=>o.value.selectedFilters=e,key:r,value:`${n.id}-${e.item}`,onChange:j},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.name),1)]),_:2},1032,[`modelValue`,`value`]))),128))],8,_G),(0,t.createElementVNode)(`div`,vG,[(0,t.createVNode)(v,{class:(0,t.normalizeClass)([`collapse-button collapsed`,{"collapse-button-last":e.provider.filters.length-1===a}]),variant:`link`,"data-bs-toggle":`collapse`,"data-bs-target":`#collapse-${w(n.label)}`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(A,{class:`collapsed-show`}),(0,t.createElementVNode)(`span`,yG,(0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryTemplate.more`)),1),(0,t.createVNode)(te,{class:`collapsed-hide`}),(0,t.createElementVNode)(`span`,bG,(0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryTemplate.less`)),1)]),_:1},8,[`class`,`data-bs-target`])])],64)):(0,t.createCommentVNode)(``,!0),n.label===`Categorieën`&&e.editCategory?((0,t.openBlock)(),(0,t.createBlock)(v,{key:1,variant:`outline-primary-dark`,class:`edit-category-button`,size:`sm`,onClick:k},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryTemplate.changeCategoryButtonLabel`)),1)]),_:1})):(0,t.createCommentVNode)(``,!0)]),_:2},1032,[`label`]))),128))]),_:1})]),_:1})):(0,t.createCommentVNode)(``,!0),(0,t.createVNode)(p,{md:12,lg:g.value,class:`content-library-body`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(fG,{items:l.value,cols:_.value,onOnInsert:E,onOnChange:D,onDelete:O,onShowAttachment:ee},null,8,[`items`,`cols`]),(0,t.createVNode)(h,{class:`content-library-pagination`},{default:(0,t.withCtx)(()=>[f.value?((0,t.openBlock)(),(0,t.createBlock)(Mh,{key:0,modelValue:o.value.currentPage,"onUpdate:modelValue":i[4]||=e=>o.value.currentPage=e,totalRows:m.value,rowsPerPage:e.provider.pageSize,onClick:M,isPatient:!0},null,8,[`modelValue`,`totalRows`,`rowsPerPage`])):(0,t.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`lg`])]),_:1})]))}}),SG={__name:`BDContentLibraryModal`,props:{modelValue:{type:Object},provider:{type:Object},providerSelectOptions:{type:Array,default:()=>[]},visible:{type:Boolean,default:null},loading:{type:Boolean,default:!1}},emits:[`on-insert`,`cancel`,`show-attachment`,`shown`,`provider-changed`],setup(e,{emit:n}){let{closeModal:r}=PU(`content-library-modal`),i=e,a=n,o=(0,t.ref)(i.modelValue),s=(0,t.computed)(()=>i.modelValue?.provider?.img??null),c=(0,t.computed)(()=>i.modelValue?.provider?.label??``);(0,t.watch)(()=>i.modelValue,e=>{o.value=e},{immediate:!0,deep:!0});let l=e=>{r(),a(`on-insert`,e)},u=()=>{a(`cancel`)},d=e=>{a(`show-attachment`,e)},f=()=>{a(`shown`)},p=e=>{a(`provider-changed`,e)};return(n,r)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`content-library-modal`,"title-image":s.value,title:c.value,size:`xl`,visible:e.visible,"hide-footer":!0,onCancel:u,onShown:f},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(xG,{modelValue:o.value,"onUpdate:modelValue":r[0]||=e=>o.value=e,provider:e.provider,providerSelectOptions:e.providerSelectOptions,loading:e.loading,onOnInsert:l,onShowAttachment:d,onProviderChanged:p},null,8,[`modelValue`,`provider`,`providerSelectOptions`,`loading`])]),_:1},8,[`title-image`,`title`,`visible`]))}},CG=Object.defineProperty,wG=(e,t,n)=>t in e?CG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,TG=(e,t,n)=>(wG(e,typeof t==`symbol`?t:t+``,n),n),EG=class{constructor(){TG(this,`seed`,0),TG(this,`data`,new Map)}id(){return Date.now().toString(26)+ this.seed++}add(e,t=this.id()){return this.data.set(t,e),t}get(e){return this.data.get(e)}delete(e){this.delete(e)}},DG=`Failed to copy value to clipboard. Unknown type.`,OG={asString(e){if(e==null)return console.warn(`Clipboard input is empty`),``;if(typeof e!=`string`)try{return JSON.stringify(e)}catch(e){return console.warn(DG,e),``}return e}},kG=`position:fixed; pointer-events:none; z-index:-9999; opacity:0;`,AG={createTextarea(e){let t=document.createElement(`textarea`);return t.addEventListener(`focusin`,e=>{e.stopPropagation()}),t.value=e,t.setAttribute(`readonly`,``),t.style.cssText=kG,t}},jG={async requestClipboardPermission(){return navigator.permissions.query({name:`clipboard-write`})},async writeClipboard(e){return(await jG.requestClipboardPermission()).state===`granted`?(await navigator.clipboard.writeText(e),!0):!1},writeClipboardExecCommand(e){let t=AG.createTextarea(e);if(document.body.appendChild(t),navigator.userAgent.match(/ipad|ipod|iphone/i)){t.contentEditable=`true`,t.readOnly=!0;let e=document.createRange();e.selectNodeContents(t);let n=window.getSelection();n&&(n.removeAllRanges(),n.addRange(e),t.setSelectionRange(0,999999))}else t.select();let n=document.execCommand(`copy`);return document.body.removeChild(t),n},async copy(e){let t=typeof e==`function`?e():e,n=OG.asString(t);if(jG.writeClipboardExecCommand(n))return!0;await jG.writeClipboard(n)}};new EG;var{showSuccessToast:MG}=FU(),NG=(e,t,n)=>{let r=`${t}\n${e.AfzenderNaam}: \r${e.Datum} \r${XW(ZW(e.Tekst))}`;jG.copy(r).then(()=>MG(n))},PG=(e,t,n)=>{let r=`${t}\n${e.filter(e=>e.selected).map(e=>`${e.AfzenderNaam}: \r${e.Datum}\r${XW(ZW(e.Tekst))}`).join(`
|
|
1305
|
+
https://vue-select.org/api/props.html#getoptionkey`,e,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(e,t,n){return(t||``).toLocaleLowerCase().indexOf(n.toLocaleLowerCase())>-1}},filter:{type:Function,default(e,t){return e.filter(e=>{let n=this.getOptionLabel(e);return typeof n==`number`&&(n=n.toString()),this.filterBy(e,n,t)})}},createOption:{type:Function,default(e){return typeof this.optionList[0]==`object`?{[this.label]:e}:e}},resetOnOptionsChange:{default:!1,validator:e=>[`function`,`boolean`].includes(typeof e)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:e,multiple:t}){return e&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:`auto`},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:`[type=search]`},mapKeydown:{type:Function,default:(e,t)=>e},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(e,t,{width:n,top:r,left:i}){e.style.top=r,e.style.left=i,e.style.width=n}},dropdownShouldOpen:{type:Function,default({noDrop:e,open:t,mutableLoading:n}){return e?!1:t&&!n}},uid:{type:[String,Number],default:()=>bW()}},data(){return{search:``,open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return this.modelValue===void 0||this.isReducingValues},selectedValue(){let e=this.modelValue;return this.isTrackingValues&&(e=this.$data._value),e!=null&&e!==``?[].concat(e):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){let e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:tW({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":`list`,"aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:`search`,type:`search`,autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:e=>this.search=e.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:`openIndicator`,role:`presentation`,class:`vs__open-indicator`}},listHeader:e,listFooter:e,header:nW(tW({},e),{deselect:this.deselect}),footer:nW(tW({},e),{deselect:this.deselect})}},childComponents(){return tW(tW({},gW),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){let e=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return e;let t=this.search.length?this.filter(e,this.search,this):e;if(this.taggable&&this.search.length){let e=this.createOption(this.search);this.optionExists(e)||t.unshift(e)}return t},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(e,t){!this.taggable&&(typeof this.resetOnOptionsChange==`function`?this.resetOnOptionsChange(e,t,this.selectedValue):this.resetOnOptionsChange)&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)}},multiple(){this.clearSelection()},open(e){this.$emit(e?`open`:`close`)}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(e){Array.isArray(e)?this.$data._value=e.map(e=>this.findOptionFromReducedValue(e)):this.$data._value=this.findOptionFromReducedValue(e)},select(e){this.$emit(`option:selecting`,e),this.isOptionSelected(e)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(e):(this.taggable&&!this.optionExists(e)&&(this.$emit(`option:created`,e),this.pushTag(e)),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit(`option:selected`,e)),this.onAfterSelect(e)},deselect(e){this.$emit(`option:deselecting`,e),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,e))),this.$emit(`option:deselected`,e)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(e){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search=``)},updateValue(e){this.modelValue===void 0&&(this.$data._value=e),e!==null&&(e=Array.isArray(e)?e.map(e=>this.reduce(e)):this.reduce(e)),this.$emit(`update:modelValue`,e)},toggleDropdown(e){let t=e.target!==this.searchEl;t&&e.preventDefault();let n=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||n.filter(Boolean).some(t=>t.contains(e.target)||t===e.target)){e.preventDefault();return}this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(e){return this.selectedValue.some(t=>this.optionComparator(t,e))},isOptionDeselectable(e){return this.isOptionSelected(e)&&this.deselectFromDropdown},optionComparator(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue(e){let t=t=>JSON.stringify(this.reduce(t))===JSON.stringify(e),n=[...this.options,...this.pushedTags].filter(t);return n.length===1?n[0]:n.find(e=>this.optionComparator(e,this.$data._value))||e},closeSearchOptions(){this.open=!1,this.$emit(`search:blur`)},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let e=null;this.multiple&&(e=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(e)}},optionExists(e){return this.optionList.some(t=>this.optionComparator(t,e))},normalizeOptionForSlot(e){return typeof e==`object`?e:{[this.label]:e}},pushTag(e){this.pushedTags.push(e)},onEscape(){this.search.length?this.search=``:this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{let{clearSearchOnSelect:e,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=``),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit(`search:focus`)},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(e){let t=e=>(e.preventDefault(),!this.isComposing&&this.typeAheadSelect()),n={8:e=>this.maybeDeleteValue(),9:e=>this.onTab(),27:e=>this.onEscape(),38:e=>(e.preventDefault(),this.typeAheadUp()),40:e=>(e.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(e=>n[e]=t);let r=this.mapKeydown(n,this);if(typeof r[e.keyCode]==`function`)return r[e.keyCode](e)}}},SW=[`dir`],CW=[`id`,`aria-expanded`,`aria-owns`],wW={ref:`selectedOptions`,class:`vs__selected-options`},TW=[`disabled`,`title`,`aria-label`,`onClick`],EW={ref:`actions`,class:`vs__actions`},DW=[`disabled`],OW={class:`vs__spinner`},kW=[`id`],AW=[`id`,`aria-selected`,`onMouseover`,`onClick`],jW={key:0,class:`vs__no-options`},MW=(0,t.createTextVNode)(` Sorry, no matching options. `),NW=[`id`];function PW(e,n,r,i,a,o){let s=(0,t.resolveDirective)(`append-to-body`);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,{dir:r.dir,class:(0,t.normalizeClass)([`v-select`,o.stateClasses])},[(0,t.renderSlot)(e.$slots,`header`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.header))),(0,t.createElementVNode)(`div`,{id:`vs${r.uid}__combobox`,ref:`toggle`,class:`vs__dropdown-toggle`,role:`combobox`,"aria-expanded":o.dropdownOpen.toString(),"aria-owns":`vs${r.uid}__listbox`,"aria-label":`Search for option`,onMousedown:n[1]||=e=>o.toggleDropdown(e)},[(0,t.createElementVNode)(`div`,wW,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(o.selectedValue,(n,i)=>(0,t.renderSlot)(e.$slots,`selected-option-container`,{option:o.normalizeOptionForSlot(n),deselect:o.deselect,multiple:r.multiple,disabled:r.disabled},()=>[((0,t.openBlock)(),(0,t.createElementBlock)(`span`,{key:r.getOptionKey(n),class:`vs__selected`},[(0,t.renderSlot)(e.$slots,`selected-option`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.normalizeOptionForSlot(n))),()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r.getOptionLabel(n)),1)]),r.multiple?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,ref_for:!0,ref:e=>a.deselectButtons[i]=e,disabled:r.disabled,type:`button`,class:`vs__deselect`,title:`Deselect ${r.getOptionLabel(n)}`,"aria-label":`Deselect ${r.getOptionLabel(n)}`,onClick:e=>o.deselect(n)},[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(o.childComponents.Deselect)))],8,TW)):(0,t.createCommentVNode)(``,!0)]))])),256)),(0,t.renderSlot)(e.$slots,`search`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.search)),()=>[(0,t.createElementVNode)(`input`,(0,t.mergeProps)({class:`vs__search`},o.scope.search.attributes,(0,t.toHandlers)(o.scope.search.events)),null,16)])],512),(0,t.createElementVNode)(`div`,EW,[(0,t.withDirectives)((0,t.createElementVNode)(`button`,{ref:`clearButton`,disabled:r.disabled,type:`button`,class:`vs__clear`,title:`Clear Selected`,"aria-label":`Clear Selected`,onClick:n[0]||=(...e)=>o.clearSelection&&o.clearSelection(...e)},[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(o.childComponents.Deselect)))],8,DW),[[t.vShow,o.showClearButton]]),(0,t.renderSlot)(e.$slots,`open-indicator`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.openIndicator)),()=>[r.noDrop?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(o.childComponents.OpenIndicator),(0,t.normalizeProps)((0,t.mergeProps)({key:0},o.scope.openIndicator.attributes)),null,16))]),(0,t.renderSlot)(e.$slots,`spinner`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.spinner)),()=>[(0,t.withDirectives)((0,t.createElementVNode)(`div`,OW,`Loading...`,512),[[t.vShow,e.mutableLoading]])])],512)],40,CW),(0,t.createVNode)(t.Transition,{name:r.transition},{default:(0,t.withCtx)(()=>[o.dropdownOpen?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)(`ul`,{id:`vs${r.uid}__listbox`,ref:`dropdownMenu`,key:`vs${r.uid}__listbox`,class:`vs__dropdown-menu`,role:`listbox`,tabindex:`-1`,onMousedown:n[2]||=(0,t.withModifiers)((...e)=>o.onMousedown&&o.onMousedown(...e),[`prevent`]),onMouseup:n[3]||=(...e)=>o.onMouseUp&&o.onMouseUp(...e)},[(0,t.renderSlot)(e.$slots,`list-header`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.listHeader))),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(o.filteredOptions,(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{id:`vs${r.uid}__option-${i}`,key:r.getOptionKey(n),role:`option`,class:(0,t.normalizeClass)([`vs__dropdown-option`,{"vs__dropdown-option--deselect":o.isOptionDeselectable(n)&&i===e.typeAheadPointer,"vs__dropdown-option--selected":o.isOptionSelected(n),"vs__dropdown-option--highlight":i===e.typeAheadPointer,"vs__dropdown-option--disabled":!r.selectable(n)}]),"aria-selected":i===e.typeAheadPointer?!0:null,onMouseover:t=>r.selectable(n)?e.typeAheadPointer=i:null,onClick:(0,t.withModifiers)(e=>r.selectable(n)?o.select(n):null,[`prevent`,`stop`])},[(0,t.renderSlot)(e.$slots,`option`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.normalizeOptionForSlot(n))),()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r.getOptionLabel(n)),1)])],42,AW))),128)),o.filteredOptions.length===0?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,jW,[(0,t.renderSlot)(e.$slots,`no-options`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.noOptions)),()=>[MW])])):(0,t.createCommentVNode)(``,!0),(0,t.renderSlot)(e.$slots,`list-footer`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.listFooter)))],40,kW)),[[s]]):((0,t.openBlock)(),(0,t.createElementBlock)(`ul`,{key:1,id:`vs${r.uid}__listbox`,role:`listbox`,style:{display:`none`,visibility:`hidden`}},null,8,NW))]),_:3},8,[`name`]),(0,t.renderSlot)(e.$slots,`footer`,(0,t.normalizeProps)((0,t.guardReactiveProps)(o.scope.footer)))],10,SW)}var FW=oW(xW,[[`render`,PW]]),IW=e=>typeof e==`number`,LW=[`textContent`],RW=[`textContent`],zW={key:0,class:`content-library-card__body`},BW=[`textContent`],VW=(0,t.defineComponent)({__name:`BDContentLibraryCard`,props:{itemId:{type:[String,Number],required:!0},title:{type:String},subtitle:{type:String},description:{type:String},uri:{type:String},showFooter:{type:Boolean,default:!0},showBody:{type:Boolean,default:!0},cardClass:{type:String},provider:{type:String}},emits:[`on-insert`],setup(e,{emit:n}){let{t:r}=gu(),i=e,a=n,o=(0,t.computed)(()=>`Open ${i.provider} in nieuw venster`),s=()=>{a(`on-insert`,i.itemId)},c=()=>{window.open(i.uri,`_blank`,`noopener,noreferrer`)};return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`article`,{class:(0,t.normalizeClass)([`content-library-card`,i.cardClass])},[(0,t.createElementVNode)(`header`,null,[(0,t.renderSlot)(e.$slots,`header`,{},()=>[(0,t.createElementVNode)(`h6`,{textContent:(0,t.toDisplayString)(i.title)},null,8,LW),i.subtitle?((0,t.openBlock)(),(0,t.createElementBlock)(`small`,{key:0,textContent:(0,t.toDisplayString)(i.subtitle)},null,8,RW)):(0,t.createCommentVNode)(``,!0)])]),i.showBody?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,zW,[(0,t.renderSlot)(e.$slots,`default`,{},()=>[(0,t.createElementVNode)(`p`,{textContent:(0,t.toDisplayString)(i.description),class:`content-library-card__description`},null,8,BW)])])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`footer`,null,[i.showFooter?(0,t.renderSlot)(e.$slots,`footer`,{key:0},()=>[(0,t.createVNode)(v,{variant:`secondary`,onClick:s},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryCard.insert`)),1)]),_:1}),(0,t.createVNode)(v,{title:o.value,variant:`icon`,onClick:c},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(en)]),_:1},8,[`title`])]):(0,t.createCommentVNode)(``,!0)])],2))}}),HW=(0,t.defineComponent)({__name:`BDContentLibraryCardBasic`,props:{item:{type:Object,required:!0}},setup(e){return(n,r)=>((0,t.openBlock)(),(0,t.createBlock)(VW,(0,t.normalizeProps)((0,t.guardReactiveProps)(e.item)),null,16))}}),UW={class:`content-library-card-image__titles`},WW=[`textContent`],GW=[`textContent`],KW=[`src`],qW=(0,t.defineComponent)({__name:`BDContentLibraryCardImage`,props:{item:{type:Object,required:!0}},setup(e){let n=e,r=(0,t.computed)(()=>{let{itemId:e,uri:t,title:r,provider:i}=n.item;return{itemId:e,uri:t,title:r,provider:i}});return(n,i)=>((0,t.openBlock)(),(0,t.createBlock)(VW,(0,t.mergeProps)(r.value,{"card-class":`content-library-card-image`,"show-body":!1}),{header:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,UW,[(0,t.createElementVNode)(`h6`,{textContent:(0,t.toDisplayString)(e.item.title)},null,8,WW),(0,t.createElementVNode)(`small`,{textContent:(0,t.toDisplayString)(e.item.subtitle)},null,8,GW)]),(0,t.createElementVNode)(`img`,{src:e.item.imageUri,class:`content-library-card-image__figure`},null,8,KW)]),_:1},16))}}),JW=(0,t.defineComponent)({__name:`BDContentLibraryCardTitle`,props:{item:{type:Object,required:!0}},setup(e){let n=e,r=(0,t.computed)(()=>{let{itemId:e,title:t,subtitle:r,uri:i,provider:a}=n.item;return{itemId:e,title:t,subtitle:r,uri:i,provider:a}});return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(VW,(0,t.mergeProps)(r.value,{"show-body":!1,"card-class":`content-library-card-title`}),null,16))}}),YW=e=>e.replace(/<\/?[^>]+(>|$)/g,``),XW=e=>e.replace(/<li>/g,` `).replace(/<(br|\/p)>/g,` \r`),ZW=e=>e.replace(/(?:\r\n|\r|\n)/g,`<br>`),QW={class:`heading`},$W={class:`title`},eG=[`textContent`],tG=[`textContent`],nG={key:0,class:`edit-btn-group`},rG=[`innerHTML`],iG={key:0,class:`attachment-occurence`},aG={class:`number-icon`},oG=(0,t.defineComponent)({__name:`BDContentLibraryCardMessageTemplate`,props:{item:{type:Object,required:!0},variant:{type:String,default:`insert`,validator(e){return[`insert`,`edit`,`shared`].includes(e)}},apiUrl:{type:String,default:``}},emits:[`on-insert`,`show-attachment`,`on-change`,`delete`],setup(e,{emit:n}){let{t:r}=gu(),i=e,a=n,o=(0,t.ref)(null),s=(0,t.ref)(!0),c=(0,t.ref)(!1),l=(0,t.computed)(()=>`collapse-preview-${i.item.itemId}`),u=(0,t.computed)(()=>ag(i.item.files)?null:i.item.files.length),d=(0,t.computed)(()=>i.variant===`insert`),f=(0,t.computed)(()=>i.variant===`edit`),p=(0,t.computed)(()=>i.variant===`shared`),m=(0,t.computed)(()=>i.item.text?ZW(i.item.text):``),h=(0,t.computed)(()=>jN(i.apiUrl,i.item.files,!1)),g=(0,t.computed)(()=>jN(i.apiUrl,i.item.files,!0)),_=(0,t.computed)(()=>s.value?r(`contentLibraryCardMessageTemplate.collapseClosed`):r(`contentLibraryCardMessageTemplate.collapseOpen`)),y=()=>{o.value&&(c.value=!s.value||o.value.scrollHeight>75||i.item.files&&i.item.files.length>0)},b=()=>{a(`on-insert`,i.item.itemId)},x=e=>{a(`show-attachment`,e)},S=()=>{a(`on-change`,i.item.itemId)},C=()=>{a(`delete`,i.item.itemId)},w=()=>{s.value=!s.value};return(0,t.watch)(()=>i.item,()=>{o.value&&(0,t.nextTick)().then(()=>{y()})},{immediate:!0,deep:!0}),(0,t.onMounted)(()=>{(0,t.nextTick)(()=>{y()})}),(n,i)=>((0,t.openBlock)(),(0,t.createBlock)(VW,(0,t.mergeProps)(e.item,{"item-id":e.item.itemId,id:l.value,"card-class":`content-library-card-message-template ${s.value?`collapsed`:``}`,onOnInsert:b}),{header:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,QW,[(0,t.createElementVNode)(`div`,$W,[(0,t.createElementVNode)(`h6`,{textContent:(0,t.toDisplayString)(e.item.title)},null,8,eG),(0,t.createVNode)(wh,{variant:`gray`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.item.category),1)]),_:1})]),(0,t.createElementVNode)(`small`,{textContent:(0,t.toDisplayString)(e.item.practitionerName)},null,8,tG)]),f.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,nG,[(0,t.createVNode)(v,{title:(0,t.unref)(r)(`contentLibraryCardMessageTemplate.edit`),variant:`icon`,onClick:S},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(Ht)]),_:1},8,[`title`]),(0,t.createVNode)(v,{title:(0,t.unref)(r)(`contentLibraryCardMessageTemplate.delete`),variant:`icon`,onClick:C},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(At)]),_:1},8,[`title`])])):(0,t.createCommentVNode)(``,!0)]),footer:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,null,[c.value?((0,t.openBlock)(),(0,t.createBlock)(v,{key:0,class:`collapse-button`,variant:`link`,onClick:w},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(_.value),1)]),_:1})):(0,t.createCommentVNode)(``,!0)]),(0,t.createElementVNode)(`div`,null,[u.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,iG,[(0,t.createVNode)(ae),(0,t.createElementVNode)(`div`,aG,(0,t.toDisplayString)(u.value),1)])):(0,t.createCommentVNode)(``,!0)]),p.value?(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createBlock)(v,{key:0,variant:`icon`,title:(0,t.unref)(r)(`contentLibraryCardMessageTemplate.popoverIsSharedByOtherUser`)},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(Yn)]),_:1},8,[`title`])),[[(0,t.unref)(dH)]]):(0,t.createCommentVNode)(``,!0),d.value?((0,t.openBlock)(),(0,t.createBlock)(v,{key:1,variant:`secondary`,onClick:b},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryCardMessageTemplate.insert`)),1)]),_:1})):(0,t.createCommentVNode)(``,!0)]),default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,{class:`content-library-card-message-template__body`,ref_key:`content`,ref:o},[(0,t.createElementVNode)(`div`,{class:`message-text`,innerHTML:m.value},null,8,rG),e.item.files?((0,t.openBlock)(),(0,t.createBlock)(hN,{key:0,"no-download":!0,files:h.value,"show-delete":!1},null,8,[`files`])):(0,t.createCommentVNode)(``,!0),e.item.files?((0,t.openBlock)(),(0,t.createBlock)(wN,{key:1,"no-download":!0,files:g.value,"fast-download":!1,"show-delete":!1,onShow:x},null,8,[`files`])):(0,t.createCommentVNode)(``,!0)],512)]),_:1},16,[`item-id`,`id`,`card-class`]))}}),sG={class:`content-library-overview`},cG=y({__name:`BDContentLibraryOverview`,props:{items:{type:Array,default:null},cols:{type:Number,default:2}},emits:[`on-insert`,`on-change`,`delete`,`show-attachment`],setup(e,{emit:n}){let{t:r}=gu(),i={BDContentLibraryCardBasic:HW,BDContentLibraryCardImage:qW,BDContentLibraryCardTitle:JW,BDContentLibraryCardMessageTemplate:oG},a=e,o=n,s=(0,t.computed)(()=>ag(a.items)),c=(0,t.computed)(()=>Math.floor(12/a.cols)),l=e=>{o(`on-insert`,e)},u=e=>{o(`on-change`,e)},d=e=>{o(`delete`,e)},f=e=>{o(`show-attachment`,e)};return(n,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,sG,[(0,t.createVNode)(h,null,{default:(0,t.withCtx)(()=>[s.value?((0,t.openBlock)(),(0,t.createBlock)(p,{key:0,sm:12},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(Ta,{show:``},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryOverview.noResults`)),1)]),_:1})]),_:1})):(0,t.createCommentVNode)(``,!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.items,e=>((0,t.openBlock)(),(0,t.createBlock)(p,{class:`card-container`,key:e.itemId,sm:12,md:6,lg:c.value},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(i[e.componentToRender]),(0,t.mergeProps)({ref_for:!0},e,{item:e,onOnInsert:l,onOnChange:u,onDelete:d,onShowAttachment:f}),null,16,[`item`]))]),_:2},1032,[`lg`]))),128))]),_:1})]))}},[[`__scopeId`,`data-v-7c017b1d`]]),lG={class:`content-library-template`},uG={class:`number-of-messages`},dG=[`src`],fG=[`src`],pG=[`id`],mG={class:`collapse-button-container`},hG={class:`collapsed-show`},gG={class:`collapsed-hide`},_G=(0,t.defineComponent)({__name:`BDContentLibraryTemplate`,props:{modelValue:{},showAddButton:{type:Boolean,default:!1},providerSelectOptions:{default:()=>[]},provider:{},editCategory:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:[`create`,`on-insert`,`on-change`,`delete`,`update`,`on-input`,`show-attachment`,`provider-changed`],setup(e,{emit:n}){let{t:r}=gu(),i=e,a=n,o=(0,t.ref)(i.modelValue);(0,t.watch)(()=>i.modelValue,e=>{o.value=e},{immediate:!0,deep:!0});let s=(0,t.computed)(()=>i.modelValue?.provider?.SupportsSearch?r(`contentLibraryTemplate.searchPlaceholderSearch`):r(`contentLibraryTemplate.searchPlaceholder`)),c=(0,t.computed)(()=>ig(i.providerSelectOptions)&&i.providerSelectOptions.length>1),l=(0,t.computed)(()=>i.provider&&ig(i.provider.items)?i.provider.items:[]),u=(0,t.computed)(()=>i.provider&&ig(i.provider.filters)),d=(0,t.computed)(()=>{let e=0;return i.provider&&IW(i.provider.totalNumber)&&(e=i.provider.totalNumber),e===1?`${e} ${r(`contentLibraryTemplate.message`)}`:`${e} ${r(`contentLibraryTemplate.messages`)}`}),f=(0,t.computed)(()=>i.provider&&i.provider.pageSize&&i.provider.totalNumber&&i.provider.pageSize<=i.provider.totalNumber),m=(0,t.computed)(()=>i.provider&&i.provider.totalNumber?i.provider.totalNumber:0),g=(0,t.computed)(()=>u.value?9:12),_=(0,t.computed)(()=>i.provider&&!u.value?3:2),y=(0,t.computed)(()=>i.showAddButton||c.value),b=(0,t.computed)(()=>({md:3,lg:3})),x=(0,t.computed)(()=>({md:9,lg:9})),S=(0,t.computed)(()=>({sm:12,md:12,lg:c.value?7:8,"offset-lg":y.value?0:3,"offset-md":y.value?0:3})),C=(0,t.computed)(()=>({sm:12,md:y.value?6:3,lg:c.value?5:4})),w=e=>e.replace(/\s/g,`-`),T=()=>{a(`create`)},E=e=>{a(`on-insert`,e)},D=e=>{a(`on-change`,e)},O=e=>{a(`delete`,e)},k=()=>{a(`update`,`category`)},j=()=>{o.value.currentPage=1,a(`on-input`,o.value)},M=()=>{a(`on-input`,o.value)},ee=e=>{a(`show-attachment`,e)},ne=e=>{a(`provider-changed`,e.value)};return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,lG,[(0,t.createVNode)(h,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,(0,t.mergeProps)(b.value,{class:`content-library-header content-library-header__messages`}),{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`span`,uG,(0,t.toDisplayString)(d.value),1),e.showAddButton?((0,t.openBlock)(),(0,t.createBlock)(v,{key:0,class:`d-md-none`,onClick:T},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(ci),(0,t.createTextVNode)(` `+(0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryTemplate.newMessageText`)),1)]),_:1})):(0,t.createCommentVNode)(``,!0)]),_:1},16),(0,t.createVNode)(p,(0,t.mergeProps)(x.value,{class:`content-library-header`}),{default:(0,t.withCtx)(()=>[(0,t.createVNode)(h,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,(0,t.mergeProps)(S.value,{class:`search-block`}),{default:(0,t.withCtx)(()=>[(0,t.createVNode)(vh,{type:`text`,modelValue:o.value.searchTerm,"onUpdate:modelValue":i[0]||=e=>o.value.searchTerm=e,placeholder:s.value,delayTimeMs:500,class:`search-input`,onInput:j,autofocus:``},null,8,[`modelValue`,`placeholder`])]),_:1},16),e.showAddButton?((0,t.openBlock)(),(0,t.createBlock)(p,(0,t.mergeProps)({key:0},C.value,{class:`add-button-block d-none d-md-block`}),{default:(0,t.withCtx)(()=>[e.showAddButton?((0,t.openBlock)(),(0,t.createBlock)(v,{key:0,onClick:T},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(ci),(0,t.createTextVNode)(` `+(0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryTemplate.newMessageText`)),1)]),_:1})):(0,t.createCommentVNode)(``,!0)]),_:1},16)):(0,t.createCommentVNode)(``,!0),c.value?((0,t.openBlock)(),(0,t.createBlock)(p,(0,t.mergeProps)({key:1},C.value,{class:`select-button-block`}),{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(FW),{modelValue:o.value.provider,"onUpdate:modelValue":i[1]||=e=>o.value.provider=e,options:e.providerSelectOptions,clearable:!1,searchable:!1,"onOption:selected":ne},{"open-indicator":(0,t.withCtx)(({attributes:e})=>[(0,t.createElementVNode)(`span`,(0,t.normalizeProps)((0,t.guardReactiveProps)(e)),[(0,t.createVNode)(Me)],16)]),option:(0,t.withCtx)(({icon:e,label:n,img:r})=>[e?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e),{key:0})):(0,t.createCommentVNode)(``,!0),r?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:1,src:r},null,8,dG)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(n),1)]),"selected-option":(0,t.withCtx)(({icon:e,label:n,img:r})=>[e?((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e),{key:0})):(0,t.createCommentVNode)(``,!0),r?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:1,src:r},null,8,fG)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(n),1)]),_:1},8,[`modelValue`,`options`])]),_:1},16)):(0,t.createCommentVNode)(``,!0)]),_:1})]),_:1},16),u.value?((0,t.openBlock)(),(0,t.createBlock)(p,{key:0,md:12,lg:3,class:`content-library-body`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(oo,{title:`Filter`,"show-on":`md`,"collapse-on":`md`},{body:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.provider.filters,(n,a)=>((0,t.openBlock)(),(0,t.createBlock)(xh,{key:n.label,label:n.label},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(n.options,(e,r)=>((0,t.openBlock)(),(0,t.createBlock)(zh,{modelValue:o.value.selectedFilters,"onUpdate:modelValue":i[2]||=e=>o.value.selectedFilters=e,key:r,value:`${n.id}-${e.item}`,onChange:j},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.name),1)]),_:2},1032,[`modelValue`,`value`]))),128)),n.moreOptions?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`div`,{id:`collapse-${w(n.label)}`,class:`collapse`},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(n.moreOptions,(e,r)=>((0,t.openBlock)(),(0,t.createBlock)(zh,{modelValue:o.value.selectedFilters,"onUpdate:modelValue":i[3]||=e=>o.value.selectedFilters=e,key:r,value:`${n.id}-${e.item}`,onChange:j},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.name),1)]),_:2},1032,[`modelValue`,`value`]))),128))],8,pG),(0,t.createElementVNode)(`div`,mG,[(0,t.createVNode)(v,{class:(0,t.normalizeClass)([`collapse-button collapsed`,{"collapse-button-last":e.provider.filters.length-1===a}]),variant:`link`,"data-bs-toggle":`collapse`,"data-bs-target":`#collapse-${w(n.label)}`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(A,{class:`collapsed-show`}),(0,t.createElementVNode)(`span`,hG,(0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryTemplate.more`)),1),(0,t.createVNode)(te,{class:`collapsed-hide`}),(0,t.createElementVNode)(`span`,gG,(0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryTemplate.less`)),1)]),_:1},8,[`class`,`data-bs-target`])])],64)):(0,t.createCommentVNode)(``,!0),n.label===`Categorieën`&&e.editCategory?((0,t.openBlock)(),(0,t.createBlock)(v,{key:1,variant:`outline-primary-dark`,class:`edit-category-button`,size:`sm`,onClick:k},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(r)(`contentLibraryTemplate.changeCategoryButtonLabel`)),1)]),_:1})):(0,t.createCommentVNode)(``,!0)]),_:2},1032,[`label`]))),128))]),_:1})]),_:1})):(0,t.createCommentVNode)(``,!0),(0,t.createVNode)(p,{md:12,lg:g.value,class:`content-library-body`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(cG,{items:l.value,cols:_.value,onOnInsert:E,onOnChange:D,onDelete:O,onShowAttachment:ee},null,8,[`items`,`cols`]),(0,t.createVNode)(h,{class:`content-library-pagination`},{default:(0,t.withCtx)(()=>[f.value?((0,t.openBlock)(),(0,t.createBlock)(Mh,{key:0,modelValue:o.value.currentPage,"onUpdate:modelValue":i[4]||=e=>o.value.currentPage=e,totalRows:m.value,rowsPerPage:e.provider.pageSize,onClick:M,isPatient:!0},null,8,[`modelValue`,`totalRows`,`rowsPerPage`])):(0,t.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`lg`])]),_:1})]))}}),vG={__name:`BDContentLibraryModal`,props:{modelValue:{type:Object},provider:{type:Object},providerSelectOptions:{type:Array,default:()=>[]},visible:{type:Boolean,default:null},loading:{type:Boolean,default:!1}},emits:[`on-insert`,`cancel`,`show-attachment`,`shown`,`provider-changed`],setup(e,{emit:n}){let{closeModal:r}=PU(`content-library-modal`),i=e,a=n,o=(0,t.ref)(i.modelValue),s=(0,t.computed)(()=>i.modelValue?.provider?.img??null),c=(0,t.computed)(()=>i.modelValue?.provider?.label??``);(0,t.watch)(()=>i.modelValue,e=>{o.value=e},{immediate:!0,deep:!0});let l=e=>{r(),a(`on-insert`,e)},u=()=>{a(`cancel`)},d=e=>{a(`show-attachment`,e)},f=()=>{a(`shown`)},p=e=>{a(`provider-changed`,e)};return(n,r)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`content-library-modal`,"title-image":s.value,title:c.value,size:`xl`,visible:e.visible,"hide-footer":!0,onCancel:u,onShown:f},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(_G,{modelValue:o.value,"onUpdate:modelValue":r[0]||=e=>o.value=e,provider:e.provider,providerSelectOptions:e.providerSelectOptions,loading:e.loading,onOnInsert:l,onShowAttachment:d,onProviderChanged:p},null,8,[`modelValue`,`provider`,`providerSelectOptions`,`loading`])]),_:1},8,[`title-image`,`title`,`visible`]))}},yG=Object.defineProperty,bG=(e,t,n)=>t in e?yG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xG=(e,t,n)=>(bG(e,typeof t==`symbol`?t:t+``,n),n),SG=class{constructor(){xG(this,`seed`,0),xG(this,`data`,new Map)}id(){return Date.now().toString(26)+ this.seed++}add(e,t=this.id()){return this.data.set(t,e),t}get(e){return this.data.get(e)}delete(e){this.delete(e)}},CG=`Failed to copy value to clipboard. Unknown type.`,wG={asString(e){if(e==null)return console.warn(`Clipboard input is empty`),``;if(typeof e!=`string`)try{return JSON.stringify(e)}catch(e){return console.warn(CG,e),``}return e}},TG=`position:fixed; pointer-events:none; z-index:-9999; opacity:0;`,EG={createTextarea(e){let t=document.createElement(`textarea`);return t.addEventListener(`focusin`,e=>{e.stopPropagation()}),t.value=e,t.setAttribute(`readonly`,``),t.style.cssText=TG,t}},DG={async requestClipboardPermission(){return navigator.permissions.query({name:`clipboard-write`})},async writeClipboard(e){return(await DG.requestClipboardPermission()).state===`granted`?(await navigator.clipboard.writeText(e),!0):!1},writeClipboardExecCommand(e){let t=EG.createTextarea(e);if(document.body.appendChild(t),navigator.userAgent.match(/ipad|ipod|iphone/i)){t.contentEditable=`true`,t.readOnly=!0;let e=document.createRange();e.selectNodeContents(t);let n=window.getSelection();n&&(n.removeAllRanges(),n.addRange(e),t.setSelectionRange(0,999999))}else t.select();let n=document.execCommand(`copy`);return document.body.removeChild(t),n},async copy(e){let t=typeof e==`function`?e():e,n=wG.asString(t);if(DG.writeClipboardExecCommand(n))return!0;await DG.writeClipboard(n)}};new SG;var{showSuccessToast:OG}=FU(),kG=(e,t,n)=>{let r=`${t}\n${e.AfzenderNaam}: \r${e.Datum} \r${YW(XW(e.Tekst))}`;DG.copy(r).then(()=>OG(n))},AG=(e,t,n)=>{let r=`${t}\n${e.filter(e=>e.selected).map(e=>`${e.AfzenderNaam}: \r${e.Datum}\r${YW(XW(e.Tekst))}`).join(`
|
|
1306
1306
|
-----------------------
|
|
1307
|
-
`)}`;jG.copy(r).then(()=>MG(n))},FG=(e,t)=>{jG.copy(e).then(()=>MG(t))},IG={class:`message-cloud-multi-select`},LG={class:`message-cloud-multi-select__body`},RG={class:`message-content`},zG={class:`message-cloud__header`},BG={class:`message-cloud__title`},VG={key:0},HG=[`innerHTML`],UG=(0,t.defineComponent)({__name:`BDConversationToTextModal`,props:{modelValue:{},extraClass:{}},setup(e){let{t:n}=gu(),r=e,i=(0,t.ref)([]),a=(0,t.ref)(!0);(0,t.watchEffect)(()=>{i.value=r.modelValue}),(0,t.watch)(()=>a.value,e=>{i.value.forEach(t=>t.selected=e)});let o=(0,t.computed)(()=>n(`conversationToTextModal.systemMessage`)),s=e=>{let t=e.IsTussentijdseMededeling?`, `:``;return e.AfzenderType===2&&e.AfzenderId!==e.BehandelaarId&&e.BehandelaarId!==null?t+n(`conversationToTextModal.onBehalfOf`)+` `+e.BehandelaarNaam:``},c=e=>e.AfzenderType===2?`is-sender`:`is-receiver`,l=()=>{let e=n(`conversationToTextModal.prefix`),t=n(`conversationToTextModal.copySuccess`);return PG(i.value,e,t)};return(r,u)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`conversation-to-text-modal`,title:`Tekst versie`,"modal-class":e.extraClass,"hide-footer":``},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(v,{variant:`primary`,onClick:l},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(n)(`conversationToTextModal.copyButton`)),1)]),_:1}),(0,t.createElementVNode)(`div`,IG,[(0,t.createVNode)(zh,{class:`select-all-checkbox`,modelValue:a.value,"onUpdate:modelValue":u[0]||=e=>a.value=e},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(n)(`conversationToTextModal.selectAll`)),1)]),_:1},8,[`modelValue`]),(0,t.createElementVNode)(`div`,LG,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(i.value,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:`message-cloud-selector`,key:n},[(0,t.createVNode)(zh,{class:`select-all-checkbox`,modelValue:e.selected,"onUpdate:modelValue":t=>e.selected=t},null,8,[`modelValue`,`onUpdate:modelValue`]),(0,t.createElementVNode)(`div`,RG,[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`message`,c(e)])},[(0,t.createElementVNode)(`div`,zG,[(0,t.createElementVNode)(`div`,BG,[(0,t.createTextVNode)((0,t.toDisplayString)(e.AfzenderNaam)+` `,1),e.IsTussentijdseMededeling?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,VG,[(0,t.createElementVNode)(`i`,null,(0,t.toDisplayString)(o.value),1)])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`span`,null,[(0,t.createElementVNode)(`i`,null,(0,t.toDisplayString)(s(e)),1)]),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(e.Datum),1)])]),(0,t.createElementVNode)(`div`,{class:`message-cloud__body`,innerHTML:e.Tekst},null,8,HG)],2)])]))),128))])])]),_:1},8,[`modal-class`]))}});function WG(){let e=(0,t.ref)(0),n=(0,t.ref)(!0),r=(0,t.ref)(null),i=(0,t.ref)({top:0,left:0,x:0,y:0});return{zoom:e,mouseDown:n,imageHolderRef:r,pos:i,SetZoom:(0,t.computed)(()=>e.value>0?`zoom-${e.value}`:``),OnMouseDown:e=>{if(!r.value)return;i.value.left=r.value.scrollLeft,i.value.top=r.value.scrollTop;let t=document.querySelector(`#image-attachment-modal`),a=document.querySelector(`.image-preview-image-holder`);t&&(t.style.cursor=`grabbing`),a&&(a.style.cursor=`grabbing`),i.value.x=e.clientX,i.value.y=e.clientY,n.value=!0},OnMouseMove:e=>{if(n.value){let t=e.clientX-i.value.x,n=e.clientY-i.value.y;r.value&&(r.value.scrollTop=i.value.top-n,r.value.scrollLeft=i.value.left-t)}},OnMouseUp:()=>{let e=document.querySelector(`#image-attachment-modal`),t=document.querySelector(`.image-preview-image-holder`);e&&e.style&&(e.style.cursor=``),t&&t.style&&(t.style.cursor=`grab`),n.value=!1}}}var GG=[`src`,`alt`],KG={key:0,class:`show-spinner`},qG={class:`spinner-border text-primary`,role:`status`},JG=[`textContent`],YG=[`href`],XG=(0,t.defineComponent)({__name:`BDImageAttachmentModal`,setup(e,{expose:n}){let{showModal:r}=PU(`image-attachment-modal`),{zoom:i,imageHolderRef:a,SetZoom:o,OnMouseDown:s,OnMouseMove:c,OnMouseUp:l}=WG(),{t:u}=gu(),d=(0,t.ref)(!0),f=(0,t.ref)({BerichtId:0,Id:void 0,MimeType:null,Naam:``,altName:``,downloadUrl:``,fullImageUrl:``,previewUrl:``}),p=(0,t.computed)(()=>u(`imageAttachmentModal.download`)),m=(0,t.computed)(()=>u(`imageAttachmentModal.loading`));n({Show:e=>{f.value=e,i.value=0,r()}});let h=()=>{d.value=!1},g=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:``,altName:``,downloadUrl:``,fullImageUrl:``,previewUrl:``}};return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`image-attachment-modal`,class:(0,t.normalizeClass)((0,t.unref)(``)),title:f.value.Naam,hideFooterCancelButton:!0,showHeaderButton:!0,onCancel:g},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,{class:`image-preview-image-holder`,ref_key:`imageHolderRef`,ref:a,onMousedown:n[0]||=(...e)=>(0,t.unref)(s)&&(0,t.unref)(s)(...e),onMousemove:n[1]||=(...e)=>(0,t.unref)(c)&&(0,t.unref)(c)(...e),onMouseup:n[2]||=(...e)=>(0,t.unref)(l)&&(0,t.unref)(l)(...e)},[f.value?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:0,src:f.value.downloadUrl,alt:f.value.Naam,class:(0,t.normalizeClass)([`image-preview-modal`,(0,t.unref)(o)]),onLoad:h,draggable:!1},null,42,GG)):(0,t.createCommentVNode)(``,!0)],544),d.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,KG,[(0,t.createElementVNode)(`div`,qG,[(0,t.createElementVNode)(`span`,{class:`visually-hidden`,textContent:(0,t.toDisplayString)(m.value)},null,8,JG)])])):(0,t.createCommentVNode)(``,!0),(0,t.createVNode)(Wa,{modelValue:(0,t.unref)(i),"onUpdate:modelValue":n[3]||=e=>(0,t.isRef)(i)?i.value=e:null,class:`image-preview-bd-zoom-slider`,"max-value":4},null,8,[`modelValue`]),(0,t.createElementVNode)(`a`,{href:f.value.downloadUrl},[(0,t.createVNode)(v,{variant:`primary`,class:`download-image`,textContent:(0,t.toDisplayString)(p.value)},null,8,[`textContent`])],8,YG)]),_:1},8,[`class`,`title`]))}}),ZG={key:0},QG={key:1},$G={key:2},eK={key:3},tK={key:1},nK={key:2},rK=[`href`],iK=(0,t.defineComponent)({__name:`BDVideoCallConfirmationModal`,props:[`isMissingCameraPermission`,`isMissingMicrophonePermission`,`isMissingMobileActivation`,`isMissingVideoConferencingSupport`,`participantName`,`videoTestUrl`],emits:[`confirmed`],setup(e,{emit:n}){let{t:r}=gu(),i=e,a=n,o=()=>i.isMissingCameraPermission||i.isMissingMicrophonePermission||i.isMissingMobileActivation||i.isMissingVideoConferencingSupport,s=(0,t.computed)(()=>o()?r(`videoCallConfirmationModal.close`):r(`videoCallConfirmationModal.cancel`)),c=(0,t.computed)(()=>`${i.participantName} ${r(`videoCallConfirmationModal.noMobileActivationMessage`)}`),l=(0,t.computed)(()=>`${i.participantName} ${r(`videoCallConfirmationModal.noCompatibleDevices`)}`),u=(0,t.computed)(()=>r(`videoCallConfirmationModal.title`)),d=(0,t.computed)(()=>r(`videoCallConfirmationModal.ok`)),f=(0,t.computed)(()=>r(`videoCallConfirmationModal.generalWarning`)),p=(0,t.computed)(()=>r(`videoCallConfirmationModal.cameraPermissionMissing`)),m=(0,t.computed)(()=>r(`videoCallConfirmationModal.microphonePermissionMissing`)),h=(0,t.computed)(()=>r(`videoCallConfirmationModal.message`)),g=(0,t.computed)(()=>r(`videoCallConfirmationModal.participantMessage`)),_=(0,t.computed)(()=>r(`videoCallConfirmationModal.testMessage`)),v=(0,t.computed)(()=>r(`videoCallConfirmationModal.helpMessage`)),y=()=>a(`confirmed`);return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`video-call-confirmation-modal`,title:u.value,"submit-button-title":d.value,"close-button-title":s.value,"hide-footer-submit-button":o(),onSubmit:y},{default:(0,t.withCtx)(()=>[o()?((0,t.openBlock)(),(0,t.createBlock)(Ta,{key:0,variant:`warning`},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`p`,null,(0,t.toDisplayString)(f.value),1),(0,t.createElementVNode)(`ul`,null,[i.isMissingCameraPermission?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,ZG,(0,t.toDisplayString)(p.value),1)):(0,t.createCommentVNode)(``,!0),i.isMissingMicrophonePermission?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,QG,(0,t.toDisplayString)(m.value),1)):(0,t.createCommentVNode)(``,!0),i.isMissingMobileActivation?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,$G,(0,t.toDisplayString)(c.value),1)):(0,t.createCommentVNode)(``,!0),i.isMissingVideoConferencingSupport?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,eK,(0,t.toDisplayString)(l.value),1)):(0,t.createCommentVNode)(``,!0)])]),_:1})):i.participantName?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,tK,[(0,t.createTextVNode)((0,t.toDisplayString)(g.value)+` `,1),(0,t.createElementVNode)(`b`,null,(0,t.toDisplayString)(i.participantName),1),n[0]||=(0,t.createTextVNode)(`?`,-1)])):((0,t.openBlock)(),(0,t.createElementBlock)(`p`,nK,(0,t.toDisplayString)(h.value),1)),(0,t.createElementVNode)(`p`,null,[(0,t.createElementVNode)(`a`,{href:i.videoTestUrl,target:`blank`,rel:`noopener noreferrer`},(0,t.toDisplayString)(_.value),9,rK),(0,t.createElementVNode)(`span`,null,`\xA0`+(0,t.toDisplayString)(v.value),1)])]),_:1},8,[`title`,`submit-button-title`,`close-button-title`,`hide-footer-submit-button`]))}}),aK=()=>({ResetValidation:e=>{for(let t in e.value)e.value[t].state=null},ValidationObjectIsValid:e=>{for(let t in e)if(e[t].state===!1)return!1;return!0}}),oK={class:`template change-password-template`},sK={class:`template-title`},cK={key:0},lK={key:1},uK={class:`bd-form-field`},dK={class:`bd-form-field`},fK={class:`bd-form-field`},pK={class:`bd-form-buttons`},mK=(0,t.defineComponent)({__name:`BDChangePasswordTemplate`,props:{templateTitle:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{},successText:{},failureText:{},requiredText:{},incompatibleText:{},minimalRequirementsText:{},submitPassword:{type:Function}},setup(e){let{t:n}=gu(),{showDangerToast:r,showWarningToast:i,showSuccessToast:a}=FU(),{errorMessages:o,errorMessageText:s,MapServerErrors:c,ResetServerErrors:l}=LU(null),{ValidationObjectIsValid:u}=aK(),d=e,f=(0,t.ref)({password:``,passwordNew:``,passwordRepeat:``}),g=(0,t.ref)({password:{state:null,errorLabel:``},passwordNew:{state:null,errorLabel:``},passwordRepeat:{state:null,errorLabel:``}}),_=()=>{if(!y())return;let e=d.submitPassword(f.value);e&&e.then(()=>{a(d.successText),b()}).catch(e=>{r(d.failureText),c(e)})},y=()=>{if(f.value.passwordNew&&!/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/.test(f.value.passwordNew))g.value.passwordNew.state=!1,g.value.passwordNew.errorLabel=d.minimalRequirementsText;else{let e=f.value.passwordRepeat===f.value.passwordNew,t=e?d.requiredText:d.incompatibleText;g.value.passwordNew.state=f.value.passwordNew!==``&&e?null:!1,g.value.passwordNew.errorLabel=t,g.value.passwordRepeat.state=f.value.passwordRepeat!==``&&e?null:!1,g.value.passwordRepeat.errorLabel=t}return g.value.password.state=f.value.password===``?!1:null,g.value.password.errorLabel=g.value.password.state?``:d.requiredText,u(g.value)},b=()=>{f.value.password===``&&f.value.passwordNew===``&&f.value.passwordRepeat===``||(f.value.password=``,f.value.passwordNew=``,f.value.passwordRepeat=``,g.value.password.state=null,g.value.passwordNew.state=null,g.value.passwordRepeat.state=null,l(),i(n(`changePasswordTemplate.toasters.reset`)))};return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`main`,oK,[(0,t.createVNode)(m,{class:`container-xl`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(h,{class:`justify-content-md-center template-header`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,{xs:12,md:10,lg:7},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`h1`,sK,(0,t.toDisplayString)(d.templateTitle),1)]),_:1})]),_:1}),(0,t.createVNode)(h,{class:`justify-content-md-center`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,{xs:12,md:10,lg:7},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(no,{class:`bd-card-template`,"no-header":!0},{body:(0,t.withCtx)(()=>[(0,t.createVNode)(m,{class:`container-fluid`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(h,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(Ta,{variant:`warning`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.alertText),1)]),_:1})]),_:1})]),_:1}),(0,t.unref)(o)||(0,t.unref)(s)?((0,t.openBlock)(),(0,t.createBlock)(h,{key:0},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(Ta,{variant:`danger`},{default:(0,t.withCtx)(()=>[(0,t.unref)(o)?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,cK,[(0,t.createElementVNode)(`ul`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(o),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:n},[(0,t.createVNode)(Gn),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(e),1)]))),128))])])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,lK,(0,t.toDisplayString)((0,t.unref)(s)),1))]),_:1})]),_:1})]),_:1})):(0,t.createCommentVNode)(``,!0),(0,t.createVNode)(h,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,{class:`bd-card-form`,sm:12,md:12},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`form`,{onSubmit:(0,t.withModifiers)(_,[`prevent`]),onReset:(0,t.withModifiers)(b,[`prevent`]),class:`form`},[(0,t.createElementVNode)(`div`,uK,[(0,t.createVNode)(vh,{modelValue:(0,t.unref)(f).password,"onUpdate:modelValue":r[0]||=e=>(0,t.unref)(f).password=e,label:e.currentPasswordLabel,state:(0,t.unref)(g).password.state,type:`password`,"invalid-feedback-text":(0,t.unref)(g).password.errorLabel},null,8,[`modelValue`,`label`,`state`,`invalid-feedback-text`])]),(0,t.createElementVNode)(`div`,dK,[(0,t.createVNode)(vh,{modelValue:(0,t.unref)(f).passwordNew,"onUpdate:modelValue":r[1]||=e=>(0,t.unref)(f).passwordNew=e,label:e.newPasswordLabel,state:(0,t.unref)(g).passwordNew.state,type:`password`,"invalid-feedback-text":(0,t.unref)(g).passwordNew.errorLabel},null,8,[`modelValue`,`label`,`state`,`invalid-feedback-text`])]),(0,t.createElementVNode)(`div`,fK,[(0,t.createVNode)(vh,{modelValue:(0,t.unref)(f).passwordRepeat,"onUpdate:modelValue":r[2]||=e=>(0,t.unref)(f).passwordRepeat=e,label:e.confirmNewPasswordLabel,state:(0,t.unref)(g).passwordRepeat.state,type:`password`,"invalid-feedback-text":(0,t.unref)(g).passwordRepeat.errorLabel},null,8,[`modelValue`,`label`,`state`,`invalid-feedback-text`])]),(0,t.createElementVNode)(`div`,pK,[(0,t.createVNode)(v,{type:`submit`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.submitButtonText),1)]),_:1}),(0,t.createVNode)(v,{type:`reset`,variant:`link`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.cancelButtonText),1)]),_:1})])],32)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),hK={class:`template not-found-template`},gK={class:`center-screen`},_K={class:`container-warning`},vK=[`textContent`],yK=[`textContent`],bK=(0,t.defineComponent)({__name:`BDNotFoundTemplate`,props:{buttonText:{type:String}},emits:[`navigate`],setup(e,{emit:n}){let{t:r}=gu(),i=e,a=n,o=(0,t.computed)(()=>i.buttonText||r(`notFoundTemplate.buttonDefault`)),s=(0,t.computed)(()=>r(`notFoundTemplate.title`)),c=(0,t.computed)(()=>r(`notFoundTemplate.description`)),l=()=>a(`navigate`);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`main`,hK,[(0,t.createVNode)(m,{class:`container-xl`},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,gK,[(0,t.createElementVNode)(`div`,_K,[(0,t.createVNode)(ra),(0,t.createElementVNode)(`h5`,{textContent:(0,t.toDisplayString)(s.value)},null,8,vK),(0,t.createElementVNode)(`p`,{textContent:(0,t.toDisplayString)(c.value)},null,8,yK),(0,t.createVNode)(v,{onClick:l,variant:`primary`,type:`button`,textContent:(0,t.toDisplayString)(o.value)},null,8,[`textContent`])])])]),_:1})]))}});e.BDAlert=Ta,e.BDArticle=Hh,e.BDAssignConversationModal=KU,e.BDAttachmentPreviewList=hN,e.BDAttachmentUploadModal=qU,e.BDBadge=wh,e.BDButton=v,e.BDCard=no,e.BDChangePasswordTemplate=mK,e.BDChatCloud=IH,e.BDCol=p,e.BDCollapsableCard=oo,e.BDConfirmationModal=GU,e.BDContainer=m,e.BDContentLibraryModal=SG,e.BDContentLibrarySplitButton=Xm,e.BDContentLibraryTemplate=xG,e.BDConversationToTextModal=UG,e.BDDate=Tg,e.BDDropdown=rU,e.BDDropdownItem=Eg,e.BDDropzone=Ig,e.BDForm=Th,e.BDFormCheckbox=zh,e.BDFormInput=vh,e.BDFormInvalidFeedback=Qm,e.BDFormSelect=Lh,e.BDHeader=uU,e.BDImageAttachmentModal=XG,e.BDImageAttachmentPreviewList=wN,e.BDInputGroup=xh,e.BDLink=_,e.BDLogo=S,e.BDMarkdownEditor=gH,e.BDMobileMenu=CH,e.BDModal=NU,e.BDNotFoundTemplate=bK,e.BDPagination=Mh,e.BDPhoneNumberEditModal=HU,e.BDPill=tg,e.BDPractitionerHeader=wU,e.BDProfileImage=qa,e.BDRow=h,e.BDSessionTimeOutModal=WU,e.BDTable=GH,e.BDToast=qh,e.BDUser=OH,e.BDUserInformation=og,e.BDVideoCallConfirmationModal=iK,e.BDVideoCallToast=nU,e.BDZoomslider=Wa,e.CopyChatMessageToClipboard=NG,e.CopyChatMessagesToClipboard=PG,e.CopyHl7MessagesToClipboard=FG,e.CreateHyperlinkParagraph=(e,t)=>`<p><a href="${e}" title="${t}" target="_blank" rel="noopener noreferrer">${t}</a></p>`,e.CreateThumbnailUri=ON,e.IconAcademy=E,e.IconArrowDown=A,e.IconArrowUp=te,e.IconAttachment=ae,e.IconBold=le,e.IconBulletList=fe,e.IconCalendar=ge,e.IconCall=be,e.IconCallReject=we,e.IconCardView=Oe,e.IconCaretDown=Me,e.IconCaretLeft=Ie,e.IconCaretRight=Be,e.IconCheck=We,e.IconClipboard=Je,e.IconClose=Qe,e.IconComment=nt,e.IconCommentActive=ot,e.IconCommentStatic=ut,e.IconCommonFileEmpty=mt,e.IconCommonFileWarning=vt,e.IconContactPerson=St,e.IconCopy=Et,e.IconDelete=At,e.IconDoubleCheck=Pt,e.IconDownloadImage=Rt,e.IconEdit=Ht,e.IconEndCall=Kt,e.IconError=Xt,e.IconExternal=en,e.IconEyeShow=an,e.IconEyeSlash=ln,e.IconFile=pn,e.IconFileAdded=_n,e.IconForward=xn,e.IconHix=Tn,e.IconHyperlink=kn,e.IconImageFileLandscape=Nn,e.IconImageFileWarning=Ln,e.IconInbox=Vn,e.IconInfo=Gn,e.IconInformationCircle=Yn,e.IconItalic=$n,e.IconListView=rr,e.IconLock=sr,e.IconLusciiEscalated=dr,e.IconLusciiLogo=hr,e.IconLusciiOpen=yr,e.IconLusciiPriorityHigh=Cr,e.IconLusciiPriorityLow=Dr,e.IconLusciiPriorityMedium=jr,e.IconMenu=Fr,e.IconMessage=zr,e.IconMessageForward=Ur,e.IconMicrophoneSlash=Kr,e.IconMicrosoftTeams=Xr,e.IconMin=ei,e.IconOrderedList=ii,e.IconPlus=ci,e.IconRefresh=fi,e.IconRemove=gi,e.IconSananetLogo=xi,e.IconService=Ti,e.IconShareScreen=ki,e.IconSingleNeutral=Ni,e.IconSort=Li,e.IconSortAsc=Vi,e.IconSortDesc=Gi,e.IconSortNone=Yi,e.IconTriangleDown=$i,e.IconTriangleExclamation=ra,e.IconUnderline=sa,e.IconVideoDisabled=ma,e.IconVideocall=da,e.IconWarning=va,e.IconZorgkaart=Sa,e.MapAttachmentsForApi=TN,e.MapToAttachmentObjects=jN,e.TransformHyperlinks=e=>{let t=/<a\b[^>]*>.*?<\/a>/gi,n=[],r;for(;(r=t.exec(e))!==null;)n.push({start:r.index,end:r.index+r[0].length});return e.replace(/(https?:\/\/[^\s<>"',]+|www\.[^\s<>"',]+)/g,(e,t,r)=>n.some(e=>r>=e.start&&r<e.end)?e:`<a href="${e.startsWith(`www.`)?`http://${e}`:e}" target="_blank" rel="noopener noreferrer">${e}</a>`)},e.ValidateUrl=e=>e.startsWith(`http://`)||e.startsWith(`https://`),e.default={install:e=>{e.component(`BDAlert`,Ta),e.component(`BDArticle`,Hh),e.component(`BDAssignConversationModal`,KU),e.component(`BDAttachmentPreviewList`,hN),e.component(`BDAttachmentUploadModal`,qU),e.component(`BDBadge`,wh),e.component(`BDButton`,v),e.component(`BDCard`,no),e.component(`BDChangePasswordTemplate`,mK),e.component(`BDChatCloud`,IH),e.component(`BDCol`,p),e.component(`BDCollapsableCard`,oo),e.component(`BDConfirmationModal`,GU),e.component(`BDContentLibraryModal`,SG),e.component(`BDConversationToTextModal`,UG),e.component(`BDContentLibrarySplitButton`,Xm),e.component(`BDContentLibraryTemplate`,xG),e.component(`BDContainer`,m),e.component(`BDDropdown`,rU),e.component(`BDDropdownItem`,Eg),e.component(`BDDropzone`,Ig),e.component(`BDForm`,Th),e.component(`BDFormCheckbox`,zh),e.component(`BDFormInput`,vh),e.component(`BDFormInvalidFeedback`,Qm),e.component(`BDFormSelect`,Lh),e.component(`BDHeader`,uU),e.component(`BDImageAttachmentModal`,XG),e.component(`BDImageAttachmentPreviewList`,wN),e.component(`BDInputGroup`,xh),e.component(`BDLink`,_),e.component(`BDLogo`,S),e.component(`BDMarkdownEditor`,gH),e.component(`BDMobileMenu`,CH),e.component(`BDModal`,NU),e.component(`BDNotFoundTemplate`,bK),e.component(`BDPagination`,Mh),e.component(`BDPhoneNumberEditModal`,HU),e.component(`BDPill`,tg),e.component(`BDPractitionerHeader`,wU),e.component(`BDProfileImage`,qa),e.component(`BDRow`,h),e.component(`BDSessionTimeOutModal`,WU),e.component(`BDTable`,GH),e.component(`BDToast`,qh),e.component(`BDUser`,OH),e.component(`BDUserInformation`,og),e.component(`BDVideoCallConfirmationModal`,iK),e.component(`BDVideoCallToast`,nU),e.component(`BDZoomslider`,Wa),e.component(`BDDate`,Tg),e.component(`IconAcademy`,E),e.component(`IconArrowDown`,A),e.component(`IconArrowUp`,te),e.component(`IconAttachment`,ae),e.component(`IconBold`,le),e.component(`IconBulletList`,fe),e.component(`IconCalendar`,ge),e.component(`IconCall`,be),e.component(`IconCallReject`,we),e.component(`IconCardView`,Oe),e.component(`IconCaretDown`,Me),e.component(`IconCaretLeft`,Ie),e.component(`IconCaretRight`,Be),e.component(`IconCheck`,We),e.component(`IconClipboard`,Je),e.component(`IconClose`,Qe),e.component(`IconComment`,nt),e.component(`IconCommentActive`,ot),e.component(`IconCommonFileEmpty`,mt),e.component(`IconCommonFileWarning`,vt),e.component(`IconCommentStatic`,ut),e.component(`IconContactPerson`,St),e.component(`IconCopy`,Et),e.component(`IconDelete`,At),e.component(`IconDoubleCheck`,Pt),e.component(`IconDownloadImage`,Rt),e.component(`IconEdit`,Ht),e.component(`IconEndCall`,Kt),e.component(`IconError`,Xt),e.component(`IconExternal`,en),e.component(`IconEyeShow`,an),e.component(`IconEyeSlash`,ln),e.component(`IconFile`,pn),e.component(`IconFileAdded`,_n),e.component(`IconForward`,xn),e.component(`IconHix`,Tn),e.component(`IconHyperlink`,kn),e.component(`IconImageFileLandscape`,Nn),e.component(`IconImageFileWarning`,Ln),e.component(`IconInbox`,Vn),e.component(`IconInfo`,Gn),e.component(`IconInformationCircle`,Yn),e.component(`IconItalic`,$n),e.component(`IconListView`,rr),e.component(`IconLock`,sr),e.component(`IconLusciiEscalated`,dr),e.component(`IconLusciiLogo`,hr),e.component(`IconLusciiOpen`,yr),e.component(`IconLusciiPriorityHigh`,Cr),e.component(`IconLusciiPriorityLow`,Dr),e.component(`IconLusciiPriorityMedium`,jr),e.component(`IconMenu`,Fr),e.component(`IconMessage`,zr),e.component(`IconMessageForward`,Ur),e.component(`IconMicrophoneSlash`,Kr),e.component(`IconMicrosoftTeams`,Xr),e.component(`IconMin`,ei),e.component(`IconOrderedList`,ii),e.component(`IconPlus`,ci),e.component(`IconRefresh`,fi),e.component(`IconRemove`,gi),e.component(`IconSananetLogo`,xi),e.component(`IconService`,Ti),e.component(`IconShareScreen`,ki),e.component(`IconSingleNeutral`,Ni),e.component(`IconSort`,Li),e.component(`IconSortAsc`,Vi),e.component(`IconSortDesc`,Gi),e.component(`IconSortNone`,Yi),e.component(`IconTriangleDown`,$i),e.component(`IconTriangleExclamation`,ra),e.component(`IconUnderline`,sa),e.component(`IconVideoDisabled`,ma),e.component(`IconVideocall`,da),e.component(`IconWarning`,va),e.component(`IconZorgkaart`,Sa),e.directive(`vBDTooltip`,dH)}},e.getDisplayDateNumeric=Cg,e.getDisplayDateTextual=bg,e.getDisplayDateTimeNumeric=Sg,e.getDisplayDateTimeTextual=xg,e.useModal=PU,e.usePopover=hU,e.useServerErrors=LU,e.useSessionTimeOut=UU,e.useToaster=FU,e.useValidation=aK,e.useWindow=pU,e.useZoom=WG,e.vBdTooltip=dH});
|
|
1307
|
+
`)}`;DG.copy(r).then(()=>OG(n))},jG=(e,t)=>{DG.copy(e).then(()=>OG(t))},MG={class:`message-cloud-multi-select`},NG={class:`message-cloud-multi-select__body`},PG={class:`message-content`},FG={class:`message-cloud__header`},IG={class:`message-cloud__title`},LG={key:0},RG=[`innerHTML`],zG=(0,t.defineComponent)({__name:`BDConversationToTextModal`,props:{modelValue:{},extraClass:{}},setup(e){let{t:n}=gu(),r=e,i=(0,t.ref)([]),a=(0,t.ref)(!0);(0,t.watchEffect)(()=>{i.value=r.modelValue}),(0,t.watch)(()=>a.value,e=>{i.value.forEach(t=>t.selected=e)});let o=(0,t.computed)(()=>n(`conversationToTextModal.systemMessage`)),s=e=>{let t=e.IsTussentijdseMededeling?`, `:``;return e.AfzenderType===2&&e.AfzenderId!==e.BehandelaarId&&e.BehandelaarId!==null?t+n(`conversationToTextModal.onBehalfOf`)+` `+e.BehandelaarNaam:``},c=e=>e.AfzenderType===2?`is-sender`:`is-receiver`,l=()=>{let e=n(`conversationToTextModal.prefix`),t=n(`conversationToTextModal.copySuccess`);return AG(i.value,e,t)};return(r,u)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`conversation-to-text-modal`,title:`Tekst versie`,"modal-class":e.extraClass,"hide-footer":``},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(v,{variant:`primary`,onClick:l},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(n)(`conversationToTextModal.copyButton`)),1)]),_:1}),(0,t.createElementVNode)(`div`,MG,[(0,t.createVNode)(zh,{class:`select-all-checkbox`,modelValue:a.value,"onUpdate:modelValue":u[0]||=e=>a.value=e},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(n)(`conversationToTextModal.selectAll`)),1)]),_:1},8,[`modelValue`]),(0,t.createElementVNode)(`div`,NG,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(i.value,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:`message-cloud-selector`,key:n},[(0,t.createVNode)(zh,{class:`select-all-checkbox`,modelValue:e.selected,"onUpdate:modelValue":t=>e.selected=t},null,8,[`modelValue`,`onUpdate:modelValue`]),(0,t.createElementVNode)(`div`,PG,[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`message`,c(e)])},[(0,t.createElementVNode)(`div`,FG,[(0,t.createElementVNode)(`div`,IG,[(0,t.createTextVNode)((0,t.toDisplayString)(e.AfzenderNaam)+` `,1),e.IsTussentijdseMededeling?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,LG,[(0,t.createElementVNode)(`i`,null,(0,t.toDisplayString)(o.value),1)])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`span`,null,[(0,t.createElementVNode)(`i`,null,(0,t.toDisplayString)(s(e)),1)]),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(e.Datum),1)])]),(0,t.createElementVNode)(`div`,{class:`message-cloud__body`,innerHTML:e.Tekst},null,8,RG)],2)])]))),128))])])]),_:1},8,[`modal-class`]))}});function BG(){let e=(0,t.ref)(0),n=(0,t.ref)(!0),r=(0,t.ref)(null),i=(0,t.ref)({top:0,left:0,x:0,y:0});return{zoom:e,mouseDown:n,imageHolderRef:r,pos:i,SetZoom:(0,t.computed)(()=>e.value>0?`zoom-${e.value}`:``),OnMouseDown:e=>{if(!r.value)return;i.value.left=r.value.scrollLeft,i.value.top=r.value.scrollTop;let t=document.querySelector(`#image-attachment-modal`),a=document.querySelector(`.image-preview-image-holder`);t&&(t.style.cursor=`grabbing`),a&&(a.style.cursor=`grabbing`),i.value.x=e.clientX,i.value.y=e.clientY,n.value=!0},OnMouseMove:e=>{if(n.value){let t=e.clientX-i.value.x,n=e.clientY-i.value.y;r.value&&(r.value.scrollTop=i.value.top-n,r.value.scrollLeft=i.value.left-t)}},OnMouseUp:()=>{let e=document.querySelector(`#image-attachment-modal`),t=document.querySelector(`.image-preview-image-holder`);e&&e.style&&(e.style.cursor=``),t&&t.style&&(t.style.cursor=`grab`),n.value=!1}}}var VG=[`src`,`alt`],HG={key:0,class:`show-spinner`},UG={class:`spinner-border text-primary`,role:`status`},WG=[`textContent`],GG=[`href`],KG=(0,t.defineComponent)({__name:`BDImageAttachmentModal`,setup(e,{expose:n}){let{showModal:r}=PU(`image-attachment-modal`),{zoom:i,imageHolderRef:a,SetZoom:o,OnMouseDown:s,OnMouseMove:c,OnMouseUp:l}=BG(),{t:u}=gu(),d=(0,t.ref)(!0),f=(0,t.ref)({BerichtId:0,Id:void 0,MimeType:null,Naam:``,altName:``,downloadUrl:``,fullImageUrl:``,previewUrl:``}),p=(0,t.computed)(()=>u(`imageAttachmentModal.download`)),m=(0,t.computed)(()=>u(`imageAttachmentModal.loading`));n({Show:e=>{f.value=e,i.value=0,r()}});let h=()=>{d.value=!1},g=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:``,altName:``,downloadUrl:``,fullImageUrl:``,previewUrl:``}};return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`image-attachment-modal`,class:(0,t.normalizeClass)((0,t.unref)(``)),title:f.value.Naam,hideFooterCancelButton:!0,showHeaderButton:!0,onCancel:g},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,{class:`image-preview-image-holder`,ref_key:`imageHolderRef`,ref:a,onMousedown:n[0]||=(...e)=>(0,t.unref)(s)&&(0,t.unref)(s)(...e),onMousemove:n[1]||=(...e)=>(0,t.unref)(c)&&(0,t.unref)(c)(...e),onMouseup:n[2]||=(...e)=>(0,t.unref)(l)&&(0,t.unref)(l)(...e)},[f.value?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:0,src:f.value.downloadUrl,alt:f.value.Naam,class:(0,t.normalizeClass)([`image-preview-modal`,(0,t.unref)(o)]),onLoad:h,draggable:!1},null,42,VG)):(0,t.createCommentVNode)(``,!0)],544),d.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,HG,[(0,t.createElementVNode)(`div`,UG,[(0,t.createElementVNode)(`span`,{class:`visually-hidden`,textContent:(0,t.toDisplayString)(m.value)},null,8,WG)])])):(0,t.createCommentVNode)(``,!0),(0,t.createVNode)(Wa,{modelValue:(0,t.unref)(i),"onUpdate:modelValue":n[3]||=e=>(0,t.isRef)(i)?i.value=e:null,class:`image-preview-bd-zoom-slider`,"max-value":4},null,8,[`modelValue`]),(0,t.createElementVNode)(`a`,{href:f.value.downloadUrl},[(0,t.createVNode)(v,{variant:`primary`,class:`download-image`,textContent:(0,t.toDisplayString)(p.value)},null,8,[`textContent`])],8,GG)]),_:1},8,[`class`,`title`]))}}),qG={key:0},JG={key:1},YG={key:2},XG={key:3},ZG={key:1},QG={key:2},$G=[`href`],eK=(0,t.defineComponent)({__name:`BDVideoCallConfirmationModal`,props:[`isMissingCameraPermission`,`isMissingMicrophonePermission`,`isMissingMobileActivation`,`isMissingVideoConferencingSupport`,`participantName`,`videoTestUrl`],emits:[`confirmed`],setup(e,{emit:n}){let{t:r}=gu(),i=e,a=n,o=()=>i.isMissingCameraPermission||i.isMissingMicrophonePermission||i.isMissingMobileActivation||i.isMissingVideoConferencingSupport,s=(0,t.computed)(()=>o()?r(`videoCallConfirmationModal.close`):r(`videoCallConfirmationModal.cancel`)),c=(0,t.computed)(()=>`${i.participantName} ${r(`videoCallConfirmationModal.noMobileActivationMessage`)}`),l=(0,t.computed)(()=>`${i.participantName} ${r(`videoCallConfirmationModal.noCompatibleDevices`)}`),u=(0,t.computed)(()=>r(`videoCallConfirmationModal.title`)),d=(0,t.computed)(()=>r(`videoCallConfirmationModal.ok`)),f=(0,t.computed)(()=>r(`videoCallConfirmationModal.generalWarning`)),p=(0,t.computed)(()=>r(`videoCallConfirmationModal.cameraPermissionMissing`)),m=(0,t.computed)(()=>r(`videoCallConfirmationModal.microphonePermissionMissing`)),h=(0,t.computed)(()=>r(`videoCallConfirmationModal.message`)),g=(0,t.computed)(()=>r(`videoCallConfirmationModal.participantMessage`)),_=(0,t.computed)(()=>r(`videoCallConfirmationModal.testMessage`)),v=(0,t.computed)(()=>r(`videoCallConfirmationModal.helpMessage`)),y=()=>a(`confirmed`);return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(NU,{id:`video-call-confirmation-modal`,title:u.value,"submit-button-title":d.value,"close-button-title":s.value,"hide-footer-submit-button":o(),onSubmit:y},{default:(0,t.withCtx)(()=>[o()?((0,t.openBlock)(),(0,t.createBlock)(Ta,{key:0,variant:`warning`},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`p`,null,(0,t.toDisplayString)(f.value),1),(0,t.createElementVNode)(`ul`,null,[i.isMissingCameraPermission?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,qG,(0,t.toDisplayString)(p.value),1)):(0,t.createCommentVNode)(``,!0),i.isMissingMicrophonePermission?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,JG,(0,t.toDisplayString)(m.value),1)):(0,t.createCommentVNode)(``,!0),i.isMissingMobileActivation?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,YG,(0,t.toDisplayString)(c.value),1)):(0,t.createCommentVNode)(``,!0),i.isMissingVideoConferencingSupport?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,XG,(0,t.toDisplayString)(l.value),1)):(0,t.createCommentVNode)(``,!0)])]),_:1})):i.participantName?((0,t.openBlock)(),(0,t.createElementBlock)(`p`,ZG,[(0,t.createTextVNode)((0,t.toDisplayString)(g.value)+` `,1),(0,t.createElementVNode)(`b`,null,(0,t.toDisplayString)(i.participantName),1),n[0]||=(0,t.createTextVNode)(`?`,-1)])):((0,t.openBlock)(),(0,t.createElementBlock)(`p`,QG,(0,t.toDisplayString)(h.value),1)),(0,t.createElementVNode)(`p`,null,[(0,t.createElementVNode)(`a`,{href:i.videoTestUrl,target:`blank`,rel:`noopener noreferrer`},(0,t.toDisplayString)(_.value),9,$G),(0,t.createElementVNode)(`span`,null,`\xA0`+(0,t.toDisplayString)(v.value),1)])]),_:1},8,[`title`,`submit-button-title`,`close-button-title`,`hide-footer-submit-button`]))}}),tK=()=>({ResetValidation:e=>{for(let t in e.value)e.value[t].state=null},ValidationObjectIsValid:e=>{for(let t in e)if(e[t].state===!1)return!1;return!0}}),nK={class:`template change-password-template`},rK={class:`template-title`},iK={key:0},aK={key:1},oK={class:`bd-form-field`},sK={class:`bd-form-field`},cK={class:`bd-form-field`},lK={class:`bd-form-buttons`},uK=(0,t.defineComponent)({__name:`BDChangePasswordTemplate`,props:{templateTitle:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{},successText:{},failureText:{},requiredText:{},incompatibleText:{},minimalRequirementsText:{},submitPassword:{type:Function}},setup(e){let{t:n}=gu(),{showDangerToast:r,showWarningToast:i,showSuccessToast:a}=FU(),{errorMessages:o,errorMessageText:s,MapServerErrors:c,ResetServerErrors:l}=LU(null),{ValidationObjectIsValid:u}=tK(),d=e,f=(0,t.ref)({password:``,passwordNew:``,passwordRepeat:``}),g=(0,t.ref)({password:{state:null,errorLabel:``},passwordNew:{state:null,errorLabel:``},passwordRepeat:{state:null,errorLabel:``}}),_=()=>{if(!y())return;let e=d.submitPassword(f.value);e&&e.then(()=>{a(d.successText),b()}).catch(e=>{r(d.failureText),c(e)})},y=()=>{if(f.value.passwordNew&&!/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/.test(f.value.passwordNew))g.value.passwordNew.state=!1,g.value.passwordNew.errorLabel=d.minimalRequirementsText;else{let e=f.value.passwordRepeat===f.value.passwordNew,t=e?d.requiredText:d.incompatibleText;g.value.passwordNew.state=f.value.passwordNew!==``&&e?null:!1,g.value.passwordNew.errorLabel=t,g.value.passwordRepeat.state=f.value.passwordRepeat!==``&&e?null:!1,g.value.passwordRepeat.errorLabel=t}return g.value.password.state=f.value.password===``?!1:null,g.value.password.errorLabel=g.value.password.state?``:d.requiredText,u(g.value)},b=()=>{f.value.password===``&&f.value.passwordNew===``&&f.value.passwordRepeat===``||(f.value.password=``,f.value.passwordNew=``,f.value.passwordRepeat=``,g.value.password.state=null,g.value.passwordNew.state=null,g.value.passwordRepeat.state=null,l(),i(n(`changePasswordTemplate.toasters.reset`)))};return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`main`,nK,[(0,t.createVNode)(m,{class:`container-xl`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(h,{class:`justify-content-md-center template-header`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,{xs:12,md:10,lg:7},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`h1`,rK,(0,t.toDisplayString)(d.templateTitle),1)]),_:1})]),_:1}),(0,t.createVNode)(h,{class:`justify-content-md-center`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,{xs:12,md:10,lg:7},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(no,{class:`bd-card-template`,"no-header":!0},{body:(0,t.withCtx)(()=>[(0,t.createVNode)(m,{class:`container-fluid`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(h,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(Ta,{variant:`warning`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.alertText),1)]),_:1})]),_:1})]),_:1}),(0,t.unref)(o)||(0,t.unref)(s)?((0,t.openBlock)(),(0,t.createBlock)(h,{key:0},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(Ta,{variant:`danger`},{default:(0,t.withCtx)(()=>[(0,t.unref)(o)?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,iK,[(0,t.createElementVNode)(`ul`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(o),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`li`,{key:n},[(0,t.createVNode)(Gn),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(e),1)]))),128))])])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,aK,(0,t.toDisplayString)((0,t.unref)(s)),1))]),_:1})]),_:1})]),_:1})):(0,t.createCommentVNode)(``,!0),(0,t.createVNode)(h,null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)(p,{class:`bd-card-form`,sm:12,md:12},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`form`,{onSubmit:(0,t.withModifiers)(_,[`prevent`]),onReset:(0,t.withModifiers)(b,[`prevent`]),class:`form`},[(0,t.createElementVNode)(`div`,oK,[(0,t.createVNode)(vh,{modelValue:(0,t.unref)(f).password,"onUpdate:modelValue":r[0]||=e=>(0,t.unref)(f).password=e,label:e.currentPasswordLabel,state:(0,t.unref)(g).password.state,type:`password`,"invalid-feedback-text":(0,t.unref)(g).password.errorLabel},null,8,[`modelValue`,`label`,`state`,`invalid-feedback-text`])]),(0,t.createElementVNode)(`div`,sK,[(0,t.createVNode)(vh,{modelValue:(0,t.unref)(f).passwordNew,"onUpdate:modelValue":r[1]||=e=>(0,t.unref)(f).passwordNew=e,label:e.newPasswordLabel,state:(0,t.unref)(g).passwordNew.state,type:`password`,"invalid-feedback-text":(0,t.unref)(g).passwordNew.errorLabel},null,8,[`modelValue`,`label`,`state`,`invalid-feedback-text`])]),(0,t.createElementVNode)(`div`,cK,[(0,t.createVNode)(vh,{modelValue:(0,t.unref)(f).passwordRepeat,"onUpdate:modelValue":r[2]||=e=>(0,t.unref)(f).passwordRepeat=e,label:e.confirmNewPasswordLabel,state:(0,t.unref)(g).passwordRepeat.state,type:`password`,"invalid-feedback-text":(0,t.unref)(g).passwordRepeat.errorLabel},null,8,[`modelValue`,`label`,`state`,`invalid-feedback-text`])]),(0,t.createElementVNode)(`div`,lK,[(0,t.createVNode)(v,{type:`submit`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.submitButtonText),1)]),_:1}),(0,t.createVNode)(v,{type:`reset`,variant:`link`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.cancelButtonText),1)]),_:1})])],32)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),dK={class:`template not-found-template`},fK={class:`center-screen`},pK={class:`container-warning`},mK=[`textContent`],hK=[`textContent`],gK=(0,t.defineComponent)({__name:`BDNotFoundTemplate`,props:{buttonText:{type:String}},emits:[`navigate`],setup(e,{emit:n}){let{t:r}=gu(),i=e,a=n,o=(0,t.computed)(()=>i.buttonText||r(`notFoundTemplate.buttonDefault`)),s=(0,t.computed)(()=>r(`notFoundTemplate.title`)),c=(0,t.computed)(()=>r(`notFoundTemplate.description`)),l=()=>a(`navigate`);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`main`,dK,[(0,t.createVNode)(m,{class:`container-xl`},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,fK,[(0,t.createElementVNode)(`div`,pK,[(0,t.createVNode)(ra),(0,t.createElementVNode)(`h5`,{textContent:(0,t.toDisplayString)(s.value)},null,8,mK),(0,t.createElementVNode)(`p`,{textContent:(0,t.toDisplayString)(c.value)},null,8,hK),(0,t.createVNode)(v,{onClick:l,variant:`primary`,type:`button`,textContent:(0,t.toDisplayString)(o.value)},null,8,[`textContent`])])])]),_:1})]))}});e.BDAlert=Ta,e.BDArticle=Hh,e.BDAssignConversationModal=KU,e.BDAttachmentPreviewList=hN,e.BDAttachmentUploadModal=qU,e.BDBadge=wh,e.BDButton=v,e.BDCard=no,e.BDChangePasswordTemplate=uK,e.BDChatCloud=IH,e.BDCol=p,e.BDCollapsableCard=oo,e.BDConfirmationModal=GU,e.BDContainer=m,e.BDContentLibraryModal=vG,e.BDContentLibrarySplitButton=Xm,e.BDContentLibraryTemplate=_G,e.BDConversationToTextModal=zG,e.BDDate=Tg,e.BDDropdown=rU,e.BDDropdownItem=Eg,e.BDDropzone=Ig,e.BDForm=Th,e.BDFormCheckbox=zh,e.BDFormInput=vh,e.BDFormInvalidFeedback=Qm,e.BDFormSelect=Lh,e.BDHeader=uU,e.BDImageAttachmentModal=KG,e.BDImageAttachmentPreviewList=wN,e.BDInputGroup=xh,e.BDLink=_,e.BDLogo=S,e.BDMarkdownEditor=gH,e.BDMobileMenu=CH,e.BDModal=NU,e.BDNotFoundTemplate=gK,e.BDPagination=Mh,e.BDPhoneNumberEditModal=HU,e.BDPill=tg,e.BDPractitionerHeader=wU,e.BDProfileImage=qa,e.BDRow=h,e.BDSessionTimeOutModal=WU,e.BDTable=GH,e.BDToast=qh,e.BDUser=OH,e.BDUserInformation=og,e.BDVideoCallConfirmationModal=eK,e.BDVideoCallToast=nU,e.BDZoomslider=Wa,e.CopyChatMessageToClipboard=kG,e.CopyChatMessagesToClipboard=AG,e.CopyHl7MessagesToClipboard=jG,e.CreateHyperlinkParagraph=(e,t)=>`<p><a href="${e}" title="${t}" target="_blank" rel="noopener noreferrer">${t}</a></p>`,e.CreateThumbnailUri=ON,e.IconAcademy=E,e.IconArrowDown=A,e.IconArrowUp=te,e.IconAttachment=ae,e.IconBold=le,e.IconBulletList=fe,e.IconCalendar=ge,e.IconCall=be,e.IconCallReject=we,e.IconCardView=Oe,e.IconCaretDown=Me,e.IconCaretLeft=Ie,e.IconCaretRight=Be,e.IconCheck=We,e.IconClipboard=Je,e.IconClose=Qe,e.IconComment=nt,e.IconCommentActive=ot,e.IconCommentStatic=ut,e.IconCommonFileEmpty=mt,e.IconCommonFileWarning=vt,e.IconContactPerson=St,e.IconCopy=Et,e.IconDelete=At,e.IconDoubleCheck=Pt,e.IconDownloadImage=Rt,e.IconEdit=Ht,e.IconEndCall=Kt,e.IconError=Xt,e.IconExternal=en,e.IconEyeShow=an,e.IconEyeSlash=ln,e.IconFile=pn,e.IconFileAdded=_n,e.IconForward=xn,e.IconHix=Tn,e.IconHyperlink=kn,e.IconImageFileLandscape=Nn,e.IconImageFileWarning=Ln,e.IconInbox=Vn,e.IconInfo=Gn,e.IconInformationCircle=Yn,e.IconItalic=$n,e.IconListView=rr,e.IconLock=sr,e.IconLusciiEscalated=dr,e.IconLusciiLogo=hr,e.IconLusciiOpen=yr,e.IconLusciiPriorityHigh=Cr,e.IconLusciiPriorityLow=Dr,e.IconLusciiPriorityMedium=jr,e.IconMenu=Fr,e.IconMessage=zr,e.IconMessageForward=Ur,e.IconMicrophoneSlash=Kr,e.IconMicrosoftTeams=Xr,e.IconMin=ei,e.IconOrderedList=ii,e.IconPlus=ci,e.IconRefresh=fi,e.IconRemove=gi,e.IconSananetLogo=xi,e.IconService=Ti,e.IconShareScreen=ki,e.IconSingleNeutral=Ni,e.IconSort=Li,e.IconSortAsc=Vi,e.IconSortDesc=Gi,e.IconSortNone=Yi,e.IconTriangleDown=$i,e.IconTriangleExclamation=ra,e.IconUnderline=sa,e.IconVideoDisabled=ma,e.IconVideocall=da,e.IconWarning=va,e.IconZorgkaart=Sa,e.MapAttachmentsForApi=TN,e.MapToAttachmentObjects=jN,e.TransformHyperlinks=e=>{let t=/<a\b[^>]*>.*?<\/a>/gi,n=[],r;for(;(r=t.exec(e))!==null;)n.push({start:r.index,end:r.index+r[0].length});return e.replace(/(https?:\/\/[^\s<>"',]+|www\.[^\s<>"',]+)/g,(e,t,r)=>n.some(e=>r>=e.start&&r<e.end)?e:`<a href="${e.startsWith(`www.`)?`http://${e}`:e}" target="_blank" rel="noopener noreferrer">${e}</a>`)},e.ValidateUrl=e=>e.startsWith(`http://`)||e.startsWith(`https://`),e.default={install:e=>{e.component(`BDAlert`,Ta),e.component(`BDArticle`,Hh),e.component(`BDAssignConversationModal`,KU),e.component(`BDAttachmentPreviewList`,hN),e.component(`BDAttachmentUploadModal`,qU),e.component(`BDBadge`,wh),e.component(`BDButton`,v),e.component(`BDCard`,no),e.component(`BDChangePasswordTemplate`,uK),e.component(`BDChatCloud`,IH),e.component(`BDCol`,p),e.component(`BDCollapsableCard`,oo),e.component(`BDConfirmationModal`,GU),e.component(`BDContentLibraryModal`,vG),e.component(`BDConversationToTextModal`,zG),e.component(`BDContentLibrarySplitButton`,Xm),e.component(`BDContentLibraryTemplate`,_G),e.component(`BDContainer`,m),e.component(`BDDropdown`,rU),e.component(`BDDropdownItem`,Eg),e.component(`BDDropzone`,Ig),e.component(`BDForm`,Th),e.component(`BDFormCheckbox`,zh),e.component(`BDFormInput`,vh),e.component(`BDFormInvalidFeedback`,Qm),e.component(`BDFormSelect`,Lh),e.component(`BDHeader`,uU),e.component(`BDImageAttachmentModal`,KG),e.component(`BDImageAttachmentPreviewList`,wN),e.component(`BDInputGroup`,xh),e.component(`BDLink`,_),e.component(`BDLogo`,S),e.component(`BDMarkdownEditor`,gH),e.component(`BDMobileMenu`,CH),e.component(`BDModal`,NU),e.component(`BDNotFoundTemplate`,gK),e.component(`BDPagination`,Mh),e.component(`BDPhoneNumberEditModal`,HU),e.component(`BDPill`,tg),e.component(`BDPractitionerHeader`,wU),e.component(`BDProfileImage`,qa),e.component(`BDRow`,h),e.component(`BDSessionTimeOutModal`,WU),e.component(`BDTable`,GH),e.component(`BDToast`,qh),e.component(`BDUser`,OH),e.component(`BDUserInformation`,og),e.component(`BDVideoCallConfirmationModal`,eK),e.component(`BDVideoCallToast`,nU),e.component(`BDZoomslider`,Wa),e.component(`BDDate`,Tg),e.component(`IconAcademy`,E),e.component(`IconArrowDown`,A),e.component(`IconArrowUp`,te),e.component(`IconAttachment`,ae),e.component(`IconBold`,le),e.component(`IconBulletList`,fe),e.component(`IconCalendar`,ge),e.component(`IconCall`,be),e.component(`IconCallReject`,we),e.component(`IconCardView`,Oe),e.component(`IconCaretDown`,Me),e.component(`IconCaretLeft`,Ie),e.component(`IconCaretRight`,Be),e.component(`IconCheck`,We),e.component(`IconClipboard`,Je),e.component(`IconClose`,Qe),e.component(`IconComment`,nt),e.component(`IconCommentActive`,ot),e.component(`IconCommonFileEmpty`,mt),e.component(`IconCommonFileWarning`,vt),e.component(`IconCommentStatic`,ut),e.component(`IconContactPerson`,St),e.component(`IconCopy`,Et),e.component(`IconDelete`,At),e.component(`IconDoubleCheck`,Pt),e.component(`IconDownloadImage`,Rt),e.component(`IconEdit`,Ht),e.component(`IconEndCall`,Kt),e.component(`IconError`,Xt),e.component(`IconExternal`,en),e.component(`IconEyeShow`,an),e.component(`IconEyeSlash`,ln),e.component(`IconFile`,pn),e.component(`IconFileAdded`,_n),e.component(`IconForward`,xn),e.component(`IconHix`,Tn),e.component(`IconHyperlink`,kn),e.component(`IconImageFileLandscape`,Nn),e.component(`IconImageFileWarning`,Ln),e.component(`IconInbox`,Vn),e.component(`IconInfo`,Gn),e.component(`IconInformationCircle`,Yn),e.component(`IconItalic`,$n),e.component(`IconListView`,rr),e.component(`IconLock`,sr),e.component(`IconLusciiEscalated`,dr),e.component(`IconLusciiLogo`,hr),e.component(`IconLusciiOpen`,yr),e.component(`IconLusciiPriorityHigh`,Cr),e.component(`IconLusciiPriorityLow`,Dr),e.component(`IconLusciiPriorityMedium`,jr),e.component(`IconMenu`,Fr),e.component(`IconMessage`,zr),e.component(`IconMessageForward`,Ur),e.component(`IconMicrophoneSlash`,Kr),e.component(`IconMicrosoftTeams`,Xr),e.component(`IconMin`,ei),e.component(`IconOrderedList`,ii),e.component(`IconPlus`,ci),e.component(`IconRefresh`,fi),e.component(`IconRemove`,gi),e.component(`IconSananetLogo`,xi),e.component(`IconService`,Ti),e.component(`IconShareScreen`,ki),e.component(`IconSingleNeutral`,Ni),e.component(`IconSort`,Li),e.component(`IconSortAsc`,Vi),e.component(`IconSortDesc`,Gi),e.component(`IconSortNone`,Yi),e.component(`IconTriangleDown`,$i),e.component(`IconTriangleExclamation`,ra),e.component(`IconUnderline`,sa),e.component(`IconVideoDisabled`,ma),e.component(`IconVideocall`,da),e.component(`IconWarning`,va),e.component(`IconZorgkaart`,Sa),e.directive(`vBDTooltip`,dH)}},e.getDisplayDateNumeric=Cg,e.getDisplayDateTextual=bg,e.getDisplayDateTimeNumeric=Sg,e.getDisplayDateTimeTextual=xg,e.useModal=PU,e.usePopover=hU,e.useServerErrors=LU,e.useSessionTimeOut=UU,e.useToaster=FU,e.useValidation=tK,e.useWindow=pU,e.useZoom=BG,e.vBdTooltip=dH});
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
.content-library-card-message-template {
|
|
2
|
+
padding: 8px;
|
|
3
|
+
min-height: 180px;
|
|
4
|
+
height: auto;
|
|
5
|
+
|
|
6
|
+
&.collapsed {
|
|
7
|
+
height: 180px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.content-library-card__body {
|
|
11
|
+
padding-top: 6px;
|
|
12
|
+
max-height: none;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
|
|
15
|
+
&.collapsed {
|
|
16
|
+
max-height: 75px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.btn-link {
|
|
21
|
+
padding: 0;
|
|
22
|
+
|
|
23
|
+
&:focus {
|
|
24
|
+
box-shadow: revert;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.content-library-card-message-template__body {
|
|
29
|
+
display: block !important;
|
|
30
|
+
|
|
31
|
+
.message-text {
|
|
32
|
+
word-break: break-word;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.attachment-list {
|
|
36
|
+
.attachment-list__item {
|
|
37
|
+
margin-right: 15px;
|
|
38
|
+
margin-bottom: 0.25rem;
|
|
39
|
+
word-break: break-all;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
img {
|
|
43
|
+
height: 50px;
|
|
44
|
+
max-width: 100%;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
footer {
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
|
|
52
|
+
.icon-button {
|
|
53
|
+
svg {
|
|
54
|
+
fill: revert;
|
|
55
|
+
stroke: hsla(224, 21%, 38%, 1);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.attachment-occurence {
|
|
61
|
+
width: 30px;
|
|
62
|
+
height: 30px;
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: center;
|
|
66
|
+
position: relative;
|
|
67
|
+
|
|
68
|
+
.icon {
|
|
69
|
+
fill: $color-blue;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.number-icon {
|
|
73
|
+
position: absolute;
|
|
74
|
+
top: 0;
|
|
75
|
+
right: 0;
|
|
76
|
+
color: white;
|
|
77
|
+
font-size: 0.6em;
|
|
78
|
+
border-radius: 50%;
|
|
79
|
+
background-color: $blue;
|
|
80
|
+
width: .8rem;
|
|
81
|
+
height: .8rem;
|
|
82
|
+
display: flex;
|
|
83
|
+
text-align: center;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
header {
|
|
90
|
+
display: flex;
|
|
91
|
+
|
|
92
|
+
.heading {
|
|
93
|
+
flex: 1;
|
|
94
|
+
|
|
95
|
+
.title {
|
|
96
|
+
h6 {
|
|
97
|
+
display: inline;
|
|
98
|
+
margin: 0 4px 0 0;
|
|
99
|
+
line-height: normal;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.edit-btn-group {
|
|
105
|
+
button {
|
|
106
|
+
width: 30px;
|
|
107
|
+
height: 30px;
|
|
108
|
+
|
|
109
|
+
svg {
|
|
110
|
+
fill: hsla(224, 21%, 38%, 1);
|
|
111
|
+
stroke: revert;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.collapse-button {
|
|
118
|
+
height: 30px;
|
|
119
|
+
|
|
120
|
+
&-last {
|
|
121
|
+
margin-bottom: 0;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
svg {
|
|
125
|
+
margin-right: 4px;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|