@vectoriox/iox-builder 2.0.4 → 2.1.0

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": "2.0.4",
3
+ "version": "2.1.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -1364,12 +1364,23 @@ declare class RenderDirective implements OnInit, OnDestroy {
1364
1364
  private interactionEngine;
1365
1365
  private cdr;
1366
1366
  private panelEventService;
1367
+ private dragEngine;
1367
1368
  ioxRender: ComponentNode | null;
1369
+ /**
1370
+ * WRAPPER-COLLAPSE opt-in (task 9c). When a parent renders a child DIRECTLY (no `iox-outer`
1371
+ * wrapper div), it passes the parent dropzone id here. The RenderDirective then puts the
1372
+ * `iox-outer-{id}` class on the node HOST (so the host is the single flex/grid item carrying both
1373
+ * `iox-outer` + `iox-node`, like the SSR engine) and registers drag on the host. When unset
1374
+ * (`null`), the legacy path is byte-identical — the parent's wrapper owns `iox-outer` + drag.
1375
+ */
1376
+ ioxDragSourceId: string | null;
1368
1377
  onClick: EventEmitter<any>;
1369
1378
  onMouseEnter: EventEmitter<any>;
1370
1379
  onMouseLeave: EventEmitter<any>;
1371
1380
  private childSubs;
1372
- constructor(vcr: ViewContainerRef, injector: Injector, envInjector: EnvironmentInjector, doc: Document, registryService: ComponentRegistryService, overlayService: OverlayService, styleRegistry: StyleRegistryService, interactionEngine: InteractionEngineService, cdr: ChangeDetectorRef, panelEventService: PanelEventService);
1381
+ /** Host element drag was registered on (collapsed path) — unregistered on destroy. */
1382
+ private hostDragEl;
1383
+ constructor(vcr: ViewContainerRef, injector: Injector, envInjector: EnvironmentInjector, doc: Document, registryService: ComponentRegistryService, overlayService: OverlayService, styleRegistry: StyleRegistryService, interactionEngine: InteractionEngineService, cdr: ChangeDetectorRef, panelEventService: PanelEventService, dragEngine: DragEngineService);
1373
1384
  /**
1374
1385
  * Tag for a variable-tag directive-host (whose selector lists several tags, so
1375
1386
  * `vcr.createComponent` would always pick the first). Reads the value from the node's traits.
@@ -1394,7 +1405,7 @@ declare class RenderDirective implements OnInit, OnDestroy {
1394
1405
  /** Try setInput(); fall back to direct assignment for non-@Input properties. */
1395
1406
  private safeSetInput;
1396
1407
  static ɵfac: i0.ɵɵFactoryDeclaration<RenderDirective, never>;
1397
- static ɵdir: i0.ɵɵDirectiveDeclaration<RenderDirective, "[ioxRender]", never, { "ioxRender": { "alias": "ioxRender"; "required": false; }; }, { "onClick": "onClick"; "onMouseEnter": "onMouseEnter"; "onMouseLeave": "onMouseLeave"; }, never, never, false, never>;
1408
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RenderDirective, "[ioxRender]", never, { "ioxRender": { "alias": "ioxRender"; "required": false; }; "ioxDragSourceId": { "alias": "ioxDragSourceId"; "required": false; }; }, { "onClick": "onClick"; "onMouseEnter": "onMouseEnter"; "onMouseLeave": "onMouseLeave"; }, never, never, false, never>;
1398
1409
  }
1399
1410
 
1400
1411
  declare class IoxDraggableDirective implements OnInit, OnDestroy {