@vectoriox/iox-builder 1.4.97 → 1.4.99
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.
|
@@ -5557,8 +5557,14 @@ class SliderContainerComponent {
|
|
|
5557
5557
|
ngOnChanges(changes) {
|
|
5558
5558
|
if (!this._swiper)
|
|
5559
5559
|
return;
|
|
5560
|
+
// dir-only change: use changeLanguageDirection() — avoids full reinit
|
|
5561
|
+
// which races against Angular re-rendering slides in the DOM.
|
|
5562
|
+
if (changes['dir'] && Object.keys(changes).length === 1) {
|
|
5563
|
+
this._swiper.changeLanguageDirection(this.dir);
|
|
5564
|
+
return;
|
|
5565
|
+
}
|
|
5560
5566
|
const previewKeys = new Set([
|
|
5561
|
-
'
|
|
5567
|
+
'direction', 'loop', 'slidesPerView', 'slidesPerGroup', 'spaceBetween', 'speed',
|
|
5562
5568
|
'effect', 'grabCursor', 'centeredSlides', 'initialSlide', 'autoHeight',
|
|
5563
5569
|
'slideToClickedSlide', 'freeMode', 'breakpoints',
|
|
5564
5570
|
'enableNavigation', 'navigationColor', 'navigationSize',
|
|
@@ -5689,7 +5695,6 @@ class SliderContainerComponent {
|
|
|
5689
5695
|
modules.push(Scrollbar);
|
|
5690
5696
|
const config = {
|
|
5691
5697
|
modules,
|
|
5692
|
-
dir: this.dir,
|
|
5693
5698
|
direction: this.direction,
|
|
5694
5699
|
slidesPerView: this.slidesPerView,
|
|
5695
5700
|
slidesPerGroup: this.slidesPerGroup > 1 ? this.slidesPerGroup : 1,
|
|
@@ -5834,7 +5839,7 @@ class SliderContainerComponent {
|
|
|
5834
5839
|
<i *ngIf="isLoading" class="ph-thin ph-circle-notch slider-badge-spin"></i>
|
|
5835
5840
|
</div>
|
|
5836
5841
|
|
|
5837
|
-
<div #editSwiperEl class="swiper swiper-edit">
|
|
5842
|
+
<div #editSwiperEl class="swiper swiper-edit" [attr.dir]="dir">
|
|
5838
5843
|
<div class="swiper-wrapper">
|
|
5839
5844
|
|
|
5840
5845
|
<!-- NORMAL MODE: all children as draggable slides -->
|
|
@@ -5912,6 +5917,7 @@ class SliderContainerComponent {
|
|
|
5912
5917
|
class="swiper"
|
|
5913
5918
|
[ngClass]="['iox-node-' + nodeId]"
|
|
5914
5919
|
[ngStyle]="style"
|
|
5920
|
+
[attr.dir]="dir"
|
|
5915
5921
|
[style.--swiper-navigation-color]="navigationColor || null"
|
|
5916
5922
|
[style.--swiper-navigation-size.px]="navigationSize || null"
|
|
5917
5923
|
[style.--swiper-pagination-color]="paginationColor || null">
|
|
@@ -5975,7 +5981,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
5975
5981
|
<i *ngIf="isLoading" class="ph-thin ph-circle-notch slider-badge-spin"></i>
|
|
5976
5982
|
</div>
|
|
5977
5983
|
|
|
5978
|
-
<div #editSwiperEl class="swiper swiper-edit">
|
|
5984
|
+
<div #editSwiperEl class="swiper swiper-edit" [attr.dir]="dir">
|
|
5979
5985
|
<div class="swiper-wrapper">
|
|
5980
5986
|
|
|
5981
5987
|
<!-- NORMAL MODE: all children as draggable slides -->
|
|
@@ -6053,6 +6059,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
6053
6059
|
class="swiper"
|
|
6054
6060
|
[ngClass]="['iox-node-' + nodeId]"
|
|
6055
6061
|
[ngStyle]="style"
|
|
6062
|
+
[attr.dir]="dir"
|
|
6056
6063
|
[style.--swiper-navigation-color]="navigationColor || null"
|
|
6057
6064
|
[style.--swiper-navigation-size.px]="navigationSize || null"
|
|
6058
6065
|
[style.--swiper-pagination-color]="paginationColor || null">
|