@myissue/vue-website-page-builder 3.3.86 → 3.3.88

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.
@@ -24,6 +24,7 @@ const getUnsplashImages = ref([])
24
24
 
25
25
  const fetchUnsplash = async function () {
26
26
  getIsLoading.value = true
27
+ await delay(300)
27
28
  localStorage.setItem('unsplash-query', getSearchTerm.value)
28
29
  localStorage.setItem('unsplash-page', getCurrentPageNumber.value)
29
30
 
@@ -120,281 +121,269 @@ onMounted(async () => {
120
121
  </script>
121
122
 
122
123
  <template>
123
- <div v-if="getIsLoading || isLoading">
124
- <div class="pbx-flex pbx-items-center pbx-justify-center">
125
- <div
126
- class="pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent pbx-align-[-0.125em] motion-reduce:pbx-animate-[spin_1.5s_linear_infinite]"
127
- >
128
- <span
129
- class="!pbx-absolute !pbx-m-px !pbx-h-px !pbx-w-px !pbx-overflow-hidden !pbx-whitespace-nowrap !pbx-border-0 !pbx-p-0 !pbx-[clip:rect(0,0,0,0)]"
130
- >{{ translate('Loading...') }}</span
124
+ <div>
125
+ <div v-if="getIsLoading || isLoading" class="pbx-min-h-[98vh] pbx-h-[98vh]">
126
+ <div class="pbx-flex pbx-items-center pbx-justify-center">
127
+ <div
128
+ class="pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent pbx-align-[-0.125em] motion-reduce:pbx-animate-[spin_1.5s_linear_infinite]"
131
129
  >
130
+ <span
131
+ class="!pbx-absolute !pbx-m-px !pbx-h-px !pbx-w-px !pbx-overflow-hidden !pbx-whitespace-nowrap !pbx-border-0 !pbx-p-0 !pbx-[clip:rect(0,0,0,0)]"
132
+ >{{ translate('Loading...') }}</span
133
+ >
134
+ </div>
132
135
  </div>
133
136
  </div>
134
- </div>
135
- <div v-if="!isLoading && !getIsLoading">
136
- <form
137
- @submit.prevent="
138
- () => {
139
- getCurrentPageNumber = 1
140
- fetchUnsplash()
141
- }
142
- "
143
- >
144
- <label
145
- for="default-search"
146
- class="pbx-mb-2 pbx-text-sm pbx-font-normal pbx-text-gray-900 pbx-sr-only dark:pbx-text-gray-300"
147
- >{{ translate('Search') }}</label
137
+ <div v-if="!isLoading && !getIsLoading">
138
+ <form
139
+ @submit.prevent="
140
+ () => {
141
+ getCurrentPageNumber = 1
142
+ fetchUnsplash()
143
+ }
144
+ "
148
145
  >
149
-
150
- <div class="pbx-mysearchBarWithOptions">
151
- <div class="pbx-relative pbx-w-full">
152
- <div
153
- class="pbx-flex pbx-absolute pbx-inset-y-0 pbx-left-0 pbx-items-center pbx-pl-3 pbx-pointer-events-none"
154
- >
155
- <span class="material-symbols-outlined"> search </span>
146
+ <div class="pbx-mysearchBarWithOptions">
147
+ <div class="pbx-relative pbx-w-full">
148
+ <div
149
+ class="pbx-flex pbx-absolute pbx-inset-y-0 pbx-left-0 pbx-items-center pbx-pl-3 pbx-pointer-events-none"
150
+ >
151
+ <span class="material-symbols-outlined"> search </span>
152
+ </div>
153
+ <input
154
+ type="search"
155
+ id="search_query"
156
+ v-model="getSearchTerm"
157
+ class="pbx-myPrimarySearchInput pbx-w-full"
158
+ autocomplete="off"
159
+ :placeholder="translate('Search...')"
160
+ />
156
161
  </div>
157
- <input
158
- type="search"
159
- id="search_query"
160
- v-model="getSearchTerm"
161
- class="pbx-myPrimarySearchInput"
162
- autocomplete="off"
163
- :placeholder="translate('Search...')"
164
- />
165
- </div>
166
162
 
167
- <button
168
- @click="
169
- () => {
170
- getCurrentPageNumber = 1
171
- fetchUnsplash()
172
- }
173
- "
174
- type="submit"
175
- class="pbx-myPrimaryTag pbx-break-keep pbx-mr-4"
176
- >
177
- {{ translate('Search') }}
178
- </button>
179
- </div>
180
- </form>
181
- <div class="pbx-mt-2">
182
- <div
183
- v-if="getUnsplashImages && getUnsplashImages.results"
184
- class="pbx-flex lg:pbx-justify-between pbx-justify-end pbx-items-center pbx-gap-2 pbx-py-2 pbx-px-2 pbx-mb-1 pbx-rounded-full pbx-border-solid pbx-border pbx-border-gray-200 pbx-shadow-sm"
185
- >
186
- <div class="lg:pbx-flex pbx-hidden pbx-justify-left pbx-items-center pbx-gap-2">
187
163
  <button
188
- @click="searchByOrientation('landscape')"
189
- type="button"
190
- class="pbx-myPrimaryTag"
191
- :class="{
192
- 'pbx-bg-myPrimaryBrandColor pbx-text-white': getOrientationValue === 'landscape',
193
- '': getOrientationValue !== 'landscape',
194
- }"
195
- >
196
- {{ translate('Landscape') }}
197
- </button>
198
- <button
199
- @click="searchByOrientation('portrait')"
200
- type="button"
201
- class="pbx-myPrimaryTag"
202
- :class="{
203
- 'pbx-bg-myPrimaryBrandColor pbx-text-white': getOrientationValue === 'portrait',
204
- '': getOrientationValue !== 'portrait',
205
- }"
206
- >
207
- {{ translate('Portrait') }}
208
- </button>
209
- <button
210
- @click="searchByOrientation('squarish')"
211
- type="button"
212
- class="pbx-myPrimaryTag"
213
- :class="{
214
- 'pbx-bg-myPrimaryBrandColor pbx-text-white': getOrientationValue === 'squarish',
215
- '': getOrientationValue !== 'squarish',
216
- }"
164
+ @click="
165
+ () => {
166
+ getCurrentPageNumber = 1
167
+ fetchUnsplash()
168
+ }
169
+ "
170
+ type="submit"
171
+ class="pbx-myPrimaryTag pbx-break-keep pbx-mr-4"
217
172
  >
