(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[388],{E4Z9:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tb-w-popover",{ref:"dynamicFieldsFilter",staticClass:"mr-4",class:{"flex-initial flex-shrink-0":t.parentEq.small,"mb-4":!(t.parentEq.small||t.filterSectionCount<=2)},attrs:{alignment:t.parentEq.medium||t.filterSectionCount>4?"left":"right","position-relative":!t.parentEq.small},on:{toggle:function(e){return t.$emit("toggle")}},scopedSlots:t._u([{key:"trigger",fn:function(e){var i=e.toggle,r=e.showPopover;return[n("tb-w-button",{staticClass:"flex-shrink-0 tb-w-button__dynamicFields",class:{"bg-gray-100":r},attrs:{variant:"tertiary"},on:{click:function(t){return i()}}},[t._v("\n            "+t._s(t.sectionLabel)+"\n\n            "),n("tb-w-icon",{staticClass:"ml-2",attrs:{icon:r?"chevron-up":"chevron-down",size:".5"}})],1)]}},{key:"default",fn:function(){return[n("tb-w-dynamic-field-filter",{staticClass:"w-64",attrs:{items:t.items,"filled-options":t.filledOptions},on:{input:t.onInput}})]},proxy:!0}])})};i._withStripped=!0;var r={name:"TbWEventFilterDynamicFields",props:{filterSectionCount:{type:Number,required:!0},items:{type:Array,default:null},filledOptions:{type:Object,default:()=>({})},sectionLabel:{type:String,required:!0},parentEq:{type:Object,required:!0}},methods:{onInput(t){this.$emit("input",t),this.$refs.dynamicFieldsFilter.toggle()}}},o=n("KHd+"),s=Object(o.a)(r,i,[],!1,null,null,null);e.default=s.exports},"KHd+":function(t,e,n){"use strict";function i(t,e,n,i,r,o,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}n.d(e,"a",(function(){return i}))}}]);