PluginProbe ʕ •ᴥ•ʔ
Responsive Lightbox & Gallery / 2.5.3
Responsive Lightbox & Gallery v2.5.3
2.7.8 trunk 1.0.0 1.0.1 1.0.1.1 1.0.2 1.0.3 1.0.4 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.4.0 1.4.0.1 1.4.1 1.4.11 1.4.12 1.4.13 1.4.14 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.1 1.6.10 1.6.11 1.6.12 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.3.1 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.6.0 2.6.1 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7
responsive-lightbox / js / gutenberg.min.js
responsive-lightbox / js Last commit date
admin-folders.js 9 months ago admin-galleries.js 3 years ago admin-gallery.js 4 years ago admin-media.js 1 year ago admin-plugins.js 3 years ago admin-widgets.js 3 years ago admin.js 3 years ago front-basicmasonry.js 3 years ago front-basicslider.js 1 year ago front.js 9 months ago gutenberg.min.js 4 years ago
gutenberg.min.js
7 lines
1 !function(l){var r={};function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return l[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}n.m=l,n.c=r,n.d=function(e,t,l){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},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(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var l=Object.create(null);if(n.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(l,r,function(e){return t[e]}.bind(null,r));return l},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=0)}([function(e,t,l){var o=l(1),r=void 0===wp.blockEditor?wp.editor:wp.blockEditor,i=r.MediaUpload,s=r.MediaUploadCheck,c=r.BlockControls,n=wp.components,m=n.Button,p=n.Dashicon,u=n.ToolbarButton,a=n.ToolbarGroup,d=n.Toolbar,g=wp.blocks.registerBlockType,b=wp.i18n.__,y=void 0===a?d:a;g("responsive-lightbox/remote-library-image",{title:b("Remote Library Image"),description:b("Remote Library images"),icon:"format-image",category:"responsive-lightbox",keywords:[b("image"),b("photo")],attributes:{imageURL:{type:"string",default:""},imageID:{type:"integer",default:""}},edit:function(e){var t=e.setAttributes,l=e.attributes,r=""!==l.imageURL,n=o("components-placeholder",e.className,r?"rl-image-selected":"");function a(e){t({imageURL:e.sizes.full.url,imageID:e.id})}return wp.element.createElement("div",null,wp.element.createElement(c,null,r&&wp.element.createElement(y,null,wp.element.createElement(s,null,wp.element.createElement(i,{title:b("Remote Library Images"),addToGallery:!0,gallery:!0,multiple:!1,onSelect:a,allowedTypes:["image"],value:l.imageID,render:function(e){var t=e.open;return wp.element.createElement(u,{className:["components-toolbar__control","rl-remote-library-media-button"],label:b("Edit image"),icon:"edit",onClick:t})}})))),wp.element.createElement("div",{className:n},wp.element.createElement("div",{className:"components-placeholder__label"},wp.element.createElement(p,{icon:"format-image"}),b("Responsive Lightbox | Remote Library Image")),wp.element.createElement("div",{className:"components-placeholder__instructions"},b("Select a file from your remote libraries.")),wp.element.createElement("div",{className:"components-placeholder__fieldset"},wp.element.createElement(s,null,wp.element.createElement(i,{title:b("Remote Library Images"),addToGallery:!0,gallery:!0,multiple:!1,onSelect:a,allowedTypes:["image"],value:l.imageID,render:function(e){var t=e.open;return wp.element.createElement(m,{className:["is-button","is-secondary","is-default","is-large","editor-media-placeholder__button","editor-media-placeholder__media-library-button","rl-remote-library-media-button"],onClick:function(){t()}},b("Select image"))}}))),wp.element.createElement("img",{className:"rl-block-image-preview",src:l.imageURL})))},save:function(e){var t=e.attributes;return wp.element.createElement("figure",{className:"rl-image wp-block-image"},wp.element.createElement("img",{src:t.imageURL}))}}),g("responsive-lightbox/gallery",{title:b("Gallery"),description:b("Galleries"),icon:"format-gallery",category:"responsive-lightbox",keywords:[b("images"),b("photos"),b("gallery")],attributes:{imageURL:{type:"string",default:""},galleryID:{type:"integer",default:0}},edit:function(e){var t=e.setAttributes,l=e.attributes,r=0!==l.galleryID,n=o("components-placeholder",e.className,r?"rl-gallery-selected":"");function a(){t({imageURL:ResponsiveLightboxGallery.lastGalleryImage,galleryID:parseInt(ResponsiveLightboxGallery.lastGalleryID)}),this.removeEventListener("click",a)}return wp.element.createElement("div",null,wp.element.createElement(c,null,r&&wp.element.createElement(y,null,wp.element.createElement(u,{className:["components-toolbar__control","rl-gallery-media-button"],label:b("Edit gallery"),icon:"edit",onClick:function(){ResponsiveLightboxGallery.resetFilters=!0,ResponsiveLightboxGallery.open(l.galleryID),ResponsiveLightboxGallery.getModalButton().addEventListener("click",a)}}))),wp.element.createElement("div",{className:n},wp.element.createElement("div",{className:"components-placeholder__label"},wp.element.createElement(p,{icon:"format-image"}),b("Responsive Lightbox | Gallery")),wp.element.createElement("div",{className:"components-placeholder__instructions"},b("Select a gallery.")),wp.element.createElement("div",{className:"components-placeholder__fieldset"},wp.element.createElement(m,{className:["is-button","is-secondary","is-default","is-large","editor-media-placeholder__button","editor-media-placeholder__media-library-button","rl-gallery-media-button"],onClick:function(){ResponsiveLightboxGallery.resetFilters=!0,ResponsiveLightboxGallery.open(),ResponsiveLightboxGallery.getModalButton().addEventListener("click",a)}},b("Select gallery"))),wp.element.createElement("img",{className:"rl-block-image-preview",src:l.imageURL})))},save:function(e){var t=e.attributes;return wp.element.createElement("div",null,'[rl_gallery id="',t.galleryID,'"]')}})},function(e,t,l){var r;
2 /*!
3 Copyright (c) 2018 Jed Watson.
4 Licensed under the MIT License (MIT), see
5 http://jedwatson.github.io/classnames
6 */
7 !function(){"use strict";var o={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var r=typeof l;if("string"==r||"number"==r)e.push(l);else if(Array.isArray(l)){if(l.length){var n=i.apply(null,l);n&&e.push(n)}}else if("object"==r)if(l.toString===Object.prototype.toString)for(var a in l)o.call(l,a)&&l[a]&&e.push(a);else e.push(l.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()}]);