@indigina/ui-kit 1.1.108 → 1.1.109
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,43 +1,39 @@
|
|
|
1
|
-
import { ElementRef,
|
|
2
|
-
import {
|
|
1
|
+
import { ElementRef, InputSignal, OutputEmitterRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import { PopupSettings, PopupService } from '@progress/kendo-angular-popup';
|
|
3
3
|
import { KitButtonKind, KitButtonType } from '../kit-button/kit-button.const';
|
|
4
|
+
import { KitPopupPositionMode } from './kit-popup.model';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class KitPopupComponent
|
|
6
|
-
private
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
*/
|
|
22
|
-
popupHorizontalAlign: KitPopupAlignHorizontal;
|
|
23
|
-
showFooter: boolean;
|
|
24
|
-
cancelButtonLabel: string;
|
|
25
|
-
applyButtonLabel: string;
|
|
26
|
-
isApplyButtonDisabled: boolean;
|
|
27
|
-
positionMode: KitPopupPositionMode;
|
|
28
|
-
cancel: EventEmitter<void>;
|
|
29
|
-
apply: EventEmitter<void>;
|
|
30
|
-
readonly visible: WritableSignal<boolean>;
|
|
31
|
-
readonly anchorAlign: KitPopupAlign;
|
|
32
|
-
readonly popupAlign: KitPopupAlign;
|
|
6
|
+
export declare class KitPopupComponent {
|
|
7
|
+
private readonly popupService;
|
|
8
|
+
popupTemplate: TemplateRef<unknown>;
|
|
9
|
+
readonly anchor: InputSignal<ElementRef | HTMLElement>;
|
|
10
|
+
readonly content: InputSignal<TemplateRef<unknown>>;
|
|
11
|
+
readonly closeOnOutsideClick: InputSignal<boolean>;
|
|
12
|
+
readonly showFooter: InputSignal<boolean>;
|
|
13
|
+
readonly cancelButtonLabel: InputSignal<string>;
|
|
14
|
+
readonly applyButtonLabel: InputSignal<string>;
|
|
15
|
+
readonly isApplyButtonDisabled: InputSignal<boolean>;
|
|
16
|
+
readonly positionMode: InputSignal<KitPopupPositionMode>;
|
|
17
|
+
readonly popupClass: InputSignal<string>;
|
|
18
|
+
readonly onCancel: OutputEmitterRef<void>;
|
|
19
|
+
readonly onApply: OutputEmitterRef<void>;
|
|
20
|
+
readonly onOpen: OutputEmitterRef<void>;
|
|
21
|
+
readonly onClose: OutputEmitterRef<void>;
|
|
33
22
|
readonly kitButtonKind: typeof KitButtonKind;
|
|
34
23
|
readonly kitButtonType: typeof KitButtonType;
|
|
35
|
-
|
|
24
|
+
private popupRef;
|
|
25
|
+
private readonly destroy$;
|
|
26
|
+
get popupHTMLElement(): HTMLElement | null;
|
|
27
|
+
get isPopupOpen(): boolean;
|
|
28
|
+
get anchorElement(): HTMLElement;
|
|
29
|
+
constructor(popupService: PopupService);
|
|
36
30
|
documentClick(event: Event): void;
|
|
37
31
|
ngOnInit(): void;
|
|
38
|
-
|
|
39
|
-
toggle(): void;
|
|
40
|
-
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
toggle(options?: PopupSettings): void;
|
|
34
|
+
close(): void;
|
|
35
|
+
cancel(): void;
|
|
36
|
+
apply(): void;
|
|
41
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitPopupComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitPopupComponent, "kit-popup", never, { "anchor": { "alias": "anchor"; "required":
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitPopupComponent, "kit-popup", never, { "anchor": { "alias": "anchor"; "required": true; "isSignal": true; }; "content": { "alias": "content"; "required": true; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; "showFooter": { "alias": "showFooter"; "required": false; "isSignal": true; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; "isSignal": true; }; "applyButtonLabel": { "alias": "applyButtonLabel"; "required": false; "isSignal": true; }; "isApplyButtonDisabled": { "alias": "isApplyButtonDisabled"; "required": false; "isSignal": true; }; "positionMode": { "alias": "positionMode"; "required": false; "isSignal": true; }; "popupClass": { "alias": "popupClass"; "required": false; "isSignal": true; }; }, { "onCancel": "onCancel"; "onApply": "onApply"; "onOpen": "onOpen"; "onClose": "onClose"; }, never, never, true, never>;
|
|
43
39
|
}
|
|
@@ -21,12 +21,13 @@ export declare class KitProfileMenuComponent {
|
|
|
21
21
|
* Defines the image source of the avatar
|
|
22
22
|
*/
|
|
23
23
|
avatarImageSrc?: string;
|
|
24
|
-
|
|
24
|
+
popup: KitPopupComponent;
|
|
25
25
|
readonly KitAvatarSize: typeof KitAvatarSize;
|
|
26
26
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
27
27
|
readonly KitPopupAlignHorizontal: typeof KitPopupAlignHorizontal;
|
|
28
28
|
readonly KitSvgIconType: typeof KitSvgIconType;
|
|
29
29
|
onClick(item: KitProfileMenuItem): void;
|
|
30
|
+
toggle(): void;
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitProfileMenuComponent, never>;
|
|
31
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitProfileMenuComponent, "kit-profile-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "companyName": { "alias": "companyName"; "required": false; }; "avatarImageSrc": { "alias": "avatarImageSrc"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
33
|
}
|