218
- {{ translate('Squarish') }}
173
+ {{ translate('Search') }}
219
174
  </button>
220
-
221
- <svg
222
- @click="searchByOrientation(null)"
223
- xmlns="http://www.w3.org/2000/svg"
224
- fill="none"
225
- viewBox="0 0 24 24"
226
- stroke-width="2"
227
- stroke="currentColor"
228
- class="pbx-w-4 pbx-h-4 pbx-cursor-pointer"
229
- >
230
- <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
231
- </svg>
232
175
  </div>
176
+ </form>
177
+ <div class="pbx-mt-2">
178
+ <div
179
+ v-if="getUnsplashImages && getUnsplashImages.results"
180
+ class="pbx-flex lg:pbx-justify-between pbx-justify-end pbx-items-center pbx-gap-2 pbx-py-2 pbx-px-2 pbx-mb-1 pbx-rounded-full pbx-border-solid pbx-border pbx-border-gray-200 pbx-shadow-sm"
181
+ >
182
+ <div class="lg:pbx-flex pbx-hidden pbx-justify-left pbx-items-center pbx-gap-2">
183
+ <button
184
+ @click="searchByOrientation('landscape')"
185
+ type="button"
186
+ class="pbx-myPrimaryTag"
187
+ :class="{
188
+ 'pbx-bg-myPrimaryBrandColor pbx-text-white': getOrientationValue === 'landscape',
189
+ '': getOrientationValue !== 'landscape',
190
+ }"
191
+ >
192
+ {{ translate('Landscape') }}
193
+ </button>
194
+ <button
195
+ @click="searchByOrientation('portrait')"
196
+ type="button"
197
+ class="pbx-myPrimaryTag"
198
+ :class="{
199
+ 'pbx-bg-myPrimaryBrandColor pbx-text-white': getOrientationValue === 'portrait',
200
+ '': getOrientationValue !== 'portrait',
201
+ }"
202
+ >
203
+ {{ translate('Portrait') }}
204
+ </button>
205
+ <button
206
+ @click="searchByOrientation('squarish')"
207
+ type="button"
208
+ class="pbx-myPrimaryTag"
209
+ :class="{
210
+ 'pbx-bg-myPrimaryBrandColor pbx-text-white': getOrientationValue === 'squarish',
211
+ '': getOrientationValue !== 'squarish',
212
+ }"
213
+ >
214
+ {{ translate('Squarish') }}
215
+ </button>
233
216
 
