@litigiovirtual/ius-design-components 1.0.65 → 1.0.67
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/button-circle-tertiary/button-circle-tertiary.component.mjs +3 -3
- package/esm2022/lib/directives/popover.directive.mjs +170 -0
- package/esm2022/lib/input-select/input-select.component.mjs +6 -3
- package/esm2022/lib/popover/popover.component.mjs +30 -0
- package/esm2022/lib/snackbar/index.mjs +2 -0
- package/esm2022/lib/snackbar/snackbar.component.mjs +53 -0
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/litigiovirtual-ius-design-components.mjs +251 -7
- package/fesm2022/litigiovirtual-ius-design-components.mjs.map +1 -1
- package/lib/directives/popover.directive.d.ts +41 -0
- package/lib/popover/popover.component.d.ts +10 -0
- package/lib/snackbar/index.d.ts +1 -0
- package/lib/snackbar/snackbar.component.d.ts +19 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { OverlayRef, ConnectedPosition } from '@angular/cdk/overlay';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
type PrefPos = 'left' | 'right' | 'top' | 'bottom';
|
|
5
|
+
export declare class PopoverDirective implements OnDestroy {
|
|
6
|
+
private overlay;
|
|
7
|
+
private vcr;
|
|
8
|
+
private hostEl;
|
|
9
|
+
private overlayRef?;
|
|
10
|
+
private portal?;
|
|
11
|
+
private compRef?;
|
|
12
|
+
private openT?;
|
|
13
|
+
private closeT?;
|
|
14
|
+
private overHost;
|
|
15
|
+
private overOverlay;
|
|
16
|
+
private isOpen;
|
|
17
|
+
data?: {
|
|
18
|
+
title?: string;
|
|
19
|
+
content?: string;
|
|
20
|
+
};
|
|
21
|
+
title?: string;
|
|
22
|
+
content?: string;
|
|
23
|
+
iusPopoverPosition: PrefPos | PrefPos[];
|
|
24
|
+
iusPopoverOpenDelay: number;
|
|
25
|
+
iusPopoverCloseDelay: number;
|
|
26
|
+
_enterHost(): void;
|
|
27
|
+
_focusHost(): void;
|
|
28
|
+
_leaveHost(): void;
|
|
29
|
+
_blurHost(): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
getPositions(): ConnectedPosition[];
|
|
32
|
+
ensureOverlay(): OverlayRef;
|
|
33
|
+
computeTailFromRects(): 'tail-left' | 'tail-right' | 'tail-top' | 'tail-bottom';
|
|
34
|
+
show(): void;
|
|
35
|
+
hide(): void;
|
|
36
|
+
forceClose(): void;
|
|
37
|
+
dispose(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirective, "[iusPopover], [iusPopoverTitle], [iusPopoverContent]", never, { "data": { "alias": "iusPopover"; "required": false; }; "title": { "alias": "iusPopoverTitle"; "required": false; }; "content": { "alias": "iusPopoverContent"; "required": false; }; "iusPopoverPosition": { "alias": "iusPopoverPosition"; "required": false; }; "iusPopoverOpenDelay": { "alias": "iusPopoverOpenDelay"; "required": false; }; "iusPopoverCloseDelay": { "alias": "iusPopoverCloseDelay"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class PopoverComponent {
|
|
3
|
+
label: string;
|
|
4
|
+
content: string;
|
|
5
|
+
positionClass: 'tail-left' | 'tail-right' | 'tail-top' | 'tail-bottom';
|
|
6
|
+
get hostClass(): "tail-left" | "tail-right" | "tail-top" | "tail-bottom";
|
|
7
|
+
role: string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "ius-popover", never, { "label": { "alias": "label"; "required": false; }; "content": { "alias": "content"; "required": false; }; "positionClass": { "alias": "positionClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './snackbar.component';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type SnackbarVariant = 'notification' | 'error' | 'warning' | 'info' | 'success';
|
|
4
|
+
export declare class SnackbarComponent {
|
|
5
|
+
label?: string;
|
|
6
|
+
content?: string;
|
|
7
|
+
showClose: boolean;
|
|
8
|
+
variant: SnackbarVariant;
|
|
9
|
+
duration: number;
|
|
10
|
+
closed: EventEmitter<void>;
|
|
11
|
+
clickAction: EventEmitter<void>;
|
|
12
|
+
private timer?;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
close(): void;
|
|
16
|
+
onclickAction(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarComponent, "ius-snackbar", never, { "label": { "alias": "label"; "required": false; }; "content": { "alias": "content"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; }, { "closed": "closed"; "clickAction": "clickAction"; }, never, never, true, never>;
|
|
19
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED