@ieeesa-npm/presentation 0.31.1 → 0.31.3
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/components/export-format-popover/export-format-popover.component.mjs +20 -151
- package/esm2022/lib/components/tabs/tabs.component.mjs +5 -2
- package/esm2022/lib/models/custom-properties.model.mjs +2 -1
- package/fesm2022/ieeesa-npm-presentation.mjs +22 -148
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/export-format-popover/export-format-popover.component.d.ts +15 -61
- package/lib/components/tabs/tabs.component.d.ts +2 -1
- package/lib/models/custom-properties.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,29 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Overlay, OverlayPositionBuilder } from '@angular/cdk/overlay';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
4
2
|
import { ExportFormat, ExportFormatOption } from '../../models/export-format-popover.model';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
/**
|
|
7
|
-
* ExportFormatPopoverComponent renders a
|
|
8
|
-
*
|
|
9
|
-
* The popover supports keyboard navigation (Tab between options, Enter to select,
|
|
10
|
-
* Escape to close) and emits the selected format or a close event.
|
|
5
|
+
* ExportFormatPopoverComponent renders a popover presenting format selection
|
|
6
|
+
* cards (CSV / Excel). Positioned via CSS absolute below the trigger element.
|
|
11
7
|
*
|
|
12
8
|
* @export
|
|
13
9
|
* @class ExportFormatPopoverComponent
|
|
14
|
-
* @implements {OnInit}
|
|
15
|
-
* @implements {OnChanges}
|
|
16
|
-
* @implements {OnDestroy}
|
|
17
10
|
*/
|
|
18
|
-
export declare class ExportFormatPopoverComponent
|
|
19
|
-
private overlay;
|
|
20
|
-
private overlayPositionBuilder;
|
|
21
|
-
private viewContainerRef;
|
|
11
|
+
export declare class ExportFormatPopoverComponent {
|
|
22
12
|
/** Array of format options to display in the popover */
|
|
23
13
|
formatOptions: ExportFormatOption[];
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated No longer used for positioning; kept for backwards compatibility.
|
|
16
|
+
*/
|
|
17
|
+
origin?: unknown;
|
|
18
|
+
/** Controls visibility */
|
|
27
19
|
isOpen: boolean;
|
|
28
20
|
/** Title text displayed at the top of the popover */
|
|
29
21
|
popoverTitle: string;
|
|
@@ -33,59 +25,21 @@ export declare class ExportFormatPopoverComponent implements OnInit, OnChanges,
|
|
|
33
25
|
selectedFormat: ExportFormat | null;
|
|
34
26
|
/** Emits when user selects a format */
|
|
35
27
|
formatSelected: EventEmitter<ExportFormat>;
|
|
36
|
-
/** Emits when popover
|
|
28
|
+
/** Emits when the popover should be closed (backdrop click or after selection). */
|
|
37
29
|
closed: EventEmitter<void>;
|
|
38
|
-
popoverTemplate: TemplateRef<unknown>;
|
|
39
|
-
private overlayRef;
|
|
40
|
-
private portal;
|
|
41
|
-
destroy$: Subject<boolean>;
|
|
42
|
-
constructor(overlay: Overlay, overlayPositionBuilder: OverlayPositionBuilder, viewContainerRef: ViewContainerRef);
|
|
43
|
-
/**
|
|
44
|
-
* Lifecycle hook — initial setup.
|
|
45
|
-
* @memberof ExportFormatPopoverComponent
|
|
46
|
-
*/
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
/**
|
|
49
|
-
* Responds to input changes — opens or closes the overlay when `isOpen` changes.
|
|
50
|
-
* @param {SimpleChanges} changes
|
|
51
|
-
* @memberof ExportFormatPopoverComponent
|
|
52
|
-
*/
|
|
53
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
54
|
-
/**
|
|
55
|
-
* Creates and opens the CDK overlay positioned below the origin element.
|
|
56
|
-
* @memberof ExportFormatPopoverComponent
|
|
57
|
-
*/
|
|
58
|
-
private openOverlay;
|
|
59
|
-
/**
|
|
60
|
-
* Detaches and disposes the overlay.
|
|
61
|
-
* @memberof ExportFormatPopoverComponent
|
|
62
|
-
*/
|
|
63
|
-
private closeOverlay;
|
|
64
|
-
/**
|
|
65
|
-
* Closes the popover and emits the `closed` event.
|
|
66
|
-
* @memberof ExportFormatPopoverComponent
|
|
67
|
-
*/
|
|
68
|
-
private close;
|
|
69
30
|
/**
|
|
70
31
|
* Handles format option selection via click or Enter key.
|
|
71
|
-
*
|
|
72
|
-
* @param {ExportFormat} format - The selected export format value
|
|
73
|
-
* @memberof ExportFormatPopoverComponent
|
|
32
|
+
* @param {ExportFormat} format
|
|
74
33
|
*/
|
|
75
34
|
onFormatSelect(format: ExportFormat): void;
|
|
76
35
|
/**
|
|
77
|
-
*
|
|
78
|
-
* @param {number} index
|
|
79
|
-
* @param {ExportFormatOption} option
|
|
80
|
-
* @return {string}
|
|
81
|
-
* @memberof ExportFormatPopoverComponent
|
|
36
|
+
* Closes the popover via backdrop click.
|
|
82
37
|
*/
|
|
83
|
-
|
|
38
|
+
onBackdropClick(): void;
|
|
84
39
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @memberof ExportFormatPopoverComponent
|
|
40
|
+
* TrackBy function for *ngFor on format options.
|
|
87
41
|
*/
|
|
88
|
-
|
|
42
|
+
trackByFormat(index: number, option: ExportFormatOption): string;
|
|
89
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExportFormatPopoverComponent, never>;
|
|
90
44
|
static ɵcmp: i0.ɵɵComponentDeclaration<ExportFormatPopoverComponent, "ieeesa-export-format-popover", never, { "formatOptions": { "alias": "formatOptions"; "required": false; }; "origin": { "alias": "origin"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "popoverTitle": { "alias": "popoverTitle"; "required": false; }; "formatSubtitles": { "alias": "formatSubtitles"; "required": false; }; }, { "formatSelected": "formatSelected"; "closed": "closed"; }, never, never, true, never>;
|
|
91
45
|
}
|
|
@@ -34,6 +34,7 @@ export declare class TabsComponent implements OnInit, OnDestroy {
|
|
|
34
34
|
actionType: any;
|
|
35
35
|
routePaths: EventsAndMeetingRouteConfig;
|
|
36
36
|
apiBaseURL: string;
|
|
37
|
+
apiDomainURL: string;
|
|
37
38
|
userPermissions: UserPermission[];
|
|
38
39
|
customProperties: CustomProperties[];
|
|
39
40
|
constructor(dialog: MatDialog);
|
|
@@ -81,5 +82,5 @@ export declare class TabsComponent implements OnInit, OnDestroy {
|
|
|
81
82
|
*/
|
|
82
83
|
ngOnDestroy(): void;
|
|
83
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ieeesa-tabs", never, { "selectedTabIndex": { "alias": "selectedTabIndex"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; "isFormChanged": { "alias": "isFormChanged"; "required": false; }; "confirmationModalConfig": { "alias": "confirmationModalConfig"; "required": false; }; "isViewOnly": { "alias": "isViewOnly"; "required": false; }; "isMemberOfGroup": { "alias": "isMemberOfGroup"; "required": false; }; "eventId": { "alias": "eventId"; "required": false; }; "meetingId": { "alias": "meetingId"; "required": false; }; "actionType": { "alias": "actionType"; "required": false; }; "routePaths": { "alias": "routePaths"; "required": false; }; "apiBaseURL": { "alias": "apiBaseURL"; "required": false; }; "userPermissions": { "alias": "userPermissions"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; }, never, never, true, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ieeesa-tabs", never, { "selectedTabIndex": { "alias": "selectedTabIndex"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; "isFormChanged": { "alias": "isFormChanged"; "required": false; }; "confirmationModalConfig": { "alias": "confirmationModalConfig"; "required": false; }; "isViewOnly": { "alias": "isViewOnly"; "required": false; }; "isMemberOfGroup": { "alias": "isMemberOfGroup"; "required": false; }; "eventId": { "alias": "eventId"; "required": false; }; "meetingId": { "alias": "meetingId"; "required": false; }; "actionType": { "alias": "actionType"; "required": false; }; "routePaths": { "alias": "routePaths"; "required": false; }; "apiBaseURL": { "alias": "apiBaseURL"; "required": false; }; "apiDomainURL": { "alias": "apiDomainURL"; "required": false; }; "userPermissions": { "alias": "userPermissions"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; }, never, never, true, never>;
|
|
85
86
|
}
|