@@ -319,9 +319,13 @@ var ssr_carousel_arrowsvue_type_template_id_f7877eda_lang_pug_render = function
319
319
} ,
320
320
} ,
321
321
[
322
- _vm . $scopedSlots . back
323
- ? _vm . _t ( "back" , null , { disabled : _vm . backDisabled } )
324
- : _c ( "span" , { staticClass : "ssr-carousel-back-icon" } ) ,
322
+ _vm . _t (
323
+ "back" ,
324
+ function ( ) {
325
+ return [ _c ( "span" , { staticClass : "ssr-carousel-back-icon" } ) ]
326
+ } ,
327
+ { disabled : _vm . backDisabled }
328
+ ) ,
325
329
] ,
326
330
2
327
331
) ,
@@ -337,9 +341,13 @@ var ssr_carousel_arrowsvue_type_template_id_f7877eda_lang_pug_render = function
337
341
} ,
338
342
} ,
339
343
[
340
- _vm . $scopedSlots . next
341
- ? _vm . _t ( "next" , null , { disabled : _vm . nextDisabled } )
342
- : _c ( "span" , { staticClass : "ssr-carousel-next-icon" } ) ,
344
+ _vm . _t (
345
+ "next" ,
346
+ function ( ) {
347
+ return [ _c ( "span" , { staticClass : "ssr-carousel-next-icon" } ) ]
348
+ } ,
349
+ { disabled : _vm . nextDisabled }
350
+ ) ,
343
351
] ,
344
352
2
345
353
) ,
@@ -523,9 +531,13 @@ var ssr_carousel_dotsvue_type_template_id_6b089f93_lang_pug_render = function ()
523
531
} ,
524
532
} ,
525
533
[
526
- _vm . $scopedSlots . dot
527
- ? _vm . _t ( "dot" , null , { index : i , disabled : _vm . isDisabled ( i ) } )
528
- : _c ( "span" , { staticClass : "ssr-carousel-dot-icon" } ) ,
534
+ _vm . _t (
535
+ "dot" ,
536
+ function ( ) {
537
+ return [ _c ( "span" , { staticClass : "ssr-carousel-dot-icon" } ) ]
538
+ } ,
539
+ { index : i , disabled : _vm . isDisabled ( i ) }
540
+ ) ,
529
541
] ,
530
542
2
531
543
)
@@ -1688,10 +1700,10 @@ Code related to changing the slides per page at different viewport widths
1688
1700
}
1689
1701
} ,
1690
1702
computed : {
1691
- // Make the scopeId from the based on hashing the props. If the props are
1692
- // the same for two instances, it's fine for them to have the same scopeId .
1703
+ // Make the css scopeId from things that can influence the styles, like the
1704
+ // slides count and props .
1693
1705
scopeId : function ( ) {
1694
- return this . hashString ( JSON . stringify ( this . $props ) ) ;
1706
+ return this . hashString ( this . slidesCount + '|' + JSON . stringify ( this . $props ) ) ;
1695
1707
} ,
1696
1708
// Massage media queries into the responsive prop
1697
1709
responsiveRules : function ( ) {
@@ -1771,7 +1783,7 @@ Code related to changing the slides per page at different viewport widths
1771
1783
} ,
1772
1784
// Make the block of styles for a breakpoint
1773
1785
makeBreakpointStyles : function ( breakpoint ) {
1774
- return this . makeBreakpointDisablingRules ( breakpoint ) + this . makeBreakpointFeatheringStyle ( breakpoint ) + this . makeBreakpointTrackTransformStyle ( breakpoint ) + this . makeBreakpointWidthStyle ( breakpoint ) + this . makeBreakpointSlideGutterStyle ( breakpoint ) ;
1786
+ return [ this . makeBreakpointDisablingRules ( breakpoint ) , this . makeBreakpointFeatheringStyle ( breakpoint ) , this . makeBreakpointTrackTransformStyle ( breakpoint ) , this . makeBreakpointWidthStyle ( breakpoint ) , this . makeBreakpointSlideGutterStyle ( breakpoint ) ] . join ( ' ' ) ;
1775
1787
} ,
1776
1788
// Apply disabling styles via breakpoint when there are not enough slides
1777
1789
// for the slidesPerPage
0 commit comments