chore(lib): update lightgallery 1.2.0 -> 2.4.0
This commit is contained in:
@@ -21,13 +21,11 @@ libFiles:
|
||||
objectFitImagesJS: object-fit-images@3.2.4/dist/ofi.min.js
|
||||
# twemoji@14.0.2 https://github.com/twitter/twemoji
|
||||
twemojiJS: twemoji@14.0.2/dist/twemoji.min.js
|
||||
# lightgallery.js@1.2.0 https://github.com/sachinchoolur/lightgallery.js
|
||||
# lg-thumbnail.js@1.2.0 https://github.com/sachinchoolur/lg-thumbnail.js
|
||||
# lg-zoom.js@1.2.0 https://github.com/sachinchoolur/lg-zoom.js
|
||||
lightgalleryCSS: lightgallery.js@1.2.0/dist/css/lightgallery.min.css
|
||||
lightgalleryJS: lightgallery.js@1.2.0/dist/js/lightgallery.min.js
|
||||
lightgalleryThumbnailJS: lg-thumbnail.js@1.2.0/dist/lg-thumbnail.min.js
|
||||
lightgalleryZoomJS: lg-zoom.js@1.2.0/dist/lg-zoom.min.js
|
||||
# lightgallery@2.4.0 https://github.com/sachinchoolur/lightgallery
|
||||
lightgalleryCSS: lightgallery@2.4.0/css/lightgallery-bundle.min.css
|
||||
lightgalleryJS: lightgallery@2.4.0/lightgallery.min.js
|
||||
lightgalleryThumbnailJS: lightgallery@2.4.0/plugins/thumbnail/lg-thumbnail.min.js
|
||||
lightgalleryZoomJS: lightgallery@2.4.0/plugins/zoom/lg-zoom.min.js
|
||||
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
|
||||
clipboardJS: clipboard@2.0.11/dist/clipboard.min.js
|
||||
# sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
|
||||
|
||||
@@ -454,7 +454,19 @@ var Theme = /*#__PURE__*/function () {
|
||||
}, {
|
||||
key: "initLightGallery",
|
||||
value: function initLightGallery() {
|
||||
if (this.config.lightGallery) lightGallery(document.getElementById('content'), this.config.lightGallery);
|
||||
if (this.config.lightgallery) lightGallery(document.getElementById('content'), {
|
||||
plugins: [lgThumbnail, lgZoom],
|
||||
selector: '.lightgallery',
|
||||
speed: 400,
|
||||
hideBarsDelay: 2000,
|
||||
allowMediaOverlap: true,
|
||||
exThumbImage: 'data-thumbnail',
|
||||
toggleThumb: true,
|
||||
thumbWidth: 80,
|
||||
thumbHeight: '60px',
|
||||
actualSize: false,
|
||||
showZoomInOutIcons: true
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "initHighlight",
|
||||
|
||||
@@ -9,9 +9,7 @@ lazysizes@5.3.1 https://github.com/aFarkas/lazysizes
|
||||
object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
|
||||
twemoji@14.0.2 https://github.com/twitter/twemoji
|
||||
emoji-data@14.0.0 https://github.com/iamcal/emoji-data
|
||||
lightgallery.js@1.2.0 https://github.com/sachinchoolur/lightgallery.js
|
||||
lg-thumbnail.js@1.2.0 https://github.com/sachinchoolur/lg-thumbnail.js
|
||||
lg-zoom.js@1.2.0 https://github.com/sachinchoolur/lg-zoom.js
|
||||
lightgallery@2.4.0 https://github.com/sachinchoolur/lightgallery
|
||||
clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
|
||||
sharer.js@0.4.0 https://github.com/ellisonleao/sharer.js
|
||||
typeit@8.5.4 https://github.com/alexmacarthur/typeit
|
||||
|
||||
7
assets/lib/lightgallery/lg-thumbnail.min.js
vendored
7
assets/lib/lightgallery/lg-thumbnail.min.js
vendored
File diff suppressed because one or more lines are too long
7
assets/lib/lightgallery/lg-zoom.min.js
vendored
7
assets/lib/lightgallery/lg-zoom.min.js
vendored
File diff suppressed because one or more lines are too long
2
assets/lib/lightgallery/lightgallery.min.css
vendored
2
assets/lib/lightgallery/lightgallery.min.css
vendored
File diff suppressed because one or more lines are too long
13
assets/lib/lightgallery/lightgallery.min.js
vendored
Normal file → Executable file
13
assets/lib/lightgallery/lightgallery.min.js
vendored
Normal file → Executable file
File diff suppressed because one or more lines are too long
8
assets/lib/lightgallery/plugins/lg-thumbnail.min.js
vendored
Executable file
8
assets/lib/lightgallery/plugins/lg-thumbnail.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
8
assets/lib/lightgallery/plugins/lg-zoom.min.js
vendored
Executable file
8
assets/lib/lightgallery/plugins/lg-zoom.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user