@sysvale/component-library
Advanced tools
Comparing version 1.10.2 to 1.11.0
@@ -1,1 +0,1 @@ | ||
var ComponentLibrary=function(e,t){"use strict";var o={components:{XIcon:t.XIcon},props:{content:{type:String,default:"Negativo",description:"The text that will be displayed inside the badge.",required:!0},color:{type:String,default:"#28A745",description:"If the color code mode is set,\n\t\t\t\tyou can pass the hex value of the text\n\t\t\t\tcolor of the badge."},bgColor:{type:String,default:"#28a74526",description:"If the color code mode is set,\n\t\t\t\tyou can pass the hex value of the background\n\t\t\t\tcolor of the badge."},colorCodeMode:{type:Boolean,default:!1,description:"The property that specifies \n\t\t\t\tif the badge will work in the color code\n\t\t\t\tmode or not."},variant:{type:String,default:"yellow",description:"Variant mode gives 6 predefined badges \n\t\t\t\tto work with. Seting this property to 'true',\n\t\t\t\tyou can use 'yellow', 'green', ... 'gray'\n\t\t\t\tto use the predefined badge styles."},isDismissible:{type:Boolean,default:!1,description:"Specifies if the badge will display a \n\t\t\t\t'x' icon that emits the 'close' event."}},computed:{predefinedStyle:function(){var e="";switch(this.variant){case"yellow":e="yellow";break;case"green":e="green";break;case"red":e="red";break;case"blue":e="blue";break;case"purple":e="purple";break;case"gray":e="gray";break;default:e="yellow"}return e},styleVariables:function(){return{"--bg-color":this.bgColor,"--color":this.color}}}};function i(e,t,o,i,n,r,a,s,l,d){"boolean"!=typeof a&&(l=s,s=a,a=!1);var c,p="function"==typeof o?o.options:o;if(e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,n&&(p.functional=!0)),i&&(p._scopeId=i),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},p._ssrRegister=c):t&&(c=a?function(e){t.call(this,d(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),c)if(p.functional){var u=p.render;p.render=function(e,t){return c.call(t),u(e,t)}}else{var h=p.beforeCreate;p.beforeCreate=h?[].concat(h,c):[c]}return o}var n,r="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function a(e){return function(e,t){return function(e,t){var o=r?t.media||"default":e,i=s[o]||(s[o]={ids:new Set,styles:[]});if(!i.ids.has(e)){i.ids.add(e);var a=t.source;if(t.map&&(a+="\n/*# sourceURL="+t.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",t.media&&i.element.setAttribute("media",t.media),void 0===n&&(n=document.head||document.getElementsByTagName("head")[0]),n.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(a),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{var l=i.ids.size-1,d=document.createTextNode(a),c=i.element.childNodes;c[l]&&i.element.removeChild(c[l]),c.length?i.element.insertBefore(d,c[l]):i.element.appendChild(d)}}}(e,t)}}var s={};var l=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"badge-container",class:e.colorCodeMode?"":e.predefinedStyle,style:e.colorCodeMode?e.styleVariables:""},[o("div",{staticClass:"d-flex justify-space-between align-items-center padding-left-12"},[o("small",{staticClass:"regular"},[e._v("\n\t\t\t"+e._s(e.content)+"\n\t\t")]),e._v(" "),o("div",{staticClass:"dismissible-icon-container ml-1 d-flex",class:e.isDismissible?"":"padding-right-12",on:{click:function(t){return e.$emit("close",!0)}}},[e.isDismissible?o("x-icon",{staticClass:"m-1",attrs:{size:"0.9x"}}):e._e()],1)])])},staticRenderFns:[]},(function(e){e&&e("data-v-9e53a8de_0",{source:".badge-container{border-radius:8px!important;width:fit-content;background-color:var(--bg-color);color:var(--color);padding:2px 4px}.yellow{color:#5a4300;background-color:#ffbf004d}.green{color:#005a15;background-color:#28a74526}.red{color:#8c1520;background-color:#e2757f40}.blue{color:#00469c;background-color:#60c4ff40}.purple{color:#621e83;background-color:#e47aff40}.gray{color:#2f2f2f;background-color:#acacac40}.padding-right-12{padding-right:12px}.padding-left-12{padding-left:12px}.dismissible-icon-container{cursor:pointer;border-radius:100%}.dismissible-icon-container:hover{background-color:hsla(0,0%,10%,.1);transition:.5s ease}",map:void 0,media:void 0})}),o,void 0,!1,void 0,!1,a,void 0,void 0),d=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"d-flex justify-content-between"},e._l(e.steps,(function(t,i){return o("div",{key:i,class:i!==e.steps.length-1?"w-100":""},[o("div",{staticClass:"d-flex align-items-center",attrs:{id:"step-"+(i+1)},on:{click:function(t){return e.changeStep(i)}}},[o("div",{staticClass:"d-flex justify-content-center align-items-center cursor-pointer",class:e.circleStyle(t)},[t.concluded?o("check-icon",{staticClass:"concluded-step",attrs:{size:"1x"}}):o("span",{staticClass:"not-concluded-step-text-color fs-14"},[e._v("\n "+e._s(i+1)+"\n ")])],1),e._v(" "),i!==e.steps.length-1&&e.steps[i].concluded&&e.steps[i+1].concluded?o("div",{staticClass:"concluded-stepper-divider"}):i!==e.steps.length-1&&i>0&&e.steps[i].concluded&&e.steps[i-1].concluded||i!==e.steps.length-1&&0===i&&e.steps[i].concluded?o("div",{staticClass:"in-progress-stepper-divider"}):i!==e.steps.length-1?o("div",{staticClass:"common-stepper-divider"}):e._e()]),e._v(" "),o("div",{staticClass:"label-container mt-2",class:t.active?"":"not-active-step-label"},[o("small",[e._v(e._s(t.label))])])])})),0)},staticRenderFns:[]},(function(e){e&&e("data-v-9e2f1672_0",{source:".active-step,.concluded-step,.not-active-step{border-radius:50px;min-width:30px;min-height:30px;border:1.5px;border-style:solid}.active-step{border-color:#00cbad}.concluded-step{background-color:#00cbad;border-color:#00cbad;width:30px;height:30px}.not-active-step{color:#bfc2c5;border-color:#bfc2c5}.not-concluded-step-text-color{color:#00cbad}.common-stepper-divider,.concluded-stepper-divider,.in-progress-stepper-divider{height:3px;width:100%}.common-stepper-divider{background-color:#bfc2c5}.in-progress-stepper-divider{background:linear-gradient(90deg,#43e4cc 0,#bfc2c5 67.57%)}.concluded-stepper-divider{background:#00cbad}.concluded-step{color:#fff}.label-container{max-width:70px;margin-left:-10px;line-height:1;display:block}.fs-14{font-size:14px}.cursor-pointer{cursor:pointer}.not-active-step-label{color:#5d6369}",map:void 0,media:void 0})}),{props:{steps:{type:Array,default:function(){return[]},required:!0,description:"A object with the properties 'label', and 'concluded'.\n The 'label' property is the text that will be displayed under\n the counter, and 'concluded' is the status (boolean) of the step."}},components:{CheckIcon:t.CheckIcon},methods:{circleStyle:function(e){var t="";return e.concluded&&(t+="concluded-step"),e.active&&(t+="active-step"),e.active||e.concluded||(t+=" not-active-step"),t},changeStep:function(e){this.steps[e].active=!0,this.steps.forEach((function(t,o){t.active=o===e})),this.$emit("step_changed",e,this.steps[e])}}},void 0,!1,void 0,!1,a,void 0,void 0),c=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"toolbar-container"},[o("div",{staticClass:"toolbar",class:e.floatingMode?"fixed":"",style:""!==e.bgColor?"background-color: "+e.bgColor:""},[e._t("description"),e._v(" "),e._t("buttons"),e._v(" "),e.isDismissible?o("div",{staticClass:"icon-container ml-2",on:{click:function(t){return e.$emit("close",!0)}}},[o("x-icon",{staticClass:"m-1",attrs:{size:"0.8x"}})],1):e._e()],2)])},staticRenderFns:[]},(function(e){e&&e("data-v-4b47e00d_0",{source:".toolbar-container{width:100%;display:flex;justify-content:center}.toolbar{border-radius:8px!important;background-color:#30353f;bottom:72px;padding:.8rem 1rem;color:#fff;display:flex;z-index:2;align-items:center}.fixed{position:fixed}.icon-container{padding:2px 4px;background-color:#0000002d;border-radius:50%;cursor:pointer}.icon-container:hover{background-color:#00000041}",map:void 0,media:void 0})}),{components:{XIcon:t.XIcon},props:{floatingMode:{type:Boolean,default:!1,description:"When setted to true this prop makes\n\t\t\t\tthe ActionBar to work floating above the content\n\t\t\t\tof the view, being placed in the bottom of the page."},isDismissible:{type:Boolean,default:!1,description:"When setted to true this prop displays\n\t\t\t\tan 'x' icon that emits a event that can be handled\n\t\t\t\tto close the ActionBar."},bgColor:{type:String,default:"",description:"You can send colors in any format applicable\n\t\t\t\tto the 'background-color' property in order to overwrite\n\t\t\t\tthe default ActionBar color."}}},void 0,!1,void 0,!1,a,void 0,void 0),p=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"pagination-container"},[o("b-button-group",e._l(e.pages,(function(t){return o("b-button",{key:t.index,staticClass:"pagination-button",style:e.cssVars,attrs:{id:"tab"+t.index,pressed:e.selectedIndex===t.index},on:{click:function(o){return e.handleClick(t)}}},[e._v("\n\t\t\t"+e._s(t.value)+"\n\t\t")])})),1)],1)},staticRenderFns:[]},(function(e){e&&e("data-v-d6072b8e_0",{source:".pagination-container{display:flex;justify-content:center;align-items:center}.pagination-button{background:0 0;font-weight:300;min-width:42px;color:#707070;border-color:#b8b8b8;box-shadow:none!important;border-radius:var(--border-radius)}.pagination-button:hover{background-color:var(--hover-bg-color)!important;border-color:var(--hover-bg-color)!important;color:var(--hover-text-color)!important}.pagination-button:focus{background:0 0;color:#707070;border-color:#b8b8b8}.btn.active{background-color:var(--active-bg-color)!important;border-color:var(--active-bg-color)!important;color:var(--active-text-color)!important}",map:void 0,media:void 0})}),{props:{perPage:{type:Number,default:5,description:"The maximum number of elements\n\t\t\t\tfor each page of the element being paged."},totalRows:{type:Number,default:1,description:"The total amount of rows in the element\n\t\t\t\tbeing paged."},activeBgColor:{type:String,default:"#545b62",description:"The Hex color code for the background\n\t\t\t\tof the active selection of the component."},activeTextColor:{type:String,default:"#fff",description:"The Hex color code for the text\n\t\t\t\tof the active selection of the component."},hoverBgColor:{type:String,default:"#545b62",description:"The Hex color code for the background\n\t\t\t\tof the hovered selection of the component."},hoverTextColor:{type:String,default:"#fff",description:"The Hex color code for the text\n\t\t\t\tof the hovered selection of the component."},borderRadius:{type:Number,default:5,description:"The value, in pixels, of the border\n\t\t\t\tradius of the whole element."}},data:function(){return{pressed:!1,selectedIndex:0,selectedValue:1,pages:[],defaultIndex:0,defaultValue:1}},computed:{pageCount:function(){var e=this.perPage>0?this.perPage:1;return Math.ceil(this.totalRows/e)},cssVars:function(){return{"--active-bg-color":this.activeBgColor,"--active-text-color":this.activeTextColor,"--hover-bg-color":this.hoverBgColor,"--hover-text-color":this.hoverTextColor,"--border-radius":this.borderRadius+"px"}}},watch:{totalRows:function(){this.pages=this.handlePages()},perPage:function(){this.pages=this.handlePages()}},beforeMount:function(){this.pages=this.handlePages(),this.selectedIndex=this.defaultIndex,this.selectedValue=this.defaultValue},methods:{handleClick:function(e){"..."!==e.value&&(this.selectedValue=e.value,this.selectedIndex=e.index,this.pages=this.handlePages(),this.pressed=!0,this.$emit("input",e.index+1))},handlePages:function(){for(var e=[],t=this.pageCount<15?this.pageCount:15,o=0;o<t;o+=1)e[o]={index:o,value:o+1},e[o].value===this.selectedValue&&(this.selectedIndex=e[o].index);if(this.pageCount>15){if(this.selectedValue>this.pageCount-8){for(var i=0;i<15;i+=1)e[i]={index:i,value:this.pageCount-14+i},e[i].value===this.selectedValue&&(this.selectedIndex=e[i].index);e[1]={index:1,value:"..."}}else if(this.selectedValue<=8)e[13]={index:13,value:"..."};else{for(var n=2;n<7;n+=1)e[n]={index:n,value:this.selectedValue-7+n};for(var r=8;r<14;r+=1)e[r]={index:r,value:this.selectedValue+r-7};this.selectedIndex=7,e[7]={index:7,value:this.selectedValue},e[1]={index:1,value:"..."},e[13]={index:13,value:"..."}}e[0]={index:0,value:1},e[14]={index:14,value:this.pageCount}}return e}}},void 0,!1,void 0,!1,a,void 0,void 0),u=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"no-items"},[o("img",{staticClass:"image-container",attrs:{src:e.emptyStateImage,alt:e.imgDescription}}),e._v(" "),o("div",{staticClass:"no-items-text",style:e.headlineStyle},[e._v("\n\t\t"+e._s(e.headlineText)+"\n\t")]),e._v(" "),o("div",{staticClass:"no-items-bodytext mt-2",style:e.bodyTextStyle},[e._v("\n\t\t"+e._s(e.bodyText)+"\n\t")]),e._v(" "),e.showActionButton?o("div",{staticClass:"action-button-container"},[o("b-button",{staticClass:"primary-button",style:e.buttonStyle,on:{click:function(t){return e.$emit("actionButtonClick",!0)}}},[e._v("\n\t\t\t"+e._s(e.buttonText)+"\n\t\t")])],1):e._e()])},staticRenderFns:[]},(function(e){e&&e("data-v-48e194a4_0",{source:".no-items{display:flex;flex-direction:column;align-items:center;position:relative;margin:60px}.image-container{max-width:500px;max-height:500px;width:auto;height:auto}.no-items-text{margin-top:20px;color:var(--headline-color);font-size:var(--headline-font-size)}.no-items-bodytext{color:var(--body-text-color);font-size:var(--body-text-size);max-width:50%;text-align:center}.action-button-container{margin-top:20px}.primary-button{background-color:var(--button-color)!important;border-color:var(--button-color)!important;color:var(--button-text-color);font-size:var(--button-font-size);border-radius:var(--border-radius);box-shadow:none!important}.primary-button:hover{filter:brightness(80%)}.primary-button:active{filter:brightness(90%)}.primary-button.disabled{opacity:.5;cursor:default}.primary-button.disabled:hover{filter:brightness(100%)}",map:void 0,media:void 0})}),{props:{emptyStateImage:{type:String,default:"",description:"The image that will be displayed in the component."},imgDescription:{type:String,default:"",description:"The images description that will be displayed in the component."},headlineText:{type:String,default:"No results found",description:"The headline of the component."},bodyText:{type:String,default:"Start adding some content!",description:"The body text of the component."},showActionButton:{type:Boolean,default:!0,description:"When setted to true, this prop displays an Action Button."},buttonText:{type:String,default:"Add new content",description:"The text that will be displayed inside the button."},headlineColor:{type:String,default:"#563d7c",description:"The Hex color code for the headline."},bodyTextColor:{type:String,default:"#707070",description:"The Hex color code for the body text."},buttonColor:{type:String,default:"#1C72CE",description:"The Hex color code for the button."},buttonTextColor:{type:String,default:"#FFFFFF",description:"The Hex color code for the button text."},headlineFontSize:{type:Number,default:32,description:"The value, in pixels, of the font size of the headline. The maximum value accepted is 60px.",validator:function(e){return e<=60}},bodyFontSize:{type:Number,default:16,description:"The value, in pixels, of the font size of the body text. The maximum value accepted is 30px.",validator:function(e){return e<=30}},buttonFontSize:{type:Number,default:16,description:"The value, in pixels, of the font size of the button. The maximum value accepted is 30px.",validator:function(e){return e<=30}},borderRadius:{type:Number,default:5,description:"The value, in pixels, button border radius. The maximum value accepted is 30px.",validator:function(e){return e<=30}}},updated:function(){this.headlineFontSize>60&&(this.headlineFontSize=60),this.bodyFontSize>30&&(this.bodyFontSize=30),this.buttonFontSize>30&&(this.buttonFontSize=30),this.borderRadius>30&&(this.borderRadius=30)},computed:{headlineStyle:function(){return{"--headline-color":this.headlineColor,"--headline-font-size":this.headlineFontSize+"px"}},bodyTextStyle:function(){return{"--body-text-color":this.bodyTextColor,"--body-text-size":this.bodyFontSize+"px"}},buttonStyle:function(){return{"--button-color":this.buttonColor,"--button-text-color":this.buttonTextColor,"--button-font-size":this.buttonFontSize+"px","--border-radius":this.borderRadius+"px"}}}},void 0,!1,void 0,!1,a,void 0,void 0),h=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("b-nav",{staticClass:"px-2",class:e.oldSchool?"bg-cs":"bg-liga"},e._l(e.computedItems,(function(t,i){return o(e.dropdownOrSingleItem(t),{key:e.getElementKey(t,i),tag:"component",staticClass:"mr-4 mt-2",class:e.getClass(t),attrs:{id:e.getElementKey(t,i),text:t.label,active:e.isActive(t),to:{name:t.path},"menu-class":"py-1"},on:{click:function(o){return e.handleClick(t)}}},[e.isDropdown(t)?e._l(t.items,(function(i,n){return o("b-dropdown-item",{key:e.getElementKey(i,n,!0),staticClass:"py-1",attrs:{id:e.getElementKey(i,n,!0),active:e.isActive(i),to:{name:t.path},"link-class":"py-2"},on:{click:function(o){return o.stopPropagation(),e.handleClick(i,t)}}},[e._v("\n\t\t\t\t"+e._s(i.label)+"\n\t\t\t")])})):[e._v("\n\t\t\t"+e._s(t.label)+"\n\t\t")]],2)})),1)},staticRenderFns:[]},(function(e){e&&e("data-v-4b12b989_0",{source:"a{outline:0}.cs-mode .dropdown-item:hover,.cs-mode .nav-link:hover{color:#fff}.cs-mode .dropdown-item:hover{background:0 0}.cs-mode .active,.cs-mode.active-parent{border-bottom:4px solid #3adf7c;background:#5a5a5a;border-radius:4px 4px 0 0}.cs-mode.active-parent.show{border-bottom:4px solid transparent}.cs-mode .dropdown-item.active{border-left:4px solid #3adf7c;border-bottom:0;background:#5a5a5a;border-radius:0}.bg-liga{background:linear-gradient(.93deg,#fff 16.45%,#f1f5fb 105.67%)}.bg-liga .dropdown-menu{background:#fff}.bg-cs,.bg-cs .dropdown-menu{background:#444}.cs-mode .dropdown-item.active,.cs-mode .nav-link.active,.cs-mode.active-parent .dropdown-toggle{color:#fff}.cs-mode .dropdown-item,.cs-mode .nav-link{color:#d0d2d5}.liga-mode .active,.liga-mode.active-parent{border-bottom:4px solid #285ab9;background:rgba(40,90,185,.05);border-radius:4px 4px 0 0}.liga-mode.active-parent.show{border-bottom:4px solid transparent}.liga-mode .dropdown-item.active,.liga-mode .nav-link.active,.liga-mode.active-parent .dropdown-toggle{color:#142032}.liga-mode .dropdown-item,.liga-mode .nav-link{color:#6a7580}.liga-mode .dropdown-item:hover,.liga-mode .nav-link:hover{color:#142032;background:0 0}.bg-liga .dropdown-menu{background:#fff;box-shadow:2px 2px 4px rgba(58,67,81,.16);border-radius:2px}.liga-mode .dropdown-item.active{border-left:4px solid #285ab9;border-bottom:0;background:rgba(40,90,185,.05);border-radius:0}.dropdown-item:active{background:inherit}.dropdown-menu{margin-top:4px;border:0;border-radius:0}.dropdown-toggle[aria-expanded=true]:after{transform:rotate(180deg)}.dropdown-toggle:after{transition:all .4s ease}",map:void 0,media:void 0})}),{props:{items:{type:Array,default:function(){return[]},description:"A list of the menu itens to be displayed",required:!0},oldSchool:{type:Boolean,default:!0,description:'Defines the style of the menu. The new one is light themed and the old one follows the style used by the "Cidade Saudável"'},activeItem:{type:Object,default:function(){},description:"The currently active menu item",required:!0}},data:function(){return{internalActiveItem:this.activeItem,internalActiveParent:this.activeItem}},computed:{computedItems:function(){var e=this;return this.items.map((function(t){var o=t;return e.isDropdown(t)&&(o.items=t.items.map((function(e){return Object.assign({},{parent:_.clone(t)},e)}))),o}))}},watch:{computedItems:{handler:function(e){var t,o,i=this,n=e.filter((function(e){return e===i.activeItem}));if(n.length)t=n,this.internalActiveItem=t[0],this.internalActiveParent=this.internalActiveItem;else{var r=_.flatten(e.filter((function(e){return!!e.items})).map((function(e){return e.items})));r.length&&(o=r.filter((function(e){return e.path===i.activeItem.path})),this.internalActiveItem=o[0],this.internalActiveParent=this.internalActiveItem.parent)}},immediate:!0}},methods:{handleClick:function(e,t){this.internalActiveItem=e,this.internalActiveParent=t,this.$emit("click",this.internalActiveItem)},isActive:function(e){return Object.keys(this.internalActiveItem).length>0&&this.internalActiveItem.path===e.path},getElementKey:function(e,t,o){return void 0===o&&(o=!1),""+e.label.replace(/\s/g,"")+t+(o?"-subitem":"")},isSubitem:function(e){return!!e.parent},isDropdown:function(e){return!!e.items},dropdownOrSingleItem:function(e){return this.isDropdown(e)?"b-nav-item-dropdown":"b-nav-item"},getClass:function(e){var t=this.oldSchool?"cs-mode":"liga-mode";return this.isDropdown(e)&&this.internalActiveParent&&this.internalActiveParent.path===e.path&&(t+=" active-parent"),t}}},void 0,!1,void 0,!1,a,void 0,void 0),f=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"dropdown"}},[o("multiselect",e._b({attrs:{"select-label":"","deselect-label":"","selected-label":"",options:e.internalOptions,"close-on-select":!1,multiple:!0,taggable:!0,"clear-on-select":!1,searchable:!1},on:{select:e.selectItem,remove:e.selectItem},scopedSlots:e._u([{key:"option",fn:function(t){return[o("div",{staticClass:"option__desc"},[o("span",{staticClass:"option__title"},[o("span",{staticClass:"d-flex align-items-center"},[o("span",{staticClass:"checkbox-container"},[o("div",{staticClass:"customCheckbox mr-4"},[o("input",{directives:[{name:"model",rawName:"v-model",value:t.option.is_selected,expression:"internalOptions.option.is_selected"}],attrs:{type:"checkbox",id:"input-"+t.option.title,name:"input-"+t.option.title},domProps:{value:!0,checked:Array.isArray(t.option.is_selected)?e._i(t.option.is_selected,!0)>-1:t.option.is_selected},on:{change:function(o){var i=t.option.is_selected,n=o.target,r=!!n.checked;if(Array.isArray(i)){var a=e._i(i,!0);n.checked?a<0&&e.$set(t.option,"is_selected",i.concat([!0])):a>-1&&e.$set(t.option,"is_selected",i.slice(0,a).concat(i.slice(a+1)))}else e.$set(t.option,"is_selected",r)}}}),e._v(" "),o("label",{class:{checkedCheckboxColor:t.option.is_selected},attrs:{id:"checkbox-"+t.option.title,for:"input-"+t.option.title},on:{click:function(o){return e.addItemViaCustomCheckbox(t.option)}}})])]),e._v("\n\n\t\t\t\t\t\t"+e._s(t.option.title)+"\n\n\t\t\t\t\t")])])])]}}]),model:{value:e.selectedValue,callback:function(t){e.selectedValue=t},expression:"selectedValue"}},"multiselect",e.$attrs,!1))],1)},staticRenderFns:[]},(function(e){e&&(e("data-v-b49a662e_0",{source:'fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{position:absolute;right:1px;top:1px;width:48px;height:35px;background:#fff;display:block}.multiselect__spinner:after,.multiselect__spinner:before{position:absolute;content:"";top:50%;left:50%;margin:-8px 0 0 -8px;width:16px;height:16px;border-radius:100%;border:2px solid transparent;border-top-color:#41b883;box-shadow:0 0 0 1px transparent}.multiselect__spinner:before{animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation-iteration-count:infinite}.multiselect__spinner:after{animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{transition:opacity .4s ease-in-out;opacity:1}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:16px;-ms-touch-action:manipulation;touch-action:manipulation}.multiselect{box-sizing:content-box;display:block;position:relative;width:100%;min-height:40px;text-align:left;color:#35495e}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:0}.multiselect--disabled{background:#ededed;pointer-events:none;opacity:.6}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input,.multiselect__single{position:relative;display:inline-block;min-height:20px;line-height:20px;border:none;border-radius:5px;background:#fff;padding:0 0 0 5px;width:100%;transition:border .1s ease;box-sizing:border-box;margin-bottom:8px;vertical-align:top}.multiselect__input:-ms-input-placeholder{color:#35495e}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:0}.multiselect__single{padding-left:5px;margin-bottom:8px}.multiselect__tags-wrap{display:inline}.multiselect__tags{min-height:40px;display:block;padding:8px 40px 0 8px;border-radius:5px;border:1px solid #e8e8e8;background:#fff;font-size:14px}.multiselect__tag{position:relative;display:inline-block;padding:4px 26px 4px 10px;border-radius:5px;margin-right:10px;color:#fff;line-height:1;background:#41b883;margin-bottom:5px;white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis}.multiselect__tag-icon{cursor:pointer;margin-left:7px;position:absolute;right:0;top:0;bottom:0;font-weight:700;font-style:normal;width:22px;text-align:center;line-height:22px;transition:all .2s ease;border-radius:5px}.multiselect__tag-icon:after{content:"\\D7";color:#266d4d;font-size:14px}.multiselect__tag-icon:focus,.multiselect__tag-icon:hover{background:#369a6e}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{min-height:40px;overflow:hidden;padding:8px 30px 0 12px;white-space:nowrap;border-radius:5px;border:1px solid #e8e8e8}.multiselect__current,.multiselect__select{line-height:16px;box-sizing:border-box;display:block;margin:0;text-decoration:none;cursor:pointer}.multiselect__select{position:absolute;width:40px;height:38px;right:1px;top:1px;padding:4px 8px;text-align:center;transition:transform .2s ease}.multiselect__select:before{position:relative;right:0;top:65%;color:#999;margin-top:4px;border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 0;content:""}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{position:absolute;display:block;background:#fff;width:100%;max-height:240px;overflow:auto;border:1px solid #e8e8e8;border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;z-index:50;-webkit-overflow-scrolling:touch}.multiselect__content{list-style:none;display:inline-block;padding:0;margin:0;min-width:100%;vertical-align:top}.multiselect--above .multiselect__content-wrapper{bottom:100%;border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom:none;border-top:1px solid #e8e8e8}.multiselect__content::webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{display:block;padding:12px;min-height:40px;line-height:16px;text-decoration:none;text-transform:none;vertical-align:middle;position:relative;cursor:pointer;white-space:nowrap}.multiselect__option:after{top:0;right:0;position:absolute;line-height:40px;padding-right:12px;padding-left:20px;font-size:13px}.multiselect__option--highlight{background:#41b883;outline:0;color:#fff}.multiselect__option--highlight:after{content:attr(data-select);background:#41b883;color:#fff}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{content:attr(data-selected);color:silver}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{background:#ededed!important;color:#a6a6a6!important;cursor:text;pointer-events:none}.multiselect__option--group{background:#ededed;color:#35495e}.multiselect__option--group.multiselect__option--highlight{background:#35495e;color:#fff}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--group-selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s ease}.multiselect-enter,.multiselect-leave-active{opacity:0}.multiselect__strong{margin-bottom:8px;line-height:20px;display:inline-block;vertical-align:top}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{right:auto;left:1px}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{right:auto;left:0}[dir=rtl] .multiselect__clear{right:auto;left:12px}[dir=rtl] .multiselect__spinner{right:auto;left:1px}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}',map:void 0,media:void 0}),e("data-v-b49a662e_1",{source:'#dropdown .multiselect__option--highlight{background:#f5f6f8;outline:0;color:#142032}input[type=checkbox]{visibility:hidden}.customCheckbox{width:15px;position:relative;margin-left:-12px}.checkedCheckboxColor{background-color:#2959b8!important;border:none!important}.customCheckbox label{cursor:pointer;position:absolute;width:15px;height:15px;top:0;border-radius:4px;border:.5px solid #ced4da}.customCheckbox label:after{border:1.5px solid #fff;border-top:none;border-right:none;content:"";height:5px;left:3.1px;opacity:0;position:absolute;top:4.4px;transform:rotate(-45deg);width:8px;border-radius:.4px}.customCheckbox input[type=checkbox]:checked+label:after{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:alpha(opacity=100);opacity:1}#dropdown .multiselect__tag{background:#e9eef1;color:#142032;border:1px solid #ced4da}#dropdown .multiselect__tag-icon:after{color:#4f606f}#dropdown .multiselect__tag-icon:focus,#dropdown .multiselect__tag-icon:hover{background:#d1d9e9;color:#4f606f}#dropdown .multiselect__tag-icon:focus:after,#dropdown .multiselect__tag-icon:hover:after{color:#4f606f}#dropdown .multiselect__option--selected.multiselect__option--highlight{background:#fff;color:#142032}#dropdown .multiselect__option--selected.multiselect__option--highlight:after{background:#fff;color:#142032}#dropdown .multiselect__option--selected{background:#fff;color:#142032;font-weight:600}#dropdown .multiselect--disabled{background:0 0}#dropdown .multiselect--disabled .multiselect__tags{background:#e9eef1!important}#dropdown .multiselect__placeholder{color:#6a7580}',map:void 0,media:void 0}))}),{data:function(){return{selectedValue:this.$attrs.value,internalOptions:_.cloneDeep(this.$attrs.options)}},mounted:function(){var e=this;this.selectedValue.forEach((function(e){e.is_selected=!0})),this.internalOptions.forEach((function(t){var o=e.selectedValue.some((function(o){return o[e.$attrs.label]===t[e.$attrs.label]}));t.is_selected=!!o}))},watch:{selectedValue:function(e){var t=_.cloneDeep(e);t.forEach((function(e){return delete e.is_selected})),this.$emit("input",t)}},methods:{selectItem:function(e){this.internalOptions.forEach((function(t){t.title===e.title&&(t.is_selected=!t.is_selected)}))},addItemViaCustomCheckbox:function(e){e.is_selected=!e.is_selected,this.selectedValue.push(e)}}},void 0,!1,void 0,!1,a,void 0,void 0),m=27,b=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"side-sheet"}},[o("transition",{attrs:{name:e.floatTransition}},[e.value?o("div",{staticClass:"overlay",attrs:{tabindex:"0"},on:{click:e.shouldCloseOnBackdrop}},[o("div",{staticClass:"container px-0",class:e.floatClass,on:{click:function(e){e.stopPropagation()}}},[e._t("close-icon",[o("div",{staticClass:"text-right p-3"},[o("x-icon",{attrs:{id:"close-icon"},on:{click:function(t){return t.stopPropagation(),e.$emit("input",!e.value)}}})],1)]),e._v(" "),e._t("default")],2)]):e._e()])],1)},staticRenderFns:[]},(function(e){e&&e("data-v-73c72453_0",{source:"#side-sheet .overlay{position:fixed;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.4);z-index:999;cursor:pointer}#side-sheet .container{background:#fff;width:328px;height:100%;border-radius:0}#close-icon{color:rgb(106,117,128,.75)}#close-icon:hover{color:#6a7580}.right{float:right}.left{float:left}.slide-fade-right-enter-active{transition:all .4s ease}.slide-fade-right-leave-active{transition:all .4s ease}.slide-fade-right-enter,.slide-fade-right-leave-to{transform:translateX(8px);opacity:0}.slide-fade-left-enter-active{transition:all .4s ease}.slide-fade-left-leave-active{transition:all .4s ease}.slide-fade-left-enter,.slide-fade-left-leave-to{transform:translateX(-8px);opacity:0}",map:void 0,media:void 0})}),{components:{XIcon:t.XIcon},props:{value:{type:Boolean,default:!1,description:"\n\t\t\t\tProp to control if the SideSheet should be shown or not (usually by v-model)\n\t\t\t",required:!0},right:{type:Boolean,default:!1,description:"\n\t\t\t\tProp to define that the element will be shown at right screen side.\n\t\t\t"},left:{type:Boolean,default:!1,description:"\n\t\t\t\tProp to define that the element will be shown at left screen side (right is the default).\n\t\t\t"},noCloseOnBackdrop:{type:Boolean,default:!1,description:"\n\t\t\t\tProp to define if the element won't be dismissed when backdrop is click.\n\t\t\t"},noCloseOnEsc:{type:Boolean,default:!1,description:"\n\t\t\t\tProp to define if the element won't be dismissed when esc is pressed.\n\t\t\t"}},computed:{floatClass:function(){return this.left?"left":"right"},floatTransition:function(){return this.left?"slide-fade-left":"slide-fade-right"}},watch:{value:function(e){e?this.attachKeyupEvent():this.dettachKeyupEvent()}},created:function(){this.attachKeyupEvent()},beforeDestroy:function(){this.dettachKeyupEvent()},methods:{shouldCloseOnBackdrop:function(){this.noCloseOnBackdrop||this.$emit("input",!this.value)},shouldCloseOnEsc:function(){this.noCloseOnEsc||this.$emit("input",!this.value)},keyupListener:function(e){e.keyCode===m&&this.shouldCloseOnEsc()},attachKeyupEvent:function(){window.addEventListener("keyup",this.keyupListener)},dettachKeyupEvent:function(){window.removeEventListener("keyup",this.keyupListener)}}},void 0,!1,void 0,!1,a,void 0,void 0),g=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"s-popover"}},[e.value?o("div",{staticClass:"overlay",attrs:{tabindex:"0"},on:{click:e.shouldCloseOnBackdrop}},[o("b-popover",{attrs:{show:e.value,"custom-class":e.popoverClasses,target:e.target,placement:e.placement,triggers:"",offset:e.internalOffset},on:{"update:show":function(t){e.value=t}}},[e._t("default")],2)],1):e._e()])},staticRenderFns:[]},(function(e){e&&e("data-v-29ec9a78_0",{source:"#s-popover .overlay{position:fixed;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:transparent;z-index:999;cursor:pointer}#s-popover .b-popover .arrow{display:none}#s-popover .b-popover{max-width:none}.b-popover.s-popover-default{width:276px}.s-popover{border:1px solid #ced4da;box-shadow:0 4px 4px rgba(0,0,0,.25);border-radius:8px}.b-popover.s-popover-sm{width:180px}.b-popover.s-popover-lg{width:360px}.b-popover.s-popover-xl{width:520px}",map:void 0,media:void 0})}),{data:function(){return{internalOffset:"-60%",sizes:{default:276,sm:180,lg:360,xl:520}}},props:{value:{type:Boolean,default:!1,description:"\n\t\t\t\tControls if the popover should be shown or not (usually by v-model)\n\t\t\t",required:!0},alignment:{type:String,default:"left",description:"\n\t\t\t\tDefines if the popover will be right or left aligned\n\t\t\t\trelative to target element.\n\t\t\t"},target:{type:String,default:null,description:"\n\t\t\t\tDefines the element that you want to trigger the popover.\n\t\t\t",required:!0},offset:{type:String,default:null,description:"\n\t\t\t\tChange the horizontal alignment of the popover by a specified number of pixels.\n\t\t\t"},size:{type:String,default:"default",description:"\n\t\t\t\tDefines the width of the popover (Options: 'xl', 'lg', 'sm', 'default').\n\t\t\t"},noCloseOnBackdrop:{type:Boolean,default:!1,description:"\n\t\t\t\tDefines if the element won't be dismissed when backdrop is click.\n\t\t\t"},noCloseOnEsc:{type:Boolean,default:!1,description:"\n\t\t\t\tDefines if the element won't be dismissed when esc is pressed.\n\t\t\t"}},computed:{placement:function(){return"right"===this.alignment?"bottomright":"bottomleft"},popoverClasses:function(){return(this.size?"s-popover-"+this.size:"")+" s-popover"}},watch:{alignment:function(e){this.alignment=e,this.calcOffset()},offset:function(e){this.offset=e,this.calcOffset()},value:function(e){e?this.attachKeyupEvent():this.detachKeyupEvent()}},mounted:function(){this.calcOffset()},created:function(){this.attachKeyupEvent()},beforeDestroy:function(){this.detachKeyupEvent()},methods:{calcOffset:function(){if(this.offset)this.internalOffset=this.offset;else{var e=document.getElementById(this.target);if(e){var t=e.offsetWidth,o=this.sizes[this.size],i="right"===this.alignment?1:-1;this.internalOffset=(o-t)*i/2}}},shouldCloseOnBackdrop:function(){this.noCloseOnBackdrop||this.$emit("input",!this.value)},shouldCloseOnEsc:function(){this.noCloseOnEsc||this.$emit("input",!this.value)},keyupListener:function(e){e.keyCode===m&&this.shouldCloseOnEsc()},attachKeyupEvent:function(){window.addEventListener("keyup",this.keyupListener)},detachKeyupEvent:function(){window.removeEventListener("keyup",this.keyupListener)}}},void 0,!1,void 0,!1,a,void 0,void 0),v=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"actionList"}},[o("div",{staticClass:"d-flex actionStyle",class:"right"===e.position?"justify-content-end":"justify-content-start"},["left"===e.position?o("div",[!e.itsBeignShown&&e.actions.length>e.numberOfExpandedActions?o("div",{staticClass:"actionRightBorder action p-4",on:{click:e.expandList}},[e._v("\n\t\t\t\t"+e._s(e.collapsedActionName)+"\n\t\t\t")]):e._e(),e._v(" "),e.actions.length>e.numberOfExpandedActions&&e.itsBeignShown?o("div",{staticClass:"actionRightBorder action p-4",on:{click:e.collapseList}},[e._v("\n\t\t\t\t"+e._s(e.expandedActionName)+"\n\t\t\t")]):e._e()]):e._e(),e._v(" "),e._l(e.actions,(function(t,i){return o("div",{key:t.title},[o("transition",{attrs:{name:"slide-fade"}},[i<=e.internalnumberOfExpandedActions-1?o("div",{staticClass:"action p-4",class:{actionLeftBorder:i>0},on:{click:function(o){return e.$emit("actionClicked",t)}}},[e._t("action",null,{list:t})],2):e._e()])],1)})),e._v(" "),"right"===e.position?o("div",[!e.itsBeignShown&&e.actions.length>e.numberOfExpandedActions?o("div",{staticClass:"actionLeftBorder action p-4",on:{click:e.expandList}},[e._v("\n\t\t\t\t"+e._s(e.collapsedActionName)+"\n\t\t\t")]):e._e(),e._v(" "),e.actions.length>e.numberOfExpandedActions&&e.itsBeignShown?o("div",{staticClass:"actionLeftBorder action p-4",on:{click:e.collapseList}},[e._v("\n\t\t\t\t"+e._s(e.expandedActionName)+"\n\t\t\t")]):e._e()]):e._e()],2)])},staticRenderFns:[]},(function(e){e&&e("data-v-c9145470_0",{source:"#actionList .actionLeftBorder{border-left:1px solid #ced4da}#actionList .actionRightBorder{border-right:1px solid #ced4da}#actionList .action{padding:4px;cursor:pointer;border-radius:1px}#actionList .actionStyle{color:#6a7580;font-weight:600}#actionList .action:hover{background-color:#f8fafd}#actionList .slide-fade-enter-active{transition:all .3s ease}#actionList .slide-fade-leave-active{transition:all .1s ease}#actionList .slide-fade-enter,.slide-fade-leave-to{transform:translateX(10px);opacity:0}",map:void 0,media:void 0})}),{props:{actions:{type:Array,default:function(){return[]},description:"The list of the actions to be displayed.",required:!0},numberOfExpandedActions:{type:Number,default:2,description:"The number of items that will be displayed when the component is redered.",required:!1},collapsedActionName:{type:String,default:"More actions",description:"The name that will be displayed in the last item of the actions list when it's collapsed.",required:!1},expandedActionName:{type:String,default:"Less actions",description:"The name that will be displayed in the last item of the actions list when it's expanded.",required:!1},position:{type:String,default:"right",description:"Speficies if the component will be rendered right side or left side.",required:!1}},data:function(){return{action:_.cloneDeep(this.actions),internalnumberOfExpandedActions:this.numberOfExpandedActions,itsBeignShown:!1}},methods:{expandList:function(){this.internalnumberOfExpandedActions=this.action.length,this.itsBeignShown=!this.itsBeignShown},collapseList:function(){this.internalnumberOfExpandedActions=this.numberOfExpandedActions,this.itsBeignShown=!this.itsBeignShown}}},void 0,!1,void 0,!1,a,void 0,void 0),x=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"radioButton"}},[o("div",{class:{"d-flex":e.inline}},e._l(e.options,(function(t,i){return o("div",{key:t.value,class:{"ml-3":e.inline&&i>0}},[o("label",{staticClass:"radio-button-container",attrs:{disabled:t.disabled||e.disabled,for:t.value}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"selected"}],attrs:{type:"radio",id:t.value,disabled:t.disabled||e.disabled},domProps:{value:t.value,checked:e._q(e.selected,t.value)},on:{change:function(o){e.selected=t.value}}}),e._v(" "),o("label",{staticClass:"m-0",attrs:{for:t.value}},[e._v("\n\t\t\t\t\t"+e._s(t.text)+"\n\t\t\t\t")])])])})),0)])},staticRenderFns:[]},(function(e){e&&e("data-v-3ee0a6c0_0",{source:"#radioButton [type=radio]:checked,#radioButton [type=radio]:not(:checked){position:absolute;left:-9999px}#radioButton [type=radio]:checked+label,#radioButton [type=radio]:not(:checked)+label{position:relative;padding-left:28px;cursor:pointer;line-height:20px;display:inline-block;color:#4f6070}#radioButton [type=radio]:checked+label:before,#radioButton [type=radio]:not(:checked)+label:before{content:'';position:absolute;left:0;top:0;width:20px;height:20px;border:1px solid #6a7580;border-radius:100%;background:#fff}#radioButton [type=radio]:checked+label:after,#radioButton [type=radio]:not(:checked)+label:after{content:'';width:12px;height:12px;background:#285ab9;position:absolute;top:4px;left:4px;border-radius:100%;-webkit-transition:all .3s ease;transition:all .3s ease}#radioButton [type=radio]:not(:checked)+label:after{opacity:0;-webkit-transform:scale(0);transform:scale(0)}#radioButton [type=radio]:checked+label:after{opacity:1;-webkit-transform:scale(1);transform:scale(1)}#radioButton .radio-button-container{border:1px solid #ced4da;padding:12px 16px;border-radius:.5rem;cursor:pointer;display:inline-block}#radioButton .radio-button-container:hover{background-color:rgba(235,242,249,.5);-webkit-transition:all .3s ease;transition:all .3s ease}#radioButton .radio-button-container[disabled=disabled]{background-color:#e9ecef;-webkit-transition:all .3s ease;transition:all .3s ease}#radioButton .radio-button-container[disabled=disabled] [type=radio]:checked+label:before,#radioButton .radio-button-container[disabled=disabled] [type=radio]:not(:checked)+label:before{background:0 0}",map:void 0,media:void 0})}),{props:{value:{default:null,description:"The prop used as v-model to track the selection of the RadioButton.",required:!0},options:{type:Array,default:function(){return[]},description:"The prop used as v-model to track the selection of the RadioButton.",required:!0},disabled:{type:Boolean,default:!1,description:"Used to control the availability of the RadioButton.",required:!1},inline:{type:Boolean,default:!1,description:"When true, the radio buttons will be displayed in a row.",required:!1}},data:function(){return{selected:this.value}},watch:{selected:function(e){this.$emit("input",e)},value:{handler:function(e){this.selected=e},immediate:!0}}},void 0,!1,void 0,!1,a,void 0,void 0),y=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"progress-bar"}},[o("div",{staticClass:"progress-bar-container"},[e.showText?o("span",{staticClass:"text-style"},[e._v("\n\t\t\t"+e._s(e.formatedPercentage)+"\n\t\t")]):e._e(),e._v(" "),o("div",{staticClass:"progress-bar-background",style:e.backgroundColorStyle},[o("div",{staticClass:"progress-indicator",style:e.progressIndicatorStyle})])])])},staticRenderFns:[]},(function(e){e&&e("data-v-d22088be_0",{source:"#progress-bar .progress-indicator{border-radius:80px;height:7px;background-color:var(--color);width:var(--width)}#progress-bar .progress-bar-background{background-color:var(--backgroundColor);border-radius:80px;width:100%;height:7px}#progress-bar .progress-bar-container{display:flex;align-items:center;flex-direction:column}#progress-bar .text-style{color:#4f6070;font-weight:600}",map:void 0,media:void 0})}),{props:{color:{type:String,default:"#2EB88D",description:"Defines the color of the progress bar",required:!1},backgroundColor:{type:String,default:"#DDE2E7",description:"Defines the background color of the progress bar",required:!1},percentage:{type:Number,default:0,description:"Defines the width of the progress Bar",required:!0},showText:{type:Boolean,default:!1,description:"Defines if the text will be displayed",required:!1}},computed:{backgroundColorStyle:function(){return{"--backgroundColor":this.backgroundColor}},formatedPercentage:function(){return parseInt(100*this.percentage)+"%"},progressIndicatorStyle:function(){return{"--width":this.formatedPercentage,"--color":this.color}}}},void 0,!1,void 0,!1,a,void 0,void 0),k=Object.freeze({__proto__:null,Badge:l,StepperCounter:d,ActionBar:c,Pagination:p,EmptyState:u,Nav:h,Dropdown:f,SideSheet:b,Popover:g,ActionsList:v,RadioButtonGroup:x,ProgressBar:y});var w={install:function e(t){e.installed||(e.installed=!0,Object.keys(k).forEach((function(e){t.component(e,k[e])})))}},C=null;return"undefined"!=typeof window?C=window.Vue:"undefined"!=typeof global&&(C=global.Vue),C&&C.use(w),e.ActionBar=c,e.ActionsList=v,e.Badge=l,e.Dropdown=f,e.EmptyState=u,e.Nav=h,e.Pagination=p,e.Popover=g,e.ProgressBar=y,e.RadioButtonGroup=x,e.SideSheet=b,e.StepperCounter=d,e.default=w,e}({},vueFeatherIcons); | ||
var ComponentLibrary=function(e,t){"use strict";var o={components:{XIcon:t.XIcon},props:{content:{type:String,default:"Negativo",description:"The text that will be displayed inside the badge.",required:!0},color:{type:String,default:"#28A745",description:"If the color code mode is set,\n\t\t\t\tyou can pass the hex value of the text\n\t\t\t\tcolor of the badge."},bgColor:{type:String,default:"#28a74526",description:"If the color code mode is set,\n\t\t\t\tyou can pass the hex value of the background\n\t\t\t\tcolor of the badge."},colorCodeMode:{type:Boolean,default:!1,description:"The property that specifies \n\t\t\t\tif the badge will work in the color code\n\t\t\t\tmode or not."},variant:{type:String,default:"yellow",description:"Variant mode gives 6 predefined badges \n\t\t\t\tto work with. Seting this property to 'true',\n\t\t\t\tyou can use 'yellow', 'green', ... 'gray'\n\t\t\t\tto use the predefined badge styles."},isDismissible:{type:Boolean,default:!1,description:"Specifies if the badge will display a \n\t\t\t\t'x' icon that emits the 'close' event."}},computed:{predefinedStyle:function(){var e="";switch(this.variant){case"yellow":e="yellow";break;case"green":e="green";break;case"red":e="red";break;case"blue":e="blue";break;case"purple":e="purple";break;case"gray":e="gray";break;default:e="yellow"}return e},styleVariables:function(){return{"--bg-color":this.bgColor,"--color":this.color}}}};function i(e,t,o,i,n,r,a,s,l,d){"boolean"!=typeof a&&(l=s,s=a,a=!1);var c,p="function"==typeof o?o.options:o;if(e&&e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns,p._compiled=!0,n&&(p.functional=!0)),i&&(p._scopeId=i),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},p._ssrRegister=c):t&&(c=a?function(e){t.call(this,d(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),c)if(p.functional){var u=p.render;p.render=function(e,t){return c.call(t),u(e,t)}}else{var h=p.beforeCreate;p.beforeCreate=h?[].concat(h,c):[c]}return o}var n,r="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function a(e){return function(e,t){return function(e,t){var o=r?t.media||"default":e,i=s[o]||(s[o]={ids:new Set,styles:[]});if(!i.ids.has(e)){i.ids.add(e);var a=t.source;if(t.map&&(a+="\n/*# sourceURL="+t.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",t.media&&i.element.setAttribute("media",t.media),void 0===n&&(n=document.head||document.getElementsByTagName("head")[0]),n.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(a),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{var l=i.ids.size-1,d=document.createTextNode(a),c=i.element.childNodes;c[l]&&i.element.removeChild(c[l]),c.length?i.element.insertBefore(d,c[l]):i.element.appendChild(d)}}}(e,t)}}var s={};var l=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"badge-container",class:e.colorCodeMode?"":e.predefinedStyle,style:e.colorCodeMode?e.styleVariables:""},[o("div",{staticClass:"d-flex justify-space-between align-items-center padding-left-12"},[o("small",{staticClass:"regular"},[e._v("\n\t\t\t"+e._s(e.content)+"\n\t\t")]),e._v(" "),o("div",{staticClass:"dismissible-icon-container ml-1 d-flex",class:e.isDismissible?"":"padding-right-12",on:{click:function(t){return e.$emit("close",!0)}}},[e.isDismissible?o("x-icon",{staticClass:"m-1",attrs:{size:"0.9x"}}):e._e()],1)])])},staticRenderFns:[]},(function(e){e&&e("data-v-9e53a8de_0",{source:".badge-container{border-radius:8px!important;width:fit-content;background-color:var(--bg-color);color:var(--color);padding:2px 4px}.yellow{color:#5a4300;background-color:#ffbf004d}.green{color:#005a15;background-color:#28a74526}.red{color:#8c1520;background-color:#e2757f40}.blue{color:#00469c;background-color:#60c4ff40}.purple{color:#621e83;background-color:#e47aff40}.gray{color:#2f2f2f;background-color:#acacac40}.padding-right-12{padding-right:12px}.padding-left-12{padding-left:12px}.dismissible-icon-container{cursor:pointer;border-radius:100%}.dismissible-icon-container:hover{background-color:hsla(0,0%,10%,.1);transition:.5s ease}",map:void 0,media:void 0})}),o,void 0,!1,void 0,!1,a,void 0,void 0),d=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"d-flex justify-content-between"},e._l(e.steps,(function(t,i){return o("div",{key:i,class:i!==e.steps.length-1?"w-100":""},[o("div",{staticClass:"d-flex align-items-center",attrs:{id:"step-"+(i+1)},on:{click:function(t){return e.changeStep(i)}}},[o("div",{staticClass:"d-flex justify-content-center align-items-center cursor-pointer",class:e.circleStyle(t)},[t.concluded?o("check-icon",{staticClass:"concluded-step",attrs:{size:"1x"}}):o("span",{staticClass:"not-concluded-step-text-color fs-14"},[e._v("\n "+e._s(i+1)+"\n ")])],1),e._v(" "),i!==e.steps.length-1&&e.steps[i].concluded&&e.steps[i+1].concluded?o("div",{staticClass:"concluded-stepper-divider"}):i!==e.steps.length-1&&i>0&&e.steps[i].concluded&&e.steps[i-1].concluded||i!==e.steps.length-1&&0===i&&e.steps[i].concluded?o("div",{staticClass:"in-progress-stepper-divider"}):i!==e.steps.length-1?o("div",{staticClass:"common-stepper-divider"}):e._e()]),e._v(" "),o("div",{staticClass:"label-container mt-2",class:t.active?"":"not-active-step-label"},[o("small",[e._v(e._s(t.label))])])])})),0)},staticRenderFns:[]},(function(e){e&&e("data-v-9e2f1672_0",{source:".active-step,.concluded-step,.not-active-step{border-radius:50px;min-width:30px;min-height:30px;border:1.5px;border-style:solid}.active-step{border-color:#00cbad}.concluded-step{background-color:#00cbad;border-color:#00cbad;width:30px;height:30px}.not-active-step{color:#bfc2c5;border-color:#bfc2c5}.not-concluded-step-text-color{color:#00cbad}.common-stepper-divider,.concluded-stepper-divider,.in-progress-stepper-divider{height:3px;width:100%}.common-stepper-divider{background-color:#bfc2c5}.in-progress-stepper-divider{background:linear-gradient(90deg,#43e4cc 0,#bfc2c5 67.57%)}.concluded-stepper-divider{background:#00cbad}.concluded-step{color:#fff}.label-container{max-width:70px;margin-left:-10px;line-height:1;display:block}.fs-14{font-size:14px}.cursor-pointer{cursor:pointer}.not-active-step-label{color:#5d6369}",map:void 0,media:void 0})}),{props:{steps:{type:Array,default:function(){return[]},required:!0,description:"A object with the properties 'label', and 'concluded'.\n The 'label' property is the text that will be displayed under\n the counter, and 'concluded' is the status (boolean) of the step."}},components:{CheckIcon:t.CheckIcon},methods:{circleStyle:function(e){var t="";return e.concluded&&(t+="concluded-step"),e.active&&(t+="active-step"),e.active||e.concluded||(t+=" not-active-step"),t},changeStep:function(e){this.steps[e].active=!0,this.steps.forEach((function(t,o){t.active=o===e})),this.$emit("step_changed",e,this.steps[e])}}},void 0,!1,void 0,!1,a,void 0,void 0),c=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"toolbar-container ser"},[o("div",{staticClass:"toolbar",class:e.floatingMode?"fixed":"",style:""!==e.bgColor?"background-color: "+e.bgColor:""},[e._t("description"),e._v(" "),e._t("buttons"),e._v(" "),e.isDismissible?o("div",{staticClass:"icon-container ml-2 ser",on:{click:function(t){return e.$emit("close",!0)}}},[o("x-icon",{staticClass:"m-1 ser",attrs:{size:"0.8x"}})],1):e._e()],2)])},staticRenderFns:[]},(function(e){e&&e("data-v-b112dd66_0",{source:".toolbar-container{width:100%;display:flex;justify-content:center}.toolbar{border-radius:8px!important;background-color:#30353f;bottom:72px;padding:.8rem 1rem;color:#fff;display:flex;z-index:2;align-items:center}.fixed{position:fixed}.icon-container{padding:2px 4px;background-color:#0000002d;border-radius:50%;cursor:pointer}.icon-container:hover{background-color:#00000041}",map:void 0,media:void 0})}),{components:{XIcon:t.XIcon},props:{floatingMode:{type:Boolean,default:!1,description:"When setted to true this prop makes\n\t\t\t\tthe ActionBar to work floating above the content\n\t\t\t\tof the view, being placed in the bottom of the page."},isDismissible:{type:Boolean,default:!1,description:"When setted to true this prop displays\n\t\t\t\tan 'x' icon that emits a event that can be handled\n\t\t\t\tto close the ActionBar."},bgColor:{type:String,default:"",description:"You can send colors in any format applicable\n\t\t\t\tto the 'background-color' property in order to overwrite\n\t\t\t\tthe default ActionBar color."}}},void 0,!1,void 0,!1,a,void 0,void 0),p=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"pagination-container"},[o("b-button-group",e._l(e.pages,(function(t){return o("b-button",{key:t.index,staticClass:"pagination-button",style:e.cssVars,attrs:{id:"tab"+t.index,pressed:e.selectedIndex===t.index},on:{click:function(o){return e.handleClick(t)}}},[e._v("\n\t\t\t"+e._s(t.value)+"\n\t\t")])})),1)],1)},staticRenderFns:[]},(function(e){e&&e("data-v-d6072b8e_0",{source:".pagination-container{display:flex;justify-content:center;align-items:center}.pagination-button{background:0 0;font-weight:300;min-width:42px;color:#707070;border-color:#b8b8b8;box-shadow:none!important;border-radius:var(--border-radius)}.pagination-button:hover{background-color:var(--hover-bg-color)!important;border-color:var(--hover-bg-color)!important;color:var(--hover-text-color)!important}.pagination-button:focus{background:0 0;color:#707070;border-color:#b8b8b8}.btn.active{background-color:var(--active-bg-color)!important;border-color:var(--active-bg-color)!important;color:var(--active-text-color)!important}",map:void 0,media:void 0})}),{props:{perPage:{type:Number,default:5,description:"The maximum number of elements\n\t\t\t\tfor each page of the element being paged."},totalRows:{type:Number,default:1,description:"The total amount of rows in the element\n\t\t\t\tbeing paged."},activeBgColor:{type:String,default:"#545b62",description:"The Hex color code for the background\n\t\t\t\tof the active selection of the component."},activeTextColor:{type:String,default:"#fff",description:"The Hex color code for the text\n\t\t\t\tof the active selection of the component."},hoverBgColor:{type:String,default:"#545b62",description:"The Hex color code for the background\n\t\t\t\tof the hovered selection of the component."},hoverTextColor:{type:String,default:"#fff",description:"The Hex color code for the text\n\t\t\t\tof the hovered selection of the component."},borderRadius:{type:Number,default:5,description:"The value, in pixels, of the border\n\t\t\t\tradius of the whole element."}},data:function(){return{pressed:!1,selectedIndex:0,selectedValue:1,pages:[],defaultIndex:0,defaultValue:1}},computed:{pageCount:function(){var e=this.perPage>0?this.perPage:1;return Math.ceil(this.totalRows/e)},cssVars:function(){return{"--active-bg-color":this.activeBgColor,"--active-text-color":this.activeTextColor,"--hover-bg-color":this.hoverBgColor,"--hover-text-color":this.hoverTextColor,"--border-radius":this.borderRadius+"px"}}},watch:{totalRows:function(){this.pages=this.handlePages()},perPage:function(){this.pages=this.handlePages()}},beforeMount:function(){this.pages=this.handlePages(),this.selectedIndex=this.defaultIndex,this.selectedValue=this.defaultValue},methods:{handleClick:function(e){"..."!==e.value&&(this.selectedValue=e.value,this.selectedIndex=e.index,this.pages=this.handlePages(),this.pressed=!0,this.$emit("input",e.index+1))},handlePages:function(){for(var e=[],t=this.pageCount<15?this.pageCount:15,o=0;o<t;o+=1)e[o]={index:o,value:o+1},e[o].value===this.selectedValue&&(this.selectedIndex=e[o].index);if(this.pageCount>15){if(this.selectedValue>this.pageCount-8){for(var i=0;i<15;i+=1)e[i]={index:i,value:this.pageCount-14+i},e[i].value===this.selectedValue&&(this.selectedIndex=e[i].index);e[1]={index:1,value:"..."}}else if(this.selectedValue<=8)e[13]={index:13,value:"..."};else{for(var n=2;n<7;n+=1)e[n]={index:n,value:this.selectedValue-7+n};for(var r=8;r<14;r+=1)e[r]={index:r,value:this.selectedValue+r-7};this.selectedIndex=7,e[7]={index:7,value:this.selectedValue},e[1]={index:1,value:"..."},e[13]={index:13,value:"..."}}e[0]={index:0,value:1},e[14]={index:14,value:this.pageCount}}return e}}},void 0,!1,void 0,!1,a,void 0,void 0),u=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"no-items"},[o("img",{staticClass:"image-container",attrs:{src:e.emptyStateImage,alt:e.imgDescription}}),e._v(" "),o("div",{staticClass:"no-items-text",style:e.headlineStyle},[e._v("\n\t\t"+e._s(e.headlineText)+"\n\t")]),e._v(" "),o("div",{staticClass:"no-items-bodytext mt-2",style:e.bodyTextStyle},[e._v("\n\t\t"+e._s(e.bodyText)+"\n\t")]),e._v(" "),e.showActionButton?o("div",{staticClass:"action-button-container"},[o("b-button",{staticClass:"primary-button",style:e.buttonStyle,on:{click:function(t){return e.$emit("actionButtonClick",!0)}}},[e._v("\n\t\t\t"+e._s(e.buttonText)+"\n\t\t")])],1):e._e()])},staticRenderFns:[]},(function(e){e&&e("data-v-48e194a4_0",{source:".no-items{display:flex;flex-direction:column;align-items:center;position:relative;margin:60px}.image-container{max-width:500px;max-height:500px;width:auto;height:auto}.no-items-text{margin-top:20px;color:var(--headline-color);font-size:var(--headline-font-size)}.no-items-bodytext{color:var(--body-text-color);font-size:var(--body-text-size);max-width:50%;text-align:center}.action-button-container{margin-top:20px}.primary-button{background-color:var(--button-color)!important;border-color:var(--button-color)!important;color:var(--button-text-color);font-size:var(--button-font-size);border-radius:var(--border-radius);box-shadow:none!important}.primary-button:hover{filter:brightness(80%)}.primary-button:active{filter:brightness(90%)}.primary-button.disabled{opacity:.5;cursor:default}.primary-button.disabled:hover{filter:brightness(100%)}",map:void 0,media:void 0})}),{props:{emptyStateImage:{type:String,default:"",description:"The image that will be displayed in the component."},imgDescription:{type:String,default:"",description:"The images description that will be displayed in the component."},headlineText:{type:String,default:"No results found",description:"The headline of the component."},bodyText:{type:String,default:"Start adding some content!",description:"The body text of the component."},showActionButton:{type:Boolean,default:!0,description:"When setted to true, this prop displays an Action Button."},buttonText:{type:String,default:"Add new content",description:"The text that will be displayed inside the button."},headlineColor:{type:String,default:"#563d7c",description:"The Hex color code for the headline."},bodyTextColor:{type:String,default:"#707070",description:"The Hex color code for the body text."},buttonColor:{type:String,default:"#1C72CE",description:"The Hex color code for the button."},buttonTextColor:{type:String,default:"#FFFFFF",description:"The Hex color code for the button text."},headlineFontSize:{type:Number,default:32,description:"The value, in pixels, of the font size of the headline. The maximum value accepted is 60px.",validator:function(e){return e<=60}},bodyFontSize:{type:Number,default:16,description:"The value, in pixels, of the font size of the body text. The maximum value accepted is 30px.",validator:function(e){return e<=30}},buttonFontSize:{type:Number,default:16,description:"The value, in pixels, of the font size of the button. The maximum value accepted is 30px.",validator:function(e){return e<=30}},borderRadius:{type:Number,default:5,description:"The value, in pixels, button border radius. The maximum value accepted is 30px.",validator:function(e){return e<=30}}},updated:function(){this.headlineFontSize>60&&(this.headlineFontSize=60),this.bodyFontSize>30&&(this.bodyFontSize=30),this.buttonFontSize>30&&(this.buttonFontSize=30),this.borderRadius>30&&(this.borderRadius=30)},computed:{headlineStyle:function(){return{"--headline-color":this.headlineColor,"--headline-font-size":this.headlineFontSize+"px"}},bodyTextStyle:function(){return{"--body-text-color":this.bodyTextColor,"--body-text-size":this.bodyFontSize+"px"}},buttonStyle:function(){return{"--button-color":this.buttonColor,"--button-text-color":this.buttonTextColor,"--button-font-size":this.buttonFontSize+"px","--border-radius":this.borderRadius+"px"}}}},void 0,!1,void 0,!1,a,void 0,void 0),h=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("b-nav",{staticClass:"px-2",class:e.oldSchool?"bg-cs":"bg-liga"},e._l(e.computedItems,(function(t,i){return o(e.dropdownOrSingleItem(t),{key:e.getElementKey(t,i),tag:"component",staticClass:"mr-4 mt-2",class:e.getClass(t),attrs:{id:e.getElementKey(t,i),text:t.label,active:e.isActive(t),to:{name:t.path},"menu-class":"py-1"},on:{click:function(o){return e.handleClick(t)}}},[e.isDropdown(t)?e._l(t.items,(function(i,n){return o("b-dropdown-item",{key:e.getElementKey(i,n,!0),staticClass:"py-1",attrs:{id:e.getElementKey(i,n,!0),active:e.isActive(i),to:{name:t.path},"link-class":"py-2"},on:{click:function(o){return o.stopPropagation(),e.handleClick(i,t)}}},[e._v("\n\t\t\t\t"+e._s(i.label)+"\n\t\t\t")])})):[e._v("\n\t\t\t"+e._s(t.label)+"\n\t\t")]],2)})),1)},staticRenderFns:[]},(function(e){e&&e("data-v-4b12b989_0",{source:"a{outline:0}.cs-mode .dropdown-item:hover,.cs-mode .nav-link:hover{color:#fff}.cs-mode .dropdown-item:hover{background:0 0}.cs-mode .active,.cs-mode.active-parent{border-bottom:4px solid #3adf7c;background:#5a5a5a;border-radius:4px 4px 0 0}.cs-mode.active-parent.show{border-bottom:4px solid transparent}.cs-mode .dropdown-item.active{border-left:4px solid #3adf7c;border-bottom:0;background:#5a5a5a;border-radius:0}.bg-liga{background:linear-gradient(.93deg,#fff 16.45%,#f1f5fb 105.67%)}.bg-liga .dropdown-menu{background:#fff}.bg-cs,.bg-cs .dropdown-menu{background:#444}.cs-mode .dropdown-item.active,.cs-mode .nav-link.active,.cs-mode.active-parent .dropdown-toggle{color:#fff}.cs-mode .dropdown-item,.cs-mode .nav-link{color:#d0d2d5}.liga-mode .active,.liga-mode.active-parent{border-bottom:4px solid #285ab9;background:rgba(40,90,185,.05);border-radius:4px 4px 0 0}.liga-mode.active-parent.show{border-bottom:4px solid transparent}.liga-mode .dropdown-item.active,.liga-mode .nav-link.active,.liga-mode.active-parent .dropdown-toggle{color:#142032}.liga-mode .dropdown-item,.liga-mode .nav-link{color:#6a7580}.liga-mode .dropdown-item:hover,.liga-mode .nav-link:hover{color:#142032;background:0 0}.bg-liga .dropdown-menu{background:#fff;box-shadow:2px 2px 4px rgba(58,67,81,.16);border-radius:2px}.liga-mode .dropdown-item.active{border-left:4px solid #285ab9;border-bottom:0;background:rgba(40,90,185,.05);border-radius:0}.dropdown-item:active{background:inherit}.dropdown-menu{margin-top:4px;border:0;border-radius:0}.dropdown-toggle[aria-expanded=true]:after{transform:rotate(180deg)}.dropdown-toggle:after{transition:all .4s ease}",map:void 0,media:void 0})}),{props:{items:{type:Array,default:function(){return[]},description:"A list of the menu itens to be displayed",required:!0},oldSchool:{type:Boolean,default:!0,description:'Defines the style of the menu. The new one is light themed and the old one follows the style used by the "Cidade Saudável"'},activeItem:{type:Object,default:function(){},description:"The currently active menu item",required:!0}},data:function(){return{internalActiveItem:this.activeItem,internalActiveParent:this.activeItem}},computed:{computedItems:function(){var e=this;return this.items.map((function(t){var o=t;return e.isDropdown(t)&&(o.items=t.items.map((function(e){return Object.assign({},{parent:_.clone(t)},e)}))),o}))}},watch:{computedItems:{handler:function(e){var t,o,i=this,n=e.filter((function(e){return e===i.activeItem}));if(n.length)t=n,this.internalActiveItem=t[0],this.internalActiveParent=this.internalActiveItem;else{var r=_.flatten(e.filter((function(e){return!!e.items})).map((function(e){return e.items})));r.length&&(o=r.filter((function(e){return e.path===i.activeItem.path})),this.internalActiveItem=o[0],this.internalActiveParent=this.internalActiveItem.parent)}},immediate:!0}},methods:{handleClick:function(e,t){this.internalActiveItem=e,this.internalActiveParent=t,this.$emit("click",this.internalActiveItem)},isActive:function(e){return Object.keys(this.internalActiveItem).length>0&&this.internalActiveItem.path===e.path},getElementKey:function(e,t,o){return void 0===o&&(o=!1),""+e.label.replace(/\s/g,"")+t+(o?"-subitem":"")},isSubitem:function(e){return!!e.parent},isDropdown:function(e){return!!e.items},dropdownOrSingleItem:function(e){return this.isDropdown(e)?"b-nav-item-dropdown":"b-nav-item"},getClass:function(e){var t=this.oldSchool?"cs-mode":"liga-mode";return this.isDropdown(e)&&this.internalActiveParent&&this.internalActiveParent.path===e.path&&(t+=" active-parent"),t}}},void 0,!1,void 0,!1,a,void 0,void 0),f=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"dropdown"}},[o("multiselect",e._b({attrs:{"select-label":"","deselect-label":"","selected-label":"",options:e.internalOptions,"close-on-select":!1,multiple:!0,taggable:!0,"clear-on-select":!1,searchable:!1},on:{select:e.selectItem,remove:e.selectItem},scopedSlots:e._u([{key:"option",fn:function(t){return[o("div",{staticClass:"option__desc"},[o("span",{staticClass:"option__title"},[o("span",{staticClass:"d-flex align-items-center"},[o("span",{staticClass:"checkbox-container"},[o("div",{staticClass:"customCheckbox mr-4"},[o("input",{directives:[{name:"model",rawName:"v-model",value:t.option.is_selected,expression:"internalOptions.option.is_selected"}],attrs:{type:"checkbox",id:"input-"+t.option.title,name:"input-"+t.option.title},domProps:{value:!0,checked:Array.isArray(t.option.is_selected)?e._i(t.option.is_selected,!0)>-1:t.option.is_selected},on:{change:function(o){var i=t.option.is_selected,n=o.target,r=!!n.checked;if(Array.isArray(i)){var a=e._i(i,!0);n.checked?a<0&&e.$set(t.option,"is_selected",i.concat([!0])):a>-1&&e.$set(t.option,"is_selected",i.slice(0,a).concat(i.slice(a+1)))}else e.$set(t.option,"is_selected",r)}}}),e._v(" "),o("label",{class:{checkedCheckboxColor:t.option.is_selected},attrs:{id:"checkbox-"+t.option.title,for:"input-"+t.option.title},on:{click:function(o){return e.addItemViaCustomCheckbox(t.option)}}})])]),e._v("\n\n\t\t\t\t\t\t"+e._s(t.option.title)+"\n\n\t\t\t\t\t")])])])]}}]),model:{value:e.selectedValue,callback:function(t){e.selectedValue=t},expression:"selectedValue"}},"multiselect",e.$attrs,!1))],1)},staticRenderFns:[]},(function(e){e&&(e("data-v-b49a662e_0",{source:'fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{position:absolute;right:1px;top:1px;width:48px;height:35px;background:#fff;display:block}.multiselect__spinner:after,.multiselect__spinner:before{position:absolute;content:"";top:50%;left:50%;margin:-8px 0 0 -8px;width:16px;height:16px;border-radius:100%;border:2px solid transparent;border-top-color:#41b883;box-shadow:0 0 0 1px transparent}.multiselect__spinner:before{animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation-iteration-count:infinite}.multiselect__spinner:after{animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{transition:opacity .4s ease-in-out;opacity:1}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:16px;-ms-touch-action:manipulation;touch-action:manipulation}.multiselect{box-sizing:content-box;display:block;position:relative;width:100%;min-height:40px;text-align:left;color:#35495e}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:0}.multiselect--disabled{background:#ededed;pointer-events:none;opacity:.6}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input,.multiselect__single{position:relative;display:inline-block;min-height:20px;line-height:20px;border:none;border-radius:5px;background:#fff;padding:0 0 0 5px;width:100%;transition:border .1s ease;box-sizing:border-box;margin-bottom:8px;vertical-align:top}.multiselect__input:-ms-input-placeholder{color:#35495e}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:0}.multiselect__single{padding-left:5px;margin-bottom:8px}.multiselect__tags-wrap{display:inline}.multiselect__tags{min-height:40px;display:block;padding:8px 40px 0 8px;border-radius:5px;border:1px solid #e8e8e8;background:#fff;font-size:14px}.multiselect__tag{position:relative;display:inline-block;padding:4px 26px 4px 10px;border-radius:5px;margin-right:10px;color:#fff;line-height:1;background:#41b883;margin-bottom:5px;white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis}.multiselect__tag-icon{cursor:pointer;margin-left:7px;position:absolute;right:0;top:0;bottom:0;font-weight:700;font-style:normal;width:22px;text-align:center;line-height:22px;transition:all .2s ease;border-radius:5px}.multiselect__tag-icon:after{content:"\\D7";color:#266d4d;font-size:14px}.multiselect__tag-icon:focus,.multiselect__tag-icon:hover{background:#369a6e}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{min-height:40px;overflow:hidden;padding:8px 30px 0 12px;white-space:nowrap;border-radius:5px;border:1px solid #e8e8e8}.multiselect__current,.multiselect__select{line-height:16px;box-sizing:border-box;display:block;margin:0;text-decoration:none;cursor:pointer}.multiselect__select{position:absolute;width:40px;height:38px;right:1px;top:1px;padding:4px 8px;text-align:center;transition:transform .2s ease}.multiselect__select:before{position:relative;right:0;top:65%;color:#999;margin-top:4px;border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 0;content:""}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{position:absolute;display:block;background:#fff;width:100%;max-height:240px;overflow:auto;border:1px solid #e8e8e8;border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;z-index:50;-webkit-overflow-scrolling:touch}.multiselect__content{list-style:none;display:inline-block;padding:0;margin:0;min-width:100%;vertical-align:top}.multiselect--above .multiselect__content-wrapper{bottom:100%;border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom:none;border-top:1px solid #e8e8e8}.multiselect__content::webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{display:block;padding:12px;min-height:40px;line-height:16px;text-decoration:none;text-transform:none;vertical-align:middle;position:relative;cursor:pointer;white-space:nowrap}.multiselect__option:after{top:0;right:0;position:absolute;line-height:40px;padding-right:12px;padding-left:20px;font-size:13px}.multiselect__option--highlight{background:#41b883;outline:0;color:#fff}.multiselect__option--highlight:after{content:attr(data-select);background:#41b883;color:#fff}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{content:attr(data-selected);color:silver}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{background:#ededed!important;color:#a6a6a6!important;cursor:text;pointer-events:none}.multiselect__option--group{background:#ededed;color:#35495e}.multiselect__option--group.multiselect__option--highlight{background:#35495e;color:#fff}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--group-selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s ease}.multiselect-enter,.multiselect-leave-active{opacity:0}.multiselect__strong{margin-bottom:8px;line-height:20px;display:inline-block;vertical-align:top}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{right:auto;left:1px}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{right:auto;left:0}[dir=rtl] .multiselect__clear{right:auto;left:12px}[dir=rtl] .multiselect__spinner{right:auto;left:1px}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}',map:void 0,media:void 0}),e("data-v-b49a662e_1",{source:'#dropdown .multiselect__option--highlight{background:#f5f6f8;outline:0;color:#142032}input[type=checkbox]{visibility:hidden}.customCheckbox{width:15px;position:relative;margin-left:-12px}.checkedCheckboxColor{background-color:#2959b8!important;border:none!important}.customCheckbox label{cursor:pointer;position:absolute;width:15px;height:15px;top:0;border-radius:4px;border:.5px solid #ced4da}.customCheckbox label:after{border:1.5px solid #fff;border-top:none;border-right:none;content:"";height:5px;left:3.1px;opacity:0;position:absolute;top:4.4px;transform:rotate(-45deg);width:8px;border-radius:.4px}.customCheckbox input[type=checkbox]:checked+label:after{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:alpha(opacity=100);opacity:1}#dropdown .multiselect__tag{background:#e9eef1;color:#142032;border:1px solid #ced4da}#dropdown .multiselect__tag-icon:after{color:#4f606f}#dropdown .multiselect__tag-icon:focus,#dropdown .multiselect__tag-icon:hover{background:#d1d9e9;color:#4f606f}#dropdown .multiselect__tag-icon:focus:after,#dropdown .multiselect__tag-icon:hover:after{color:#4f606f}#dropdown .multiselect__option--selected.multiselect__option--highlight{background:#fff;color:#142032}#dropdown .multiselect__option--selected.multiselect__option--highlight:after{background:#fff;color:#142032}#dropdown .multiselect__option--selected{background:#fff;color:#142032;font-weight:600}#dropdown .multiselect--disabled{background:0 0}#dropdown .multiselect--disabled .multiselect__tags{background:#e9eef1!important}#dropdown .multiselect__placeholder{color:#6a7580}',map:void 0,media:void 0}))}),{data:function(){return{selectedValue:this.$attrs.value,internalOptions:_.cloneDeep(this.$attrs.options)}},mounted:function(){var e=this;this.selectedValue.forEach((function(e){e.is_selected=!0})),this.internalOptions.forEach((function(t){var o=e.selectedValue.some((function(o){return o[e.$attrs.label]===t[e.$attrs.label]}));t.is_selected=!!o}))},watch:{selectedValue:function(e){var t=_.cloneDeep(e);t.forEach((function(e){return delete e.is_selected})),this.$emit("input",t)}},methods:{selectItem:function(e){this.internalOptions.forEach((function(t){t.title===e.title&&(t.is_selected=!t.is_selected)}))},addItemViaCustomCheckbox:function(e){e.is_selected=!e.is_selected,this.selectedValue.push(e)}}},void 0,!1,void 0,!1,a,void 0,void 0),m=27,b=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"side-sheet"}},[o("transition",{attrs:{name:e.floatTransition}},[e.value?o("div",{staticClass:"overlay",attrs:{tabindex:"0"},on:{click:e.shouldCloseOnBackdrop}},[o("div",{staticClass:"container px-0",class:e.floatClass,on:{click:function(e){e.stopPropagation()}}},[e._t("close-icon",[o("div",{staticClass:"text-right p-3"},[o("x-icon",{attrs:{id:"close-icon"},on:{click:function(t){return t.stopPropagation(),e.$emit("input",!e.value)}}})],1)]),e._v(" "),e._t("default")],2)]):e._e()])],1)},staticRenderFns:[]},(function(e){e&&e("data-v-73c72453_0",{source:"#side-sheet .overlay{position:fixed;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.4);z-index:999;cursor:pointer}#side-sheet .container{background:#fff;width:328px;height:100%;border-radius:0}#close-icon{color:rgb(106,117,128,.75)}#close-icon:hover{color:#6a7580}.right{float:right}.left{float:left}.slide-fade-right-enter-active{transition:all .4s ease}.slide-fade-right-leave-active{transition:all .4s ease}.slide-fade-right-enter,.slide-fade-right-leave-to{transform:translateX(8px);opacity:0}.slide-fade-left-enter-active{transition:all .4s ease}.slide-fade-left-leave-active{transition:all .4s ease}.slide-fade-left-enter,.slide-fade-left-leave-to{transform:translateX(-8px);opacity:0}",map:void 0,media:void 0})}),{components:{XIcon:t.XIcon},props:{value:{type:Boolean,default:!1,description:"\n\t\t\t\tProp to control if the SideSheet should be shown or not (usually by v-model)\n\t\t\t",required:!0},right:{type:Boolean,default:!1,description:"\n\t\t\t\tProp to define that the element will be shown at right screen side.\n\t\t\t"},left:{type:Boolean,default:!1,description:"\n\t\t\t\tProp to define that the element will be shown at left screen side (right is the default).\n\t\t\t"},noCloseOnBackdrop:{type:Boolean,default:!1,description:"\n\t\t\t\tProp to define if the element won't be dismissed when backdrop is click.\n\t\t\t"},noCloseOnEsc:{type:Boolean,default:!1,description:"\n\t\t\t\tProp to define if the element won't be dismissed when esc is pressed.\n\t\t\t"}},computed:{floatClass:function(){return this.left?"left":"right"},floatTransition:function(){return this.left?"slide-fade-left":"slide-fade-right"}},watch:{value:function(e){e?this.attachKeyupEvent():this.dettachKeyupEvent()}},created:function(){this.attachKeyupEvent()},beforeDestroy:function(){this.dettachKeyupEvent()},methods:{shouldCloseOnBackdrop:function(){this.noCloseOnBackdrop||this.$emit("input",!this.value)},shouldCloseOnEsc:function(){this.noCloseOnEsc||this.$emit("input",!this.value)},keyupListener:function(e){e.keyCode===m&&this.shouldCloseOnEsc()},attachKeyupEvent:function(){window.addEventListener("keyup",this.keyupListener)},dettachKeyupEvent:function(){window.removeEventListener("keyup",this.keyupListener)}}},void 0,!1,void 0,!1,a,void 0,void 0),g=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"s-popover"}},[e.value?o("div",{staticClass:"overlay",attrs:{tabindex:"0"},on:{click:e.shouldCloseOnBackdrop}},[o("b-popover",{attrs:{show:e.value,"custom-class":e.popoverClasses,target:e.target,placement:e.placement,triggers:"",offset:e.internalOffset},on:{"update:show":function(t){e.value=t}}},[e._t("default")],2)],1):e._e()])},staticRenderFns:[]},(function(e){e&&e("data-v-29ec9a78_0",{source:"#s-popover .overlay{position:fixed;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:transparent;z-index:999;cursor:pointer}#s-popover .b-popover .arrow{display:none}#s-popover .b-popover{max-width:none}.b-popover.s-popover-default{width:276px}.s-popover{border:1px solid #ced4da;box-shadow:0 4px 4px rgba(0,0,0,.25);border-radius:8px}.b-popover.s-popover-sm{width:180px}.b-popover.s-popover-lg{width:360px}.b-popover.s-popover-xl{width:520px}",map:void 0,media:void 0})}),{data:function(){return{internalOffset:"-60%",sizes:{default:276,sm:180,lg:360,xl:520}}},props:{value:{type:Boolean,default:!1,description:"\n\t\t\t\tControls if the popover should be shown or not (usually by v-model)\n\t\t\t",required:!0},alignment:{type:String,default:"left",description:"\n\t\t\t\tDefines if the popover will be right or left aligned\n\t\t\t\trelative to target element.\n\t\t\t"},target:{type:String,default:null,description:"\n\t\t\t\tDefines the element that you want to trigger the popover.\n\t\t\t",required:!0},offset:{type:String,default:null,description:"\n\t\t\t\tChange the horizontal alignment of the popover by a specified number of pixels.\n\t\t\t"},size:{type:String,default:"default",description:"\n\t\t\t\tDefines the width of the popover (Options: 'xl', 'lg', 'sm', 'default').\n\t\t\t"},noCloseOnBackdrop:{type:Boolean,default:!1,description:"\n\t\t\t\tDefines if the element won't be dismissed when backdrop is click.\n\t\t\t"},noCloseOnEsc:{type:Boolean,default:!1,description:"\n\t\t\t\tDefines if the element won't be dismissed when esc is pressed.\n\t\t\t"}},computed:{placement:function(){return"right"===this.alignment?"bottomright":"bottomleft"},popoverClasses:function(){return(this.size?"s-popover-"+this.size:"")+" s-popover"}},watch:{alignment:function(e){this.alignment=e,this.calcOffset()},offset:function(e){this.offset=e,this.calcOffset()},value:function(e){e?this.attachKeyupEvent():this.detachKeyupEvent()}},mounted:function(){this.calcOffset()},created:function(){this.attachKeyupEvent()},beforeDestroy:function(){this.detachKeyupEvent()},methods:{calcOffset:function(){if(this.offset)this.internalOffset=this.offset;else{var e=document.getElementById(this.target);if(e){var t=e.offsetWidth,o=this.sizes[this.size],i="right"===this.alignment?1:-1;this.internalOffset=(o-t)*i/2}}},shouldCloseOnBackdrop:function(){this.noCloseOnBackdrop||this.$emit("input",!this.value)},shouldCloseOnEsc:function(){this.noCloseOnEsc||this.$emit("input",!this.value)},keyupListener:function(e){e.keyCode===m&&this.shouldCloseOnEsc()},attachKeyupEvent:function(){window.addEventListener("keyup",this.keyupListener)},detachKeyupEvent:function(){window.removeEventListener("keyup",this.keyupListener)}}},void 0,!1,void 0,!1,a,void 0,void 0),v=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"actionList"}},[o("div",{staticClass:"d-flex actionStyle",class:"right"===e.position?"justify-content-end":"justify-content-start"},["left"===e.position?o("div",[!e.itsBeignShown&&e.actions.length>e.numberOfExpandedActions?o("div",{staticClass:"actionRightBorder action p-4",on:{click:e.expandList}},[e._v("\n\t\t\t\t"+e._s(e.collapsedActionName)+"\n\t\t\t")]):e._e(),e._v(" "),e.actions.length>e.numberOfExpandedActions&&e.itsBeignShown?o("div",{staticClass:"actionRightBorder action p-4",on:{click:e.collapseList}},[e._v("\n\t\t\t\t"+e._s(e.expandedActionName)+"\n\t\t\t")]):e._e()]):e._e(),e._v(" "),e._l(e.actions,(function(t,i){return o("div",{key:t.title},[o("transition",{attrs:{name:"slide-fade"}},[i<=e.internalnumberOfExpandedActions-1?o("div",{staticClass:"action p-4",class:{actionLeftBorder:i>0},on:{click:function(o){return e.$emit("actionClicked",t)}}},[e._t("action",null,{list:t})],2):e._e()])],1)})),e._v(" "),"right"===e.position?o("div",[!e.itsBeignShown&&e.actions.length>e.numberOfExpandedActions?o("div",{staticClass:"actionLeftBorder action p-4",on:{click:e.expandList}},[e._v("\n\t\t\t\t"+e._s(e.collapsedActionName)+"\n\t\t\t")]):e._e(),e._v(" "),e.actions.length>e.numberOfExpandedActions&&e.itsBeignShown?o("div",{staticClass:"actionLeftBorder action p-4",on:{click:e.collapseList}},[e._v("\n\t\t\t\t"+e._s(e.expandedActionName)+"\n\t\t\t")]):e._e()]):e._e()],2)])},staticRenderFns:[]},(function(e){e&&e("data-v-c9145470_0",{source:"#actionList .actionLeftBorder{border-left:1px solid #ced4da}#actionList .actionRightBorder{border-right:1px solid #ced4da}#actionList .action{padding:4px;cursor:pointer;border-radius:1px}#actionList .actionStyle{color:#6a7580;font-weight:600}#actionList .action:hover{background-color:#f8fafd}#actionList .slide-fade-enter-active{transition:all .3s ease}#actionList .slide-fade-leave-active{transition:all .1s ease}#actionList .slide-fade-enter,.slide-fade-leave-to{transform:translateX(10px);opacity:0}",map:void 0,media:void 0})}),{props:{actions:{type:Array,default:function(){return[]},description:"The list of the actions to be displayed.",required:!0},numberOfExpandedActions:{type:Number,default:2,description:"The number of items that will be displayed when the component is redered.",required:!1},collapsedActionName:{type:String,default:"More actions",description:"The name that will be displayed in the last item of the actions list when it's collapsed.",required:!1},expandedActionName:{type:String,default:"Less actions",description:"The name that will be displayed in the last item of the actions list when it's expanded.",required:!1},position:{type:String,default:"right",description:"Speficies if the component will be rendered right side or left side.",required:!1}},data:function(){return{action:_.cloneDeep(this.actions),internalnumberOfExpandedActions:this.numberOfExpandedActions,itsBeignShown:!1}},methods:{expandList:function(){this.internalnumberOfExpandedActions=this.action.length,this.itsBeignShown=!this.itsBeignShown},collapseList:function(){this.internalnumberOfExpandedActions=this.numberOfExpandedActions,this.itsBeignShown=!this.itsBeignShown}}},void 0,!1,void 0,!1,a,void 0,void 0),x=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"radioButton"}},[o("div",{class:{"d-flex":e.inline}},e._l(e.options,(function(t,i){return o("div",{key:t.value,class:{"ml-3":e.inline&&i>0}},[o("label",{staticClass:"radio-button-container",attrs:{disabled:t.disabled||e.disabled,for:t.value}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"selected"}],attrs:{type:"radio",id:t.value,disabled:t.disabled||e.disabled},domProps:{value:t.value,checked:e._q(e.selected,t.value)},on:{change:function(o){e.selected=t.value}}}),e._v(" "),o("label",{staticClass:"m-0",attrs:{for:t.value}},[e._v("\n\t\t\t\t\t"+e._s(t.text)+"\n\t\t\t\t")])])])})),0)])},staticRenderFns:[]},(function(e){e&&e("data-v-3ee0a6c0_0",{source:"#radioButton [type=radio]:checked,#radioButton [type=radio]:not(:checked){position:absolute;left:-9999px}#radioButton [type=radio]:checked+label,#radioButton [type=radio]:not(:checked)+label{position:relative;padding-left:28px;cursor:pointer;line-height:20px;display:inline-block;color:#4f6070}#radioButton [type=radio]:checked+label:before,#radioButton [type=radio]:not(:checked)+label:before{content:'';position:absolute;left:0;top:0;width:20px;height:20px;border:1px solid #6a7580;border-radius:100%;background:#fff}#radioButton [type=radio]:checked+label:after,#radioButton [type=radio]:not(:checked)+label:after{content:'';width:12px;height:12px;background:#285ab9;position:absolute;top:4px;left:4px;border-radius:100%;-webkit-transition:all .3s ease;transition:all .3s ease}#radioButton [type=radio]:not(:checked)+label:after{opacity:0;-webkit-transform:scale(0);transform:scale(0)}#radioButton [type=radio]:checked+label:after{opacity:1;-webkit-transform:scale(1);transform:scale(1)}#radioButton .radio-button-container{border:1px solid #ced4da;padding:12px 16px;border-radius:.5rem;cursor:pointer;display:inline-block}#radioButton .radio-button-container:hover{background-color:rgba(235,242,249,.5);-webkit-transition:all .3s ease;transition:all .3s ease}#radioButton .radio-button-container[disabled=disabled]{background-color:#e9ecef;-webkit-transition:all .3s ease;transition:all .3s ease}#radioButton .radio-button-container[disabled=disabled] [type=radio]:checked+label:before,#radioButton .radio-button-container[disabled=disabled] [type=radio]:not(:checked)+label:before{background:0 0}",map:void 0,media:void 0})}),{props:{value:{default:null,description:"The prop used as v-model to track the selection of the RadioButton.",required:!0},options:{type:Array,default:function(){return[]},description:"The prop used as v-model to track the selection of the RadioButton.",required:!0},disabled:{type:Boolean,default:!1,description:"Used to control the availability of the RadioButton.",required:!1},inline:{type:Boolean,default:!1,description:"When true, the radio buttons will be displayed in a row.",required:!1}},data:function(){return{selected:this.value}},watch:{selected:function(e){this.$emit("input",e)},value:{handler:function(e){this.selected=e},immediate:!0}}},void 0,!1,void 0,!1,a,void 0,void 0),y=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",{attrs:{id:"progress-bar"}},[o("div",{staticClass:"progress-bar-container"},[e.showText?o("span",{staticClass:"text-style"},[e._v("\n\t\t\t"+e._s(e.formatedPercentage)+"\n\t\t")]):e._e(),e._v(" "),o("div",{staticClass:"progress-bar-background",style:e.backgroundColorStyle},[o("div",{staticClass:"progress-indicator",style:e.progressIndicatorStyle})])])])},staticRenderFns:[]},(function(e){e&&e("data-v-d22088be_0",{source:"#progress-bar .progress-indicator{border-radius:80px;height:7px;background-color:var(--color);width:var(--width)}#progress-bar .progress-bar-background{background-color:var(--backgroundColor);border-radius:80px;width:100%;height:7px}#progress-bar .progress-bar-container{display:flex;align-items:center;flex-direction:column}#progress-bar .text-style{color:#4f6070;font-weight:600}",map:void 0,media:void 0})}),{props:{color:{type:String,default:"#2EB88D",description:"Defines the color of the progress bar",required:!1},backgroundColor:{type:String,default:"#DDE2E7",description:"Defines the background color of the progress bar",required:!1},percentage:{type:Number,default:0,description:"Defines the width of the progress Bar",required:!0},showText:{type:Boolean,default:!1,description:"Defines if the text will be displayed",required:!1}},computed:{backgroundColorStyle:function(){return{"--backgroundColor":this.backgroundColor}},formatedPercentage:function(){return parseInt(100*this.percentage)+"%"},progressIndicatorStyle:function(){return{"--width":this.formatedPercentage,"--color":this.color}}}},void 0,!1,void 0,!1,a,void 0,void 0),w=i({render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"panel-body-content"},e._l(e.history,(function(t,i){return o("div",{key:i},[o("div",{staticClass:"event-row"},[o("div",[o("p",{staticClass:"regular fs-14 text-secondary date-text"},[e._v("\n\t\t\t\t\t"+e._s(t.date)+"\n\t\t\t\t")])]),e._v(" "),o("div",{staticClass:"timeline-container"},[o("span",{staticClass:"event-pin"}),e._v(" "),i+1<e.history.length&&e.history.length>1?o("div",{staticClass:"timeline"}):e._e()]),e._v(" "),o("div",{staticClass:"event-info-container"},[o("div",[o("p",{staticClass:"mb-0 event-title regular"},[e._v("\n\t\t\t\t\t\t"+e._s(t.title)+"\n\t\t\t\t\t")])]),e._v(" "),o("div",{staticClass:"text-muted fs-14 mt-1"},[e._v("\n\t\t\t\t\t"+e._s(t.text)+"\n\t\t\t\t")]),e._v(" "),i+1<e.history.length?o("hr",{staticClass:"event-row-divider"}):e._e()])])])})),0)},staticRenderFns:[]},(function(e){e&&e("data-v-78adf225_0",{source:".panel-body-content{padding:24px;overflow:auto;max-height:350px;width:100%;scrollbar-color:#cdcdcd #fff;scrollbar-width:thin}.event-title{color:#182532;font-weight:600}.event-pin{height:12px;width:11.5px;border-radius:50%;background-color:#2eb88d;border:1px solid #2eb88d}.timeline{height:100%;width:1px;background-color:#cdcdcd}.timeline-container{display:flex;flex-direction:column;align-items:center}.event-row{display:flex;justify-content:space-between}.event-info-container{width:70%;margin-top:-8px}.panel-body-content::-webkit-scrollbar{width:.35rem}.panel-body-content::-webkit-scrollbar-thumb{border-radius:4px;background:#cdcdcd#fffFFF}.date-text{text-transform:Capitalize;align-self:flex-end;margin-top:-4px;margin-bottom:0}.text-muted{color:#697580}",map:void 0,media:void 0})}),{props:{history:{type:Array,default:function(){return[]},description:"The array that specifies the events that willbe displayed in the timeline.",required:!0}}},void 0,!1,void 0,!1,a,void 0,void 0),k=Object.freeze({__proto__:null,Badge:l,StepperCounter:d,ActionBar:c,Pagination:p,EmptyState:u,Nav:h,Dropdown:f,SideSheet:b,Popover:g,ActionsList:v,RadioButtonGroup:x,ProgressBar:y,Timeline:w});var C={install:function e(t){e.installed||(e.installed=!0,Object.keys(k).forEach((function(e){t.component(e,k[e])})))}},S=null;return"undefined"!=typeof window?S=window.Vue:"undefined"!=typeof global&&(S=global.Vue),S&&S.use(C),e.ActionBar=c,e.ActionsList=v,e.Badge=l,e.Dropdown=f,e.EmptyState=u,e.Nav=h,e.Pagination=p,e.Popover=g,e.ProgressBar=y,e.RadioButtonGroup=x,e.SideSheet=b,e.StepperCounter=d,e.Timeline=w,e.default=C,e}({},vueFeatherIcons); |
{ | ||
"name": "@sysvale/component-library", | ||
"version": "1.10.2", | ||
"version": "1.11.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/@sysvale/component-library.ssr.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201578
3645