@ieeesa-npm/presentation 0.33.1 → 1.0.0
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/assets/constants.json +13 -561
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +28 -60
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +16 -77
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +10 -27
- package/esm2022/lib/components/date-picker-header/date-picker-header.component.mjs +11 -6
- package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +14 -275
- package/esm2022/lib/components/form-error/form-error.component.mjs +6 -6
- package/esm2022/lib/components/input/input.component.mjs +13 -34
- package/esm2022/lib/components/notification/notification.component.mjs +6 -18
- package/esm2022/lib/components/radio/radio.component.mjs +6 -12
- package/esm2022/lib/components/search/search.component.mjs +10 -62
- package/esm2022/lib/components/select/select.component.mjs +9 -32
- package/esm2022/lib/components/text-area/text-area.component.mjs +7 -65
- package/esm2022/lib/date-formats.mjs +2 -2
- package/esm2022/lib/directives/dynamic-form-field/dynamic-form-field.directive.mjs +5 -206
- package/esm2022/lib/models/checkbox-option.model.mjs +2 -0
- package/esm2022/lib/models/confirmation-modal-data.model.mjs +2 -0
- package/esm2022/lib/models/date-picker.model.mjs +1 -1
- package/esm2022/lib/models/field-config.model.mjs +1 -1
- package/esm2022/lib/models/footer-config.model.mjs +1 -1
- package/esm2022/lib/models/form-control-types.model.mjs +9 -9
- package/esm2022/lib/models/header-config.model.mjs +1 -1
- package/esm2022/lib/models/navigation-menu.model.mjs +1 -1
- package/esm2022/lib/models/select-option.model.mjs +2 -0
- package/esm2022/lib/models/toggle-button.model.mjs +1 -1
- package/esm2022/lib/presentation.module.mjs +5 -5
- package/esm2022/lib/services/datepicker.service.mjs +4 -4
- package/esm2022/lib/services/form-utility.service.mjs +5 -17
- package/esm2022/public-api.mjs +17 -97
- package/fesm2022/ieeesa-npm-presentation.mjs +599 -7607
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/autocomplete/autocomplete.component.d.ts +13 -27
- package/lib/components/checkbox/checkbox.component.d.ts +6 -32
- package/lib/components/date-picker/date-picker.component.d.ts +2 -11
- package/lib/components/dynamic-form/dynamic-form.component.d.ts +11 -157
- package/lib/components/input/input.component.d.ts +2 -9
- package/lib/components/notification/notification.component.d.ts +1 -4
- package/lib/components/radio/radio.component.d.ts +1 -3
- package/lib/components/search/search.component.d.ts +4 -13
- package/lib/components/select/select.component.d.ts +2 -5
- package/lib/components/text-area/text-area.component.d.ts +2 -24
- package/lib/directives/dynamic-form-field/dynamic-form-field.directive.d.ts +3 -36
- package/lib/models/checkbox-option.model.d.ts +6 -0
- package/lib/models/confirmation-modal-data.model.d.ts +5 -0
- package/lib/models/date-picker.model.d.ts +0 -3
- package/lib/models/field-config.model.d.ts +2 -54
- package/lib/models/footer-config.model.d.ts +0 -1
- package/lib/models/form-control-types.model.d.ts +1 -8
- package/lib/models/header-config.model.d.ts +0 -6
- package/lib/models/navigation-menu.model.d.ts +1 -1
- package/lib/models/select-option.model.d.ts +5 -0
- package/lib/models/toggle-button.model.d.ts +0 -4
- package/lib/services/form-utility.service.d.ts +1 -1
- package/package.json +2 -4
- package/public-api.d.ts +16 -95
- package/src/lib/assets/constants.json +13 -561
- package/esm2022/lib/components/accordion/accordion.component.mjs +0 -61
- package/esm2022/lib/components/add-form-group/add-form-group.component.mjs +0 -34
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -147
- package/esm2022/lib/components/card/card.component.mjs +0 -74
- package/esm2022/lib/components/chips/chips.component.mjs +0 -162
- package/esm2022/lib/components/color-picker/color-picker.component.mjs +0 -314
- package/esm2022/lib/components/data-table/data-table.component.mjs +0 -781
- package/esm2022/lib/components/export-format-popover/export-format-popover.component.mjs +0 -75
- package/esm2022/lib/components/export-success-dialog/export-success-dialog.component.mjs +0 -39
- package/esm2022/lib/components/file-download/file-download.component.mjs +0 -176
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +0 -474
- package/esm2022/lib/components/filter/filter.component.mjs +0 -302
- package/esm2022/lib/components/filter-popover/filter-popover.component.mjs +0 -198
- package/esm2022/lib/components/footer/footer.component.mjs +0 -55
- package/esm2022/lib/components/form-support-text/form-support-text.component.mjs +0 -63
- package/esm2022/lib/components/header/header.component.mjs +0 -193
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +0 -38
- package/esm2022/lib/components/image-preview/image-preview.component.mjs +0 -30
- package/esm2022/lib/components/inactive-tenant/inactive-tenant.component.mjs +0 -44
- package/esm2022/lib/components/legend/legend.component.mjs +0 -37
- package/esm2022/lib/components/list/list.component.mjs +0 -199
- package/esm2022/lib/components/loader/loader.component.mjs +0 -22
- package/esm2022/lib/components/menu/menu.component.mjs +0 -75
- package/esm2022/lib/components/modal/modal.component.mjs +0 -166
- package/esm2022/lib/components/modal-confirmation/modal-confirmation.component.mjs +0 -45
- package/esm2022/lib/components/modal-info/modal-info.component.mjs +0 -41
- package/esm2022/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.mjs +0 -321
- package/esm2022/lib/components/navigation-menu/navigation-menu.component.mjs +0 -89
- package/esm2022/lib/components/policy-confirmation-dialog/policy-confirmation-dialog.component.mjs +0 -81
- package/esm2022/lib/components/rich-text-editor/rich-text-editor.component.mjs +0 -214
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +0 -98
- package/esm2022/lib/components/stepper/stepper.component.mjs +0 -69
- package/esm2022/lib/components/tabs/tabs.component.mjs +0 -210
- package/esm2022/lib/components/tile/tile.component.mjs +0 -70
- package/esm2022/lib/components/time-picker/time-picker.component.mjs +0 -59
- package/esm2022/lib/components/toggle-button/toggle-button.component.mjs +0 -76
- package/esm2022/lib/components/welcome/welcome.component.mjs +0 -85
- package/esm2022/lib/directives/file-upload/file-upload.directive.mjs +0 -85
- package/esm2022/lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive.mjs +0 -34
- package/esm2022/lib/directives/observe-dom-change/observe-dom-change.directive.mjs +0 -54
- package/esm2022/lib/directives/set-background/set-background.directive.mjs +0 -53
- package/esm2022/lib/directives/text-truncated/text-truncated.directive.mjs +0 -72
- package/esm2022/lib/models/accordion-info.model.mjs +0 -14
- package/esm2022/lib/models/align-browsed-files.model.mjs +0 -7
- package/esm2022/lib/models/allowed-file-types.model.mjs +0 -8
- package/esm2022/lib/models/app-config-info.model.mjs +0 -2
- package/esm2022/lib/models/breadcrumb.model.mjs +0 -2
- package/esm2022/lib/models/button-type.model.mjs +0 -7
- package/esm2022/lib/models/card-button.model.mjs +0 -2
- package/esm2022/lib/models/card-info.model.mjs +0 -2
- package/esm2022/lib/models/chip-option.model.mjs +0 -21
- package/esm2022/lib/models/color-format.model.mjs +0 -13
- package/esm2022/lib/models/custom-properties.model.mjs +0 -14
- package/esm2022/lib/models/download-file.model.mjs +0 -2
- package/esm2022/lib/models/event-emit-type.model.mjs +0 -2
- package/esm2022/lib/models/export-format-popover.model.mjs +0 -10
- package/esm2022/lib/models/export-success-dialog.model.mjs +0 -2
- package/esm2022/lib/models/file-download-config.model.mjs +0 -2
- package/esm2022/lib/models/file-info.model.mjs +0 -2
- package/esm2022/lib/models/file-upload-payload-model.mjs +0 -2
- package/esm2022/lib/models/file-upload-presigned-url-res.model.mjs +0 -2
- package/esm2022/lib/models/file-upload-response.model.mjs +0 -2
- package/esm2022/lib/models/file-upload-status.model.mjs +0 -2
- package/esm2022/lib/models/filter-popover.model.mjs +0 -2
- package/esm2022/lib/models/filters-options.model.mjs +0 -2
- package/esm2022/lib/models/inactive-tenant.model.mjs +0 -2
- package/esm2022/lib/models/input-field-type.model.mjs +0 -8
- package/esm2022/lib/models/legend.model.mjs +0 -2
- package/esm2022/lib/models/link-type.model.mjs +0 -6
- package/esm2022/lib/models/list-item.model.mjs +0 -2
- package/esm2022/lib/models/menu.model.mjs +0 -2
- package/esm2022/lib/models/paginator-config.model.mjs +0 -2
- package/esm2022/lib/models/policy-confirmation-dialog.model.mjs +0 -2
- package/esm2022/lib/models/profile-menu.model.mjs +0 -8
- package/esm2022/lib/models/select-opened-state.model.mjs +0 -2
- package/esm2022/lib/models/selected-date.model.mjs +0 -2
- package/esm2022/lib/models/selected-time.model.mjs +0 -2
- package/esm2022/lib/models/slide-toggle-options.model.mjs +0 -2
- package/esm2022/lib/models/tab.model.mjs +0 -2
- package/esm2022/lib/models/table-actions.model.mjs +0 -2
- package/esm2022/lib/models/table-column-menu-info.model.mjs +0 -2
- package/esm2022/lib/models/table-schema.model.mjs +0 -20
- package/esm2022/lib/models/tile.model.mjs +0 -2
- package/esm2022/lib/pipes/safe.pipe.mjs +0 -44
- package/esm2022/lib/services/break-point-observer.service.mjs +0 -36
- package/esm2022/lib/services/file-upload.service.mjs +0 -378
- package/lib/components/accordion/accordion.component.d.ts +0 -30
- package/lib/components/add-form-group/add-form-group.component.d.ts +0 -19
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -61
- package/lib/components/card/card.component.d.ts +0 -39
- package/lib/components/chips/chips.component.d.ts +0 -374
- package/lib/components/color-picker/color-picker.component.d.ts +0 -88
- package/lib/components/data-table/data-table.component.d.ts +0 -326
- package/lib/components/export-format-popover/export-format-popover.component.d.ts +0 -45
- package/lib/components/export-success-dialog/export-success-dialog.component.d.ts +0 -24
- package/lib/components/file-download/file-download.component.d.ts +0 -383
- package/lib/components/file-upload/file-upload.component.d.ts +0 -522
- package/lib/components/filter/filter.component.d.ts +0 -113
- package/lib/components/filter-popover/filter-popover.component.d.ts +0 -84
- package/lib/components/footer/footer.component.d.ts +0 -37
- package/lib/components/form-support-text/form-support-text.component.d.ts +0 -32
- package/lib/components/header/header.component.d.ts +0 -86
- package/lib/components/icon-button/icon-button.component.d.ts +0 -21
- package/lib/components/image-preview/image-preview.component.d.ts +0 -11
- package/lib/components/inactive-tenant/inactive-tenant.component.d.ts +0 -21
- package/lib/components/legend/legend.component.d.ts +0 -13
- package/lib/components/list/list.component.d.ts +0 -95
- package/lib/components/loader/loader.component.d.ts +0 -7
- package/lib/components/menu/menu.component.d.ts +0 -36
- package/lib/components/modal/modal.component.d.ts +0 -75
- package/lib/components/modal-confirmation/modal-confirmation.component.d.ts +0 -24
- package/lib/components/modal-info/modal-info.component.d.ts +0 -23
- package/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.d.ts +0 -130
- package/lib/components/navigation-menu/navigation-menu.component.d.ts +0 -45
- package/lib/components/policy-confirmation-dialog/policy-confirmation-dialog.component.d.ts +0 -46
- package/lib/components/rich-text-editor/rich-text-editor.component.d.ts +0 -75
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +0 -45
- package/lib/components/stepper/stepper.component.d.ts +0 -46
- package/lib/components/tabs/tabs.component.d.ts +0 -86
- package/lib/components/tile/tile.component.d.ts +0 -39
- package/lib/components/time-picker/time-picker.component.d.ts +0 -20
- package/lib/components/toggle-button/toggle-button.component.d.ts +0 -51
- package/lib/components/welcome/welcome.component.d.ts +0 -41
- package/lib/directives/file-upload/file-upload.directive.d.ts +0 -42
- package/lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive.d.ts +0 -18
- package/lib/directives/observe-dom-change/observe-dom-change.directive.d.ts +0 -23
- package/lib/directives/set-background/set-background.directive.d.ts +0 -28
- package/lib/directives/text-truncated/text-truncated.directive.d.ts +0 -30
- package/lib/models/accordion-info.model.d.ts +0 -12
- package/lib/models/align-browsed-files.model.d.ts +0 -4
- package/lib/models/allowed-file-types.model.d.ts +0 -5
- package/lib/models/app-config-info.model.d.ts +0 -16
- package/lib/models/breadcrumb.model.d.ts +0 -6
- package/lib/models/button-type.model.d.ts +0 -4
- package/lib/models/card-button.model.d.ts +0 -6
- package/lib/models/card-info.model.d.ts +0 -8
- package/lib/models/chip-option.model.d.ts +0 -25
- package/lib/models/color-format.model.d.ts +0 -13
- package/lib/models/custom-properties.model.d.ts +0 -11
- package/lib/models/download-file.model.d.ts +0 -4
- package/lib/models/event-emit-type.model.d.ts +0 -5
- package/lib/models/export-format-popover.model.d.ts +0 -15
- package/lib/models/export-success-dialog.model.d.ts +0 -8
- package/lib/models/file-download-config.model.d.ts +0 -9
- package/lib/models/file-info.model.d.ts +0 -12
- package/lib/models/file-upload-payload-model.d.ts +0 -10
- package/lib/models/file-upload-presigned-url-res.model.d.ts +0 -35
- package/lib/models/file-upload-response.model.d.ts +0 -13
- package/lib/models/file-upload-status.model.d.ts +0 -8
- package/lib/models/filter-popover.model.d.ts +0 -24
- package/lib/models/filters-options.model.d.ts +0 -4
- package/lib/models/inactive-tenant.model.d.ts +0 -5
- package/lib/models/input-field-type.model.d.ts +0 -5
- package/lib/models/legend.model.d.ts +0 -6
- package/lib/models/link-type.model.d.ts +0 -3
- package/lib/models/list-item.model.d.ts +0 -24
- package/lib/models/menu.model.d.ts +0 -9
- package/lib/models/paginator-config.model.d.ts +0 -5
- package/lib/models/policy-confirmation-dialog.model.d.ts +0 -13
- package/lib/models/profile-menu.model.d.ts +0 -4
- package/lib/models/select-opened-state.model.d.ts +0 -4
- package/lib/models/selected-date.model.d.ts +0 -4
- package/lib/models/selected-time.model.d.ts +0 -4
- package/lib/models/slide-toggle-options.model.d.ts +0 -6
- package/lib/models/tab.model.d.ts +0 -6
- package/lib/models/table-actions.model.d.ts +0 -8
- package/lib/models/table-column-menu-info.model.d.ts +0 -6
- package/lib/models/table-schema.model.d.ts +0 -32
- package/lib/models/tile.model.d.ts +0 -12
- package/lib/pipes/safe.pipe.d.ts +0 -16
- package/lib/services/break-point-observer.service.d.ts +0 -21
- package/lib/services/file-upload.service.d.ts +0 -462
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FilterPopoverCategory, FilterPopoverOption, FilterPopoverSelection } from '../../models/filter-popover.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* FilterPopoverComponent renders a configurable multi-category filter popup.
|
|
6
|
-
* Positioned via CSS absolute — parent must wrap trigger + this component
|
|
7
|
-
* in a `position: relative` container.
|
|
8
|
-
*
|
|
9
|
-
* Supports single or multi-category mode:
|
|
10
|
-
* - Single category: left nav is hidden, only checkbox list shown.
|
|
11
|
-
* - Multi-category: left nav with category selection + right panel.
|
|
12
|
-
*
|
|
13
|
-
* @export
|
|
14
|
-
* @class FilterPopoverComponent
|
|
15
|
-
* @implements {OnChanges}
|
|
16
|
-
*/
|
|
17
|
-
export declare class FilterPopoverComponent implements OnChanges {
|
|
18
|
-
/** Controls visibility */
|
|
19
|
-
isOpen: boolean;
|
|
20
|
-
/** Filter categories with their options — parent defines what to show */
|
|
21
|
-
categories: FilterPopoverCategory[];
|
|
22
|
-
/** Header title text */
|
|
23
|
-
title: string;
|
|
24
|
-
/** Clear all button text */
|
|
25
|
-
clearAllLabel: string;
|
|
26
|
-
/** Select all link text */
|
|
27
|
-
selectAllLabel: string;
|
|
28
|
-
/** Deselect all link text */
|
|
29
|
-
deselectAllLabel: string;
|
|
30
|
-
/** Reset button text */
|
|
31
|
-
resetLabel: string;
|
|
32
|
-
/** Apply button text */
|
|
33
|
-
applyLabel: string;
|
|
34
|
-
/** No results message */
|
|
35
|
-
noResultsMessage: string;
|
|
36
|
-
/** Search placeholder prefix (appended with category label) */
|
|
37
|
-
searchPlaceholderPrefix: string;
|
|
38
|
-
/** Emits the current selection when user clicks Apply */
|
|
39
|
-
filterApplied: EventEmitter<FilterPopoverSelection>;
|
|
40
|
-
/** Emits when user clicks Reset */
|
|
41
|
-
filterReset: EventEmitter<void>;
|
|
42
|
-
/** Emits when the popover should be closed (backdrop click or after Apply). */
|
|
43
|
-
closed: EventEmitter<void>;
|
|
44
|
-
/** Currently active category index */
|
|
45
|
-
activeCategoryIndex: number;
|
|
46
|
-
/** Search term for filtering options */
|
|
47
|
-
searchTerm: string;
|
|
48
|
-
/** Internal working copy of categories */
|
|
49
|
-
workingCategories: FilterPopoverCategory[];
|
|
50
|
-
/**
|
|
51
|
-
* Refreshes working copy when opening or categories change.
|
|
52
|
-
*/
|
|
53
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
54
|
-
/** Whether this is a single-category filter (hides left nav) */
|
|
55
|
-
get isSingleCategory(): boolean;
|
|
56
|
-
/** Total number of selected options across all categories */
|
|
57
|
-
get totalSelectedCount(): number;
|
|
58
|
-
/** Currently active category */
|
|
59
|
-
get activeCategory(): FilterPopoverCategory | undefined;
|
|
60
|
-
/** Options filtered by search term for the active category */
|
|
61
|
-
get filteredOptions(): FilterPopoverOption[];
|
|
62
|
-
/** Whether all visible options are checked */
|
|
63
|
-
get isAllVisibleSelected(): boolean;
|
|
64
|
-
/** Selects a category from the left nav */
|
|
65
|
-
onCategorySelect(index: number): void;
|
|
66
|
-
/** Toggles a single checkbox option */
|
|
67
|
-
onOptionToggle(option: FilterPopoverOption): void;
|
|
68
|
-
/** Toggles all visible options */
|
|
69
|
-
onSelectAll(): void;
|
|
70
|
-
/** Applies filter and emits selection */
|
|
71
|
-
onApply(): void;
|
|
72
|
-
/** Resets all selections */
|
|
73
|
-
onReset(): void;
|
|
74
|
-
/** Clears all (same as reset) */
|
|
75
|
-
onClearAll(): void;
|
|
76
|
-
/** Closes via backdrop click */
|
|
77
|
-
onBackdropClick(): void;
|
|
78
|
-
trackByCategory(index: number): number;
|
|
79
|
-
trackByOption(_index: number, option: FilterPopoverOption): string;
|
|
80
|
-
private initWorkingCopy;
|
|
81
|
-
private recalculateSelectedCount;
|
|
82
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterPopoverComponent, never>;
|
|
83
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterPopoverComponent, "ieeesa-filter-popover", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "categories": { "alias": "categories"; "required": false; }; "title": { "alias": "title"; "required": false; }; "clearAllLabel": { "alias": "clearAllLabel"; "required": false; }; "selectAllLabel": { "alias": "selectAllLabel"; "required": false; }; "deselectAllLabel": { "alias": "deselectAllLabel"; "required": false; }; "resetLabel": { "alias": "resetLabel"; "required": false; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; "noResultsMessage": { "alias": "noResultsMessage"; "required": false; }; "searchPlaceholderPrefix": { "alias": "searchPlaceholderPrefix"; "required": false; }; }, { "filterApplied": "filterApplied"; "filterReset": "filterReset"; "closed": "closed"; }, never, never, true, never>;
|
|
84
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FooterConfig, FooterLink } from '../../models/footer-config.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Implements & displays copyright information and IEEE quick access links.
|
|
6
|
-
* @class FooterComponent
|
|
7
|
-
* @implements {OnInit}
|
|
8
|
-
*/
|
|
9
|
-
export declare class FooterComponent implements OnInit {
|
|
10
|
-
/**
|
|
11
|
-
* Input property to get the configuration information of footer copyright text and quick access links.
|
|
12
|
-
* @type {FooterConfig}
|
|
13
|
-
* @memberof FooterComponent
|
|
14
|
-
*/
|
|
15
|
-
private footerConfigInfo;
|
|
16
|
-
set footerConfig(value: FooterConfig);
|
|
17
|
-
get footerConfig(): FooterConfig;
|
|
18
|
-
screenTexts: any;
|
|
19
|
-
currentYear: number;
|
|
20
|
-
/**
|
|
21
|
-
* Initializes the component with default values if not provided.
|
|
22
|
-
* It should hide the the dashboard link if the user is not signed in.
|
|
23
|
-
* @return -returns nothing
|
|
24
|
-
* @memberof FooterComponent
|
|
25
|
-
*/
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
/**
|
|
28
|
-
* TrackByFunction is called for each item in the collection and return a unique identifier for that item.
|
|
29
|
-
* @param {number} index -The index of the current item in the collection.
|
|
30
|
-
* @param {FooterLink} link -Link object with required properties.
|
|
31
|
-
* @return {string} -returns link label as an unique identifier.
|
|
32
|
-
* @memberof FooterComponent
|
|
33
|
-
*/
|
|
34
|
-
trackByFunc(index: number, link: FooterLink): string;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "ieeesa-footer", never, { "footerConfig": { "alias": "footerConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { FieldConfig } from '../../models/field-config.model';
|
|
4
|
-
import { LinkEventEmitType } from '../../models/event-emit-type.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FormSupportTextComponent implements OnDestroy, AfterViewInit {
|
|
7
|
-
elementRef: ElementRef;
|
|
8
|
-
formGroup: FormGroup;
|
|
9
|
-
config: FieldConfig;
|
|
10
|
-
safeType: string;
|
|
11
|
-
supportTextLinkClick: EventEmitter<LinkEventEmitType>;
|
|
12
|
-
constructor(elementRef: ElementRef);
|
|
13
|
-
/**
|
|
14
|
-
* Emits supportTextLinkClick event on click of form support text link
|
|
15
|
-
* Passes linkType if available
|
|
16
|
-
* @param {Event} event
|
|
17
|
-
* @memberof FormSupportTextComponent
|
|
18
|
-
*/
|
|
19
|
-
onAnchorElementClick(event: Event): void;
|
|
20
|
-
/**
|
|
21
|
-
* Adds click event to the anchor tags using querySelectorAll
|
|
22
|
-
* @memberof FormSupportTextComponent
|
|
23
|
-
*/
|
|
24
|
-
ngAfterViewInit(): void;
|
|
25
|
-
/**
|
|
26
|
-
* Removing the event listeners on destroy
|
|
27
|
-
* @memberof FormSupportTextComponent
|
|
28
|
-
*/
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormSupportTextComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormSupportTextComponent, "ieeesa-form-support-text", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "supportTextLinkClick": "supportTextLinkClick"; }, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { HeaderConfig } from '../../models/header-config.model';
|
|
3
|
-
import { BreakpointObserverService } from '../../services/break-point-observer.service';
|
|
4
|
-
import { AuthService, StorageService, AlertsService } from '@ieeesa-npm/utility';
|
|
5
|
-
import { IconButton } from '@ieeesa-npm/models';
|
|
6
|
-
import { Subject } from 'rxjs';
|
|
7
|
-
import { Menu } from '../../models/menu.model';
|
|
8
|
-
import { FileUploadService } from '../../services/file-upload.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Implements & displays application logo, title, signed in user information, sign-out link, and hamburger link for mobile view.
|
|
12
|
-
* @class HeaderComponent
|
|
13
|
-
*/
|
|
14
|
-
export declare class HeaderComponent implements OnInit, OnDestroy {
|
|
15
|
-
private breakPointObserverService;
|
|
16
|
-
private authService;
|
|
17
|
-
private storageService;
|
|
18
|
-
private alertService;
|
|
19
|
-
private fileUploadService;
|
|
20
|
-
private headerConfigInfo;
|
|
21
|
-
screenTexts: any;
|
|
22
|
-
private profileMenuOptions;
|
|
23
|
-
menuItems: Menu[];
|
|
24
|
-
isMobileView: boolean;
|
|
25
|
-
imageUrl: string;
|
|
26
|
-
logo: string;
|
|
27
|
-
imageAltText: string;
|
|
28
|
-
/**
|
|
29
|
-
* HeaderConfig represents the configurable properties required for header component.
|
|
30
|
-
* Input property of the component to get the configurable values such as logo, app title, signed in user name and logout redirect URL.
|
|
31
|
-
* @type {HeaderConfig}
|
|
32
|
-
* @memberof HeaderComponent
|
|
33
|
-
*/
|
|
34
|
-
set headerConfig(value: HeaderConfig);
|
|
35
|
-
get headerConfig(): HeaderConfig;
|
|
36
|
-
set menuConfig(value: Menu[]);
|
|
37
|
-
get menuConfig(): Menu[];
|
|
38
|
-
destroy$: Subject<boolean>;
|
|
39
|
-
toggleNavMenuClick: EventEmitter<Event>;
|
|
40
|
-
profileMenuClick: EventEmitter<Menu>;
|
|
41
|
-
userProfileIconButton: IconButton;
|
|
42
|
-
constructor(breakPointObserverService: BreakpointObserverService, authService: AuthService, storageService: StorageService, alertService: AlertsService, fileUploadService: FileUploadService);
|
|
43
|
-
/**
|
|
44
|
-
* Sets the appBaseUrl and gets the logo download AWS pre-signed URL from API.
|
|
45
|
-
*/
|
|
46
|
-
ngOnInit(): void;
|
|
47
|
-
/**
|
|
48
|
-
* Gets the logo download AWS pre-signed URL from API when isLogoFromAwsS3 is true.
|
|
49
|
-
*/
|
|
50
|
-
getImageUrl(): void;
|
|
51
|
-
/**
|
|
52
|
-
* Desktop event to navigate to logout page.
|
|
53
|
-
* Deletes the application specific and SSO related cookies.
|
|
54
|
-
* @memberof HeaderComponent
|
|
55
|
-
*/
|
|
56
|
-
logout(): void;
|
|
57
|
-
/**
|
|
58
|
-
* Emits toggleNavMenuClick event once hamburger icon is clicked.
|
|
59
|
-
* @param {Event} event
|
|
60
|
-
* @memberof HeaderComponent
|
|
61
|
-
*/
|
|
62
|
-
toggleNavMenu(event: Event): void;
|
|
63
|
-
/**
|
|
64
|
-
* Handles the profile menu item click event and calls the logout
|
|
65
|
-
* method when Sign Out button is clicked..
|
|
66
|
-
* @param {Menu} menu
|
|
67
|
-
* @memberof HeaderComponent
|
|
68
|
-
*/
|
|
69
|
-
onUserProfileMenuClick(menu: Menu): void;
|
|
70
|
-
/**
|
|
71
|
-
* Retrieves pre-signed URL for downloading the logo from Amazon S3 bucket.
|
|
72
|
-
* @memberof HeaderComponent
|
|
73
|
-
*/
|
|
74
|
-
getFileDownloadPresignedUrls(fileName: string): void;
|
|
75
|
-
/**
|
|
76
|
-
* Modifies the menu items based on mobile or desktop.
|
|
77
|
-
*/
|
|
78
|
-
getMenuItems(): void;
|
|
79
|
-
/**
|
|
80
|
-
* Cleans up resources when the component is destroyed.
|
|
81
|
-
* @memberof HeaderComponent
|
|
82
|
-
*/
|
|
83
|
-
ngOnDestroy(): void;
|
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "ieeesa-header", never, { "headerConfig": { "alias": "headerConfig"; "required": false; }; "menuConfig": { "alias": "menuConfig"; "required": false; }; }, { "toggleNavMenuClick": "toggleNavMenuClick"; "profileMenuClick": "profileMenuClick"; }, never, never, true, never>;
|
|
86
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { IconButton } from '@ieeesa-npm/models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Creates svg icon as button component.
|
|
6
|
-
* @export
|
|
7
|
-
* @class IconButtonComponent
|
|
8
|
-
*/
|
|
9
|
-
export declare class IconButtonComponent {
|
|
10
|
-
iconButton: IconButton;
|
|
11
|
-
isLabelNeeded: boolean;
|
|
12
|
-
iconButtonClick: EventEmitter<IconButton>;
|
|
13
|
-
/**
|
|
14
|
-
* Emits the clicked icon button information.
|
|
15
|
-
* @param {Event} IconButton
|
|
16
|
-
* @memberof IconButtonComponent
|
|
17
|
-
*/
|
|
18
|
-
onClick(event: IconButton): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconButtonComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "ieeesa-icon-button", never, { "iconButton": { "alias": "iconButton"; "required": false; }; "isLabelNeeded": { "alias": "isLabelNeeded"; "required": false; }; }, { "iconButtonClick": "iconButtonClick"; }, never, never, true, never>;
|
|
21
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ImagePreviewComponent implements OnInit {
|
|
4
|
-
isSvg: boolean;
|
|
5
|
-
imageURL: string;
|
|
6
|
-
imageAltText: string;
|
|
7
|
-
set imageUrl(value: string);
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImagePreviewComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImagePreviewComponent, "ieeesa-image-preview", never, { "imageAltText": { "alias": "imageAltText"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { InactiveTenantDisplay } from '../../models/inactive-tenant.model';
|
|
2
|
-
import { AppConfigInfo } from '../../models/app-config-info.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Provides reusable implementation to Inactive tenant error page by getting the application config and display contents information as an input to the component.
|
|
6
|
-
* @export
|
|
7
|
-
* @class InactiveTenantComponent
|
|
8
|
-
*/
|
|
9
|
-
export declare class InactiveTenantComponent {
|
|
10
|
-
/**
|
|
11
|
-
* AppConfigInfo data can be passed as input while calling this component using selector.
|
|
12
|
-
* @usage <nesc-inactive-tenant [appConfigInfo]="appConfigInfo" [inactiveTenantDisplay]="inactiveTenantDisplay"></nesc-inactive-tenant> or routes: Route[]=[{ path: 'landing', component: InactiveTenantComponent, data:{appConfigInfo:appConfigInfo} }]
|
|
13
|
-
* @type {AppConfigInfo}
|
|
14
|
-
* @type {InactiveTenantDisplay}
|
|
15
|
-
* @memberof InactiveTenantComponent
|
|
16
|
-
*/
|
|
17
|
-
appConfigInfo: AppConfigInfo;
|
|
18
|
-
inactiveTenantDisplay: InactiveTenantDisplay;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InactiveTenantComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InactiveTenantComponent, "ieeesa-inactive-tenant", never, { "appConfigInfo": { "alias": "appConfigInfo"; "required": false; }; "inactiveTenantDisplay": { "alias": "inactiveTenantDisplay"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Legend } from '../../models/legend.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LegendComponent implements OnInit {
|
|
5
|
-
legends: Legend[];
|
|
6
|
-
private isSortingNeeded;
|
|
7
|
-
set isSorting(value: boolean);
|
|
8
|
-
get isSorting(): boolean;
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
trackByFn(index: number, item: Legend): string;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LegendComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LegendComponent, "ieeesa-legend", never, { "legends": { "alias": "legends"; "required": false; }; "isSorting": { "alias": "isSorting"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ListHeader, ListItem } from '../../models/list-item.model';
|
|
3
|
-
import { Menu } from '../../models/menu.model';
|
|
4
|
-
import { IconButton } from '@ieeesa-npm/models';
|
|
5
|
-
import { FileDownloadAndDeleteConfig } from '../../models/file-download-config.model';
|
|
6
|
-
import { DownloadAttachment } from '../../models/download-file.model';
|
|
7
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ListComponent implements OnDestroy {
|
|
10
|
-
elementRef: ElementRef;
|
|
11
|
-
listItems: ListItem[];
|
|
12
|
-
listHeader: ListHeader;
|
|
13
|
-
selectedItemAndAction: EventEmitter<{
|
|
14
|
-
selectedMenu: Menu;
|
|
15
|
-
selectedItem: ListItem;
|
|
16
|
-
}>;
|
|
17
|
-
reorderedList: EventEmitter<ListItem[]>;
|
|
18
|
-
set listDataItems(listItem: ListItem[]);
|
|
19
|
-
get listDataItems(): ListItem[];
|
|
20
|
-
set listHeaderConfig(listHeaderDetail: ListHeader);
|
|
21
|
-
get listHeaderConfig(): ListHeader;
|
|
22
|
-
hyperLinkAndButtonClick: EventEmitter<Event>;
|
|
23
|
-
downloadSelectedFile: EventEmitter<File | DownloadAttachment>;
|
|
24
|
-
constants: any;
|
|
25
|
-
indentation: any;
|
|
26
|
-
dragAndDropIconUrl: any;
|
|
27
|
-
addListButton: IconButton;
|
|
28
|
-
safeType: string;
|
|
29
|
-
set addListButtonConfig(addListButton: IconButton);
|
|
30
|
-
get addListButtonConfig(): IconButton;
|
|
31
|
-
domChangeEvent: EventEmitter<MutationRecord>;
|
|
32
|
-
private _fileDownloadAndDeleteConfig;
|
|
33
|
-
set fileDownloadAndDeleteConfig(value: FileDownloadAndDeleteConfig);
|
|
34
|
-
get fileDownloadAndDeleteConfig(): FileDownloadAndDeleteConfig;
|
|
35
|
-
isReorderRequired: boolean;
|
|
36
|
-
constructor(elementRef: ElementRef);
|
|
37
|
-
/**
|
|
38
|
-
* Emits hyperLinkAndButtonClick event on click of hyper link.
|
|
39
|
-
* @param {Event} event
|
|
40
|
-
* @memberof ListComponent
|
|
41
|
-
*/
|
|
42
|
-
onAnchorElementClick(event: Event): void;
|
|
43
|
-
/**
|
|
44
|
-
* Constructs the index position/number and itemLevel for each list item.
|
|
45
|
-
* @param {ListItem[]} items
|
|
46
|
-
* @param {number} itemLevel
|
|
47
|
-
* @param {string} [parentIndex]
|
|
48
|
-
* @memberof ListComponent
|
|
49
|
-
*/
|
|
50
|
-
getListItemsPositionAndLevel(items: ListItem[], itemLevel: number, parentIndex?: string): void;
|
|
51
|
-
/**
|
|
52
|
-
* Emits the selected menu action and the item.
|
|
53
|
-
* @param {Menu} event
|
|
54
|
-
* @param {ListItem} item
|
|
55
|
-
* @memberof ListComponent
|
|
56
|
-
*/
|
|
57
|
-
selectedMenuAction(event: Menu, item: ListItem): void;
|
|
58
|
-
/**
|
|
59
|
-
* Returns unique identifier for the list.
|
|
60
|
-
* @param {number} index
|
|
61
|
-
* @param {ListItem} item
|
|
62
|
-
* @return {(number | string)}
|
|
63
|
-
* @memberof ListComponent
|
|
64
|
-
*/
|
|
65
|
-
trackByFn(index: number, item: ListItem): number | string;
|
|
66
|
-
/**
|
|
67
|
-
* Emits hyperLinkAndButtonClick event on click of button.
|
|
68
|
-
* @memberof ListComponent
|
|
69
|
-
*/
|
|
70
|
-
onClickAddItem(): void;
|
|
71
|
-
/**
|
|
72
|
-
* Adds click event to the anchor tags whenever dom changes.
|
|
73
|
-
* @memberof ListComponent
|
|
74
|
-
*/
|
|
75
|
-
onDomChange(event: MutationRecord): void;
|
|
76
|
-
/**
|
|
77
|
-
* Emits downloadSelectedFile event.
|
|
78
|
-
* @memberof ListComponent
|
|
79
|
-
*/
|
|
80
|
-
downloadFile(file: File | DownloadAttachment): void;
|
|
81
|
-
/**
|
|
82
|
-
* Triggers when the item is dropped.
|
|
83
|
-
* @param {CdkDragDrop} event
|
|
84
|
-
* @param {ListItem[]} items
|
|
85
|
-
* @param {number} nestingLevel
|
|
86
|
-
*/
|
|
87
|
-
drop(event: CdkDragDrop<any>, items: ListItem[], nestingLevel: number): void;
|
|
88
|
-
/**
|
|
89
|
-
* Removing the event listeners on destroy.
|
|
90
|
-
* @memberof ListComponent
|
|
91
|
-
*/
|
|
92
|
-
ngOnDestroy(): void;
|
|
93
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "ieeesa-list", never, { "listDataItems": { "alias": "listDataItems"; "required": false; }; "listHeaderConfig": { "alias": "listHeaderConfig"; "required": false; }; "indentation": { "alias": "indentation"; "required": false; }; "addListButtonConfig": { "alias": "addListButtonConfig"; "required": false; }; "fileDownloadAndDeleteConfig": { "alias": "fileDownloadAndDeleteConfig"; "required": false; }; "isReorderRequired": { "alias": "isReorderRequired"; "required": false; }; }, { "selectedItemAndAction": "selectedItemAndAction"; "reorderedList": "reorderedList"; "hyperLinkAndButtonClick": "hyperLinkAndButtonClick"; "downloadSelectedFile": "downloadSelectedFile"; "domChangeEvent": "domChangeEvent"; }, never, never, true, never>;
|
|
95
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class LoaderComponent {
|
|
3
|
-
diameter: number;
|
|
4
|
-
loader: any;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "ieeesa-loader", never, { "diameter": { "alias": "diameter"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { Menu } from '../../models/menu.model';
|
|
3
|
-
import { IconButton } from '@ieeesa-npm/models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Creates menu and the menu items are icon based buttons
|
|
7
|
-
* @export
|
|
8
|
-
* @class MenuComponent
|
|
9
|
-
*/
|
|
10
|
-
export declare class MenuComponent {
|
|
11
|
-
private elementRef;
|
|
12
|
-
constants: any;
|
|
13
|
-
menuItems: Menu[];
|
|
14
|
-
button: IconButton;
|
|
15
|
-
defaultIconSize: string;
|
|
16
|
-
isMarginBottomZero: boolean;
|
|
17
|
-
menuToggleButtonElement: EventEmitter<HTMLElement>;
|
|
18
|
-
menuItemClick: EventEmitter<Menu>;
|
|
19
|
-
constructor(elementRef: ElementRef);
|
|
20
|
-
/**
|
|
21
|
-
* Emits the clicked menu item and emits menu button element event when its not triggered through mouse.
|
|
22
|
-
* @param {Menu} menu
|
|
23
|
-
* @memberof MenuComponent
|
|
24
|
-
*/
|
|
25
|
-
onMenuItemClick(menu: Menu): void;
|
|
26
|
-
/**
|
|
27
|
-
* Takes the index and the menu item as arguments and needs to return the unique identifier for this item.
|
|
28
|
-
* @param {number} index
|
|
29
|
-
* @param {Menu} menu
|
|
30
|
-
* @return {number}
|
|
31
|
-
* @memberof MenuComponent
|
|
32
|
-
*/
|
|
33
|
-
trackByFn(index: number, menu: Menu): number;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "ieeesa-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; }; "button": { "alias": "button"; "required": false; }; "defaultIconSize": { "alias": "defaultIconSize"; "required": false; }; "isMarginBottomZero": { "alias": "isMarginBottomZero"; "required": false; }; }, { "menuToggleButtonElement": "menuToggleButtonElement"; "menuItemClick": "menuItemClick"; }, never, never, true, never>;
|
|
36
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, EventEmitter, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { ModalType } from '@ieeesa-npm/models';
|
|
4
|
-
import { ToggleButton } from '../../models/toggle-button.model';
|
|
5
|
-
import { Subject } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* This component encapsulates the functionality of a modal dialog and implements reusable contents part of the modal components such as text content, loading another component into the modal and emitting modal events to consumed component.
|
|
9
|
-
* It utilizes Angular Material's MatDialog module to display the modal dialog.
|
|
10
|
-
* @usageNotes -Pass ModalComponent and data options as parameters to MatDialog open method as given below
|
|
11
|
-
this.dialog.open(ConfirmationDialogComponent, {data: {}})
|
|
12
|
-
* @class ModalComponent
|
|
13
|
-
*/
|
|
14
|
-
export declare class ModalComponent implements OnInit, OnDestroy {
|
|
15
|
-
dialogRef: MatDialogRef<ModalComponent>;
|
|
16
|
-
modalData: any;
|
|
17
|
-
componentContainer: ViewContainerRef;
|
|
18
|
-
destroy$: Subject<boolean>;
|
|
19
|
-
componentRef: ComponentRef<any>;
|
|
20
|
-
formSubmit: EventEmitter<any>;
|
|
21
|
-
submitFormResponse: EventEmitter<any>;
|
|
22
|
-
formCancel: EventEmitter<any>;
|
|
23
|
-
toggleButtonClicked: EventEmitter<any>;
|
|
24
|
-
isComponentLoaded: boolean;
|
|
25
|
-
heading: string;
|
|
26
|
-
subHeading: string;
|
|
27
|
-
promptMessage: string;
|
|
28
|
-
leftButtonLabel: string;
|
|
29
|
-
rightButtonLabel: string;
|
|
30
|
-
closeAriaLabel: string;
|
|
31
|
-
toggleButtons: ToggleButton[];
|
|
32
|
-
componentReference: any;
|
|
33
|
-
modalType: ModalType;
|
|
34
|
-
isCloseNeeded: boolean;
|
|
35
|
-
modalConfirm: EventEmitter<any>;
|
|
36
|
-
canCloseModal: boolean;
|
|
37
|
-
componentData: any;
|
|
38
|
-
constructor(dialogRef: MatDialogRef<ModalComponent>, modalData: any);
|
|
39
|
-
/**
|
|
40
|
-
* Initializes the component.
|
|
41
|
-
* @return -returns nothing
|
|
42
|
-
*/
|
|
43
|
-
ngOnInit(): void;
|
|
44
|
-
/**
|
|
45
|
-
* Emit onToggleButtonClicked event when a toggle button is selected.
|
|
46
|
-
* @param {ToggleButton} selected -Selected toggle button object.
|
|
47
|
-
*/
|
|
48
|
-
onToggleButtonSelect(selected: ToggleButton): void;
|
|
49
|
-
/**
|
|
50
|
-
* Loads the component into the view container.
|
|
51
|
-
*/
|
|
52
|
-
loadComponent(): void;
|
|
53
|
-
/**
|
|
54
|
-
* Handles the confirmation event.
|
|
55
|
-
* @param {boolean} value - The confirmation value.
|
|
56
|
-
*/
|
|
57
|
-
onConfirm(value: boolean): void;
|
|
58
|
-
/**
|
|
59
|
-
* Closes modal based on canCloseModal and emits an event.
|
|
60
|
-
* @param {boolean} value
|
|
61
|
-
* @memberof ModalComponent
|
|
62
|
-
*/
|
|
63
|
-
onModalClose(value: boolean): void;
|
|
64
|
-
/**
|
|
65
|
-
* Returns dialog type
|
|
66
|
-
* @return {number} value-Dialog type enum
|
|
67
|
-
*/
|
|
68
|
-
getModalType(): boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Cleans up resources when the component is destroyed.
|
|
71
|
-
*/
|
|
72
|
-
ngOnDestroy(): void;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ieeesa-modal", never, {}, {}, never, never, true, never>;
|
|
75
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { MatDialogRef } from "@angular/material/dialog";
|
|
2
|
-
import { AlignType, ConfirmationModalData } from '@ieeesa-npm/models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* ModalConfirmationComponent is used to get user confirmation and this component should be invoked by using Angular material MatDialog open method.
|
|
6
|
-
* @usageNotes -Pass ModalConfirmationComponent and data options as parameters to MatDialog open method as given below
|
|
7
|
-
this.dialog.open(ModalConfirmationComponent, {data: {}})
|
|
8
|
-
* @class ModalConfirmationComponent
|
|
9
|
-
*/
|
|
10
|
-
export declare class ModalConfirmationComponent {
|
|
11
|
-
confirmationModalData: ConfirmationModalData;
|
|
12
|
-
private dialogRef;
|
|
13
|
-
alignmentType: typeof AlignType;
|
|
14
|
-
constructor(confirmationModalData: ConfirmationModalData, dialogRef: MatDialogRef<ModalConfirmationComponent>);
|
|
15
|
-
/**
|
|
16
|
-
* Handles the user confirmation and emits the confirmation value using the confirmationEvent.
|
|
17
|
-
* @param {boolean} confirmation -A boolean value indicating whether the user confirmed (true) or canceled (false) the action.
|
|
18
|
-
* @memberof ModalConfirmationComponent
|
|
19
|
-
* @returns - returns nothing
|
|
20
|
-
*/
|
|
21
|
-
onConfirm(confirmation: boolean): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalConfirmationComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalConfirmationComponent, "ieeesa-modal-confirmation", never, {}, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { InfoModalData } from '@ieeesa-npm/models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* ModalInfoComponent is a simple informational dialog that displays a centered message
|
|
6
|
-
* with a single dismissal button.
|
|
7
|
-
*
|
|
8
|
-
* @usageNotes - Pass ModalInfoComponent and data options as parameters to MatDialog open method:
|
|
9
|
-
* this.dialog.open(ModalInfoComponent, { data: { message: '...', buttonLabel: 'OK' } })
|
|
10
|
-
* @class ModalInfoComponent
|
|
11
|
-
*/
|
|
12
|
-
export declare class ModalInfoComponent {
|
|
13
|
-
data: InfoModalData;
|
|
14
|
-
private dialogRef;
|
|
15
|
-
constructor(data: InfoModalData, dialogRef: MatDialogRef<ModalInfoComponent>);
|
|
16
|
-
/**
|
|
17
|
-
* Closes the info dialog.
|
|
18
|
-
* @memberof ModalInfoComponent
|
|
19
|
-
*/
|
|
20
|
-
onClose(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalInfoComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalInfoComponent, "ieeesa-modal-info", never, {}, {}, never, never, true, never>;
|
|
23
|
-
}
|