lightgallery 2.7.2-beta.1 → 2.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/lg-settings.d.ts +3 -1
  2. package/lib/lg-settings.js +1 -0
  3. package/lib/lg-settings.js.map +1 -1
  4. package/lib/lightgallery.js +3 -1
  5. package/lib/lightgallery.js.map +1 -1
  6. package/lightgallery.es5.js +5 -2
  7. package/lightgallery.es5.js.map +1 -1
  8. package/lightgallery.min.js +2 -2
  9. package/lightgallery.umd.js +5 -2
  10. package/lightgallery.umd.js.map +1 -1
  11. package/lit/lightgallery.esm.js +3 -3
  12. package/lit/lightgallery.umd.js +2 -2
  13. package/package.json +1 -1
  14. package/plugins/autoplay/lg-autoplay.es5.js +1 -1
  15. package/plugins/autoplay/lg-autoplay.min.js +1 -1
  16. package/plugins/autoplay/lg-autoplay.umd.js +1 -1
  17. package/plugins/comment/lg-comment.es5.js +1 -1
  18. package/plugins/comment/lg-comment.min.js +1 -1
  19. package/plugins/comment/lg-comment.umd.js +1 -1
  20. package/plugins/fullscreen/lg-fullscreen.es5.js +1 -1
  21. package/plugins/fullscreen/lg-fullscreen.min.js +1 -1
  22. package/plugins/fullscreen/lg-fullscreen.umd.js +1 -1
  23. package/plugins/hash/lg-hash.es5.js +1 -1
  24. package/plugins/hash/lg-hash.min.js +1 -1
  25. package/plugins/hash/lg-hash.umd.js +1 -1
  26. package/plugins/mediumZoom/lg-medium-zoom.es5.js +1 -1
  27. package/plugins/mediumZoom/lg-medium-zoom.min.js +1 -1
  28. package/plugins/mediumZoom/lg-medium-zoom.umd.js +1 -1
  29. package/plugins/pager/lg-pager.es5.js +1 -1
  30. package/plugins/pager/lg-pager.min.js +1 -1
  31. package/plugins/pager/lg-pager.umd.js +1 -1
  32. package/plugins/relativeCaption/lg-relative-caption.es5.js +1 -1
  33. package/plugins/relativeCaption/lg-relative-caption.min.js +1 -1
  34. package/plugins/relativeCaption/lg-relative-caption.umd.js +1 -1
  35. package/plugins/rotate/lg-rotate.es5.js +1 -1
  36. package/plugins/rotate/lg-rotate.min.js +1 -1
  37. package/plugins/rotate/lg-rotate.umd.js +1 -1
  38. package/plugins/share/lg-share.es5.js +1 -1
  39. package/plugins/share/lg-share.min.js +1 -1
  40. package/plugins/share/lg-share.umd.js +1 -1
  41. package/plugins/thumbnail/lg-thumbnail.es5.js +1 -1
  42. package/plugins/thumbnail/lg-thumbnail.min.js +1 -1
  43. package/plugins/thumbnail/lg-thumbnail.umd.js +1 -1
  44. package/plugins/video/lg-video.es5.js +1 -1
  45. package/plugins/video/lg-video.min.js +1 -1
  46. package/plugins/video/lg-video.umd.js +1 -1
  47. package/plugins/vimeoThumbnail/lg-vimeo-thumbnail.es5.js +1 -1
  48. package/plugins/vimeoThumbnail/lg-vimeo-thumbnail.min.js +1 -1
  49. package/plugins/vimeoThumbnail/lg-vimeo-thumbnail.umd.js +1 -1
  50. package/plugins/zoom/lg-zoom.es5.js +1 -1
  51. package/plugins/zoom/lg-zoom.min.js +1 -1
  52. package/plugins/zoom/lg-zoom.umd.js +1 -1
  53. package/react/Lightgallery.es5.js +5 -2
  54. package/react/Lightgallery.es5.js.map +1 -1
  55. package/react/Lightgallery.umd.js +5 -2
  56. package/react/Lightgallery.umd.js.map +1 -1
  57. package/vue/LightGallery.vue.d.ts +3 -37
  58. package/vue/LightGalleryVue.common.js +3 -2
  59. package/vue/LightGalleryVue.common.js.map +1 -1
  60. package/vue/LightGalleryVue.umd.js +3 -2
  61. package/vue/LightGalleryVue.umd.js.map +1 -1
  62. package/vue/LightGalleryVue.umd.min.js +2 -2
  63. package/vue/LightGalleryVue.umd.min.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lightgallery",
3
- "version": "2.7.2-beta.1",
3
+ "version": "2.7.2",
4
4
  "description": "lightGallery is a feature-rich, modular JavaScript gallery plugin for building beautiful image and video galleries for the web and the mobile",
5
5
  "keywords": [
6
6
  "JavaScript",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
2
+ * lightgallery | 2.7.2 | September 20th 2023
3
3
  * http://www.lightgalleryjs.com/
4
4
  * Copyright (c) 2020 Sachin Neravath;
5
5
  * @license GPLv3
@@ -28,7 +28,7 @@ function __rest(s, e) {
28
28
  }
29
29
 
30
30
  /*!
31
- * lightgallery | 2.7.2-beta.1 | June 13th 2023
31
+ * lightgallery | 2.7.2 | September 20th 2023
32
32
  * http://www.lightgalleryjs.com/
33
33
  * Copyright (c) 2020 Sachin Neravath;
34
34
  * @license GPLv3
@@ -178,6 +178,7 @@ var lightGalleryCoreSettings = {
178
178
  nextSlide: 'Next slide',
179
179
  download: 'Download',
180
180
  playVideo: 'Play video',
181
+ mediaLoadingFailed: 'Oops... Failed to load content...',
181
182
  },
182
183
  };
183
184
 
@@ -1585,7 +1586,9 @@ var LightGallery = /** @class */ (function () {
1585
1586
  _this.triggerSlideItemLoad(currentSlide, index, delay, speed, isFirstSlide);
1586
1587
  }, function () {
1587
1588
  currentSlide.addClass('lg-complete lg-complete_');
1588
- currentSlide.html('<span class="lg-error-msg">Oops... Failed to load content...</span>');
1589
+ currentSlide.html('<span class="lg-error-msg">' +
1590
+ _this.settings.strings['mediaLoadingFailed'] +
1591
+ '</span>');
1589
1592
  });
1590
1593
  };
1591
1594
  LightGallery.prototype.triggerSlideItemLoad = function ($currentSlide, index, delay, speed, isFirstSlide) {