234
- <nav class="pbx-flex pbx-items-center pbx-gap-2 pbx-justify-start" aria-label="Pagination">
235
- <p class="pbx-myPrimaryParagraph pbx-text-xs pbx-italic">
236
- {{ translate('Total pages') }} {{ getUnsplashImages.total_pages }}
237
- </p>
238
- <p class="pbx-myPrimaryParagraph pbx-text-xs pbx-italic">
239
- {{ translate('Images') }} {{ getUnsplashImages.total }}
240
- </p>
241
- <div
242
- class="pbx-flex pbx-flex-1 pbx-justify-between sm:pbx-justify-end pbx-items-center pbx-gap-2"
243
- >
244
- <span
245
- v-if="Number(getCurrentPageNumber) !== 1"
246
- class="pbx-myPrimaryParagraph pbx-text-xs pbx-italic pbx-pr-2 pbx-pl-1 pbx-cursor-pointer pbx-underline"
247
- @click="nextPage(Number((getCurrentPageNumber = 1)))"
217
+ <svg
218
+ @click="searchByOrientation(null)"
219
+ xmlns="http://www.w3.org/2000/svg"
220
+ fill="none"
221
+ viewBox="0 0 24 24"
222
+ stroke-width="2"
223
+ stroke="currentColor"
224
+ class="pbx-w-4 pbx-h-4 pbx-cursor-pointer"
248
225
  >
249
- {{ translate('First page') }}
250
- </span>
226
+ <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
227
+ </svg>
251
228
  </div>
252
- <button
253
- v-if="Number(getCurrentPageNumber) > 1"
254
- :disabled="Number(getCurrentPageNumber) < 1"
255
- class="pbx-myPrimaryTag"
256
- @click="previousPage(Number(getCurrentPageNumber--))"
257
- >
258
- {{
259
- `${translate('Prev')} ${Number(getCurrentPageNumber) > 0 ? Number(getCurrentPageNumber) - 1 : Number(getCurrentPageNumber) - 1}`
260
- }}
261
- </button>
262
229
 
263
- <span class="pbx-myPrimaryTag pbx-py-2.5 pbx-px-4">
264
- {{ Number(getCurrentPageNumber) }}
265
- </span>
266
- <button
267
- :disabled="Number(getCurrentPageNumber) >= getUnsplashImages.total_pages"
268
- class="pbx-myPrimaryTag"
269
- :class="{
270
- 'pbx-opacity-50': Number(getCurrentPageNumber) >= getUnsplashImages.total_pages,
271
- }"
272
- @click="nextPage(Number(getCurrentPageNumber++))"
230
+ <nav
231
+ class="pbx-flex pbx-items-center pbx-gap-2 pbx-justify-start"
232
+ aria-label="Pagination"
273
233
  >
274
- {{
275
- `${translate('Next')} ${Number(getCurrentPageNumber) > 0 ? Number(getCurrentPageNumber) + 1 : Number(getCurrentPageNumber) + 1}`
276
- }}
277
- </button>
278
- </nav>
279
- </div>
280
-
281
- <div class="pbx-min-h-[33rem] pbx-max-h-[33rem] pbx-flex pbx-gap-6">
282
- <div class="pbx-w-9/12 pbx-pr-1 pbx-rounded-lg pbx-overflow-y-auto">
283
- <div v-if="getUnsplashImages && getUnsplashImages.results">
234
+ <p class="pbx-myPrimaryParagraph pbx-text-xs pbx-italic">
235
+ {{ translate('Total pages') }} {{ getUnsplashImages.total_pages }}
236
+ </p>
237
+ <p class="pbx-myPrimaryParagraph pbx-text-xs pbx-italic">
238
+ {{ translate('Images') }} {{ getUnsplashImages.total }}
239
+ </p>
284
240
  <div
285
- v-if="!getIsLoading"
286
- class="pbx-grid md:pbx-grid-cols-4 sm:pbx-grid-cols-4 pbx-grid-cols-2 pbx-gap-2"
241
+ class="pbx-flex pbx-flex-1 pbx-justify-between sm:pbx-justify-end pbx-items-center pbx-gap-2"
287
242
  >
288
- <div
289
- v-for="image in getUnsplashImages.results"
290
- :key="image.id"
291
- @click="handleImageClick({ url: image.urls.regular, user: image.user.name })"
292
- class="pbx-border-solid pbx-border pbx-border-gray-200 pbx-my-2 pbx-px-2 pbx-p-2 pbx-cursor-pointer"
243
+ <span
244
+ v-if="Number(getCurrentPageNumber) !== 1"
245
+ class="pbx-myPrimaryParagraph pbx-text-xs pbx-italic pbx-pr-2 pbx-pl-1 pbx-cursor-pointer pbx-underline"
246
+ @click="nextPage(Number((getCurrentPageNumber = 1)))"
293
247
  >
294
- <img
295
- :alt="image.user.name"
296
- class="pbx-group pbx-block pbx-w-full pbx-overflow-hidden pbx-cursor-pointer"
297
- :src="image.urls.thumb"
298
- />
299
- <p class="pbx-myPrimaryParagraph pbx-text-xs pbx-font-normal pbx-mt-2">
300
- {{ translate('By:') }} {{ image.user.name }}
301
- </p>
302
- </div>
248
+ {{ translate('First page') }}
249
+ </span>
303
250
  </div>
304
- </div>
251
+ <button
252
+ v-if="Number(getCurrentPageNumber) > 1"
253
+ :disabled="Number(getCurrentPageNumber) < 1"
254
+ class="pbx-myPrimaryTag"
255
+ @click="previousPage(Number(getCurrentPageNumber--))"
256
+ >
257
+ {{
258
+ `${translate('Prev')} ${Number(getCurrentPageNumber) > 0 ? Number(getCurrentPageNumber) - 1 : Number(getCurrentPageNumber) - 1}`
259
+ }}
260
+ </button>
305
261
 
306
- <div
307
- v-if="
308
- getUnsplashImages && getUnsplashImages.results && getUnsplashImages.results.length < 1
309
- "
310
- >
311
- <p class="pbx-myPrimaryParagraph pbx-py-4 pbx-px-4">
312
- <span v-if="getCurrentPageNumber === 1">
313
- {{ translate('We did not find any images. Make a new search.') }}
314
- </span>
315
- <span v-if="getCurrentPageNumber > 1" @click="nextPage(1)" class="pbx-myPrimaryLink">
316
- {{ translate('No results on current page. Navigate to First Page.') }}
317
- </span>
318
- </p>
319
- </div>
262
+ <span class="pbx-myPrimaryTag pbx-py-2.5 pbx-px-4">
263
+ {{ Number(getCurrentPageNumber) }}
264
+ </span>
265
+ <button
266
+ :disabled="Number(getCurrentPageNumber) >= getUnsplashImages.total_pages"
267
+ class="pbx-myPrimaryTag"
268
+ :class="{
269
+ 'pbx-opacity-50': Number(getCurrentPageNumber) >= getUnsplashImages.total_pages,
270
+ }"
271
+ @click="nextPage(Number(getCurrentPageNumber++))"
272
+ >
273
+ {{
274
+ `${translate('Next')} ${Number(getCurrentPageNumber) > 0 ? Number(getCurrentPageNumber) + 1 : Number(getCurrentPageNumber) + 1}`
275
+ }}
276
+ </button>
277
+ </nav>
320
278
  </div>
321
- <!-- Sidebar # start -->
322
- <aside class="pbx-w-3/12 pbx-overflow-y-auto">
323
- <template v-if="getIsLoadingImage">
324
- <div class="pbx-flex pbx-items-center pbx-justify-center pbx-mt-4">
279
+
280
+ <div class="pbx-min-h-full pbx-max-h-full pbx-flex pbx-gap-6">
281
+ <div class="pbx-w-9/12 pbx-pr-1 pbx-rounded-lg pbx-overflow-y-auto">
282
+ <div v-if="getUnsplashImages && getUnsplashImages.results">
325
283
  <div
