vue-gallery
Advanced tools
Comparing version 1.3.2 to 1.3.5
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('blueimp-gallery/css/blueimp-gallery.min.css'), require('blueimp-gallery/js/blueimp-gallery-fullscreen.js'), require('blueimp-gallery/js/blueimp-gallery-video.js'), require('blueimp-gallery/js/blueimp-gallery-youtube.js'), require('blueimp-gallery/js/blueimp-gallery.js')) : | ||
typeof define === 'function' && define.amd ? define(['blueimp-gallery/css/blueimp-gallery.min.css', 'blueimp-gallery/js/blueimp-gallery-fullscreen.js', 'blueimp-gallery/js/blueimp-gallery-video.js', 'blueimp-gallery/js/blueimp-gallery-youtube.js', 'blueimp-gallery/js/blueimp-gallery.js'], factory) : | ||
(global.VueGallery = factory(null,null,null,null,global.blueimp)); | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('blueimp-gallery/css/blueimp-gallery.min.css'), require('blueimp-gallery/js/blueimp-gallery-fullscreen.js'), require('blueimp-gallery/js/blueimp-gallery-video.js'), require('blueimp-gallery/js/blueimp-gallery-youtube.js'), require('blueimp-gallery/js/blueimp-gallery.js')) : | ||
typeof define === 'function' && define.amd ? define(['blueimp-gallery/css/blueimp-gallery.min.css', 'blueimp-gallery/js/blueimp-gallery-fullscreen.js', 'blueimp-gallery/js/blueimp-gallery-video.js', 'blueimp-gallery/js/blueimp-gallery-youtube.js', 'blueimp-gallery/js/blueimp-gallery.js'], factory) : | ||
(global.VueGallery = factory(null,null,null,null,global.blueimp)); | ||
}(this, (function (blueimpGallery_min_css,blueimpGalleryFullscreen_js,blueimpGalleryVideo_js,blueimpGalleryYoutube_js,blueimp) { 'use strict'; | ||
blueimp = blueimp && blueimp.hasOwnProperty('default') ? blueimp['default'] : blueimp; | ||
blueimp = blueimp && blueimp.hasOwnProperty('default') ? blueimp['default'] : blueimp; | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
(function () { | ||
if (typeof document !== 'undefined') { | ||
var head = document.head || document.getElementsByTagName('head')[0], | ||
style = document.createElement('style'), | ||
css = " .blueimp-gallery > .description { position: absolute; top: 30px; left: 15px; color: #fff; display: none; } .blueimp-gallery-controls > .description { display: block; } ";style.type = 'text/css';if (style.styleSheet) { | ||
style.styleSheet.cssText = css; | ||
} else { | ||
style.appendChild(document.createTextNode(css)); | ||
}head.appendChild(style); | ||
} | ||
})(); | ||
var script = { | ||
props: { | ||
images: { | ||
type: Array, | ||
default: function _default() { | ||
return []; | ||
} | ||
}, | ||
var VueGallery$1 = { render: function render() { | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { staticClass: "blueimp-gallery blueimp-gallery-controls", class: { 'blueimp-gallery-carousel': _vm.carousel }, attrs: { "id": _vm.id } }, [_c('div', { staticClass: "slides" }), _vm._v(" "), _c('h3', { staticClass: "title" }), _vm._v(" "), _c('p', { staticClass: "description" }), _vm._v(" "), _c('a', { staticClass: "prev" }, [_vm._v("‹")]), _vm._v(" "), _c('a', { staticClass: "next" }, [_vm._v("›")]), _vm._v(" "), !_vm.carousel ? _c('a', { staticClass: "close" }, [_vm._v("×")]) : _vm._e(), _vm._v(" "), !_vm.carousel ? _c('ol', { staticClass: "indicator" }) : _vm._e(), _vm._v(" "), _vm.carousel ? _c('a', { staticClass: "play-pause" }) : _vm._e()]); | ||
}, staticRenderFns: [], | ||
props: { | ||
images: { | ||
type: Array, | ||
default: function _default() { | ||
return []; | ||
} | ||
}, | ||
options: { | ||
type: Object, | ||
default: function _default() { | ||
return {}; | ||
} | ||
}, | ||
options: { | ||
type: Object, | ||
default: function _default() { | ||
return {}; | ||
carousel: { | ||
type: Boolean, | ||
default: false | ||
}, | ||
index: { | ||
type: Number | ||
}, | ||
id: { | ||
type: String, | ||
default: 'blueimp-gallery' | ||
} | ||
}, | ||
carousel: { | ||
type: Boolean, | ||
default: false | ||
data: function data() { | ||
return { | ||
instance: null | ||
}; | ||
}, | ||
index: { | ||
type: Number | ||
}, | ||
id: { | ||
type: String, | ||
default: 'blueimp-gallery' | ||
} | ||
}, | ||
watch: { | ||
index: function index(value) { | ||
if (this.carousel) { | ||
return; | ||
} | ||
data: function data() { | ||
return { | ||
instance: null | ||
}; | ||
}, | ||
if (value !== null) { | ||
this.open(value); | ||
} else { | ||
if (this.instance) { | ||
this.instance.close(); | ||
} | ||
this.$emit('close'); | ||
} | ||
} | ||
}, | ||
watch: { | ||
index: function index(value) { | ||
mounted: function mounted() { | ||
if (this.carousel) { | ||
return; | ||
this.open(); | ||
} | ||
}, | ||
destroyed: function destroyed() { | ||
if (this.instance !== null) { | ||
this.instance.close(); | ||
this.instance = null; | ||
} | ||
}, | ||
if (value !== null) { | ||
this.open(value); | ||
} else { | ||
if (this.instance) { | ||
this.instance.close(); | ||
methods: { | ||
open: function open() { | ||
var _this = this; | ||
var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; | ||
var instance = typeof blueimp.Gallery !== 'undefined' ? blueimp.Gallery : blueimp; | ||
var options = _extends({ | ||
toggleControlsOnReturn: false, | ||
toggleControlsOnSlideClick: false, | ||
closeOnSlideClick: false, | ||
carousel: this.carousel, | ||
container: '#' + this.id, | ||
index: index, | ||
onopen: function onopen() { | ||
return _this.$emit('onopen'); | ||
}, | ||
onopened: function onopened() { | ||
return _this.$emit('onopened'); | ||
}, | ||
onslide: this.onSlideCustom, | ||
onslideend: function onslideend(index, slide) { | ||
return _this.$emit('onslideend', { index: index, slide: slide }); | ||
}, | ||
onslidecomplete: function onslidecomplete(index, slide) { | ||
return _this.$emit('onslidecomplete', { index: index, slide: slide }); | ||
}, | ||
onclose: function onclose() { | ||
return _this.$emit('close'); | ||
}, | ||
onclosed: function onclosed() { | ||
return _this.$emit('onclosed'); | ||
} | ||
}, this.options); | ||
if (this.carousel) { | ||
options.container = this.$el; | ||
} | ||
this.$emit('close'); | ||
this.instance = instance(this.images, options); | ||
}, | ||
onSlideCustom: function onSlideCustom(index, slide) { | ||
this.$emit('onslide', { index: index, slide: slide }); | ||
var image = this.images[index]; | ||
if (image !== undefined) { | ||
var text = image.description; | ||
var node = this.instance.container.find('.description'); | ||
if (text) { | ||
node.empty(); | ||
node[0].appendChild(document.createTextNode(text)); | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
}; | ||
mounted: function mounted() { | ||
if (this.carousel) { | ||
this.open(); | ||
var __vue_script__ = script; | ||
/* template */ | ||
var __vue_render__ = function __vue_render__() { | ||
var _vm = this; | ||
var _h = _vm.$createElement; | ||
var _c = _vm._self._c || _h; | ||
return _c("div", { | ||
staticClass: "blueimp-gallery blueimp-gallery-controls", | ||
class: { "blueimp-gallery-carousel": _vm.carousel }, | ||
attrs: { id: _vm.id } | ||
}, [_c("div", { staticClass: "slides" }), _vm._v(" "), _c("h3", { staticClass: "title" }), _vm._v(" "), _c("p", { staticClass: "description" }), _vm._v(" "), _c("a", { staticClass: "prev" }, [_vm._v("‹")]), _vm._v(" "), _c("a", { staticClass: "next" }, [_vm._v("›")]), _vm._v(" "), !_vm.carousel ? _c("a", { staticClass: "close" }, [_vm._v("×")]) : _vm._e(), _vm._v(" "), !_vm.carousel ? _c("ol", { staticClass: "indicator" }) : _vm._e(), _vm._v(" "), _vm.carousel ? _c("a", { staticClass: "play-pause" }) : _vm._e()]); | ||
}; | ||
var __vue_staticRenderFns__ = []; | ||
__vue_render__._withStripped = true; | ||
var __vue_template__ = typeof __vue_render__ !== 'undefined' ? { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ } : {}; | ||
/* style */ | ||
var __vue_inject_styles__ = function (inject) { | ||
if (!inject) return; | ||
inject("data-v-5a8b00e0_0", { source: "\n.blueimp-gallery > .description {\n position: absolute;\n top: 30px;\n left: 15px;\n color: #fff;\n display: none;\n}\n.blueimp-gallery-controls > .description {\n display: block;\n}\n", map: undefined, media: undefined }); | ||
}; | ||
/* scoped */ | ||
var __vue_scope_id__ = undefined; | ||
/* module identifier */ | ||
var __vue_module_identifier__ = undefined; | ||
/* functional template */ | ||
var __vue_is_functional_template__ = false; | ||
/* component normalizer */ | ||
function __vue_normalize__(template, style, script$$1, scope, functional, moduleIdentifier, createInjector, createInjectorSSR) { | ||
var component = script$$1 || {}; | ||
{ | ||
component.__file = "/Users/igor/projects/vue-gallery/src/component/gallery.vue"; | ||
} | ||
}, | ||
destroyed: function destroyed() { | ||
if (this.instance !== null) { | ||
this.instance.close(); | ||
this.instance = null; | ||
if (!component.render) { | ||
component.render = template.render; | ||
component.staticRenderFns = template.staticRenderFns; | ||
component._compiled = true; | ||
if (functional) component.functional = true; | ||
} | ||
}, | ||
component._scopeId = scope; | ||
methods: { | ||
open: function open() { | ||
var _this = this; | ||
{ | ||
var hook = void 0; | ||
if (style) { | ||
hook = function hook(context) { | ||
style.call(this, createInjector(context)); | ||
}; | ||
} | ||
var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; | ||
if (hook !== undefined) { | ||
if (component.functional) { | ||
// register for functional component in vue file | ||
var originalRender = component.render; | ||
component.render = function renderWithStyleInjection(h, context) { | ||
hook.call(context); | ||
return originalRender(h, context); | ||
}; | ||
} else { | ||
// inject component registration as beforeCreate hook | ||
var existing = component.beforeCreate; | ||
component.beforeCreate = existing ? [].concat(existing, hook) : [hook]; | ||
} | ||
} | ||
} | ||
var instance = typeof blueimp.Gallery !== 'undefined' ? blueimp.Gallery : blueimp; | ||
return component; | ||
} | ||
/* style inject */ | ||
function __vue_create_injector__() { | ||
var head = document.head || document.getElementsByTagName('head')[0]; | ||
var styles = {}; | ||
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase()); | ||
var options = _extends({ | ||
toggleControlsOnReturn: false, | ||
toggleControlsOnSlideClick: false, | ||
closeOnSlideClick: false, | ||
carousel: this.carousel, | ||
container: '#' + this.id, | ||
index: index, | ||
onopen: function onopen() { | ||
return _this.$emit('onopen'); | ||
}, | ||
onopened: function onopened() { | ||
return _this.$emit('onopened'); | ||
}, | ||
onslide: this.onSlideCustom, | ||
onslideend: function onslideend(index, slide) { | ||
return _this.$emit('onslideend', { index: index, slide: slide }); | ||
}, | ||
onslidecomplete: function onslidecomplete(index, slide) { | ||
return _this.$emit('onslidecomplete', { index: index, slide: slide }); | ||
}, | ||
onclose: function onclose() { | ||
return _this.$emit('close'); | ||
}, | ||
onclosed: function onclosed() { | ||
return _this.$emit('onclosed'); | ||
return function addStyle(id, css) { | ||
if (document.querySelector('style[data-vue-ssr-id~="' + id + '"]')) return; // SSR styles are present. | ||
var group = isOldIE ? css.media || 'default' : id; | ||
var style = styles[group] || (styles[group] = { ids: [], parts: [], element: undefined }); | ||
if (!style.ids.includes(id)) { | ||
var code = css.source; | ||
var index = style.ids.length; | ||
style.ids.push(id); | ||
if (isOldIE) { | ||
style.element = style.element || document.querySelector('style[data-group=' + group + ']'); | ||
} | ||
}, this.options); | ||
if (this.carousel) { | ||
options.container = this.$el; | ||
} | ||
if (!style.element) { | ||
var el = style.element = document.createElement('style'); | ||
el.type = 'text/css'; | ||
this.instance = instance(this.images, options); | ||
}, | ||
onSlideCustom: function onSlideCustom(index, slide) { | ||
this.$emit('onslide', { index: index, slide: slide }); | ||
if (css.media) el.setAttribute('media', css.media); | ||
if (isOldIE) { | ||
el.setAttribute('data-group', group); | ||
el.setAttribute('data-next-index', '0'); | ||
} | ||
var image = this.images[index]; | ||
if (image !== undefined) { | ||
var text = image.description; | ||
var node = this.instance.container.find('.description'); | ||
if (text) { | ||
node.empty(); | ||
node[0].appendChild(document.createTextNode(text)); | ||
head.appendChild(el); | ||
} | ||
if (isOldIE) { | ||
index = parseInt(style.element.getAttribute('data-next-index')); | ||
style.element.setAttribute('data-next-index', index + 1); | ||
} | ||
if (style.element.styleSheet) { | ||
style.parts.push(code); | ||
style.element.styleSheet.cssText = style.parts.filter(Boolean).join('\n'); | ||
} else { | ||
var textNode = document.createTextNode(code); | ||
var nodes = style.element.childNodes; | ||
if (nodes[index]) style.element.removeChild(nodes[index]); | ||
if (nodes.length) style.element.insertBefore(textNode, nodes[index]);else style.element.appendChild(textNode); | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
}; | ||
/* style inject SSR */ | ||
return VueGallery$1; | ||
var VueGallery = __vue_normalize__(__vue_template__, __vue_inject_styles__, typeof __vue_script__ === 'undefined' ? {} : __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, typeof __vue_create_injector__ !== 'undefined' ? __vue_create_injector__ : function () {}, typeof __vue_create_injector_ssr__ !== 'undefined' ? __vue_create_injector_ssr__ : function () {}); | ||
return VueGallery; | ||
}))); |
@@ -1,1 +0,1 @@ | ||
!function(e,l){"object"==typeof exports&&"undefined"!=typeof module?module.exports=l(require("blueimp-gallery/css/blueimp-gallery.min.css"),require("blueimp-gallery/js/blueimp-gallery-fullscreen.js"),require("blueimp-gallery/js/blueimp-gallery-video.js"),require("blueimp-gallery/js/blueimp-gallery-youtube.js"),require("blueimp-gallery/js/blueimp-gallery.js")):"function"==typeof define&&define.amd?define(["blueimp-gallery/css/blueimp-gallery.min.css","blueimp-gallery/js/blueimp-gallery-fullscreen.js","blueimp-gallery/js/blueimp-gallery-video.js","blueimp-gallery/js/blueimp-gallery-youtube.js","blueimp-gallery/js/blueimp-gallery.js"],l):e.VueGallery=l(null,null,null,null,e.blueimp)}(this,function(e,l,t,i,n){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var s=Object.assign||function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e};return function(){if("undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style"),t=" .blueimp-gallery > .description { position: absolute; top: 30px; left: 15px; color: #fff; display: none; } .blueimp-gallery-controls > .description { display: block; } ";l.type="text/css",l.styleSheet?l.styleSheet.cssText=t:l.appendChild(document.createTextNode(t)),e.appendChild(l)}}(),{render:function(){var e=this,l=e.$createElement,t=e._self._c||l;return t("div",{staticClass:"blueimp-gallery blueimp-gallery-controls",class:{"blueimp-gallery-carousel":e.carousel},attrs:{id:e.id}},[t("div",{staticClass:"slides"}),e._v(" "),t("h3",{staticClass:"title"}),e._v(" "),t("p",{staticClass:"description"}),e._v(" "),t("a",{staticClass:"prev"},[e._v("‹")]),e._v(" "),t("a",{staticClass:"next"},[e._v("›")]),e._v(" "),e.carousel?e._e():t("a",{staticClass:"close"},[e._v("×")]),e._v(" "),e.carousel?e._e():t("ol",{staticClass:"indicator"}),e._v(" "),e.carousel?t("a",{staticClass:"play-pause"}):e._e()])},staticRenderFns:[],props:{images:{type:Array,default:function(){return[]}},options:{type:Object,default:function(){return{}}},carousel:{type:Boolean,default:!1},index:{type:Number},id:{type:String,default:"blueimp-gallery"}},data:function(){return{instance:null}},watch:{index:function(e){this.carousel||(null!==e?this.open(e):(this.instance&&this.instance.close(),this.$emit("close")))}},mounted:function(){this.carousel&&this.open()},destroyed:function(){null!==this.instance&&(this.instance.close(),this.instance=null)},methods:{open:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,l=void 0!==n.Gallery?n.Gallery:n,i=s({toggleControlsOnReturn:!1,toggleControlsOnSlideClick:!1,closeOnSlideClick:!1,carousel:this.carousel,container:"#"+this.id,index:e,onopen:function(){return t.$emit("onopen")},onopened:function(){return t.$emit("onopened")},onslide:this.onSlideCustom,onslideend:function(e,l){return t.$emit("onslideend",{index:e,slide:l})},onslidecomplete:function(e,l){return t.$emit("onslidecomplete",{index:e,slide:l})},onclose:function(){return t.$emit("close")},onclosed:function(){return t.$emit("onclosed")}},this.options);this.carousel&&(i.container=this.$el),this.instance=l(this.images,i)},onSlideCustom:function(e,l){this.$emit("onslide",{index:e,slide:l});var t=this.images[e];if(void 0!==t){var i=t.description,n=this.instance.container.find(".description");i&&(n.empty(),n[0].appendChild(document.createTextNode(i)))}}}}}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("blueimp-gallery/css/blueimp-gallery.min.css"),require("blueimp-gallery/js/blueimp-gallery-fullscreen.js"),require("blueimp-gallery/js/blueimp-gallery-video.js"),require("blueimp-gallery/js/blueimp-gallery-youtube.js"),require("blueimp-gallery/js/blueimp-gallery.js")):"function"==typeof define&&define.amd?define(["blueimp-gallery/css/blueimp-gallery.min.css","blueimp-gallery/js/blueimp-gallery-fullscreen.js","blueimp-gallery/js/blueimp-gallery-video.js","blueimp-gallery/js/blueimp-gallery-youtube.js","blueimp-gallery/js/blueimp-gallery.js"],t):e.VueGallery=t(null,null,null,null,e.blueimp)}(this,function(e,t,n,i,l){"use strict";l=l&&l.hasOwnProperty("default")?l.default:l;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r={props:{images:{type:Array,default:function(){return[]}},options:{type:Object,default:function(){return{}}},carousel:{type:Boolean,default:!1},index:{type:Number},id:{type:String,default:"blueimp-gallery"}},data:function(){return{instance:null}},watch:{index:function(e){this.carousel||(null!==e?this.open(e):(this.instance&&this.instance.close(),this.$emit("close")))}},mounted:function(){this.carousel&&this.open()},destroyed:function(){null!==this.instance&&(this.instance.close(),this.instance=null)},methods:{open:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=void 0!==l.Gallery?l.Gallery:l,i=s({toggleControlsOnReturn:!1,toggleControlsOnSlideClick:!1,closeOnSlideClick:!1,carousel:this.carousel,container:"#"+this.id,index:t,onopen:function(){return e.$emit("onopen")},onopened:function(){return e.$emit("onopened")},onslide:this.onSlideCustom,onslideend:function(t,n){return e.$emit("onslideend",{index:t,slide:n})},onslidecomplete:function(t,n){return e.$emit("onslidecomplete",{index:t,slide:n})},onclose:function(){return e.$emit("close")},onclosed:function(){return e.$emit("onclosed")}},this.options);this.carousel&&(i.container=this.$el),this.instance=n(this.images,i)},onSlideCustom:function(e,t){this.$emit("onslide",{index:e,slide:t});var n=this.images[e];if(void 0!==n){var i=n.description,l=this.instance.container.find(".description");i&&(l.empty(),l[0].appendChild(document.createTextNode(i)))}}}},a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"blueimp-gallery blueimp-gallery-controls",class:{"blueimp-gallery-carousel":e.carousel},attrs:{id:e.id}},[n("div",{staticClass:"slides"}),e._v(" "),n("h3",{staticClass:"title"}),e._v(" "),n("p",{staticClass:"description"}),e._v(" "),n("a",{staticClass:"prev"},[e._v("‹")]),e._v(" "),n("a",{staticClass:"next"},[e._v("›")]),e._v(" "),e.carousel?e._e():n("a",{staticClass:"close"},[e._v("×")]),e._v(" "),e.carousel?e._e():n("ol",{staticClass:"indicator"}),e._v(" "),e.carousel?n("a",{staticClass:"play-pause"}):e._e()])};function o(){var e=document.head||document.getElementsByTagName("head")[0],t={},n="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(i,l){if(!document.querySelector('style[data-vue-ssr-id~="'+i+'"]')){var s=n?l.media||"default":i,r=t[s]||(t[s]={ids:[],parts:[],element:void 0});if(!r.ids.includes(i)){var a=l.source,o=r.ids.length;if(r.ids.push(i),l.map&&(a+="\n/*# sourceURL="+l.map.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(l.map))))+" */"),n&&(r.element=r.element||document.querySelector("style[data-group="+s+"]")),!r.element){var u=r.element=document.createElement("style");u.type="text/css",l.media&&u.setAttribute("media",l.media),n&&(u.setAttribute("data-group",s),u.setAttribute("data-next-index","0")),e.appendChild(u)}if(n&&(o=parseInt(r.element.getAttribute("data-next-index")),r.element.setAttribute("data-next-index",o+1)),r.element.styleSheet)r.parts.push(a),r.element.styleSheet.cssText=r.parts.filter(Boolean).join("\n");else{var c=document.createTextNode(a),d=r.element.childNodes;d[o]&&r.element.removeChild(d[o]),d.length?r.element.insertBefore(c,d[o]):r.element.appendChild(c)}}}}}return function(e,t,n,i,l,s,r,a){var o=n||{};o.render||(o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._compiled=!0,l&&(o.functional=!0)),o._scopeId=i;var u=void 0;if(t&&(u=function(e){t.call(this,r(e))}),void 0!==u)if(o.functional){var c=o.render;o.render=function(e,t){return u.call(t),c(e,t)}}else{var d=o.beforeCreate;o.beforeCreate=d?[].concat(d,u):[u]}return o}({render:a,staticRenderFns:[]},function(e){e&&e("data-v-5f3ba104_0",{source:"\n.blueimp-gallery>.description{position:absolute;top:30px;left:15px;color:#fff;display:none\n}\n.blueimp-gallery-controls>.description{display:block\n}",map:void 0,media:void 0})},void 0===r?{}:r,void 0,!1,0,o,"undefined"!=typeof __vue_create_injector_ssr__&&__vue_create_injector_ssr__)}); |
{ | ||
"name": "vue-gallery", | ||
"version": "1.3.2", | ||
"version": "1.3.5", | ||
"description": "VueJS responsive and customizable image and video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers.", | ||
@@ -53,6 +53,6 @@ "main": "dist/js/vue-gallery.js", | ||
"eslint": "^4.6.1", | ||
"rollup": "^0.53.3", | ||
"rollup": "^0.58.2", | ||
"rollup-plugin-babel": "^3.0.2", | ||
"rollup-plugin-uglify": "^2.0.1", | ||
"rollup-plugin-vue": "^3.0.0", | ||
"rollup-plugin-uglify": "^3.0.0", | ||
"rollup-plugin-vue": "4.0.1", | ||
"vue-template-compiler": "^2.5.4" | ||
@@ -59,0 +59,0 @@ }, |
@@ -8,3 +8,2 @@ <p align="center"> | ||
<a href="https://github.com/RobinCK/vue-gallery"><img src="https://img.shields.io/badge/vuejs-2.x-brightgreen.svg?style=flat-square"></a> | ||
<a href="https://codeclimate.com/github/RobinCK/vue-gallery"><img src="https://img.shields.io/codeclimate/github/RobinCK/vue-gallery.svg?style=flat-square"></a> | ||
<a href="https://www.npmjs.com/package/vue-gallery"><img src="https://img.shields.io/npm/dt/vue-gallery.svg?style=flat-square"></a> | ||
@@ -22,2 +21,4 @@ </p> | ||
# vue-gallery | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/RobinCK/vue-gallery.svg)](https://greenkeeper.io/) | ||
:camera: VueJS responsive and customizable image and video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers. | ||
@@ -24,0 +25,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
171
103051
16
301
1