@xuda.io/xuda-widget-plugin-xuda-drive 1.0.107 → 1.0.109

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.
package/dist/runtime.mjs CHANGED
@@ -76981,30 +76981,37 @@ async function viewer(I, M) {
76981
76981
  </template>
76982
76982
 
76983
76983
  <div v-if="view === 'slider'" class="relative flex items-center justify-between py-4 px-4 flex-1 h-full overflow-hidden">
76984
- <div v-if="options.navigation" class="absolute inset-y-0 left-6 z-10 flex items-center">
76985
- <button @click="options.direction === 'rtl' ? swiper.slideNext() : swiper.slidePrev()" class="bg-white -ml-2 lg:-ml-4 flex justify-center items-center w-10 h-10 rounded-full shadow focus:outline-none">
76986
- <svg viewBox="0 0 20 20" fill="currentColor" class="chevron-left w-6 h-6"><path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg>
76987
- </button>
76984
+
76985
+ <div v-if="loadingSearch" class="absolute bg-white/80 inset-0 grid place-items-center size-full">
76986
+ <sepcial-loader class="size-8"/>
76988
76987
  </div>
76989
76988
 
76990
- <div class="swiper-container flex-1 w-full h-full" :dir="options.direction || 'ltr'" ref="swiper-container">
76991
- <div class="swiper-wrapper">
76992
- <!-- Slides -->
76993
- <template v-for="file in files" hidden>
76994
- <div class="swiper-slide">
76995
- <a data-fslightbox="gallery" :href="file.access_link" class="flex-shrink-0">
76996
- <img class="h-full w-full object-cover" :src="file.access_link" :alt="file.name" />
76997
- </a>
76998
- </div>
76999
- </template>
76989
+
76990
+ <div v-if="options.navigation" class="absolute inset-y-0 left-6 z-10 flex items-center">
76991
+ <button @click="options.direction === 'rtl' ? swiper.slideNext() : swiper.slidePrev()" class="bg-white -ml-2 lg:-ml-4 flex justify-center items-center w-10 h-10 rounded-full shadow focus:outline-none">
76992
+ <svg viewBox="0 0 20 20" fill="currentColor" class="chevron-left w-6 h-6"><path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg>
76993
+ </button>
77000
76994
  </div>
77001
- </div>
77002
76995
 
77003
- <div v-if="options.navigation" class="absolute inset-y-0 right-6 z-10 flex items-center">
77004
- <button @click="options.direction === 'rtl' ? swiper.slidePrev() : swiper.slideNext()" class="bg-white -mr-2 lg:-mr-4 flex justify-center items-center w-10 h-10 rounded-full shadow focus:outline-none">
77005
- <svg viewBox="0 0 20 20" fill="currentColor" class="chevron-right w-6 h-6"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd"></path></svg>
77006
- </button>
77007
- </div>
76996
+ <div class="swiper-container flex-1 w-full h-full" :dir="options.direction || 'ltr'" ref="swiper-container">
76997
+ <div class="swiper-wrapper">
76998
+ <!-- Slides -->
76999
+ <template v-for="file in files" hidden>
77000
+ <div class="swiper-slide">
77001
+ <a data-fslightbox="gallery" :href="file.access_link" class="flex-shrink-0">
77002
+ <img class="h-full w-full object-cover" :src="file.access_link" :alt="file.name" />
77003
+ </a>
77004
+ </div>
77005
+ </template>
77006
+ </div>
77007
+ </div>
77008
+
77009
+ <div v-if="options.navigation" class="absolute inset-y-0 right-6 z-10 flex items-center">
77010
+ <button @click="options.direction === 'rtl' ? swiper.slidePrev() : swiper.slideNext()" class="bg-white -mr-2 lg:-mr-4 flex justify-center items-center w-10 h-10 rounded-full shadow focus:outline-none">
77011
+ <svg viewBox="0 0 20 20" fill="currentColor" class="chevron-right w-6 h-6"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd"></path></svg>
77012
+ </button>
77013
+ </div>
77014
+
77008
77015
  </div>
77009
77016
  </div>
77010
77017
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-widget-plugin-xuda-drive",
3
- "version": "1.0.107",
3
+ "version": "1.0.109",
4
4
  "description": "Xuda Drive widget plugin",
5
5
  "scripts": {
6
6
  "pub": "npm version patch --force && npm publish --access public",
package/src/runtime.mjs CHANGED
@@ -718,10 +718,11 @@ export async function viewer(fields, e) {
718
718
 
719
719
  <div v-if="view === 'slider'" class="relative flex items-center justify-between py-4 px-4 flex-1 h-full overflow-hidden">
720
720
 
721
- <div v-if="loadingSearch" class="grid place-items-center size-full">
721
+ <div v-if="loadingSearch" class="absolute bg-white/80 inset-0 grid place-items-center size-full">
722
722
  <sepcial-loader class="size-8"/>
723
723
  </div>
724
- <template v-else>
724
+
725
+
725
726
  <div v-if="options.navigation" class="absolute inset-y-0 left-6 z-10 flex items-center">
726
727
  <button @click="options.direction === 'rtl' ? swiper.slideNext() : swiper.slidePrev()" class="bg-white -ml-2 lg:-ml-4 flex justify-center items-center w-10 h-10 rounded-full shadow focus:outline-none">
727
728
  <svg viewBox="0 0 20 20" fill="currentColor" class="chevron-left w-6 h-6"><path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg>
@@ -746,7 +747,7 @@ export async function viewer(fields, e) {
746
747
  <svg viewBox="0 0 20 20" fill="currentColor" class="chevron-right w-6 h-6"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd"></path></svg>
747
748
  </button>
748
749
  </div>
749
- </template>
750
+
750
751
  </div>
751
752
  </div>
752
753