@vectoriox/iox-builder 2.0.0 → 2.0.1
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.
|
@@ -6748,43 +6748,15 @@ class SliderSlideComponent {
|
|
|
6748
6748
|
}
|
|
6749
6749
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: SliderSlideComponent, deps: [{ token: DragEngineService }, { token: i0.ChangeDetectorRef }, { token: IS_PREVIEW, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6750
6750
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.11", type: SliderSlideComponent, isStandalone: false, selector: "app-slider-slide", inputs: { children: "children", style: "style", nodeId: "nodeId", dropListId: "dropListId" }, outputs: { childClick: "childClick", childMouseEnter: "childMouseEnter", childMouseLeave: "childMouseLeave" }, ngImport: i0, template: `
|
|
6751
|
-
<!--
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
[ioxDropzoneData]="children"
|
|
6761
|
-
(ioxDrop)="onDrop($event)">
|
|
6762
|
-
|
|
6763
|
-
<div *ngIf="!children.length" class="slide-placeholder">
|
|
6764
|
-
<i class="ph-thin ph-image"></i>
|
|
6765
|
-
<span>Drop components here</span>
|
|
6766
|
-
</div>
|
|
6767
|
-
|
|
6768
|
-
<div *ngFor="let child of children"
|
|
6769
|
-
[ngClass]="['iox-outer-' + (child.styleId ?? child.id)]"
|
|
6770
|
-
ioxDraggable
|
|
6771
|
-
[ioxDragData]="child"
|
|
6772
|
-
[ioxDragSourceId]="dropListId">
|
|
6773
|
-
<ng-container
|
|
6774
|
-
[ioxRender]="child"
|
|
6775
|
-
(onClick)="childClick.emit($event)"
|
|
6776
|
-
(onMouseEnter)="childMouseEnter.emit($event)"
|
|
6777
|
-
(onMouseLeave)="childMouseLeave.emit()">
|
|
6778
|
-
</ng-container>
|
|
6779
|
-
</div>
|
|
6780
|
-
</div>
|
|
6781
|
-
|
|
6782
|
-
<!-- EDIT: plain block so it sits in the horizontal strip.
|
|
6783
|
-
Width/min-width/max-width are stripped from ngStyle here — they belong on the
|
|
6784
|
-
iox-outer-* wrapper (already applied by StyleRegistryService), not on this inner
|
|
6785
|
-
div. Applying them here too would make the content 33% of 33%. -->
|
|
6786
|
-
<div *ngIf="!isPreview"
|
|
6787
|
-
class="slide-edit-block"
|
|
6751
|
+
<!-- The .swiper-slide wrapper (with the iox-outer-* class) is provided by SliderContainer —
|
|
6752
|
+
Swiper needs it as a direct child of .swiper-wrapper — and the SLIDE'S size lands there
|
|
6753
|
+
via StyleRegistryService. This is only the styled INNER block, so width/min-width/
|
|
6754
|
+
max-width MUST be stripped (slideEditStyle): the slide is already sized on the outer
|
|
6755
|
+
wrapper, and re-applying width here would size the content to 71% OF the 71% slide (the
|
|
6756
|
+
engine's iox-slider-slide is a single host, so it never had this trap). Preview and edit
|
|
6757
|
+
behave identically — the earlier preview branch used the un-stripped style input and
|
|
6758
|
+
shrank the content inside its own slide. -->
|
|
6759
|
+
<div class="slide-edit-block"
|
|
6788
6760
|
[ngClass]="['iox-node-' + nodeId]"
|
|
6789
6761
|
[ngStyle]="slideEditStyle"
|
|
6790
6762
|
ioxDropzone
|
|
@@ -6815,43 +6787,15 @@ class SliderSlideComponent {
|
|
|
6815
6787
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: SliderSlideComponent, decorators: [{
|
|
6816
6788
|
type: Component,
|
|
6817
6789
|
args: [{ selector: 'app-slider-slide', template: `
|
|
6818
|
-
<!--
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
[ioxDropzoneData]="children"
|
|
6828
|
-
(ioxDrop)="onDrop($event)">
|
|
6829
|
-
|
|
6830
|
-
<div *ngIf="!children.length" class="slide-placeholder">
|
|
6831
|
-
<i class="ph-thin ph-image"></i>
|
|
6832
|
-
<span>Drop components here</span>
|
|
6833
|
-
</div>
|
|
6834
|
-
|
|
6835
|
-
<div *ngFor="let child of children"
|
|
6836
|
-
[ngClass]="['iox-outer-' + (child.styleId ?? child.id)]"
|
|
6837
|
-
ioxDraggable
|
|
6838
|
-
[ioxDragData]="child"
|
|
6839
|
-
[ioxDragSourceId]="dropListId">
|
|
6840
|
-
<ng-container
|
|
6841
|
-
[ioxRender]="child"
|
|
6842
|
-
(onClick)="childClick.emit($event)"
|
|
6843
|
-
(onMouseEnter)="childMouseEnter.emit($event)"
|
|
6844
|
-
(onMouseLeave)="childMouseLeave.emit()">
|
|
6845
|
-
</ng-container>
|
|
6846
|
-
</div>
|
|
6847
|
-
</div>
|
|
6848
|
-
|
|
6849
|
-
<!-- EDIT: plain block so it sits in the horizontal strip.
|
|
6850
|
-
Width/min-width/max-width are stripped from ngStyle here — they belong on the
|
|
6851
|
-
iox-outer-* wrapper (already applied by StyleRegistryService), not on this inner
|
|
6852
|
-
div. Applying them here too would make the content 33% of 33%. -->
|
|
6853
|
-
<div *ngIf="!isPreview"
|
|
6854
|
-
class="slide-edit-block"
|
|
6790
|
+
<!-- The .swiper-slide wrapper (with the iox-outer-* class) is provided by SliderContainer —
|
|
6791
|
+
Swiper needs it as a direct child of .swiper-wrapper — and the SLIDE'S size lands there
|
|
6792
|
+
via StyleRegistryService. This is only the styled INNER block, so width/min-width/
|
|
6793
|
+
max-width MUST be stripped (slideEditStyle): the slide is already sized on the outer
|
|
6794
|
+
wrapper, and re-applying width here would size the content to 71% OF the 71% slide (the
|
|
6795
|
+
engine's iox-slider-slide is a single host, so it never had this trap). Preview and edit
|
|
6796
|
+
behave identically — the earlier preview branch used the un-stripped style input and
|
|
6797
|
+
shrank the content inside its own slide. -->
|
|
6798
|
+
<div class="slide-edit-block"
|
|
6855
6799
|
[ngClass]="['iox-node-' + nodeId]"
|
|
6856
6800
|
[ngStyle]="slideEditStyle"
|
|
6857
6801
|
ioxDropzone
|