326
- class="pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent pbx-align-[-0.125em] motion-reduce:pbx-animate-[spin_1.5s_linear_infinite]"
284
+ v-if="!getIsLoading"
285
+ class="pbx-grid lg:pbx-grid-cols-6 md:pbx-grid-cols-4 sm:pbx-grid-cols-4 pbx-grid-cols-3 pbx-gap-2"
327
286
  >
328
- <span
329
- class="!pbx-absolute !pbx-m-px !pbx-h-px !pbx-w-px !pbx-overflow-hidden !pbx-whitespace-nowrap !pbx-border-0 !pbx-p-0 !pbx-[clip:rect(0,0,0,0)]"
330
- >{{ translate('Loading...') }}</span
287
+ <div
288
+ v-for="image in getUnsplashImages.results"
289
+ :key="image.id"
290
+ @click="handleImageClick({ url: image.urls.regular, user: image.user.name })"
291
+ class="pbx-border-solid pbx-border pbx-border-gray-200 pbx-my-2 pbx-px-2 pbx-p-2 pbx-cursor-pointer"
331
292
  >
293
+ <img
294
+ :alt="image.user.name"
295
+ class="pbx-group pbx-block pbx-w-full pbx-overflow-hidden pbx-cursor-pointer"
296
+ :src="image.urls.thumb"
297
+ />
298
+ <p class="pbx-myPrimaryParagraph pbx-text-xs pbx-font-normal pbx-mt-2">
299
+ {{ translate('By:') }} {{ image.user.name }}
300
+ </p>
301
+ </div>
332
302
  </div>
333
303
  </div>
334
- </template>
335
- <template v-if="getApplyImageToSelection && !getIsLoadingImage">
336
- <img
337
- class="pbx-mx-auto pbx-block pbx-w-full pbx-object-cover pbx-object-center pbx-cursor-pointer"
338
- :src="`${getApplyImageToSelection}`"
339
- alt="file"
340
- />
341
- <div class="md:pbx-px-3 pbx-px-2">
342
- <div>
343
- <p class="pbx-myPrimaryParagraph pbx-font-normal pbx-text-gray-900 pbx-pt-4">
344
- {{ translate('Information') }}
345
- </p>
346
- <dl
347
- class="pbx-mt-2 pbx-border-t pbx-border-b pbx-border-gray-200 pbx-divide-y pbx-divide-gray-200"
304
+
305
+ <div
306
+ v-if="
307
+ getUnsplashImages &&
308
+ getUnsplashImages.results &&
309
+ getUnsplashImages.results.length < 1
310
+ "
311
+ >
312
+ <p class="pbx-myPrimaryParagraph pbx-py-4 pbx-px-4">
313
+ <span v-if="getCurrentPageNumber === 1">
314
+ {{ translate('We did not find any images. Make a new search.') }}
315
+ </span>
316
+ <span
317
+ v-if="getCurrentPageNumber > 1"
318
+ @click="nextPage(1)"
319
+ class="pbx-myPrimaryLink"
348
320
  >
349
- <div
350
- class="pbx-py-3 pbx-flex pbx-justify-between pbx-text-sm pbx-font-normal pbx-items-center"
321
+ {{ translate('No results on current page. Navigate to First Page.') }}
322
+ </span>
323
+ </p>
324
+ </div>
325
+ </div>
326
+ <!-- Sidebar # start -->
327
+ <aside class="pbx-w-3/12 pbx-overflow-y-auto">
328
+ <template v-if="getIsLoadingImage">
329
+ <div class="pbx-flex pbx-items-center pbx-justify-center pbx-mt-4">
330
+ <div
331
+ class="pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent pbx-align-[-0.125em] motion-reduce:pbx-animate-[spin_1.5s_linear_infinite]"
332
+ >
333
+ <span
334
+ class="!pbx-absolute !pbx-m-px !pbx-h-px !pbx-w-px !pbx-overflow-hidden !pbx-whitespace-nowrap !pbx-border-0 !pbx-p-0 !pbx-[clip:rect(0,0,0,0)]"
335
+ >{{ translate('Loading...') }}</span
351
336
  >
