@vectoriox/iox-ui 4.16.1 → 4.16.2
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,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { AfterViewInit, EventEmitter, ElementRef, SimpleChanges, OnDestroy, OnInit, Renderer2, ModuleWithProviders, InjectionToken, ChangeDetectorRef, ViewContainerRef,
|
|
2
|
+
import { AfterViewInit, EventEmitter, ElementRef, SimpleChanges, OnDestroy, OnInit, Renderer2, ModuleWithProviders, InjectionToken, ChangeDetectorRef, ViewContainerRef, Type } from '@angular/core';
|
|
3
3
|
import { AnimationPlayer, AnimationBuilder } from '@angular/animations';
|
|
4
4
|
import { Observable, Subject } from 'rxjs';
|
|
5
5
|
import * as i3 from '@angular/platform-browser/animations';
|
|
@@ -634,26 +634,33 @@ declare function parseUrlList(text: string): GalleryImage[];
|
|
|
634
634
|
* frame (SEO + no-JS baseline). In the browser `ngAfterViewInit` starts the loop, which begins on the
|
|
635
635
|
* same index 0 — so the static frame and the first live frame match and there is no hydration flash.
|
|
636
636
|
*/
|
|
637
|
-
declare class ClientGalleryComponent implements AfterViewInit,
|
|
637
|
+
declare class ClientGalleryComponent implements AfterViewInit, OnDestroy {
|
|
638
638
|
private cdr;
|
|
639
639
|
nodeId: string;
|
|
640
|
-
/** Manual images — `GalleryImage[]` or a plain `string[]` of URLs (normalised on set). */
|
|
641
|
-
images: (GalleryImage | string)[];
|
|
642
640
|
effect: string;
|
|
643
|
-
showDuration: number;
|
|
644
|
-
fadeDuration: number;
|
|
645
641
|
autoStart: boolean;
|
|
646
642
|
/** Layout mode — only `'stack'` is rendered in v1 (`'grid'` scaffolded for later). */
|
|
647
643
|
layout: 'stack' | 'grid';
|
|
648
|
-
|
|
644
|
+
private _images;
|
|
645
|
+
/** Manual images — `GalleryImage[]` or a plain `string[]` of URLs (normalised on set). */
|
|
646
|
+
set images(v: (GalleryImage | string)[]);
|
|
647
|
+
get images(): (GalleryImage | string)[];
|
|
648
|
+
private _showDuration;
|
|
649
|
+
set showDuration(v: number);
|
|
650
|
+
get showDuration(): number;
|
|
651
|
+
private _fadeDuration;
|
|
652
|
+
set fadeDuration(v: number);
|
|
653
|
+
get fadeDuration(): number;
|
|
654
|
+
/** The flat, display-ready URLs the loop cycles. Recomputed whenever `images` is set. */
|
|
649
655
|
urls: string[];
|
|
650
656
|
private currentIndex;
|
|
651
657
|
private fadingOutIndex;
|
|
652
658
|
private started;
|
|
659
|
+
/** True once the loop has been started (in ngAfterViewInit) — gates the setter-driven restart. */
|
|
660
|
+
private loopActive;
|
|
653
661
|
private loop;
|
|
654
662
|
private readonly isBrowser;
|
|
655
663
|
constructor(platformId: object, cdr: ChangeDetectorRef);
|
|
656
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
657
664
|
ngAfterViewInit(): void;
|
|
658
665
|
ngOnDestroy(): void;
|
|
659
666
|
/** Per-slide inline style. Before the loop activates (server + no-JS + pre-first-frame) the first
|
|
@@ -662,7 +669,7 @@ declare class ClientGalleryComponent implements AfterViewInit, OnChanges, OnDest
|
|
|
662
669
|
private startLoop;
|
|
663
670
|
private normalizeImages;
|
|
664
671
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClientGalleryComponent, never>;
|
|
665
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClientGalleryComponent, "iox-gallery", never, { "nodeId": { "alias": "nodeId"; "required": false; }; "
|
|
672
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClientGalleryComponent, "iox-gallery", never, { "nodeId": { "alias": "nodeId"; "required": false; }; "effect": { "alias": "effect"; "required": false; }; "autoStart": { "alias": "autoStart"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "images": { "alias": "images"; "required": false; }; "showDuration": { "alias": "showDuration"; "required": false; }; "fadeDuration": { "alias": "fadeDuration"; "required": false; }; }, {}, never, never, false, never>;
|
|
666
673
|
}
|
|
667
674
|
|
|
668
675
|
declare class IoxBuilderComponentsModule {
|