@gettrx/core-components-angular 1.1.25 → 1.1.27
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GtrPopoverComponent implements OnInit {
|
|
3
|
+
export declare class GtrPopoverComponent implements OnInit, OnDestroy {
|
|
4
4
|
private cdr;
|
|
5
5
|
position: 'top' | 'bottom' | 'left' | 'right';
|
|
6
6
|
isOpened: boolean;
|
|
@@ -12,6 +12,7 @@ export declare class GtrPopoverComponent implements OnInit {
|
|
|
12
12
|
marginBottom?: number | null;
|
|
13
13
|
marginLeft?: number | null;
|
|
14
14
|
marginRight?: number | null;
|
|
15
|
+
scrollToBody?: boolean | null;
|
|
15
16
|
closeOnClickOutside: boolean;
|
|
16
17
|
dataTransactionName: string;
|
|
17
18
|
id: string;
|
|
@@ -22,17 +23,26 @@ export declare class GtrPopoverComponent implements OnInit {
|
|
|
22
23
|
isVisible: boolean;
|
|
23
24
|
adjustedPosition: string;
|
|
24
25
|
positionMargin: string;
|
|
26
|
+
private appendedToBody;
|
|
27
|
+
private originalParent;
|
|
28
|
+
private scrollParent;
|
|
25
29
|
onResize(event: Event): void;
|
|
26
30
|
constructor(cdr: ChangeDetectorRef);
|
|
27
31
|
ngOnInit(): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
handleBodyScroll: () => void;
|
|
28
34
|
ngAfterViewInit(): void;
|
|
35
|
+
findScrollParent(element: HTMLElement): HTMLElement | null;
|
|
36
|
+
handleScroll: () => void;
|
|
29
37
|
togglePopover(): void;
|
|
38
|
+
moveToBody(): void;
|
|
39
|
+
restoreContent(): void;
|
|
30
40
|
handleClickOutside(event: Event): void;
|
|
31
41
|
handleKeyUp(event: KeyboardEvent): void;
|
|
32
42
|
popoverContentClicked(event: Event): void;
|
|
33
43
|
adjustPopoverPosition(): void;
|
|
34
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<GtrPopoverComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrPopoverComponent, "gtr-popover", never, { "position": { "alias": "position"; "required": false; }; "isOpened": { "alias": "isOpened"; "required": false; }; "showPositionIndicator": { "alias": "showPositionIndicator"; "required": false; }; "moveX": { "alias": "moveX"; "required": false; }; "moveY": { "alias": "moveY"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; "closeOnClickOutside": { "alias": "closeOnClickOutside"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "id": { "alias": "id"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "stateChanged": "stateChanged"; }, never, ["[slot='gtr-popover-trigger']", "[slot='gtr-popover-content']"], true, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrPopoverComponent, "gtr-popover", never, { "position": { "alias": "position"; "required": false; }; "isOpened": { "alias": "isOpened"; "required": false; }; "showPositionIndicator": { "alias": "showPositionIndicator"; "required": false; }; "moveX": { "alias": "moveX"; "required": false; }; "moveY": { "alias": "moveY"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "marginTop": { "alias": "marginTop"; "required": false; }; "marginBottom": { "alias": "marginBottom"; "required": false; }; "marginLeft": { "alias": "marginLeft"; "required": false; }; "marginRight": { "alias": "marginRight"; "required": false; }; "scrollToBody": { "alias": "scrollToBody"; "required": false; }; "closeOnClickOutside": { "alias": "closeOnClickOutside"; "required": false; }; "dataTransactionName": { "alias": "dataTransactionName"; "required": false; }; "id": { "alias": "id"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "stateChanged": "stateChanged"; }, never, ["[slot='gtr-popover-trigger']", "[slot='gtr-popover-content']"], true, never>;
|
|
36
46
|
static ngAcceptInputType_isOpened: unknown;
|
|
37
47
|
static ngAcceptInputType_showPositionIndicator: unknown;
|
|
38
48
|
static ngAcceptInputType_closeOnClickOutside: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gettrx/core-components-angular",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.27",
|
|
4
4
|
"description": "Angular specific wrappers for @gettrx/core-components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gettrx",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@angular/common": "19.2.14",
|
|
22
|
-
"@gettrx/core-styles": "1.1.
|
|
22
|
+
"@gettrx/core-styles": "1.1.27",
|
|
23
23
|
"ngx-colors": "^3.6.0"
|
|
24
24
|
},
|
|
25
25
|
"module": "fesm2022/gettrx-core-components-angular.mjs",
|