@vectoriox/iox-builder 11.39.0 → 11.40.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/index.d.ts CHANGED
@@ -3416,7 +3416,7 @@ declare class BuilderDataSourceService {
3416
3416
  static ɵprov: i0.ɵɵInjectableDeclaration<BuilderDataSourceService>;
3417
3417
  }
3418
3418
 
3419
- declare class BuilderRepeaterComponent implements OnInit, OnDestroy {
3419
+ declare class BuilderRepeaterComponent implements OnInit, AfterViewInit, OnDestroy {
3420
3420
  private dragEngine;
3421
3421
  private overlayService;
3422
3422
  private dataSourceService;
@@ -3448,6 +3448,16 @@ declare class BuilderRepeaterComponent implements OnInit, OnDestroy {
3448
3448
  node: ComponentNode | null;
3449
3449
  /** Set once a fetch has answered — an empty source is a FINDING only after it said so. */
3450
3450
  private fetched;
3451
+ /** Preview (`IS_PREVIEW`), the visitor's page: the list draws its ROWS and nothing else. */
3452
+ readonly isPreview: boolean;
3453
+ private viewReady;
3454
+ private destroyed;
3455
+ /**
3456
+ * Whether the template row is drawn. The canvas always draws it — it is what the author edits. Preview draws it only
3457
+ * once the source answered with rows, as the engine draws a list (`repeaterItems`: no source or no rows → no row): a
3458
+ * list with nothing to show drew ONE empty card there — an empty picture under the scrim, no words (iox-ui#162).
3459
+ */
3460
+ get drawsTemplate(): boolean;
3451
3461
  /** A composite whose source answered with no rows: the placeholder takes the template's place. */
3452
3462
  get showsEmptySource(): boolean;
3453
3463
  get emptySourceTitle(): string;
@@ -3467,12 +3477,13 @@ declare class BuilderRepeaterComponent implements OnInit, OnDestroy {
3467
3477
  set sourcePath(value: string);
3468
3478
  get limit(): number;
3469
3479
  set limit(value: number);
3470
- constructor(dragEngine: DragEngineService, overlayService: OverlayService, dataSourceService: BuilderDataSourceService, dsRegistry: DataSourceRegistryService, panelEventService: PanelEventService, cdr: ChangeDetectorRef, interactionEngine: InteractionEngineService, labels?: BuilderLabelResolver | undefined, typeLabels?: ContentTypeLabelResolver | undefined);
3480
+ constructor(dragEngine: DragEngineService, overlayService: OverlayService, dataSourceService: BuilderDataSourceService, dsRegistry: DataSourceRegistryService, panelEventService: PanelEventService, cdr: ChangeDetectorRef, interactionEngine: InteractionEngineService, labels?: BuilderLabelResolver | undefined, typeLabels?: ContentTypeLabelResolver | undefined, preview?: boolean | null);
3471
3481
  ngOnInit(): void;
3472
3482
  /** The definition the last fetch ran on — compared to the registry's to refetch only on a real change. */
3473
3483
  private fetchedDefinition;
3474
3484
  private sourceSub?;
3475
3485
  private sourceDefinition;
3486
+ ngAfterViewInit(): void;
3476
3487
  ngOnDestroy(): void;
3477
3488
  onDrop(event: IoxDropEvent): void;
3478
3489
  /** Monotonic fetch token — editing a binding sets `source` and `sourcePath` as two separate inputs,
@@ -3494,7 +3505,7 @@ declare class BuilderRepeaterComponent implements OnInit, OnDestroy {
3494
3505
  /** Rebuild preview rows after the template STRUCTURE changed (e.g. a child was wrapped, deleted,
3495
3506
  * or moved). Deferred so the new DOM + overlay refs exist before bindings are re-applied. */
3496
3507
  refreshTemplate(): void;
3497
- static ɵfac: i0.ɵɵFactoryDeclaration<BuilderRepeaterComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
3508
+ static ɵfac: i0.ɵɵFactoryDeclaration<BuilderRepeaterComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
3498
3509
  static ɵcmp: i0.ɵɵComponentDeclaration<BuilderRepeaterComponent, "app-builder-repeater", never, { "children": { "alias": "children"; "required": false; }; "style": { "alias": "style"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "source": { "alias": "source"; "required": false; }; "sourcePath": { "alias": "sourcePath"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; }, { "childClick": "childClick"; "childMouseEnter": "childMouseEnter"; "childMouseLeave": "childMouseLeave"; }, never, never, false, never>;
3499
3510
  }
3500
3511
 
@@ -3812,6 +3823,8 @@ declare class SliderContainerComponent implements OnInit, AfterViewInit, OnChang
3812
3823
  items: any[];
3813
3824
  previewSlides: ComponentNode[];
3814
3825
  isLoading: boolean;
3826
+ private viewReady;
3827
+ private destroyed;
3815
3828
  childClick: EventEmitter<any>;
3816
3829
  childMouseEnter: EventEmitter<any>;
3817
3830
  childMouseLeave: EventEmitter<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "11.39.0",
3
+ "version": "11.40.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",