@ieeesa-npm/presentation 0.22.5 → 0.22.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/accordion/accordion.component.mjs +3 -3
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/lib/components/card/card.component.mjs +3 -3
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/components/chips/chips.component.mjs +3 -3
- package/esm2022/lib/components/data-table/data-table.component.mjs +3 -3
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/lib/components/date-picker-header/date-picker-header.component.mjs +3 -3
- package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +3 -3
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +3 -3
- package/esm2022/lib/components/filter/filter.component.mjs +21 -5
- package/esm2022/lib/components/footer/footer.component.mjs +3 -3
- package/esm2022/lib/components/form-error/form-error.component.mjs +3 -3
- package/esm2022/lib/components/form-support-text/form-support-text.component.mjs +3 -3
- package/esm2022/lib/components/header/header.component.mjs +3 -3
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +3 -3
- package/esm2022/lib/components/image-preview/image-preview.component.mjs +3 -3
- package/esm2022/lib/components/inactive-tenant/inactive-tenant.component.mjs +3 -3
- package/esm2022/lib/components/input/input.component.mjs +3 -3
- package/esm2022/lib/components/list/list.component.mjs +3 -3
- package/esm2022/lib/components/loader/loader.component.mjs +3 -3
- package/esm2022/lib/components/menu/menu.component.mjs +3 -3
- package/esm2022/lib/components/modal/modal.component.mjs +3 -3
- package/esm2022/lib/components/modal-confirmation/modal-confirmation.component.mjs +3 -3
- package/esm2022/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.mjs +3 -3
- package/esm2022/lib/components/navigation-menu/navigation-menu.component.mjs +3 -3
- package/esm2022/lib/components/notification/notification.component.mjs +3 -3
- package/esm2022/lib/components/radio/radio.component.mjs +3 -3
- package/esm2022/lib/components/rich-text-editor/rich-text-editor.component.mjs +73 -6
- package/esm2022/lib/components/search/search.component.mjs +3 -3
- package/esm2022/lib/components/select/select.component.mjs +3 -3
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +3 -3
- package/esm2022/lib/components/tabs/tabs.component.mjs +3 -3
- package/esm2022/lib/components/text-area/text-area.component.mjs +3 -3
- package/esm2022/lib/components/tile/tile.component.mjs +3 -3
- package/esm2022/lib/components/time-picker/time-picker.component.mjs +3 -3
- package/esm2022/lib/components/toggle-button/toggle-button.component.mjs +3 -3
- package/esm2022/lib/components/welcome/welcome.component.mjs +3 -3
- package/fesm2022/ieeesa-npm-presentation.mjs +165 -82
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/filter/filter.component.d.ts +9 -0
- package/lib/components/rich-text-editor/rich-text-editor.component.d.ts +29 -2
- package/package.json +1 -1
|
@@ -6,6 +6,8 @@ import { IconButton } from '../../models/icon-button.model';
|
|
|
6
6
|
import { ChipOption, FilterOptionType } from '../../models/chip-option.model';
|
|
7
7
|
import { FiltersAndOptions } from '../../models/filters-options.model';
|
|
8
8
|
import { SelectOption } from '../../models/select-option.model';
|
|
9
|
+
import { SelectComponent } from '../../components/select/select.component';
|
|
10
|
+
import { SelectOpenedState } from '../../models/select-opened-state.model';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
/**
|
|
11
13
|
* Provides an implementation for group of filter.
|
|
@@ -29,6 +31,7 @@ export declare class FilterComponent implements OnDestroy {
|
|
|
29
31
|
filtersAndOptions: Map<string | number, CheckboxOption[]>;
|
|
30
32
|
destroy$: Subject<boolean>;
|
|
31
33
|
recreateCheckboxOptionsControl: CheckboxOption[];
|
|
34
|
+
selectComponent: SelectComponent;
|
|
32
35
|
private filteredTypeOptionsInfo;
|
|
33
36
|
private selectedFilterOptionType;
|
|
34
37
|
set filterOptionType(optionType: FilterOptionType);
|
|
@@ -100,6 +103,12 @@ export declare class FilterComponent implements OnDestroy {
|
|
|
100
103
|
* @memberof FilterComponent
|
|
101
104
|
*/
|
|
102
105
|
onDropdownSearch(searchText: string): void;
|
|
106
|
+
/**
|
|
107
|
+
* Emits filterDropdownSearch event to reset the dropdown options to default when the dropdown is closed and sets search term empty.
|
|
108
|
+
* @param {SelectOpenedState} event
|
|
109
|
+
* @memberof FilterComponent
|
|
110
|
+
*/
|
|
111
|
+
onDropdownOpenedChange(event: SelectOpenedState): void;
|
|
103
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
104
113
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "ieeesa-filter", never, { "filterOptionType": { "alias": "filterOptionType"; "required": false; }; "appliedFilterOptions": { "alias": "appliedFilterOptions"; "required": false; }; "filterButton": { "alias": "filterButton"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "canShowSelection": { "alias": "canShowSelection"; "required": false; }; "selectedFilterOptions": { "alias": "selectedFilterOptions"; "required": false; }; }, { "selectedFilter": "selectedFilter"; "filteredOptions": "filteredOptions"; "removeFilteredOption": "removeFilteredOption"; "filterDropdownSearch": "filterDropdownSearch"; }, never, never, true, never>;
|
|
105
114
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { EditorConfig } from 'ngx-simple-text-editor';
|
|
4
4
|
import { FieldConfig } from '../../models/field-config.model';
|
|
5
5
|
import { FormUtilityService } from '../../services/form-utility.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class RichTextEditorComponent implements OnInit, AfterViewInit {
|
|
7
|
+
export declare class RichTextEditorComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
8
8
|
private elementRef;
|
|
9
9
|
private renderer;
|
|
10
10
|
private formUtilityService;
|
|
@@ -33,6 +33,9 @@ export declare class RichTextEditorComponent implements OnInit, AfterViewInit {
|
|
|
33
33
|
*/
|
|
34
34
|
get editorConfig(): EditorConfig;
|
|
35
35
|
richTextEditorContentChange: EventEmitter<string>;
|
|
36
|
+
colorPickerInput: HTMLInputElement;
|
|
37
|
+
colorPickerButton: HTMLElement;
|
|
38
|
+
operatingSystemName: string;
|
|
36
39
|
constructor(elementRef: ElementRef, renderer: Renderer2, formUtilityService: FormUtilityService);
|
|
37
40
|
/**
|
|
38
41
|
* Initializes the form group and config details.
|
|
@@ -45,6 +48,18 @@ export declare class RichTextEditorComponent implements OnInit, AfterViewInit {
|
|
|
45
48
|
* @memberof RichTextEditorComponent
|
|
46
49
|
*/
|
|
47
50
|
ngAfterViewInit(): void;
|
|
51
|
+
/**
|
|
52
|
+
* Opens/closes the color picker explicitly for Safari browser.
|
|
53
|
+
* @memberof RichTextEditorComponent
|
|
54
|
+
* @returns {void}
|
|
55
|
+
*/
|
|
56
|
+
toggleColorPicker(): void;
|
|
57
|
+
/**
|
|
58
|
+
* Sets the height and width of the input field color to open the color picker in Safari.
|
|
59
|
+
* @memberof RichTextEditorComponent
|
|
60
|
+
* @returns {void}
|
|
61
|
+
*/
|
|
62
|
+
setColorPickerInputStyle(pixelValue: string): void;
|
|
48
63
|
/**
|
|
49
64
|
* Sets RTE toolbar buttons button type to button to prevent form submit event when the toolbar buttons clicked.
|
|
50
65
|
*/
|
|
@@ -55,6 +70,18 @@ export declare class RichTextEditorComponent implements OnInit, AfterViewInit {
|
|
|
55
70
|
* @memberof RichTextEditorComponent
|
|
56
71
|
*/
|
|
57
72
|
onRichTextEditorContentChange(): void;
|
|
73
|
+
/**
|
|
74
|
+
* Gets the operating system name of the client machine.
|
|
75
|
+
* @memberof RichTextEditorComponent
|
|
76
|
+
* @returns {string}
|
|
77
|
+
*/
|
|
78
|
+
getOperatingSystemName(): string;
|
|
79
|
+
/**
|
|
80
|
+
* Removes the click event listener of color picker button.
|
|
81
|
+
* @memberof RichTextEditorComponent
|
|
82
|
+
* @returns {void}
|
|
83
|
+
*/
|
|
84
|
+
ngOnDestroy(): void;
|
|
58
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorComponent, never>;
|
|
59
86
|
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>;
|
|
60
87
|
}
|