Socket
Socket
Sign inDemoInstall

vue-gallery

Package Overview
Dependencies
1
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.5 to 1.4.0

2

build/rollup.config.js
import vue from 'rollup-plugin-vue';
import babel from 'rollup-plugin-babel';
import uglify from 'rollup-plugin-uglify';
import { uglify } from 'rollup-plugin-uglify';

@@ -5,0 +5,0 @@ export default {

@@ -149,3 +149,3 @@ (function (global, factory) {

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()]);
}, [_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("X")]) : _vm._e(), _vm._v(" "), !_vm.carousel ? _c("ol", { staticClass: "indicator" }) : _vm._e(), _vm._v(" "), _vm.carousel ? _c("a", { staticClass: "play-pause" }) : _vm._e()]);
};

@@ -159,3 +159,3 @@ var __vue_staticRenderFns__ = [];

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 });
inject("data-v-e8a6f70e_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 });
};

@@ -170,6 +170,6 @@ /* scoped */

function __vue_normalize__(template, style, script$$1, scope, functional, moduleIdentifier, createInjector, createInjectorSSR) {
var component = script$$1 || {};
var component = (typeof script$$1 === 'function' ? script$$1.options : script$$1) || {};
{
component.__file = "/Users/igor/projects/vue-gallery/src/component/gallery.vue";
component.__file = "/Users/user/projects/vue-gallery/src/component/gallery.vue";
}

@@ -216,3 +216,3 @@

var head = document.head || document.getElementsByTagName('head')[0];
var styles = {};
var styles = __vue_create_injector__.styles || (__vue_create_injector__.styles = {});
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());

@@ -219,0 +219,0 @@

@@ -1,1 +0,1 @@

!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__)});
!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 n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=void 0!==l.Gallery?l.Gallery:l,i=s({toggleControlsOnReturn:!1,toggleControlsOnSlideClick:!1,closeOnSlideClick:!1,carousel:this.carousel,container:"#"+this.id,index:e,onopen:function(){return n.$emit("onopen")},onopened:function(){return n.$emit("onopened")},onslide:this.onSlideCustom,onslideend:function(e,t){return n.$emit("onslideend",{index:e,slide:t})},onslidecomplete:function(e,t){return n.$emit("onslidecomplete",{index:e,slide:t})},onclose:function(){return n.$emit("close")},onclosed:function(){return n.$emit("onclosed")}},this.options);this.carousel&&(i.container=this.$el),this.instance=t(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)))}}}},o=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("X")]),e._v(" "),e.carousel?e._e():n("ol",{staticClass:"indicator"}),e._v(" "),e.carousel?n("a",{staticClass:"play-pause"}):e._e()])};function a(){var u=document.head||document.getElementsByTagName("head")[0],c=a.styles||(a.styles={}),d="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,t){if(!document.querySelector('style[data-vue-ssr-id~="'+e+'"]')){var n=d?t.media||"default":e,i=c[n]||(c[n]={ids:[],parts:[],element:void 0});if(!i.ids.includes(e)){var l=t.source,s=i.ids.length;if(i.ids.push(e),t.map&&(l+="\n/*# sourceURL="+t.map.sources[0]+" */",l+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),d&&(i.element=i.element||document.querySelector("style[data-group="+n+"]")),!i.element){var r=i.element=document.createElement("style");r.type="text/css",t.media&&r.setAttribute("media",t.media),d&&(r.setAttribute("data-group",n),r.setAttribute("data-next-index","0")),u.appendChild(r)}if(d&&(s=parseInt(i.element.getAttribute("data-next-index")),i.element.setAttribute("data-next-index",s+1)),i.element.styleSheet)i.parts.push(l),i.element.styleSheet.cssText=i.parts.filter(Boolean).join("\n");else{var o=document.createTextNode(l),a=i.element.childNodes;a[s]&&i.element.removeChild(a[s]),a.length?i.element.insertBefore(o,a[s]):i.element.appendChild(o)}}}}}return function(e,t,n,i,l,s,r,o){var a=("function"==typeof n?n.options:n)||{};a.render||(a.render=e.render,a.staticRenderFns=e.staticRenderFns,a._compiled=!0,l&&(a.functional=!0)),a._scopeId=i;var u=void 0;if(t&&(u=function(e){t.call(this,r(e))}),void 0!==u)if(a.functional){var c=a.render;a.render=function(e,t){return u.call(t),c(e,t)}}else{var d=a.beforeCreate;a.beforeCreate=d?[].concat(d,u):[u]}return a}(void 0!==o?{render:o,staticRenderFns:[]}:{},function(e){e&&e("data-v-2a8ba01d_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,void 0!==a?a:function(){},"undefined"!=typeof __vue_create_injector_ssr__&&__vue_create_injector_ssr__)});
{
"name": "vue-gallery",
"version": "1.3.5",
"version": "1.4.0",
"description": "VueJS responsive and customizable image and video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers.",

@@ -42,3 +42,3 @@ "main": "dist/js/vue-gallery.js",

"dependencies": {
"blueimp-gallery": "^2.27.0"
"blueimp-gallery": "^2.33.0"
},

@@ -54,6 +54,6 @@ "devDependencies": {

"eslint": "^4.6.1",
"rollup": "^0.58.2",
"rollup": "^0.60.2",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-uglify": "^3.0.0",
"rollup-plugin-vue": "4.0.1",
"rollup-plugin-uglify": "^4.0.0",
"rollup-plugin-vue": "4.2.0",
"vue-template-compiler": "^2.5.4"

@@ -60,0 +60,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc