@ieeesa-npm/presentation 0.33.0 → 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 -7589
- 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 -129
- 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,130 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
3
|
-
import { FormGroup } from '@angular/forms';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { MatChipInputEvent } from '@angular/material/chips';
|
|
6
|
-
import { FormUtilityService } from '../../services/form-utility.service';
|
|
7
|
-
import { AutoCompleteOption } from '../../models/autocomplete-option.model';
|
|
8
|
-
import { SelectOption } from '@ieeesa-npm/models';
|
|
9
|
-
import { FieldConfig } from '../../models/field-config.model';
|
|
10
|
-
import { FormField } from '../../models/form-field.model';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* MultiSelectAutocompleteComponent allows to search the option(s) from the list and select the option(s) from the autocomplete search results.
|
|
14
|
-
* @class MultiSelectAutocompleteComponent
|
|
15
|
-
* @implements {OnInit}
|
|
16
|
-
* @implements {FormField}
|
|
17
|
-
* @implements {OnDestroy}
|
|
18
|
-
* @implements {AfterViewInit}
|
|
19
|
-
*/
|
|
20
|
-
export declare class MultiSelectAutocompleteComponent implements OnInit, FormField, OnDestroy, AfterViewInit {
|
|
21
|
-
private formUtilityService;
|
|
22
|
-
private readonly changeDetectorRef;
|
|
23
|
-
separatorKeysCodes: number[];
|
|
24
|
-
config: FieldConfig;
|
|
25
|
-
group: FormGroup;
|
|
26
|
-
selectedOptions: SelectOption[];
|
|
27
|
-
autoCompleteOptionList: AutoCompleteOption[];
|
|
28
|
-
/**
|
|
29
|
-
* Sets the options for multi select autocomplete.
|
|
30
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
31
|
-
*/
|
|
32
|
-
set multiSelectAutoCompleteOptions(value: AutoCompleteOption[]);
|
|
33
|
-
/**
|
|
34
|
-
* Returns the autocomplete options list.
|
|
35
|
-
* @readonly
|
|
36
|
-
* @type {AutoCompleteOption[]}
|
|
37
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
38
|
-
*/
|
|
39
|
-
get multiSelectAutoCompleteOptions(): AutoCompleteOption[];
|
|
40
|
-
multiSelectAutoCompleteSearchValue: EventEmitter<string>;
|
|
41
|
-
multiSelectAutoCompleteClearSearchValue: EventEmitter<string>;
|
|
42
|
-
multiSelectAutoCompleteOptionsSelected: EventEmitter<AutoCompleteOption[]>;
|
|
43
|
-
multiSelectAutoComplete: ElementRef;
|
|
44
|
-
matACTrigger: MatAutocompleteTrigger;
|
|
45
|
-
destroy$: Subject<boolean>;
|
|
46
|
-
autocompleteConstInfo: any;
|
|
47
|
-
removeIconURL: any;
|
|
48
|
-
clearAllIconURL: any;
|
|
49
|
-
clearAll: any;
|
|
50
|
-
constructor(formUtilityService: FormUtilityService, changeDetectorRef: ChangeDetectorRef);
|
|
51
|
-
/**
|
|
52
|
-
* Implementation of ngOnInit lifecycle hook method to initialize components instance properties.
|
|
53
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
54
|
-
*/
|
|
55
|
-
ngOnInit(): void;
|
|
56
|
-
/**
|
|
57
|
-
* Initialize the form control change event once the form control is ready on ngAfterViewInit by calling onValueChanges method.
|
|
58
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
59
|
-
*/
|
|
60
|
-
ngAfterViewInit(): void;
|
|
61
|
-
/**
|
|
62
|
-
* Emits an multiSelectAutoCompleteSearchValue change event when the value is changed and value is greater than minCharToSearch or equal to zero.
|
|
63
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
64
|
-
*/
|
|
65
|
-
onValueChanges(): void;
|
|
66
|
-
/**
|
|
67
|
-
* Handles field error by setting the appropriate form control errors.
|
|
68
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
69
|
-
*/
|
|
70
|
-
handleFieldError(): void;
|
|
71
|
-
/**
|
|
72
|
-
* Adds a newly entered option to the selectedOptions array.
|
|
73
|
-
* @param {*} event -The event containing the input and value.
|
|
74
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
75
|
-
*/
|
|
76
|
-
add(event: MatChipInputEvent): void;
|
|
77
|
-
/**
|
|
78
|
-
* Removes a selected option from the selectedOptions array.
|
|
79
|
-
* @param {SelectOption} removedOption -The option to remove.
|
|
80
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
81
|
-
*/
|
|
82
|
-
onOptionRemoved(removedOption: SelectOption): void;
|
|
83
|
-
/**
|
|
84
|
-
* Handles the selection of an autocomplete option.
|
|
85
|
-
* @param {AutoCompleteOption} option -The selected autocomplete option.
|
|
86
|
-
* @return {AutoCompleteOption}
|
|
87
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
88
|
-
*/
|
|
89
|
-
onChange(option: any): AutoCompleteOption;
|
|
90
|
-
/**
|
|
91
|
-
* Formats the selected options and emits the multiSelectAutoCompleteOptionSelected event.
|
|
92
|
-
* @param {SelectOption[]} selectedOptions -Array of selected options.
|
|
93
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
94
|
-
*/
|
|
95
|
-
formatSelectedOption(selectedOptions: SelectOption[]): void;
|
|
96
|
-
/**
|
|
97
|
-
* Displays the name of the option
|
|
98
|
-
* @param {AutoCompleteOption} option
|
|
99
|
-
* @return {*} {string}
|
|
100
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
101
|
-
*/
|
|
102
|
-
displayOptionName(option: AutoCompleteOption): string;
|
|
103
|
-
/**
|
|
104
|
-
* Tracks the option by its index or id.
|
|
105
|
-
* @param {number} index
|
|
106
|
-
* @param {SelectOption} option
|
|
107
|
-
* @return {*} {(number | string)}
|
|
108
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
109
|
-
*/
|
|
110
|
-
trackByFn(index: number, option: SelectOption): number | string;
|
|
111
|
-
/**
|
|
112
|
-
* Checks if the checkbox is selected.
|
|
113
|
-
* @param {AutoCompleteOption} option
|
|
114
|
-
* @return {*} {boolean}
|
|
115
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
116
|
-
*/
|
|
117
|
-
isCheckboxSelected(option: AutoCompleteOption): boolean;
|
|
118
|
-
/**
|
|
119
|
-
* Clears all selected options.
|
|
120
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
121
|
-
*/
|
|
122
|
-
clearSelections(): void;
|
|
123
|
-
/**
|
|
124
|
-
* Implementation of ngOnDestroy lifecycle hook method to unsubscribe the open observable subscriptions.
|
|
125
|
-
* @memberof MultiSelectAutocompleteComponent
|
|
126
|
-
*/
|
|
127
|
-
ngOnDestroy(): void;
|
|
128
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectAutocompleteComponent, never>;
|
|
129
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectAutocompleteComponent, "ieeesa-multi-select-autocomplete", never, { "multiSelectAutoCompleteOptions": { "alias": "multiSelectAutoCompleteOptions"; "required": false; }; }, { "multiSelectAutoCompleteSearchValue": "multiSelectAutoCompleteSearchValue"; "multiSelectAutoCompleteClearSearchValue": "multiSelectAutoCompleteClearSearchValue"; "multiSelectAutoCompleteOptionsSelected": "multiSelectAutoCompleteOptionsSelected"; }, never, never, true, never>;
|
|
130
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatSidenav } from '@angular/material/sidenav';
|
|
3
|
-
import { MediaMatcher } from '@angular/cdk/layout';
|
|
4
|
-
import { SideMenuItem } from '../../models/navigation-menu.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* The component accepts menu items data as configurable input parameter and the menus are populated based on it.
|
|
8
|
-
* The component checks the defined mobile device resolution and accordingly updates the side navigation menu view.
|
|
9
|
-
* The component accepts menu opened/closed state as an input parameter. By default, the side menu is configured to open state.
|
|
10
|
-
* @export
|
|
11
|
-
* @class NavigationMenuComponent
|
|
12
|
-
* @implements {OnDestroy}
|
|
13
|
-
*/
|
|
14
|
-
export declare class NavigationMenuComponent implements OnDestroy {
|
|
15
|
-
changeDetectorRef: ChangeDetectorRef;
|
|
16
|
-
media: MediaMatcher;
|
|
17
|
-
isMenuOpen: boolean;
|
|
18
|
-
sideMenu: SideMenuItem[];
|
|
19
|
-
navMenu: MatSidenav;
|
|
20
|
-
mobileQuery: MediaQueryList;
|
|
21
|
-
mobileQueryListener: () => void;
|
|
22
|
-
constructor(changeDetectorRef: ChangeDetectorRef, media: MediaMatcher);
|
|
23
|
-
/**
|
|
24
|
-
* Takes the index and the current item as arguments and needs to return the unique identifier for this item.
|
|
25
|
-
* @param {number} index
|
|
26
|
-
* @param {array} menuItems
|
|
27
|
-
* @return {number}
|
|
28
|
-
* @memberof NavigationMenuComponent
|
|
29
|
-
*/
|
|
30
|
-
trackByFn(index: number, menuItems: any): number;
|
|
31
|
-
/**
|
|
32
|
-
* This method returns the status for menu to be opened or closed by default, basis on device resolution
|
|
33
|
-
* @return {boolean}
|
|
34
|
-
* @memberof NavigationMenuComponent
|
|
35
|
-
*/
|
|
36
|
-
isMenuOpened(): boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Toggles the navigation menu state.
|
|
39
|
-
* @memberof NavigationMenuComponent
|
|
40
|
-
*/
|
|
41
|
-
toggleNavMenu(): void;
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationMenuComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationMenuComponent, "ieeesa-navigation-menu", never, { "isMenuOpen": { "alias": "isMenuOpen"; "required": false; }; "sideMenu": { "alias": "sideMenu"; "required": false; }; }, {}, never, never, true, never>;
|
|
45
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { PolicyConfirmationDialogData } from '../../models/policy-confirmation-dialog.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* PolicyConfirmationDialogComponent is a reusable confirmation dialog that displays
|
|
6
|
-
* a configurable title, body text, and Cancel/Confirm action buttons.
|
|
7
|
-
* Used for the IEEE Data Access and Use Policy confirmation in the attendance export flow.
|
|
8
|
-
*
|
|
9
|
-
* Opens via `MatDialog.open(PolicyConfirmationDialogComponent, { data: PolicyConfirmationDialogData })`.
|
|
10
|
-
* Returns `true` on confirm, `false` on cancel or close.
|
|
11
|
-
*
|
|
12
|
-
* @export
|
|
13
|
-
* @class PolicyConfirmationDialogComponent
|
|
14
|
-
*/
|
|
15
|
-
export declare class PolicyConfirmationDialogComponent {
|
|
16
|
-
data: PolicyConfirmationDialogData;
|
|
17
|
-
private dialogRef;
|
|
18
|
-
/** Text before the hyperlink */
|
|
19
|
-
bodyTextBefore: string;
|
|
20
|
-
/** Text after the hyperlink */
|
|
21
|
-
bodyTextAfter: string;
|
|
22
|
-
constructor(data: PolicyConfirmationDialogData, dialogRef: MatDialogRef<PolicyConfirmationDialogComponent>);
|
|
23
|
-
/**
|
|
24
|
-
* Splits the bodyText around the policyLinkText so the template can render
|
|
25
|
-
* the link portion as a hyperlink.
|
|
26
|
-
* @memberof PolicyConfirmationDialogComponent
|
|
27
|
-
*/
|
|
28
|
-
private splitBodyText;
|
|
29
|
-
/**
|
|
30
|
-
* Handles the Confirm button click — closes the dialog returning `true`.
|
|
31
|
-
* @memberof PolicyConfirmationDialogComponent
|
|
32
|
-
*/
|
|
33
|
-
onConfirm(): void;
|
|
34
|
-
/**
|
|
35
|
-
* Handles the Cancel button click — closes the dialog returning `false`.
|
|
36
|
-
* @memberof PolicyConfirmationDialogComponent
|
|
37
|
-
*/
|
|
38
|
-
onCancel(): void;
|
|
39
|
-
/**
|
|
40
|
-
* Handles the X (close) button click — closes the dialog returning `false`.
|
|
41
|
-
* @memberof PolicyConfirmationDialogComponent
|
|
42
|
-
*/
|
|
43
|
-
onClose(): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PolicyConfirmationDialogComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PolicyConfirmationDialogComponent, "ieeesa-policy-confirmation-dialog", never, {}, {}, never, never, true, never>;
|
|
46
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { EditorConfig } from 'ngx-simple-text-editor';
|
|
4
|
-
import { FieldConfig } from '../../models/field-config.model';
|
|
5
|
-
import { FormUtilityService } from '../../services/form-utility.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class RichTextEditorComponent implements OnInit, AfterViewInit {
|
|
8
|
-
private elementRef;
|
|
9
|
-
private renderer;
|
|
10
|
-
private formUtilityService;
|
|
11
|
-
richTextEditorTexts: any;
|
|
12
|
-
group: FormGroup;
|
|
13
|
-
config: FieldConfig;
|
|
14
|
-
contentElementClassName: string;
|
|
15
|
-
rtEditor: ElementRef;
|
|
16
|
-
private editorContentValue;
|
|
17
|
-
set value(value: string);
|
|
18
|
-
get value(): string;
|
|
19
|
-
editorLabel: any;
|
|
20
|
-
formControlName: string;
|
|
21
|
-
isEditorLabelNeeded: boolean;
|
|
22
|
-
private editorConfigInfo;
|
|
23
|
-
/**
|
|
24
|
-
* Sets the editor config info.
|
|
25
|
-
* @param {EditorConfig} editorConfig
|
|
26
|
-
* @memberof RichTextEditorComponent
|
|
27
|
-
*/
|
|
28
|
-
set editorConfig(editorConfig: EditorConfig);
|
|
29
|
-
/**
|
|
30
|
-
* Returns the editor config info.
|
|
31
|
-
* @returns {EditorConfig}
|
|
32
|
-
* @memberof RichTextEditorComponent
|
|
33
|
-
*/
|
|
34
|
-
get editorConfig(): EditorConfig;
|
|
35
|
-
richTextEditorContentChange: EventEmitter<string>;
|
|
36
|
-
colorPickerInput: HTMLInputElement;
|
|
37
|
-
colorPickerButton: HTMLElement;
|
|
38
|
-
operatingSystemName: string;
|
|
39
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, formUtilityService: FormUtilityService);
|
|
40
|
-
/**
|
|
41
|
-
* Initializes the form group and config details.
|
|
42
|
-
* @memberof RichTextEditorComponent
|
|
43
|
-
*/
|
|
44
|
-
ngOnInit(): void;
|
|
45
|
-
/**
|
|
46
|
-
* Sets RTE toolbar buttons button type to button.
|
|
47
|
-
* @returns {void}
|
|
48
|
-
* @memberof RichTextEditorComponent
|
|
49
|
-
*/
|
|
50
|
-
ngAfterViewInit(): void;
|
|
51
|
-
/**
|
|
52
|
-
* Sets the height and width of the input field color to open the color picker in Safari.
|
|
53
|
-
* @memberof RichTextEditorComponent
|
|
54
|
-
* @returns {void}
|
|
55
|
-
*/
|
|
56
|
-
setColorPickerInputStyle(): void;
|
|
57
|
-
/**
|
|
58
|
-
* Sets RTE toolbar buttons button type to button to prevent form submit event when the toolbar buttons clicked.
|
|
59
|
-
*/
|
|
60
|
-
setToolbarButtonType(): void;
|
|
61
|
-
/**
|
|
62
|
-
* Emits the typed editor content to consuming components.
|
|
63
|
-
* @returns {void}
|
|
64
|
-
* @memberof RichTextEditorComponent
|
|
65
|
-
*/
|
|
66
|
-
onRichTextEditorContentChange(): void;
|
|
67
|
-
/**
|
|
68
|
-
* Gets the operating system name of the client machine.
|
|
69
|
-
* @memberof RichTextEditorComponent
|
|
70
|
-
* @returns {string}
|
|
71
|
-
*/
|
|
72
|
-
getOperatingSystemName(): string;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RichTextEditorComponent, "ieeesa-rich-text-editor", never, { "value": { "alias": "value"; "required": false; }; "editorLabel": { "alias": "editorLabel"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "isEditorLabelNeeded": { "alias": "isEditorLabelNeeded"; "required": false; }; "editorConfig": { "alias": "editorConfig"; "required": false; }; }, { "richTextEditorContentChange": "richTextEditorContentChange"; }, never, never, true, never>;
|
|
75
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
3
|
-
import { FormGroup } from '@angular/forms';
|
|
4
|
-
import { FieldConfig } from '../../models/field-config.model';
|
|
5
|
-
import { FormUtilityService } from '../../services/form-utility.service';
|
|
6
|
-
import { SlideToggleOption } from '../../models/slide-toggle-options.model';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SlideToggleComponent implements OnInit, AfterViewInit {
|
|
9
|
-
private formUtilityService;
|
|
10
|
-
config: FieldConfig;
|
|
11
|
-
group: FormGroup;
|
|
12
|
-
formControlName: string;
|
|
13
|
-
slideToggleOption: SlideToggleOption;
|
|
14
|
-
/**
|
|
15
|
-
* Input property to get slide toggle options
|
|
16
|
-
* @memberof SlideToggleComponent
|
|
17
|
-
* @usageNotes const slideToggleOption = [{ id: 1, label: 'Change toggle', checked: true, disabled: false}]
|
|
18
|
-
*/
|
|
19
|
-
set slideToggle(value: SlideToggleOption);
|
|
20
|
-
get slideToggle(): SlideToggleOption;
|
|
21
|
-
isDisabled: boolean;
|
|
22
|
-
canShowIcon: boolean;
|
|
23
|
-
slideToggleChange: EventEmitter<SlideToggleOption>;
|
|
24
|
-
matSlideToggleElement: ElementRef;
|
|
25
|
-
crossIconSVG: string;
|
|
26
|
-
constructor(formUtilityService: FormUtilityService);
|
|
27
|
-
/**
|
|
28
|
-
* On slide toggle sets slideToggleOption checked and emit slideToggleChange event emitter.
|
|
29
|
-
* @param {MatSlideToggleChange} toggle
|
|
30
|
-
* @memberof SlideToggleComponent
|
|
31
|
-
*/
|
|
32
|
-
onSlideToggleChange(toggle: MatSlideToggleChange): void;
|
|
33
|
-
/**
|
|
34
|
-
* Initiates component and set slideToggleOption.
|
|
35
|
-
* @memberof SlideToggleComponent
|
|
36
|
-
*/
|
|
37
|
-
ngOnInit(): void;
|
|
38
|
-
/**
|
|
39
|
-
* Updates the cross icon path for the off state of the slide toggle button.
|
|
40
|
-
* @memberof SlideToggleComponent
|
|
41
|
-
*/
|
|
42
|
-
ngAfterViewInit(): void;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SlideToggleComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SlideToggleComponent, "ieeesa-slide-toggle", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "slideToggle": { "alias": "slideToggle"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "canShowIcon": { "alias": "canShowIcon"; "required": false; }; }, { "slideToggleChange": "slideToggleChange"; }, never, never, true, never>;
|
|
45
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface StepConfig {
|
|
4
|
-
id: number;
|
|
5
|
-
label: string;
|
|
6
|
-
isVisible: boolean;
|
|
7
|
-
isCompleted: boolean;
|
|
8
|
-
isDisabled: boolean;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* StepperComponent is a reusable horizontal stepper for multi-step workflows.
|
|
12
|
-
* Displays numbered step indicators and emits step change events.
|
|
13
|
-
* @export
|
|
14
|
-
* @class StepperComponent
|
|
15
|
-
*/
|
|
16
|
-
export declare class StepperComponent {
|
|
17
|
-
steps: StepConfig[];
|
|
18
|
-
activeStepIndex: number;
|
|
19
|
-
stepChange: EventEmitter<number>;
|
|
20
|
-
/**
|
|
21
|
-
* Returns only the visible steps.
|
|
22
|
-
* @readonly
|
|
23
|
-
* @type {StepConfig[]}
|
|
24
|
-
* @memberof StepperComponent
|
|
25
|
-
*/
|
|
26
|
-
get visibleSteps(): StepConfig[];
|
|
27
|
-
/**
|
|
28
|
-
* Navigates to a step if it's not disabled.
|
|
29
|
-
* Emits stepChange to let the parent update activeStepIndex (parent is source of truth).
|
|
30
|
-
* @param {number} index - index within visible steps
|
|
31
|
-
* @memberof StepperComponent
|
|
32
|
-
*/
|
|
33
|
-
goToStep(index: number): void;
|
|
34
|
-
/**
|
|
35
|
-
* Moves to the next step.
|
|
36
|
-
* @memberof StepperComponent
|
|
37
|
-
*/
|
|
38
|
-
nextStep(): void;
|
|
39
|
-
/**
|
|
40
|
-
* Moves to the previous step.
|
|
41
|
-
* @memberof StepperComponent
|
|
42
|
-
*/
|
|
43
|
-
previousStep(): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "ieeesa-stepper", never, { "steps": { "alias": "steps"; "required": false; }; "activeStepIndex": { "alias": "activeStepIndex"; "required": false; }; }, { "stepChange": "stepChange"; }, never, ["*"], true, never>;
|
|
46
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, EventEmitter, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { MatTabChangeEvent, MatTabGroup } from '@angular/material/tabs';
|
|
3
|
-
import { Tab } from '../../models/tab.model';
|
|
4
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
5
|
-
import { Subject } from 'rxjs';
|
|
6
|
-
import { FormGroup } from '@angular/forms';
|
|
7
|
-
import { EventsAndMeetingRouteConfig, UserPermission, ConfirmationModalData } from '@ieeesa-npm/models';
|
|
8
|
-
import { CustomProperties } from '../../models/custom-properties.model';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class TabsComponent implements OnInit, OnDestroy {
|
|
11
|
-
dialog: MatDialog;
|
|
12
|
-
componentContainer: ViewContainerRef;
|
|
13
|
-
componentRef: ComponentRef<any>;
|
|
14
|
-
isComponentLoaded: boolean;
|
|
15
|
-
previousTabIndex: number;
|
|
16
|
-
private isFormValuesChanged;
|
|
17
|
-
selectedTabIndex: number;
|
|
18
|
-
private _tabs;
|
|
19
|
-
set tabs(tab: Tab[]);
|
|
20
|
-
get tabs(): Tab[];
|
|
21
|
-
set isFormChanged(status: boolean);
|
|
22
|
-
get isFormChanged(): boolean;
|
|
23
|
-
confirmationModalConfig: ConfirmationModalData;
|
|
24
|
-
selectedIndexChange: EventEmitter<MatTabChangeEvent>;
|
|
25
|
-
destroy$: Subject<boolean>;
|
|
26
|
-
formCancel: EventEmitter<any>;
|
|
27
|
-
formSubmit: EventEmitter<FormGroup<any>[]>;
|
|
28
|
-
constants: any;
|
|
29
|
-
modalConfigTexts: any;
|
|
30
|
-
isViewOnly: string | boolean;
|
|
31
|
-
isMemberOfGroup: string | boolean;
|
|
32
|
-
eventId: string;
|
|
33
|
-
meetingId: string;
|
|
34
|
-
actionType: any;
|
|
35
|
-
routePaths: EventsAndMeetingRouteConfig;
|
|
36
|
-
apiBaseURL: string;
|
|
37
|
-
apiDomainURL: string;
|
|
38
|
-
userPermissions: UserPermission[];
|
|
39
|
-
customProperties: CustomProperties[];
|
|
40
|
-
constructor(dialog: MatDialog);
|
|
41
|
-
/**
|
|
42
|
-
* Verifies tabs count and calls createComponent() to load selected component.
|
|
43
|
-
* @memberof TabsComponent
|
|
44
|
-
*/
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
/**
|
|
47
|
-
* Opens confirmation modal on tab change event when leaving with unsaved changes.
|
|
48
|
-
* @param {MatTabGroup} tab
|
|
49
|
-
* @param event
|
|
50
|
-
* @memberof TabsComponent
|
|
51
|
-
*/
|
|
52
|
-
onTabChange(tab: MatTabGroup, event: MatTabChangeEvent): void;
|
|
53
|
-
/**
|
|
54
|
-
* Loads the respective component on tab change event when componentRef is available.
|
|
55
|
-
* @param {MatTabChangeEvent} event
|
|
56
|
-
* @memberof TabsComponent
|
|
57
|
-
*/
|
|
58
|
-
loadSelectedTabContent(event: MatTabChangeEvent): void;
|
|
59
|
-
/**
|
|
60
|
-
* Dynamically loads the component in the DOM container based on the passed tab and clears the previously loaded component before loading the new one.
|
|
61
|
-
* @param {Tab} tab
|
|
62
|
-
* @memberof TabsComponent
|
|
63
|
-
*/
|
|
64
|
-
createComponent(tab: Tab): void;
|
|
65
|
-
/**
|
|
66
|
-
* Sets dynamic input property which is being sent by the consumer component and its value is not undefined for the component loaded by the tab component.
|
|
67
|
-
* @param {[]} properties
|
|
68
|
-
* @memberof TabsComponent
|
|
69
|
-
*/
|
|
70
|
-
setCustomComponentProperties(properties: []): void;
|
|
71
|
-
/**
|
|
72
|
-
* Returns unique identifier for the tab.
|
|
73
|
-
* @param {number} index
|
|
74
|
-
* @param {Tab} option
|
|
75
|
-
* @return {*} {(number | string)}
|
|
76
|
-
* @memberof TabsComponent
|
|
77
|
-
*/
|
|
78
|
-
trackByFn(index: number, option: Tab): number | string;
|
|
79
|
-
/**
|
|
80
|
-
* Cleans up resources when the component is destroyed
|
|
81
|
-
* @memberof TabsComponent
|
|
82
|
-
*/
|
|
83
|
-
ngOnDestroy(): void;
|
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, 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>;
|
|
86
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Button, Tile } from '../../models/tile.model';
|
|
3
|
-
import { AlignType } from '@ieeesa-npm/models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Creates tile component.
|
|
7
|
-
* @export
|
|
8
|
-
* @class TileComponent
|
|
9
|
-
*/
|
|
10
|
-
export declare class TileComponent {
|
|
11
|
-
alignmentType: typeof AlignType;
|
|
12
|
-
private tilesInfo;
|
|
13
|
-
/**
|
|
14
|
-
* Input property to get the tiles info.
|
|
15
|
-
* @type {Tile}
|
|
16
|
-
* @memberof TileComponent
|
|
17
|
-
*/
|
|
18
|
-
set tiles(value: Tile[]);
|
|
19
|
-
get tiles(): Tile[];
|
|
20
|
-
/**
|
|
21
|
-
* Emits the click event
|
|
22
|
-
* @type {EventEmitter}
|
|
23
|
-
* @memberof TileComponent
|
|
24
|
-
*/
|
|
25
|
-
tileClicked: EventEmitter<Tile>;
|
|
26
|
-
private buttonAlignment;
|
|
27
|
-
/**
|
|
28
|
-
* Sets tile buttons alignment type..
|
|
29
|
-
* @type {string} accepts Left, Right and Middle as values
|
|
30
|
-
* @memberof TileComponent
|
|
31
|
-
*/
|
|
32
|
-
set buttonAlignmentInfo(value: AlignType);
|
|
33
|
-
get buttonAlignmentInfo(): AlignType;
|
|
34
|
-
trackByFn(index: number, item: Tile): string;
|
|
35
|
-
trackByButtonFn(index: number, item: Button): string;
|
|
36
|
-
onTileButtonClicked(tile: Tile): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TileComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TileComponent, "ieeesa-tile", never, { "tiles": { "alias": "tiles"; "required": false; }; "buttonAlignmentInfo": { "alias": "buttonAlignmentInfo"; "required": false; }; }, { "tileClicked": "tileClicked"; }, never, never, true, never>;
|
|
39
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { FieldConfig } from '../../models/field-config.model';
|
|
4
|
-
import { SelectedTime } from '../../models/selected-time.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TimePickerComponent {
|
|
7
|
-
config: FieldConfig;
|
|
8
|
-
group: FormGroup;
|
|
9
|
-
formTimeSelected: EventEmitter<SelectedTime>;
|
|
10
|
-
constants: any;
|
|
11
|
-
picker: ElementRef;
|
|
12
|
-
/**
|
|
13
|
-
* Handles form time selection event
|
|
14
|
-
* @type {void}
|
|
15
|
-
* @memberof TimePickerComponent
|
|
16
|
-
*/
|
|
17
|
-
onTimeSelection(time: string): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "ieeesa-time-picker", never, {}, { "formTimeSelected": "formTimeSelected"; }, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ToggleButton } from '../../models/toggle-button.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* ToggleButtonComponent allows users to select toggle between group of buttons.
|
|
6
|
-
* The component takes an array of ToggleButton objects as an input, where each object contains id, label and isDisabled property. Default the first button is selected when selectedLabel is not provided.
|
|
7
|
-
* @class ToggleButtonComponent
|
|
8
|
-
* @implements {OnInit}
|
|
9
|
-
*/
|
|
10
|
-
export declare class ToggleButtonComponent implements OnInit {
|
|
11
|
-
/**
|
|
12
|
-
* Label of the selected button. Default is an empty string.
|
|
13
|
-
* @type {string}
|
|
14
|
-
*/
|
|
15
|
-
selectedLabel: string;
|
|
16
|
-
/**
|
|
17
|
-
* An array of ToggleButton objects that represent the buttons in the toggle group.
|
|
18
|
-
* Each ToggleButton object must have properties: id, label, and isDisabled.
|
|
19
|
-
* @type {ToggleButton[]}
|
|
20
|
-
*/
|
|
21
|
-
buttons: ToggleButton[];
|
|
22
|
-
/**
|
|
23
|
-
* Event emitter that emits the selected ToggleButton object when a button is clicked.
|
|
24
|
-
* @type {EventEmitter<ToggleButton>}
|
|
25
|
-
*/
|
|
26
|
-
toggleSelected: EventEmitter<ToggleButton>;
|
|
27
|
-
constants: any;
|
|
28
|
-
defaultTickIconURL: any;
|
|
29
|
-
canShowLabel: boolean;
|
|
30
|
-
selectedId: number;
|
|
31
|
-
/**
|
|
32
|
-
* By default, the first button in a group is selected when selectedLabel is not provided.
|
|
33
|
-
* @return -returns nothing
|
|
34
|
-
*/
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
/**
|
|
37
|
-
* Updates the selectedLabel with the clicked button label and emits the toggleSelected event with the selected ToggleButton object.
|
|
38
|
-
* @param {ToggleButton} button -Selected ToggleButton object.
|
|
39
|
-
* @return -returns nothing
|
|
40
|
-
*/
|
|
41
|
-
toggleButtonClicked(button: ToggleButton): void;
|
|
42
|
-
/**
|
|
43
|
-
* TrackByFunction is called for each item in the collection and return a unique identifier for that item.
|
|
44
|
-
* @param {number} index -The index of the current item in the collection.
|
|
45
|
-
* @param {ToggleButton} button -The current button object from the collection being iterated.
|
|
46
|
-
* @return {number} -returns number
|
|
47
|
-
*/
|
|
48
|
-
trackByFn(index: number, button: ToggleButton): number;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent, "ieeesa-toggle-button", never, { "selectedLabel": { "alias": "selectedLabel"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "canShowLabel": { "alias": "canShowLabel"; "required": false; }; }, { "toggleSelected": "toggleSelected"; }, never, never, true, never>;
|
|
51
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { AppConfigInfo } from '../../models/app-config-info.model';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Provides reusable implementation to pre-login page by getting the application config information as an input to the component.
|
|
7
|
-
* @export
|
|
8
|
-
* @class WelcomeComponent
|
|
9
|
-
* @implements {OnInit}
|
|
10
|
-
* @implements {OnDestroy}
|
|
11
|
-
*/
|
|
12
|
-
export declare class WelcomeComponent implements OnInit {
|
|
13
|
-
private router;
|
|
14
|
-
/**
|
|
15
|
-
* AppConfigInfo data can be passed as input while calling this component using selector and it can also be passed as a route data.
|
|
16
|
-
* @usage <nesc-welcome [appConfigInfo]="appConfigInfo"></nesc-welcome> or routes: Route[]=[{ path: 'landing', component: WelcomeComponent, data:{appConfigInfo:appConfigInfo} }]
|
|
17
|
-
* @type {AppConfigInfo}
|
|
18
|
-
* @memberof WelcomeComponent
|
|
19
|
-
*/
|
|
20
|
-
appConfigInfo: AppConfigInfo;
|
|
21
|
-
signInClick: EventEmitter<Event>;
|
|
22
|
-
signUpClick: EventEmitter<Event>;
|
|
23
|
-
constants: any;
|
|
24
|
-
url: string;
|
|
25
|
-
constructor(router: Router);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
/**
|
|
28
|
-
* Navigates to passed sign up route url or emits the click event in case route url is not there.
|
|
29
|
-
* @param {Event} event
|
|
30
|
-
* @memberof WelcomeComponent
|
|
31
|
-
*/
|
|
32
|
-
onCreateAccountClick(event: Event): void;
|
|
33
|
-
/**
|
|
34
|
-
* Navigates to passed sign in route url or emits the click event in case route url is not there.
|
|
35
|
-
* @param {Event} event
|
|
36
|
-
* @memberof WelcomeComponent
|
|
37
|
-
*/
|
|
38
|
-
onSignInClick(event: Event): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WelcomeComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WelcomeComponent, "ieeesa-welcome", never, { "appConfigInfo": { "alias": "appConfigInfo"; "required": false; }; }, { "signInClick": "signInClick"; "signUpClick": "signUpClick"; }, never, never, true, never>;
|
|
41
|
-
}
|