@vectoriox/iox-builder 1.1.2 → 1.1.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -387,7 +387,7 @@ declare class OverlayService {
387
387
  refreshSelect(): void;
388
388
  /** Lightweight swap for drag-preview tracking. */
389
389
  updateSelectElement(element: HTMLElement): void;
390
- private buildBoxModel;
390
+ buildBoxModel(host: HTMLElement): OverlayBoxModel;
391
391
  static ɵfac: i0.ɵɵFactoryDeclaration<OverlayService, never>;
392
392
  static ɵprov: i0.ɵɵInjectableDeclaration<OverlayService>;
393
393
  }
@@ -718,9 +718,6 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
718
718
  private destroyLenis;
719
719
  addComponent(name: string): void;
720
720
  onDrop(event: IoxDropEvent): void;
721
- /** Resolve the width style-trait value for a node so the cdkDrag wrapper
722
- * matches the component's actual width (prevents full-canvas-width clones). */
723
- getNodeWidth(node: ComponentNode): string | undefined;
724
721
  onModeChange(mode: BuilderMode): void;
725
722
  onDeviceChange(device: DeviceMode): void;
726
723
  onZoomChange(value: number | 'fit'): void;
@@ -779,9 +776,10 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
779
776
  * Scoped to PageUiComponent.providers[] — one stylesheet per builder instance.
780
777
  */
781
778
  declare class StyleRegistryService {
779
+ readonly changes$: Subject<void>;
782
780
  private rules;
783
781
  private styleEl;
784
- /** Properties that must live on the host element to affect the parent layout. */
782
+ /** Properties that must live on the wrapper element to affect the parent layout. */
785
783
  private static readonly OUTER_PROPS;
786
784
  init(): void;
787
785
  upsert(nodeId: string, styles: Record<string, any>): void;
@@ -902,6 +900,7 @@ declare class OverlayComponent implements OnInit, OnDestroy {
902
900
  private overlayService;
903
901
  private viewportService;
904
902
  private presetRegistry;
903
+ private styleRegistry;
905
904
  private cdr;
906
905
  toolbarAction: EventEmitter<{
907
906
  action: ToolbarAction;
@@ -923,7 +922,7 @@ declare class OverlayComponent implements OnInit, OnDestroy {
923
922
  private mutationObserver?;
924
923
  private boundUpdate;
925
924
  private activeScrollContainer;
926
- constructor(overlayService: OverlayService, viewportService: ViewportService, presetRegistry: PresetRegistryService, cdr: ChangeDetectorRef);
925
+ constructor(overlayService: OverlayService, viewportService: ViewportService, presetRegistry: PresetRegistryService, styleRegistry: StyleRegistryService, cdr: ChangeDetectorRef);
927
926
  ngOnInit(): void;
928
927
  ngOnDestroy(): void;
929
928
  onSelectParent(event: MouseEvent): void;
@@ -1014,7 +1013,6 @@ declare class SectionComponent implements OnInit, OnDestroy {
1014
1013
  constructor(dragEngine: DragEngineService, cdr: ChangeDetectorRef);
1015
1014
  ngOnInit(): void;
1016
1015
  get listOrientation(): 'horizontal' | 'vertical';
1017
- getChildWidth(node: ComponentNode): string | undefined;
1018
1016
  ngOnDestroy(): void;
1019
1017
  onDrop(event: IoxDropEvent): void;
1020
1018
  static ɵfac: i0.ɵɵFactoryDeclaration<SectionComponent, never>;
@@ -1037,7 +1035,6 @@ declare class BuilderContainerComponent implements OnInit, OnDestroy {
1037
1035
  ngOnInit(): void;
1038
1036
  ngOnDestroy(): void;
1039
1037
  get listOrientation(): 'horizontal' | 'vertical';
1040
- getChildWidth(node: ComponentNode): string | undefined;
1041
1038
  onDrop(event: IoxDropEvent): void;
1042
1039
  static ɵfac: i0.ɵɵFactoryDeclaration<BuilderContainerComponent, never>;
1043
1040
  static ɵcmp: i0.ɵɵComponentDeclaration<BuilderContainerComponent, "app-builder-container", never, { "children": { "alias": "children"; "required": false; }; "style": { "alias": "style"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
@@ -1067,7 +1064,6 @@ declare class BuilderLinkedContainerComponent implements OnInit, OnDestroy {
1067
1064
  ngOnDestroy(): void;
1068
1065
  get resolvedHref(): string;
1069
1066
  get listOrientation(): 'horizontal' | 'vertical';
1070
- getChildWidth(node: ComponentNode): string | undefined;
1071
1067
  onDrop(event: IoxDropEvent): void;
1072
1068
  static ɵfac: i0.ɵɵFactoryDeclaration<BuilderLinkedContainerComponent, [null, null, null, { optional: true; }]>;
1073
1069
  static ɵcmp: i0.ɵɵComponentDeclaration<BuilderLinkedContainerComponent, "app-builder-linked-container", never, { "children": { "alias": "children"; "required": false; }; "style": { "alias": "style"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "linkType": { "alias": "linkType"; "required": false; }; "url": { "alias": "url"; "required": false; }; "pageRoute": { "alias": "pageRoute"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;