timeline-vuejs
Advanced tools
Comparing version 0.1.12 to 0.1.13
@@ -112,9 +112,2 @@ module.exports = | ||
/***/ "8bbf": | ||
/***/ (function(module, exports) { | ||
module.exports = require("vue"); | ||
/***/ }), | ||
/***/ "f2b0": | ||
@@ -140,6 +133,2 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} | ||
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf"); | ||
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_); | ||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d50f023a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Timeline.vue?vue&type=template&id=07dc3835& | ||
@@ -327,8 +316,12 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"timeline"},[(_vm.hasItems)?_c('div',{staticClass:"wrapper-timeline"},_vm._l((_vm.timelineItems),function(timelineContent,timelineIndex){return _c('div',{key:timelineIndex,staticClass:"wrapper-item"},[_c('div',{staticClass:"section-year"},[_c('p',{staticClass:"year"},[_vm._v("\n "+_vm._s(timelineContent.year.to)+"\n ")]),_c('p',{staticClass:"year"},[_vm._v("\n "+_vm._s(timelineContent.year.from)+"\n ")])]),_c('section',{staticClass:"timeline-items"},_vm._l((timelineContent.items),function(item,index){return _c('div',{key:index,staticClass:"item"},[_c('span',{staticClass:"dot"}),_c('h3',{staticClass:"month-item"},[_vm._v(_vm._s(item.nameMonth))]),_c('h4',{staticClass:"title-item",domProps:{"innerHTML":_vm._s(item.title)}}),_c('p',{staticClass:"description-item",domProps:{"innerHTML":_vm._s(item.description)}})])}))])})):_c('p',[_vm._v(_vm._s(_vm.messageWhenNoItems))])])} | ||
// CONCATENATED MODULE: ./src/components/index.js | ||
// console.log('Timeline.name') | ||
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component('Timeline', Timeline); | ||
function install(Vue) { | ||
if (install.installed) return; | ||
install.installed = true; | ||
Vue.component('Timeline', Timeline); | ||
} | ||
/* harmony default export */ var components = (Timeline); | ||
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js | ||
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "install", function() { return install; }); | ||
@@ -335,0 +328,0 @@ |
(function webpackUniversalModuleDefinition(root, factory) { | ||
if(typeof exports === 'object' && typeof module === 'object') | ||
module.exports = factory(require("vue")); | ||
module.exports = factory(); | ||
else if(typeof define === 'function' && define.amd) | ||
define([], factory); | ||
else if(typeof exports === 'object') | ||
exports["timeline-vuejs"] = factory(require("vue")); | ||
exports["timeline-vuejs"] = factory(); | ||
else | ||
root["timeline-vuejs"] = factory(root["Vue"]); | ||
})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__8bbf__) { | ||
root["timeline-vuejs"] = factory(); | ||
})((typeof self !== 'undefined' ? self : this), function() { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
@@ -121,9 +121,2 @@ /******/ // The module cache | ||
/***/ "8bbf": | ||
/***/ (function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__; | ||
/***/ }), | ||
/***/ "f2b0": | ||
@@ -149,6 +142,2 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} | ||
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf"); | ||
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_); | ||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d50f023a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Timeline.vue?vue&type=template&id=07dc3835& | ||
@@ -336,8 +325,12 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"timeline"},[(_vm.hasItems)?_c('div',{staticClass:"wrapper-timeline"},_vm._l((_vm.timelineItems),function(timelineContent,timelineIndex){return _c('div',{key:timelineIndex,staticClass:"wrapper-item"},[_c('div',{staticClass:"section-year"},[_c('p',{staticClass:"year"},[_vm._v("\n "+_vm._s(timelineContent.year.to)+"\n ")]),_c('p',{staticClass:"year"},[_vm._v("\n "+_vm._s(timelineContent.year.from)+"\n ")])]),_c('section',{staticClass:"timeline-items"},_vm._l((timelineContent.items),function(item,index){return _c('div',{key:index,staticClass:"item"},[_c('span',{staticClass:"dot"}),_c('h3',{staticClass:"month-item"},[_vm._v(_vm._s(item.nameMonth))]),_c('h4',{staticClass:"title-item",domProps:{"innerHTML":_vm._s(item.title)}}),_c('p',{staticClass:"description-item",domProps:{"innerHTML":_vm._s(item.description)}})])}))])})):_c('p',[_vm._v(_vm._s(_vm.messageWhenNoItems))])])} | ||
// CONCATENATED MODULE: ./src/components/index.js | ||
// console.log('Timeline.name') | ||
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component('Timeline', Timeline); | ||
function install(Vue) { | ||
if (install.installed) return; | ||
install.installed = true; | ||
Vue.component('Timeline', Timeline); | ||
} | ||
/* harmony default export */ var components = (Timeline); | ||
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js | ||
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "install", function() { return install; }); | ||
@@ -344,0 +337,0 @@ |
@@ -1,2 +0,2 @@ | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["timeline-vuejs"]=t(require("vue")):e["timeline-vuejs"]=t(e["Vue"])})("undefined"!==typeof self?self:this,function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"1eb2":function(e,t,n){var r;"undefined"!==typeof window&&((r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js$/))&&(n.p=r[1]))},"70d8":function(e,t,n){},"8bbf":function(t,n){t.exports=e},f2b0:function(e,t,n){"use strict";var r=n("70d8"),i=n.n(r);i.a},fb15:function(e,t,n){"use strict";n.r(t);n("1eb2");var r=n("8bbf"),i=n.n(r),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"timeline"},[e.hasItems?n("div",{staticClass:"wrapper-timeline"},e._l(e.timelineItems,function(t,r){return n("div",{key:r,staticClass:"wrapper-item"},[n("div",{staticClass:"section-year"},[n("p",{staticClass:"year"},[e._v("\n "+e._s(t.year.to)+"\n ")]),n("p",{staticClass:"year"},[e._v("\n "+e._s(t.year.from)+"\n ")])]),n("section",{staticClass:"timeline-items"},e._l(t.items,function(t,r){return n("div",{key:r,staticClass:"item"},[n("span",{staticClass:"dot"}),n("h3",{staticClass:"month-item"},[e._v(e._s(t.nameMonth))]),n("h4",{staticClass:"title-item",domProps:{innerHTML:e._s(t.title)}}),n("p",{staticClass:"description-item",domProps:{innerHTML:e._s(t.description)}})])}))])})):n("p",[e._v(e._s(e.messageWhenNoItems))])])},s=[],a={name:"Timeline",props:{timelineItems:{type:Array,default:function(){return[]}},messageWhenNoItems:{type:String}},computed:{hasItems:function(){return!!this.timelineItems.length}}},u=a;n("f2b0");function c(e,t,n,r,i,o,s,a){var u,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=u):i&&(u=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:c}}var l=c(u,o,s,!1,null,null,null);l.options.__file="Timeline.vue";var f=l.exports;i.a.component("Timeline",f);var p=f;t["default"]=p}})}); | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["timeline-vuejs"]=t():e["timeline-vuejs"]=t()})("undefined"!==typeof self?self:this,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"1eb2":function(e,t,n){var i;"undefined"!==typeof window&&((i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js$/))&&(n.p=i[1]))},"70d8":function(e,t,n){},f2b0:function(e,t,n){"use strict";var i=n("70d8"),r=n.n(i);r.a},fb15:function(e,t,n){"use strict";n.r(t);n("1eb2");var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"timeline"},[e.hasItems?n("div",{staticClass:"wrapper-timeline"},e._l(e.timelineItems,function(t,i){return n("div",{key:i,staticClass:"wrapper-item"},[n("div",{staticClass:"section-year"},[n("p",{staticClass:"year"},[e._v("\n "+e._s(t.year.to)+"\n ")]),n("p",{staticClass:"year"},[e._v("\n "+e._s(t.year.from)+"\n ")])]),n("section",{staticClass:"timeline-items"},e._l(t.items,function(t,i){return n("div",{key:i,staticClass:"item"},[n("span",{staticClass:"dot"}),n("h3",{staticClass:"month-item"},[e._v(e._s(t.nameMonth))]),n("h4",{staticClass:"title-item",domProps:{innerHTML:e._s(t.title)}}),n("p",{staticClass:"description-item",domProps:{innerHTML:e._s(t.description)}})])}))])})):n("p",[e._v(e._s(e.messageWhenNoItems))])])},r=[],o={name:"Timeline",props:{timelineItems:{type:Array,default:function(){return[]}},messageWhenNoItems:{type:String}},computed:{hasItems:function(){return!!this.timelineItems.length}}},s=o;n("f2b0");function a(e,t,n,i,r,o,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}var l=a(s,i,r,!1,null,null,null);l.options.__file="Timeline.vue";var u=l.exports;function c(e){c.installed||(c.installed=!0,e.component("Timeline",u))}var f=u;n.d(t,"install",function(){return c});t["default"]=f}})}); | ||
//# sourceMappingURL=timeline-vuejs.umd.min.js.map |
{ | ||
"name": "timeline-vuejs", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"main": "./dist/timeline-vuejs.common.js", | ||
@@ -5,0 +5,0 @@ "description": "Minimalist Timeline with VueJS", |
@@ -1,7 +0,10 @@ | ||
import Vue from 'vue' | ||
import Timeline from './Timeline.vue' | ||
// console.log('Timeline.name') | ||
Vue.component('Timeline', Timeline) | ||
export function install(Vue) { | ||
if (install.installed) return | ||
install.installed = true | ||
Vue.component('Timeline', Timeline) | ||
} | ||
export default Timeline |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
288319
659