dynamic-components-test
Advanced tools
Comparing version 0.2.4 to 0.2.5
/*! | ||
* dynamic-components-test v0.2.4 | ||
* dynamic-components-test v0.2.5 | ||
* (c) 2019-present Vinicius Azevedo <viniazvd@gmail.com> | ||
@@ -9,2 +9,3 @@ * Released under the MIT License. | ||
var script = { | ||
name: 'ACard', | ||
functional: true, | ||
@@ -18,7 +19,6 @@ | ||
}, children); | ||
}, | ||
} // install (Vue) { | ||
// Vue.component('ACard', this) | ||
// } | ||
install: function install(Vue) { | ||
Vue.component('ACard', this); | ||
} | ||
@@ -170,3 +170,3 @@ }; | ||
if (!inject) { return } | ||
inject("data-v-12de3466_0", { source: ".a-card{border-radius:3px;background-color:#fff;box-shadow:1px 1px 4px 0 gray}", map: undefined, media: undefined }); | ||
inject("data-v-3d4e95fb_0", { source: ".a-card{border-radius:3px;background-color:#fff;box-shadow:1px 1px 4px 0 gray}", map: undefined, media: undefined }); | ||
@@ -184,3 +184,3 @@ }; | ||
var ACard = normalizeComponent_1( | ||
normalizeComponent_1( | ||
{}, | ||
@@ -196,5 +196,2 @@ __vue_inject_styles__, | ||
// export { ACard } | ||
// export default ACard | ||
var props = { | ||
@@ -217,2 +214,3 @@ size: { | ||
var script$1 = { | ||
name: 'ATitle', | ||
functional: true, | ||
@@ -238,7 +236,6 @@ props: props, | ||
}, [text]); | ||
}, | ||
} // install (Vue) { | ||
// Vue.component('ATitle', this) | ||
// } | ||
install: function install(Vue) { | ||
Vue.component('ATitle', this); | ||
} | ||
@@ -255,3 +252,3 @@ }; | ||
if (!inject) { return } | ||
inject("data-v-0a6f3742_0", { source: ".a-title{display:flex;margin:0}.a-title>.icon{margin-right:10px;vertical-align:bottom;fill:#000}", map: undefined, media: undefined }); | ||
inject("data-v-11e7a302_0", { source: ".a-title{display:flex;margin:0}.a-title>.icon{margin-right:10px;vertical-align:bottom;fill:#000}", map: undefined, media: undefined }); | ||
@@ -269,3 +266,3 @@ }; | ||
var ATitle = normalizeComponent_1( | ||
normalizeComponent_1( | ||
{}, | ||
@@ -281,12 +278,19 @@ __vue_inject_styles__$1, | ||
// export { ATitle } | ||
// export default ATitle | ||
var components = /*#__PURE__*/Object.freeze({ | ||
var components = /*#__PURE__*/Object.freeze({ | ||
ACard: ACard, | ||
ATitle: ATitle | ||
}); | ||
module.exports = components; | ||
var install = function (Vue) { | ||
Object.entries(components).forEach(function (ref) { | ||
var name = ref[0]; | ||
var component = ref[1]; | ||
Vue.component(name, component); | ||
}); | ||
}; | ||
// // import directives from './directives' | ||
// export default components | ||
module.exports = install; |
/*! | ||
* dynamic-components-test v0.2.4 | ||
* dynamic-components-test v0.2.5 | ||
* (c) 2019-present Vinicius Azevedo <viniazvd@gmail.com> | ||
@@ -7,2 +7,3 @@ * Released under the MIT License. | ||
var script = { | ||
name: 'ACard', | ||
functional: true, | ||
@@ -16,7 +17,6 @@ | ||
}, children); | ||
}, | ||
} // install (Vue) { | ||
// Vue.component('ACard', this) | ||
// } | ||
install: function install(Vue) { | ||
Vue.component('ACard', this); | ||
} | ||
@@ -168,3 +168,3 @@ }; | ||
if (!inject) { return } | ||
inject("data-v-12de3466_0", { source: ".a-card{border-radius:3px;background-color:#fff;box-shadow:1px 1px 4px 0 gray}", map: undefined, media: undefined }); | ||
inject("data-v-3d4e95fb_0", { source: ".a-card{border-radius:3px;background-color:#fff;box-shadow:1px 1px 4px 0 gray}", map: undefined, media: undefined }); | ||
@@ -182,3 +182,3 @@ }; | ||
var ACard = normalizeComponent_1( | ||
normalizeComponent_1( | ||
{}, | ||
@@ -194,5 +194,2 @@ __vue_inject_styles__, | ||
// export { ACard } | ||
// export default ACard | ||
var props = { | ||
@@ -215,2 +212,3 @@ size: { | ||
var script$1 = { | ||
name: 'ATitle', | ||
functional: true, | ||
@@ -236,7 +234,6 @@ props: props, | ||
}, [text]); | ||
}, | ||
} // install (Vue) { | ||
// Vue.component('ATitle', this) | ||
// } | ||
install: function install(Vue) { | ||
Vue.component('ATitle', this); | ||
} | ||
@@ -253,3 +250,3 @@ }; | ||
if (!inject) { return } | ||
inject("data-v-0a6f3742_0", { source: ".a-title{display:flex;margin:0}.a-title>.icon{margin-right:10px;vertical-align:bottom;fill:#000}", map: undefined, media: undefined }); | ||
inject("data-v-11e7a302_0", { source: ".a-title{display:flex;margin:0}.a-title>.icon{margin-right:10px;vertical-align:bottom;fill:#000}", map: undefined, media: undefined }); | ||
@@ -267,3 +264,3 @@ }; | ||
var ATitle = normalizeComponent_1( | ||
normalizeComponent_1( | ||
{}, | ||
@@ -279,12 +276,19 @@ __vue_inject_styles__$1, | ||
// export { ATitle } | ||
// export default ATitle | ||
var components = /*#__PURE__*/Object.freeze({ | ||
var components = /*#__PURE__*/Object.freeze({ | ||
ACard: ACard, | ||
ATitle: ATitle | ||
}); | ||
export default components; | ||
var install = function (Vue) { | ||
Object.entries(components).forEach(function (ref) { | ||
var name = ref[0]; | ||
var component = ref[1]; | ||
Vue.component(name, component); | ||
}); | ||
}; | ||
// // import directives from './directives' | ||
// export default components | ||
export default install; |
/*! | ||
* dynamic-components-test v0.2.4 | ||
* dynamic-components-test v0.2.5 | ||
* (c) 2019-present Vinicius Azevedo <viniazvd@gmail.com> | ||
@@ -13,2 +13,3 @@ * Released under the MIT License. | ||
var script = { | ||
name: 'ACard', | ||
functional: true, | ||
@@ -22,7 +23,6 @@ | ||
}, children); | ||
}, | ||
} // install (Vue) { | ||
// Vue.component('ACard', this) | ||
// } | ||
install: function install(Vue) { | ||
Vue.component('ACard', this); | ||
} | ||
@@ -174,3 +174,3 @@ }; | ||
if (!inject) { return } | ||
inject("data-v-12de3466_0", { source: ".a-card{border-radius:3px;background-color:#fff;box-shadow:1px 1px 4px 0 gray}", map: undefined, media: undefined }); | ||
inject("data-v-3d4e95fb_0", { source: ".a-card{border-radius:3px;background-color:#fff;box-shadow:1px 1px 4px 0 gray}", map: undefined, media: undefined }); | ||
@@ -188,3 +188,3 @@ }; | ||
var ACard = normalizeComponent_1( | ||
normalizeComponent_1( | ||
{}, | ||
@@ -200,5 +200,2 @@ __vue_inject_styles__, | ||
// export { ACard } | ||
// export default ACard | ||
var props = { | ||
@@ -221,2 +218,3 @@ size: { | ||
var script$1 = { | ||
name: 'ATitle', | ||
functional: true, | ||
@@ -242,7 +240,6 @@ props: props, | ||
}, [text]); | ||
}, | ||
} // install (Vue) { | ||
// Vue.component('ATitle', this) | ||
// } | ||
install: function install(Vue) { | ||
Vue.component('ATitle', this); | ||
} | ||
@@ -259,3 +256,3 @@ }; | ||
if (!inject) { return } | ||
inject("data-v-0a6f3742_0", { source: ".a-title{display:flex;margin:0}.a-title>.icon{margin-right:10px;vertical-align:bottom;fill:#000}", map: undefined, media: undefined }); | ||
inject("data-v-11e7a302_0", { source: ".a-title{display:flex;margin:0}.a-title>.icon{margin-right:10px;vertical-align:bottom;fill:#000}", map: undefined, media: undefined }); | ||
@@ -273,3 +270,3 @@ }; | ||
var ATitle = normalizeComponent_1( | ||
normalizeComponent_1( | ||
{}, | ||
@@ -285,14 +282,21 @@ __vue_inject_styles__$1, | ||
// export { ATitle } | ||
// export default ATitle | ||
var components = /*#__PURE__*/Object.freeze({ | ||
var components = /*#__PURE__*/Object.freeze({ | ||
ACard: ACard, | ||
ATitle: ATitle | ||
}); | ||
return components; | ||
var install = function (Vue) { | ||
Object.entries(components).forEach(function (ref) { | ||
var name = ref[0]; | ||
var component = ref[1]; | ||
Vue.component(name, component); | ||
}); | ||
}; | ||
// // import directives from './directives' | ||
// export default components | ||
return install; | ||
}))); |
/*! | ||
* dynamic-components-test v0.2.4 | ||
* dynamic-components-test v0.2.5 | ||
* (c) 2019-present Vinicius Azevedo <viniazvd@gmail.com> | ||
* Released under the MIT License. | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.dynamicComponentsTest=t()}(this,function(){"use strict";var e=function(e,t,n,o,i,r,a,s,d,l){"boolean"!=typeof a&&(d=s,s=a,a=!1);var c,u="function"==typeof n?n.options:n;if(e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),o&&(u._scopeId=o),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,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},u._ssrRegister=c):t&&(c=a?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),c)if(u.functional){var f=u.render;u.render=function(e,t){return c.call(t),f(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return n},t="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var n=document.head||document.getElementsByTagName("head")[0],o={};var i=function(e){return function(e,i){return function(e,i){var r=t?i.media||"default":e,a=o[r]||(o[r]={ids:new Set,styles:[]});if(!a.ids.has(e)){a.ids.add(e);var s=i.source;if(i.map&&(s+="\n/*# sourceURL="+i.map.sources[0]+" */",s+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),a.element||(a.element=document.createElement("style"),a.element.type="text/css",i.media&&a.element.setAttribute("media",i.media),n.appendChild(a.element)),"styleSheet"in a.element)a.styles.push(s),a.element.styleSheet.cssText=a.styles.filter(Boolean).join("\n");else{var d=a.ids.size-1,l=document.createTextNode(s),c=a.element.childNodes;c[d]&&a.element.removeChild(c[d]),c.length?a.element.insertBefore(l,c[d]):a.element.appendChild(l)}}}(e,i)}},r=e({},function(e){e&&e("data-v-12de3466_0",{source:".a-card{border-radius:3px;background-color:#fff;box-shadow:1px 1px 4px 0 gray}",map:void 0,media:void 0})},{functional:!0,render:function(e,t){return e("div",{class:"a-card"},t.children)},install:function(e){e.component("ACard",this)}},void 0,void 0,void 0,i,void 0),a=e({},function(e){e&&e("data-v-0a6f3742_0",{source:".a-title{display:flex;margin:0}.a-title>.icon{margin-right:10px;vertical-align:bottom;fill:#000}",map:void 0,media:void 0})},{functional:!0,props:{size:{type:[String,Number],default:1},color:{type:String,default:"black"},icon:String,iconSize:{type:String,default:"25"}},render:function(e,t){var n=t.props,o=[e("span",{attrs:{class:"text"}},[t.children])];return e("h"+n.size,{style:{color:n.color},attrs:{class:"a-title"}},[o])},install:function(e){e.component("ATitle",this)}},void 0,void 0,void 0,i,void 0);return Object.freeze({ACard:r,ATitle:a})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.dynamicComponentsTest=t()}(this,function(){"use strict";var e=function(e,t,n,o,i,r,a,s,d,c){"boolean"!=typeof a&&(d=s,s=a,a=!1);var l,f="function"==typeof n?n.options:n;if(e&&e.render&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns,f._compiled=!0,i&&(f.functional=!0)),o&&(f._scopeId=o),r?(l=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,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},f._ssrRegister=l):t&&(l=a?function(){t.call(this,c(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),l)if(f.functional){var u=f.render;f.render=function(e,t){return l.call(t),u(e,t)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,l):[l]}return n},t="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var n=document.head||document.getElementsByTagName("head")[0],o={};var i=function(e){return function(e,i){return function(e,i){var r=t?i.media||"default":e,a=o[r]||(o[r]={ids:new Set,styles:[]});if(!a.ids.has(e)){a.ids.add(e);var s=i.source;if(i.map&&(s+="\n/*# sourceURL="+i.map.sources[0]+" */",s+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i.map))))+" */"),a.element||(a.element=document.createElement("style"),a.element.type="text/css",i.media&&a.element.setAttribute("media",i.media),n.appendChild(a.element)),"styleSheet"in a.element)a.styles.push(s),a.element.styleSheet.cssText=a.styles.filter(Boolean).join("\n");else{var d=a.ids.size-1,c=document.createTextNode(s),l=a.element.childNodes;l[d]&&a.element.removeChild(l[d]),l.length?a.element.insertBefore(c,l[d]):a.element.appendChild(c)}}}(e,i)}};e({},function(e){e&&e("data-v-3d4e95fb_0",{source:".a-card{border-radius:3px;background-color:#fff;box-shadow:1px 1px 4px 0 gray}",map:void 0,media:void 0})},{name:"ACard",functional:!0,render:function(e,t){return e("div",{class:"a-card"},t.children)}},void 0,void 0,void 0,i,void 0);e({},function(e){e&&e("data-v-11e7a302_0",{source:".a-title{display:flex;margin:0}.a-title>.icon{margin-right:10px;vertical-align:bottom;fill:#000}",map:void 0,media:void 0})},{name:"ATitle",functional:!0,props:{size:{type:[String,Number],default:1},color:{type:String,default:"black"},icon:String,iconSize:{type:String,default:"25"}},render:function(e,t){var n=t.props,o=[e("span",{attrs:{class:"text"}},[t.children])];return e("h"+n.size,{style:{color:n.color},attrs:{class:"a-title"}},[o])}},void 0,void 0,void 0,i,void 0);var r=Object.freeze({});return function(e){Object.entries(r).forEach(function(t){var n=t[0],o=t[1];e.component(n,o)})}}); | ||
//# sourceMappingURL=dynamic-components-test.min.js.map |
{ | ||
"name": "dynamic-components-test", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "test dynamic component", | ||
@@ -5,0 +5,0 @@ "readmeFilename": "README.md", |
Sorry, the diff of this file is not supported yet
67897
1377