@vectoriox/iox-builder 1.4.82 → 1.4.83
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.
|
@@ -5818,6 +5818,10 @@ class SliderSlideComponent {
|
|
|
5818
5818
|
this.childMouseLeave = new EventEmitter();
|
|
5819
5819
|
this.isPreview = !!isPreview;
|
|
5820
5820
|
}
|
|
5821
|
+
get slideEditStyle() {
|
|
5822
|
+
const { width, minWidth, maxWidth, ...rest } = this.style || {};
|
|
5823
|
+
return rest;
|
|
5824
|
+
}
|
|
5821
5825
|
ngOnInit() { }
|
|
5822
5826
|
ngOnDestroy() { }
|
|
5823
5827
|
onDrop(event) {
|
|
@@ -5854,11 +5858,14 @@ class SliderSlideComponent {
|
|
|
5854
5858
|
</div>
|
|
5855
5859
|
</div>
|
|
5856
5860
|
|
|
5857
|
-
<!-- EDIT: plain block so it sits in the horizontal strip
|
|
5861
|
+
<!-- EDIT: plain block so it sits in the horizontal strip.
|
|
5862
|
+
Width/min-width/max-width are stripped from ngStyle here — they belong on the
|
|
5863
|
+
iox-outer-* wrapper (already applied by StyleRegistryService), not on this inner
|
|
5864
|
+
div. Applying them here too would make the content 33% of 33%. -->
|
|
5858
5865
|
<div *ngIf="!isPreview"
|
|
5859
5866
|
class="slide-edit-block"
|
|
5860
5867
|
[ngClass]="['iox-node-' + nodeId]"
|
|
5861
|
-
[ngStyle]="
|
|
5868
|
+
[ngStyle]="slideEditStyle"
|
|
5862
5869
|
ioxDropzone
|
|
5863
5870
|
[ioxDropzoneId]="dropListId"
|
|
5864
5871
|
[ioxDropzoneData]="children"
|
|
@@ -5882,7 +5889,7 @@ class SliderSlideComponent {
|
|
|
5882
5889
|
</ng-container>
|
|
5883
5890
|
</div>
|
|
5884
5891
|
</div>
|
|
5885
|
-
`, isInline: true, styles: [".swiper-slide,.slide-edit-block{position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden}.slide-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:0;transition:opacity .15s}:host:hover .slide-placeholder,:host.iox-drag-over .slide-placeholder{opacity:1}.slide-placeholder i{font-size:22px}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: RenderDirective, selector: "[ioxRender]", inputs: ["ioxRender"], outputs: ["onClick", "onMouseEnter", "onMouseLeave"] }, { kind: "directive", type: IoxDraggableDirective, selector: "[ioxDraggable]", inputs: ["ioxDragData", "ioxDragSourceId"] }, { kind: "directive", type: IoxDropzoneDirective, selector: "[ioxDropzone]", inputs: ["ioxDropzoneId", "ioxDropzoneData", "ioxDropzonePostDrop"], outputs: ["ioxDrop"] }] }); }
|
|
5892
|
+
`, isInline: true, styles: [".swiper-slide,.slide-edit-block{position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden}.slide-edit-block{width:100%}.slide-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:0;transition:opacity .15s}:host:hover .slide-placeholder,:host.iox-drag-over .slide-placeholder{opacity:1}.slide-placeholder i{font-size:22px}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: RenderDirective, selector: "[ioxRender]", inputs: ["ioxRender"], outputs: ["onClick", "onMouseEnter", "onMouseLeave"] }, { kind: "directive", type: IoxDraggableDirective, selector: "[ioxDraggable]", inputs: ["ioxDragData", "ioxDragSourceId"] }, { kind: "directive", type: IoxDropzoneDirective, selector: "[ioxDropzone]", inputs: ["ioxDropzoneId", "ioxDropzoneData", "ioxDropzonePostDrop"], outputs: ["ioxDrop"] }] }); }
|
|
5886
5893
|
}
|
|
5887
5894
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: SliderSlideComponent, decorators: [{
|
|
5888
5895
|
type: Component,
|
|
@@ -5916,11 +5923,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
5916
5923
|
</div>
|
|
5917
5924
|
</div>
|
|
5918
5925
|
|
|
5919
|
-
<!-- EDIT: plain block so it sits in the horizontal strip
|
|
5926
|
+
<!-- EDIT: plain block so it sits in the horizontal strip.
|
|
5927
|
+
Width/min-width/max-width are stripped from ngStyle here — they belong on the
|
|
5928
|
+
iox-outer-* wrapper (already applied by StyleRegistryService), not on this inner
|
|
5929
|
+
div. Applying them here too would make the content 33% of 33%. -->
|
|
5920
5930
|
<div *ngIf="!isPreview"
|
|
5921
5931
|
class="slide-edit-block"
|
|
5922
5932
|
[ngClass]="['iox-node-' + nodeId]"
|
|
5923
|
-
[ngStyle]="
|
|
5933
|
+
[ngStyle]="slideEditStyle"
|
|
5924
5934
|
ioxDropzone
|
|
5925
5935
|
[ioxDropzoneId]="dropListId"
|
|
5926
5936
|
[ioxDropzoneData]="children"
|
|
@@ -5944,7 +5954,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
5944
5954
|
</ng-container>
|
|
5945
5955
|
</div>
|
|
5946
5956
|
</div>
|
|
5947
|
-
`, standalone: false, styles: [".swiper-slide,.slide-edit-block{position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden}.slide-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:0;transition:opacity .15s}:host:hover .slide-placeholder,:host.iox-drag-over .slide-placeholder{opacity:1}.slide-placeholder i{font-size:22px}\n"] }]
|
|
5957
|
+
`, standalone: false, styles: [".swiper-slide,.slide-edit-block{position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden}.slide-edit-block{width:100%}.slide-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border:1.5px dashed rgba(100,116,139,.35);border-radius:4px;color:#64748b80;font-size:12px;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:0;transition:opacity .15s}:host:hover .slide-placeholder,:host.iox-drag-over .slide-placeholder{opacity:1}.slide-placeholder i{font-size:22px}\n"] }]
|
|
5948
5958
|
}], ctorParameters: () => [{ type: DragEngineService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
5949
5959
|
type: Optional
|
|
5950
5960
|
}, {
|