352
- <dt class="pbx-text-gray-500">{{ translate('From:') }}</dt>
353
- <dd class="pbx-text-gray-900">Unsplash</dd>
354
- </div>
355
- <div
356
- class="pbx-py-3 pbx-flex pbx-justify-between pbx-text-sm pbx-font-normal pbx-items-center"
337
+ </div>
338
+ </div>
339
+ </template>
340
+ <template v-if="getApplyImageToSelection && !getIsLoadingImage">
341
+ <img
342
+ class="pbx-mx-auto pbx-block pbx-w-full pbx-object-cover pbx-object-center pbx-cursor-pointer"
343
+ :src="`${getApplyImageToSelection}`"
344
+ alt="file"
345
+ />
346
+ <div class="md:pbx-px-3 pbx-px-2">
347
+ <div>
348
+ <p class="pbx-myPrimaryParagraph pbx-font-normal pbx-text-gray-900 pbx-pt-4">
349
+ {{ translate('Information') }}
350
+ </p>
351
+ <dl
352
+ class="pbx-mt-2 pbx-border-t pbx-border-b pbx-border-gray-200 pbx-divide-y pbx-divide-gray-200"
357
353
  >
358
- <dt class="pbx-text-gray-500">{{ translate('By:') }}</dt>
359
- <dd class="pbx-text-gray-900">{{ getCurrentUser }}</dd>
360
- </div>
361
- </dl>
354
+ <div
355
+ class="pbx-py-3 pbx-flex pbx-justify-between pbx-text-sm pbx-font-normal pbx-items-center"
356
+ >
357
+ <dt class="pbx-text-gray-500">{{ translate('From:') }}</dt>
358
+ <dd class="pbx-text-gray-900">Unsplash</dd>
359
+ </div>
360
+ <div
361
+ class="pbx-py-3 pbx-flex pbx-justify-between pbx-text-sm pbx-font-normal pbx-items-center"
362
+ >
363
+ <dt class="pbx-text-gray-500">{{ translate('By:') }}</dt>
364
+ <dd class="pbx-text-gray-900">{{ getCurrentUser }}</dd>
365
+ </div>
366
+ </dl>
367
+ </div>
368
+ <div class="pbx-flex pbx-justify-end pbx-mt-4 pbx-w-full">
369
+ <button
370
+ v-if="getApplyImageToSelection && typeof getApplyImageToSelection === 'string'"
371
+ @click="applySelectedImage(getApplyImageToSelection)"
372
+ class="pbx-myPrimaryButton"
373
+ type="button"
374
+ >
375
+ {{ translate(' Select image') }}
376
+ </button>
377
+ </div>
362
378
  </div>
363
- </div>
364
- </template>
365
- </aside>
379
+ </template>
380
+ </aside>
381
+ </div>
382
+ <!-- Sidebar # end -->
366
383
  </div>
367
- <!-- Sidebar # end -->
368
-
369
- <!-- Actions footer # start -->
370
- <div
371
- class="pbx-px-4 pbx-py-3 pbx-flex pbx-gap-2 pbx-border-solid pbx-border-t pbx-border-gray-200 pbx-mt-4 pbx-justify-end"
372
- >
373
- <button
374
- @click="
375
- () => {
376
- closeMediaLibraryModal()
377
- localStorage.setItem('unsplash-page', getCurrentPageNumber)
378
- }
379
- "
380
- class="pbx-mySecondaryButton"
381
- type="button"
382
- >
383
- {{ translate('Close') }}
384
- </button>
385
- <button
386
- v-if="getApplyImageToSelection && typeof getApplyImageToSelection === 'string'"
387
- @click="applySelectedImage(getApplyImageToSelection)"
388
- class="pbx-myPrimaryButton"
389
- type="button"
390
- >
391
- {{ translate(' Select image') }}
392
- </button>
384
+ <div>
385
+ <button class="pbx-sr-only">Focusable fallback</button>
393
386
  </div>
394
- <!-- Actions footer # end -->
395
- </div>
396
- <div>
397
- <button class="pbx-sr-only">Focusable fallback</button>
398
387
  </div>
399
388
  </div>
400
389
  </template>