@vectoriox/iox-builder 1.4.96 → 1.4.97
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',
|
|
@@ -5688,6 +5689,7 @@ class SliderContainerComponent {
|
|
|
5688
5689
|
modules.push(Scrollbar);
|
|
5689
5690
|
const config = {
|
|
5690
5691
|
modules,
|
|
5692
|
+
dir: this.dir,
|
|
5691
5693
|
direction: this.direction,
|
|
5692
5694
|
slidesPerView: this.slidesPerView,
|
|
5693
5695
|
slidesPerGroup: this.slidesPerGroup > 1 ? this.slidesPerGroup : 1,
|
|
@@ -5813,7 +5815,7 @@ class SliderContainerComponent {
|
|
|
5813
5815
|
}
|
|
5814
5816
|
}
|
|
5815
5817
|
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: `
|
|
5818
|
+
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
5819
|
<!-- EDIT MODE: shell wraps swiper + nav buttons so arrows position relative to slide area -->
|
|
5818
5820
|
<div *ngIf="!isPreview"
|
|
5819
5821
|
class="slider-edit-shell"
|
|
@@ -6123,6 +6125,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
6123
6125
|
type: Input
|
|
6124
6126
|
}], dropListId: [{
|
|
6125
6127
|
type: Input
|
|
6128
|
+
}], dir: [{
|
|
6129
|
+
type: Input
|
|
6126
6130
|
}], direction: [{
|
|
6127
6131
|
type: Input
|
|
6128
6132
|
}], slidesPerView: [{
|
|
@@ -7283,6 +7287,7 @@ class SliderContainerConfig extends ComponentConfig {
|
|
|
7283
7287
|
new TraitConfig('limit', 'Limit', TraitInputType.Number, undefined, 10),
|
|
7284
7288
|
// ── Parameters ────────────────────────────────────────────────────
|
|
7285
7289
|
new TraitConfig('__paramsLabel', 'Parameters', TraitInputType.SectionLabel),
|
|
7290
|
+
new TraitConfig('dir', 'Language direction', TraitInputType.SelectButton, [{ label: 'LTR', value: 'ltr' }, { label: 'RTL', value: 'rtl' }], 'ltr'),
|
|
7286
7291
|
new TraitConfig('direction', 'Slide direction', TraitInputType.Select, [{ label: 'Horizontal', value: 'horizontal' }, { label: 'Vertical', value: 'vertical' }], 'horizontal'),
|
|
7287
7292
|
new TraitConfig('slidesPerView', 'Slides per view', TraitInputType.Select, [
|
|
7288
7293
|
{ label: 'Auto (slide width)', value: 'auto' },
|