bnomei/kirby3-qrcode

View on GitHub
index.js

Summary

Maintainability
A
0 mins
Test Coverage
(function(){"use strict";var d=function(){var e=this,i=e.$createElement,o=e._self._c||i;return o("figure",{staticClass:"qrcode-wrapper"},[o("div",{domProps:{innerHTML:e._s(e.url)}}),e.title?o("figcaption",{staticClass:"k-text",attrs:{"data-theme":"help"}},[e._v(e._s(e.title))]):e._e()])},c=[],T="";function v(e,i,o,R,s,_,l,g){var n=typeof e=="function"?e.options:e;i&&(n.render=i,n.staticRenderFns=o,n._compiled=!0),R&&(n.functional=!0),_&&(n._scopeId="data-v-"+_);var r;if(l?(r=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!t&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(t=__VUE_SSR_CONTEXT__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(l)},n._ssrRegister=r):s&&(r=g?function(){s.call(this,(n.functional?this.parent:this).$root.$options.shadowRoot)}:s),r)if(n.functional){n._injectStyles=r;var $=n.render;n.render=function(S,u){return r.call(u),$(S,u)}}else{var f=n.beforeCreate;n.beforeCreate=f?[].concat(f,r):[r]}return{exports:e,options:n}}const p={name:"QRCode",props:{url:String,title:String}},a={};var h=v(p,d,c,!1,C,null,null,null);function C(e){for(let i in a)this[i]=a[i]}var m=function(){return h.exports}();panel.plugin("bnomei/qrcode",{fields:{qrcode:m}})})();