@hulkapps/app-manager-vue 3.1.4 → 3.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hulkapps/app-manager-vue",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
4
4
  "description": "Vue SDK to render app manager contents",
5
5
  "main": "dist/app-manager-vue.ssr.js",
6
6
  "browser": "dist/app-manager-vue.esm.js",
@@ -226,10 +226,10 @@ export default {
226
226
  },
227
227
  breakpoints: {
228
228
  375: {
229
- slidesPerView: 1,
229
+ slidesPerView: Math.min(this.monthlyPlans.length, 1),
230
230
  },
231
231
  640: {
232
- slidesPerView: 2,
232
+ slidesPerView: Math.min(this.monthlyPlans.length, 2),
233
233
  },
234
234
  840: {
235
235
  slidesPerView: Math.min(this.monthlyPlans.length, 3),
@@ -262,10 +262,10 @@ export default {
262
262
  },
263
263
  breakpoints: {
264
264
  375: {
265
- slidesPerView: 1,
265
+ slidesPerView: Math.min(this.annualPlans.length, 1),
266
266
  },
267
267
  640: {
268
- slidesPerView: 2,
268
+ slidesPerView: Math.min(this.annualPlans.length, 2),
269
269
  },
270
270
  840: {
271
271
  slidesPerView: Math.min(this.annualPlans.length, 3),
@@ -370,10 +370,10 @@ export default {
370
370
  },
371
371
  breakpoints: {
372
372
  0: {
373
- slidesPerView: 1.2,
373
+ slidesPerView: Math.min(this.monthlyPlans.length, 1.2),
374
374
  },
375
375
  640: {
376
- slidesPerView: 2,
376
+ slidesPerView: Math.min(this.monthlyPlans.length, 2),
377
377
  },
378
378
  1024: {
379
379
  slidesPerView: Math.min(this.monthlyPlans.length, this.width === 'tight' ? 2 : 3),
@@ -401,10 +401,10 @@ export default {
401
401
  },
402
402
  breakpoints: {
403
403
  0: {
404
- slidesPerView: 1.2,
404
+ slidesPerView: Math.min(this.annualPlans.length, 1.2),
405
405
  },
406
406
  640: {
407
- slidesPerView: 2,
407
+ slidesPerView: Math.min(this.annualPlans.length, 2),
408
408
  },
409
409
  1024: {
410
410
  slidesPerView: Math.min(this.annualPlans.length, this.width === 'tight' ? 2 : 3),