@litigiovirtual/ius-design-components 1.0.176 → 1.0.178
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/esm2022/lib/calification/calification.component.mjs +18 -4
- package/esm2022/lib/directives/infinite-scroll.directive.mjs +52 -0
- package/esm2022/lib/popover/popover.component.mjs +2 -2
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/litigiovirtual-ius-design-components.mjs +69 -5
- package/fesm2022/litigiovirtual-ius-design-components.mjs.map +1 -1
- package/lib/calification/calification.component.d.ts +7 -1
- package/lib/directives/infinite-scroll.directive.d.ts +15 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class CalificationComponent {
|
|
3
4
|
rating: number;
|
|
5
|
+
ratingChange: EventEmitter<number>;
|
|
4
6
|
stars: number[];
|
|
7
|
+
hoveredRating: number;
|
|
5
8
|
ngOnChanges(): void;
|
|
9
|
+
onStarHover(star: number): void;
|
|
10
|
+
onMouseLeave(): void;
|
|
11
|
+
onStarClick(star: number): void;
|
|
6
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalificationComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalificationComponent, "ius-calification", never, { "rating": { "alias": "rating"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalificationComponent, "ius-calification", never, { "rating": { "alias": "rating"; "required": false; }; }, { "ratingChange": "ratingChange"; }, never, never, true, never>;
|
|
8
14
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InfiniteScrollDirective implements OnInit, OnDestroy {
|
|
4
|
+
private host;
|
|
5
|
+
rootMargin: string;
|
|
6
|
+
threshold: number;
|
|
7
|
+
scrolledToEnd: EventEmitter<void>;
|
|
8
|
+
private observer;
|
|
9
|
+
private sentinel;
|
|
10
|
+
constructor(host: ElementRef<HTMLElement>);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScrollDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InfiniteScrollDirective, "[iusInfiniteScroll]", never, { "rootMargin": { "alias": "rootMargin"; "required": false; }; "threshold": { "alias": "threshold"; "required": false; }; }, { "scrolledToEnd": "scrolledToEnd"; }, never, never, true, never>;
|
|
15
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED