timeline-vuejs
Advanced tools
Comparing version 0.1.9 to 0.1.10
@@ -105,35 +105,2 @@ module.exports = | ||
/***/ "230e": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var isObject = __webpack_require__("d3f4"); | ||
var document = __webpack_require__("7726").document; | ||
// typeof document.createElement is 'object' in old IE | ||
var is = isObject(document) && isObject(document.createElement); | ||
module.exports = function (it) { | ||
return is ? document.createElement(it) : {}; | ||
}; | ||
/***/ }), | ||
/***/ "6a99": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 7.1.1 ToPrimitive(input [, PreferredType]) | ||
var isObject = __webpack_require__("d3f4"); | ||
// instead of the ES6 spec version, we didn't implement @@toPrimitive case | ||
// and the second argument - flag - preferred type is a string | ||
module.exports = function (it, S) { | ||
if (!isObject(it)) return it; | ||
var fn, val; | ||
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | ||
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | ||
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | ||
throw TypeError("Can't convert object to primitive value"); | ||
}; | ||
/***/ }), | ||
/***/ "70d8": | ||
@@ -146,125 +113,2 @@ /***/ (function(module, exports, __webpack_require__) { | ||
/***/ "7726": | ||
/***/ (function(module, exports) { | ||
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | ||
var global = module.exports = typeof window != 'undefined' && window.Math == Math | ||
? window : typeof self != 'undefined' && self.Math == Math ? self | ||
// eslint-disable-next-line no-new-func | ||
: Function('return this')(); | ||
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | ||
/***/ }), | ||
/***/ "79e5": | ||
/***/ (function(module, exports) { | ||
module.exports = function (exec) { | ||
try { | ||
return !!exec(); | ||
} catch (e) { | ||
return true; | ||
} | ||
}; | ||
/***/ }), | ||
/***/ "7f7f": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var dP = __webpack_require__("86cc").f; | ||
var FProto = Function.prototype; | ||
var nameRE = /^\s*function ([^ (]*)/; | ||
var NAME = 'name'; | ||
// 19.2.4.2 name | ||
NAME in FProto || __webpack_require__("9e1e") && dP(FProto, NAME, { | ||
configurable: true, | ||
get: function () { | ||
try { | ||
return ('' + this).match(nameRE)[1]; | ||
} catch (e) { | ||
return ''; | ||
} | ||
} | ||
}); | ||
/***/ }), | ||
/***/ "86cc": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var anObject = __webpack_require__("cb7c"); | ||
var IE8_DOM_DEFINE = __webpack_require__("c69a"); | ||
var toPrimitive = __webpack_require__("6a99"); | ||
var dP = Object.defineProperty; | ||
exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | ||
anObject(O); | ||
P = toPrimitive(P, true); | ||
anObject(Attributes); | ||
if (IE8_DOM_DEFINE) try { | ||
return dP(O, P, Attributes); | ||
} catch (e) { /* empty */ } | ||
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | ||
if ('value' in Attributes) O[P] = Attributes.value; | ||
return O; | ||
}; | ||
/***/ }), | ||
/***/ "8bbf": | ||
/***/ (function(module, exports) { | ||
module.exports = require("vue"); | ||
/***/ }), | ||
/***/ "9e1e": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// Thank's IE8 for his funny defineProperty | ||
module.exports = !__webpack_require__("79e5")(function () { | ||
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | ||
}); | ||
/***/ }), | ||
/***/ "c69a": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(function () { | ||
return Object.defineProperty(__webpack_require__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7; | ||
}); | ||
/***/ }), | ||
/***/ "cb7c": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var isObject = __webpack_require__("d3f4"); | ||
module.exports = function (it) { | ||
if (!isObject(it)) throw TypeError(it + ' is not an object!'); | ||
return it; | ||
}; | ||
/***/ }), | ||
/***/ "d3f4": | ||
/***/ (function(module, exports) { | ||
module.exports = function (it) { | ||
return typeof it === 'object' ? it !== null : typeof it === 'function'; | ||
}; | ||
/***/ }), | ||
/***/ "f2b0": | ||
@@ -290,9 +134,2 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js | ||
var es6_function_name = __webpack_require__("7f7f"); | ||
// 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& | ||
@@ -480,7 +317,6 @@ 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 | ||
// import Vue from 'vue' | ||
// console.log('Timeline.name') | ||
// Vue.component(Timeline.name, Timeline) | ||
console.log(Timeline.name); | ||
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component(Timeline.name, Timeline); | ||
/* harmony default export */ var components = (Timeline); | ||
@@ -487,0 +323,0 @@ // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js |
(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 | ||
@@ -114,35 +114,2 @@ /******/ // The module cache | ||
/***/ "230e": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var isObject = __webpack_require__("d3f4"); | ||
var document = __webpack_require__("7726").document; | ||
// typeof document.createElement is 'object' in old IE | ||
var is = isObject(document) && isObject(document.createElement); | ||
module.exports = function (it) { | ||
return is ? document.createElement(it) : {}; | ||
}; | ||
/***/ }), | ||
/***/ "6a99": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 7.1.1 ToPrimitive(input [, PreferredType]) | ||
var isObject = __webpack_require__("d3f4"); | ||
// instead of the ES6 spec version, we didn't implement @@toPrimitive case | ||
// and the second argument - flag - preferred type is a string | ||
module.exports = function (it, S) { | ||
if (!isObject(it)) return it; | ||
var fn, val; | ||
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | ||
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | ||
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | ||
throw TypeError("Can't convert object to primitive value"); | ||
}; | ||
/***/ }), | ||
/***/ "70d8": | ||
@@ -155,125 +122,2 @@ /***/ (function(module, exports, __webpack_require__) { | ||
/***/ "7726": | ||
/***/ (function(module, exports) { | ||
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | ||
var global = module.exports = typeof window != 'undefined' && window.Math == Math | ||
? window : typeof self != 'undefined' && self.Math == Math ? self | ||
// eslint-disable-next-line no-new-func | ||
: Function('return this')(); | ||
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | ||
/***/ }), | ||
/***/ "79e5": | ||
/***/ (function(module, exports) { | ||
module.exports = function (exec) { | ||
try { | ||
return !!exec(); | ||
} catch (e) { | ||
return true; | ||
} | ||
}; | ||
/***/ }), | ||
/***/ "7f7f": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var dP = __webpack_require__("86cc").f; | ||
var FProto = Function.prototype; | ||
var nameRE = /^\s*function ([^ (]*)/; | ||
var NAME = 'name'; | ||
// 19.2.4.2 name | ||
NAME in FProto || __webpack_require__("9e1e") && dP(FProto, NAME, { | ||
configurable: true, | ||
get: function () { | ||
try { | ||
return ('' + this).match(nameRE)[1]; | ||
} catch (e) { | ||
return ''; | ||
} | ||
} | ||
}); | ||
/***/ }), | ||
/***/ "86cc": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var anObject = __webpack_require__("cb7c"); | ||
var IE8_DOM_DEFINE = __webpack_require__("c69a"); | ||
var toPrimitive = __webpack_require__("6a99"); | ||
var dP = Object.defineProperty; | ||
exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | ||
anObject(O); | ||
P = toPrimitive(P, true); | ||
anObject(Attributes); | ||
if (IE8_DOM_DEFINE) try { | ||
return dP(O, P, Attributes); | ||
} catch (e) { /* empty */ } | ||
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | ||
if ('value' in Attributes) O[P] = Attributes.value; | ||
return O; | ||
}; | ||
/***/ }), | ||
/***/ "8bbf": | ||
/***/ (function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__; | ||
/***/ }), | ||
/***/ "9e1e": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// Thank's IE8 for his funny defineProperty | ||
module.exports = !__webpack_require__("79e5")(function () { | ||
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | ||
}); | ||
/***/ }), | ||
/***/ "c69a": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(function () { | ||
return Object.defineProperty(__webpack_require__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7; | ||
}); | ||
/***/ }), | ||
/***/ "cb7c": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var isObject = __webpack_require__("d3f4"); | ||
module.exports = function (it) { | ||
if (!isObject(it)) throw TypeError(it + ' is not an object!'); | ||
return it; | ||
}; | ||
/***/ }), | ||
/***/ "d3f4": | ||
/***/ (function(module, exports) { | ||
module.exports = function (it) { | ||
return typeof it === 'object' ? it !== null : typeof it === 'function'; | ||
}; | ||
/***/ }), | ||
/***/ "f2b0": | ||
@@ -299,9 +143,2 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js | ||
var es6_function_name = __webpack_require__("7f7f"); | ||
// 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& | ||
@@ -489,7 +326,6 @@ 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 | ||
// import Vue from 'vue' | ||
// console.log('Timeline.name') | ||
// Vue.component(Timeline.name, Timeline) | ||
console.log(Timeline.name); | ||
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component(Timeline.name, Timeline); | ||
/* harmony default export */ var components = (Timeline); | ||
@@ -496,0 +332,0 @@ // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js |
@@ -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 o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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]))},"230e":function(e,t,n){var r=n("d3f4"),o=n("7726").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"6a99":function(e,t,n){var r=n("d3f4");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"70d8":function(e,t,n){},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7f7f":function(e,t,n){var r=n("86cc").f,o=Function.prototype,i=/^\s*function ([^ (]*)/,s="name";s in o||n("9e1e")&&r(o,s,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},"86cc":function(e,t,n){var r=n("cb7c"),o=n("c69a"),i=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"8bbf":function(t,n){t.exports=e},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},cb7c:function(e,t,n){var r=n("d3f4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},f2b0:function(e,t,n){"use strict";var r=n("70d8"),o=n.n(r);o.a},fb15:function(e,t,n){"use strict";n.r(t);n("1eb2"),n("7f7f");var r=n("8bbf"),o=n.n(r),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,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=[],c={name:"Timeline",props:{timelineItems:{type:Array,default:function(){return[]}},messageWhenNoItems:{type:String}},computed:{hasItems:function(){return!!this.timelineItems.length}}},u=c;n("f2b0");function f(e,t,n,r,o,i,s,c){var u,f="function"===typeof e?e.options:e;if(t&&(f.render=t,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},f._ssrRegister=u):o&&(u=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(f.functional){f._injectStyles=u;var a=f.render;f.render=function(e,t){return u.call(t),a(e,t)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:f}}var a=f(u,i,s,!1,null,null,null);a.options.__file="Timeline.vue";var l=a.exports;console.log(l.name),o.a.component(l.name,l);var p=l;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=[],s={name:"Timeline",props:{timelineItems:{type:Array,default:function(){return[]}},messageWhenNoItems:{type:String}},computed:{hasItems:function(){return!!this.timelineItems.length}}},o=s;n("f2b0");function a(e,t,n,i,r,s,o,a){var u,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),o?(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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):r&&(u=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),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 u=a(o,i,r,!1,null,null,null);u.options.__file="Timeline.vue";var c=u.exports,l=c;t["default"]=l}})}); | ||
//# sourceMappingURL=timeline-vuejs.umd.min.js.map |
{ | ||
"name": "timeline-vuejs", | ||
"version": "0.1.9", | ||
"main": "./dist/timeline-vuejs.umd.js", | ||
"version": "0.1.10", | ||
"main": "./dist/timeline-vuejs.common.js", | ||
"description": "Minimalist Timeline with VueJS", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -1,7 +0,7 @@ | ||
import Vue from 'vue' | ||
// import Vue from 'vue' | ||
import Timeline from './Timeline.vue' | ||
console.log(Timeline.name) | ||
Vue.component(Timeline.name, Timeline) | ||
// console.log('Timeline.name') | ||
// Vue.component(Timeline.name, 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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
1
287149
647