@vectoriox/iox-builder 1.4.96 → 1.4.98

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.
@@ -5478,6 +5478,7 @@ class SliderContainerComponent {
5478
5478
  this.nodeId = '';
5479
5479
  this.dropListId = '';
5480
5480
  // ── Parameters ─────────────────────────────────────────────────────────────
5481
+ this.dir = 'ltr';
5481
5482
  this.direction = 'horizontal';
5482
5483
  this.slidesPerView = 'auto';
5483
5484
  this.slidesPerGroup = 1;
@@ -5557,7 +5558,7 @@ class SliderContainerComponent {
5557
5558
  if (!this._swiper)
5558
5559
  return;
5559
5560
  const previewKeys = new Set([
5560
- 'direction', 'loop', 'slidesPerView', 'slidesPerGroup', 'spaceBetween', 'speed',
5561
+ 'dir', 'direction', 'loop', 'slidesPerView', 'slidesPerGroup', 'spaceBetween', 'speed',
5561
5562
  'effect', 'grabCursor', 'centeredSlides', 'initialSlide', 'autoHeight',
5562
5563
  'slideToClickedSlide', 'freeMode', 'breakpoints',
5563
5564
  'enableNavigation', 'navigationColor', 'navigationSize',
@@ -5813,7 +5814,7 @@ class SliderContainerComponent {
5813
5814
  }
5814
5815
  }
5815
5816
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: SliderContainerComponent, deps: [{ token: DragEngineService }, { token: i0.ChangeDetectorRef }, { token: IS_PREVIEW, optional: true }, { token: OverlayService, optional: true }, { token: IOX_CONTENT_SERVICE, optional: true }, { token: IOX_SHOP_SERVICE, optional: true }, { token: DataSourceRegistryService, optional: true }, { token: PanelEventService, optional: true }, { token: i5.ActivatedRoute, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
5816
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.11", type: SliderContainerComponent, isStandalone: false, selector: "app-slider-container", inputs: { children: "children", style: "style", nodeId: "nodeId", dropListId: "dropListId", direction: "direction", slidesPerView: "slidesPerView", slidesPerGroup: "slidesPerGroup", loop: "loop", centeredSlides: "centeredSlides", spaceBetween: "spaceBetween", initialSlide: "initialSlide", autoHeight: "autoHeight", grabCursor: "grabCursor", slideToClickedSlide: "slideToClickedSlide", effect: "effect", speed: "speed", enableNavigation: "enableNavigation", navigationColor: "navigationColor", navigationSize: "navigationSize", enablePagination: "enablePagination", paginationColor: "paginationColor", paginationType: "paginationType", paginationClickable: "paginationClickable", paginationDynamicBullets: "paginationDynamicBullets", enableAutoplay: "enableAutoplay", autoplayDelay: "autoplayDelay", autoplayPauseOnMouseEnter: "autoplayPauseOnMouseEnter", autoplayDisableOnInteraction: "autoplayDisableOnInteraction", enableScrollbar: "enableScrollbar", freeMode: "freeMode", enableKeyboard: "enableKeyboard", enableMousewheel: "enableMousewheel", enableZoom: "enableZoom", enableParallax: "enableParallax", enableGrid: "enableGrid", gridRows: "gridRows", breakpoints: "breakpoints", source: "source", limit: "limit" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, viewQueries: [{ propertyName: "swiperEl", first: true, predicate: ["swiperEl"], descendants: true }, { propertyName: "editSwiperEl", first: true, predicate: ["editSwiperEl"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
5817
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.11", type: SliderContainerComponent, isStandalone: false, selector: "app-slider-container", inputs: { children: "children", style: "style", nodeId: "nodeId", dropListId: "dropListId", dir: "dir", direction: "direction", slidesPerView: "slidesPerView", slidesPerGroup: "slidesPerGroup", loop: "loop", centeredSlides: "centeredSlides", spaceBetween: "spaceBetween", initialSlide: "initialSlide", autoHeight: "autoHeight", grabCursor: "grabCursor", slideToClickedSlide: "slideToClickedSlide", effect: "effect", speed: "speed", enableNavigation: "enableNavigation", navigationColor: "navigationColor", navigationSize: "navigationSize", enablePagination: "enablePagination", paginationColor: "paginationColor", paginationType: "paginationType", paginationClickable: "paginationClickable", paginationDynamicBullets: "paginationDynamicBullets", enableAutoplay: "enableAutoplay", autoplayDelay: "autoplayDelay", autoplayPauseOnMouseEnter: "autoplayPauseOnMouseEnter", autoplayDisableOnInteraction: "autoplayDisableOnInteraction", enableScrollbar: "enableScrollbar", freeMode: "freeMode", enableKeyboard: "enableKeyboard", enableMousewheel: "enableMousewheel", enableZoom: "enableZoom", enableParallax: "enableParallax", enableGrid: "enableGrid", gridRows: "gridRows", breakpoints: "breakpoints", source: "source", limit: "limit" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, viewQueries: [{ propertyName: "swiperEl", first: true, predicate: ["swiperEl"], descendants: true }, { propertyName: "editSwiperEl", first: true, predicate: ["editSwiperEl"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
5817
5818
  <!-- EDIT MODE: shell wraps swiper + nav buttons so arrows position relative to slide area -->
5818
5819
  <div *ngIf="!isPreview"
5819
5820
  class="slider-edit-shell"
@@ -5832,7 +5833,7 @@ class SliderContainerComponent {
5832
5833
  <i *ngIf="isLoading" class="ph-thin ph-circle-notch slider-badge-spin"></i>
5833
5834
  </div>
5834
5835
 
5835
- <div #editSwiperEl class="swiper swiper-edit">
5836
+ <div #editSwiperEl class="swiper swiper-edit" [attr.dir]="dir">
5836
5837
  <div class="swiper-wrapper">
5837
5838
 
5838
5839
  <!-- NORMAL MODE: all children as draggable slides -->
@@ -5910,6 +5911,7 @@ class SliderContainerComponent {
5910
5911
  class="swiper"
5911
5912
  [ngClass]="['iox-node-' + nodeId]"
5912
5913
  [ngStyle]="style"
5914
+ [attr.dir]="dir"
5913
5915
  [style.--swiper-navigation-color]="navigationColor || null"
5914
5916
  [style.--swiper-navigation-size.px]="navigationSize || null"
5915
5917
  [style.--swiper-pagination-color]="paginationColor || null">
@@ -5973,7 +5975,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
5973
5975
  <i *ngIf="isLoading" class="ph-thin ph-circle-notch slider-badge-spin"></i>
5974
5976
  </div>
5975
5977
 
5976
- <div #editSwiperEl class="swiper swiper-edit">
5978
+ <div #editSwiperEl class="swiper swiper-edit" [attr.dir]="dir">
5977
5979
  <div class="swiper-wrapper">
5978
5980
 
5979
5981
  <!-- NORMAL MODE: all children as draggable slides -->
@@ -6051,6 +6053,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
6051
6053
  class="swiper"
6052
6054
  [ngClass]="['iox-node-' + nodeId]"
6053
6055
  [ngStyle]="style"
6056
+ [attr.dir]="dir"
6054
6057
  [style.--swiper-navigation-color]="navigationColor || null"
6055
6058
  [style.--swiper-navigation-size.px]="navigationSize || null"
6056
6059
  [style.--swiper-pagination-color]="paginationColor || null">
@@ -6123,6 +6126,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
6123
6126
  type: Input
6124
6127
  }], dropListId: [{
6125
6128
  type: Input
6129
+ }], dir: [{
6130
+ type: Input
6126
6131
  }], direction: [{
6127
6132
  type: Input
6128
6133
  }], slidesPerView: [{
@@ -7283,6 +7288,7 @@ class SliderContainerConfig extends ComponentConfig {
7283
7288
  new TraitConfig('limit', 'Limit', TraitInputType.Number, undefined, 10),
7284
7289
  // ── Parameters ────────────────────────────────────────────────────
7285
7290
  new TraitConfig('__paramsLabel', 'Parameters', TraitInputType.SectionLabel),
7291
+ new TraitConfig('dir', 'Language direction', TraitInputType.SelectButton, [{ label: 'LTR', value: 'ltr' }, { label: 'RTL', value: 'rtl' }], 'ltr'),
7286
7292
  new TraitConfig('direction', 'Slide direction', TraitInputType.Select, [{ label: 'Horizontal', value: 'horizontal' }, { label: 'Vertical', value: 'vertical' }], 'horizontal'),
7287
7293
  new TraitConfig('slidesPerView', 'Slides per view', TraitInputType.Select, [
7288
7294
  { label: 'Auto (slide width)', value: 'auto' },