Fixed deprecation warning in BaseAccordion

This commit is contained in:
RemixDev 2021-05-06 12:07:26 +02:00
parent 6baf7d989b
commit 9710a5f19f
2 changed files with 3 additions and 3 deletions

View File

@ -4830,7 +4830,7 @@ a {
<path fill="#fff" d="M640 480H0V0h640z"/> <path fill="#fff" d="M640 480H0V0h640z"/>
<path fill="#dc143c" d="M640 480H0V240h640z"/> <path fill="#dc143c" d="M640 480H0V240h640z"/>
</g> </g>
</svg>`;const flags={it,en:gb,es,de,fr,id,pt,pt_br:br,ru,tr,vn,hr,ar,ko,ph,zh_tw:tw,pl};var script$3={props:{withArrow:{type:Boolean,default:!0}}};const __vue_script__$3=script$3;var __vue_render__$3=function(e,a){var n=a._c;return n("details",{class:[a.data.staticClass,{"with-arrow":a.props.withArrow}],style:a.data.staticStyle},[n("summary",{staticClass:"cursor-pointer"},[a._t("title",[a._v("Setting")])],2),a._v(" "),n("div",{staticClass:"my-5 space-y-5"},[a._t("default")],2)])},__vue_staticRenderFns__$3=[];const __vue_inject_styles__$3=function(e){!e||e("data-v-2eaecb1a_0",{source:"details>summary::-webkit-details-marker{display:none}details.with-arrow>summary::-webkit-details-marker{display:initial;vertical-align:var(--arrow-v-align,super)}",map:void 0,media:void 0})},__vue_scope_id__$3=void 0,__vue_module_identifier__$1=void 0,__vue_is_functional_template__$3=!0;function __vue_normalize__$3(e,a,n,i,r,s,l,c){const o=(typeof n=="function"?n.options:n)||{};o.__file="BaseAccordion.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,r&&(o.functional=!0)),o._scopeId=i;{let u;if(a&&(u=function(d){a.call(this,l(d))}),u!==void 0)if(o.functional){const d=o.render;o.render=function(h,m){return u.call(m),d(h,m)}}else{const d=o.beforeCreate;o.beforeCreate=d?[].concat(d,u):[u]}}return o}function __vue_create_injector__$1(){const e=document.head||document.getElementsByTagName("head")[0],a=__vue_create_injector__$1.styles||(__vue_create_injector__$1.styles={}),n=typeof navigator!="undefined"&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(r,s){if(document.querySelector('style[data-vue-ssr-id~="'+r+'"]'))return;const l=n?s.media||"default":r,c=a[l]||(a[l]={ids:[],parts:[],element:void 0});if(!c.ids.includes(r)){let o=s.source,u=c.ids.length;if(c.ids.push(r),s.map&&(o+=` </svg>`;const flags={it,en:gb,es,de,fr,id,pt,pt_br:br,ru,tr,vn,hr,ar,ko,ph,zh_tw:tw,pl};var script$3={props:{withArrow:{type:Boolean,default:!0}}};const __vue_script__$3=script$3;var __vue_render__$3=function(e,a){var n=a._c;return n("details",{class:[a.data.staticClass,{"with-arrow":a.props.withArrow}],style:a.data.staticStyle},[n("summary",{staticClass:"cursor-pointer"},[a._t("title",[a._v("Setting")])],2),a._v(" "),n("div",{staticClass:"my-5 space-y-5"},[a._t("default")],2)])},__vue_staticRenderFns__$3=[];const __vue_inject_styles__$3=function(e){!e||e("data-v-5b8cdbac_0",{source:"details>summary::marker{display:none}details.with-arrow>summary::marker{display:initial;vertical-align:var(--arrow-v-align,super)}",map:void 0,media:void 0})},__vue_scope_id__$3=void 0,__vue_module_identifier__$1=void 0,__vue_is_functional_template__$3=!0;function __vue_normalize__$3(e,a,n,i,r,s,l,c){const o=(typeof n=="function"?n.options:n)||{};o.__file="BaseAccordion.vue",o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,r&&(o.functional=!0)),o._scopeId=i;{let u;if(a&&(u=function(d){a.call(this,l(d))}),u!==void 0)if(o.functional){const d=o.render;o.render=function(h,m){return u.call(m),d(h,m)}}else{const d=o.beforeCreate;o.beforeCreate=d?[].concat(d,u):[u]}}return o}function __vue_create_injector__$1(){const e=document.head||document.getElementsByTagName("head")[0],a=__vue_create_injector__$1.styles||(__vue_create_injector__$1.styles={}),n=typeof navigator!="undefined"&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(r,s){if(document.querySelector('style[data-vue-ssr-id~="'+r+'"]'))return;const l=n?s.media||"default":r,c=a[l]||(a[l]={ids:[],parts:[],element:void 0});if(!c.ids.includes(r)){let o=s.source,u=c.ids.length;if(c.ids.push(r),s.map&&(o+=`
/*# sourceURL=`+s.map.sources[0]+" */",o+=` /*# sourceURL=`+s.map.sources[0]+" */",o+=`
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(s.map))))+" */"),n&&(c.element=c.element||document.querySelector("style[data-group="+l+"]")),!c.element){const d=c.element=document.createElement("style");d.type="text/css",s.media&&d.setAttribute("media",s.media),n&&(d.setAttribute("data-group",l),d.setAttribute("data-next-index","0")),e.appendChild(d)}if(n&&(u=parseInt(c.element.getAttribute("data-next-index")),c.element.setAttribute("data-next-index",u+1)),c.element.styleSheet)c.parts.push(o),c.element.styleSheet.cssText=c.parts.filter(Boolean).join(` /*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(s.map))))+" */"),n&&(c.element=c.element||document.querySelector("style[data-group="+l+"]")),!c.element){const d=c.element=document.createElement("style");d.type="text/css",s.media&&d.setAttribute("media",s.media),n&&(d.setAttribute("data-group",l),d.setAttribute("data-next-index","0")),e.appendChild(d)}if(n&&(u=parseInt(c.element.getAttribute("data-next-index")),c.element.setAttribute("data-next-index",u+1)),c.element.styleSheet)c.parts.push(o),c.element.styleSheet.cssText=c.parts.filter(Boolean).join(`
`);else{const d=document.createTextNode(o),f=c.element.childNodes;f[u]&&c.element.removeChild(f[u]),f.length?c.element.insertBefore(d,f[u]):c.element.appendChild(d)}}}}var BaseAccordion=__vue_normalize__$3({render:__vue_render__$3,staticRenderFns:__vue_staticRenderFns__$3},__vue_inject_styles__$3,__vue_script__$3,__vue_scope_id__$3,__vue_is_functional_template__$3,__vue_module_identifier__$1,__vue_create_injector__$1),script$2={components:{BaseAccordion},props:{templateVariables:{type:Array,required:!0}}};const __vue_script__$2=script$2;var __vue_render__$2=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("BaseAccordion",{staticStyle:{"--arrow-v-align":"baseline","margin-bottom":"3rem"},scopedSlots:e._u([{key:"title",fn:function(){return[e._t("title")]},proxy:!0}],null,!0)},[e._v(" "),n("div",{staticClass:"flex flex-wrap p-4 space-x-2 rounded-2xl bg-background-secondary"},e._l(e.templateVariables,function(i){return n("span",{staticClass:"inline-block p-2 mt-2 tracking-wider rounded cursor-pointer bg-panels-bg first:ml-2 hover:shadow-outline",on:{click:function(r){return e.$emit("variable-click",i)}}},[e._v(` `);else{const d=document.createTextNode(o),f=c.element.childNodes;f[u]&&c.element.removeChild(f[u]),f.length?c.element.insertBefore(d,f[u]):c.element.appendChild(d)}}}}var BaseAccordion=__vue_normalize__$3({render:__vue_render__$3,staticRenderFns:__vue_staticRenderFns__$3},__vue_inject_styles__$3,__vue_script__$3,__vue_scope_id__$3,__vue_is_functional_template__$3,__vue_module_identifier__$1,__vue_create_injector__$1),script$2={components:{BaseAccordion},props:{templateVariables:{type:Array,required:!0}}};const __vue_script__$2=script$2;var __vue_render__$2=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("BaseAccordion",{staticStyle:{"--arrow-v-align":"baseline","margin-bottom":"3rem"},scopedSlots:e._u([{key:"title",fn:function(){return[e._t("title")]},proxy:!0}],null,!0)},[e._v(" "),n("div",{staticClass:"flex flex-wrap p-4 space-x-2 rounded-2xl bg-background-secondary"},e._l(e.templateVariables,function(i){return n("span",{staticClass:"inline-block p-2 mt-2 tracking-wider rounded cursor-pointer bg-panels-bg first:ml-2 hover:shadow-outline",on:{click:function(r){return e.$emit("variable-click",i)}}},[e._v(`

View File

@ -11,11 +11,11 @@
</template> </template>
<style> <style>
details > summary::-webkit-details-marker { details > summary::marker {
display: none; display: none;
} }
details.with-arrow > summary::-webkit-details-marker { details.with-arrow > summary::marker {
display: initial; display: initial;
vertical-align: var(--arrow-v-align, super); vertical-align: var(--arrow-v-align, super);
} }