@elxjs/ui 0.0.228 → 0.0.230
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/assets/styles/inputs.scss +2 -2
- package/esm2022/lib/components/card-product-2/card-product-2.component.mjs +3 -3
- package/esm2022/lib/components/icon/icon.component.mjs +3 -3
- package/esm2022/lib/components/index.mjs +2 -1
- package/esm2022/lib/components/numbered-list/index.mjs +2 -0
- package/esm2022/lib/components/numbered-list/numbered-list.component.mjs +143 -0
- package/fesm2022/elxjs-ui.mjs +145 -8
- package/fesm2022/elxjs-ui.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/numbered-list/index.d.ts +1 -0
- package/lib/components/numbered-list/numbered-list.component.d.ts +47 -0
- package/package.json +1 -1
|
@@ -33,3 +33,4 @@ export * from './card-service-order/card-service-order.component';
|
|
|
33
33
|
export * from './card-manual/card-manual.component';
|
|
34
34
|
export * from './card-routine/card-routine.component';
|
|
35
35
|
export * from './carousel-bleed/carousel-bleed.component';
|
|
36
|
+
export * from './numbered-list';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './numbered-list.component';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface NumberedListItem {
|
|
4
|
+
order: number;
|
|
5
|
+
title: string;
|
|
6
|
+
variant?: 'final' | string;
|
|
7
|
+
image?: string;
|
|
8
|
+
description: string;
|
|
9
|
+
hint?: string;
|
|
10
|
+
relatedItemsCTA?: string;
|
|
11
|
+
relatedItems?: {
|
|
12
|
+
model: string;
|
|
13
|
+
name: string;
|
|
14
|
+
image: string;
|
|
15
|
+
url: string;
|
|
16
|
+
}[];
|
|
17
|
+
}
|
|
18
|
+
export declare class NumberedListComponent {
|
|
19
|
+
private contentWrappers;
|
|
20
|
+
items: NumberedListItem[];
|
|
21
|
+
protected itemProgress: number[];
|
|
22
|
+
productsEcommerce: any[];
|
|
23
|
+
private readonly platformId;
|
|
24
|
+
private readonly subscriptions;
|
|
25
|
+
private animationFrameId;
|
|
26
|
+
private hasUserStartedScroll;
|
|
27
|
+
private viewedItems;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
protected onWindowScroll(): void;
|
|
32
|
+
protected onWindowWheel(): void;
|
|
33
|
+
protected onWindowTouchMove(): void;
|
|
34
|
+
protected onWindowKeydown(event: KeyboardEvent): void;
|
|
35
|
+
protected onWindowResize(): void;
|
|
36
|
+
protected getLineProgress(index: number): string;
|
|
37
|
+
protected isStepActive(index: number): boolean;
|
|
38
|
+
protected isFinalIconActive(index: number): boolean;
|
|
39
|
+
private initializeProgress;
|
|
40
|
+
private scheduleProgressUpdate;
|
|
41
|
+
private updateProgress;
|
|
42
|
+
private clamp;
|
|
43
|
+
private startUserProgressTracking;
|
|
44
|
+
ecommerceItem(product: any): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberedListComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberedListComponent, "lib-elux-numbered-list", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
+
}
|